Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface {
reconciler.DeploymentDatabaseClient
reconciler.ArangoAgency
reconciler.DeploymentInfoGetter
reconciler.DeploymentStatusUpdate
}
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)
Click to show internal directories.
Click to hide internal directories.