cmd

package
v0.0.35 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBackoffFlagsAndBindings added in v0.0.18

func AddBackoffFlagsAndBindings(cmd *cobra.Command, v *viper.Viper)

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately.

func JSON added in v0.0.6

func JSON(w io.Writer, v any) error

JSON writes v as pretty-printed JSON to io.Writer

func ToJSONString added in v0.0.6

func ToJSONString(v any) string

ToJSONString returns v as a pretty-printed JSON string.

Types

type Chain added in v0.0.26

type KeysPath added in v0.0.26

type KeysPath []int64

func (KeysPath) KeysOnly added in v0.0.26

func (p KeysPath) KeysOnly(c Chain) string

func (KeysPath) PrettyLine added in v0.0.26

func (p KeysPath) PrettyLine(c Chain) string

func (KeysPath) StandardLine added in v0.0.26

func (p KeysPath) StandardLine(c Chain) string

type Label added in v0.0.26

type Services added in v0.0.26

type Services struct {
	Config *config.Config
	HTTP   *httpc.Service
}

func NewFromContext added in v0.0.26

func NewFromContext(ctx context.Context) (*Services, error)

Jump to

Keyboard shortcuts

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