changestate

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeState

type ChangeState interface {
	// Change state
	ApplyChangeLog(cl *spec.ChangeLog) error
	ProcessChangeLog(cl *spec.ChangeLog, reload bool) error
	WaitForChanges(cl *spec.ChangeLog) error
	ReloadState(bool, ...*spec.ChangeLog) error
	ChangeHash() uint64
	ChangeLogs() []*spec.ChangeLog

	// Readiness
	Ready() bool
	SetReady(bool)

	// Replication
	SetupRaft(*raft.Raft, *raftadmin.Client)
	Raft() *raft.Raft

	// Resources
	ResourceManager() *resources.ResourceManager
	DocumentManager() resources.DocumentManager
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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