v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=objectstorage.oci.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: objectstorage.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Bucket

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

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

func (r *Bucket) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Bucket) ValidateCreate

func (r *Bucket) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Bucket) ValidateDelete

func (r *Bucket) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Bucket) ValidateUpdate

func (r *Bucket) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type BucketList

type BucketList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Bucket CRD objects
	Items []Bucket `json:"items,omitempty"`
}

BucketList is 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.

type BucketSpec

type BucketSpec struct {
	State *BucketSpecResource `json:"state,omitempty" tf:"-"`

	Resource BucketSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

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 BucketSpecResource

type BucketSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	// +optional
	AccessType *string `json:"accessType,omitempty" tf:"access_type"`
	// +optional
	ApproximateCount *string `json:"approximateCount,omitempty" tf:"approximate_count"`
	// +optional
	ApproximateSize *string `json:"approximateSize,omitempty" tf:"approximate_size"`
	// +optional
	AutoTiering *string `json:"autoTiering,omitempty" tf:"auto_tiering"`
	// +optional
	BucketID      *string `json:"bucketID,omitempty" tf:"bucket_id"`
	CompartmentID *string `json:"compartmentID" tf:"compartment_id"`
	// +optional
	CreatedBy *string `json:"createdBy,omitempty" tf:"created_by"`
	// +optional
	DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"`
	// +optional
	Etag *string `json:"etag,omitempty" tf:"etag"`
	// +optional
	FreeformTags map[string]string `json:"freeformTags,omitempty" tf:"freeform_tags"`
	// +optional
	IsReadOnly *bool `json:"isReadOnly,omitempty" tf:"is_read_only"`
	// +optional
	KmsKeyID *string `json:"kmsKeyID,omitempty" tf:"kms_key_id"`
	// +optional
	Metadata  map[string]string `json:"metadata,omitempty" tf:"metadata"`
	Name      *string           `json:"name" tf:"name"`
	Namespace *string           `json:"namespace" tf:"namespace"`
	// +optional
	ObjectEventsEnabled *bool `json:"objectEventsEnabled,omitempty" tf:"object_events_enabled"`
	// +optional
	ObjectLifecyclePolicyEtag *string `json:"objectLifecyclePolicyEtag,omitempty" tf:"object_lifecycle_policy_etag"`
	// +optional
	ReplicationEnabled *bool `json:"replicationEnabled,omitempty" tf:"replication_enabled"`
	// +optional
	// +kubebuilder:validation:MinItems=1
	RetentionRules []BucketSpecRetentionRules `json:"retentionRules,omitempty" tf:"retention_rules"`
	// +optional
	StorageTier *string `json:"storageTier,omitempty" tf:"storage_tier"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	// +optional
	Versioning *string `json:"versioning,omitempty" tf:"versioning"`
}

func (*BucketSpecResource) DeepCopy

func (in *BucketSpecResource) DeepCopy() *BucketSpecResource

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

func (*BucketSpecResource) DeepCopyInto

func (in *BucketSpecResource) DeepCopyInto(out *BucketSpecResource)

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

type BucketSpecRetentionRules

type BucketSpecRetentionRules struct {
	DisplayName *string `json:"displayName" tf:"display_name"`
	// +optional
	Duration *BucketSpecRetentionRulesDuration `json:"duration,omitempty" tf:"duration"`
	// +optional
	RetentionRuleID *string `json:"retentionRuleID,omitempty" tf:"retention_rule_id"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	// +optional
	TimeModified *string `json:"timeModified,omitempty" tf:"time_modified"`
	// +optional
	TimeRuleLocked *string `json:"timeRuleLocked,omitempty" tf:"time_rule_locked"`
}

func (*BucketSpecRetentionRules) DeepCopy

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

func (*BucketSpecRetentionRules) DeepCopyInto

func (in *BucketSpecRetentionRules) DeepCopyInto(out *BucketSpecRetentionRules)

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

type BucketSpecRetentionRulesDuration

type BucketSpecRetentionRulesDuration struct {
	TimeAmount *string `json:"timeAmount" tf:"time_amount"`
	TimeUnit   *string `json:"timeUnit" tf:"time_unit"`
}

func (*BucketSpecRetentionRulesDuration) DeepCopy

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

func (*BucketSpecRetentionRulesDuration) DeepCopyInto

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

type BucketSpecRetentionRulesDurationCodec

type BucketSpecRetentionRulesDurationCodec struct {
}

+k8s:deepcopy-gen=false

func (BucketSpecRetentionRulesDurationCodec) Decode

func (BucketSpecRetentionRulesDurationCodec) Encode

func (BucketSpecRetentionRulesDurationCodec) IsEmpty

type BucketStatus

type BucketStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

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 NamespaceMetadata

type NamespaceMetadata struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NamespaceMetadataSpec   `json:"spec,omitempty"`
	Status            NamespaceMetadataStatus `json:"status,omitempty"`
}

func (*NamespaceMetadata) DeepCopy

func (in *NamespaceMetadata) DeepCopy() *NamespaceMetadata

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

func (*NamespaceMetadata) DeepCopyInto

func (in *NamespaceMetadata) DeepCopyInto(out *NamespaceMetadata)

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

func (*NamespaceMetadata) DeepCopyObject

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

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

func (*NamespaceMetadata) SetupWebhookWithManager

func (r *NamespaceMetadata) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*NamespaceMetadata) ValidateCreate

func (r *NamespaceMetadata) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*NamespaceMetadata) ValidateDelete

func (r *NamespaceMetadata) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*NamespaceMetadata) ValidateUpdate

func (r *NamespaceMetadata) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type NamespaceMetadataList

type NamespaceMetadataList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of NamespaceMetadata CRD objects
	Items []NamespaceMetadata `json:"items,omitempty"`
}

NamespaceMetadataList is a list of NamespaceMetadatas

func (*NamespaceMetadataList) DeepCopy

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

func (*NamespaceMetadataList) DeepCopyInto

func (in *NamespaceMetadataList) DeepCopyInto(out *NamespaceMetadataList)

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

func (*NamespaceMetadataList) DeepCopyObject

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

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

type NamespaceMetadataSpec

type NamespaceMetadataSpec struct {
	State *NamespaceMetadataSpecResource `json:"state,omitempty" tf:"-"`

	Resource NamespaceMetadataSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*NamespaceMetadataSpec) DeepCopy

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

func (*NamespaceMetadataSpec) DeepCopyInto

func (in *NamespaceMetadataSpec) DeepCopyInto(out *NamespaceMetadataSpec)

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

type NamespaceMetadataSpecResource

type NamespaceMetadataSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	// +optional
	DefaultS3compartmentID *string `json:"defaultS3compartmentID,omitempty" tf:"default_s3compartment_id"`
	// +optional
	DefaultSwiftCompartmentID *string `json:"defaultSwiftCompartmentID,omitempty" tf:"default_swift_compartment_id"`
	Namespace                 *string `json:"namespace" tf:"namespace"`
}

func (*NamespaceMetadataSpecResource) DeepCopy

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

func (*NamespaceMetadataSpecResource) DeepCopyInto

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

type NamespaceMetadataStatus

type NamespaceMetadataStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*NamespaceMetadataStatus) DeepCopy

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

func (*NamespaceMetadataStatus) DeepCopyInto

func (in *NamespaceMetadataStatus) DeepCopyInto(out *NamespaceMetadataStatus)

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,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ObjectSpec   `json:"spec,omitempty"`
	Status            ObjectStatus `json:"status,omitempty"`
}

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

func (r *Object) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Object) ValidateCreate

func (r *Object) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Object) ValidateDelete

func (r *Object) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Object) ValidateUpdate

func (r *Object) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ObjectLifecyclePolicy

type ObjectLifecyclePolicy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ObjectLifecyclePolicySpec   `json:"spec,omitempty"`
	Status            ObjectLifecyclePolicyStatus `json:"status,omitempty"`
}

func (*ObjectLifecyclePolicy) DeepCopy

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

func (*ObjectLifecyclePolicy) DeepCopyInto

func (in *ObjectLifecyclePolicy) DeepCopyInto(out *ObjectLifecyclePolicy)

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

func (*ObjectLifecyclePolicy) DeepCopyObject

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

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

func (*ObjectLifecyclePolicy) SetupWebhookWithManager

func (r *ObjectLifecyclePolicy) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ObjectLifecyclePolicy) ValidateCreate

func (r *ObjectLifecyclePolicy) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ObjectLifecyclePolicy) ValidateDelete

func (r *ObjectLifecyclePolicy) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ObjectLifecyclePolicy) ValidateUpdate

func (r *ObjectLifecyclePolicy) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ObjectLifecyclePolicyList

type ObjectLifecyclePolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ObjectLifecyclePolicy CRD objects
	Items []ObjectLifecyclePolicy `json:"items,omitempty"`
}

ObjectLifecyclePolicyList is a list of ObjectLifecyclePolicys

func (*ObjectLifecyclePolicyList) DeepCopy

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

func (*ObjectLifecyclePolicyList) DeepCopyInto

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

func (*ObjectLifecyclePolicyList) DeepCopyObject

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

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

type ObjectLifecyclePolicySpec

type ObjectLifecyclePolicySpec struct {
	State *ObjectLifecyclePolicySpecResource `json:"state,omitempty" tf:"-"`

	Resource ObjectLifecyclePolicySpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ObjectLifecyclePolicySpec) DeepCopy

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

func (*ObjectLifecyclePolicySpec) DeepCopyInto

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

type ObjectLifecyclePolicySpecResource

type ObjectLifecyclePolicySpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	Bucket    *string `json:"bucket" tf:"bucket"`
	Namespace *string `json:"namespace" tf:"namespace"`
	// +optional
	Rules []ObjectLifecyclePolicySpecRules `json:"rules,omitempty" tf:"rules"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
}

func (*ObjectLifecyclePolicySpecResource) DeepCopy

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

func (*ObjectLifecyclePolicySpecResource) DeepCopyInto

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

type ObjectLifecyclePolicySpecRules

type ObjectLifecyclePolicySpecRules struct {
	Action    *string `json:"action" tf:"action"`
	IsEnabled *bool   `json:"isEnabled" tf:"is_enabled"`
	Name      *string `json:"name" tf:"name"`
	// +optional
	ObjectNameFilter *ObjectLifecyclePolicySpecRulesObjectNameFilter `json:"objectNameFilter,omitempty" tf:"object_name_filter"`
	// +optional
	Target     *string `json:"target,omitempty" tf:"target"`
	TimeAmount *string `json:"timeAmount" tf:"time_amount"`
	TimeUnit   *string `json:"timeUnit" tf:"time_unit"`
}

func (*ObjectLifecyclePolicySpecRules) DeepCopy

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

func (*ObjectLifecyclePolicySpecRules) DeepCopyInto

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

type ObjectLifecyclePolicySpecRulesObjectNameFilter

type ObjectLifecyclePolicySpecRulesObjectNameFilter struct {
	// +optional
	ExclusionPatterns []string `json:"exclusionPatterns,omitempty" tf:"exclusion_patterns"`
	// +optional
	InclusionPatterns []string `json:"inclusionPatterns,omitempty" tf:"inclusion_patterns"`
	// +optional
	InclusionPrefixes []string `json:"inclusionPrefixes,omitempty" tf:"inclusion_prefixes"`
}

func (*ObjectLifecyclePolicySpecRulesObjectNameFilter) DeepCopy

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

func (*ObjectLifecyclePolicySpecRulesObjectNameFilter) DeepCopyInto

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

type ObjectLifecyclePolicySpecRulesObjectNameFilterCodec

type ObjectLifecyclePolicySpecRulesObjectNameFilterCodec struct {
}

+k8s:deepcopy-gen=false

func (ObjectLifecyclePolicySpecRulesObjectNameFilterCodec) Decode

func (ObjectLifecyclePolicySpecRulesObjectNameFilterCodec) Encode

func (ObjectLifecyclePolicySpecRulesObjectNameFilterCodec) IsEmpty

type ObjectLifecyclePolicyStatus

type ObjectLifecyclePolicyStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ObjectLifecyclePolicyStatus) DeepCopy

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

func (*ObjectLifecyclePolicyStatus) DeepCopyInto

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

type ObjectList

type ObjectList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Object CRD objects
	Items []Object `json:"items,omitempty"`
}

ObjectList is 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.

type ObjectSpec

type ObjectSpec struct {
	State *ObjectSpecResource `json:"state,omitempty" tf:"-"`

	Resource ObjectSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

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 ObjectSpecResource

type ObjectSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	Bucket *string `json:"bucket" tf:"bucket"`
	// +optional
	CacheControl *string `json:"cacheControl,omitempty" tf:"cache_control"`
	// +optional
	Content *string `json:"content,omitempty" tf:"content"`
	// +optional
	ContentDisposition *string `json:"contentDisposition,omitempty" tf:"content_disposition"`
	// +optional
	ContentEncoding *string `json:"contentEncoding,omitempty" tf:"content_encoding"`
	// +optional
	ContentLanguage *string `json:"contentLanguage,omitempty" tf:"content_language"`
	// +optional
	ContentLength *string `json:"contentLength,omitempty" tf:"content_length"`
	// +optional
	ContentMd5 *string `json:"contentMd5,omitempty" tf:"content_md5"`
	// +optional
	ContentType *string `json:"contentType,omitempty" tf:"content_type"`
	// +optional
	DeleteAllObjectVersions *bool `json:"deleteAllObjectVersions,omitempty" tf:"delete_all_object_versions"`
	// +optional
	Metadata  map[string]string `json:"metadata,omitempty" tf:"metadata"`
	Namespace *string           `json:"namespace" tf:"namespace"`
	Object    *string           `json:"object" tf:"object"`
	// +optional
	OpcSseKmsKeyID *string `json:"opcSseKmsKeyID,omitempty" tf:"opc_sse_kms_key_id"`
	// +optional
	Source *string `json:"source,omitempty" tf:"source"`
	// +optional
	SourceURIDetails *ObjectSpecSourceURIDetails `json:"sourceURIDetails,omitempty" tf:"source_uri_details"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// +optional
	StorageTier *string `json:"storageTier,omitempty" tf:"storage_tier"`
	// +optional
	VersionID *string `json:"versionID,omitempty" tf:"version_id"`
	// +optional
	WorkRequestID *string `json:"workRequestID,omitempty" tf:"work_request_id"`
}

func (*ObjectSpecResource) DeepCopy

func (in *ObjectSpecResource) DeepCopy() *ObjectSpecResource

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

func (*ObjectSpecResource) DeepCopyInto

func (in *ObjectSpecResource) DeepCopyInto(out *ObjectSpecResource)

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

type ObjectSpecSourceURIDetails

type ObjectSpecSourceURIDetails struct {
	Bucket *string `json:"bucket" tf:"bucket"`
	// +optional
	DestinationObjectIfMatchEtag *string `json:"destinationObjectIfMatchEtag,omitempty" tf:"destination_object_if_match_etag"`
	// +optional
	DestinationObjectIfNoneMatchEtag *string `json:"destinationObjectIfNoneMatchEtag,omitempty" tf:"destination_object_if_none_match_etag"`
	Namespace                        *string `json:"namespace" tf:"namespace"`
	Object                           *string `json:"object" tf:"object"`
	Region                           *string `json:"region" tf:"region"`
	// +optional
	SourceObjectIfMatchEtag *string `json:"sourceObjectIfMatchEtag,omitempty" tf:"source_object_if_match_etag"`
	// +optional
	SourceVersionID *string `json:"sourceVersionID,omitempty" tf:"source_version_id"`
}

func (*ObjectSpecSourceURIDetails) DeepCopy

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

func (*ObjectSpecSourceURIDetails) DeepCopyInto

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

type ObjectSpecSourceURIDetailsCodec

type ObjectSpecSourceURIDetailsCodec struct {
}

+k8s:deepcopy-gen=false

func (ObjectSpecSourceURIDetailsCodec) Decode

func (ObjectSpecSourceURIDetailsCodec) Encode

func (ObjectSpecSourceURIDetailsCodec) IsEmpty

type ObjectStatus

type ObjectStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

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.

type Preauthrequest

type Preauthrequest struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PreauthrequestSpec   `json:"spec,omitempty"`
	Status            PreauthrequestStatus `json:"status,omitempty"`
}

func (*Preauthrequest) DeepCopy

func (in *Preauthrequest) DeepCopy() *Preauthrequest

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

func (*Preauthrequest) DeepCopyInto

func (in *Preauthrequest) DeepCopyInto(out *Preauthrequest)

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

func (*Preauthrequest) DeepCopyObject

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

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

func (*Preauthrequest) SetupWebhookWithManager

func (r *Preauthrequest) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Preauthrequest) ValidateCreate

func (r *Preauthrequest) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Preauthrequest) ValidateDelete

func (r *Preauthrequest) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Preauthrequest) ValidateUpdate

func (r *Preauthrequest) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type PreauthrequestList

type PreauthrequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Preauthrequest CRD objects
	Items []Preauthrequest `json:"items,omitempty"`
}

PreauthrequestList is a list of Preauthrequests

func (*PreauthrequestList) DeepCopy

func (in *PreauthrequestList) DeepCopy() *PreauthrequestList

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

func (*PreauthrequestList) DeepCopyInto

func (in *PreauthrequestList) DeepCopyInto(out *PreauthrequestList)

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

func (*PreauthrequestList) DeepCopyObject

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

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

type PreauthrequestSpec

type PreauthrequestSpec struct {
	State *PreauthrequestSpecResource `json:"state,omitempty" tf:"-"`

	Resource PreauthrequestSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*PreauthrequestSpec) DeepCopy

func (in *PreauthrequestSpec) DeepCopy() *PreauthrequestSpec

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

func (*PreauthrequestSpec) DeepCopyInto

func (in *PreauthrequestSpec) DeepCopyInto(out *PreauthrequestSpec)

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

type PreauthrequestSpecResource

type PreauthrequestSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	AccessType *string `json:"accessType" tf:"access_type"`
	// +optional
	AccessURI *string `json:"accessURI,omitempty" tf:"access_uri"`
	Bucket    *string `json:"bucket" tf:"bucket"`
	// +optional
	BucketListingAction *string `json:"bucketListingAction,omitempty" tf:"bucket_listing_action"`
	Name                *string `json:"name" tf:"name"`
	Namespace           *string `json:"namespace" tf:"namespace"`
	// +optional
	// Deprecated
	Object *string `json:"object,omitempty" tf:"object"`
	// +optional
	ObjectName *string `json:"objectName,omitempty" tf:"object_name"`
	// +optional
	ParID *string `json:"parID,omitempty" tf:"par_id"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	TimeExpires *string `json:"timeExpires" tf:"time_expires"`
}

func (*PreauthrequestSpecResource) DeepCopy

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

func (*PreauthrequestSpecResource) DeepCopyInto

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

type PreauthrequestStatus

type PreauthrequestStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*PreauthrequestStatus) DeepCopy

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

func (*PreauthrequestStatus) DeepCopyInto

func (in *PreauthrequestStatus) DeepCopyInto(out *PreauthrequestStatus)

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

type ReplicationPolicy

type ReplicationPolicy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ReplicationPolicySpec   `json:"spec,omitempty"`
	Status            ReplicationPolicyStatus `json:"status,omitempty"`
}

func (*ReplicationPolicy) DeepCopy

func (in *ReplicationPolicy) DeepCopy() *ReplicationPolicy

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

func (*ReplicationPolicy) DeepCopyInto

func (in *ReplicationPolicy) DeepCopyInto(out *ReplicationPolicy)

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

func (*ReplicationPolicy) DeepCopyObject

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

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

func (*ReplicationPolicy) SetupWebhookWithManager

func (r *ReplicationPolicy) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ReplicationPolicy) ValidateCreate

func (r *ReplicationPolicy) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ReplicationPolicy) ValidateDelete

func (r *ReplicationPolicy) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ReplicationPolicy) ValidateUpdate

func (r *ReplicationPolicy) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ReplicationPolicyList

type ReplicationPolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ReplicationPolicy CRD objects
	Items []ReplicationPolicy `json:"items,omitempty"`
}

ReplicationPolicyList is a list of ReplicationPolicys

func (*ReplicationPolicyList) DeepCopy

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

func (*ReplicationPolicyList) DeepCopyInto

func (in *ReplicationPolicyList) DeepCopyInto(out *ReplicationPolicyList)

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

func (*ReplicationPolicyList) DeepCopyObject

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

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

type ReplicationPolicySpec

type ReplicationPolicySpec struct {
	State *ReplicationPolicySpecResource `json:"state,omitempty" tf:"-"`

	Resource ReplicationPolicySpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ReplicationPolicySpec) DeepCopy

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

func (*ReplicationPolicySpec) DeepCopyInto

func (in *ReplicationPolicySpec) DeepCopyInto(out *ReplicationPolicySpec)

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

type ReplicationPolicySpecResource

type ReplicationPolicySpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	Bucket *string `json:"bucket" tf:"bucket"`
	// +optional
	// Deprecated
	DeleteObjectInDestinationBucket *string `json:"deleteObjectInDestinationBucket,omitempty" tf:"delete_object_in_destination_bucket"`
	DestinationBucketName           *string `json:"destinationBucketName" tf:"destination_bucket_name"`
	DestinationRegionName           *string `json:"destinationRegionName" tf:"destination_region_name"`
	Name                            *string `json:"name" tf:"name"`
	Namespace                       *string `json:"namespace" tf:"namespace"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	StatusMessage *string `json:"statusMessage,omitempty" tf:"status_message"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	// +optional
	TimeLastSync *string `json:"timeLastSync,omitempty" tf:"time_last_sync"`
}

func (*ReplicationPolicySpecResource) DeepCopy

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

func (*ReplicationPolicySpecResource) DeepCopyInto

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

type ReplicationPolicyStatus

type ReplicationPolicyStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ReplicationPolicyStatus) DeepCopy

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

func (*ReplicationPolicyStatus) DeepCopyInto

func (in *ReplicationPolicyStatus) DeepCopyInto(out *ReplicationPolicyStatus)

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