crio

package
v0.3.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Runtime

type Runtime struct {
	// contains filtered or unexported fields
}

Runtime represents a connection to the CRI-O runtime

func NewRuntime

func NewRuntime(socketPath string, timeout time.Duration) (*Runtime, error)

NewRuntime returns a connection to the CRI-O runtime

func (*Runtime) NetNS

func (cr *Runtime) NetNS(containerID string) (string, error)

NetNS returns the network namespace of the given containerID.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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