Documentation ¶
Index ¶
- Constants
- func AddLicensesCommand(parent *cobra.Command)
- func AddVersionCommand(parent *cobra.Command)
- func Execute()
- func ExecuteFromTest(options *TestInvocationOptions) error
- func RunLicensesCommand(ctx context.Context, opts VersionOptions) error
- func RunVersionCommand(ctx context.Context, opts VersionOptions) error
- type LicenseOptions
- type TestInvocationOptions
- type VersionOptions
Constants ¶
View Source
const (
VerboseParamName = "verbose"
)
Variables ¶
This section is empty.
Functions ¶
func AddLicensesCommand ¶ added in v1.118.2
func AddVersionCommand ¶ added in v1.118.2
func ExecuteFromTest ¶ added in v1.118.2
func ExecuteFromTest(options *TestInvocationOptions) error
ExecuteFromTest allows for invocation of the CLI from a test
func RunLicensesCommand ¶ added in v1.118.2
func RunLicensesCommand(ctx context.Context, opts VersionOptions) error
func RunVersionCommand ¶ added in v1.118.2
func RunVersionCommand(ctx context.Context, opts VersionOptions) error
Types ¶
type LicenseOptions ¶ added in v1.118.2
type LicenseOptions struct { }
type TestInvocationOptions ¶ added in v1.118.2
type VersionOptions ¶ added in v1.118.2
type VersionOptions struct { }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.