Versions in this module Expand all Collapse all v1 v1.2.2 May 30, 2020 Changes in this version + var ErrAppNotFound = errors.New("application not found") + type AppResourcesEntity struct + Entity Entity + Metadata Metadata + type DomainResponse struct + Pagination struct{ ... } + Resources []struct{ ... } + type Entity struct + Buildpack string + Command string + Console bool + Debug interface{} + DetectedBuildpack string + DetectedBuildpackGUID string + DetectedStartCommand string + Diego bool + DiskQuota int + DockerCredentials struct{ ... } + DockerImage interface{} + EnableSSH bool + EnvironmentJSON struct{ ... } + EventsURL string + HealthCheckHTTPEndpoint string + HealthCheckTimeout int + HealthCheckType string + Instances int + Memory int + Name string + PackageState string + PackageUpdatedAt time.Time + Ports []int + Production bool + RouteMappingsURL string + RoutesURL string + ServiceBindingsURL string + SpaceGUID string + SpaceURL string + StackGUID string + StackURL string + StagingFailedDescription interface{} + StagingFailedReason interface{} + StagingTaskID string + State string + Version string + type LegacyResourcesData struct + Cli cli.Calls + Executor cli.CfExecutor + func NewV2LegacyPush(conn plugin.CliConnection, traceLogging bool) *LegacyResourcesData + func (resource *LegacyResourcesData) GetDomain(domains []map[string]string) (*[]Routes, error) + func (resource *LegacyResourcesData) MapRoute(appName string, host string, domain string, path string) (err error) + func (resource *LegacyResourcesData) PushApplication(parsedArguments *arguments.ParserArguments) error + func (resource *LegacyResourcesData) SwitchRoutesOnly(venAppName string, venAppExists bool, appName string, ...) (err error) + func (resource *LegacyResourcesData) UnMapRoute(appName string, host string, domain string, path string) (err error) + type MetaDataEntity struct + AppResourcesEntity []AppResourcesEntity + NextURL interface{} + PrevURL interface{} + TotalPages int + TotalResults int + type Metadata struct + CreatedAt time.Time + GUID string + URL string + UpdatedAt time.Time + type Push interface + PushApplication func(parsedArguments *arguments.ParserArguments) error + SwitchRoutesOnly func(venAppName string, venAppExists bool, appName string, ...) error + type Resources interface + DeleteApplication func(appName string) (err error) + GetAppMetadata func(appName string) (*AppResourcesEntity, error) + ListApplications func() (err error) + RenameApplication func(oldName string, newName string) (err error) + ShowCrashLogs func(appName string) (err error) + StartApplication func(appName string) (err error) + StopApplication func(appName string) (err error) + type ResourcesData struct + func NewV2Resources(conn plugin.CliConnection, traceLogging bool) *ResourcesData + func (resource *ResourcesData) DeleteApplication(appName string) error + func (resource *ResourcesData) GetAppMetadata(appName string) (*AppResourcesEntity, error) + func (resource *ResourcesData) ListApplications() error + func (resource *ResourcesData) RenameApplication(oldName, newName string) error + func (resource *ResourcesData) ShowCrashLogs(appName string) error + func (resource *ResourcesData) StartApplication(appName string) error + func (resource *ResourcesData) StopApplication(appName string) error + type Routes struct + Domain string + Host string + Path string