houdini

package module
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0 Imports: 16 Imported by: 2

README

houdini: the world's worst containerizer

Houdini is effectively a no-op Garden backend portable to esoteric platforms like Darwin and Windows.

For a Linux Garden backend, please use Garden Linux instead.

Houdini makes no attempt to isolate containers from each other. It puts them in a working directory, and hopes for the best.

On Windows, it will at least use Job Objects to ensure processes are fully cleaned up. On OS X, there are basically no good ways to do this, so it doesn't bother.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

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

func NewBackend

func NewBackend(containersDir string) *Backend

func (*Backend) BulkInfo

func (backend *Backend) BulkInfo(handles []string) (map[string]garden.ContainerInfoEntry, error)

func (*Backend) BulkMetrics

func (backend *Backend) BulkMetrics(handles []string) (map[string]garden.ContainerMetricsEntry, error)

func (*Backend) Capacity

func (backend *Backend) Capacity() (garden.Capacity, error)

func (*Backend) Containers

func (backend *Backend) Containers(filter garden.Properties) ([]garden.Container, error)

func (*Backend) Create

func (backend *Backend) Create(spec garden.ContainerSpec) (garden.Container, error)

func (*Backend) Destroy

func (backend *Backend) Destroy(handle string) error

func (*Backend) GraceTime

func (backend *Backend) GraceTime(c garden.Container) time.Duration

func (*Backend) Lookup

func (backend *Backend) Lookup(handle string) (garden.Container, error)

func (*Backend) Ping

func (backend *Backend) Ping() error

func (*Backend) Start

func (backend *Backend) Start() error

func (*Backend) Stop

func (backend *Backend) Stop() error

type UndefinedPropertyError

type UndefinedPropertyError struct {
	Key string
}

func (UndefinedPropertyError) Error

func (err UndefinedPropertyError) Error() string

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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