autodiscovery

package
v0.33.2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultGenericsSpecs defines the default builder that we want to run
	DefaultCrawlerSpecs = discoveryConfig.Config{
		Crawlers: map[string]interface{}{
			"helm":          helm.Spec{},
			"rancher/fleet": fleet.Spec{},
			"maven":         maven.Spec{},
		},
	}
)

Functions

This section is empty.

Types

type AutoDiscovery

type AutoDiscovery struct {
	// contains filtered or unexported fields
}

func New

func New(spec discoveryConfig.Config,
	scmHandler scm.ScmHandler,
	scmConfig *scm.Config,
	pullrequestConfig *pullrequest.Config) (*AutoDiscovery, error)

New returns an initiated autodiscovery object

func (*AutoDiscovery) Run

func (g *AutoDiscovery) Run() ([]config.Spec, error)

type Crawler

type Crawler interface {
	DiscoverManifests(input discoveryConfig.Input) ([]config.Spec, error)
	Enabled() bool
}

type Options

type Options struct {
	Enabled bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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