Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the apps v1alpha1 API group +kubebuilder:object:generate=true +groupName=ror.nhn.no
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "ror.nhn.no", 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 Task ¶
type Task struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec apicontracts.OperatorJob `json:"spec,omitempty"` Status TaskStatus `json:"status,omitempty"` }
Task is the Schema for the tasks API
func (*Task) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Task.
func (*Task) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Task) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TaskFailure ¶
func (*TaskFailure) DeepCopy ¶
func (in *TaskFailure) DeepCopy() *TaskFailure
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskFailure.
func (*TaskFailure) DeepCopyInto ¶
func (in *TaskFailure) DeepCopyInto(out *TaskFailure)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskList ¶
type TaskList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Task `json:"items"` }
TaskList contains a list of Task
func (*TaskList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskList.
func (*TaskList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TaskList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TaskStatus ¶
type TaskStatus struct { // +kubebuilder:validation:Optional Success *TaskSuccess `json:"success"` // +kubebuilder:validation:Optional Failure *TaskFailure `json:"failure"` Phase Phase `json:"phase"` }
TaskStatus defines the observed state of Task
func (*TaskStatus) DeepCopy ¶
func (in *TaskStatus) DeepCopy() *TaskStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskStatus.
func (*TaskStatus) DeepCopyInto ¶
func (in *TaskStatus) DeepCopyInto(out *TaskStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskSuccess ¶
type TaskSuccess struct { Timestamp metav1.Time `json:"timestamp"` ConfigMd5 string `json:"configMd5"` }
func (*TaskSuccess) DeepCopy ¶
func (in *TaskSuccess) DeepCopy() *TaskSuccess
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskSuccess.
func (*TaskSuccess) DeepCopyInto ¶
func (in *TaskSuccess) DeepCopyInto(out *TaskSuccess)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.