Documentation
¶
Index ¶
- Constants
- func GetCSPName(providerName string) (config.CSP, error)
- func GetControlPlaneIPs(VMs []model.VM) []string
- func GetRegionName(infoList []spider.KeyValue) string
- func GetUserAccount(csp config.CSP) string
- func GetVmImageId(csp config.CSP, configName string) (string, error)
- type NodeConfigInfo
- func (nodeConfigInfo *NodeConfigInfo) CreateFirewall(namespace string, clusterName string) (*tumblebug.Firewall, error)
- func (nodeConfigInfo *NodeConfigInfo) CreateImage(namespace string, clusterName string) (*tumblebug.Image, error)
- func (nodeConfigInfo *NodeConfigInfo) CreateSpec(namespace string, clusterName string) (*tumblebug.Spec, error)
- func (nodeConfigInfo *NodeConfigInfo) CreateSshKey(namespace string, clusterName string) (*tumblebug.SSHKey, error)
- func (nodeConfigInfo *NodeConfigInfo) CreateVPC(namespace string, clusterName string) (*tumblebug.VPC, error)
Constants ¶
View Source
const (
GCP_IMAGE_ID = "https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/images/ubuntu-1804-bionic-v20201014"
)
Variables ¶
This section is empty.
Functions ¶
func GetControlPlaneIPs ¶
func GetUserAccount ¶
TODO update/hard-coding host user account
Types ¶
type NodeConfigInfo ¶
type NodeConfigInfo struct { model.NodeConfig Csp config.CSP `json:"csp"` Role string `json:"role"` Region string `json:"region"` Account string `json:"account"` }
func SetNodeConfigInfos ¶
func SetNodeConfigInfos(nodeConfigs []model.NodeConfig, role string) ([]NodeConfigInfo, error)
func (*NodeConfigInfo) CreateFirewall ¶
func (*NodeConfigInfo) CreateImage ¶
func (*NodeConfigInfo) CreateSpec ¶
func (*NodeConfigInfo) CreateSshKey ¶
Click to show internal directories.
Click to hide internal directories.