Documentation ¶
Index ¶
- Variables
- func New(kubeClient framework.RuntimeClientInterface) framework.JobInterface
- type KubeTFJob
- func (pj *KubeTFJob) AddEventListener(ctx context.Context, listenerType string, ...) error
- func (pj *KubeTFJob) Delete(ctx context.Context, job *api.PFJob) error
- func (pj *KubeTFJob) GetLog(ctx context.Context, jobLogRequest pfschema.JobLogRequest) (pfschema.JobLogInfo, error)
- func (pj *KubeTFJob) JobStatus(obj interface{}) (api.StatusInfo, error)
- func (pj *KubeTFJob) Stop(ctx context.Context, job *api.PFJob) error
- func (pj *KubeTFJob) String(name string) string
- func (pj *KubeTFJob) Submit(ctx context.Context, job *api.PFJob) error
- func (pj *KubeTFJob) Update(ctx context.Context, job *api.PFJob) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( JobGVK = k8s.TFJobGVK KubeTFFwVersion = client.KubeFrameworkVersion(JobGVK) )
Functions ¶
func New ¶
func New(kubeClient framework.RuntimeClientInterface) framework.JobInterface
Types ¶
type KubeTFJob ¶
type KubeTFJob struct { GVK schema.GroupVersionKind // contains filtered or unexported fields }
KubeTFJob is a struct that runs a tensorflow job
func (*KubeTFJob) AddEventListener ¶
func (*KubeTFJob) GetLog ¶
func (pj *KubeTFJob) GetLog(ctx context.Context, jobLogRequest pfschema.JobLogRequest) (pfschema.JobLogInfo, error)
Click to show internal directories.
Click to hide internal directories.