cloud

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: Apache-2.0 Imports: 45 Imported by: 0

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

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