Documentation
¶
Index ¶
- type Containerizer
- type DesiredContainerSpec
- type Gardener
- func (g *Gardener) BulkInfo(handles []string) (map[string]garden.ContainerInfoEntry, error)
- func (g *Gardener) BulkMetrics(handles []string) (map[string]garden.ContainerMetricsEntry, error)
- func (g *Gardener) Capacity() (garden.Capacity, error)
- func (g *Gardener) Containers(garden.Properties) ([]garden.Container, error)
- func (g *Gardener) Create(spec garden.ContainerSpec) (garden.Container, error)
- func (g *Gardener) Destroy(handle string) error
- func (g *Gardener) GraceTime(garden.Container) time.Duration
- func (g *Gardener) Lookup(handle string) (garden.Container, error)
- func (g *Gardener) Ping() error
- func (g *Gardener) Stop()
- type Networker
- type Starter
- type UidGenerator
- type UidGeneratorFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Containerizer ¶
type DesiredContainerSpec ¶
type Gardener ¶
type Gardener struct { // Containerizer runs and manages linux containers Containerizer Containerizer // UidGenerator generates unique ids for containers UidGenerator UidGenerator // Starter runs any needed start-up tasks (e.g. setting up cgroups) Starter // Networker creates a network for containers Networker Networker }
Gardener orchestrates other components to implement the Garden API
func (*Gardener) BulkMetrics ¶
func (*Gardener) Containers ¶
type UidGenerator ¶
type UidGenerator interface {
Generate() string
}
type UidGeneratorFunc ¶
type UidGeneratorFunc func() string
func (UidGeneratorFunc) Generate ¶
func (fn UidGeneratorFunc) Generate() string