nerdctlcontainer

package
v0.12.4 Latest Latest
Warning

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

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

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 DevKit 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