config

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompactionLeaseConfig added in v0.7.0

type CompactionLeaseConfig struct {
	// CompactionEnabled defines of compaction jobs should be created.
	CompactionEnabled bool
	// ActiveDeadlineDuration is the duration after which a running compaction job will be killed (Ex: "300ms", "20s", "-1.5h" or "2h45m")
	ActiveDeadlineDuration time.Duration
	// EventsThreshold is total number of etcd events that can be allowed before a backup compaction job is triggered
	EventsThreshold int64
}

CompactionLeaseConfig contains configuration for the compaction controller.

type EtcdCustodianController

type EtcdCustodianController struct {
	// EtcdMember holds configuration related to etcd members.
	EtcdMember EtcdMemberConfig
	// SyncPeriod is the duration after which re-enqueuing happens.
	SyncPeriod time.Duration
}

EtcdCustodianController contains configuration for the etcd custodian controller.

type EtcdMemberConfig

type EtcdMemberConfig struct {
	// EtcdMemberNotReadyThreshold is the duration after which an etcd member's state is considered `NotReady`.
	EtcdMemberNotReadyThreshold time.Duration
	// EtcdMemberUnknownThreshold is the duration after which an etcd member's state is considered `Unknown`.
	EtcdMemberUnknownThreshold time.Duration
}

Jump to

Keyboard shortcuts

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