Method
setup
(svc appServices, parent commandParent)
Source from the content-addressed store, hash-verified
| 23 | } |
| 24 | |
| 25 | func (c *commandPolicy) setup(svc appServices, parent commandParent) { |
| 26 | cmd := parent.Command("policy", "Commands to manipulate snapshotting policies.").Alias("policies") |
| 27 | |
| 28 | c.edit.setup(svc, cmd) |
| 29 | c.list.setup(svc, cmd) |
| 30 | c.delete.setup(svc, cmd) |
| 31 | c.set.setup(svc, cmd) |
| 32 | c.show.setup(svc, cmd) |
| 33 | c.export.setup(svc, cmd) |
| 34 | c.pImport.setup(svc, cmd) |
| 35 | } |
| 36 | |
| 37 | type policyTargetFlags struct { |
| 38 | targets []string |
Callers
nothing calls this directly
Tested by
no test coverage detected