MCPcopy Create free account
hub / github.com/cloudfoundry/bosh-agent / GetDefaultNetwork

Method GetDefaultNetwork

platform/linux_platform.go:1691–1693  ·  view source on GitHub ↗
(ipProtocol boship.IPProtocol)

Source from the content-addressed store, hash-verified

1689}
1690
1691func (p linux) GetDefaultNetwork(ipProtocol boship.IPProtocol) (boshsettings.Network, error) {
1692 return p.defaultNetworkResolver.GetDefaultNetwork(ipProtocol)
1693}
1694
1695func (p linux) calculateEphemeralDiskPartitionSizes(diskSizeInBytes uint64, desiredSwapSizeInBytes *uint64) (uint64, uint64, error) {
1696 memStats, err := p.collector.GetMemStats()

Callers

nothing calls this directly

Calls 1

GetDefaultNetworkMethod · 0.65

Tested by

no test coverage detected