github.com/orange-cloudfoundry/cli@v7.1.0+incompatible/api/cloudcontroller/ccv3/constant/package.go (about)

     1  package constant
     2  
     3  // PackageState represents the state of a package.
     4  type PackageState string
     5  
     6  const (
     7  	// PackageProcessingUpload is a package that's being process by the CC.
     8  	PackageProcessingUpload PackageState = "PROCESSING_UPLOAD"
     9  	// PackageReady is a package that's ready to use.
    10  	PackageReady PackageState = "READY"
    11  	// PackageFailed is a package that has failed to be constructed.
    12  	PackageFailed PackageState = "FAILED"
    13  	// PackageAwaitingUpload is a package that does not have any bits or settings
    14  	// yet.
    15  	PackageAwaitingUpload PackageState = "AWAITING_UPLOAD"
    16  	// PackageCopying is a package that's being copied from another package.
    17  	PackageCopying PackageState = "COPYING"
    18  	// PackageExpired is a package that has expired and is no longer in the
    19  	// system.
    20  	PackageExpired PackageState = "EXPIRED"
    21  )
    22  
    23  // PackageType represents the type of package.
    24  type PackageType string
    25  
    26  const (
    27  	// PackageTypeBits is used to upload source code for an app.
    28  	PackageTypeBits PackageType = "bits"
    29  	// PackageTypeDocker references a docker image from a registry.
    30  	PackageTypeDocker PackageType = "docker"
    31  )