v1beta2

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

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

Index

Constants

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

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.

Functions

This section is empty.

Types

type NotificationInitParameters

type NotificationInitParameters struct {

	// You can configure a vault to publish a notification for ArchiveRetrievalCompleted and InventoryRetrievalCompleted events.
	// +listType=set
	Events []*string `json:"events,omitempty" 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/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	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 (*NotificationInitParameters) DeepCopy

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

func (*NotificationInitParameters) DeepCopyInto

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

type NotificationObservation

type NotificationObservation struct {

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

	// The SNS Topic ARN.
	SnsTopic *string `json:"snsTopic,omitempty" tf:"sns_topic,omitempty"`
}

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:Optional
	// +listType=set
	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/crossplane/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="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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: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) GetInitParameters

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

GetInitParameters of this Vault

func (*Vault) GetManagementPolicies

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

GetManagementPolicies of this Vault.

func (*Vault) GetMergedParameters

func (tr *Vault) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters 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) 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) Hub

func (tr *Vault) Hub()

Hub marks this type as a conversion hub.

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

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) SetManagementPolicies

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

SetManagementPolicies 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) 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 VaultInitParameters

type VaultInitParameters 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
	AccessPolicy *string `json:"accessPolicy,omitempty" tf:"access_policy,omitempty"`

	// The notifications for the Vault. Fields documented below.
	Notification *NotificationInitParameters `json:"notification,omitempty" tf:"notification,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*VaultInitParameters) DeepCopy

func (in *VaultInitParameters) DeepCopy() *VaultInitParameters

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

func (*VaultInitParameters) DeepCopyInto

func (in *VaultInitParameters) DeepCopyInto(out *VaultInitParameters)

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

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 VaultObservation

type VaultObservation 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
	AccessPolicy *string `json:"accessPolicy,omitempty" tf:"access_policy,omitempty"`

	// 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"`

	// The notifications for the Vault. Fields documented below.
	Notification *NotificationObservation `json:"notification,omitempty" tf:"notification,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	// +mapType=granular
	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
	// +mapType=granular
	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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// 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 VaultInitParameters `json:"initProvider,omitempty"`
}

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