console

package
v0.0.0-...-f948758 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: PostgreSQL Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Console

type Console interface {
	Serve(ctx context.Context, cl client.Client) error
	ProcessQuery(ctx context.Context, q string, cl client.Client) error
	Qlog() qlog.Qlog
	Shutdown() error
	Mgr() meta.EntityMgr
}

func NewLocalInstanceConsole

func NewLocalInstanceConsole(mgr meta.EntityMgr, rrouter rulerouter.RuleRouter, stchan chan struct{}, writer workloadlog.WorkloadLog) (Console, error)

type LocalInstanceConsole

type LocalInstanceConsole struct {
	InstanceMgr meta.EntityMgr
	RRouter     rulerouter.RuleRouter
	// contains filtered or unexported fields
}

func (*LocalInstanceConsole) Mgr

func (*LocalInstanceConsole) ProcessQuery

func (l *LocalInstanceConsole) ProcessQuery(ctx context.Context, q string, cl client.Client) error

func (*LocalInstanceConsole) Qlog

func (l *LocalInstanceConsole) Qlog() qlog.Qlog

func (*LocalInstanceConsole) Serve

TODO : unit tests

func (*LocalInstanceConsole) Shutdown

func (l *LocalInstanceConsole) Shutdown() error

type TopoCntl

type TopoCntl interface {
	kr.KeyRangeMgr
	datashards.ShardsMgr
}

Jump to

Keyboard shortcuts

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