Documentation ¶
Index ¶
- Constants
- Variables
- func Base(os, language, image string) error
- func CRANMirror(url string) error
- func CUDA(version, cudnn string)
- func CondaChannel(channel string, useMamba bool) error
- func CondaPackage(deps []string, channel []string, envFile string) error
- func Copy(src, dest string)
- func Entrypoint(args []string)
- func GPU(numGPUs int)
- func GetDefaultGraphHash() string
- func Git(name, email, editor string) error
- func HTTP(url, checksum, filename string) error
- func JuliaPackage(deps []string)
- func JuliaPackageServer(url string) error
- func Jupyter(pwd string, port int64) error
- func Mount(src, dest string)
- func NewGraph() ir.Graph
- func PyPIIndex(url, extraURL string) error
- func PyPIPackage(deps []string, requirementsFile string, wheels []string) error
- func RPackage(deps []string)
- func RStudioServer() error
- func Repo(url, description string)
- func Run(commands []string, mount bool) error
- func RuntimeCommands(commands map[string]string)
- func RuntimeDaemon(commands [][]string)
- func RuntimeEnviron(env map[string]string, path []string)
- func RuntimeExpose(envdPort, hostPort int, serviceName string, listeningAddr string) error
- func RuntimeInitScript(commands []string)
- func Shell(shell string) error
- func SystemPackage(deps []string)
- func UbuntuAPT(source string) error
- func VSCodePlugins(plugins []string) error
Constants ¶
View Source
const (
CUDNNVersionDefault = "8"
)
Variables ¶
View Source
var DefaultGraph = NewGraph()
Functions ¶
func CRANMirror ¶
func CondaChannel ¶
func Entrypoint ¶
func Entrypoint(args []string)
func GetDefaultGraphHash ¶
func GetDefaultGraphHash() string
A stream of gobs is self-describing. Each data item in the stream is preceded by a specification of its type, expressed in terms of a small set of predefined types. Pointers are not transmitted, but the things they point to are transmitted; that is, the values are flattened. see https://pkg.go.dev/encoding/gob#hdr-Basics we hash the blobs to determined if the graph changed.
func JuliaPackage ¶
func JuliaPackage(deps []string)
func JuliaPackageServer ¶
func RStudioServer ¶
func RStudioServer() error
func RuntimeCommands ¶
func RuntimeDaemon ¶
func RuntimeDaemon(commands [][]string)
func RuntimeEnviron ¶
func RuntimeExpose ¶
func RuntimeInitScript ¶
func RuntimeInitScript(commands []string)
func SystemPackage ¶
func SystemPackage(deps []string)
func VSCodePlugins ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.