Documentation
¶
Index ¶
- func CheckLocalDNS(resolvConf []byte) bool
- func CopyFile(src, dst string) (int64, error)
- func DockergshInitPath(localCopy string) string
- func EncodeSha256(b []byte) string
- func GetLines(input []byte, commentMarker []byte) [][]byte
- func NewId() string
- func NewPipe() (*os.File, *os.File, error)
- func PathExists(path string) (bool, error)
- func SelfPath() string
- func TruncateID(id string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckLocalDNS ¶
CheckLocalDNS 会查看 /etc/resolv.conf,如果第一条生效的 那么nameserver是 127 的本地dns,则返回true
func DockergshInitPath ¶
DockergshInitPath 找出 dockergshinit 的路径
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.