Documentation
¶
Overview ¶
Package build orchestrates builds in the trusted host environment.
Index ¶
- func CopyVolume(ctx context.Context, src, dst string) error
- func CreateVolume(ctx context.Context, path string, sizeMB int) error
- func RenderReport(r *types.Report) (string, error)
- func RenderReports(reports map[string]*types.Report) (string, error)
- func TempFile(dir, pattern string) (string, error)
- type Builder
- type Clone
- type Firecracker
- type GitCloner
- type MountedVolume
- type Params
- type Pusher
- type Result
- type Scanner
- type TokenSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶
type Builder struct { OutputDir string // contains filtered or unexported fields }
func NewBuilder ¶
type Firecracker ¶
type Firecracker struct {
// contains filtered or unexported fields
}
func NewFirecracker ¶
func NewFirecracker(l logr.Logger) *Firecracker
type GitCloner ¶
type GitCloner struct {
// contains filtered or unexported fields
}
func NewGitCloner ¶
type MountedVolume ¶
type MountedVolume string
func MountVolume ¶
func MountVolume(ctx context.Context, volume, dir string) (MountedVolume, error)
func (MountedVolume) Path ¶
func (m MountedVolume) Path() string
Click to show internal directories.
Click to hide internal directories.