config

package
v4.0.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Strategy is the default logic that applies when creating and updating Pod objects via the REST API.

Functions

This section is empty.

Types

type ConfigStorage

type ConfigStorage struct {
	Config *REST
}

func NewStorage

func NewStorage(optsGetter apigeneric.RESTOptionsGetter) (ConfigStorage, error)

type ConfigStrategy

type ConfigStrategy struct {
	runtime.ObjectTyper
	apinames.NameGenerator
}

ConfigStrategy implements behavior for Pods

func (ConfigStrategy) AllowCreateOnUpdate

func (t ConfigStrategy) AllowCreateOnUpdate() bool

func (ConfigStrategy) AllowUnconditionalUpdate

func (t ConfigStrategy) AllowUnconditionalUpdate() bool

func (ConfigStrategy) Canonicalize

func (t ConfigStrategy) Canonicalize(obj runtime.Object)

func (ConfigStrategy) GetResetFields

func (t ConfigStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set

func (ConfigStrategy) NamespaceScoped

func (t ConfigStrategy) NamespaceScoped() bool

func (ConfigStrategy) PrepareForCreate

func (t ConfigStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object)

func (ConfigStrategy) PrepareForUpdate

func (t ConfigStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)

func (ConfigStrategy) Validate

func (ConfigStrategy) ValidateUpdate

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

func (ConfigStrategy) WarningsOnCreate

func (t ConfigStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string

func (ConfigStrategy) WarningsOnUpdate

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

type REST

type REST struct {
	*apiregistry.Store
}

Jump to

Keyboard shortcuts

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