v1alpha1

package
v0.0.0-...-53bcd79 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=minio.f110.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemaBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemaBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "minio.f110.dev", Version: "v1alpha1"}

Functions

func Kind

func Kind(kind string) schema.GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Types

type BucketFinalizePolicy

type BucketFinalizePolicy string
const (
	BucketDelete BucketFinalizePolicy = "delete"
	BucketKeep   BucketFinalizePolicy = "keep"
)

type BucketPolicy

type BucketPolicy string
const (
	PolicyPublic   BucketPolicy = "public"
	PolicyReadOnly BucketPolicy = "readOnly"
	PolicyPrivate  BucketPolicy = "private"
)

type MinIOBucket

type MinIOBucket struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MinIOBucketSpec   `json:"spec,omitempty"`
	Status MinIOBucketStatus `json:"status,omitempty"`
}

func (*MinIOBucket) DeepCopy

func (in *MinIOBucket) DeepCopy() *MinIOBucket

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

func (*MinIOBucket) DeepCopyInto

func (in *MinIOBucket) DeepCopyInto(out *MinIOBucket)

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

func (*MinIOBucket) DeepCopyObject

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

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

type MinIOBucketList

type MinIOBucketList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []MinIOBucket `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*MinIOBucketList) DeepCopy

func (in *MinIOBucketList) DeepCopy() *MinIOBucketList

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

func (*MinIOBucketList) DeepCopyInto

func (in *MinIOBucketList) DeepCopyInto(out *MinIOBucketList)

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

func (*MinIOBucketList) DeepCopyObject

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

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

type MinIOBucketSpec

type MinIOBucketSpec struct {
	// Selector is a selector of MinioInstance
	Selector metav1.LabelSelector `json:"selector"`
	// BucketFinalizePolicy is a policy when deleted CR Object.
	// If BucketFinalizePolicy is an empty string, then it is the same as "keep"
	BucketFinalizePolicy BucketFinalizePolicy `json:"bucketFinalizePolicy,omitempty"`
	// Policy is the policy of bucket. One of public, readOnly, private.
	// If you don't want to give public access, set private or an empty value.
	// If it is an empty value, The bucket will not have any policy.
	// Currently, MinIOBucket can't use prefix based policy.
	Policy BucketPolicy `json:"policy,omitempty"`
	// CreateIndexFile is a flag that creates index.html on top of bucket.
	CreateIndexFile bool `json:"createIndexFile,omitempty"`
}

func (*MinIOBucketSpec) DeepCopy

func (in *MinIOBucketSpec) DeepCopy() *MinIOBucketSpec

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

func (*MinIOBucketSpec) DeepCopyInto

func (in *MinIOBucketSpec) DeepCopyInto(out *MinIOBucketSpec)

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

type MinIOBucketStatus

type MinIOBucketStatus struct {
	Ready bool `json:"ready,omitempty"`
}

func (*MinIOBucketStatus) DeepCopy

func (in *MinIOBucketStatus) DeepCopy() *MinIOBucketStatus

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

func (*MinIOBucketStatus) DeepCopyInto

func (in *MinIOBucketStatus) DeepCopyInto(out *MinIOBucketStatus)

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

type MinIOUser

type MinIOUser struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MinIOUserSpec   `json:"spec,omitempty"`
	Status MinIOUserStatus `json:"status,omitempty"`
}

func (*MinIOUser) DeepCopy

func (in *MinIOUser) DeepCopy() *MinIOUser

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

func (*MinIOUser) DeepCopyInto

func (in *MinIOUser) DeepCopyInto(out *MinIOUser)

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

func (*MinIOUser) DeepCopyObject

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

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

type MinIOUserList

type MinIOUserList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []MinIOUser `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*MinIOUserList) DeepCopy

func (in *MinIOUserList) DeepCopy() *MinIOUserList

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

func (*MinIOUserList) DeepCopyInto

func (in *MinIOUserList) DeepCopyInto(out *MinIOUserList)

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

func (*MinIOUserList) DeepCopyObject

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

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

type MinIOUserSpec

type MinIOUserSpec struct {
	// Selector is a selector of MinIOInstance
	Selector metav1.LabelSelector `json:"selector"`
	// Path is a path in Vault.
	Path string `json:"path"`
	// MountPath is a mount path of KV secrets engine
	MountPath string `json:"mountPath"`
}

func (*MinIOUserSpec) DeepCopy

func (in *MinIOUserSpec) DeepCopy() *MinIOUserSpec

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

func (*MinIOUserSpec) DeepCopyInto

func (in *MinIOUserSpec) DeepCopyInto(out *MinIOUserSpec)

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

type MinIOUserStatus

type MinIOUserStatus struct {
	Ready     bool   `json:"ready"`
	AccessKey string `json:"accessKey,omitempty"`
	Vault     bool   `json:"vault,omitempty"`
}

func (*MinIOUserStatus) DeepCopy

func (in *MinIOUserStatus) DeepCopy() *MinIOUserStatus

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

func (*MinIOUserStatus) DeepCopyInto

func (in *MinIOUserStatus) DeepCopyInto(out *MinIOUserStatus)

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