Versions in this module Expand all Collapse all v8 v8.4.4 Aug 24, 2022 v8.4.3 Aug 24, 2022 Changes in this version + func PromptUserForCredentialsIfRequired(flag *flag.CredentialsOrJSON, ui command.UI) error + type APICommand struct + OptionalArgs flag.APITarget + SkipSSLValidation bool + Unset bool + func (cmd *APICommand) Execute(args []string) error + func (cmd *APICommand) Setup(config command.Config, ui command.UI) error + type ActionType string + const Set + const Unset + type Actor interface + ApplyOrganizationQuotaByName func(quotaName string, orgGUID string) (v7action.Warnings, error) + ApplySpaceQuotaByName func(quotaName string, spaceGUID string, orgGUID string) (v7action.Warnings, error) + AssignIsolationSegmentToSpaceByNameAndSpace func(isolationSegmentName string, spaceGUID string) (v7action.Warnings, error) + Authenticate func(credentials map[string]string, origin string, grantType uaa.GrantType) error + BindSecurityGroupToSpaces func(securityGroupGUID string, spaces []resources.Space, ...) (v7action.Warnings, error) + CancelDeployment func(deploymentGUID string) (v7action.Warnings, error) + CheckRoute func(domainName string, hostname string, path string, port int) (bool, v7action.Warnings, error) + ClearTarget func() + CopyPackage func(sourceApp resources.Application, targetApp resources.Application) (resources.Package, v7action.Warnings, error) + CreateAndUploadBitsPackageByApplicationNameAndSpace func(appName string, spaceGUID string, bitsPath string) (resources.Package, v7action.Warnings, error) + CreateApplicationDroplet func(appGUID string) (resources.Droplet, v7action.Warnings, error) + CreateApplicationInSpace func(app resources.Application, spaceGUID string) (resources.Application, v7action.Warnings, error) + CreateBitsPackageByApplication func(appGUID string) (resources.Package, v7action.Warnings, error) + CreateBuildpack func(buildpack resources.Buildpack) (resources.Buildpack, v7action.Warnings, error) + CreateDeploymentByApplicationAndDroplet func(appGUID string, dropletGUID string) (string, v7action.Warnings, error) + CreateDeploymentByApplicationAndRevision func(appGUID string, revisionGUID string) (string, v7action.Warnings, error) + CreateDockerPackageByApplication func(appGUID string, dockerImageCredentials v7action.DockerImageCredentials) (resources.Package, v7action.Warnings, error) + CreateDockerPackageByApplicationNameAndSpace func(appName string, spaceGUID string, ...) (resources.Package, v7action.Warnings, error) + CreateIsolationSegmentByName func(isolationSegment resources.IsolationSegment) (v7action.Warnings, error) + CreateManagedServiceInstance func(managedServiceInstanceParams v7action.CreateManagedServiceInstanceParams) (chan v7action.PollJobEvent, v7action.Warnings, error) + CreateOrgRole func(roleType constant.RoleType, orgGUID string, userNameOrGUID string, ...) (v7action.Warnings, error) + CreateOrganization func(orgName string) (resources.Organization, v7action.Warnings, error) + CreateOrganizationQuota func(name string, limits v7action.QuotaLimits) (v7action.Warnings, error) + CreatePrivateDomain func(domainName string, orgName string) (v7action.Warnings, error) + CreateRoute func(spaceGUID, domainName, hostname, path string, port int) (resources.Route, v7action.Warnings, error) + CreateRouteBinding func(params v7action.CreateRouteBindingParams) (chan v7action.PollJobEvent, v7action.Warnings, error) + CreateSecurityGroup func(name, filePath string) (v7action.Warnings, error) + CreateServiceAppBinding func(params v7action.CreateServiceAppBindingParams) (chan v7action.PollJobEvent, v7action.Warnings, error) + CreateServiceBroker func(model resources.ServiceBroker) (v7action.Warnings, error) + CreateServiceKey func(params v7action.CreateServiceKeyParams) (chan v7action.PollJobEvent, v7action.Warnings, error) + CreateSharedDomain func(domainName string, internal bool, routerGroupName string) (v7action.Warnings, error) + CreateSpace func(spaceName, orgGUID string) (resources.Space, v7action.Warnings, error) + CreateSpaceQuota func(spaceQuotaName string, orgGuid string, limits v7action.QuotaLimits) (v7action.Warnings, error) + CreateSpaceRole func(roleType constant.RoleType, orgGUID string, spaceGUID string, ...) (v7action.Warnings, error) + CreateUser func(username string, password string, origin string) (resources.User, v7action.Warnings, error) + CreateUserProvidedServiceInstance func(instance resources.ServiceInstance) (v7action.Warnings, error) + DeleteApplicationByNameAndSpace func(name, spaceGUID string, deleteRoutes bool) (v7action.Warnings, error) + DeleteBuildpackByNameAndStack func(buildpackName string, buildpackStack string) (v7action.Warnings, error) + DeleteDomain func(domain resources.Domain) (v7action.Warnings, error) + DeleteInstanceByApplicationNameSpaceProcessTypeAndIndex func(appName string, spaceGUID string, processType string, instanceIndex int) (v7action.Warnings, error) + DeleteIsolationSegmentByName func(name string) (v7action.Warnings, error) + DeleteIsolationSegmentOrganizationByName func(isolationSegmentName string, orgName string) (v7action.Warnings, error) + DeleteOrgRole func(roleType constant.RoleType, orgGUID string, userNameOrGUID string, ...) (v7action.Warnings, error) + DeleteOrganization func(orgName string) (v7action.Warnings, error) + DeleteOrganizationQuota func(quotaName string) (v7action.Warnings, error) + DeleteOrphanedRoutes func(spaceGUID string) (v7action.Warnings, error) + DeleteRoute func(domainName, hostname, path string, port int) (v7action.Warnings, error) + DeleteRouteBinding func(params v7action.DeleteRouteBindingParams) (chan v7action.PollJobEvent, v7action.Warnings, error) + DeleteSecurityGroup func(securityGroupName string) (v7action.Warnings, error) + DeleteServiceAppBinding func(params v7action.DeleteServiceAppBindingParams) (chan v7action.PollJobEvent, v7action.Warnings, error) + DeleteServiceBroker func(serviceBrokerGUID string) (v7action.Warnings, error) + DeleteServiceInstance func(serviceInstanceName, spaceGUID string) (chan v7action.PollJobEvent, v7action.Warnings, error) + DeleteServiceKeyByServiceInstanceAndName func(serviceInstanceName, serviceKeyName, spaceGUID string) (chan v7action.PollJobEvent, v7action.Warnings, error) + DeleteSpaceByNameAndOrganizationName func(spaceName string, orgName string) (v7action.Warnings, error) + DeleteSpaceQuotaByName func(quotaName string, orgGUID string) (v7action.Warnings, error) + DeleteSpaceRole func(roleType constant.RoleType, spaceGUID string, userNameOrGUID string, ...) (v7action.Warnings, error) + DeleteUser func(userGuid string) (v7action.Warnings, error) + DiffSpaceManifest func(spaceGUID string, rawManifest []byte) (resources.ManifestDiff, v7action.Warnings, error) + DisableFeatureFlag func(flagName string) (v7action.Warnings, error) + DisableServiceAccess func(offeringName, brokerName, orgName, planName string) (v7action.SkippedPlans, v7action.Warnings, error) + DownloadCurrentDropletByAppName func(appName string, spaceGUID string) ([]byte, string, v7action.Warnings, error) + DownloadDropletByGUIDAndAppName func(dropletGUID string, appName string, spaceGUID string) ([]byte, v7action.Warnings, error) + EnableFeatureFlag func(flagName string) (v7action.Warnings, error) + EnableServiceAccess func(offeringName, brokerName, orgName, planName string) (v7action.SkippedPlans, v7action.Warnings, error) + EntitleIsolationSegmentToOrganizationByName func(isolationSegmentName string, orgName string) (v7action.Warnings, error) + GetAppFeature func(appGUID string, featureName string) (resources.ApplicationFeature, v7action.Warnings, error) + GetAppSummariesForSpace func(spaceGUID string, labels string) ([]v7action.ApplicationSummary, v7action.Warnings, error) + GetApplicationByNameAndSpace func(appName string, spaceGUID string) (resources.Application, v7action.Warnings, error) + GetApplicationDroplets func(appName string, spaceGUID string) ([]resources.Droplet, v7action.Warnings, error) + GetApplicationLabels func(appName string, spaceGUID string) (map[string]types.NullString, v7action.Warnings, error) + GetApplicationMapForRoute func(route resources.Route) (map[string]resources.Application, v7action.Warnings, error) + GetApplicationPackages func(appName string, spaceGUID string) ([]resources.Package, v7action.Warnings, error) + GetApplicationProcessHealthChecksByNameAndSpace func(appName string, spaceGUID string) ([]v7action.ProcessHealthCheck, v7action.Warnings, error) + GetApplicationRevisionsDeployed func(appGUID string) ([]resources.Revision, v7action.Warnings, error) + GetApplicationRoutes func(appGUID string) ([]resources.Route, v7action.Warnings, error) + GetApplicationTasks func(appName string, sortOrder v7action.SortOrder) ([]resources.Task, v7action.Warnings, error) + GetApplicationsByNamesAndSpace func(appNames []string, spaceGUID string) ([]resources.Application, v7action.Warnings, error) + GetBuildpackLabels func(buildpackName string, buildpackStack string) (map[string]types.NullString, v7action.Warnings, error) + GetBuildpacks func(labelSelector string) ([]resources.Buildpack, v7action.Warnings, error) + GetCurrentUser func() (configv3.User, error) + GetDefaultDomain func(orgGUID string) (resources.Domain, v7action.Warnings, error) + GetDetailedAppSummary func(appName string, spaceGUID string, withObfuscatedValues bool) (v7action.DetailedApplicationSummary, v7action.Warnings, error) + GetDomain func(domainGUID string) (resources.Domain, v7action.Warnings, error) + GetDomainByName func(domainName string) (resources.Domain, v7action.Warnings, error) + GetDomainLabels func(domainName string) (map[string]types.NullString, v7action.Warnings, error) + GetEffectiveIsolationSegmentBySpace func(spaceGUID string, orgDefaultIsolationSegmentGUID string) (resources.IsolationSegment, v7action.Warnings, error) + GetEnvironmentVariableGroup func(group constant.EnvironmentVariableGroupName) (v7action.EnvironmentVariableGroup, v7action.Warnings, error) + GetEnvironmentVariablesByApplicationNameAndSpace func(appName string, spaceGUID string) (v7action.EnvironmentVariableGroups, v7action.Warnings, error) + GetFeatureFlagByName func(featureFlagName string) (resources.FeatureFlag, v7action.Warnings, error) + GetFeatureFlags func() ([]resources.FeatureFlag, v7action.Warnings, error) + GetGlobalRunningSecurityGroups func() ([]resources.SecurityGroup, v7action.Warnings, error) + GetGlobalStagingSecurityGroups func() ([]resources.SecurityGroup, v7action.Warnings, error) + GetIsolationSegmentByName func(isoSegmentName string) (resources.IsolationSegment, v7action.Warnings, error) + GetIsolationSegmentSummaries func() ([]v7action.IsolationSegmentSummary, v7action.Warnings, error) + GetIsolationSegmentsByOrganization func(orgName string) ([]resources.IsolationSegment, v7action.Warnings, error) + GetLatestActiveDeploymentForApp func(appGUID string) (resources.Deployment, v7action.Warnings, error) + GetLoginPrompts func() (map[string]coreconfig.AuthPrompt, error) + GetNewestReadyPackageForApplication func(app resources.Application) (resources.Package, v7action.Warnings, error) + GetOrgUsersByRoleType func(orgGUID string) (map[constant.RoleType][]resources.User, v7action.Warnings, error) + GetOrganizationByName func(orgName string) (resources.Organization, v7action.Warnings, error) + GetOrganizationDomains func(string, string) ([]resources.Domain, v7action.Warnings, error) + GetOrganizationLabels func(orgName string) (map[string]types.NullString, v7action.Warnings, error) + GetOrganizationQuotaByName func(orgQuotaName string) (resources.OrganizationQuota, v7action.Warnings, error) + GetOrganizationQuotas func() ([]resources.OrganizationQuota, v7action.Warnings, error) + GetOrganizationSpaces func(orgGUID string) ([]resources.Space, v7action.Warnings, error) + GetOrganizationSpacesWithLabelSelector func(orgGUID string, labelSelector string) ([]resources.Space, v7action.Warnings, error) + GetOrganizationSummaryByName func(orgName string) (v7action.OrganizationSummary, v7action.Warnings, error) + GetOrganizations func(labelSelector string) ([]resources.Organization, v7action.Warnings, error) + GetProcessByTypeAndApplication func(processType string, appGUID string) (resources.Process, v7action.Warnings, error) + GetRawApplicationManifestByNameAndSpace func(appName string, spaceGUID string) ([]byte, v7action.Warnings, error) + GetRecentEventsByApplicationNameAndSpace func(appName string, spaceGUID string) ([]v7action.Event, v7action.Warnings, error) + GetRecentLogsForApplicationByNameAndSpace func(appName string, spaceGUID string, client sharedaction.LogCacheClient) ([]sharedaction.LogMessage, v7action.Warnings, error) + GetRevisionByApplicationAndVersion func(appGUID string, revisionVersion int) (resources.Revision, v7action.Warnings, error) + GetRevisionsByApplicationNameAndSpace func(appName string, spaceGUID string) ([]resources.Revision, v7action.Warnings, error) + GetRootResponse func() (v7action.Info, v7action.Warnings, error) + GetRouteByAttributes func(domain resources.Domain, hostname string, path string, port int) (resources.Route, v7action.Warnings, error) + GetRouteDestinationByAppGUID func(route resources.Route, appGUID string) (resources.RouteDestination, error) + GetRouteLabels func(routeName string, spaceGUID string) (map[string]types.NullString, v7action.Warnings, error) + GetRouteSummaries func([]resources.Route) ([]v7action.RouteSummary, v7action.Warnings, error) + GetRouterGroups func() ([]v7action.RouterGroup, error) + GetRoutesByOrg func(orgGUID string, labels string) ([]resources.Route, v7action.Warnings, error) + GetRoutesBySpace func(spaceGUID string, labels string) ([]resources.Route, v7action.Warnings, error) + GetSSHEnabled func(appGUID string) (ccv3.SSHEnabled, v7action.Warnings, error) + GetSSHEnabledByAppName func(appName string, spaceGUID string) (ccv3.SSHEnabled, v7action.Warnings, error) + GetSSHPasscode func() (string, error) + GetSecureShellConfigurationByApplicationNameSpaceProcessTypeAndIndex func(appName string, spaceGUID string, processType string, processIndex uint) (v7action.SSHAuthentication, v7action.Warnings, error) + GetSecurityGroup func(securityGroupName string) (resources.SecurityGroup, v7action.Warnings, error) + GetSecurityGroupSummary func(securityGroupName string) (v7action.SecurityGroupSummary, v7action.Warnings, error) + GetSecurityGroups func() ([]v7action.SecurityGroupSummary, v7action.Warnings, error) + GetServiceAccess func(offeringName, brokerName, orgName string) ([]v7action.ServicePlanAccess, v7action.Warnings, error) + GetServiceBrokerByName func(serviceBrokerName string) (resources.ServiceBroker, v7action.Warnings, error) + GetServiceBrokerLabels func(serviceBrokerName string) (map[string]types.NullString, v7action.Warnings, error) + GetServiceBrokers func() ([]resources.ServiceBroker, v7action.Warnings, error) + GetServiceInstanceByNameAndSpace func(serviceInstanceName, spaceGUID string) (resources.ServiceInstance, v7action.Warnings, error) + GetServiceInstanceDetails func(serviceInstanceName, spaceGUID string, omitApps bool) (v7action.ServiceInstanceDetails, v7action.Warnings, error) + GetServiceInstanceLabels func(serviceInstanceName, spaceGUID string) (map[string]types.NullString, v7action.Warnings, error) + GetServiceInstanceParameters func(serviceInstanceName, spaceGUID string) (v7action.ServiceInstanceParameters, v7action.Warnings, error) + GetServiceInstancesForSpace func(spaceGUID string, omitApps bool) ([]v7action.ServiceInstance, v7action.Warnings, error) + GetServiceKeyByServiceInstanceAndName func(serviceInstanceName, serviceKeyName, spaceGUID string) (resources.ServiceCredentialBinding, v7action.Warnings, error) + GetServiceKeyDetailsByServiceInstanceAndName func(serviceInstanceName, serviceKeyName, spaceGUID string) (resources.ServiceCredentialBindingDetails, v7action.Warnings, error) + GetServiceKeysByServiceInstance func(serviceInstanceName, spaceGUID string) ([]resources.ServiceCredentialBinding, v7action.Warnings, error) + GetServiceOfferingLabels func(serviceOfferingName, serviceBrokerName string) (map[string]types.NullString, v7action.Warnings, error) + GetServicePlanByNameOfferingAndBroker func(servicePlanName, serviceOfferingName, serviceBrokerName string) (resources.ServicePlan, v7action.Warnings, error) + GetServicePlanLabels func(servicePlanName, serviceOfferingName, serviceBrokerName string) (map[string]types.NullString, v7action.Warnings, error) + GetSpaceByNameAndOrganization func(spaceName string, orgGUID string) (resources.Space, v7action.Warnings, error) + GetSpaceFeature func(spaceName string, orgGUID string, feature string) (bool, v7action.Warnings, error) + GetSpaceLabels func(spaceName string, orgGUID string) (map[string]types.NullString, v7action.Warnings, error) + GetSpaceQuotaByName func(spaceQuotaName string, orgGUID string) (resources.SpaceQuota, v7action.Warnings, error) + GetSpaceQuotasByOrgGUID func(orgGUID string) ([]resources.SpaceQuota, v7action.Warnings, error) + GetSpaceSummaryByNameAndOrganization func(spaceName string, orgGUID string) (v7action.SpaceSummary, v7action.Warnings, error) + GetSpaceUsersByRoleType func(spaceGuid string) (map[constant.RoleType][]resources.User, v7action.Warnings, error) + GetStackByName func(stackName string) (resources.Stack, v7action.Warnings, error) + GetStackLabels func(stackName string) (map[string]types.NullString, v7action.Warnings, error) + GetStacks func(string) ([]resources.Stack, v7action.Warnings, error) + GetStreamingLogsForApplicationByNameAndSpace func(appName string, spaceGUID string, client sharedaction.LogCacheClient) (<-chan sharedaction.LogMessage, <-chan error, context.CancelFunc, ...) + GetTaskBySequenceIDAndApplication func(sequenceID int, appGUID string) (resources.Task, v7action.Warnings, error) + GetUAAAPIVersion func() (string, error) + GetUnstagedNewestPackageGUID func(appGuid string) (string, v7action.Warnings, error) + GetUser func(username, origin string) (resources.User, error) + MakeCurlRequest func(httpMethod string, path string, customHeaders []string, httpData string, ...) ([]byte, *http.Response, error) + MapRoute func(routeGUID string, appGUID string, destinationProtocol string) (v7action.Warnings, error) + Marketplace func(filter v7action.MarketplaceFilter) ([]v7action.ServiceOfferingWithPlans, v7action.Warnings, error) + ParseAccessToken func(accessToken string) (jwt.JWT, error) + PollBuild func(buildGUID string, appName string) (resources.Droplet, v7action.Warnings, error) + PollPackage func(pkg resources.Package) (resources.Package, v7action.Warnings, error) + PollStart func(app resources.Application, noWait bool, handleProcessStats func(string)) (v7action.Warnings, error) + PollStartForRolling func(app resources.Application, deploymentGUID string, noWait bool, ...) (v7action.Warnings, error) + PollUploadBuildpackJob func(jobURL ccv3.JobURL) (v7action.Warnings, error) + PrepareBuildpackBits func(inputPath string, tmpDirPath string, downloader v7action.Downloader) (string, error) + PurgeServiceInstance func(serviceInstanceName, spaceGUID string) (v7action.Warnings, error) + PurgeServiceOfferingByNameAndBroker func(serviceOfferingName, serviceBrokerName string) (v7action.Warnings, error) + RefreshAccessToken func() (string, error) + RenameApplicationByNameAndSpaceGUID func(oldAppName, newAppName, spaceGUID string) (resources.Application, v7action.Warnings, error) + RenameOrganization func(oldOrgName, newOrgName string) (resources.Organization, v7action.Warnings, error) + RenameServiceInstance func(currentServiceInstanceName, spaceGUID, newServiceInstanceName string) (v7action.Warnings, error) + RenameSpaceByNameAndOrganizationGUID func(oldSpaceName, newSpaceName, orgGUID string) (resources.Space, v7action.Warnings, error) + ResetOrganizationDefaultIsolationSegment func(orgGUID string) (v7action.Warnings, error) + ResetSpaceIsolationSegment func(orgGUID string, spaceGUID string) (string, v7action.Warnings, error) + ResourceMatch func(resources []sharedaction.V3Resource) ([]sharedaction.V3Resource, v7action.Warnings, error) + RestartApplication func(appGUID string, noWait bool) (v7action.Warnings, error) + RevokeAccessAndRefreshTokens func() error + RunTask func(appGUID string, task resources.Task) (resources.Task, v7action.Warnings, error) + ScaleProcessByApplication func(appGUID string, process resources.Process) (v7action.Warnings, error) + ScheduleTokenRefresh func(func(time.Duration) <-chan time.Time, chan struct{}, chan struct{}) (<-chan error, error) + SetApplicationDroplet func(appGUID string, dropletGUID string) (v7action.Warnings, error) + SetApplicationDropletByApplicationNameAndSpace func(appName string, spaceGUID string, dropletGUID string) (v7action.Warnings, error) + SetApplicationManifest func(appGUID string, rawManifest []byte) (v7action.Warnings, error) + SetApplicationProcessHealthCheckTypeByNameAndSpace func(appName string, spaceGUID string, healthCheckType constant.HealthCheckType, ...) (resources.Application, v7action.Warnings, error) + SetEnvironmentVariableByApplicationNameAndSpace func(appName string, spaceGUID string, envPair v7action.EnvironmentVariablePair) (v7action.Warnings, error) + SetEnvironmentVariableGroup func(group constant.EnvironmentVariableGroupName, ...) (v7action.Warnings, error) + SetOrganizationDefaultIsolationSegment func(orgGUID string, isoSegGUID string) (v7action.Warnings, error) + SetSpaceManifest func(spaceGUID string, rawManifest []byte) (v7action.Warnings, error) + SetTarget func(settings v7action.TargetSettings) (v7action.Warnings, error) + SharePrivateDomain func(domainName string, orgName string) (v7action.Warnings, error) + ShareRoute func(routeGUID string, spaceGUID string) (v7action.Warnings, error) + ShareServiceInstanceToSpaceAndOrg func(serviceInstanceName, targetedSpaceGUID, targetedOrgGUID string, ...) (v7action.Warnings, error) + StageApplicationPackage func(pkgGUID string) (resources.Build, v7action.Warnings, error) + StagePackage func(packageGUID, appName, spaceGUID string) (<-chan resources.Droplet, <-chan v7action.Warnings, <-chan error) + StartApplication func(appGUID string) (v7action.Warnings, error) + StopApplication func(appGUID string) (v7action.Warnings, error) + TerminateTask func(taskGUID string) (resources.Task, v7action.Warnings, error) + UnbindSecurityGroup func(securityGroupName string, orgGUID string, spaceGUID string, ...) (v7action.Warnings, error) + UnmapRoute func(routeGUID string, destinationGUID string) (v7action.Warnings, error) + UnsetEnvironmentVariableByApplicationNameAndSpace func(appName string, spaceGUID string, EnvironmentVariableName string) (v7action.Warnings, error) + UnsetSpaceQuota func(spaceQuotaName, spaceName, orgGUID string) (v7action.Warnings, error) + UnsharePrivateDomain func(domainName string, orgName string) (v7action.Warnings, error) + UnshareServiceInstanceFromSpaceAndOrg func(serviceInstanceName, targetedSpaceGUID, targetedOrgGUID string, ...) (v7action.Warnings, error) + UpdateAppFeature func(app resources.Application, enabled bool, featureName string) (v7action.Warnings, error) + UpdateApplication func(app resources.Application) (resources.Application, v7action.Warnings, error) + UpdateApplicationLabelsByApplicationName func(string, string, map[string]types.NullString) (v7action.Warnings, error) + UpdateBuildpackByNameAndStack func(buildpackName string, buildpackStack string, buildpack resources.Buildpack) (resources.Buildpack, v7action.Warnings, error) + UpdateBuildpackLabelsByBuildpackNameAndStack func(string, string, map[string]types.NullString) (v7action.Warnings, error) + UpdateDestination func(string, string, string) (v7action.Warnings, error) + UpdateDomainLabelsByDomainName func(string, map[string]types.NullString) (v7action.Warnings, error) + UpdateManagedServiceInstance func(params v7action.UpdateManagedServiceInstanceParams) (chan v7action.PollJobEvent, v7action.Warnings, error) + UpdateOrganizationLabelsByOrganizationName func(string, map[string]types.NullString) (v7action.Warnings, error) + UpdateOrganizationQuota func(quotaName string, newName string, limits v7action.QuotaLimits) (v7action.Warnings, error) + UpdateProcessByTypeAndApplication func(processType string, appGUID string, updatedProcess resources.Process) (v7action.Warnings, error) + UpdateRouteLabels func(string, string, map[string]types.NullString) (v7action.Warnings, error) + UpdateSecurityGroup func(name, filePath string) (v7action.Warnings, error) + UpdateSecurityGroupGloballyEnabled func(securityGroupName string, lifecycle constant.SecurityGroupLifecycle, ...) (v7action.Warnings, error) + UpdateServiceBroker func(serviceBrokerGUID string, model resources.ServiceBroker) (v7action.Warnings, error) + UpdateServiceBrokerLabelsByServiceBrokerName func(string, map[string]types.NullString) (v7action.Warnings, error) + UpdateServiceInstanceLabels func(serviceInstanceName, spaceGUID string, labels map[string]types.NullString) (v7action.Warnings, error) + UpdateServiceOfferingLabels func(serviceOfferingName string, serviceBrokerName string, ...) (v7action.Warnings, error) + UpdateServicePlanLabels func(servicePlanName string, serviceOfferingName string, serviceBrokerName string, ...) (v7action.Warnings, error) + UpdateSpaceFeature func(spaceName string, orgGUID string, enableds bool, feature string) (v7action.Warnings, error) + UpdateSpaceLabelsBySpaceName func(string, string, map[string]types.NullString) (v7action.Warnings, error) + UpdateSpaceQuota func(quotaName, orgGUID, newName string, limits v7action.QuotaLimits) (v7action.Warnings, error) + UpdateStackLabelsByStackName func(string, map[string]types.NullString) (v7action.Warnings, error) + UpdateUserPassword func(userGUID string, oldPassword string, newPassword string) error + UpdateUserProvidedServiceInstance func(serviceInstanceName, spaceGUID string, ...) (v7action.Warnings, error) + UpgradeManagedServiceInstance func(serviceInstanceName, spaceGUID string) (v7action.Warnings, error) + UploadBitsPackage func(pkg resources.Package, matchedResources []sharedaction.V3Resource, ...) (resources.Package, v7action.Warnings, error) + UploadBuildpack func(guid string, pathToBuildpackBits string, ...) (ccv3.JobURL, v7action.Warnings, error) + UploadDroplet func(dropletGUID string, dropletPath string, progressReader io.Reader, ...) (v7action.Warnings, error) + type ActorReloader interface + Reload func(command.Config, command.UI) (Actor, error) + type ActualActorReloader struct + func (a ActualActorReloader) Reload(config command.Config, ui command.UI) (Actor, error) + type AddNetworkPolicyCommand struct + DestinationOrg string + DestinationSpace string + NetworkingActor NetworkingActor + Port flag.NetworkPort + Protocol flag.NetworkProtocol + RequiredArgs flag.AddNetworkPolicyArgsV7 + func (cmd *AddNetworkPolicyCommand) Setup(config command.Config, ui command.UI) error + func (cmd AddNetworkPolicyCommand) Execute(args []string) error + type AllowSpaceSSHCommand struct + RequiredArgs flag.Space + func (cmd *AllowSpaceSSHCommand) Execute(args []string) error + type AppCommand struct + GUID bool + RequiredArgs flag.AppName + func (cmd AppCommand) Execute(args []string) error + type ApplyManifestCommand struct + CWD string + DiffDisplayer DiffDisplayer + ManifestLocator ManifestLocator + ManifestParser ManifestParser + PathToManifest flag.ManifestPathWithExistenceCheck + PathsToVarsFiles []flag.PathWithExistenceCheck + Vars []template.VarKV + func (cmd *ApplyManifestCommand) Setup(config command.Config, ui command.UI) error + func (cmd ApplyManifestCommand) Execute(args []string) error + type AppsCommand struct + Labels string + func (cmd AppsCommand) Execute(args []string) error + type AuthCommand struct + ClientCredentials bool + Origin string + RequiredArgs flag.Authentication + func (cmd AuthCommand) Execute(args []string) error + type BaseCommand struct + Actor Actor + Config command.Config + SharedActor command.SharedActor + UI command.UI + func (cmd *BaseCommand) GetClients() (*ccv3.Client, *uaa.Client) + func (cmd *BaseCommand) Setup(config command.Config, ui command.UI) error + type BindRouteServiceCommand struct + Hostname string + Parameters flag.JSONOrFileWithValidation + Path flag.V7RoutePath + RequiredArgs flag.RouteServiceArgs + Wait bool + func (cmd BindRouteServiceCommand) Examples() string + func (cmd BindRouteServiceCommand) Execute(args []string) error + func (cmd BindRouteServiceCommand) Usage() string + type BindRunningSecurityGroupCommand struct + SecurityGroup flag.SecurityGroup + func (cmd BindRunningSecurityGroupCommand) Execute(args []string) error + type BindSecurityGroupCommand struct + Lifecycle flag.SecurityGroupLifecycle + RequiredArgs flag.BindSecurityGroupV7Args + Space string + func (cmd BindSecurityGroupCommand) Execute(args []string) error + type BindServiceCommand struct + BindingName flag.BindingName + ParametersAsJSON flag.JSONOrFileWithValidation + RequiredArgs flag.BindServiceArgs + Wait bool + func (cmd BindServiceCommand) Examples() string + func (cmd BindServiceCommand) Execute(args []string) error + func (cmd BindServiceCommand) Usage() string + type BindStagingSecurityGroupCommand struct + SecurityGroup flag.SecurityGroup + func (cmd BindStagingSecurityGroupCommand) Execute(args []string) error + type BuildpacksCommand struct + Labels string + func (cmd BuildpacksCommand) Execute(args []string) error + type CancelDeploymentCommand struct + RequiredArgs flag.AppName + func (cmd *CancelDeploymentCommand) Execute(args []string) error + type CheckRouteCommand struct + Hostname string + Path flag.V7RoutePath + Port int + RequiredArgs flag.Domain + func (cmd CheckRouteCommand) Examples() string + func (cmd CheckRouteCommand) Execute(args []string) error + func (cmd CheckRouteCommand) Usage() string + type ConfigCommand struct + AsyncTimeout flag.Timeout + Color flag.Color + Config command.Config + Locale flag.Locale + Trace flag.PathWithBool + UI command.UI + func (cmd *ConfigCommand) Setup(config command.Config, ui command.UI) error + func (cmd ConfigCommand) Execute(args []string) error + type CopySourceCommand struct + NoRestart bool + NoWait bool + Organization string + RequiredArgs flag.CopySourceArgs + Space string + Stager shared.AppStager + Strategy flag.DeploymentStrategy + func (cmd *CopySourceCommand) Setup(config command.Config, ui command.UI) error + func (cmd *CopySourceCommand) ValidateFlags() error + func (cmd CopySourceCommand) Execute(args []string) error + type CreateAppCommand struct + AppType flag.AppType + RequiredArgs flag.AppName + func (cmd CreateAppCommand) Execute(args []string) error + type CreateAppManifestCommand struct + FilePath flag.Path + PWD string + RequiredArgs flag.AppName + func (cmd *CreateAppManifestCommand) Setup(config command.Config, ui command.UI) error + func (cmd CreateAppManifestCommand) Execute(args []string) error + type CreateBuildpackCommand struct + Disable bool + ProgressBar v7action.SimpleProgressBar + RequiredArgs flag.CreateBuildpackArgs + func (cmd *CreateBuildpackCommand) Setup(config command.Config, ui command.UI) error + func (cmd CreateBuildpackCommand) Execute(args []string) error + type CreateIsolationSegmentCommand struct + RequiredArgs flag.IsolationSegmentName + func (cmd CreateIsolationSegmentCommand) Execute(args []string) error + type CreateOrgCommand struct + Quota string + RequiredArgs flag.Organization + func (cmd CreateOrgCommand) Execute(args []string) error + type CreateOrgQuotaCommand struct + NumAppInstances flag.IntegerLimit + PaidServicePlans bool + PerProcessMemory flag.MemoryWithUnlimited + RequiredArgs flag.OrganizationQuota + TotalMemory flag.MemoryWithUnlimited + TotalReservedPorts flag.IntegerLimit + TotalRoutes flag.IntegerLimit + TotalServiceInstances flag.IntegerLimit + func (cmd CreateOrgQuotaCommand) Execute(args []string) error + type CreatePackageCommand struct + AppPath flag.PathWithExistenceCheck + DockerImage flag.DockerImage + PackageDisplayer shared.PackageDisplayer + RequiredArgs flag.AppName + func (cmd *CreatePackageCommand) Setup(config command.Config, ui command.UI) error + func (cmd CreatePackageCommand) Execute(args []string) error + type CreatePrivateDomainCommand struct + RequiredArgs flag.OrgDomain + func (cmd CreatePrivateDomainCommand) Execute(args []string) error + type CreateRouteCommand struct + Hostname string + Path flag.V7RoutePath + Port int + RequiredArgs flag.Domain + func (cmd CreateRouteCommand) Execute(args []string) error + type CreateSecurityGroupCommand struct + RequiredArgs flag.SecurityGroupArgs + func (cmd CreateSecurityGroupCommand) Execute(args []string) error + type CreateServiceBrokerCommand struct + RequiredArgs flag.ServiceBrokerArgs + SpaceScoped bool + func (cmd *CreateServiceBrokerCommand) Execute(args []string) error + type CreateServiceCommand struct + ParametersAsJSON flag.JSONOrFileWithValidation + RequiredArgs flag.CreateServiceArgs + ServiceBroker string + Tags flag.Tags + Wait bool + func (cmd CreateServiceCommand) Execute(args []string) error + func (cmd CreateServiceCommand) Usage() string + type CreateServiceKeyCommand struct + ParametersAsJSON flag.JSONOrFileWithValidation + RequiredArgs flag.ServiceInstanceKey + Wait bool + func (cmd CreateServiceKeyCommand) Examples() string + func (cmd CreateServiceKeyCommand) Execute(args []string) error + func (cmd CreateServiceKeyCommand) Usage() string + type CreateSharedDomainCommand struct + Internal bool + RequiredArgs flag.Domain + RouterGroup string + func (cmd CreateSharedDomainCommand) Execute(args []string) error + type CreateSpaceActor interface + ApplySpaceQuotaByName func(quotaName string, spaceGUID string, orgGUID string) (v7action.Warnings, error) + CreateSpace func(spaceName, orgGUID string) (resources.Space, v7action.Warnings, error) + CreateSpaceRole func(roleType constant.RoleType, orgGUID string, spaceGUID string, ...) (v7action.Warnings, error) + GetOrganizationByName func(orgName string) (resources.Organization, v7action.Warnings, error) + type CreateSpaceCommand struct + Organization string + Quota string + RequiredArgs flag.Space + func (cmd CreateSpaceCommand) Execute(args []string) error + type CreateSpaceQuotaCommand struct + NumAppInstances flag.IntegerLimit + PaidServicePlans bool + PerProcessMemory flag.MemoryWithUnlimited + RequiredArgs flag.SpaceQuota + TotalMemory flag.MemoryWithUnlimited + TotalReservedPorts flag.IntegerLimit + TotalRoutes flag.IntegerLimit + TotalServiceInstances flag.IntegerLimit + func (cmd CreateSpaceQuotaCommand) Execute([]string) error + type CreateUserCommand struct + Args flag.CreateUser + Origin string + PasswordPrompt bool + func (cmd *CreateUserCommand) Execute(args []string) error + type CreateUserProvidedServiceCommand struct + Credentials flag.CredentialsOrJSON + RequiredArgs flag.ServiceInstance + RouteServiceURL flag.OptionalString + SyslogDrainURL flag.OptionalString + Tags flag.Tags + func (cmd CreateUserProvidedServiceCommand) Execute(args []string) error + type CurlCommand struct + CustomHeaders []string + FailOnHTTPError bool + HTTPData flag.PathWithAt + HTTPMethod string + IncludeReponseHeaders bool + OutputFile flag.Path + RequiredArgs flag.APIPath + func (cmd CurlCommand) Execute(args []string) error + type DeleteBuildpackCommand struct + Force bool + RequiredArgs flag.BuildpackName + Stack string + func (cmd DeleteBuildpackCommand) Execute(args []string) error + type DeleteCommand struct + DeleteMappedRoutes bool + Force bool + RequiredArgs flag.AppName + func (cmd DeleteCommand) Execute(args []string) error + type DeleteIsolationSegmentCommand struct + Force bool + RequiredArgs flag.IsolationSegmentName + func (cmd DeleteIsolationSegmentCommand) Execute(args []string) error + type DeleteOrgCommand struct + Force bool + RequiredArgs flag.Organization + func (cmd *DeleteOrgCommand) Execute(args []string) error + type DeleteOrgQuotaCommand struct + Force bool + RequiredArgs flag.Quota + func (cmd DeleteOrgQuotaCommand) Execute(args []string) error + type DeleteOrphanedRoutesCommand struct + Force bool + func (cmd DeleteOrphanedRoutesCommand) Execute(args []string) error + type DeletePrivateDomainCommand struct + Force bool + RequiredArgs flag.Domain + func (cmd DeletePrivateDomainCommand) Execute(args []string) error + type DeleteRouteCommand struct + Force bool + Hostname string + Path flag.V7RoutePath + Port int + RequiredArgs flag.Domain + func (cmd DeleteRouteCommand) Examples() string + func (cmd DeleteRouteCommand) Execute(args []string) error + func (cmd DeleteRouteCommand) Usage() string + type DeleteSecurityGroupCommand struct + Force bool + RequiredArgs flag.SecurityGroup + func (cmd *DeleteSecurityGroupCommand) Execute(args []string) error + type DeleteServiceBrokerCommand struct + Force bool + RequiredArgs flag.ServiceBroker + func (cmd DeleteServiceBrokerCommand) Execute(args []string) error + type DeleteServiceCommand struct + Force bool + RequiredArgs flag.ServiceInstance + Wait bool + func (cmd DeleteServiceCommand) Execute(args []string) error + func (cmd DeleteServiceCommand) Usage() string + type DeleteServiceKeyCommand struct + Force bool + RequiredArgs flag.ServiceInstanceKey + Wait bool + func (cmd DeleteServiceKeyCommand) Examples() string + func (cmd DeleteServiceKeyCommand) Execute(args []string) error + func (cmd DeleteServiceKeyCommand) Usage() string + type DeleteSharedDomainCommand struct + Force bool + RequiredArgs flag.Domain + func (cmd DeleteSharedDomainCommand) Execute(args []string) error + type DeleteSpaceCommand struct + Force bool + Org string + RequiredArgs flag.Space + func (cmd DeleteSpaceCommand) Execute(args []string) error + type DeleteSpaceQuotaCommand struct + Force bool + RequiredArgs flag.Quota + func (cmd DeleteSpaceQuotaCommand) Execute(args []string) error + type DeleteUserCommand struct + Force bool + Origin string + RequiredArgs flag.Username + func (cmd *DeleteUserCommand) Execute(args []string) error + type DiffDisplayer interface + DisplayDiff func(rawManifest []byte, diff resources.ManifestDiff) error + type DisableFeatureFlagCommand struct + RequiredArgs flag.Feature + func (cmd DisableFeatureFlagCommand) Execute(args []string) error + type DisableOrgIsolationCommand struct + RequiredArgs flag.OrgIsolationArgs + func (cmd DisableOrgIsolationCommand) Execute(args []string) error + type DisableSSHCommand struct + RequiredArgs flag.AppName + func (cmd *DisableSSHCommand) Execute(args []string) error + type DisableServiceAccessCommand struct + Organization string + RequiredArgs flag.ServiceOffering + ServiceBroker string + ServicePlan string + func (cmd DisableServiceAccessCommand) Execute(args []string) error + type DisallowSpaceSSHCommand struct + RequiredArgs flag.Space + func (cmd *DisallowSpaceSSHCommand) Execute(args []string) error + type DomainsCommand struct + Labels string + func (cmd DomainsCommand) Execute(args []string) error + type DownloadDropletCommand struct + Droplet string + Path string + RequiredArgs flag.AppName + func (cmd DownloadDropletCommand) Execute(args []string) error + type DropletsCommand struct + RequiredArgs flag.AppName + func (cmd DropletsCommand) Execute(args []string) error + type EnableFeatureFlagCommand struct + RequiredArgs flag.Feature + func (cmd EnableFeatureFlagCommand) Execute(args []string) error + type EnableOrgIsolationCommand struct + RequiredArgs flag.OrgIsolationArgs + func (cmd EnableOrgIsolationCommand) Execute(args []string) error + type EnableSSHCommand struct + RequiredArgs flag.AppName + func (cmd *EnableSSHCommand) Execute(args []string) error + type EnableServiceAccessCommand struct + Organization string + RequiredArgs flag.ServiceOffering + ServiceBroker string + ServicePlan string + func (cmd EnableServiceAccessCommand) Execute(args []string) error + type EnvCommand struct + RequiredArgs flag.EnvironmentArgs + func (cmd EnvCommand) Execute(_ []string) error + type EventsCommand struct + RequiredArgs flag.AppName + func (cmd EventsCommand) Execute(_ []string) error + type FeatureFlagCommand struct + RequiredArgs flag.Feature + func (cmd FeatureFlagCommand) Execute(args []string) error + type FeatureFlagsCommand struct + func (cmd FeatureFlagsCommand) Execute(args []string) error + type GetHealthCheckCommand struct + RequiredArgs flag.AppName + func (cmd GetHealthCheckCommand) DisplayProcessTable(processHealthChecks []v7action.ProcessHealthCheck) error + func (cmd GetHealthCheckCommand) Execute(args []string) error + type IsolationSegmentsCommand struct + func (cmd IsolationSegmentsCommand) Execute(args []string) error + type LabelSetter interface + Execute func(resource TargetResource, labels map[string]types.NullString) error + type LabelUnsetter interface + Execute func(resource TargetResource, labels map[string]types.NullString) error + type LabelUpdater struct + Action ActionType + Actor SetLabelActor + Config command.Config + SharedActor command.SharedActor + UI command.UI + Username string + func (cmd *LabelUpdater) Execute(targetResource TargetResource, labels map[string]types.NullString) error + type LabelsCommand struct + BuildpackStack string + RequiredArgs flag.LabelsArgs + ServiceBroker string + ServiceOffering string + func (cmd LabelsCommand) Examples() string + func (cmd LabelsCommand) Execute(args []string) error + func (cmd LabelsCommand) Resources() string + func (cmd LabelsCommand) Usage() string + type LoginCommand struct + APIEndpoint string + Actor Actor + ActorReloader ActorReloader + Config command.Config + Organization string + Origin string + Password string + SSO bool + SSOPasscode string + SkipSSLValidation bool + Space string + UI command.UI + Username string + func (cmd *LoginCommand) Execute(args []string) error + func (cmd *LoginCommand) Setup(config command.Config, ui command.UI) error + type LogoutCommand struct + func (cmd *LogoutCommand) Setup(config command.Config, ui command.UI) error + func (cmd LogoutCommand) Execute(args []string) error + type LogsCommand struct + LogCacheClient sharedaction.LogCacheClient + Recent bool + RequiredArgs flag.AppName + func (cmd *LogsCommand) Setup(config command.Config, ui command.UI) error + func (cmd LogsCommand) Execute(args []string) error + type ManifestLocator interface + Path func(filepathOrDirectory string) (string, bool, error) + type ManifestParser interface + InterpolateManifest func(pathToManifest string, pathsToVarsFiles []string, vars []template.VarKV) ([]byte, error) + MarshalManifest func(manifest manifestparser.Manifest) ([]byte, error) + ParseManifest func(pathToManifest string, rawManifest []byte) (manifestparser.Manifest, error) + type MapRouteCommand struct + AppProtocol string + Hostname string + Path flag.V7RoutePath + Port int + RequiredArgs flag.AppDomain + func (cmd MapRouteCommand) Examples() string + func (cmd MapRouteCommand) Execute(args []string) error + func (cmd MapRouteCommand) Usage() string + type MarketplaceCommand struct + NoPlans bool + ServiceBrokerName string + ServiceOfferingName string + ShowUnavailable bool + func (cmd MarketplaceCommand) Execute(args []string) error + type NetworkPoliciesActor interface + NetworkPoliciesBySpace func(spaceGUID string) ([]cfnetworkingaction.Policy, cfnetworkingaction.Warnings, error) + NetworkPoliciesBySpaceAndAppName func(spaceGUID string, srcAppName string) ([]cfnetworkingaction.Policy, cfnetworkingaction.Warnings, error) + type NetworkPoliciesCommand struct + NetworkingActor NetworkPoliciesActor + SourceApp string + func (cmd *NetworkPoliciesCommand) Setup(config command.Config, ui command.UI) error + func (cmd NetworkPoliciesCommand) Execute(args []string) error + type NetworkingActor interface + AddNetworkPolicy func(srcSpaceGUID string, srcAppName string, destSpaceGUID string, ...) (cfnetworkingaction.Warnings, error) + type OauthTokenCommand struct + func (cmd OauthTokenCommand) Execute(_ []string) error + type OrgCommand struct + GUID bool + RequiredArgs flag.Organization + func (cmd OrgCommand) Execute(args []string) error + type OrgQuotaCommand struct + RequiredArgs flag.OrganizationQuota + func (cmd OrgQuotaCommand) Execute(args []string) error + type OrgQuotasCommand struct + func (cmd OrgQuotasCommand) Execute(args []string) error + type OrgUsersCommand struct + AllUsers bool + RequiredArgs flag.Organization + func (cmd *OrgUsersCommand) Execute(args []string) error + type OrgsCommand struct + Labels string + func (cmd OrgsCommand) Execute(args []string) error + type PackagesCommand struct + RequiredArgs flag.AppName + func (cmd PackagesCommand) Execute(args []string) error + type PasswdCommand struct + func (cmd PasswdCommand) Execute(args []string) error + type ProgressBar interface + Complete func() + Ready func() + type PurgeServiceInstanceCommand struct + Force bool + RequiredArgs flag.ServiceInstance + func (cmd PurgeServiceInstanceCommand) Execute(args []string) error + func (cmd PurgeServiceInstanceCommand) Usage() string + type PurgeServiceOfferingCommand struct + Force bool + RequiredArgs flag.ServiceOffering + ServiceBroker string + func (cmd PurgeServiceOfferingCommand) Execute(args []string) error + type PushActor interface + Actualize func(plan v7pushaction.PushPlan, progressBar v7pushaction.ProgressBar) <-chan *v7pushaction.PushEvent + CreatePushPlans func(spaceGUID string, orgGUID string, manifest manifestparser.Manifest, ...) ([]v7pushaction.PushPlan, v7action.Warnings, error) + HandleFlagOverrides func(baseManifest manifestparser.Manifest, flagOverrides v7pushaction.FlagOverrides) (manifestparser.Manifest, error) + type PushCommand struct + AppPath flag.PathWithExistenceCheck + Buildpacks []string + CWD string + DiffDisplayer DiffDisplayer + Disk string + DockerImage flag.DockerImage + DockerUsername string + DropletPath flag.PathWithExistenceCheck + HealthCheckHTTPEndpoint string + HealthCheckTimeout flag.PositiveInteger + HealthCheckType flag.HealthCheckType + Instances flag.Instances + LogCacheClient sharedaction.LogCacheClient + ManifestLocator ManifestLocator + ManifestParser ManifestParser + Memory string + NoManifest bool + NoRoute bool + NoStart bool + NoWait bool + OptionalArgs flag.OptionalAppName + PathToManifest flag.ManifestPathWithExistenceCheck + PathsToVarsFiles []flag.PathWithExistenceCheck + ProgressBar ProgressBar + PushActor PushActor + RandomRoute bool + Stack string + StartCommand flag.Command + Strategy flag.DeploymentStrategy + Task bool + Vars []template.VarKV + VersionActor V7ActorForPush + func (cmd *PushCommand) Setup(config command.Config, ui command.UI) error + func (cmd PushCommand) Execute(args []string) error + func (cmd PushCommand) GetBaseManifest(flagOverrides v7pushaction.FlagOverrides) (manifestparser.Manifest, error) + func (cmd PushCommand) GetDockerPassword(dockerUsername string, containsPrivateDockerImages bool) (string, error) + func (cmd PushCommand) GetFlagOverrides() (v7pushaction.FlagOverrides, error) + func (cmd PushCommand) ValidateFlags() error + type RemoveNetworkPolicyActor interface + RemoveNetworkPolicy func(srcSpaceGUID string, srcAppName string, destSpaceGUID string, ...) (cfnetworkingaction.Warnings, error) + type RemoveNetworkPolicyCommand struct + DestinationOrg string + DestinationSpace string + NetworkingActor RemoveNetworkPolicyActor + Port flag.NetworkPort + Protocol flag.NetworkProtocol + RequiredArgs flag.RemoveNetworkPolicyArgsV7 + func (cmd *RemoveNetworkPolicyCommand) Setup(config command.Config, ui command.UI) error + func (cmd RemoveNetworkPolicyCommand) Execute(args []string) error + type RenameCommand struct + RequiredArgs flag.Rename + func (cmd RenameCommand) Execute(args []string) error + type RenameOrgCommand struct + RequiredArgs flag.RenameOrgArgs + func (cmd RenameOrgCommand) Execute(args []string) error + type RenameServiceBrokerCommand struct + RequiredArgs flag.RenameServiceBrokerArgs + func (cmd *RenameServiceBrokerCommand) Execute(args []string) error + type RenameServiceCommand struct + RequiredArgs flag.RenameServiceArgs + func (cmd RenameServiceCommand) Execute(args []string) error + func (cmd RenameServiceCommand) Usage() string + type RenameSpaceCommand struct + RequiredArgs flag.RenameSpace + func (cmd RenameSpaceCommand) Execute(args []string) error + type ResetOrgDefaultIsolationSegmentCommand struct + RequiredArgs flag.ResetOrgDefaultIsolationArgs + func (cmd ResetOrgDefaultIsolationSegmentCommand) Execute(args []string) error + type ResetSpaceIsolationSegmentCommand struct + RequiredArgs flag.ResetSpaceIsolationArgs + func (cmd ResetSpaceIsolationSegmentCommand) Execute(args []string) error + type ResourceType string + const App + const Buildpack + const Domain + const Org + const Route + const ServiceBroker + const ServiceInstance + const ServiceOffering + const ServicePlan + const Space + const Stack + type RestageCommand struct + NoWait bool + RequiredArgs flag.AppName + Stager shared.AppStager + Strategy flag.DeploymentStrategy + func (cmd *RestageCommand) Setup(config command.Config, ui command.UI) error + func (cmd RestageCommand) Execute(args []string) error + type RestartAppInstanceCommand struct + ProcessType string + RequiredArgs flag.AppInstance + func (cmd RestartAppInstanceCommand) Execute(args []string) error + type RestartCommand struct + NoWait bool + RequiredArgs flag.AppName + Stager shared.AppStager + Strategy flag.DeploymentStrategy + func (cmd *RestartCommand) Setup(config command.Config, ui command.UI) error + func (cmd RestartCommand) Execute(args []string) error + type RevisionCommand struct + RequiredArgs flag.AppName + Version flag.Revision + func (cmd RevisionCommand) Execute(_ []string) error + type RevisionsActor interface + GetRevisionsByApplicationNameAndSpace func(appName string, spaceGUID string) ([]resources.Revision, v7action.Warnings, error) + type RevisionsCommand struct + RequiredArgs flag.EnvironmentArgs + func (cmd RevisionsCommand) Execute(_ []string) error + type RollbackCommand struct + Force bool + LogCacheClient sharedaction.LogCacheClient + RequiredArgs flag.AppName + Stager shared.AppStager + Version flag.Revision + func (cmd *RollbackCommand) Setup(config command.Config, ui command.UI) error + func (cmd RollbackCommand) Execute(args []string) error + type RouteCommand struct + Hostname string + Path flag.V7RoutePath + Port int + RequiredArgs flag.Domain + func (cmd RouteCommand) Examples() string + func (cmd RouteCommand) Execute(args []string) error + func (cmd RouteCommand) Usage() string + type RouterGroupsCommand struct + func (cmd RouterGroupsCommand) Execute(args []string) error + type RoutesCommand struct + Labels string + Orglevel bool + func (cmd RoutesCommand) Execute(args []string) error + type RunTaskCommand struct + Command string + Disk flag.Megabytes + Memory flag.Megabytes + Name string + Process string + RequiredArgs flag.RunTaskArgsV7 + func (cmd RunTaskCommand) Execute(args []string) error + type RunningEnvironmentVariableGroupCommand struct + func (cmd RunningEnvironmentVariableGroupCommand) Execute(args []string) error + type RunningSecurityGroupsCommand struct + func (cmd RunningSecurityGroupsCommand) Execute(args []string) error + type SSHCodeCommand struct + func (cmd SSHCodeCommand) Execute(args []string) error + type SSHCommand struct + Commands []string + DisablePseudoTTY bool + ForcePseudoTTY bool + LocalPortForwardSpecs []flag.SSHPortForwarding + ProcessIndex uint + ProcessType string + RequestPseudoTTY bool + RequiredArgs flag.AppName + SSHActor SharedSSHActor + SSHClient *clissh.SecureShell + SkipHostValidation bool + SkipRemoteExecution bool + func (cmd *SSHCommand) Setup(config command.Config, ui command.UI) error + func (cmd SSHCommand) EvaluateTTYOption() (sharedaction.TTYOption, error) + func (cmd SSHCommand) Execute(args []string) error + type SSHEnabledCommand struct + RequiredArgs flag.AppName + func (cmd *SSHEnabledCommand) Execute(args []string) error + type ScaleCommand struct + DiskLimit flag.Megabytes + Force bool + Instances flag.Instances + MemoryLimit flag.Megabytes + ProcessType string + RequiredArgs flag.AppName + func (cmd ScaleCommand) Execute(args []string) error + type SecurityGroupCommand struct + RequiredArgs flag.SecurityGroup + func (cmd SecurityGroupCommand) Execute(args []string) error + type SecurityGroupsCommand struct + func (cmd SecurityGroupsCommand) Execute(args []string) error + type ServiceAccessCommand struct + Broker string + Organization string + ServiceOffering string + func (cmd ServiceAccessCommand) Execute(args []string) error + type ServiceBrokersCommand struct + func (cmd *ServiceBrokersCommand) Execute(args []string) error + type ServiceCommand struct + Params bool + RequiredArgs flag.ServiceInstance + ShowGUID bool + func (cmd ServiceCommand) Execute(args []string) error + type ServiceKeyCommand struct + GUID bool + RequiredArgs flag.ServiceInstanceKey + func (cmd ServiceKeyCommand) Examples() string + func (cmd ServiceKeyCommand) Execute(args []string) error + func (cmd ServiceKeyCommand) Usage() string + type ServiceKeysCommand struct + RequiredArgs flag.ServiceInstance + func (cmd ServiceKeysCommand) Examples() string + func (cmd ServiceKeysCommand) Execute(args []string) error + func (cmd ServiceKeysCommand) Usage() string + type ServicesCommand struct + OmitApps bool + func (cmd ServicesCommand) Execute(args []string) error + func (cmd ServicesCommand) Usage() string + type ServicesTable struct + func NewServicesTable(short bool, omitApps bool) *ServicesTable + func (t *ServicesTable) AppendRow(si v7action.ServiceInstance) + type SetDropletCommand struct + RequiredArgs flag.AppDroplet + func (cmd SetDropletCommand) Execute(args []string) error + type SetEnvCommand struct + RequiredArgs flag.SetEnvironmentArgs + func (cmd SetEnvCommand) Execute(args []string) error + type SetHealthCheckCommand struct + HTTPEndpoint string + InvocationTimeout flag.PositiveInteger + ProcessType string + RequiredArgs flag.SetHealthCheckArgs + func (cmd SetHealthCheckCommand) Execute(args []string) error + type SetLabelActor interface + GetCurrentUser func() (configv3.User, error) + UpdateApplicationLabelsByApplicationName func(string, string, map[string]types.NullString) (v7action.Warnings, error) + UpdateBuildpackLabelsByBuildpackNameAndStack func(string, string, map[string]types.NullString) (v7action.Warnings, error) + UpdateDomainLabelsByDomainName func(string, map[string]types.NullString) (v7action.Warnings, error) + UpdateOrganizationLabelsByOrganizationName func(string, map[string]types.NullString) (v7action.Warnings, error) + UpdateRouteLabels func(string, string, map[string]types.NullString) (v7action.Warnings, error) + UpdateServiceBrokerLabelsByServiceBrokerName func(string, map[string]types.NullString) (v7action.Warnings, error) + UpdateServiceInstanceLabels func(string, string, map[string]types.NullString) (v7action.Warnings, error) + UpdateServiceOfferingLabels func(serviceOfferingName string, serviceBrokerName string, ...) (v7action.Warnings, error) + UpdateServicePlanLabels func(servicePlanName string, serviceOfferingName string, serviceBrokerName string, ...) (v7action.Warnings, error) + UpdateSpaceLabelsBySpaceName func(string, string, map[string]types.NullString) (v7action.Warnings, error) + UpdateStackLabelsByStackName func(string, map[string]types.NullString) (v7action.Warnings, error) + type SetLabelCommand struct + BuildpackStack string + LabelSetter LabelSetter + RequiredArgs flag.SetLabelArgs + ServiceBroker string + ServiceOffering string + func (cmd *SetLabelCommand) Setup(config command.Config, ui command.UI) error + func (cmd SetLabelCommand) Examples() string + func (cmd SetLabelCommand) Execute(args []string) error + func (cmd SetLabelCommand) Resources() string + func (cmd SetLabelCommand) Usage() string + type SetOrgDefaultIsolationSegmentCommand struct + RequiredArgs flag.OrgIsolationArgs + func (cmd SetOrgDefaultIsolationSegmentCommand) Execute(args []string) error + type SetOrgQuotaCommand struct + RequiredArgs flag.SetOrgQuotaArgs + func (cmd *SetOrgQuotaCommand) Execute(args []string) error + type SetOrgRoleCommand struct + Args flag.OrgRoleArgs + IsClient bool + Origin string + func (cmd *SetOrgRoleCommand) Execute(args []string) error + type SetRunningEnvironmentVariableGroupCommand struct + RequiredArgs flag.SetEnvVarGroup + func (cmd SetRunningEnvironmentVariableGroupCommand) Execute(args []string) error + type SetSpaceIsolationSegmentCommand struct + RequiredArgs flag.SpaceIsolationArgs + func (cmd SetSpaceIsolationSegmentCommand) Execute(args []string) error + type SetSpaceQuotaCommand struct + RequiredArgs flag.SetSpaceQuotaArgs + func (cmd *SetSpaceQuotaCommand) Execute(args []string) error + type SetSpaceRoleCommand struct + Args flag.SpaceRoleArgs + IsClient bool + Origin string + func (cmd *SetSpaceRoleCommand) Execute(args []string) error + type SetStagingEnvironmentVariableGroupCommand struct + RequiredArgs flag.SetEnvVarGroup + func (cmd SetStagingEnvironmentVariableGroupCommand) Execute(args []string) error + type SharePrivateDomainCommand struct + RequiredArgs flag.OrgDomain + func (cmd SharePrivateDomainCommand) Execute(args []string) error + type ShareRouteCommand struct + DestinationOrg string + DestinationSpace string + Hostname string + Path flag.V7RoutePath + RequireArgs flag.Domain + func (cmd ShareRouteCommand) Examples() string + func (cmd ShareRouteCommand) Execute(args []string) error + func (cmd ShareRouteCommand) Usage() string + type ShareServiceCommand struct + OrgName flag.OptionalString + RequiredArgs flag.ServiceInstance + SpaceName string + func (cmd ShareServiceCommand) Execute(args []string) error + func (cmd ShareServiceCommand) Usage() string + type SharedSSHActor interface + ExecuteSecureShell func(sshClient sharedaction.SecureShellClient, sshOptions sharedaction.SSHOptions) error + type SpaceCommand struct + GUID bool + RequiredArgs flag.Space + SecurityGroupRules bool + func (cmd SpaceCommand) Execute(args []string) error + type SpaceQuotaCommand struct + RequiredArgs flag.SpaceQuota + func (cmd SpaceQuotaCommand) Execute(args []string) error + type SpaceQuotasCommand struct + func (cmd SpaceQuotasCommand) Execute(args []string) error + type SpaceSSHAllowedCommand struct + RequiredArgs flag.Space + func (cmd SpaceSSHAllowedCommand) Execute(args []string) error + type SpaceUsersCommand struct + RequiredArgs flag.SpaceUsersArgs + func (cmd *SpaceUsersCommand) Execute(args []string) error + type SpacesCommand struct + Labels string + func (cmd SpacesCommand) Execute([]string) error + type StackCommand struct + GUID bool + RequiredArgs flag.StackName + func (cmd *StackCommand) Execute(args []string) error + type StacksCommand struct + Labels string + func (cmd StacksCommand) Execute(args []string) error + type StagePackageCommand struct + LogCacheClient sharedaction.LogCacheClient + PackageGUID string + RequiredArgs flag.AppName + func (cmd *StagePackageCommand) Setup(config command.Config, ui command.UI) error + func (cmd StagePackageCommand) Execute(args []string) error + type StagingEnvironmentVariableGroupCommand struct + func (cmd StagingEnvironmentVariableGroupCommand) Execute(args []string) error + type StagingSecurityGroupsCommand struct + func (cmd StagingSecurityGroupsCommand) Execute(args []string) error + type StartCommand struct + LogCacheClient sharedaction.LogCacheClient + RequiredArgs flag.AppName + Stager shared.AppStager + func (cmd *StartCommand) Setup(config command.Config, ui command.UI) error + func (cmd StartCommand) Execute(args []string) error + type StopCommand struct + RequiredArgs flag.AppName + func (cmd StopCommand) Execute(args []string) error + type TargetCommand struct + Organization string + Space string + func (cmd *TargetCommand) Execute(args []string) error + type TargetResource struct + BuildpackStack string + ResourceName string + ResourceType string + ServiceBroker string + ServiceOffering string + type TasksCommand struct + RequiredArgs flag.AppName + func (cmd TasksCommand) Execute(args []string) error + type TerminateTaskCommand struct + RequiredArgs flag.TerminateTaskArgs + func (cmd TerminateTaskCommand) Execute(args []string) error + type UnbindRouteServiceCommand struct + Force bool + Hostname string + Path flag.V7RoutePath + RequiredArgs flag.RouteServiceArgs + Wait bool + func (UnbindRouteServiceCommand) Examples() string + func (UnbindRouteServiceCommand) Usage() string + func (cmd UnbindRouteServiceCommand) Execute(args []string) error + type UnbindRunningSecurityGroupCommand struct + RequiredArgs flag.SecurityGroup + func (cmd UnbindRunningSecurityGroupCommand) Execute(args []string) error + type UnbindSecurityGroupCommand struct + Lifecycle flag.SecurityGroupLifecycle + RequiredArgs flag.UnbindSecurityGroupV7Args + func (cmd UnbindSecurityGroupCommand) Execute(args []string) error + type UnbindServiceCommand struct + RequiredArgs flag.BindServiceArgs + Wait bool + func (cmd UnbindServiceCommand) Execute(args []string) error + func (cmd UnbindServiceCommand) Usage() string + type UnbindStagingSecurityGroupCommand struct + RequiredArgs flag.SecurityGroup + func (cmd UnbindStagingSecurityGroupCommand) Execute(args []string) error + type UnmapRouteCommand struct + Hostname string + Path flag.V7RoutePath + Port int + RequiredArgs flag.AppDomain + func (cmd UnmapRouteCommand) Examples() string + func (cmd UnmapRouteCommand) Execute(args []string) error + func (cmd UnmapRouteCommand) Usage() string + type UnsetEnvCommand struct + RequiredArgs flag.UnsetEnvironmentArgs + func (cmd UnsetEnvCommand) Execute(args []string) error + type UnsetLabelCommand struct + BuildpackStack string + LabelUnsetter LabelUnsetter + RequiredArgs flag.UnsetLabelArgs + ServiceBroker string + ServiceOffering string + func (cmd *UnsetLabelCommand) Setup(config command.Config, ui command.UI) error + func (cmd UnsetLabelCommand) Examples() string + func (cmd UnsetLabelCommand) Execute(args []string) error + func (cmd UnsetLabelCommand) Resources() string + func (cmd UnsetLabelCommand) Usage() string + type UnsetOrgRoleCommand struct + Args flag.OrgRoleArgs + IsClient bool + Origin string + func (cmd *UnsetOrgRoleCommand) Execute(args []string) error + type UnsetSpaceQuotaCommand struct + RequiredArgs flag.UnsetSpaceQuotaArgs + func (cmd *UnsetSpaceQuotaCommand) Execute(args []string) error + type UnsetSpaceRoleCommand struct + Args flag.SpaceRoleArgs + IsClient bool + Origin string + func (cmd *UnsetSpaceRoleCommand) Execute(args []string) error + type UnsharePrivateDomainCommand struct + RequiredArgs flag.OrgDomain + func (cmd UnsharePrivateDomainCommand) Execute(args []string) error + type UnshareServiceCommand struct + Force bool + OrgName flag.OptionalString + RequiredArgs flag.ShareServiceArgs + SpaceName string + func (cmd UnshareServiceCommand) Execute(args []string) error + func (cmd UnshareServiceCommand) Usage() string + type UpdateBuildpackActor interface + PollUploadBuildpackJob func(jobURL ccv3.JobURL) (v7action.Warnings, error) + PrepareBuildpackBits func(inputPath string, tmpDirPath string, downloader v7action.Downloader) (string, error) + UpdateBuildpackByNameAndStack func(buildpackName string, buildpackStack string, buildpack resources.Buildpack) (resources.Buildpack, v7action.Warnings, error) + UploadBuildpack func(guid string, pathToBuildpackBits string, ...) (ccv3.JobURL, v7action.Warnings, error) + type UpdateBuildpackCommand struct + CurrentStack string + Disable bool + Enable bool + Lock bool + NewName string + NewStack string + Path flag.PathWithExistenceCheckOrURL + Position types.NullInt + ProgressBar v7action.SimpleProgressBar + RequiredArgs flag.BuildpackName + Unlock bool + func (cmd *UpdateBuildpackCommand) Setup(config command.Config, ui command.UI) error + func (cmd UpdateBuildpackCommand) Execute(args []string) error + type UpdateDestinationCommand struct + AppProtocol string + Hostname string + Path flag.V7RoutePath + RequiredArgs flag.AppDomain + func (cmd UpdateDestinationCommand) Examples() string + func (cmd UpdateDestinationCommand) Execute(args []string) error + func (cmd UpdateDestinationCommand) Usage() string + type UpdateOrgQuotaCommand struct + NewName string + NoPaidServicePlans bool + NumAppInstances flag.IntegerLimit + PaidServicePlans bool + PerProcessMemory flag.MemoryWithUnlimited + RequiredArgs flag.OrganizationQuota + TotalMemory flag.MemoryWithUnlimited + TotalReservedPorts flag.IntegerLimit + TotalRoutes flag.IntegerLimit + TotalServiceInstances flag.IntegerLimit + func (cmd UpdateOrgQuotaCommand) Execute(args []string) error + type UpdateSecurityGroupCommand struct + RequiredArgs flag.SecurityGroupArgs + func (cmd UpdateSecurityGroupCommand) Execute(args []string) error + type UpdateServiceBrokerCommand struct + RequiredArgs flag.ServiceBrokerArgs + func (cmd UpdateServiceBrokerCommand) Execute(args []string) error + type UpdateServiceCommand struct + Parameters flag.JSONOrFileWithValidation + Plan string + RequiredArgs flag.ServiceInstance + Tags flag.Tags + Upgrade bool + Wait bool + func (cmd UpdateServiceCommand) Examples() string + func (cmd UpdateServiceCommand) Execute(args []string) error + func (cmd UpdateServiceCommand) Usage() string + type UpdateSpaceQuotaCommand struct + NewName string + NoPaidServicePlans bool + NumAppInstances flag.IntegerLimit + PaidServicePlans bool + PerProcessMemory flag.MemoryWithUnlimited + RequiredArgs flag.SpaceQuota + TotalMemory flag.MemoryWithUnlimited + TotalReservedPorts flag.IntegerLimit + TotalRoutes flag.IntegerLimit + TotalServiceInstances flag.IntegerLimit + func (cmd UpdateSpaceQuotaCommand) Execute(args []string) error + type UpdateUserProvidedServiceCommand struct + Credentials flag.CredentialsOrJSON + RequiredArgs flag.ServiceInstance + RouteServiceURL flag.OptionalString + SyslogDrainURL flag.OptionalString + Tags flag.Tags + func (cmd *UpdateUserProvidedServiceCommand) Execute(args []string) error + type UpgradeServiceCommand struct + Force bool + RequiredArgs flag.ServiceInstance + func (cmd UpgradeServiceCommand) Execute(args []string) error + func (cmd UpgradeServiceCommand) Usage() string + type V7ActorForPush interface + GetApplicationByNameAndSpace func(name string, spaceGUID string) (resources.Application, v7action.Warnings, error) + GetDetailedAppSummary func(appName string, spaceGUID string, withObfuscatedValues bool) (v7action.DetailedApplicationSummary, v7action.Warnings, error) + GetStreamingLogsForApplicationByNameAndSpace func(appName string, spaceGUID string, client sharedaction.LogCacheClient) (<-chan sharedaction.LogMessage, <-chan error, context.CancelFunc, ...) + RestartApplication func(appGUID string, noWait bool) (v7action.Warnings, error) + SetSpaceManifest func(spaceGUID string, rawManifest []byte) (v7action.Warnings, error) Other modules containing this package github.com/LukasHeimann/cloudfoundrycli