nerdctlcontainer

package
v0.13.0-beta3 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Overview

Package nerdctlcontainer provides connhelper for nerdctl-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 Nerdctl container. Requires BuildKit v0.5.0 or later in the container.

Types

type Spec

type Spec struct {
	Container string
	Namespace string
}

Spec

func SpecFromURL

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

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

Jump to

Keyboard shortcuts

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