engine

package
v0.0.0-...-5f03148 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, startOpts *Config, fn StartCallback) error

Types

type Config

type Config struct {
	LocalDirs  map[string]string
	DevServer  int
	Workdir    string
	ConfigPath string
	// If true, just load extension metadata rather than compiling and stitching them in
	SkipInstall bool
}

type Context

type Context struct {
	context.Context
	Client     graphql.Client
	LocalDirs  map[string]dagger.FSID
	Project    *core.Project
	Workdir    dagger.FSID
	ConfigPath string
}

type MergedSocketProviders

type MergedSocketProviders map[string]sshforward.SSHServer

Map of id -> handler for that id.

func (MergedSocketProviders) CheckAgent

func (MergedSocketProviders) ForwardAgent

func (MergedSocketProviders) Register

func (m MergedSocketProviders) Register(server *grpc.Server)

type StartCallback

type StartCallback func(Context) error

Jump to

Keyboard shortcuts

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