common

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Maker

type Maker interface {
	MakeSandbox(config *types.CommonSandbox) (*Sandbox, error)
}

func CreateMaker

func CreateMaker(fnd app.Foundation, hooksMaker hooks.Maker) Maker

type Sandbox

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

func CreateSandbox

func CreateSandbox(available bool, dirs map[dir.DirType]string, hooks hooks.Hooks) *Sandbox

func (*Sandbox) Available

func (s *Sandbox) Available() bool

func (*Sandbox) ContainerConfig

func (s *Sandbox) ContainerConfig() *containers.ContainerConfig

func (*Sandbox) Dir

func (s *Sandbox) Dir(dirType dir.DirType) (string, error)

func (*Sandbox) Dirs

func (s *Sandbox) Dirs() map[dir.DirType]string

func (*Sandbox) Hook

func (s *Sandbox) Hook(hookType hooks.HookType) (hooks.Hook, error)

func (*Sandbox) Hooks

func (s *Sandbox) Hooks() hooks.Hooks

func (*Sandbox) Inherit

func (s *Sandbox) Inherit(parentSandbox sandbox.Sandbox) error

Jump to

Keyboard shortcuts

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