odh

package
v1.0.0-rc.1.0...-dce4007 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NOTEBOOK_POD_NAME       = "jupyter-nb-kube-3aadmin-0"
	NOTEBOOK_CONTAINER_NAME = "jupyter-nb-kube-3aadmin"
)

Variables

This section is empty.

Functions

func GetDashboardUrl

func GetDashboardUrl(test support.Test, namespace *v1.Namespace, rayCluster *rayv1.RayCluster) string

func GetNotebookImage

func GetNotebookImage(t Test) string

func GetNotebookUserName

func GetNotebookUserName(t Test) string

func GetNotebookUserToken

func GetNotebookUserToken(t Test) string

func GetOpenDataHubNamespace

func GetOpenDataHubNamespace(t Test) string

func GetTestJobId

func GetTestJobId(test support.Test, rayClient support.RayClusterClient) string

func ParseTemplate

func ParseTemplate(t support.Test, inputTemplate []byte, props interface{}) []byte

func ReadFile

func ReadFile(t support.Test, fileName string) []byte

func ReadFileExt

func ReadFileExt(t support.Test, fileName string) []byte

Types

type NotebookProps

type NotebookProps struct {
	IngressDomain             string
	OpenShiftApiUrl           string
	KubernetesUserBearerToken string
	Namespace                 string
	OpenDataHubNamespace      string
	RayImage                  string
	NotebookImage             string
	NotebookConfigMapName     string
	NotebookConfigMapFileName string
	NotebookPVC               string
	NumGpus                   int
	PipIndexUrl               string
	PipTrustedHost            string
	S3BucketName              string
	S3AccessKeyId             string
	S3SecretAccessKey         string
	S3Endpoint                string
	S3DefaultRegion           string
}

Jump to

Keyboard shortcuts

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