Documentation ¶
Overview ¶
Package v1 is the v1 version of the API. +groupName=backup
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: examplecom.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type BackupDirs ¶
type BackupDirs []BackupDir
func ParseBackupDirs ¶
func ParseBackupDirs(values []string) BackupDirs
func ParseBackupDirsFromString ¶
func ParseBackupDirsFromString(value string) BackupDirs
func (BackupDirs) DeepCopy ¶
func (in BackupDirs) DeepCopy() BackupDirs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDirs.
func (BackupDirs) DeepCopyInto ¶
func (in BackupDirs) DeepCopyInto(out *BackupDirs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (BackupDirs) Len ¶
func (a BackupDirs) Len() int
func (BackupDirs) Less ¶
func (a BackupDirs) Less(i, j int) bool
func (BackupDirs) Sorted ¶
func (a BackupDirs) Sorted() BackupDirs
func (BackupDirs) Strings ¶
func (a BackupDirs) Strings() []string
func (BackupDirs) Swap ¶
func (a BackupDirs) Swap(i, j int)
type BackupExclude ¶
type BackupExclude string
func (BackupExclude) String ¶
func (f BackupExclude) String() string
type BackupExcludes ¶
type BackupExcludes []BackupExclude
func ParseBackupExcludes ¶
func ParseBackupExcludes(values []string) BackupExcludes
func ParseBackupExcludesFromString ¶
func ParseBackupExcludesFromString(value string) BackupExcludes
func (BackupExcludes) Bytes ¶
func (a BackupExcludes) Bytes() []byte
func (BackupExcludes) Len ¶
func (a BackupExcludes) Len() int
func (BackupExcludes) Less ¶
func (a BackupExcludes) Less(i, j int) bool
func (BackupExcludes) Sorted ¶
func (a BackupExcludes) Sorted() BackupExcludes
func (BackupExcludes) Strings ¶
func (a BackupExcludes) Strings() []string
func (BackupExcludes) Swap ¶
func (a BackupExcludes) Swap(i, j int)
type BackupHost ¶
type BackupHost string
func (BackupHost) String ¶
func (f BackupHost) String() string
type BackupPort ¶
type BackupPort int
func (BackupPort) Int ¶
func (f BackupPort) Int() int
func (BackupPort) String ¶
func (f BackupPort) String() string
type BackupSpec ¶
type BackupSpec struct { Host BackupHost `json:"host" yaml:"host"` Port BackupPort `json:"port" yaml:"port"` User BackupUser `json:"user" yaml:"user"` Dirs BackupDirs `json:"dirs" yaml:"dirs"` Excludes BackupExcludes `json:"excludes" yaml:"excludes"` }
BackupSpec is the spec for a Foo resource
func (*BackupSpec) DeepCopy ¶
func (in *BackupSpec) DeepCopy() *BackupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSpec.
func (*BackupSpec) DeepCopyInto ¶
func (in *BackupSpec) DeepCopyInto(out *BackupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (BackupSpec) Equal ¶
func (a BackupSpec) Equal(backup BackupSpec) bool
type BackupSpecs ¶
type BackupSpecs []BackupSpec
func (BackupSpecs) DeepCopy ¶
func (in BackupSpecs) DeepCopy() BackupSpecs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSpecs.
func (BackupSpecs) DeepCopyInto ¶
func (in BackupSpecs) DeepCopyInto(out *BackupSpecs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupUser ¶
type BackupUser string
func (BackupUser) String ¶
func (f BackupUser) String() string
type Target ¶
type Target struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BackupSpec `json:"spec"` }
Target describes a database.
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) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TargetList ¶
type TargetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Target `json:"items"` }
TargetList is a list of Target resources
func (*TargetList) DeepCopy ¶
func (in *TargetList) DeepCopy() *TargetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetList.
func (*TargetList) DeepCopyInto ¶
func (in *TargetList) DeepCopyInto(out *TargetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetList) DeepCopyObject ¶
func (in *TargetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Targets ¶
type Targets []Target
func (Targets) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Targets.
func (Targets) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Targets) Specs ¶
func (a Targets) Specs() BackupSpecs