Documentation
¶
Index ¶
- Variables
- func DeleteJob(name string, namespace string) string
- func IsNodeReady(node *v1.Node) bool
- func ListJobs(namespace string) string
- func ResumeJob(name string, namespace string) string
- func RunCliCommand(command []string) string
- func RunCliCommandWithoutKubeConfig(command []string) string
- func SuspendJob(name string, namespace string) string
- func VolcanoCliBinary() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CPU1Mem1 = v1.ResourceList{"cpu": resource.MustParse("1000m"), "memory": resource.MustParse("1024Mi")} CPU2Mem2 = v1.ResourceList{"cpu": resource.MustParse("2000m"), "memory": resource.MustParse("2048Mi")} CPU4Mem4 = v1.ResourceList{"cpu": resource.MustParse("4000m"), "memory": resource.MustParse("4096Mi")} )
Functions ¶
func IsNodeReady ¶
IsNodeReady function returns the node ready status.
func RunCliCommand ¶
RunCliCommand runs the volcano command.
func RunCliCommandWithoutKubeConfig ¶
RunCliCommandWithoutKubeConfig runs the volcano command.
func SuspendJob ¶
SuspendJob suspends the job in the given namepsace.
func VolcanoCliBinary ¶
func VolcanoCliBinary() string
VolcanoCliBinary function gets the volcano cli binary.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.