etcd

package
v3.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSCC

func AddSCC(sccStorage *REST) func(restStorage map[string]rest.Storage) map[string]rest.Storage

AddSCC returns a func to adds SCC to storage

Types

type LegacyREST

type LegacyREST struct {
	*REST
}

LegacyREST allows us to wrap and alter some behavior

func (*LegacyREST) Categories

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

type REST

type REST struct {
	*registry.Store
}

REST implements a RESTStorage for security context constraints against etcd

func NewREST

func NewREST(optsGetter generic.RESTOptionsGetter) *REST

NewREST returns a RESTStorage object that will work against security context constraints objects.

func (*REST) ShortNames

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

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

Jump to

Keyboard shortcuts

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