engine

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 43 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizeWorkdir added in v0.5.3

func NormalizeWorkdir(workdir 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
	LogOutput      io.Writer
	JournalFile    string
	JournalWriter  journal.Writer
	ProgrockWriter progrock.Writer
	DisableHostRW  bool
	RunnerHost     string
	SessionToken   string
	UserAgent      string
}

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