admin

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: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartAdminAPI

func StartAdminAPI(
	version string, conf *config.DGateConfig,
	logger *zap.Logger, cs changestate.ChangeState,
) error

Types

type AdminFSM added in v0.11.0

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

func (*AdminFSM) Apply added in v0.11.0

func (fsm *AdminFSM) Apply(log *raft.Log) any

func (*AdminFSM) ApplyBatch added in v0.11.0

func (fsm *AdminFSM) ApplyBatch(logs []*raft.Log) []any

func (*AdminFSM) Restore added in v0.11.0

func (fsm *AdminFSM) Restore(rc io.ReadCloser) error

func (*AdminFSM) Snapshot added in v0.11.0

func (fsm *AdminFSM) Snapshot() (raft.FSMSnapshot, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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