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