tokens

package
v0.2.23 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCommands

func RegisterCommands(rootCmd *cobra.Command)

func RegisterTokenCommands

func RegisterTokenCommands(tokensCmd *cobra.Command)

Types

type CountCommand

type CountCommand struct {
	*cmds.CommandDescription
}

func NewCountCommand

func NewCountCommand() (*CountCommand, error)

func (*CountCommand) RunIntoWriter

func (cc *CountCommand) RunIntoWriter(
	ctx context.Context,
	parsedLayers map[string]*layers.ParsedParameterLayer,
	ps map[string]interface{},
	w io.Writer,
) error

type DecodeCommand

type DecodeCommand struct {
	*cmds.CommandDescription
}

func NewDecodeCommand

func NewDecodeCommand() (*DecodeCommand, error)

func (*DecodeCommand) RunIntoWriter

func (d *DecodeCommand) RunIntoWriter(
	ctx context.Context,
	parsedLayers map[string]*layers.ParsedParameterLayer,
	ps map[string]interface{},
	w io.Writer,
) error

type EncodeCommand

type EncodeCommand struct {
	*cmds.CommandDescription
}

func NewEncodeCommand

func NewEncodeCommand() (*EncodeCommand, error)

func (*EncodeCommand) RunIntoWriter

func (cmd *EncodeCommand) RunIntoWriter(
	ctx context.Context,
	parsedLayers map[string]*layers.ParsedParameterLayer,
	ps map[string]interface{},
	w io.Writer,
) error

type ListCodecsCommand

type ListCodecsCommand struct {
	*cmds.CommandDescription
}

func NewListCodecsCommand

func NewListCodecsCommand() (*ListCodecsCommand, error)

func (*ListCodecsCommand) Run

func (l *ListCodecsCommand) Run(
	ctx context.Context,
	parsedLayers map[string]*layers.ParsedParameterLayer,
	ps map[string]interface{},
	gp middlewares.Processor,
) error

type ListModelsCommand

type ListModelsCommand struct {
	*cmds.CommandDescription
}

func NewListModelsCommand

func NewListModelsCommand() (*ListModelsCommand, error)

func (*ListModelsCommand) Run

func (c *ListModelsCommand) Run(
	ctx context.Context,
	parsedLayers map[string]*layers.ParsedParameterLayer,
	ps map[string]interface{},
	gp middlewares.Processor,
) error

Jump to

Keyboard shortcuts

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