Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the external-monitor.ocp-power.xyz v1alpha1 API group +kubebuilder:object:generate=true +groupName=external-monitor.ocp-power.xyz
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "external-monitor.ocp-power.xyz", 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 Monitor ¶
type Monitor struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MonitorSpec `json:"spec,omitempty"` Status MonitorStatus `json:"status,omitempty"` }
Monitor is the Schema for the monitors API
func (*Monitor) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Monitor.
func (*Monitor) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Monitor) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MonitorList ¶
type MonitorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Monitor `json:"items"` }
MonitorList contains a list of Monitor
func (*MonitorList) DeepCopy ¶
func (in *MonitorList) DeepCopy() *MonitorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorList.
func (*MonitorList) DeepCopyInto ¶
func (in *MonitorList) DeepCopyInto(out *MonitorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MonitorList) DeepCopyObject ¶
func (in *MonitorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MonitorSpec ¶
type MonitorSpec struct { // Image is the Image to use Image string `json:"image,omitempty"` // Tag is the image tag to use Tag string `json:"tag,omitempty"` // Name/Value array used when starting the Job Name []string `json:"name_value,omitempty"` // Path in the container to the Ansible YAML that is to be executed Path string `json:"path,omitempty"` // Recovery Image is the Image to use RecoveryImage string `json:"recovery_image,omitempty"` // Recovery Tag is the image tag to use RecoveryTag string `json:"recovery_tag,omitempty"` // Recovery Name/Value array used when starting the Job RecoveryName []string `json:"recovery_name_value,omitempty"` // Recovery Path in the container to the Ansible YAML that is to be executed RecoveryPath string `json:"recovery_path,omitempty"` // The Deployment Name Deployment string `json:"deployment_name,omitempty"` }
MonitorSpec defines the desired state of Monitor
func (*MonitorSpec) DeepCopy ¶
func (in *MonitorSpec) DeepCopy() *MonitorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpec.
func (*MonitorSpec) DeepCopyInto ¶
func (in *MonitorSpec) DeepCopyInto(out *MonitorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorStatus ¶
type MonitorStatus struct { // The status of the running deployment Status string `json:"status,omitempty"` // The status of the job recovering the deployment RecoveryStatus string `json:"recovery_status,omitempty"` }
MonitorStatus defines the observed state of Monitor
func (*MonitorStatus) DeepCopy ¶
func (in *MonitorStatus) DeepCopy() *MonitorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorStatus.
func (*MonitorStatus) DeepCopyInto ¶
func (in *MonitorStatus) DeepCopyInto(out *MonitorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.