Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidVersion ¶
func IsValidVersion(version string, versions []*consulmodels.HashicorpCloudConsul20210204Version) bool
IsValidVersion determines that a given version string is contained within the slice of available Consul versions.
func RecommendedVersion ¶
func RecommendedVersion(versions []*consulmodels.HashicorpCloudConsul20210204Version) string
RecommendedVersion returns the recommended version of Consul
func VersionsToString ¶ added in v0.2.0
func VersionsToString(versions []*consulmodels.HashicorpCloudConsul20210204Version) string
VersionsToString converts a slice of version pointers to a string of their comma delimited values.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.