Documentation ¶
Index ¶
- Constants
- func GenerateAssetName(values ...string) string
- func GenerateID() string
- func IsClusterIDInvalid(err error) bool
- func IsUnmashalToMapFailed(err error) bool
- func ReadConfigMapYamlFromFile(fs afero.Fs, path string) (string, error)
- func ReadSecretYamlFromFile(fs afero.Fs, path string) (map[string][]byte, error)
Constants ¶
View Source
const ( // IDChars represents the character set used to generate cluster IDs. // (does not contain 1 and l, to avoid confusion) IDChars = "023456789abcdefghijkmnopqrstuvwxyz" // IDLength represents the number of characters used to create a cluster ID. IDLength = 5 )
View Source
const AppCRTemplate = `
{{ .UserConfigConfigMapCR -}}
---
{{ .UserConfigSecretCR -}}
---
{{ .AppCR -}}
`
View Source
const AppCatalogCRTemplate = `
{{ .ConfigmapCR -}}
---
{{ .SecretCR -}}
---
{{ .AppCatalogCR -}}
`
View Source
const ClusterCRsTemplate = `` /* 154-byte string literal not displayed */
View Source
const MachineDeploymentCRsTemplate = `
{{ .MachineDeploymentCR -}}
---
{{ .AWSMachineDeploymentCR -}}
`
Variables ¶
This section is empty.
Functions ¶
func GenerateAssetName ¶ added in v0.2.0
func GenerateID ¶
func GenerateID() string
func IsClusterIDInvalid ¶ added in v0.3.0
IsClusterIDInvalid asserts clusterIDInvalidError.
func IsUnmashalToMapFailed ¶ added in v0.2.0
IsUnmashalToMapFailed asserts unmashalToMapFailedError.
func ReadConfigMapYamlFromFile ¶ added in v0.2.0
readConfigMapFromFile reads a configmap from a YAML file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.