Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=core.linuxsuren.github.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "core.linuxsuren.github.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 ATest ¶
type ATest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ATestSpec `json:"spec,omitempty"` Status ATestStatus `json:"status,omitempty"` }
ATest is the Schema for the atests API
func (*ATest) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ATest.
func (*ATest) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ATest) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ATestList ¶
type ATestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ATest `json:"items"` }
ATestList contains a list of ATest
func (*ATestList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ATestList.
func (*ATestList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ATestList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ATestSpec ¶
type ATestSpec struct { Image string `json:"image,omitempty"` Version string `json:"version,omitempty"` Replicas *int32 `json:"replicas,omitempty"` Persistent *Persistent `json:"persistent,omitempty"` ServiceType corev1.ServiceType `json:"serviceType,omitempty"` }
ATestSpec defines the desired state of ATest
func (*ATestSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ATestSpec.
func (*ATestSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ATestStatus ¶
type ATestStatus struct { }
ATestStatus defines the observed state of ATest
func (*ATestStatus) DeepCopy ¶
func (in *ATestStatus) DeepCopy() *ATestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ATestStatus.
func (*ATestStatus) DeepCopyInto ¶
func (in *ATestStatus) DeepCopyInto(out *ATestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Persistent ¶
type Persistent struct { Enabled bool `json:"enabled,omitempty"` StorageClass *string `json:"storageClass,omitempty"` }
Persistent defines the persistent volume claim
func (*Persistent) DeepCopy ¶
func (in *Persistent) DeepCopy() *Persistent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Persistent.
func (*Persistent) DeepCopyInto ¶
func (in *Persistent) DeepCopyInto(out *Persistent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.