Documentation ¶
Index ¶
- func ArchAlias(arch string) string
- func CreateDir(path string) error
- func GetArgs(argsMap map[string]string, args []string) ([]string, map[string]string)
- func GetAvailableIP(ipAndMask string) []string
- func GetAvailableIPRange(ipStart, ipEnd string) []string
- func GetLocalIP() (string, error)
- func Home() (string, error)
- func IPAddressToCIDR(ipAdress string) string
- func IPMaskStringToCIDR(netmask string) string
- func InitLogger(verbose bool) *log.Logger
- func IsExist(path string) bool
- func LocalIP() string
- func NewClient(config string) (*kubernetes.Clientset, error)
- func NewDynamicClient(config string) (*rest.Config, error)
- func ParseIp(ip string) []string
- func RefineDockerVersion(version string) (string, error)
- func Render(tmpl *template.Template, variables map[string]interface{}) (string, error)
- type Data
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArchAlias ¶ added in v1.2.0
ArchAlias returns the alias of cpu's architecture. amd64: x86_64 arm64: aarch64
func GetAvailableIP ¶
func GetAvailableIPRange ¶
func GetLocalIP ¶
func IPAddressToCIDR ¶
func IPMaskStringToCIDR ¶
func InitLogger ¶
func RefineDockerVersion ¶ added in v1.1.0
Types ¶
Click to show internal directories.
Click to hide internal directories.