Documentation ¶
Index ¶
- func CompareVersions(a, b string) (int, error)
- func IsARMInstanceType(instanceType string) bool
- func IsGPUInstanceType(instanceType string) bool
- func IsInferentiaInstanceType(instanceType string) bool
- func IsMinVersion(minimumVersion, version string) (bool, error)
- func ToKebabCase(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareVersions ¶
CompareVersions compares two version strings with the usual conventions: returns 0 if a == b returns 1 if a > b returns -1 if b < a
func IsARMInstanceType ¶
IsARMInstanceType returns true if the instance type is ARM architecture
func IsGPUInstanceType ¶
IsGPUInstanceType returns true if the instance type is GPU optimised
func IsInferentiaInstanceType ¶
IsInferentiaInstanceType returns true if the instance type requires AWS Neuron
func IsMinVersion ¶
IsMinVersion compares a given version number with a minimum one and returns true if version >= minimumVersion
func ToKebabCase ¶
ToKebabCase turns a CamelCase string into a kebab-case string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.