k8saccesser

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 39 Imported by: 7

Documentation

Index

Constants

View Source
const (
	TensorflowCRDName             = "tfjobs.kubeflow.org"
	TensorflowCRDNameInDaemonMode = "TFJob.kubeflow.org"

	MPICRDName             = "mpijobs.kubeflow.org"
	MPICRDNameInDaemonMode = "MPIJob.kubeflow.org"

	PytorchCRDName             = "pytorchjobs.kubeflow.org"
	PytorchCRDNameInDaemonMode = "PyTorchJob.kubeflow.org"

	ETCRDName             = "trainingjobs.kai.alibabacloud.com"
	ETCRDNameInDaemonMode = "TrainingJob.kai.alibabacloud.com"

	VolcanoCRDName             = "jobs.batch.volcano.sh"
	VolcanoCRDNameInDaemonMode = "Job.batch.volcano.sh"

	SparkCRDNameInDaemonMode = "Sparkapplication.sparkoperator.k8s.io"
	SparkCRDName             = "sparkapplications.sparkoperator.k8s.io"

	RayJobCRDName             = "rayjobs.ray.io"
	RayJobCRDNameInDaemonMode = "RayJob.ray.io"

	LWSCRDName             = "leaderworkersets.leaderworkerset.x-k8s.io"
	LWSCRDNameInDaemonMode = "Leaderworkerset.leaderworkerset.x-k8s.io"
)

Variables

This section is empty.

Functions

func GetK8sResourceAccesser

func GetK8sResourceAccesser() *k8sResourceAccesser

func InitK8sResourceAccesser

func InitK8sResourceAccesser(config *rest.Config, clientset *kubernetes.Clientset, isDaemonMode bool) error

func NewK8sResourceAccesser

func NewK8sResourceAccesser(config *rest.Config, clientset *kubernetes.Clientset, isDaemonMode bool) (*k8sResourceAccesser, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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