MCPcopy Index your code
hub / github.com/cloudfoundry/cli / SetLabelCommand

Struct SetLabelCommand

command/v7/set_label_command.go:18–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18type SetLabelCommand struct {
19 BaseCommand
20
21 RequiredArgs flag.SetLabelArgs `positional-args:"yes"`
22 relatedCommands interface{} `related_commands:"labels, unset-label"`
23 BuildpackStack string `long:"stack" short:"s" description:"Specify stack to disambiguate buildpacks with the same name"`
24 BuildpackLifecycle string `long:"lifecycle" short:"l" description:"Specify lifecycle to disambiguate buildpacks with the same name"`
25 ServiceBroker string `long:"broker" short:"b" description:"Specify a service broker to disambiguate service offerings or service plans with the same name."`
26 ServiceOffering string `long:"offering" short:"e" description:"Specify a service offering to disambiguate service plans with the same name."`
27
28 LabelSetter LabelSetter
29}
30
31func (cmd *SetLabelCommand) Setup(config command.Config, ui command.UI) error {
32 err := cmd.BaseCommand.Setup(config, ui)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected