cloud

package
v0.39.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 45 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	DriverName      = "cloud"
	AuthHost        = "https://auth.docker.io"
	ProxyAddress    = "tcp://build-cloud.docker.com:443"
	RegistryAddress = "build-cloud.docker.com:443"
	HealthAddress   = "https://build-cloud.docker.com:443/v2/"
)
View Source
const EndpointPrefix = "cloud://"

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	driver.InitConfig
	// contains filtered or unexported fields
}

func (*Driver) Bootstrap

func (d *Driver) Bootstrap(ctx context.Context, l progress.Logger) error

func (*Driver) Client

func (d *Driver) Client(ctx context.Context, opts ...client.ClientOpt) (*client.Client, error)

func (*Driver) Config

func (d *Driver) Config() driver.InitConfig

func (*Driver) Dial

func (d *Driver) Dial(ctx context.Context) (net.Conn, error)

func (*Driver) Factory

func (d *Driver) Factory() driver.Factory

func (*Driver) Features

func (d *Driver) Features(_ context.Context) (map[driver.Feature]bool, error)

func (*Driver) HostGatewayIP

func (d *Driver) HostGatewayIP(ctx context.Context) (net.IP, error)

func (*Driver) Info

func (d *Driver) Info(ctx context.Context) (*driver.Info, error)

func (*Driver) IsMobyDriver

func (d *Driver) IsMobyDriver() bool

func (*Driver) PrepareBuild

func (d *Driver) PrepareBuild(ctx context.Context, opt *driver.PrepareBuildOptions) error

func (*Driver) Rm

func (d *Driver) Rm(ctx context.Context, force, rmVolume, rmDaemon bool) error

func (*Driver) Stop

func (d *Driver) Stop(ctx context.Context, force bool) error

func (*Driver) Version

func (d *Driver) Version(ctx context.Context) (string, error)

type Token

type Token struct {
	AccessToken string `json:"access_token"`
}

Jump to

Keyboard shortcuts

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