lib

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Version int      `yaml:"version"`
	Updates []Update `yaml:"updates"`
}

Configuration - represents the content of dependabot.yml

func Generate added in v1.0.0

func Generate(afs *afero.Afero, repoPath string, schedule Schedule) (config Configuration, err error)

Generate generates the dependabot.yml in the specified repo path.

type Schedule added in v0.0.10

type Schedule struct {
	Interval string `yaml:"interval"`
	Day      string `yaml:"day,omitempty"`
	Time     string `yaml:"time,omitempty"`
	TimeZone string `yaml:"timezone,omitempty"`
}

Schedule - Update check schedule

type Update

type Update struct {
	PackageEcosystem string `yaml:"package-ecosystem"`
	Directory        string `yaml:"directory"`
	Schedule         `yaml:"schedule"`
}

Update - an update set in dependabot.yml

Jump to

Keyboard shortcuts

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