consul

package
v0.46.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2022 License: MPL-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL