{"modulePath":"github.com/randomtask1155/cli","version":"v6.41.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package v7\n\nPackage v3 should not be imported by external consumers. It was not designed for external use.\n\n## Types\n\n```go\ntype AppActor interface {\n\tCloudControllerAPIVersion() string\n\tGetApplicationByNameAndSpace(name string, spaceGUID string) (v7action.Application, v7action.Warnings, error)\n\tGetApplicationSummaryByNameAndSpace(appName string, spaceGUID string, withObfuscatedValues bool, routeActor v7action.RouteActor) (v7action.ApplicationSummary, v7action.Warnings, error)\n}\n```\n\n```go\ntype AppCommand struct {\n\tRequiredArgs flag.AppName `positional-args:\"yes\"`\n\tGUID         bool         `long:\"guid\" description:\"Retrieve and display the given app's guid.  All other health and status output for the app is suppressed.\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tRouteActor  v7action.RouteActor\n\tActor       AppActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd AppCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *AppCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype CreateAppManifestActor interface {\n\tGetRawApplicationManifestByNameAndSpace(appName string, spaceGUID string) ([]byte, v7action.Warnings, error)\n}\n```\n\n```go\ntype CreateAppManifestCommand struct {\n\tRequiredArgs flag.AppName `positional-args:\"yes\"`\n\tFilePath     flag.Path    `short:\"p\" description:\"Specify a path for file creation. If path not specified, manifest file is created in current working directory.\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       CreateAppManifestActor\n\tPWD         string\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd CreateAppManifestCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *CreateAppManifestCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype DeleteActor interface {\n\tCloudControllerAPIVersion() string\n\tDeleteApplicationByNameAndSpace(name string, spaceGUID string) (v7action.Warnings, error)\n}\n```\n\n```go\ntype DeleteCommand struct {\n\tRequiredArgs       flag.AppName `positional-args:\"yes\"`\n\tForce              bool         `short:\"f\" description:\"Force deletion without confirmation\"`\n\tDeleteMappedRoutes bool         `short:\"r\" description:\"Also delete any mapped routes [Not currently functional]\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       DeleteActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd DeleteCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *DeleteCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype EnvActor interface {\n\tGetEnvironmentVariablesByApplicationNameAndSpace(appName string, spaceGUID string) (v7action.EnvironmentVariableGroups, v7action.Warnings, error)\n}\n```\n\n```go\ntype EnvCommand struct {\n\tRequiredArgs flag.EnvironmentArgs `positional-args:\"yes\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       EnvActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd EnvCommand) Execute(_ []string) error\n```\n\n```go\nfunc (cmd *EnvCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype GetHealthCheckActor interface {\n\tCloudControllerAPIVersion() string\n\tGetApplicationProcessHealthChecksByNameAndSpace(appName string, spaceGUID string) ([]v7action.ProcessHealthCheck, v7action.Warnings, error)\n}\n```\n\n```go\ntype GetHealthCheckCommand struct {\n\tRequiredArgs flag.AppName `positional-args:\"yes\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       GetHealthCheckActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd GetHealthCheckCommand) DisplayProcessTable(processHealthChecks []v7action.ProcessHealthCheck) error\n```\n\n```go\nfunc (cmd GetHealthCheckCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *GetHealthCheckCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype ProgressBar interface {\n\tv7pushaction.ProgressBar\n\tComplete()\n\tReady()\n}\n```\n\n```go\ntype PushActor interface {\n\t// Actualize applies any necessary changes.\n\tActualize(state v7pushaction.PushState, progressBar v7pushaction.ProgressBar) (\u003c-chan v7pushaction.PushState, \u003c-chan v7pushaction.Event, \u003c-chan v7pushaction.Warnings, \u003c-chan error)\n\t// Conceptualize figures out the state of the world.\n\tConceptualize(appName string, spaceGUID string, orgGUID string, currentDir string, flagOverrides v7pushaction.FlagOverrides) ([]v7pushaction.PushState, v7pushaction.Warnings, error)\n}\n```\n\n```go\ntype PushCommand struct {\n\tRequiredArgs    flag.AppName                `positional-args:\"yes\"`\n\tBuildpacks      []string                    `long:\"buildpack\" short:\"b\" description:\"Custom buildpack by name (e.g. my-buildpack) or Git URL (e.g. 'https://github.com/cloudfoundry/java-buildpack.git') or Git URL with a branch or tag (e.g. 'https://github.com/cloudfoundry/java-buildpack.git#v3.3.0' for 'v3.3.0' tag). To use built-in buildpacks only, specify 'default' or 'null'\"`\n\tDockerImage     flag.DockerImage            `long:\"docker-image\" short:\"o\" description:\"Docker image to use (e.g. user/docker-image-name)\"`\n\tDockerUsername  string                      `long:\"docker-username\" description:\"Repository username; used with password from environment variable CF_DOCKER_PASSWORD\"`\n\tHealthCheckType flag.HealthCheckType        `long:\"health-check-type\" short:\"u\" description:\"Application health check type: 'port' (default), 'process', 'http' (implies endpoint '/')\"`\n\tMemory          flag.Megabytes              `long:\"memory\" short:\"m\" description:\"Memory limit (e.g. 256M, 1024M, 1G)\"`\n\tNoRoute         bool                        `long:\"no-route\" description:\"Do not map a route to this app\"`\n\tNoStart         bool                        `long:\"no-start\" description:\"Do not stage and start the app after pushing\"`\n\tAppPath         flag.PathWithExistenceCheck `short:\"p\" description:\"Path to app directory or to a zip file of the contents of the app directory\"`\n\tStartCommand    flag.Command                `long:\"start-command\" short:\"c\" description:\"Startup command, set to null to reset to default start command\"`\n\n\tUI           command.UI\n\tConfig       command.Config\n\tNOAAClient   v3action.NOAAClient\n\tActor        PushActor\n\tVersionActor V7ActorForPush\n\tSharedActor  command.SharedActor\n\tRouteActor   v7action.RouteActor\n\tProgressBar  ProgressBar\n\tPWD          string\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd PushCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd PushCommand) GetFlagOverrides() (v7pushaction.FlagOverrides, error)\n```\n\n```go\nfunc (cmd *PushCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype ResetSpaceIsolationSegmentActor interface {\n\tCloudControllerAPIVersion() string\n\tResetSpaceIsolationSegment(orgGUID string, spaceGUID string) (string, v7action.Warnings, error)\n}\n```\n\n```go\ntype ResetSpaceIsolationSegmentActorV2 interface {\n\tGetSpaceByOrganizationAndName(orgGUID string, spaceName string) (v2action.Space, v2action.Warnings, error)\n}\n```\n\n```go\ntype ResetSpaceIsolationSegmentCommand struct {\n\tRequiredArgs flag.ResetSpaceIsolationArgs `positional-args:\"yes\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       ResetSpaceIsolationSegmentActor\n\tActorV2     ResetSpaceIsolationSegmentActorV2\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd ResetSpaceIsolationSegmentCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *ResetSpaceIsolationSegmentCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype SSHActor interface {\n\tGetSecureShellConfigurationByApplicationNameSpaceProcessTypeAndIndex(appName string, spaceGUID string, processType string, processIndex uint) (v7action.SSHAuthentication, v7action.Warnings, error)\n}\n```\n\n```go\ntype SSHCommand struct {\n\tRequiredArgs          flag.AppName             `positional-args:\"yes\"`\n\tProcessIndex          uint                     `long:\"app-instance-index\" short:\"i\" default:\"0\" description:\"App process instance index\"`\n\tCommands              []string                 `long:\"command\" short:\"c\" description:\"Command to run\"`\n\tDisablePseudoTTY      bool                     `long:\"disable-pseudo-tty\" short:\"T\" description:\"Disable pseudo-tty allocation\"`\n\tForcePseudoTTY        bool                     `long:\"force-pseudo-tty\" description:\"Force pseudo-tty allocation\"`\n\tLocalPortForwardSpecs []flag.SSHPortForwarding `short:\"L\" description:\"Local port forward specification\"`\n\tProcessType           string                   `long:\"process\" default:\"web\" description:\"App process name\"`\n\tRequestPseudoTTY      bool                     `long:\"request-pseudo-tty\" short:\"t\" description:\"Request pseudo-tty allocation\"`\n\tSkipHostValidation    bool                     `long:\"skip-host-validation\" short:\"k\" description:\"Skip host key validation. Not recommended!\"`\n\tSkipRemoteExecution   bool                     `long:\"skip-remote-execution\" short:\"N\" description:\"Do not execute a remote command\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       SSHActor\n\tSSHActor    SharedSSHActor\n\tSSHClient   *clissh.SecureShell\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd SSHCommand) EvaluateTTYOption() (sharedaction.TTYOption, error)\n```\nEvaluateTTYOption determines which TTY options are mutually exclusive and returns an error accordingly.\n\n```go\nfunc (cmd SSHCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *SSHCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype ScaleActor interface {\n\tAppActor\n\n\tScaleProcessByApplication(appGUID string, process v7action.Process) (v7action.Warnings, error)\n\tStopApplication(appGUID string) (v7action.Warnings, error)\n\tStartApplication(appGUID string) (v7action.Application, v7action.Warnings, error)\n\tPollStart(appGUID string, warnings chan\u003c- v7action.Warnings) error\n}\n```\n\n```go\ntype ScaleCommand struct {\n\tRequiredArgs flag.AppName   `positional-args:\"yes\"`\n\tForce        bool           `short:\"f\" description:\"Force restart of app without prompt\"`\n\tInstances    flag.Instances `short:\"i\" required:\"false\" description:\"Number of instances\"`\n\tDiskLimit    flag.Megabytes `short:\"k\" required:\"false\" description:\"Disk limit (e.g. 256M, 1024M, 1G)\"`\n\tMemoryLimit  flag.Megabytes `short:\"m\" required:\"false\" description:\"Memory limit (e.g. 256M, 1024M, 1G)\"`\n\tProcessType  string         `long:\"process\" default:\"web\" description:\"App process to scale\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tActor       ScaleActor\n\tSharedActor command.SharedActor\n\tRouteActor  v7action.RouteActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd ScaleCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *ScaleCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype SetEnvActor interface {\n\tCloudControllerAPIVersion() string\n\tSetEnvironmentVariableByApplicationNameAndSpace(appName string, spaceGUID string, envPair v7action.EnvironmentVariablePair) (v7action.Warnings, error)\n}\n```\n\n```go\ntype SetEnvCommand struct {\n\tRequiredArgs flag.SetEnvironmentArgs `positional-args:\"yes\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       SetEnvActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd SetEnvCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *SetEnvCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype SetHealthCheckActor interface {\n\tCloudControllerAPIVersion() string\n\tSetApplicationProcessHealthCheckTypeByNameAndSpace(appName string, spaceGUID string, healthCheckType constant.HealthCheckType, httpEndpoint string, processType string, invocationTimeout int) (v7action.Application, v7action.Warnings, error)\n}\n```\n\n```go\ntype SetHealthCheckCommand struct {\n\tRequiredArgs      flag.SetHealthCheckArgs `positional-args:\"yes\"`\n\tHTTPEndpoint      string                  `long:\"endpoint\" default:\"/\" description:\"Path on the app\"`\n\tInvocationTimeout flag.PositiveInteger    `long:\"invocation-timeout\" description:\"Time (in seconds) that controls individual health check invocations\"`\n\tProcessType       string                  `long:\"process\" default:\"web\" description:\"App process to update\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       SetHealthCheckActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd SetHealthCheckCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *SetHealthCheckCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype SharedSSHActor interface {\n\tExecuteSecureShell(sshClient sharedaction.SecureShellClient, sshOptions sharedaction.SSHOptions) error\n}\n```\n\n```go\ntype UnsetEnvActor interface {\n\tUnsetEnvironmentVariableByApplicationNameAndSpace(appName string, spaceGUID string, EnvironmentVariableName string) (v7action.Warnings, error)\n}\n```\n\n```go\ntype UnsetEnvCommand struct {\n\tRequiredArgs flag.UnsetEnvironmentArgs `positional-args:\"yes\"`\n\n\tUI          command.UI\n\tConfig      command.Config\n\tSharedActor command.SharedActor\n\tActor       UnsetEnvActor\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (cmd UnsetEnvCommand) Execute(args []string) error\n```\n\n```go\nfunc (cmd *UnsetEnvCommand) Setup(config command.Config, ui command.UI) error\n```\n\n```go\ntype V7ActorForPush interface {\n\tAppActor\n\tGetStreamingLogsForApplicationByNameAndSpace(appName string, spaceGUID string, client v7action.NOAAClient) (\u003c-chan *v7action.LogMessage, \u003c-chan error, v7action.Warnings, error)\n\tPollStart(appGUID string, warningsChannel chan\u003c- v7action.Warnings) error\n\tRestartApplication(appGUID string) (v7action.Warnings, error)\n}\n```\n\n","path":"github.com/randomtask1155/cli/command/v7","name":"v7","synopsis":"Package v3 should not be imported by external consumers.","isRedistributable":true}
