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