backuppoint

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAttrs

func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)

func MatchBackupPoint

func MatchBackupPoint(label labels.Selector, field fields.Selector) storage.SelectionPredicate

func NewStorage

func NewStorage(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) (rest.StandardStorage, error)

func SelectableFields

func SelectableFields(obj *v1.BackupPoint) fields.Set

Types

type BackupPointStrategy

type BackupPointStrategy struct {
	runtime.ObjectTyper
	names.NameGenerator
}

func NewStrategy

func NewStrategy(typer runtime.ObjectTyper) BackupPointStrategy

func (BackupPointStrategy) AllowCreateOnUpdate

func (BackupPointStrategy) AllowCreateOnUpdate() bool

func (BackupPointStrategy) AllowUnconditionalUpdate

func (BackupPointStrategy) AllowUnconditionalUpdate() bool

func (BackupPointStrategy) Canonicalize

func (BackupPointStrategy) Canonicalize(obj runtime.Object)

func (BackupPointStrategy) NamespaceScoped

func (BackupPointStrategy) NamespaceScoped() bool

func (BackupPointStrategy) PrepareForCreate

func (BackupPointStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (BackupPointStrategy) PrepareForUpdate

func (BackupPointStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (BackupPointStrategy) Validate

func (BackupPointStrategy) ValidateUpdate

func (BackupPointStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

func (BackupPointStrategy) WarningsOnCreate

func (s BackupPointStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string

func (BackupPointStrategy) WarningsOnUpdate

func (s BackupPointStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL