v1alpha1

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=kmip.vault.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "kmip.vault.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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
)
View Source
var (
	SecretBackend_Kind             = "SecretBackend"
	SecretBackend_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SecretBackend_Kind}.String()
	SecretBackend_KindAPIVersion   = SecretBackend_Kind + "." + CRDGroupVersion.String()
	SecretBackend_GroupVersionKind = CRDGroupVersion.WithKind(SecretBackend_Kind)
)

Repository type metadata.

View Source
var (
	SecretRole_Kind             = "SecretRole"
	SecretRole_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SecretRole_Kind}.String()
	SecretRole_KindAPIVersion   = SecretRole_Kind + "." + CRDGroupVersion.String()
	SecretRole_GroupVersionKind = CRDGroupVersion.WithKind(SecretRole_Kind)
)

Repository type metadata.

View Source
var (
	SecretScope_Kind             = "SecretScope"
	SecretScope_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SecretScope_Kind}.String()
	SecretScope_KindAPIVersion   = SecretScope_Kind + "." + CRDGroupVersion.String()
	SecretScope_GroupVersionKind = CRDGroupVersion.WithKind(SecretScope_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type SecretBackend

type SecretBackend struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.path) || has(self.initProvider.path)",message="path is a required parameter"
	Spec   SecretBackendSpec   `json:"spec"`
	Status SecretBackendStatus `json:"status,omitempty"`
}

SecretBackend is the Schema for the SecretBackends API. Provision KMIP Secret backends in Vault. +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 (*SecretBackend) DeepCopy

func (in *SecretBackend) DeepCopy() *SecretBackend

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBackend.

func (*SecretBackend) DeepCopyInto

func (in *SecretBackend) DeepCopyInto(out *SecretBackend)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SecretBackend) DeepCopyObject

func (in *SecretBackend) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SecretBackend) GetCondition

func (mg *SecretBackend) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this SecretBackend.

func (*SecretBackend) GetConnectionDetailsMapping

func (tr *SecretBackend) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this SecretBackend

func (*SecretBackend) GetDeletionPolicy

func (mg *SecretBackend) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this SecretBackend.

func (*SecretBackend) GetID

func (tr *SecretBackend) GetID() string

GetID returns ID of underlying Terraform resource of this SecretBackend

func (*SecretBackend) GetInitParameters added in v0.2.0

func (tr *SecretBackend) GetInitParameters() (map[string]any, error)

GetInitParameters of this SecretBackend

func (*SecretBackend) GetManagementPolicies added in v0.2.0

func (mg *SecretBackend) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this SecretBackend.

func (*SecretBackend) GetObservation

func (tr *SecretBackend) GetObservation() (map[string]any, error)

GetObservation of this SecretBackend

func (*SecretBackend) GetParameters

func (tr *SecretBackend) GetParameters() (map[string]any, error)

GetParameters of this SecretBackend

func (*SecretBackend) GetProviderConfigReference

func (mg *SecretBackend) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this SecretBackend.

func (*SecretBackend) GetProviderReference

func (mg *SecretBackend) GetProviderReference() *xpv1.Reference

GetProviderReference of this SecretBackend. Deprecated: Use GetProviderConfigReference.

func (*SecretBackend) GetPublishConnectionDetailsTo

func (mg *SecretBackend) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this SecretBackend.

func (*SecretBackend) GetTerraformResourceType

func (mg *SecretBackend) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SecretBackend

func (*SecretBackend) GetTerraformSchemaVersion

func (tr *SecretBackend) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SecretBackend) GetWriteConnectionSecretToReference

func (mg *SecretBackend) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this SecretBackend.

func (*SecretBackend) LateInitialize

func (tr *SecretBackend) LateInitialize(attrs []byte) (bool, error)

LateInitialize this SecretBackend using its observed tfState. returns True if there are any spec changes for the resource.

func (*SecretBackend) SetConditions

func (mg *SecretBackend) SetConditions(c ...xpv1.Condition)

SetConditions of this SecretBackend.

func (*SecretBackend) SetDeletionPolicy

func (mg *SecretBackend) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this SecretBackend.

func (*SecretBackend) SetManagementPolicies added in v0.2.0

func (mg *SecretBackend) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this SecretBackend.

func (*SecretBackend) SetObservation

func (tr *SecretBackend) SetObservation(obs map[string]any) error

SetObservation for this SecretBackend

func (*SecretBackend) SetParameters

func (tr *SecretBackend) SetParameters(params map[string]any) error

SetParameters for this SecretBackend

func (*SecretBackend) SetProviderConfigReference

func (mg *SecretBackend) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this SecretBackend.

func (*SecretBackend) SetProviderReference

func (mg *SecretBackend) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this SecretBackend. Deprecated: Use SetProviderConfigReference.

func (*SecretBackend) SetPublishConnectionDetailsTo

func (mg *SecretBackend) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this SecretBackend.

func (*SecretBackend) SetWriteConnectionSecretToReference

func (mg *SecretBackend) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this SecretBackend.

type SecretBackendInitParameters added in v0.2.0

type SecretBackendInitParameters struct {

	// Client certificate key bits, valid values depend on key type.
	// Client certificate key bits, valid values depend on key type
	DefaultTLSClientKeyBits *float64 `json:"defaultTlsClientKeyBits,omitempty" tf:"default_tls_client_key_bits,omitempty"`

	// Client certificate key type, rsa or ec.
	// Client certificate key type, rsa or ec
	DefaultTLSClientKeyType *string `json:"defaultTlsClientKeyType,omitempty" tf:"default_tls_client_key_type,omitempty"`

	// Client certificate TTL in seconds
	DefaultTLSClientTTL *float64 `json:"defaultTlsClientTtl,omitempty" tf:"default_tls_client_ttl,omitempty"`

	// A human-friendly description for this backend.
	// Human-friendly description of the mount for the backend
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// If set, opts out of mount migration on path updates.
	// See here for more info on Mount Migration
	// If set, opts out of mount migration on path updates.
	DisableRemount *bool `json:"disableRemount,omitempty" tf:"disable_remount,omitempty"`

	// Addresses the KMIP server should listen on (host:port).
	// Addresses the KMIP server should listen on (host:port)
	ListenAddrs []*string `json:"listenAddrs,omitempty" tf:"listen_addrs,omitempty"`

	// The namespace to provision the resource in.
	// The value should not contain leading or trailing forward slashes.
	// The namespace is always relative to the provider's configured namespace.
	// Available only for Vault Enterprise.
	// Target namespace. (requires Enterprise)
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// The unique path this backend should be mounted at. Must
	// not begin or end with a /. Defaults to kmip.
	// Path where KMIP secret backend will be mounted
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Hostnames to include in the server's TLS certificate as SAN DNS names. The first will be used as the common name (CN).
	// Hostnames to include in the server's TLS certificate as SAN DNS names. The first will be used as the common name (CN)
	ServerHostnames []*string `json:"serverHostnames,omitempty" tf:"server_hostnames,omitempty"`

	// IPs to include in the server's TLS certificate as SAN IP addresses.
	// IPs to include in the server's TLS certificate as SAN IP addresses
	ServerIps []*string `json:"serverIps,omitempty" tf:"server_ips,omitempty"`

	// CA key bits, valid values depend on key type.
	// CA key bits, valid values depend on key type
	TLSCAKeyBits *float64 `json:"tlsCaKeyBits,omitempty" tf:"tls_ca_key_bits,omitempty"`

	// CA key type, rsa or ec.
	// CA key type, rsa or ec
	TLSCAKeyType *string `json:"tlsCaKeyType,omitempty" tf:"tls_ca_key_type,omitempty"`

	// Minimum TLS version to accept.
	// Minimum TLS version to accept
	TLSMinVersion *string `json:"tlsMinVersion,omitempty" tf:"tls_min_version,omitempty"`
}

func (*SecretBackendInitParameters) DeepCopy added in v0.2.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBackendInitParameters.

func (*SecretBackendInitParameters) DeepCopyInto added in v0.2.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretBackendList

type SecretBackendList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SecretBackend `json:"items"`
}

SecretBackendList contains a list of SecretBackends

func (*SecretBackendList) DeepCopy

func (in *SecretBackendList) DeepCopy() *SecretBackendList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBackendList.

func (*SecretBackendList) DeepCopyInto

func (in *SecretBackendList) DeepCopyInto(out *SecretBackendList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SecretBackendList) DeepCopyObject

func (in *SecretBackendList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SecretBackendList) GetItems

func (l *SecretBackendList) GetItems() []resource.Managed

GetItems of this SecretBackendList.

type SecretBackendObservation

type SecretBackendObservation struct {

	// Client certificate key bits, valid values depend on key type.
	// Client certificate key bits, valid values depend on key type
	DefaultTLSClientKeyBits *float64 `json:"defaultTlsClientKeyBits,omitempty" tf:"default_tls_client_key_bits,omitempty"`

	// Client certificate key type, rsa or ec.
	// Client certificate key type, rsa or ec
	DefaultTLSClientKeyType *string `json:"defaultTlsClientKeyType,omitempty" tf:"default_tls_client_key_type,omitempty"`

	// Client certificate TTL in seconds
	DefaultTLSClientTTL *float64 `json:"defaultTlsClientTtl,omitempty" tf:"default_tls_client_ttl,omitempty"`

	// A human-friendly description for this backend.
	// Human-friendly description of the mount for the backend
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// If set, opts out of mount migration on path updates.
	// See here for more info on Mount Migration
	// If set, opts out of mount migration on path updates.
	DisableRemount *bool `json:"disableRemount,omitempty" tf:"disable_remount,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Addresses the KMIP server should listen on (host:port).
	// Addresses the KMIP server should listen on (host:port)
	ListenAddrs []*string `json:"listenAddrs,omitempty" tf:"listen_addrs,omitempty"`

	// The namespace to provision the resource in.
	// The value should not contain leading or trailing forward slashes.
	// The namespace is always relative to the provider's configured namespace.
	// Available only for Vault Enterprise.
	// Target namespace. (requires Enterprise)
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// The unique path this backend should be mounted at. Must
	// not begin or end with a /. Defaults to kmip.
	// Path where KMIP secret backend will be mounted
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Hostnames to include in the server's TLS certificate as SAN DNS names. The first will be used as the common name (CN).
	// Hostnames to include in the server's TLS certificate as SAN DNS names. The first will be used as the common name (CN)
	ServerHostnames []*string `json:"serverHostnames,omitempty" tf:"server_hostnames,omitempty"`

	// IPs to include in the server's TLS certificate as SAN IP addresses.
	// IPs to include in the server's TLS certificate as SAN IP addresses
	ServerIps []*string `json:"serverIps,omitempty" tf:"server_ips,omitempty"`

	// CA key bits, valid values depend on key type.
	// CA key bits, valid values depend on key type
	TLSCAKeyBits *float64 `json:"tlsCaKeyBits,omitempty" tf:"tls_ca_key_bits,omitempty"`

	// CA key type, rsa or ec.
	// CA key type, rsa or ec
	TLSCAKeyType *string `json:"tlsCaKeyType,omitempty" tf:"tls_ca_key_type,omitempty"`

	// Minimum TLS version to accept.
	// Minimum TLS version to accept
	TLSMinVersion *string `json:"tlsMinVersion,omitempty" tf:"tls_min_version,omitempty"`
}

func (*SecretBackendObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBackendObservation.

func (*SecretBackendObservation) DeepCopyInto

func (in *SecretBackendObservation) DeepCopyInto(out *SecretBackendObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretBackendParameters

type SecretBackendParameters struct {

	// Client certificate key bits, valid values depend on key type.
	// Client certificate key bits, valid values depend on key type
	// +kubebuilder:validation:Optional
	DefaultTLSClientKeyBits *float64 `json:"defaultTlsClientKeyBits,omitempty" tf:"default_tls_client_key_bits,omitempty"`

	// Client certificate key type, rsa or ec.
	// Client certificate key type, rsa or ec
	// +kubebuilder:validation:Optional
	DefaultTLSClientKeyType *string `json:"defaultTlsClientKeyType,omitempty" tf:"default_tls_client_key_type,omitempty"`

	// Client certificate TTL in seconds
	// +kubebuilder:validation:Optional
	DefaultTLSClientTTL *float64 `json:"defaultTlsClientTtl,omitempty" tf:"default_tls_client_ttl,omitempty"`

	// A human-friendly description for this backend.
	// Human-friendly description of the mount for the backend
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// If set, opts out of mount migration on path updates.
	// See here for more info on Mount Migration
	// If set, opts out of mount migration on path updates.
	// +kubebuilder:validation:Optional
	DisableRemount *bool `json:"disableRemount,omitempty" tf:"disable_remount,omitempty"`

	// Addresses the KMIP server should listen on (host:port).
	// Addresses the KMIP server should listen on (host:port)
	// +kubebuilder:validation:Optional
	ListenAddrs []*string `json:"listenAddrs,omitempty" tf:"listen_addrs,omitempty"`

	// The namespace to provision the resource in.
	// The value should not contain leading or trailing forward slashes.
	// The namespace is always relative to the provider's configured namespace.
	// Available only for Vault Enterprise.
	// Target namespace. (requires Enterprise)
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// The unique path this backend should be mounted at. Must
	// not begin or end with a /. Defaults to kmip.
	// Path where KMIP secret backend will be mounted
	// +kubebuilder:validation:Optional
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Hostnames to include in the server's TLS certificate as SAN DNS names. The first will be used as the common name (CN).
	// Hostnames to include in the server's TLS certificate as SAN DNS names. The first will be used as the common name (CN)
	// +kubebuilder:validation:Optional
	ServerHostnames []*string `json:"serverHostnames,omitempty" tf:"server_hostnames,omitempty"`

	// IPs to include in the server's TLS certificate as SAN IP addresses.
	// IPs to include in the server's TLS certificate as SAN IP addresses
	// +kubebuilder:validation:Optional
	ServerIps []*string `json:"serverIps,omitempty" tf:"server_ips,omitempty"`

	// CA key bits, valid values depend on key type.
	// CA key bits, valid values depend on key type
	// +kubebuilder:validation:Optional
	TLSCAKeyBits *float64 `json:"tlsCaKeyBits,omitempty" tf:"tls_ca_key_bits,omitempty"`

	// CA key type, rsa or ec.
	// CA key type, rsa or ec
	// +kubebuilder:validation:Optional
	TLSCAKeyType *string `json:"tlsCaKeyType,omitempty" tf:"tls_ca_key_type,omitempty"`

	// Minimum TLS version to accept.
	// Minimum TLS version to accept
	// +kubebuilder:validation:Optional
	TLSMinVersion *string `json:"tlsMinVersion,omitempty" tf:"tls_min_version,omitempty"`
}

func (*SecretBackendParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBackendParameters.

func (*SecretBackendParameters) DeepCopyInto

func (in *SecretBackendParameters) DeepCopyInto(out *SecretBackendParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretBackendSpec

type SecretBackendSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SecretBackendParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider SecretBackendInitParameters `json:"initProvider,omitempty"`
}

SecretBackendSpec defines the desired state of SecretBackend

func (*SecretBackendSpec) DeepCopy

func (in *SecretBackendSpec) DeepCopy() *SecretBackendSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBackendSpec.

func (*SecretBackendSpec) DeepCopyInto

func (in *SecretBackendSpec) DeepCopyInto(out *SecretBackendSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretBackendStatus

type SecretBackendStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SecretBackendObservation `json:"atProvider,omitempty"`
}

SecretBackendStatus defines the observed state of SecretBackend.

func (*SecretBackendStatus) DeepCopy

func (in *SecretBackendStatus) DeepCopy() *SecretBackendStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBackendStatus.

func (*SecretBackendStatus) DeepCopyInto

func (in *SecretBackendStatus) DeepCopyInto(out *SecretBackendStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretRole

type SecretRole struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.path) || has(self.initProvider.path)",message="path is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.role) || has(self.initProvider.role)",message="role is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scope) || has(self.initProvider.scope)",message="scope is a required parameter"
	Spec   SecretRoleSpec   `json:"spec"`
	Status SecretRoleStatus `json:"status,omitempty"`
}

SecretRole is the Schema for the SecretRoles API. Provision KMIP Secret roles in Vault. +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 (*SecretRole) DeepCopy

func (in *SecretRole) DeepCopy() *SecretRole

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRole.

func (*SecretRole) DeepCopyInto

func (in *SecretRole) DeepCopyInto(out *SecretRole)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SecretRole) DeepCopyObject

func (in *SecretRole) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SecretRole) GetCondition

func (mg *SecretRole) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this SecretRole.

func (*SecretRole) GetConnectionDetailsMapping

func (tr *SecretRole) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this SecretRole

func (*SecretRole) GetDeletionPolicy

func (mg *SecretRole) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this SecretRole.

func (*SecretRole) GetID

func (tr *SecretRole) GetID() string

GetID returns ID of underlying Terraform resource of this SecretRole

func (*SecretRole) GetInitParameters added in v0.2.0

func (tr *SecretRole) GetInitParameters() (map[string]any, error)

GetInitParameters of this SecretRole

func (*SecretRole) GetManagementPolicies added in v0.2.0

func (mg *SecretRole) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this SecretRole.

func (*SecretRole) GetObservation

func (tr *SecretRole) GetObservation() (map[string]any, error)

GetObservation of this SecretRole

func (*SecretRole) GetParameters

func (tr *SecretRole) GetParameters() (map[string]any, error)

GetParameters of this SecretRole

func (*SecretRole) GetProviderConfigReference

func (mg *SecretRole) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this SecretRole.

func (*SecretRole) GetProviderReference

func (mg *SecretRole) GetProviderReference() *xpv1.Reference

GetProviderReference of this SecretRole. Deprecated: Use GetProviderConfigReference.

func (*SecretRole) GetPublishConnectionDetailsTo

func (mg *SecretRole) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this SecretRole.

func (*SecretRole) GetTerraformResourceType

func (mg *SecretRole) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SecretRole

func (*SecretRole) GetTerraformSchemaVersion

func (tr *SecretRole) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SecretRole) GetWriteConnectionSecretToReference

func (mg *SecretRole) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this SecretRole.

func (*SecretRole) LateInitialize

func (tr *SecretRole) LateInitialize(attrs []byte) (bool, error)

LateInitialize this SecretRole using its observed tfState. returns True if there are any spec changes for the resource.

func (*SecretRole) SetConditions

func (mg *SecretRole) SetConditions(c ...xpv1.Condition)

SetConditions of this SecretRole.

func (*SecretRole) SetDeletionPolicy

func (mg *SecretRole) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this SecretRole.

func (*SecretRole) SetManagementPolicies added in v0.2.0

func (mg *SecretRole) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this SecretRole.

func (*SecretRole) SetObservation

func (tr *SecretRole) SetObservation(obs map[string]any) error

SetObservation for this SecretRole

func (*SecretRole) SetParameters

func (tr *SecretRole) SetParameters(params map[string]any) error

SetParameters for this SecretRole

func (*SecretRole) SetProviderConfigReference

func (mg *SecretRole) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this SecretRole.

func (*SecretRole) SetProviderReference

func (mg *SecretRole) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this SecretRole. Deprecated: Use SetProviderConfigReference.

func (*SecretRole) SetPublishConnectionDetailsTo

func (mg *SecretRole) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this SecretRole.

func (*SecretRole) SetWriteConnectionSecretToReference

func (mg *SecretRole) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this SecretRole.

type SecretRoleInitParameters added in v0.2.0

type SecretRoleInitParameters struct {

	// The namespace to provision the resource in.
	// The value should not contain leading or trailing forward slashes.
	// The namespace is always relative to the provider's configured namespace.
	// Available only for Vault Enterprise.
	// Target namespace. (requires Enterprise)
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// Grant permission to use the KMIP Activate operation.
	// Grant permission to use the KMIP Activate operation
	OperationActivate *bool `json:"operationActivate,omitempty" tf:"operation_activate,omitempty"`

	// Grant permission to use the KMIP Add Attribute operation.
	// Grant permission to use the KMIP Add Attribute operation
	OperationAddAttribute *bool `json:"operationAddAttribute,omitempty" tf:"operation_add_attribute,omitempty"`

	// Grant all permissions to this role. May not be specified with any other operation_* params.
	// Grant all permissions to this role. May not be specified with any other operation_* params
	OperationAll *bool `json:"operationAll,omitempty" tf:"operation_all,omitempty"`

	// Grant permission to use the KMIP Create operation.
	// Grant permission to use the KMIP Create operation
	OperationCreate *bool `json:"operationCreate,omitempty" tf:"operation_create,omitempty"`

	// Grant permission to use the KMIP Destroy operation.
	// Grant permission to use the KMIP Destroy operation
	OperationDestroy *bool `json:"operationDestroy,omitempty" tf:"operation_destroy,omitempty"`

	// Grant permission to use the KMIP Discover Version operation.
	// Grant permission to use the KMIP Discover Version operation
	OperationDiscoverVersions *bool `json:"operationDiscoverVersions,omitempty" tf:"operation_discover_versions,omitempty"`

	// Grant permission to use the KMIP Get operation.
	// Grant permission to use the KMIP Get operation
	OperationGet *bool `json:"operationGet,omitempty" tf:"operation_get,omitempty"`

	// Grant permission to use the KMIP Get Atrribute List operation.
	// Grant permission to use the KMIP Get Attribute List operation
	OperationGetAttributeList *bool `json:"operationGetAttributeList,omitempty" tf:"operation_get_attribute_list,omitempty"`

	// Grant permission to use the KMIP Get Atrributes operation.
	// Grant permission to use the KMIP Get Attributes operation
	OperationGetAttributes *bool `json:"operationGetAttributes,omitempty" tf:"operation_get_attributes,omitempty"`

	// Grant permission to use the KMIP Get Locate operation.
	// Grant permission to use the KMIP Locate operation
	OperationLocate *bool `json:"operationLocate,omitempty" tf:"operation_locate,omitempty"`

	// Remove all permissions from this role. May not be specified with any other operation_* params.
	// Remove all permissions from this role. May not be specified with any other operation_* params
	OperationNone *bool `json:"operationNone,omitempty" tf:"operation_none,omitempty"`

	// Grant permission to use the KMIP Register operation.
	// Grant permission to use the KMIP Register operation
	OperationRegister *bool `json:"operationRegister,omitempty" tf:"operation_register,omitempty"`

	// Grant permission to use the KMIP Rekey operation.
	// Grant permission to use the KMIP Rekey operation
	OperationRekey *bool `json:"operationRekey,omitempty" tf:"operation_rekey,omitempty"`

	// Grant permission to use the KMIP Revoke operation.
	// Grant permission to use the KMIP Revoke operation
	OperationRevoke *bool `json:"operationRevoke,omitempty" tf:"operation_revoke,omitempty"`

	// The unique path this backend should be mounted at. Must
	// not begin or end with a /. Defaults to kmip.
	// Path where KMIP backend is mounted
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Name of the role.
	// Name of the role
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// Name of the scope.
	// Name of the scope
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	// Client certificate key bits, valid values depend on key type.
	// Client certificate key bits, valid values depend on key type
	TLSClientKeyBits *float64 `json:"tlsClientKeyBits,omitempty" tf:"tls_client_key_bits,omitempty"`

	// Client certificate key type, rsa or ec.
	// Client certificate key type, rsa or ec
	TLSClientKeyType *string `json:"tlsClientKeyType,omitempty" tf:"tls_client_key_type,omitempty"`

	// Client certificate TTL in seconds.
	// Client certificate TTL in seconds
	TLSClientTTL *float64 `json:"tlsClientTtl,omitempty" tf:"tls_client_ttl,omitempty"`
}

func (*SecretRoleInitParameters) DeepCopy added in v0.2.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRoleInitParameters.

func (*SecretRoleInitParameters) DeepCopyInto added in v0.2.0

func (in *SecretRoleInitParameters) DeepCopyInto(out *SecretRoleInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretRoleList

type SecretRoleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SecretRole `json:"items"`
}

SecretRoleList contains a list of SecretRoles

func (*SecretRoleList) DeepCopy

func (in *SecretRoleList) DeepCopy() *SecretRoleList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRoleList.

func (*SecretRoleList) DeepCopyInto

func (in *SecretRoleList) DeepCopyInto(out *SecretRoleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SecretRoleList) DeepCopyObject

func (in *SecretRoleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SecretRoleList) GetItems

func (l *SecretRoleList) GetItems() []resource.Managed

GetItems of this SecretRoleList.

type SecretRoleObservation

type SecretRoleObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The namespace to provision the resource in.
	// The value should not contain leading or trailing forward slashes.
	// The namespace is always relative to the provider's configured namespace.
	// Available only for Vault Enterprise.
	// Target namespace. (requires Enterprise)
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// Grant permission to use the KMIP Activate operation.
	// Grant permission to use the KMIP Activate operation
	OperationActivate *bool `json:"operationActivate,omitempty" tf:"operation_activate,omitempty"`

	// Grant permission to use the KMIP Add Attribute operation.
	// Grant permission to use the KMIP Add Attribute operation
	OperationAddAttribute *bool `json:"operationAddAttribute,omitempty" tf:"operation_add_attribute,omitempty"`

	// Grant all permissions to this role. May not be specified with any other operation_* params.
	// Grant all permissions to this role. May not be specified with any other operation_* params
	OperationAll *bool `json:"operationAll,omitempty" tf:"operation_all,omitempty"`

	// Grant permission to use the KMIP Create operation.
	// Grant permission to use the KMIP Create operation
	OperationCreate *bool `json:"operationCreate,omitempty" tf:"operation_create,omitempty"`

	// Grant permission to use the KMIP Destroy operation.
	// Grant permission to use the KMIP Destroy operation
	OperationDestroy *bool `json:"operationDestroy,omitempty" tf:"operation_destroy,omitempty"`

	// Grant permission to use the KMIP Discover Version operation.
	// Grant permission to use the KMIP Discover Version operation
	OperationDiscoverVersions *bool `json:"operationDiscoverVersions,omitempty" tf:"operation_discover_versions,omitempty"`

	// Grant permission to use the KMIP Get operation.
	// Grant permission to use the KMIP Get operation
	OperationGet *bool `json:"operationGet,omitempty" tf:"operation_get,omitempty"`

	// Grant permission to use the KMIP Get Atrribute List operation.
	// Grant permission to use the KMIP Get Attribute List operation
	OperationGetAttributeList *bool `json:"operationGetAttributeList,omitempty" tf:"operation_get_attribute_list,omitempty"`

	// Grant permission to use the KMIP Get Atrributes operation.
	// Grant permission to use the KMIP Get Attributes operation
	OperationGetAttributes *bool `json:"operationGetAttributes,omitempty" tf:"operation_get_attributes,omitempty"`

	// Grant permission to use the KMIP Get Locate operation.
	// Grant permission to use the KMIP Locate operation
	OperationLocate *bool `json:"operationLocate,omitempty" tf:"operation_locate,omitempty"`

	// Remove all permissions from this role. May not be specified with any other operation_* params.
	// Remove all permissions from this role. May not be specified with any other operation_* params
	OperationNone *bool `json:"operationNone,omitempty" tf:"operation_none,omitempty"`

	// Grant permission to use the KMIP Register operation.
	// Grant permission to use the KMIP Register operation
	OperationRegister *bool `json:"operationRegister,omitempty" tf:"operation_register,omitempty"`

	// Grant permission to use the KMIP Rekey operation.
	// Grant permission to use the KMIP Rekey operation
	OperationRekey *bool `json:"operationRekey,omitempty" tf:"operation_rekey,omitempty"`

	// Grant permission to use the KMIP Revoke operation.
	// Grant permission to use the KMIP Revoke operation
	OperationRevoke *bool `json:"operationRevoke,omitempty" tf:"operation_revoke,omitempty"`

	// The unique path this backend should be mounted at. Must
	// not begin or end with a /. Defaults to kmip.
	// Path where KMIP backend is mounted
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Name of the role.
	// Name of the role
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// Name of the scope.
	// Name of the scope
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	// Client certificate key bits, valid values depend on key type.
	// Client certificate key bits, valid values depend on key type
	TLSClientKeyBits *float64 `json:"tlsClientKeyBits,omitempty" tf:"tls_client_key_bits,omitempty"`

	// Client certificate key type, rsa or ec.
	// Client certificate key type, rsa or ec
	TLSClientKeyType *string `json:"tlsClientKeyType,omitempty" tf:"tls_client_key_type,omitempty"`

	// Client certificate TTL in seconds.
	// Client certificate TTL in seconds
	TLSClientTTL *float64 `json:"tlsClientTtl,omitempty" tf:"tls_client_ttl,omitempty"`
}

func (*SecretRoleObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRoleObservation.

func (*SecretRoleObservation) DeepCopyInto

func (in *SecretRoleObservation) DeepCopyInto(out *SecretRoleObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretRoleParameters

type SecretRoleParameters struct {

	// The namespace to provision the resource in.
	// The value should not contain leading or trailing forward slashes.
	// The namespace is always relative to the provider's configured namespace.
	// Available only for Vault Enterprise.
	// Target namespace. (requires Enterprise)
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// Grant permission to use the KMIP Activate operation.
	// Grant permission to use the KMIP Activate operation
	// +kubebuilder:validation:Optional
	OperationActivate *bool `json:"operationActivate,omitempty" tf:"operation_activate,omitempty"`

	// Grant permission to use the KMIP Add Attribute operation.
	// Grant permission to use the KMIP Add Attribute operation
	// +kubebuilder:validation:Optional
	OperationAddAttribute *bool `json:"operationAddAttribute,omitempty" tf:"operation_add_attribute,omitempty"`

	// Grant all permissions to this role. May not be specified with any other operation_* params.
	// Grant all permissions to this role. May not be specified with any other operation_* params
	// +kubebuilder:validation:Optional
	OperationAll *bool `json:"operationAll,omitempty" tf:"operation_all,omitempty"`

	// Grant permission to use the KMIP Create operation.
	// Grant permission to use the KMIP Create operation
	// +kubebuilder:validation:Optional
	OperationCreate *bool `json:"operationCreate,omitempty" tf:"operation_create,omitempty"`

	// Grant permission to use the KMIP Destroy operation.
	// Grant permission to use the KMIP Destroy operation
	// +kubebuilder:validation:Optional
	OperationDestroy *bool `json:"operationDestroy,omitempty" tf:"operation_destroy,omitempty"`

	// Grant permission to use the KMIP Discover Version operation.
	// Grant permission to use the KMIP Discover Version operation
	// +kubebuilder:validation:Optional
	OperationDiscoverVersions *bool `json:"operationDiscoverVersions,omitempty" tf:"operation_discover_versions,omitempty"`

	// Grant permission to use the KMIP Get operation.
	// Grant permission to use the KMIP Get operation
	// +kubebuilder:validation:Optional
	OperationGet *bool `json:"operationGet,omitempty" tf:"operation_get,omitempty"`

	// Grant permission to use the KMIP Get Atrribute List operation.
	// Grant permission to use the KMIP Get Attribute List operation
	// +kubebuilder:validation:Optional
	OperationGetAttributeList *bool `json:"operationGetAttributeList,omitempty" tf:"operation_get_attribute_list,omitempty"`

	// Grant permission to use the KMIP Get Atrributes operation.
	// Grant permission to use the KMIP Get Attributes operation
	// +kubebuilder:validation:Optional
	OperationGetAttributes *bool `json:"operationGetAttributes,omitempty" tf:"operation_get_attributes,omitempty"`

	// Grant permission to use the KMIP Get Locate operation.
	// Grant permission to use the KMIP Locate operation
	// +kubebuilder:validation:Optional
	OperationLocate *bool `json:"operationLocate,omitempty" tf:"operation_locate,omitempty"`

	// Remove all permissions from this role. May not be specified with any other operation_* params.
	// Remove all permissions from this role. May not be specified with any other operation_* params
	// +kubebuilder:validation:Optional
	OperationNone *bool `json:"operationNone,omitempty" tf:"operation_none,omitempty"`

	// Grant permission to use the KMIP Register operation.
	// Grant permission to use the KMIP Register operation
	// +kubebuilder:validation:Optional
	OperationRegister *bool `json:"operationRegister,omitempty" tf:"operation_register,omitempty"`

	// Grant permission to use the KMIP Rekey operation.
	// Grant permission to use the KMIP Rekey operation
	// +kubebuilder:validation:Optional
	OperationRekey *bool `json:"operationRekey,omitempty" tf:"operation_rekey,omitempty"`

	// Grant permission to use the KMIP Revoke operation.
	// Grant permission to use the KMIP Revoke operation
	// +kubebuilder:validation:Optional
	OperationRevoke *bool `json:"operationRevoke,omitempty" tf:"operation_revoke,omitempty"`

	// The unique path this backend should be mounted at. Must
	// not begin or end with a /. Defaults to kmip.
	// Path where KMIP backend is mounted
	// +kubebuilder:validation:Optional
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Name of the role.
	// Name of the role
	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// Name of the scope.
	// Name of the scope
	// +kubebuilder:validation:Optional
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	// Client certificate key bits, valid values depend on key type.
	// Client certificate key bits, valid values depend on key type
	// +kubebuilder:validation:Optional
	TLSClientKeyBits *float64 `json:"tlsClientKeyBits,omitempty" tf:"tls_client_key_bits,omitempty"`

	// Client certificate key type, rsa or ec.
	// Client certificate key type, rsa or ec
	// +kubebuilder:validation:Optional
	TLSClientKeyType *string `json:"tlsClientKeyType,omitempty" tf:"tls_client_key_type,omitempty"`

	// Client certificate TTL in seconds.
	// Client certificate TTL in seconds
	// +kubebuilder:validation:Optional
	TLSClientTTL *float64 `json:"tlsClientTtl,omitempty" tf:"tls_client_ttl,omitempty"`
}

func (*SecretRoleParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRoleParameters.

func (*SecretRoleParameters) DeepCopyInto

func (in *SecretRoleParameters) DeepCopyInto(out *SecretRoleParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretRoleSpec

type SecretRoleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SecretRoleParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider SecretRoleInitParameters `json:"initProvider,omitempty"`
}

SecretRoleSpec defines the desired state of SecretRole

func (*SecretRoleSpec) DeepCopy

func (in *SecretRoleSpec) DeepCopy() *SecretRoleSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRoleSpec.

func (*SecretRoleSpec) DeepCopyInto

func (in *SecretRoleSpec) DeepCopyInto(out *SecretRoleSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretRoleStatus

type SecretRoleStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SecretRoleObservation `json:"atProvider,omitempty"`
}

SecretRoleStatus defines the observed state of SecretRole.

func (*SecretRoleStatus) DeepCopy

func (in *SecretRoleStatus) DeepCopy() *SecretRoleStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRoleStatus.

func (*SecretRoleStatus) DeepCopyInto

func (in *SecretRoleStatus) DeepCopyInto(out *SecretRoleStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretScope

type SecretScope struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.path) || has(self.initProvider.path)",message="path is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scope) || has(self.initProvider.scope)",message="scope is a required parameter"
	Spec   SecretScopeSpec   `json:"spec"`
	Status SecretScopeStatus `json:"status,omitempty"`
}

SecretScope is the Schema for the SecretScopes API. Provision KMIP Secret scopes in Vault. +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 (*SecretScope) DeepCopy

func (in *SecretScope) DeepCopy() *SecretScope

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretScope.

func (*SecretScope) DeepCopyInto

func (in *SecretScope) DeepCopyInto(out *SecretScope)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SecretScope) DeepCopyObject

func (in *SecretScope) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SecretScope) GetCondition

func (mg *SecretScope) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this SecretScope.

func (*SecretScope) GetConnectionDetailsMapping

func (tr *SecretScope) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this SecretScope

func (*SecretScope) GetDeletionPolicy

func (mg *SecretScope) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this SecretScope.

func (*SecretScope) GetID

func (tr *SecretScope) GetID() string

GetID returns ID of underlying Terraform resource of this SecretScope

func (*SecretScope) GetInitParameters added in v0.2.0

func (tr *SecretScope) GetInitParameters() (map[string]any, error)

GetInitParameters of this SecretScope

func (*SecretScope) GetManagementPolicies added in v0.2.0

func (mg *SecretScope) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this SecretScope.

func (*SecretScope) GetObservation

func (tr *SecretScope) GetObservation() (map[string]any, error)

GetObservation of this SecretScope

func (*SecretScope) GetParameters

func (tr *SecretScope) GetParameters() (map[string]any, error)

GetParameters of this SecretScope

func (*SecretScope) GetProviderConfigReference

func (mg *SecretScope) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this SecretScope.

func (*SecretScope) GetProviderReference

func (mg *SecretScope) GetProviderReference() *xpv1.Reference

GetProviderReference of this SecretScope. Deprecated: Use GetProviderConfigReference.

func (*SecretScope) GetPublishConnectionDetailsTo

func (mg *SecretScope) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this SecretScope.

func (*SecretScope) GetTerraformResourceType

func (mg *SecretScope) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SecretScope

func (*SecretScope) GetTerraformSchemaVersion

func (tr *SecretScope) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SecretScope) GetWriteConnectionSecretToReference

func (mg *SecretScope) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this SecretScope.

func (*SecretScope) LateInitialize

func (tr *SecretScope) LateInitialize(attrs []byte) (bool, error)

LateInitialize this SecretScope using its observed tfState. returns True if there are any spec changes for the resource.

func (*SecretScope) SetConditions

func (mg *SecretScope) SetConditions(c ...xpv1.Condition)

SetConditions of this SecretScope.

func (*SecretScope) SetDeletionPolicy

func (mg *SecretScope) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this SecretScope.

func (*SecretScope) SetManagementPolicies added in v0.2.0

func (mg *SecretScope) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this SecretScope.

func (*SecretScope) SetObservation

func (tr *SecretScope) SetObservation(obs map[string]any) error

SetObservation for this SecretScope

func (*SecretScope) SetParameters

func (tr *SecretScope) SetParameters(params map[string]any) error

SetParameters for this SecretScope

func (*SecretScope) SetProviderConfigReference

func (mg *SecretScope) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this SecretScope.

func (*SecretScope) SetProviderReference

func (mg *SecretScope) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this SecretScope. Deprecated: Use SetProviderConfigReference.

func (*SecretScope) SetPublishConnectionDetailsTo

func (mg *SecretScope) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this SecretScope.

func (*SecretScope) SetWriteConnectionSecretToReference

func (mg *SecretScope) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this SecretScope.

type SecretScopeInitParameters added in v0.2.0

type SecretScopeInitParameters struct {

	// Boolean field to force deletion even if there are managed objects in the scope.
	// Force deletion even if there are managed objects in the scope
	Force *bool `json:"force,omitempty" tf:"force,omitempty"`

	// The namespace to provision the resource in.
	// The value should not contain leading or trailing forward slashes.
	// The namespace is always relative to the provider's configured namespace.
	// Available only for Vault Enterprise.
	// Target namespace. (requires Enterprise)
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// The unique path this backend should be mounted at. Must
	// not begin or end with a /. Defaults to kmip.
	// Path where KMIP backend is mounted
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Name of the scope.
	// Name of the scope
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`
}

func (*SecretScopeInitParameters) DeepCopy added in v0.2.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretScopeInitParameters.

func (*SecretScopeInitParameters) DeepCopyInto added in v0.2.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretScopeList

type SecretScopeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SecretScope `json:"items"`
}

SecretScopeList contains a list of SecretScopes

func (*SecretScopeList) DeepCopy

func (in *SecretScopeList) DeepCopy() *SecretScopeList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretScopeList.

func (*SecretScopeList) DeepCopyInto

func (in *SecretScopeList) DeepCopyInto(out *SecretScopeList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SecretScopeList) DeepCopyObject

func (in *SecretScopeList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SecretScopeList) GetItems

func (l *SecretScopeList) GetItems() []resource.Managed

GetItems of this SecretScopeList.

type SecretScopeObservation

type SecretScopeObservation struct {

	// Boolean field to force deletion even if there are managed objects in the scope.
	// Force deletion even if there are managed objects in the scope
	Force *bool `json:"force,omitempty" tf:"force,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The namespace to provision the resource in.
	// The value should not contain leading or trailing forward slashes.
	// The namespace is always relative to the provider's configured namespace.
	// Available only for Vault Enterprise.
	// Target namespace. (requires Enterprise)
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// The unique path this backend should be mounted at. Must
	// not begin or end with a /. Defaults to kmip.
	// Path where KMIP backend is mounted
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Name of the scope.
	// Name of the scope
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`
}

func (*SecretScopeObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretScopeObservation.

func (*SecretScopeObservation) DeepCopyInto

func (in *SecretScopeObservation) DeepCopyInto(out *SecretScopeObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretScopeParameters

type SecretScopeParameters struct {

	// Boolean field to force deletion even if there are managed objects in the scope.
	// Force deletion even if there are managed objects in the scope
	// +kubebuilder:validation:Optional
	Force *bool `json:"force,omitempty" tf:"force,omitempty"`

	// The namespace to provision the resource in.
	// The value should not contain leading or trailing forward slashes.
	// The namespace is always relative to the provider's configured namespace.
	// Available only for Vault Enterprise.
	// Target namespace. (requires Enterprise)
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// The unique path this backend should be mounted at. Must
	// not begin or end with a /. Defaults to kmip.
	// Path where KMIP backend is mounted
	// +kubebuilder:validation:Optional
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Name of the scope.
	// Name of the scope
	// +kubebuilder:validation:Optional
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`
}

func (*SecretScopeParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretScopeParameters.

func (*SecretScopeParameters) DeepCopyInto

func (in *SecretScopeParameters) DeepCopyInto(out *SecretScopeParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretScopeSpec

type SecretScopeSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SecretScopeParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider SecretScopeInitParameters `json:"initProvider,omitempty"`
}

SecretScopeSpec defines the desired state of SecretScope

func (*SecretScopeSpec) DeepCopy

func (in *SecretScopeSpec) DeepCopy() *SecretScopeSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretScopeSpec.

func (*SecretScopeSpec) DeepCopyInto

func (in *SecretScopeSpec) DeepCopyInto(out *SecretScopeSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretScopeStatus

type SecretScopeStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SecretScopeObservation `json:"atProvider,omitempty"`
}

SecretScopeStatus defines the observed state of SecretScope.

func (*SecretScopeStatus) DeepCopy

func (in *SecretScopeStatus) DeepCopy() *SecretScopeStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretScopeStatus.

func (*SecretScopeStatus) DeepCopyInto

func (in *SecretScopeStatus) DeepCopyInto(out *SecretScopeStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL