Documentation ¶
Overview ¶
Copyright (C) 2021-2023, Kubefirst
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Index ¶
- Constants
- func BootstrapGCPMgmtCluster(clientset *kubernetes.Clientset, gitProvider string, gitUser string, ...) error
- func DownloadTools(kubectlClientPath string, kubectlClientVersion string, localOs string, ...) error
- func GetDomainApexContent(domainName string) bool
- func GetGCPTerraformEnvs(config *providerConfigs.ProviderConfig, envs map[string]string) map[string]string
- func GetGithubTerraformEnvs(config *providerConfigs.ProviderConfig, envs map[string]string) map[string]string
- func GetGitlabTerraformEnvs(config *providerConfigs.ProviderConfig, envs map[string]string, gid int) map[string]string
- func GetUsersTerraformEnvs(clientset *kubernetes.Clientset, config *providerConfigs.ProviderConfig, ...) map[string]string
- func GetVaultTerraformEnvs(clientset *kubernetes.Clientset, config *providerConfigs.ProviderConfig, ...) map[string]string
- type GCPConfiguration
- func (conf *GCPConfiguration) CreateBucket(bucketName string) (*storage.BucketAttrs, error)
- func (conf *GCPConfiguration) DeleteBucket(bucketName string) error
- func (conf *GCPConfiguration) GetContainerCluster(clusterName string) (*containerpb.Cluster, error)
- func (conf *GCPConfiguration) GetContainerClusterAuth(clusterName string) (*k8s.KubernetesClient, error)
- func (conf *GCPConfiguration) GetRegions() ([]string, error)
- func (conf *GCPConfiguration) ListBuckets() ([]*storage.BucketAttrs, error)
- func (conf *GCPConfiguration) ListContainerClusters() (*containerpb.ListClustersResponse, error)
- func (conf *GCPConfiguration) TestHostedZoneLiveness(hostedZoneName string) bool
Constants ¶
const (
CloudProvider = "gcp"
)
Variables ¶
This section is empty.
Functions ¶
func BootstrapGCPMgmtCluster ¶ added in v0.1.50
func DownloadTools ¶
func GetDomainApexContent ¶ added in v0.1.50
GetDomainApexContent determines whether or not a target domain features a host responding at zone apex
func GetGCPTerraformEnvs ¶
func GetGCPTerraformEnvs(config *providerConfigs.ProviderConfig, envs map[string]string) map[string]string
func GetGithubTerraformEnvs ¶
func GetGithubTerraformEnvs(config *providerConfigs.ProviderConfig, envs map[string]string) map[string]string
func GetGitlabTerraformEnvs ¶
func GetGitlabTerraformEnvs(config *providerConfigs.ProviderConfig, envs map[string]string, gid int) map[string]string
func GetUsersTerraformEnvs ¶
func GetUsersTerraformEnvs(clientset *kubernetes.Clientset, config *providerConfigs.ProviderConfig, envs map[string]string) map[string]string
func GetVaultTerraformEnvs ¶
func GetVaultTerraformEnvs(clientset *kubernetes.Clientset, config *providerConfigs.ProviderConfig, envs map[string]string) map[string]string
Types ¶
type GCPConfiguration ¶
GCPConfiguration stores session data to organize all GCP functions into a single struct
func (*GCPConfiguration) CreateBucket ¶
func (conf *GCPConfiguration) CreateBucket(bucketName string) (*storage.BucketAttrs, error)
CreateBucket creates a GCS bucket
func (*GCPConfiguration) DeleteBucket ¶
func (conf *GCPConfiguration) DeleteBucket(bucketName string) error
DeleteBucket deletes a GCS bucket
func (*GCPConfiguration) GetContainerCluster ¶
func (conf *GCPConfiguration) GetContainerCluster(clusterName string) (*containerpb.Cluster, error)
GetContainerCluster
func (*GCPConfiguration) GetContainerClusterAuth ¶
func (conf *GCPConfiguration) GetContainerClusterAuth(clusterName string) (*k8s.KubernetesClient, error)
GetContainerClusterAuth
func (*GCPConfiguration) GetRegions ¶
func (conf *GCPConfiguration) GetRegions() ([]string, error)
GetRegions lists all available regions
func (*GCPConfiguration) ListBuckets ¶
func (conf *GCPConfiguration) ListBuckets() ([]*storage.BucketAttrs, error)
ListBuckets lists all GCS buckets for a project
func (*GCPConfiguration) ListContainerClusters ¶
func (conf *GCPConfiguration) ListContainerClusters() (*containerpb.ListClustersResponse, error)
ListContainerClusters
func (*GCPConfiguration) TestHostedZoneLiveness ¶
func (conf *GCPConfiguration) TestHostedZoneLiveness(hostedZoneName string) bool
TestHostedZoneLiveness checks DNS for the liveness test record