MCPcopy
hub / github.com/cloudfoundry/cli / ShareServiceCommand

Struct ShareServiceCommand

command/v7/share_service_command.go:10–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type ShareServiceCommand struct {
11 BaseCommand
12
13 RequiredArgs flag.ServiceInstance `positional-args:"yes"`
14 SpaceName string `short:"s" required:"true" description:"The space to share the service instance into"`
15 OrgName flag.OptionalString `short:"o" required:"false" description:"Org of the other space (Default: targeted org)"`
16 relatedCommands interface{} `related_commands:"bind-service, service, services, unshare-service"`
17}
18
19func (cmd ShareServiceCommand) Usage() string {
20 return "CF_NAME share-service SERVICE_INSTANCE -s OTHER_SPACE [-o OTHER_ORG]"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected