engine

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: Apache-2.0 Imports: 40 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizePaths

func NormalizePaths(workdir, configPath string) (string, string, error)

func Start

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

Types

type AnyDirSource added in v0.3.3

type AnyDirSource struct{}

func (AnyDirSource) LookupDir added in v0.3.3

func (AnyDirSource) LookupDir(name string) (filesync.SyncedDir, bool)

type Config

type Config struct {
	Workdir    string
	ConfigPath string
	// If true, do not load project extensions
	NoExtensions  bool
	LogOutput     io.Writer
	JournalURI    string
	JournalWriter journal.Writer
	DisableHostRW bool
	RunnerHost    string
	SessionToken  string
	UserAgent     string

	// WARNING: this is currently exposed directly but will be removed or
	// replaced with something incompatible in the future.
	RawBuildkitStatus chan *bkclient.SolveStatus
}

type NamedSocketProviders added in v0.3.7

type NamedSocketProviders map[string]sshforward.SSHServer

type SocketProvider added in v0.3.7

type SocketProvider struct {
	Named NamedSocketProviders

	EnableHostNetworkAccess bool
}

Map of id -> handler for that id.

func (SocketProvider) CheckAgent added in v0.3.7

func (SocketProvider) ForwardAgent added in v0.3.7

func (m SocketProvider) ForwardAgent(stream sshforward.SSH_ForwardAgentServer) error

func (SocketProvider) Register added in v0.3.7

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

type StartCallback

type StartCallback func(context.Context, *router.Router) error

Directories

Path Synopsis
distconsts module

Jump to

Keyboard shortcuts

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