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