region

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAttrs

func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)

func MatchRegion

func MatchRegion(label labels.Selector, field fields.Selector) storage.SelectionPredicate

func NewStorage

func NewStorage(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) (rest.StandardStorage, error)

func SelectableFields

func SelectableFields(obj *v1.Region) fields.Set

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) Validate

func (RegionStrategy) ValidateUpdate

func (RegionStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList

func (RegionStrategy) WarningsOnCreate

func (s RegionStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string

func (RegionStrategy) WarningsOnUpdate

func (s RegionStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL