v1alpha1

package
v0.0.0-...-da21d03 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Audit_Kind             = "Audit"
	Audit_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Audit_Kind}.String()
	Audit_KindAPIVersion   = Audit_Kind + "." + CRDGroupVersion.String()
	Audit_GroupVersionKind = CRDGroupVersion.WithKind(Audit_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
)
View Source
var (
	Mount_Kind             = "Mount"
	Mount_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Mount_Kind}.String()
	Mount_KindAPIVersion   = Mount_Kind + "." + CRDGroupVersion.String()
	Mount_GroupVersionKind = CRDGroupVersion.WithKind(Mount_Kind)
)

Repository type metadata.

View Source
var (
	Policy_Kind             = "Policy"
	Policy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Policy_Kind}.String()
	Policy_KindAPIVersion   = Policy_Kind + "." + CRDGroupVersion.String()
	Policy_GroupVersionKind = CRDGroupVersion.WithKind(Policy_Kind)
)

Repository type metadata.

View Source
var (
	Token_Kind             = "Token"
	Token_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Token_Kind}.String()
	Token_KindAPIVersion   = Token_Kind + "." + CRDGroupVersion.String()
	Token_GroupVersionKind = CRDGroupVersion.WithKind(Token_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Audit

type Audit struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AuditSpec   `json:"spec"`
	Status            AuditStatus `json:"status,omitempty"`
}

Audit is the Schema for the Audits API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,vault}

func (*Audit) DeepCopy

func (in *Audit) DeepCopy() *Audit

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

func (*Audit) DeepCopyInto

func (in *Audit) DeepCopyInto(out *Audit)

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

func (*Audit) DeepCopyObject

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

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

func (*Audit) GetCondition

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

GetCondition of this Audit.

func (*Audit) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Audit

func (*Audit) GetDeletionPolicy

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

GetDeletionPolicy of this Audit.

func (*Audit) GetID

func (tr *Audit) GetID() string

GetID returns ID of underlying Terraform resource of this Audit

func (*Audit) GetObservation

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

GetObservation of this Audit

func (*Audit) GetParameters

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

GetParameters of this Audit

func (*Audit) GetProviderConfigReference

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

GetProviderConfigReference of this Audit.

func (*Audit) GetProviderReference

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

GetProviderReference of this Audit. Deprecated: Use GetProviderConfigReference.

func (*Audit) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Audit.

func (*Audit) GetTerraformResourceType

func (mg *Audit) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Audit

func (*Audit) GetTerraformSchemaVersion

func (tr *Audit) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Audit) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Audit.

func (*Audit) LateInitialize

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

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

func (*Audit) SetConditions

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

SetConditions of this Audit.

func (*Audit) SetDeletionPolicy

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

SetDeletionPolicy of this Audit.

func (*Audit) SetObservation

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

SetObservation for this Audit

func (*Audit) SetParameters

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

SetParameters for this Audit

func (*Audit) SetProviderConfigReference

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

SetProviderConfigReference of this Audit.

func (*Audit) SetProviderReference

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

SetProviderReference of this Audit. Deprecated: Use SetProviderConfigReference.

func (*Audit) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Audit.

func (*Audit) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Audit.

type AuditList

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

AuditList contains a list of Audits

func (*AuditList) DeepCopy

func (in *AuditList) DeepCopy() *AuditList

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

func (*AuditList) DeepCopyInto

func (in *AuditList) DeepCopyInto(out *AuditList)

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

func (*AuditList) DeepCopyObject

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

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

func (*AuditList) GetItems

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

GetItems of this AuditList.

type AuditObservation

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

func (*AuditObservation) DeepCopy

func (in *AuditObservation) DeepCopy() *AuditObservation

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

func (*AuditObservation) DeepCopyInto

func (in *AuditObservation) DeepCopyInto(out *AuditObservation)

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

type AuditParameters

type AuditParameters struct {

	// Human-friendly description of the audit device.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies if the audit device is a local only. Local audit devices are not replicated nor (if a secondary) removed by replication.
	// +kubebuilder:validation:Optional
	Local *bool `json:"local,omitempty" tf:"local,omitempty"`

	// Target namespace. (requires Enterprise)
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// Configuration options to pass to the audit device itself.
	// +kubebuilder:validation:Required
	Options map[string]*string `json:"options" tf:"options,omitempty"`

	// Path in which to enable the audit device.
	// +kubebuilder:validation:Optional
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Type of the audit device, such as 'file'.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*AuditParameters) DeepCopy

func (in *AuditParameters) DeepCopy() *AuditParameters

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

func (*AuditParameters) DeepCopyInto

func (in *AuditParameters) DeepCopyInto(out *AuditParameters)

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

type AuditSpec

type AuditSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AuditParameters `json:"forProvider"`
}

AuditSpec defines the desired state of Audit

func (*AuditSpec) DeepCopy

func (in *AuditSpec) DeepCopy() *AuditSpec

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

func (*AuditSpec) DeepCopyInto

func (in *AuditSpec) DeepCopyInto(out *AuditSpec)

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

type AuditStatus

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

AuditStatus defines the observed state of Audit.

func (*AuditStatus) DeepCopy

func (in *AuditStatus) DeepCopy() *AuditStatus

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

func (*AuditStatus) DeepCopyInto

func (in *AuditStatus) DeepCopyInto(out *AuditStatus)

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

type Mount

type Mount struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MountSpec   `json:"spec"`
	Status            MountStatus `json:"status,omitempty"`
}

Mount is the Schema for the Mounts API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,vault}

func (*Mount) DeepCopy

func (in *Mount) DeepCopy() *Mount

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

func (*Mount) DeepCopyInto

func (in *Mount) DeepCopyInto(out *Mount)

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

func (*Mount) DeepCopyObject

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

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

func (*Mount) GetCondition

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

GetCondition of this Mount.

func (*Mount) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Mount

func (*Mount) GetDeletionPolicy

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

GetDeletionPolicy of this Mount.

func (*Mount) GetID

func (tr *Mount) GetID() string

GetID returns ID of underlying Terraform resource of this Mount

func (*Mount) GetObservation

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

GetObservation of this Mount

func (*Mount) GetParameters

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

GetParameters of this Mount

func (*Mount) GetProviderConfigReference

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

GetProviderConfigReference of this Mount.

func (*Mount) GetProviderReference

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

GetProviderReference of this Mount. Deprecated: Use GetProviderConfigReference.

func (*Mount) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Mount.

func (*Mount) GetTerraformResourceType

func (mg *Mount) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Mount

func (*Mount) GetTerraformSchemaVersion

func (tr *Mount) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Mount) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Mount.

func (*Mount) LateInitialize

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

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

func (*Mount) SetConditions

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

SetConditions of this Mount.

func (*Mount) SetDeletionPolicy

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

SetDeletionPolicy of this Mount.

func (*Mount) SetObservation

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

SetObservation for this Mount

func (*Mount) SetParameters

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

SetParameters for this Mount

func (*Mount) SetProviderConfigReference

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

SetProviderConfigReference of this Mount.

func (*Mount) SetProviderReference

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

SetProviderReference of this Mount. Deprecated: Use SetProviderConfigReference.

func (*Mount) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Mount.

func (*Mount) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Mount.

type MountList

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

MountList contains a list of Mounts

func (*MountList) DeepCopy

func (in *MountList) DeepCopy() *MountList

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

func (*MountList) DeepCopyInto

func (in *MountList) DeepCopyInto(out *MountList)

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

func (*MountList) DeepCopyObject

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

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

func (*MountList) GetItems

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

GetItems of this MountList.

type MountObservation

type MountObservation struct {

	// Accessor of the mount
	Accessor *string `json:"accessor,omitempty" tf:"accessor,omitempty"`

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

func (*MountObservation) DeepCopy

func (in *MountObservation) DeepCopy() *MountObservation

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

func (*MountObservation) DeepCopyInto

func (in *MountObservation) DeepCopyInto(out *MountObservation)

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

type MountParameters

type MountParameters struct {

	// List of managed key registry entry names that the mount in question is allowed to access
	// +kubebuilder:validation:Optional
	AllowedManagedKeys []*string `json:"allowedManagedKeys,omitempty" tf:"allowed_managed_keys,omitempty"`

	// Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
	// +kubebuilder:validation:Optional
	AuditNonHMACRequestKeys []*string `json:"auditNonHmacRequestKeys,omitempty" tf:"audit_non_hmac_request_keys,omitempty"`

	// Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
	// +kubebuilder:validation:Optional
	AuditNonHMACResponseKeys []*string `json:"auditNonHmacResponseKeys,omitempty" tf:"audit_non_hmac_response_keys,omitempty"`

	// Default lease duration for tokens and secrets in seconds
	// +kubebuilder:validation:Optional
	DefaultLeaseTTLSeconds *float64 `json:"defaultLeaseTtlSeconds,omitempty" tf:"default_lease_ttl_seconds,omitempty"`

	// Human-friendly description of the mount
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Enable the secrets engine to access Vault's external entropy source
	// +kubebuilder:validation:Optional
	ExternalEntropyAccess *bool `json:"externalEntropyAccess,omitempty" tf:"external_entropy_access,omitempty"`

	// Local mount flag that can be explicitly set to true to enforce local mount in HA environment
	// +kubebuilder:validation:Optional
	Local *bool `json:"local,omitempty" tf:"local,omitempty"`

	// Maximum possible lease duration for tokens and secrets in seconds
	// +kubebuilder:validation:Optional
	MaxLeaseTTLSeconds *float64 `json:"maxLeaseTtlSeconds,omitempty" tf:"max_lease_ttl_seconds,omitempty"`

	// Target namespace. (requires Enterprise)
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// Specifies mount type specific options that are passed to the backend
	// +kubebuilder:validation:Optional
	Options map[string]*string `json:"options,omitempty" tf:"options,omitempty"`

	// Where the secret backend will be mounted
	// +kubebuilder:validation:Required
	Path *string `json:"path" tf:"path,omitempty"`

	// Enable seal wrapping for the mount, causing values stored by the mount to be wrapped by the seal's encryption capability
	// +kubebuilder:validation:Optional
	SealWrap *bool `json:"sealWrap,omitempty" tf:"seal_wrap,omitempty"`

	// Type of the backend, such as 'aws'
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*MountParameters) DeepCopy

func (in *MountParameters) DeepCopy() *MountParameters

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

func (*MountParameters) DeepCopyInto

func (in *MountParameters) DeepCopyInto(out *MountParameters)

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

type MountSpec

type MountSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MountParameters `json:"forProvider"`
}

MountSpec defines the desired state of Mount

func (*MountSpec) DeepCopy

func (in *MountSpec) DeepCopy() *MountSpec

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

func (*MountSpec) DeepCopyInto

func (in *MountSpec) DeepCopyInto(out *MountSpec)

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

type MountStatus

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

MountStatus defines the observed state of Mount.

func (*MountStatus) DeepCopy

func (in *MountStatus) DeepCopy() *MountStatus

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

func (*MountStatus) DeepCopyInto

func (in *MountStatus) DeepCopyInto(out *MountStatus)

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

type Policy

type Policy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PolicySpec   `json:"spec"`
	Status            PolicyStatus `json:"status,omitempty"`
}

Policy is the Schema for the Policys API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,vault}

func (*Policy) DeepCopy

func (in *Policy) DeepCopy() *Policy

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

func (*Policy) DeepCopyInto

func (in *Policy) DeepCopyInto(out *Policy)

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

func (*Policy) DeepCopyObject

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

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

func (*Policy) GetCondition

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

GetCondition of this Policy.

func (*Policy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Policy

func (*Policy) GetDeletionPolicy

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

GetDeletionPolicy of this Policy.

func (*Policy) GetID

func (tr *Policy) GetID() string

GetID returns ID of underlying Terraform resource of this Policy

func (*Policy) GetObservation

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

GetObservation of this Policy

func (*Policy) GetParameters

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

GetParameters of this Policy

func (*Policy) GetProviderConfigReference

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

GetProviderConfigReference of this Policy.

func (*Policy) GetProviderReference

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

GetProviderReference of this Policy. Deprecated: Use GetProviderConfigReference.

func (*Policy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Policy.

func (*Policy) GetTerraformResourceType

func (mg *Policy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Policy

func (*Policy) GetTerraformSchemaVersion

func (tr *Policy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Policy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Policy.

func (*Policy) LateInitialize

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

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

func (*Policy) SetConditions

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

SetConditions of this Policy.

func (*Policy) SetDeletionPolicy

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

SetDeletionPolicy of this Policy.

func (*Policy) SetObservation

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

SetObservation for this Policy

func (*Policy) SetParameters

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

SetParameters for this Policy

func (*Policy) SetProviderConfigReference

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

SetProviderConfigReference of this Policy.

func (*Policy) SetProviderReference

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

SetProviderReference of this Policy. Deprecated: Use SetProviderConfigReference.

func (*Policy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Policy.

func (*Policy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Policy.

type PolicyList

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

PolicyList contains a list of Policys

func (*PolicyList) DeepCopy

func (in *PolicyList) DeepCopy() *PolicyList

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

func (*PolicyList) DeepCopyInto

func (in *PolicyList) DeepCopyInto(out *PolicyList)

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

func (*PolicyList) DeepCopyObject

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

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

func (*PolicyList) GetItems

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

GetItems of this PolicyList.

type PolicyObservation

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

func (*PolicyObservation) DeepCopy

func (in *PolicyObservation) DeepCopy() *PolicyObservation

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

func (*PolicyObservation) DeepCopyInto

func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation)

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

type PolicyParameters

type PolicyParameters struct {

	// Name of the policy
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Target namespace. (requires Enterprise)
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// The policy document
	// +kubebuilder:validation:Required
	Policy *string `json:"policy" tf:"policy,omitempty"`
}

func (*PolicyParameters) DeepCopy

func (in *PolicyParameters) DeepCopy() *PolicyParameters

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

func (*PolicyParameters) DeepCopyInto

func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters)

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

type PolicySpec

type PolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PolicyParameters `json:"forProvider"`
}

PolicySpec defines the desired state of Policy

func (*PolicySpec) DeepCopy

func (in *PolicySpec) DeepCopy() *PolicySpec

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

func (*PolicySpec) DeepCopyInto

func (in *PolicySpec) DeepCopyInto(out *PolicySpec)

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

type PolicyStatus

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

PolicyStatus defines the observed state of Policy.

func (*PolicyStatus) DeepCopy

func (in *PolicyStatus) DeepCopy() *PolicyStatus

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

func (*PolicyStatus) DeepCopyInto

func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)

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

type Token

type Token struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TokenSpec   `json:"spec"`
	Status            TokenStatus `json:"status,omitempty"`
}

Token is the Schema for the Tokens API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,vault}

func (*Token) DeepCopy

func (in *Token) DeepCopy() *Token

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

func (*Token) DeepCopyInto

func (in *Token) DeepCopyInto(out *Token)

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

func (*Token) DeepCopyObject

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

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

func (*Token) GetCondition

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

GetCondition of this Token.

func (*Token) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Token

func (*Token) GetDeletionPolicy

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

GetDeletionPolicy of this Token.

func (*Token) GetID

func (tr *Token) GetID() string

GetID returns ID of underlying Terraform resource of this Token

func (*Token) GetObservation

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

GetObservation of this Token

func (*Token) GetParameters

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

GetParameters of this Token

func (*Token) GetProviderConfigReference

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

GetProviderConfigReference of this Token.

func (*Token) GetProviderReference

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

GetProviderReference of this Token. Deprecated: Use GetProviderConfigReference.

func (*Token) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Token.

func (*Token) GetTerraformResourceType

func (mg *Token) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Token

func (*Token) GetTerraformSchemaVersion

func (tr *Token) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Token) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Token.

func (*Token) LateInitialize

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

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

func (*Token) SetConditions

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

SetConditions of this Token.

func (*Token) SetDeletionPolicy

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

SetDeletionPolicy of this Token.

func (*Token) SetObservation

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

SetObservation for this Token

func (*Token) SetParameters

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

SetParameters for this Token

func (*Token) SetProviderConfigReference

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

SetProviderConfigReference of this Token.

func (*Token) SetProviderReference

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

SetProviderReference of this Token. Deprecated: Use SetProviderConfigReference.

func (*Token) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Token.

func (*Token) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Token.

type TokenList

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

TokenList contains a list of Tokens

func (*TokenList) DeepCopy

func (in *TokenList) DeepCopy() *TokenList

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

func (*TokenList) DeepCopyInto

func (in *TokenList) DeepCopyInto(out *TokenList)

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

func (*TokenList) DeepCopyObject

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

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

func (*TokenList) GetItems

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

GetItems of this TokenList.

type TokenObservation

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

	// The token lease duration.
	LeaseDuration *float64 `json:"leaseDuration,omitempty" tf:"lease_duration,omitempty"`

	// The token lease started on.
	LeaseStarted *string `json:"leaseStarted,omitempty" tf:"lease_started,omitempty"`
}

func (*TokenObservation) DeepCopy

func (in *TokenObservation) DeepCopy() *TokenObservation

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

func (*TokenObservation) DeepCopyInto

func (in *TokenObservation) DeepCopyInto(out *TokenObservation)

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

type TokenParameters

type TokenParameters struct {

	// The display name of the token.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The explicit max TTL of the token.
	// +kubebuilder:validation:Optional
	ExplicitMaxTTL *string `json:"explicitMaxTtl,omitempty" tf:"explicit_max_ttl,omitempty"`

	// Metadata to be associated with the token.
	// +kubebuilder:validation:Optional
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// Target namespace. (requires Enterprise)
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// Flag to disable the default policy.
	// +kubebuilder:validation:Optional
	NoDefaultPolicy *bool `json:"noDefaultPolicy,omitempty" tf:"no_default_policy,omitempty"`

	// Flag to create a token without parent.
	// +kubebuilder:validation:Optional
	NoParent *bool `json:"noParent,omitempty" tf:"no_parent,omitempty"`

	// The number of allowed uses of the token.
	// +kubebuilder:validation:Optional
	NumUses *float64 `json:"numUses,omitempty" tf:"num_uses,omitempty"`

	// The period of the token.
	// +kubebuilder:validation:Optional
	Period *string `json:"period,omitempty" tf:"period,omitempty"`

	// List of policies.
	// +kubebuilder:validation:Optional
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`

	// The renew increment.
	// +kubebuilder:validation:Optional
	RenewIncrement *float64 `json:"renewIncrement,omitempty" tf:"renew_increment,omitempty"`

	// The minimum lease to renew token.
	// +kubebuilder:validation:Optional
	RenewMinLease *float64 `json:"renewMinLease,omitempty" tf:"renew_min_lease,omitempty"`

	// Flag to allow the token to be renewed
	// +kubebuilder:validation:Optional
	Renewable *bool `json:"renewable,omitempty" tf:"renewable,omitempty"`

	// The token role name.
	// +kubebuilder:validation:Optional
	RoleName *string `json:"roleName,omitempty" tf:"role_name,omitempty"`

	// The TTL period of the token.
	// +kubebuilder:validation:Optional
	TTL *string `json:"ttl,omitempty" tf:"ttl,omitempty"`

	// The TTL period of the wrapped token.
	// +kubebuilder:validation:Optional
	WrappingTTL *string `json:"wrappingTtl,omitempty" tf:"wrapping_ttl,omitempty"`
}

func (*TokenParameters) DeepCopy

func (in *TokenParameters) DeepCopy() *TokenParameters

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

func (*TokenParameters) DeepCopyInto

func (in *TokenParameters) DeepCopyInto(out *TokenParameters)

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

type TokenSpec

type TokenSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TokenParameters `json:"forProvider"`
}

TokenSpec defines the desired state of Token

func (*TokenSpec) DeepCopy

func (in *TokenSpec) DeepCopy() *TokenSpec

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

func (*TokenSpec) DeepCopyInto

func (in *TokenSpec) DeepCopyInto(out *TokenSpec)

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

type TokenStatus

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

TokenStatus defines the observed state of Token.

func (*TokenStatus) DeepCopy

func (in *TokenStatus) DeepCopy() *TokenStatus

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

func (*TokenStatus) DeepCopyInto

func (in *TokenStatus) DeepCopyInto(out *TokenStatus)

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