buildctl

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAction

func BuildAction(ctx context.Context, c *client.Client, cfg *BuildConfig) error

BuildAction implements building based on Buildkit code. Most parsing does however already happen outside of BuildAction

Types

type BuildConfig

type BuildConfig struct {
	AllowedEntitlements []entitlements.Entitlement
	ExportCaches        []client.CacheOptionsEntry
	Frontend            string
	FrontendAttrs       map[string]string
	ImportCaches        []client.CacheOptionsEntry
	LocalDirs           map[string]string
	MetadataFile        string
	NoCache             bool
	Exports             []client.ExportEntry
	ProgressMode        string
	TracefileName       string
	SecretAttachables   session.Attachable
}

Jump to

Keyboard shortcuts

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