Versions in this module Expand all Collapse all v6 v6.4.2 Aug 17, 2020 Changes in this version + func NewGardenClientFactory(db transport.TransportDB, logger lager.Logger, workerName string, ...) *gardenClientFactory + func NewRetryableConnection(connection connection.Connection) connection.Connection + type Client interface + BulkInfo func(handles []string) (map[string]garden.ContainerInfoEntry, error) + BulkMetrics func(handles []string) (map[string]garden.ContainerMetricsEntry, error) + Capacity func() (garden.Capacity, error) + Containers func(garden.Properties) ([]Container, error) + Create func(garden.ContainerSpec) (Container, error) + Destroy func(handle string) error + Lookup func(handle string) (Container, error) + Ping func() error + func BasicGardenClientWithRequestTimeout(logger lager.Logger, requestTimeout time.Duration, address string) Client + func NewClient(connection connection.Connection) Client + type Container interface + Attach func(ctx context.Context, processID string, io garden.ProcessIO) (garden.Process, error) + BulkNetOut func(netOutRules []garden.NetOutRule) error + CurrentBandwidthLimits func() (garden.BandwidthLimits, error) + CurrentCPULimits func() (garden.CPULimits, error) + CurrentDiskLimits func() (garden.DiskLimits, error) + CurrentMemoryLimits func() (garden.MemoryLimits, error) + Handle func() string + Info func() (garden.ContainerInfo, error) + Metrics func() (garden.Metrics, error) + NetIn func(hostPort, containerPort uint32) (uint32, uint32, error) + NetOut func(netOutRule garden.NetOutRule) error + Properties func() (garden.Properties, error) + Property func(name string) (string, error) + RemoveProperty func(name string) error + Run func(context.Context, garden.ProcessSpec, garden.ProcessIO) (garden.Process, error) + SetGraceTime func(graceTime time.Duration) error + SetProperty func(name string, value string) error + Stop func(kill bool) error + StreamIn func(spec garden.StreamInSpec) error + StreamOut func(spec garden.StreamOutSpec) (io.ReadCloser, error) + type RetryableConnection struct + func (conn *RetryableConnection) Attach(ctx context.Context, handle string, processID string, ...) (garden.Process, error) + func (conn *RetryableConnection) Run(ctx context.Context, handle string, processSpec garden.ProcessSpec, ...) (garden.Process, error)