integrationvcs

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModeSingleURL = "single-url"
	ModeFlags     = "flags"
)

Mode constants

Variables

View Source
var (
	AppConfig *config.Config
)

Global variables for configuration and command arguments

View Source
var IntegrationVCSCmd = &cobra.Command{
	Use:                   "integration-vcs --vcs/-p PLUGIN_NAME [--login LOGIN --role ROLE --status STATUS --comment COMMENT --comment-file COMMENT_FILE --files FILES] {--domain VCS_DOMAIN_NAME --namespace NAMESPACE --repository REPOSITORY --pull-request-id ID | URL}",
	SilenceUsage:          true,
	DisableFlagsInUseLine: true,
	Example:               exampleIntegrationVCSUsage,
	Short:                 "Execute VCS integrations for different actions",
	RunE:                  runIntegrationVCSCommand,
}

IntegrationVCSCmd represents the command for VCS integrations.

Functions

func Init

func Init(cfg *config.Config)

Init initializes the global configuration variable and sets the long description for the IntegrationVCSCmd command.

Types

type Arguments

type Arguments interface{}

Jump to

Keyboard shortcuts

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