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=terraform.vault.upbound.io +versionName=v1alpha1

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	CloudSecretBackend_Kind             = "CloudSecretBackend"
	CloudSecretBackend_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CloudSecretBackend_Kind}.String()
	CloudSecretBackend_KindAPIVersion   = CloudSecretBackend_Kind + "." + CRDGroupVersion.String()
	CloudSecretBackend_GroupVersionKind = CRDGroupVersion.WithKind(CloudSecretBackend_Kind)
)

Repository type metadata.

View Source
var (
	CloudSecretCreds_Kind             = "CloudSecretCreds"
	CloudSecretCreds_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CloudSecretCreds_Kind}.String()
	CloudSecretCreds_KindAPIVersion   = CloudSecretCreds_Kind + "." + CRDGroupVersion.String()
	CloudSecretCreds_GroupVersionKind = CRDGroupVersion.WithKind(CloudSecretCreds_Kind)
)

Repository type metadata.

View Source
var (
	CloudSecretRole_Kind             = "CloudSecretRole"
	CloudSecretRole_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CloudSecretRole_Kind}.String()
	CloudSecretRole_KindAPIVersion   = CloudSecretRole_Kind + "." + CRDGroupVersion.String()
	CloudSecretRole_GroupVersionKind = CRDGroupVersion.WithKind(CloudSecretRole_Kind)
)

Repository type metadata.

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
)

Functions

This section is empty.

Types

type CloudSecretBackend

type CloudSecretBackend struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CloudSecretBackendSpec   `json:"spec"`
	Status            CloudSecretBackendStatus `json:"status,omitempty"`
}

CloudSecretBackend is the Schema for the CloudSecretBackends API. +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 (*CloudSecretBackend) DeepCopy

func (in *CloudSecretBackend) DeepCopy() *CloudSecretBackend

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

func (*CloudSecretBackend) DeepCopyInto

func (in *CloudSecretBackend) DeepCopyInto(out *CloudSecretBackend)

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

func (*CloudSecretBackend) DeepCopyObject

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

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

func (*CloudSecretBackend) GetCondition

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

GetCondition of this CloudSecretBackend.

func (*CloudSecretBackend) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CloudSecretBackend

func (*CloudSecretBackend) GetDeletionPolicy

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

GetDeletionPolicy of this CloudSecretBackend.

func (*CloudSecretBackend) GetID

func (tr *CloudSecretBackend) GetID() string

GetID returns ID of underlying Terraform resource of this CloudSecretBackend

func (*CloudSecretBackend) GetInitParameters added in v0.2.0

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

GetInitParameters of this CloudSecretBackend

func (*CloudSecretBackend) GetManagementPolicies added in v0.2.0

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

GetManagementPolicies of this CloudSecretBackend.

func (*CloudSecretBackend) GetObservation

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

GetObservation of this CloudSecretBackend

func (*CloudSecretBackend) GetParameters

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

GetParameters of this CloudSecretBackend

func (*CloudSecretBackend) GetProviderConfigReference

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

GetProviderConfigReference of this CloudSecretBackend.

func (*CloudSecretBackend) GetProviderReference

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

GetProviderReference of this CloudSecretBackend. Deprecated: Use GetProviderConfigReference.

func (*CloudSecretBackend) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CloudSecretBackend.

func (*CloudSecretBackend) GetTerraformResourceType

func (mg *CloudSecretBackend) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CloudSecretBackend

func (*CloudSecretBackend) GetTerraformSchemaVersion

func (tr *CloudSecretBackend) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CloudSecretBackend) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CloudSecretBackend.

func (*CloudSecretBackend) LateInitialize

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

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

func (*CloudSecretBackend) SetConditions

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

SetConditions of this CloudSecretBackend.

func (*CloudSecretBackend) SetDeletionPolicy

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

SetDeletionPolicy of this CloudSecretBackend.

func (*CloudSecretBackend) SetManagementPolicies added in v0.2.0

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

SetManagementPolicies of this CloudSecretBackend.

func (*CloudSecretBackend) SetObservation

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

SetObservation for this CloudSecretBackend

func (*CloudSecretBackend) SetParameters

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

SetParameters for this CloudSecretBackend

func (*CloudSecretBackend) SetProviderConfigReference

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

SetProviderConfigReference of this CloudSecretBackend.

func (*CloudSecretBackend) SetProviderReference

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

SetProviderReference of this CloudSecretBackend. Deprecated: Use SetProviderConfigReference.

func (*CloudSecretBackend) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CloudSecretBackend.

func (*CloudSecretBackend) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CloudSecretBackend.

type CloudSecretBackendInitParameters added in v0.2.0

type CloudSecretBackendInitParameters struct {

	// 0.0.1:8500".
	Address *string `json:"address,omitempty" tf:"address,omitempty"`

	// The unique location this backend should be mounted at. Must not begin or end with a /
	Backend *string `json:"backend,omitempty" tf:"backend,omitempty"`

	BasePath *string `json:"basePath,omitempty" tf:"base_path,omitempty"`

	// The default TTL for credentials issued by this backend.
	// Default lease duration for secrets in seconds
	DefaultLeaseTTLSeconds *float64 `json:"defaultLeaseTtlSeconds,omitempty" tf:"default_lease_ttl_seconds,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"`

	// The maximum TTL that can be requested
	// for credentials issued by this backend.
	// Maximum possible lease duration for secrets in seconds
	MaxLeaseTTLSeconds *float64 `json:"maxLeaseTtlSeconds,omitempty" tf:"max_lease_ttl_seconds,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"`
}

func (*CloudSecretBackendInitParameters) DeepCopy added in v0.2.0

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

func (*CloudSecretBackendInitParameters) DeepCopyInto added in v0.2.0

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

type CloudSecretBackendList

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

CloudSecretBackendList contains a list of CloudSecretBackends

func (*CloudSecretBackendList) DeepCopy

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

func (*CloudSecretBackendList) DeepCopyInto

func (in *CloudSecretBackendList) DeepCopyInto(out *CloudSecretBackendList)

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

func (*CloudSecretBackendList) DeepCopyObject

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

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

func (*CloudSecretBackendList) GetItems

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

GetItems of this CloudSecretBackendList.

type CloudSecretBackendObservation

type CloudSecretBackendObservation struct {

	// 0.0.1:8500".
	Address *string `json:"address,omitempty" tf:"address,omitempty"`

	// The unique location this backend should be mounted at. Must not begin or end with a /
	Backend *string `json:"backend,omitempty" tf:"backend,omitempty"`

	BasePath *string `json:"basePath,omitempty" tf:"base_path,omitempty"`

	// The default TTL for credentials issued by this backend.
	// Default lease duration for secrets in seconds
	DefaultLeaseTTLSeconds *float64 `json:"defaultLeaseTtlSeconds,omitempty" tf:"default_lease_ttl_seconds,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"`

	// The maximum TTL that can be requested
	// for credentials issued by this backend.
	// Maximum possible lease duration for secrets in seconds
	MaxLeaseTTLSeconds *float64 `json:"maxLeaseTtlSeconds,omitempty" tf:"max_lease_ttl_seconds,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"`
}

func (*CloudSecretBackendObservation) DeepCopy

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

func (*CloudSecretBackendObservation) DeepCopyInto

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

type CloudSecretBackendParameters

type CloudSecretBackendParameters struct {

	// 0.0.1:8500".
	// +kubebuilder:validation:Optional
	Address *string `json:"address,omitempty" tf:"address,omitempty"`

	// The unique location this backend should be mounted at. Must not begin or end with a /
	// +kubebuilder:validation:Optional
	Backend *string `json:"backend,omitempty" tf:"backend,omitempty"`

	// +kubebuilder:validation:Optional
	BasePath *string `json:"basePath,omitempty" tf:"base_path,omitempty"`

	// The default TTL for credentials issued by this backend.
	// Default lease duration for secrets in seconds
	// +kubebuilder:validation:Optional
	DefaultLeaseTTLSeconds *float64 `json:"defaultLeaseTtlSeconds,omitempty" tf:"default_lease_ttl_seconds,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"`

	// The maximum TTL that can be requested
	// for credentials issued by this backend.
	// Maximum possible lease duration for secrets in seconds
	// +kubebuilder:validation:Optional
	MaxLeaseTTLSeconds *float64 `json:"maxLeaseTtlSeconds,omitempty" tf:"max_lease_ttl_seconds,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"`

	// +kubebuilder:validation:Optional
	TokenSecretRef *v1.SecretKeySelector `json:"tokenSecretRef,omitempty" tf:"-"`
}

func (*CloudSecretBackendParameters) DeepCopy

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

func (*CloudSecretBackendParameters) DeepCopyInto

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

type CloudSecretBackendSpec

type CloudSecretBackendSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CloudSecretBackendParameters `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 CloudSecretBackendInitParameters `json:"initProvider,omitempty"`
}

CloudSecretBackendSpec defines the desired state of CloudSecretBackend

func (*CloudSecretBackendSpec) DeepCopy

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

func (*CloudSecretBackendSpec) DeepCopyInto

func (in *CloudSecretBackendSpec) DeepCopyInto(out *CloudSecretBackendSpec)

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

type CloudSecretBackendStatus

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

CloudSecretBackendStatus defines the observed state of CloudSecretBackend.

func (*CloudSecretBackendStatus) DeepCopy

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

func (*CloudSecretBackendStatus) DeepCopyInto

func (in *CloudSecretBackendStatus) DeepCopyInto(out *CloudSecretBackendStatus)

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

type CloudSecretCreds

type CloudSecretCreds 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.backend) || has(self.initProvider.backend)",message="backend 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"
	Spec   CloudSecretCredsSpec   `json:"spec"`
	Status CloudSecretCredsStatus `json:"status,omitempty"`
}

CloudSecretCreds is the Schema for the CloudSecretCredss API. +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 (*CloudSecretCreds) DeepCopy

func (in *CloudSecretCreds) DeepCopy() *CloudSecretCreds

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

func (*CloudSecretCreds) DeepCopyInto

func (in *CloudSecretCreds) DeepCopyInto(out *CloudSecretCreds)

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

func (*CloudSecretCreds) DeepCopyObject

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

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

func (*CloudSecretCreds) GetCondition

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

GetCondition of this CloudSecretCreds.

func (*CloudSecretCreds) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CloudSecretCreds

func (*CloudSecretCreds) GetDeletionPolicy

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

GetDeletionPolicy of this CloudSecretCreds.

func (*CloudSecretCreds) GetID

func (tr *CloudSecretCreds) GetID() string

GetID returns ID of underlying Terraform resource of this CloudSecretCreds

func (*CloudSecretCreds) GetInitParameters added in v0.2.0

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

GetInitParameters of this CloudSecretCreds

func (*CloudSecretCreds) GetManagementPolicies added in v0.2.0

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

GetManagementPolicies of this CloudSecretCreds.

func (*CloudSecretCreds) GetObservation

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

GetObservation of this CloudSecretCreds

func (*CloudSecretCreds) GetParameters

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

GetParameters of this CloudSecretCreds

func (*CloudSecretCreds) GetProviderConfigReference

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

GetProviderConfigReference of this CloudSecretCreds.

func (*CloudSecretCreds) GetProviderReference

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

GetProviderReference of this CloudSecretCreds. Deprecated: Use GetProviderConfigReference.

func (*CloudSecretCreds) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CloudSecretCreds.

func (*CloudSecretCreds) GetTerraformResourceType

func (mg *CloudSecretCreds) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CloudSecretCreds

func (*CloudSecretCreds) GetTerraformSchemaVersion

func (tr *CloudSecretCreds) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CloudSecretCreds) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CloudSecretCreds.

func (*CloudSecretCreds) LateInitialize

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

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

func (*CloudSecretCreds) SetConditions

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

SetConditions of this CloudSecretCreds.

func (*CloudSecretCreds) SetDeletionPolicy

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

SetDeletionPolicy of this CloudSecretCreds.

func (*CloudSecretCreds) SetManagementPolicies added in v0.2.0

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

SetManagementPolicies of this CloudSecretCreds.

func (*CloudSecretCreds) SetObservation

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

SetObservation for this CloudSecretCreds

func (*CloudSecretCreds) SetParameters

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

SetParameters for this CloudSecretCreds

func (*CloudSecretCreds) SetProviderConfigReference

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

SetProviderConfigReference of this CloudSecretCreds.

func (*CloudSecretCreds) SetProviderReference

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

SetProviderReference of this CloudSecretCreds. Deprecated: Use SetProviderConfigReference.

func (*CloudSecretCreds) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CloudSecretCreds.

func (*CloudSecretCreds) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CloudSecretCreds.

type CloudSecretCredsInitParameters added in v0.2.0

type CloudSecretCredsInitParameters struct {

	// the path to the Upbound official provider cloud secret backend to
	// read credentials from, with no leading or trailing /s.
	// Upbound official provider cloud secret backend to generate tokens from
	Backend *string `json:"backend,omitempty" tf:"backend,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"`

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

func (*CloudSecretCredsInitParameters) DeepCopy added in v0.2.0

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

func (*CloudSecretCredsInitParameters) DeepCopyInto added in v0.2.0

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

type CloudSecretCredsList

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

CloudSecretCredsList contains a list of CloudSecretCredss

func (*CloudSecretCredsList) DeepCopy

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

func (*CloudSecretCredsList) DeepCopyInto

func (in *CloudSecretCredsList) DeepCopyInto(out *CloudSecretCredsList)

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

func (*CloudSecretCredsList) DeepCopyObject

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

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

func (*CloudSecretCredsList) GetItems

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

GetItems of this CloudSecretCredsList.

type CloudSecretCredsObservation

type CloudSecretCredsObservation struct {

	// the path to the Upbound official provider cloud secret backend to
	// read credentials from, with no leading or trailing /s.
	// Upbound official provider cloud secret backend to generate tokens from
	Backend *string `json:"backend,omitempty" tf:"backend,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 organization associated with the token provided
	Organization *string `json:"organization,omitempty" tf:"organization,omitempty"`

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

	// The team id associated with the token provided.g., settings/teams/team-xxxxxxxxxxxxx)
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// The public identifier for a specific token. It can be used
	// to look up information about a token or to revoke a token
	TokenID *string `json:"tokenId,omitempty" tf:"token_id,omitempty"`
}

func (*CloudSecretCredsObservation) DeepCopy

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

func (*CloudSecretCredsObservation) DeepCopyInto

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

type CloudSecretCredsParameters

type CloudSecretCredsParameters struct {

	// the path to the Upbound official provider cloud secret backend to
	// read credentials from, with no leading or trailing /s.
	// Upbound official provider cloud secret backend to generate tokens from
	// +kubebuilder:validation:Optional
	Backend *string `json:"backend,omitempty" tf:"backend,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"`

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

func (*CloudSecretCredsParameters) DeepCopy

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

func (*CloudSecretCredsParameters) DeepCopyInto

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

type CloudSecretCredsSpec

type CloudSecretCredsSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CloudSecretCredsParameters `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 CloudSecretCredsInitParameters `json:"initProvider,omitempty"`
}

CloudSecretCredsSpec defines the desired state of CloudSecretCreds

func (*CloudSecretCredsSpec) DeepCopy

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

func (*CloudSecretCredsSpec) DeepCopyInto

func (in *CloudSecretCredsSpec) DeepCopyInto(out *CloudSecretCredsSpec)

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

type CloudSecretCredsStatus

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

CloudSecretCredsStatus defines the observed state of CloudSecretCreds.

func (*CloudSecretCredsStatus) DeepCopy

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

func (*CloudSecretCredsStatus) DeepCopyInto

func (in *CloudSecretCredsStatus) DeepCopyInto(out *CloudSecretCredsStatus)

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

type CloudSecretRole

type CloudSecretRole 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.name) || has(self.initProvider.name)",message="name is a required parameter"
	Spec   CloudSecretRoleSpec   `json:"spec"`
	Status CloudSecretRoleStatus `json:"status,omitempty"`
}

CloudSecretRole is the Schema for the CloudSecretRoles API. +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 (*CloudSecretRole) DeepCopy

func (in *CloudSecretRole) DeepCopy() *CloudSecretRole

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

func (*CloudSecretRole) DeepCopyInto

func (in *CloudSecretRole) DeepCopyInto(out *CloudSecretRole)

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

func (*CloudSecretRole) DeepCopyObject

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

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

func (*CloudSecretRole) GetCondition

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

GetCondition of this CloudSecretRole.

func (*CloudSecretRole) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CloudSecretRole

func (*CloudSecretRole) GetDeletionPolicy

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

GetDeletionPolicy of this CloudSecretRole.

func (*CloudSecretRole) GetID

func (tr *CloudSecretRole) GetID() string

GetID returns ID of underlying Terraform resource of this CloudSecretRole

func (*CloudSecretRole) GetInitParameters added in v0.2.0

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

GetInitParameters of this CloudSecretRole

func (*CloudSecretRole) GetManagementPolicies added in v0.2.0

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

GetManagementPolicies of this CloudSecretRole.

func (*CloudSecretRole) GetObservation

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

GetObservation of this CloudSecretRole

func (*CloudSecretRole) GetParameters

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

GetParameters of this CloudSecretRole

func (*CloudSecretRole) GetProviderConfigReference

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

GetProviderConfigReference of this CloudSecretRole.

func (*CloudSecretRole) GetProviderReference

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

GetProviderReference of this CloudSecretRole. Deprecated: Use GetProviderConfigReference.

func (*CloudSecretRole) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CloudSecretRole.

func (*CloudSecretRole) GetTerraformResourceType

func (mg *CloudSecretRole) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CloudSecretRole

func (*CloudSecretRole) GetTerraformSchemaVersion

func (tr *CloudSecretRole) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CloudSecretRole) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CloudSecretRole.

func (*CloudSecretRole) LateInitialize

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

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

func (*CloudSecretRole) SetConditions

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

SetConditions of this CloudSecretRole.

func (*CloudSecretRole) SetDeletionPolicy

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

SetDeletionPolicy of this CloudSecretRole.

func (*CloudSecretRole) SetManagementPolicies added in v0.2.0

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

SetManagementPolicies of this CloudSecretRole.

func (*CloudSecretRole) SetObservation

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

SetObservation for this CloudSecretRole

func (*CloudSecretRole) SetParameters

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

SetParameters for this CloudSecretRole

func (*CloudSecretRole) SetProviderConfigReference

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

SetProviderConfigReference of this CloudSecretRole.

func (*CloudSecretRole) SetProviderReference

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

SetProviderReference of this CloudSecretRole. Deprecated: Use SetProviderConfigReference.

func (*CloudSecretRole) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CloudSecretRole.

func (*CloudSecretRole) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CloudSecretRole.

type CloudSecretRoleInitParameters added in v0.2.0

type CloudSecretRoleInitParameters struct {

	// Must not begin or end with a /.
	Backend *string `json:"backend,omitempty" tf:"backend,omitempty"`

	// Maximum TTL for leases associated with this role, in seconds.
	// Maximum allowed lease for generated credentials. If not set or set to 0, will use system default.
	MaxTTL *float64 `json:"maxTtl,omitempty" tf:"max_ttl,omitempty"`

	// the name of the Upbound official provider cloud secrets engine role to create.
	// the name of an existing role against which to create this Upbound official provider cloud credential
	Name *string `json:"name,omitempty" tf:"name,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 organization name managing your Upbound official provider cloud instance.
	// name of the Upbound official provider cloud or enterprise organization
	Organization *string `json:"organization,omitempty" tf:"organization,omitempty"`

	// Specifies the TTL for this role.
	// Default lease for generated credentials. If not set or set to 0, will use system default.
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`

	// g., settings/teams/team-xxxxxxxxxxxxx)
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// g., user-xxxxxxxxxxxxxxxx)
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`
}

func (*CloudSecretRoleInitParameters) DeepCopy added in v0.2.0

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

func (*CloudSecretRoleInitParameters) DeepCopyInto added in v0.2.0

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

type CloudSecretRoleList

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

CloudSecretRoleList contains a list of CloudSecretRoles

func (*CloudSecretRoleList) DeepCopy

func (in *CloudSecretRoleList) DeepCopy() *CloudSecretRoleList

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

func (*CloudSecretRoleList) DeepCopyInto

func (in *CloudSecretRoleList) DeepCopyInto(out *CloudSecretRoleList)

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

func (*CloudSecretRoleList) DeepCopyObject

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

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

func (*CloudSecretRoleList) GetItems

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

GetItems of this CloudSecretRoleList.

type CloudSecretRoleObservation

type CloudSecretRoleObservation struct {

	// Must not begin or end with a /.
	Backend *string `json:"backend,omitempty" tf:"backend,omitempty"`

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

	// Maximum TTL for leases associated with this role, in seconds.
	// Maximum allowed lease for generated credentials. If not set or set to 0, will use system default.
	MaxTTL *float64 `json:"maxTtl,omitempty" tf:"max_ttl,omitempty"`

	// the name of the Upbound official provider cloud secrets engine role to create.
	// the name of an existing role against which to create this Upbound official provider cloud credential
	Name *string `json:"name,omitempty" tf:"name,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 organization name managing your Upbound official provider cloud instance.
	// name of the Upbound official provider cloud or enterprise organization
	Organization *string `json:"organization,omitempty" tf:"organization,omitempty"`

	// Specifies the TTL for this role.
	// Default lease for generated credentials. If not set or set to 0, will use system default.
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`

	// g., settings/teams/team-xxxxxxxxxxxxx)
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// g., user-xxxxxxxxxxxxxxxx)
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`
}

func (*CloudSecretRoleObservation) DeepCopy

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

func (*CloudSecretRoleObservation) DeepCopyInto

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

type CloudSecretRoleParameters

type CloudSecretRoleParameters struct {

	// Must not begin or end with a /.
	// +kubebuilder:validation:Optional
	Backend *string `json:"backend,omitempty" tf:"backend,omitempty"`

	// Maximum TTL for leases associated with this role, in seconds.
	// Maximum allowed lease for generated credentials. If not set or set to 0, will use system default.
	// +kubebuilder:validation:Optional
	MaxTTL *float64 `json:"maxTtl,omitempty" tf:"max_ttl,omitempty"`

	// the name of the Upbound official provider cloud secrets engine role to create.
	// the name of an existing role against which to create this Upbound official provider cloud credential
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,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 organization name managing your Upbound official provider cloud instance.
	// name of the Upbound official provider cloud or enterprise organization
	// +kubebuilder:validation:Optional
	Organization *string `json:"organization,omitempty" tf:"organization,omitempty"`

	// Specifies the TTL for this role.
	// Default lease for generated credentials. If not set or set to 0, will use system default.
	// +kubebuilder:validation:Optional
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`

	// g., settings/teams/team-xxxxxxxxxxxxx)
	// +kubebuilder:validation:Optional
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// g., user-xxxxxxxxxxxxxxxx)
	// +kubebuilder:validation:Optional
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`
}

func (*CloudSecretRoleParameters) DeepCopy

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

func (*CloudSecretRoleParameters) DeepCopyInto

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

type CloudSecretRoleSpec

type CloudSecretRoleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CloudSecretRoleParameters `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 CloudSecretRoleInitParameters `json:"initProvider,omitempty"`
}

CloudSecretRoleSpec defines the desired state of CloudSecretRole

func (*CloudSecretRoleSpec) DeepCopy

func (in *CloudSecretRoleSpec) DeepCopy() *CloudSecretRoleSpec

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

func (*CloudSecretRoleSpec) DeepCopyInto

func (in *CloudSecretRoleSpec) DeepCopyInto(out *CloudSecretRoleSpec)

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

type CloudSecretRoleStatus

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

CloudSecretRoleStatus defines the observed state of CloudSecretRole.

func (*CloudSecretRoleStatus) DeepCopy

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

func (*CloudSecretRoleStatus) DeepCopyInto

func (in *CloudSecretRoleStatus) DeepCopyInto(out *CloudSecretRoleStatus)

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