list

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Config = flags{}

	ErrorExpectedRangeInconsistent = errors.New("inconsistent flags; min and max flags must be in pairs")
)
View Source
var Cmd = &cobra.Command{
	Use:   "list",
	Short: "List keys",
	Long:  `List keys that fall within the given key ranges.`,
	Args:  cobra.NoArgs,
	RunE:  exec,
}

Functions

This section is empty.

Types

type Call

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

func (Call) Complete

func (call Call) Complete() <-chan any

type Output

type Output struct {
	Keys []string `json:"keys"`
}

type Query

type Query struct {
	KeyMinimum string `json:"key_minimum"`
	KeyMaximum string `json:"key_maximum"`
}

func (Query) Perform

func (query Query) Perform(client oxia.AsyncClient) common.Call

func (Query) Unmarshal

func (query Query) Unmarshal(b []byte) (common.Query, error)

Jump to

Keyboard shortcuts

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