storage

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApiServerStore

func NewApiServerStore(cli versioned.Interface, codec runtime.Codec, namespace string, objType runtime.Object, newListFunc func() runtime.Object) (storage.Interface, factory.DestroyFunc, error)

New returns an kubernetes configmap implementation of storage.Interface.

Types

type ApiServerRestOptionsFactory

type ApiServerRestOptionsFactory struct {
	RestConfig       *rest.Config
	StorageNamespace string
	Codec            runtime.Codec
}

ApiServerRestOptionsFactory produce RestOptions for resources using kube-apiserver as storage

func (*ApiServerRestOptionsFactory) GetRESTOptions

GetRestOptions fetch a new RestOptions from the factory

Jump to

Keyboard shortcuts

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