Documentation ¶
Index ¶
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func MatchBackup(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewStorage(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) (rest.StandardStorage, error)
- func SelectableFields(obj *v1.Backup) fields.Set
- type BackupStrategy
- func (BackupStrategy) AllowCreateOnUpdate() bool
- func (BackupStrategy) AllowUnconditionalUpdate() bool
- func (BackupStrategy) Canonicalize(obj runtime.Object)
- func (BackupStrategy) NamespaceScoped() bool
- func (BackupStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (BackupStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (BackupStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (BackupStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- func (s BackupStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string
- func (s BackupStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchBackup ¶
func NewStorage ¶
func NewStorage(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) (rest.StandardStorage, error)
Types ¶
type BackupStrategy ¶
type BackupStrategy struct { runtime.ObjectTyper names.NameGenerator }
func NewStrategy ¶
func NewStrategy(typer runtime.ObjectTyper) BackupStrategy
func (BackupStrategy) AllowCreateOnUpdate ¶
func (BackupStrategy) AllowCreateOnUpdate() bool
func (BackupStrategy) AllowUnconditionalUpdate ¶
func (BackupStrategy) AllowUnconditionalUpdate() bool
func (BackupStrategy) Canonicalize ¶
func (BackupStrategy) Canonicalize(obj runtime.Object)
func (BackupStrategy) NamespaceScoped ¶
func (BackupStrategy) NamespaceScoped() bool
func (BackupStrategy) PrepareForCreate ¶
func (BackupStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object)
func (BackupStrategy) PrepareForUpdate ¶
func (BackupStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
func (BackupStrategy) ValidateUpdate ¶
func (BackupStrategy) WarningsOnCreate ¶
func (BackupStrategy) WarningsOnUpdate ¶
Click to show internal directories.
Click to hide internal directories.