Documentation ¶
Index ¶
- func ExpandPath(path string) string
- func FileChecksum(path string) (string, error)
- func HomeDir() string
- func IsRunningInContainer() bool
- func IsRunningInDocker() bool
- func IsRunningInK8s() bool
- func IsStringInFile(s, path string) bool
- func NewReadCloser(r io.Reader, closure func() error) io.ReadCloser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandPath ¶ added in v0.9.23
Expands tilde and all environment variables from the given path.
func FileChecksum ¶ added in v1.3.2
func IsRunningInContainer ¶
func IsRunningInContainer() bool
func IsRunningInDocker ¶
func IsRunningInDocker() bool
func IsRunningInK8s ¶
func IsRunningInK8s() bool
func IsStringInFile ¶
func NewReadCloser ¶
func NewReadCloser(r io.Reader, closure func() error) io.ReadCloser
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.