Documentation ¶
Index ¶
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func MatchBackupPoint(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewStorage(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) (rest.StandardStorage, error)
- func SelectableFields(obj *v1.BackupPoint) fields.Set
- type BackupPointStrategy
- func (BackupPointStrategy) AllowCreateOnUpdate() bool
- func (BackupPointStrategy) AllowUnconditionalUpdate() bool
- func (BackupPointStrategy) Canonicalize(obj runtime.Object)
- func (BackupPointStrategy) NamespaceScoped() bool
- func (BackupPointStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (BackupPointStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (BackupPointStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (BackupPointStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- func (s BackupPointStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string
- func (s BackupPointStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchBackupPoint ¶
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) ValidateUpdate ¶
func (BackupPointStrategy) WarningsOnCreate ¶
func (BackupPointStrategy) WarningsOnUpdate ¶
Click to show internal directories.
Click to hide internal directories.