v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=s3control.aws.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: s3control.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 BucketLifecycleConfiguration

type BucketLifecycleConfiguration struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BucketLifecycleConfigurationSpec   `json:"spec,omitempty"`
	Status            BucketLifecycleConfigurationStatus `json:"status,omitempty"`
}

func (*BucketLifecycleConfiguration) DeepCopy

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

func (*BucketLifecycleConfiguration) DeepCopyInto

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

func (*BucketLifecycleConfiguration) DeepCopyObject

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

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

func (*BucketLifecycleConfiguration) SetupWebhookWithManager

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

func (*BucketLifecycleConfiguration) ValidateCreate

func (r *BucketLifecycleConfiguration) ValidateCreate() error

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

func (*BucketLifecycleConfiguration) ValidateDelete

func (r *BucketLifecycleConfiguration) ValidateDelete() error

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

func (*BucketLifecycleConfiguration) ValidateUpdate

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

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

type BucketLifecycleConfigurationList

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

BucketLifecycleConfigurationList is a list of BucketLifecycleConfigurations

func (*BucketLifecycleConfigurationList) DeepCopy

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

func (*BucketLifecycleConfigurationList) DeepCopyInto

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

func (*BucketLifecycleConfigurationList) DeepCopyObject

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

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

type BucketLifecycleConfigurationSpec

type BucketLifecycleConfigurationSpec struct {
	KubeformOutput *BucketLifecycleConfigurationSpecResource `json:"kubeformOutput,omitempty" tf:"-"`

	Resource BucketLifecycleConfigurationSpecResource `json:"resource" tf:"resource"`

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

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

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

func (*BucketLifecycleConfigurationSpec) DeepCopy

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

func (*BucketLifecycleConfigurationSpec) DeepCopyInto

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

type BucketLifecycleConfigurationSpecResource

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

	Bucket *string `json:"bucket" tf:"bucket"`
	// +kubebuilder:validation:MinItems=1
	Rule []BucketLifecycleConfigurationSpecRule `json:"rule" tf:"rule"`
}

func (*BucketLifecycleConfigurationSpecResource) DeepCopy

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

func (*BucketLifecycleConfigurationSpecResource) DeepCopyInto

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

type BucketLifecycleConfigurationSpecRule

type BucketLifecycleConfigurationSpecRule struct {
	// +optional
	AbortIncompleteMultipartUpload *BucketLifecycleConfigurationSpecRuleAbortIncompleteMultipartUpload `json:"abortIncompleteMultipartUpload,omitempty" tf:"abort_incomplete_multipart_upload"`
	// +optional
	Expiration *BucketLifecycleConfigurationSpecRuleExpiration `json:"expiration,omitempty" tf:"expiration"`
	// +optional
	Filter *BucketLifecycleConfigurationSpecRuleFilter `json:"filter,omitempty" tf:"filter"`
	ID     *string                                     `json:"ID" tf:"id"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
}

func (*BucketLifecycleConfigurationSpecRule) DeepCopy

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

func (*BucketLifecycleConfigurationSpecRule) DeepCopyInto

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

type BucketLifecycleConfigurationSpecRuleAbortIncompleteMultipartUpload

type BucketLifecycleConfigurationSpecRuleAbortIncompleteMultipartUpload struct {
	DaysAfterInitiation *int64 `json:"daysAfterInitiation" tf:"days_after_initiation"`
}

func (*BucketLifecycleConfigurationSpecRuleAbortIncompleteMultipartUpload) DeepCopy

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

func (*BucketLifecycleConfigurationSpecRuleAbortIncompleteMultipartUpload) DeepCopyInto

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

type BucketLifecycleConfigurationSpecRuleAbortIncompleteMultipartUploadCodec

type BucketLifecycleConfigurationSpecRuleAbortIncompleteMultipartUploadCodec struct {
}

+k8s:deepcopy-gen=false

func (BucketLifecycleConfigurationSpecRuleAbortIncompleteMultipartUploadCodec) Decode

func (BucketLifecycleConfigurationSpecRuleAbortIncompleteMultipartUploadCodec) Encode

func (BucketLifecycleConfigurationSpecRuleAbortIncompleteMultipartUploadCodec) IsEmpty

type BucketLifecycleConfigurationSpecRuleExpiration

type BucketLifecycleConfigurationSpecRuleExpiration struct {
	// +optional
	Date *string `json:"date,omitempty" tf:"date"`
	// +optional
	Days *int64 `json:"days,omitempty" tf:"days"`
	// +optional
	ExpiredObjectDeleteMarker *bool `json:"expiredObjectDeleteMarker,omitempty" tf:"expired_object_delete_marker"`
}

func (*BucketLifecycleConfigurationSpecRuleExpiration) DeepCopy

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

func (*BucketLifecycleConfigurationSpecRuleExpiration) DeepCopyInto

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

type BucketLifecycleConfigurationSpecRuleExpirationCodec

type BucketLifecycleConfigurationSpecRuleExpirationCodec struct {
}

+k8s:deepcopy-gen=false

func (BucketLifecycleConfigurationSpecRuleExpirationCodec) Decode

func (BucketLifecycleConfigurationSpecRuleExpirationCodec) Encode

func (BucketLifecycleConfigurationSpecRuleExpirationCodec) IsEmpty

type BucketLifecycleConfigurationSpecRuleFilter

type BucketLifecycleConfigurationSpecRuleFilter struct {
	// +optional
	Prefix *string `json:"prefix,omitempty" tf:"prefix"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*BucketLifecycleConfigurationSpecRuleFilter) DeepCopy

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

func (*BucketLifecycleConfigurationSpecRuleFilter) DeepCopyInto

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

type BucketLifecycleConfigurationSpecRuleFilterCodec

type BucketLifecycleConfigurationSpecRuleFilterCodec struct {
}

+k8s:deepcopy-gen=false

func (BucketLifecycleConfigurationSpecRuleFilterCodec) Decode

func (BucketLifecycleConfigurationSpecRuleFilterCodec) Encode

func (BucketLifecycleConfigurationSpecRuleFilterCodec) IsEmpty

type BucketLifecycleConfigurationStatus

type BucketLifecycleConfigurationStatus 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 (*BucketLifecycleConfigurationStatus) DeepCopy

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

func (*BucketLifecycleConfigurationStatus) DeepCopyInto

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 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 BucketPolicy

type BucketPolicy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BucketPolicySpec   `json:"spec,omitempty"`
	Status            BucketPolicyStatus `json:"status,omitempty"`
}

func (*BucketPolicy) DeepCopy

func (in *BucketPolicy) DeepCopy() *BucketPolicy

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

func (*BucketPolicy) DeepCopyInto

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

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

func (*BucketPolicy) DeepCopyObject

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

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

func (*BucketPolicy) SetupWebhookWithManager

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

func (*BucketPolicy) ValidateCreate

func (r *BucketPolicy) ValidateCreate() error

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

func (*BucketPolicy) ValidateDelete

func (r *BucketPolicy) ValidateDelete() error

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

func (*BucketPolicy) ValidateUpdate

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

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

type BucketPolicyList

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

BucketPolicyList is a list of BucketPolicys

func (*BucketPolicyList) DeepCopy

func (in *BucketPolicyList) DeepCopy() *BucketPolicyList

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

func (*BucketPolicyList) DeepCopyInto

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

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

func (*BucketPolicyList) DeepCopyObject

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

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

type BucketPolicySpec

type BucketPolicySpec struct {
	KubeformOutput *BucketPolicySpecResource `json:"kubeformOutput,omitempty" tf:"-"`

	Resource BucketPolicySpecResource `json:"resource" tf:"resource"`

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

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

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

func (*BucketPolicySpec) DeepCopy

func (in *BucketPolicySpec) DeepCopy() *BucketPolicySpec

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

func (*BucketPolicySpec) DeepCopyInto

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

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

type BucketPolicySpecResource

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

	Bucket *string `json:"bucket" tf:"bucket"`
	Policy *string `json:"policy" tf:"policy"`
}

func (*BucketPolicySpecResource) DeepCopy

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

func (*BucketPolicySpecResource) DeepCopyInto

func (in *BucketPolicySpecResource) DeepCopyInto(out *BucketPolicySpecResource)

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

type BucketPolicyStatus

type BucketPolicyStatus 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 (*BucketPolicyStatus) DeepCopy

func (in *BucketPolicyStatus) DeepCopy() *BucketPolicyStatus

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

func (*BucketPolicyStatus) DeepCopyInto

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

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

type BucketSpec

type BucketSpec struct {
	KubeformOutput *BucketSpecResource `json:"kubeformOutput,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:"-"`
}

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

	// +optional
	Arn    *string `json:"arn,omitempty" tf:"arn"`
	Bucket *string `json:"bucket" tf:"bucket"`
	// +optional
	CreationDate *string `json:"creationDate,omitempty" tf:"creation_date"`
	OutpostID    *string `json:"outpostID" tf:"outpost_id"`
	// +optional
	PublicAccessBlockEnabled *bool `json:"publicAccessBlockEnabled,omitempty" tf:"public_access_block_enabled"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL