namespace

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManagedNamespace

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

ManagedNamespace is a structure that holds all the necessary information a caller would need for a sandbox managed namespace Where nsmgr.Namespace does hold similar information, ManagedNamespace exists to allow this library to not return data not necessarily in a Namespace (for instance, when a namespace is not managed by CRI-O, but instead is based off of the infra pid).

func NewManagedNamespace

func NewManagedNamespace(nsPath string, nsType nsmgr.NSType) *ManagedNamespace

func (*ManagedNamespace) Path

func (m *ManagedNamespace) Path() string

Type returns the namespace path.

func (*ManagedNamespace) Type

func (m *ManagedNamespace) Type() nsmgr.NSType

Type returns the namespace type.

Jump to

Keyboard shortcuts

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