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