cli: code.cloudfoundry.org/cli/command/flag Index | Files

package flag

import "code.cloudfoundry.org/cli/command/flag"

Package flag should not be imported by external consumers. It was not designed for external use.

Index

Package Files

app_type.go arguments.go binding_name.go buildpack.go color.go command.go completions.go deployment_strategy.go docker.go droplet.go environment_variable.go godoc.go health_check_type.go health_check_type_with_deprecated_value.go instances.go locale.go megabytes.go memory_with_unlimited.go network_port.go network_protocol.go org_role.go parse.go path.go port.go positive_integer.go route_path.go security_group_lifecycle.go space_role.go ssh_port_forwarding.go tags.go

Constants

const (
    AllowedUnits = "mg"
)
const DefaultLocalAddress = "localhost"
const WorkAroundPrefix = "\U000026f3"

WorkAroundPrefix is the flag in hole emoji

func ParseStringToInt Uses

func ParseStringToInt(str string) (int, error)

type APIPath Uses

type APIPath struct {
    Path string `positional-arg-name:"PATH" required:"true" description:"The API endpoint"`
}

type APITarget Uses

type APITarget struct {
    URL string `positional-arg-name:"URL" description:"API URL to target"`
}

type AddNetworkPolicyArgs Uses

type AddNetworkPolicyArgs struct {
    SourceApp string `positional-arg-name:"SOURCE_APP" required:"true" description:"The source app"`
}

type AddPluginRepoArgs Uses

type AddPluginRepoArgs struct {
    PluginRepoName string `positional-arg-name:"REPO_NAME" required:"true" description:"The plugin repo name"`
    PluginRepoURL  string `positional-arg-name:"URL" required:"true" description:"The URL to the plugin repo"`
}

type AppDomain Uses

type AppDomain struct {
    App    string `positional-arg-name:"APP_NAME" required:"true" description:"The application name"`
    Domain string `positional-arg-name:"DOMAIN" required:"true" description:"The domain"`
}

type AppInstance Uses

type AppInstance struct {
    AppName string `positional-arg-name:"APP_NAME" required:"true" description:"The application name"`
    Index   int    `positional-arg-name:"INDEX" required:"true" description:"The index of the application instance"`
}

type AppName Uses

type AppName struct {
    AppName string `positional-arg-name:"APP_NAME" required:"true" description:"The application name"`
}

type AppRenameArgs Uses

type AppRenameArgs struct {
    OldAppName string `positional-arg-name:"APP_NAME" required:"true" description:"The old application name"`
    NewAppName string `positional-arg-name:"NEW_APP_NAME" required:"true" description:"The new application name"`
}

type AppType Uses

type AppType string

func (AppType) Complete Uses

func (AppType) Complete(prefix string) []flags.Completion

type Authentication Uses

type Authentication struct {
    Username string `positional-arg-name:"USERNAME" description:"The username"`
    Password string `positional-arg-name:"PASSWORD" description:"The password"`
}

type BindSecurityGroupArgs Uses

type BindSecurityGroupArgs struct {
    SecurityGroupName string `positional-arg-name:"SECURITY_GROUP" required:"true" description:"The security group name"`
    OrganizationName  string `positional-arg-name:"ORG" required:"true" description:"The organization group name"`
    SpaceName         string `positional-arg-name:"SPACE" description:"The space name"`
}

type BindServiceArgs Uses

type BindServiceArgs struct {
    AppName             string `positional-arg-name:"APP_NAME" required:"true" description:"The application name"`
    ServiceInstanceName string `positional-arg-name:"SERVICE_INSTANCE" required:"true" description:"The service instance"`
}

type BindingName Uses

type BindingName struct {
    Value string
}

func (*BindingName) UnmarshalFlag Uses

func (b *BindingName) UnmarshalFlag(val string) error

type Buildpack Uses

type Buildpack struct {
    types.FilteredString
}

func (*Buildpack) UnmarshalFlag Uses

func (b *Buildpack) UnmarshalFlag(val string) error

type BuildpackName Uses

type BuildpackName struct {
    Buildpack string `positional-arg-name:"BUILDPACK" required:"true" description:"The buildpack"`
}

type Color Uses

type Color struct {
    Color bool
}

func (Color) Complete Uses

func (Color) Complete(prefix string) []flags.Completion

func (*Color) UnmarshalFlag Uses

func (c *Color) UnmarshalFlag(val string) error

type Command Uses

type Command struct {
    types.FilteredString
}

func (*Command) UnmarshalFlag Uses

func (b *Command) UnmarshalFlag(val string) error

type CommandName Uses

type CommandName struct {
    CommandName string `positional-arg-name:"COMMAND_NAME" description:"The command name"`
}

type CopySourceArgs Uses

type CopySourceArgs struct {
    SourceAppName string `positional-arg-name:"SOURCE-APP" required:"true" description:"The old application name"`
    TargetAppName string `positional-arg-name:"TARGET-NAME" required:"true" description:"The new application name"`
}

type CreateBuildpackArgs Uses

type CreateBuildpackArgs struct {
    Buildpack string                      `positional-arg-name:"BUILDPACK" required:"true" description:"The buildpack"`
    Path      PathWithExistenceCheckOrURL `positional-arg-name:"PATH" required:"true" description:"The path to the buildpack file"`
    Position  int                         `positional-arg-name:"POSITION" required:"true" description:"The position that sets priority"`
}

type CreateServiceArgs Uses

type CreateServiceArgs struct {
    Service         string `positional-arg-name:"SERVICE" required:"true" description:"The service offering"`
    ServicePlan     string `positional-arg-name:"SERVICE_PLAN" required:"true" description:"The service plan that the service instance will use"`
    ServiceInstance string `positional-arg-name:"SERVICE_INSTANCE" required:"true" description:"The service instance"`
}

type CreateUser Uses

type CreateUser struct {
    Username string  `positional-arg-name:"USERNAME" required:"true" description:"The username"`
    Password *string `positional-arg-name:"PASSWORD" description:"The password"`
}

type DeleteLabelArgs Uses

type DeleteLabelArgs struct {
    ResourceType string   `positional-arg-name:"RESOURCE" required:"true" description:"The type of resource"`
    ResourceName string   `positional-arg-name:"RESOURCE_NAME" required:"true" description:"The name of the resource"`
    LabelKeys    []string `positional-arg-name:"KEY" required:"true" description:"A label to delete on the resource"`
}

type DeleteServiceAuthTokenArgs Uses

type DeleteServiceAuthTokenArgs struct {
    Label    string `positional-arg-name:"LABEL" required:"true" description:"The token label"`
    Provider string `positional-arg-name:"PROVIDER" required:"true" description:"The token provider"`
}

type DeploymentStrategy Uses

type DeploymentStrategy struct {
    Name constant.DeploymentStrategy
}

func (DeploymentStrategy) Complete Uses

func (DeploymentStrategy) Complete(prefix string) []flags.Completion

func (*DeploymentStrategy) UnmarshalFlag Uses

func (h *DeploymentStrategy) UnmarshalFlag(val string) error

type DockerImage Uses

type DockerImage struct {
    Path string
}

func (*DockerImage) UnmarshalFlag Uses

func (d *DockerImage) UnmarshalFlag(val string) error

type Domain Uses

type Domain struct {
    Domain string `positional-arg-name:"DOMAIN" required:"true" description:"The domain"`
}

type Droplet Uses

type Droplet struct {
    Path string
}

func (*Droplet) UnmarshalFlag Uses

func (d *Droplet) UnmarshalFlag(val string) error

type EnvironmentArgs Uses

type EnvironmentArgs struct {
    AppName string `positional-arg-name:"APP_NAME" required:"true" description:"The application name"`
}

type EnvironmentVariable Uses

type EnvironmentVariable string

func (EnvironmentVariable) Complete Uses

func (EnvironmentVariable) Complete(prefix string) []flags.Completion

func (*EnvironmentVariable) UnmarshalFlag Uses

func (e *EnvironmentVariable) UnmarshalFlag(val string) error

type Feature Uses

type Feature struct {
    Feature string `positional-arg-name:"FEATURE_NAME" required:"true" description:"The feature flag name"`
}

type FilesArgs Uses

type FilesArgs struct {
    AppName string `positional-arg-name:"APP_NAME" required:"true" description:"The application name"`
    Path    string `positional-arg-name:"PATH" description:"The file path"`
}

type HealthCheckType Uses

type HealthCheckType struct {
    Type constant.HealthCheckType
}

func (HealthCheckType) Complete Uses

func (HealthCheckType) Complete(prefix string) []flags.Completion

func (*HealthCheckType) UnmarshalFlag Uses

func (h *HealthCheckType) UnmarshalFlag(val string) error

type HealthCheckTypeWithDeprecatedValue Uses

type HealthCheckTypeWithDeprecatedValue struct {
    Type string
}

func (HealthCheckTypeWithDeprecatedValue) Complete Uses

func (HealthCheckTypeWithDeprecatedValue) Complete(prefix string) []flags.Completion

func (*HealthCheckTypeWithDeprecatedValue) UnmarshalFlag Uses

func (h *HealthCheckTypeWithDeprecatedValue) UnmarshalFlag(val string) error

type HostDomain Uses

type HostDomain struct {
    Host   string `positional-arg-name:"HOST" required:"true" description:"The hostname"`
    Domain string `positional-arg-name:"DOMAIN" required:"true" description:"The domain"`
}

type InstallPluginArgs Uses

type InstallPluginArgs struct {
    PluginNameOrLocation Path `positional-arg-name:"PLUGIN_NAME_OR_LOCATION" required:"true" description:"The local path to the plugin, if the plugin exists locally; the URL to the plugin, if the plugin exists online; or the plugin name, if a repo is specified"`
}

type Instances Uses

type Instances struct {
    types.NullInt
}

func (*Instances) IsValidValue Uses

func (i *Instances) IsValidValue(val string) error

func (*Instances) UnmarshalFlag Uses

func (i *Instances) UnmarshalFlag(val string) error

type IsolationSegmentName Uses

type IsolationSegmentName struct {
    IsolationSegmentName string `positional-arg-name:"SEGMENT_NAME" required:"true" description:"The isolation segment name"`
}

type JSONOrFileWithValidation Uses

type JSONOrFileWithValidation map[string]interface{}

func (JSONOrFileWithValidation) Complete Uses

func (JSONOrFileWithValidation) Complete(prefix string) []flags.Completion

func (*JSONOrFileWithValidation) UnmarshalFlag Uses

func (p *JSONOrFileWithValidation) UnmarshalFlag(pathOrJSON string) error

type LabelsArgs Uses

type LabelsArgs struct {
    ResourceType string `positional-arg-name:"RESOURCE" required:"true" description:"The type of resource to label"`
    ResourceName string `positional-arg-name:"RESOURCE_NAME" required:"true" description:"The name of the resource"`
}

type Locale Uses

type Locale struct {
    Locale string
}

func (Locale) Complete Uses

func (l Locale) Complete(prefix string) []flags.Completion

func (*Locale) UnmarshalFlag Uses

func (l *Locale) UnmarshalFlag(val string) error

type Megabytes Uses

type Megabytes struct {
    types.NullUint64
}

func (*Megabytes) UnmarshalFlag Uses

func (m *Megabytes) UnmarshalFlag(val string) error

type MemoryWithUnlimited Uses

type MemoryWithUnlimited int64

func (*MemoryWithUnlimited) UnmarshalFlag Uses

func (m *MemoryWithUnlimited) UnmarshalFlag(val string) error

TODO:Code for this flag exists in cf/formatters/bytes.go, move tests from there to here

type MigrateServiceInstancesArgs Uses

type MigrateServiceInstancesArgs struct {
    V1Service  string `positional-arg-name:"v1_SERVICE" required:"true" description:"The old service offering"`
    V1Provider string `positional-arg-name:"v1_PROVIDER" required:"true" description:"The old service provider"`
    V1Plan     string `positional-arg-name:"v1_PLAN" required:"true" description:"The old service plan"`
    V2Service  string `positional-arg-name:"v2_SERVICE" required:"true" description:"The new service offering"`
    V2Plan     string `positional-arg-name:"v2_PLAN" required:"true" description:"The new service plan"`
}

type NetworkPort Uses

type NetworkPort struct {
    StartPort int
    EndPort   int
}

func (*NetworkPort) UnmarshalFlag Uses

func (np *NetworkPort) UnmarshalFlag(val string) error

type NetworkProtocol Uses

type NetworkProtocol struct {
    Protocol string
}

func (NetworkProtocol) Complete Uses

func (NetworkProtocol) Complete(prefix string) []flags.Completion

func (*NetworkProtocol) UnmarshalFlag Uses

func (h *NetworkProtocol) UnmarshalFlag(val string) error

type OptionalAppName Uses

type OptionalAppName struct {
    AppName string `positional-arg-name:"APP_NAME" description:"The application name"`
}

type OrgDomain Uses

type OrgDomain struct {
    Organization string `positional-arg-name:"ORG" required:"true" description:"The organization"`
    Domain       string `positional-arg-name:"DOMAIN" required:"true" description:"The domain"`
}

type OrgIsolationArgs Uses

type OrgIsolationArgs struct {
    OrganizationName     string `positional-arg-name:"ORG_NAME" required:"true" description:"The organization name"`
    IsolationSegmentName string `positional-arg-name:"SEGMENT_NAME" required:"true" description:"The isolation segment name"`
}

type OrgRole Uses

type OrgRole struct {
    Role string
}

func (OrgRole) Complete Uses

func (OrgRole) Complete(prefix string) []flags.Completion

func (*OrgRole) UnmarshalFlag Uses

func (o *OrgRole) UnmarshalFlag(val string) error

type OrgSpace Uses

type OrgSpace struct {
    Organization string `positional-arg-name:"ORG" required:"true" description:"The organization"`
    Space        string `positional-arg-name:"SPACE" required:"true" description:"The space"`
}

type Organization Uses

type Organization struct {
    Organization string `positional-arg-name:"ORG" required:"true" description:"The organization"`
}

type ParamsAsJSON Uses

type ParamsAsJSON struct {
    JSON string `positional-arg-name:"JSON" required:"true" description:"Parameters as JSON"`
}

type Path Uses

type Path string

func (Path) Complete Uses

func (Path) Complete(prefix string) []flags.Completion

func (Path) String Uses

func (p Path) String() string

type PathWithAt Uses

type PathWithAt string

func (PathWithAt) Complete Uses

func (PathWithAt) Complete(prefix string) []flags.Completion

type PathWithBool Uses

type PathWithBool string

func (PathWithBool) Complete Uses

func (PathWithBool) Complete(prefix string) []flags.Completion

type PathWithExistenceCheck Uses

type PathWithExistenceCheck string

func (PathWithExistenceCheck) Complete Uses

func (PathWithExistenceCheck) Complete(prefix string) []flags.Completion

func (*PathWithExistenceCheck) UnmarshalFlag Uses

func (p *PathWithExistenceCheck) UnmarshalFlag(path string) error

type PathWithExistenceCheckOrURL Uses

type PathWithExistenceCheckOrURL string

func (PathWithExistenceCheckOrURL) Complete Uses

func (PathWithExistenceCheckOrURL) Complete(prefix string) []flags.Completion

func (*PathWithExistenceCheckOrURL) UnmarshalFlag Uses

func (p *PathWithExistenceCheckOrURL) UnmarshalFlag(path string) error

type PluginName Uses

type PluginName struct {
    PluginName string `positional-arg-name:"PLUGIN_NAME" required:"true" description:"The plugin name"`
}

type PluginRepoName Uses

type PluginRepoName struct {
    PluginRepoName string `positional-arg-name:"REPO_NAME" required:"true" description:"The plugin repo name"`
}

type Port Uses

type Port struct {
    types.NullInt
}

func (*Port) IsValidValue Uses

func (i *Port) IsValidValue(val string) error

IsValidValue returns an error if the input value is not an integer.

func (*Port) UnmarshalFlag Uses

func (i *Port) UnmarshalFlag(val string) error

type PositiveInteger Uses

type PositiveInteger struct {
    Value int64
}

func (*PositiveInteger) UnmarshalFlag Uses

func (posInt *PositiveInteger) UnmarshalFlag(rawValue string) error

type Quota Uses

type Quota struct {
    Quota string `positional-arg-name:"QUOTA" required:"true" description:"The organization quota"`
}

type RemoveNetworkPolicyArgs Uses

type RemoveNetworkPolicyArgs struct {
    SourceApp string
}

type RenameBuildpackArgs Uses

type RenameBuildpackArgs struct {
    OldBuildpackName string `positional-arg-name:"BUILDPACK_NAME" required:"true" description:"The old buildpack name"`
    NewBuildpackName string `positional-arg-name:"NEW_BUILDPACK_NAME" required:"true" description:"The new buildpack name"`
}

type RenameOrgArgs Uses

type RenameOrgArgs struct {
    OldOrgName string `positional-arg-name:"ORG" required:"true" description:"The old organization name"`
    NewOrgName string `positional-arg-name:"NEW_ORG" required:"true" description:"The new organization name"`
}

type RenameServiceArgs Uses

type RenameServiceArgs struct {
    ServiceInstance        string `positional-arg-name:"SERVICE_INSTANCE" required:"true" description:"The service instance to rename"`
    NewServiceInstanceName string `positional-arg-name:"NEW_SERVICE_INSTANCE" required:"true" description:"The new name of the service instance"`
}

type RenameServiceBrokerArgs Uses

type RenameServiceBrokerArgs struct {
    OldServiceBrokerName string `positional-arg-name:"SERVICE_BROKER" required:"true" description:"The old service broker name"`
    NewServiceBrokerName string `positional-arg-name:"NEW_SERVICE_BROKER" required:"true" description:"The new service broker name"`
}

type RenameSpaceArgs Uses

type RenameSpaceArgs struct {
    OldSpaceName string `positional-arg-name:"SPACE_NAME" required:"true" description:"The old space name"`
    NewSpaceName string `positional-arg-name:"NEW_SPACE_NAME" required:"true" description:"The new space name"`
}

type ResetOrgDefaultIsolationArgs Uses

type ResetOrgDefaultIsolationArgs struct {
    OrgName string `positional-arg-name:"ORG_NAME" required:"true" description:"The organization name"`
}

type ResetSpaceIsolationArgs Uses

type ResetSpaceIsolationArgs struct {
    SpaceName string `positional-arg-name:"SPACE_NAME" required:"true" description:"The space name"`
}

type RoutePath Uses

type RoutePath struct {
    Path string
}

func (*RoutePath) UnmarshalFlag Uses

func (h *RoutePath) UnmarshalFlag(val string) error

type RouteServiceArgs Uses

type RouteServiceArgs struct {
    Domain          string `positional-arg-name:"DOMAIN" required:"true" description:"The domain of the route"`
    ServiceInstance string `positional-arg-name:"SERVICE_INSTANCE" required:"true" description:"The service instance"`
}

type RunTaskArgs Uses

type RunTaskArgs struct {
    AppName string `positional-arg-name:"APP_NAME" required:"true" description:"The application name"`
    Command string `positional-arg-name:"COMMAND" required:"true" description:"The command to execute"`
}

type SSHPortForwarding Uses

type SSHPortForwarding struct {
    LocalAddress  string
    RemoteAddress string
}

func (*SSHPortForwarding) UnmarshalFlag Uses

func (s *SSHPortForwarding) UnmarshalFlag(val string) error

type SecurityGroup Uses

type SecurityGroup struct {
    ServiceGroup string `positional-arg-name:"SECURITY_GROUP" required:"true" description:"The security group"`
}

type SecurityGroupArgs Uses

type SecurityGroupArgs struct {
    SecurityGroup   string                 `positional-arg-name:"SECURITY_GROUP" required:"true" description:"The security group"`
    PathToJSONRules PathWithExistenceCheck `positional-arg-name:"PATH_TO_JSON_RULES_FILE" required:"true" description:"Path to file of JSON describing security group rules"`
}

type SecurityGroupLifecycle Uses

type SecurityGroupLifecycle string

func (SecurityGroupLifecycle) Complete Uses

func (SecurityGroupLifecycle) Complete(prefix string) []flags.Completion

type Service Uses

type Service struct {
    Service string `positional-arg-name:"SERVICE" required:"true" description:"The service offering name"`
}

type ServiceAuthTokenArgs Uses

type ServiceAuthTokenArgs struct {
    Label    string `positional-arg-name:"LABEL" required:"true" description:"The token label"`
    Provider string `positional-arg-name:"PROVIDER" required:"true" description:"The token provider"`
    Token    string `positional-arg-name:"TOKEN" required:"true" description:"The token"`
}

type ServiceBroker Uses

type ServiceBroker struct {
    ServiceBroker string `positional-arg-name:"SERVICE_BROKER" required:"true" description:"The service broker"`
}

type ServiceBrokerArgs Uses

type ServiceBrokerArgs struct {
    ServiceBroker string `positional-arg-name:"SERVICE_BROKER" required:"true" description:"The service broker name"`
    Username      string `positional-arg-name:"USERNAME" required:"true" description:"The username"`
    Password      string `positional-arg-name:"PASSWORD" required:"true" description:"The password"`
    URL           string `positional-arg-name:"URL" required:"true" description:"The URL of the service broker"`
}

type ServiceInstance Uses

type ServiceInstance struct {
    ServiceInstance string `positional-arg-name:"SERVICE_INSTANCE" required:"true" description:"The service instance name"`
}

type ServiceInstanceKey Uses

type ServiceInstanceKey struct {
    ServiceInstance string `positional-arg-name:"SERVICE_INSTANCE" required:"true" description:"The service instance"`
    ServiceKey      string `positional-arg-name:"SERVICE_KEY" required:"true" description:"The service key"`
}

type SetEnvironmentArgs Uses

type SetEnvironmentArgs struct {
    AppName                  string              `positional-arg-name:"APP_NAME" required:"true" description:"The application name"`
    EnvironmentVariableName  string              `positional-arg-name:"ENV_VAR_NAME" required:"true" description:"The environment variable name"`
    EnvironmentVariableValue EnvironmentVariable `positional-arg-name:"ENV_VAR_VALUE" required:"true" description:"The environment variable value"`
}

type SetHealthCheckArgs Uses

type SetHealthCheckArgs struct {
    AppName     string          `positional-arg-name:"APP_NAME" required:"true" description:"The application name"`
    HealthCheck HealthCheckType `positional-arg-name:"HEALTH_CHECK_TYPE" required:"true" description:"Set to 'port'"`
}

type SetLabelArgs Uses

type SetLabelArgs struct {
    ResourceType string   `positional-arg-name:"RESOURCE" required:"true" description:"The type of resource to label"`
    ResourceName string   `positional-arg-name:"RESOURCE_NAME" required:"true" description:"The name of the resource"`
    Labels       []string `positional-arg-name:"KEY=VALUE" required:"true" description:"A space-separated list of labels to set on the resource"`
}

type SetOrgQuotaArgs Uses

type SetOrgQuotaArgs struct {
    Organization string `positional-arg-name:"ORG" required:"true" description:"The organization"`
    Quota        string `positional-arg-name:"QUOTA" required:"true" description:"The quota"`
}

type SetOrgRoleArgs Uses

type SetOrgRoleArgs struct {
    Username     string  `positional-arg-name:"USERNAME" required:"true" description:"The user"`
    Organization string  `positional-arg-name:"ORG" required:"true" description:"The organization"`
    Role         OrgRole `positional-arg-name:"ROLE" required:"true" description:"The organization role"`
}

type SetSpaceQuotaArgs Uses

type SetSpaceQuotaArgs struct {
    Space      string `positional-arg-name:"SPACE_NAME" required:"true" description:"The space"`
    SpaceQuota string `positional-arg-name:"SPACE_QUOTA" required:"true" description:"The space quota"`
}

type SetSpaceRoleArgs Uses

type SetSpaceRoleArgs struct {
    Username     string    `positional-arg-name:"USERNAME" required:"true" description:"The user"`
    Organization string    `positional-arg-name:"ORG" required:"true" description:"The organization"`
    Space        string    `positional-arg-name:"SPACE" required:"true" description:"The space"`
    Role         SpaceRole `positional-arg-name:"ROLE" required:"true" description:"The space role"`
}

type Space Uses

type Space struct {
    Space string `positional-arg-name:"SPACE" required:"true" description:"The space"`
}

type SpaceDomain Uses

type SpaceDomain struct {
    Space  string `positional-arg-name:"SPACE" required:"true" description:"The space"`
    Domain string `positional-arg-name:"DOMAIN" required:"true" description:"The domain"`
}

type SpaceIsolationArgs Uses

type SpaceIsolationArgs struct {
    SpaceName            string `positional-arg-name:"SPACE_NAME" required:"true" description:"The space name"`
    IsolationSegmentName string `positional-arg-name:"SEGMENT_NAME" required:"true" description:"The isolation segment name"`
}

type SpaceQuota Uses

type SpaceQuota struct {
    SpaceQuota string `positional-arg-name:"SPACE_QUOTA_NAME" required:"true" description:"The space quota"`
}

type SpaceRole Uses

type SpaceRole struct {
    Role string
}

func (SpaceRole) Complete Uses

func (SpaceRole) Complete(prefix string) []flags.Completion

func (*SpaceRole) UnmarshalFlag Uses

func (s *SpaceRole) UnmarshalFlag(val string) error

type StackName Uses

type StackName struct {
    StackName string `positional-arg-name:"STACK_NAME" required:"true" description:"The stack name"`
}

type Tags Uses

type Tags []string

func (*Tags) UnmarshalFlag Uses

func (t *Tags) UnmarshalFlag(value string) error

type TerminateTaskArgs Uses

type TerminateTaskArgs struct {
    AppName    string `positional-arg-name:"APP_NAME" required:"true" description:"The application name"`
    SequenceID string `positional-arg-name:"TASK_ID" required:"true" description:"The task's unique sequence ID"`
}

type UnbindSecurityGroupArgs Uses

type UnbindSecurityGroupArgs struct {
    SecurityGroupName string `positional-arg-name:"SECURITY_GROUP" required:"true" description:"The security group name"`
    OrganizationName  string `positional-arg-name:"ORG" description:"The organization group name"`
    SpaceName         string `positional-arg-name:"SPACE" description:"The space name"`
}

type UnsetEnvironmentArgs Uses

type UnsetEnvironmentArgs struct {
    AppName                 string `positional-arg-name:"APP_NAME" required:"true" description:"The application name"`
    EnvironmentVariableName string `positional-arg-name:"ENV_VAR_NAME" required:"true" description:"The environment variable name"`
}

type Username Uses

type Username struct {
    Username string `positional-arg-name:"USERNAME" required:"true" description:"The username"`
}

type V6SetHealthCheckArgs Uses

type V6SetHealthCheckArgs struct {
    AppName     string                             `positional-arg-name:"APP_NAME" required:"true" description:"The application name"`
    HealthCheck HealthCheckTypeWithDeprecatedValue `positional-arg-name:"HEALTH_CHECK_TYPE" required:"true" description:"Set to 'port' or 'none'"`
}

Package flag imports 15 packages (graph) and is imported by 24 packages. Updated 2019-06-12. Refresh now. Tools for package owners.