knownservers

package
v0.0.85 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 13 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)

GetAttrs returns labels.Set, fields.Set, and error in case the given runtime.Object is not a KnownServer

func MatchKnownServer

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

func NewREST

func NewREST(scheme *runtime.Scheme, storageImpl storage.Interface, optsGetter generic.RESTOptionsGetter) (*registry.REST, error)

NewREST returns a RESTStorage object that will work against API services.

func SelectableFields

func SelectableFields(obj *softwarecomposition.KnownServer) fields.Set

SelectableFields returns a field set that represents the object.

Types

type KnownServerStrategy

type KnownServerStrategy struct {
	runtime.ObjectTyper
	names.NameGenerator
}

func NewStrategy

func NewStrategy(typer runtime.ObjectTyper) KnownServerStrategy

NewStrategy creates and returns a KnownServerStrategy instance

func (KnownServerStrategy) AllowCreateOnUpdate

func (KnownServerStrategy) AllowCreateOnUpdate() bool

func (KnownServerStrategy) AllowUnconditionalUpdate

func (KnownServerStrategy) AllowUnconditionalUpdate() bool

func (KnownServerStrategy) Canonicalize

func (KnownServerStrategy) Canonicalize(obj runtime.Object)

func (KnownServerStrategy) NamespaceScoped

func (KnownServerStrategy) NamespaceScoped() bool

func (KnownServerStrategy) PrepareForCreate

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

func (KnownServerStrategy) PrepareForUpdate

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

func (KnownServerStrategy) Validate

func (KnownServerStrategy) ValidateUpdate

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

func (KnownServerStrategy) WarningsOnCreate

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

WarningsOnCreate returns warnings for the creation of the given object.

func (KnownServerStrategy) WarningsOnUpdate

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

WarningsOnUpdate returns warnings for the given update.

Jump to

Keyboard shortcuts

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