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
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) Ref ¶
func (s *GitBuildDefinitionSet) Ref() plumbing.Hash
type GitBuildDefinitionSetOptions ¶
type GitBuildDefinitionSetOptions struct { git.CloneOptions RelativePath string SparseCheckoutDirs []string }
GitBuildDefinitionSetOptions provides configuration options for creating a BuildDefinitionSet from a Git repository.
Click to show internal directories.
Click to hide internal directories.