Documentation
¶
Index ¶
Constants ¶
View Source
const (
UserAgent = "kubeflow-kernel"
)
Variables ¶
This section is empty.
Functions ¶
func GetLabelSelectorForJob ¶
GetLabelSelectorForJob gets label selector for the given job.
func GetReplicaInstanceForPod ¶
GetReplicaInstanceForPod gets the instance name of the given pod. e.g. kubeflow-xsadd-worker-0 will return worker-0.
Types ¶
type Backend ¶
type Backend struct {
TFJobClient tfjobclient.Interface
PyTorchJobClient pyttorchjobclient.Interface
K8sClient kubeclient.Interface
Generator generator.Interface
Namespace string
}
Backend is the type for kubeflow backend.
func New ¶
func New(config *restclientset.Config, namespace string) (*Backend, error)
New returns a new Backend.
Click to show internal directories.
Click to hide internal directories.