Documentation
¶
Index ¶
- type BindRouteServiceCommand
- type BindServiceActor
- type BindServiceCommand
- type CreateServiceActor
- type CreateServiceCommand
- type CreateServiceKeyActor
- type CreateServiceKeyCommand
- type CreateUserProvidedServiceCommand
- type CurlCommand
- type DeleteServiceCommand
- type DeleteServiceKeyCommand
- type PurgeServiceInstanceCommand
- type RenameServiceCommand
- type ServiceActor
- type ServiceCommand
- type ServiceInstancesActor
- type ServiceKeyCommand
- type ServiceKeysCommand
- type ServicesCommand
- type ShareServiceActor
- type ShareServiceCommand
- type UnbindRouteServiceCommand
- type UnbindServiceActor
- type UnbindServiceCommand
- type UnshareServiceActor
- type UnshareServiceCommand
- type UpdateServiceActor
- type UpdateServiceCommand
- type UpdateUserProvidedServiceActor
- type UpdateUserProvidedServiceCommand
- type V3CancelZdtPushActor
- type V3CancelZdtPushCommand
- type V3ZeroDowntimeRestartActor
- type V3ZeroDowntimeRestartCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindRouteServiceCommand ¶
type BindRouteServiceCommand struct {
RequiredArgs flag.RouteServiceArgs `positional-args:"yes"`
ParametersAsJSON flag.Path `` /* 230-byte string literal not displayed */
Hostname string `long:"hostname" short:"n" description:"Hostname used in combination with DOMAIN to specify the route to bind"`
Path string `long:"path" description:"Path used in combination with HOSTNAME and DOMAIN to specify the route to bind"`
BackwardsCompatibility bool `short:"f" hidden:"true" description:"This is for backwards compatibility"`
// contains filtered or unexported fields
}
func (BindRouteServiceCommand) Execute ¶
func (BindRouteServiceCommand) Execute(args []string) error
type BindServiceActor ¶
type BindServiceCommand ¶
type BindServiceCommand struct {
RequiredArgs flag.BindServiceArgs `positional-args:"yes"`
BindingName flag.BindingName `long:"binding-name" description:"Name to expose service instance to app process with (Default: service instance name)"`
ParametersAsJSON flag.JSONOrFileWithValidation `` /* 238-byte string literal not displayed */
UI command.UI
Config command.Config
Actor BindServiceActor
// contains filtered or unexported fields
}
func (BindServiceCommand) Execute ¶
func (cmd BindServiceCommand) Execute(args []string) error
type CreateServiceActor ¶
type CreateServiceCommand ¶
type CreateServiceCommand struct {
RequiredArgs flag.CreateServiceArgs `positional-args:"yes"`
ServiceBroker string `short:"b" description:"Create a service instance from a particular broker. Required when service name is ambiguous"`
ParametersAsJSON flag.JSONOrFileWithValidation `` /* 238-byte string literal not displayed */
Tags flag.Tags `short:"t" description:"User provided tags"`
UI command.UI
Config command.Config
Actor CreateServiceActor
// contains filtered or unexported fields
}
func (CreateServiceCommand) Execute ¶
func (cmd CreateServiceCommand) Execute(args []string) error
type CreateServiceKeyActor ¶
type CreateServiceKeyCommand ¶
type CreateServiceKeyCommand struct {
RequiredArgs flag.ServiceInstanceKey `positional-args:"yes"`
ParametersAsJSON flag.JSONOrFileWithValidation `` /* 238-byte string literal not displayed */
UI command.UI
Config command.Config
Actor CreateServiceKeyActor
// contains filtered or unexported fields
}
func (CreateServiceKeyCommand) Execute ¶
func (cmd CreateServiceKeyCommand) Execute(args []string) error
type CreateUserProvidedServiceCommand ¶
type CreateUserProvidedServiceCommand struct {
RequiredArgs flag.ServiceInstance `positional-args:"yes"`
SyslogDrainURL string `short:"l" description:"URL to which logs for bound applications will be streamed"`
Credentials string `` /* 145-byte string literal not displayed */
RouteServiceURL string `short:"r" description:"URL to which requests for bound routes will be forwarded. Scheme for this URL must be https"`
Tags string `short:"t" description:"User provided tags"`
// contains filtered or unexported fields
}
func (CreateUserProvidedServiceCommand) Execute ¶
func (CreateUserProvidedServiceCommand) Execute(args []string) error
type CurlCommand ¶
type CurlCommand struct {
RequiredArgs flag.APIPath `positional-args:"yes"`
CustomHeaders []string `short:"H" description:"Custom headers to include in the request, flag can be specified multiple times"`
HTTPMethod string `short:"X" description:"HTTP method (GET,POST,PUT,DELETE,etc)"`
HTTPData flag.PathWithAt `short:"d" description:"HTTP data to include in the request body, or '@' followed by a file name to read the data from"`
FailOnHTTPError bool `short:"f" long:"fail" description:"Server errors return exit code 22"`
IncludeReponseHeaders bool `short:"i" description:"Include response headers in the output"`
OutputFile flag.Path `long:"output" description:"Write curl body to FILE instead of stdout"`
// contains filtered or unexported fields
}
func (CurlCommand) Execute ¶
func (CurlCommand) Execute(args []string) error
type DeleteServiceCommand ¶
type DeleteServiceCommand struct {
RequiredArgs flag.ServiceInstance `positional-args:"yes"`
Force bool `short:"f" description:"Force deletion without confirmation"`
// contains filtered or unexported fields
}
func (DeleteServiceCommand) Execute ¶
func (DeleteServiceCommand) Execute(args []string) error
type DeleteServiceKeyCommand ¶
type DeleteServiceKeyCommand struct {
RequiredArgs flag.ServiceInstanceKey `positional-args:"yes"`
Force bool `short:"f" description:"Force deletion without confirmation"`
// contains filtered or unexported fields
}
func (DeleteServiceKeyCommand) Execute ¶
func (DeleteServiceKeyCommand) Execute(args []string) error
type PurgeServiceInstanceCommand ¶
type PurgeServiceInstanceCommand struct {
RequiredArgs flag.ServiceInstance `positional-args:"yes"`
Force bool `short:"f" description:"Force deletion without confirmation"`
// contains filtered or unexported fields
}
func (PurgeServiceInstanceCommand) Execute ¶
func (PurgeServiceInstanceCommand) Execute(args []string) error
type RenameServiceCommand ¶
type RenameServiceCommand struct {
RequiredArgs flag.RenameServiceArgs `positional-args:"yes"`
// contains filtered or unexported fields
}
func (RenameServiceCommand) Execute ¶
func (RenameServiceCommand) Execute(args []string) error
type ServiceActor ¶
type ServiceActor interface {
GetServiceInstanceByNameAndSpace(name string, spaceGUID string) (v2action.ServiceInstance, v2action.Warnings, error)
GetServiceInstanceSummaryByNameAndSpace(name string, spaceGUID string) (v2action.ServiceInstanceSummary, v2action.Warnings, error)
CloudControllerAPIVersion() string
}
type ServiceCommand ¶
type ServiceCommand struct {
RequiredArgs flag.ServiceInstance `positional-args:"yes"`
GUID bool `long:"guid" description:"Retrieve and display the given service's guid. All other output for the service is suppressed."`
UI command.UI
Config command.Config
Actor ServiceActor
// contains filtered or unexported fields
}
func (ServiceCommand) Execute ¶
func (cmd ServiceCommand) Execute(args []string) error
type ServiceInstancesActor ¶
type ServiceKeyCommand ¶
type ServiceKeyCommand struct {
RequiredArgs flag.ServiceInstanceKey `positional-args:"yes"`
GUID bool `long:"guid" description:"Retrieve and display the given service-key's guid. All other output for the service is suppressed."`
// contains filtered or unexported fields
}
func (ServiceKeyCommand) Execute ¶
func (ServiceKeyCommand) Execute(args []string) error
type ServiceKeysCommand ¶
type ServiceKeysCommand struct {
RequiredArgs flag.ServiceInstance `positional-args:"yes"`
// contains filtered or unexported fields
}
func (ServiceKeysCommand) Execute ¶
func (ServiceKeysCommand) Execute(args []string) error
type ServicesCommand ¶
type ServicesCommand struct {
UI command.UI
Config command.Config
Actor ServiceInstancesActor
// contains filtered or unexported fields
}
func (ServicesCommand) Execute ¶
func (cmd ServicesCommand) Execute(args []string) error
type ShareServiceActor ¶
type ShareServiceActor interface {
}
type ShareServiceCommand ¶
type ShareServiceCommand struct {
// contains filtered or unexported fields
}
func (ShareServiceCommand) Execute ¶
func (cmd ShareServiceCommand) Execute(args []string) error
type UnbindRouteServiceCommand ¶
type UnbindRouteServiceCommand struct {
RequiredArgs flag.RouteServiceArgs `positional-args:"yes"`
Force bool `short:"f" description:"Force unbinding without confirmation"`
Hostname string `long:"hostname" short:"n" description:"Hostname used in combination with DOMAIN to specify the route to unbind"`
Path string `long:"path" description:"Path used in combination with HOSTNAME and DOMAIN to specify the route to unbind"`
// contains filtered or unexported fields
}
func (UnbindRouteServiceCommand) Execute ¶
func (UnbindRouteServiceCommand) Execute(args []string) error
type UnbindServiceActor ¶
type UnbindServiceCommand ¶
type UnbindServiceCommand struct {
RequiredArgs flag.BindServiceArgs `positional-args:"yes"`
UI command.UI
Config command.Config
Actor UnbindServiceActor
// contains filtered or unexported fields
}
func (UnbindServiceCommand) Execute ¶
func (cmd UnbindServiceCommand) Execute(args []string) error
type UnshareServiceActor ¶
type UnshareServiceActor interface {
}
type UnshareServiceCommand ¶
type UnshareServiceCommand struct {
// contains filtered or unexported fields
}
func (UnshareServiceCommand) Execute ¶
func (cmd UnshareServiceCommand) Execute(args []string) error
type UpdateServiceActor ¶
type UpdateServiceCommand ¶
type UpdateServiceCommand struct {
RequiredArgs flag.ServiceInstance `positional-args:"yes"`
ParametersAsJSON flag.Path `` /* 238-byte string literal not displayed */
Plan string `short:"p" description:"Change service plan for a service instance"`
Tags string `short:"t" description:"User provided tags"`
Upgrade bool `` /* 166-byte string literal not displayed */
ForceUpgrade bool `` /* 148-byte string literal not displayed */
UI command.UI
Actor UpdateServiceActor
Config command.Config
// contains filtered or unexported fields
}
func (*UpdateServiceCommand) Execute ¶
func (cmd *UpdateServiceCommand) Execute(args []string) error
type UpdateUserProvidedServiceCommand ¶
type UpdateUserProvidedServiceCommand struct {
RequiredArgs flag.ServiceInstance `positional-args:"yes"`
SyslogDrainURL flag.OptionalString `short:"l" description:"URL to which logs for bound applications will be streamed"`
Credentials flag.CredentialsOrJSON `` /* 203-byte string literal not displayed */
RouteServiceURL flag.OptionalString `short:"r" description:"URL to which requests for bound routes will be forwarded. Scheme for this URL must be https"`
Tags flag.Tags `short:"t" description:"User provided tags"`
UI command.UI
Config command.Config
Actor UpdateUserProvidedServiceActor
// contains filtered or unexported fields
}
func (*UpdateUserProvidedServiceCommand) Execute ¶
func (cmd *UpdateUserProvidedServiceCommand) Execute(args []string) error
type V3CancelZdtPushActor ¶
type V3CancelZdtPushCommand ¶
type V3CancelZdtPushCommand struct {
RequiredArgs flag.AppName `positional-args:"yes"`
UI command.UI
Config command.Config
CancelZdtPushActor V3CancelZdtPushActor
// contains filtered or unexported fields
}
func (V3CancelZdtPushCommand) Execute ¶
func (cmd V3CancelZdtPushCommand) Execute(args []string) error
type V3ZeroDowntimeRestartActor ¶
type V3ZeroDowntimeRestartActor interface {
ZeroDowntimePollStart(appGUID string, warningsChannel chan<- v3action.Warnings) error
CreateDeployment(appGUID, dropletGUID string) (string, v3action.Warnings, error)
CloudControllerAPIVersion() string
GetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)
StartApplication(appGUID string) (v3action.Warnings, error)
}
type V3ZeroDowntimeRestartCommand ¶
type V3ZeroDowntimeRestartCommand struct {
RequiredArgs flag.AppName `positional-args:"yes"`
UI command.UI
Config command.Config
Actor V3ZeroDowntimeRestartActor
// contains filtered or unexported fields
}
func (V3ZeroDowntimeRestartCommand) Execute ¶
func (cmd V3ZeroDowntimeRestartCommand) Execute(args []string) error
Source Files
¶
- bind_route_service_command.go
- bind_service_command.go
- create_service_command.go
- create_service_key_command.go
- create_user_provided_service_command.go
- curl_command.go
- delete_service_command.go
- delete_service_key_command.go
- purge_service_instance_command.go
- rename_service_command.go
- service_command.go
- service_key_command.go
- service_keys_command.go
- services_command.go
- share_service_command.go
- unbind_route_service_command.go
- unbind_service_command.go
- unshare_service_command.go
- update_service_command.go
- update_user_provided_service_command.go
- v3_cancel_zdt_push_command.go
- v3_zdt_restart_command.go
Directories
¶
| Path | Synopsis |
|---|---|
|
Package shared should not be imported by external consumers.
|
Package shared should not be imported by external consumers. |
|
sharedfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
|
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.