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 + const ApplicationStateCrashed + const ApplicationStateDown + const ApplicationStateFlapping + const ApplicationStateRunning + const ApplicationStateStarted + const ApplicationStateStarting + const ApplicationStateStopped + const UnlimitedDisplay + var ErrUnknownRole = errors.New("Unknown Role") + type AppFileFields struct + Mode string + Path string + Sha1 string + Size int64 + type AppInstanceFields struct + CPUUsage float64 + Details string + DiskQuota int64 + DiskUsage int64 + MemQuota int64 + MemUsage int64 + Since time.Time + State InstanceState + type AppParams struct + BuildpackURL *string + Buildpacks []string + Command *string + DiskQuota *int64 + DockerImage *string + DockerPassword *string + DockerUsername *string + Domains []string + EnableSSH *bool + EnvironmentVars *map[string]interface{} + GUID *string + HealthCheckHTTPEndpoint *string + HealthCheckTimeout *int + HealthCheckType *string + Hosts []string + InstanceCount *int + Memory *int64 + Name *string + NoHostname *bool + NoRoute bool + PackageUpdatedAt *time.Time + Path *string + RoutePath *string + Routes []ManifestRoute + ServicesToBind []string + SpaceGUID *string + StackGUID *string + StackName *string + State *string + UseRandomPort bool + UseRandomRoute bool + func (app *AppParams) IsEmpty() bool + func (app *AppParams) IsHostEmpty() bool + func (app *AppParams) IsNoHostnameTrue() bool + func (app *AppParams) Merge(flagContext *AppParams) + type Application struct + Routes []RouteSummary + Services []ServicePlanSummary + Stack *Stack + func (model Application) HasRoute(route Route) bool + func (model Application) ToParams() AppParams + type ApplicationFields struct + Buildpack string + BuildpackURL string + Command string + DetectedBuildpack string + DetectedStartCommand string + Diego bool + DiskQuota int64 + DockerImage string + EnableSSH bool + EnvironmentVars map[string]interface{} + GUID string + HealthCheckHTTPEndpoint string + HealthCheckTimeout int + HealthCheckType string + InstanceCount int + Memory int64 + Name string + PackageState string + PackageUpdatedAt *time.Time + RunningInstances int + SpaceGUID string + StackGUID string + StagingFailedReason string + State string + type Buildpack struct + Enabled *bool + Filename string + GUID string + Key string + Locked *bool + Name string + Position *int + Stack string + type DomainFields struct + GUID string + Name string + OwningOrganizationGUID string + RouterGroupGUID string + RouterGroupType string + Shared bool + func (model DomainFields) URLForHostAndPath(host, path string, port int) string + type Environment struct + Application map[string]interface{} + Environment map[string]interface{} + Running map[string]interface{} + Staging map[string]interface{} + System map[string]interface{} + func NewEnvironment() *Environment + type EnvironmentVariable struct + Name string + Value string + type EnvironmentVariableList []EnvironmentVariable + func (evl EnvironmentVariableList) Len() int + func (evl EnvironmentVariableList) Less(i, j int) bool + func (evl EnvironmentVariableList) Swap(i, j int) + type EventFields struct + Actor string + ActorName string + Description string + GUID string + Name string + Timestamp time.Time + type FeatureFlag struct + Enabled bool + ErrorMessage string + Name string + type InstanceState string + const InstanceCrashed + const InstanceDown + const InstanceFlapping + const InstanceRunning + const InstanceStarting + type LastOperationFields struct + CreatedAt string + Description string + State string + Type string + UpdatedAt string + type ManifestDocker struct + Image string + Username string + type ManifestRoute struct + Route string + type Organization struct + Domains []DomainFields + SpaceQuotas []SpaceQuota + Spaces []SpaceFields + type OrganizationFields struct + GUID string + Name string + QuotaDefinition QuotaFields + type PluginRepo struct + Name string + URL string + type QuotaFields struct + AppInstanceLimit int + GUID string + InstanceMemoryLimit int64 + MemoryLimit int64 + Name string + NonBasicServicesAllowed bool + ReservedRoutePorts json.Number + RoutesLimit int + ServicesLimit int + type QuotaResponse struct + AppInstanceLimit json.Number + GUID string + InstanceMemoryLimit int64 + MemoryLimit int64 + Name string + NonBasicServicesAllowed bool + ReservedRoutePorts json.Number + RoutesLimit int + ServicesLimit int + type Role int + const RoleBillingManager + const RoleOrgAuditor + const RoleOrgManager + const RoleOrgUser + const RoleSpaceAuditor + const RoleSpaceDeveloper + const RoleSpaceManager + const RoleUnknown + func RoleFromString(roleString string) (Role, error) + func (r Role) Display() string + func (r Role) ToString() string + type Route struct + Apps []ApplicationFields + Domain DomainFields + GUID string + Host string + Path string + Port int + ServiceInstance ServiceInstanceFields + Space SpaceFields + func (r Route) URL() string + type RoutePresenter struct + Domain string + Host string + Path string + Port int + func (r *RoutePresenter) URL() string + type RouteSummary struct + Domain DomainFields + GUID string + Host string + Path string + Port int + func (r RouteSummary) URL() string + type RouterGroup struct + GUID string + Name string + Type string + type RouterGroups []RouterGroup + type SecurityGroup struct + Spaces []Space + type SecurityGroupFields struct + GUID string + Name string + Rules []map[string]interface{} + SpaceURL string + type SecurityGroupParams struct + GUID string + Name string + Rules []map[string]interface{} + type ServiceAuthTokenFields struct + GUID string + Label string + Provider string + Token string + type ServiceBindingFields struct + AppGUID string + GUID string + URL string + type ServiceBindingRequest struct + AppGUID string + Params map[string]interface{} + ServiceInstanceGUID string + type ServiceBroker struct + GUID string + Name string + Password string + Services []ServiceOffering + URL string + Username string + type ServiceInstance struct + ServiceBindings []ServiceBindingFields + ServiceKeys []ServiceKeyFields + ServiceOffering ServiceOfferingFields + ServicePlan ServicePlanFields + func (inst ServiceInstance) IsUserProvided() bool + type ServiceInstanceCreateRequest struct + Name string + Params map[string]interface{} + PlanGUID string + SpaceGUID string + Tags []string + type ServiceInstanceFields struct + ApplicationNames []string + DashboardURL string + GUID string + LastOperation LastOperationFields + Name string + Params map[string]interface{} + RouteServiceURL string + SysLogDrainURL string + Tags []string + Type string + type ServiceInstanceUpdateRequest struct + Params map[string]interface{} + PlanGUID string + Tags *[]string + type ServiceKey struct + Credentials map[string]interface{} + Fields ServiceKeyFields + type ServiceKeyFields struct + GUID string + Name string + ServiceInstanceGUID string + ServiceInstanceURL string + URL string + type ServiceKeyRequest struct + Name string + Params map[string]interface{} + ServiceInstanceGUID string + type ServiceOffering struct + Plans []ServicePlanFields + type ServiceOfferingFields struct + BrokerGUID string + Description string + DocumentationURL string + GUID string + Label string + Provider string + Requires []string + Version string + type ServiceOfferings []ServiceOffering + func (s ServiceOfferings) Len() int + func (s ServiceOfferings) Less(i, j int) bool + func (s ServiceOfferings) Swap(i, j int) + type ServicePlan struct + ServiceOffering ServiceOfferingFields + type ServicePlanFields struct + Active bool + Description string + Free bool + GUID string + Name string + OrgNames []string + Public bool + ServiceOfferingGUID string + func (servicePlanFields ServicePlanFields) OrgHasVisibility(orgName string) bool + type ServicePlanSummary struct + GUID string + Name string + type ServicePlanVisibilityFields struct + GUID string + OrganizationGUID string + ServicePlanGUID string + type Space struct + Applications []ApplicationFields + Domains []DomainFields + Organization OrganizationFields + SecurityGroups []SecurityGroupFields + ServiceInstances []ServiceInstanceFields + SpaceQuotaGUID string + type SpaceFields struct + AllowSSH bool + GUID string + Name string + type SpaceQuota struct + AppInstanceLimit int + GUID string + InstanceMemoryLimit int64 + MemoryLimit int64 + Name string + NonBasicServicesAllowed bool + OrgGUID string + ReservedRoutePortsLimit json.Number + RoutesLimit int + ServicesLimit int + func (q SpaceQuota) FormattedAppInstanceLimit() string + func (q SpaceQuota) FormattedInstanceMemoryLimit() string + func (q SpaceQuota) FormattedMemoryLimit() string + func (q SpaceQuota) FormattedRoutePortsLimit() string + func (q SpaceQuota) FormattedServicesLimit() string + type SpaceQuotaResponse struct + AppInstanceLimit json.Number + GUID string + InstanceMemoryLimit int64 + MemoryLimit int64 + Name string + NonBasicServicesAllowed bool + OrgGUID string + ReservedRoutePortsLimit json.Number + RoutesLimit int + ServicesLimit int + type Stack struct + Description string + GUID string + Name string + type UserFields struct + GUID string + IsAdmin bool + Password string + Username string + type UserProvidedService struct + Credentials map[string]interface{} + Name string + RouteServiceURL string + SpaceGUID string + SysLogDrainURL string + Tags []string + type UserProvidedServiceEntity struct + type UserProvidedServiceSummary struct + Resources []UserProvidedServiceEntity + Total int Other modules containing this package github.com/LukasHeimann/cloudfoundrycli