Versions in this module Expand all Collapse all v0 v0.0.1 Jul 9, 2019 Changes in this version + const UserAgent + func GetLabelSelectorForJob(job *types.Job) string + func GetReplicaInstanceForPod(job *types.Job, pod v1.Pod) string + type Backend struct + Generator generator.Interface + K8sClient kubeclient.Interface + Namespace string + PyTorchJobClient pyttorchjobclient.Interface + TFJobClient tfjobclient.Interface + func New(config *restclientset.Config, namespace string) (*Backend, error) + func NewWithCM(config *restclientset.Config, namespace string) (*Backend, error) + func (b *Backend) ExecCode(parameter *types.Parameter) (*types.Job, error) + func (b *Backend) GetLogs(job *types.Job)