Documentation ¶
Index ¶
- func CheckBytesRandomness(t *testing.T, data []byte)
- func ExpandPath(path string) string
- func FileChecksum(path string) (string, error)
- func HomeDir() string
- func IsRunningInContainer() bool
- func IsRunningInDocker() bool
- func IsRunningInK8s() bool
- func IsRunningInPodman() bool
- func IsStringInFile(s, path string) bool
- func NewReadCloser(r io.Reader, closure func() error) io.ReadCloser
- func PathExists(path string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckBytesRandomness ¶ added in v1.8.0
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 IsRunningInPodman ¶ added in v1.9.1
func IsRunningInPodman() bool
func IsStringInFile ¶
func NewReadCloser ¶
func NewReadCloser(r io.Reader, closure func() error) io.ReadCloser
func PathExists ¶ added in v1.11.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.