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 ¶
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"` }
S3Bucket is the Schema for the s3buckets API
func (*S3Bucket) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Bucket.
func (*S3Bucket) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*S3Bucket) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type S3BucketList ¶
type S3BucketList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []S3Bucket `json:"items"` }
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:Required Reference string `json:"reference,omitempty"` // +kubebuilder:validation:Optional Credential *S3Credential `json:"credential,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"` }
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"` }
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 the ACCESS_KEY and SECRET_KEY fields. // +kubebuilder:validation:Required Credential *S3Credential `json:"credential"` // +kubebuilder:validation:Required Endpoint string `json:"endpoint,omitempty"` // +kubebuilder:validation:Optional Region string `json:"region,omitempty"` // +kubebuilder:validation:Optional SSL bool `json:"ssl,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 S3Credential ¶
type S3Credential struct { // +kubebuilder:validation:Optional Scope *S3CredentialScope `json:"scope,omitempty"` // +kubebuilder:validation:Required SecretClass string `json:"secretClass"` }
S3Credential include `ACCESS_KEY` and `SECRET_KEY` or ExistingSecret.
func (*S3Credential) DeepCopy ¶
func (in *S3Credential) DeepCopy() *S3Credential
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Credential.
func (*S3Credential) DeepCopyInto ¶
func (in *S3Credential) DeepCopyInto(out *S3Credential)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3CredentialScope ¶
type S3CredentialScope struct { // +kubebuilder:validation:Optional Node bool `json:"node,omitempty"` // +kubebuilder:validation:Optional Pod bool `json:"pod,omitempty"` // +kubebuilder:validation:Optional Services []string `json:"services,omitempty"` }
func (*S3CredentialScope) DeepCopy ¶
func (in *S3CredentialScope) DeepCopy() *S3CredentialScope
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3CredentialScope.
func (*S3CredentialScope) DeepCopyInto ¶
func (in *S3CredentialScope) DeepCopyInto(out *S3CredentialScope)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tls.
func (*Tls) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.