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