github.com/franc20/ayesa_sap@v7.0.0-beta.28.0.20200124003224-302d4d52fa6c+incompatible/api/cloudcontroller/ccv3/constant/application.go (about)

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