2018-01-31 09:37:14 -05:00
|
|
|
package v1beta2
|
|
|
|
|
2018-12-19 10:36:25 -05:00
|
|
|
import api "github.com/docker/compose-on-kubernetes/api/compose/v1beta2"
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// StackList is a list of stacks
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.StackList instead
|
|
|
|
type StackList = api.StackList
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// Stack is v1beta2's representation of a Stack
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.Stack instead
|
|
|
|
type Stack = api.Stack
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// StackSpec defines the desired state of Stack
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.StackSpec instead
|
|
|
|
type StackSpec = api.StackSpec
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// ServiceConfig is the configuration of one service
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.ServiceConfig instead
|
|
|
|
type ServiceConfig = api.ServiceConfig
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// ServicePortConfig is the port configuration for a service
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.ServicePortConfig instead
|
|
|
|
type ServicePortConfig = api.ServicePortConfig
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// FileObjectConfig is a config type for a file used by a service
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.FileObjectConfig instead
|
|
|
|
type FileObjectConfig = api.FileObjectConfig
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// SecretConfig for a secret
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.SecretConfig instead
|
|
|
|
type SecretConfig = api.SecretConfig
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// ConfigObjConfig is the config for the swarm "Config" object
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.ConfigObjConfig instead
|
|
|
|
type ConfigObjConfig = api.ConfigObjConfig
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// External identifies a Volume or Network as a reference to a resource that is
|
|
|
|
// not managed, and should already exist.
|
|
|
|
// External.name is deprecated and replaced by Volume.name
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.External instead
|
|
|
|
type External = api.External
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// FileReferenceConfig for a reference to a swarm file object
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.FileReferenceConfig instead
|
|
|
|
type FileReferenceConfig = api.FileReferenceConfig
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// ServiceConfigObjConfig is the config obj configuration for a service
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.ServiceConfigObjConfig instead
|
|
|
|
type ServiceConfigObjConfig = api.ServiceConfigObjConfig
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// ServiceSecretConfig is the secret configuration for a service
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.ServiceSecretConfig instead
|
|
|
|
type ServiceSecretConfig = api.ServiceSecretConfig
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// DeployConfig is the deployment configuration for a service
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.DeployConfig instead
|
|
|
|
type DeployConfig = api.DeployConfig
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// UpdateConfig is the service update configuration
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.UpdateConfig instead
|
|
|
|
type UpdateConfig = api.UpdateConfig
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// Resources the resource limits and reservations
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.Resources instead
|
|
|
|
type Resources = api.Resources
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// Resource is a resource to be limited or reserved
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.Resource instead
|
|
|
|
type Resource = api.Resource
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// RestartPolicy is the service restart policy
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.RestartPolicy instead
|
|
|
|
type RestartPolicy = api.RestartPolicy
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// Placement constraints for the service
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.Placement instead
|
|
|
|
type Placement = api.Placement
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// Constraints lists constraints that can be set on the service
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.Constraints instead
|
|
|
|
type Constraints = api.Constraints
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// Constraint defines a constraint and it's operator (== or !=)
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.Constraint instead
|
|
|
|
type Constraint = api.Constraint
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// HealthCheckConfig the healthcheck configuration for a service
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.HealthCheckConfig instead
|
|
|
|
type HealthCheckConfig = api.HealthCheckConfig
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// ServiceVolumeConfig are references to a volume used by a service
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.ServiceVolumeConfig instead
|
|
|
|
type ServiceVolumeConfig = api.ServiceVolumeConfig
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// StackPhase is the deployment phase of a stack
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.StackPhase instead
|
|
|
|
type StackPhase = api.StackPhase
|
2018-01-31 09:37:14 -05:00
|
|
|
|
|
|
|
// These are valid conditions of a stack.
|
|
|
|
const (
|
|
|
|
// StackAvailable means the stack is available.
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.StackAvailable instead
|
|
|
|
StackAvailable StackPhase = api.StackAvailable
|
2018-01-31 09:37:14 -05:00
|
|
|
// StackProgressing means the deployment is progressing.
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.StackProgressing instead
|
|
|
|
StackProgressing StackPhase = api.StackProgressing
|
2018-01-31 09:37:14 -05:00
|
|
|
// StackFailure is added in a stack when one of its members fails to be created
|
|
|
|
// or deleted.
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.StackFailure instead
|
|
|
|
StackFailure StackPhase = api.StackFailure
|
2018-01-31 09:37:14 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
// StackStatus defines the observed state of Stack
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/compose/v1beta2.StackStatus instead
|
|
|
|
type StackStatus = api.StackStatus
|