Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=objectstorage.linode.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Bucket
- func (in *Bucket) DeepCopy() *Bucket
- func (in *Bucket) DeepCopyInto(out *Bucket)
- func (in *Bucket) DeepCopyObject() runtime.Object
- func (mg *Bucket) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Bucket) GetConnectionDetailsMapping() map[string]string
- func (mg *Bucket) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Bucket) GetID() string
- func (tr *Bucket) GetObservation() (map[string]any, error)
- func (tr *Bucket) GetParameters() (map[string]any, error)
- func (mg *Bucket) GetProviderConfigReference() *xpv1.Reference
- func (mg *Bucket) GetProviderReference() *xpv1.Reference
- func (mg *Bucket) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Bucket) GetTerraformResourceType() string
- func (tr *Bucket) GetTerraformSchemaVersion() int
- func (mg *Bucket) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Bucket) LateInitialize(attrs []byte) (bool, error)
- func (mg *Bucket) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Bucket) SetConditions(c ...xpv1.Condition)
- func (mg *Bucket) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Bucket) SetObservation(obs map[string]any) error
- func (tr *Bucket) SetParameters(params map[string]any) error
- func (mg *Bucket) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Bucket) SetProviderReference(r *xpv1.Reference)
- func (mg *Bucket) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Bucket) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type BucketAccessObservation
- type BucketAccessParameters
- type BucketList
- type BucketObservation
- type BucketParameters
- type BucketSpec
- type BucketStatus
- type CertObservation
- type CertParameters
- type ExpirationObservation
- type ExpirationParameters
- type Key
- func (in *Key) DeepCopy() *Key
- func (in *Key) DeepCopyInto(out *Key)
- func (in *Key) DeepCopyObject() runtime.Object
- func (mg *Key) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Key) GetConnectionDetailsMapping() map[string]string
- func (mg *Key) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Key) GetID() string
- func (tr *Key) GetObservation() (map[string]any, error)
- func (tr *Key) GetParameters() (map[string]any, error)
- func (mg *Key) GetProviderConfigReference() *xpv1.Reference
- func (mg *Key) GetProviderReference() *xpv1.Reference
- func (mg *Key) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Key) GetTerraformResourceType() string
- func (tr *Key) GetTerraformSchemaVersion() int
- func (mg *Key) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Key) LateInitialize(attrs []byte) (bool, error)
- func (mg *Key) SetConditions(c ...xpv1.Condition)
- func (mg *Key) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Key) SetObservation(obs map[string]any) error
- func (tr *Key) SetParameters(params map[string]any) error
- func (mg *Key) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Key) SetProviderReference(r *xpv1.Reference)
- func (mg *Key) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Key) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type KeyList
- type KeyObservation
- type KeyParameters
- type KeySpec
- type KeyStatus
- type LifecycleRuleObservation
- type LifecycleRuleParameters
- type NoncurrentVersionExpirationObservation
- type NoncurrentVersionExpirationParameters
- type Object
- func (in *Object) DeepCopy() *Object
- func (in *Object) DeepCopyInto(out *Object)
- func (in *Object) DeepCopyObject() runtime.Object
- func (mg *Object) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Object) GetConnectionDetailsMapping() map[string]string
- func (mg *Object) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Object) GetID() string
- func (tr *Object) GetObservation() (map[string]any, error)
- func (tr *Object) GetParameters() (map[string]any, error)
- func (mg *Object) GetProviderConfigReference() *xpv1.Reference
- func (mg *Object) GetProviderReference() *xpv1.Reference
- func (mg *Object) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Object) GetTerraformResourceType() string
- func (tr *Object) GetTerraformSchemaVersion() int
- func (mg *Object) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Object) LateInitialize(attrs []byte) (bool, error)
- func (mg *Object) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Object) SetConditions(c ...xpv1.Condition)
- func (mg *Object) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Object) SetObservation(obs map[string]any) error
- func (tr *Object) SetParameters(params map[string]any) error
- func (mg *Object) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Object) SetProviderReference(r *xpv1.Reference)
- func (mg *Object) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Object) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ObjectList
- type ObjectObservation
- type ObjectParameters
- type ObjectSpec
- type ObjectStatus
Constants ¶
const ( CRDGroup = "objectstorage.linode.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( 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.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bucket.
func (*Bucket) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Bucket) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Bucket
func (*Bucket) GetDeletionPolicy ¶
func (mg *Bucket) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Bucket.
func (*Bucket) GetObservation ¶
GetObservation of this Bucket
func (*Bucket) GetParameters ¶
GetParameters of this Bucket
func (*Bucket) GetProviderConfigReference ¶
GetProviderConfigReference of this Bucket.
func (*Bucket) GetProviderReference ¶
GetProviderReference of this Bucket. Deprecated: Use GetProviderConfigReference.
func (*Bucket) GetPublishConnectionDetailsTo ¶
func (mg *Bucket) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Bucket.
func (*Bucket) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Bucket
func (*Bucket) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Bucket) GetWriteConnectionSecretToReference ¶
func (mg *Bucket) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Bucket.
func (*Bucket) LateInitialize ¶
LateInitialize this Bucket using its observed tfState. returns True if there are any spec changes for the resource.
func (*Bucket) ResolveReferences ¶
ResolveReferences of this Bucket.
func (*Bucket) SetConditions ¶
SetConditions of this Bucket.
func (*Bucket) SetDeletionPolicy ¶
func (mg *Bucket) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Bucket.
func (*Bucket) SetObservation ¶
SetObservation for this Bucket
func (*Bucket) SetParameters ¶
SetParameters for this Bucket
func (*Bucket) SetProviderConfigReference ¶
SetProviderConfigReference of this Bucket.
func (*Bucket) SetProviderReference ¶
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 ¶
func (in *BucketAccessObservation) DeepCopy() *BucketAccessObservation
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 ¶
func (in *BucketAccessParameters) DeepCopy() *BucketAccessParameters
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 ¶
func (in *ExpirationObservation) DeepCopy() *ExpirationObservation
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 ¶
func (in *ExpirationParameters) DeepCopy() *ExpirationParameters
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Key.
func (*Key) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Key) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Key
func (*Key) GetDeletionPolicy ¶
func (mg *Key) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Key.
func (*Key) GetObservation ¶
GetObservation of this Key
func (*Key) GetParameters ¶
GetParameters of this Key
func (*Key) GetProviderConfigReference ¶
GetProviderConfigReference of this Key.
func (*Key) GetProviderReference ¶
GetProviderReference of this Key. Deprecated: Use GetProviderConfigReference.
func (*Key) GetPublishConnectionDetailsTo ¶
func (mg *Key) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Key.
func (*Key) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Key
func (*Key) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Key) GetWriteConnectionSecretToReference ¶
func (mg *Key) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Key.
func (*Key) LateInitialize ¶
LateInitialize this Key using its observed tfState. returns True if there are any spec changes for the resource.
func (*Key) SetConditions ¶
SetConditions of this Key.
func (*Key) SetDeletionPolicy ¶
func (mg *Key) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Key.
func (*Key) SetObservation ¶
SetObservation for this Key
func (*Key) SetParameters ¶
SetParameters for this Key
func (*Key) SetProviderConfigReference ¶
SetProviderConfigReference of this Key.
func (*Key) SetProviderReference ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyList.
func (*KeyList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeyList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeySpec.
func (*KeySpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyStatus.
func (*KeyStatus) DeepCopyInto ¶
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 ¶
func (in *LifecycleRuleObservation) DeepCopy() *LifecycleRuleObservation
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 ¶
func (in *LifecycleRuleParameters) DeepCopy() *LifecycleRuleParameters
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 ¶
func (in *NoncurrentVersionExpirationObservation) DeepCopy() *NoncurrentVersionExpirationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoncurrentVersionExpirationObservation.
func (*NoncurrentVersionExpirationObservation) DeepCopyInto ¶
func (in *NoncurrentVersionExpirationObservation) DeepCopyInto(out *NoncurrentVersionExpirationObservation)
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 ¶
func (in *NoncurrentVersionExpirationParameters) DeepCopy() *NoncurrentVersionExpirationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoncurrentVersionExpirationParameters.
func (*NoncurrentVersionExpirationParameters) DeepCopyInto ¶
func (in *NoncurrentVersionExpirationParameters) DeepCopyInto(out *NoncurrentVersionExpirationParameters)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Object.
func (*Object) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Object) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Object
func (*Object) GetDeletionPolicy ¶
func (mg *Object) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Object.
func (*Object) GetObservation ¶
GetObservation of this Object
func (*Object) GetParameters ¶
GetParameters of this Object
func (*Object) GetProviderConfigReference ¶
GetProviderConfigReference of this Object.
func (*Object) GetProviderReference ¶
GetProviderReference of this Object. Deprecated: Use GetProviderConfigReference.
func (*Object) GetPublishConnectionDetailsTo ¶
func (mg *Object) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Object.
func (*Object) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Object
func (*Object) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Object) GetWriteConnectionSecretToReference ¶
func (mg *Object) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Object.
func (*Object) LateInitialize ¶
LateInitialize this Object using its observed tfState. returns True if there are any spec changes for the resource.
func (*Object) ResolveReferences ¶
ResolveReferences of this Object.
func (*Object) SetConditions ¶
SetConditions of this Object.
func (*Object) SetDeletionPolicy ¶
func (mg *Object) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Object.
func (*Object) SetObservation ¶
SetObservation for this Object
func (*Object) SetParameters ¶
SetParameters for this Object
func (*Object) SetProviderConfigReference ¶
SetProviderConfigReference of this Object.
func (*Object) SetProviderReference ¶
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.