Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the cnat v1alpha1 API group +kubebuilder:object:generate=true +groupName=cnat.programming-kubernetes.info
Index ¶
Constants ¶
const ( PhasePending = "PENDING" PhaseRunning = "RUNNING" PhaseDone = "DONE" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cnat.programming-kubernetes.info", 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 At ¶
type At struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AtSpec `json:"spec,omitempty"` Status AtStatus `json:"status,omitempty"` }
At is the Schema for the ats API
func (*At) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new At.
func (*At) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*At) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AtList ¶
type AtList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []At `json:"items"` }
AtList contains a list of At
func (*AtList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AtList.
func (*AtList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AtList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AtSpec ¶
type AtSpec struct { Schedule string `json:"schedule,omitempty"` // Command is the desired command (executed in a Bash shell) to be executed. Command string `json:"command,omitempty"` }
AtSpec defines the desired state of At
func (*AtSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AtSpec.
func (*AtSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AtStatus ¶
type AtStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file // it is PENDING, afterwards it is DONE. Phase string `json:"phase,omitempty"` }
AtStatus defines the observed state of At
func (*AtStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AtStatus.
func (*AtStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.