builds

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildSettings

type BuildSettings struct {
	DepotProjectId   string
	DepotToken       string
	BuildProvider    string
	BuildTimeoutSecs int
}

type Builder

type Builder interface {
	BuildImage(ctx context.Context, req imagetypes.BuildRequest, progressWriter io.Writer, serviceName string) (*imagetypes.BuildResult, error)
}

type DockerClientProvider

type DockerClientProvider interface {
	GetClient() (*dockerclient.Client, error)
}

type LogCapture

type LogCapture interface {
	io.Writer
	String() string
	Truncated() bool
}

type RegistryAuthProvider

type RegistryAuthProvider interface {
	GetRegistryAuthForImage(ctx context.Context, imageRef string) (string, error)
	GetRegistryAuthForHost(ctx context.Context, registryHost string) (string, error)
	GetAllRegistryAuthConfigs(ctx context.Context) (map[string]dockerregistry.AuthConfig, error)
}

type SettingsProvider

type SettingsProvider interface {
	BuildSettings() BuildSettings
}

Jump to

Keyboard shortcuts

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