v1alpha1

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=spaces.digitalocean.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "spaces.digitalocean.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Bucket_Kind             = "Bucket"
	Bucket_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Bucket_Kind}.String()
	Bucket_KindAPIVersion   = Bucket_Kind + "." + CRDGroupVersion.String()
	Bucket_GroupVersionKind = CRDGroupVersion.WithKind(Bucket_Kind)
)

Repository type metadata.

View Source
var (
	BucketCorsConfiguration_Kind             = "BucketCorsConfiguration"
	BucketCorsConfiguration_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: BucketCorsConfiguration_Kind}.String()
	BucketCorsConfiguration_KindAPIVersion   = BucketCorsConfiguration_Kind + "." + CRDGroupVersion.String()
	BucketCorsConfiguration_GroupVersionKind = CRDGroupVersion.WithKind(BucketCorsConfiguration_Kind)
)

Repository type metadata.

View Source
var (
	BucketObject_Kind             = "BucketObject"
	BucketObject_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: BucketObject_Kind}.String()
	BucketObject_KindAPIVersion   = BucketObject_Kind + "." + CRDGroupVersion.String()
	BucketObject_GroupVersionKind = CRDGroupVersion.WithKind(BucketObject_Kind)
)

Repository type metadata.

View Source
var (
	BucketPolicy_Kind             = "BucketPolicy"
	BucketPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: BucketPolicy_Kind}.String()
	BucketPolicy_KindAPIVersion   = BucketPolicy_Kind + "." + CRDGroupVersion.String()
	BucketPolicy_GroupVersionKind = CRDGroupVersion.WithKind(BucketPolicy_Kind)
)

Repository type metadata.

View Source
var (
	Cdn_Kind             = "Cdn"
	Cdn_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Cdn_Kind}.String()
	Cdn_KindAPIVersion   = Cdn_Kind + "." + CRDGroupVersion.String()
	Cdn_GroupVersionKind = CRDGroupVersion.WithKind(Cdn_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Bucket

type Bucket struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BucketSpec   `json:"spec"`
	Status            BucketStatus `json:"status,omitempty"`
}

Bucket is the Schema for the Buckets API. +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,do}

func (*Bucket) DeepCopy

func (in *Bucket) DeepCopy() *Bucket

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

func (*Bucket) DeepCopyInto

func (in *Bucket) DeepCopyInto(out *Bucket)

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

func (*Bucket) DeepCopyObject

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

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

func (*Bucket) GetCondition

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

GetCondition of this Bucket.

func (*Bucket) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Bucket

func (*Bucket) GetDeletionPolicy

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

GetDeletionPolicy of this Bucket.

func (*Bucket) GetID

func (tr *Bucket) GetID() string

GetID returns ID of underlying Terraform resource of this Bucket

func (*Bucket) GetInitParameters

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

GetInitParameters of this Bucket

func (*Bucket) GetManagementPolicies

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

GetManagementPolicies of this Bucket.

func (*Bucket) GetMergedParameters added in v0.2.0

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

GetInitParameters of this Bucket

func (*Bucket) GetObservation

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

GetObservation of this Bucket

func (*Bucket) GetParameters

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

GetParameters of this Bucket

func (*Bucket) GetProviderConfigReference

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

GetProviderConfigReference of this Bucket.

func (*Bucket) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Bucket.

func (*Bucket) GetTerraformResourceType

func (mg *Bucket) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Bucket

func (*Bucket) GetTerraformSchemaVersion

func (tr *Bucket) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Bucket) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Bucket.

func (*Bucket) Hub added in v0.2.0

func (tr *Bucket) Hub()

Hub marks this type as a conversion hub.

func (*Bucket) LateInitialize

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

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

func (*Bucket) SetConditions

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

SetConditions of this Bucket.

func (*Bucket) SetDeletionPolicy

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

SetDeletionPolicy of this Bucket.

func (*Bucket) SetManagementPolicies

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

SetManagementPolicies of this Bucket.

func (*Bucket) SetObservation

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

SetObservation for this Bucket

func (*Bucket) SetParameters

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

SetParameters for this Bucket

func (*Bucket) SetProviderConfigReference

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

SetProviderConfigReference of this Bucket.

func (*Bucket) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Bucket.

func (*Bucket) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Bucket.

type BucketCorsConfiguration

type BucketCorsConfiguration struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bucket) || (has(self.initProvider) && has(self.initProvider.bucket))",message="spec.forProvider.bucket is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.corsRule) || (has(self.initProvider) && has(self.initProvider.corsRule))",message="spec.forProvider.corsRule is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.region) || (has(self.initProvider) && has(self.initProvider.region))",message="spec.forProvider.region is a required parameter"
	Spec   BucketCorsConfigurationSpec   `json:"spec"`
	Status BucketCorsConfigurationStatus `json:"status,omitempty"`
}

BucketCorsConfiguration is the Schema for the BucketCorsConfigurations API. +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,do}

func (*BucketCorsConfiguration) DeepCopy

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

func (*BucketCorsConfiguration) DeepCopyInto

func (in *BucketCorsConfiguration) DeepCopyInto(out *BucketCorsConfiguration)

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

func (*BucketCorsConfiguration) DeepCopyObject

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

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

func (*BucketCorsConfiguration) GetCondition

GetCondition of this BucketCorsConfiguration.

func (*BucketCorsConfiguration) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this BucketCorsConfiguration

func (*BucketCorsConfiguration) GetDeletionPolicy

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

GetDeletionPolicy of this BucketCorsConfiguration.

func (*BucketCorsConfiguration) GetID

func (tr *BucketCorsConfiguration) GetID() string

GetID returns ID of underlying Terraform resource of this BucketCorsConfiguration

func (*BucketCorsConfiguration) GetInitParameters

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

GetInitParameters of this BucketCorsConfiguration

func (*BucketCorsConfiguration) GetManagementPolicies

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

GetManagementPolicies of this BucketCorsConfiguration.

func (*BucketCorsConfiguration) GetMergedParameters added in v0.2.0

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

GetInitParameters of this BucketCorsConfiguration

func (*BucketCorsConfiguration) GetObservation

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

GetObservation of this BucketCorsConfiguration

func (*BucketCorsConfiguration) GetParameters

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

GetParameters of this BucketCorsConfiguration

func (*BucketCorsConfiguration) GetProviderConfigReference

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

GetProviderConfigReference of this BucketCorsConfiguration.

func (*BucketCorsConfiguration) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this BucketCorsConfiguration.

func (*BucketCorsConfiguration) GetTerraformResourceType

func (mg *BucketCorsConfiguration) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this BucketCorsConfiguration

func (*BucketCorsConfiguration) GetTerraformSchemaVersion

func (tr *BucketCorsConfiguration) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*BucketCorsConfiguration) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this BucketCorsConfiguration.

func (*BucketCorsConfiguration) Hub added in v0.2.0

func (tr *BucketCorsConfiguration) Hub()

Hub marks this type as a conversion hub.

func (*BucketCorsConfiguration) LateInitialize

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

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

func (*BucketCorsConfiguration) SetConditions

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

SetConditions of this BucketCorsConfiguration.

func (*BucketCorsConfiguration) SetDeletionPolicy

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

SetDeletionPolicy of this BucketCorsConfiguration.

func (*BucketCorsConfiguration) SetManagementPolicies

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

SetManagementPolicies of this BucketCorsConfiguration.

func (*BucketCorsConfiguration) SetObservation

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

SetObservation for this BucketCorsConfiguration

func (*BucketCorsConfiguration) SetParameters

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

SetParameters for this BucketCorsConfiguration

func (*BucketCorsConfiguration) SetProviderConfigReference

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

SetProviderConfigReference of this BucketCorsConfiguration.

func (*BucketCorsConfiguration) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this BucketCorsConfiguration.

func (*BucketCorsConfiguration) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this BucketCorsConfiguration.

type BucketCorsConfigurationCorsRuleInitParameters

type BucketCorsConfigurationCorsRuleInitParameters struct {

	// Set of Headers that are specified in the Access-Control-Request-Headers header.
	// +listType=set
	AllowedHeaders []*string `json:"allowedHeaders,omitempty" tf:"allowed_headers,omitempty"`

	// Set of HTTP methods that you allow the origin to execute. Valid values are GET, PUT, HEAD, POST, and DELETE.
	// +listType=set
	AllowedMethods []*string `json:"allowedMethods,omitempty" tf:"allowed_methods,omitempty"`

	// Set of origins you want customers to be able to access the bucket from.
	// +listType=set
	AllowedOrigins []*string `json:"allowedOrigins,omitempty" tf:"allowed_origins,omitempty"`

	// Set of headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).
	// +listType=set
	ExposeHeaders []*string `json:"exposeHeaders,omitempty" tf:"expose_headers,omitempty"`

	// Unique identifier for the rule. The value cannot be longer than 255 characters.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Time in seconds that your browser is to cache the preflight response for the specified resource.
	MaxAgeSeconds *float64 `json:"maxAgeSeconds,omitempty" tf:"max_age_seconds,omitempty"`
}

func (*BucketCorsConfigurationCorsRuleInitParameters) DeepCopy

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

func (*BucketCorsConfigurationCorsRuleInitParameters) DeepCopyInto

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

type BucketCorsConfigurationCorsRuleObservation

type BucketCorsConfigurationCorsRuleObservation struct {

	// Set of Headers that are specified in the Access-Control-Request-Headers header.
	// +listType=set
	AllowedHeaders []*string `json:"allowedHeaders,omitempty" tf:"allowed_headers,omitempty"`

	// Set of HTTP methods that you allow the origin to execute. Valid values are GET, PUT, HEAD, POST, and DELETE.
	// +listType=set
	AllowedMethods []*string `json:"allowedMethods,omitempty" tf:"allowed_methods,omitempty"`

	// Set of origins you want customers to be able to access the bucket from.
	// +listType=set
	AllowedOrigins []*string `json:"allowedOrigins,omitempty" tf:"allowed_origins,omitempty"`

	// Set of headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).
	// +listType=set
	ExposeHeaders []*string `json:"exposeHeaders,omitempty" tf:"expose_headers,omitempty"`

	// Unique identifier for the rule. The value cannot be longer than 255 characters.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Time in seconds that your browser is to cache the preflight response for the specified resource.
	MaxAgeSeconds *float64 `json:"maxAgeSeconds,omitempty" tf:"max_age_seconds,omitempty"`
}

func (*BucketCorsConfigurationCorsRuleObservation) DeepCopy

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

func (*BucketCorsConfigurationCorsRuleObservation) DeepCopyInto

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

type BucketCorsConfigurationCorsRuleParameters

type BucketCorsConfigurationCorsRuleParameters struct {

	// Set of Headers that are specified in the Access-Control-Request-Headers header.
	// +kubebuilder:validation:Optional
	// +listType=set
	AllowedHeaders []*string `json:"allowedHeaders,omitempty" tf:"allowed_headers,omitempty"`

	// Set of HTTP methods that you allow the origin to execute. Valid values are GET, PUT, HEAD, POST, and DELETE.
	// +kubebuilder:validation:Optional
	// +listType=set
	AllowedMethods []*string `json:"allowedMethods" tf:"allowed_methods,omitempty"`

	// Set of origins you want customers to be able to access the bucket from.
	// +kubebuilder:validation:Optional
	// +listType=set
	AllowedOrigins []*string `json:"allowedOrigins" tf:"allowed_origins,omitempty"`

	// Set of headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).
	// +kubebuilder:validation:Optional
	// +listType=set
	ExposeHeaders []*string `json:"exposeHeaders,omitempty" tf:"expose_headers,omitempty"`

	// Unique identifier for the rule. The value cannot be longer than 255 characters.
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Time in seconds that your browser is to cache the preflight response for the specified resource.
	// +kubebuilder:validation:Optional
	MaxAgeSeconds *float64 `json:"maxAgeSeconds,omitempty" tf:"max_age_seconds,omitempty"`
}

func (*BucketCorsConfigurationCorsRuleParameters) DeepCopy

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

func (*BucketCorsConfigurationCorsRuleParameters) DeepCopyInto

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

type BucketCorsConfigurationInitParameters

type BucketCorsConfigurationInitParameters struct {

	// The name of the bucket to which to apply the CORS configuration.
	// Bucket ID
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Set of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules.
	CorsRule []BucketCorsConfigurationCorsRuleInitParameters `json:"corsRule,omitempty" tf:"cors_rule,omitempty"`

	// The region where the bucket resides.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*BucketCorsConfigurationInitParameters) DeepCopy

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

func (*BucketCorsConfigurationInitParameters) DeepCopyInto

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

type BucketCorsConfigurationList

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

BucketCorsConfigurationList contains a list of BucketCorsConfigurations

func (*BucketCorsConfigurationList) DeepCopy

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

func (*BucketCorsConfigurationList) DeepCopyInto

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

func (*BucketCorsConfigurationList) DeepCopyObject

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

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

func (*BucketCorsConfigurationList) GetItems

GetItems of this BucketCorsConfigurationList.

type BucketCorsConfigurationObservation

type BucketCorsConfigurationObservation struct {

	// The name of the bucket to which to apply the CORS configuration.
	// Bucket ID
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Set of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules.
	CorsRule []BucketCorsConfigurationCorsRuleObservation `json:"corsRule,omitempty" tf:"cors_rule,omitempty"`

	// Unique identifier for the rule. The value cannot be longer than 255 characters.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The region where the bucket resides.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*BucketCorsConfigurationObservation) DeepCopy

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

func (*BucketCorsConfigurationObservation) DeepCopyInto

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

type BucketCorsConfigurationParameters

type BucketCorsConfigurationParameters struct {

	// The name of the bucket to which to apply the CORS configuration.
	// Bucket ID
	// +kubebuilder:validation:Optional
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Set of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules.
	// +kubebuilder:validation:Optional
	CorsRule []BucketCorsConfigurationCorsRuleParameters `json:"corsRule,omitempty" tf:"cors_rule,omitempty"`

	// The region where the bucket resides.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*BucketCorsConfigurationParameters) DeepCopy

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

func (*BucketCorsConfigurationParameters) DeepCopyInto

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

type BucketCorsConfigurationSpec

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

BucketCorsConfigurationSpec defines the desired state of BucketCorsConfiguration

func (*BucketCorsConfigurationSpec) DeepCopy

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

func (*BucketCorsConfigurationSpec) DeepCopyInto

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

type BucketCorsConfigurationStatus

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

BucketCorsConfigurationStatus defines the observed state of BucketCorsConfiguration.

func (*BucketCorsConfigurationStatus) DeepCopy

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

func (*BucketCorsConfigurationStatus) DeepCopyInto

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

type BucketInitParameters

type BucketInitParameters struct {

	// Canned ACL applied on bucket creation (private or public-read)
	// Canned ACL applied on bucket creation
	ACL *string `json:"acl,omitempty" tf:"acl,omitempty"`

	// A rule of Cross-Origin Resource Sharing (documented below).
	// A container holding a list of elements describing allowed methods for a specific origin.
	CorsRule []CorsRuleInitParameters `json:"corsRule,omitempty" tf:"cors_rule,omitempty"`

	// Unless true, the bucket will only be destroyed if empty (Defaults to false)
	// Unless true, the bucket will only be destroyed if empty
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

	// A configuration of object lifecycle management (documented below).
	LifecycleRule []LifecycleRuleInitParameters `json:"lifecycleRule,omitempty" tf:"lifecycle_rule,omitempty"`

	// The region where the bucket resides (Defaults to nyc3)
	// Bucket region
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// A state of versioning (documented below)
	Versioning []VersioningInitParameters `json:"versioning,omitempty" tf:"versioning,omitempty"`
}

func (*BucketInitParameters) DeepCopy

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

func (*BucketInitParameters) DeepCopyInto

func (in *BucketInitParameters) DeepCopyInto(out *BucketInitParameters)

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

type BucketList

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

BucketList contains a list of Buckets

func (*BucketList) DeepCopy

func (in *BucketList) DeepCopy() *BucketList

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

func (*BucketList) DeepCopyInto

func (in *BucketList) DeepCopyInto(out *BucketList)

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

func (*BucketList) DeepCopyObject

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

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

func (*BucketList) GetItems

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

GetItems of this BucketList.

type BucketObject

type BucketObject struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bucket) || (has(self.initProvider) && has(self.initProvider.bucket))",message="spec.forProvider.bucket is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.key) || (has(self.initProvider) && has(self.initProvider.key))",message="spec.forProvider.key is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.region) || (has(self.initProvider) && has(self.initProvider.region))",message="spec.forProvider.region is a required parameter"
	Spec   BucketObjectSpec   `json:"spec"`
	Status BucketObjectStatus `json:"status,omitempty"`
}

BucketObject is the Schema for the BucketObjects API. +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,do}

func (*BucketObject) DeepCopy

func (in *BucketObject) DeepCopy() *BucketObject

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

func (*BucketObject) DeepCopyInto

func (in *BucketObject) DeepCopyInto(out *BucketObject)

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

func (*BucketObject) DeepCopyObject

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

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

func (*BucketObject) GetCondition

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

GetCondition of this BucketObject.

func (*BucketObject) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this BucketObject

func (*BucketObject) GetDeletionPolicy

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

GetDeletionPolicy of this BucketObject.

func (*BucketObject) GetID

func (tr *BucketObject) GetID() string

GetID returns ID of underlying Terraform resource of this BucketObject

func (*BucketObject) GetInitParameters

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

GetInitParameters of this BucketObject

func (*BucketObject) GetManagementPolicies

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

GetManagementPolicies of this BucketObject.

func (*BucketObject) GetMergedParameters added in v0.2.0

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

GetInitParameters of this BucketObject

func (*BucketObject) GetObservation

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

GetObservation of this BucketObject

func (*BucketObject) GetParameters

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

GetParameters of this BucketObject

func (*BucketObject) GetProviderConfigReference

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

GetProviderConfigReference of this BucketObject.

func (*BucketObject) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this BucketObject.

func (*BucketObject) GetTerraformResourceType

func (mg *BucketObject) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this BucketObject

func (*BucketObject) GetTerraformSchemaVersion

func (tr *BucketObject) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*BucketObject) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this BucketObject.

func (*BucketObject) Hub added in v0.2.0

func (tr *BucketObject) Hub()

Hub marks this type as a conversion hub.

func (*BucketObject) LateInitialize

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

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

func (*BucketObject) SetConditions

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

SetConditions of this BucketObject.

func (*BucketObject) SetDeletionPolicy

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

SetDeletionPolicy of this BucketObject.

func (*BucketObject) SetManagementPolicies

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

SetManagementPolicies of this BucketObject.

func (*BucketObject) SetObservation

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

SetObservation for this BucketObject

func (*BucketObject) SetParameters

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

SetParameters for this BucketObject

func (*BucketObject) SetProviderConfigReference

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

SetProviderConfigReference of this BucketObject.

func (*BucketObject) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this BucketObject.

func (*BucketObject) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this BucketObject.

type BucketObjectInitParameters

type BucketObjectInitParameters struct {

	// The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
	ACL *string `json:"acl,omitempty" tf:"acl,omitempty"`

	// The name of the bucket to put the file in.
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.
	CacheControl *string `json:"cacheControl,omitempty" tf:"cache_control,omitempty"`

	// Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the gzipbase64 function with small text strings. For larger objects, use source to stream the content from a disk file.
	ContentBase64 *string `json:"contentBase64,omitempty" tf:"content_base64,omitempty"`

	// Specifies presentational information for the object. Read w3c content_disposition for further information.
	ContentDisposition *string `json:"contentDisposition,omitempty" tf:"content_disposition,omitempty"`

	// Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
	ContentEncoding *string `json:"contentEncoding,omitempty" tf:"content_encoding,omitempty"`

	// The language the content is in e.g. en-US or en-GB.
	ContentLanguage *string `json:"contentLanguage,omitempty" tf:"content_language,omitempty"`

	// A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
	ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`

	// Used to trigger updates.11.11.11 or earlier).
	Etag *string `json:"etag,omitempty" tf:"etag,omitempty"`

	// Allow the object to be deleted by removing any legal hold on any object version.
	// Default is false. This value should be set to true only if the bucket has S3 object lock enabled.
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

	// The name of the object once it is in the bucket.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// A mapping of keys/values to provision metadata (will be automatically prefixed by x-amz-meta-, note that only lowercase label are currently supported by the AWS Go API).
	// +mapType=granular
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The region where the bucket resides (Defaults to nyc3)
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The path to a file that will be read and uploaded as raw bytes for the object content.
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// Specifies a target URL for website redirect.
	WebsiteRedirect *string `json:"websiteRedirect,omitempty" tf:"website_redirect,omitempty"`
}

func (*BucketObjectInitParameters) DeepCopy

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

func (*BucketObjectInitParameters) DeepCopyInto

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

type BucketObjectList

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

BucketObjectList contains a list of BucketObjects

func (*BucketObjectList) DeepCopy

func (in *BucketObjectList) DeepCopy() *BucketObjectList

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

func (*BucketObjectList) DeepCopyInto

func (in *BucketObjectList) DeepCopyInto(out *BucketObjectList)

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

func (*BucketObjectList) DeepCopyObject

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

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

func (*BucketObjectList) GetItems

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

GetItems of this BucketObjectList.

type BucketObjectObservation

type BucketObjectObservation struct {

	// The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
	ACL *string `json:"acl,omitempty" tf:"acl,omitempty"`

	// The name of the bucket to put the file in.
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.
	CacheControl *string `json:"cacheControl,omitempty" tf:"cache_control,omitempty"`

	// Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the gzipbase64 function with small text strings. For larger objects, use source to stream the content from a disk file.
	ContentBase64 *string `json:"contentBase64,omitempty" tf:"content_base64,omitempty"`

	// Specifies presentational information for the object. Read w3c content_disposition for further information.
	ContentDisposition *string `json:"contentDisposition,omitempty" tf:"content_disposition,omitempty"`

	// Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
	ContentEncoding *string `json:"contentEncoding,omitempty" tf:"content_encoding,omitempty"`

	// The language the content is in e.g. en-US or en-GB.
	ContentLanguage *string `json:"contentLanguage,omitempty" tf:"content_language,omitempty"`

	// A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
	ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`

	// Used to trigger updates.11.11.11 or earlier).
	Etag *string `json:"etag,omitempty" tf:"etag,omitempty"`

	// Allow the object to be deleted by removing any legal hold on any object version.
	// Default is false. This value should be set to true only if the bucket has S3 object lock enabled.
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

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

	// The name of the object once it is in the bucket.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// A mapping of keys/values to provision metadata (will be automatically prefixed by x-amz-meta-, note that only lowercase label are currently supported by the AWS Go API).
	// +mapType=granular
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The region where the bucket resides (Defaults to nyc3)
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The path to a file that will be read and uploaded as raw bytes for the object content.
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// A unique version ID value for the object, if bucket versioning is enabled.
	VersionID *string `json:"versionId,omitempty" tf:"version_id,omitempty"`

	// Specifies a target URL for website redirect.
	WebsiteRedirect *string `json:"websiteRedirect,omitempty" tf:"website_redirect,omitempty"`
}

func (*BucketObjectObservation) DeepCopy

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

func (*BucketObjectObservation) DeepCopyInto

func (in *BucketObjectObservation) DeepCopyInto(out *BucketObjectObservation)

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

type BucketObjectParameters

type BucketObjectParameters struct {

	// The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
	// +kubebuilder:validation:Optional
	ACL *string `json:"acl,omitempty" tf:"acl,omitempty"`

	// The name of the bucket to put the file in.
	// +kubebuilder:validation:Optional
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.
	// +kubebuilder:validation:Optional
	CacheControl *string `json:"cacheControl,omitempty" tf:"cache_control,omitempty"`

	// Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
	// +kubebuilder:validation:Optional
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the gzipbase64 function with small text strings. For larger objects, use source to stream the content from a disk file.
	// +kubebuilder:validation:Optional
	ContentBase64 *string `json:"contentBase64,omitempty" tf:"content_base64,omitempty"`

	// Specifies presentational information for the object. Read w3c content_disposition for further information.
	// +kubebuilder:validation:Optional
	ContentDisposition *string `json:"contentDisposition,omitempty" tf:"content_disposition,omitempty"`

	// Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
	// +kubebuilder:validation:Optional
	ContentEncoding *string `json:"contentEncoding,omitempty" tf:"content_encoding,omitempty"`

	// The language the content is in e.g. en-US or en-GB.
	// +kubebuilder:validation:Optional
	ContentLanguage *string `json:"contentLanguage,omitempty" tf:"content_language,omitempty"`

	// A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
	// +kubebuilder:validation:Optional
	ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`

	// Used to trigger updates.11.11.11 or earlier).
	// +kubebuilder:validation:Optional
	Etag *string `json:"etag,omitempty" tf:"etag,omitempty"`

	// Allow the object to be deleted by removing any legal hold on any object version.
	// Default is false. This value should be set to true only if the bucket has S3 object lock enabled.
	// +kubebuilder:validation:Optional
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

	// The name of the object once it is in the bucket.
	// +kubebuilder:validation:Optional
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// A mapping of keys/values to provision metadata (will be automatically prefixed by x-amz-meta-, note that only lowercase label are currently supported by the AWS Go API).
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The region where the bucket resides (Defaults to nyc3)
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The path to a file that will be read and uploaded as raw bytes for the object content.
	// +kubebuilder:validation:Optional
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// Specifies a target URL for website redirect.
	// +kubebuilder:validation:Optional
	WebsiteRedirect *string `json:"websiteRedirect,omitempty" tf:"website_redirect,omitempty"`
}

func (*BucketObjectParameters) DeepCopy

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

func (*BucketObjectParameters) DeepCopyInto

func (in *BucketObjectParameters) DeepCopyInto(out *BucketObjectParameters)

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

type BucketObjectSpec

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

BucketObjectSpec defines the desired state of BucketObject

func (*BucketObjectSpec) DeepCopy

func (in *BucketObjectSpec) DeepCopy() *BucketObjectSpec

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

func (*BucketObjectSpec) DeepCopyInto

func (in *BucketObjectSpec) DeepCopyInto(out *BucketObjectSpec)

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

type BucketObjectStatus

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

BucketObjectStatus defines the observed state of BucketObject.

func (*BucketObjectStatus) DeepCopy

func (in *BucketObjectStatus) DeepCopy() *BucketObjectStatus

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

func (*BucketObjectStatus) DeepCopyInto

func (in *BucketObjectStatus) DeepCopyInto(out *BucketObjectStatus)

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

type BucketObservation

type BucketObservation struct {

	// Canned ACL applied on bucket creation (private or public-read)
	// Canned ACL applied on bucket creation
	ACL *string `json:"acl,omitempty" tf:"acl,omitempty"`

	// The FQDN of the bucket (e.g. bucket-name.nyc3.digitaloceanspaces.com)
	// The FQDN of the bucket
	BucketDomainName *string `json:"bucketDomainName,omitempty" tf:"bucket_domain_name,omitempty"`

	// A rule of Cross-Origin Resource Sharing (documented below).
	// A container holding a list of elements describing allowed methods for a specific origin.
	CorsRule []CorsRuleObservation `json:"corsRule,omitempty" tf:"cors_rule,omitempty"`

	// The FQDN of the bucket without the bucket name (e.g. nyc3.digitaloceanspaces.com)
	// The FQDN of the bucket without the bucket name
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// Unless true, the bucket will only be destroyed if empty (Defaults to false)
	// Unless true, the bucket will only be destroyed if empty
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

	// Unique identifier for the rule.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A configuration of object lifecycle management (documented below).
	LifecycleRule []LifecycleRuleObservation `json:"lifecycleRule,omitempty" tf:"lifecycle_rule,omitempty"`

	// The region where the bucket resides (Defaults to nyc3)
	// Bucket region
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The uniform resource name for the bucket
	// the uniform resource name for the bucket
	Urn *string `json:"urn,omitempty" tf:"urn,omitempty"`

	// A state of versioning (documented below)
	Versioning []VersioningObservation `json:"versioning,omitempty" tf:"versioning,omitempty"`
}

func (*BucketObservation) DeepCopy

func (in *BucketObservation) DeepCopy() *BucketObservation

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

func (*BucketObservation) DeepCopyInto

func (in *BucketObservation) DeepCopyInto(out *BucketObservation)

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

type BucketParameters

type BucketParameters struct {

	// Canned ACL applied on bucket creation (private or public-read)
	// Canned ACL applied on bucket creation
	// +kubebuilder:validation:Optional
	ACL *string `json:"acl,omitempty" tf:"acl,omitempty"`

	// A rule of Cross-Origin Resource Sharing (documented below).
	// A container holding a list of elements describing allowed methods for a specific origin.
	// +kubebuilder:validation:Optional
	CorsRule []CorsRuleParameters `json:"corsRule,omitempty" tf:"cors_rule,omitempty"`

	// Unless true, the bucket will only be destroyed if empty (Defaults to false)
	// Unless true, the bucket will only be destroyed if empty
	// +kubebuilder:validation:Optional
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

	// A configuration of object lifecycle management (documented below).
	// +kubebuilder:validation:Optional
	LifecycleRule []LifecycleRuleParameters `json:"lifecycleRule,omitempty" tf:"lifecycle_rule,omitempty"`

	// The region where the bucket resides (Defaults to nyc3)
	// Bucket region
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// A state of versioning (documented below)
	// +kubebuilder:validation:Optional
	Versioning []VersioningParameters `json:"versioning,omitempty" tf:"versioning,omitempty"`
}

func (*BucketParameters) DeepCopy

func (in *BucketParameters) DeepCopy() *BucketParameters

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

func (*BucketParameters) DeepCopyInto

func (in *BucketParameters) DeepCopyInto(out *BucketParameters)

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

type BucketPolicy

type BucketPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bucket) || (has(self.initProvider) && has(self.initProvider.bucket))",message="spec.forProvider.bucket is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.region) || (has(self.initProvider) && has(self.initProvider.region))",message="spec.forProvider.region is a required parameter"
	Spec   BucketPolicySpec   `json:"spec"`
	Status BucketPolicyStatus `json:"status,omitempty"`
}

BucketPolicy is the Schema for the BucketPolicys API. +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,do}

func (*BucketPolicy) DeepCopy

func (in *BucketPolicy) DeepCopy() *BucketPolicy

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

func (*BucketPolicy) DeepCopyInto

func (in *BucketPolicy) DeepCopyInto(out *BucketPolicy)

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

func (*BucketPolicy) DeepCopyObject

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

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

func (*BucketPolicy) GetCondition

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

GetCondition of this BucketPolicy.

func (*BucketPolicy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this BucketPolicy

func (*BucketPolicy) GetDeletionPolicy

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

GetDeletionPolicy of this BucketPolicy.

func (*BucketPolicy) GetID

func (tr *BucketPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this BucketPolicy

func (*BucketPolicy) GetInitParameters

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

GetInitParameters of this BucketPolicy

func (*BucketPolicy) GetManagementPolicies

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

GetManagementPolicies of this BucketPolicy.

func (*BucketPolicy) GetMergedParameters added in v0.2.0

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

GetInitParameters of this BucketPolicy

func (*BucketPolicy) GetObservation

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

GetObservation of this BucketPolicy

func (*BucketPolicy) GetParameters

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

GetParameters of this BucketPolicy

func (*BucketPolicy) GetProviderConfigReference

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

GetProviderConfigReference of this BucketPolicy.

func (*BucketPolicy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this BucketPolicy.

func (*BucketPolicy) GetTerraformResourceType

func (mg *BucketPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this BucketPolicy

func (*BucketPolicy) GetTerraformSchemaVersion

func (tr *BucketPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*BucketPolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this BucketPolicy.

func (*BucketPolicy) Hub added in v0.2.0

func (tr *BucketPolicy) Hub()

Hub marks this type as a conversion hub.

func (*BucketPolicy) LateInitialize

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

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

func (*BucketPolicy) SetConditions

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

SetConditions of this BucketPolicy.

func (*BucketPolicy) SetDeletionPolicy

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

SetDeletionPolicy of this BucketPolicy.

func (*BucketPolicy) SetManagementPolicies

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

SetManagementPolicies of this BucketPolicy.

func (*BucketPolicy) SetObservation

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

SetObservation for this BucketPolicy

func (*BucketPolicy) SetParameters

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

SetParameters for this BucketPolicy

func (*BucketPolicy) SetProviderConfigReference

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

SetProviderConfigReference of this BucketPolicy.

func (*BucketPolicy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this BucketPolicy.

func (*BucketPolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this BucketPolicy.

type BucketPolicyInitParameters

type BucketPolicyInitParameters struct {

	// The name of the bucket to which to apply the policy.
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// The text of the policy.
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// The region where the bucket resides.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*BucketPolicyInitParameters) DeepCopy

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

func (*BucketPolicyInitParameters) DeepCopyInto

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

type BucketPolicyList

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

BucketPolicyList contains a list of BucketPolicys

func (*BucketPolicyList) DeepCopy

func (in *BucketPolicyList) DeepCopy() *BucketPolicyList

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

func (*BucketPolicyList) DeepCopyInto

func (in *BucketPolicyList) DeepCopyInto(out *BucketPolicyList)

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

func (*BucketPolicyList) DeepCopyObject

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

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

func (*BucketPolicyList) GetItems

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

GetItems of this BucketPolicyList.

type BucketPolicyObservation

type BucketPolicyObservation struct {

	// The name of the bucket to which to apply the policy.
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

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

	// The text of the policy.
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// The region where the bucket resides.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*BucketPolicyObservation) DeepCopy

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

func (*BucketPolicyObservation) DeepCopyInto

func (in *BucketPolicyObservation) DeepCopyInto(out *BucketPolicyObservation)

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

type BucketPolicyParameters

type BucketPolicyParameters struct {

	// The name of the bucket to which to apply the policy.
	// +kubebuilder:validation:Optional
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// The text of the policy.
	// +kubebuilder:validation:Optional
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// The region where the bucket resides.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*BucketPolicyParameters) DeepCopy

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

func (*BucketPolicyParameters) DeepCopyInto

func (in *BucketPolicyParameters) DeepCopyInto(out *BucketPolicyParameters)

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

type BucketPolicySpec

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

BucketPolicySpec defines the desired state of BucketPolicy

func (*BucketPolicySpec) DeepCopy

func (in *BucketPolicySpec) DeepCopy() *BucketPolicySpec

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

func (*BucketPolicySpec) DeepCopyInto

func (in *BucketPolicySpec) DeepCopyInto(out *BucketPolicySpec)

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

type BucketPolicyStatus

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

BucketPolicyStatus defines the observed state of BucketPolicy.

func (*BucketPolicyStatus) DeepCopy

func (in *BucketPolicyStatus) DeepCopy() *BucketPolicyStatus

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

func (*BucketPolicyStatus) DeepCopyInto

func (in *BucketPolicyStatus) DeepCopyInto(out *BucketPolicyStatus)

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

type BucketSpec

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

BucketSpec defines the desired state of Bucket

func (*BucketSpec) DeepCopy

func (in *BucketSpec) DeepCopy() *BucketSpec

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

func (*BucketSpec) DeepCopyInto

func (in *BucketSpec) DeepCopyInto(out *BucketSpec)

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

type BucketStatus

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

BucketStatus defines the observed state of Bucket.

func (*BucketStatus) DeepCopy

func (in *BucketStatus) DeepCopy() *BucketStatus

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

func (*BucketStatus) DeepCopyInto

func (in *BucketStatus) DeepCopyInto(out *BucketStatus)

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

type Cdn

type Cdn struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CdnSpec   `json:"spec"`
	Status            CdnStatus `json:"status,omitempty"`
}

Cdn is the Schema for the Cdns API. +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,do}

func (*Cdn) DeepCopy

func (in *Cdn) DeepCopy() *Cdn

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

func (*Cdn) DeepCopyInto

func (in *Cdn) DeepCopyInto(out *Cdn)

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

func (*Cdn) DeepCopyObject

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

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

func (*Cdn) GetCondition

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

GetCondition of this Cdn.

func (*Cdn) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Cdn

func (*Cdn) GetDeletionPolicy

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

GetDeletionPolicy of this Cdn.

func (*Cdn) GetID

func (tr *Cdn) GetID() string

GetID returns ID of underlying Terraform resource of this Cdn

func (*Cdn) GetInitParameters

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

GetInitParameters of this Cdn

func (*Cdn) GetManagementPolicies

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

GetManagementPolicies of this Cdn.

func (*Cdn) GetMergedParameters added in v0.2.0

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

GetInitParameters of this Cdn

func (*Cdn) GetObservation

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

GetObservation of this Cdn

func (*Cdn) GetParameters

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

GetParameters of this Cdn

func (*Cdn) GetProviderConfigReference

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

GetProviderConfigReference of this Cdn.

func (*Cdn) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Cdn.

func (*Cdn) GetTerraformResourceType

func (mg *Cdn) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Cdn

func (*Cdn) GetTerraformSchemaVersion

func (tr *Cdn) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Cdn) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Cdn.

func (*Cdn) Hub added in v0.2.0

func (tr *Cdn) Hub()

Hub marks this type as a conversion hub.

func (*Cdn) LateInitialize

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

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

func (*Cdn) ResolveReferences

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

ResolveReferences of this Cdn.

func (*Cdn) SetConditions

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

SetConditions of this Cdn.

func (*Cdn) SetDeletionPolicy

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

SetDeletionPolicy of this Cdn.

func (*Cdn) SetManagementPolicies

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

SetManagementPolicies of this Cdn.

func (*Cdn) SetObservation

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

SetObservation for this Cdn

func (*Cdn) SetParameters

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

SetParameters for this Cdn

func (*Cdn) SetProviderConfigReference

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

SetProviderConfigReference of this Cdn.

func (*Cdn) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Cdn.

func (*Cdn) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Cdn.

type CdnInitParameters

type CdnInitParameters struct {

	// Selector for a Bucket in spaces to populate origin.
	// +kubebuilder:validation:Optional
	BucketDomainName *v1.Selector `json:"bucketDomainName,omitempty" tf:"-"`

	// Deprecated The ID of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided.
	// ID of a DigitalOcean managed TLS certificate for use with custom domains
	CertificateID *string `json:"certificateId,omitempty" tf:"certificate_id,omitempty"`

	// The unique name of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/networking/v1alpha1.Certificate
	// +crossplane:generate:reference:selectorFieldName=Name
	CertificateName *string `json:"certificateName,omitempty" tf:"certificate_name,omitempty"`

	// Reference to a Certificate in networking to populate certificateName.
	// +kubebuilder:validation:Optional
	CertificateNameRef *v1.Reference `json:"certificateNameRef,omitempty" tf:"-"`

	// The fully qualified domain name (FQDN) of the custom subdomain used with the CDN Endpoint.
	// fully qualified domain name (FQDN) for custom subdomain, (requires certificate_id)
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/dns/v1alpha1.Domain
	// +crossplane:generate:reference:selectorFieldName=ID
	CustomDomain *string `json:"customDomain,omitempty" tf:"custom_domain,omitempty"`

	// Reference to a Domain in dns to populate customDomain.
	// +kubebuilder:validation:Optional
	CustomDomainRef *v1.Reference `json:"customDomainRef,omitempty" tf:"-"`

	// A unique ID that can be used to identify and reference a CDN Endpoint.
	ID *v1.Selector `json:"id,omitempty" tf:"-"`

	// Selector for a Certificate in networking to populate certificateName.
	// +kubebuilder:validation:Optional
	Name *v1.Selector `json:"name,omitempty" tf:"-"`

	// The fully qualified domain name, (FQDN) for a Space.
	// fully qualified domain name (FQDN) for the origin server
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/spaces/v1alpha1.Bucket
	// +crossplane:generate:reference:selectorFieldName=BucketDomainName
	Origin *string `json:"origin,omitempty" tf:"origin,omitempty"`

	// Reference to a Bucket in spaces to populate origin.
	// +kubebuilder:validation:Optional
	OriginRef *v1.Reference `json:"originRef,omitempty" tf:"-"`

	// The time to live for the CDN Endpoint, in seconds. Default is 3600 seconds.
	// The amount of time the content is cached in the CDN
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*CdnInitParameters) DeepCopy

func (in *CdnInitParameters) DeepCopy() *CdnInitParameters

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

func (*CdnInitParameters) DeepCopyInto

func (in *CdnInitParameters) DeepCopyInto(out *CdnInitParameters)

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

type CdnList

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

CdnList contains a list of Cdns

func (*CdnList) DeepCopy

func (in *CdnList) DeepCopy() *CdnList

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

func (*CdnList) DeepCopyInto

func (in *CdnList) DeepCopyInto(out *CdnList)

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

func (*CdnList) DeepCopyObject

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

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

func (*CdnList) GetItems

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

GetItems of this CdnList.

type CdnObservation

type CdnObservation struct {

	// Deprecated The ID of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided.
	// ID of a DigitalOcean managed TLS certificate for use with custom domains
	CertificateID *string `json:"certificateId,omitempty" tf:"certificate_id,omitempty"`

	// The unique name of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided.
	CertificateName *string `json:"certificateName,omitempty" tf:"certificate_name,omitempty"`

	// The date and time when the CDN Endpoint was created.
	// The date and time (ISO8601) of when the CDN endpoint was created.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// The fully qualified domain name (FQDN) of the custom subdomain used with the CDN Endpoint.
	// fully qualified domain name (FQDN) for custom subdomain, (requires certificate_id)
	CustomDomain *string `json:"customDomain,omitempty" tf:"custom_domain,omitempty"`

	// The fully qualified domain name (FQDN) from which the CDN-backed content is served.
	// fully qualified domain name (FQDN) to serve the CDN content
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// A unique ID that can be used to identify and reference a CDN Endpoint.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The fully qualified domain name, (FQDN) for a Space.
	// fully qualified domain name (FQDN) for the origin server
	Origin *string `json:"origin,omitempty" tf:"origin,omitempty"`

	// The time to live for the CDN Endpoint, in seconds. Default is 3600 seconds.
	// The amount of time the content is cached in the CDN
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*CdnObservation) DeepCopy

func (in *CdnObservation) DeepCopy() *CdnObservation

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

func (*CdnObservation) DeepCopyInto

func (in *CdnObservation) DeepCopyInto(out *CdnObservation)

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

type CdnParameters

type CdnParameters struct {

	// Selector for a Bucket in spaces to populate origin.
	// +kubebuilder:validation:Optional
	BucketDomainName *v1.Selector `json:"bucketDomainName,omitempty" tf:"-"`

	// Deprecated The ID of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided.
	// ID of a DigitalOcean managed TLS certificate for use with custom domains
	// +kubebuilder:validation:Optional
	CertificateID *string `json:"certificateId,omitempty" tf:"certificate_id,omitempty"`

	// The unique name of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/networking/v1alpha1.Certificate
	// +crossplane:generate:reference:selectorFieldName=Name
	// +kubebuilder:validation:Optional
	CertificateName *string `json:"certificateName,omitempty" tf:"certificate_name,omitempty"`

	// Reference to a Certificate in networking to populate certificateName.
	// +kubebuilder:validation:Optional
	CertificateNameRef *v1.Reference `json:"certificateNameRef,omitempty" tf:"-"`

	// The fully qualified domain name (FQDN) of the custom subdomain used with the CDN Endpoint.
	// fully qualified domain name (FQDN) for custom subdomain, (requires certificate_id)
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/dns/v1alpha1.Domain
	// +crossplane:generate:reference:selectorFieldName=ID
	// +kubebuilder:validation:Optional
	CustomDomain *string `json:"customDomain,omitempty" tf:"custom_domain,omitempty"`

	// Reference to a Domain in dns to populate customDomain.
	// +kubebuilder:validation:Optional
	CustomDomainRef *v1.Reference `json:"customDomainRef,omitempty" tf:"-"`

	// A unique ID that can be used to identify and reference a CDN Endpoint.
	// +kubebuilder:validation:Optional
	ID *v1.Selector `json:"id,omitempty" tf:"-"`

	// Selector for a Certificate in networking to populate certificateName.
	// +kubebuilder:validation:Optional
	Name *v1.Selector `json:"name,omitempty" tf:"-"`

	// The fully qualified domain name, (FQDN) for a Space.
	// fully qualified domain name (FQDN) for the origin server
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/spaces/v1alpha1.Bucket
	// +crossplane:generate:reference:selectorFieldName=BucketDomainName
	// +kubebuilder:validation:Optional
	Origin *string `json:"origin,omitempty" tf:"origin,omitempty"`

	// Reference to a Bucket in spaces to populate origin.
	// +kubebuilder:validation:Optional
	OriginRef *v1.Reference `json:"originRef,omitempty" tf:"-"`

	// The time to live for the CDN Endpoint, in seconds. Default is 3600 seconds.
	// The amount of time the content is cached in the CDN
	// +kubebuilder:validation:Optional
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*CdnParameters) DeepCopy

func (in *CdnParameters) DeepCopy() *CdnParameters

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

func (*CdnParameters) DeepCopyInto

func (in *CdnParameters) DeepCopyInto(out *CdnParameters)

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

type CdnSpec

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

CdnSpec defines the desired state of Cdn

func (*CdnSpec) DeepCopy

func (in *CdnSpec) DeepCopy() *CdnSpec

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

func (*CdnSpec) DeepCopyInto

func (in *CdnSpec) DeepCopyInto(out *CdnSpec)

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

type CdnStatus

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

CdnStatus defines the observed state of Cdn.

func (*CdnStatus) DeepCopy

func (in *CdnStatus) DeepCopy() *CdnStatus

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

func (*CdnStatus) DeepCopyInto

func (in *CdnStatus) DeepCopyInto(out *CdnStatus)

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

type CorsRuleInitParameters

type CorsRuleInitParameters struct {

	// A list of headers that will be included in the CORS preflight request's Access-Control-Request-Headers. A header may contain one wildcard (e.g. x-amz-*).
	// A list of headers that will be included in the CORS preflight request's Access-Control-Request-Headers. A header may contain one wildcard (e.g. x-amz-*).
	AllowedHeaders []*string `json:"allowedHeaders,omitempty" tf:"allowed_headers,omitempty"`

	// A list of HTTP methods (e.g. GET) which are allowed from the specified origin.
	// A list of HTTP methods (e.g. GET) which are allowed from the specified origin.
	AllowedMethods []*string `json:"allowedMethods,omitempty" tf:"allowed_methods,omitempty"`

	// A list of hosts from which requests using the specified methods are allowed. A host may contain one wildcard (e.g. http://*.example.com).
	// A list of hosts from which requests using the specified methods are allowed. A host may contain one wildcard (e.g. http://*.example.com).
	AllowedOrigins []*string `json:"allowedOrigins,omitempty" tf:"allowed_origins,omitempty"`

	// The time in seconds that browser can cache the response for a preflight request.
	MaxAgeSeconds *float64 `json:"maxAgeSeconds,omitempty" tf:"max_age_seconds,omitempty"`
}

func (*CorsRuleInitParameters) DeepCopy

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

func (*CorsRuleInitParameters) DeepCopyInto

func (in *CorsRuleInitParameters) DeepCopyInto(out *CorsRuleInitParameters)

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

type CorsRuleObservation

type CorsRuleObservation struct {

	// A list of headers that will be included in the CORS preflight request's Access-Control-Request-Headers. A header may contain one wildcard (e.g. x-amz-*).
	// A list of headers that will be included in the CORS preflight request's Access-Control-Request-Headers. A header may contain one wildcard (e.g. x-amz-*).
	AllowedHeaders []*string `json:"allowedHeaders,omitempty" tf:"allowed_headers,omitempty"`

	// A list of HTTP methods (e.g. GET) which are allowed from the specified origin.
	// A list of HTTP methods (e.g. GET) which are allowed from the specified origin.
	AllowedMethods []*string `json:"allowedMethods,omitempty" tf:"allowed_methods,omitempty"`

	// A list of hosts from which requests using the specified methods are allowed. A host may contain one wildcard (e.g. http://*.example.com).
	// A list of hosts from which requests using the specified methods are allowed. A host may contain one wildcard (e.g. http://*.example.com).
	AllowedOrigins []*string `json:"allowedOrigins,omitempty" tf:"allowed_origins,omitempty"`

	// The time in seconds that browser can cache the response for a preflight request.
	MaxAgeSeconds *float64 `json:"maxAgeSeconds,omitempty" tf:"max_age_seconds,omitempty"`
}

func (*CorsRuleObservation) DeepCopy

func (in *CorsRuleObservation) DeepCopy() *CorsRuleObservation

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

func (*CorsRuleObservation) DeepCopyInto

func (in *CorsRuleObservation) DeepCopyInto(out *CorsRuleObservation)

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

type CorsRuleParameters

type CorsRuleParameters struct {

	// A list of headers that will be included in the CORS preflight request's Access-Control-Request-Headers. A header may contain one wildcard (e.g. x-amz-*).
	// A list of headers that will be included in the CORS preflight request's Access-Control-Request-Headers. A header may contain one wildcard (e.g. x-amz-*).
	// +kubebuilder:validation:Optional
	AllowedHeaders []*string `json:"allowedHeaders,omitempty" tf:"allowed_headers,omitempty"`

	// A list of HTTP methods (e.g. GET) which are allowed from the specified origin.
	// A list of HTTP methods (e.g. GET) which are allowed from the specified origin.
	// +kubebuilder:validation:Optional
	AllowedMethods []*string `json:"allowedMethods" tf:"allowed_methods,omitempty"`

	// A list of hosts from which requests using the specified methods are allowed. A host may contain one wildcard (e.g. http://*.example.com).
	// A list of hosts from which requests using the specified methods are allowed. A host may contain one wildcard (e.g. http://*.example.com).
	// +kubebuilder:validation:Optional
	AllowedOrigins []*string `json:"allowedOrigins" tf:"allowed_origins,omitempty"`

	// The time in seconds that browser can cache the response for a preflight request.
	// +kubebuilder:validation:Optional
	MaxAgeSeconds *float64 `json:"maxAgeSeconds,omitempty" tf:"max_age_seconds,omitempty"`
}

func (*CorsRuleParameters) DeepCopy

func (in *CorsRuleParameters) DeepCopy() *CorsRuleParameters

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

func (*CorsRuleParameters) DeepCopyInto

func (in *CorsRuleParameters) DeepCopyInto(out *CorsRuleParameters)

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

type ExpirationInitParameters

type ExpirationInitParameters struct {

	// Specifies the date/time after which you want applicable objects to expire. The argument uses
	// RFC3339 format, e.g. "2020-03-22T15:03:55Z" or parts thereof e.g. "2019-02-28".
	Date *string `json:"date,omitempty" tf:"date,omitempty"`

	// Specifies the number of days after object creation when the applicable objects will expire.
	Days *float64 `json:"days,omitempty" tf:"days,omitempty"`

	// On a versioned bucket (versioning-enabled or versioning-suspended
	// bucket), setting this to true directs Spaces to delete expired object delete markers.
	ExpiredObjectDeleteMarker *bool `json:"expiredObjectDeleteMarker,omitempty" tf:"expired_object_delete_marker,omitempty"`
}

func (*ExpirationInitParameters) DeepCopy

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

func (*ExpirationInitParameters) DeepCopyInto

func (in *ExpirationInitParameters) DeepCopyInto(out *ExpirationInitParameters)

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

type ExpirationObservation

type ExpirationObservation struct {

	// Specifies the date/time after which you want applicable objects to expire. The argument uses
	// RFC3339 format, e.g. "2020-03-22T15:03:55Z" or parts thereof e.g. "2019-02-28".
	Date *string `json:"date,omitempty" tf:"date,omitempty"`

	// Specifies the number of days after object creation when the applicable objects will expire.
	Days *float64 `json:"days,omitempty" tf:"days,omitempty"`

	// On a versioned bucket (versioning-enabled or versioning-suspended
	// bucket), setting this to true directs Spaces to delete expired object delete markers.
	ExpiredObjectDeleteMarker *bool `json:"expiredObjectDeleteMarker,omitempty" tf:"expired_object_delete_marker,omitempty"`
}

func (*ExpirationObservation) DeepCopy

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

func (*ExpirationObservation) DeepCopyInto

func (in *ExpirationObservation) DeepCopyInto(out *ExpirationObservation)

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

type ExpirationParameters

type ExpirationParameters struct {

	// Specifies the date/time after which you want applicable objects to expire. The argument uses
	// RFC3339 format, e.g. "2020-03-22T15:03:55Z" or parts thereof e.g. "2019-02-28".
	// +kubebuilder:validation:Optional
	Date *string `json:"date,omitempty" tf:"date,omitempty"`

	// Specifies the number of days after object creation when the applicable objects will expire.
	// +kubebuilder:validation:Optional
	Days *float64 `json:"days,omitempty" tf:"days,omitempty"`

	// On a versioned bucket (versioning-enabled or versioning-suspended
	// bucket), setting this to true directs Spaces to delete expired object delete markers.
	// +kubebuilder:validation:Optional
	ExpiredObjectDeleteMarker *bool `json:"expiredObjectDeleteMarker,omitempty" tf:"expired_object_delete_marker,omitempty"`
}

func (*ExpirationParameters) DeepCopy

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

func (*ExpirationParameters) DeepCopyInto

func (in *ExpirationParameters) DeepCopyInto(out *ExpirationParameters)

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

type LifecycleRuleInitParameters

type LifecycleRuleInitParameters struct {

	// Specifies the number of days after initiating a multipart
	// upload when the multipart upload must be completed or else Spaces will abort the upload.
	AbortIncompleteMultipartUploadDays *float64 `json:"abortIncompleteMultipartUploadDays,omitempty" tf:"abort_incomplete_multipart_upload_days,omitempty"`

	// Specifies lifecycle rule status.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Specifies a time period after which applicable objects expire (documented below).
	Expiration []ExpirationInitParameters `json:"expiration,omitempty" tf:"expiration,omitempty"`

	// Unique identifier for the rule.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies when non-current object versions expire (documented below).
	NoncurrentVersionExpiration []NoncurrentVersionExpirationInitParameters `json:"noncurrentVersionExpiration,omitempty" tf:"noncurrent_version_expiration,omitempty"`

	// Object key prefix identifying one or more objects to which the rule applies.
	Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"`
}

func (*LifecycleRuleInitParameters) DeepCopy

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

func (*LifecycleRuleInitParameters) DeepCopyInto

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

type LifecycleRuleObservation

type LifecycleRuleObservation struct {

	// Specifies the number of days after initiating a multipart
	// upload when the multipart upload must be completed or else Spaces will abort the upload.
	AbortIncompleteMultipartUploadDays *float64 `json:"abortIncompleteMultipartUploadDays,omitempty" tf:"abort_incomplete_multipart_upload_days,omitempty"`

	// Specifies lifecycle rule status.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Specifies a time period after which applicable objects expire (documented below).
	Expiration []ExpirationObservation `json:"expiration,omitempty" tf:"expiration,omitempty"`

	// Unique identifier for the rule.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies when non-current object versions expire (documented below).
	NoncurrentVersionExpiration []NoncurrentVersionExpirationObservation `json:"noncurrentVersionExpiration,omitempty" tf:"noncurrent_version_expiration,omitempty"`

	// Object key prefix identifying one or more objects to which the rule applies.
	Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"`
}

func (*LifecycleRuleObservation) DeepCopy

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

func (*LifecycleRuleObservation) DeepCopyInto

func (in *LifecycleRuleObservation) DeepCopyInto(out *LifecycleRuleObservation)

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

type LifecycleRuleParameters

type LifecycleRuleParameters struct {

	// Specifies the number of days after initiating a multipart
	// upload when the multipart upload must be completed or else Spaces will abort the upload.
	// +kubebuilder:validation:Optional
	AbortIncompleteMultipartUploadDays *float64 `json:"abortIncompleteMultipartUploadDays,omitempty" tf:"abort_incomplete_multipart_upload_days,omitempty"`

	// Specifies lifecycle rule status.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// Specifies a time period after which applicable objects expire (documented below).
	// +kubebuilder:validation:Optional
	Expiration []ExpirationParameters `json:"expiration,omitempty" tf:"expiration,omitempty"`

	// Unique identifier for the rule.
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies when non-current object versions expire (documented below).
	// +kubebuilder:validation:Optional
	NoncurrentVersionExpiration []NoncurrentVersionExpirationParameters `json:"noncurrentVersionExpiration,omitempty" tf:"noncurrent_version_expiration,omitempty"`

	// Object key prefix identifying one or more objects to which the rule applies.
	// +kubebuilder:validation:Optional
	Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"`
}

func (*LifecycleRuleParameters) DeepCopy

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

func (*LifecycleRuleParameters) DeepCopyInto

func (in *LifecycleRuleParameters) DeepCopyInto(out *LifecycleRuleParameters)

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

type NoncurrentVersionExpirationInitParameters

type NoncurrentVersionExpirationInitParameters struct {

	// Specifies the number of days after object creation when the applicable objects will expire.
	Days *float64 `json:"days,omitempty" tf:"days,omitempty"`
}

func (*NoncurrentVersionExpirationInitParameters) DeepCopy

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

func (*NoncurrentVersionExpirationInitParameters) DeepCopyInto

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

type NoncurrentVersionExpirationObservation

type NoncurrentVersionExpirationObservation struct {

	// Specifies the number of days after object creation when the applicable objects will expire.
	Days *float64 `json:"days,omitempty" tf:"days,omitempty"`
}

func (*NoncurrentVersionExpirationObservation) DeepCopy

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

func (*NoncurrentVersionExpirationObservation) DeepCopyInto

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

type NoncurrentVersionExpirationParameters

type NoncurrentVersionExpirationParameters struct {

	// Specifies the number of days after object creation when the applicable objects will expire.
	// +kubebuilder:validation:Optional
	Days *float64 `json:"days,omitempty" tf:"days,omitempty"`
}

func (*NoncurrentVersionExpirationParameters) DeepCopy

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

func (*NoncurrentVersionExpirationParameters) DeepCopyInto

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

type VersioningInitParameters

type VersioningInitParameters struct {

	// Specifies lifecycle rule status.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*VersioningInitParameters) DeepCopy

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

func (*VersioningInitParameters) DeepCopyInto

func (in *VersioningInitParameters) DeepCopyInto(out *VersioningInitParameters)

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

type VersioningObservation

type VersioningObservation struct {

	// Specifies lifecycle rule status.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*VersioningObservation) DeepCopy

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

func (*VersioningObservation) DeepCopyInto

func (in *VersioningObservation) DeepCopyInto(out *VersioningObservation)

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

type VersioningParameters

type VersioningParameters struct {

	// Specifies lifecycle rule status.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*VersioningParameters) DeepCopy

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

func (*VersioningParameters) DeepCopyInto

func (in *VersioningParameters) DeepCopyInto(out *VersioningParameters)

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