Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Option ¶
type Option func(r *Reconciler)
func WithLogger ¶
func WithScheme ¶
WithScheme sets the scheme on the Reconciler. If the scheme is not provided, the client's scheme will be used.
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
func NewReconciler ¶
func NewReconciler(cli client.Client, opts ...Option) *Reconciler
NewReconciler returns a new Reconciler with default options set as well as any options provided. If the provided options conflict with the defaults, the provided options will take precedence.
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
Reconcile creates a NotebookRevision from a Notebook and Template spec. Notebook revisions are created when there is a change in the Template, and sometimes a change in the Notebook spec, depending on what options from the template have been selected. Changing resource requests and limits in the Notebook spec will not trigger a new revision.
Click to show internal directories.
Click to hide internal directories.