v0

package
v0.3.16 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CUDNNVersionDefault = "8"
)

Variables

View Source
var DefaultGraph = NewGraph()

Functions

func Base

func Base(os, language, image string) error

func CRANMirror

func CRANMirror(url string) error

func CUDA

func CUDA(version, cudnn string)

func CondaChannel

func CondaChannel(channel string, useMamba bool) error

func CondaPackage

func CondaPackage(deps []string, channel []string, envFile string) error

func Copy

func Copy(src, dest string)

func Entrypoint

func Entrypoint(args []string)

func GPU

func GPU(numGPUs int)

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 Git

func Git(name, email, editor string) error

func HTTP

func HTTP(url, checksum, filename string) error

func JuliaPackage

func JuliaPackage(deps []string)

func JuliaPackageServer

func JuliaPackageServer(url string) error

func Jupyter

func Jupyter(pwd string, port int64) error

func Mount

func Mount(src, dest string)

func NewGraph

func NewGraph() ir.Graph

func PyPIIndex

func PyPIIndex(url, extraURL string, trust bool) error

func PyPIPackage

func PyPIPackage(deps []string, requirementsFile string, wheels []string) error

func RPackage

func RPackage(deps []string)

func RStudioServer

func RStudioServer() error

func Repo

func Repo(url, description string)

func Run

func Run(commands []string, mount bool) error

func RuntimeCommands

func RuntimeCommands(commands map[string]string)

func RuntimeDaemon

func RuntimeDaemon(commands [][]string)

func RuntimeEnviron

func RuntimeEnviron(env map[string]string, path []string)

func RuntimeExpose

func RuntimeExpose(envdPort, hostPort int, serviceName string, listeningAddr string) error

func RuntimeInitScript

func RuntimeInitScript(commands []string)

func Shell

func Shell(shell string) error

func SystemPackage

func SystemPackage(deps []string)

func UbuntuAPT

func UbuntuAPT(source string) error

UbuntuAPT updates the Ubuntu apt source.list in the image.

func VSCodePlugins

func VSCodePlugins(plugins []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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