Documentation ¶
Index ¶
- Constants
- func CopyFiles(appFiles []AppFile, fromDir, toDir string) (err error)
- func Name() string
- type AppFile
- type AppSummary
- type Application
- type ApplicationInstance
- type ApplicationZipper
- type Buildpack
- type Domain
- type EndpointType
- type Event
- type InstanceState
- type Organization
- type Quota
- type Route
- type ServiceAuthToken
- type ServiceBinding
- type ServiceBroker
- type ServiceInstance
- type ServiceOffering
- type ServicePlan
- type Space
- type Stack
- type User
- type Zipper
Constants ¶
View Source
const ( Version = "6.0.0.rc1-SHA" Usage = "A command line tool to interact with Cloud Foundry" )
View Source
const ( InstanceStarting InstanceState = "starting" InstanceRunning = "running" InstanceFlapping = "flapping" InstanceDown = "down" )
View Source
const ( UaaEndpointKey EndpointType = "uaa" LoggregatorEndpointKey = "loggregator" CloudControllerEndpointKey = "cloud_controller" )
View Source
const ( USER_EXISTS = "20002" USER_NOT_FOUND = "20003" ORG_EXISTS = "30002" SPACE_EXISTS = "40002" SERVICE_INSTANCE_NAME_TAKEN = "60002" APP_NOT_STAGED = "170002" APP_STOPPED = "220001" BUILDPACK_EXISTS = "290001" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppFile ¶
func AppFilesInDir ¶
type AppSummary ¶
type AppSummary struct { App Application Instances []ApplicationInstance }
type Application ¶
type ApplicationInstance ¶
type ApplicationZipper ¶
type ApplicationZipper struct{}
type EndpointType ¶
type EndpointType string
type InstanceState ¶
type InstanceState string
type Organization ¶
type ServiceAuthToken ¶
type ServiceBinding ¶
type ServiceBroker ¶
type ServiceInstance ¶
type ServiceInstance struct { Name string Guid string ServiceBindings []ServiceBinding ServicePlan ServicePlan ApplicationNames []string Params map[string]string SysLogDrainUrl string }
func (ServiceInstance) IsUserProvided ¶
func (inst ServiceInstance) IsUserProvided() bool
func (ServiceInstance) ServiceOffering ¶
func (inst ServiceInstance) ServiceOffering() ServiceOffering
type ServiceOffering ¶
type ServicePlan ¶
type ServicePlan struct { Name string Guid string ServiceOffering ServiceOffering }
type Space ¶
type Space struct { Name string Guid string Applications []Application ServiceInstances []ServiceInstance Organization Organization Domains []Domain }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.