dockercontainer

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Helper

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

type Spec struct {
	Context   string
	Container string
}

Spec

func SpecFromURL

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