commands

package
v1.2.5-0...-b301081 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfCmdKey = "conf"
)

Variables

This section is empty.

Functions

func MakeStackDump

func MakeStackDump() (string, error)

Types

type Command

type Command interface {
	Definition() definition
	Command(cmd []string) (response []byte, err error)
}

type DataplaneapiConfiguration

type DataplaneapiConfiguration struct{}

func (DataplaneapiConfiguration) Command

func (g DataplaneapiConfiguration) Command(_ []string) (response []byte, err error)

func (DataplaneapiConfiguration) Definition

func (g DataplaneapiConfiguration) Definition() definition

type DataplaneapiVersion

type DataplaneapiVersion struct {
	Version string
}

func (DataplaneapiVersion) Command

func (g DataplaneapiVersion) Command(_ []string) (response []byte, err error)

func (DataplaneapiVersion) Definition

func (g DataplaneapiVersion) Definition() definition

type Goroutines

type Goroutines struct{}

func (Goroutines) Command

func (g Goroutines) Command(_ []string) (response []byte, err error)

func (Goroutines) Definition

func (g Goroutines) Definition() definition

type HAProxyConfiguration

type HAProxyConfiguration struct {
	Client client_native.HAProxyClient
}

func (HAProxyConfiguration) Command

func (g HAProxyConfiguration) Command(cmd []string) (response []byte, err error)

func (HAProxyConfiguration) Definition

func (g HAProxyConfiguration) Definition() definition

type Help

type Help struct {
	Header   []byte
	Footer   []byte
	Commands []definition
}

func (Help) Command

func (g Help) Command(cmd []string) (response []byte, err error)

func (Help) Definition

func (g Help) Definition() definition

type PProf

type PProf struct{}

func (PProf) Command

func (g PProf) Command(cmd []string) (response []byte, err error)

func (PProf) Definition

func (g PProf) Definition() definition

type Stack

type Stack struct{}

func (Stack) Command

func (g Stack) Command(cmd []string) (response []byte, err error)

func (Stack) Definition

func (g Stack) Definition() definition

Jump to

Keyboard shortcuts

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