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