Documentation ¶
Index ¶
- Variables
- func GroupResource(resource string) schema.GroupResource
- type ComposeFile
- type ConfigObjConfig
- type Constraint
- type Constraints
- type DeployConfig
- type External
- type FileObjectConfig
- type FileReferenceConfig
- type HealthCheckConfig
- type Owner
- type Placement
- type Resource
- type Resources
- type RestartPolicy
- type Scale
- type SecretConfig
- type ServiceConfig
- type ServiceConfigObjConfig
- type ServicePortConfig
- type ServiceSecretConfig
- type ServiceVolumeConfig
- type Stack
- type StackList
- type StackPhase
- type StackSpec
- type StackStatus
- type UpdateConfig
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = ref.SchemeGroupVersion // SchemeBuilder is the scheme builder SchemeBuilder = ref.SchemeBuilder // AddToScheme adds to scheme AddToScheme = ref.AddToScheme )
Functions ¶
func GroupResource ¶
func GroupResource(resource string) schema.GroupResource
GroupResource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ComposeFile ¶
type ComposeFile = ref.ComposeFile
ComposeFile is the content of a stack's compose file if any
type ConfigObjConfig ¶
type ConfigObjConfig = ref.ConfigObjConfig
ConfigObjConfig is the config for the swarm "Config" object
type Constraint ¶
type Constraint = ref.Constraint
Constraint defines a constraint and it's operator (== or !=)
type Constraints ¶
type Constraints = ref.Constraints
Constraints lists constraints that can be set on the service
type DeployConfig ¶
type DeployConfig = ref.DeployConfig
DeployConfig is the deployment configuration for a service
type External ¶
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
type FileObjectConfig ¶
type FileObjectConfig = ref.FileObjectConfig
FileObjectConfig is a config type for a file used by a service
type FileReferenceConfig ¶
type FileReferenceConfig = ref.FileReferenceConfig
FileReferenceConfig for a reference to a swarm file object
type HealthCheckConfig ¶
type HealthCheckConfig = ref.HealthCheckConfig
HealthCheckConfig the healthcheck configuration for a service
type RestartPolicy ¶
type RestartPolicy = ref.RestartPolicy
RestartPolicy is the service restart policy
type ServiceConfig ¶
type ServiceConfig = ref.ServiceConfig
ServiceConfig is the configuration of one service
type ServiceConfigObjConfig ¶
type ServiceConfigObjConfig = ref.ServiceConfigObjConfig
ServiceConfigObjConfig is the config obj configuration for a service
type ServicePortConfig ¶
type ServicePortConfig = ref.ServicePortConfig
ServicePortConfig is the port configuration for a service
type ServiceSecretConfig ¶
type ServiceSecretConfig = ref.ServiceSecretConfig
ServiceSecretConfig is the secret configuration for a service
type ServiceVolumeConfig ¶
type ServiceVolumeConfig = ref.ServiceVolumeConfig
ServiceVolumeConfig are references to a volume used by a service
type StackPhase ¶
type StackPhase = ref.StackPhase
StackPhase is the deployment phase of a stack
const ( // StackAvailable means the stack is available. StackAvailable StackPhase = "Available" // StackProgressing means the deployment is progressing. StackProgressing StackPhase = "Progressing" // StackFailure is added in a stack when one of its members fails to be created // or deleted. StackFailure StackPhase = "Failure" // StackReconciliationPending means the stack has not yet been reconciled StackReconciliationPending StackPhase = "ReconciliationPending" )
These are valid conditions of a stack.
type StackStatus ¶
type StackStatus = ref.StackStatus
StackStatus defines the observed state of Stack
type UpdateConfig ¶
type UpdateConfig = ref.UpdateConfig
UpdateConfig is the service update configuration