Documentation ¶
Index ¶
- func InitStorage(logVerbosity int, logWriter io.Writer) resources.StorageFactory
- type Store
- func (db *Store) AlreadyCreated(cloud consts.KsctlCloud, region, clusterName string, ...) error
- func (db *Store) Connect(ctx context.Context) error
- func (db *Store) DeleteCluster() error
- func (db *Store) GetOneOrMoreClusters(filter map[string]string) (map[consts.KsctlClusterType][]*types.StorageDocument, error)
- func (db *Store) Kill() error
- func (db *Store) Read() (*types.StorageDocument, error)
- func (db *Store) ReadCredentials(cloud consts.KsctlCloud) (*types.CredentialsDocument, error)
- func (db *Store) Setup(cloud consts.KsctlCloud, region, clusterName string, ...) error
- func (db *Store) Write(v *types.StorageDocument) error
- func (db *Store) WriteCredentials(cloud consts.KsctlCloud, v *types.CredentialsDocument) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitStorage ¶
func InitStorage(logVerbosity int, logWriter io.Writer) resources.StorageFactory
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) AlreadyCreated ¶
func (db *Store) AlreadyCreated(cloud consts.KsctlCloud, region, clusterName string, clusterType consts.KsctlClusterType) error
func (*Store) DeleteCluster ¶
func (*Store) GetOneOrMoreClusters ¶
func (db *Store) GetOneOrMoreClusters(filter map[string]string) (map[consts.KsctlClusterType][]*types.StorageDocument, error)
func (*Store) ReadCredentials ¶
func (db *Store) ReadCredentials(cloud consts.KsctlCloud) (*types.CredentialsDocument, error)
func (*Store) Setup ¶
func (db *Store) Setup(cloud consts.KsctlCloud, region, clusterName string, clusterType consts.KsctlClusterType) error
func (*Store) WriteCredentials ¶
func (db *Store) WriteCredentials(cloud consts.KsctlCloud, v *types.CredentialsDocument) error
Click to show internal directories.
Click to hide internal directories.