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 ¶
func (c *CompletedFactoryConfig) New() (*serverstorage.DefaultStorageFactory, error)
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 ¶
func (c *FactoryConfig) Complete(etcdOptions *storageoptions.ETCDStorageOptions) (*CompletedFactoryConfig, error)
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.
Click to show internal directories.
Click to hide internal directories.