package storage

import "k8s.io/kubernetes/pkg/registry/networking/clustercidr/storage"

Index

Types

type REST

type REST struct {
	*genericregistry.Store
}

REST implements a RESTStorage for ClusterCIDRs against etcd.

func NewREST

func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error)

NewREST returns a RESTStorage object that will work against ClusterCIDRs.

func (*REST) ShortNames

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

ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.

Source Files

storage.go

Version
v1.27.2
Published
May 17, 2023
Platform
js/wasm
Imports
9 packages
Last checked
32 seconds ago

Tools for package owners.