evacuation

package
v0.1442.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 12 Imported by: 4 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EvacuationCleanup added in v0.1442.0

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

func NewEvacuationCleanup added in v0.1442.0

func NewEvacuationCleanup(
	logger lager.Logger,
	cellID string,
	gracefulShutdownInterval time.Duration,
	proxyReloadDuration time.Duration,
	bbsClient bbs.InternalClient,
	executorClient executor.Client,
	clock clock.Clock,
	metronClient loggingclient.IngressClient,
) *EvacuationCleanup

func (*EvacuationCleanup) Run added in v0.1442.0

func (e *EvacuationCleanup) Run(signals <-chan os.Signal, ready chan<- struct{}) error

type Evacuator

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

func NewEvacuator

func NewEvacuator(
	logger lager.Logger,
	clock clock.Clock,
	executorClient executor.Client,
	evacuationNotifier evacuation_context.EvacuationNotifier,
	cellID string,
	evacuationTimeout time.Duration,
	pollingInterval time.Duration,
) *Evacuator

func (*Evacuator) Run

func (e *Evacuator) Run(signals <-chan os.Signal, ready chan<- struct{}) error

Directories

Path Synopsis
fake_evacuation_context
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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