Documentation ¶
Overview ¶
Package v2alpha1 is the v2alpha1 version of the API.
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AzureIdentity
- type AzureKeyVault
- type AzureKeyVaultObject
- type AzureKeyVaultObjectContentType
- type AzureKeyVaultObjectType
- type AzureKeyVaultOutput
- type AzureKeyVaultOutputConfigMap
- type AzureKeyVaultOutputSecret
- type AzureKeyVaultSecret
- type AzureKeyVaultSecretList
- type AzureKeyVaultSecretSpec
- type AzureKeyVaultSecretStatus
Constants ¶
const ( // AzureKeyVaultObjectTypeSecret - get Secret object type from Azure Key Vault AzureKeyVaultObjectTypeSecret AzureKeyVaultObjectType = "secret" // AzureKeyVaultObjectTypeMultiKeyValueSecret - get Secret object type from Azure Key Vault containing multiple key/values AzureKeyVaultObjectTypeMultiKeyValueSecret = "multi-key-value-secret" // AzureKeyVaultObjectTypeCertificate - get Certificate object type from Azure Key Vault AzureKeyVaultObjectTypeCertificate = "certificate" // AzureKeyVaultObjectTypeKey - get Key object type from Azure Key Vault AzureKeyVaultObjectTypeKey = "key" // AzureKeyVaultObjectContentTypeJSON - object content is of type application/x-json AzureKeyVaultObjectContentTypeJSON AzureKeyVaultObjectContentType = "application/x-json" // AzureKeyVaultObjectContentTypeYaml - object content is of type application/x-yaml AzureKeyVaultObjectContentTypeYaml = "application/x-yaml" )
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: azurekeyvault.GroupName, Version: "v2alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AzureIdentity ¶
type AzureIdentity struct { // Name of the azureIdentity to use for Azure Key Vault authentication Name string `json:"name"` }
AzureIdentity has information about the azure identity used for Azure Key Vault authentication
func (*AzureIdentity) DeepCopy ¶
func (in *AzureIdentity) DeepCopy() *AzureIdentity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureIdentity.
func (*AzureIdentity) DeepCopyInto ¶
func (in *AzureIdentity) DeepCopyInto(out *AzureIdentity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureKeyVault ¶
type AzureKeyVault struct { // Name of the Azure Key Vault Name string `json:"name"` Object AzureKeyVaultObject `json:"object"` // +optional AzureIdentity AzureIdentity `json:"azureIdentity,omitempty"` }
AzureKeyVault contains information needed to get the Azure Key Vault secret from Azure Key Vault
func (*AzureKeyVault) DeepCopy ¶
func (in *AzureKeyVault) DeepCopy() *AzureKeyVault
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureKeyVault.
func (*AzureKeyVault) DeepCopyInto ¶
func (in *AzureKeyVault) DeepCopyInto(out *AzureKeyVault)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureKeyVaultObject ¶
type AzureKeyVaultObject struct { // The object name in Azure Key Vault Name string `json:"name"` Type AzureKeyVaultObjectType `json:"type"` // +optional // The object version in Azure Key Vault Version string `json:"version"` // +optional ContentType AzureKeyVaultObjectContentType `json:"contentType"` }
AzureKeyVaultObject has information about the Azure Key Vault object to get from Azure Key Vault
func (*AzureKeyVaultObject) DeepCopy ¶
func (in *AzureKeyVaultObject) DeepCopy() *AzureKeyVaultObject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureKeyVaultObject.
func (*AzureKeyVaultObject) DeepCopyInto ¶
func (in *AzureKeyVaultObject) DeepCopyInto(out *AzureKeyVaultObject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureKeyVaultObjectContentType ¶
type AzureKeyVaultObjectContentType string
AzureKeyVaultObjectContentType defines what content type a secret contains, only used when type is multi-key-value-secret +kubebuilder:validation:Enum=application/x-json;application/x-yaml
type AzureKeyVaultObjectType ¶
type AzureKeyVaultObjectType string
AzureKeyVaultObjectType defines which Object type to get from Azure Key Vault +kubebuilder:validation:Enum=secret;certificate;key;multi-key-value-secret
type AzureKeyVaultOutput ¶
type AzureKeyVaultOutput struct { // +optional Secret AzureKeyVaultOutputSecret `json:"secret"` // +optional ConfigMap AzureKeyVaultOutputConfigMap `json:"configMap"` // +optional Transform []string `json:"transform,omitempty"` }
AzureKeyVaultOutput defines output sources, supports Secret and Configmap
func (*AzureKeyVaultOutput) DeepCopy ¶
func (in *AzureKeyVaultOutput) DeepCopy() *AzureKeyVaultOutput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureKeyVaultOutput.
func (*AzureKeyVaultOutput) DeepCopyInto ¶
func (in *AzureKeyVaultOutput) DeepCopyInto(out *AzureKeyVaultOutput)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureKeyVaultOutputConfigMap ¶
type AzureKeyVaultOutputConfigMap struct { // Name for Kubernetes ConfigMap Name string `json:"name"` // The key to use in Kubernetes ConfigMap when setting the value from Azure Keyv Vault object data DataKey string `json:"dataKey"` }
AzureKeyVaultOutputConfigMap has information needed to output a secret from Azure Key Vault to Kubertnetes as a ConfigMap resource
func (*AzureKeyVaultOutputConfigMap) DeepCopy ¶
func (in *AzureKeyVaultOutputConfigMap) DeepCopy() *AzureKeyVaultOutputConfigMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureKeyVaultOutputConfigMap.
func (*AzureKeyVaultOutputConfigMap) DeepCopyInto ¶
func (in *AzureKeyVaultOutputConfigMap) DeepCopyInto(out *AzureKeyVaultOutputConfigMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureKeyVaultOutputSecret ¶
type AzureKeyVaultOutputSecret struct { // Name for Kubernetes secret Name string `json:"name"` // +optional // Type of Secret in Kubernetes Type corev1.SecretType `json:"type,omitempty"` // +optional // The key to use in Kubernetes secret when setting the value from Azure Keyv Vault object data DataKey string `json:"dataKey,omitempty"` // +optional // By setting chainOrder to ensureserverfirst the server certificate will be moved first in the chain // +kubebuilder:validation:Enum=ensureserverfirst ChainOrder string `json:"chainOrder,omitempty"` }
AzureKeyVaultOutputSecret has information needed to output a secret from Azure Key Vault to Kubertnetes as a Secret resource
func (*AzureKeyVaultOutputSecret) DeepCopy ¶
func (in *AzureKeyVaultOutputSecret) DeepCopy() *AzureKeyVaultOutputSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureKeyVaultOutputSecret.
func (*AzureKeyVaultOutputSecret) DeepCopyInto ¶
func (in *AzureKeyVaultOutputSecret) DeepCopyInto(out *AzureKeyVaultOutputSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureKeyVaultSecret ¶
type AzureKeyVaultSecret struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AzureKeyVaultSecretSpec `json:"spec"` Status AzureKeyVaultSecretStatus `json:"status,omitempty"` }
AzureKeyVaultSecret is a specification for a AzureKeyVaultSecret resource +kubebuilder:subresource:status
func (*AzureKeyVaultSecret) DeepCopy ¶
func (in *AzureKeyVaultSecret) DeepCopy() *AzureKeyVaultSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureKeyVaultSecret.
func (*AzureKeyVaultSecret) DeepCopyInto ¶
func (in *AzureKeyVaultSecret) DeepCopyInto(out *AzureKeyVaultSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureKeyVaultSecret) DeepCopyObject ¶
func (in *AzureKeyVaultSecret) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AzureKeyVaultSecretList ¶
type AzureKeyVaultSecretList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []AzureKeyVaultSecret `json:"items"` }
AzureKeyVaultSecretList is a list of AzureKeyVaultSecret resources
func (*AzureKeyVaultSecretList) DeepCopy ¶
func (in *AzureKeyVaultSecretList) DeepCopy() *AzureKeyVaultSecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureKeyVaultSecretList.
func (*AzureKeyVaultSecretList) DeepCopyInto ¶
func (in *AzureKeyVaultSecretList) DeepCopyInto(out *AzureKeyVaultSecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureKeyVaultSecretList) DeepCopyObject ¶
func (in *AzureKeyVaultSecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AzureKeyVaultSecretSpec ¶
type AzureKeyVaultSecretSpec struct { Vault AzureKeyVault `json:"vault"` Output AzureKeyVaultOutput `json:"output,omitempty"` }
AzureKeyVaultSecretSpec is the spec for a AzureKeyVaultSecret resource
func (*AzureKeyVaultSecretSpec) DeepCopy ¶
func (in *AzureKeyVaultSecretSpec) DeepCopy() *AzureKeyVaultSecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureKeyVaultSecretSpec.
func (*AzureKeyVaultSecretSpec) DeepCopyInto ¶
func (in *AzureKeyVaultSecretSpec) DeepCopyInto(out *AzureKeyVaultSecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureKeyVaultSecretStatus ¶
type AzureKeyVaultSecretStatus struct { SecretHash string `json:"secretHash,omitempty"` SecretName string `json:"secretName,omitempty"` ConfigMapHash string `json:"configMapHash,omitempty"` ConfigMapName string `json:"configMapName,omitempty"` LastAzureUpdate metav1.Time `json:"lastAzureUpdate,omitempty"` }
AzureKeyVaultSecretStatus is the status for a AzureKeyVaultSecret resource
func (*AzureKeyVaultSecretStatus) DeepCopy ¶
func (in *AzureKeyVaultSecretStatus) DeepCopy() *AzureKeyVaultSecretStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureKeyVaultSecretStatus.
func (*AzureKeyVaultSecretStatus) DeepCopyInto ¶
func (in *AzureKeyVaultSecretStatus) DeepCopyInto(out *AzureKeyVaultSecretStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.