storage

package

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SpecialDefaultResourcePrefixes = map[schema.GroupResource]string{}

SpecialDefaultResourcePrefixes are prefixes compiled into Kubernetes.

Functions

This section is empty.

Types

type CompletedFactoryConfig

type CompletedFactoryConfig struct {
	*FactoryConfig
}

CompletedFactoryConfig represents the configuration of etcd backend storage.

func (*CompletedFactoryConfig) New

New creates the DefaultStorageFactory object and returns it.

type FactoryConfig

type FactoryConfig struct {
	StorageConfig                    storagebackend.Config
	APIResourceConfig                *serverstorage.ResourceConfig
	DefaultResourceEncoding          *serverstorage.DefaultResourceEncodingConfig
	DefaultStorageMediaType          string
	Serializer                       runtime.StorageSerializer
	ResourceEncodingOverrides        []schema.GroupVersionResource
	ETCDServersOverrides             []string
	EncryptionProviderConfigFilePath string
}

FactoryConfig represents the configuration of etcd backend storage.

func NewFactoryConfig

func NewFactoryConfig(codecs runtime.StorageSerializer, scheme *runtime.Scheme) *FactoryConfig

NewFactoryConfig creates the default FactoryConfig object.

func (*FactoryConfig) Complete

Complete takes the command arguments and factory and infers any remaining options.

type RESTStorageProvider

type RESTStorageProvider interface {
	GroupName() string
	NewRESTStorage(apiResourceConfigSource serverstorage.APIResourceConfigSource, restOptionsGetter generic.RESTOptionsGetter) (genericapiserver.APIGroupInfo, bool)
}

RESTStorageProvider is a factory type for REST storage.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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