utils

package
v0.0.0-...-5c07195 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyLocalRepoToMPIJob

func CopyLocalRepoToMPIJob(url string, mpijob *batchv1.MPIJob)

func DeleteRelease

func DeleteRelease(name, namespace string) error

func EnsureNamespace

func EnsureNamespace(ns string) error

func GetMPIJob

func GetMPIJob(name, ns string) (*batchv1.MPIJob, error)

func GetNamespace

func GetNamespace(ns string) error

func GetPod

func GetPod(name, ns string) (*v1.Pod, error)

func GetReleaseValue

func GetReleaseValue(name, namespace string) error

func GetStatefulSet

func GetStatefulSet(name, ns string) (*appsv1.StatefulSet, error)

func InitKubeClient

func InitKubeClient() error

func InstallRelease

func InstallRelease(name string, namespace string, values interface{}) error

func ListMPIJob

func ListMPIJob(ns string) (*batchv1.MPIJobList, error)

func NewMPIClient

func NewMPIClient() (*versioned.Clientset, error)

func PrintMPIJobList

func PrintMPIJobList(mpijobs *batchv1.MPIJobList)

func PrintMPIJobLog

func PrintMPIJobLog(mpijob *batchv1.MPIJob, follow bool)

func PrintPodLog

func PrintPodLog(name, ns string, follow bool) error

func WaitMPIJobPodRunning

func WaitMPIJobPodRunning(mpijob *batchv1.MPIJob) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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