osutils

package
v0.20.4-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cat

func Cat(filename string) ([]byte, error)

Cat runs cat command on file

func Chmod

func Chmod(mode string, filename string) error

Chmod runs chmod on file with arguments

func FileEmpty

func FileEmpty(filename os.FileInfo) bool

FileEmpty verifies if file is empty

func FileExists

func FileExists(filename string) (os.FileInfo, error)

FileExists returns true if file exists

func Kubectl

func Kubectl(arguments []string) error

Kubectl run kubectl comamnd with arguments

func Sh

func Sh(arguments []string) error

Sh run sh command with arguments

func Wget

func Wget(URL string, filename string, verifyFile bool) error

Wget runs wget command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL