mergecheck

package
v1.135.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mergecheck is the `code-insights merge-check` subcommand group. The merge-check API is partly undocumented in Bitbucket Server — these commands are marked experimental.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDelete

func NewCmdDelete(f *factory.Factory, runF func(*DeleteOptions) error) *cobra.Command

NewCmdDelete builds the `code-insights merge-check delete` cobra command.

func NewCmdGet

func NewCmdGet(f *factory.Factory, runF func(*GetOptions) error) *cobra.Command

NewCmdGet builds the `code-insights merge-check get` cobra command.

func NewCmdMergeCheck

func NewCmdMergeCheck(f *factory.Factory) *cobra.Command

NewCmdMergeCheck builds the `code-insights merge-check` command tree.

func NewCmdSet

func NewCmdSet(f *factory.Factory, runF func(*SetOptions) error) *cobra.Command

NewCmdSet builds the `code-insights merge-check set` cobra command.

Types

type DeleteOptions

type DeleteOptions struct {
	Hostname string
	// Args[0]=PROJECT/REPO  Args[1]=KEY
	Args []string
}

DeleteOptions holds parsed flags for `code-insights merge-check delete`.

type GetOptions

type GetOptions struct {
	Hostname string
	// Args[0]=PROJECT/REPO  Args[1]=KEY
	Args []string
}

GetOptions holds parsed flags for `code-insights merge-check get`.

type SetOptions

type SetOptions struct {
	Hostname    string
	ReportKey   string
	MustPass    bool
	MinSeverity string
	// Args[0]=PROJECT/REPO  Args[1]=KEY
	Args []string
}

SetOptions holds parsed flags for `code-insights merge-check set`.

Jump to

Keyboard shortcuts

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