dockercontainer

package
v0.11.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Apache-2.0 Imports: 6 Imported by: 18

Documentation

Overview

Package dockercontainer provides connhelper for docker-container://<container>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Helper added in v0.6.0

func Helper(u *url.URL) (*connhelper.ConnectionHelper, error)

Helper returns helper for connecting to a Docker container. Requires BuildKit v0.5.0 or later in the container.

Types

type Spec added in v0.6.0

type Spec struct {
	Context   string
	Container string
}

Spec

func SpecFromURL added in v0.6.0

func SpecFromURL(u *url.URL) (*Spec, error)

SpecFromURL creates Spec from URL. URL is like docker-container://<container>?context=<context> Only <container> part is mandatory.

Jump to

Keyboard shortcuts

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