maven

package
v0.0.0-...-fe83a95 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RebuildMany

func RebuildMany(ctx context.Context, name string, inputs []rebuild.Input) ([]rebuild.Verdict, error)

RebuildMany executes rebuilds for each provided rebuild.Input returning their rebuild.Verdicts.

Types

type BuildConfig

type BuildConfig struct {
	Repo string
	Dir  string
	Ref  string
	// TODO: Switch to an interface that can represent different build types.
	Build MavenBuild
}

func Infer

func Infer(ctx context.Context, name, version string, s storage.Storer, fs billy.Filesystem) (BuildConfig, error)

Infer produces a rebuild strategy from the available package metadata.

type MavenBuild

type MavenBuild struct {
	// JDKVersion is the version of the JDK to use for the build.
	JDKVersion string
}

type RepoConfig

type RepoConfig struct {
	*git.Repository
	URI    string
	Dir    string
	RefMap map[string]string
}

Jump to

Keyboard shortcuts

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