cmd

package
v0.0.0-...-f3eac6d Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Destroy

func Destroy(ctx context.Context, region Region) error

func Logs

func Logs(ctx context.Context, region Region, id types.TaskID) error

func ParseEnvFile

func ParseEnvFile(filename string, env map[string]string) (map[string]string, error)

func ParseEnvLine

func ParseEnvLine(line string) (key string, value string)

func ParseMemory

func ParseMemory(memory string) uint64

func PrintInfo

func PrintInfo(ctx context.Context, region Region, id types.TaskID) error

func Run

func Run(ctx context.Context, args RunContainerArgs) error

func Stop

func Stop(ctx context.Context, region Region, id types.TaskID) error

Types

type DriverOption

type DriverOption func(types.Driver) error

type Region

type Region = aws.Region

type RunContainerArgs

type RunContainerArgs struct {
	Region   Region
	Image    string
	Memory   uint64
	Args     []string
	Env      map[string]string
	Platform string
	VpcID    string
	SubnetID string
}

Jump to

Keyboard shortcuts

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