Documentation
¶
Index ¶
- Variables
- func Base(os, language string)
- func CUDA(version, cudnn string)
- func Compile(ctx context.Context, cachePrefix string, pub string) (*llb.Definition, error)
- func GPUEnabled() bool
- func Git(name, email, editor string) error
- func Jupyter(pwd string, port int64) error
- func Labels() (map[string]string, error)
- func PyPIIndex(mode, url, extraURL string) error
- func PyPIPackage(deps []string)
- func RPackage(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 GitConfig
- type Graph
- type JupyterConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultGraph = NewGraph()
Functions ¶
func GPUEnabled ¶
func GPUEnabled() bool
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 PyPIIndexURL *string PyPIExtraIndexURL *string PublicKeyPath string BuiltinSystemPackages []string PyPIPackages []string RPackages []string SystemPackages []string VSCodePlugins []vscode.Plugin Exec []string *JupyterConfig *GitConfig Writer compileui.Writer CachePrefix string }
A Graph contains the state, such as its call stack and thread-local storage.
func (Graph) GPUEnabled ¶
type JupyterConfig ¶
Click to show internal directories.
Click to hide internal directories.