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

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

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

// MatchFlunder 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 MatchFlunder(label labels.Selector, field fields.Selector) storage.SelectionPredicate {}

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

type flunderStrategy

func (flunderStrategy) NamespaceScoped() bool {}

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

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

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

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

func (flunderStrategy) AllowCreateOnUpdate() bool {}

func (flunderStrategy) AllowUnconditionalUpdate() bool {}

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

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

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