viceroyworkerd

package
v0.0.0-...-d39c007 Latest Latest
Warning

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

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

Documentation

Overview

Package viceroyworkerd implements the viceroy worker daemon.

Index

Constants

This section is empty.

Variables

View Source
var DefaultOptions = Options{
	ListenAddr: "tcp://0.0.0.0:12194",
}

DefaultOptions is the set of defaults for viceroyworkerd.

Functions

This section is empty.

Types

type Daemon

type Daemon struct {
	// contains filtered or unexported fields
}

Daemon is the vicerwoy worker daemon. Daemon exposes a gRPC API.

func New

func New(l log.Logger, o Options) (d *Daemon, err error)

New creates a new Daemon.

func (*Daemon) Start

func (d *Daemon) Start() error

Start starts d and doesn't return until it stops or there's an error.

func (*Daemon) Stop

func (d *Daemon) Stop() error

type Options

type Options struct {
	ListenAddr      string // Address to listen for client connections.
	LocalExecChroot string // Chroot for commands
}

Jump to

Keyboard shortcuts

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