gate

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package gate implements the "krci sonar gate" command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdGate

func NewCmdGate(f *cmdutil.Factory, runF func(*GateOptions) error) *cobra.Command

NewCmdGate returns the "sonar gate" cobra.Command.

Types

type GateOptions

type GateOptions struct {
	IO           *iostreams.IOStreams
	RestClient   func() (*restapi.ClientWithResponses, error)
	Project      string
	PullRequest  string
	Branch       string
	OutputFormat string
}

GateOptions holds all inputs for `krci sonar gate <project>`.

Jump to

Keyboard shortcuts

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