builddef

package
v0.0.0-...-e0b30e9 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 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 BuildDefinitionSet

type BuildDefinitionSet interface {
	Get(ctx context.Context, target rebuild.Target) (rebuild.Strategy, error)
}

BuildDefinitionSet represents a collection of build definitions.

type FilesystemBuildDefinitionSet

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

FilesystemBuildDefinitionSet implements BuildDefinitionSet using a filesystem.

func NewFilesystemBuildDefinitionSet

func NewFilesystemBuildDefinitionSet(fs billy.Filesystem) *FilesystemBuildDefinitionSet

func (*FilesystemBuildDefinitionSet) Get

func (*FilesystemBuildDefinitionSet) Path

type GitBuildDefinitionSet

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

func NewBuildDefinitionSetFromGit

func NewBuildDefinitionSetFromGit(opts *GitBuildDefinitionSetOptions) (*GitBuildDefinitionSet, error)

NewBuildDefinitionSetFromGit creates a BuildDefinitionSet from a new Git repository.

func (*GitBuildDefinitionSet) Get

func (*GitBuildDefinitionSet) Path

func (*GitBuildDefinitionSet) Ref

type GitBuildDefinitionSetOptions

type GitBuildDefinitionSetOptions struct {
	git.CloneOptions
	RelativePath       string
	SparseCheckoutDirs []string
}

GitBuildDefinitionSetOptions provides configuration options for creating a BuildDefinitionSet from a Git repository.

Jump to

Keyboard shortcuts

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