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