dependencies

package
v0.0.0-...-2443087 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileGitHubIssueForDependency

func FileGitHubIssueForDependency(context *ctx.Context, repoOwner, repoName string, dependency Dependency) (*github.Issue, error)

func GitHubUpdateIssueForDependency

func GitHubUpdateIssueForDependency(context *ctx.Context, repoOwner, repoName string, dependency Dependency) *github.Issue

Types

type Checker

type Checker interface {
	AllOutdatedDependencies(context *ctx.Context) []Dependency
}

func NewRubyDependencyChecker

func NewRubyDependencyChecker(repoOwner, repoName string) Checker

type Dependency

type Dependency interface {
	GetName() string                    // pre-populated upon creation
	GetConstraint() version.Constraints // pre-populated upon creation
	GetLatestVersion(context *ctx.Context) *version.Version
	IsOutdated(context *ctx.Context) bool
}

type RubyDependency

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

func (*RubyDependency) GetConstraint

func (d *RubyDependency) GetConstraint() version.Constraints

func (*RubyDependency) GetLatestVersion

func (d *RubyDependency) GetLatestVersion(context *ctx.Context) *version.Version

func (*RubyDependency) GetName

func (d *RubyDependency) GetName() string

func (*RubyDependency) IsOutdated

func (d *RubyDependency) IsOutdated(context *ctx.Context) bool

func (*RubyDependency) String

func (d *RubyDependency) String() string

Jump to

Keyboard shortcuts

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