v2

package
v6.22.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2016 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const WorkAroundPrefix = "\U000026f3"

WorkAroundPrefix is the flag in hole emoji

Variables

View Source
var Commands commandList

Functions

func DisplayCurrentTargetInformation

func DisplayCurrentTargetInformation(config commands.Config, commandUI commands.UI) error

Types

type APIConfigActor

type APIConfigActor interface {
	ClearTarget()
	SetTarget(CCAPI string, skipSSLValidation bool) (configactions.Warnings, error)
}

type AddPluginRepoCommand

type AddPluginRepoCommand struct {
	RequiredArgs flags.AddPluginRepoArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (AddPluginRepoCommand) Execute

func (_ AddPluginRepoCommand) Execute(args []string) error

func (AddPluginRepoCommand) Setup

func (_ AddPluginRepoCommand) Setup(config commands.Config, ui commands.UI) error

type AllowSpaceSSHCommand

type AllowSpaceSSHCommand struct {
	RequiredArgs flags.Space `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (AllowSpaceSSHCommand) Execute

func (_ AllowSpaceSSHCommand) Execute(args []string) error

func (AllowSpaceSSHCommand) Setup

func (_ AllowSpaceSSHCommand) Setup(config commands.Config, ui commands.UI) error

type ApiCommand

type ApiCommand struct {
	OptionalArgs      flags.APITarget `positional-args:"yes"`
	SkipSSLValidation bool            `long:"skip-ssl-validation" description:"Skip verification of the API endpoint. Not recommended!"`
	Unset             bool            `long:"unset" description:"Remove all api endpoint targeting"`

	UI     commands.UI
	Actor  APIConfigActor
	Config commands.Config
	// contains filtered or unexported fields
}

func (*ApiCommand) ClearTarget

func (cmd *ApiCommand) ClearTarget() error

func (*ApiCommand) Execute

func (cmd *ApiCommand) Execute(args []string) error

func (*ApiCommand) SetAPI

func (cmd *ApiCommand) SetAPI() error

func (*ApiCommand) Setup

func (cmd *ApiCommand) Setup(config commands.Config, ui commands.UI) error

type AppCommand

type AppCommand struct {
	RequiredArgs flags.AppName `positional-args:"yes"`
	GUID         bool          `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (AppCommand) Execute

func (_ AppCommand) Execute(args []string) error

func (AppCommand) Setup

func (_ AppCommand) Setup(config commands.Config, ui commands.UI) error

type AppsCommand

type AppsCommand struct {
	// contains filtered or unexported fields
}

func (AppsCommand) Execute

func (_ AppsCommand) Execute(args []string) error

func (AppsCommand) Setup

func (_ AppsCommand) Setup(config commands.Config, ui commands.UI) error

type AuthCommand

type AuthCommand struct {
	RequiredArgs flags.Authentication `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (AuthCommand) Execute

func (_ AuthCommand) Execute(args []string) error

func (AuthCommand) Setup

func (_ AuthCommand) Setup(config commands.Config, ui commands.UI) error

type BindRouteServiceCommand

type BindRouteServiceCommand struct {
	RequiredArgs     flags.RouteServiceArgs `positional-args:"yes"`
	ParametersAsJSON string                 `` /* 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 for the HTTP route"`
	// contains filtered or unexported fields
}

func (BindRouteServiceCommand) Execute

func (_ BindRouteServiceCommand) Execute(args []string) error

func (BindRouteServiceCommand) Setup

type BindRunningSecurityGroupCommand

type BindRunningSecurityGroupCommand struct {
	RequiredArgs flags.SecurityGroup `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (BindRunningSecurityGroupCommand) Execute

func (_ BindRunningSecurityGroupCommand) Execute(args []string) error

func (BindRunningSecurityGroupCommand) Setup

type BindSecurityGroupCommand

type BindSecurityGroupCommand struct {
	RequiredArgs flags.BindSecurityGroupArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (BindSecurityGroupCommand) Execute

func (_ BindSecurityGroupCommand) Execute(args []string) error

func (BindSecurityGroupCommand) Setup

type BindServiceCommand

type BindServiceCommand struct {
	RequiredArgs     flags.BindServiceArgs `positional-args:"yes"`
	ParametersAsJSON string                `` /* 238-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (BindServiceCommand) Execute

func (_ BindServiceCommand) Execute(args []string) error

func (BindServiceCommand) Setup

func (_ BindServiceCommand) Setup(config commands.Config, ui commands.UI) error

type BindStagingSecurityGroupCommand

type BindStagingSecurityGroupCommand struct {
	RequiredArgs flags.SecurityGroup `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (BindStagingSecurityGroupCommand) Execute

func (_ BindStagingSecurityGroupCommand) Execute(args []string) error

func (BindStagingSecurityGroupCommand) Setup

type BuildpacksCommand

type BuildpacksCommand struct {
	// contains filtered or unexported fields
}

func (BuildpacksCommand) Execute

func (_ BuildpacksCommand) Execute(args []string) error

func (BuildpacksCommand) Setup

func (_ BuildpacksCommand) Setup(config commands.Config, ui commands.UI) error

type CheckRouteCommand

type CheckRouteCommand struct {
	RequiredArgs flags.HostDomain `positional-args:"yes"`
	Path         string           `long:"path" description:"Path for the route"`
	// contains filtered or unexported fields
}

func (CheckRouteCommand) Execute

func (_ CheckRouteCommand) Execute(args []string) error

func (CheckRouteCommand) Setup

func (_ CheckRouteCommand) Setup(config commands.Config, ui commands.UI) error

type ConfigCommand

type ConfigCommand struct {
	AsyncTimeout int    `long:"async-timeout" description:"Timeout for async HTTP requests"`
	Color        string `long:"color" description:"Enable or disable color"`
	Locale       string `long:"locale" description:"Set default locale. If LOCALE is 'CLEAR', previous locale is deleted."`
	Trace        string `long:"trace" description:"Trace HTTP requests"`
	// contains filtered or unexported fields
}

func (ConfigCommand) Execute

func (_ ConfigCommand) Execute(args []string) error

func (ConfigCommand) Setup

func (_ ConfigCommand) Setup(config commands.Config, ui commands.UI) error

type CopySourceCommand

type CopySourceCommand struct {
	RequiredArgs flags.CopySourceArgs `positional-args:"yes"`
	NoRestart    bool                 `long:"no-restart" description:"Override restart of the application in target environment after copy-source completes"`
	Organization string               `short:"o" description:"Org that contains the target application"`
	Space        string               `short:"s" description:"Space that contains the target application"`
	// contains filtered or unexported fields
}

func (CopySourceCommand) Execute

func (_ CopySourceCommand) Execute(args []string) error

func (CopySourceCommand) Setup

func (_ CopySourceCommand) Setup(config commands.Config, ui commands.UI) error

type CreateAppManifestCommand

type CreateAppManifestCommand struct {
	RequiredArgs flags.AppName `positional-args:"yes"`
	FilePath     string        `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (CreateAppManifestCommand) Execute

func (_ CreateAppManifestCommand) Execute(args []string) error

func (CreateAppManifestCommand) Setup

type CreateBuildpackCommand

type CreateBuildpackCommand struct {
	RequiredArgs flags.CreateBuildpackArgs `positional-args:"yes"`
	Disable      bool                      `long:"disable" description:"Disable the buildpack from being used for staging"`
	Enable       bool                      `long:"enable" description:"Enable the buildpack to be used for staging"`
	// contains filtered or unexported fields
}

func (CreateBuildpackCommand) Execute

func (_ CreateBuildpackCommand) Execute(args []string) error

func (CreateBuildpackCommand) Setup

func (_ CreateBuildpackCommand) Setup(config commands.Config, ui commands.UI) error

type CreateDomainCommand

type CreateDomainCommand struct {
	RequiredArgs flags.OrgDomain `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (CreateDomainCommand) Execute

func (_ CreateDomainCommand) Execute(args []string) error

func (CreateDomainCommand) Setup

func (_ CreateDomainCommand) Setup(config commands.Config, ui commands.UI) error

type CreateOrgCommand

type CreateOrgCommand struct {
	RequiredArgs flags.Organization `positional-args:"yes"`
	Quota        string             `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (CreateOrgCommand) Execute

func (_ CreateOrgCommand) Execute(args []string) error

func (CreateOrgCommand) Setup

func (_ CreateOrgCommand) Setup(config commands.Config, ui commands.UI) error

type CreateQuotaCommand

type CreateQuotaCommand struct {
	RequiredArgs                flags.Quota               `positional-args:"yes"`
	NumAppInstances             int                       `short:"a" description:"Total number of application instances. -1 represents an unlimited amount. (Default: unlimited)"`
	AllowPaidServicePlans       bool                      `long:"allow-paid-service-plans" description:"Can provision instances of paid service plans"`
	IndividualAppInstanceMemory flags.MemoryWithUnlimited `` /* 139-byte string literal not displayed */
	TotalMemory                 string                    `short:"m" description:"Total amount of memory a space can have (e.g. 1024M, 1G, 10G)"`
	NumRoutes                   int                       `short:"r" description:"Total number of routes"`
	ReservedRoutePorts          int                       `long:"reserved-route-ports" description:"Maximum number of routes that may be created with reserved ports (Default: 0)"`
	NumServiceInstances         int                       `short:"s" description:"Total number of service instances"`
	// contains filtered or unexported fields
}

func (CreateQuotaCommand) Execute

func (_ CreateQuotaCommand) Execute(args []string) error

func (CreateQuotaCommand) Setup

func (_ CreateQuotaCommand) Setup(config commands.Config, ui commands.UI) error

type CreateRouteCommand

type CreateRouteCommand struct {
	RequiredArgs flags.SpaceDomain `positional-args:"yes"`
	Hostname     string            `long:"hostname" short:"n" description:"Hostname for the HTTP route (required for shared domains)"`
	Path         string            `long:"path" description:"Path for the HTTP route"`
	Port         int               `long:"port" description:"Port for the TCP route"`
	RandomPort   bool              `long:"random-port" description:"Create a random port for the TCP route"`
	// contains filtered or unexported fields
}

func (CreateRouteCommand) Execute

func (_ CreateRouteCommand) Execute(args []string) error

func (CreateRouteCommand) Setup

func (_ CreateRouteCommand) Setup(config commands.Config, ui commands.UI) error

type CreateSecurityGroupCommand

type CreateSecurityGroupCommand struct {
	RequiredArgs flags.SecurityGroupArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (CreateSecurityGroupCommand) Execute

func (_ CreateSecurityGroupCommand) Execute(args []string) error

func (CreateSecurityGroupCommand) Setup

type CreateServiceAuthTokenCommand

type CreateServiceAuthTokenCommand struct {
	RequiredArgs flags.ServiceAuthTokenArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (CreateServiceAuthTokenCommand) Execute

func (_ CreateServiceAuthTokenCommand) Execute(args []string) error

func (CreateServiceAuthTokenCommand) Setup

type CreateServiceBrokerCommand

type CreateServiceBrokerCommand struct {
	RequiredArgs flags.ServiceBrokerArgs `positional-args:"yes"`
	SpaceScoped  bool                    `long:"space-scoped" description:"Make the broker's service plans only visible within the targeted space"`
	// contains filtered or unexported fields
}

func (CreateServiceBrokerCommand) Execute

func (_ CreateServiceBrokerCommand) Execute(args []string) error

func (CreateServiceBrokerCommand) Setup

type CreateServiceCommand

type CreateServiceCommand struct {
	RequiredArgs      flags.CreateServiceArgs `positional-args:"yes"`
	ConfigurationFile string                  `` /* 238-byte string literal not displayed */
	Tags              string                  `short:"t" description:"User provided tags"`
	// contains filtered or unexported fields
}

func (CreateServiceCommand) Execute

func (_ CreateServiceCommand) Execute(args []string) error

func (CreateServiceCommand) Setup

func (_ CreateServiceCommand) Setup(config commands.Config, ui commands.UI) error

type CreateServiceKeyCommand

type CreateServiceKeyCommand struct {
	RequiredArgs     flags.ServiceInstanceKey `positional-args:"yes"`
	ParametersAsJSON string                   `` /* 238-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (CreateServiceKeyCommand) Execute

func (_ CreateServiceKeyCommand) Execute(args []string) error

func (CreateServiceKeyCommand) Setup

type CreateSharedDomainCommand

type CreateSharedDomainCommand struct {
	RequiredArgs flags.Domain `positional-args:"yes"`
	RouterGroup  string       `long:"router-group" description:"Routes for this domain will be configured only on the specified router group"`
	// contains filtered or unexported fields
}

func (CreateSharedDomainCommand) Execute

func (_ CreateSharedDomainCommand) Execute(args []string) error

func (CreateSharedDomainCommand) Setup

type CreateSpaceCommand

type CreateSpaceCommand struct {
	RequiredArgs flags.Space `positional-args:"yes"`
	Organization string      `short:"o" description:"Organization"`
	Quota        string      `short:"q" description:"Quota to assign to the newly created space"`
	// contains filtered or unexported fields
}

func (CreateSpaceCommand) Execute

func (_ CreateSpaceCommand) Execute(args []string) error

func (CreateSpaceCommand) Setup

func (_ CreateSpaceCommand) Setup(config commands.Config, ui commands.UI) error

type CreateSpaceQuotaCommand

type CreateSpaceQuotaCommand struct {
	RequiredArgs                flags.SpaceQuota          `positional-args:"yes"`
	NumAppInstances             int                       `short:"a" description:"Total number of application instances. -1 represents an unlimited amount. (Default: unlimited)"`
	AllowPaidServicePlans       bool                      `long:"allow-paid-service-plans" description:"Can provision instances of paid service plans (Default: disallowed)"`
	IndividualAppInstanceMemory flags.MemoryWithUnlimited `` /* 160-byte string literal not displayed */
	TotalMemory                 string                    `short:"m" description:"Total amount of memory a space can have (e.g. 1024M, 1G, 10G)"`
	NumRoutes                   int                       `short:"r" description:"Total number of routes"`
	ReservedRoutePorts          int                       `long:"reserved-route-ports" description:"Maximum number of routes that may be created with reserved ports (Default: 0)"`
	NumServiceInstances         int                       `short:"s" description:"Total number of service instances"`
	// contains filtered or unexported fields
}

func (CreateSpaceQuotaCommand) Execute

func (_ CreateSpaceQuotaCommand) Execute(args []string) error

func (CreateSpaceQuotaCommand) Setup

type CreateUserCommand

type CreateUserCommand struct {
	RequiredArgs flags.Authentication `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (CreateUserCommand) Execute

func (_ CreateUserCommand) Execute(args []string) error

func (CreateUserCommand) Setup

func (_ CreateUserCommand) Setup(config commands.Config, ui commands.UI) error

type CreateUserProvidedServiceCommand

type CreateUserProvidedServiceCommand struct {
	RequiredArgs    flags.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"`
	// contains filtered or unexported fields
}

func (CreateUserProvidedServiceCommand) Execute

func (_ CreateUserProvidedServiceCommand) Execute(args []string) error

func (CreateUserProvidedServiceCommand) Setup

type CurlCommand

type CurlCommand struct {
	RequiredArgs          flags.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              string        `short:"d" description:"HTTP data to include in the request body, or '@' followed by a file name to read the data from"`
	IncludeReponseHeaders bool          `short:"i" description:"Include response headers in the output"`
	OutputFile            string        `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

func (CurlCommand) Setup

func (_ CurlCommand) Setup(config commands.Config, ui commands.UI) error

type DeleteBuildpackCommand

type DeleteBuildpackCommand struct {
	RequiredArgs flags.Buildpack `positional-args:"yes"`
	Force        bool            `short:"f" description:"Force deletion without confirmation"`
	// contains filtered or unexported fields
}

func (DeleteBuildpackCommand) Execute

func (_ DeleteBuildpackCommand) Execute(args []string) error

func (DeleteBuildpackCommand) Setup

func (_ DeleteBuildpackCommand) Setup(config commands.Config, ui commands.UI) error

type DeleteCommand

type DeleteCommand struct {
	RequiredArgs       flags.AppName `positional-args:"yes"`
	ForceDelete        bool          `short:"f" description:"Force deletion without confirmation"`
	DeleteMappedRoutes bool          `short:"r" description:"Also delete any mapped routes"`
	// contains filtered or unexported fields
}

func (DeleteCommand) Execute

func (_ DeleteCommand) Execute(args []string) error

func (DeleteCommand) Setup

func (_ DeleteCommand) Setup(config commands.Config, ui commands.UI) error

type DeleteDomainCommand

type DeleteDomainCommand struct {
	RequiredArgs flags.Domain `positional-args:"yes"`
	Force        bool         `short:"f" description:"Force deletion without confirmation"`
	// contains filtered or unexported fields
}

func (DeleteDomainCommand) Execute

func (_ DeleteDomainCommand) Execute(args []string) error

func (DeleteDomainCommand) Setup

func (_ DeleteDomainCommand) Setup(config commands.Config, ui commands.UI) error

type DeleteOrgCommand

type DeleteOrgCommand struct {
	RequiredArgs flags.Organization `positional-args:"yes"`
	Force        bool               `short:"f" description:"Force deletion without confirmation"`
	// contains filtered or unexported fields
}

func (DeleteOrgCommand) Execute

func (_ DeleteOrgCommand) Execute(args []string) error

func (DeleteOrgCommand) Setup

func (_ DeleteOrgCommand) Setup(config commands.Config, ui commands.UI) error

type DeleteOrphanedRoutesCommand

type DeleteOrphanedRoutesCommand struct {
	Force bool `short:"f" description:"Force deletion without confirmation"`
	// contains filtered or unexported fields
}

func (DeleteOrphanedRoutesCommand) Execute

func (_ DeleteOrphanedRoutesCommand) Execute(args []string) error

func (DeleteOrphanedRoutesCommand) Setup

type DeleteQuotaCommand

type DeleteQuotaCommand struct {
	RequiredArgs flags.Quota `positional-args:"yes"`
	Force        bool        `short:"f" description:"Force deletion without confirmation"`
	// contains filtered or unexported fields
}

func (DeleteQuotaCommand) Execute

func (_ DeleteQuotaCommand) Execute(args []string) error

func (DeleteQuotaCommand) Setup

func (_ DeleteQuotaCommand) Setup(config commands.Config, ui commands.UI) error

type DeleteRouteCommand

type DeleteRouteCommand struct {
	RequiredArgs flags.Domain `positional-args:"yes"`
	Force        bool         `short:"f" description:"Force deletion without confirmation"`
	Hostname     string       `long:"hostname" short:"n" description:"Hostname used to identify the HTTP route"`
	Path         string       `long:"path" description:"Path used to identify the HTTP route"`
	Port         int          `long:"port" description:"Port used to identify the TCP route"`
	// contains filtered or unexported fields
}

func (DeleteRouteCommand) Execute

func (_ DeleteRouteCommand) Execute(args []string) error

func (DeleteRouteCommand) Setup

func (_ DeleteRouteCommand) Setup(config commands.Config, ui commands.UI) error

type DeleteSecurityGroupCommand

type DeleteSecurityGroupCommand struct {
	RequiredArgs flags.SecurityGroup `positional-args:"yes"`
	Force        bool                `short:"f" description:"Force deletion without confirmation"`
	// contains filtered or unexported fields
}

func (DeleteSecurityGroupCommand) Execute

func (_ DeleteSecurityGroupCommand) Execute(args []string) error

func (DeleteSecurityGroupCommand) Setup

type DeleteServiceAuthTokenCommand

type DeleteServiceAuthTokenCommand struct {
	RequiredArgs flags.DeleteServiceAuthTokenArgs `positional-args:"yes"`
	Force        bool                             `short:"f" description:"Force deletion without confirmation"`
	// contains filtered or unexported fields
}

func (DeleteServiceAuthTokenCommand) Execute

func (_ DeleteServiceAuthTokenCommand) Execute(args []string) error

func (DeleteServiceAuthTokenCommand) Setup

type DeleteServiceBrokerCommand

type DeleteServiceBrokerCommand struct {
	RequiredArgs flags.ServiceBroker `positional-args:"yes"`
	Force        bool                `short:"f" description:"Force deletion without confirmation"`
	// contains filtered or unexported fields
}

func (DeleteServiceBrokerCommand) Execute

func (_ DeleteServiceBrokerCommand) Execute(args []string) error

func (DeleteServiceBrokerCommand) Setup

type DeleteServiceCommand

type DeleteServiceCommand struct {
	RequiredArgs flags.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

func (DeleteServiceCommand) Setup

func (_ DeleteServiceCommand) Setup(config commands.Config, ui commands.UI) error

type DeleteServiceKeyCommand

type DeleteServiceKeyCommand struct {
	RequiredArgs flags.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

func (DeleteServiceKeyCommand) Setup

type DeleteSharedDomainCommand

type DeleteSharedDomainCommand struct {
	RequiredArgs flags.Domain `positional-args:"yes"`
	Force        bool         `short:"f" description:"Force deletion without confirmation"`
	// contains filtered or unexported fields
}

func (DeleteSharedDomainCommand) Execute

func (_ DeleteSharedDomainCommand) Execute(args []string) error

func (DeleteSharedDomainCommand) Setup

type DeleteSpaceCommand

type DeleteSpaceCommand struct {
	RequiredArgs flags.Space `positional-args:"yes"`
	Force        bool        `short:"f" description:"Force deletion without confirmation"`
	// contains filtered or unexported fields
}

func (DeleteSpaceCommand) Execute

func (_ DeleteSpaceCommand) Execute(args []string) error

func (DeleteSpaceCommand) Setup

func (_ DeleteSpaceCommand) Setup(config commands.Config, ui commands.UI) error

type DeleteSpaceQuotaCommand

type DeleteSpaceQuotaCommand struct {
	RequiredArgs flags.SpaceQuota `positional-args:"yes"`
	Force        bool             `short:"f" description:"Force deletion without confirmation"`
	// contains filtered or unexported fields
}

func (DeleteSpaceQuotaCommand) Execute

func (_ DeleteSpaceQuotaCommand) Execute(args []string) error

func (DeleteSpaceQuotaCommand) Setup

type DeleteUserCommand

type DeleteUserCommand struct {
	RequiredArgs flags.Username `positional-args:"yes"`
	Force        bool           `short:"f" description:"Force deletion without confirmation"`
	// contains filtered or unexported fields
}

func (DeleteUserCommand) Execute

func (_ DeleteUserCommand) Execute(args []string) error

func (DeleteUserCommand) Setup

func (_ DeleteUserCommand) Setup(config commands.Config, ui commands.UI) error

type DisableFeatureFlagCommand

type DisableFeatureFlagCommand struct {
	RequiredArgs flags.Feature `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (DisableFeatureFlagCommand) Execute

func (_ DisableFeatureFlagCommand) Execute(args []string) error

func (DisableFeatureFlagCommand) Setup

type DisableSSHCommand

type DisableSSHCommand struct {
	RequiredArgs flags.AppName `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (DisableSSHCommand) Execute

func (_ DisableSSHCommand) Execute(args []string) error

func (DisableSSHCommand) Setup

func (_ DisableSSHCommand) Setup(config commands.Config, ui commands.UI) error

type DisableServiceAccessCommand

type DisableServiceAccessCommand struct {
	RequiredArgs flags.Service `positional-args:"yes"`
	Organization string        `short:"o" description:"Disable access for a specified organization"`
	ServicePlan  string        `short:"p" description:"Disable access to a specified service plan"`
	// contains filtered or unexported fields
}

func (DisableServiceAccessCommand) Execute

func (_ DisableServiceAccessCommand) Execute(args []string) error

func (DisableServiceAccessCommand) Setup

type DisallowSpaceSSHCommand

type DisallowSpaceSSHCommand struct {
	RequiredArgs flags.Space `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (DisallowSpaceSSHCommand) Execute

func (_ DisallowSpaceSSHCommand) Execute(args []string) error

func (DisallowSpaceSSHCommand) Setup

type DomainsCommand

type DomainsCommand struct {
	// contains filtered or unexported fields
}

func (DomainsCommand) Execute

func (_ DomainsCommand) Execute(args []string) error

func (DomainsCommand) Setup

func (_ DomainsCommand) Setup(config commands.Config, ui commands.UI) error

type EnableFeatureFlagCommand

type EnableFeatureFlagCommand struct {
	RequiredArgs flags.Feature `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (EnableFeatureFlagCommand) Execute

func (_ EnableFeatureFlagCommand) Execute(args []string) error

func (EnableFeatureFlagCommand) Setup

type EnableSSHCommand

type EnableSSHCommand struct {
	RequiredArgs flags.AppName `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (EnableSSHCommand) Execute

func (_ EnableSSHCommand) Execute(args []string) error

func (EnableSSHCommand) Setup

func (_ EnableSSHCommand) Setup(config commands.Config, ui commands.UI) error

type EnableServiceAccessCommand

type EnableServiceAccessCommand struct {
	RequiredArgs flags.Service `positional-args:"yes"`
	Organization string        `short:"o" description:"Enable access for a specified organization"`
	ServicePlan  string        `short:"p" description:"Enable access to a specified service plan"`
	// contains filtered or unexported fields
}

func (EnableServiceAccessCommand) Execute

func (_ EnableServiceAccessCommand) Execute(args []string) error

func (EnableServiceAccessCommand) Setup

type EnvCommand

type EnvCommand struct {
	RequiredArgs flags.AppName `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (EnvCommand) Execute

func (_ EnvCommand) Execute(args []string) error

func (EnvCommand) Setup

func (_ EnvCommand) Setup(config commands.Config, ui commands.UI) error

type EventsCommand

type EventsCommand struct {
	RequiredArgs flags.AppName `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (EventsCommand) Execute

func (_ EventsCommand) Execute(args []string) error

func (EventsCommand) Setup

func (_ EventsCommand) Setup(config commands.Config, ui commands.UI) error

type FeatureFlagCommand

type FeatureFlagCommand struct {
	RequiredArgs flags.Feature `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (FeatureFlagCommand) Execute

func (_ FeatureFlagCommand) Execute(args []string) error

func (FeatureFlagCommand) Setup

func (_ FeatureFlagCommand) Setup(config commands.Config, ui commands.UI) error

type FeatureFlagsCommand

type FeatureFlagsCommand struct {
	// contains filtered or unexported fields
}

func (FeatureFlagsCommand) Execute

func (_ FeatureFlagsCommand) Execute(args []string) error

func (FeatureFlagsCommand) Setup

func (_ FeatureFlagsCommand) Setup(config commands.Config, ui commands.UI) error

type FilesCommand

type FilesCommand struct {
	RequiredArgs flags.FilesArgs `positional-args:"yes"`
	Instance     int             `short:"i" description:"Instance"`
	// contains filtered or unexported fields
}

func (FilesCommand) Execute

func (_ FilesCommand) Execute(args []string) error

func (FilesCommand) Setup

func (_ FilesCommand) Setup(config commands.Config, ui commands.UI) error

type GetHealthCheckCommand

type GetHealthCheckCommand struct {
	RequiredArgs flags.AppName `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (GetHealthCheckCommand) Execute

func (_ GetHealthCheckCommand) Execute(args []string) error

func (GetHealthCheckCommand) Setup

func (_ GetHealthCheckCommand) Setup(config commands.Config, ui commands.UI) error

type HelpActor

type HelpActor interface {
	// CommandInfoByName returns back a help command information for the given
	// command
	CommandInfoByName(interface{}, string) (v2actions.CommandInfo, error)

	// CommandInfos returns a list of all commands
	CommandInfos(interface{}) map[string]v2actions.CommandInfo
}

HelpActor handles the business logic of the help command

type HelpCommand

type HelpCommand struct {
	UI     commands.UI
	Actor  HelpActor
	Config commands.Config

	OptionalArgs flags.CommandName `positional-args:"yes"`
	AllCommands  bool              `short:"a" description:"All available CLI commands"`
	// contains filtered or unexported fields
}

func (HelpCommand) Execute

func (cmd HelpCommand) Execute(args []string) error

func (*HelpCommand) Setup

func (cmd *HelpCommand) Setup(config commands.Config, ui commands.UI) error

type InstallPluginCommand

type InstallPluginCommand struct {
	OptionalArgs         flags.InstallPluginArgs `positional-args:"yes"`
	Force                string                  `short:"f" description:"Force install of plugin without confirmation"`
	RegisteredRepository string                  `short:"r" description:"Name of a registered repository where the specified plugin is located"`
	// contains filtered or unexported fields
}

func (InstallPluginCommand) Execute

func (_ InstallPluginCommand) Execute(args []string) error

func (InstallPluginCommand) Setup

func (_ InstallPluginCommand) Setup(config commands.Config, ui commands.UI) error

type ListPluginReposCommand

type ListPluginReposCommand struct {
	// contains filtered or unexported fields
}

func (ListPluginReposCommand) Execute

func (_ ListPluginReposCommand) Execute(args []string) error

func (ListPluginReposCommand) Setup

func (_ ListPluginReposCommand) Setup(config commands.Config, ui commands.UI) error

type LoginCommand

type LoginCommand struct {
	APIEndpoint       string `short:"a" description:"API endpoint (e.g. https://api.example.com)"`
	Organization      string `short:"o" description:"Org"`
	Password          string `short:"p" description:"Password"`
	Space             string `short:"s" description:"Space"`
	SkipSSLValidation bool   `long:"skip-ssl-validation" description:"Skip verification of the API endpoint. Not recommended!"`
	SSO               bool   `long:"sso" description:"Use a one-time password to login"`
	Username          string `short:"u" description:"Username"`
	// contains filtered or unexported fields
}

func (LoginCommand) Execute

func (_ LoginCommand) Execute(args []string) error

func (LoginCommand) Setup

func (_ LoginCommand) Setup(config commands.Config, ui commands.UI) error

type LogoutCommand

type LogoutCommand struct {
	// contains filtered or unexported fields
}

func (LogoutCommand) Execute

func (_ LogoutCommand) Execute(args []string) error

func (LogoutCommand) Setup

func (_ LogoutCommand) Setup(config commands.Config, ui commands.UI) error

type LogsCommand

type LogsCommand struct {
	RequiredArgs flags.AppName `positional-args:"yes"`
	Recent       bool          `long:"recent" description:"Dump recent logs instead of tailing"`
	// contains filtered or unexported fields
}

func (LogsCommand) Execute

func (_ LogsCommand) Execute(args []string) error

func (LogsCommand) Setup

func (_ LogsCommand) Setup(config commands.Config, ui commands.UI) error

type MapRouteCommand

type MapRouteCommand struct {
	RequiredArgs flags.AppDomain `positional-args:"yes"`
	Hostname     string          `long:"hostname" short:"n" description:"Hostname for the HTTP route (required for shared domains)"`
	Path         string          `long:"path" description:"Path for the HTTP route"`
	Port         int             `long:"port" description:"Port for the TCP route"`
	RandomPort   bool            `long:"random-port" description:"Create a random port for the TCP route"`
	// contains filtered or unexported fields
}

func (MapRouteCommand) Execute

func (_ MapRouteCommand) Execute(args []string) error

func (MapRouteCommand) Setup

func (_ MapRouteCommand) Setup(config commands.Config, ui commands.UI) error

type MarketplaceCommand

type MarketplaceCommand struct {
	ServicePlanInfo string `short:"s" description:"Show plan details for a particular service offering"`
	// contains filtered or unexported fields
}

func (MarketplaceCommand) Execute

func (_ MarketplaceCommand) Execute(args []string) error

func (MarketplaceCommand) Setup

func (_ MarketplaceCommand) Setup(config commands.Config, ui commands.UI) error

type MigrateServiceInstancesCommand

type MigrateServiceInstancesCommand struct {
	RequiredArgs flags.MigrateServiceInstancesArgs `positional-args:"yes"`
	Force        bool                              `short:"f" description:"Force migration without confirmation"`
	// contains filtered or unexported fields
}

func (MigrateServiceInstancesCommand) Execute

func (_ MigrateServiceInstancesCommand) Execute(args []string) error

func (MigrateServiceInstancesCommand) Setup

type OauthTokenCommand

type OauthTokenCommand struct {
	// contains filtered or unexported fields
}

func (OauthTokenCommand) Execute

func (_ OauthTokenCommand) Execute(args []string) error

func (OauthTokenCommand) Setup

func (_ OauthTokenCommand) Setup(config commands.Config, ui commands.UI) error

type OrgCommand

type OrgCommand struct {
	RequiredArgs flags.Organization `positional-args:"yes"`
	GUID         bool               `long:"guid" description:"Retrieve and display the given org's guid.  All other output for the org is suppressed."`
	// contains filtered or unexported fields
}

func (OrgCommand) Execute

func (_ OrgCommand) Execute(args []string) error

func (OrgCommand) Setup

func (_ OrgCommand) Setup(config commands.Config, ui commands.UI) error

type OrgUsersCommand

type OrgUsersCommand struct {
	RequiredArgs flags.Organization `positional-args:"yes"`
	AllUsers     bool               `short:"a" description:"List all users in the org"`
	// contains filtered or unexported fields
}

func (OrgUsersCommand) Execute

func (_ OrgUsersCommand) Execute(args []string) error

func (OrgUsersCommand) Setup

func (_ OrgUsersCommand) Setup(config commands.Config, ui commands.UI) error

type OrgsCommand

type OrgsCommand struct {
	// contains filtered or unexported fields
}

func (OrgsCommand) Execute

func (_ OrgsCommand) Execute(args []string) error

func (OrgsCommand) Setup

func (_ OrgsCommand) Setup(config commands.Config, ui commands.UI) error

type PasswdCommand

type PasswdCommand struct {
	// contains filtered or unexported fields
}

func (PasswdCommand) Execute

func (_ PasswdCommand) Execute(args []string) error

func (PasswdCommand) Setup

func (_ PasswdCommand) Setup(config commands.Config, ui commands.UI) error

type PluginsCommand

type PluginsCommand struct {
	Checksum bool `long:"checksum" description:"Compute and show the sha1 value of the plugin binary file"`
	// contains filtered or unexported fields
}

func (PluginsCommand) Execute

func (_ PluginsCommand) Execute(args []string) error

func (PluginsCommand) Setup

func (_ PluginsCommand) Setup(config commands.Config, ui commands.UI) error

type PurgeServiceInstanceCommand

type PurgeServiceInstanceCommand struct {
	RequiredArgs flags.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

func (PurgeServiceInstanceCommand) Setup

type PurgeServiceOfferingCommand

type PurgeServiceOfferingCommand struct {
	RequiredArgs flags.Service `positional-args:"yes"`
	Force        bool          `short:"f" description:"Force deletion without confirmation"`
	Provider     string        `short:"p" description:"Provider"`
	// contains filtered or unexported fields
}

func (PurgeServiceOfferingCommand) Execute

func (_ PurgeServiceOfferingCommand) Execute(args []string) error

func (PurgeServiceOfferingCommand) Setup

type PushCommand

type PushCommand struct {
	AppPorts             string `long:"app-ports" description:"Comma delimited list of ports the application may listen on" hidden:"true"` //TODO: Custom AppPorts flag
	BuildpackName        string ``                                                                                                         /* 317-byte string literal not displayed */
	StartupCommand       string `short:"c" description:"Startup command, set to null to reset to default start command"`
	Domain               string `short:"d" description:"Domain (e.g. example.com)"`
	DockerImage          string `long:"docker-image" short:"o" description:"Docker-image to be used (e.g. user/docker-image-name)"`
	PathToManifest       string `short:"f" description:"Path to manifest"` //TODO: Custom Path flag that does validation
	HealthCheckType      string `long:"health-check-type" short:"u" description:"Application health check type (e.g. 'port' or 'none')"`
	Hostname             string `long:"hostname" short:"n" description:"Hostname (e.g. my-subdomain)"`
	NumInstances         string `short:"i" description:"Number of instances"`
	DiskLimit            string `short:"k" description:"Disk limit (e.g. 256M, 1024M, 1G)"`
	MemoryLimit          string `short:"m" description:"Memory limit (e.g. 256M, 1024M, 1G)"`
	NoHostname           bool   `long:"no-hostname" description:"Map the root domain to this app"`
	NoManifest           bool   `long:"no-manifest" description:"Ignore manifest file"`
	NoRoute              bool   `long:"no-route" description:"Do not map a route to this app and remove routes from previous pushes of this app"`
	NoStart              bool   `long:"no-start" description:"Do not start an app after pushing"`
	DirectoryPath        string `short:"p" description:"Path to app directory or to a zip file of the contents of the app directory"` //TODO: Custom Directory flag that does validation
	RandomRoute          bool   `long:"random-route" description:"Create a random route for this app"`
	RoutePath            string `long:"route-path" description:"Path for the route"`
	Stack                string `short:"s" description:"Stack to use (a stack is a pre-built file system, including an operating system, that can run apps)"`
	ApplicationStartTime int    `short:"t" description:"Maximum time (in seconds) for CLI to wait for application start, other server side timeouts may apply"`
	// contains filtered or unexported fields
}

func (PushCommand) Execute

func (_ PushCommand) Execute(args []string) error

func (PushCommand) Setup

func (_ PushCommand) Setup(config commands.Config, ui commands.UI) error

type QuotaCommand

type QuotaCommand struct {
	RequiredArgs flags.Quota `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (QuotaCommand) Execute

func (_ QuotaCommand) Execute(args []string) error

func (QuotaCommand) Setup

func (_ QuotaCommand) Setup(config commands.Config, ui commands.UI) error

type QuotasCommand

type QuotasCommand struct {
	// contains filtered or unexported fields
}

func (QuotasCommand) Execute

func (_ QuotasCommand) Execute(args []string) error

func (QuotasCommand) Setup

func (_ QuotasCommand) Setup(config commands.Config, ui commands.UI) error

type RemovePluginRepoCommand

type RemovePluginRepoCommand struct {
	RequiredArgs flags.PluginRepoName `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (RemovePluginRepoCommand) Execute

func (_ RemovePluginRepoCommand) Execute(args []string) error

func (RemovePluginRepoCommand) Setup

type RenameBuildpackCommand

type RenameBuildpackCommand struct {
	RequiredArgs flags.RenameBuildpackArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (RenameBuildpackCommand) Execute

func (_ RenameBuildpackCommand) Execute(args []string) error

func (RenameBuildpackCommand) Setup

func (_ RenameBuildpackCommand) Setup(config commands.Config, ui commands.UI) error

type RenameCommand

type RenameCommand struct {
	RequiredArgs flags.AppRenameArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (RenameCommand) Execute

func (_ RenameCommand) Execute(args []string) error

func (RenameCommand) Setup

func (_ RenameCommand) Setup(config commands.Config, ui commands.UI) error

type RenameOrgCommand

type RenameOrgCommand struct {
	RequiredArgs flags.RenameOrgArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (RenameOrgCommand) Execute

func (_ RenameOrgCommand) Execute(args []string) error

func (RenameOrgCommand) Setup

func (_ RenameOrgCommand) Setup(config commands.Config, ui commands.UI) error

type RenameServiceBrokerCommand

type RenameServiceBrokerCommand struct {
	RequiredArgs flags.RenameServiceBrokerArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (RenameServiceBrokerCommand) Execute

func (_ RenameServiceBrokerCommand) Execute(args []string) error

func (RenameServiceBrokerCommand) Setup

type RenameServiceCommand

type RenameServiceCommand struct {
	RequiredArgs flags.RenameServiceArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (RenameServiceCommand) Execute

func (_ RenameServiceCommand) Execute(args []string) error

func (RenameServiceCommand) Setup

func (_ RenameServiceCommand) Setup(config commands.Config, ui commands.UI) error

type RenameSpaceCommand

type RenameSpaceCommand struct {
	RequiredArgs flags.RenameSpaceArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (RenameSpaceCommand) Execute

func (_ RenameSpaceCommand) Execute(args []string) error

func (RenameSpaceCommand) Setup

func (_ RenameSpaceCommand) Setup(config commands.Config, ui commands.UI) error

type RepoPluginsCommand

type RepoPluginsCommand struct {
	RegisteredRepository string `short:"r" description:"Name of a registered repository"`
	// contains filtered or unexported fields
}

func (RepoPluginsCommand) Execute

func (_ RepoPluginsCommand) Execute(args []string) error

func (RepoPluginsCommand) Setup

func (_ RepoPluginsCommand) Setup(config commands.Config, ui commands.UI) error

type RestageCommand

type RestageCommand struct {
	RequiredArgs flags.AppName `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (RestageCommand) Execute

func (_ RestageCommand) Execute(args []string) error

func (RestageCommand) Setup

func (_ RestageCommand) Setup(config commands.Config, ui commands.UI) error

type RestartAppInstanceCommand

type RestartAppInstanceCommand struct {
	RequiredArgs flags.AppInstance `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (RestartAppInstanceCommand) Execute

func (_ RestartAppInstanceCommand) Execute(args []string) error

func (RestartAppInstanceCommand) Setup

type RestartCommand

type RestartCommand struct {
	RequiredArgs flags.AppName `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (RestartCommand) Execute

func (_ RestartCommand) Execute(args []string) error

func (RestartCommand) Setup

func (_ RestartCommand) Setup(config commands.Config, ui commands.UI) error

type RouterGroupsCommand

type RouterGroupsCommand struct {
	// contains filtered or unexported fields
}

func (RouterGroupsCommand) Execute

func (_ RouterGroupsCommand) Execute(args []string) error

func (RouterGroupsCommand) Setup

func (_ RouterGroupsCommand) Setup(config commands.Config, ui commands.UI) error

type RoutesCommand

type RoutesCommand struct {
	OrgLevel bool `long:"orglevel" description:"List all the routes for all spaces of current organization"`
	// contains filtered or unexported fields
}

func (RoutesCommand) Execute

func (_ RoutesCommand) Execute(args []string) error

func (RoutesCommand) Setup

func (_ RoutesCommand) Setup(config commands.Config, ui commands.UI) error

type RunningEnvironmentVariableGroupCommand

type RunningEnvironmentVariableGroupCommand struct {
	// contains filtered or unexported fields
}

func (RunningEnvironmentVariableGroupCommand) Execute

func (RunningEnvironmentVariableGroupCommand) Setup

type RunningSecurityGroupsCommand

type RunningSecurityGroupsCommand struct {
	// contains filtered or unexported fields
}

func (RunningSecurityGroupsCommand) Execute

func (_ RunningSecurityGroupsCommand) Execute(args []string) error

func (RunningSecurityGroupsCommand) Setup

type SSHCodeCommand

type SSHCodeCommand struct {
	// contains filtered or unexported fields
}

func (SSHCodeCommand) Execute

func (_ SSHCodeCommand) Execute(args []string) error

func (SSHCodeCommand) Setup

func (_ SSHCodeCommand) Setup(config commands.Config, ui commands.UI) error

type SSHCommand

type SSHCommand struct {
	RequiredArgs        flags.AppName `positional-args:"yes"`
	AppInstanceIndex    int           `long:"app-instance-index" short:"i" description:"Application instance index"`
	Command             string        `long:"command" short:"c" description:"Command to run. This flag can be defined more than once."`
	DisablePseudoTTY    bool          `long:"disable-pseudo-tty" short:"T" description:"Disable pseudo-tty allocation"`
	ForcePseudoTTY      bool          `long:"force-pseudo-tty" short:"F" description:"Force pseudo-tty allocation"`
	LocalPort           string        `short:"L" description:"Local port forward specification. This flag can be defined more than once."`
	RemotePseudoTTY     bool          `long:"request-pseudo-tty" short:"t" description:"Request pseudo-tty allocation"`
	SkipHostValidation  bool          `long:"skip-host-validation" short:"k" description:"Skip host key validation"`
	SkipRemoteExecution bool          `long:"skip-remote-execution" short:"N" description:"Do not execute a remote command"`
	// contains filtered or unexported fields
}

func (SSHCommand) Execute

func (_ SSHCommand) Execute(args []string) error

func (SSHCommand) Setup

func (_ SSHCommand) Setup(config commands.Config, ui commands.UI) error

type SSHEnabledCommand

type SSHEnabledCommand struct {
	RequiredArgs flags.AppName `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (SSHEnabledCommand) Execute

func (_ SSHEnabledCommand) Execute(args []string) error

func (SSHEnabledCommand) Setup

func (_ SSHEnabledCommand) Setup(config commands.Config, ui commands.UI) error

type ScaleCommand

type ScaleCommand struct {
	RequiredArgs flags.AppName `positional-args:"yes"`
	ForceRestart bool          `short:"f" description:"Force restart of app without prompt"`
	NumInstances int           `short:"i" description:"Number of instances"`
	DiskLimit    string        `short:"k" description:"Disk limit (e.g. 256M, 1024M, 1G)"`
	MemoryLimit  string        `short:"m" description:"Memory limit (e.g. 256M, 1024M, 1G)"`
	// contains filtered or unexported fields
}

func (ScaleCommand) Execute

func (_ ScaleCommand) Execute(args []string) error

func (ScaleCommand) Setup

func (_ ScaleCommand) Setup(config commands.Config, ui commands.UI) error

type SecurityGroupCommand

type SecurityGroupCommand struct {
	RequiredArgs flags.SecurityGroup `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (SecurityGroupCommand) Execute

func (_ SecurityGroupCommand) Execute(args []string) error

func (SecurityGroupCommand) Setup

func (_ SecurityGroupCommand) Setup(config commands.Config, ui commands.UI) error

type SecurityGroupsCommand

type SecurityGroupsCommand struct {
	// contains filtered or unexported fields
}

func (SecurityGroupsCommand) Execute

func (_ SecurityGroupsCommand) Execute(args []string) error

func (SecurityGroupsCommand) Setup

func (_ SecurityGroupsCommand) Setup(config commands.Config, ui commands.UI) error

type ServiceAccessCommand

type ServiceAccessCommand struct {
	Broker       string `short:"b" description:"Access for plans of a particular broker"`
	Service      string `short:"e" description:"Access for service name of a particular service offering"`
	Organization string `short:"o" description:"Plans accessible by a particular organization"`
	// contains filtered or unexported fields
}

func (ServiceAccessCommand) Execute

func (_ ServiceAccessCommand) Execute(args []string) error

func (ServiceAccessCommand) Setup

func (_ ServiceAccessCommand) Setup(config commands.Config, ui commands.UI) error

type ServiceAuthTokensCommand

type ServiceAuthTokensCommand struct {
	// contains filtered or unexported fields
}

func (ServiceAuthTokensCommand) Execute

func (_ ServiceAuthTokensCommand) Execute(args []string) error

func (ServiceAuthTokensCommand) Setup

type ServiceBrokersCommand

type ServiceBrokersCommand struct {
	// contains filtered or unexported fields
}

func (ServiceBrokersCommand) Execute

func (_ ServiceBrokersCommand) Execute(args []string) error

func (ServiceBrokersCommand) Setup

func (_ ServiceBrokersCommand) Setup(config commands.Config, ui commands.UI) error

type ServiceCommand

type ServiceCommand struct {
	RequiredArgs flags.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."`
	// contains filtered or unexported fields
}

func (ServiceCommand) Execute

func (_ ServiceCommand) Execute(args []string) error

func (ServiceCommand) Setup

func (_ ServiceCommand) Setup(config commands.Config, ui commands.UI) error

type ServiceKeyCommand

type ServiceKeyCommand struct {
	RequiredArgs flags.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

func (ServiceKeyCommand) Setup

func (_ ServiceKeyCommand) Setup(config commands.Config, ui commands.UI) error

type ServiceKeysCommand

type ServiceKeysCommand struct {
	RequiredArgs flags.ServiceInstance `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (ServiceKeysCommand) Execute

func (_ ServiceKeysCommand) Execute(args []string) error

func (ServiceKeysCommand) Setup

func (_ ServiceKeysCommand) Setup(config commands.Config, ui commands.UI) error

type ServicesCommand

type ServicesCommand struct {
	// contains filtered or unexported fields
}

func (ServicesCommand) Execute

func (_ ServicesCommand) Execute(args []string) error

func (ServicesCommand) Setup

func (_ ServicesCommand) Setup(config commands.Config, ui commands.UI) error

type SetEnvCommand

type SetEnvCommand struct {
	RequiredArgs flags.SetEnvironmentArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (SetEnvCommand) Execute

func (_ SetEnvCommand) Execute(args []string) error

func (SetEnvCommand) Setup

func (_ SetEnvCommand) Setup(config commands.Config, ui commands.UI) error

type SetHealthCheckCommand

type SetHealthCheckCommand struct {
	RequiredArgs flags.SetHealthCheckArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (SetHealthCheckCommand) Execute

func (_ SetHealthCheckCommand) Execute(args []string) error

func (SetHealthCheckCommand) Setup

func (_ SetHealthCheckCommand) Setup(config commands.Config, ui commands.UI) error

type SetOrgRoleCommand

type SetOrgRoleCommand struct {
	RequiredArgs flags.SetOrgRoleArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (SetOrgRoleCommand) Execute

func (_ SetOrgRoleCommand) Execute(args []string) error

func (SetOrgRoleCommand) Setup

func (_ SetOrgRoleCommand) Setup(config commands.Config, ui commands.UI) error

type SetQuotaCommand

type SetQuotaCommand struct {
	RequiredArgs flags.SetOrgQuotaArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (SetQuotaCommand) Execute

func (_ SetQuotaCommand) Execute(args []string) error

func (SetQuotaCommand) Setup

func (_ SetQuotaCommand) Setup(config commands.Config, ui commands.UI) error

type SetRunningEnvironmentVariableGroupCommand

type SetRunningEnvironmentVariableGroupCommand struct {
	RequiredArgs flags.ParamsAsJSON `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (SetRunningEnvironmentVariableGroupCommand) Execute

func (SetRunningEnvironmentVariableGroupCommand) Setup

type SetSpaceQuotaCommand

type SetSpaceQuotaCommand struct {
	RequiredArgs flags.SetSpaceQuotaArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (SetSpaceQuotaCommand) Execute

func (_ SetSpaceQuotaCommand) Execute(args []string) error

func (SetSpaceQuotaCommand) Setup

func (_ SetSpaceQuotaCommand) Setup(config commands.Config, ui commands.UI) error

type SetSpaceRoleCommand

type SetSpaceRoleCommand struct {
	RequiredArgs flags.SetSpaceRoleArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (SetSpaceRoleCommand) Execute

func (_ SetSpaceRoleCommand) Execute(args []string) error

func (SetSpaceRoleCommand) Setup

func (_ SetSpaceRoleCommand) Setup(config commands.Config, ui commands.UI) error

type SetStagingEnvironmentVariableGroupCommand

type SetStagingEnvironmentVariableGroupCommand struct {
	RequiredArgs flags.ParamsAsJSON `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (SetStagingEnvironmentVariableGroupCommand) Execute

func (SetStagingEnvironmentVariableGroupCommand) Setup

type SharePrivateDomainCommand

type SharePrivateDomainCommand struct {
	RequiredArgs flags.OrgDomain `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (SharePrivateDomainCommand) Execute

func (_ SharePrivateDomainCommand) Execute(args []string) error

func (SharePrivateDomainCommand) Setup

type SpaceCommand

type SpaceCommand struct {
	RequiredArgs       flags.Space `positional-args:"yes"`
	GUID               bool        `long:"guid" description:"Retrieve and display the given space's guid.  All other output for the space is suppressed."`
	SecurityGroupRules bool        `long:"security-group-rules" description:"Retrieve the rules for all the security groups associated with the space"`
	// contains filtered or unexported fields
}

func (SpaceCommand) Execute

func (_ SpaceCommand) Execute(args []string) error

func (SpaceCommand) Setup

func (_ SpaceCommand) Setup(config commands.Config, ui commands.UI) error

type SpaceQuotaCommand

type SpaceQuotaCommand struct {
	RequiredArgs flags.SpaceQuota `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (SpaceQuotaCommand) Execute

func (_ SpaceQuotaCommand) Execute(args []string) error

func (SpaceQuotaCommand) Setup

func (_ SpaceQuotaCommand) Setup(config commands.Config, ui commands.UI) error

type SpaceQuotasCommand

type SpaceQuotasCommand struct {
	// contains filtered or unexported fields
}

func (SpaceQuotasCommand) Execute

func (_ SpaceQuotasCommand) Execute(args []string) error

func (SpaceQuotasCommand) Setup

func (_ SpaceQuotasCommand) Setup(config commands.Config, ui commands.UI) error

type SpaceSSHAllowedCommand

type SpaceSSHAllowedCommand struct {
	RequiredArgs flags.Space `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (SpaceSSHAllowedCommand) Execute

func (_ SpaceSSHAllowedCommand) Execute(args []string) error

func (SpaceSSHAllowedCommand) Setup

func (_ SpaceSSHAllowedCommand) Setup(config commands.Config, ui commands.UI) error

type SpaceUsersCommand

type SpaceUsersCommand struct {
	RequiredArgs flags.OrgSpace `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (SpaceUsersCommand) Execute

func (_ SpaceUsersCommand) Execute(args []string) error

func (SpaceUsersCommand) Setup

func (_ SpaceUsersCommand) Setup(config commands.Config, ui commands.UI) error

type SpacesCommand

type SpacesCommand struct {
	// contains filtered or unexported fields
}

func (SpacesCommand) Execute

func (_ SpacesCommand) Execute(args []string) error

func (SpacesCommand) Setup

func (_ SpacesCommand) Setup(config commands.Config, ui commands.UI) error

type StackCommand

type StackCommand struct {
	RequiredArgs flags.StackName `positional-args:"yes"`
	GUID         bool            `long:"guid" description:"Retrieve and display the given stack's guid. All other output for the stack is suppressed."`
	// contains filtered or unexported fields
}

func (StackCommand) Execute

func (_ StackCommand) Execute(args []string) error

func (StackCommand) Setup

func (_ StackCommand) Setup(config commands.Config, ui commands.UI) error

type StacksCommand

type StacksCommand struct {
	// contains filtered or unexported fields
}

func (StacksCommand) Execute

func (_ StacksCommand) Execute(args []string) error

func (StacksCommand) Setup

func (_ StacksCommand) Setup(config commands.Config, ui commands.UI) error

type StagingEnvironmentVariableGroupCommand

type StagingEnvironmentVariableGroupCommand struct {
	// contains filtered or unexported fields
}

func (StagingEnvironmentVariableGroupCommand) Execute

func (StagingEnvironmentVariableGroupCommand) Setup

type StagingSecurityGroupsCommand

type StagingSecurityGroupsCommand struct {
	// contains filtered or unexported fields
}

func (StagingSecurityGroupsCommand) Execute

func (_ StagingSecurityGroupsCommand) Execute(args []string) error

func (StagingSecurityGroupsCommand) Setup

type StartCommand

type StartCommand struct {
	RequiredArgs flags.AppName `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (StartCommand) Execute

func (_ StartCommand) Execute(args []string) error

func (StartCommand) Setup

func (_ StartCommand) Setup(config commands.Config, ui commands.UI) error

type StopCommand

type StopCommand struct {
	RequiredArgs flags.AppName `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (StopCommand) Execute

func (_ StopCommand) Execute(args []string) error

func (StopCommand) Setup

func (_ StopCommand) Setup(config commands.Config, ui commands.UI) error

type TargetCommand

type TargetCommand struct {
	Organization string `short:"o" description:"Organization"`
	Space        string `short:"s" description:"Space"`
	// contains filtered or unexported fields
}

func (TargetCommand) Execute

func (_ TargetCommand) Execute(args []string) error

func (TargetCommand) Setup

func (_ TargetCommand) Setup(config commands.Config, ui commands.UI) error

type UnbindRouteServiceCommand

type UnbindRouteServiceCommand struct {
	RequiredArgs flags.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 for HTTP route"`
	// contains filtered or unexported fields
}

func (UnbindRouteServiceCommand) Execute

func (_ UnbindRouteServiceCommand) Execute(args []string) error

func (UnbindRouteServiceCommand) Setup

type UnbindRunningSecurityGroupCommand

type UnbindRunningSecurityGroupCommand struct {
	RequiredArgs flags.SecurityGroup `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (UnbindRunningSecurityGroupCommand) Execute

func (UnbindRunningSecurityGroupCommand) Setup

type UnbindSecurityGroupCommand

type UnbindSecurityGroupCommand struct {
	RequiredArgs flags.BindSecurityGroupArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (UnbindSecurityGroupCommand) Execute

func (_ UnbindSecurityGroupCommand) Execute(args []string) error

func (UnbindSecurityGroupCommand) Setup

type UnbindServiceCommand

type UnbindServiceCommand struct {
	RequiredArgs flags.BindServiceArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (UnbindServiceCommand) Execute

func (_ UnbindServiceCommand) Execute(args []string) error

func (UnbindServiceCommand) Setup

func (_ UnbindServiceCommand) Setup(config commands.Config, ui commands.UI) error

type UnbindStagingSecurityGroupCommand

type UnbindStagingSecurityGroupCommand struct {
	RequiredArgs flags.SecurityGroup `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (UnbindStagingSecurityGroupCommand) Execute

func (UnbindStagingSecurityGroupCommand) Setup

type UninstallPluginCommand

type UninstallPluginCommand struct {
	RequiredArgs flags.PluginName `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (UninstallPluginCommand) Execute

func (_ UninstallPluginCommand) Execute(args []string) error

func (UninstallPluginCommand) Setup

func (_ UninstallPluginCommand) Setup(config commands.Config, ui commands.UI) error

type UnmapRouteCommand

type UnmapRouteCommand struct {
	RequiredArgs flags.AppDomain `positional-args:"yes"`
	Hostname     string          `long:"hostname" short:"n" description:"Hostname used to identify the HTTP route"`
	Path         string          `long:"path" description:"Path used to identify the HTTP route"`
	Port         int             `long:"port" description:"Port used to identify the TCP route"`
	// contains filtered or unexported fields
}

func (UnmapRouteCommand) Execute

func (_ UnmapRouteCommand) Execute(args []string) error

func (UnmapRouteCommand) Setup

func (_ UnmapRouteCommand) Setup(config commands.Config, ui commands.UI) error

type UnsetEnvCommand

type UnsetEnvCommand struct {
	// contains filtered or unexported fields
}

func (UnsetEnvCommand) Execute

func (_ UnsetEnvCommand) Execute(args []string) error

func (UnsetEnvCommand) Setup

func (_ UnsetEnvCommand) Setup(config commands.Config, ui commands.UI) error

type UnsetOrgRoleCommand

type UnsetOrgRoleCommand struct {
	RequiredArgs flags.SetOrgRoleArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (UnsetOrgRoleCommand) Execute

func (_ UnsetOrgRoleCommand) Execute(args []string) error

func (UnsetOrgRoleCommand) Setup

func (_ UnsetOrgRoleCommand) Setup(config commands.Config, ui commands.UI) error

type UnsetSpaceQuotaCommand

type UnsetSpaceQuotaCommand struct {
	RequiredArgs flags.SetSpaceQuotaArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (UnsetSpaceQuotaCommand) Execute

func (_ UnsetSpaceQuotaCommand) Execute(args []string) error

func (UnsetSpaceQuotaCommand) Setup

func (_ UnsetSpaceQuotaCommand) Setup(config commands.Config, ui commands.UI) error

type UnsetSpaceRoleCommand

type UnsetSpaceRoleCommand struct {
	RequiredArgs flags.SetSpaceRoleArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (UnsetSpaceRoleCommand) Execute

func (_ UnsetSpaceRoleCommand) Execute(args []string) error

func (UnsetSpaceRoleCommand) Setup

func (_ UnsetSpaceRoleCommand) Setup(config commands.Config, ui commands.UI) error

type UnsharePrivateDomainCommand

type UnsharePrivateDomainCommand struct {
	RequiredArgs flags.OrgDomain `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (UnsharePrivateDomainCommand) Execute

func (_ UnsharePrivateDomainCommand) Execute(args []string) error

func (UnsharePrivateDomainCommand) Setup

type UpdateBuildpackCommand

type UpdateBuildpackCommand struct {
	RequiredArgs flags.Buildpack `positional-args:"yes"`
	Disable      bool            `long:"disable" description:"Disable the buildpack from being used for staging"`
	Enable       bool            `long:"enable" description:"Enable the buildpack to be used for staging"`
	Order        int             `short:"i" description:"The order in which the buildpacks are checked during buildpack auto-detection"`
	Lock         bool            `long:"lock" description:"Lock the buildpack to prevent updates"`
	Path         int             `short:"p" description:"Path to directory or zip file"`
	Unlock       bool            `long:"unlock" description:"Unlock the buildpack to enable updates"`
	// contains filtered or unexported fields
}

func (UpdateBuildpackCommand) Execute

func (_ UpdateBuildpackCommand) Execute(args []string) error

func (UpdateBuildpackCommand) Setup

func (_ UpdateBuildpackCommand) Setup(config commands.Config, ui commands.UI) error

type UpdateQuotaCommand

type UpdateQuotaCommand struct {
	RequiredArgs             flags.Quota               `positional-args:"yes"`
	NumAppInstances          int                       `short:"a" description:"Total number of application instances. -1 represents an unlimited amount."`
	AllowPaidServicePlans    bool                      `long:"allow-paid-service-plans" description:"Can provision instances of paid service plans"`
	DisallowPaidServicePlans bool                      `long:"disallow-paid-service-plans" description:"Cannot provision instances of paid service plans"`
	AppInstanceMemory        flags.MemoryWithUnlimited `short:"i" description:"Maximum amount of memory an application instance can have (e.g. 1024M, 1G, 10G)"`
	TotalMemory              string                    `short:"m" description:"Total amount of memory (e.g. 1024M, 1G, 10G)"`
	NewName                  string                    `short:"n" description:"New name"`
	NumRoutes                int                       `short:"r" description:"Total number of routes"`
	ReservedRoutePorts       int                       `long:"reserved-route-ports" description:"Maximum number of routes that may be created with reserved ports"`
	NumServiceInstances      int                       `short:"s" description:"Total number of service instances"`
	// contains filtered or unexported fields
}

func (UpdateQuotaCommand) Execute

func (_ UpdateQuotaCommand) Execute(args []string) error

func (UpdateQuotaCommand) Setup

func (_ UpdateQuotaCommand) Setup(config commands.Config, ui commands.UI) error

type UpdateSecurityGroupCommand

type UpdateSecurityGroupCommand struct {
	RequiredArgs flags.SecurityGroupArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (UpdateSecurityGroupCommand) Execute

func (_ UpdateSecurityGroupCommand) Execute(args []string) error

func (UpdateSecurityGroupCommand) Setup

type UpdateServiceAuthTokenCommand

type UpdateServiceAuthTokenCommand struct {
	RequiredArgs flags.ServiceAuthTokenArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (UpdateServiceAuthTokenCommand) Execute

func (_ UpdateServiceAuthTokenCommand) Execute(args []string) error

func (UpdateServiceAuthTokenCommand) Setup

type UpdateServiceBrokerCommand

type UpdateServiceBrokerCommand struct {
	RequiredArgs flags.ServiceBrokerArgs `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (UpdateServiceBrokerCommand) Execute

func (_ UpdateServiceBrokerCommand) Execute(args []string) error

func (UpdateServiceBrokerCommand) Setup

type UpdateServiceCommand

type UpdateServiceCommand struct {
	RequiredArgs     flags.ServiceInstance `positional-args:"yes"`
	ParametersAsJSON string                `` /* 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"`
	// contains filtered or unexported fields
}

func (UpdateServiceCommand) Execute

func (_ UpdateServiceCommand) Execute(args []string) error

func (UpdateServiceCommand) Setup

func (_ UpdateServiceCommand) Setup(config commands.Config, ui commands.UI) error

type UpdateSpaceQuotaCommand

type UpdateSpaceQuotaCommand struct {
	RequiredArgs             flags.SpaceQuota          `positional-args:"yes"`
	NumAppInstances          int                       `short:"a" description:"Total number of application instances. -1 represents an unlimited amount."`
	AllowPaidServicePlans    bool                      `long:"allow-paid-service-plans" description:"Can provision instances of paid service plans"`
	DisallowPaidServicePlans bool                      `long:"disallow-paid-service-plans" description:"Can not provision instances of paid service plans"`
	AppInstanceMemory        flags.MemoryWithUnlimited `` /* 139-byte string literal not displayed */
	TotalMemory              string                    `short:"m" description:"Total amount of memory a space can have (e.g. 1024M, 1G, 10G)"`
	Name                     string                    `short:"n" description:"New name"`
	NumRoutes                int                       `short:"r" description:"Total number of routes"`
	ReservedRoutePorts       int                       `long:"reserved-route-ports" description:"Maximum number of routes that may be created with reserved ports"`
	NumServiceInstances      int                       `short:"s" description:"Total number of service instances"`
	// contains filtered or unexported fields
}

func (UpdateSpaceQuotaCommand) Execute

func (_ UpdateSpaceQuotaCommand) Execute(args []string) error

func (UpdateSpaceQuotaCommand) Setup

type UpdateUserProvidedServiceCommand

type UpdateUserProvidedServiceCommand struct {
	RequiredArgs    flags.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"`
	// contains filtered or unexported fields
}

func (UpdateUserProvidedServiceCommand) Execute

func (_ UpdateUserProvidedServiceCommand) Execute(args []string) error

func (UpdateUserProvidedServiceCommand) Setup

type VersionCommand

type VersionCommand struct {
	// contains filtered or unexported fields
}

func (VersionCommand) Execute

func (_ VersionCommand) Execute(args []string) error

func (VersionCommand) Setup

func (_ VersionCommand) Setup(config commands.Config, ui commands.UI) error

Source Files

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL