command

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// NewRestyFn represents new resty client.
	NewStateMachineCliFn = client.NewStateMachineCli
)

for testing

Functions

func LimitCommand added in v0.2.4

func LimitCommand(ctx context.Context, deps *depspkg.HTTPDeps, param *models.ExecuteParam, stmt stmtpkg.Statement) (interface{}, error)

LimitCommand executes database limit statement.

func MetadataCommand

func MetadataCommand(ctx context.Context, deps *depspkg.HTTPDeps,
	_ *models.ExecuteParam, stmt stmtpkg.Statement) (interface{}, error)

MetadataCommand executes the metadata query.

func MetricMetadataCommand

func MetricMetadataCommand(ctx context.Context, deps *depspkg.HTTPDeps,
	param *models.ExecuteParam, stmt stmtpkg.Statement) (interface{}, error)

MetricMetadataCommand executes the metric metadata query.

func QueryCommand

func QueryCommand(ctx context.Context, deps *depspkg.HTTPDeps,
	param *models.ExecuteParam, stmt stmtpkg.Statement) (interface{}, error)

QueryCommand executes metric query.

func RequestCommand

func RequestCommand(_ context.Context, deps *depspkg.HTTPDeps, _ *models.ExecuteParam, _ stmtpkg.Statement) (interface{}, error)

RequestCommand executes requests/request related statement.

func SchemaCommand

func SchemaCommand(ctx context.Context, deps *depspkg.HTTPDeps, _ *models.ExecuteParam, stmt stmtpkg.Statement) (interface{}, error)

SchemaCommand executes database schema statement.

func StateCommand

func StateCommand(_ context.Context, deps *depspkg.HTTPDeps,
	_ *models.ExecuteParam, stmt stmtpkg.Statement) (interface{}, error)

StateCommand executes the state query.

func StorageCommand

func StorageCommand(ctx context.Context, deps *depspkg.HTTPDeps, _ *models.ExecuteParam, stmt stmtpkg.Statement) (interface{}, error)

StorageCommand executes lin query language for storage related.

Types

This section is empty.

Jump to

Keyboard shortcuts

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