cmd

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHelper

type MockHelper struct {
	GetCmdMock          func() *cobra.Command
	GetArgsMock         func() []string
	GetVerbMock         func() (verbs.VerbValue, error)
	GetProductMock      func() (products.ProductValue, error)
	GetStreamsMock      func() *iostreams.IOStreams
	GetConfigMock       func() (config.Hook, error)
	GetOutputFormatMock func() (common.OutputFormat, error)
	GetLoggerMock       func() (*slog.Logger, error)
	GetBuildInfoMock    func() (*build.Info, error)
	GetContextMock      func() context.Context
	GetKonnectSDKMock   func(config.Hook, *slog.Logger) (helpers.SDKAPI, error)
}

func (*MockHelper) GetArgs

func (m *MockHelper) GetArgs() []string

func (*MockHelper) GetBuildInfo

func (m *MockHelper) GetBuildInfo() (*build.Info, error)

func (*MockHelper) GetCmd

func (m *MockHelper) GetCmd() *cobra.Command

func (*MockHelper) GetConfig

func (m *MockHelper) GetConfig() (config.Hook, error)

func (*MockHelper) GetContext

func (m *MockHelper) GetContext() context.Context

func (*MockHelper) GetKonnectSDK added in v0.0.13

func (m *MockHelper) GetKonnectSDK(cfg config.Hook, logger *slog.Logger) (helpers.SDKAPI, error)

func (*MockHelper) GetLogger

func (m *MockHelper) GetLogger() (*slog.Logger, error)

func (*MockHelper) GetOutputFormat

func (m *MockHelper) GetOutputFormat() (common.OutputFormat, error)

func (*MockHelper) GetProduct

func (m *MockHelper) GetProduct() (products.ProductValue, error)

func (*MockHelper) GetStreams

func (m *MockHelper) GetStreams() *iostreams.IOStreams

func (*MockHelper) GetVerb

func (m *MockHelper) GetVerb() (verbs.VerbValue, error)

Jump to

Keyboard shortcuts

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