docker

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Cli *client.Client // global docker client
)

Functions

func RPCAddress

func RPCAddress(cli *client.Client, ctx context.Context, BuilderID string) (string, error)

RPCAddress returns the rpc endpoint of the builder container given an agent ID.

func StartContainer

func StartContainer(cli *client.Client, ctx context.Context, builderImageTag string) (string, error)

StartContainer starts the builder container that is created when a new agent is installed

Types

This section is empty.

Jump to

Keyboard shortcuts

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