Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "chaosapps.metamagical.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ChaosPod ¶
type ChaosPod struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ChaosPodSpec `json:"spec,omitempty"` Status ChaosPodStatus `json:"status,omitempty"` }
ChaosPod is the Schema for the randomjobs API +kubebuilder:printcolumn:name="next stop",type="string",JSONPath=".spec.nextStop",format="date" +kubebuilder:printcolumn:name="last run",type="string",JSONPath=".status.lastRun",format="date" +k8s:openapi-gen=true
func (*ChaosPod) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChaosPod.
func (*ChaosPod) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ChaosPod) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ChaosPod) Default ¶
func (c *ChaosPod) Default()
Default implements webhookutil.defaulter so a webhook will be registered for the type
func (*ChaosPod) ValidateCreate ¶
ValidateCreate implements webhookutil.validator so a webhook will be registered for the type
type ChaosPodList ¶
type ChaosPodList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ChaosPod `json:"items"` }
ChaosPodList contains a list of ChaosPod
func (*ChaosPodList) DeepCopy ¶
func (in *ChaosPodList) DeepCopy() *ChaosPodList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChaosPodList.
func (*ChaosPodList) DeepCopyInto ¶
func (in *ChaosPodList) DeepCopyInto(out *ChaosPodList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ChaosPodList) DeepCopyObject ¶
func (in *ChaosPodList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ChaosPodSpec ¶
type ChaosPodSpec struct { Template corev1.PodTemplateSpec `json:"template"` // +optional NextStop metav1.Time `json:"nextStop,omitempty"` }
ChaosPodSpec defines the desired state of ChaosPod
func (*ChaosPodSpec) DeepCopy ¶
func (in *ChaosPodSpec) DeepCopy() *ChaosPodSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChaosPodSpec.
func (*ChaosPodSpec) DeepCopyInto ¶
func (in *ChaosPodSpec) DeepCopyInto(out *ChaosPodSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChaosPodStatus ¶
ChaosPodStatus defines the observed state of ChaosPod. It should always be reconstructable from the state of the cluster and/or outside world.
func (*ChaosPodStatus) DeepCopy ¶
func (in *ChaosPodStatus) DeepCopy() *ChaosPodStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChaosPodStatus.
func (*ChaosPodStatus) DeepCopyInto ¶
func (in *ChaosPodStatus) DeepCopyInto(out *ChaosPodStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.