github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+incompatible/api/cloudcontroller/ccv3/constant/application.go (about)

     1  package constant
     2  
     3  // ApplicationState represents the current desired state of the app.
     4  type ApplicationState string
     5  
     6  const (
     7  	// ApplicationStopped is a desired 'stopped' state.
     8  	ApplicationStopped ApplicationState = "STOPPED"
     9  	// ApplicationStarted is a desired 'started' state.
    10  	ApplicationStarted ApplicationState = "STARTED"
    11  )
    12  
    13  // AppLifecycleType informs the platform of how to build droplets and run apps.
    14  type AppLifecycleType string
    15  
    16  const (
    17  	// BuildpackAppLifecycleType will use a droplet and a rootfs to run the app.
    18  	BuildpackAppLifecycleType AppLifecycleType = "buildpack"
    19  	// DockerAppLifecycleType will pull a docker image from a registry to run an
    20  	// app.
    21  	DockerAppLifecycleType AppLifecycleType = "docker"
    22  )