source

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultGitExecutor

func DefaultGitExecutor(workingDir string) types.Executor

Types

type Downloader

type Downloader interface {
	Download(ctx context.Context, repository string, commitID string) error
}

type GitDownloader

type GitDownloader struct {
	GitExecutor types.Executor
	// contains filtered or unexported fields
}

func NewGitDownloader

func NewGitDownloader(workingDir string, stdOutput *buildlogs.Recorder) *GitDownloader

func (*GitDownloader) Download

func (downloader *GitDownloader) Download(ctx context.Context, repository string, commitID string) error

Jump to

Keyboard shortcuts

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