Documentation ¶
Index ¶
- type AdditionalCatalogSource
- type BundleParametersdeprecated
- type Config
- type CredentialsRequest
- type DeadmansSnitch
- type EnvItem
- type MetricsFederation
- type Monitoringdeprecated
- type MonitoringStack
- type MonitoringStackResource
- type MonitoringStackResources
- type Notification
- type PagerDuty
- type Secret
- type Tag
- type TargetSecretRef
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditionalCatalogSource ¶ added in v0.17.0
type AdditionalCatalogSource struct { // Name of the additional catalog source // +kubebuilder:validation:Pattern=`^[a-z]([-a-z0-9]*[a-z0-9])?$` Name string `json:"name"` // Image url of the additional catalog source // +kubebuilder:validation:Required Image string `json:"image"` }
+kubebuilder:object:generate=true
func (*AdditionalCatalogSource) DeepCopy ¶ added in v0.17.0
func (in *AdditionalCatalogSource) DeepCopy() *AdditionalCatalogSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalCatalogSource.
func (*AdditionalCatalogSource) DeepCopyInto ¶ added in v0.17.0
func (in *AdditionalCatalogSource) DeepCopyInto(out *AdditionalCatalogSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BundleParameters
deprecated
type BundleParameters struct { // +optional // +kubebuilder:validation:Pattern=`^(true|false|^$)$` UseClusterStorage *string `json:"useClusterStorage"` // +optional // +kubebuilder:validation:Pattern=`^([0-9A-Za-z_.-]+@redhat\.com,? ?)+$` AlertingEmailAddress *string `json:"alertingEmailAddress"` // +optional // +kubebuilder:validation:Pattern=`^([0-9A-Za-z_.-]+@redhat\.com,? ?)+$` BuAlertingEmailAddress *string `json:"buAlertingEmailAddress"` // +optional // +kubebuilder:validation:Pattern=`^[0-9A-Za-z._-]+@(devshift\.net|rhmw\.io)$` AlertSMTPFrom *string `json:"alertSMTPFrom"` // +optional // +kubebuilder:validation:Pattern=`^addon-[0-9A-Za-z-]+-parameters$` AddonParamsSecretName *string `json:"addonParamsSecretName"` }
Deprecated: Replaced by SubscriptionConfig. +kubebuilder:object:generate=true
func (*BundleParameters) DeepCopy ¶
func (in *BundleParameters) DeepCopy() *BundleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleParameters.
func (*BundleParameters) DeepCopyInto ¶
func (in *BundleParameters) DeepCopyInto(out *BundleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Config ¶ added in v0.17.0
type Config struct { // +kubebuilder:validation:Required Env *[]EnvItem `json:"env" validate:"required"` // +kubebuilder:validation:Required Secrets *[]Secret `json:"secrets" validate:"required"` }
+kubebuilder:object:generate=true
func (*Config) DeepCopy ¶ added in v0.17.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶ added in v0.17.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialsRequest ¶ added in v0.17.0
type CredentialsRequest struct { // +kubebuilder:validation:Pattern=`^[A-Za-z0-9][A-Za-z0-9-]{0,60}[A-Za-z0-9]$` // Name of the credentials secret used to access cloud resources Name string `json:"name"` // +kubebuilder:validation:Pattern=`^[A-Za-z0-9][A-Za-z0-9-]{0,60}[A-Za-z0-9]$` // Namespace where the credentials secret lives in the cluster Namespace string `json:"namespace"` // +kubebuilder:validation:Pattern=`^[A-Za-z0-9][A-Za-z0-9-]{0,60}[A-Za-z0-9]$` // Service account name to use when authenticating ServiceAccount string `json:"service_account"` // +kubebuilder:validate:Pattern=`^[a-z0-9]{1,60}:[A-Za-z0-9]{1,60}$` // List of policy permissions needed to access cloud resources PolicyPermissions *[]string `json:"policy_permissions"` }
+kubebuilder:object:generate=true
func (*CredentialsRequest) DeepCopy ¶ added in v0.17.0
func (in *CredentialsRequest) DeepCopy() *CredentialsRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialsRequest.
func (*CredentialsRequest) DeepCopyInto ¶ added in v0.17.0
func (in *CredentialsRequest) DeepCopyInto(out *CredentialsRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeadmansSnitch ¶
type DeadmansSnitch struct { // +optional ClusterDeploymentSelector *metav1.LabelSelector `json:"clusterDeploymentSelector"` // +optional SnitchNamePostFix *string `json:"snitchNamePostFix"` // +optional TargetSecretRef *TargetSecretRef `json:"targetSecretRef"` // +kubebuilder:validation:Required Tags []Tag `json:"tags" validate:"required"` }
+kubebuilder:object:generate=true
func (*DeadmansSnitch) DeepCopy ¶
func (in *DeadmansSnitch) DeepCopy() *DeadmansSnitch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeadmansSnitch.
func (*DeadmansSnitch) DeepCopyInto ¶
func (in *DeadmansSnitch) DeepCopyInto(out *DeadmansSnitch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvItem ¶
type EnvItem struct { // +kubebuilder:validation:Required Name string `json:"name" validate:"required"` // +kubebuilder:validation:Required Value string `json:"value" validate:"required"` }
+kubebuilder:object:generate=true
func (*EnvItem) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvItem.
func (*EnvItem) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricsFederation ¶ added in v0.18.4
type MetricsFederation struct { // +kubebuilder:validation:Pattern=`^[A-Za-z0-9][A-Za-z0-9-]{0,60}[A-Za-z0-9]$` Namespace string `json:"namespace" validate:"required"` // +kubebuilder:validation:Pattern=`^[A-Za-z0-9][A-Za-z0-9-]{0,60}[A-Za-z0-9]$` PortName string `json:"portName" validate:"required"` // +kubebuilder:validation:Pattern=`^[a-zA-Z_:][a-zA-Z0-9_:]*$` MatchNames []string `json:"matchNames" validate:"required"` // +kubebuilder:validation:Pattern=`^[A-Za-z0-9-_./]+$` MatchLabels map[string]string `json:"matchLabels" validate:"required"` }
+kubebuilder:object:generate=true
type Monitoring
deprecated
type Monitoring struct { // +kubebuilder:validation:Required Namespace string `json:"namespace" validate:"required"` // +kubebuilder:validation:Required MatchNames []string `json:"matchNames" validate:"required"` // +kubebuilder:validation:Required MatchLabels map[string]string `json:"matchLabels" validate:"required"` }
Deprecated: Replaced by MetricsFederation +kubebuilder:object:generate=true
func (*Monitoring) DeepCopy ¶
func (in *Monitoring) DeepCopy() *Monitoring
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Monitoring.
func (*Monitoring) DeepCopyInto ¶
func (in *Monitoring) DeepCopyInto(out *Monitoring)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitoringStack ¶ added in v0.18.4
type MonitoringStack struct { // +optional // This denotes whether the addon requires the MonitoringStack CR to be created in runtime or not. Validation fails if it is provided as 'false' and at the same time other parameters are specified Enabled *bool `json:"enabled,omitempty"` // +optional // Represents the resource quotas (requests/limits) to be allocated to the Prometheus instances which will be spun up consequently by the respective MonitoringStack CR in runtime. If not provided, the default values would be used: '{requests: {cpu: '100m', memory: '256M'}, limits:{memory: '512M', cpu: '500m'}}' Resources *MonitoringStackResources `json:"resources,omitempty"` }
+kubebuilder:object:generate=true
type MonitoringStackResource ¶ added in v0.18.4
type MonitoringStackResource struct { // Ref: https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L147 // +kubebuilder:validation:Pattern=`^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$` Cpu *string `json:"cpu,omitempty"` // +kubebuilder:validation:Pattern=`^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$` Memory *string `json:"memory,omitempty"` }
type MonitoringStackResources ¶ added in v0.18.4
type MonitoringStackResources struct { // Represents the cpu/memory resources which would be requested by the Prometheus instances spun up consequently by the MonitoringStack CR in runtime Request *MonitoringStackResource `json:"requests,omitempty"` // Represents the max. amount of cpu/memory resources which would be accessible by the Prometheus instances spun up consequently by the MonitoringStack CR in runtime Limits *MonitoringStackResource `json:"limits,omitempty"` }
type Notification ¶
type Notification string
+kubebuilder:validation:Pattern=`^([A-Za-z -]+ <[0-9A-Za-z_.-]+@redhat\.com>,?)+$`
type PagerDuty ¶
type PagerDuty struct { // +kubebuilder:validation:Required // +kubebuilder:validation:Pattern=`^[A-Za-z0-9]+$` EscalationPolicy string `json:"snitchNamePostFix" validate:"required"` // +kubebuilder:validation:Required // +kubebuilder:validation:Minimum=0 AcknowledgeTimeout int `json:"acknowledgeTimeout" validate:"required"` // +kubebuilder:validation:Required // +kubebuilder:validation:Minimum=0 ResolveTimeout int `json:"resolveTimeout" validate:"required"` // +kubebuilder:validation:Required // +kubebuilder:validation:Pattern=`^[A-Za-z0-9][A-Za-z0-9-]{0,60}[A-Za-z0-9]$` SecretName string `json:"secretName" validate:"required"` // +kubebuilder:validation:Required // +kubebuilder:validation:Pattern=`^[A-Za-z0-9][A-Za-z0-9-]{0,60}[A-Za-z0-9]$` SecretNamespace string `json:"secretNamespace" validate:"required"` }
+kubebuilder:object:generate=true
func (*PagerDuty) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PagerDuty.
func (*PagerDuty) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Secret ¶ added in v0.11.0
type Secret struct { // +kubebuilder:validation:Required Name string `json:"name" validate:"required"` // +kubebuilder:validation:Required Type string `json:"type" validate:"required"` // +kubebuilder:validation:Required VaultPath string `json:"vaultPath" validate:"required"` // +optional DestinationSecretName *string `json:"destinationSecretName"` }
+kubebuilder:object:generate=true
func (*Secret) DeepCopy ¶ added in v0.11.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.
func (*Secret) DeepCopyInto ¶ added in v0.11.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Tag ¶
type Tag string
+kubebuilder:validation:Pattern=`^[A-Za-z0-9][A-Za-z0-9-]{0,60}[A-Za-z0-9]$`
type TargetSecretRef ¶
type TargetSecretRef struct { // +optional // +kubebuilder:validation:Pattern=`^[A-Za-z0-9][A-Za-z0-9-]{0,60}[A-Za-z0-9]$` Name *string `json:"name"` // +optional // +kubebuilder:validation:Pattern=`^[A-Za-z0-9][A-Za-z0-9-]{0,60}[A-Za-z0-9]$` Namespace *string `json:"namespace"` }
+kubebuilder:object:generate=true
func (*TargetSecretRef) DeepCopy ¶
func (in *TargetSecretRef) DeepCopy() *TargetSecretRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetSecretRef.
func (*TargetSecretRef) DeepCopyInto ¶
func (in *TargetSecretRef) DeepCopyInto(out *TargetSecretRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.