Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { CACert *x509.Certificate Key *rsa.PrivateKey Kubeconfig string Namespace string }
Config is the configuration for a notebook controller.
type Controller ¶
type Controller struct { Config // contains filtered or unexported fields }
Controller encapsulates the logic for reconciling the desired state of notebooks as defined by notebook CRDs and the state of notebook resources in the cluster.
func New ¶
func New(cfg Config) *Controller
New creates a new instance of a notebook controller and returns a pointer to the struct.
func (*Controller) Run ¶
func (c *Controller) Run(stop <-chan struct{}, workers int) error
Run starts the reconciliation loop of the notebook controller.
Click to show internal directories.
Click to hide internal directories.