engine

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 42 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
	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
JackTT - Gopher 🇻🇳