Documentation ¶
Index ¶
- type Store
- func (s *Store) AddClusterSetFromConfigs(name string, configset *kube.ConfigSet) error
- func (s *Store) AddClusterSetFromEnv(name string, env *drenv.Environment) error
- func (s *Store) GetClusterSet(name string) (*api.ClusterSet, error)
- func (s *Store) ListClusterSets() ([]string, error)
- func (s *Store) RemoveClusterSet(name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store stores and loads configurations.
func DefaultStore ¶
func DefaultStore() *Store
DefaultStore return the default configuration storage.
func (*Store) AddClusterSetFromConfigs ¶
AddClusterSetFromEnv add a clusterset from kubeconfigs.
func (*Store) AddClusterSetFromEnv ¶
func (s *Store) AddClusterSetFromEnv(name string, env *drenv.Environment) error
AddClusterSetFromEnv add a clusterset from ramen test environment.
func (*Store) GetClusterSet ¶
func (s *Store) GetClusterSet(name string) (*api.ClusterSet, error)
func (*Store) ListClusterSets ¶
ListClusterSets return slice of clusterset names. The result may contain invalid configurations.
func (*Store) RemoveClusterSet ¶
Click to show internal directories.
Click to hide internal directories.