notebook

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePrefix     = "notebook-"
	DefaultFSGroup = int64(100)
)
View Source
const (
	DefaultContainerPort = int32(8888)
	DefaultServingPort   = 80
)

Variables

This section is empty.

Functions

func GetNotebookSelector

func GetNotebookSelector(notebook *mlv1.Notebook) *metav1.LabelSelector

func Register

func Register(ctx context.Context, mgmt *config.Management, _ config.Options) error

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func (*Handler) OnChanged

func (h *Handler) OnChanged(_ string, notebook *mlv1.Notebook) (*mlv1.Notebook, error)

func (*Handler) OnDelete added in v0.2.0

func (h *Handler) OnDelete(_ string, notebook *mlv1.Notebook) (*mlv1.Notebook, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL