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
}
Click to show internal directories.
Click to hide internal directories.