Documentation ¶
Index ¶
- Variables
- func GetRegistryOptions(ctx context.Context, typ StorageType) (*options.Options, error)
- func Register(groupName string, addToScheme func(s *runtime.Scheme) error, befn BackendFn, ...)
- type ApplyStorageToBackendFn
- type BackendFn
- type GroupConfig
- type KuidConfig
- type KuidGroupConfig
- type ResourceConfig
- type StorageProviderFn
- type StorageType
Constants ¶
This section is empty.
Variables ¶
View Source
var Groups = map[string]*GroupConfig{}
Functions ¶
func GetRegistryOptions ¶
func Register ¶
func Register(groupName string, addToScheme func(s *runtime.Scheme) error, befn BackendFn, applybefn ApplyStorageToBackendFn, resources []*ResourceConfig)
Types ¶
type ApplyStorageToBackendFn ¶
type GroupConfig ¶
type GroupConfig struct { AddToScheme func(s *runtime.Scheme) error BackendFn BackendFn ApplyStorageToBackendFn ApplyStorageToBackendFn Resources []*ResourceConfig }
type KuidConfig ¶
type KuidConfig struct { Storage StorageType `json:"Storage"` Groups []*KuidGroupConfig `json:"groups"` }
func GetKuidConfig ¶
func GetKuidConfig() (*KuidConfig, error)
type KuidGroupConfig ¶
type ResourceConfig ¶
type ResourceConfig struct { StorageProviderFn StorageProviderFn Internal resource.InternalObject ResourceVersions []resource.Object }
type StorageProviderFn ¶
type StorageType ¶
type StorageType string
const ( StorageType_Memory StorageType = "memory" StorageType_File StorageType = "file" StorageType_Git StorageType = "git" StorageType_Badgerdb StorageType = "badgerdb" StorageType_Etcd StorageType = "etcd" )
Click to show internal directories.
Click to hide internal directories.