config

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: MIT 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"`
	// PullrequestID specifies a pullrequest configuration to use to generate the manifest
	PullrequestId string `yaml:",omitempty"`
	// GroupBy specifies how to group pipeline. The Accepted is one of "all", "individual"
	GroupBy GroupBy
}

Config defines autodiscover 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
	// PullRequestSpecSpec defines the pullrequest specificiation
	PullRequestSpec *pullrequest.Config
	// ScmID defines the scmid associated to the scm specification
	PullrequestID string
}

Jump to

Keyboard shortcuts

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