kubernetes/staging/src/k8s.io/kube-aggregator/pkg/registry/apiservice/strategy.go

type apiServerStrategy

var _

var Strategy

// NewStrategy creates a new apiServerStrategy.
func NewStrategy(typer runtime.ObjectTyper) rest.CreateUpdateResetFieldsStrategy {}

func (apiServerStrategy) NamespaceScoped() bool {}

func (apiServerStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set {}

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

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

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

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

func (apiServerStrategy) AllowCreateOnUpdate() bool {}

func (apiServerStrategy) AllowUnconditionalUpdate() bool {}

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

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

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

type apiServerStatusStrategy

// NewStatusStrategy creates a new apiServerStatusStrategy.
func NewStatusStrategy(typer runtime.ObjectTyper) rest.UpdateResetFieldsStrategy {}

func (apiServerStatusStrategy) NamespaceScoped() bool {}

func (apiServerStatusStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set {}

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

func (apiServerStatusStrategy) AllowCreateOnUpdate() bool {}

func (apiServerStatusStrategy) AllowUnconditionalUpdate() bool {}

// Canonicalize normalizes the object after validation.
func (apiServerStatusStrategy) Canonicalize(obj runtime.Object) {}

// ValidateUpdate validates an update of apiServerStatusStrategy.
func (apiServerStatusStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList {}

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

// GetAttrs returns the labels and fields of an API server for filtering purposes.
func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) {}

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

// ToSelectableFields returns a field set that represents the object.
func ToSelectableFields(obj *apiregistration.APIService) fields.Set {}