config

package
v4.0.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 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
}

ConfigStorage storage for Config

func NewStorage

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

NewStorage for Config

type ConfigStrategy

type ConfigStrategy struct {
	runtime.ObjectTyper
	apinames.NameGenerator
}

ConfigStrategy implements behavior for Pods

func (ConfigStrategy) AllowCreateOnUpdate

func (t ConfigStrategy) AllowCreateOnUpdate() bool

AllowCreateOnUpdate always false

func (ConfigStrategy) AllowUnconditionalUpdate

func (t ConfigStrategy) AllowUnconditionalUpdate() bool

AllowUnconditionalUpdate always true

func (ConfigStrategy) Canonicalize

func (t ConfigStrategy) Canonicalize(runtime.Object)

Canonicalize do no-thing

func (ConfigStrategy) GetResetFields

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

GetResetFields always nil

func (ConfigStrategy) NamespaceScoped

func (t ConfigStrategy) NamespaceScoped() bool

NamespaceScoped always true

func (ConfigStrategy) PrepareForCreate

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

PrepareForCreate do no-thing

func (ConfigStrategy) PrepareForUpdate

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

PrepareForUpdate do no-thing

func (ConfigStrategy) Validate

Validate always pass

func (ConfigStrategy) ValidateUpdate

ValidateUpdate do nothing

func (ConfigStrategy) WarningsOnCreate

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

WarningsOnCreate do no-thing

func (ConfigStrategy) WarningsOnUpdate

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

WarningsOnUpdate always nil

type REST

type REST struct {
	*apiregistry.Store
}

REST resource for Config

Jump to

Keyboard shortcuts

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