File: stack.go

package info (click to toggle)
docker.io 20.10.24%2Bdfsg1-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-proposed-updates
  • size: 60,824 kB
  • sloc: sh: 5,621; makefile: 593; ansic: 179; python: 162; asm: 7
file content (37 lines) | stat: -rw-r--r-- 1,710 bytes parent folder | download | duplicates (6)
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