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