Documentation ¶
Overview ¶
+groupName=stash.appscode.com
Index ¶
- Constants
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func GetOpenAPIDefinitionsWithRetentionPolicy(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func Resource(resource string) schema.GroupResource
- type BackupBatch
- func (_ BackupBatch) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *BackupBatch) DeepCopy() *BackupBatch
- func (in *BackupBatch) DeepCopyInto(out *BackupBatch)
- func (in *BackupBatch) DeepCopyObject() runtime.Object
- func (*BackupBatch) Descriptor() ([]byte, []int)
- func (b BackupBatch) GetSpecHash() string
- func (m *BackupBatch) Marshal() (dAtA []byte, err error)
- func (m *BackupBatch) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (b BackupBatch) OffshootLabels() map[string]string
- func (*BackupBatch) ProtoMessage()
- func (m *BackupBatch) Reset()
- func (m *BackupBatch) Size() (n int)
- func (this *BackupBatch) String() string
- func (m *BackupBatch) Unmarshal(dAtA []byte) error
- func (m *BackupBatch) XXX_DiscardUnknown()
- func (m *BackupBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupBatch) XXX_Merge(src proto.Message)
- func (m *BackupBatch) XXX_Size() int
- func (m *BackupBatch) XXX_Unmarshal(b []byte) error
- type BackupBatchList
- func (in *BackupBatchList) DeepCopy() *BackupBatchList
- func (in *BackupBatchList) DeepCopyInto(out *BackupBatchList)
- func (in *BackupBatchList) DeepCopyObject() runtime.Object
- func (*BackupBatchList) Descriptor() ([]byte, []int)
- func (m *BackupBatchList) Marshal() (dAtA []byte, err error)
- func (m *BackupBatchList) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupBatchList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackupBatchList) ProtoMessage()
- func (m *BackupBatchList) Reset()
- func (m *BackupBatchList) Size() (n int)
- func (this *BackupBatchList) String() string
- func (m *BackupBatchList) Unmarshal(dAtA []byte) error
- func (m *BackupBatchList) XXX_DiscardUnknown()
- func (m *BackupBatchList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupBatchList) XXX_Merge(src proto.Message)
- func (m *BackupBatchList) XXX_Size() int
- func (m *BackupBatchList) XXX_Unmarshal(b []byte) error
- type BackupBatchSpec
- func (in *BackupBatchSpec) DeepCopy() *BackupBatchSpec
- func (in *BackupBatchSpec) DeepCopyInto(out *BackupBatchSpec)
- func (*BackupBatchSpec) Descriptor() ([]byte, []int)
- func (m *BackupBatchSpec) Marshal() (dAtA []byte, err error)
- func (m *BackupBatchSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupBatchSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackupBatchSpec) ProtoMessage()
- func (m *BackupBatchSpec) Reset()
- func (m *BackupBatchSpec) Size() (n int)
- func (this *BackupBatchSpec) String() string
- func (m *BackupBatchSpec) Unmarshal(dAtA []byte) error
- func (m *BackupBatchSpec) XXX_DiscardUnknown()
- func (m *BackupBatchSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupBatchSpec) XXX_Merge(src proto.Message)
- func (m *BackupBatchSpec) XXX_Size() int
- func (m *BackupBatchSpec) XXX_Unmarshal(b []byte) error
- type BackupBatchStatus
- func (in *BackupBatchStatus) DeepCopy() *BackupBatchStatus
- func (in *BackupBatchStatus) DeepCopyInto(out *BackupBatchStatus)
- func (*BackupBatchStatus) Descriptor() ([]byte, []int)
- func (m *BackupBatchStatus) Marshal() (dAtA []byte, err error)
- func (m *BackupBatchStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupBatchStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackupBatchStatus) ProtoMessage()
- func (m *BackupBatchStatus) Reset()
- func (m *BackupBatchStatus) Size() (n int)
- func (this *BackupBatchStatus) String() string
- func (m *BackupBatchStatus) Unmarshal(dAtA []byte) error
- func (m *BackupBatchStatus) XXX_DiscardUnknown()
- func (m *BackupBatchStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupBatchStatus) XXX_Merge(src proto.Message)
- func (m *BackupBatchStatus) XXX_Size() int
- func (m *BackupBatchStatus) XXX_Unmarshal(b []byte) error
- type BackupBlueprint
- func (_ BackupBlueprint) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *BackupBlueprint) DeepCopy() *BackupBlueprint
- func (in *BackupBlueprint) DeepCopyInto(out *BackupBlueprint)
- func (in *BackupBlueprint) DeepCopyObject() runtime.Object
- func (*BackupBlueprint) Descriptor() ([]byte, []int)
- func (bb BackupBlueprint) GetSpecHash() string
- func (m *BackupBlueprint) Marshal() (dAtA []byte, err error)
- func (m *BackupBlueprint) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupBlueprint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackupBlueprint) ProtoMessage()
- func (m *BackupBlueprint) Reset()
- func (m *BackupBlueprint) Size() (n int)
- func (this *BackupBlueprint) String() string
- func (m *BackupBlueprint) Unmarshal(dAtA []byte) error
- func (m *BackupBlueprint) XXX_DiscardUnknown()
- func (m *BackupBlueprint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupBlueprint) XXX_Merge(src proto.Message)
- func (m *BackupBlueprint) XXX_Size() int
- func (m *BackupBlueprint) XXX_Unmarshal(b []byte) error
- type BackupBlueprintList
- func (in *BackupBlueprintList) DeepCopy() *BackupBlueprintList
- func (in *BackupBlueprintList) DeepCopyInto(out *BackupBlueprintList)
- func (in *BackupBlueprintList) DeepCopyObject() runtime.Object
- func (*BackupBlueprintList) Descriptor() ([]byte, []int)
- func (m *BackupBlueprintList) Marshal() (dAtA []byte, err error)
- func (m *BackupBlueprintList) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupBlueprintList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackupBlueprintList) ProtoMessage()
- func (m *BackupBlueprintList) Reset()
- func (m *BackupBlueprintList) Size() (n int)
- func (this *BackupBlueprintList) String() string
- func (m *BackupBlueprintList) Unmarshal(dAtA []byte) error
- func (m *BackupBlueprintList) XXX_DiscardUnknown()
- func (m *BackupBlueprintList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupBlueprintList) XXX_Merge(src proto.Message)
- func (m *BackupBlueprintList) XXX_Size() int
- func (m *BackupBlueprintList) XXX_Unmarshal(b []byte) error
- type BackupBlueprintSpec
- func (in *BackupBlueprintSpec) DeepCopy() *BackupBlueprintSpec
- func (in *BackupBlueprintSpec) DeepCopyInto(out *BackupBlueprintSpec)
- func (*BackupBlueprintSpec) Descriptor() ([]byte, []int)
- func (m *BackupBlueprintSpec) Marshal() (dAtA []byte, err error)
- func (m *BackupBlueprintSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupBlueprintSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackupBlueprintSpec) ProtoMessage()
- func (m *BackupBlueprintSpec) Reset()
- func (m *BackupBlueprintSpec) Size() (n int)
- func (this *BackupBlueprintSpec) String() string
- func (m *BackupBlueprintSpec) Unmarshal(dAtA []byte) error
- func (m *BackupBlueprintSpec) XXX_DiscardUnknown()
- func (m *BackupBlueprintSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupBlueprintSpec) XXX_Merge(src proto.Message)
- func (m *BackupBlueprintSpec) XXX_Size() int
- func (m *BackupBlueprintSpec) XXX_Unmarshal(b []byte) error
- type BackupConfiguration
- func (_ BackupConfiguration) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *BackupConfiguration) DeepCopy() *BackupConfiguration
- func (in *BackupConfiguration) DeepCopyInto(out *BackupConfiguration)
- func (in *BackupConfiguration) DeepCopyObject() runtime.Object
- func (*BackupConfiguration) Descriptor() ([]byte, []int)
- func (b BackupConfiguration) GetSpecHash() string
- func (m *BackupConfiguration) Marshal() (dAtA []byte, err error)
- func (m *BackupConfiguration) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (b BackupConfiguration) OffshootLabels() map[string]string
- func (*BackupConfiguration) ProtoMessage()
- func (m *BackupConfiguration) Reset()
- func (m *BackupConfiguration) Size() (n int)
- func (this *BackupConfiguration) String() string
- func (m *BackupConfiguration) Unmarshal(dAtA []byte) error
- func (m *BackupConfiguration) XXX_DiscardUnknown()
- func (m *BackupConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupConfiguration) XXX_Merge(src proto.Message)
- func (m *BackupConfiguration) XXX_Size() int
- func (m *BackupConfiguration) XXX_Unmarshal(b []byte) error
- type BackupConfigurationList
- func (in *BackupConfigurationList) DeepCopy() *BackupConfigurationList
- func (in *BackupConfigurationList) DeepCopyInto(out *BackupConfigurationList)
- func (in *BackupConfigurationList) DeepCopyObject() runtime.Object
- func (*BackupConfigurationList) Descriptor() ([]byte, []int)
- func (m *BackupConfigurationList) Marshal() (dAtA []byte, err error)
- func (m *BackupConfigurationList) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupConfigurationList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackupConfigurationList) ProtoMessage()
- func (m *BackupConfigurationList) Reset()
- func (m *BackupConfigurationList) Size() (n int)
- func (this *BackupConfigurationList) String() string
- func (m *BackupConfigurationList) Unmarshal(dAtA []byte) error
- func (m *BackupConfigurationList) XXX_DiscardUnknown()
- func (m *BackupConfigurationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupConfigurationList) XXX_Merge(src proto.Message)
- func (m *BackupConfigurationList) XXX_Size() int
- func (m *BackupConfigurationList) XXX_Unmarshal(b []byte) error
- type BackupConfigurationSpec
- func (in *BackupConfigurationSpec) DeepCopy() *BackupConfigurationSpec
- func (in *BackupConfigurationSpec) DeepCopyInto(out *BackupConfigurationSpec)
- func (*BackupConfigurationSpec) Descriptor() ([]byte, []int)
- func (m *BackupConfigurationSpec) Marshal() (dAtA []byte, err error)
- func (m *BackupConfigurationSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupConfigurationSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackupConfigurationSpec) ProtoMessage()
- func (m *BackupConfigurationSpec) Reset()
- func (m *BackupConfigurationSpec) Size() (n int)
- func (this *BackupConfigurationSpec) String() string
- func (m *BackupConfigurationSpec) Unmarshal(dAtA []byte) error
- func (m *BackupConfigurationSpec) XXX_DiscardUnknown()
- func (m *BackupConfigurationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupConfigurationSpec) XXX_Merge(src proto.Message)
- func (m *BackupConfigurationSpec) XXX_Size() int
- func (m *BackupConfigurationSpec) XXX_Unmarshal(b []byte) error
- type BackupConfigurationStatus
- func (in *BackupConfigurationStatus) DeepCopy() *BackupConfigurationStatus
- func (in *BackupConfigurationStatus) DeepCopyInto(out *BackupConfigurationStatus)
- func (*BackupConfigurationStatus) Descriptor() ([]byte, []int)
- func (m *BackupConfigurationStatus) Marshal() (dAtA []byte, err error)
- func (m *BackupConfigurationStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupConfigurationStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackupConfigurationStatus) ProtoMessage()
- func (m *BackupConfigurationStatus) Reset()
- func (m *BackupConfigurationStatus) Size() (n int)
- func (this *BackupConfigurationStatus) String() string
- func (m *BackupConfigurationStatus) Unmarshal(dAtA []byte) error
- func (m *BackupConfigurationStatus) XXX_DiscardUnknown()
- func (m *BackupConfigurationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupConfigurationStatus) XXX_Merge(src proto.Message)
- func (m *BackupConfigurationStatus) XXX_Size() int
- func (m *BackupConfigurationStatus) XXX_Unmarshal(b []byte) error
- type BackupConfigurationTemplateSpec
- func (in *BackupConfigurationTemplateSpec) DeepCopy() *BackupConfigurationTemplateSpec
- func (in *BackupConfigurationTemplateSpec) DeepCopyInto(out *BackupConfigurationTemplateSpec)
- func (*BackupConfigurationTemplateSpec) Descriptor() ([]byte, []int)
- func (m *BackupConfigurationTemplateSpec) Marshal() (dAtA []byte, err error)
- func (m *BackupConfigurationTemplateSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupConfigurationTemplateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackupConfigurationTemplateSpec) ProtoMessage()
- func (m *BackupConfigurationTemplateSpec) Reset()
- func (m *BackupConfigurationTemplateSpec) Size() (n int)
- func (this *BackupConfigurationTemplateSpec) String() string
- func (m *BackupConfigurationTemplateSpec) Unmarshal(dAtA []byte) error
- func (m *BackupConfigurationTemplateSpec) XXX_DiscardUnknown()
- func (m *BackupConfigurationTemplateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupConfigurationTemplateSpec) XXX_Merge(src proto.Message)
- func (m *BackupConfigurationTemplateSpec) XXX_Size() int
- func (m *BackupConfigurationTemplateSpec) XXX_Unmarshal(b []byte) error
- type BackupHooks
- func (in *BackupHooks) DeepCopy() *BackupHooks
- func (in *BackupHooks) DeepCopyInto(out *BackupHooks)
- func (*BackupHooks) Descriptor() ([]byte, []int)
- func (m *BackupHooks) Marshal() (dAtA []byte, err error)
- func (m *BackupHooks) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupHooks) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackupHooks) ProtoMessage()
- func (m *BackupHooks) Reset()
- func (m *BackupHooks) Size() (n int)
- func (this *BackupHooks) String() string
- func (m *BackupHooks) Unmarshal(dAtA []byte) error
- func (m *BackupHooks) XXX_DiscardUnknown()
- func (m *BackupHooks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupHooks) XXX_Merge(src proto.Message)
- func (m *BackupHooks) XXX_Size() int
- func (m *BackupHooks) XXX_Unmarshal(b []byte) error
- type BackupInvokerRef
- func (in *BackupInvokerRef) DeepCopy() *BackupInvokerRef
- func (in *BackupInvokerRef) DeepCopyInto(out *BackupInvokerRef)
- func (*BackupInvokerRef) Descriptor() ([]byte, []int)
- func (m *BackupInvokerRef) Marshal() (dAtA []byte, err error)
- func (m *BackupInvokerRef) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupInvokerRef) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackupInvokerRef) ProtoMessage()
- func (m *BackupInvokerRef) Reset()
- func (m *BackupInvokerRef) Size() (n int)
- func (this *BackupInvokerRef) String() string
- func (m *BackupInvokerRef) Unmarshal(dAtA []byte) error
- func (m *BackupInvokerRef) XXX_DiscardUnknown()
- func (m *BackupInvokerRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupInvokerRef) XXX_Merge(src proto.Message)
- func (m *BackupInvokerRef) XXX_Size() int
- func (m *BackupInvokerRef) XXX_Unmarshal(b []byte) error
- type BackupSession
- func (_ BackupSession) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *BackupSession) DeepCopy() *BackupSession
- func (in *BackupSession) DeepCopyInto(out *BackupSession)
- func (in *BackupSession) DeepCopyObject() runtime.Object
- func (*BackupSession) Descriptor() ([]byte, []int)
- func (bs BackupSession) GetSpecHash() string
- func (r BackupSession) IsValid() error
- func (m *BackupSession) Marshal() (dAtA []byte, err error)
- func (m *BackupSession) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupSession) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackupSession) ProtoMessage()
- func (m *BackupSession) Reset()
- func (m *BackupSession) Size() (n int)
- func (this *BackupSession) String() string
- func (m *BackupSession) Unmarshal(dAtA []byte) error
- func (m *BackupSession) XXX_DiscardUnknown()
- func (m *BackupSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupSession) XXX_Merge(src proto.Message)
- func (m *BackupSession) XXX_Size() int
- func (m *BackupSession) XXX_Unmarshal(b []byte) error
- type BackupSessionList
- func (in *BackupSessionList) DeepCopy() *BackupSessionList
- func (in *BackupSessionList) DeepCopyInto(out *BackupSessionList)
- func (in *BackupSessionList) DeepCopyObject() runtime.Object
- func (*BackupSessionList) Descriptor() ([]byte, []int)
- func (m *BackupSessionList) Marshal() (dAtA []byte, err error)
- func (m *BackupSessionList) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupSessionList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackupSessionList) ProtoMessage()
- func (m *BackupSessionList) Reset()
- func (m *BackupSessionList) Size() (n int)
- func (this *BackupSessionList) String() string
- func (m *BackupSessionList) Unmarshal(dAtA []byte) error
- func (m *BackupSessionList) XXX_DiscardUnknown()
- func (m *BackupSessionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupSessionList) XXX_Merge(src proto.Message)
- func (m *BackupSessionList) XXX_Size() int
- func (m *BackupSessionList) XXX_Unmarshal(b []byte) error
- type BackupSessionPhase
- type BackupSessionSpec
- func (in *BackupSessionSpec) DeepCopy() *BackupSessionSpec
- func (in *BackupSessionSpec) DeepCopyInto(out *BackupSessionSpec)
- func (*BackupSessionSpec) Descriptor() ([]byte, []int)
- func (m *BackupSessionSpec) Marshal() (dAtA []byte, err error)
- func (m *BackupSessionSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupSessionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackupSessionSpec) ProtoMessage()
- func (m *BackupSessionSpec) Reset()
- func (m *BackupSessionSpec) Size() (n int)
- func (this *BackupSessionSpec) String() string
- func (m *BackupSessionSpec) Unmarshal(dAtA []byte) error
- func (m *BackupSessionSpec) XXX_DiscardUnknown()
- func (m *BackupSessionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupSessionSpec) XXX_Merge(src proto.Message)
- func (m *BackupSessionSpec) XXX_Size() int
- func (m *BackupSessionSpec) XXX_Unmarshal(b []byte) error
- type BackupSessionStatus
- func (in *BackupSessionStatus) DeepCopy() *BackupSessionStatus
- func (in *BackupSessionStatus) DeepCopyInto(out *BackupSessionStatus)
- func (*BackupSessionStatus) Descriptor() ([]byte, []int)
- func (m *BackupSessionStatus) Marshal() (dAtA []byte, err error)
- func (m *BackupSessionStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupSessionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackupSessionStatus) ProtoMessage()
- func (m *BackupSessionStatus) Reset()
- func (m *BackupSessionStatus) Size() (n int)
- func (this *BackupSessionStatus) String() string
- func (m *BackupSessionStatus) Unmarshal(dAtA []byte) error
- func (m *BackupSessionStatus) XXX_DiscardUnknown()
- func (m *BackupSessionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupSessionStatus) XXX_Merge(src proto.Message)
- func (m *BackupSessionStatus) XXX_Size() int
- func (m *BackupSessionStatus) XXX_Unmarshal(b []byte) error
- type BackupTarget
- func (in *BackupTarget) DeepCopy() *BackupTarget
- func (in *BackupTarget) DeepCopyInto(out *BackupTarget)
- func (*BackupTarget) Descriptor() ([]byte, []int)
- func (m *BackupTarget) Marshal() (dAtA []byte, err error)
- func (m *BackupTarget) MarshalTo(dAtA []byte) (int, error)
- func (m *BackupTarget) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackupTarget) ProtoMessage()
- func (m *BackupTarget) Reset()
- func (m *BackupTarget) Size() (n int)
- func (this *BackupTarget) String() string
- func (m *BackupTarget) Unmarshal(dAtA []byte) error
- func (m *BackupTarget) XXX_DiscardUnknown()
- func (m *BackupTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupTarget) XXX_Merge(src proto.Message)
- func (m *BackupTarget) XXX_Size() int
- func (m *BackupTarget) XXX_Unmarshal(b []byte) error
- type EmptyDirSettings
- func (in *EmptyDirSettings) DeepCopy() *EmptyDirSettings
- func (in *EmptyDirSettings) DeepCopyInto(out *EmptyDirSettings)
- func (*EmptyDirSettings) Descriptor() ([]byte, []int)
- func (m *EmptyDirSettings) Marshal() (dAtA []byte, err error)
- func (m *EmptyDirSettings) MarshalTo(dAtA []byte) (int, error)
- func (m *EmptyDirSettings) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EmptyDirSettings) ProtoMessage()
- func (m *EmptyDirSettings) Reset()
- func (m *EmptyDirSettings) Size() (n int)
- func (this *EmptyDirSettings) String() string
- func (m *EmptyDirSettings) Unmarshal(dAtA []byte) error
- func (m *EmptyDirSettings) XXX_DiscardUnknown()
- func (m *EmptyDirSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EmptyDirSettings) XXX_Merge(src proto.Message)
- func (m *EmptyDirSettings) XXX_Size() int
- func (m *EmptyDirSettings) XXX_Unmarshal(b []byte) error
- type FileStats
- func (in *FileStats) DeepCopy() *FileStats
- func (in *FileStats) DeepCopyInto(out *FileStats)
- func (*FileStats) Descriptor() ([]byte, []int)
- func (m *FileStats) Marshal() (dAtA []byte, err error)
- func (m *FileStats) MarshalTo(dAtA []byte) (int, error)
- func (m *FileStats) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FileStats) ProtoMessage()
- func (m *FileStats) Reset()
- func (m *FileStats) Size() (n int)
- func (this *FileStats) String() string
- func (m *FileStats) Unmarshal(dAtA []byte) error
- func (m *FileStats) XXX_DiscardUnknown()
- func (m *FileStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileStats) XXX_Merge(src proto.Message)
- func (m *FileStats) XXX_Size() int
- func (m *FileStats) XXX_Unmarshal(b []byte) error
- type Function
- func (_ Function) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *Function) DeepCopy() *Function
- func (in *Function) DeepCopyInto(out *Function)
- func (in *Function) DeepCopyObject() runtime.Object
- func (*Function) Descriptor() ([]byte, []int)
- func (m *Function) Marshal() (dAtA []byte, err error)
- func (m *Function) MarshalTo(dAtA []byte) (int, error)
- func (m *Function) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Function) ProtoMessage()
- func (m *Function) Reset()
- func (m *Function) Size() (n int)
- func (this *Function) String() string
- func (m *Function) Unmarshal(dAtA []byte) error
- func (m *Function) XXX_DiscardUnknown()
- func (m *Function) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Function) XXX_Merge(src proto.Message)
- func (m *Function) XXX_Size() int
- func (m *Function) XXX_Unmarshal(b []byte) error
- type FunctionList
- func (in *FunctionList) DeepCopy() *FunctionList
- func (in *FunctionList) DeepCopyInto(out *FunctionList)
- func (in *FunctionList) DeepCopyObject() runtime.Object
- func (*FunctionList) Descriptor() ([]byte, []int)
- func (m *FunctionList) Marshal() (dAtA []byte, err error)
- func (m *FunctionList) MarshalTo(dAtA []byte) (int, error)
- func (m *FunctionList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FunctionList) ProtoMessage()
- func (m *FunctionList) Reset()
- func (m *FunctionList) Size() (n int)
- func (this *FunctionList) String() string
- func (m *FunctionList) Unmarshal(dAtA []byte) error
- func (m *FunctionList) XXX_DiscardUnknown()
- func (m *FunctionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FunctionList) XXX_Merge(src proto.Message)
- func (m *FunctionList) XXX_Size() int
- func (m *FunctionList) XXX_Unmarshal(b []byte) error
- type FunctionRef
- func (in *FunctionRef) DeepCopy() *FunctionRef
- func (in *FunctionRef) DeepCopyInto(out *FunctionRef)
- func (*FunctionRef) Descriptor() ([]byte, []int)
- func (m *FunctionRef) Marshal() (dAtA []byte, err error)
- func (m *FunctionRef) MarshalTo(dAtA []byte) (int, error)
- func (m *FunctionRef) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FunctionRef) ProtoMessage()
- func (m *FunctionRef) Reset()
- func (m *FunctionRef) Size() (n int)
- func (this *FunctionRef) String() string
- func (m *FunctionRef) Unmarshal(dAtA []byte) error
- func (m *FunctionRef) XXX_DiscardUnknown()
- func (m *FunctionRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FunctionRef) XXX_Merge(src proto.Message)
- func (m *FunctionRef) XXX_Size() int
- func (m *FunctionRef) XXX_Unmarshal(b []byte) error
- type FunctionSpec
- func (in *FunctionSpec) DeepCopy() *FunctionSpec
- func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec)
- func (*FunctionSpec) Descriptor() ([]byte, []int)
- func (m *FunctionSpec) Marshal() (dAtA []byte, err error)
- func (m *FunctionSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *FunctionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FunctionSpec) ProtoMessage()
- func (m *FunctionSpec) Reset()
- func (m *FunctionSpec) Size() (n int)
- func (this *FunctionSpec) String() string
- func (m *FunctionSpec) Unmarshal(dAtA []byte) error
- func (m *FunctionSpec) XXX_DiscardUnknown()
- func (m *FunctionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FunctionSpec) XXX_Merge(src proto.Message)
- func (m *FunctionSpec) XXX_Size() int
- func (m *FunctionSpec) XXX_Unmarshal(b []byte) error
- type HostBackupPhase
- type HostBackupStats
- func (in *HostBackupStats) DeepCopy() *HostBackupStats
- func (in *HostBackupStats) DeepCopyInto(out *HostBackupStats)
- func (*HostBackupStats) Descriptor() ([]byte, []int)
- func (m *HostBackupStats) Marshal() (dAtA []byte, err error)
- func (m *HostBackupStats) MarshalTo(dAtA []byte) (int, error)
- func (m *HostBackupStats) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HostBackupStats) ProtoMessage()
- func (m *HostBackupStats) Reset()
- func (m *HostBackupStats) Size() (n int)
- func (this *HostBackupStats) String() string
- func (m *HostBackupStats) Unmarshal(dAtA []byte) error
- func (m *HostBackupStats) XXX_DiscardUnknown()
- func (m *HostBackupStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HostBackupStats) XXX_Merge(src proto.Message)
- func (m *HostBackupStats) XXX_Size() int
- func (m *HostBackupStats) XXX_Unmarshal(b []byte) error
- type HostRestorePhase
- type HostRestoreStats
- func (in *HostRestoreStats) DeepCopy() *HostRestoreStats
- func (in *HostRestoreStats) DeepCopyInto(out *HostRestoreStats)
- func (*HostRestoreStats) Descriptor() ([]byte, []int)
- func (m *HostRestoreStats) Marshal() (dAtA []byte, err error)
- func (m *HostRestoreStats) MarshalTo(dAtA []byte) (int, error)
- func (m *HostRestoreStats) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HostRestoreStats) ProtoMessage()
- func (m *HostRestoreStats) Reset()
- func (m *HostRestoreStats) Size() (n int)
- func (this *HostRestoreStats) String() string
- func (m *HostRestoreStats) Unmarshal(dAtA []byte) error
- func (m *HostRestoreStats) XXX_DiscardUnknown()
- func (m *HostRestoreStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HostRestoreStats) XXX_Merge(src proto.Message)
- func (m *HostRestoreStats) XXX_Size() int
- func (m *HostRestoreStats) XXX_Unmarshal(b []byte) error
- type Param
- func (in *Param) DeepCopy() *Param
- func (in *Param) DeepCopyInto(out *Param)
- func (*Param) Descriptor() ([]byte, []int)
- func (m *Param) Marshal() (dAtA []byte, err error)
- func (m *Param) MarshalTo(dAtA []byte) (int, error)
- func (m *Param) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Param) ProtoMessage()
- func (m *Param) Reset()
- func (m *Param) Size() (n int)
- func (this *Param) String() string
- func (m *Param) Unmarshal(dAtA []byte) error
- func (m *Param) XXX_DiscardUnknown()
- func (m *Param) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Param) XXX_Merge(src proto.Message)
- func (m *Param) XXX_Size() int
- func (m *Param) XXX_Unmarshal(b []byte) error
- type RestoreHooks
- func (in *RestoreHooks) DeepCopy() *RestoreHooks
- func (in *RestoreHooks) DeepCopyInto(out *RestoreHooks)
- func (*RestoreHooks) Descriptor() ([]byte, []int)
- func (m *RestoreHooks) Marshal() (dAtA []byte, err error)
- func (m *RestoreHooks) MarshalTo(dAtA []byte) (int, error)
- func (m *RestoreHooks) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RestoreHooks) ProtoMessage()
- func (m *RestoreHooks) Reset()
- func (m *RestoreHooks) Size() (n int)
- func (this *RestoreHooks) String() string
- func (m *RestoreHooks) Unmarshal(dAtA []byte) error
- func (m *RestoreHooks) XXX_DiscardUnknown()
- func (m *RestoreHooks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RestoreHooks) XXX_Merge(src proto.Message)
- func (m *RestoreHooks) XXX_Size() int
- func (m *RestoreHooks) XXX_Unmarshal(b []byte) error
- type RestoreSession
- func (_ RestoreSession) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *RestoreSession) DeepCopy() *RestoreSession
- func (in *RestoreSession) DeepCopyInto(out *RestoreSession)
- func (in *RestoreSession) DeepCopyObject() runtime.Object
- func (*RestoreSession) Descriptor() ([]byte, []int)
- func (r RestoreSession) GetSpecHash() string
- func (r RestoreSession) IsValid() error
- func (m *RestoreSession) Marshal() (dAtA []byte, err error)
- func (m *RestoreSession) MarshalTo(dAtA []byte) (int, error)
- func (m *RestoreSession) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (r RestoreSession) OffshootLabels() map[string]string
- func (*RestoreSession) ProtoMessage()
- func (m *RestoreSession) Reset()
- func (m *RestoreSession) Size() (n int)
- func (this *RestoreSession) String() string
- func (m *RestoreSession) Unmarshal(dAtA []byte) error
- func (m *RestoreSession) XXX_DiscardUnknown()
- func (m *RestoreSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RestoreSession) XXX_Merge(src proto.Message)
- func (m *RestoreSession) XXX_Size() int
- func (m *RestoreSession) XXX_Unmarshal(b []byte) error
- type RestoreSessionList
- func (in *RestoreSessionList) DeepCopy() *RestoreSessionList
- func (in *RestoreSessionList) DeepCopyInto(out *RestoreSessionList)
- func (in *RestoreSessionList) DeepCopyObject() runtime.Object
- func (*RestoreSessionList) Descriptor() ([]byte, []int)
- func (m *RestoreSessionList) Marshal() (dAtA []byte, err error)
- func (m *RestoreSessionList) MarshalTo(dAtA []byte) (int, error)
- func (m *RestoreSessionList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RestoreSessionList) ProtoMessage()
- func (m *RestoreSessionList) Reset()
- func (m *RestoreSessionList) Size() (n int)
- func (this *RestoreSessionList) String() string
- func (m *RestoreSessionList) Unmarshal(dAtA []byte) error
- func (m *RestoreSessionList) XXX_DiscardUnknown()
- func (m *RestoreSessionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RestoreSessionList) XXX_Merge(src proto.Message)
- func (m *RestoreSessionList) XXX_Size() int
- func (m *RestoreSessionList) XXX_Unmarshal(b []byte) error
- type RestoreSessionPhase
- type RestoreSessionSpec
- func (in *RestoreSessionSpec) DeepCopy() *RestoreSessionSpec
- func (in *RestoreSessionSpec) DeepCopyInto(out *RestoreSessionSpec)
- func (*RestoreSessionSpec) Descriptor() ([]byte, []int)
- func (m *RestoreSessionSpec) Marshal() (dAtA []byte, err error)
- func (m *RestoreSessionSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *RestoreSessionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RestoreSessionSpec) ProtoMessage()
- func (m *RestoreSessionSpec) Reset()
- func (m *RestoreSessionSpec) Size() (n int)
- func (this *RestoreSessionSpec) String() string
- func (m *RestoreSessionSpec) Unmarshal(dAtA []byte) error
- func (m *RestoreSessionSpec) XXX_DiscardUnknown()
- func (m *RestoreSessionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RestoreSessionSpec) XXX_Merge(src proto.Message)
- func (m *RestoreSessionSpec) XXX_Size() int
- func (m *RestoreSessionSpec) XXX_Unmarshal(b []byte) error
- type RestoreSessionStatus
- func (in *RestoreSessionStatus) DeepCopy() *RestoreSessionStatus
- func (in *RestoreSessionStatus) DeepCopyInto(out *RestoreSessionStatus)
- func (*RestoreSessionStatus) Descriptor() ([]byte, []int)
- func (m *RestoreSessionStatus) Marshal() (dAtA []byte, err error)
- func (m *RestoreSessionStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *RestoreSessionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RestoreSessionStatus) ProtoMessage()
- func (m *RestoreSessionStatus) Reset()
- func (m *RestoreSessionStatus) Size() (n int)
- func (this *RestoreSessionStatus) String() string
- func (m *RestoreSessionStatus) Unmarshal(dAtA []byte) error
- func (m *RestoreSessionStatus) XXX_DiscardUnknown()
- func (m *RestoreSessionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RestoreSessionStatus) XXX_Merge(src proto.Message)
- func (m *RestoreSessionStatus) XXX_Size() int
- func (m *RestoreSessionStatus) XXX_Unmarshal(b []byte) error
- type RestoreTarget
- func (in *RestoreTarget) DeepCopy() *RestoreTarget
- func (in *RestoreTarget) DeepCopyInto(out *RestoreTarget)
- func (*RestoreTarget) Descriptor() ([]byte, []int)
- func (m *RestoreTarget) Marshal() (dAtA []byte, err error)
- func (m *RestoreTarget) MarshalTo(dAtA []byte) (int, error)
- func (m *RestoreTarget) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RestoreTarget) ProtoMessage()
- func (m *RestoreTarget) Reset()
- func (m *RestoreTarget) Size() (n int)
- func (this *RestoreTarget) String() string
- func (m *RestoreTarget) Unmarshal(dAtA []byte) error
- func (m *RestoreTarget) XXX_DiscardUnknown()
- func (m *RestoreTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RestoreTarget) XXX_Merge(src proto.Message)
- func (m *RestoreTarget) XXX_Size() int
- func (m *RestoreTarget) XXX_Unmarshal(b []byte) error
- type Rule
- func (in *Rule) DeepCopy() *Rule
- func (in *Rule) DeepCopyInto(out *Rule)
- func (*Rule) Descriptor() ([]byte, []int)
- func (m *Rule) Marshal() (dAtA []byte, err error)
- func (m *Rule) MarshalTo(dAtA []byte) (int, error)
- func (m *Rule) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Rule) ProtoMessage()
- func (m *Rule) Reset()
- func (m *Rule) Size() (n int)
- func (this *Rule) String() string
- func (m *Rule) Unmarshal(dAtA []byte) error
- func (m *Rule) XXX_DiscardUnknown()
- func (m *Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Rule) XXX_Merge(src proto.Message)
- func (m *Rule) XXX_Size() int
- func (m *Rule) XXX_Unmarshal(b []byte) error
- type SnapshotStats
- func (in *SnapshotStats) DeepCopy() *SnapshotStats
- func (in *SnapshotStats) DeepCopyInto(out *SnapshotStats)
- func (*SnapshotStats) Descriptor() ([]byte, []int)
- func (m *SnapshotStats) Marshal() (dAtA []byte, err error)
- func (m *SnapshotStats) MarshalTo(dAtA []byte) (int, error)
- func (m *SnapshotStats) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SnapshotStats) ProtoMessage()
- func (m *SnapshotStats) Reset()
- func (m *SnapshotStats) Size() (n int)
- func (this *SnapshotStats) String() string
- func (m *SnapshotStats) Unmarshal(dAtA []byte) error
- func (m *SnapshotStats) XXX_DiscardUnknown()
- func (m *SnapshotStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SnapshotStats) XXX_Merge(src proto.Message)
- func (m *SnapshotStats) XXX_Size() int
- func (m *SnapshotStats) XXX_Unmarshal(b []byte) error
- type Snapshotter
- type Target
- func (in *Target) DeepCopy() *Target
- func (in *Target) DeepCopyInto(out *Target)
- func (*Target) Descriptor() ([]byte, []int)
- func (m *Target) Marshal() (dAtA []byte, err error)
- func (m *Target) MarshalTo(dAtA []byte) (int, error)
- func (m *Target) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Target) ProtoMessage()
- func (m *Target) Reset()
- func (m *Target) Size() (n int)
- func (this *Target) String() string
- func (m *Target) Unmarshal(dAtA []byte) error
- func (m *Target) XXX_DiscardUnknown()
- func (m *Target) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Target) XXX_Merge(src proto.Message)
- func (m *Target) XXX_Size() int
- func (m *Target) XXX_Unmarshal(b []byte) error
- type TargetPhase
- type TargetRef
- func (in *TargetRef) DeepCopy() *TargetRef
- func (in *TargetRef) DeepCopyInto(out *TargetRef)
- func (*TargetRef) Descriptor() ([]byte, []int)
- func (t TargetRef) IsWorkload() bool
- func (m *TargetRef) Marshal() (dAtA []byte, err error)
- func (m *TargetRef) MarshalTo(dAtA []byte) (int, error)
- func (m *TargetRef) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TargetRef) ProtoMessage()
- func (m *TargetRef) Reset()
- func (m *TargetRef) Size() (n int)
- func (this *TargetRef) String() string
- func (m *TargetRef) Unmarshal(dAtA []byte) error
- func (m *TargetRef) XXX_DiscardUnknown()
- func (m *TargetRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TargetRef) XXX_Merge(src proto.Message)
- func (m *TargetRef) XXX_Size() int
- func (m *TargetRef) XXX_Unmarshal(b []byte) error
- type Task
- func (_ Task) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *Task) DeepCopy() *Task
- func (in *Task) DeepCopyInto(out *Task)
- func (in *Task) DeepCopyObject() runtime.Object
- func (*Task) Descriptor() ([]byte, []int)
- func (m *Task) Marshal() (dAtA []byte, err error)
- func (m *Task) MarshalTo(dAtA []byte) (int, error)
- func (m *Task) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Task) ProtoMessage()
- func (m *Task) Reset()
- func (m *Task) Size() (n int)
- func (this *Task) String() string
- func (m *Task) Unmarshal(dAtA []byte) error
- func (m *Task) XXX_DiscardUnknown()
- func (m *Task) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Task) XXX_Merge(src proto.Message)
- func (m *Task) XXX_Size() int
- func (m *Task) XXX_Unmarshal(b []byte) error
- type TaskList
- func (in *TaskList) DeepCopy() *TaskList
- func (in *TaskList) DeepCopyInto(out *TaskList)
- func (in *TaskList) DeepCopyObject() runtime.Object
- func (*TaskList) Descriptor() ([]byte, []int)
- func (m *TaskList) Marshal() (dAtA []byte, err error)
- func (m *TaskList) MarshalTo(dAtA []byte) (int, error)
- func (m *TaskList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TaskList) ProtoMessage()
- func (m *TaskList) Reset()
- func (m *TaskList) Size() (n int)
- func (this *TaskList) String() string
- func (m *TaskList) Unmarshal(dAtA []byte) error
- func (m *TaskList) XXX_DiscardUnknown()
- func (m *TaskList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TaskList) XXX_Merge(src proto.Message)
- func (m *TaskList) XXX_Size() int
- func (m *TaskList) XXX_Unmarshal(b []byte) error
- type TaskRef
- func (in *TaskRef) DeepCopy() *TaskRef
- func (in *TaskRef) DeepCopyInto(out *TaskRef)
- func (*TaskRef) Descriptor() ([]byte, []int)
- func (m *TaskRef) Marshal() (dAtA []byte, err error)
- func (m *TaskRef) MarshalTo(dAtA []byte) (int, error)
- func (m *TaskRef) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TaskRef) ProtoMessage()
- func (m *TaskRef) Reset()
- func (m *TaskRef) Size() (n int)
- func (this *TaskRef) String() string
- func (m *TaskRef) Unmarshal(dAtA []byte) error
- func (m *TaskRef) XXX_DiscardUnknown()
- func (m *TaskRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TaskRef) XXX_Merge(src proto.Message)
- func (m *TaskRef) XXX_Size() int
- func (m *TaskRef) XXX_Unmarshal(b []byte) error
- type TaskSpec
- func (in *TaskSpec) DeepCopy() *TaskSpec
- func (in *TaskSpec) DeepCopyInto(out *TaskSpec)
- func (*TaskSpec) Descriptor() ([]byte, []int)
- func (m *TaskSpec) Marshal() (dAtA []byte, err error)
- func (m *TaskSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *TaskSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TaskSpec) ProtoMessage()
- func (m *TaskSpec) Reset()
- func (m *TaskSpec) Size() (n int)
- func (this *TaskSpec) String() string
- func (m *TaskSpec) Unmarshal(dAtA []byte) error
- func (m *TaskSpec) XXX_DiscardUnknown()
- func (m *TaskSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TaskSpec) XXX_Merge(src proto.Message)
- func (m *TaskSpec) XXX_Size() int
- func (m *TaskSpec) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // ResourceVersion will be used to trigger restarts for ReplicaSet and RC pods StashKey = "stash.appscode.com" KeyBackupBlueprint = StashKey + "/backup-blueprint" KeyTargetPaths = StashKey + "/target-paths" KeyVolumeMounts = StashKey + "/volume-mounts" KeyLastAppliedRestoreSession = StashKey + "/last-applied-restoresession" KeyLastAppliedBackupInvoker = StashKey + "/last-applied-backup-invoker" KeyLastAppliedBackupInvokerKind = StashKey + "/last-applied-backup-invoker-kind" AppliedBackupInvokerSpecHash = StashKey + "/last-applied-backup-invoker-hash" AppliedRestoreSessionSpecHash = StashKey + "/last-applied-restoresession-hash" )
const ( ResourceKindBackupBatch = "BackupBatch" ResourceSingularBackupBatch = "backupbatch" ResourcePluralBackupBatch = "backupbatches" )
const ( ResourceKindBackupBlueprint = "BackupBlueprint" ResourcePluralBackupBlueprint = "backupblueprints" ResourceSingularBackupBlueprint = "backupblueprint" )
const ( ResourceKindBackupConfiguration = "BackupConfiguration" ResourceSingularBackupConfiguration = "backupconfiguration" ResourcePluralBackupConfiguration = "backupconfigurations" )
const ( ResourceKindBackupSession = "BackupSession" ResourceSingularBackupSession = "backupsession" ResourcePluralBackupSession = "backupsessions" )
const ( ResourceKindFunction = "Function" ResourcePluralFunction = "functions" ResourceSingularFunction = "function" )
const ( ResourceKindRestoreSession = "RestoreSession" ResourcePluralRestoreSession = "restoresessions" ResourceSingularRestoreSession = "restoresession" )
const ( ResourceKindTask = "Task" ResourcePluralTask = "tasks" ResourceSingularTask = "task" )
const ( StashBackupComponent = "stash-backup" StashRestoreComponent = "stash-restore" )
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: stash.GroupName, Version: "v1beta1"}
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func GetOpenAPIDefinitionsWithRetentionPolicy ¶
func GetOpenAPIDefinitionsWithRetentionPolicy(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type BackupBatch ¶
type BackupBatch struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec BackupBatchSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status BackupBatchStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=backupbatches,singular=backupbatch,categories={stash,appscode,all} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Schedule",type="string",JSONPath=".spec.schedule" +kubebuilder:printcolumn:name="Paused",type="boolean",JSONPath=".spec.paused" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (BackupBatch) CustomResourceDefinition ¶
func (_ BackupBatch) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*BackupBatch) DeepCopy ¶
func (in *BackupBatch) DeepCopy() *BackupBatch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBatch.
func (*BackupBatch) DeepCopyInto ¶
func (in *BackupBatch) DeepCopyInto(out *BackupBatch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupBatch) DeepCopyObject ¶
func (in *BackupBatch) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupBatch) Descriptor ¶
func (*BackupBatch) Descriptor() ([]byte, []int)
func (BackupBatch) GetSpecHash ¶
func (b BackupBatch) GetSpecHash() string
func (*BackupBatch) Marshal ¶
func (m *BackupBatch) Marshal() (dAtA []byte, err error)
func (*BackupBatch) MarshalToSizedBuffer ¶
func (m *BackupBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (BackupBatch) OffshootLabels ¶
func (b BackupBatch) OffshootLabels() map[string]string
OffshootLabels return labels consist of the labels provided by user to BackupBatch crd and stash specific generic labels. It overwrites the the user provided labels if it matched with stash specific generic labels.
func (*BackupBatch) ProtoMessage ¶
func (*BackupBatch) ProtoMessage()
func (*BackupBatch) Reset ¶
func (m *BackupBatch) Reset()
func (*BackupBatch) Size ¶
func (m *BackupBatch) Size() (n int)
func (*BackupBatch) String ¶
func (this *BackupBatch) String() string
func (*BackupBatch) Unmarshal ¶
func (m *BackupBatch) Unmarshal(dAtA []byte) error
func (*BackupBatch) XXX_DiscardUnknown ¶
func (m *BackupBatch) XXX_DiscardUnknown()
func (*BackupBatch) XXX_Marshal ¶
func (m *BackupBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupBatch) XXX_Merge ¶
func (m *BackupBatch) XXX_Merge(src proto.Message)
func (*BackupBatch) XXX_Size ¶
func (m *BackupBatch) XXX_Size() int
func (*BackupBatch) XXX_Unmarshal ¶
func (m *BackupBatch) XXX_Unmarshal(b []byte) error
type BackupBatchList ¶
type BackupBatchList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []BackupBatch `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"` }
func (*BackupBatchList) DeepCopy ¶
func (in *BackupBatchList) DeepCopy() *BackupBatchList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBatchList.
func (*BackupBatchList) DeepCopyInto ¶
func (in *BackupBatchList) DeepCopyInto(out *BackupBatchList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupBatchList) DeepCopyObject ¶
func (in *BackupBatchList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupBatchList) Descriptor ¶
func (*BackupBatchList) Descriptor() ([]byte, []int)
func (*BackupBatchList) Marshal ¶
func (m *BackupBatchList) Marshal() (dAtA []byte, err error)
func (*BackupBatchList) MarshalToSizedBuffer ¶
func (m *BackupBatchList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackupBatchList) ProtoMessage ¶
func (*BackupBatchList) ProtoMessage()
func (*BackupBatchList) Reset ¶
func (m *BackupBatchList) Reset()
func (*BackupBatchList) Size ¶
func (m *BackupBatchList) Size() (n int)
func (*BackupBatchList) String ¶
func (this *BackupBatchList) String() string
func (*BackupBatchList) Unmarshal ¶
func (m *BackupBatchList) Unmarshal(dAtA []byte) error
func (*BackupBatchList) XXX_DiscardUnknown ¶
func (m *BackupBatchList) XXX_DiscardUnknown()
func (*BackupBatchList) XXX_Marshal ¶
func (m *BackupBatchList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupBatchList) XXX_Merge ¶
func (m *BackupBatchList) XXX_Merge(src proto.Message)
func (*BackupBatchList) XXX_Size ¶
func (m *BackupBatchList) XXX_Size() int
func (*BackupBatchList) XXX_Unmarshal ¶
func (m *BackupBatchList) XXX_Unmarshal(b []byte) error
type BackupBatchSpec ¶
type BackupBatchSpec struct { // members is a list of backup configurations that are part of this batch // +optional Members []BackupConfigurationTemplateSpec `json:"members,omitempty" protobuf:"bytes,1,rep,name=members"` // Schedule specifies the schedule for invoking backup sessions // +optional Schedule string `json:"schedule,omitempty" protobuf:"bytes,2,opt,name=schedule"` // RuntimeSettings allow to specify Resources, NodeSelector, Affinity, Toleration, ReadinessProbe etc, // and used to create service account for CronJob. // +optional RuntimeSettings ofst.RuntimeSettings `json:"runtimeSettings,omitempty" protobuf:"bytes,3,opt,name=runtimeSettings"` // Driver indicates the name of the agent to use to backup the target. // Supported values are "Restic", "VolumeSnapshotter". // Default value is "Restic". // +optional Driver Snapshotter `json:"driver,omitempty" protobuf:"bytes,4,opt,name=driver,casttype=Snapshotter"` // Repository refer to the Repository crd that holds backend information // +optional Repository core.LocalObjectReference `json:"repository,omitempty" protobuf:"bytes,5,opt,name=repository"` // RetentionPolicy indicates the policy to follow to clean old backup snapshots RetentionPolicy v1alpha1.RetentionPolicy `json:"retentionPolicy" protobuf:"bytes,6,opt,name=retentionPolicy"` // Indicates that the BackupConfiguration is paused from taking backup. Default value is 'false' // +optional Paused bool `json:"paused,omitempty" protobuf:"varint,7,opt,name=paused"` // BackupHistoryLimit specifies the number of BackupSession and it's associate resources to keep. // This is helpful for debugging purpose. // Default: 1 // +optional BackupHistoryLimit *int32 `json:"backupHistoryLimit,omitempty" protobuf:"varint,8,opt,name=backupHistoryLimit"` // Actions that Stash should take in response to backup sessions. // Cannot be updated. // +optional Hooks *BackupHooks `json:"hooks,omitempty" protobuf:"bytes,9,opt,name=hooks"` }
func (*BackupBatchSpec) DeepCopy ¶
func (in *BackupBatchSpec) DeepCopy() *BackupBatchSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBatchSpec.
func (*BackupBatchSpec) DeepCopyInto ¶
func (in *BackupBatchSpec) DeepCopyInto(out *BackupBatchSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupBatchSpec) Descriptor ¶
func (*BackupBatchSpec) Descriptor() ([]byte, []int)
func (*BackupBatchSpec) Marshal ¶
func (m *BackupBatchSpec) Marshal() (dAtA []byte, err error)
func (*BackupBatchSpec) MarshalToSizedBuffer ¶
func (m *BackupBatchSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackupBatchSpec) ProtoMessage ¶
func (*BackupBatchSpec) ProtoMessage()
func (*BackupBatchSpec) Reset ¶
func (m *BackupBatchSpec) Reset()
func (*BackupBatchSpec) Size ¶
func (m *BackupBatchSpec) Size() (n int)
func (*BackupBatchSpec) String ¶
func (this *BackupBatchSpec) String() string
func (*BackupBatchSpec) Unmarshal ¶
func (m *BackupBatchSpec) Unmarshal(dAtA []byte) error
func (*BackupBatchSpec) XXX_DiscardUnknown ¶
func (m *BackupBatchSpec) XXX_DiscardUnknown()
func (*BackupBatchSpec) XXX_Marshal ¶
func (m *BackupBatchSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupBatchSpec) XXX_Merge ¶
func (m *BackupBatchSpec) XXX_Merge(src proto.Message)
func (*BackupBatchSpec) XXX_Size ¶
func (m *BackupBatchSpec) XXX_Size() int
func (*BackupBatchSpec) XXX_Unmarshal ¶
func (m *BackupBatchSpec) XXX_Unmarshal(b []byte) error
type BackupBatchStatus ¶
type BackupBatchStatus struct { // ObservedGeneration is the most recent generation observed for this BackupBatch. It corresponds to the // BackupBatch's generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"` }
func (*BackupBatchStatus) DeepCopy ¶
func (in *BackupBatchStatus) DeepCopy() *BackupBatchStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBatchStatus.
func (*BackupBatchStatus) DeepCopyInto ¶
func (in *BackupBatchStatus) DeepCopyInto(out *BackupBatchStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupBatchStatus) Descriptor ¶
func (*BackupBatchStatus) Descriptor() ([]byte, []int)
func (*BackupBatchStatus) Marshal ¶
func (m *BackupBatchStatus) Marshal() (dAtA []byte, err error)
func (*BackupBatchStatus) MarshalTo ¶
func (m *BackupBatchStatus) MarshalTo(dAtA []byte) (int, error)
func (*BackupBatchStatus) MarshalToSizedBuffer ¶
func (m *BackupBatchStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackupBatchStatus) ProtoMessage ¶
func (*BackupBatchStatus) ProtoMessage()
func (*BackupBatchStatus) Reset ¶
func (m *BackupBatchStatus) Reset()
func (*BackupBatchStatus) Size ¶
func (m *BackupBatchStatus) Size() (n int)
func (*BackupBatchStatus) String ¶
func (this *BackupBatchStatus) String() string
func (*BackupBatchStatus) Unmarshal ¶
func (m *BackupBatchStatus) Unmarshal(dAtA []byte) error
func (*BackupBatchStatus) XXX_DiscardUnknown ¶
func (m *BackupBatchStatus) XXX_DiscardUnknown()
func (*BackupBatchStatus) XXX_Marshal ¶
func (m *BackupBatchStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupBatchStatus) XXX_Merge ¶
func (m *BackupBatchStatus) XXX_Merge(src proto.Message)
func (*BackupBatchStatus) XXX_Size ¶
func (m *BackupBatchStatus) XXX_Size() int
func (*BackupBatchStatus) XXX_Unmarshal ¶
func (m *BackupBatchStatus) XXX_Unmarshal(b []byte) error
type BackupBlueprint ¶
type BackupBlueprint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec BackupBlueprintSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=backupblueprints,singular=backupblueprint,scope=Cluster,shortName=bb,categories={stash,appscode} +kubebuilder:printcolumn:name="Task",type="string",JSONPath=".spec.task.name" +kubebuilder:printcolumn:name="Schedule",type="string",JSONPath=".spec.schedule" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (BackupBlueprint) CustomResourceDefinition ¶
func (_ BackupBlueprint) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*BackupBlueprint) DeepCopy ¶
func (in *BackupBlueprint) DeepCopy() *BackupBlueprint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBlueprint.
func (*BackupBlueprint) DeepCopyInto ¶
func (in *BackupBlueprint) DeepCopyInto(out *BackupBlueprint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupBlueprint) DeepCopyObject ¶
func (in *BackupBlueprint) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupBlueprint) Descriptor ¶
func (*BackupBlueprint) Descriptor() ([]byte, []int)
func (BackupBlueprint) GetSpecHash ¶
func (bb BackupBlueprint) GetSpecHash() string
func (*BackupBlueprint) Marshal ¶
func (m *BackupBlueprint) Marshal() (dAtA []byte, err error)
func (*BackupBlueprint) MarshalToSizedBuffer ¶
func (m *BackupBlueprint) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackupBlueprint) ProtoMessage ¶
func (*BackupBlueprint) ProtoMessage()
func (*BackupBlueprint) Reset ¶
func (m *BackupBlueprint) Reset()
func (*BackupBlueprint) Size ¶
func (m *BackupBlueprint) Size() (n int)
func (*BackupBlueprint) String ¶
func (this *BackupBlueprint) String() string
func (*BackupBlueprint) Unmarshal ¶
func (m *BackupBlueprint) Unmarshal(dAtA []byte) error
func (*BackupBlueprint) XXX_DiscardUnknown ¶
func (m *BackupBlueprint) XXX_DiscardUnknown()
func (*BackupBlueprint) XXX_Marshal ¶
func (m *BackupBlueprint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupBlueprint) XXX_Merge ¶
func (m *BackupBlueprint) XXX_Merge(src proto.Message)
func (*BackupBlueprint) XXX_Size ¶
func (m *BackupBlueprint) XXX_Size() int
func (*BackupBlueprint) XXX_Unmarshal ¶
func (m *BackupBlueprint) XXX_Unmarshal(b []byte) error
type BackupBlueprintList ¶
type BackupBlueprintList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []BackupBlueprint `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"` }
func (*BackupBlueprintList) DeepCopy ¶
func (in *BackupBlueprintList) DeepCopy() *BackupBlueprintList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBlueprintList.
func (*BackupBlueprintList) DeepCopyInto ¶
func (in *BackupBlueprintList) DeepCopyInto(out *BackupBlueprintList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupBlueprintList) DeepCopyObject ¶
func (in *BackupBlueprintList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupBlueprintList) Descriptor ¶
func (*BackupBlueprintList) Descriptor() ([]byte, []int)
func (*BackupBlueprintList) Marshal ¶
func (m *BackupBlueprintList) Marshal() (dAtA []byte, err error)
func (*BackupBlueprintList) MarshalTo ¶
func (m *BackupBlueprintList) MarshalTo(dAtA []byte) (int, error)
func (*BackupBlueprintList) MarshalToSizedBuffer ¶
func (m *BackupBlueprintList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackupBlueprintList) ProtoMessage ¶
func (*BackupBlueprintList) ProtoMessage()
func (*BackupBlueprintList) Reset ¶
func (m *BackupBlueprintList) Reset()
func (*BackupBlueprintList) Size ¶
func (m *BackupBlueprintList) Size() (n int)
func (*BackupBlueprintList) String ¶
func (this *BackupBlueprintList) String() string
func (*BackupBlueprintList) Unmarshal ¶
func (m *BackupBlueprintList) Unmarshal(dAtA []byte) error
func (*BackupBlueprintList) XXX_DiscardUnknown ¶
func (m *BackupBlueprintList) XXX_DiscardUnknown()
func (*BackupBlueprintList) XXX_Marshal ¶
func (m *BackupBlueprintList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupBlueprintList) XXX_Merge ¶
func (m *BackupBlueprintList) XXX_Merge(src proto.Message)
func (*BackupBlueprintList) XXX_Size ¶
func (m *BackupBlueprintList) XXX_Size() int
func (*BackupBlueprintList) XXX_Unmarshal ¶
func (m *BackupBlueprintList) XXX_Unmarshal(b []byte) error
type BackupBlueprintSpec ¶
type BackupBlueprintSpec struct { // RepositorySpec is used to create Repository crd for respective workload v1alpha1.RepositorySpec `json:",inline" protobuf:"bytes,1,opt,name=repositorySpec"` Schedule string `json:"schedule,omitempty" protobuf:"bytes,2,opt,name=schedule"` // Task specify the Task crd that specifies steps for backup process // +optional Task TaskRef `json:"task,omitempty" protobuf:"bytes,3,opt,name=task"` // RetentionPolicy indicates the policy to follow to clean old backup snapshots RetentionPolicy v1alpha1.RetentionPolicy `json:"retentionPolicy" protobuf:"bytes,4,opt,name=retentionPolicy"` // RuntimeSettings allow to specify Resources, NodeSelector, Affinity, Toleration, ReadinessProbe etc. // +optional RuntimeSettings ofst.RuntimeSettings `json:"runtimeSettings,omitempty" protobuf:"bytes,5,opt,name=runtimeSettings"` // Temp directory configuration for functions/sidecar // An `EmptyDir` will always be mounted at /tmp with this settings // +optional TempDir EmptyDirSettings `json:"tempDir,omitempty" protobuf:"bytes,6,opt,name=tempDir"` // InterimVolumeTemplate specifies a template for a volume to hold targeted data temporarily // before uploading to backend or inserting into target. It is only usable for job model. // Don't specify it in sidecar model. // +optional InterimVolumeTemplate *ofst.PersistentVolumeClaim `json:"interimVolumeTemplate,omitempty" protobuf:"bytes,7,opt,name=interimVolumeTemplate"` // BackupHistoryLimit specifies the number of BackupSession and it's associate resources to keep. // This is helpful for debugging purpose. // Default: 1 // +optional BackupHistoryLimit *int32 `json:"backupHistoryLimit,omitempty" protobuf:"varint,8,opt,name=backupHistoryLimit"` }
func (*BackupBlueprintSpec) DeepCopy ¶
func (in *BackupBlueprintSpec) DeepCopy() *BackupBlueprintSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBlueprintSpec.
func (*BackupBlueprintSpec) DeepCopyInto ¶
func (in *BackupBlueprintSpec) DeepCopyInto(out *BackupBlueprintSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupBlueprintSpec) Descriptor ¶
func (*BackupBlueprintSpec) Descriptor() ([]byte, []int)
func (*BackupBlueprintSpec) Marshal ¶
func (m *BackupBlueprintSpec) Marshal() (dAtA []byte, err error)
func (*BackupBlueprintSpec) MarshalTo ¶
func (m *BackupBlueprintSpec) MarshalTo(dAtA []byte) (int, error)
func (*BackupBlueprintSpec) MarshalToSizedBuffer ¶
func (m *BackupBlueprintSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackupBlueprintSpec) ProtoMessage ¶
func (*BackupBlueprintSpec) ProtoMessage()
func (*BackupBlueprintSpec) Reset ¶
func (m *BackupBlueprintSpec) Reset()
func (*BackupBlueprintSpec) Size ¶
func (m *BackupBlueprintSpec) Size() (n int)
func (*BackupBlueprintSpec) String ¶
func (this *BackupBlueprintSpec) String() string
func (*BackupBlueprintSpec) Unmarshal ¶
func (m *BackupBlueprintSpec) Unmarshal(dAtA []byte) error
func (*BackupBlueprintSpec) XXX_DiscardUnknown ¶
func (m *BackupBlueprintSpec) XXX_DiscardUnknown()
func (*BackupBlueprintSpec) XXX_Marshal ¶
func (m *BackupBlueprintSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupBlueprintSpec) XXX_Merge ¶
func (m *BackupBlueprintSpec) XXX_Merge(src proto.Message)
func (*BackupBlueprintSpec) XXX_Size ¶
func (m *BackupBlueprintSpec) XXX_Size() int
func (*BackupBlueprintSpec) XXX_Unmarshal ¶
func (m *BackupBlueprintSpec) XXX_Unmarshal(b []byte) error
type BackupConfiguration ¶
type BackupConfiguration struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec BackupConfigurationSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status BackupConfigurationStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=backupconfigurations,singular=backupconfiguration,shortName=bc,categories={stash,appscode,all} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Task",type="string",JSONPath=".spec.task.name" +kubebuilder:printcolumn:name="Schedule",type="string",JSONPath=".spec.schedule" +kubebuilder:printcolumn:name="Paused",type="boolean",JSONPath=".spec.paused" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (BackupConfiguration) CustomResourceDefinition ¶
func (_ BackupConfiguration) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*BackupConfiguration) DeepCopy ¶
func (in *BackupConfiguration) DeepCopy() *BackupConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfiguration.
func (*BackupConfiguration) DeepCopyInto ¶
func (in *BackupConfiguration) DeepCopyInto(out *BackupConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupConfiguration) DeepCopyObject ¶
func (in *BackupConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupConfiguration) Descriptor ¶
func (*BackupConfiguration) Descriptor() ([]byte, []int)
func (BackupConfiguration) GetSpecHash ¶
func (b BackupConfiguration) GetSpecHash() string
func (*BackupConfiguration) Marshal ¶
func (m *BackupConfiguration) Marshal() (dAtA []byte, err error)
func (*BackupConfiguration) MarshalTo ¶
func (m *BackupConfiguration) MarshalTo(dAtA []byte) (int, error)
func (*BackupConfiguration) MarshalToSizedBuffer ¶
func (m *BackupConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (BackupConfiguration) OffshootLabels ¶
func (b BackupConfiguration) OffshootLabels() map[string]string
OffshootLabels return labels consist of the labels provided by user to BackupConfiguration crd and stash specific generic labels. It overwrites the the user provided labels if it matched with stash specific generic labels.
func (*BackupConfiguration) ProtoMessage ¶
func (*BackupConfiguration) ProtoMessage()
func (*BackupConfiguration) Reset ¶
func (m *BackupConfiguration) Reset()
func (*BackupConfiguration) Size ¶
func (m *BackupConfiguration) Size() (n int)
func (*BackupConfiguration) String ¶
func (this *BackupConfiguration) String() string
func (*BackupConfiguration) Unmarshal ¶
func (m *BackupConfiguration) Unmarshal(dAtA []byte) error
func (*BackupConfiguration) XXX_DiscardUnknown ¶
func (m *BackupConfiguration) XXX_DiscardUnknown()
func (*BackupConfiguration) XXX_Marshal ¶
func (m *BackupConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupConfiguration) XXX_Merge ¶
func (m *BackupConfiguration) XXX_Merge(src proto.Message)
func (*BackupConfiguration) XXX_Size ¶
func (m *BackupConfiguration) XXX_Size() int
func (*BackupConfiguration) XXX_Unmarshal ¶
func (m *BackupConfiguration) XXX_Unmarshal(b []byte) error
type BackupConfigurationList ¶
type BackupConfigurationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []BackupConfiguration `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"` }
func (*BackupConfigurationList) DeepCopy ¶
func (in *BackupConfigurationList) DeepCopy() *BackupConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationList.
func (*BackupConfigurationList) DeepCopyInto ¶
func (in *BackupConfigurationList) DeepCopyInto(out *BackupConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupConfigurationList) DeepCopyObject ¶
func (in *BackupConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupConfigurationList) Descriptor ¶
func (*BackupConfigurationList) Descriptor() ([]byte, []int)
func (*BackupConfigurationList) Marshal ¶
func (m *BackupConfigurationList) Marshal() (dAtA []byte, err error)
func (*BackupConfigurationList) MarshalTo ¶
func (m *BackupConfigurationList) MarshalTo(dAtA []byte) (int, error)
func (*BackupConfigurationList) MarshalToSizedBuffer ¶
func (m *BackupConfigurationList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackupConfigurationList) ProtoMessage ¶
func (*BackupConfigurationList) ProtoMessage()
func (*BackupConfigurationList) Reset ¶
func (m *BackupConfigurationList) Reset()
func (*BackupConfigurationList) Size ¶
func (m *BackupConfigurationList) Size() (n int)
func (*BackupConfigurationList) String ¶
func (this *BackupConfigurationList) String() string
func (*BackupConfigurationList) Unmarshal ¶
func (m *BackupConfigurationList) Unmarshal(dAtA []byte) error
func (*BackupConfigurationList) XXX_DiscardUnknown ¶
func (m *BackupConfigurationList) XXX_DiscardUnknown()
func (*BackupConfigurationList) XXX_Marshal ¶
func (m *BackupConfigurationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupConfigurationList) XXX_Merge ¶
func (m *BackupConfigurationList) XXX_Merge(src proto.Message)
func (*BackupConfigurationList) XXX_Size ¶
func (m *BackupConfigurationList) XXX_Size() int
func (*BackupConfigurationList) XXX_Unmarshal ¶
func (m *BackupConfigurationList) XXX_Unmarshal(b []byte) error
type BackupConfigurationSpec ¶
type BackupConfigurationSpec struct { BackupConfigurationTemplateSpec `json:",inline,omitempty" protobuf:"bytes,1,opt,name=backupConfigurationTemplateSpec"` // Schedule specifies the schedule for invoking backup sessions // +optional Schedule string `json:"schedule,omitempty" protobuf:"bytes,2,opt,name=schedule"` // Driver indicates the name of the agent to use to backup the target. // Supported values are "Restic", "VolumeSnapshotter". // Default value is "Restic". // +optional Driver Snapshotter `json:"driver,omitempty" protobuf:"bytes,3,opt,name=driver,casttype=Snapshotter"` // Repository refer to the Repository crd that holds backend information // +optional Repository core.LocalObjectReference `json:"repository,omitempty" protobuf:"bytes,4,opt,name=repository"` // RetentionPolicy indicates the policy to follow to clean old backup snapshots RetentionPolicy v1alpha1.RetentionPolicy `json:"retentionPolicy" protobuf:"bytes,5,opt,name=retentionPolicy"` // Indicates that the BackupConfiguration is paused from taking backup. Default value is 'false' // +optional Paused bool `json:"paused,omitempty" protobuf:"varint,6,opt,name=paused"` // BackupHistoryLimit specifies the number of BackupSession and it's associate resources to keep. // This is helpful for debugging purpose. // Default: 1 // +optional BackupHistoryLimit *int32 `json:"backupHistoryLimit,omitempty" protobuf:"varint,7,opt,name=backupHistoryLimit"` }
func (*BackupConfigurationSpec) DeepCopy ¶
func (in *BackupConfigurationSpec) DeepCopy() *BackupConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationSpec.
func (*BackupConfigurationSpec) DeepCopyInto ¶
func (in *BackupConfigurationSpec) DeepCopyInto(out *BackupConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupConfigurationSpec) Descriptor ¶
func (*BackupConfigurationSpec) Descriptor() ([]byte, []int)
func (*BackupConfigurationSpec) Marshal ¶
func (m *BackupConfigurationSpec) Marshal() (dAtA []byte, err error)
func (*BackupConfigurationSpec) MarshalTo ¶
func (m *BackupConfigurationSpec) MarshalTo(dAtA []byte) (int, error)
func (*BackupConfigurationSpec) MarshalToSizedBuffer ¶
func (m *BackupConfigurationSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackupConfigurationSpec) ProtoMessage ¶
func (*BackupConfigurationSpec) ProtoMessage()
func (*BackupConfigurationSpec) Reset ¶
func (m *BackupConfigurationSpec) Reset()
func (*BackupConfigurationSpec) Size ¶
func (m *BackupConfigurationSpec) Size() (n int)
func (*BackupConfigurationSpec) String ¶
func (this *BackupConfigurationSpec) String() string
func (*BackupConfigurationSpec) Unmarshal ¶
func (m *BackupConfigurationSpec) Unmarshal(dAtA []byte) error
func (*BackupConfigurationSpec) XXX_DiscardUnknown ¶
func (m *BackupConfigurationSpec) XXX_DiscardUnknown()
func (*BackupConfigurationSpec) XXX_Marshal ¶
func (m *BackupConfigurationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupConfigurationSpec) XXX_Merge ¶
func (m *BackupConfigurationSpec) XXX_Merge(src proto.Message)
func (*BackupConfigurationSpec) XXX_Size ¶
func (m *BackupConfigurationSpec) XXX_Size() int
func (*BackupConfigurationSpec) XXX_Unmarshal ¶
func (m *BackupConfigurationSpec) XXX_Unmarshal(b []byte) error
type BackupConfigurationStatus ¶
type BackupConfigurationStatus struct { // ObservedGeneration is the most recent generation observed for this BackupConfiguration. It corresponds to the // BackupConfiguration's generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"` }
func (*BackupConfigurationStatus) DeepCopy ¶
func (in *BackupConfigurationStatus) DeepCopy() *BackupConfigurationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationStatus.
func (*BackupConfigurationStatus) DeepCopyInto ¶
func (in *BackupConfigurationStatus) DeepCopyInto(out *BackupConfigurationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupConfigurationStatus) Descriptor ¶
func (*BackupConfigurationStatus) Descriptor() ([]byte, []int)
func (*BackupConfigurationStatus) Marshal ¶
func (m *BackupConfigurationStatus) Marshal() (dAtA []byte, err error)
func (*BackupConfigurationStatus) MarshalTo ¶
func (m *BackupConfigurationStatus) MarshalTo(dAtA []byte) (int, error)
func (*BackupConfigurationStatus) MarshalToSizedBuffer ¶
func (m *BackupConfigurationStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackupConfigurationStatus) ProtoMessage ¶
func (*BackupConfigurationStatus) ProtoMessage()
func (*BackupConfigurationStatus) Reset ¶
func (m *BackupConfigurationStatus) Reset()
func (*BackupConfigurationStatus) Size ¶
func (m *BackupConfigurationStatus) Size() (n int)
func (*BackupConfigurationStatus) String ¶
func (this *BackupConfigurationStatus) String() string
func (*BackupConfigurationStatus) Unmarshal ¶
func (m *BackupConfigurationStatus) Unmarshal(dAtA []byte) error
func (*BackupConfigurationStatus) XXX_DiscardUnknown ¶
func (m *BackupConfigurationStatus) XXX_DiscardUnknown()
func (*BackupConfigurationStatus) XXX_Marshal ¶
func (m *BackupConfigurationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupConfigurationStatus) XXX_Merge ¶
func (m *BackupConfigurationStatus) XXX_Merge(src proto.Message)
func (*BackupConfigurationStatus) XXX_Size ¶
func (m *BackupConfigurationStatus) XXX_Size() int
func (*BackupConfigurationStatus) XXX_Unmarshal ¶
func (m *BackupConfigurationStatus) XXX_Unmarshal(b []byte) error
type BackupConfigurationTemplateSpec ¶
type BackupConfigurationTemplateSpec struct { // Task specify the Task crd that specifies the steps to take backup // +optional Task TaskRef `json:"task,omitempty" protobuf:"bytes,1,opt,name=task"` // Target specify the backup target // +optional Target *BackupTarget `json:"target,omitempty" protobuf:"bytes,2,opt,name=target"` // RuntimeSettings allow to specify Resources, NodeSelector, Affinity, Toleration, ReadinessProbe etc. // +optional RuntimeSettings ofst.RuntimeSettings `json:"runtimeSettings,omitempty" protobuf:"bytes,3,opt,name=runtimeSettings"` // Temp directory configuration for functions/sidecar // An `EmptyDir` will always be mounted at /tmp with this settings // +optional TempDir EmptyDirSettings `json:"tempDir,omitempty" protobuf:"bytes,4,opt,name=tempDir"` // InterimVolumeTemplate specifies a template for a volume to hold targeted data temporarily // before uploading to backend or inserting into target. It is only usable for job model. // Don't specify it in sidecar model. // +optional InterimVolumeTemplate *ofst.PersistentVolumeClaim `json:"interimVolumeTemplate,omitempty" protobuf:"bytes,5,opt,name=interimVolumeTemplate"` // Actions that Stash should take in response to backup sessions. // +optional Hooks *BackupHooks `json:"hooks,omitempty" protobuf:"bytes,6,opt,name=hooks"` }
func (*BackupConfigurationTemplateSpec) DeepCopy ¶
func (in *BackupConfigurationTemplateSpec) DeepCopy() *BackupConfigurationTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationTemplateSpec.
func (*BackupConfigurationTemplateSpec) DeepCopyInto ¶
func (in *BackupConfigurationTemplateSpec) DeepCopyInto(out *BackupConfigurationTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupConfigurationTemplateSpec) Descriptor ¶
func (*BackupConfigurationTemplateSpec) Descriptor() ([]byte, []int)
func (*BackupConfigurationTemplateSpec) Marshal ¶
func (m *BackupConfigurationTemplateSpec) Marshal() (dAtA []byte, err error)
func (*BackupConfigurationTemplateSpec) MarshalTo ¶
func (m *BackupConfigurationTemplateSpec) MarshalTo(dAtA []byte) (int, error)
func (*BackupConfigurationTemplateSpec) MarshalToSizedBuffer ¶
func (m *BackupConfigurationTemplateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackupConfigurationTemplateSpec) ProtoMessage ¶
func (*BackupConfigurationTemplateSpec) ProtoMessage()
func (*BackupConfigurationTemplateSpec) Reset ¶
func (m *BackupConfigurationTemplateSpec) Reset()
func (*BackupConfigurationTemplateSpec) Size ¶
func (m *BackupConfigurationTemplateSpec) Size() (n int)
func (*BackupConfigurationTemplateSpec) String ¶
func (this *BackupConfigurationTemplateSpec) String() string
func (*BackupConfigurationTemplateSpec) Unmarshal ¶
func (m *BackupConfigurationTemplateSpec) Unmarshal(dAtA []byte) error
func (*BackupConfigurationTemplateSpec) XXX_DiscardUnknown ¶
func (m *BackupConfigurationTemplateSpec) XXX_DiscardUnknown()
func (*BackupConfigurationTemplateSpec) XXX_Marshal ¶
func (m *BackupConfigurationTemplateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupConfigurationTemplateSpec) XXX_Merge ¶
func (m *BackupConfigurationTemplateSpec) XXX_Merge(src proto.Message)
func (*BackupConfigurationTemplateSpec) XXX_Size ¶
func (m *BackupConfigurationTemplateSpec) XXX_Size() int
func (*BackupConfigurationTemplateSpec) XXX_Unmarshal ¶
func (m *BackupConfigurationTemplateSpec) XXX_Unmarshal(b []byte) error
type BackupHooks ¶
type BackupHooks struct { // PreBackup is called immediately before a backup session is initiated. // +optional PreBackup *prober.Handler `json:"preBackup,omitempty" protobuf:"bytes,1,opt,name=preBackup"` // PostBackup is called immediately after a backup session is complete. // +optional PostBackup *prober.Handler `json:"postBackup,omitempty" protobuf:"bytes,2,opt,name=postBackup"` }
Hooks describes actions that Stash should take in response to backup sessions. For the PostBackup and PreBackup handlers, backup process blocks until the action is complete, unless the container process fails, in which case the handler is aborted.
func (*BackupHooks) DeepCopy ¶
func (in *BackupHooks) DeepCopy() *BackupHooks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupHooks.
func (*BackupHooks) DeepCopyInto ¶
func (in *BackupHooks) DeepCopyInto(out *BackupHooks)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupHooks) Descriptor ¶
func (*BackupHooks) Descriptor() ([]byte, []int)
func (*BackupHooks) Marshal ¶
func (m *BackupHooks) Marshal() (dAtA []byte, err error)
func (*BackupHooks) MarshalToSizedBuffer ¶
func (m *BackupHooks) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackupHooks) ProtoMessage ¶
func (*BackupHooks) ProtoMessage()
func (*BackupHooks) Reset ¶
func (m *BackupHooks) Reset()
func (*BackupHooks) Size ¶
func (m *BackupHooks) Size() (n int)
func (*BackupHooks) String ¶
func (this *BackupHooks) String() string
func (*BackupHooks) Unmarshal ¶
func (m *BackupHooks) Unmarshal(dAtA []byte) error
func (*BackupHooks) XXX_DiscardUnknown ¶
func (m *BackupHooks) XXX_DiscardUnknown()
func (*BackupHooks) XXX_Marshal ¶
func (m *BackupHooks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupHooks) XXX_Merge ¶
func (m *BackupHooks) XXX_Merge(src proto.Message)
func (*BackupHooks) XXX_Size ¶
func (m *BackupHooks) XXX_Size() int
func (*BackupHooks) XXX_Unmarshal ¶
func (m *BackupHooks) XXX_Unmarshal(b []byte) error
type BackupInvokerRef ¶
type BackupInvokerRef struct { // APIGroup is the group for the resource being referenced // +optional APIGroup string `json:"apiGroup,omitempty" protobuf:"bytes,1,opt,name=apiGroup"` // Kind is the type of resource being referenced Kind string `json:"kind" protobuf:"bytes,2,opt,name=kind"` // Name is the name of resource being referenced Name string `json:"name" protobuf:"bytes,3,opt,name=name"` }
BackupInvokerRef contains information that points to the backup configuration or batch being used
func (*BackupInvokerRef) DeepCopy ¶
func (in *BackupInvokerRef) DeepCopy() *BackupInvokerRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupInvokerRef.
func (*BackupInvokerRef) DeepCopyInto ¶
func (in *BackupInvokerRef) DeepCopyInto(out *BackupInvokerRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupInvokerRef) Descriptor ¶
func (*BackupInvokerRef) Descriptor() ([]byte, []int)
func (*BackupInvokerRef) Marshal ¶
func (m *BackupInvokerRef) Marshal() (dAtA []byte, err error)
func (*BackupInvokerRef) MarshalToSizedBuffer ¶
func (m *BackupInvokerRef) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackupInvokerRef) ProtoMessage ¶
func (*BackupInvokerRef) ProtoMessage()
func (*BackupInvokerRef) Reset ¶
func (m *BackupInvokerRef) Reset()
func (*BackupInvokerRef) Size ¶
func (m *BackupInvokerRef) Size() (n int)
func (*BackupInvokerRef) String ¶
func (this *BackupInvokerRef) String() string
func (*BackupInvokerRef) Unmarshal ¶
func (m *BackupInvokerRef) Unmarshal(dAtA []byte) error
func (*BackupInvokerRef) XXX_DiscardUnknown ¶
func (m *BackupInvokerRef) XXX_DiscardUnknown()
func (*BackupInvokerRef) XXX_Marshal ¶
func (m *BackupInvokerRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupInvokerRef) XXX_Merge ¶
func (m *BackupInvokerRef) XXX_Merge(src proto.Message)
func (*BackupInvokerRef) XXX_Size ¶
func (m *BackupInvokerRef) XXX_Size() int
func (*BackupInvokerRef) XXX_Unmarshal ¶
func (m *BackupInvokerRef) XXX_Unmarshal(b []byte) error
type BackupSession ¶
type BackupSession struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec BackupSessionSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status BackupSessionStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=backupsessions,singular=backupsession,categories={stash,appscode,all} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Invoker-Type",type="string",JSONPath=".spec.invoker.kind" +kubebuilder:printcolumn:name="Invoker-Name",type="string",JSONPath=".spec.invoker.name" +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (BackupSession) CustomResourceDefinition ¶
func (_ BackupSession) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*BackupSession) DeepCopy ¶
func (in *BackupSession) DeepCopy() *BackupSession
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSession.
func (*BackupSession) DeepCopyInto ¶
func (in *BackupSession) DeepCopyInto(out *BackupSession)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupSession) DeepCopyObject ¶
func (in *BackupSession) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupSession) Descriptor ¶
func (*BackupSession) Descriptor() ([]byte, []int)
func (BackupSession) GetSpecHash ¶
func (bs BackupSession) GetSpecHash() string
func (*BackupSession) Marshal ¶
func (m *BackupSession) Marshal() (dAtA []byte, err error)
func (*BackupSession) MarshalToSizedBuffer ¶
func (m *BackupSession) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackupSession) ProtoMessage ¶
func (*BackupSession) ProtoMessage()
func (*BackupSession) Reset ¶
func (m *BackupSession) Reset()
func (*BackupSession) Size ¶
func (m *BackupSession) Size() (n int)
func (*BackupSession) String ¶
func (this *BackupSession) String() string
func (*BackupSession) Unmarshal ¶
func (m *BackupSession) Unmarshal(dAtA []byte) error
func (*BackupSession) XXX_DiscardUnknown ¶
func (m *BackupSession) XXX_DiscardUnknown()
func (*BackupSession) XXX_Marshal ¶
func (m *BackupSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupSession) XXX_Merge ¶
func (m *BackupSession) XXX_Merge(src proto.Message)
func (*BackupSession) XXX_Size ¶
func (m *BackupSession) XXX_Size() int
func (*BackupSession) XXX_Unmarshal ¶
func (m *BackupSession) XXX_Unmarshal(b []byte) error
type BackupSessionList ¶
type BackupSessionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []BackupSession `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"` }
func (*BackupSessionList) DeepCopy ¶
func (in *BackupSessionList) DeepCopy() *BackupSessionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSessionList.
func (*BackupSessionList) DeepCopyInto ¶
func (in *BackupSessionList) DeepCopyInto(out *BackupSessionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupSessionList) DeepCopyObject ¶
func (in *BackupSessionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupSessionList) Descriptor ¶
func (*BackupSessionList) Descriptor() ([]byte, []int)
func (*BackupSessionList) Marshal ¶
func (m *BackupSessionList) Marshal() (dAtA []byte, err error)
func (*BackupSessionList) MarshalTo ¶
func (m *BackupSessionList) MarshalTo(dAtA []byte) (int, error)
func (*BackupSessionList) MarshalToSizedBuffer ¶
func (m *BackupSessionList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackupSessionList) ProtoMessage ¶
func (*BackupSessionList) ProtoMessage()
func (*BackupSessionList) Reset ¶
func (m *BackupSessionList) Reset()
func (*BackupSessionList) Size ¶
func (m *BackupSessionList) Size() (n int)
func (*BackupSessionList) String ¶
func (this *BackupSessionList) String() string
func (*BackupSessionList) Unmarshal ¶
func (m *BackupSessionList) Unmarshal(dAtA []byte) error
func (*BackupSessionList) XXX_DiscardUnknown ¶
func (m *BackupSessionList) XXX_DiscardUnknown()
func (*BackupSessionList) XXX_Marshal ¶
func (m *BackupSessionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupSessionList) XXX_Merge ¶
func (m *BackupSessionList) XXX_Merge(src proto.Message)
func (*BackupSessionList) XXX_Size ¶
func (m *BackupSessionList) XXX_Size() int
func (*BackupSessionList) XXX_Unmarshal ¶
func (m *BackupSessionList) XXX_Unmarshal(b []byte) error
type BackupSessionPhase ¶
type BackupSessionPhase string
const ( BackupSessionPending BackupSessionPhase = "Pending" BackupSessionRunning BackupSessionPhase = "Running" BackupSessionSucceeded BackupSessionPhase = "Succeeded" BackupSessionFailed BackupSessionPhase = "Failed" BackupSessionUnknown BackupSessionPhase = "Unknown" )
type BackupSessionSpec ¶
type BackupSessionSpec struct { // Invoker refers to the BackupConfiguration or BackupBatch being used to invoke this backup session // +optional Invoker BackupInvokerRef `json:"invoker,omitempty" protobuf:"bytes,1,opt,name=invoker"` }
func (*BackupSessionSpec) DeepCopy ¶
func (in *BackupSessionSpec) DeepCopy() *BackupSessionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSessionSpec.
func (*BackupSessionSpec) DeepCopyInto ¶
func (in *BackupSessionSpec) DeepCopyInto(out *BackupSessionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupSessionSpec) Descriptor ¶
func (*BackupSessionSpec) Descriptor() ([]byte, []int)
func (*BackupSessionSpec) Marshal ¶
func (m *BackupSessionSpec) Marshal() (dAtA []byte, err error)
func (*BackupSessionSpec) MarshalTo ¶
func (m *BackupSessionSpec) MarshalTo(dAtA []byte) (int, error)
func (*BackupSessionSpec) MarshalToSizedBuffer ¶
func (m *BackupSessionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackupSessionSpec) ProtoMessage ¶
func (*BackupSessionSpec) ProtoMessage()
func (*BackupSessionSpec) Reset ¶
func (m *BackupSessionSpec) Reset()
func (*BackupSessionSpec) Size ¶
func (m *BackupSessionSpec) Size() (n int)
func (*BackupSessionSpec) String ¶
func (this *BackupSessionSpec) String() string
func (*BackupSessionSpec) Unmarshal ¶
func (m *BackupSessionSpec) Unmarshal(dAtA []byte) error
func (*BackupSessionSpec) XXX_DiscardUnknown ¶
func (m *BackupSessionSpec) XXX_DiscardUnknown()
func (*BackupSessionSpec) XXX_Marshal ¶
func (m *BackupSessionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupSessionSpec) XXX_Merge ¶
func (m *BackupSessionSpec) XXX_Merge(src proto.Message)
func (*BackupSessionSpec) XXX_Size ¶
func (m *BackupSessionSpec) XXX_Size() int
func (*BackupSessionSpec) XXX_Unmarshal ¶
func (m *BackupSessionSpec) XXX_Unmarshal(b []byte) error
type BackupSessionStatus ¶
type BackupSessionStatus struct { // Phase indicates the overall phase of the backup process for this BackupSession. Phase will be "Succeeded" only if // phase of all hosts are "Succeeded". If any of the host fail to complete backup, Phase will be "Failed". // +optional Phase BackupSessionPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=BackupSessionPhase"` // SessionDuration specify total time taken to complete current backup session (sum of backup duration of all targets) // +optional SessionDuration string `json:"sessionDuration,omitempty" protobuf:"bytes,2,opt,name=sessionDuration"` // Targets specify the backup status of individual targets // optional Targets []Target `json:"targets,omitempty" protobuf:"bytes,3,rep,name=targets"` }
func (*BackupSessionStatus) DeepCopy ¶
func (in *BackupSessionStatus) DeepCopy() *BackupSessionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSessionStatus.
func (*BackupSessionStatus) DeepCopyInto ¶
func (in *BackupSessionStatus) DeepCopyInto(out *BackupSessionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupSessionStatus) Descriptor ¶
func (*BackupSessionStatus) Descriptor() ([]byte, []int)
func (*BackupSessionStatus) Marshal ¶
func (m *BackupSessionStatus) Marshal() (dAtA []byte, err error)
func (*BackupSessionStatus) MarshalTo ¶
func (m *BackupSessionStatus) MarshalTo(dAtA []byte) (int, error)
func (*BackupSessionStatus) MarshalToSizedBuffer ¶
func (m *BackupSessionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackupSessionStatus) ProtoMessage ¶
func (*BackupSessionStatus) ProtoMessage()
func (*BackupSessionStatus) Reset ¶
func (m *BackupSessionStatus) Reset()
func (*BackupSessionStatus) Size ¶
func (m *BackupSessionStatus) Size() (n int)
func (*BackupSessionStatus) String ¶
func (this *BackupSessionStatus) String() string
func (*BackupSessionStatus) Unmarshal ¶
func (m *BackupSessionStatus) Unmarshal(dAtA []byte) error
func (*BackupSessionStatus) XXX_DiscardUnknown ¶
func (m *BackupSessionStatus) XXX_DiscardUnknown()
func (*BackupSessionStatus) XXX_Marshal ¶
func (m *BackupSessionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupSessionStatus) XXX_Merge ¶
func (m *BackupSessionStatus) XXX_Merge(src proto.Message)
func (*BackupSessionStatus) XXX_Size ¶
func (m *BackupSessionStatus) XXX_Size() int
func (*BackupSessionStatus) XXX_Unmarshal ¶
func (m *BackupSessionStatus) XXX_Unmarshal(b []byte) error
type BackupTarget ¶
type BackupTarget struct { // Ref refers to the backup target Ref TargetRef `json:"ref,omitempty" protobuf:"bytes,1,opt,name=ref"` // Paths specify the file paths to backup // +optional Paths []string `json:"paths,omitempty" protobuf:"bytes,2,rep,name=paths"` // VolumeMounts specifies the volumes to mount inside stash sidecar/init container // Specify the volumes that contains the target directories // +optional VolumeMounts []core.VolumeMount `json:"volumeMounts,omitempty" protobuf:"bytes,3,rep,name=volumeMounts"` //replicas are the desired number of replicas whose data should be backed up. // If unspecified, defaults to 1. // +optional Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,4,opt,name=replicas"` // Name of the VolumeSnapshotClass used by the VolumeSnapshot. If not specified, a default snapshot class will be used if it is available. // Use this field only if the "driver" field is set to "volumeSnapshotter". // +optional VolumeSnapshotClassName string `json:"snapshotClassName,omitempty" protobuf:"bytes,5,opt,name=snapshotClassName"` }
func (*BackupTarget) DeepCopy ¶
func (in *BackupTarget) DeepCopy() *BackupTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupTarget.
func (*BackupTarget) DeepCopyInto ¶
func (in *BackupTarget) DeepCopyInto(out *BackupTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupTarget) Descriptor ¶
func (*BackupTarget) Descriptor() ([]byte, []int)
func (*BackupTarget) Marshal ¶
func (m *BackupTarget) Marshal() (dAtA []byte, err error)
func (*BackupTarget) MarshalToSizedBuffer ¶
func (m *BackupTarget) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackupTarget) ProtoMessage ¶
func (*BackupTarget) ProtoMessage()
func (*BackupTarget) Reset ¶
func (m *BackupTarget) Reset()
func (*BackupTarget) Size ¶
func (m *BackupTarget) Size() (n int)
func (*BackupTarget) String ¶
func (this *BackupTarget) String() string
func (*BackupTarget) Unmarshal ¶
func (m *BackupTarget) Unmarshal(dAtA []byte) error
func (*BackupTarget) XXX_DiscardUnknown ¶
func (m *BackupTarget) XXX_DiscardUnknown()
func (*BackupTarget) XXX_Marshal ¶
func (m *BackupTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupTarget) XXX_Merge ¶
func (m *BackupTarget) XXX_Merge(src proto.Message)
func (*BackupTarget) XXX_Size ¶
func (m *BackupTarget) XXX_Size() int
func (*BackupTarget) XXX_Unmarshal ¶
func (m *BackupTarget) XXX_Unmarshal(b []byte) error
type EmptyDirSettings ¶
type EmptyDirSettings struct { Medium core.StorageMedium `json:"medium,omitempty" protobuf:"bytes,1,opt,name=medium,casttype=k8s.io/api/core/v1.StorageMedium"` SizeLimit *resource.Quantity `json:"sizeLimit,omitempty" protobuf:"bytes,2,opt,name=sizeLimit"` // More info: https://github.com/restic/restic/blob/master/doc/manual_rest.rst#caching DisableCaching bool `json:"disableCaching,omitempty" protobuf:"varint,3,opt,name=disableCaching"` }
func (*EmptyDirSettings) DeepCopy ¶
func (in *EmptyDirSettings) DeepCopy() *EmptyDirSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmptyDirSettings.
func (*EmptyDirSettings) DeepCopyInto ¶
func (in *EmptyDirSettings) DeepCopyInto(out *EmptyDirSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EmptyDirSettings) Descriptor ¶
func (*EmptyDirSettings) Descriptor() ([]byte, []int)
func (*EmptyDirSettings) Marshal ¶
func (m *EmptyDirSettings) Marshal() (dAtA []byte, err error)
func (*EmptyDirSettings) MarshalToSizedBuffer ¶
func (m *EmptyDirSettings) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EmptyDirSettings) ProtoMessage ¶
func (*EmptyDirSettings) ProtoMessage()
func (*EmptyDirSettings) Reset ¶
func (m *EmptyDirSettings) Reset()
func (*EmptyDirSettings) Size ¶
func (m *EmptyDirSettings) Size() (n int)
func (*EmptyDirSettings) String ¶
func (this *EmptyDirSettings) String() string
func (*EmptyDirSettings) Unmarshal ¶
func (m *EmptyDirSettings) Unmarshal(dAtA []byte) error
func (*EmptyDirSettings) XXX_DiscardUnknown ¶
func (m *EmptyDirSettings) XXX_DiscardUnknown()
func (*EmptyDirSettings) XXX_Marshal ¶
func (m *EmptyDirSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmptyDirSettings) XXX_Merge ¶
func (m *EmptyDirSettings) XXX_Merge(src proto.Message)
func (*EmptyDirSettings) XXX_Size ¶
func (m *EmptyDirSettings) XXX_Size() int
func (*EmptyDirSettings) XXX_Unmarshal ¶
func (m *EmptyDirSettings) XXX_Unmarshal(b []byte) error
type FileStats ¶
type FileStats struct { // TotalFiles shows total number of files that has been backed up TotalFiles *int64 `json:"totalFiles,omitempty" protobuf:"varint,1,opt,name=totalFiles"` // NewFiles shows total number of new files that has been created since last backup NewFiles *int64 `json:"newFiles,omitempty" protobuf:"varint,2,opt,name=newFiles"` // ModifiedFiles shows total number of files that has been modified since last backup ModifiedFiles *int64 `json:"modifiedFiles,omitempty" protobuf:"varint,3,opt,name=modifiedFiles"` // UnmodifiedFiles shows total number of files that has not been changed since last backup UnmodifiedFiles *int64 `json:"unmodifiedFiles,omitempty" protobuf:"varint,4,opt,name=unmodifiedFiles"` }
func (*FileStats) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileStats.
func (*FileStats) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FileStats) Descriptor ¶
func (*FileStats) MarshalToSizedBuffer ¶
func (*FileStats) ProtoMessage ¶
func (*FileStats) ProtoMessage()
func (*FileStats) XXX_DiscardUnknown ¶
func (m *FileStats) XXX_DiscardUnknown()
func (*FileStats) XXX_Marshal ¶
func (*FileStats) XXX_Unmarshal ¶
type Function ¶
type Function struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec FunctionSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=functions,singular=function,scope=Cluster,shortName=fn,categories={stash,appscode} +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (Function) CustomResourceDefinition ¶
func (_ Function) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*Function) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Function.
func (*Function) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Function) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Function) Descriptor ¶
func (*Function) MarshalToSizedBuffer ¶
func (*Function) ProtoMessage ¶
func (*Function) ProtoMessage()
func (*Function) XXX_DiscardUnknown ¶
func (m *Function) XXX_DiscardUnknown()
func (*Function) XXX_Marshal ¶
func (*Function) XXX_Unmarshal ¶
type FunctionList ¶
type FunctionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Function `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"` }
func (*FunctionList) DeepCopy ¶
func (in *FunctionList) DeepCopy() *FunctionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionList.
func (*FunctionList) DeepCopyInto ¶
func (in *FunctionList) DeepCopyInto(out *FunctionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FunctionList) DeepCopyObject ¶
func (in *FunctionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FunctionList) Descriptor ¶
func (*FunctionList) Descriptor() ([]byte, []int)
func (*FunctionList) Marshal ¶
func (m *FunctionList) Marshal() (dAtA []byte, err error)
func (*FunctionList) MarshalToSizedBuffer ¶
func (m *FunctionList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FunctionList) ProtoMessage ¶
func (*FunctionList) ProtoMessage()
func (*FunctionList) Reset ¶
func (m *FunctionList) Reset()
func (*FunctionList) Size ¶
func (m *FunctionList) Size() (n int)
func (*FunctionList) String ¶
func (this *FunctionList) String() string
func (*FunctionList) Unmarshal ¶
func (m *FunctionList) Unmarshal(dAtA []byte) error
func (*FunctionList) XXX_DiscardUnknown ¶
func (m *FunctionList) XXX_DiscardUnknown()
func (*FunctionList) XXX_Marshal ¶
func (m *FunctionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FunctionList) XXX_Merge ¶
func (m *FunctionList) XXX_Merge(src proto.Message)
func (*FunctionList) XXX_Size ¶
func (m *FunctionList) XXX_Size() int
func (*FunctionList) XXX_Unmarshal ¶
func (m *FunctionList) XXX_Unmarshal(b []byte) error
type FunctionRef ¶
type FunctionRef struct { // Name indicates the name of Function crd Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` // Inputs specifies the inputs of respective Function // +optional Params []Param `json:"params,omitempty" protobuf:"bytes,2,rep,name=params"` }
func (*FunctionRef) DeepCopy ¶
func (in *FunctionRef) DeepCopy() *FunctionRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionRef.
func (*FunctionRef) DeepCopyInto ¶
func (in *FunctionRef) DeepCopyInto(out *FunctionRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FunctionRef) Descriptor ¶
func (*FunctionRef) Descriptor() ([]byte, []int)
func (*FunctionRef) Marshal ¶
func (m *FunctionRef) Marshal() (dAtA []byte, err error)
func (*FunctionRef) MarshalToSizedBuffer ¶
func (m *FunctionRef) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FunctionRef) ProtoMessage ¶
func (*FunctionRef) ProtoMessage()
func (*FunctionRef) Reset ¶
func (m *FunctionRef) Reset()
func (*FunctionRef) Size ¶
func (m *FunctionRef) Size() (n int)
func (*FunctionRef) String ¶
func (this *FunctionRef) String() string
func (*FunctionRef) Unmarshal ¶
func (m *FunctionRef) Unmarshal(dAtA []byte) error
func (*FunctionRef) XXX_DiscardUnknown ¶
func (m *FunctionRef) XXX_DiscardUnknown()
func (*FunctionRef) XXX_Marshal ¶
func (m *FunctionRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FunctionRef) XXX_Merge ¶
func (m *FunctionRef) XXX_Merge(src proto.Message)
func (*FunctionRef) XXX_Size ¶
func (m *FunctionRef) XXX_Size() int
func (*FunctionRef) XXX_Unmarshal ¶
func (m *FunctionRef) XXX_Unmarshal(b []byte) error
type FunctionSpec ¶
type FunctionSpec struct { // Docker image name. // More info: https://kubernetes.io/docs/concepts/containers/images // This field is optional to allow higher level config management to default or override // container images in workload controllers like Deployments and StatefulSets. // +optional Image string `json:"image,omitempty" protobuf:"bytes,1,opt,name=image"` // Entrypoint array. Not executed within a shell. // The docker image's ENTRYPOINT is used if this is not provided. // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable // cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax // can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, // regardless of whether the variable exists or not. // Cannot be updated. // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell // +optional Command []string `json:"command,omitempty" protobuf:"bytes,2,rep,name=command"` // Arguments to the entrypoint. // The docker image's CMD is used if this is not provided. // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable // cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax // can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, // regardless of whether the variable exists or not. // Cannot be updated. // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell // +optional Args []string `json:"args,omitempty" protobuf:"bytes,3,rep,name=args"` // Container's working directory. // If not specified, the container runtime's default will be used, which // might be configured in the container image. // Cannot be updated. // +optional WorkingDir string `json:"workingDir,omitempty" protobuf:"bytes,4,opt,name=workingDir"` // List of ports to expose from the container. Exposing a port here gives // the system additional information about the network connections a // container uses, but is primarily informational. Not specifying a port here // DOES NOT prevent that port from being exposed. Any port which is // listening on the default "0.0.0.0" address inside a container will be // accessible from the network. // Cannot be updated. // +optional // +patchMergeKey=containerPort // +patchStrategy=merge Ports []core.ContainerPort `json:"ports,omitempty" patchStrategy:"merge" patchMergeKey:"containerPort" protobuf:"bytes,5,rep,name=ports"` // Pod volumes to mount into the container's filesystem. // Cannot be updated. // +optional // +patchMergeKey=mountPath // +patchStrategy=merge VolumeMounts []core.VolumeMount `json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"mountPath" protobuf:"bytes,6,rep,name=volumeMounts"` // volumeDevices is the list of block devices to be used by the container. // This is an alpha feature and may change in the future. // +patchMergeKey=devicePath // +patchStrategy=merge // +optional VolumeDevices []core.VolumeDevice `json:"volumeDevices,omitempty" patchStrategy:"merge" patchMergeKey:"devicePath" protobuf:"bytes,7,rep,name=volumeDevices"` // RuntimeSettings allow to specify Resources, LivenessProbe, ReadinessProbe, Lifecycle, SecurityContext etc. // +optional RuntimeSettings *ofst.ContainerRuntimeSettings `json:"runtimeSettings,omitempty" protobuf:"bytes,8,opt,name=runtimeSettings"` // Name of PodSecurityPolicy(PSP) required by this function // +optional PodSecurityPolicyName string `json:"podSecurityPolicyName,omitempty" protobuf:"bytes,9,opt,name=podSecurityPolicyName"` }
func (*FunctionSpec) DeepCopy ¶
func (in *FunctionSpec) DeepCopy() *FunctionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSpec.
func (*FunctionSpec) DeepCopyInto ¶
func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FunctionSpec) Descriptor ¶
func (*FunctionSpec) Descriptor() ([]byte, []int)
func (*FunctionSpec) Marshal ¶
func (m *FunctionSpec) Marshal() (dAtA []byte, err error)
func (*FunctionSpec) MarshalToSizedBuffer ¶
func (m *FunctionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FunctionSpec) ProtoMessage ¶
func (*FunctionSpec) ProtoMessage()
func (*FunctionSpec) Reset ¶
func (m *FunctionSpec) Reset()
func (*FunctionSpec) Size ¶
func (m *FunctionSpec) Size() (n int)
func (*FunctionSpec) String ¶
func (this *FunctionSpec) String() string
func (*FunctionSpec) Unmarshal ¶
func (m *FunctionSpec) Unmarshal(dAtA []byte) error
func (*FunctionSpec) XXX_DiscardUnknown ¶
func (m *FunctionSpec) XXX_DiscardUnknown()
func (*FunctionSpec) XXX_Marshal ¶
func (m *FunctionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FunctionSpec) XXX_Merge ¶
func (m *FunctionSpec) XXX_Merge(src proto.Message)
func (*FunctionSpec) XXX_Size ¶
func (m *FunctionSpec) XXX_Size() int
func (*FunctionSpec) XXX_Unmarshal ¶
func (m *FunctionSpec) XXX_Unmarshal(b []byte) error
type HostBackupPhase ¶
type HostBackupPhase string
const ( HostBackupSucceeded HostBackupPhase = "Succeeded" HostBackupFailed HostBackupPhase = "Failed" )
type HostBackupStats ¶
type HostBackupStats struct { // Hostname indicate name of the host that has been backed up // +optional Hostname string `json:"hostname,omitempty" protobuf:"bytes,1,opt,name=hostname"` // Phase indicates backup phase of this host // +optional Phase HostBackupPhase `json:"phase,omitempty" protobuf:"bytes,2,opt,name=phase,casttype=HostBackupPhase"` // Snapshots specifies the stats of individual snapshots that has been taken for this host in current backup session // +optional Snapshots []SnapshotStats `json:"snapshots,omitempty" protobuf:"bytes,3,rep,name=snapshots"` // Duration indicates total time taken to complete backup for this hosts // +optional Duration string `json:"duration,omitempty" protobuf:"bytes,4,opt,name=duration"` // Error indicates string value of error in case of backup failure // +optional Error string `json:"error,omitempty" protobuf:"bytes,5,opt,name=error"` }
func (*HostBackupStats) DeepCopy ¶
func (in *HostBackupStats) DeepCopy() *HostBackupStats
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostBackupStats.
func (*HostBackupStats) DeepCopyInto ¶
func (in *HostBackupStats) DeepCopyInto(out *HostBackupStats)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostBackupStats) Descriptor ¶
func (*HostBackupStats) Descriptor() ([]byte, []int)
func (*HostBackupStats) Marshal ¶
func (m *HostBackupStats) Marshal() (dAtA []byte, err error)
func (*HostBackupStats) MarshalToSizedBuffer ¶
func (m *HostBackupStats) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HostBackupStats) ProtoMessage ¶
func (*HostBackupStats) ProtoMessage()
func (*HostBackupStats) Reset ¶
func (m *HostBackupStats) Reset()
func (*HostBackupStats) Size ¶
func (m *HostBackupStats) Size() (n int)
func (*HostBackupStats) String ¶
func (this *HostBackupStats) String() string
func (*HostBackupStats) Unmarshal ¶
func (m *HostBackupStats) Unmarshal(dAtA []byte) error
func (*HostBackupStats) XXX_DiscardUnknown ¶
func (m *HostBackupStats) XXX_DiscardUnknown()
func (*HostBackupStats) XXX_Marshal ¶
func (m *HostBackupStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HostBackupStats) XXX_Merge ¶
func (m *HostBackupStats) XXX_Merge(src proto.Message)
func (*HostBackupStats) XXX_Size ¶
func (m *HostBackupStats) XXX_Size() int
func (*HostBackupStats) XXX_Unmarshal ¶
func (m *HostBackupStats) XXX_Unmarshal(b []byte) error
type HostRestorePhase ¶
type HostRestorePhase string
const ( HostRestoreSucceeded HostRestorePhase = "Succeeded" HostRestoreFailed HostRestorePhase = "Failed" HostRestoreUnknown HostRestorePhase = "Unknown" )
type HostRestoreStats ¶
type HostRestoreStats struct { // Hostname indicate name of the host that has been restored // +optional Hostname string `json:"hostname,omitempty" protobuf:"bytes,1,opt,name=hostname"` // Phase indicates restore phase of this host // +optional Phase HostRestorePhase `json:"phase,omitempty" protobuf:"bytes,2,opt,name=phase,casttype=HostRestorePhase"` // Duration indicates total time taken to complete restore for this hosts // +optional Duration string `json:"duration,omitempty" protobuf:"bytes,3,opt,name=duration"` // Error indicates string value of error in case of restore failure // +optional Error string `json:"error,omitempty" protobuf:"bytes,4,opt,name=error"` }
func (*HostRestoreStats) DeepCopy ¶
func (in *HostRestoreStats) DeepCopy() *HostRestoreStats
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostRestoreStats.
func (*HostRestoreStats) DeepCopyInto ¶
func (in *HostRestoreStats) DeepCopyInto(out *HostRestoreStats)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostRestoreStats) Descriptor ¶
func (*HostRestoreStats) Descriptor() ([]byte, []int)
func (*HostRestoreStats) Marshal ¶
func (m *HostRestoreStats) Marshal() (dAtA []byte, err error)
func (*HostRestoreStats) MarshalToSizedBuffer ¶
func (m *HostRestoreStats) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HostRestoreStats) ProtoMessage ¶
func (*HostRestoreStats) ProtoMessage()
func (*HostRestoreStats) Reset ¶
func (m *HostRestoreStats) Reset()
func (*HostRestoreStats) Size ¶
func (m *HostRestoreStats) Size() (n int)
func (*HostRestoreStats) String ¶
func (this *HostRestoreStats) String() string
func (*HostRestoreStats) Unmarshal ¶
func (m *HostRestoreStats) Unmarshal(dAtA []byte) error
func (*HostRestoreStats) XXX_DiscardUnknown ¶
func (m *HostRestoreStats) XXX_DiscardUnknown()
func (*HostRestoreStats) XXX_Marshal ¶
func (m *HostRestoreStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HostRestoreStats) XXX_Merge ¶
func (m *HostRestoreStats) XXX_Merge(src proto.Message)
func (*HostRestoreStats) XXX_Size ¶
func (m *HostRestoreStats) XXX_Size() int
func (*HostRestoreStats) XXX_Unmarshal ¶
func (m *HostRestoreStats) XXX_Unmarshal(b []byte) error
type Param ¶
type Param struct { Name string `json:"name" protobuf:"bytes,1,opt,name=name"` Value string `json:"value" protobuf:"bytes,2,opt,name=value"` }
Param declares a value to use for the Param called Name.
func (*Param) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Param.
func (*Param) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Param) Descriptor ¶
func (*Param) ProtoMessage ¶
func (*Param) ProtoMessage()
func (*Param) XXX_DiscardUnknown ¶
func (m *Param) XXX_DiscardUnknown()
func (*Param) XXX_Marshal ¶
func (*Param) XXX_Unmarshal ¶
type RestoreHooks ¶
type RestoreHooks struct { // PreRestore is called immediately before a restore session is initiated. // +optional PreRestore *prober.Handler `json:"preRestore,omitempty" protobuf:"bytes,1,opt,name=preRestore"` // PostRestore is called immediately after a restore session is complete. // +optional PostRestore *prober.Handler `json:"postRestore,omitempty" protobuf:"bytes,2,opt,name=postRestore"` }
Hooks describes actions that Stash should take in response to restore sessions. For the PostRestore and PreRestore handlers, restore process blocks until the action is complete, unless the container process fails, in which case the handler is aborted.
func (*RestoreHooks) DeepCopy ¶
func (in *RestoreHooks) DeepCopy() *RestoreHooks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreHooks.
func (*RestoreHooks) DeepCopyInto ¶
func (in *RestoreHooks) DeepCopyInto(out *RestoreHooks)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RestoreHooks) Descriptor ¶
func (*RestoreHooks) Descriptor() ([]byte, []int)
func (*RestoreHooks) Marshal ¶
func (m *RestoreHooks) Marshal() (dAtA []byte, err error)
func (*RestoreHooks) MarshalToSizedBuffer ¶
func (m *RestoreHooks) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RestoreHooks) ProtoMessage ¶
func (*RestoreHooks) ProtoMessage()
func (*RestoreHooks) Reset ¶
func (m *RestoreHooks) Reset()
func (*RestoreHooks) Size ¶
func (m *RestoreHooks) Size() (n int)
func (*RestoreHooks) String ¶
func (this *RestoreHooks) String() string
func (*RestoreHooks) Unmarshal ¶
func (m *RestoreHooks) Unmarshal(dAtA []byte) error
func (*RestoreHooks) XXX_DiscardUnknown ¶
func (m *RestoreHooks) XXX_DiscardUnknown()
func (*RestoreHooks) XXX_Marshal ¶
func (m *RestoreHooks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestoreHooks) XXX_Merge ¶
func (m *RestoreHooks) XXX_Merge(src proto.Message)
func (*RestoreHooks) XXX_Size ¶
func (m *RestoreHooks) XXX_Size() int
func (*RestoreHooks) XXX_Unmarshal ¶
func (m *RestoreHooks) XXX_Unmarshal(b []byte) error
type RestoreSession ¶
type RestoreSession struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec RestoreSessionSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status RestoreSessionStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=restoresessions,singular=restoresession,shortName=restore,categories={stash,appscode,all} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Repository",type="string",JSONPath=".spec.repository.name" +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (RestoreSession) CustomResourceDefinition ¶
func (_ RestoreSession) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*RestoreSession) DeepCopy ¶
func (in *RestoreSession) DeepCopy() *RestoreSession
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreSession.
func (*RestoreSession) DeepCopyInto ¶
func (in *RestoreSession) DeepCopyInto(out *RestoreSession)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RestoreSession) DeepCopyObject ¶
func (in *RestoreSession) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RestoreSession) Descriptor ¶
func (*RestoreSession) Descriptor() ([]byte, []int)
func (RestoreSession) GetSpecHash ¶
func (r RestoreSession) GetSpecHash() string
func (*RestoreSession) Marshal ¶
func (m *RestoreSession) Marshal() (dAtA []byte, err error)
func (*RestoreSession) MarshalToSizedBuffer ¶
func (m *RestoreSession) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (RestoreSession) OffshootLabels ¶
func (r RestoreSession) OffshootLabels() map[string]string
OffshootLabels return labels consist of the labels provided by user to BackupConfiguration crd and stash specific generic labels. It overwrites the the user provided labels if it matched with stash specific generic labels.
func (*RestoreSession) ProtoMessage ¶
func (*RestoreSession) ProtoMessage()
func (*RestoreSession) Reset ¶
func (m *RestoreSession) Reset()
func (*RestoreSession) Size ¶
func (m *RestoreSession) Size() (n int)
func (*RestoreSession) String ¶
func (this *RestoreSession) String() string
func (*RestoreSession) Unmarshal ¶
func (m *RestoreSession) Unmarshal(dAtA []byte) error
func (*RestoreSession) XXX_DiscardUnknown ¶
func (m *RestoreSession) XXX_DiscardUnknown()
func (*RestoreSession) XXX_Marshal ¶
func (m *RestoreSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestoreSession) XXX_Merge ¶
func (m *RestoreSession) XXX_Merge(src proto.Message)
func (*RestoreSession) XXX_Size ¶
func (m *RestoreSession) XXX_Size() int
func (*RestoreSession) XXX_Unmarshal ¶
func (m *RestoreSession) XXX_Unmarshal(b []byte) error
type RestoreSessionList ¶
type RestoreSessionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []RestoreSession `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"` }
func (*RestoreSessionList) DeepCopy ¶
func (in *RestoreSessionList) DeepCopy() *RestoreSessionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreSessionList.
func (*RestoreSessionList) DeepCopyInto ¶
func (in *RestoreSessionList) DeepCopyInto(out *RestoreSessionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RestoreSessionList) DeepCopyObject ¶
func (in *RestoreSessionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RestoreSessionList) Descriptor ¶
func (*RestoreSessionList) Descriptor() ([]byte, []int)
func (*RestoreSessionList) Marshal ¶
func (m *RestoreSessionList) Marshal() (dAtA []byte, err error)
func (*RestoreSessionList) MarshalTo ¶
func (m *RestoreSessionList) MarshalTo(dAtA []byte) (int, error)
func (*RestoreSessionList) MarshalToSizedBuffer ¶
func (m *RestoreSessionList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RestoreSessionList) ProtoMessage ¶
func (*RestoreSessionList) ProtoMessage()
func (*RestoreSessionList) Reset ¶
func (m *RestoreSessionList) Reset()
func (*RestoreSessionList) Size ¶
func (m *RestoreSessionList) Size() (n int)
func (*RestoreSessionList) String ¶
func (this *RestoreSessionList) String() string
func (*RestoreSessionList) Unmarshal ¶
func (m *RestoreSessionList) Unmarshal(dAtA []byte) error
func (*RestoreSessionList) XXX_DiscardUnknown ¶
func (m *RestoreSessionList) XXX_DiscardUnknown()
func (*RestoreSessionList) XXX_Marshal ¶
func (m *RestoreSessionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestoreSessionList) XXX_Merge ¶
func (m *RestoreSessionList) XXX_Merge(src proto.Message)
func (*RestoreSessionList) XXX_Size ¶
func (m *RestoreSessionList) XXX_Size() int
func (*RestoreSessionList) XXX_Unmarshal ¶
func (m *RestoreSessionList) XXX_Unmarshal(b []byte) error
type RestoreSessionPhase ¶
type RestoreSessionPhase string
const ( RestoreSessionPending RestoreSessionPhase = "Pending" RestoreSessionRunning RestoreSessionPhase = "Running" RestoreSessionSucceeded RestoreSessionPhase = "Succeeded" RestoreSessionFailed RestoreSessionPhase = "Failed" RestoreSessionUnknown RestoreSessionPhase = "Unknown" )
type RestoreSessionSpec ¶
type RestoreSessionSpec struct { // Driver indicates the name of the agent to use to restore the target. // Supported values are "Restic", "VolumeSnapshotter". // Default value is "Restic". // +optional Driver Snapshotter `json:"driver,omitempty" protobuf:"bytes,1,opt,name=driver,casttype=Snapshotter"` // Repository refer to the Repository crd that hold backend information // +optional Repository core.LocalObjectReference `json:"repository,omitempty" protobuf:"bytes,2,opt,name=repository"` // Task specify the Task crd that specifies the steps for recovery process // +optional Task TaskRef `json:"task,omitempty" protobuf:"bytes,3,opt,name=task"` // Target indicates the target where the recovered data will be stored // +optional Target *RestoreTarget `json:"target,omitempty" protobuf:"bytes,4,opt,name=target"` // Rules specifies different restore options for different hosts // +optional Rules []Rule `json:"rules,omitempty" protobuf:"bytes,5,rep,name=rules"` // RuntimeSettings allow to specify Resources, NodeSelector, Affinity, Toleration, ReadinessProbe etc. // +optional RuntimeSettings ofst.RuntimeSettings `json:"runtimeSettings,omitempty" protobuf:"bytes,6,opt,name=runtimeSettings"` // Temp directory configuration for functions/sidecar // An `EmptyDir` will always be mounted at /tmp with this settings // +optional TempDir EmptyDirSettings `json:"tempDir,omitempty" protobuf:"bytes,7,opt,name=tempDir"` // InterimVolumeTemplate specifies a template for a volume to hold targeted data temporarily // before uploading to backend or inserting into target. It is only usable for job model. // Don't specify it in sidecar model. // +optional InterimVolumeTemplate *ofst.PersistentVolumeClaim `json:"interimVolumeTemplate,omitempty" protobuf:"bytes,8,opt,name=interimVolumeTemplate"` // Actions that Stash should take in response to restore sessions. // +optional Hooks *RestoreHooks `json:"hooks,omitempty" protobuf:"bytes,9,opt,name=hooks"` }
func (*RestoreSessionSpec) DeepCopy ¶
func (in *RestoreSessionSpec) DeepCopy() *RestoreSessionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreSessionSpec.
func (*RestoreSessionSpec) DeepCopyInto ¶
func (in *RestoreSessionSpec) DeepCopyInto(out *RestoreSessionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RestoreSessionSpec) Descriptor ¶
func (*RestoreSessionSpec) Descriptor() ([]byte, []int)
func (*RestoreSessionSpec) Marshal ¶
func (m *RestoreSessionSpec) Marshal() (dAtA []byte, err error)
func (*RestoreSessionSpec) MarshalTo ¶
func (m *RestoreSessionSpec) MarshalTo(dAtA []byte) (int, error)
func (*RestoreSessionSpec) MarshalToSizedBuffer ¶
func (m *RestoreSessionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RestoreSessionSpec) ProtoMessage ¶
func (*RestoreSessionSpec) ProtoMessage()
func (*RestoreSessionSpec) Reset ¶
func (m *RestoreSessionSpec) Reset()
func (*RestoreSessionSpec) Size ¶
func (m *RestoreSessionSpec) Size() (n int)
func (*RestoreSessionSpec) String ¶
func (this *RestoreSessionSpec) String() string
func (*RestoreSessionSpec) Unmarshal ¶
func (m *RestoreSessionSpec) Unmarshal(dAtA []byte) error
func (*RestoreSessionSpec) XXX_DiscardUnknown ¶
func (m *RestoreSessionSpec) XXX_DiscardUnknown()
func (*RestoreSessionSpec) XXX_Marshal ¶
func (m *RestoreSessionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestoreSessionSpec) XXX_Merge ¶
func (m *RestoreSessionSpec) XXX_Merge(src proto.Message)
func (*RestoreSessionSpec) XXX_Size ¶
func (m *RestoreSessionSpec) XXX_Size() int
func (*RestoreSessionSpec) XXX_Unmarshal ¶
func (m *RestoreSessionSpec) XXX_Unmarshal(b []byte) error
type RestoreSessionStatus ¶
type RestoreSessionStatus struct { // Phase indicates the overall phase of the restore process for this RestoreSession. Phase will be "Succeeded" only if // phase of all hosts are "Succeeded". If any of the host fail to complete restore, Phase will be "Failed". // +optional Phase RestoreSessionPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=RestoreSessionPhase"` // TotalHosts specifies total number of hosts that will be restored for this RestoreSession // +optional TotalHosts *int32 `json:"totalHosts,omitempty" protobuf:"varint,2,opt,name=totalHosts"` // SessionDuration specify total time taken to complete current restore session (sum of restore duration of all hosts) // +optional SessionDuration string `json:"sessionDuration,omitempty" protobuf:"bytes,3,opt,name=sessionDuration"` // Stats shows statistics of individual hosts for this restore session // +optional Stats []HostRestoreStats `json:"stats,omitempty" protobuf:"bytes,4,rep,name=stats"` }
func (*RestoreSessionStatus) DeepCopy ¶
func (in *RestoreSessionStatus) DeepCopy() *RestoreSessionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreSessionStatus.
func (*RestoreSessionStatus) DeepCopyInto ¶
func (in *RestoreSessionStatus) DeepCopyInto(out *RestoreSessionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RestoreSessionStatus) Descriptor ¶
func (*RestoreSessionStatus) Descriptor() ([]byte, []int)
func (*RestoreSessionStatus) Marshal ¶
func (m *RestoreSessionStatus) Marshal() (dAtA []byte, err error)
func (*RestoreSessionStatus) MarshalTo ¶
func (m *RestoreSessionStatus) MarshalTo(dAtA []byte) (int, error)
func (*RestoreSessionStatus) MarshalToSizedBuffer ¶
func (m *RestoreSessionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RestoreSessionStatus) ProtoMessage ¶
func (*RestoreSessionStatus) ProtoMessage()
func (*RestoreSessionStatus) Reset ¶
func (m *RestoreSessionStatus) Reset()
func (*RestoreSessionStatus) Size ¶
func (m *RestoreSessionStatus) Size() (n int)
func (*RestoreSessionStatus) String ¶
func (this *RestoreSessionStatus) String() string
func (*RestoreSessionStatus) Unmarshal ¶
func (m *RestoreSessionStatus) Unmarshal(dAtA []byte) error
func (*RestoreSessionStatus) XXX_DiscardUnknown ¶
func (m *RestoreSessionStatus) XXX_DiscardUnknown()
func (*RestoreSessionStatus) XXX_Marshal ¶
func (m *RestoreSessionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestoreSessionStatus) XXX_Merge ¶
func (m *RestoreSessionStatus) XXX_Merge(src proto.Message)
func (*RestoreSessionStatus) XXX_Size ¶
func (m *RestoreSessionStatus) XXX_Size() int
func (*RestoreSessionStatus) XXX_Unmarshal ¶
func (m *RestoreSessionStatus) XXX_Unmarshal(b []byte) error
type RestoreTarget ¶
type RestoreTarget struct { // Ref refers to the restore,target Ref TargetRef `json:"ref,omitempty" protobuf:"bytes,2,opt,name=ref"` // VolumeMounts specifies the volumes to mount inside stash sidecar/init container // Specify the volumes that contains the target directories // +optional VolumeMounts []core.VolumeMount `json:"volumeMounts,omitempty" protobuf:"bytes,3,rep,name=volumeMounts"` // replicas is the desired number of replicas of the given Template. // These are replicas in the sense that they are instantiations of the // same Template, but individual replicas also have a consistent identity. // If unspecified, defaults to 1. // +optional Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"` // volumeClaimTemplates is a list of claims that will be created while restore from VolumeSnapshot // +optional VolumeClaimTemplates []ofst.PersistentVolumeClaim `json:"volumeClaimTemplates,omitempty" protobuf:"bytes,4,rep,name=volumeClaimTemplates"` }
func (*RestoreTarget) DeepCopy ¶
func (in *RestoreTarget) DeepCopy() *RestoreTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreTarget.
func (*RestoreTarget) DeepCopyInto ¶
func (in *RestoreTarget) DeepCopyInto(out *RestoreTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RestoreTarget) Descriptor ¶
func (*RestoreTarget) Descriptor() ([]byte, []int)
func (*RestoreTarget) Marshal ¶
func (m *RestoreTarget) Marshal() (dAtA []byte, err error)
func (*RestoreTarget) MarshalToSizedBuffer ¶
func (m *RestoreTarget) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RestoreTarget) ProtoMessage ¶
func (*RestoreTarget) ProtoMessage()
func (*RestoreTarget) Reset ¶
func (m *RestoreTarget) Reset()
func (*RestoreTarget) Size ¶
func (m *RestoreTarget) Size() (n int)
func (*RestoreTarget) String ¶
func (this *RestoreTarget) String() string
func (*RestoreTarget) Unmarshal ¶
func (m *RestoreTarget) Unmarshal(dAtA []byte) error
func (*RestoreTarget) XXX_DiscardUnknown ¶
func (m *RestoreTarget) XXX_DiscardUnknown()
func (*RestoreTarget) XXX_Marshal ¶
func (m *RestoreTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestoreTarget) XXX_Merge ¶
func (m *RestoreTarget) XXX_Merge(src proto.Message)
func (*RestoreTarget) XXX_Size ¶
func (m *RestoreTarget) XXX_Size() int
func (*RestoreTarget) XXX_Unmarshal ¶
func (m *RestoreTarget) XXX_Unmarshal(b []byte) error
type Rule ¶
type Rule struct { // Subjects specifies the list of hosts that are subject to this rule // +optional TargetHosts []string `json:"targetHosts,omitempty" protobuf:"bytes,1,rep,name=targetHosts"` // SourceHost specifies the name of the host whose backed up state we are trying to restore // By default, it will indicate the workload itself // +optional SourceHost string `json:"sourceHost,omitempty" protobuf:"bytes,2,opt,name=sourceHost"` // Snapshots specifies the list of snapshots that will be restored for the host under this rule. // Don't specify if you have specified paths field. // +optional Snapshots []string `json:"snapshots,omitempty" protobuf:"bytes,3,rep,name=snapshots"` // Paths specifies the paths to be restored for the hosts under this rule. // Don't specify if you have specified snapshots field. // +optional Paths []string `json:"paths,omitempty" protobuf:"bytes,4,rep,name=paths"` }
func (*Rule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
func (*Rule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Rule) Descriptor ¶
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
func (*Rule) XXX_DiscardUnknown ¶
func (m *Rule) XXX_DiscardUnknown()
func (*Rule) XXX_Unmarshal ¶
type SnapshotStats ¶
type SnapshotStats struct { // Name indicates the name of the backup snapshot created for this host Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` // Path indicates the directory that has been backed up in this snapshot Path string `json:"path,omitempty" protobuf:"bytes,2,opt,name=path"` // TotalSize indicates the size of data to backup in target directory TotalSize string `json:"totalSize,omitempty" protobuf:"bytes,7,opt,name=totalSize"` // Uploaded indicates size of data uploaded to backend for this snapshot Uploaded string `json:"uploaded,omitempty" protobuf:"bytes,4,opt,name=uploaded"` // ProcessingTime indicates time taken to process the target data ProcessingTime string `json:"processingTime,omitempty" protobuf:"bytes,5,opt,name=processingTime"` // FileStats shows statistics of files of this snapshot FileStats FileStats `json:"fileStats,omitempty" protobuf:"bytes,6,opt,name=fileStats"` }
func (*SnapshotStats) DeepCopy ¶
func (in *SnapshotStats) DeepCopy() *SnapshotStats
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotStats.
func (*SnapshotStats) DeepCopyInto ¶
func (in *SnapshotStats) DeepCopyInto(out *SnapshotStats)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SnapshotStats) Descriptor ¶
func (*SnapshotStats) Descriptor() ([]byte, []int)
func (*SnapshotStats) Marshal ¶
func (m *SnapshotStats) Marshal() (dAtA []byte, err error)
func (*SnapshotStats) MarshalToSizedBuffer ¶
func (m *SnapshotStats) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SnapshotStats) ProtoMessage ¶
func (*SnapshotStats) ProtoMessage()
func (*SnapshotStats) Reset ¶
func (m *SnapshotStats) Reset()
func (*SnapshotStats) Size ¶
func (m *SnapshotStats) Size() (n int)
func (*SnapshotStats) String ¶
func (this *SnapshotStats) String() string
func (*SnapshotStats) Unmarshal ¶
func (m *SnapshotStats) Unmarshal(dAtA []byte) error
func (*SnapshotStats) XXX_DiscardUnknown ¶
func (m *SnapshotStats) XXX_DiscardUnknown()
func (*SnapshotStats) XXX_Marshal ¶
func (m *SnapshotStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SnapshotStats) XXX_Merge ¶
func (m *SnapshotStats) XXX_Merge(src proto.Message)
func (*SnapshotStats) XXX_Size ¶
func (m *SnapshotStats) XXX_Size() int
func (*SnapshotStats) XXX_Unmarshal ¶
func (m *SnapshotStats) XXX_Unmarshal(b []byte) error
type Snapshotter ¶
type Snapshotter string
const ( ResticSnapshotter Snapshotter = "Restic" VolumeSnapshotter Snapshotter = "VolumeSnapshotter" )
type Target ¶
type Target struct { // Ref refers to the backup target // +optional Ref TargetRef `json:"ref,omitempty" protobuf:"bytes,1,opt,name=ref"` // TotalHosts specifies total number of hosts for this target that will be backed up for a BackupSession // +optional TotalHosts *int32 `json:"totalHosts,omitempty" protobuf:"varint,2,opt,name=totalHosts"` // Phase indicates backup phase of this target // +optional Phase TargetPhase `json:"phase,omitempty" protobuf:"bytes,3,opt,name=phase"` // Stats shows statistics of individual hosts for this backup session // +optional Stats []HostBackupStats `json:"stats,omitempty" protobuf:"bytes,4,rep,name=stats"` }
func (*Target) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target.
func (*Target) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Target) Descriptor ¶
func (*Target) MarshalToSizedBuffer ¶
func (*Target) ProtoMessage ¶
func (*Target) ProtoMessage()
func (*Target) XXX_DiscardUnknown ¶
func (m *Target) XXX_DiscardUnknown()
func (*Target) XXX_Marshal ¶
func (*Target) XXX_Unmarshal ¶
type TargetPhase ¶
type TargetPhase string
const ( TargetBackupSucceeded TargetPhase = "Succeeded" TargetBackupRunning TargetPhase = "Running" TargetBackupFailed TargetPhase = "Failed" )
type TargetRef ¶
type TargetRef struct { APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,1,opt,name=apiVersion"` Kind string `json:"kind,omitempty" protobuf:"bytes,2,opt,name=kind"` Name string `json:"name,omitempty" protobuf:"bytes,3,opt,name=name"` }
func (*TargetRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetRef.
func (*TargetRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetRef) Descriptor ¶
func (*TargetRef) MarshalToSizedBuffer ¶
func (*TargetRef) ProtoMessage ¶
func (*TargetRef) ProtoMessage()
func (*TargetRef) XXX_DiscardUnknown ¶
func (m *TargetRef) XXX_DiscardUnknown()
func (*TargetRef) XXX_Marshal ¶
func (*TargetRef) XXX_Unmarshal ¶
type Task ¶
type Task struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec TaskSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=tasks,singular=task,scope=Cluster,shortName=task,categories={stash,appscode} +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (Task) CustomResourceDefinition ¶
func (_ Task) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*Task) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Task.
func (*Task) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Task) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Task) Descriptor ¶
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) XXX_DiscardUnknown ¶
func (m *Task) XXX_DiscardUnknown()
func (*Task) XXX_Unmarshal ¶
type TaskList ¶
type TaskList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Task `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"` }
func (*TaskList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskList.
func (*TaskList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TaskList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TaskList) Descriptor ¶
func (*TaskList) MarshalToSizedBuffer ¶
func (*TaskList) ProtoMessage ¶
func (*TaskList) ProtoMessage()
func (*TaskList) XXX_DiscardUnknown ¶
func (m *TaskList) XXX_DiscardUnknown()
func (*TaskList) XXX_Marshal ¶
func (*TaskList) XXX_Unmarshal ¶
type TaskRef ¶
type TaskRef struct { Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // +optional Params []Param `json:"params,omitempty" protobuf:"bytes,2,rep,name=params"` }
func (*TaskRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskRef.
func (*TaskRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TaskRef) Descriptor ¶
func (*TaskRef) MarshalToSizedBuffer ¶
func (*TaskRef) ProtoMessage ¶
func (*TaskRef) ProtoMessage()
func (*TaskRef) XXX_DiscardUnknown ¶
func (m *TaskRef) XXX_DiscardUnknown()
func (*TaskRef) XXX_Marshal ¶
func (*TaskRef) XXX_Unmarshal ¶
type TaskSpec ¶
type TaskSpec struct { Steps []FunctionRef `json:"steps,omitempty" protobuf:"bytes,1,rep,name=steps"` // List of volumes that can be mounted by containers belonging to the pod created for this task. // +optional Volumes []core.Volume `json:"volumes,omitempty" protobuf:"bytes,2,rep,name=volumes"` }
func (*TaskSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskSpec.
func (*TaskSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TaskSpec) Descriptor ¶
func (*TaskSpec) MarshalToSizedBuffer ¶
func (*TaskSpec) ProtoMessage ¶
func (*TaskSpec) ProtoMessage()
func (*TaskSpec) XXX_DiscardUnknown ¶
func (m *TaskSpec) XXX_DiscardUnknown()
func (*TaskSpec) XXX_Marshal ¶
func (*TaskSpec) XXX_Unmarshal ¶
Source Files ¶
- annotations.go
- backup_batch_helpers.go
- backup_batch_types.go
- backup_blueprint_helpers.go
- backup_blueprint_types.go
- backup_configuration_helpers.go
- backup_configuration_types.go
- backup_session_helpers.go
- backup_session_types.go
- doc.go
- function_helpers.go
- function_types.go
- generated.pb.go
- openapi_generated.go
- register.go
- restore_session_helpers.go
- restore_session_types.go
- task_helpers.go
- task_types.go
- types.go
- types_helpers.go
- validator.go
- zz_generated.deepcopy.go