MCPcopy Create free account
hub / github.com/containerd/nerdctl / hostNetworkManager

Struct hostNetworkManager

pkg/containerutil/container_network_manager.go:524–528  ·  view source on GitHub ↗

types.NetworkOptionsManager implementation for host networking settings.

Source from the content-addressed store, hash-verified

522
523// types.NetworkOptionsManager implementation for host networking settings.
524type hostNetworkManager struct {
525 globalOptions types.GlobalCommandOptions
526 netOpts types.NetworkOptions
527 client *containerd.Client
528}
529
530// NetworkOptions Returns a copy of the internal types.NetworkOptions.
531func (m *hostNetworkManager) NetworkOptions() types.NetworkOptions {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected