Documentation
¶
Index ¶
- Constants
- Variables
- func DockerCommandFromEnvironment() string
- func GetHostPortForContainer(ctx context.Context, dockerCommand command.Command, containerID string, ...) (int, error)
- func NewClient(ctx context.Context, opts ...Option) (*apiClient, error)
- func ParseSecretsFromHost(workingDir string, secrets []string) (secrets.SecretStore, error)
- func Push(ctx context.Context, image string, projectDir string, command command.Command, ...) error
- func Run(ctx context.Context, dockerClient command.Command, options command.RunOptions) error
- func RunDaemon(ctx context.Context, dockerClient command.Command, options command.RunOptions, ...) (string, error)
- func RunWithIO(ctx context.Context, dockerClient command.Command, options command.RunOptions, ...) error
- func SaveLoginToken(ctx context.Context, registryHost string, username string, token string) error
- func StandardPush(ctx context.Context, image string, command command.Command) error
- type BuildInfo
- type CredentialHelperInput
- type Option
Constants ¶
View Source
const DockerCommandEnvVarName = "R8_DOCKER_COMMAND"
Variables ¶
View Source
var ErrMissingDeviceDriver = errors.New("Docker is missing required device driver")
Functions ¶
func DockerCommandFromEnvironment ¶ added in v0.14.0
func DockerCommandFromEnvironment() string
func GetHostPortForContainer ¶ added in v0.14.11
func ParseSecretsFromHost ¶ added in v0.15.0
func ParseSecretsFromHost(workingDir string, secrets []string) (secrets.SecretStore, error)
func SaveLoginToken ¶ added in v0.0.8
Types ¶
type CredentialHelperInput ¶ added in v0.14.0
Source Files
¶
Click to show internal directories.
Click to hide internal directories.