Documentation
¶
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type AnonymousAccessMode
- type AzureProtocol
- type Bucket
- type BucketAccess
- type BucketAccessClass
- type BucketAccessClassList
- type BucketAccessList
- type BucketAccessRequest
- type BucketAccessRequestList
- type BucketAccessRequestSpec
- type BucketAccessRequestStatus
- type BucketAccessSpec
- type BucketAccessStatus
- type BucketClass
- type BucketClassList
- type BucketList
- type BucketRequest
- type BucketRequestBinding
- type BucketRequestList
- type BucketRequestSpec
- type BucketRequestStatus
- type BucketSpec
- type BucketStatus
- type GCSProtocol
- type ObjectReference
- type Protocol
- type ProtocolName
- type RequestedProtocol
- type RetentionPolicy
- type S3Protocol
- type S3SignatureVersion
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "objectstorage.k8s.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AnonymousAccessMode ¶
type AnonymousAccessMode struct {
// +optional
Private bool `json:"private,omitempty"`
// +optional
PublicReadOnly bool `json:"publicReadOnly,omitempty"`
// +optional
PublicReadWrite bool `json:"publicReadWrite,omitempty"`
// +optional
PublicWriteOnly bool `json:"publicWriteOnly,omitempty"`
}
func (*AnonymousAccessMode) DeepCopy ¶
func (in *AnonymousAccessMode) DeepCopy() *AnonymousAccessMode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnonymousAccessMode.
func (*AnonymousAccessMode) DeepCopyInto ¶
func (in *AnonymousAccessMode) DeepCopyInto(out *AnonymousAccessMode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureProtocol ¶
type AzureProtocol struct {
ContainerName string `json:"containerName,omitempty"`
StorageAccount string `json:"storageAccount,omitempty"`
}
func (*AzureProtocol) DeepCopy ¶
func (in *AzureProtocol) DeepCopy() *AzureProtocol
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureProtocol.
func (*AzureProtocol) DeepCopyInto ¶
func (in *AzureProtocol) DeepCopyInto(out *AzureProtocol)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Bucket ¶
type Bucket struct {
metav1.TypeMeta `json:",inline"`
// +optional
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec BucketSpec `json:"spec,omitempty"`
// +optional
Status BucketStatus `json:"status,omitempty"`
}
func (*Bucket) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bucket.
func (*Bucket) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Bucket) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BucketAccess ¶
type BucketAccess struct {
metav1.TypeMeta `json:",inline"`
// +optional
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec BucketAccessSpec `json:"spec,omitempty"`
// +optional
Status BucketAccessStatus `json:"status"`
}
func (*BucketAccess) DeepCopy ¶
func (in *BucketAccess) DeepCopy() *BucketAccess
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketAccess.
func (*BucketAccess) DeepCopyInto ¶
func (in *BucketAccess) DeepCopyInto(out *BucketAccess)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BucketAccess) DeepCopyObject ¶
func (in *BucketAccess) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BucketAccessClass ¶
type BucketAccessClass struct {
metav1.TypeMeta `json:",inline"`
// +optional
metav1.ObjectMeta `json:"metadata,omitempty"`
// +optional
Provisioner string `json:"provisioner,omitempty"`
PolicyActionsConfigMap *ObjectReference `json:"policyActionsConfigMap,omitempty"`
// +optional
Parameters map[string]string `json:"parameters,omitempty"`
}
func (*BucketAccessClass) DeepCopy ¶
func (in *BucketAccessClass) DeepCopy() *BucketAccessClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketAccessClass.
func (*BucketAccessClass) DeepCopyInto ¶
func (in *BucketAccessClass) DeepCopyInto(out *BucketAccessClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BucketAccessClass) DeepCopyObject ¶
func (in *BucketAccessClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BucketAccessClassList ¶
type BucketAccessClassList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []BucketAccessClass `json:"items"`
}
func (*BucketAccessClassList) DeepCopy ¶
func (in *BucketAccessClassList) DeepCopy() *BucketAccessClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketAccessClassList.
func (*BucketAccessClassList) DeepCopyInto ¶
func (in *BucketAccessClassList) DeepCopyInto(out *BucketAccessClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BucketAccessClassList) DeepCopyObject ¶
func (in *BucketAccessClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BucketAccessList ¶
type BucketAccessList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []BucketAccess `json:"items"`
}
func (*BucketAccessList) DeepCopy ¶
func (in *BucketAccessList) DeepCopy() *BucketAccessList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketAccessList.
func (*BucketAccessList) DeepCopyInto ¶
func (in *BucketAccessList) DeepCopyInto(out *BucketAccessList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BucketAccessList) DeepCopyObject ¶
func (in *BucketAccessList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BucketAccessRequest ¶
type BucketAccessRequest struct {
metav1.TypeMeta `json:",inline"`
// +optional
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec BucketAccessRequestSpec `json:"spec,omitempty"`
// +optional
Status BucketAccessRequestStatus `json:"status"`
}
func (*BucketAccessRequest) DeepCopy ¶
func (in *BucketAccessRequest) DeepCopy() *BucketAccessRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketAccessRequest.
func (*BucketAccessRequest) DeepCopyInto ¶
func (in *BucketAccessRequest) DeepCopyInto(out *BucketAccessRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BucketAccessRequest) DeepCopyObject ¶
func (in *BucketAccessRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BucketAccessRequestList ¶
type BucketAccessRequestList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []BucketAccessRequest `json:"items"`
}
func (*BucketAccessRequestList) DeepCopy ¶
func (in *BucketAccessRequestList) DeepCopy() *BucketAccessRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketAccessRequestList.
func (*BucketAccessRequestList) DeepCopyInto ¶
func (in *BucketAccessRequestList) DeepCopyInto(out *BucketAccessRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BucketAccessRequestList) DeepCopyObject ¶
func (in *BucketAccessRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BucketAccessRequestSpec ¶
type BucketAccessRequestSpec struct {
// +optional
ServiceAccountName string `json:"serviceAccountName,omitempty"`
BucketRequestName string `json:"bucketRequestName"`
BucketAccessClassName string `json:"bucketAccessClassName"`
// +optional
BucketAccessName string `json:"bucketAccessName,omitempty"`
}
func (*BucketAccessRequestSpec) DeepCopy ¶
func (in *BucketAccessRequestSpec) DeepCopy() *BucketAccessRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketAccessRequestSpec.
func (*BucketAccessRequestSpec) DeepCopyInto ¶
func (in *BucketAccessRequestSpec) DeepCopyInto(out *BucketAccessRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BucketAccessRequestStatus ¶
type BucketAccessRequestStatus struct {
// +optional
Message string `json:"message,omitempty"`
// +optional
AccessGranted bool `json:"accessGranted"`
}
func (*BucketAccessRequestStatus) DeepCopy ¶
func (in *BucketAccessRequestStatus) DeepCopy() *BucketAccessRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketAccessRequestStatus.
func (*BucketAccessRequestStatus) DeepCopyInto ¶
func (in *BucketAccessRequestStatus) DeepCopyInto(out *BucketAccessRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BucketAccessSpec ¶
type BucketAccessSpec struct {
// +optional
BucketInstanceName string `json:"bucketInstanceName,omitempty"`
// +optional
BucketAccessRequest string `json:"bucketAccessRequest,omitempty"`
// +optional
ServiceAccount string `json:"serviceAccount,omitempty"`
// +optional
MintedSecretName string `json:"mintedSecretName,omitempty"`
PolicyActionsConfigMapData string `json:"policyActionsConfigMapData,omitempty"`
// +optional
Principal string `json:"principal,omitempty"`
// +optional
Provisioner string `json:"provisioner,omitempty"`
// +optional
Parameters map[string]string `json:"parameters,omitempty"`
}
func (*BucketAccessSpec) DeepCopy ¶
func (in *BucketAccessSpec) DeepCopy() *BucketAccessSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketAccessSpec.
func (*BucketAccessSpec) DeepCopyInto ¶
func (in *BucketAccessSpec) DeepCopyInto(out *BucketAccessSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BucketAccessStatus ¶
type BucketAccessStatus struct {
// +optional
Message string `json:"message,omitempty"`
// +optional
AccessGranted bool `json:"accessGranted,omitempty"`
}
func (*BucketAccessStatus) DeepCopy ¶
func (in *BucketAccessStatus) DeepCopy() *BucketAccessStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketAccessStatus.
func (*BucketAccessStatus) DeepCopyInto ¶
func (in *BucketAccessStatus) DeepCopyInto(out *BucketAccessStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BucketClass ¶
type BucketClass struct {
metav1.TypeMeta `json:",inline"`
// +optional
metav1.ObjectMeta `json:"metadata,omitempty"`
// +optional
// +kubebuilder:default:=false
IsDefaultBucketClass bool `json:"isDefaultBucketClass,omitempty"`
// +listType=atomic
// +optional
AllowedNamespaces []string `json:"allowedNamespaces,omitempty"`
Protocol string `json:"protocol"`
// +optional
AnonymousAccessMode AnonymousAccessMode `json:"anonymousAccessMode,omitempty"`
// +kubebuilder:default:=retain
RetentionPolicy RetentionPolicy `json:"retentionPolicy,omitempty"`
// +optional
Parameters map[string]string `json:"parameters,omitempty"`
// +optional
Provisioner string `json:"provisioner,omitempty"`
}
func (*BucketClass) DeepCopy ¶
func (in *BucketClass) DeepCopy() *BucketClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketClass.
func (*BucketClass) DeepCopyInto ¶
func (in *BucketClass) DeepCopyInto(out *BucketClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BucketClass) DeepCopyObject ¶
func (in *BucketClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BucketClassList ¶
type BucketClassList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []BucketClass `json:"items"`
}
func (*BucketClassList) DeepCopy ¶
func (in *BucketClassList) DeepCopy() *BucketClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketClassList.
func (*BucketClassList) DeepCopyInto ¶
func (in *BucketClassList) DeepCopyInto(out *BucketClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BucketClassList) DeepCopyObject ¶
func (in *BucketClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BucketList ¶
type BucketList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Bucket `json:"items"`
}
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 BucketRequest ¶
type BucketRequest struct {
metav1.TypeMeta `json:",inline"`
// +optional
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec BucketRequestSpec `json:"spec,omitempty"`
// +optional
Status BucketRequestStatus `json:"status,omitempty"`
}
func (*BucketRequest) DeepCopy ¶
func (in *BucketRequest) DeepCopy() *BucketRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketRequest.
func (*BucketRequest) DeepCopyInto ¶
func (in *BucketRequest) DeepCopyInto(out *BucketRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BucketRequest) DeepCopyObject ¶
func (in *BucketRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BucketRequestBinding ¶
type BucketRequestBinding struct {
Name string `json:"name"`
Namespace string `json:"namespace,omitempty"`
}
func (*BucketRequestBinding) DeepCopy ¶
func (in *BucketRequestBinding) DeepCopy() *BucketRequestBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketRequestBinding.
func (*BucketRequestBinding) DeepCopyInto ¶
func (in *BucketRequestBinding) DeepCopyInto(out *BucketRequestBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BucketRequestList ¶
type BucketRequestList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []BucketRequest `json:"items"`
}
func (*BucketRequestList) DeepCopy ¶
func (in *BucketRequestList) DeepCopy() *BucketRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketRequestList.
func (*BucketRequestList) DeepCopyInto ¶
func (in *BucketRequestList) DeepCopyInto(out *BucketRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BucketRequestList) DeepCopyObject ¶
func (in *BucketRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BucketRequestSpec ¶
type BucketRequestSpec struct {
// +optional
BucketInstanceName string `json:"bucketInstanceName,omitempty"`
// +optional
BucketPrefix string `json:"bucketPrefix,omitempty"`
// +optional
BucketClassName string `json:"bucketClassName,omitempty"`
Protocol RequestedProtocol `json:"protocol"`
}
func (*BucketRequestSpec) DeepCopy ¶
func (in *BucketRequestSpec) DeepCopy() *BucketRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketRequestSpec.
func (*BucketRequestSpec) DeepCopyInto ¶
func (in *BucketRequestSpec) DeepCopyInto(out *BucketRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BucketRequestStatus ¶
type BucketRequestStatus struct {
// +optional
Message string `json:"message,omitempty"`
// +optional
BucketAvailable bool `json:"bucketAvailable"`
}
func (*BucketRequestStatus) DeepCopy ¶
func (in *BucketRequestStatus) DeepCopy() *BucketRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketRequestStatus.
func (*BucketRequestStatus) DeepCopyInto ¶
func (in *BucketRequestStatus) DeepCopyInto(out *BucketRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BucketSpec ¶
type BucketSpec struct {
// +optional
Provisioner string `json:"provisioner,omitempty"`
// +kubebuilder:default:=retain
RetentionPolicy RetentionPolicy `json:"retentionPolicy"`
// +optional
AnonymousAccessMode AnonymousAccessMode `json:"anonymousAccessMode,omitempty"`
// +optional
BucketClassName string `json:"bucketClassName,omitempty"`
BucketRequest *ObjectReference `json:"bucketRequest,omitempty"`
// +listType=atomic
AllowedNamespaces []string `json:"allowedNamespaces,omitempty"`
Protocol Protocol `json:"protocol"`
// +optional
Parameters map[string]string `json:"parameters,omitempty"`
}
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 BucketStatus ¶
type BucketStatus struct {
// +optional
Message string `json:"message,omitempty"`
// +optional
BucketAvailable bool `json:"bucketAvailable,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.
type GCSProtocol ¶
type GCSProtocol struct {
BucketName string `json:"bucketName,omitempty"`
PrivateKeyName string `json:"privateKeyName,omitempty"`
ProjectID string `json:"projectID,omitempty"`
ServiceAccount string `json:"serviceAccount,omitempty"`
}
func (*GCSProtocol) DeepCopy ¶
func (in *GCSProtocol) DeepCopy() *GCSProtocol
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCSProtocol.
func (*GCSProtocol) DeepCopyInto ¶
func (in *GCSProtocol) DeepCopyInto(out *GCSProtocol)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectReference ¶
type ObjectReference struct {
// Namespace of the referent.
// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
// +optional
Namespace string `json:"namespace,omitempty"`
// Name of the referent.
// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
// +optional
Name string `json:"name,omitempty"`
// UID of the referent.
// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
// +optional
UID types.UID `json:"uid,omitempty"`
}
func (*ObjectReference) DeepCopy ¶
func (in *ObjectReference) DeepCopy() *ObjectReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.
func (*ObjectReference) DeepCopyInto ¶
func (in *ObjectReference) DeepCopyInto(out *ObjectReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Protocol ¶
type Protocol struct {
// +required
RequestedProtocol `json:"requestedProtocol"`
// +optional
S3 *S3Protocol `json:"s3,omitempty"`
// +optional
AzureBlob *AzureProtocol `json:"azureBlob,omitempty"`
// +optional
GCS *GCSProtocol `json:"gcs,omitempty"`
}
func (*Protocol) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Protocol.
func (*Protocol) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProtocolName ¶
type ProtocolName string
const ( ProtocolNameS3 ProtocolName = "s3" ProtocolNameAzure ProtocolName = "azureBlob" ProtocolNameGCS ProtocolName = "gcs" )
type RequestedProtocol ¶
type RequestedProtocol struct {
// +kubebuilder:validation:Enum:={s3,azureBlob,gcs}
Name ProtocolName `json:"name"`
// +optional
Version string `json:"version"`
}
func (*RequestedProtocol) DeepCopy ¶
func (in *RequestedProtocol) DeepCopy() *RequestedProtocol
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestedProtocol.
func (*RequestedProtocol) DeepCopyInto ¶
func (in *RequestedProtocol) DeepCopyInto(out *RequestedProtocol)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetentionPolicy ¶
type RetentionPolicy string
const ( RetentionPolicyRetain RetentionPolicy = "Retain" RetentionPolicyDelete RetentionPolicy = "Delete" )
type S3Protocol ¶
type S3Protocol struct {
Version string `json:"version,omitempty"`
Endpoint string `json:"endpoint,omitempty"`
BucketName string `json:"bucketName,omitempty"`
Region string `json:"region,omitempty"`
// +kubebuilder:validation:Enum:={s3v2,s3v4}
SignatureVersion S3SignatureVersion `json:"signatureVersion,omitempty"`
}
func (*S3Protocol) DeepCopy ¶
func (in *S3Protocol) DeepCopy() *S3Protocol
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Protocol.
func (*S3Protocol) DeepCopyInto ¶
func (in *S3Protocol) DeepCopyInto(out *S3Protocol)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3SignatureVersion ¶
type S3SignatureVersion string
const ( S3SignatureVersionV2 S3SignatureVersion = "s3v2" S3SignatureVersionV4 S3SignatureVersion = "s3v4" )