Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the marketplace v1alpha1 API group +kubebuilder:object:generate=true +groupName=marketplace.redhat.com
Index ¶
- Variables
- type DriverPod
- type HealthCheckStatus
- type MarketplaceCSIDriver
- type MarketplaceCSIDriverList
- type MarketplaceCSIDriverSpec
- type MarketplaceCSIDriverStatus
- type MarketplaceDataset
- type MarketplaceDatasetList
- type MarketplaceDatasetSpec
- type MarketplaceDatasetStatus
- type MarketplaceDriverHealthCheck
- type MarketplaceDriverHealthCheckList
- type MarketplaceDriverHealthCheckSpec
- type MarketplaceDriverHealthCheckStatus
- type NameValueMap
- type S3Credential
- type Selector
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "marketplace.redhat.com", 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 DriverPod ¶
type DriverPod struct {
//CreateTime is the pod creation time
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
CreateTime string `json:"createTime,omitempty"`
//Version is the resource version of a driver pod
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
Version string `json:"version,omitempty"`
//NodeName is the node where a driver pod is running
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
NodeName string `json:"nodeName,omitempty"`
}
DriverPod defines identifiers for a csi driver pod
func (*DriverPod) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriverPod.
func (*DriverPod) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HealthCheckStatus ¶
type HealthCheckStatus struct {
// DriverResponse is the response from CSI driver, possible values are NoAction, NoEligiblePods, Repaired or Error
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
DriverResponse string `json:"driverResponse,omitempty"`
// PodCount is the number of pods that were checked for repair
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
PodCount int32 `json:"podCount,omitempty"`
// Message is optional message associated with action taken on the node
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
Message string `json:"message,omitempty"`
}
HealthCheckStatus defines health check responses for each node
func (*HealthCheckStatus) DeepCopy ¶
func (in *HealthCheckStatus) DeepCopy() *HealthCheckStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheckStatus.
func (*HealthCheckStatus) DeepCopyInto ¶
func (in *HealthCheckStatus) DeepCopyInto(out *HealthCheckStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MarketplaceCSIDriver ¶
type MarketplaceCSIDriver struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec MarketplaceCSIDriverSpec `json:"spec,omitempty"`
Status MarketplaceCSIDriverStatus `json:"status,omitempty"`
}
MarketplaceCSIDriver is the resource that deploys the marketplace CSI driver +kubebuilder:object:root=true
+k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=marketplacecsidrivers,scope=Namespaced +kubebuilder:printcolumn:name="INSTALL_STATUS",type=string,JSONPath=`.status.conditions[?(@.type == "Install")].status` +kubebuilder:printcolumn:name="DRIVER_STATUS",type=string,JSONPath=`.status.conditions[?(@.type == "DriverStatus")].status` +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="CSI Driver" +operator-sdk:gen-csv:customresourcedefinitions.displayName="Marketplace dataset driver" +operator-sdk:gen-csv:customresourcedefinitions.resources=`CSIDriver,storage.k8s.io/v1,"csi.marketplace.redhat.com"` +operator-sdk:gen-csv:customresourcedefinitions.resources=`StorageClass,storage.k8s.io/v1,"csi-rhm-cos"` +operator-sdk:gen-csv:customresourcedefinitions.resources=`ServiceAccount,v1,"csi-rhm-cos"` +operator-sdk:gen-csv:customresourcedefinitions.resources=`ClusterRole,rbac.authorization.k8s.io/v1,"csi-rhm-cos-provisioner"` +operator-sdk:gen-csv:customresourcedefinitions.resources=`ClusterRoleBinding,rbac.authorization.k8s.io/v1,"csi-rhm-cos-provisioner"` +operator-sdk:gen-csv:customresourcedefinitions.resources=`StatefulSet,apps/v1,"csi-rhm-cos-ss"` +operator-sdk:gen-csv:customresourcedefinitions.resources=`DaemonSet,apps/v1,"csi-rhm-cos-ds"` +operator-sdk:gen-csv:customresourcedefinitions.resources=`DaemonSet,apps/v1,"csi-rhm-cos-ctrl"` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Service,v1,"csi-rhm-cos-ss"`
func (*MarketplaceCSIDriver) DeepCopy ¶
func (in *MarketplaceCSIDriver) DeepCopy() *MarketplaceCSIDriver
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketplaceCSIDriver.
func (*MarketplaceCSIDriver) DeepCopyInto ¶
func (in *MarketplaceCSIDriver) DeepCopyInto(out *MarketplaceCSIDriver)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MarketplaceCSIDriver) DeepCopyObject ¶
func (in *MarketplaceCSIDriver) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MarketplaceCSIDriverList ¶
type MarketplaceCSIDriverList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MarketplaceCSIDriver `json:"items"`
}
MarketplaceCSIDriverList contains a list of MarketplaceCSIDriver
func (*MarketplaceCSIDriverList) DeepCopy ¶
func (in *MarketplaceCSIDriverList) DeepCopy() *MarketplaceCSIDriverList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketplaceCSIDriverList.
func (*MarketplaceCSIDriverList) DeepCopyInto ¶
func (in *MarketplaceCSIDriverList) DeepCopyInto(out *MarketplaceCSIDriverList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MarketplaceCSIDriverList) DeepCopyObject ¶
func (in *MarketplaceCSIDriverList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MarketplaceCSIDriverSpec ¶
type MarketplaceCSIDriverSpec struct {
// Endpoint is the dataset S3 public endpoint
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="S3 endpoint url"
Endpoint string `json:"endpoint"`
// Credential is configuration that contains dataset S3 credential details
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Dataset credential"
Credential S3Credential `json:"credential"`
// HealthCheckIntervalInMinutes is the interval at which to run health check for mounted volumes.
// A value of `0` disables periodic health check.
// +kubebuilder:validation:Minimum=0
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Health check interval (minutes)"
HealthCheckIntervalInMinutes int32 `json:"healthCheckIntervalInMinutes"`
// MountRootPath is the root mount path for all dataset buckets
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Dataset mount path"
MountRootPath string `json:"mountRootPath"`
// EnvironmentVariables is a list of optional environment variables for CSI driver. Change to environment variables will force a restart of the driver.
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Environment variables"
EnvironmentVariables []NameValueMap `json:"environmentVariables,omitempty"`
// MountOptions is an array of performance options for dataset driver. This is for internal use.
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Dataset mount options"
MountOptions []string `json:"mountOptions,omitempty"`
}
MarketplaceCSIDriverSpec defines the desired state of MarketplaceCSIDriver +k8s:openapi-gen=true
func (*MarketplaceCSIDriverSpec) DeepCopy ¶
func (in *MarketplaceCSIDriverSpec) DeepCopy() *MarketplaceCSIDriverSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketplaceCSIDriverSpec.
func (*MarketplaceCSIDriverSpec) DeepCopyInto ¶
func (in *MarketplaceCSIDriverSpec) DeepCopyInto(out *MarketplaceCSIDriverSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MarketplaceCSIDriverStatus ¶
type MarketplaceCSIDriverStatus struct {
// Conditions represent the latest available observations of the driver state
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:io.kubernetes.conditions"
// +optional
Conditions status.Conditions `json:"conditions,omitempty"`
// DriverPods holds details of currently running csi driver pods
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +optional
DriverPods map[string]DriverPod `json:"driverPods,omitempty"`
}
MarketplaceCSIDriverStatus defines the observed state of MarketplaceCSIDriver +k8s:openapi-gen=true
func (*MarketplaceCSIDriverStatus) DeepCopy ¶
func (in *MarketplaceCSIDriverStatus) DeepCopy() *MarketplaceCSIDriverStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketplaceCSIDriverStatus.
func (*MarketplaceCSIDriverStatus) DeepCopyInto ¶
func (in *MarketplaceCSIDriverStatus) DeepCopyInto(out *MarketplaceCSIDriverStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MarketplaceDataset ¶
type MarketplaceDataset struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec MarketplaceDatasetSpec `json:"spec,omitempty"`
Status MarketplaceDatasetStatus `json:"status,omitempty"`
}
MarketplaceDataset is the resource identifying a purchased dataset from Red Hat Marketplace +kubebuilder:object:root=true
+k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=marketplacedatasets,scope=Namespaced +kubebuilder:printcolumn:name="INSTALL_STATUS",type=string,JSONPath=`.status.conditions[?(@.type == "Install")].status` +kubebuilder:printcolumn:name="CLEANUP_STATUS",type=string,JSONPath=`.status.conditions[?(@.type == "CleanUpStatus")].status` +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Marketplace Dataset" +operator-sdk:gen-csv:customresourcedefinitions.displayName="Marketplace Dataset" +operator-sdk:gen-csv:customresourcedefinitions.resources=`PersistentVolumeClaim,v1,"csi-rhm-cos"`
func (*MarketplaceDataset) DeepCopy ¶
func (in *MarketplaceDataset) DeepCopy() *MarketplaceDataset
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketplaceDataset.
func (*MarketplaceDataset) DeepCopyInto ¶
func (in *MarketplaceDataset) DeepCopyInto(out *MarketplaceDataset)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MarketplaceDataset) DeepCopyObject ¶
func (in *MarketplaceDataset) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MarketplaceDatasetList ¶
type MarketplaceDatasetList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MarketplaceDataset `json:"items"`
}
MarketplaceDatasetList contains a list of MarketplaceDataset
func (*MarketplaceDatasetList) DeepCopy ¶
func (in *MarketplaceDatasetList) DeepCopy() *MarketplaceDatasetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketplaceDatasetList.
func (*MarketplaceDatasetList) DeepCopyInto ¶
func (in *MarketplaceDatasetList) DeepCopyInto(out *MarketplaceDatasetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MarketplaceDatasetList) DeepCopyObject ¶
func (in *MarketplaceDatasetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MarketplaceDatasetSpec ¶
type MarketplaceDatasetSpec struct {
// Bucket is the dataset bucket name
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Bucket name"
Bucket string `json:"bucket"`
// PodSelectors is a a list of rules to select pods for this dataset based on pod labels.
// In addition to labels, rules also support fields `metadata.name` and `metadata.generateName`
// If one of the pod selector rules is satisfied by a pod, this dataset will be mounted to that pod.
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Pod selectors"
PodSelectors []Selector `json:"podSelectors,omitempty"`
}
MarketplaceDatasetSpec represents a dataset subscription in Red Hat Marketplace +k8s:openapi-gen=true
func (*MarketplaceDatasetSpec) DeepCopy ¶
func (in *MarketplaceDatasetSpec) DeepCopy() *MarketplaceDatasetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketplaceDatasetSpec.
func (*MarketplaceDatasetSpec) DeepCopyInto ¶
func (in *MarketplaceDatasetSpec) DeepCopyInto(out *MarketplaceDatasetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MarketplaceDatasetStatus ¶
type MarketplaceDatasetStatus struct {
// Conditions represent the latest available observations of dataset state
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:io.kubernetes.conditions"
// +optional
Conditions status.Conditions `json:"conditions,omitempty"`
}
MarketplaceDatasetStatus defines the observed state of MarketplaceDataset +k8s:openapi-gen=true
func (*MarketplaceDatasetStatus) DeepCopy ¶
func (in *MarketplaceDatasetStatus) DeepCopy() *MarketplaceDatasetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketplaceDatasetStatus.
func (*MarketplaceDatasetStatus) DeepCopyInto ¶
func (in *MarketplaceDatasetStatus) DeepCopyInto(out *MarketplaceDatasetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MarketplaceDriverHealthCheck ¶
type MarketplaceDriverHealthCheck struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec MarketplaceDriverHealthCheckSpec `json:"spec,omitempty"`
Status MarketplaceDriverHealthCheckStatus `json:"status,omitempty"`
}
MarketplaceDriverHealthCheck is used by the Operator to trigger mounted volume check and repair +kubebuilder:object:root=true
+k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=marketplacedriverhealthchecks,scope=Namespaced +kubebuilder:printcolumn:name="HEALTH_CHECK_STATUS",type=string,JSONPath=`.status.conditions[?(@.type == "ConditionTypeHealthCheck")].status` +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Marketplace Driver Health Check" +operator-sdk:gen-csv:customresourcedefinitions.displayName="Marketplace Driver Health Check" +operator-sdk:gen-csv:customresourcedefinitions.resources=`PersistentVolumeClaim,v1,"csi-rhm-cos"`
func (*MarketplaceDriverHealthCheck) DeepCopy ¶
func (in *MarketplaceDriverHealthCheck) DeepCopy() *MarketplaceDriverHealthCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketplaceDriverHealthCheck.
func (*MarketplaceDriverHealthCheck) DeepCopyInto ¶
func (in *MarketplaceDriverHealthCheck) DeepCopyInto(out *MarketplaceDriverHealthCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MarketplaceDriverHealthCheck) DeepCopyObject ¶
func (in *MarketplaceDriverHealthCheck) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MarketplaceDriverHealthCheckList ¶
type MarketplaceDriverHealthCheckList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MarketplaceDriverHealthCheck `json:"items"`
}
MarketplaceDriverHealthCheckList contains a list of MarketplaceDriverHealthCheck
func (*MarketplaceDriverHealthCheckList) DeepCopy ¶
func (in *MarketplaceDriverHealthCheckList) DeepCopy() *MarketplaceDriverHealthCheckList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketplaceDriverHealthCheckList.
func (*MarketplaceDriverHealthCheckList) DeepCopyInto ¶
func (in *MarketplaceDriverHealthCheckList) DeepCopyInto(out *MarketplaceDriverHealthCheckList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MarketplaceDriverHealthCheckList) DeepCopyObject ¶
func (in *MarketplaceDriverHealthCheckList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MarketplaceDriverHealthCheckSpec ¶
type MarketplaceDriverHealthCheckSpec struct {
// AffectedNodes is list of nodes to check and repair
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Affected nodes"
AffectedNodes []string `json:"affectedNodes,omitempty"`
// Dataset is an optional input that can used to limit health check to a given dataset in the namespace of this custom resource
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Affected nodes"
Dataset string `json:"dataset,omitempty"`
}
MarketplaceDriverHealthCheckSpec is used by Operator to trigger mounted volume check and repair +k8s:openapi-gen=true
func (*MarketplaceDriverHealthCheckSpec) DeepCopy ¶
func (in *MarketplaceDriverHealthCheckSpec) DeepCopy() *MarketplaceDriverHealthCheckSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketplaceDriverHealthCheckSpec.
func (*MarketplaceDriverHealthCheckSpec) DeepCopyInto ¶
func (in *MarketplaceDriverHealthCheckSpec) DeepCopyInto(out *MarketplaceDriverHealthCheckSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MarketplaceDriverHealthCheckStatus ¶
type MarketplaceDriverHealthCheckStatus struct {
// Conditions represent the latest available observations of the health check state
// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:io.kubernetes.conditions"
// +optional
Conditions status.Conditions `json:"conditions,omitempty"`
// DriverHealthCheckStatus is driver health check status for each node, map key is the node name
DriverHealthCheckStatus map[string]HealthCheckStatus `json:"driverHealthCheckStatus,omitempty"`
}
MarketplaceDriverHealthCheckStatus defines the observed state of MarketplaceDriverHealthCheck +k8s:openapi-gen=true
func (*MarketplaceDriverHealthCheckStatus) DeepCopy ¶
func (in *MarketplaceDriverHealthCheckStatus) DeepCopy() *MarketplaceDriverHealthCheckStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketplaceDriverHealthCheckStatus.
func (*MarketplaceDriverHealthCheckStatus) DeepCopyInto ¶
func (in *MarketplaceDriverHealthCheckStatus) DeepCopyInto(out *MarketplaceDriverHealthCheckStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NameValueMap ¶
type NameValueMap struct {
// Name for the property
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Name"
Name string `json:"name"`
// Value of the property
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Value"
Value string `json:"value"`
}
NameValueMap defines a name value pair +kubebuilder:object:generate:=true
func (*NameValueMap) DeepCopy ¶
func (in *NameValueMap) DeepCopy() *NameValueMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NameValueMap.
func (*NameValueMap) DeepCopyInto ¶
func (in *NameValueMap) DeepCopyInto(out *NameValueMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3Credential ¶
type S3Credential struct {
// Name for the kubernetes Secret with S3 credentials.
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Secret name"
Name string `json:"name"`
// Type of Secret. Supported types are hmac or rhm-pull-secret (default).
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Secret type"
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:select:"
// +kubebuilder:validation:Enum=hmac;rhm-pull-secret;rhm-pull-secret-hmac
Type string `json:"type"`
}
S3Credential defines a kubernetes Secret with dataset S3 credentials +kubebuilder:object:generate:=true
func (*S3Credential) DeepCopy ¶
func (in *S3Credential) DeepCopy() *S3Credential
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Credential.
func (*S3Credential) DeepCopyInto ¶
func (in *S3Credential) DeepCopyInto(out *S3Credential)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Selector ¶
type Selector struct {
// MatchLabels is a set of label value pairs used to target pods for this dataset
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Match expressions"
MatchLabels map[string]string `json:"matchLabels,omitempty"`
// MatchExpressions is a set of expressions used to target pods for this dataset.
// Supported operators are In, NotIn, Exists and DoesNotExist
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Match expressions"
MatchExpressions []metav1.LabelSelectorRequirement `json:"matchExpressions,omitempty"`
}
Selector defines one set of pod targeting terms for this dataset. All conditions in `match label` and `match expressions` must be satisfied for a pod to be selected. +kubebuilder:object:generate:=true
func (*Selector) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Selector.
func (*Selector) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.