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