grainagentmain

package
v0.0.0-...-fd1ce1a Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

`tempest-grain-agent` runs inside the grain's sandbox, and is the first program executed during grain startup. Its file descriptor #3 is a socket over which we can speak capnp to the sandstorm server outside the sandbox.

Any APIs available to the grain which don't actually need privileges the grain doesn't have should ideally be implemented here; this helps us minimize attack surface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

Types

type Command

type Command struct {
	Args []string
	Env  []string
}

func (Command) ToOsCmd

func (c Command) ToOsCmd() *exec.Cmd

Jump to

Keyboard shortcuts

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