Documentation ¶
Overview ¶
Package v1alpha3 is the current in dev version of the stack, containing evolution on top of v1beta2 structured spec +k8s:openapi-gen=true +k8s:conversion-gen=github.com/docker/compose-on-kubernetes/api/compose/v1beta2
Index ¶
- Constants
- Variables
- func Convert_v1alpha3_ComposeFile_To_v1beta2_ComposeFile(in *ComposeFile, out *v1beta2.ComposeFile, s conversion.Scope) error
- func Convert_v1alpha3_ConfigObjConfig_To_v1beta2_ConfigObjConfig(in *ConfigObjConfig, out *v1beta2.ConfigObjConfig, s conversion.Scope) error
- func Convert_v1alpha3_Constraint_To_v1beta2_Constraint(in *Constraint, out *v1beta2.Constraint, s conversion.Scope) error
- func Convert_v1alpha3_Constraints_To_v1beta2_Constraints(in *Constraints, out *v1beta2.Constraints, s conversion.Scope) error
- func Convert_v1alpha3_DeployConfig_To_v1beta2_DeployConfig(in *DeployConfig, out *v1beta2.DeployConfig, s conversion.Scope) error
- func Convert_v1alpha3_External_To_v1beta2_External(in *External, out *v1beta2.External, s conversion.Scope) error
- func Convert_v1alpha3_FileObjectConfig_To_v1beta2_FileObjectConfig(in *FileObjectConfig, out *v1beta2.FileObjectConfig, s conversion.Scope) error
- func Convert_v1alpha3_FileReferenceConfig_To_v1beta2_FileReferenceConfig(in *FileReferenceConfig, out *v1beta2.FileReferenceConfig, s conversion.Scope) error
- func Convert_v1alpha3_HealthCheckConfig_To_v1beta2_HealthCheckConfig(in *HealthCheckConfig, out *v1beta2.HealthCheckConfig, s conversion.Scope) error
- func Convert_v1alpha3_Owner_To_v1beta2_Owner(in *Owner, out *v1beta2.Owner, s conversion.Scope) error
- func Convert_v1alpha3_Placement_To_v1beta2_Placement(in *Placement, out *v1beta2.Placement, s conversion.Scope) error
- func Convert_v1alpha3_Resource_To_v1beta2_Resource(in *Resource, out *v1beta2.Resource, s conversion.Scope) error
- func Convert_v1alpha3_Resources_To_v1beta2_Resources(in *Resources, out *v1beta2.Resources, s conversion.Scope) error
- func Convert_v1alpha3_RestartPolicy_To_v1beta2_RestartPolicy(in *RestartPolicy, out *v1beta2.RestartPolicy, s conversion.Scope) error
- func Convert_v1alpha3_Scale_To_v1beta2_Scale(in *Scale, out *v1beta2.Scale, s conversion.Scope) error
- func Convert_v1alpha3_SecretConfig_To_v1beta2_SecretConfig(in *SecretConfig, out *v1beta2.SecretConfig, s conversion.Scope) error
- func Convert_v1alpha3_ServiceConfigObjConfig_To_v1beta2_ServiceConfigObjConfig(in *ServiceConfigObjConfig, out *v1beta2.ServiceConfigObjConfig, ...) error
- func Convert_v1alpha3_ServiceConfig_To_v1beta2_ServiceConfig(in *ServiceConfig, out *v1beta2.ServiceConfig, s conversion.Scope) error
- func Convert_v1alpha3_ServicePortConfig_To_v1beta2_ServicePortConfig(in *ServicePortConfig, out *v1beta2.ServicePortConfig, s conversion.Scope) error
- func Convert_v1alpha3_ServiceSecretConfig_To_v1beta2_ServiceSecretConfig(in *ServiceSecretConfig, out *v1beta2.ServiceSecretConfig, s conversion.Scope) error
- func Convert_v1alpha3_ServiceVolumeConfig_To_v1beta2_ServiceVolumeConfig(in *ServiceVolumeConfig, out *v1beta2.ServiceVolumeConfig, s conversion.Scope) error
- func Convert_v1alpha3_StackList_To_v1beta2_StackList(in *StackList, out *v1beta2.StackList, s conversion.Scope) error
- func Convert_v1alpha3_StackSpec_To_v1beta2_StackSpec(in *StackSpec, out *v1beta2.StackSpec, s conversion.Scope) error
- func Convert_v1alpha3_StackStatus_To_v1beta2_StackStatus(in *StackStatus, out *v1beta2.StackStatus, s conversion.Scope) error
- func Convert_v1alpha3_Stack_To_v1beta2_Stack(in *Stack, out *v1beta2.Stack, s conversion.Scope) error
- func Convert_v1alpha3_UpdateConfig_To_v1beta2_UpdateConfig(in *UpdateConfig, out *v1beta2.UpdateConfig, s conversion.Scope) error
- func Convert_v1beta2_ComposeFile_To_v1alpha3_ComposeFile(in *v1beta2.ComposeFile, out *ComposeFile, s conversion.Scope) error
- func Convert_v1beta2_ConfigObjConfig_To_v1alpha3_ConfigObjConfig(in *v1beta2.ConfigObjConfig, out *ConfigObjConfig, s conversion.Scope) error
- func Convert_v1beta2_Constraint_To_v1alpha3_Constraint(in *v1beta2.Constraint, out *Constraint, s conversion.Scope) error
- func Convert_v1beta2_Constraints_To_v1alpha3_Constraints(in *v1beta2.Constraints, out *Constraints, s conversion.Scope) error
- func Convert_v1beta2_DeployConfig_To_v1alpha3_DeployConfig(in *v1beta2.DeployConfig, out *DeployConfig, s conversion.Scope) error
- func Convert_v1beta2_External_To_v1alpha3_External(in *v1beta2.External, out *External, s conversion.Scope) error
- func Convert_v1beta2_FileObjectConfig_To_v1alpha3_FileObjectConfig(in *v1beta2.FileObjectConfig, out *FileObjectConfig, s conversion.Scope) error
- func Convert_v1beta2_FileReferenceConfig_To_v1alpha3_FileReferenceConfig(in *v1beta2.FileReferenceConfig, out *FileReferenceConfig, s conversion.Scope) error
- func Convert_v1beta2_HealthCheckConfig_To_v1alpha3_HealthCheckConfig(in *v1beta2.HealthCheckConfig, out *HealthCheckConfig, s conversion.Scope) error
- func Convert_v1beta2_Owner_To_v1alpha3_Owner(in *v1beta2.Owner, out *Owner, s conversion.Scope) error
- func Convert_v1beta2_Placement_To_v1alpha3_Placement(in *v1beta2.Placement, out *Placement, s conversion.Scope) error
- func Convert_v1beta2_Resource_To_v1alpha3_Resource(in *v1beta2.Resource, out *Resource, s conversion.Scope) error
- func Convert_v1beta2_Resources_To_v1alpha3_Resources(in *v1beta2.Resources, out *Resources, s conversion.Scope) error
- func Convert_v1beta2_RestartPolicy_To_v1alpha3_RestartPolicy(in *v1beta2.RestartPolicy, out *RestartPolicy, s conversion.Scope) error
- func Convert_v1beta2_Scale_To_v1alpha3_Scale(in *v1beta2.Scale, out *Scale, s conversion.Scope) error
- func Convert_v1beta2_SecretConfig_To_v1alpha3_SecretConfig(in *v1beta2.SecretConfig, out *SecretConfig, s conversion.Scope) error
- func Convert_v1beta2_ServiceConfigObjConfig_To_v1alpha3_ServiceConfigObjConfig(in *v1beta2.ServiceConfigObjConfig, out *ServiceConfigObjConfig, ...) error
- func Convert_v1beta2_ServiceConfig_To_v1alpha3_ServiceConfig(in *v1beta2.ServiceConfig, out *ServiceConfig, s conversion.Scope) error
- func Convert_v1beta2_ServicePortConfig_To_v1alpha3_ServicePortConfig(in *v1beta2.ServicePortConfig, out *ServicePortConfig, s conversion.Scope) error
- func Convert_v1beta2_ServiceSecretConfig_To_v1alpha3_ServiceSecretConfig(in *v1beta2.ServiceSecretConfig, out *ServiceSecretConfig, s conversion.Scope) error
- func Convert_v1beta2_ServiceVolumeConfig_To_v1alpha3_ServiceVolumeConfig(in *v1beta2.ServiceVolumeConfig, out *ServiceVolumeConfig, s conversion.Scope) error
- func Convert_v1beta2_StackList_To_v1alpha3_StackList(in *v1beta2.StackList, out *StackList, s conversion.Scope) error
- func Convert_v1beta2_StackSpec_To_v1alpha3_StackSpec(in *v1beta2.StackSpec, out *StackSpec, s conversion.Scope) error
- func Convert_v1beta2_StackStatus_To_v1alpha3_StackStatus(in *v1beta2.StackStatus, out *StackStatus, s conversion.Scope) error
- func Convert_v1beta2_Stack_To_v1alpha3_Stack(in *v1beta2.Stack, out *Stack, s conversion.Scope) error
- func Convert_v1beta2_UpdateConfig_To_v1alpha3_UpdateConfig(in *v1beta2.UpdateConfig, out *UpdateConfig, s conversion.Scope) error
- func GroupResource(resource string) schema.GroupResource
- func RegisterConversions(scheme *runtime.Scheme) error
- 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 ¶
const GroupName = "compose.docker.com"
GroupName is the name of the compose group
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha3"} // SchemeBuilder is the scheme builder SchemeBuilder runtime.SchemeBuilder // AddToScheme adds to scheme AddToScheme = localSchemeBuilder.AddToScheme )
Functions ¶
func Convert_v1alpha3_ComposeFile_To_v1beta2_ComposeFile ¶
func Convert_v1alpha3_ComposeFile_To_v1beta2_ComposeFile(in *ComposeFile, out *v1beta2.ComposeFile, s conversion.Scope) error
Convert_v1alpha3_ComposeFile_To_v1beta2_ComposeFile is an autogenerated conversion function.
func Convert_v1alpha3_ConfigObjConfig_To_v1beta2_ConfigObjConfig ¶
func Convert_v1alpha3_ConfigObjConfig_To_v1beta2_ConfigObjConfig(in *ConfigObjConfig, out *v1beta2.ConfigObjConfig, s conversion.Scope) error
Convert_v1alpha3_ConfigObjConfig_To_v1beta2_ConfigObjConfig is an autogenerated conversion function.
func Convert_v1alpha3_Constraint_To_v1beta2_Constraint ¶
func Convert_v1alpha3_Constraint_To_v1beta2_Constraint(in *Constraint, out *v1beta2.Constraint, s conversion.Scope) error
Convert_v1alpha3_Constraint_To_v1beta2_Constraint is an autogenerated conversion function.
func Convert_v1alpha3_Constraints_To_v1beta2_Constraints ¶
func Convert_v1alpha3_Constraints_To_v1beta2_Constraints(in *Constraints, out *v1beta2.Constraints, s conversion.Scope) error
Convert_v1alpha3_Constraints_To_v1beta2_Constraints is an autogenerated conversion function.
func Convert_v1alpha3_DeployConfig_To_v1beta2_DeployConfig ¶
func Convert_v1alpha3_DeployConfig_To_v1beta2_DeployConfig(in *DeployConfig, out *v1beta2.DeployConfig, s conversion.Scope) error
Convert_v1alpha3_DeployConfig_To_v1beta2_DeployConfig is an autogenerated conversion function.
func Convert_v1alpha3_External_To_v1beta2_External ¶
func Convert_v1alpha3_External_To_v1beta2_External(in *External, out *v1beta2.External, s conversion.Scope) error
Convert_v1alpha3_External_To_v1beta2_External is an autogenerated conversion function.
func Convert_v1alpha3_FileObjectConfig_To_v1beta2_FileObjectConfig ¶
func Convert_v1alpha3_FileObjectConfig_To_v1beta2_FileObjectConfig(in *FileObjectConfig, out *v1beta2.FileObjectConfig, s conversion.Scope) error
Convert_v1alpha3_FileObjectConfig_To_v1beta2_FileObjectConfig is an autogenerated conversion function.
func Convert_v1alpha3_FileReferenceConfig_To_v1beta2_FileReferenceConfig ¶
func Convert_v1alpha3_FileReferenceConfig_To_v1beta2_FileReferenceConfig(in *FileReferenceConfig, out *v1beta2.FileReferenceConfig, s conversion.Scope) error
Convert_v1alpha3_FileReferenceConfig_To_v1beta2_FileReferenceConfig is an autogenerated conversion function.
func Convert_v1alpha3_HealthCheckConfig_To_v1beta2_HealthCheckConfig ¶
func Convert_v1alpha3_HealthCheckConfig_To_v1beta2_HealthCheckConfig(in *HealthCheckConfig, out *v1beta2.HealthCheckConfig, s conversion.Scope) error
Convert_v1alpha3_HealthCheckConfig_To_v1beta2_HealthCheckConfig is an autogenerated conversion function.
func Convert_v1alpha3_Owner_To_v1beta2_Owner ¶
func Convert_v1alpha3_Owner_To_v1beta2_Owner(in *Owner, out *v1beta2.Owner, s conversion.Scope) error
Convert_v1alpha3_Owner_To_v1beta2_Owner is an autogenerated conversion function.
func Convert_v1alpha3_Placement_To_v1beta2_Placement ¶
func Convert_v1alpha3_Placement_To_v1beta2_Placement(in *Placement, out *v1beta2.Placement, s conversion.Scope) error
Convert_v1alpha3_Placement_To_v1beta2_Placement is an autogenerated conversion function.
func Convert_v1alpha3_Resource_To_v1beta2_Resource ¶
func Convert_v1alpha3_Resource_To_v1beta2_Resource(in *Resource, out *v1beta2.Resource, s conversion.Scope) error
Convert_v1alpha3_Resource_To_v1beta2_Resource is an autogenerated conversion function.
func Convert_v1alpha3_Resources_To_v1beta2_Resources ¶
func Convert_v1alpha3_Resources_To_v1beta2_Resources(in *Resources, out *v1beta2.Resources, s conversion.Scope) error
Convert_v1alpha3_Resources_To_v1beta2_Resources is an autogenerated conversion function.
func Convert_v1alpha3_RestartPolicy_To_v1beta2_RestartPolicy ¶
func Convert_v1alpha3_RestartPolicy_To_v1beta2_RestartPolicy(in *RestartPolicy, out *v1beta2.RestartPolicy, s conversion.Scope) error
Convert_v1alpha3_RestartPolicy_To_v1beta2_RestartPolicy is an autogenerated conversion function.
func Convert_v1alpha3_Scale_To_v1beta2_Scale ¶
func Convert_v1alpha3_Scale_To_v1beta2_Scale(in *Scale, out *v1beta2.Scale, s conversion.Scope) error
Convert_v1alpha3_Scale_To_v1beta2_Scale is an autogenerated conversion function.
func Convert_v1alpha3_SecretConfig_To_v1beta2_SecretConfig ¶
func Convert_v1alpha3_SecretConfig_To_v1beta2_SecretConfig(in *SecretConfig, out *v1beta2.SecretConfig, s conversion.Scope) error
Convert_v1alpha3_SecretConfig_To_v1beta2_SecretConfig is an autogenerated conversion function.
func Convert_v1alpha3_ServiceConfigObjConfig_To_v1beta2_ServiceConfigObjConfig ¶
func Convert_v1alpha3_ServiceConfigObjConfig_To_v1beta2_ServiceConfigObjConfig(in *ServiceConfigObjConfig, out *v1beta2.ServiceConfigObjConfig, s conversion.Scope) error
Convert_v1alpha3_ServiceConfigObjConfig_To_v1beta2_ServiceConfigObjConfig is an autogenerated conversion function.
func Convert_v1alpha3_ServiceConfig_To_v1beta2_ServiceConfig ¶
func Convert_v1alpha3_ServiceConfig_To_v1beta2_ServiceConfig(in *ServiceConfig, out *v1beta2.ServiceConfig, s conversion.Scope) error
Convert_v1alpha3_ServiceConfig_To_v1beta2_ServiceConfig is an autogenerated conversion function.
func Convert_v1alpha3_ServicePortConfig_To_v1beta2_ServicePortConfig ¶
func Convert_v1alpha3_ServicePortConfig_To_v1beta2_ServicePortConfig(in *ServicePortConfig, out *v1beta2.ServicePortConfig, s conversion.Scope) error
Convert_v1alpha3_ServicePortConfig_To_v1beta2_ServicePortConfig is an autogenerated conversion function.
func Convert_v1alpha3_ServiceSecretConfig_To_v1beta2_ServiceSecretConfig ¶
func Convert_v1alpha3_ServiceSecretConfig_To_v1beta2_ServiceSecretConfig(in *ServiceSecretConfig, out *v1beta2.ServiceSecretConfig, s conversion.Scope) error
Convert_v1alpha3_ServiceSecretConfig_To_v1beta2_ServiceSecretConfig is an autogenerated conversion function.
func Convert_v1alpha3_ServiceVolumeConfig_To_v1beta2_ServiceVolumeConfig ¶
func Convert_v1alpha3_ServiceVolumeConfig_To_v1beta2_ServiceVolumeConfig(in *ServiceVolumeConfig, out *v1beta2.ServiceVolumeConfig, s conversion.Scope) error
Convert_v1alpha3_ServiceVolumeConfig_To_v1beta2_ServiceVolumeConfig is an autogenerated conversion function.
func Convert_v1alpha3_StackList_To_v1beta2_StackList ¶
func Convert_v1alpha3_StackList_To_v1beta2_StackList(in *StackList, out *v1beta2.StackList, s conversion.Scope) error
Convert_v1alpha3_StackList_To_v1beta2_StackList is an autogenerated conversion function.
func Convert_v1alpha3_StackSpec_To_v1beta2_StackSpec ¶
func Convert_v1alpha3_StackSpec_To_v1beta2_StackSpec(in *StackSpec, out *v1beta2.StackSpec, s conversion.Scope) error
Convert_v1alpha3_StackSpec_To_v1beta2_StackSpec is an autogenerated conversion function.
func Convert_v1alpha3_StackStatus_To_v1beta2_StackStatus ¶
func Convert_v1alpha3_StackStatus_To_v1beta2_StackStatus(in *StackStatus, out *v1beta2.StackStatus, s conversion.Scope) error
Convert_v1alpha3_StackStatus_To_v1beta2_StackStatus is an autogenerated conversion function.
func Convert_v1alpha3_Stack_To_v1beta2_Stack ¶
func Convert_v1alpha3_Stack_To_v1beta2_Stack(in *Stack, out *v1beta2.Stack, s conversion.Scope) error
Convert_v1alpha3_Stack_To_v1beta2_Stack is an autogenerated conversion function.
func Convert_v1alpha3_UpdateConfig_To_v1beta2_UpdateConfig ¶
func Convert_v1alpha3_UpdateConfig_To_v1beta2_UpdateConfig(in *UpdateConfig, out *v1beta2.UpdateConfig, s conversion.Scope) error
Convert_v1alpha3_UpdateConfig_To_v1beta2_UpdateConfig is an autogenerated conversion function.
func Convert_v1beta2_ComposeFile_To_v1alpha3_ComposeFile ¶
func Convert_v1beta2_ComposeFile_To_v1alpha3_ComposeFile(in *v1beta2.ComposeFile, out *ComposeFile, s conversion.Scope) error
Convert_v1beta2_ComposeFile_To_v1alpha3_ComposeFile is an autogenerated conversion function.
func Convert_v1beta2_ConfigObjConfig_To_v1alpha3_ConfigObjConfig ¶
func Convert_v1beta2_ConfigObjConfig_To_v1alpha3_ConfigObjConfig(in *v1beta2.ConfigObjConfig, out *ConfigObjConfig, s conversion.Scope) error
Convert_v1beta2_ConfigObjConfig_To_v1alpha3_ConfigObjConfig is an autogenerated conversion function.
func Convert_v1beta2_Constraint_To_v1alpha3_Constraint ¶
func Convert_v1beta2_Constraint_To_v1alpha3_Constraint(in *v1beta2.Constraint, out *Constraint, s conversion.Scope) error
Convert_v1beta2_Constraint_To_v1alpha3_Constraint is an autogenerated conversion function.
func Convert_v1beta2_Constraints_To_v1alpha3_Constraints ¶
func Convert_v1beta2_Constraints_To_v1alpha3_Constraints(in *v1beta2.Constraints, out *Constraints, s conversion.Scope) error
Convert_v1beta2_Constraints_To_v1alpha3_Constraints is an autogenerated conversion function.
func Convert_v1beta2_DeployConfig_To_v1alpha3_DeployConfig ¶
func Convert_v1beta2_DeployConfig_To_v1alpha3_DeployConfig(in *v1beta2.DeployConfig, out *DeployConfig, s conversion.Scope) error
Convert_v1beta2_DeployConfig_To_v1alpha3_DeployConfig is an autogenerated conversion function.
func Convert_v1beta2_External_To_v1alpha3_External ¶
func Convert_v1beta2_External_To_v1alpha3_External(in *v1beta2.External, out *External, s conversion.Scope) error
Convert_v1beta2_External_To_v1alpha3_External is an autogenerated conversion function.
func Convert_v1beta2_FileObjectConfig_To_v1alpha3_FileObjectConfig ¶
func Convert_v1beta2_FileObjectConfig_To_v1alpha3_FileObjectConfig(in *v1beta2.FileObjectConfig, out *FileObjectConfig, s conversion.Scope) error
Convert_v1beta2_FileObjectConfig_To_v1alpha3_FileObjectConfig is an autogenerated conversion function.
func Convert_v1beta2_FileReferenceConfig_To_v1alpha3_FileReferenceConfig ¶
func Convert_v1beta2_FileReferenceConfig_To_v1alpha3_FileReferenceConfig(in *v1beta2.FileReferenceConfig, out *FileReferenceConfig, s conversion.Scope) error
Convert_v1beta2_FileReferenceConfig_To_v1alpha3_FileReferenceConfig is an autogenerated conversion function.
func Convert_v1beta2_HealthCheckConfig_To_v1alpha3_HealthCheckConfig ¶
func Convert_v1beta2_HealthCheckConfig_To_v1alpha3_HealthCheckConfig(in *v1beta2.HealthCheckConfig, out *HealthCheckConfig, s conversion.Scope) error
Convert_v1beta2_HealthCheckConfig_To_v1alpha3_HealthCheckConfig is an autogenerated conversion function.
func Convert_v1beta2_Owner_To_v1alpha3_Owner ¶
func Convert_v1beta2_Owner_To_v1alpha3_Owner(in *v1beta2.Owner, out *Owner, s conversion.Scope) error
Convert_v1beta2_Owner_To_v1alpha3_Owner is an autogenerated conversion function.
func Convert_v1beta2_Placement_To_v1alpha3_Placement ¶
func Convert_v1beta2_Placement_To_v1alpha3_Placement(in *v1beta2.Placement, out *Placement, s conversion.Scope) error
Convert_v1beta2_Placement_To_v1alpha3_Placement is an autogenerated conversion function.
func Convert_v1beta2_Resource_To_v1alpha3_Resource ¶
func Convert_v1beta2_Resource_To_v1alpha3_Resource(in *v1beta2.Resource, out *Resource, s conversion.Scope) error
Convert_v1beta2_Resource_To_v1alpha3_Resource is an autogenerated conversion function.
func Convert_v1beta2_Resources_To_v1alpha3_Resources ¶
func Convert_v1beta2_Resources_To_v1alpha3_Resources(in *v1beta2.Resources, out *Resources, s conversion.Scope) error
Convert_v1beta2_Resources_To_v1alpha3_Resources is an autogenerated conversion function.
func Convert_v1beta2_RestartPolicy_To_v1alpha3_RestartPolicy ¶
func Convert_v1beta2_RestartPolicy_To_v1alpha3_RestartPolicy(in *v1beta2.RestartPolicy, out *RestartPolicy, s conversion.Scope) error
Convert_v1beta2_RestartPolicy_To_v1alpha3_RestartPolicy is an autogenerated conversion function.
func Convert_v1beta2_Scale_To_v1alpha3_Scale ¶
func Convert_v1beta2_Scale_To_v1alpha3_Scale(in *v1beta2.Scale, out *Scale, s conversion.Scope) error
Convert_v1beta2_Scale_To_v1alpha3_Scale is an autogenerated conversion function.
func Convert_v1beta2_SecretConfig_To_v1alpha3_SecretConfig ¶
func Convert_v1beta2_SecretConfig_To_v1alpha3_SecretConfig(in *v1beta2.SecretConfig, out *SecretConfig, s conversion.Scope) error
Convert_v1beta2_SecretConfig_To_v1alpha3_SecretConfig is an autogenerated conversion function.
func Convert_v1beta2_ServiceConfigObjConfig_To_v1alpha3_ServiceConfigObjConfig ¶
func Convert_v1beta2_ServiceConfigObjConfig_To_v1alpha3_ServiceConfigObjConfig(in *v1beta2.ServiceConfigObjConfig, out *ServiceConfigObjConfig, s conversion.Scope) error
Convert_v1beta2_ServiceConfigObjConfig_To_v1alpha3_ServiceConfigObjConfig is an autogenerated conversion function.
func Convert_v1beta2_ServiceConfig_To_v1alpha3_ServiceConfig ¶
func Convert_v1beta2_ServiceConfig_To_v1alpha3_ServiceConfig(in *v1beta2.ServiceConfig, out *ServiceConfig, s conversion.Scope) error
Convert_v1beta2_ServiceConfig_To_v1alpha3_ServiceConfig is an autogenerated conversion function.
func Convert_v1beta2_ServicePortConfig_To_v1alpha3_ServicePortConfig ¶
func Convert_v1beta2_ServicePortConfig_To_v1alpha3_ServicePortConfig(in *v1beta2.ServicePortConfig, out *ServicePortConfig, s conversion.Scope) error
Convert_v1beta2_ServicePortConfig_To_v1alpha3_ServicePortConfig is an autogenerated conversion function.
func Convert_v1beta2_ServiceSecretConfig_To_v1alpha3_ServiceSecretConfig ¶
func Convert_v1beta2_ServiceSecretConfig_To_v1alpha3_ServiceSecretConfig(in *v1beta2.ServiceSecretConfig, out *ServiceSecretConfig, s conversion.Scope) error
Convert_v1beta2_ServiceSecretConfig_To_v1alpha3_ServiceSecretConfig is an autogenerated conversion function.
func Convert_v1beta2_ServiceVolumeConfig_To_v1alpha3_ServiceVolumeConfig ¶
func Convert_v1beta2_ServiceVolumeConfig_To_v1alpha3_ServiceVolumeConfig(in *v1beta2.ServiceVolumeConfig, out *ServiceVolumeConfig, s conversion.Scope) error
Convert_v1beta2_ServiceVolumeConfig_To_v1alpha3_ServiceVolumeConfig is an autogenerated conversion function.
func Convert_v1beta2_StackList_To_v1alpha3_StackList ¶
func Convert_v1beta2_StackList_To_v1alpha3_StackList(in *v1beta2.StackList, out *StackList, s conversion.Scope) error
Convert_v1beta2_StackList_To_v1alpha3_StackList is an autogenerated conversion function.
func Convert_v1beta2_StackSpec_To_v1alpha3_StackSpec ¶
func Convert_v1beta2_StackSpec_To_v1alpha3_StackSpec(in *v1beta2.StackSpec, out *StackSpec, s conversion.Scope) error
Convert_v1beta2_StackSpec_To_v1alpha3_StackSpec is an autogenerated conversion function.
func Convert_v1beta2_StackStatus_To_v1alpha3_StackStatus ¶
func Convert_v1beta2_StackStatus_To_v1alpha3_StackStatus(in *v1beta2.StackStatus, out *StackStatus, s conversion.Scope) error
Convert_v1beta2_StackStatus_To_v1alpha3_StackStatus is an autogenerated conversion function.
func Convert_v1beta2_Stack_To_v1alpha3_Stack ¶
func Convert_v1beta2_Stack_To_v1alpha3_Stack(in *v1beta2.Stack, out *Stack, s conversion.Scope) error
Convert_v1beta2_Stack_To_v1alpha3_Stack is an autogenerated conversion function.
func Convert_v1beta2_UpdateConfig_To_v1alpha3_UpdateConfig ¶
func Convert_v1beta2_UpdateConfig_To_v1alpha3_UpdateConfig(in *v1beta2.UpdateConfig, out *UpdateConfig, s conversion.Scope) error
Convert_v1beta2_UpdateConfig_To_v1alpha3_UpdateConfig is an autogenerated conversion function.
func GroupResource ¶
func GroupResource(resource string) schema.GroupResource
GroupResource takes an unqualified resource and returns a Group qualified GroupResource
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
Types ¶
type ComposeFile ¶
type ComposeFile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` ComposeFile string `json:"composeFile,omitempty"` }
ComposeFile is the content of a stack's compose file if any
func (*ComposeFile) DeepCopyObject ¶
func (c *ComposeFile) DeepCopyObject() runtime.Object
DeepCopyObject clones the ComposeFile
type ConfigObjConfig ¶
type ConfigObjConfig FileObjectConfig
ConfigObjConfig is the config for the swarm "Config" object +k8s:deepcopy-gen=true
func (*ConfigObjConfig) DeepCopy ¶
func (in *ConfigObjConfig) DeepCopy() *ConfigObjConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigObjConfig.
func (*ConfigObjConfig) DeepCopyInto ¶
func (in *ConfigObjConfig) DeepCopyInto(out *ConfigObjConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Constraint ¶
Constraint defines a constraint and it's operator (== or !=) +k8s:deepcopy-gen=true
func (*Constraint) DeepCopy ¶
func (in *Constraint) DeepCopy() *Constraint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Constraint.
func (*Constraint) DeepCopyInto ¶
func (in *Constraint) DeepCopyInto(out *Constraint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Constraints ¶
type Constraints struct { OperatingSystem *Constraint Architecture *Constraint Hostname *Constraint MatchLabels map[string]Constraint }
Constraints lists constraints that can be set on the service +k8s:deepcopy-gen=true
func (*Constraints) DeepCopy ¶
func (in *Constraints) DeepCopy() *Constraints
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Constraints.
func (*Constraints) DeepCopyInto ¶
func (in *Constraints) DeepCopyInto(out *Constraints)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployConfig ¶
type DeployConfig struct { Mode string `json:"mode,omitempty"` Replicas *uint64 `json:"replicas,omitempty"` Labels map[string]string `json:"labels,omitempty"` UpdateConfig *UpdateConfig `json:"update_config,omitempty"` Resources Resources `json:"resources,omitempty"` RestartPolicy *RestartPolicy `json:"restart_policy,omitempty"` Placement Placement `json:"placement,omitempty"` }
DeployConfig is the deployment configuration for a service +k8s:deepcopy-gen=true
func (*DeployConfig) DeepCopy ¶
func (in *DeployConfig) DeepCopy() *DeployConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployConfig.
func (*DeployConfig) DeepCopyInto ¶
func (in *DeployConfig) DeepCopyInto(out *DeployConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type External ¶
type External struct { Name string `json:"name,omitempty"` External bool `json:"external,omitempty"` }
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 +k8s:deepcopy-gen=true
func (*External) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new External.
func (*External) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileObjectConfig ¶
type FileObjectConfig struct { Name string `json:"name,omitempty"` File string `json:"file,omitempty"` External External `json:"external,omitempty"` Labels map[string]string `json:"labels,omitempty"` }
FileObjectConfig is a config type for a file used by a service +k8s:deepcopy-gen=true
func (*FileObjectConfig) DeepCopy ¶
func (in *FileObjectConfig) DeepCopy() *FileObjectConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileObjectConfig.
func (*FileObjectConfig) DeepCopyInto ¶
func (in *FileObjectConfig) DeepCopyInto(out *FileObjectConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileReferenceConfig ¶
type FileReferenceConfig struct { Source string `json:"source,omitempty"` Target string `json:"target,omitempty"` UID string `json:"uid,omitempty"` GID string `json:"gid,omitempty"` Mode *uint32 `json:"mode,omitempty"` }
FileReferenceConfig for a reference to a swarm file object +k8s:deepcopy-gen=true
func (*FileReferenceConfig) DeepCopy ¶
func (in *FileReferenceConfig) DeepCopy() *FileReferenceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileReferenceConfig.
func (*FileReferenceConfig) DeepCopyInto ¶
func (in *FileReferenceConfig) DeepCopyInto(out *FileReferenceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HealthCheckConfig ¶
type HealthCheckConfig struct { Test []string `json:"test,omitempty"` Timeout *time.Duration `json:"timeout,omitempty"` Interval *time.Duration `json:"interval,omitempty"` Retries *uint64 `json:"retries,omitempty"` }
HealthCheckConfig the healthcheck configuration for a service +k8s:deepcopy-gen=true
func (*HealthCheckConfig) DeepCopy ¶
func (in *HealthCheckConfig) DeepCopy() *HealthCheckConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheckConfig.
func (*HealthCheckConfig) DeepCopyInto ¶
func (in *HealthCheckConfig) DeepCopyInto(out *HealthCheckConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Owner ¶
type Owner struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Owner impersonation.Config `json:"owner,omitempty"` }
Owner describes the user who created the stack
func (*Owner) DeepCopyObject ¶
DeepCopyObject clones the owner
type Placement ¶
type Placement struct {
Constraints *Constraints `json:"constraints,omitempty"`
}
Placement constraints for the service +k8s:deepcopy-gen=true
func (*Placement) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Placement.
func (*Placement) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resource ¶
type Resource struct { NanoCPUs string `json:"cpus,omitempty"` MemoryBytes int64 `json:"memory,omitempty"` }
Resource is a resource to be limited or reserved +k8s:deepcopy-gen=true
func (*Resource) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource.
func (*Resource) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resources ¶
type Resources struct { Limits *Resource `json:"limits,omitempty"` Reservations *Resource `json:"reservations,omitempty"` }
Resources the resource limits and reservations +k8s:deepcopy-gen=true
func (*Resources) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.
func (*Resources) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestartPolicy ¶
type RestartPolicy struct {
Condition string `json:"condition,omitempty"`
}
RestartPolicy is the service restart policy +k8s:deepcopy-gen=true
func (*RestartPolicy) DeepCopy ¶
func (in *RestartPolicy) DeepCopy() *RestartPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestartPolicy.
func (*RestartPolicy) DeepCopyInto ¶
func (in *RestartPolicy) DeepCopyInto(out *RestartPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Scale ¶
type Scale struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec map[string]int `json:"spec,omitempty"` Status map[string]int `json:"status,omitempty"` }
Scale contains the current/desired replica count for services in a stack.
func (*Scale) DeepCopyObject ¶
DeepCopyObject clones the scale
type SecretConfig ¶
type SecretConfig FileObjectConfig
SecretConfig for a secret +k8s:deepcopy-gen=true
func (*SecretConfig) DeepCopy ¶
func (in *SecretConfig) DeepCopy() *SecretConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretConfig.
func (*SecretConfig) DeepCopyInto ¶
func (in *SecretConfig) DeepCopyInto(out *SecretConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceConfig ¶
type ServiceConfig struct { Name string `json:"name,omitempty"` CapAdd []string `json:"cap_add,omitempty"` CapDrop []string `json:"cap_drop,omitempty"` Command []string `json:"command,omitempty"` Configs []ServiceConfigObjConfig `json:"configs,omitempty"` Deploy DeployConfig `json:"deploy,omitempty"` Entrypoint []string `json:"entrypoint,omitempty"` Environment map[string]*string `json:"environment,omitempty"` ExtraHosts []string `json:"extra_hosts,omitempty"` Hostname string `json:"hostname,omitempty"` HealthCheck *HealthCheckConfig `json:"health_check,omitempty"` Image string `json:"image,omitempty"` Ipc string `json:"ipc,omitempty"` Labels map[string]string `json:"labels,omitempty"` Pid string `json:"pid,omitempty"` Ports []ServicePortConfig `json:"ports,omitempty"` Privileged bool `json:"privileged,omitempty"` ReadOnly bool `json:"read_only,omitempty"` Secrets []ServiceSecretConfig `json:"secrets,omitempty"` StdinOpen bool `json:"stdin_open,omitempty"` StopGracePeriod *time.Duration `json:"stop_grace_period,omitempty"` Tmpfs []string `json:"tmpfs,omitempty"` Tty bool `json:"tty,omitempty"` User *int64 `json:"user,omitempty"` Volumes []ServiceVolumeConfig `json:"volumes,omitempty"` WorkingDir string `json:"working_dir,omitempty"` PullSecret string `json:"pull_secret,omitempty"` PullPolicy string `json:"pull_policy,omitempty"` }
ServiceConfig is the configuration of one service +k8s:deepcopy-gen=true
func (*ServiceConfig) DeepCopy ¶
func (in *ServiceConfig) DeepCopy() *ServiceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceConfig.
func (*ServiceConfig) DeepCopyInto ¶
func (in *ServiceConfig) DeepCopyInto(out *ServiceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceConfigObjConfig ¶
type ServiceConfigObjConfig FileReferenceConfig
ServiceConfigObjConfig is the config obj configuration for a service +k8s:deepcopy-gen=true
func (*ServiceConfigObjConfig) DeepCopy ¶
func (in *ServiceConfigObjConfig) DeepCopy() *ServiceConfigObjConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceConfigObjConfig.
func (*ServiceConfigObjConfig) DeepCopyInto ¶
func (in *ServiceConfigObjConfig) DeepCopyInto(out *ServiceConfigObjConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServicePortConfig ¶
type ServicePortConfig struct { Mode string `json:"mode,omitempty"` Target uint32 `json:"target,omitempty"` Published uint32 `json:"published,omitempty"` Protocol string `json:"protocol,omitempty"` }
ServicePortConfig is the port configuration for a service +k8s:deepcopy-gen=true
func (*ServicePortConfig) DeepCopy ¶
func (in *ServicePortConfig) DeepCopy() *ServicePortConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePortConfig.
func (*ServicePortConfig) DeepCopyInto ¶
func (in *ServicePortConfig) DeepCopyInto(out *ServicePortConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceSecretConfig ¶
type ServiceSecretConfig FileReferenceConfig
ServiceSecretConfig is the secret configuration for a service +k8s:deepcopy-gen=true
func (*ServiceSecretConfig) DeepCopy ¶
func (in *ServiceSecretConfig) DeepCopy() *ServiceSecretConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSecretConfig.
func (*ServiceSecretConfig) DeepCopyInto ¶
func (in *ServiceSecretConfig) DeepCopyInto(out *ServiceSecretConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceVolumeConfig ¶
type ServiceVolumeConfig struct { Type string `json:"type,omitempty"` Source string `json:"source,omitempty"` Target string `json:"target,omitempty"` ReadOnly bool `json:"read_only,omitempty"` }
ServiceVolumeConfig are references to a volume used by a service +k8s:deepcopy-gen=true
func (*ServiceVolumeConfig) DeepCopy ¶
func (in *ServiceVolumeConfig) DeepCopy() *ServiceVolumeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceVolumeConfig.
func (*ServiceVolumeConfig) DeepCopyInto ¶
func (in *ServiceVolumeConfig) DeepCopyInto(out *ServiceVolumeConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Stack ¶
type Stack struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec *StackSpec `json:"spec,omitempty"` Status *StackStatus `json:"status,omitempty"` }
Stack is v1alpha3's representation of a Stack
func (*Stack) DeepCopyObject ¶
DeepCopyObject clones the stack
type StackList ¶
type StackList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Stack `json:"items" protobuf:"bytes,2,rep,name=items"` }
StackList is a list of stacks
func (*StackList) DeepCopyObject ¶
DeepCopyObject clones the stack list
type StackPhase ¶
type StackPhase string
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 StackSpec ¶
type StackSpec struct { Services []ServiceConfig `json:"services,omitempty"` Secrets map[string]SecretConfig `json:"secrets,omitempty"` Configs map[string]ConfigObjConfig `json:"configs,omitempty"` }
StackSpec defines the desired state of Stack +k8s:deepcopy-gen=true
func (*StackSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackSpec.
func (*StackSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackStatus ¶
type StackStatus struct { // Current condition of the stack. // +optional Phase StackPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=StackPhase"` // A human readable message indicating details about the stack. // +optional Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"` }
StackStatus defines the observed state of Stack
type UpdateConfig ¶
type UpdateConfig struct {
Parallelism *uint64 `json:"paralellism,omitempty"`
}
UpdateConfig is the service update configuration +k8s:deepcopy-gen=true
func (*UpdateConfig) DeepCopy ¶
func (in *UpdateConfig) DeepCopy() *UpdateConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateConfig.
func (*UpdateConfig) DeepCopyInto ¶
func (in *UpdateConfig) DeepCopyInto(out *UpdateConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.