ipclaim

package
v0.0.0-...-a5434b2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 38 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 does not match

func Match

MatchPackageRevision 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(ctx context.Context, scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter, client client.Client, storeConfig *store.Config, be backend.Backend[*ipam.CacheContext]) (rest.Storage, error)

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

func NewStrategy

func NewStrategy(ctx context.Context, typer runtime.ObjectTyper, client client.Client, store storebackend.Storer[runtime.Object], be backend.Backend[*ipam.CacheContext]) *strategy

NewStrategy creates and returns a fischerStrategy instance

func SelectableFields

func SelectableFields(obj *ipambe1v1alpha1.IPClaim) fields.Set

SelectableFields returns a field set that represents the object.

Types

type Filter

type Filter struct {
	// Name filters by the name of the objects
	Name string

	// Namespace filters by the namespace of the objects
	Namespace string

	NetworkInstance string
}

Filter

Jump to

Keyboard shortcuts

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