Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TFVars ¶
func TFVars(sources TFVarsSources) ([]byte, error)
TFVars generates gcp-specific Terraform variables launching the cluster.
Types ¶
type Auth ¶
type Auth struct {
ProjectID string `json:"gcp_project_id,omitempty"`
NetworkProjectID string `json:"gcp_network_project_id,omitempty"`
ServiceAccount string `json:"gcp_service_account,omitempty"`
}
Auth is the collection of credentials that will be used by terrform.
type TFVarsSources ¶
type TFVarsSources struct {
Auth Auth
CreateFirewallRules bool
ImageURI string
ImageLicenses []string
MasterConfigs []*machineapi.GCPMachineProviderSpec
WorkerConfigs []*machineapi.GCPMachineProviderSpec
PublicZoneName string
PublishStrategy types.PublishingStrategy
PreexistingNetwork bool
}
TFVarsSources contains the parameters to be converted into Terraform variables
Click to show internal directories.
Click to hide internal directories.