Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the redhatcop v1alpha1 API group +kubebuilder:object:generate=true +groupName=redhatcop.redhat.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "redhatcop.redhat.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 MustGather ¶
type MustGather struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MustGatherSpec `json:"spec,omitempty"` Status MustGatherStatus `json:"status,omitempty"` }
MustGather is the Schema for the mustgathers API
func (*MustGather) DeepCopy ¶
func (in *MustGather) DeepCopy() *MustGather
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MustGather.
func (*MustGather) DeepCopyInto ¶
func (in *MustGather) DeepCopyInto(out *MustGather)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MustGather) DeepCopyObject ¶
func (in *MustGather) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MustGather) GetConditions ¶
func (m *MustGather) GetConditions() []metav1.Condition
func (*MustGather) SetConditions ¶
func (m *MustGather) SetConditions(conditions []metav1.Condition)
type MustGatherList ¶
type MustGatherList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MustGather `json:"items"` }
MustGatherList contains a list of MustGather
func (*MustGatherList) DeepCopy ¶
func (in *MustGatherList) DeepCopy() *MustGatherList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MustGatherList.
func (*MustGatherList) DeepCopyInto ¶
func (in *MustGatherList) DeepCopyInto(out *MustGatherList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MustGatherList) DeepCopyObject ¶
func (in *MustGatherList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MustGatherSpec ¶
type MustGatherSpec struct { // The is of the case this must gather will be uploaded to // +kubebuilder:validation:Required CaseID string `json:"caseID"` // the secret container a username and password field to be used to authenticate with red hat case management systems // +kubebuilder:validation:Required CaseManagementAccountSecretRef corev1.LocalObjectReference `json:"caseManagementAccountSecretRef"` // the service account to use to run the must gather job pod, defaults to default // +kubebuilder:validation:Optional // // +kubebuilder:default:="{Name:default}" ServiceAccountRef corev1.LocalObjectReference `json:"serviceAccountRef,omitempty"` // The list of must gather images to run, optional, it will default to: $DEFAULT_MUST_GATHER_IMAGE // +kubebuilder:validation:Optional // +listType=set MustGatherImages []string `json:"mustGatherImages,omitempty"` // This represents the proxy configuration to be used. If left empty it will default to the cluster-level proxy configuration. // +kubebuilder:validation:Optional ProxyConfig ProxySpec `json:"proxyConfig,omitempty"` }
MustGatherSpec defines the desired state of MustGather
func (*MustGatherSpec) DeepCopy ¶
func (in *MustGatherSpec) DeepCopy() *MustGatherSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MustGatherSpec.
func (*MustGatherSpec) DeepCopyInto ¶
func (in *MustGatherSpec) DeepCopyInto(out *MustGatherSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MustGatherStatus ¶
type MustGatherStatus struct { // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` Completed bool `json:"completed"` }
MustGatherStatus defines the observed state of MustGather
func (*MustGatherStatus) DeepCopy ¶
func (in *MustGatherStatus) DeepCopy() *MustGatherStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MustGatherStatus.
func (*MustGatherStatus) DeepCopyInto ¶
func (in *MustGatherStatus) DeepCopyInto(out *MustGatherStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxySpec ¶
type ProxySpec struct { // httpProxy is the URL of the proxy for HTTP requests. Empty means unset and will not result in an env var. // +kubebuilder:validation:Optional HTTPProxy string `json:"httpProxy,omitempty"` // httpsProxy is the URL of the proxy for HTTPS requests. Empty means unset and will not result in an env var. // +kubebuilder:validation:Optional HTTPSProxy string `json:"httpsProxy,omitempty"` // noProxy is the list of domains for which the proxy should not be used. Empty means unset and will not result in an env var. // +kubebuilder:validation:Optional NoProxy string `json:"noProxy,omitempty"` }
ProxySpec contains info on the proxy settings to be used
func (*ProxySpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySpec.
func (*ProxySpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.