inventory

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

func New

func New() *DB

func (*DB) AddPodNetns added in v0.1.1

func (db *DB) AddPodNetns(pod string, netnsPath string)

func (*DB) GetPodName added in v0.1.1

func (db *DB) GetPodName(netnsid int) string

func (*DB) GetResources

func (db *DB) GetResources(ctx context.Context) <-chan []resourceapi.Device

func (*DB) RemovePodNetns added in v0.1.1

func (db *DB) RemovePodNetns(pod string)

func (*DB) Run

func (db *DB) Run(ctx context.Context) error

type Device

type Device struct {
	Kind string
	Name string
}

Jump to

Keyboard shortcuts

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