config

package
v0.40.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Crawlers specifies crawler configuration
	Crawlers map[string]interface{} `yaml:",omitempty"`
	// ScmID specifies a scmid configuration to use to generate the manifest
	ScmId string `yaml:",omitempty"`
	// ActionId specifies an action configuration to use to generate the manifest
	ActionId string `yaml:",omitempty"`
	// GroupBy specifies how to group pipeline. The Accepted is one of "all", "individual"
	GroupBy GroupBy
	// !Deprecated in favor of `actionid`
	PullrequestId string `yaml:",omitempty"`
}

Config defines autodiscovery parameters

type GroupBy

type GroupBy string
const (
	GROUPEBYALL        GroupBy = "all"
	GROUPEBYINDIVIDUAL GroupBy = "individual"
)

func (GroupBy) Validate

func (g GroupBy) Validate() error

type Input

type Input struct {
	// ScmSpec defines the scm specification
	ScmSpec *scm.Config
	// ScmID defines the scmid associated to the scm specification
	ScmID string
	// ActionConfig defines the action specification
	ActionConfig *action.Config
	// ActionID defines the scmid associated to the scm specification
	ActionID string
}

Jump to

Keyboard shortcuts

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