kubernetes/pkg/registry/resource/resourceslice/strategy.go

type resourceSliceStrategy

var Strategy

func (resourceSliceStrategy) NamespaceScoped() bool {}

func (resourceSliceStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) {}

func (resourceSliceStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {}

func (resourceSliceStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {}

func (resourceSliceStrategy) Canonicalize(obj runtime.Object) {}

func (resourceSliceStrategy) AllowCreateOnUpdate() bool {}

func (resourceSliceStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {}

func (resourceSliceStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList {}

func (resourceSliceStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string {}

func (resourceSliceStrategy) AllowUnconditionalUpdate() bool {}

var TriggerFunc

func nodeNameTriggerFunc(obj runtime.Object) string {}

// Indexers returns the indexers for ResourceSlice.
func Indexers() *cache.Indexers {}

func nodeNameIndexFunc(obj interface{}

// GetAttrs returns labels and fields of a given object for filtering purposes.
func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) {}

// Match returns a generic matcher for a given label and field selector.
func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate {}

// toSelectableFields returns a field set that represents the object
// TODO: fields are not labels, and the validation rules for them do not apply.
func toSelectableFields(slice *resource.ResourceSlice) fields.Set {}