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: 1

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