networkneighborhood

package
v0.0.90 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 15 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 Flunder

func MatchNetworkNeighborhood

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

MatchNetworkNeighborhood is the filter used by the generic etcd backend to watch events from etcd to clients of the apiserver only interested in specific labels/fields.

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.NetworkNeighborhood) fields.Set

SelectableFields returns a field set that represents the object.

Types

type NetworkNeighborhoodStrategy

type NetworkNeighborhoodStrategy struct {
	runtime.ObjectTyper
	names.NameGenerator
}

func NewStrategy

NewStrategy creates and returns a NetworkNeighborhoodStrategy instance

func (NetworkNeighborhoodStrategy) AllowCreateOnUpdate

func (NetworkNeighborhoodStrategy) AllowCreateOnUpdate() bool

func (NetworkNeighborhoodStrategy) AllowUnconditionalUpdate

func (NetworkNeighborhoodStrategy) AllowUnconditionalUpdate() bool

func (NetworkNeighborhoodStrategy) Canonicalize

func (NetworkNeighborhoodStrategy) Canonicalize(obj runtime.Object)

func (NetworkNeighborhoodStrategy) NamespaceScoped

func (NetworkNeighborhoodStrategy) NamespaceScoped() bool

func (NetworkNeighborhoodStrategy) PrepareForCreate

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

func (NetworkNeighborhoodStrategy) PrepareForUpdate

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

func (NetworkNeighborhoodStrategy) Validate

func (NetworkNeighborhoodStrategy) ValidateUpdate

func (NetworkNeighborhoodStrategy) WarningsOnCreate

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

WarningsOnCreate returns warnings for the creation of the given object.

func (NetworkNeighborhoodStrategy) WarningsOnUpdate

func (NetworkNeighborhoodStrategy) 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