Documentation ¶
Overview ¶
Package v1alpha1 contains managed resources for Azure keyvault services. +kubebuilder:object:generate=true +groupName=keyvault.azure.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type KeyVaultSecret
- func (in *KeyVaultSecret) DeepCopy() *KeyVaultSecret
- func (in *KeyVaultSecret) DeepCopyInto(out *KeyVaultSecret)
- func (in *KeyVaultSecret) DeepCopyObject() runtime.Object
- func (mg *KeyVaultSecret) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *KeyVaultSecret) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *KeyVaultSecret) GetProviderConfigReference() *xpv1.Reference
- func (mg *KeyVaultSecret) GetProviderReference() *xpv1.Reference
- func (mg *KeyVaultSecret) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *KeyVaultSecret) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *KeyVaultSecret) SetConditions(c ...xpv1.Condition)
- func (mg *KeyVaultSecret) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *KeyVaultSecret) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *KeyVaultSecret) SetProviderReference(r *xpv1.Reference)
- func (mg *KeyVaultSecret) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *KeyVaultSecret) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type KeyVaultSecretAttributesObservation
- type KeyVaultSecretAttributesParameters
- type KeyVaultSecretList
- type KeyVaultSecretObservation
- type KeyVaultSecretParameters
- type KeyVaultSecretSpec
- type KeyVaultSecretStatus
Constants ¶
const ( Group = "keyvault.azure.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( KeyVaultSecretKind = reflect.TypeOf(KeyVaultSecret{}).Name() KeyVaultSecretGroupKind = schema.GroupKind{Group: Group, Kind: KeyVaultSecretKind}.String() KeyVaultSecretKindAPIVersion = KeyVaultSecretKind + "." + SchemeGroupVersion.String() KeyVaultSecretGroupVersionKind = SchemeGroupVersion.WithKind(KeyVaultSecretKind) )
KeyVaultSecret type metadata.
Functions ¶
This section is empty.
Types ¶
type KeyVaultSecret ¶
type KeyVaultSecret struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KeyVaultSecretSpec `json:"spec"` Status KeyVaultSecretStatus `json:"status,omitempty"` }
A KeyVaultSecret is a managed resource that represents an Azure KeyVaultSecret cluster. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure},shortName=kvsecret
func (*KeyVaultSecret) DeepCopy ¶
func (in *KeyVaultSecret) DeepCopy() *KeyVaultSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultSecret.
func (*KeyVaultSecret) DeepCopyInto ¶
func (in *KeyVaultSecret) DeepCopyInto(out *KeyVaultSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeyVaultSecret) DeepCopyObject ¶
func (in *KeyVaultSecret) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KeyVaultSecret) GetCondition ¶
func (mg *KeyVaultSecret) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this KeyVaultSecret.
func (*KeyVaultSecret) GetDeletionPolicy ¶
func (mg *KeyVaultSecret) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this KeyVaultSecret.
func (*KeyVaultSecret) GetProviderConfigReference ¶
func (mg *KeyVaultSecret) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this KeyVaultSecret.
func (*KeyVaultSecret) GetProviderReference ¶
func (mg *KeyVaultSecret) GetProviderReference() *xpv1.Reference
GetProviderReference of this KeyVaultSecret. Deprecated: Use GetProviderConfigReference.
func (*KeyVaultSecret) GetPublishConnectionDetailsTo ¶
func (mg *KeyVaultSecret) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this KeyVaultSecret.
func (*KeyVaultSecret) GetWriteConnectionSecretToReference ¶
func (mg *KeyVaultSecret) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this KeyVaultSecret.
func (*KeyVaultSecret) SetConditions ¶
func (mg *KeyVaultSecret) SetConditions(c ...xpv1.Condition)
SetConditions of this KeyVaultSecret.
func (*KeyVaultSecret) SetDeletionPolicy ¶
func (mg *KeyVaultSecret) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this KeyVaultSecret.
func (*KeyVaultSecret) SetProviderConfigReference ¶
func (mg *KeyVaultSecret) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this KeyVaultSecret.
func (*KeyVaultSecret) SetProviderReference ¶
func (mg *KeyVaultSecret) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this KeyVaultSecret. Deprecated: Use SetProviderConfigReference.
func (*KeyVaultSecret) SetPublishConnectionDetailsTo ¶
func (mg *KeyVaultSecret) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this KeyVaultSecret.
func (*KeyVaultSecret) SetWriteConnectionSecretToReference ¶
func (mg *KeyVaultSecret) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this KeyVaultSecret.
type KeyVaultSecretAttributesObservation ¶
type KeyVaultSecretAttributesObservation struct { // RecoveryLevel - READ-ONLY; // Reflects the deletion recovery level currently in effect for secrets in the // current vault. If it contains 'Purgeable', the secret can be permanently // deleted by a privileged user; otherwise, only the system can purge the secret, // at the end of the retention interval. // Possible values include: // 'Purgeable', // 'RecoverablePurgeable', // 'Recoverable', // 'RecoverableProtectedSubscription', // 'CustomizedRecoverablePurgeable', // 'CustomizedRecoverable', // 'CustomizedRecoverableProtectedSubscription' RecoveryLevel string `json:"recoveryLevel,omitempty"` // Created - READ-ONLY; Creation time in UTC. Created *metav1.Time `json:"created,omitempty"` // Updated - READ-ONLY; Last updated time in UTC. Updated *metav1.Time `json:"updated,omitempty"` }
KeyVaultSecretAttributesObservation represents the observed state of an Azure Key Vault Secret Attributes. KeyVaultSecretAttributesObservation contains READ-ONLY fields.
func (*KeyVaultSecretAttributesObservation) DeepCopy ¶
func (in *KeyVaultSecretAttributesObservation) DeepCopy() *KeyVaultSecretAttributesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultSecretAttributesObservation.
func (*KeyVaultSecretAttributesObservation) DeepCopyInto ¶
func (in *KeyVaultSecretAttributesObservation) DeepCopyInto(out *KeyVaultSecretAttributesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyVaultSecretAttributesParameters ¶
type KeyVaultSecretAttributesParameters struct { // Enabled - Determines whether the object is enabled. Enabled *bool `json:"enabled,omitempty"` // NotBeforeDate - Not before date in UTC (RFC3339 format). NotBeforeDate *metav1.Time `json:"notBeforeDate,omitempty"` // Expires - Expiry date in UTC (RFC3339 format). ExpirationDate *metav1.Time `json:"expirationDate,omitempty"` }
KeyVaultSecretAttributesParameters defines the desired state of an Azure Key Vault Secret Attributes. KeyVaultSecretAttributesParameters contains WRITE-ONLY fields.
func (*KeyVaultSecretAttributesParameters) DeepCopy ¶
func (in *KeyVaultSecretAttributesParameters) DeepCopy() *KeyVaultSecretAttributesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultSecretAttributesParameters.
func (*KeyVaultSecretAttributesParameters) DeepCopyInto ¶
func (in *KeyVaultSecretAttributesParameters) DeepCopyInto(out *KeyVaultSecretAttributesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyVaultSecretList ¶
type KeyVaultSecretList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []KeyVaultSecret `json:"items"` }
KeyVaultSecretList contains a list of Secret.
func (*KeyVaultSecretList) DeepCopy ¶
func (in *KeyVaultSecretList) DeepCopy() *KeyVaultSecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultSecretList.
func (*KeyVaultSecretList) DeepCopyInto ¶
func (in *KeyVaultSecretList) DeepCopyInto(out *KeyVaultSecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeyVaultSecretList) DeepCopyObject ¶
func (in *KeyVaultSecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KeyVaultSecretList) GetItems ¶
func (l *KeyVaultSecretList) GetItems() []resource.Managed
GetItems of this KeyVaultSecretList.
type KeyVaultSecretObservation ¶
type KeyVaultSecretObservation struct { // ID - The secret id. ID string `json:"id,omitempty"` // Attributes - The secret management attributes. Attributes *KeyVaultSecretAttributesObservation `json:"attributes,omitempty"` // Kid - READ-ONLY; If this is a secret backing a KV certificate, then this field specifies the corresponding key backing the KV certificate. Kid *string `json:"kid,omitempty"` // Managed - READ-ONLY; True if the secret's lifetime is managed by key vault. If this is a secret backing a certificate, then managed will be true. Managed *bool `json:"managed,omitempty"` }
KeyVaultSecretObservation represents the observed state of the Secret object in Azure.
func (*KeyVaultSecretObservation) DeepCopy ¶
func (in *KeyVaultSecretObservation) DeepCopy() *KeyVaultSecretObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultSecretObservation.
func (*KeyVaultSecretObservation) DeepCopyInto ¶
func (in *KeyVaultSecretObservation) DeepCopyInto(out *KeyVaultSecretObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyVaultSecretParameters ¶
type KeyVaultSecretParameters struct { // VaultBaseURL - The vault name, for example https://myvault.vault.azure.net. VaultBaseURL string `json:"vaultBaseUrl"` // Name - The name of the secret Name string `json:"name"` // Value - The value of the secret Value xpv1.SecretKeySelector `json:"value"` // ContentType - Type of the secret value such as a password // +optional ContentType *string `json:"contentType,omitempty"` // SecretAttributes - The secret management attributes // +optional SecretAttributes *KeyVaultSecretAttributesParameters `json:"attributes,omitempty"` // Tags - Application-specific metadata in the form of key-value pairs // +optional Tags map[string]string `json:"tags"` }
KeyVaultSecretParameters defines the desired state of an Azure Key Vault Secret. https://docs.microsoft.com/en-us/rest/api/keyvault/#secret-operations
func (*KeyVaultSecretParameters) DeepCopy ¶
func (in *KeyVaultSecretParameters) DeepCopy() *KeyVaultSecretParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultSecretParameters.
func (*KeyVaultSecretParameters) DeepCopyInto ¶
func (in *KeyVaultSecretParameters) DeepCopyInto(out *KeyVaultSecretParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyVaultSecretSpec ¶
type KeyVaultSecretSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider KeyVaultSecretParameters `json:"forProvider"` }
A KeyVaultSecretSpec defines the desired state of a Secret.
func (*KeyVaultSecretSpec) DeepCopy ¶
func (in *KeyVaultSecretSpec) DeepCopy() *KeyVaultSecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultSecretSpec.
func (*KeyVaultSecretSpec) DeepCopyInto ¶
func (in *KeyVaultSecretSpec) DeepCopyInto(out *KeyVaultSecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyVaultSecretStatus ¶
type KeyVaultSecretStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider KeyVaultSecretObservation `json:"atProvider,omitempty"` }
A KeyVaultSecretStatus represents the observed state of a Secret.
func (*KeyVaultSecretStatus) DeepCopy ¶
func (in *KeyVaultSecretStatus) DeepCopy() *KeyVaultSecretStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultSecretStatus.
func (*KeyVaultSecretStatus) DeepCopyInto ¶
func (in *KeyVaultSecretStatus) DeepCopyInto(out *KeyVaultSecretStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.