engine

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PrivilegedExecLabel = "privilegedEnabled"
	EngineNameLabel     = "engineName"
)
View Source
const (
	DockerImageProvider = "docker-image"
	// NOTE: this needs to be consistent with engineDefaultStateDir in internal/mage/engine.go
	DefaultStateDir = "/var/lib/dagger"

	ServicesDNSEnvName    = "_EXPERIMENTAL_DAGGER_SERVICES_DNS"
	DaggerCloudCacheToken = "_EXPERIMENTAL_DAGGER_CACHESERVICE_TOKEN"
)
View Source
const (
	EngineImageRepo = "registry.dagger.io/engine"
)

Variables

View Source
var DevelopmentVersion = fmt.Sprintf("devel (%s)", vcsRevision())
View Source
var Version string

Version holds the complete version number. Filled in at linking time.

Functions

func ImageRef added in v0.3.8

func ImageRef() string

func RunnerHost added in v0.3.8

func RunnerHost() string

Types

type Client

type Client struct {
	BuildkitClient        *bkclient.Client
	PrivilegedExecEnabled bool
	EngineName            string
}

func NewClient added in v0.5.1

func NewClient(ctx context.Context, remote *url.URL, userAgent string) (*Client, error)

Client returns a buildkit client, whether privileged execs are enabled, or an error

Jump to

Keyboard shortcuts

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