Documentation ¶
Index ¶
- Constants
- func ErrList(e []error) error
- func GetDefaultRKETools() string
- func GetObjectQueue(l interface{}) chan interface{}
- func IsRancherBackupSupported(image string) bool
- func IsSymlink(file string) (bool, error)
- func StrToSemVer(version string) (*semver.Version, error)
- func UniqueStringSlice(elements []string) []string
- func ValidateVersion(version string) error
Constants ¶
View Source
const ( WorkerThreads = 50 SupportedSyncToolsVersion = "0.1.22" )
Variables ¶
This section is empty.
Functions ¶
func GetDefaultRKETools ¶ added in v0.2.0
func GetDefaultRKETools() string
func GetObjectQueue ¶ added in v0.1.18
func GetObjectQueue(l interface{}) chan interface{}
func IsRancherBackupSupported ¶ added in v0.2.0
func UniqueStringSlice ¶ added in v0.2.0
UniqueStringSlice - Input slice, retrun slice with unique elements. Will not maintain order.
func ValidateVersion ¶
ValidateVersion - Return error if version is not valid Is version major.minor >= oldest major.minor supported Is version in the AllK8sVersions list Is version not in the "bad" list
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.