Documentation
¶
Index ¶
- func CheckType(args ...interface{})
- func ConvertArrayToStr(arr []string) string
- func ExpandMapToString(m map[string]interface{}) map[string]string
- func MangoPrintTemplate(m interface{}) string
- func PathExists(path string) bool
- func ReportErr(err error)
- func StructToMap(m interface{}) map[string]interface{}
- type Config
- type Docker
- type Image
- type Images
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertArrayToStr ¶
ConvertArrayToStr 拼接字符串数组 []string 返回单一 string
func ExpandMapToString ¶
func MangoPrintTemplate ¶
func MangoPrintTemplate(m interface{}) string
func PathExists ¶
func StructToMap ¶
func StructToMap(m interface{}) map[string]interface{}
Types ¶
type Config ¶
type Config struct { Token string `yaml:"token"` Username string `yaml:"username"` Password string `yaml:"password"` BaseUrl string `yaml:"baseUrl"` }
func ReadLocalConfig ¶
func ReadLocalConfig() *Config
type Docker ¶
type Docker struct {
// contains filtered or unexported fields
}
func (*Docker) InspectImage ¶
func (*Docker) ListImages ¶
Click to show internal directories.
Click to hide internal directories.