networkstore

package
v2.1.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNetworkStore = errors.New("network-store error")

Functions

This section is empty.

Types

type NetworkConfig

type NetworkConfig struct {
	PortMappings []cni.PortMapping `json:"portMappings,omitempty"`
}

type NetworkStore

type NetworkStore struct {
	NetConf NetworkConfig
	// contains filtered or unexported fields
}

func New

func New(dataStore, namespace, containerID string) (ns *NetworkStore, err error)

func (*NetworkStore) Acquire

func (ns *NetworkStore) Acquire(netConf NetworkConfig) (err error)

func (*NetworkStore) Load

func (ns *NetworkStore) Load() (err error)

Jump to

Keyboard shortcuts

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