kubernetes/staging/src/k8s.io/sample-apiserver/pkg/registry/wardle/fischer/strategy.go

// NewStrategy creates and returns a fischerStrategy instance
func NewStrategy(typer runtime.ObjectTyper) fischerStrategy {}

// GetAttrs returns labels.Set, fields.Set, and error in case the given runtime.Object is not a Fischer
func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) {}

// MatchFischer is the filter used by the generic etcd backend to watch events
// from etcd to clients of the apiserver only interested in specific labels/fields.
func MatchFischer(label labels.Selector, field fields.Selector) storage.SelectionPredicate {}

// SelectableFields returns a field set that represents the object.
func SelectableFields(obj *wardle.Fischer) fields.Set {}

type fischerStrategy

func (fischerStrategy) NamespaceScoped() bool {}

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

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

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

// WarningsOnCreate returns warnings for the creation of the given object.
func (fischerStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {}

func (fischerStrategy) AllowCreateOnUpdate() bool {}

func (fischerStrategy) AllowUnconditionalUpdate() bool {}

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

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

// WarningsOnUpdate returns warnings for the given update.
func (fischerStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string {}