Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=kv.vault.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type CustomMetadataObservation
- type CustomMetadataParameters
- type SecretV2
- func (in *SecretV2) DeepCopy() *SecretV2
- func (in *SecretV2) DeepCopyInto(out *SecretV2)
- func (in *SecretV2) DeepCopyObject() runtime.Object
- func (mg *SecretV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SecretV2) GetConnectionDetailsMapping() map[string]string
- func (mg *SecretV2) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SecretV2) GetID() string
- func (tr *SecretV2) GetObservation() (map[string]any, error)
- func (tr *SecretV2) GetParameters() (map[string]any, error)
- func (mg *SecretV2) GetProviderConfigReference() *xpv1.Reference
- func (mg *SecretV2) GetProviderReference() *xpv1.Reference
- func (mg *SecretV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SecretV2) GetTerraformResourceType() string
- func (tr *SecretV2) GetTerraformSchemaVersion() int
- func (mg *SecretV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SecretV2) LateInitialize(attrs []byte) (bool, error)
- func (mg *SecretV2) SetConditions(c ...xpv1.Condition)
- func (mg *SecretV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *SecretV2) SetObservation(obs map[string]any) error
- func (tr *SecretV2) SetParameters(params map[string]any) error
- func (mg *SecretV2) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SecretV2) SetProviderReference(r *xpv1.Reference)
- func (mg *SecretV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SecretV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SecretV2List
- type SecretV2Observation
- type SecretV2Parameters
- type SecretV2Spec
- type SecretV2Status
Constants ¶
const ( CRDGroup = "kv.vault.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( SecretV2_Kind = "SecretV2" SecretV2_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SecretV2_Kind}.String() SecretV2_KindAPIVersion = SecretV2_Kind + "." + CRDGroupVersion.String() SecretV2_GroupVersionKind = CRDGroupVersion.WithKind(SecretV2_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type CustomMetadataObservation ¶
type CustomMetadataObservation struct { }
func (*CustomMetadataObservation) DeepCopy ¶
func (in *CustomMetadataObservation) DeepCopy() *CustomMetadataObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetadataObservation.
func (*CustomMetadataObservation) DeepCopyInto ¶
func (in *CustomMetadataObservation) DeepCopyInto(out *CustomMetadataObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomMetadataParameters ¶
type CustomMetadataParameters struct { // If true, all keys will require the cas parameter to be set on all write requests. // +kubebuilder:validation:Optional CasRequired *bool `json:"casRequired,omitempty" tf:"cas_required,omitempty"` // A map of arbitrary string to string valued user-provided metadata meant to describe the secret. // +kubebuilder:validation:Optional Data map[string]*string `json:"data,omitempty" tf:"data,omitempty"` // If set, specifies the length of time before a version is deleted. // +kubebuilder:validation:Optional DeleteVersionAfter *float64 `json:"deleteVersionAfter,omitempty" tf:"delete_version_after,omitempty"` // The number of versions to keep per key. // +kubebuilder:validation:Optional MaxVersions *float64 `json:"maxVersions,omitempty" tf:"max_versions,omitempty"` }
func (*CustomMetadataParameters) DeepCopy ¶
func (in *CustomMetadataParameters) DeepCopy() *CustomMetadataParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetadataParameters.
func (*CustomMetadataParameters) DeepCopyInto ¶
func (in *CustomMetadataParameters) DeepCopyInto(out *CustomMetadataParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretV2 ¶
type SecretV2 struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SecretV2Spec `json:"spec"` Status SecretV2Status `json:"status,omitempty"` }
SecretV2 is the Schema for the SecretV2s API. <no value> +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="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,vault}
func (*SecretV2) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretV2.
func (*SecretV2) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretV2) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretV2) GetCondition ¶
func (mg *SecretV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this SecretV2.
func (*SecretV2) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this SecretV2
func (*SecretV2) GetDeletionPolicy ¶
func (mg *SecretV2) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this SecretV2.
func (*SecretV2) GetObservation ¶
GetObservation of this SecretV2
func (*SecretV2) GetParameters ¶
GetParameters of this SecretV2
func (*SecretV2) GetProviderConfigReference ¶
GetProviderConfigReference of this SecretV2.
func (*SecretV2) GetProviderReference ¶
GetProviderReference of this SecretV2. Deprecated: Use GetProviderConfigReference.
func (*SecretV2) GetPublishConnectionDetailsTo ¶
func (mg *SecretV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this SecretV2.
func (*SecretV2) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this SecretV2
func (*SecretV2) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*SecretV2) GetWriteConnectionSecretToReference ¶
func (mg *SecretV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this SecretV2.
func (*SecretV2) LateInitialize ¶
LateInitialize this SecretV2 using its observed tfState. returns True if there are any spec changes for the resource.
func (*SecretV2) SetConditions ¶
SetConditions of this SecretV2.
func (*SecretV2) SetDeletionPolicy ¶
func (mg *SecretV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this SecretV2.
func (*SecretV2) SetObservation ¶
SetObservation for this SecretV2
func (*SecretV2) SetParameters ¶
SetParameters for this SecretV2
func (*SecretV2) SetProviderConfigReference ¶
SetProviderConfigReference of this SecretV2.
func (*SecretV2) SetProviderReference ¶
SetProviderReference of this SecretV2. Deprecated: Use SetProviderConfigReference.
func (*SecretV2) SetPublishConnectionDetailsTo ¶
func (mg *SecretV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this SecretV2.
func (*SecretV2) SetWriteConnectionSecretToReference ¶
func (mg *SecretV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this SecretV2.
type SecretV2List ¶
type SecretV2List struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SecretV2 `json:"items"` }
SecretV2List contains a list of SecretV2s
func (*SecretV2List) DeepCopy ¶
func (in *SecretV2List) DeepCopy() *SecretV2List
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretV2List.
func (*SecretV2List) DeepCopyInto ¶
func (in *SecretV2List) DeepCopyInto(out *SecretV2List)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretV2List) DeepCopyObject ¶
func (in *SecretV2List) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretV2List) GetItems ¶
func (l *SecretV2List) GetItems() []resource.Managed
GetItems of this SecretV2List.
type SecretV2Observation ¶
type SecretV2Observation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // Metadata associated with this secret read from Vault. Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` // Full path where the KV-V2 secret will be written. Path *string `json:"path,omitempty" tf:"path,omitempty"` }
func (*SecretV2Observation) DeepCopy ¶
func (in *SecretV2Observation) DeepCopy() *SecretV2Observation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretV2Observation.
func (*SecretV2Observation) DeepCopyInto ¶
func (in *SecretV2Observation) DeepCopyInto(out *SecretV2Observation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretV2Parameters ¶
type SecretV2Parameters struct { // This flag is required if cas_required is set to true on either the secret or the engine's config. In order for a write to be successful, cas must be set to the current version of the secret. // +kubebuilder:validation:Optional Cas *float64 `json:"cas,omitempty" tf:"cas,omitempty"` // Custom metadata to be set for the secret. // +kubebuilder:validation:Optional CustomMetadata []CustomMetadataParameters `json:"customMetadata,omitempty" tf:"custom_metadata,omitempty"` // JSON-encoded secret data to write. // +kubebuilder:validation:Required DataJSONSecretRef v1.SecretKeySelector `json:"dataJsonSecretRef" tf:"-"` // If set to true, permanently deletes all versions for the specified key. // +kubebuilder:validation:Optional DeleteAllVersions *bool `json:"deleteAllVersions,omitempty" tf:"delete_all_versions,omitempty"` // If set to true, disables reading secret from Vault; note: drift won't be detected. // +kubebuilder:validation:Optional DisableRead *bool `json:"disableRead,omitempty" tf:"disable_read,omitempty"` // Path where KV-V2 engine is mounted. // +kubebuilder:validation:Required Mount *string `json:"mount" tf:"mount,omitempty"` // Full name of the secret. For a nested secret, the name is the nested path excluding the mount and data prefix. For example, for a secret at 'kvv2/data/foo/bar/baz', the name is 'foo/bar/baz' // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // Target namespace. (requires Enterprise) // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // An object that holds option settings. // +kubebuilder:validation:Optional Options map[string]*string `json:"options,omitempty" tf:"options,omitempty"` }
func (*SecretV2Parameters) DeepCopy ¶
func (in *SecretV2Parameters) DeepCopy() *SecretV2Parameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretV2Parameters.
func (*SecretV2Parameters) DeepCopyInto ¶
func (in *SecretV2Parameters) DeepCopyInto(out *SecretV2Parameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretV2Spec ¶
type SecretV2Spec struct { v1.ResourceSpec `json:",inline"` ForProvider SecretV2Parameters `json:"forProvider"` }
SecretV2Spec defines the desired state of SecretV2
func (*SecretV2Spec) DeepCopy ¶
func (in *SecretV2Spec) DeepCopy() *SecretV2Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretV2Spec.
func (*SecretV2Spec) DeepCopyInto ¶
func (in *SecretV2Spec) DeepCopyInto(out *SecretV2Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretV2Status ¶
type SecretV2Status struct { v1.ResourceStatus `json:",inline"` AtProvider SecretV2Observation `json:"atProvider,omitempty"` }
SecretV2Status defines the observed state of SecretV2.
func (*SecretV2Status) DeepCopy ¶
func (in *SecretV2Status) DeepCopy() *SecretV2Status
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretV2Status.
func (*SecretV2Status) DeepCopyInto ¶
func (in *SecretV2Status) DeepCopyInto(out *SecretV2Status)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.