storage_cnrm_cloud_google_com_v1beta1

package
v0.0.0-...-4ad0119 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 4 Imported by: 3

Documentation

Overview

+kubebuilder:object:generate=true +groupName=storage.cnrm.cloud.google.com +versionName=v1beta1

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "storage.cnrm.cloud.google.com", Version: "v1beta1"}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Action

type Action struct {
	Type string `json:"type,omitempty"`
}

func (*Action) DeepCopy

func (in *Action) DeepCopy() *Action

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

func (*Action) DeepCopyInto

func (in *Action) DeepCopyInto(out *Action)

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

type BucketRef

type BucketRef struct {
	Name string `json:"name"`
}

func (*BucketRef) DeepCopy

func (in *BucketRef) DeepCopy() *BucketRef

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

func (*BucketRef) DeepCopyInto

func (in *BucketRef) DeepCopyInto(out *BucketRef)

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

type Condition

type Condition struct {
	Age              int    `json:"age,omitempty"`
	CreatedBefore    string `json:"createdBefore,omitempty"`
	NumNewerVersions int    `json:"numNewerVersions,omitempty"`
	WithState        string `json:"withState,omitempty"`
}

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

type LifecycleRules

type LifecycleRules struct {
	Action    Action    `json:"action"`
	Condition Condition `json:"condition"`
}

func (*LifecycleRules) DeepCopy

func (in *LifecycleRules) DeepCopy() *LifecycleRules

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

func (*LifecycleRules) DeepCopyInto

func (in *LifecycleRules) DeepCopyInto(out *LifecycleRules)

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

type PublicAccessPrevention

type PublicAccessPrevention string
const (
	PublicAccessPreventionEnforced  PublicAccessPrevention = "enforced"
	PublicAccessPreventionInherited PublicAccessPrevention = "inherited"
)

type RetentionPolicy

type RetentionPolicy struct {
	RetentionPeriod int `json:"retentionPeriod,omitempty"`
}

func (*RetentionPolicy) DeepCopy

func (in *RetentionPolicy) DeepCopy() *RetentionPolicy

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

func (*RetentionPolicy) DeepCopyInto

func (in *RetentionPolicy) DeepCopyInto(out *RetentionPolicy)

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

type StorageBucket

type StorageBucket struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StorageBucketSpec `json:"spec"`
}

+kubebuilder:object:root=true

func (*StorageBucket) DeepCopy

func (in *StorageBucket) DeepCopy() *StorageBucket

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

func (*StorageBucket) DeepCopyInto

func (in *StorageBucket) DeepCopyInto(out *StorageBucket)

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

func (*StorageBucket) DeepCopyObject

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

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

type StorageBucketAccessControl

type StorageBucketAccessControl struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StorageBucketAccessControlSpec `json:"spec"`
}

+kubebuilder:object:root=true

func (*StorageBucketAccessControl) DeepCopy

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

func (*StorageBucketAccessControl) DeepCopyInto

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

func (*StorageBucketAccessControl) DeepCopyObject

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

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

type StorageBucketAccessControlList

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

+kubebuilder:object:root=true

func (*StorageBucketAccessControlList) DeepCopy

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

func (*StorageBucketAccessControlList) DeepCopyInto

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

func (*StorageBucketAccessControlList) DeepCopyObject

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

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

type StorageBucketAccessControlSpec

type StorageBucketAccessControlSpec struct {
	BucketRef BucketRef `json:"bucketRef"`
	Entity    string    `json:"entity"`
	Role      string    `json:"role"`
}

func (*StorageBucketAccessControlSpec) DeepCopy

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

func (*StorageBucketAccessControlSpec) DeepCopyInto

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

type StorageBucketList

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

+kubebuilder:object:root=true

func (*StorageBucketList) DeepCopy

func (in *StorageBucketList) DeepCopy() *StorageBucketList

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

func (*StorageBucketList) DeepCopyInto

func (in *StorageBucketList) DeepCopyInto(out *StorageBucketList)

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

func (*StorageBucketList) DeepCopyObject

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

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

type StorageBucketSpec

type StorageBucketSpec struct {
	ResourceID               string           `json:"resourceID,omitempty"`
	Location                 string           `json:"location"`
	UniformBucketLevelAccess bool             `json:"uniformBucketLevelAccess,omitempty"`
	RetentionPolicy          *RetentionPolicy `json:"retentionPolicy,omitempty"`
	LifecycleRules           []LifecycleRules `json:"lifecycleRule,omitempty"`
	// +kubebuilder:validation:Enum=inherited;enforced
	PublicAccessPrevention PublicAccessPrevention `json:"publicAccessPrevention,omitempty"`
}

func (*StorageBucketSpec) DeepCopy

func (in *StorageBucketSpec) DeepCopy() *StorageBucketSpec

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

func (*StorageBucketSpec) DeepCopyInto

func (in *StorageBucketSpec) DeepCopyInto(out *StorageBucketSpec)

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