bgpfilter

package
v0.0.0-...-21cfbab Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Apache-2.0, Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BGPFilterToSelectableFields

func BGPFilterToSelectableFields(obj *calico.BGPFilter) fields.Set

BGPFilterToSelectableFields returns a field set that represents the object.

func EmptyObject

func EmptyObject() runtime.Object

EmptyObject returns an empty instance

func GetAttrs

func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)

func MatchBGPFilter

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

MatchBGPFilter 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 NewList

func NewList() runtime.Object

NewList returns a new shell of a binding list

func NewStrategy

func NewStrategy(typer runtime.ObjectTyper) apiServerStrategy

NewStrategy returns a new NamespaceScopedStrategy for instances

Types

type REST

type REST struct {
	*genericregistry.Store
	// contains filtered or unexported fields
}

rest implements a RESTStorage for API services against etcd

func NewREST

func NewREST(scheme *runtime.Scheme, opts server.Options) (*REST, error)

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

func (*REST) Categories

func (r *REST) Categories() []string

func (*REST) ShortNames

func (r *REST) ShortNames() []string

Jump to

Keyboard shortcuts

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