package
6.42.0+incompatible
Repository: https://github.com/jenspinney/cli.git
Documentation: pkg.go.dev
# Constants
ApplicationStarted is a desired 'started' state.
ApplicationStopped is a desired 'stopped' state.
AppLifecycleTypeBuildpack will use a droplet and a rootfs to run the app.
AppLifecycleTypeDocker will pull a docker image from a registry to run an app.
AutodetectBuildpackValueDefault is used to unset the buildpack values on an application.
AutodetectBuildpackValueNull is used to unset the buildpack values on an application.
BuildFailed is when the build has failed/erred during staging.
BuildStaged is when the build has successfully been staged.
BuildStaging is when the build is in the process of being staged.
Deployment is in state 'CANCELED'.
Deployment is in state 'DEPLOYED'.
Deployment is in state 'DEPLOYING'.
DropletCopying is a droplet that's being copied from another droplet.
DropletExpired is a droplet that has expired and is no longer in the system.
DropletFailed is a droplet that had failed the staging process.
DropletStaged is a droplet that has been properly processed.
HTTP means that CF will make a GET request to the configured HTTP endpoint on the app's default port.
JobComplete is when the job is no longer and it was successful.
JobFailed is when the job is no longer running due to a failure.
JobProcessing is when the job is waiting to be run.
PackageAwaitingUpload is a package that does not have any bits or settings yet.
PackageCopying is a package that's being copied from another package.
PackageExpired is a package that has expired and is no longer in the system.
PackageFailed is a package that has failed to be constructed.
PackageProcessingUpload is a package that's being process by the CC.
PackageReady is a package that's ready to use.
PackageTypeBits is used to upload source code for an app.
PackageTypeDocker references a docker image from a registry.
Port means that CF will make a TCP connection to the port of ports configured.
Process means that Diego ensures that the process(es) stay running.
ProcessHealthCheckEndpointDefault is the default HTTP endpoint used for the HTTP health check in the runtime.
ProcessInstanceCrashed is when the process has crashed.
ProcessInstanceDown is when the process has gone down.
ProcessInstanceRunning is when the process is running normally.
ProcessInstanceStarting is when the process is starting up.
ProcessTypeWeb represents the "web" process type.
RelationshipTypeApplication is a relationship with a Cloud Controller application.
RelationshipTypeOrganization is a relationship with a CloudController organization.
RelationshipTypeSpace is a relationship with a CloudController space.
TaskCanceling is when the task is canceling.
TaskFailed is when the task Failed.
TaskPending is when the task is pending.
TaskRunning is when the task is running.
TaskSucceeded is when the task succeeded.
# Type aliases
ApplicationState represents the current desired state of the app.
AppLifecycleType informs the platform of how to build droplets and run apps.
BuildState represents the current state of the build.
A zero down time deployment used to push new apps without restart.
DropletState is the state of the droplet.
HealthCheckType is the manner in which Cloud Foundry verifies the app's status.
JobState is the current state of a job.
PackageState represents the state of a package.
PackageType represents the type of package.
ProcessInstanceState is the state of a given process.
RelationshipType represetns the Cloud Controller To-One resource targetted by a relationship.
TaskState represents the state of the task.