Documentation ¶
Overview ¶
package controller provides a Kubernetes controller for a TensorFlow job resource.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { Namespace string KubeCli kubernetes.Interface ApiCli apiextensionsclient.Interface MxJobClient k8sutil.MxJobClient // contains filtered or unexported fields }
func New ¶
func New(kubeCli kubernetes.Interface, apiCli apiextensionsclient.Interface, mxJobClient k8sutil.MxJobClient, ns string, config spec.ControllerConfig) *Controller
func (*Controller) Run ¶
func (c *Controller) Run() error
Click to show internal directories.
Click to hide internal directories.