Documentation
¶
Index ¶
- Constants
- type App
- type State
- func (s *State) AddEnvVars(envs ...string)
- func (s *State) AddROPaths(paths ...string)
- func (s *State) AddRWPaths(paths ...string)
- func (s *State) AddTCPConnectPorts(ports ...string)
- func (s *State) AddTCPListenPorts(ports ...string)
- func (s *State) AllowEvent(event *aucoalesce.Event) error
- func (s *State) Save(path string) error
Constants ¶
View Source
const ( AppFlagLogLevel = "log-level" AppFlagOutput = "output" AppFlagROPaths = "ro" AppFlagRWPaths = "rw" AppFlagTCPListen = "tcp-listen" AppFlagTCPConnect = "tcp-connect" AppFlagAllowSockets = "sockets" AppFlagAllowSignals = "signals" AppFlagAddEnvs = "env" AppFlagAddSelf = "add-self" AppFlagAddDeps = "add-deps" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
Output string `json:"-"`
Command []string `json:"command"`
ROPaths landbox.Paths `json:"ro_paths,omitempty"`
RWPaths landbox.Paths `json:"rw_paths,omitempty"`
Options landbox.Options `json:"options"`
EnvVars []string `json:"env_vars,omitempty"`
Journal *journal.Journal `json:"-"`
}
func (*State) AddEnvVars ¶
func (*State) AddROPaths ¶
func (*State) AddRWPaths ¶
func (*State) AddTCPConnectPorts ¶
func (*State) AddTCPListenPorts ¶
func (*State) AllowEvent ¶
func (s *State) AllowEvent(event *aucoalesce.Event) error
Click to show internal directories.
Click to hide internal directories.