v1alpha1

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 8

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the s3 v1alpha1 API group +kubebuilder:object:generate=true +groupName=s3.zncdata.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "s3.zncdata.dev", Version: "v1alpha1"}

	// 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 S3Bucket

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

	Spec   S3BucketSpec   `json:"spec,omitempty"`
	Status S3BucketStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status S3Bucket is the Schema for the s3buckets API

func (*S3Bucket) DeepCopy

func (in *S3Bucket) DeepCopy() *S3Bucket

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

func (*S3Bucket) DeepCopyInto

func (in *S3Bucket) DeepCopyInto(out *S3Bucket)

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

func (*S3Bucket) DeepCopyObject

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

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

type S3BucketConnectionSpec added in v0.9.1

type S3BucketConnectionSpec struct {
	// +kubebuilder:validation:Optional
	Reference string `json:"reference,omitempty"`

	// +kubebuilder:validation:Optional
	Inline *S3ConnectionSpec `json:"inline,omitempty"`
}

func (*S3BucketConnectionSpec) DeepCopy added in v0.9.1

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

func (*S3BucketConnectionSpec) DeepCopyInto added in v0.9.1

func (in *S3BucketConnectionSpec) DeepCopyInto(out *S3BucketConnectionSpec)

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

type S3BucketList

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

+kubebuilder:object:root=true S3BucketList contains a list of S3Bucket

func (*S3BucketList) DeepCopy

func (in *S3BucketList) DeepCopy() *S3BucketList

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

func (*S3BucketList) DeepCopyInto

func (in *S3BucketList) DeepCopyInto(out *S3BucketList)

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

func (*S3BucketList) DeepCopyObject

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

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

type S3BucketSpec

type S3BucketSpec struct {

	// +kubebuilder:validation:Required
	BucketName string `json:"bucketName,omitempty"`

	// +kubebuilder:validation:Optional
	Connection *S3BucketConnectionSpec `json:"connection,omitempty"`
}

S3BucketSpec defines the desired fields of S3Bucket

func (*S3BucketSpec) DeepCopy

func (in *S3BucketSpec) DeepCopy() *S3BucketSpec

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

func (*S3BucketSpec) DeepCopyInto

func (in *S3BucketSpec) DeepCopyInto(out *S3BucketSpec)

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

type S3BucketStatus

type S3BucketStatus struct {
	// +kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"condition,omitempty"`
}

func (*S3BucketStatus) DeepCopy

func (in *S3BucketStatus) DeepCopy() *S3BucketStatus

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

func (*S3BucketStatus) DeepCopyInto

func (in *S3BucketStatus) DeepCopyInto(out *S3BucketStatus)

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

type S3Connection

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

	Spec   S3ConnectionSpec   `json:"spec,omitempty"`
	Status S3ConnectionStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status S3Connection is the Schema for the s3connections API

func (*S3Connection) DeepCopy

func (in *S3Connection) DeepCopy() *S3Connection

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

func (*S3Connection) DeepCopyInto

func (in *S3Connection) DeepCopyInto(out *S3Connection)

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

func (*S3Connection) DeepCopyObject

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

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

type S3ConnectionList

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

+kubebuilder:object:root=true S3ConnectionList contains a list of S3Connection

func (*S3ConnectionList) DeepCopy

func (in *S3ConnectionList) DeepCopy() *S3ConnectionList

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

func (*S3ConnectionList) DeepCopyInto

func (in *S3ConnectionList) DeepCopyInto(out *S3ConnectionList)

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

func (*S3ConnectionList) DeepCopyObject

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

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

type S3ConnectionSpec

type S3ConnectionSpec struct {

	// Provides access credentials for S3Connection through SecretClass. SecretClass only needs to include:
	//  - ACCESS_KEY
	//  - SECRET_KEY
	// +kubebuilder:validation:Required
	Credentials *commonsv1alpha1.Credentials `json:"credentials"`

	// +kubebuilder:validation:Required
	Host string `json:"host,omitempty"`

	// +kubebuilder:validation:Optional
	Port int `json:"port,omitempty"`

	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	PathStyle bool `json:"pathStyle,omitempty"`

	// +kubebuilder:validation:Optional
	Tls *Tls `json:"tls,omitempty"`
}

S3ConnectionSpec defines the desired credential of S3Connection

func (*S3ConnectionSpec) DeepCopy

func (in *S3ConnectionSpec) DeepCopy() *S3ConnectionSpec

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

func (*S3ConnectionSpec) DeepCopyInto

func (in *S3ConnectionSpec) DeepCopyInto(out *S3ConnectionSpec)

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

type S3ConnectionStatus

type S3ConnectionStatus struct {
	// +kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"condition,omitempty"`
}

func (*S3ConnectionStatus) DeepCopy

func (in *S3ConnectionStatus) DeepCopy() *S3ConnectionStatus

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

func (*S3ConnectionStatus) DeepCopyInto

func (in *S3ConnectionStatus) DeepCopyInto(out *S3ConnectionStatus)

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

type Tls

type Tls struct {
	// +kubebuilder:validation:Optional
	Verification *commonsv1alpha1.TLSVerificationSpec `json:"verification,omitempty"`
}

func (*Tls) DeepCopy

func (in *Tls) DeepCopy() *Tls

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

func (*Tls) DeepCopyInto

func (in *Tls) DeepCopyInto(out *Tls)

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