root

package
v0.21.0-reserved Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(ctx context.Context) (*cobra.Command, *sample.Handler, error)

Types

type ContextResolver

type ContextResolver struct {
	Quiet   bool
	Debug   bool
	Version bool
}

func (*ContextResolver) Flags

func (me *ContextResolver) Flags(flgs *pflag.FlagSet)

func (*ContextResolver) Run

func (me *ContextResolver) Run(cmd *cobra.Command) (context.Context, error)

type CustomInterface

type CustomInterface interface {
}

type CustomInterfaceStruct

type CustomInterfaceStruct struct {
}

type CustomResolver

type CustomResolver struct {
}

func (*CustomResolver) Flags

func (me *CustomResolver) Flags(flgs *pflag.FlagSet)

func (*CustomResolver) Run

func (me *CustomResolver) Run() (CustomInterface, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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