Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the mygroup v1alpha1 API group +kubebuilder:object:generate=true +groupName=mygroup.mesh.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "mygroup.mesh.com", Version: "v1alpha1"} // 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 MyApp ¶
type MyApp struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MyAppSpec `json:"spec,omitempty"` Status MyAppStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status
func (*MyApp) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyApp.
func (*MyApp) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MyApp) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MyAppSpec ¶
type MyAppSpec struct { FrontendImage string `json:"frontendImage"` BackendImage string `json:"backendImage"` AppImage string `json:"appImage"` }
MyAppSpec defines the desired state of MyApp
func (*MyAppSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyAppSpec.
func (*MyAppSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MyAppStatus ¶
type MyAppStatus struct { FrontendDeploymentStatus string `json:"frontendDeploymentStatus,omitempty"` BackendDeploymentStatus string `json:"backendDeploymentStatus,omitempty"` AppDeploymentStatus string `json:"appDeploymentStatus,omitempty"` }
MyAppStatus defines the observed state of MyApp
func (*MyAppStatus) DeepCopy ¶
func (in *MyAppStatus) DeepCopy() *MyAppStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyAppStatus.
func (*MyAppStatus) DeepCopyInto ¶
func (in *MyAppStatus) DeepCopyInto(out *MyAppStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.