Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SelectNamespace ¶
SelectNamespace returns first non-empty namespace from the list "", "", "first", "second" => "first"
Types ¶
type LabelSpec ¶
type LabelSpec struct { // +kubebuilder:validation:MaxLength:=255 Key string `json:"key"` Value string `json:"value"` }
LabelSpec contains key-value pairs that tag and categorize the Cluster/DBUser
type ResourceRef ¶
type ResourceRef struct { // Name is the name of the Kubernetes Resource Name string `json:"name"` }
ResourceRef is a reference to a Kubernetes Resource
type ResourceRefNamespaced ¶
type ResourceRefNamespaced struct { // Name is the name of the Kubernetes Resource Name string `json:"name"` // Namespace is the namespace of the Kubernetes Resource // +optional Namespace string `json:"namespace"` }
ResourceRefNamespaced is a reference to a Kubernetes Resource that allows to configure the namespace
func (*ResourceRefNamespaced) GetObject ¶
func (rn *ResourceRefNamespaced) GetObject(parentNamespace string) *client.ObjectKey
func (*ResourceRefNamespaced) ReadPassword ¶
Click to show internal directories.
Click to hide internal directories.