Documentation
¶
Index ¶
- Constants
- func CMCTemplate() string
- func GetAgeKey(cluster string) string
- func GetCCRName(customer string) string
- func GetCMCName(customer string) string
- func GetCMCPath(cluster string) string
- func GetCertManagerSecretName(cluster string) string
- func GetClusterSecretFile(cluster string) string
- func GetContainerRegistriesFile(cluster string) string
- func GetData(data any) ([]byte, error)
- func GetDefaultConfigBranch(cluster string) string
- func GetDefaultPRBranch(cluster string) string
- func GetDeployKey(cluster string) string
- func GetInstallationsPath(cluster string) string
- func GetKnownHosts(cluster string) string
- func GetMultiLineValue(key string, data string) (string, error)
- func GetNamespacedName(data string) (name, namespace string)
- func GetOwnershipBranch(customer string) string
- func GetPassphrase(cluster string) string
- func GetRandom() string
- func GetSecretValue(key string, data string) (string, error)
- func GetTMPLFile(file string) string
- func GetValidProviders() []string
- func GetValidRepositories() []string
- func GetValue(key string, data string) (string, error)
- func IsProviderAWS(provider string) bool
- func IsProviderAzure(provider string) bool
- func IsProviderGCP(provider string) bool
- func IsProviderVCD(provider string) bool
- func IsProviderVsphere(provider string) bool
- func IsValidProvider(provider string) bool
- func IsValidRepository(repository string) bool
- func MergeValues(valuesA string, valuesB string) (string, error)
- func Skip(name string, skip []string) bool
Constants ¶
View Source
const ( OrganizationGiantSwarm = "giantswarm" RepositoryInstallations = "installations" RepositoryCMC = "cmc" RepositoryGithub = "github" RepositoryMCBootstrap = "mc-bootstrap" InstallationsMainBranch = "master" CMCMainBranch = "main" MCBMainBranch = "main" Employees = "employees" Bots = "bots" CMCTemplateRepository = "template-management-clusters" CMCEntryTemplatePath = "scripts/setup-cmc-branch/management-cluster-template" FluxNamespace = "flux-giantswarm" )
View Source
const ( ClusterValuesFile = "cluster-values.yaml" CommonSecretsFile = "common.secrets" )
View Source
const ( ProviderAWS = "capa" ProviderAzure = "capz" ProviderVCD = "cloud-director" ProviderVsphere = "vsphere" ProviderGCP = "gcp" )
Variables ¶
This section is empty.
Functions ¶
func CMCTemplate ¶
func CMCTemplate() string
func GetCCRName ¶ added in v0.2.0
func GetCMCName ¶
func GetCMCPath ¶
func GetClusterSecretFile ¶
func GetDefaultConfigBranch ¶
func GetDefaultPRBranch ¶
func GetDeployKey ¶
func GetInstallationsPath ¶
func GetKnownHosts ¶
func GetNamespacedName ¶
func GetOwnershipBranch ¶
func GetPassphrase ¶
func GetTMPLFile ¶
func GetValidProviders ¶
func GetValidProviders() []string
func GetValidRepositories ¶
func GetValidRepositories() []string
func IsProviderAWS ¶
sometimes providers are called differently. todo: identify cases and add const for them
func IsProviderAzure ¶
func IsProviderGCP ¶
func IsProviderVCD ¶
func IsProviderVsphere ¶
func IsValidProvider ¶
func IsValidRepository ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.