pkg

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundler

type Bundler struct {
	Config
}

Bundler bundles.

func NewBundler

func NewBundler(cfg Config) *Bundler

NewBundler creates a new Bundler.

func (*Bundler) Bundle

func (n *Bundler) Bundle() error

Bundle performs the action which bundles together dependabot PRs.

type Config

type Config struct {
	Labels       []string
	TargetBranch string
	Owner        string
	Repo         string
	BotName      string
	AuthorName   string
	AuthorEmail  string
	PRTitle      string
	Logger       logger.Logger

	Issues       api.Issues
	Pulls        api.PullRequests
	Git          api.Git
	Updater      providers.Updater
	Repositories api.Repositories
	Runner       providers.Runner
	Signer       providers.Entity
}

Config contains dependencies and configuration for the Bundler.

Directories

Path Synopsis
api
fakes
Code generated by counterfeiter.
Code generated by counterfeiter.
fakes
Code generated by counterfeiter.
Code generated by counterfeiter.
pgp

Jump to

Keyboard shortcuts

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