package
0.0.0-20200402034527-ac39e06ead5a
Repository: https://github.com/red-firefly/volcano.git
Documentation: pkg.go.dev
# Functions
BuildConfig builds the configure file for command lines.
CreateJobCommand executes a command such as resume/suspend.
HomeDir gets the env $HOME.
HumanDuration translate time.Duration to human readable time string.
InitFlags initializes the common flags for most command lines.
PopulateResourceListV1 takes strings of form <resourceName1>=<value1>,<resourceName1>=<value2> and returns ResourceList.
TranslateTimestampSince translates the time stamp.
# Structs
CommonFlags are the flags that most command lines have.