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.
Click to show internal directories.
Click to hide internal directories.