github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/cli/kubernetes/compose/v1beta1/stack.go (about)

     1  package v1beta1
     2  
     3  import api "github.com/docker/compose-on-kubernetes/api/compose/v1beta1"
     4  
     5  // StackList defines a list of stacks
     6  // Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta1.StackList instead
     7  type StackList = api.StackList
     8  
     9  // Stack defines a stack object to be register in the kubernetes API
    10  // Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta1.Stack instead
    11  type Stack = api.Stack
    12  
    13  // StackSpec defines the desired state of Stack
    14  // Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta1.StackSpec instead
    15  type StackSpec = api.StackSpec
    16  
    17  // StackPhase defines the status phase in which the stack is.
    18  // Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta1.StackPhase instead
    19  type StackPhase = api.StackPhase
    20  
    21  // These are valid conditions of a stack.
    22  const (
    23  	// StackAvailable means the stack is available.
    24  	// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta1.StackAvailable instead
    25  	StackAvailable StackPhase = api.StackAvailable
    26  	// StackProgressing means the deployment is progressing.
    27  	// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta1.StackProgressing instead
    28  	StackProgressing StackPhase = api.StackProgressing
    29  	// StackFailure is added in a stack when one of its members fails to be created
    30  	// or deleted.
    31  	// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta1.StackFailure instead
    32  	StackFailure StackPhase = api.StackFailure
    33  )
    34  
    35  // StackStatus defines the observed state of Stack
    36  // Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta1.StackStatus instead
    37  type StackStatus = api.StackStatus