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