v1beta1

package
v0.33.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=glacier.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "glacier.aws.upbound.io"
	CRDVersion = "v1beta1"
)

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 (
	Vault_Kind             = "Vault"
	Vault_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Vault_Kind}.String()
	Vault_KindAPIVersion   = Vault_Kind + "." + CRDGroupVersion.String()
	Vault_GroupVersionKind = CRDGroupVersion.WithKind(Vault_Kind)
)

Repository type metadata.

View Source
var (
	VaultLock_Kind             = "VaultLock"
	VaultLock_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: VaultLock_Kind}.String()
	VaultLock_KindAPIVersion   = VaultLock_Kind + "." + CRDGroupVersion.String()
	VaultLock_GroupVersionKind = CRDGroupVersion.WithKind(VaultLock_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type NotificationObservation

type NotificationObservation struct {
}

func (*NotificationObservation) DeepCopy

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

func (*NotificationObservation) DeepCopyInto

func (in *NotificationObservation) DeepCopyInto(out *NotificationObservation)

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

type NotificationParameters

type NotificationParameters struct {

	// You can configure a vault to publish a notification for ArchiveRetrievalCompleted and InventoryRetrievalCompleted events.
	// +kubebuilder:validation:Required
	Events []*string `json:"events" tf:"events,omitempty"`

	// The SNS Topic ARN.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	SnsTopic *string `json:"snsTopic,omitempty" tf:"sns_topic,omitempty"`

	// Reference to a Topic in sns to populate snsTopic.
	// +kubebuilder:validation:Optional
	SnsTopicRef *v1.Reference `json:"snsTopicRef,omitempty" tf:"-"`

	// Selector for a Topic in sns to populate snsTopic.
	// +kubebuilder:validation:Optional
	SnsTopicSelector *v1.Selector `json:"snsTopicSelector,omitempty" tf:"-"`
}

func (*NotificationParameters) DeepCopy

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

func (*NotificationParameters) DeepCopyInto

func (in *NotificationParameters) DeepCopyInto(out *NotificationParameters)

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

type Vault

type Vault struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VaultSpec   `json:"spec"`
	Status            VaultStatus `json:"status,omitempty"`
}

Vault is the Schema for the Vaults API. Provides a Glacier 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,aws}

func (*Vault) DeepCopy

func (in *Vault) DeepCopy() *Vault

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

func (*Vault) DeepCopyInto

func (in *Vault) DeepCopyInto(out *Vault)

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

func (*Vault) DeepCopyObject

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

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

func (*Vault) GetCondition

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

GetCondition of this Vault.

func (*Vault) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Vault

func (*Vault) GetDeletionPolicy

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

GetDeletionPolicy of this Vault.

func (*Vault) GetID

func (tr *Vault) GetID() string

GetID returns ID of underlying Terraform resource of this Vault

func (*Vault) GetObservation

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

GetObservation of this Vault

func (*Vault) GetParameters

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

GetParameters of this Vault

func (*Vault) GetProviderConfigReference

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

GetProviderConfigReference of this Vault.

func (*Vault) GetProviderReference

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

GetProviderReference of this Vault. Deprecated: Use GetProviderConfigReference.

func (*Vault) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Vault.

func (*Vault) GetTerraformResourceType

func (mg *Vault) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Vault

func (*Vault) GetTerraformSchemaVersion

func (tr *Vault) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Vault) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Vault.

func (*Vault) LateInitialize

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

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

func (*Vault) ResolveReferences

func (mg *Vault) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Vault.

func (*Vault) SetConditions

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

SetConditions of this Vault.

func (*Vault) SetDeletionPolicy

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

SetDeletionPolicy of this Vault.

func (*Vault) SetObservation

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

SetObservation for this Vault

func (*Vault) SetParameters

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

SetParameters for this Vault

func (*Vault) SetProviderConfigReference

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

SetProviderConfigReference of this Vault.

func (*Vault) SetProviderReference

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

SetProviderReference of this Vault. Deprecated: Use SetProviderConfigReference.

func (*Vault) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Vault.

func (*Vault) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Vault.

type VaultList

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

VaultList contains a list of Vaults

func (*VaultList) DeepCopy

func (in *VaultList) DeepCopy() *VaultList

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

func (*VaultList) DeepCopyInto

func (in *VaultList) DeepCopyInto(out *VaultList)

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

func (*VaultList) DeepCopyObject

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

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

func (*VaultList) GetItems

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

GetItems of this VaultList.

type VaultLock

type VaultLock struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VaultLockSpec   `json:"spec"`
	Status            VaultLockStatus `json:"status,omitempty"`
}

VaultLock is the Schema for the VaultLocks API. Manages a Glacier Vault Lock. +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,aws}

func (*VaultLock) DeepCopy

func (in *VaultLock) DeepCopy() *VaultLock

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

func (*VaultLock) DeepCopyInto

func (in *VaultLock) DeepCopyInto(out *VaultLock)

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

func (*VaultLock) DeepCopyObject

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

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

func (*VaultLock) GetCondition

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

GetCondition of this VaultLock.

func (*VaultLock) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this VaultLock

func (*VaultLock) GetDeletionPolicy

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

GetDeletionPolicy of this VaultLock.

func (*VaultLock) GetID

func (tr *VaultLock) GetID() string

GetID returns ID of underlying Terraform resource of this VaultLock

func (*VaultLock) GetObservation

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

GetObservation of this VaultLock

func (*VaultLock) GetParameters

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

GetParameters of this VaultLock

func (*VaultLock) GetProviderConfigReference

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

GetProviderConfigReference of this VaultLock.

func (*VaultLock) GetProviderReference

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

GetProviderReference of this VaultLock. Deprecated: Use GetProviderConfigReference.

func (*VaultLock) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this VaultLock.

func (*VaultLock) GetTerraformResourceType

func (mg *VaultLock) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this VaultLock

func (*VaultLock) GetTerraformSchemaVersion

func (tr *VaultLock) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*VaultLock) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this VaultLock.

func (*VaultLock) LateInitialize

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

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

func (*VaultLock) ResolveReferences

func (mg *VaultLock) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this VaultLock.

func (*VaultLock) SetConditions

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

SetConditions of this VaultLock.

func (*VaultLock) SetDeletionPolicy

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

SetDeletionPolicy of this VaultLock.

func (*VaultLock) SetObservation

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

SetObservation for this VaultLock

func (*VaultLock) SetParameters

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

SetParameters for this VaultLock

func (*VaultLock) SetProviderConfigReference

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

SetProviderConfigReference of this VaultLock.

func (*VaultLock) SetProviderReference

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

SetProviderReference of this VaultLock. Deprecated: Use SetProviderConfigReference.

func (*VaultLock) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this VaultLock.

func (*VaultLock) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this VaultLock.

type VaultLockList

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

VaultLockList contains a list of VaultLocks

func (*VaultLockList) DeepCopy

func (in *VaultLockList) DeepCopy() *VaultLockList

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

func (*VaultLockList) DeepCopyInto

func (in *VaultLockList) DeepCopyInto(out *VaultLockList)

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

func (*VaultLockList) DeepCopyObject

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

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

func (*VaultLockList) GetItems

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

GetItems of this VaultLockList.

type VaultLockObservation

type VaultLockObservation struct {

	// Glacier Vault name.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*VaultLockObservation) DeepCopy

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

func (*VaultLockObservation) DeepCopyInto

func (in *VaultLockObservation) DeepCopyInto(out *VaultLockObservation)

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

type VaultLockParameters

type VaultLockParameters struct {

	// Boolean whether to permanently apply this Glacier Lock Policy. Once completed, this cannot be undone. If set to false, the Glacier Lock Policy remains in a testing mode for 24 hours. Changing this from false to true will show as resource recreation, which is expected. Changing this from true to false is not possible unless the Glacier Vault is recreated at the same time.
	// +kubebuilder:validation:Required
	CompleteLock *bool `json:"completeLock" tf:"complete_lock,omitempty"`

	// This should only be used in conjunction with complete_lock being set to true.
	// +kubebuilder:validation:Optional
	IgnoreDeletionError *bool `json:"ignoreDeletionError,omitempty" tf:"ignore_deletion_error,omitempty"`

	// JSON string containing the IAM policy to apply as the Glacier Vault Lock policy.
	// +kubebuilder:validation:Required
	Policy *string `json:"policy" tf:"policy,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// The name of the Glacier Vault.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glacier/v1beta1.Vault
	// +kubebuilder:validation:Optional
	VaultName *string `json:"vaultName,omitempty" tf:"vault_name,omitempty"`

	// Reference to a Vault in glacier to populate vaultName.
	// +kubebuilder:validation:Optional
	VaultNameRef *v1.Reference `json:"vaultNameRef,omitempty" tf:"-"`

	// Selector for a Vault in glacier to populate vaultName.
	// +kubebuilder:validation:Optional
	VaultNameSelector *v1.Selector `json:"vaultNameSelector,omitempty" tf:"-"`
}

func (*VaultLockParameters) DeepCopy

func (in *VaultLockParameters) DeepCopy() *VaultLockParameters

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

func (*VaultLockParameters) DeepCopyInto

func (in *VaultLockParameters) DeepCopyInto(out *VaultLockParameters)

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

type VaultLockSpec

type VaultLockSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     VaultLockParameters `json:"forProvider"`
}

VaultLockSpec defines the desired state of VaultLock

func (*VaultLockSpec) DeepCopy

func (in *VaultLockSpec) DeepCopy() *VaultLockSpec

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

func (*VaultLockSpec) DeepCopyInto

func (in *VaultLockSpec) DeepCopyInto(out *VaultLockSpec)

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

type VaultLockStatus

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

VaultLockStatus defines the observed state of VaultLock.

func (*VaultLockStatus) DeepCopy

func (in *VaultLockStatus) DeepCopy() *VaultLockStatus

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

func (*VaultLockStatus) DeepCopyInto

func (in *VaultLockStatus) DeepCopyInto(out *VaultLockStatus)

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

type VaultObservation

type VaultObservation struct {

	// The ARN of the vault.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

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

	// The URI of the vault that was created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*VaultObservation) DeepCopy

func (in *VaultObservation) DeepCopy() *VaultObservation

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

func (*VaultObservation) DeepCopyInto

func (in *VaultObservation) DeepCopyInto(out *VaultObservation)

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

type VaultParameters

type VaultParameters struct {

	// The policy document. This is a JSON formatted string.
	// The heredoc syntax or file function is helpful here. Use the Glacier Developer Guide for more information on Glacier Vault Policy
	// +kubebuilder:validation:Optional
	AccessPolicy *string `json:"accessPolicy,omitempty" tf:"access_policy,omitempty"`

	// The notifications for the Vault. Fields documented below.
	// +kubebuilder:validation:Optional
	Notification []NotificationParameters `json:"notification,omitempty" tf:"notification,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*VaultParameters) DeepCopy

func (in *VaultParameters) DeepCopy() *VaultParameters

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

func (*VaultParameters) DeepCopyInto

func (in *VaultParameters) DeepCopyInto(out *VaultParameters)

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

type VaultSpec

type VaultSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     VaultParameters `json:"forProvider"`
}

VaultSpec defines the desired state of Vault

func (*VaultSpec) DeepCopy

func (in *VaultSpec) DeepCopy() *VaultSpec

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

func (*VaultSpec) DeepCopyInto

func (in *VaultSpec) DeepCopyInto(out *VaultSpec)

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

type VaultStatus

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

VaultStatus defines the observed state of Vault.

func (*VaultStatus) DeepCopy

func (in *VaultStatus) DeepCopy() *VaultStatus

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

func (*VaultStatus) DeepCopyInto

func (in *VaultStatus) DeepCopyInto(out *VaultStatus)

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