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.
Index ¶
- Constants
- func AdjustGitopsRepo(cloudProvider string, clusterName string, clusterType string, ...) error
- func AdjustMetaphorRepo(destinationMetaphorRepoURL string, gitopsRepoDir string, gitProvider string, ...) error
- func DetokenizeAdditionalPath(path string, tokens *GitOpsDirectoryValues) error
- func DetokenizeGitGitops(path string, tokens *GitOpsDirectoryValues, gitProtocol string) error
- func DetokenizeGitMetaphor(path string, tokens *MetaphorTokenValues) error
- func PrepareGitRepositories(cloudProvider string, gitProvider string, clusterName string, ...) error
- type GitOpsDirectoryValues
- type MetaphorTokenValues
- type ProviderConfig
Constants ¶
const ( GithubHost = "github.com" GitlabHost = "gitlab.com" KubectlClientVersion = "v1.25.7" LocalhostOS = runtime.GOOS LocalhostArch = runtime.GOARCH TerraformClientVersion = "1.3.8" ArgocdHelmChartVersion = "4.10.5" ArgocdPortForwardURL = pkg.ArgocdPortForwardURL VaultPortForwardURL = pkg.VaultPortForwardURL )
Variables ¶
This section is empty.
Functions ¶
func AdjustGitopsRepo ¶
func AdjustGitopsRepo( cloudProvider string, clusterName string, clusterType string, gitopsRepoDir string, gitProvider string, k1Dir string, apexContentExists bool, ) error
AdjustGitopsRepo
func AdjustMetaphorRepo ¶
func AdjustMetaphorRepo( destinationMetaphorRepoURL string, gitopsRepoDir string, gitProvider string, k1Dir string, ) error
AdjustMetaphorRepo
func DetokenizeAdditionalPath ¶
func DetokenizeAdditionalPath(path string, tokens *GitOpsDirectoryValues) error
DetokenizeAdditionalPath - Translate tokens by values on a given path
func DetokenizeGitGitops ¶
func DetokenizeGitGitops(path string, tokens *GitOpsDirectoryValues, gitProtocol string) error
DetokenizeGitGitops - Translate tokens by values on a given path
func DetokenizeGitMetaphor ¶
func DetokenizeGitMetaphor(path string, tokens *MetaphorTokenValues) error
DetokenizeGithubMetaphor - Translate tokens by values on a given path
func PrepareGitRepositories ¶
func PrepareGitRepositories( cloudProvider string, gitProvider string, clusterName string, clusterType string, destinationGitopsRepoURL string, gitopsDir string, gitopsTemplateBranch string, gitopsTemplateURL string, destinationMetaphorRepoURL string, k1Dir string, gitopsTokens *GitOpsDirectoryValues, metaphorDir string, metaphorTokens *MetaphorTokenValues, apexContentExists bool, gitProtocol string, ) error
PrepareGitRepositories
Types ¶
type GitOpsDirectoryValues ¶
type GitOpsDirectoryValues struct { AlertsEmail string AtlantisAllowList string CloudProvider string CloudRegion string ClusterId string ClusterName string ClusterType string ContainerRegistryURL string DomainName string DNSProvider string Kubeconfig string KubeconfigPath string KubefirstArtifactsBucket string KubefirstStateStoreBucket string KubefirstTeam string KubefirstVersion string StateStoreBucketHostname string ArgoCDIngressURL string ArgoCDIngressNoHTTPSURL string ArgoWorkflowsIngressURL string ArgoWorkflowsIngressNoHTTPSURL string ArgoWorkflowsDir string AtlantisIngressURL string AtlantisIngressNoHTTPSURL string AtlantisWebhookURL string ChartMuseumIngressURL string VaultIngressURL string VaultIngressNoHTTPSURL string VaultDataBucketName string VouchIngressURL string AwsIamArnAccountRoot string AwsKmsKeyId string AwsNodeCapacityType string AwsAccountID string GCPAuth string GCPProject string GitDescription string GitNamespace string GitProvider string GitProtocol string GitopsRepoGitURL string GitopsRepoHttpsURL string GitopsRepoURL string GitRunner string GitRunnerDescription string GitRunnerNS string GitURL string GitHubHost string GitHubOwner string GitHubUser string GitlabHost string GitlabOwner string GitlabOwnerGroupID int GitlabUser string GitOpsRepoAtlantisWebhookURL string GitOpsRepoGitURL string GitOpsRepoNoHTTPSURL string ExternalDNSProviderName string ExternalDNSProviderTokenEnvName string ExternalDNSProviderSecretName string ExternalDNSProviderSecretKey string UseTelemetry string }
type MetaphorTokenValues ¶
type ProviderConfig ¶
type ProviderConfig struct { CivoToken string DigitaloceanToken string GCPAuth string GCPProject string VultrToken string CloudflareAPIToken string GithubToken string GitlabToken string ArgoWorkflowsDir string DestinationGitopsRepoHttpsURL string DestinationGitopsRepoGitURL string DestinationGitopsRepoURL string DestinationMetaphorRepoHttpsURL string DestinationMetaphorRepoGitURL string DestinationMetaphorRepoURL string GitopsDir string GitProvider string GitProtocol string K1Dir string Kubeconfig string KubectlClient string KubefirstBotSSHPrivateKey string KubefirstConfig string LogsDir string MetaphorDir string RegistryAppName string RegistryYaml string SSLBackupDir string TerraformClient string ToolsDir string GitOpsDirectoryValues *GitOpsDirectoryValues MetaphorDirectoryValues *MetaphorTokenValues }