Documentation ¶
Index ¶
- Variables
- func Base(os, language string)
- func CUDA(version, cudnn string)
- func Compile(ctx context.Context) (*llb.Definition, error)
- func GPUEnabled() bool
- func Jupyter(pwd string, port int64) error
- func PyPIMirror(mode, mirror string) error
- func PyPIPackage(deps []string)
- func Run(commands []string) error
- func Shell(shell string) error
- func SystemPackage(deps []string)
- func UbuntuAPT(mode, source string) error
- func VSCodePlugins(plugins []string) error
- type Graph
- type JupyterConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultGraph = NewGraph()
Functions ¶
func GPUEnabled ¶
func GPUEnabled() bool
func PyPIMirror ¶
func PyPIPackage ¶
func PyPIPackage(deps []string)
func SystemPackage ¶
func SystemPackage(deps []string)
func VSCodePlugins ¶
Types ¶
type Graph ¶
type Graph struct { OS string Language string Shell string CUDA *string CUDNN *string UbuntuAPTSource *string PyPIMirror *string BuiltinSystemPackages []string PyPIPackages []string SystemPackages []string VSCodePlugins []vscode.Plugin Exec []string *JupyterConfig Writer compileui.Writer }
A Graph contains the state, such as its call stack and thread-local storage.
type JupyterConfig ¶
Click to show internal directories.
Click to hide internal directories.