components

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package components implements the "krci sca components" command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdComponents

func NewCmdComponents(f *cmdutil.Factory, runF func(*ComponentsOptions) error) *cobra.Command

NewCmdComponents returns the "sca components" cobra.Command.

Types

type ComponentsOptions

type ComponentsOptions struct {
	IO           *iostreams.IOStreams
	RestClient   func() (*restapi.ClientWithResponses, error)
	Codebase     string
	Branch       string
	Severity     []string
	OnlyOutdated bool
	OnlyDirect   bool
	Page         int
	PageSize     int
	OutputFormat string
}

ComponentsOptions holds all inputs for `krci sca components <codebase>`.

Jump to

Keyboard shortcuts

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