v1alpha2

package
v0.3.0-preview Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=storage.gcp.jet.crossplane.io +versionName=v1alpha2

Index

Constants

View Source
const (
	CRDGroup   = "storage.gcp.jet.crossplane.io"
	CRDVersion = "v1alpha2"
)

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 (
	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 (
	// 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 ActionObservation

type ActionObservation struct {
}

func (*ActionObservation) DeepCopy

func (in *ActionObservation) DeepCopy() *ActionObservation

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

func (*ActionObservation) DeepCopyInto

func (in *ActionObservation) DeepCopyInto(out *ActionObservation)

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

type ActionParameters

type ActionParameters struct {

	// The target Storage Class of objects affected by this Lifecycle Rule. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE.
	// +kubebuilder:validation:Optional
	StorageClass *string `json:"storageClass,omitempty" tf:"storage_class,omitempty"`

	// The type of the action of this Lifecycle Rule. Supported values include: Delete and SetStorageClass.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*ActionParameters) DeepCopy

func (in *ActionParameters) DeepCopy() *ActionParameters

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

func (*ActionParameters) DeepCopyInto

func (in *ActionParameters) DeepCopyInto(out *ActionParameters)

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

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="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,gcpjet}

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]interface{}, error)

GetObservation of this Bucket

func (*Bucket) GetParameters

func (tr *Bucket) GetParameters() (map[string]interface{}, 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 added in v0.3.0

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) 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]interface{}) error

SetObservation for this Bucket

func (*Bucket) SetParameters

func (tr *Bucket) SetParameters(params map[string]interface{}) 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 added in v0.3.0

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 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"`
	Spec              BucketObjectSpec   `json:"spec"`
	Status            BucketObjectStatus `json:"status,omitempty"`
}

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

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

func (tr *BucketObject) GetObservation() (map[string]interface{}, error)

GetObservation of this BucketObject

func (*BucketObject) GetParameters

func (tr *BucketObject) GetParameters() (map[string]interface{}, error)

GetParameters of this BucketObject

func (*BucketObject) GetProviderConfigReference

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

GetProviderConfigReference of this BucketObject.

func (*BucketObject) GetProviderReference

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

GetProviderReference of this BucketObject. Deprecated: Use GetProviderConfigReference.

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

func (tr *BucketObject) SetObservation(obs map[string]interface{}) error

SetObservation for this BucketObject

func (*BucketObject) SetParameters

func (tr *BucketObject) SetParameters(params map[string]interface{}) error

SetParameters for this BucketObject

func (*BucketObject) SetProviderConfigReference

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

SetProviderConfigReference of this BucketObject.

func (*BucketObject) SetProviderReference

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

SetProviderReference of this BucketObject. Deprecated: Use SetProviderConfigReference.

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 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 {
	Crc32C *string `json:"crc32c,omitempty" tf:"crc32c,omitempty"`

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

	Md5Hash *string `json:"md5hash,omitempty" tf:"md5hash,omitempty"`

	MediaLink *string `json:"mediaLink,omitempty" tf:"media_link,omitempty"`

	OutputName *string `json:"outputName,omitempty" tf:"output_name,omitempty"`

	SelfLink *string `json:"selfLink,omitempty" tf:"self_link,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 name of the containing bucket.
	// +kubebuilder:validation:Required
	Bucket *string `json:"bucket" tf:"bucket,omitempty"`

	// Cache-Control directive to specify caching behavior of object data. If omitted and object is accessible to all anonymous users, the default will be public, max-age=3600
	// +kubebuilder:validation:Optional
	CacheControl *string `json:"cacheControl,omitempty" tf:"cache_control,omitempty"`

	// Content-Disposition of the object data.
	// +kubebuilder:validation:Optional
	ContentDisposition *string `json:"contentDisposition,omitempty" tf:"content_disposition,omitempty"`

	// Content-Encoding of the object data.
	// +kubebuilder:validation:Optional
	ContentEncoding *string `json:"contentEncoding,omitempty" tf:"content_encoding,omitempty"`

	// Content-Language of the object data.
	// +kubebuilder:validation:Optional
	ContentLanguage *string `json:"contentLanguage,omitempty" tf:"content_language,omitempty"`

	// Data as string to be uploaded. Must be defined if source is not. Note: The content field is marked as sensitive. To view the raw contents of the object, please define an output.
	// +kubebuilder:validation:Optional
	ContentSecretRef *v1.SecretKeySelector `json:"contentSecretRef,omitempty" tf:"-"`

	// Content-Type of the object data. Defaults to "application/octet-stream" or "text/plain; charset=utf-8".
	// +kubebuilder:validation:Optional
	ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`

	// Encryption key; encoded using base64.
	// +kubebuilder:validation:Optional
	CustomerEncryption []CustomerEncryptionParameters `json:"customerEncryption,omitempty" tf:"customer_encryption,omitempty"`

	// +kubebuilder:validation:Optional
	DetectMd5Hash *string `json:"detectMd5Hash,omitempty" tf:"detect_md5hash,omitempty"`

	// Whether an object is under event-based hold. Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any).
	// +kubebuilder:validation:Optional
	EventBasedHold *bool `json:"eventBasedHold,omitempty" tf:"event_based_hold,omitempty"`

	// Resource name of the Cloud KMS key that will be used to encrypt the object. Overrides the object metadata's kmsKeyName value, if any.
	// +kubebuilder:validation:Optional
	KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"`

	// User-provided metadata, in key/value pairs.
	// +kubebuilder:validation:Optional
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The name of the object. If you're interpolating the name of this object, see output_name instead.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// A path to the data you want to upload. Must be defined if content is not.
	// +kubebuilder:validation:Optional
	Source *string `json:"source,omitempty" tf:"source,omitempty"`

	// The StorageClass of the new bucket object. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE. If not provided, this defaults to the bucket's default storage class or to a standard class.
	// +kubebuilder:validation:Optional
	StorageClass *string `json:"storageClass,omitempty" tf:"storage_class,omitempty"`

	// Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites.
	// +kubebuilder:validation:Optional
	TemporaryHold *bool `json:"temporaryHold,omitempty" tf:"temporary_hold,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"`
}

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 {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	SelfLink *string `json:"selfLink,omitempty" tf:"self_link,omitempty"`

	URL *string `json:"url,omitempty" tf:"url,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 bucket's Cross-Origin Resource Sharing (CORS) configuration.
	// +kubebuilder:validation:Optional
	Cors []CorsParameters `json:"cors,omitempty" tf:"cors,omitempty"`

	// Whether or not to automatically apply an eventBasedHold to new objects added to the bucket.
	// +kubebuilder:validation:Optional
	DefaultEventBasedHold *bool `json:"defaultEventBasedHold,omitempty" tf:"default_event_based_hold,omitempty"`

	// The bucket's encryption configuration.
	// +kubebuilder:validation:Optional
	Encryption []EncryptionParameters `json:"encryption,omitempty" tf:"encryption,omitempty"`

	// When deleting a bucket, this boolean option will delete all contained objects. If you try to delete a bucket that contains objects, Terraform will fail that run.
	// +kubebuilder:validation:Optional
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

	// A set of key/value label pairs to assign to the bucket.
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The bucket's Lifecycle Rules configuration.
	// +kubebuilder:validation:Optional
	LifecycleRule []LifecycleRuleParameters `json:"lifecycleRule,omitempty" tf:"lifecycle_rule,omitempty"`

	// The Google Cloud Storage location
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

	// The bucket's Access & Storage Logs configuration.
	// +kubebuilder:validation:Optional
	Logging []LoggingParameters `json:"logging,omitempty" tf:"logging,omitempty"`

	// The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Enables Requester Pays on a storage bucket.
	// +kubebuilder:validation:Optional
	RequesterPays *bool `json:"requesterPays,omitempty" tf:"requester_pays,omitempty"`

	// Configuration of the bucket's data retention policy for how long objects in the bucket should be retained.
	// +kubebuilder:validation:Optional
	RetentionPolicy []RetentionPolicyParameters `json:"retentionPolicy,omitempty" tf:"retention_policy,omitempty"`

	// The Storage Class of the new bucket. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE.
	// +kubebuilder:validation:Optional
	StorageClass *string `json:"storageClass,omitempty" tf:"storage_class,omitempty"`

	// Enables uniform bucket-level access on a bucket.
	// +kubebuilder:validation:Optional
	UniformBucketLevelAccess *bool `json:"uniformBucketLevelAccess,omitempty" tf:"uniform_bucket_level_access,omitempty"`

	// The bucket's Versioning configuration.
	// +kubebuilder:validation:Optional
	Versioning []VersioningParameters `json:"versioning,omitempty" tf:"versioning,omitempty"`

	// Configuration if the bucket acts as a website.
	// +kubebuilder:validation:Optional
	Website []WebsiteParameters `json:"website,omitempty" tf:"website,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 ConditionObservation

type ConditionObservation struct {
}

func (*ConditionObservation) DeepCopy

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

func (*ConditionObservation) DeepCopyInto

func (in *ConditionObservation) DeepCopyInto(out *ConditionObservation)

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

type ConditionParameters

type ConditionParameters struct {

	// Minimum age of an object in days to satisfy this condition.
	// +kubebuilder:validation:Optional
	Age *float64 `json:"age,omitempty" tf:"age,omitempty"`

	// Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
	// +kubebuilder:validation:Optional
	CreatedBefore *string `json:"createdBefore,omitempty" tf:"created_before,omitempty"`

	// Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
	// +kubebuilder:validation:Optional
	CustomTimeBefore *string `json:"customTimeBefore,omitempty" tf:"custom_time_before,omitempty"`

	// Number of days elapsed since the user-specified timestamp set on an object.
	// +kubebuilder:validation:Optional
	DaysSinceCustomTime *float64 `json:"daysSinceCustomTime,omitempty" tf:"days_since_custom_time,omitempty"`

	// Number of days elapsed since the noncurrent timestamp of an object. This
	// condition is relevant only for versioned objects.
	// +kubebuilder:validation:Optional
	DaysSinceNoncurrentTime *float64 `json:"daysSinceNoncurrentTime,omitempty" tf:"days_since_noncurrent_time,omitempty"`

	// Storage Class of objects to satisfy this condition. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, DURABLE_REDUCED_AVAILABILITY.
	// +kubebuilder:validation:Optional
	MatchesStorageClass []*string `json:"matchesStorageClass,omitempty" tf:"matches_storage_class,omitempty"`

	// Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
	// +kubebuilder:validation:Optional
	NoncurrentTimeBefore *string `json:"noncurrentTimeBefore,omitempty" tf:"noncurrent_time_before,omitempty"`

	// Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition.
	// +kubebuilder:validation:Optional
	NumNewerVersions *float64 `json:"numNewerVersions,omitempty" tf:"num_newer_versions,omitempty"`

	// Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: "LIVE", "ARCHIVED", "ANY".
	// +kubebuilder:validation:Optional
	WithState *string `json:"withState,omitempty" tf:"with_state,omitempty"`
}

func (*ConditionParameters) DeepCopy

func (in *ConditionParameters) DeepCopy() *ConditionParameters

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

func (*ConditionParameters) DeepCopyInto

func (in *ConditionParameters) DeepCopyInto(out *ConditionParameters)

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

type CorsObservation

type CorsObservation struct {
}

func (*CorsObservation) DeepCopy

func (in *CorsObservation) DeepCopy() *CorsObservation

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

func (*CorsObservation) DeepCopyInto

func (in *CorsObservation) DeepCopyInto(out *CorsObservation)

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

type CorsParameters

type CorsParameters struct {

	// The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
	// +kubebuilder:validation:Optional
	MaxAgeSeconds *float64 `json:"maxAgeSeconds,omitempty" tf:"max_age_seconds,omitempty"`

	// The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
	// +kubebuilder:validation:Optional
	Method []*string `json:"method,omitempty" tf:"method,omitempty"`

	// The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
	// +kubebuilder:validation:Optional
	Origin []*string `json:"origin,omitempty" tf:"origin,omitempty"`

	// The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
	// +kubebuilder:validation:Optional
	ResponseHeader []*string `json:"responseHeader,omitempty" tf:"response_header,omitempty"`
}

func (*CorsParameters) DeepCopy

func (in *CorsParameters) DeepCopy() *CorsParameters

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

func (*CorsParameters) DeepCopyInto

func (in *CorsParameters) DeepCopyInto(out *CorsParameters)

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

type CustomerEncryptionObservation

type CustomerEncryptionObservation struct {
}

func (*CustomerEncryptionObservation) DeepCopy

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

func (*CustomerEncryptionObservation) DeepCopyInto

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

type CustomerEncryptionParameters

type CustomerEncryptionParameters struct {

	// The encryption algorithm. Default: AES256
	// +kubebuilder:validation:Optional
	EncryptionAlgorithm *string `json:"encryptionAlgorithm,omitempty" tf:"encryption_algorithm,omitempty"`

	// Base64 encoded customer supplied encryption key.
	// +kubebuilder:validation:Required
	EncryptionKeySecretRef v1.SecretKeySelector `json:"encryptionKeySecretRef" tf:"-"`
}

func (*CustomerEncryptionParameters) DeepCopy

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

func (*CustomerEncryptionParameters) DeepCopyInto

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

type EncryptionObservation

type EncryptionObservation struct {
}

func (*EncryptionObservation) DeepCopy

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

func (*EncryptionObservation) DeepCopyInto

func (in *EncryptionObservation) DeepCopyInto(out *EncryptionObservation)

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

type EncryptionParameters

type EncryptionParameters struct {

	// A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified. You must pay attention to whether the crypto key is available in the location that this bucket is created in. See the docs for more details.
	// +kubebuilder:validation:Required
	DefaultKMSKeyName *string `json:"defaultKmsKeyName" tf:"default_kms_key_name,omitempty"`
}

func (*EncryptionParameters) DeepCopy

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

func (*EncryptionParameters) DeepCopyInto

func (in *EncryptionParameters) DeepCopyInto(out *EncryptionParameters)

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 {

	// The Lifecycle Rule's action configuration. A single block of this type is supported.
	// +kubebuilder:validation:Required
	Action []ActionParameters `json:"action" tf:"action,omitempty"`

	// The Lifecycle Rule's condition configuration.
	// +kubebuilder:validation:Required
	Condition []ConditionParameters `json:"condition" tf:"condition,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 LoggingObservation

type LoggingObservation struct {
}

func (*LoggingObservation) DeepCopy

func (in *LoggingObservation) DeepCopy() *LoggingObservation

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

func (*LoggingObservation) DeepCopyInto

func (in *LoggingObservation) DeepCopyInto(out *LoggingObservation)

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

type LoggingParameters

type LoggingParameters struct {

	// The bucket that will receive log objects.
	// +kubebuilder:validation:Required
	LogBucket *string `json:"logBucket" tf:"log_bucket,omitempty"`

	// The object prefix for log objects. If it's not provided, by default Google Cloud Storage sets this to this bucket's name.
	// +kubebuilder:validation:Optional
	LogObjectPrefix *string `json:"logObjectPrefix,omitempty" tf:"log_object_prefix,omitempty"`
}

func (*LoggingParameters) DeepCopy

func (in *LoggingParameters) DeepCopy() *LoggingParameters

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

func (*LoggingParameters) DeepCopyInto

func (in *LoggingParameters) DeepCopyInto(out *LoggingParameters)

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

type RetentionPolicyObservation

type RetentionPolicyObservation struct {
}

func (*RetentionPolicyObservation) DeepCopy

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

func (*RetentionPolicyObservation) DeepCopyInto

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

type RetentionPolicyParameters

type RetentionPolicyParameters struct {

	// If set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy.  Caution: Locking a bucket is an irreversible action.
	// +kubebuilder:validation:Optional
	IsLocked *bool `json:"isLocked,omitempty" tf:"is_locked,omitempty"`

	// The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 3,155,760,000 seconds.
	// +kubebuilder:validation:Required
	RetentionPeriod *float64 `json:"retentionPeriod" tf:"retention_period,omitempty"`
}

func (*RetentionPolicyParameters) DeepCopy

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

func (*RetentionPolicyParameters) DeepCopyInto

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

type VersioningObservation

type VersioningObservation struct {
}

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 {

	// While set to true, versioning is fully enabled for this bucket.
	// +kubebuilder:validation:Required
	Enabled *bool `json:"enabled" 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.

type WebsiteObservation

type WebsiteObservation struct {
}

func (*WebsiteObservation) DeepCopy

func (in *WebsiteObservation) DeepCopy() *WebsiteObservation

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

func (*WebsiteObservation) DeepCopyInto

func (in *WebsiteObservation) DeepCopyInto(out *WebsiteObservation)

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

type WebsiteParameters

type WebsiteParameters struct {

	// Behaves as the bucket's directory index where missing objects are treated as potential directories.
	// +kubebuilder:validation:Optional
	MainPageSuffix *string `json:"mainPageSuffix,omitempty" tf:"main_page_suffix,omitempty"`

	// The custom object to return when a requested resource is not found.
	// +kubebuilder:validation:Optional
	NotFoundPage *string `json:"notFoundPage,omitempty" tf:"not_found_page,omitempty"`
}

func (*WebsiteParameters) DeepCopy

func (in *WebsiteParameters) DeepCopy() *WebsiteParameters

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

func (*WebsiteParameters) DeepCopyInto

func (in *WebsiteParameters) DeepCopyInto(out *WebsiteParameters)

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