Documentation
¶
Index ¶
- Constants
- func GetRequeueTime() time.Duration
- func NotebookNeedsCulling(meta metav1.ObjectMeta) bool
- func SetStopAnnotation(meta *metav1.ObjectMeta, m *metrics.Metrics)
- func StopAnnotationIsSet(meta metav1.ObjectMeta) bool
- func UpdateNotebookLastActivityAnnotation(meta *metav1.ObjectMeta) bool
- type KernelStatus
Constants ¶
View Source
const ( KERNEL_EXECUTION_STATE_IDLE = "idle" KERNEL_EXECUTION_STATE_BUSY = "busy" KERNEL_EXECUTION_STATE_STARTING = "starting" )
View Source
const DEFAULT_CLUSTER_DOMAIN = "cluster.local"
View Source
const DEFAULT_CULL_IDLE_TIME = "1440" // One day
View Source
const DEFAULT_DEV = "false"
View Source
const DEFAULT_ENABLE_CULLING = "false"
View Source
const DEFAULT_IDLENESS_CHECK_PERIOD = "1"
View Source
const LAST_ACTIVITY_ANNOTATION = "notebooks.kubeflow.org/last-activity"
View Source
const STOP_ANNOTATION = "kubeflow-resource-stopped"
Variables ¶
This section is empty.
Functions ¶
func GetRequeueTime ¶
func NotebookNeedsCulling ¶
func NotebookNeedsCulling(meta metav1.ObjectMeta) bool
func SetStopAnnotation ¶
func SetStopAnnotation(meta *metav1.ObjectMeta, m *metrics.Metrics)
func StopAnnotationIsSet ¶
func StopAnnotationIsSet(meta metav1.ObjectMeta) bool
func UpdateNotebookLastActivityAnnotation ¶
func UpdateNotebookLastActivityAnnotation(meta *metav1.ObjectMeta) bool
Types ¶
Click to show internal directories.
Click to hide internal directories.