cli

package
v0.0.0-...-5aa5535 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMultipleLeaders = errors.New("multiple leaders found")
	ErrMissingLeader   = errors.New("no leader found")
)

Functions

func AddVoter

func AddVoter(cctx *cli.Context) error

func AdminLeader

func AdminLeader(cctx *cli.Context) error

func CreateRecords

func CreateRecords(cctx *cli.Context) error

func CreateTopic

func CreateTopic(ctx *cli.Context) error

func DeleteTopic

func DeleteTopic(ctx *cli.Context) error

func GetConfiguration

func GetConfiguration(cctx *cli.Context) error

func ListRecords

func ListRecords(cCtx *cli.Context) error

func ListTopics

func ListTopics(cCtx *cli.Context) error

func RemoveServer

func RemoveServer(cctx *cli.Context) error

func SetupNomadCluster

func SetupNomadCluster(cctx *cli.Context) error

SetupNomadCluster promotes first nomad alloc to leader and joins other allocs to leader.

func Stats

func Stats(cCtx *cli.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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