type Backend …
type StorageFactory …
type DefaultStorageFactory …
type groupResourceOverrides …
func (o groupResourceOverrides) Apply(config *storagebackend.Config, options *StorageCodecConfig) { … }
var _ …
const AllResources …
func NewDefaultStorageFactory(
config storagebackend.Config,
defaultMediaType string,
defaultSerializer runtime.StorageSerializer,
resourceEncodingConfig ResourceEncodingConfig,
resourceConfig APIResourceConfigSource,
specialDefaultResourcePrefixes map[schema.GroupResource]string,
) *DefaultStorageFactory { … }
func (s *DefaultStorageFactory) SetEtcdLocation(groupResource schema.GroupResource, location []string) { … }
func (s *DefaultStorageFactory) SetEtcdPrefix(groupResource schema.GroupResource, prefix string) { … }
func (s *DefaultStorageFactory) SetResourceEtcdPrefix(groupResource schema.GroupResource, prefix string) { … }
func (s *DefaultStorageFactory) SetSerializer(groupResource schema.GroupResource, mediaType string, serializer runtime.StorageSerializer) { … }
func (s *DefaultStorageFactory) AddCohabitatingResources(groupResources ...schema.GroupResource) { … }
func (s *DefaultStorageFactory) AddSerializationChains(encoderDecoratorFn func(runtime.Encoder) runtime.Encoder, decoderDecoratorFn func([]runtime.Decoder) []runtime.Decoder, groupResources ...schema.GroupResource) { … }
func getAllResourcesAlias(resource schema.GroupResource) schema.GroupResource { … }
func (s *DefaultStorageFactory) getStorageGroupResource(groupResource schema.GroupResource) schema.GroupResource { … }
func (s *DefaultStorageFactory) NewConfig(groupResource schema.GroupResource, example runtime.Object) (*storagebackend.ConfigForResource, error) { … }
func (s *DefaultStorageFactory) Configs() []storagebackend.Config { … }
func Configs(storageConfig storagebackend.Config) []storagebackend.Config { … }
func configs(storageConfig storagebackend.Config, grOverrides map[schema.GroupResource]groupResourceOverrides) []storagebackend.Config { … }
func (s *DefaultStorageFactory) Backends() []Backend { … }
func Backends(storageConfig storagebackend.Config) []Backend { … }
func backends(storageConfig storagebackend.Config, grOverrides map[schema.GroupResource]groupResourceOverrides) []Backend { … }
func (s *DefaultStorageFactory) ResourcePrefix(groupResource schema.GroupResource) string { … }