cli

package
v0.0.0-...-41072ed Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindMounts

func BindMounts(config *DevConfig, dir string) ([]string, error)

compute the bind mounts that we'll need for a container.

func ContainerName

func ContainerName(dir string) string

func FindRoot

func FindRoot(dir string) (string, error)

Types

type DevClient

type DevClient struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context) *DevClient

func (*DevClient) ContainerExists

func (d *DevClient) ContainerExists(containerName string) (bool, error)

func (*DevClient) Delete

func (d *DevClient) Delete(containerName string) error

func (*DevClient) Exec

func (d *DevClient) Exec(containerName string) error

func (*DevClient) Pull

func (d *DevClient) Pull(config *DevConfig) error

func (*DevClient) Run

func (d *DevClient) Run(config *DevConfig, containerName string, binds []string) error

type DevConfig

type DevConfig struct {
	Telerun bool   `toml:"telerun"`
	Image   string `toml:"image"`
}

func LoadConfig

func LoadConfig() (*DevConfig, error)

Jump to

Keyboard shortcuts

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