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