Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the forensics v1alpha1 API group +kubebuilder:object:generate=true +groupName=forensics.keikoproj.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "forensics.keikoproj.io", 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 PodCheckpoint ¶
type PodCheckpoint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PodCheckpointSpec `json:"spec,omitempty"` Status PodCheckpointStatus `json:"status,omitempty"` }
PodCheckpoint is the Schema for the podcheckpoints API
func (*PodCheckpoint) DeepCopy ¶
func (in *PodCheckpoint) DeepCopy() *PodCheckpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCheckpoint.
func (*PodCheckpoint) DeepCopyInto ¶
func (in *PodCheckpoint) DeepCopyInto(out *PodCheckpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodCheckpoint) DeepCopyObject ¶
func (in *PodCheckpoint) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodCheckpointCondition ¶
type PodCheckpointCondition struct { // Type of job condition, Complete or Failed. Type PodCheckpointConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=PodCheckpointConditionType"` // Status of the condition, one of True, False, Unknown. Status corev1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"` // Last time the condition was checked. // +optional LastProbeTime metav1.Time `json:"lastProbeTime,omitempty" protobuf:"bytes,3,opt,name=lastProbeTime"` // Last time the condition transit from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"` // (brief) reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"` // Human readable message indicating details about last transition. // +optional Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` }
PodCheckpointCondition describes current state of a PodCheckpoint.
func (*PodCheckpointCondition) DeepCopy ¶
func (in *PodCheckpointCondition) DeepCopy() *PodCheckpointCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCheckpointCondition.
func (*PodCheckpointCondition) DeepCopyInto ¶
func (in *PodCheckpointCondition) DeepCopyInto(out *PodCheckpointCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodCheckpointConditionType ¶
type PodCheckpointConditionType string
PodCheckpointConditionType is used to define valid conditions.
const ( // JobComplete means the job has completed its execution. PodCheckpointComplete PodCheckpointConditionType = "Complete" // JobFailed means the job has failed its execution. PodCheckpointFailed PodCheckpointConditionType = "Failed" )
These are valid conditions of a PodCheckpoint.
type PodCheckpointList ¶
type PodCheckpointList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PodCheckpoint `json:"items"` }
PodCheckpointList contains a list of PodCheckpoint
func (*PodCheckpointList) DeepCopy ¶
func (in *PodCheckpointList) DeepCopy() *PodCheckpointList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCheckpointList.
func (*PodCheckpointList) DeepCopyInto ¶
func (in *PodCheckpointList) DeepCopyInto(out *PodCheckpointList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodCheckpointList) DeepCopyObject ¶
func (in *PodCheckpointList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodCheckpointSpec ¶
type PodCheckpointSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Subpath string `json:"subpath,omitempty"` Destination string `json:"destination,omitempty"` Pod string `json:"pod,omitempty"` Namespace string `json:"namespace,omitempty"` }
PodCheckpointSpec defines the desired state of PodCheckpoint
func (*PodCheckpointSpec) DeepCopy ¶
func (in *PodCheckpointSpec) DeepCopy() *PodCheckpointSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCheckpointSpec.
func (*PodCheckpointSpec) DeepCopyInto ¶
func (in *PodCheckpointSpec) DeepCopyInto(out *PodCheckpointSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodCheckpointStatus ¶
type PodCheckpointStatus struct { // The latest available observations of an object's current state. // More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ // +optional // +patchMergeKey=type // +patchStrategy=merge Conditions []PodCheckpointCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // Represents time when the job was acknowledged by the job controller. // It is not guaranteed to be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,2,opt,name=startTime"` // Represents time when the job was completed. It is not guaranteed to // be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional CompletionTime *metav1.Time `json:"completionTime,omitempty" protobuf:"bytes,3,opt,name=completionTime"` // The number of actively running jobs. // +optional Active int32 `json:"active,omitempty" protobuf:"varint,4,opt,name=active"` // The number of jobs which reached phase Succeeded. // +optional Succeeded int32 `json:"succeeded,omitempty" protobuf:"varint,5,opt,name=succeeded"` // The number of jobs which reached phase Failed. // +optional Failed int32 `json:"failed,omitempty" protobuf:"varint,6,opt,name=failed"` }
PodCheckpointStatus defines the observed state of PodCheckpoint
func (*PodCheckpointStatus) DeepCopy ¶
func (in *PodCheckpointStatus) DeepCopy() *PodCheckpointStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCheckpointStatus.
func (*PodCheckpointStatus) DeepCopyInto ¶
func (in *PodCheckpointStatus) DeepCopyInto(out *PodCheckpointStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.