v1

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 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

func (in *EnvItem) DeepCopy() *EnvItem

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvItem.

func (*EnvItem) DeepCopyInto

func (in *EnvItem) DeepCopyInto(out *EnvItem)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Monitoring

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"`
}

+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 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

func (in *PagerDuty) DeepCopy() *PagerDuty

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PagerDuty.

func (*PagerDuty) DeepCopyInto

func (in *PagerDuty) DeepCopyInto(out *PagerDuty)

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

func (in *Secret) DeepCopy() *Secret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.

func (*Secret) DeepCopyInto added in v0.11.0

func (in *Secret) DeepCopyInto(out *Secret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionConfig

type SubscriptionConfig struct {
	// +kubebuilder:validation:Required
	Env *[]EnvItem `json:"env" validate:"required"`
}

+kubebuilder:object:generate=true

func (*SubscriptionConfig) DeepCopy

func (in *SubscriptionConfig) DeepCopy() *SubscriptionConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionConfig.

func (*SubscriptionConfig) DeepCopyInto

func (in *SubscriptionConfig) DeepCopyInto(out *SubscriptionConfig)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL