clusterinformation

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: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterInformationToSelectableFields

func ClusterInformationToSelectableFields(obj *calico.ClusterInformation) fields.Set

ClusterInformationToSelectableFields 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 MatchClusterInformation

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

MatchClusterInformation 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
}

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) Create

func (r *REST) Create(ctx context.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error)

Not supported.

func (*REST) Delete

func (r *REST) Delete(ctx context.Context, name string, deleteValidation rest.ValidateObjectFunc, options *metav1.DeleteOptions) (runtime.Object, bool, error)

Not supported.

func (*REST) ShortNames

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

func (*REST) Update

func (r *REST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)

Not supported.

Jump to

Keyboard shortcuts

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