Documentation
¶
Index ¶
Constants ¶
View Source
const ( StoreTypeClient = StoreType("client") StoreTypeServer = StoreType("server") )
View Source
const ( StoreNameKeystore = StoreName("keystore") StoreNameTruststore = StoreName("truststore") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretKeySelector ¶ added in v1.4.0
type SecretKeySelector struct {
// The name of the Secret resource being referred to.
corev1.LocalObjectReference `json:",inline"`
// The key of the entry in the Secret resource's `data` field to be used.
// +kubebuilder:validation:Optional
Key string `json:"key,omitempty"`
}
A reference to a specific 'key' within a Secret resource.
func (*SecretKeySelector) GetSpecificKeyOrDefault ¶ added in v1.4.0
func (s *SecretKeySelector) GetSpecificKeyOrDefault(defaultVal string) (key string)
type Stores ¶
type Stores struct {
// ref to the secret that contains the keystore and optionally its password (which can also be specified through
//the keystorePasswordSecretRef field)
// if keys are not specified, "keystore" entry and a "keystore-password" entry will be used
// +kubebuilder:validation:Required
KeystoreSecretRef *SecretKeySelector `json:"keystoreSecretRef"`
// ref to the secret that contains the truststore and optionally its password (which can also be specified through
//the truststorePasswordSecretRef field)
// if keys are not specified explicitly, "keystore" entry and a "keystore-password" entry will be used
// +kubebuilder:validation:Required
TruststoreSecretRef *SecretKeySelector `json:"truststoreSecretRef"`
// ref to the secret that contains the keystore password if password stored in different secret than keystoreSecretRef
// if key isn't specified explicitly, "keystore-password" entry will be used
// +kubebuilder:validation:Optional
KeystorePasswordRef *SecretKeySelector `json:"keystorePasswordSecretRef"`
// ref to the secret that contains the truststore password if password stored in different secret than keystoreSecretRef
// if key isn't specified explicitly, "truststore-password" entry will be used
// +kubebuilder:validation:Optional
TruststorePasswordSecretRef *SecretKeySelector `json:"truststorePasswordSecretRef"`
}
+kubebuilder:object:generate=true
func (*Stores) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stores.
func (*Stores) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.