Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +k8s:openapi-gen=true +gencrdrefdocs:force=true
Index ¶
- Constants
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- type AzureSpec
- func (in *AzureSpec) DeepCopy() *AzureSpec
- func (in *AzureSpec) DeepCopyInto(out *AzureSpec)
- func (*AzureSpec) Descriptor() ([]byte, []int)
- func (m *AzureSpec) Marshal() (dAtA []byte, err error)
- func (m *AzureSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *AzureSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AzureSpec) ProtoMessage()
- func (m *AzureSpec) Reset()
- func (m *AzureSpec) Size() (n int)
- func (this *AzureSpec) String() string
- func (m *AzureSpec) Unmarshal(dAtA []byte) error
- func (m *AzureSpec) XXX_DiscardUnknown()
- func (m *AzureSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AzureSpec) XXX_Merge(src proto.Message)
- func (m *AzureSpec) XXX_Size() int
- func (m *AzureSpec) XXX_Unmarshal(b []byte) error
- type B2Spec
- func (in *B2Spec) DeepCopy() *B2Spec
- func (in *B2Spec) DeepCopyInto(out *B2Spec)
- func (*B2Spec) Descriptor() ([]byte, []int)
- func (m *B2Spec) Marshal() (dAtA []byte, err error)
- func (m *B2Spec) MarshalTo(dAtA []byte) (int, error)
- func (m *B2Spec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*B2Spec) ProtoMessage()
- func (m *B2Spec) Reset()
- func (m *B2Spec) Size() (n int)
- func (this *B2Spec) String() string
- func (m *B2Spec) Unmarshal(dAtA []byte) error
- func (m *B2Spec) XXX_DiscardUnknown()
- func (m *B2Spec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *B2Spec) XXX_Merge(src proto.Message)
- func (m *B2Spec) XXX_Size() int
- func (m *B2Spec) XXX_Unmarshal(b []byte) error
- type Backend
- func (backend Backend) Container() (string, error)
- func (in *Backend) DeepCopy() *Backend
- func (in *Backend) DeepCopyInto(out *Backend)
- func (*Backend) Descriptor() ([]byte, []int)
- func (backend Backend) Endpoint() (string, bool)
- func (backend Backend) InsecureTLS() bool
- func (backend Backend) Location() (string, error)
- func (m *Backend) Marshal() (dAtA []byte, err error)
- func (m *Backend) MarshalTo(dAtA []byte) (int, error)
- func (m *Backend) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (backend Backend) MaxConnections() int64
- func (backend Backend) Prefix() (string, error)
- func (*Backend) ProtoMessage()
- func (backend Backend) Provider() (string, error)
- func (backend Backend) Region() (string, bool)
- func (m *Backend) Reset()
- func (m *Backend) Size() (n int)
- func (this *Backend) String() string
- func (m *Backend) Unmarshal(dAtA []byte) error
- func (m *Backend) XXX_DiscardUnknown()
- func (m *Backend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Backend) XXX_Merge(src proto.Message)
- func (m *Backend) XXX_Size() int
- func (m *Backend) XXX_Unmarshal(b []byte) error
- type GCSSpec
- func (in *GCSSpec) DeepCopy() *GCSSpec
- func (in *GCSSpec) DeepCopyInto(out *GCSSpec)
- func (*GCSSpec) Descriptor() ([]byte, []int)
- func (m *GCSSpec) Marshal() (dAtA []byte, err error)
- func (m *GCSSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *GCSSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GCSSpec) ProtoMessage()
- func (m *GCSSpec) Reset()
- func (m *GCSSpec) Size() (n int)
- func (this *GCSSpec) String() string
- func (m *GCSSpec) Unmarshal(dAtA []byte) error
- func (m *GCSSpec) XXX_DiscardUnknown()
- func (m *GCSSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GCSSpec) XXX_Merge(src proto.Message)
- func (m *GCSSpec) XXX_Size() int
- func (m *GCSSpec) XXX_Unmarshal(b []byte) error
- type LocalSpec
- func (in *LocalSpec) DeepCopy() *LocalSpec
- func (in *LocalSpec) DeepCopyInto(out *LocalSpec)
- func (*LocalSpec) Descriptor() ([]byte, []int)
- func (m *LocalSpec) Marshal() (dAtA []byte, err error)
- func (m *LocalSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *LocalSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LocalSpec) ProtoMessage()
- func (m *LocalSpec) Reset()
- func (m *LocalSpec) Size() (n int)
- func (this *LocalSpec) String() string
- func (l LocalSpec) ToVolumeAndMount(volName string) (core.Volume, core.VolumeMount)
- func (m *LocalSpec) Unmarshal(dAtA []byte) error
- func (m *LocalSpec) XXX_DiscardUnknown()
- func (m *LocalSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalSpec) XXX_Merge(src proto.Message)
- func (m *LocalSpec) XXX_Size() int
- func (m *LocalSpec) XXX_Unmarshal(b []byte) error
- type RestServerSpec
- func (in *RestServerSpec) DeepCopy() *RestServerSpec
- func (in *RestServerSpec) DeepCopyInto(out *RestServerSpec)
- func (*RestServerSpec) Descriptor() ([]byte, []int)
- func (m *RestServerSpec) Marshal() (dAtA []byte, err error)
- func (m *RestServerSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *RestServerSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RestServerSpec) ProtoMessage()
- func (m *RestServerSpec) Reset()
- func (m *RestServerSpec) Size() (n int)
- func (this *RestServerSpec) String() string
- func (m *RestServerSpec) Unmarshal(dAtA []byte) error
- func (m *RestServerSpec) XXX_DiscardUnknown()
- func (m *RestServerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RestServerSpec) XXX_Merge(src proto.Message)
- func (m *RestServerSpec) XXX_Size() int
- func (m *RestServerSpec) XXX_Unmarshal(b []byte) error
- type S3Spec
- func (in *S3Spec) DeepCopy() *S3Spec
- func (in *S3Spec) DeepCopyInto(out *S3Spec)
- func (*S3Spec) Descriptor() ([]byte, []int)
- func (m *S3Spec) Marshal() (dAtA []byte, err error)
- func (m *S3Spec) MarshalTo(dAtA []byte) (int, error)
- func (m *S3Spec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*S3Spec) ProtoMessage()
- func (m *S3Spec) Reset()
- func (m *S3Spec) Size() (n int)
- func (this *S3Spec) String() string
- func (m *S3Spec) Unmarshal(dAtA []byte) error
- func (m *S3Spec) XXX_DiscardUnknown()
- func (m *S3Spec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *S3Spec) XXX_Merge(src proto.Message)
- func (m *S3Spec) XXX_Size() int
- func (m *S3Spec) XXX_Unmarshal(b []byte) error
- type SwiftSpec
- func (in *SwiftSpec) DeepCopy() *SwiftSpec
- func (in *SwiftSpec) DeepCopyInto(out *SwiftSpec)
- func (*SwiftSpec) Descriptor() ([]byte, []int)
- func (m *SwiftSpec) Marshal() (dAtA []byte, err error)
- func (m *SwiftSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *SwiftSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwiftSpec) ProtoMessage()
- func (m *SwiftSpec) Reset()
- func (m *SwiftSpec) Size() (n int)
- func (this *SwiftSpec) String() string
- func (m *SwiftSpec) Unmarshal(dAtA []byte) error
- func (m *SwiftSpec) XXX_DiscardUnknown()
- func (m *SwiftSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwiftSpec) XXX_Merge(src proto.Message)
- func (m *SwiftSpec) XXX_Size() int
- func (m *SwiftSpec) XXX_Unmarshal(b []byte) error
Constants ¶
const ( ProviderLocal = "local" ProviderS3 = "s3" ProviderGCS = "gcs" ProviderAzure = "azure" ProviderSwift = "swift" ProviderB2 = "b2" ProviderRest = "rest" )
const ( // Deprecated: Use kmodules.xyz/constants/aws AWS_ACCESS_KEY_ID = "AWS_ACCESS_KEY_ID" // Deprecated: Use kmodules.xyz/constants/aws AWS_SECRET_ACCESS_KEY = "AWS_SECRET_ACCESS_KEY" // Deprecated: Use kmodules.xyz/constants/aws CA_CERT_DATA = "CA_CERT_DATA" // Deprecated: Use kmodules.xyz/constants/google GOOGLE_PROJECT_ID = "GOOGLE_PROJECT_ID" // Deprecated: Use kmodules.xyz/constants/google GOOGLE_SERVICE_ACCOUNT_JSON_KEY = "GOOGLE_SERVICE_ACCOUNT_JSON_KEY" // Deprecated: Use kmodules.xyz/constants/google GOOGLE_APPLICATION_CREDENTIALS = "GOOGLE_APPLICATION_CREDENTIALS" // Deprecated: Use kmodules.xyz/constants/azure AZURE_ACCOUNT_NAME = "AZURE_ACCOUNT_NAME" // Deprecated: Use kmodules.xyz/constants/azure AZURE_ACCOUNT_KEY = "AZURE_ACCOUNT_KEY" // swift // Deprecated: Use kmodules.xyz/constants/openstack OS_USERNAME = "OS_USERNAME" // Deprecated: Use kmodules.xyz/constants/openstack OS_PASSWORD = "OS_PASSWORD" // Deprecated: Use kmodules.xyz/constants/openstack OS_REGION_NAME = "OS_REGION_NAME" // Deprecated: Use kmodules.xyz/constants/openstack OS_AUTH_URL = "OS_AUTH_URL" // v3 specific // Deprecated: Use kmodules.xyz/constants/openstack OS_USER_DOMAIN_NAME = "OS_USER_DOMAIN_NAME" // Deprecated: Use kmodules.xyz/constants/openstack OS_PROJECT_NAME = "OS_PROJECT_NAME" // Deprecated: Use kmodules.xyz/constants/openstack OS_PROJECT_DOMAIN_NAME = "OS_PROJECT_DOMAIN_NAME" // v2 specific // Deprecated: Use kmodules.xyz/constants/openstack OS_TENANT_ID = "OS_TENANT_ID" // Deprecated: Use kmodules.xyz/constants/openstack OS_TENANT_NAME = "OS_TENANT_NAME" // v1 specific // Deprecated: Use kmodules.xyz/constants/openstack ST_AUTH = "ST_AUTH" // Deprecated: Use kmodules.xyz/constants/openstack ST_USER = "ST_USER" // Deprecated: Use kmodules.xyz/constants/openstack ST_KEY = "ST_KEY" // Manual authentication // Deprecated: Use kmodules.xyz/constants/openstack OS_STORAGE_URL = "OS_STORAGE_URL" // Deprecated: Use kmodules.xyz/constants/openstack OS_AUTH_TOKEN = "OS_AUTH_TOKEN" )
Variables ¶
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type AzureSpec ¶
type AzureSpec struct { Container string `json:"container" protobuf:"bytes,1,opt,name=container"` Prefix string `json:"prefix,omitempty" protobuf:"bytes,2,opt,name=prefix"` MaxConnections int64 `json:"maxConnections,omitempty" protobuf:"varint,3,opt,name=maxConnections"` }
func (*AzureSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureSpec.
func (*AzureSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureSpec) Descriptor ¶
func (*AzureSpec) MarshalToSizedBuffer ¶
func (*AzureSpec) ProtoMessage ¶
func (*AzureSpec) ProtoMessage()
func (*AzureSpec) XXX_DiscardUnknown ¶
func (m *AzureSpec) XXX_DiscardUnknown()
func (*AzureSpec) XXX_Marshal ¶
func (*AzureSpec) XXX_Unmarshal ¶
type B2Spec ¶
type B2Spec struct { Bucket string `json:"bucket" protobuf:"bytes,1,opt,name=bucket"` Prefix string `json:"prefix,omitempty" protobuf:"bytes,2,opt,name=prefix"` MaxConnections int64 `json:"maxConnections,omitempty" protobuf:"varint,3,opt,name=maxConnections"` }
func (*B2Spec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new B2Spec.
func (*B2Spec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*B2Spec) Descriptor ¶
func (*B2Spec) MarshalToSizedBuffer ¶
func (*B2Spec) ProtoMessage ¶
func (*B2Spec) ProtoMessage()
func (*B2Spec) XXX_DiscardUnknown ¶
func (m *B2Spec) XXX_DiscardUnknown()
func (*B2Spec) XXX_Marshal ¶
func (*B2Spec) XXX_Unmarshal ¶
type Backend ¶
type Backend struct { StorageSecretName string `json:"storageSecretName,omitempty" protobuf:"bytes,1,opt,name=storageSecretName"` Local *LocalSpec `json:"local,omitempty" protobuf:"bytes,2,opt,name=local"` S3 *S3Spec `json:"s3,omitempty" protobuf:"bytes,3,opt,name=s3"` GCS *GCSSpec `json:"gcs,omitempty" protobuf:"bytes,4,opt,name=gcs"` Azure *AzureSpec `json:"azure,omitempty" protobuf:"bytes,5,opt,name=azure"` Swift *SwiftSpec `json:"swift,omitempty" protobuf:"bytes,6,opt,name=swift"` B2 *B2Spec `json:"b2,omitempty" protobuf:"bytes,7,opt,name=b2"` Rest *RestServerSpec `json:"rest,omitempty" protobuf:"bytes,8,opt,name=rest"` }
func (*Backend) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backend.
func (*Backend) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Backend) Descriptor ¶
func (Backend) Endpoint ¶
Endpoint returns endpoint of Restic rest server and S3/S3 compatible backend
func (Backend) InsecureTLS ¶ added in v0.29.1
InsecureTLS returns insecureTLS of S3/S3 compatible backend
func (*Backend) MarshalToSizedBuffer ¶
func (Backend) MaxConnections ¶
MaxConnections returns maximum parallel connection to use to connect with the backend returns 0 if not specified
func (*Backend) ProtoMessage ¶
func (*Backend) ProtoMessage()
func (*Backend) XXX_DiscardUnknown ¶
func (m *Backend) XXX_DiscardUnknown()
func (*Backend) XXX_Marshal ¶
func (*Backend) XXX_Unmarshal ¶
type GCSSpec ¶
type GCSSpec struct { Bucket string `json:"bucket" protobuf:"bytes,1,opt,name=bucket"` Prefix string `json:"prefix,omitempty" protobuf:"bytes,2,opt,name=prefix"` MaxConnections int64 `json:"maxConnections,omitempty" protobuf:"varint,3,opt,name=maxConnections"` }
func (*GCSSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCSSpec.
func (*GCSSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GCSSpec) Descriptor ¶
func (*GCSSpec) MarshalToSizedBuffer ¶
func (*GCSSpec) ProtoMessage ¶
func (*GCSSpec) ProtoMessage()
func (*GCSSpec) XXX_DiscardUnknown ¶
func (m *GCSSpec) XXX_DiscardUnknown()
func (*GCSSpec) XXX_Marshal ¶
func (*GCSSpec) XXX_Unmarshal ¶
type LocalSpec ¶
type LocalSpec struct { core.VolumeSource `json:",inline" protobuf:"bytes,1,opt,name=volumeSource"` MountPath string `json:"mountPath" protobuf:"bytes,2,opt,name=mountPath"` SubPath string `json:"subPath,omitempty" protobuf:"bytes,3,opt,name=subPath"` }
func (*LocalSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalSpec.
func (*LocalSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LocalSpec) Descriptor ¶
func (*LocalSpec) MarshalToSizedBuffer ¶
func (*LocalSpec) ProtoMessage ¶
func (*LocalSpec) ProtoMessage()
func (LocalSpec) ToVolumeAndMount ¶
ToVolumeAndMount returns volumes and mounts for local backend
func (*LocalSpec) XXX_DiscardUnknown ¶
func (m *LocalSpec) XXX_DiscardUnknown()
func (*LocalSpec) XXX_Marshal ¶
func (*LocalSpec) XXX_Unmarshal ¶
type RestServerSpec ¶
type RestServerSpec struct {
URL string `json:"url,omitempty" protobuf:"bytes,1,opt,name=url"`
}
func (*RestServerSpec) DeepCopy ¶
func (in *RestServerSpec) DeepCopy() *RestServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestServerSpec.
func (*RestServerSpec) DeepCopyInto ¶
func (in *RestServerSpec) DeepCopyInto(out *RestServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RestServerSpec) Descriptor ¶
func (*RestServerSpec) Descriptor() ([]byte, []int)
func (*RestServerSpec) Marshal ¶
func (m *RestServerSpec) Marshal() (dAtA []byte, err error)
func (*RestServerSpec) MarshalToSizedBuffer ¶
func (m *RestServerSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RestServerSpec) ProtoMessage ¶
func (*RestServerSpec) ProtoMessage()
func (*RestServerSpec) Reset ¶
func (m *RestServerSpec) Reset()
func (*RestServerSpec) Size ¶
func (m *RestServerSpec) Size() (n int)
func (*RestServerSpec) String ¶
func (this *RestServerSpec) String() string
func (*RestServerSpec) Unmarshal ¶
func (m *RestServerSpec) Unmarshal(dAtA []byte) error
func (*RestServerSpec) XXX_DiscardUnknown ¶
func (m *RestServerSpec) XXX_DiscardUnknown()
func (*RestServerSpec) XXX_Marshal ¶
func (m *RestServerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestServerSpec) XXX_Merge ¶
func (m *RestServerSpec) XXX_Merge(src proto.Message)
func (*RestServerSpec) XXX_Size ¶
func (m *RestServerSpec) XXX_Size() int
func (*RestServerSpec) XXX_Unmarshal ¶
func (m *RestServerSpec) XXX_Unmarshal(b []byte) error
type S3Spec ¶
type S3Spec struct { Endpoint string `json:"endpoint" protobuf:"bytes,1,opt,name=endpoint"` Bucket string `json:"bucket" protobuf:"bytes,2,opt,name=bucket"` Prefix string `json:"prefix,omitempty" protobuf:"bytes,3,opt,name=prefix"` Region string `json:"region,omitempty" protobuf:"bytes,4,opt,name=region"` InsecureTLS bool `json:"insecureTLS,omitempty" protobuf:"varint,5,opt,name=insecureTLS"` }
func (*S3Spec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Spec.
func (*S3Spec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*S3Spec) Descriptor ¶
func (*S3Spec) MarshalToSizedBuffer ¶
func (*S3Spec) ProtoMessage ¶
func (*S3Spec) ProtoMessage()
func (*S3Spec) XXX_DiscardUnknown ¶
func (m *S3Spec) XXX_DiscardUnknown()
func (*S3Spec) XXX_Marshal ¶
func (*S3Spec) XXX_Unmarshal ¶
type SwiftSpec ¶
type SwiftSpec struct { Container string `json:"container" protobuf:"bytes,1,opt,name=container"` Prefix string `json:"prefix,omitempty" protobuf:"bytes,2,opt,name=prefix"` }
func (*SwiftSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SwiftSpec.
func (*SwiftSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SwiftSpec) Descriptor ¶
func (*SwiftSpec) MarshalToSizedBuffer ¶
func (*SwiftSpec) ProtoMessage ¶
func (*SwiftSpec) ProtoMessage()
func (*SwiftSpec) XXX_DiscardUnknown ¶
func (m *SwiftSpec) XXX_DiscardUnknown()