Documentation ¶
Index ¶
- Constants
- type ConfigMap
- func (c *ConfigMap) Delete(envName, appName string) error
- func (c *ConfigMap) Get(envName, appName string) (*api.Application, error)
- func (c *ConfigMap) List(envName string) ([]*api.Application, error)
- func (c *ConfigMap) Name() string
- func (c *ConfigMap) Save(app *api.Application, envName string) error
- type Local
Constants ¶
View Source
const ConfigMapDriverName = "ConfigMap"
ConfigMapDriverName is local storage driver name
View Source
const LocalDriverName = "Local"
LocalDriverName is local storage driver name
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMap ¶
ConfigMap Storage
func NewConfigMapStorage ¶
func NewConfigMapStorage() *ConfigMap
NewConfigMapStorage get storage client of ConfigMap type
func (*ConfigMap) Get ¶
func (c *ConfigMap) Get(envName, appName string) (*api.Application, error)
Get applications from configmap storage
type Local ¶
Local Storage
func NewLocalStorage ¶
func NewLocalStorage() *Local
NewLocalStorage get storage client of Local type
func (*Local) Get ¶
func (l *Local) Get(envName, appName string) (*api.Application, error)
Get application from local storage
Click to show internal directories.
Click to hide internal directories.