knownservers

package
v0.0.231 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 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(_ runtime.Object)

func (KnownServerStrategy) NamespaceScoped

func (KnownServerStrategy) NamespaceScoped() bool

func (KnownServerStrategy) PrepareForCreate

func (KnownServerStrategy) PrepareForCreate(_ context.Context, _ runtime.Object)

func (KnownServerStrategy) PrepareForUpdate

func (KnownServerStrategy) PrepareForUpdate(_ context.Context, _, _ runtime.Object)

func (KnownServerStrategy) Validate

func (KnownServerStrategy) ValidateUpdate

func (KnownServerStrategy) WarningsOnCreate

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

WarningsOnCreate returns warnings for the creation of the given object.

func (KnownServerStrategy) WarningsOnUpdate

func (KnownServerStrategy) WarningsOnUpdate(_ context.Context, _, _ 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