Documentation ¶
Index ¶
- func NewBeaconRunner(logger lager.Logger, tsaClient *tsa.Client, rebalanceInterval time.Duration, ...) ifrit.Runner
- func NewHealthChecker(logger lager.Logger, baggageclaimAddr, gardenAddr string, ...) healthChecker
- func NewVolumeSweeper(logger lager.Logger, sweepInterval time.Duration, tsaClient TSAClient, ...) *volumeSweeper
- type Beacon
- type ContainerSweeper
- type TSAClient
- type TSAConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBeaconRunner ¶
func NewHealthChecker ¶
func NewVolumeSweeper ¶
Types ¶
type Beacon ¶
type Beacon struct { Logger lager.Logger Client TSAClient DrainSignals <-chan os.Signal RebalanceInterval time.Duration ConnectionDrainTimeout time.Duration LocalGardenNetwork string LocalGardenAddr string LocalBaggageclaimNetwork string LocalBaggageclaimAddr string // contains filtered or unexported fields }
type ContainerSweeper ¶
type ContainerSweeper struct {
// contains filtered or unexported fields
}
ContainerSweeper is an ifrit.Runner that periodically reports and garbage-collects a worker's containers
func NewContainerSweeper ¶
type TSAClient ¶
type TSAClient interface { Register(context.Context, tsa.RegisterOptions) error Land(context.Context) error Retire(context.Context) error Delete(context.Context) error ReportContainers(context.Context, []string) error ContainersToDestroy(context.Context) ([]string, error) ReportVolumes(context.Context, []string) error VolumesToDestroy(context.Context) ([]string, error) }
type TSAConfig ¶
type TSAConfig struct { Hosts []string `long:"host" default:"127.0.0.1:2222" description:"TSA host to forward the worker through. Can be specified multiple times."` PublicKey flag.AuthorizedKeys `long:"public-key" description:"File containing a public key to expect from the TSA."` WorkerPrivateKey *flag.PrivateKey `` /* 126-byte string literal not displayed */ }
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package backend provides the implementation of a Garden server backed by containerd.
|
Package backend provides the implementation of a Garden server backed by containerd. |
iptables/iptablesfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
libcontainerd/libcontainerdfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
runtimefakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.