kv

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustRegister

func MustRegister()

func Register

func Register() error

Types

type Command

type Command struct {
	Action     string             `json:"action"`
	Bucket     string             `json:"bucket"`
	Key        string             `json:"key"`
	Value      string             `json:"value"`
	RenderJSON bool               `json:"json"`
	Transform  *builder.Transform `json:"transform"`

	builder.GenericCommand
	builder.GenericSubCommands
}

type KV

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

func (*KV) CreateCommand

func (r *KV) CreateCommand(app builder.KingpinCommand) (*fisk.CmdClause, error)

func (*KV) String

func (r *KV) String() string

func (*KV) SubCommands

func (r *KV) SubCommands() []json.RawMessage

func (*KV) Validate

func (r *KV) Validate(log builder.Logger) error

Jump to

Keyboard shortcuts

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