Versions in this module Expand all Collapse all v1 v1.0.0 May 31, 2023 Changes in this version + const GPUVendorAMD + const GPUVendorIntel + const GPUVendorNvidia + const GPUVendorUnknown + const MountRelativePathNotebook + const MountRelativePathWorkspaceData + const NotebookFileExt + func GetGPUVendor(model string) string + func ResourceQuantityStringToInt64HookFunc(f, t reflect.Type, data interface{}) (interface{}, error) + type GPU struct + Card float64 + Memory int64 + Model string + func (g *GPU) Vendor() string + type Image struct + Description string + Image string + Name string + UpdateTime time.Time + Version string + type JupyterhubConfig struct + AdminToken string + Endpoint string + Kubernetes *jupyterhubInKubeConfig + type Options struct + OfficialImages []Image + ResourceSizes []ResourceOption + StaticJupyterhub JupyterhubConfig + func NewOptions() *Options + func (o *Options) AddFlags(fs *pflag.FlagSet) + func (o *Options) ListOfficialImages() []string + func (o *Options) ListResourceSizes() []ResourceSize + func (o *Options) Validate() error + type ResourceOption struct + NodeSelector map[string]string + type ResourceSize struct + CPU float64 + Disk int64 + GPU *GPU + Memory int64 + func (r *ResourceSize) String() string + func (r *ResourceSize) UnmarshalJSON(b []byte) error + func (r *ResourceSize) UnmarshalYAML(unmarshal func(interface{}) error) error