{"modulePath":"github.com/swisscom/cloudfoundry-cli","version":"v7.1.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package v6\n\n## Types\n\n```go\ntype BindRouteServiceCommand struct {\n\tRequiredArgs     flag.RouteServiceArgs `positional-args:\"yes\"`\n\tParametersAsJSON flag.Path             `short:\"c\" description:\"Valid JSON object containing service-specific configuration parameters, provided inline or in a file. For a list of supported configuration parameters, see documentation for the particular service offering.\"`\n\tHostname         string                `long:\"hostname\" short:\"n\" description:\"Hostname used in combination with DOMAIN to specify the route to bind\"`\n\tPath             string                `long:\"path\" description:\"Path used in combination with HOSTNAME and DOMAIN to specify the route to bind\"`\n\n\tBackwardsCompatibility bool `short:\"f\" hidden:\"true\" description:\"This is for backwards compatibility\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (BindRouteServiceCommand) Execute(args []string) error\n```\n\n```go\nfunc (BindRouteServiceCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype BindServiceActor interface {\n\tBindServiceBySpace(appName string, ServiceInstanceName string, spaceGUID string, bindingName string, parameters map[string]interface{}) (v2action.ServiceBinding, v2action.Warnings, error)\n\tCloudControllerAPIVersion() string\n}\n```\n\n```go\ntype BindServiceCommand struct {\n\tRequiredArgs     flag.BindServiceArgs          `positional-args:\"yes\"`\n\tBindingName      flag.BindingName              `long:\"binding-name\" description:\"Name to expose service instance to app process with (Default: service instance name)\"`\n\tParametersAsJSON flag.JSONOrFileWithValidation `short:\"c\" description:\"Valid JSON object containing service-specific configuration parameters, provided either in-line or in a file. For a list of supported configuration parameters, see documentation for the particular service offering.\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       BindServiceActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd BindServiceCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *BindServiceCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype CreateServiceActor interface {\n\tCreateServiceInstance(spaceGUID, serviceName, servicePlanName, serviceInstanceName, brokerName string, params map[string]interface{}, tags []string) (v2action.ServiceInstance, v2action.Warnings, error)\n}\n```\n\n```go\ntype CreateServiceCommand struct {\n\tRequiredArgs     flag.CreateServiceArgs        `positional-args:\"yes\"`\n\tServiceBroker    string                        `short:\"b\" description:\"Create a service instance from a particular broker. Required when service name is ambiguous\"`\n\tParametersAsJSON flag.JSONOrFileWithValidation `short:\"c\" description:\"Valid JSON object containing service-specific configuration parameters, provided either in-line or in a file. For a list of supported configuration parameters, see documentation for the particular service offering.\"`\n\tTags             flag.Tags                     `short:\"t\" description:\"User provided tags\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       CreateServiceActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd CreateServiceCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *CreateServiceCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype CreateServiceKeyActor interface {\n\tCreateServiceKey(serviceInstanceName, keyName, spaceGUID string, parameters map[string]interface{}) (v2action.ServiceKey, v2action.Warnings, error)\n}\n```\n\n```go\ntype CreateServiceKeyCommand struct {\n\tRequiredArgs     flag.ServiceInstanceKey       `positional-args:\"yes\"`\n\tParametersAsJSON flag.JSONOrFileWithValidation `short:\"c\" description:\"Valid JSON object containing service-specific configuration parameters, provided either in-line or in a file. For a list of supported configuration parameters, see documentation for the particular service offering.\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       CreateServiceKeyActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd CreateServiceKeyCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *CreateServiceKeyCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype CreateUserProvidedServiceCommand struct {\n\tRequiredArgs    flag.ServiceInstance `positional-args:\"yes\"`\n\tSyslogDrainURL  string               `short:\"l\" description:\"URL to which logs for bound applications will be streamed\"`\n\tCredentials     string               `short:\"p\" description:\"Credentials, provided inline or in a file, to be exposed in the VCAP_SERVICES environment variable for bound applications\"`\n\tRouteServiceURL string               `short:\"r\" description:\"URL to which requests for bound routes will be forwarded. Scheme for this URL must be https\"`\n\tTags            string               `short:\"t\" description:\"User provided tags\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (CreateUserProvidedServiceCommand) Execute(args []string) error\n```\n\n```go\nfunc (CreateUserProvidedServiceCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype CurlCommand struct {\n\tRequiredArgs          flag.APIPath    `positional-args:\"yes\"`\n\tCustomHeaders         []string        `short:\"H\" description:\"Custom headers to include in the request, flag can be specified multiple times\"`\n\tHTTPMethod            string          `short:\"X\" description:\"HTTP method (GET,POST,PUT,DELETE,etc)\"`\n\tHTTPData              flag.PathWithAt `short:\"d\" description:\"HTTP data to include in the request body, or '@' followed by a file name to read the data from\"`\n\tFailOnHTTPError       bool            `short:\"f\" long:\"fail\" description:\"Server errors return exit code 22\"`\n\tIncludeReponseHeaders bool            `short:\"i\" description:\"Include response headers in the output\"`\n\tOutputFile            flag.Path       `long:\"output\" description:\"Write curl body to FILE instead of stdout\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (CurlCommand) Execute(args []string) error\n```\n\n```go\nfunc (CurlCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype DeleteServiceCommand struct {\n\tRequiredArgs flag.ServiceInstance `positional-args:\"yes\"`\n\tForce        bool                 `short:\"f\" description:\"Force deletion without confirmation\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (DeleteServiceCommand) Execute(args []string) error\n```\n\n```go\nfunc (DeleteServiceCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype DeleteServiceKeyCommand struct {\n\tRequiredArgs flag.ServiceInstanceKey `positional-args:\"yes\"`\n\tForce        bool                    `short:\"f\" description:\"Force deletion without confirmation\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (DeleteServiceKeyCommand) Execute(args []string) error\n```\n\n```go\nfunc (DeleteServiceKeyCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype PurgeServiceInstanceCommand struct {\n\tRequiredArgs flag.ServiceInstance `positional-args:\"yes\"`\n\tForce        bool                 `short:\"f\" description:\"Force deletion without confirmation\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (PurgeServiceInstanceCommand) Execute(args []string) error\n```\n\n```go\nfunc (PurgeServiceInstanceCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype RenameServiceCommand struct {\n\tRequiredArgs flag.RenameServiceArgs `positional-args:\"yes\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (RenameServiceCommand) Execute(args []string) error\n```\n\n```go\nfunc (RenameServiceCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype ServiceActor interface {\n\tGetServiceInstanceByNameAndSpace(name string, spaceGUID string) (v2action.ServiceInstance, v2action.Warnings, error)\n\tGetServiceInstanceSummaryByNameAndSpace(name string, spaceGUID string) (v2action.ServiceInstanceSummary, v2action.Warnings, error)\n\tCloudControllerAPIVersion() string\n}\n```\n\n```go\ntype ServiceCommand struct {\n\tRequiredArgs flag.ServiceInstance `positional-args:\"yes\"`\n\tGUID         bool                 `long:\"guid\" description:\"Retrieve and display the given service's guid. All other output for the service is suppressed.\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       ServiceActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd ServiceCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *ServiceCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype ServiceInstancesActor interface {\n\tCloudControllerAPIVersion() string\n\tGetServiceInstancesSummaryBySpace(spaceGUID string) ([]v2action.ServiceInstanceSummary, v2action.Warnings, error)\n}\n```\n\n```go\ntype ServiceKeyCommand struct {\n\tRequiredArgs flag.ServiceInstanceKey `positional-args:\"yes\"`\n\tGUID         bool                    `long:\"guid\" description:\"Retrieve and display the given service-key's guid.  All other output for the service is suppressed.\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (ServiceKeyCommand) Execute(args []string) error\n```\n\n```go\nfunc (ServiceKeyCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype ServiceKeysCommand struct {\n\tRequiredArgs flag.ServiceInstance `positional-args:\"yes\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (ServiceKeysCommand) Execute(args []string) error\n```\n\n```go\nfunc (ServiceKeysCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype ServicesCommand struct {\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       ServiceInstancesActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd ServicesCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *ServicesCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype ShareServiceActor interface {\n\tShareServiceInstanceToSpaceNameByNameAndSpaceAndOrganizationName(sharedToSpaceName string, serviceInstanceName string, sourceSpaceGUID string, sharedToOrgName string) (v2v3action.Warnings, error)\n\tShareServiceInstanceToSpaceNameByNameAndSpaceAndOrganization(sharedToSpaceName string, serviceInstanceName string, sourceSpaceGUID string, sharedToOrgGUID string) (v2v3action.Warnings, error)\n\tCloudControllerV3APIVersion() string\n}\n```\n\n```go\ntype ShareServiceCommand struct {\n\tRequiredArgs flag.ServiceInstance `positional-args:\"yes\"`\n\tOrgName      string               `short:\"o\" required:\"false\" description:\"Org of the other space (Default: targeted org)\"`\n\tSpaceName    string               `short:\"s\" required:\"true\" description:\"Space to share the service instance into\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       ShareServiceActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd ShareServiceCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *ShareServiceCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype UnbindRouteServiceCommand struct {\n\tRequiredArgs flag.RouteServiceArgs `positional-args:\"yes\"`\n\tForce        bool                  `short:\"f\" description:\"Force unbinding without confirmation\"`\n\tHostname     string                `long:\"hostname\" short:\"n\" description:\"Hostname used in combination with DOMAIN to specify the route to unbind\"`\n\tPath         string                `long:\"path\" description:\"Path used in combination with HOSTNAME and DOMAIN to specify the route to unbind\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (UnbindRouteServiceCommand) Execute(args []string) error\n```\n\n```go\nfunc (UnbindRouteServiceCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype UnbindServiceActor interface {\n\tUnbindServiceBySpace(appName string, serviceInstanceName string, spaceGUID string) (v2action.ServiceBinding, v2action.Warnings, error)\n}\n```\n\n```go\ntype UnbindServiceCommand struct {\n\tRequiredArgs flag.BindServiceArgs `positional-args:\"yes\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       UnbindServiceActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd UnbindServiceCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *UnbindServiceCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype UnshareServiceActor interface {\n\tUnshareServiceInstanceFromOrganizationNameAndSpaceNameByNameAndSpace(sharedToOrgName string, sharedToSpaceName string, serviceInstanceName string, currentlyTargetedSpaceGUID string) (v2v3action.Warnings, error)\n\tCloudControllerV3APIVersion() string\n}\n```\n\n```go\ntype UnshareServiceCommand struct {\n\tRequiredArgs      flag.ServiceInstance `positional-args:\"yes\"`\n\tSharedToOrgName   string               `short:\"o\" required:\"false\" description:\"Org of the other space (Default: targeted org)\"`\n\tSharedToSpaceName string               `short:\"s\" required:\"true\" description:\"Space to unshare the service instance from\"`\n\tForce             bool                 `short:\"f\" description:\"Force unshare without confirmation\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       UnshareServiceActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd UnshareServiceCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *UnshareServiceCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype UpdateServiceActor interface {\n\tCloudControllerAPIVersion() string\n\tGetServiceInstanceByNameAndSpace(name string, spaceGUID string) (v2action.ServiceInstance, v2action.Warnings, error)\n\tUpgradeServiceInstance(serviceInstance v2action.ServiceInstance) (v2action.Warnings, error)\n}\n```\n\n```go\ntype UpdateServiceCommand struct {\n\tRequiredArgs     flag.ServiceInstance `positional-args:\"yes\"`\n\tParametersAsJSON flag.Path            `short:\"c\" description:\"Valid JSON object containing service-specific configuration parameters, provided either in-line or in a file. For a list of supported configuration parameters, see documentation for the particular service offering.\"`\n\tPlan             string               `short:\"p\" description:\"Change service plan for a service instance\"`\n\tTags             string               `short:\"t\" description:\"User provided tags\"`\n\n\tUpgrade      bool `short:\"u\" long:\"upgrade\" description:\"Upgrade the service instance to the latest version of the service plan available. It cannot be combined with flags: -c, -p, -t.\"`\n\tForceUpgrade bool `short:\"f\" long:\"force\" description:\"Force the upgrade to the latest available version of the service plan. It can only be used with: -u, --upgrade.\"`\n\n\tUI          command.UI\n\tActor       UpdateServiceActor\n\tSharedActor command.SharedActor\n\tConfig      command.Config\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd *UpdateServiceCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *UpdateServiceCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype UpdateUserProvidedServiceActor interface {\n\tGetServiceInstanceByNameAndSpace(name string, spaceGUID string) (v2action.ServiceInstance, v2action.Warnings, error)\n\tUpdateUserProvidedServiceInstance(guid string, instance v2action.UserProvidedServiceInstance) (v2action.Warnings, error)\n}\n```\n\n```go\ntype UpdateUserProvidedServiceCommand struct {\n\tRequiredArgs    flag.ServiceInstance   `positional-args:\"yes\"`\n\tSyslogDrainURL  flag.OptionalString    `short:\"l\" description:\"URL to which logs for bound applications will be streamed\"`\n\tCredentials     flag.CredentialsOrJSON `short:\"p\" description:\"Credentials, provided inline or in a file, to be exposed in the VCAP_SERVICES environment variable for bound applications. Provided credentials will override existing credentials.\"`\n\tRouteServiceURL flag.OptionalString    `short:\"r\" description:\"URL to which requests for bound routes will be forwarded. Scheme for this URL must be https\"`\n\tTags            flag.Tags              `short:\"t\" description:\"User provided tags\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       UpdateUserProvidedServiceActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd *UpdateUserProvidedServiceCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *UpdateUserProvidedServiceCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype V3CancelZdtPushActor interface {\n\tCancelDeploymentByAppNameAndSpace(appName string, spaceGUID string) (v3action.Warnings, error)\n}\n```\n\n```go\ntype V3CancelZdtPushCommand struct {\n\tRequiredArgs       flag.AppName `positional-args:\"yes\"`\n\tUI                 command.UI\n\tConfig             command.Config\n\tCancelZdtPushActor V3CancelZdtPushActor\n\tSharedActor        command.SharedActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd V3CancelZdtPushCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *V3CancelZdtPushCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype V3ZeroDowntimeRestartActor interface {\n\tZeroDowntimePollStart(appGUID string, warningsChannel chan\u003c- v3action.Warnings) error\n\tCreateDeployment(appGUID, dropletGUID string) (string, v3action.Warnings, error)\n\n\tCloudControllerAPIVersion() string\n\tGetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)\n\tStartApplication(appGUID string) (v3action.Warnings, error)\n}\n```\n\n```go\ntype V3ZeroDowntimeRestartCommand struct {\n\tRequiredArgs flag.AppName `positional-args:\"yes\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       V3ZeroDowntimeRestartActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd V3ZeroDowntimeRestartCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *V3ZeroDowntimeRestartCommand) Setup(config command.Config, ui command.UI) error\n```\n\n","path":"github.com/swisscom/cloudfoundry-cli/command/v6","name":"v6","synopsis":"","isRedistributable":true}
