Documentation
¶
Index ¶
- func ApplyTerraform(tp string, tf string)
- func CreateCluster(project string, env string, dryrun bool, tfConfigPath string) error
- func DestroyCluster(project string, env string, tfConfigPath string)
- func FindIngressControllerNode() string
- func GetAllPublicIps() []string
- func GetInternalIpsForNodes() []string
- func InitTerraform(tf string, project string, env string)
- func InstallHelm()
- func NewGcpProvider(projectId string, keyLocation string, gkeCluster GkeCluster) *gcpProvider
- func PlanTerraform(tp string, tf string)
- func ProviderSetup()
- func SetupProvider(providerValue string, zone string, clusterName string, project string, ...)
- func ValidateTFVars(tfPath string) (string, string)
- type GkeCluster
- type GkeClusterActions
- type Provider
- type ProviderFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyTerraform ¶
func CreateCluster ¶
TODO: pass variables into the TF template/clustervars
func DestroyCluster ¶
func FindIngressControllerNode ¶
func FindIngressControllerNode() string
func GetAllPublicIps ¶
func GetAllPublicIps() []string
func GetInternalIpsForNodes ¶
func GetInternalIpsForNodes() []string
func InitTerraform ¶
func InstallHelm ¶
func InstallHelm()
func NewGcpProvider ¶
func NewGcpProvider(projectId string, keyLocation string, gkeCluster GkeCluster) *gcpProvider
func PlanTerraform ¶
func ProviderSetup ¶
func ProviderSetup()
func SetupProvider ¶
func ValidateTFVars ¶
Types ¶
type GkeCluster ¶
type GkeCluster struct {
// contains filtered or unexported fields
}
type GkeClusterActions ¶
func NewGkeClusterService ¶
func NewGkeClusterService(deployer deploy.Deployer, dnsService gcp.DNSService, domainName string, gcpProject string, env string) GkeClusterActions
TODO: group domainName, gcpProject, env in one object
type ProviderFactory ¶
type ProviderFactory struct { }
Click to show internal directories.
Click to hide internal directories.