Documentation ¶
Index ¶
- func CompareVersion(version1, version2 string) int
- func Decrypt(secret string) (string, error)
- func Encrypt(secret string) (string, error)
- func GetChartNameFromDeploymentYAML(deploymentYAML string) string
- func GetChartVersionFromDeploymentYAML(deploymentYAML string) string
- func IsDomainName(s string) bool
- func Upgradeable(version string, versionlist []string) bool
- func Upgradeablelist(version string, versionlist []string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareVersion ¶ added in v0.3.0
CompareVersion compare version1 and version2 If version1 is larger, return 1 If version2 is larger, return -1 otherwise return 0
func GetChartNameFromDeploymentYAML ¶ added in v0.3.0
func GetChartVersionFromDeploymentYAML ¶ added in v0.3.0
func IsDomainName ¶
IsDomainName checks if a string is a presentation-format domain name
func Upgradeable ¶ added in v0.3.0
Upgradeable If the versionlist contains a version number higher than version, then return true
func Upgradeablelist ¶ added in v0.3.0
Upgradeablelist If the versionlist contains a version number higher than version, then return the upgradeable list
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.