Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=godzilla-chaos.io
Index ¶
- Constants
- Variables
- type ChaosStep
- type ChaosStepSnapshot
- type GodzillaJob
- type GodzillaJobList
- type GodzillaJobSnapshot
- type GodzillaJobSnapshotList
- type GodzillaJobSnapshotSpec
- type GodzillaJobSnapshotStatus
- type GodzillaJobSpec
- type GodzillaJobStatus
- type GodzillaType
- type JobStatus
- type LitmusType
Constants ¶
const ( LitmusPodDelete LitmusType = "litmus-pod-delete" LitmusPodIoStress LitmusType = "litmus-pod-io-stress" LitmusContainerKill LitmusType = "litmus-container-kill" LitmusPodMemoryStress LitmusType = "litmus-pod-memory-stress" LitmusPodCpuStress LitmusType = "litmus-pod-cpu-stress" GodzillaPodNetworkDelay GodzillaType = "godzilla-pod-network-delay" GodzillaPodNetworkCorruption GodzillaType = "godzilla-pod-network-corruption" GodzillaPodNetworkLoss GodzillaType = "godzilla-pod-network-loss" GodzillaPodNetworkDuplicate GodzillaType = "godzilla-pod-network-duplicate" GodzillaPodNetworkReorder GodzillaType = "godzilla-pod-network-reorder" GodzillaPodAutoscaler GodzillaType = "godzilla-pod-autoscaler" GodzillaPodDiskFill GodzillaType = "godzilla-pod-disk-fill" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "godzilla-chaos.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 ChaosStep ¶
type ChaosStep struct { Name string `json:"name"` Type string `json:"type"` Config map[string]string `json:"config"` Image string `json:"image,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty"` }
func (*ChaosStep) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChaosStep.
func (*ChaosStep) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChaosStepSnapshot ¶
type ChaosStepSnapshot struct { Name string `json:"name"` Type string `json:"type"` Config map[string]string `json:"config"` Image string `json:"image,omitempty"` ServiceAccountName string `json:"serviceAccountName"` Status JobStatus `json:"status,omitempty"` FailedReason string `json:"failedReason,omitempty"` }
func (*ChaosStepSnapshot) DeepCopy ¶
func (in *ChaosStepSnapshot) DeepCopy() *ChaosStepSnapshot
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChaosStepSnapshot.
func (*ChaosStepSnapshot) DeepCopyInto ¶
func (in *ChaosStepSnapshot) DeepCopyInto(out *ChaosStepSnapshot)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GodzillaJob ¶
type GodzillaJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GodzillaJobSpec `json:"spec,omitempty"` Status GodzillaJobStatus `json:"status,omitempty"` }
GodzillaJob is the Schema for the godzillajobs API
func (*GodzillaJob) DeepCopy ¶
func (in *GodzillaJob) DeepCopy() *GodzillaJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GodzillaJob.
func (*GodzillaJob) DeepCopyInto ¶
func (in *GodzillaJob) DeepCopyInto(out *GodzillaJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GodzillaJob) DeepCopyObject ¶
func (in *GodzillaJob) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GodzillaJobList ¶
type GodzillaJobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []GodzillaJob `json:"items"` }
GodzillaJobList contains a list of GodzillaJob
func (*GodzillaJobList) DeepCopy ¶
func (in *GodzillaJobList) DeepCopy() *GodzillaJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GodzillaJobList.
func (*GodzillaJobList) DeepCopyInto ¶
func (in *GodzillaJobList) DeepCopyInto(out *GodzillaJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GodzillaJobList) DeepCopyObject ¶
func (in *GodzillaJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GodzillaJobSnapshot ¶
type GodzillaJobSnapshot struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GodzillaJobSnapshotSpec `json:"spec,omitempty"` Status GodzillaJobSnapshotStatus `json:"status,omitempty"` }
GodzillaJobSnapshot is the Schema for the godzillajobsnapshots API
func (*GodzillaJobSnapshot) DeepCopy ¶
func (in *GodzillaJobSnapshot) DeepCopy() *GodzillaJobSnapshot
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GodzillaJobSnapshot.
func (*GodzillaJobSnapshot) DeepCopyInto ¶
func (in *GodzillaJobSnapshot) DeepCopyInto(out *GodzillaJobSnapshot)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GodzillaJobSnapshot) DeepCopyObject ¶
func (in *GodzillaJobSnapshot) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GodzillaJobSnapshotList ¶
type GodzillaJobSnapshotList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []GodzillaJobSnapshot `json:"items"` }
GodzillaJobSnapshotList contains a list of GodzillaJobSnapshot
func (*GodzillaJobSnapshotList) DeepCopy ¶
func (in *GodzillaJobSnapshotList) DeepCopy() *GodzillaJobSnapshotList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GodzillaJobSnapshotList.
func (*GodzillaJobSnapshotList) DeepCopyInto ¶
func (in *GodzillaJobSnapshotList) DeepCopyInto(out *GodzillaJobSnapshotList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GodzillaJobSnapshotList) DeepCopyObject ¶
func (in *GodzillaJobSnapshotList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GodzillaJobSnapshotSpec ¶
type GodzillaJobSnapshotSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Steps [][]ChaosStepSnapshot `json:"steps"` }
GodzillaJobSnapshotSpec defines the desired state of GodzillaJobSnapshot
func (*GodzillaJobSnapshotSpec) DeepCopy ¶
func (in *GodzillaJobSnapshotSpec) DeepCopy() *GodzillaJobSnapshotSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GodzillaJobSnapshotSpec.
func (*GodzillaJobSnapshotSpec) DeepCopyInto ¶
func (in *GodzillaJobSnapshotSpec) DeepCopyInto(out *GodzillaJobSnapshotSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GodzillaJobSnapshotStatus ¶
type GodzillaJobSnapshotStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file JobStatus JobStatus `json:"jobStatus"` FailedReason string `json:"failedReason,omitempty"` }
GodzillaJobSnapshotStatus defines the observed state of GodzillaJobSnapshot
func (*GodzillaJobSnapshotStatus) DeepCopy ¶
func (in *GodzillaJobSnapshotStatus) DeepCopy() *GodzillaJobSnapshotStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GodzillaJobSnapshotStatus.
func (*GodzillaJobSnapshotStatus) DeepCopyInto ¶
func (in *GodzillaJobSnapshotStatus) DeepCopyInto(out *GodzillaJobSnapshotStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GodzillaJobSpec ¶
type GodzillaJobSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Steps [][]ChaosStep `json:"steps"` }
GodzillaJobSpec defines the desired state of GodzillaJob
func (*GodzillaJobSpec) DeepCopy ¶
func (in *GodzillaJobSpec) DeepCopy() *GodzillaJobSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GodzillaJobSpec.
func (*GodzillaJobSpec) DeepCopyInto ¶
func (in *GodzillaJobSpec) DeepCopyInto(out *GodzillaJobSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GodzillaJobStatus ¶
type GodzillaJobStatus struct { }
GodzillaJobStatus defines the observed state of GodzillaJob
func (*GodzillaJobStatus) DeepCopy ¶
func (in *GodzillaJobStatus) DeepCopy() *GodzillaJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GodzillaJobStatus.
func (*GodzillaJobStatus) DeepCopyInto ¶
func (in *GodzillaJobStatus) DeepCopyInto(out *GodzillaJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GodzillaType ¶ added in v1.0.6
type GodzillaType string
type LitmusType ¶
type LitmusType string