resilience

package
v0.0.0-...-540bb61 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

Context provides methods to the resilience package.

type Resilience

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

Resilience is the service that inspects the overall state of the deployment to improve resilience.

func NewResilience

func NewResilience(namespace, name string, context Context) *Resilience

NewResilience creates a new resilience with given context.

func (*Resilience) CheckMemberFailure

func (r *Resilience) CheckMemberFailure(ctx context.Context) error

CheckMemberFailure performs a check for members that should be in failed state because: - They are frequently restarted - They cannot be scheduled for a long time (TODO)

Jump to

Keyboard shortcuts

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