Documentation ¶
Index ¶
- type State
- func (state *State) AddBackup(name string, obj interface{}) error
- func (state *State) AddCluster(provider, name string, obj interface{}) error
- func (state *State) AddNode(clusterKey, name string, obj interface{}) error
- func (state *State) Backup(clusterKey string) string
- func (state *State) Bytes() []byte
- func (state *State) Clusters() (map[string]string, error)
- func (state *State) Delete(path string) error
- func (state *State) Get(path string) string
- func (state *State) Nodes(clusterKey string) (map[string]string, error)
- func (state *State) SetManager(obj interface{}) error
- func (state *State) SetTerraformBackendConfig(tfBackendPath string, tfBackendObj interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct { Name string // contains filtered or unexported fields }
func (*State) AddCluster ¶ added in v0.9.0
Clusters are stored at path `module.cluster_{provider}_{clusterName}`
func (*State) AddNode ¶ added in v0.9.0
Nodes are stored at path `module.node_{provider}_{clusterName}_{nodeName}`
func (*State) Clusters ¶
Returns map of cluster name to cluster key Clusters are stored at path `module.cluster_{provider}_{clusterName}`
func (*State) Nodes ¶
Returns map of node name to node key for all nodes in a cluster Nodes are stored at path `module.node_{provider}_{clusterName}_{nodeName}`
func (*State) SetManager ¶ added in v0.9.0
func (*State) SetTerraformBackendConfig ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.