Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the workloads v1 API group +kubebuilder:object:generate=true +groupName=workloads.operator.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "workloads.operator.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ContainerSpec `json:"spec,omitempty"` Status ContainerStatus `json:"status,omitempty"` }
Container is the Schema for the containers API
func (*Container) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
func (*Container) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Container) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ContainerList ¶
type ContainerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Container `json:"items"` }
ContainerList contains a list of Container
func (*ContainerList) DeepCopy ¶
func (in *ContainerList) DeepCopy() *ContainerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerList.
func (*ContainerList) DeepCopyInto ¶
func (in *ContainerList) DeepCopyInto(out *ContainerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerList) DeepCopyObject ¶
func (in *ContainerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ContainerSpec ¶
type ContainerSpec struct { // The number of replicas that the deployment should have // +optional Replicas *int32 `json:"replicas,omitempty"` // Image is the Docker image of the App. //+kubebuilder:default="nginx:latest" Image string `json:"image"` // Host where the application is accessible. Host string `json:"host"` // Port where the application is accessible. // +kubebuilder:default=80 Port int32 `json:"port,omitempty"` // ClusterIssuer Certificate manager cluster-issuer name //+optional //+kubebuilder:default="letsencrypt" ClusterIssuer string `json:"clusterIssuer"` }
ContainerSpec defines the desired state of Container
func (*ContainerSpec) DeepCopy ¶
func (in *ContainerSpec) DeepCopy() *ContainerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerSpec.
func (*ContainerSpec) DeepCopyInto ¶
func (in *ContainerSpec) DeepCopyInto(out *ContainerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerStatus ¶
type ContainerStatus struct { }
ContainerStatus defines the observed state of Container
func (*ContainerStatus) DeepCopy ¶
func (in *ContainerStatus) DeepCopy() *ContainerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus.
func (*ContainerStatus) DeepCopyInto ¶
func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.