Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=glacier.aws.upbound.io +versionName=v1beta2
Index ¶
- Constants
- Variables
- type NotificationInitParameters
- type NotificationObservation
- type NotificationParameters
- type Vault
- func (in *Vault) DeepCopy() *Vault
- func (in *Vault) DeepCopyInto(out *Vault)
- func (in *Vault) DeepCopyObject() runtime.Object
- func (mg *Vault) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Vault) GetConnectionDetailsMapping() map[string]string
- func (mg *Vault) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Vault) GetID() string
- func (tr *Vault) GetInitParameters() (map[string]any, error)
- func (mg *Vault) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Vault) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Vault) GetObservation() (map[string]any, error)
- func (tr *Vault) GetParameters() (map[string]any, error)
- func (mg *Vault) GetProviderConfigReference() *xpv1.Reference
- func (mg *Vault) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Vault) GetTerraformResourceType() string
- func (tr *Vault) GetTerraformSchemaVersion() int
- func (mg *Vault) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Vault) Hub()
- func (tr *Vault) LateInitialize(attrs []byte) (bool, error)
- func (mg *Vault) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Vault) SetConditions(c ...xpv1.Condition)
- func (mg *Vault) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Vault) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Vault) SetObservation(obs map[string]any) error
- func (tr *Vault) SetParameters(params map[string]any) error
- func (mg *Vault) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Vault) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Vault) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type VaultInitParameters
- type VaultList
- type VaultObservation
- type VaultParameters
- type VaultSpec
- type VaultStatus
Constants ¶
const ( CRDGroup = "glacier.aws.upbound.io" CRDVersion = "v1beta2" )
Package type metadata.
Variables ¶
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 )
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 ¶
func (in *NotificationInitParameters) DeepCopy() *NotificationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationInitParameters.
func (*NotificationInitParameters) DeepCopyInto ¶
func (in *NotificationInitParameters) DeepCopyInto(out *NotificationInitParameters)
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 ¶
func (in *NotificationObservation) DeepCopy() *NotificationObservation
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 ¶
func (in *NotificationParameters) DeepCopy() *NotificationParameters
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vault.
func (*Vault) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Vault) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Vault
func (*Vault) GetDeletionPolicy ¶
func (mg *Vault) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Vault.
func (*Vault) GetInitParameters ¶
GetInitParameters of this Vault
func (*Vault) GetManagementPolicies ¶
func (mg *Vault) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Vault.
func (*Vault) GetMergedParameters ¶
GetInitParameters of this Vault
func (*Vault) GetObservation ¶
GetObservation of this Vault
func (*Vault) GetParameters ¶
GetParameters of this Vault
func (*Vault) GetProviderConfigReference ¶
GetProviderConfigReference of this Vault.
func (*Vault) GetPublishConnectionDetailsTo ¶
func (mg *Vault) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Vault.
func (*Vault) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Vault
func (*Vault) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Vault) GetWriteConnectionSecretToReference ¶
func (mg *Vault) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Vault.
func (*Vault) LateInitialize ¶
LateInitialize this Vault using its observed tfState. returns True if there are any spec changes for the resource.
func (*Vault) ResolveReferences ¶
func (*Vault) SetConditions ¶
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 ¶
SetObservation for this Vault
func (*Vault) SetParameters ¶
SetParameters for this Vault
func (*Vault) SetProviderConfigReference ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultList.
func (*VaultList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VaultList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultSpec.
func (*VaultSpec) DeepCopyInto ¶
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.