ir

package
v0.3.20 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchImageConfig added in v0.3.20

func FetchImageConfig(ctx context.Context, imageName string) (config v1.ImageConfig, err error)

Types

type APTConfig added in v0.3.1

type APTConfig struct {
	Name       string
	Enabled    string
	Types      string
	URIs       string
	Suites     string
	Components string
	Signed     string
	Arch       string
}

type CondaConfig added in v0.1.0

type CondaConfig struct {
	CondaPackages      []string
	AdditionalChannels []string
	CondaChannel       *string
	CondaEnvFileName   string
	UseMicroMamba      bool
}

type CopyInfo added in v0.2.0

type CopyInfo struct {
	Source      string
	Destination string
}

type ExposeItem added in v0.2.0

type ExposeItem struct {
	EnvdPort      int
	HostPort      int
	ServiceName   string
	ListeningAddr string
}

type GitConfig added in v0.1.0

type GitConfig struct {
	Name   string
	Email  string
	Editor string
}

type Graph

type Graph interface {
	Compile(ctx context.Context, envName string, pub string) (*llb.Definition, error)
	// contains filtered or unexported methods
}

type HTTPInfo added in v0.2.0

type HTTPInfo struct {
	URL      string
	Checksum digest.Digest
	Filename string
}

type JupyterConfig

type JupyterConfig struct {
	Token string
	Port  int64
}

type Language added in v0.1.0

type Language struct {
	Name    string
	Version *string
}

type MountInfo added in v0.2.0

type MountInfo struct {
	Source      string
	Destination string
}

type RStudioServerConfig added in v0.2.0

type RStudioServerConfig struct {
}

type RunBuildCommand added in v0.2.4

type RunBuildCommand struct {
	Commands  []string
	MountHost bool
}

type RuntimeGraph added in v0.2.0

type RuntimeGraph struct {
	RuntimeCommands   map[string]string `json:"commands,omitempty"`
	RuntimeDaemon     [][]string        `json:"daemon,omitempty"`
	RuntimeInitScript [][]string        `json:"init_script,omitempty"`
	RuntimeEnviron    map[string]string `json:"environ,omitempty"`
	RuntimeEnvPaths   []string          `json:"env_paths,omitempty"`
	RuntimeExpose     []ExposeItem      `json:"expose,omitempty"`
}

The results during runtime should be maintained here

func (*RuntimeGraph) Dump added in v0.2.0

func (rg *RuntimeGraph) Dump() (string, error)

func (*RuntimeGraph) Load added in v0.2.0

func (rg *RuntimeGraph) Load(code []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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