network

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 20 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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)

func NewStatusStrategy

func NewStatusStrategy(typer runtime.ObjectTyper) networkStatusStrategy

func NewStrategy

func NewStrategy(typer runtime.ObjectTyper) networkStrategy

func SelectableFields

func SelectableFields(network *core.Network) fields.Set

Types

type NetworkStorage

type NetworkStorage struct {
	Network *REST
	Status  *StatusREST
}

func NewStorage

func NewStorage(
	scheme *runtime.Scheme,
	optsGetter generic.RESTOptionsGetter,
	allocator networkidallocator.Interface,
) (NetworkStorage, error)

type REST

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

type StatusREST

type StatusREST struct {
	// contains filtered or unexported fields
}

func (*StatusREST) Destroy

func (r *StatusREST) Destroy()

func (*StatusREST) Get

func (r *StatusREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)

func (*StatusREST) GetResetFields

func (r *StatusREST) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set

func (*StatusREST) New

func (r *StatusREST) New() runtime.Object

func (*StatusREST) Update

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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