v1alpha1

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "objectstorage.linode.upbound.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 (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Key_Kind             = "Key"
	Key_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Key_Kind}.String()
	Key_KindAPIVersion   = Key_Kind + "." + CRDGroupVersion.String()
	Key_GroupVersionKind = CRDGroupVersion.WithKind(Key_Kind)
)

Repository type metadata.

View Source
var (
	Object_Kind             = "Object"
	Object_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Object_Kind}.String()
	Object_KindAPIVersion   = Object_Kind + "." + CRDGroupVersion.String()
	Object_GroupVersionKind = CRDGroupVersion.WithKind(Object_Kind)
)

Repository type metadata.

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. Manages a Linode Object Storage Bucket. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,linode}

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

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

GetProviderReference of this Bucket. Deprecated: Use GetProviderConfigReference.

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

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

ResolveReferences of this Bucket.

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

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

SetProviderReference of this Bucket. Deprecated: Use SetProviderConfigReference.

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 BucketAccessObservation

type BucketAccessObservation struct {
}

func (*BucketAccessObservation) DeepCopy

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

func (*BucketAccessObservation) DeepCopyInto

func (in *BucketAccessObservation) DeepCopyInto(out *BucketAccessObservation)

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

type BucketAccessParameters

type BucketAccessParameters struct {

	// The unique label of the bucket to which the key will grant limited access.
	// The unique label of the bucket to which the key will grant limited access.
	// +kubebuilder:validation:Required
	BucketName *string `json:"bucketName" tf:"bucket_name,omitempty"`

	// The Object Storage cluster where a bucket to which the key is granting access is hosted.
	// The Object Storage cluster where a bucket to which the key is granting access is hosted.
	// +kubebuilder:validation:Required
	Cluster *string `json:"cluster" tf:"cluster,omitempty"`

	// This Limited Access Key’s permissions for the selected bucket. Changing  (read_write, read_only)
	// This Limited Access Key’s permissions for the selected bucket.
	// +kubebuilder:validation:Required
	Permissions *string `json:"permissions" tf:"permissions,omitempty"`
}

func (*BucketAccessParameters) DeepCopy

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

func (*BucketAccessParameters) DeepCopyInto

func (in *BucketAccessParameters) DeepCopyInto(out *BucketAccessParameters)

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 BucketObservation

type BucketObservation struct {

	// The hostname where this bucket can be accessed. This hostname can be accessed through a browser if the bucket is made public.
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// The unique identifier for the rule.
	ID *string `json:"id,omitempty" tf:"id,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 {

	// The Access Control Level of the bucket using a canned ACL string. See all ACL strings in the Linode API v4 documentation.
	// The Access Control Level of the bucket using a canned ACL string.
	// +kubebuilder:validation:Optional
	ACL *string `json:"acl,omitempty" tf:"acl,omitempty"`

	// The access key to authenticate with.
	// The S3 access key to use for this resource. (Required for lifecycle_rule and versioning)
	// +crossplane:generate:reference:type=Key
	// +crossplane:generate:reference:refFieldName=AccessKeyRef
	// +crossplane:generate:reference:selectorFieldName=AccessKeySelector
	// +kubebuilder:validation:Optional
	AccessKey *string `json:"accessKey,omitempty" tf:"access_key,omitempty"`

	// Reference to a Key to populate accessKey.
	// +kubebuilder:validation:Optional
	AccessKeyRef *v1.Reference `json:"accessKeyRef,omitempty" tf:"-"`

	// Selector for a Key to populate accessKey.
	// +kubebuilder:validation:Optional
	AccessKeySelector *v1.Selector `json:"accessKeySelector,omitempty" tf:"-"`

	// The cert used by this Object Storage Bucket.
	// +kubebuilder:validation:Optional
	Cert []CertParameters `json:"cert,omitempty" tf:"cert,omitempty"`

	// The cluster of the Linode Object Storage Bucket.
	// The cluster of the Linode Object Storage Bucket.
	// +kubebuilder:validation:Required
	Cluster *string `json:"cluster" tf:"cluster,omitempty"`

	// If true, the bucket will have CORS enabled for all origins.
	// If true, the bucket will be created with CORS enabled for all origins.
	// +kubebuilder:validation:Optional
	CorsEnabled *bool `json:"corsEnabled,omitempty" tf:"cors_enabled,omitempty"`

	// The label of the Linode Object Storage Bucket.
	// The label of the Linode Object Storage Bucket.
	// +kubebuilder:validation:Required
	Label *string `json:"label" tf:"label,omitempty"`

	// Lifecycle rules to be applied to the bucket.
	// +kubebuilder:validation:Optional
	LifecycleRule []LifecycleRuleParameters `json:"lifecycleRule,omitempty" tf:"lifecycle_rule,omitempty"`

	// The secret key to authenticate with.
	// The S3 secret key to use for this resource. (Required for lifecycle_rule and versioning)
	// +crossplane:generate:reference:type=Key
	// +crossplane:generate:reference:refFieldName=SecretKeyRef
	// +crossplane:generate:reference:selectorFieldName=SecretKeySelector
	// +kubebuilder:validation:Optional
	SecretKey *string `json:"secretKey,omitempty" tf:"secret_key,omitempty"`

	// Reference to a Key to populate secretKey.
	// +kubebuilder:validation:Optional
	SecretKeyRef *v1.Reference `json:"secretKeyRef,omitempty" tf:"-"`

	// Selector for a Key to populate secretKey.
	// +kubebuilder:validation:Optional
	SecretKeySelector *v1.Selector `json:"secretKeySelector,omitempty" tf:"-"`

	// Whether to enable versioning. Once you version-enable a bucket, it can never return to an unversioned state. You can, however, suspend versioning on that bucket. (Requires access_key and secret_key)
	// Whether to enable versioning.
	// +kubebuilder:validation:Optional
	Versioning *bool `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 BucketSpec

type BucketSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     BucketParameters `json:"forProvider"`
}

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 CertObservation

type CertObservation struct {
}

func (*CertObservation) DeepCopy

func (in *CertObservation) DeepCopy() *CertObservation

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

func (*CertObservation) DeepCopyInto

func (in *CertObservation) DeepCopyInto(out *CertObservation)

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

type CertParameters

type CertParameters struct {

	// The Base64 encoded and PEM formatted SSL certificate.
	// The Base64 encoded and PEM formatted SSL certificate.
	// +kubebuilder:validation:Required
	CertificateSecretRef v1.SecretKeySelector `json:"certificateSecretRef" tf:"-"`

	// The private key associated with the TLS/SSL certificate.
	// The private key associated with the TLS/SSL certificate.
	// +kubebuilder:validation:Required
	PrivateKeySecretRef v1.SecretKeySelector `json:"privateKeySecretRef" tf:"-"`
}

func (*CertParameters) DeepCopy

func (in *CertParameters) DeepCopy() *CertParameters

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

func (*CertParameters) DeepCopyInto

func (in *CertParameters) DeepCopyInto(out *CertParameters)

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

type ExpirationObservation

type ExpirationObservation struct {
}

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 after which you want the corresponding action to take effect.
	// Specifies the date after which you want the corresponding action to take effect.
	// +kubebuilder:validation:Optional
	Date *string `json:"date,omitempty" tf:"date,omitempty"`

	// Specifies the number of days after object creation when the specific rule action takes effect.
	// Specifies the number of days after object creation when the specific rule action takes effect.
	// +kubebuilder:validation:Optional
	Days *float64 `json:"days,omitempty" tf:"days,omitempty"`

	// On a versioned bucket (versioning-enabled or versioning-suspended bucket), you can add this element in the lifecycle configuration to direct Linode Object Storage to delete expired object delete markers. This cannot be specified with Days or Date in a Lifecycle Expiration Policy.
	// Directs Linode Object Storage to remove expired deleted 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 Key

type Key struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              KeySpec   `json:"spec"`
	Status            KeyStatus `json:"status,omitempty"`
}

Key is the Schema for the Keys API. Manages a Linode Object Storage Key. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,linode}

func (*Key) DeepCopy

func (in *Key) DeepCopy() *Key

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

func (*Key) DeepCopyInto

func (in *Key) DeepCopyInto(out *Key)

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

func (*Key) DeepCopyObject

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

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

func (*Key) GetCondition

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

GetCondition of this Key.

func (*Key) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Key

func (*Key) GetDeletionPolicy

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

GetDeletionPolicy of this Key.

func (*Key) GetID

func (tr *Key) GetID() string

GetID returns ID of underlying Terraform resource of this Key

func (*Key) GetObservation

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

GetObservation of this Key

func (*Key) GetParameters

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

GetParameters of this Key

func (*Key) GetProviderConfigReference

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

GetProviderConfigReference of this Key.

func (*Key) GetProviderReference

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

GetProviderReference of this Key. Deprecated: Use GetProviderConfigReference.

func (*Key) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Key.

func (*Key) GetTerraformResourceType

func (mg *Key) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Key

func (*Key) GetTerraformSchemaVersion

func (tr *Key) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Key) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Key.

func (*Key) LateInitialize

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

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

func (*Key) SetConditions

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

SetConditions of this Key.

func (*Key) SetDeletionPolicy

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

SetDeletionPolicy of this Key.

func (*Key) SetObservation

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

SetObservation for this Key

func (*Key) SetParameters

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

SetParameters for this Key

func (*Key) SetProviderConfigReference

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

SetProviderConfigReference of this Key.

func (*Key) SetProviderReference

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

SetProviderReference of this Key. Deprecated: Use SetProviderConfigReference.

func (*Key) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Key.

func (*Key) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Key.

type KeyList

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

KeyList contains a list of Keys

func (*KeyList) DeepCopy

func (in *KeyList) DeepCopy() *KeyList

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

func (*KeyList) DeepCopyInto

func (in *KeyList) DeepCopyInto(out *KeyList)

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

func (*KeyList) DeepCopyObject

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

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

func (*KeyList) GetItems

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

GetItems of this KeyList.

type KeyObservation

type KeyObservation struct {

	// This keypair's access key. This is not secret.
	// This keypair's access key. This is not secret.
	AccessKey *string `json:"accessKey,omitempty" tf:"access_key,omitempty"`

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

	// Whether or not this key is a limited access key.
	// Whether or not this key is a limited access key.
	Limited *bool `json:"limited,omitempty" tf:"limited,omitempty"`
}

func (*KeyObservation) DeepCopy

func (in *KeyObservation) DeepCopy() *KeyObservation

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

func (*KeyObservation) DeepCopyInto

func (in *KeyObservation) DeepCopyInto(out *KeyObservation)

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

type KeyParameters

type KeyParameters struct {

	// Defines this key as a Limited Access Key. Limited Access Keys restrict this Object Storage key’s access to only the bucket(s) declared in this array and define their bucket-level permissions. Not providing this block will not limit this Object Storage Key.
	// A list of permissions to grant this limited access key.
	// +kubebuilder:validation:Optional
	BucketAccess []BucketAccessParameters `json:"bucketAccess,omitempty" tf:"bucket_access,omitempty"`

	// The label given to this key. For display purposes only.
	// The label given to this key. For display purposes only.
	// +kubebuilder:validation:Required
	Label *string `json:"label" tf:"label,omitempty"`
}

func (*KeyParameters) DeepCopy

func (in *KeyParameters) DeepCopy() *KeyParameters

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

func (*KeyParameters) DeepCopyInto

func (in *KeyParameters) DeepCopyInto(out *KeyParameters)

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

type KeySpec

type KeySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     KeyParameters `json:"forProvider"`
}

KeySpec defines the desired state of Key

func (*KeySpec) DeepCopy

func (in *KeySpec) DeepCopy() *KeySpec

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

func (*KeySpec) DeepCopyInto

func (in *KeySpec) DeepCopyInto(out *KeySpec)

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

type KeyStatus

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

KeyStatus defines the observed state of Key.

func (*KeyStatus) DeepCopy

func (in *KeyStatus) DeepCopy() *KeyStatus

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

func (*KeyStatus) DeepCopyInto

func (in *KeyStatus) DeepCopyInto(out *KeyStatus)

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

type LifecycleRuleObservation

type LifecycleRuleObservation struct {
}

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.
	// Specifies the number of days after initiating a multipart upload when the multipart upload must be completed.
	// +kubebuilder:validation:Optional
	AbortIncompleteMultipartUploadDays *float64 `json:"abortIncompleteMultipartUploadDays,omitempty" tf:"abort_incomplete_multipart_upload_days,omitempty"`

	// Specifies whether the lifecycle rule is active.
	// Specifies whether the lifecycle rule is active.
	// +kubebuilder:validation:Required
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// Specifies a period in the object's expire.
	// +kubebuilder:validation:Optional
	Expiration []ExpirationParameters `json:"expiration,omitempty" tf:"expiration,omitempty"`

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

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

	// The object key prefix identifying one or more objects to which the rule applies.
	// The 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 NoncurrentVersionExpirationObservation

type NoncurrentVersionExpirationObservation struct {
}

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 specific rule action takes effect.
	// Specifies the number of days non-current object versions expire.
	// +kubebuilder:validation:Required
	Days *float64 `json:"days" 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 Object

type Object struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ObjectSpec   `json:"spec"`
	Status            ObjectStatus `json:"status,omitempty"`
}

Object is the Schema for the Objects API. Manages a Linode Object Storage Object. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,linode}

func (*Object) DeepCopy

func (in *Object) DeepCopy() *Object

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

func (*Object) DeepCopyInto

func (in *Object) DeepCopyInto(out *Object)

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

func (*Object) DeepCopyObject

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

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

func (*Object) GetCondition

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

GetCondition of this Object.

func (*Object) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Object

func (*Object) GetDeletionPolicy

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

GetDeletionPolicy of this Object.

func (*Object) GetID

func (tr *Object) GetID() string

GetID returns ID of underlying Terraform resource of this Object

func (*Object) GetObservation

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

GetObservation of this Object

func (*Object) GetParameters

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

GetParameters of this Object

func (*Object) GetProviderConfigReference

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

GetProviderConfigReference of this Object.

func (*Object) GetProviderReference

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

GetProviderReference of this Object. Deprecated: Use GetProviderConfigReference.

func (*Object) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Object.

func (*Object) GetTerraformResourceType

func (mg *Object) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Object

func (*Object) GetTerraformSchemaVersion

func (tr *Object) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Object) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Object.

func (*Object) LateInitialize

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

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

func (*Object) ResolveReferences

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

ResolveReferences of this Object.

func (*Object) SetConditions

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

SetConditions of this Object.

func (*Object) SetDeletionPolicy

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

SetDeletionPolicy of this Object.

func (*Object) SetObservation

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

SetObservation for this Object

func (*Object) SetParameters

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

SetParameters for this Object

func (*Object) SetProviderConfigReference

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

SetProviderConfigReference of this Object.

func (*Object) SetProviderReference

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

SetProviderReference of this Object. Deprecated: Use SetProviderConfigReference.

func (*Object) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Object.

func (*Object) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Object.

type ObjectList

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

ObjectList contains a list of Objects

func (*ObjectList) DeepCopy

func (in *ObjectList) DeepCopy() *ObjectList

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

func (*ObjectList) DeepCopyInto

func (in *ObjectList) DeepCopyInto(out *ObjectList)

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

func (*ObjectList) DeepCopyObject

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

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

func (*ObjectList) GetItems

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

GetItems of this ObjectList.

type ObjectObservation

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

	// A unique version ID value for the object.
	// The version ID of this object.
	VersionID *string `json:"versionId,omitempty" tf:"version_id,omitempty"`
}

func (*ObjectObservation) DeepCopy

func (in *ObjectObservation) DeepCopy() *ObjectObservation

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

func (*ObjectObservation) DeepCopyInto

func (in *ObjectObservation) DeepCopyInto(out *ObjectObservation)

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

type ObjectParameters

type ObjectParameters struct {

	// The canned ACL to apply. (private, public-read, authenticated-read, public-read-write, custom) (defaults to private).
	// The ACL config given to this object.
	// +kubebuilder:validation:Optional
	ACL *string `json:"acl,omitempty" tf:"acl,omitempty"`

	// The access key to authenticate with.
	// The S3 access key with access to the target bucket.
	// +crossplane:generate:reference:type=Key
	// +crossplane:generate:reference:refFieldName=AccessKeyRef
	// +crossplane:generate:reference:selectorFieldName=AccessKeySelector
	// +kubebuilder:validation:Optional
	AccessKey *string `json:"accessKey,omitempty" tf:"access_key,omitempty"`

	// Reference to a Key to populate accessKey.
	// +kubebuilder:validation:Optional
	AccessKeyRef *v1.Reference `json:"accessKeyRef,omitempty" tf:"-"`

	// Selector for a Key to populate accessKey.
	// +kubebuilder:validation:Optional
	AccessKeySelector *v1.Selector `json:"accessKeySelector,omitempty" tf:"-"`

	// The name of the bucket to put the object in.
	// The target bucket to put this object in.
	// +kubebuilder:validation:Required
	Bucket *string `json:"bucket" tf:"bucket,omitempty"`

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

	// The cluster the bucket is in.
	// The target cluster that the bucket is in.
	// +kubebuilder:validation:Required
	Cluster *string `json:"cluster" tf:"cluster,omitempty"`

	// Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
	// The contents of the Object to upload.
	// +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.
	// The base64 contents of the Object to upload.
	// +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.
	// The content disposition configuration of this object.
	// +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.
	// The encoding of the content of this object.
	// +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.
	// The language metadata of this object.
	// +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.
	// The MIME type of the content.
	// +kubebuilder:validation:Optional
	ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`

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

	// Allow the object to be deleted regardless of any legal hold or object lock (defaults to false).
	// Whether the object should bypass deletion restrictions.
	// +kubebuilder:validation:Optional
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

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

	// A map of keys/values to provision metadata.
	// The metadata of this object
	// +kubebuilder:validation:Optional
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The secret key to authenitcate with.
	// The S3 secret key with access to the target bucket.
	// +crossplane:generate:reference:type=Key
	// +crossplane:generate:reference:refFieldName=SecretKeyRef
	// +crossplane:generate:reference:selectorFieldName=SecretKeySelector
	// +kubebuilder:validation:Optional
	SecretKey *string `json:"secretKey,omitempty" tf:"secret_key,omitempty"`

	// Reference to a Key to populate secretKey.
	// +kubebuilder:validation:Optional
	SecretKeyRef *v1.Reference `json:"secretKeyRef,omitempty" tf:"-"`

	// Selector for a Key to populate secretKey.
	// +kubebuilder:validation:Optional
	SecretKeySelector *v1.Selector `json:"secretKeySelector,omitempty" tf:"-"`

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

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

func (*ObjectParameters) DeepCopy

func (in *ObjectParameters) DeepCopy() *ObjectParameters

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

func (*ObjectParameters) DeepCopyInto

func (in *ObjectParameters) DeepCopyInto(out *ObjectParameters)

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

type ObjectSpec

type ObjectSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ObjectParameters `json:"forProvider"`
}

ObjectSpec defines the desired state of Object

func (*ObjectSpec) DeepCopy

func (in *ObjectSpec) DeepCopy() *ObjectSpec

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

func (*ObjectSpec) DeepCopyInto

func (in *ObjectSpec) DeepCopyInto(out *ObjectSpec)

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

type ObjectStatus

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

ObjectStatus defines the observed state of Object.

func (*ObjectStatus) DeepCopy

func (in *ObjectStatus) DeepCopy() *ObjectStatus

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

func (*ObjectStatus) DeepCopyInto

func (in *ObjectStatus) DeepCopyInto(out *ObjectStatus)

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