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

Method GetDefaultNetwork

platform/windows_platform.go:765–767  ·  view source on GitHub ↗
(ipProtocol boship.IPProtocol)

Source from the content-addressed store, hash-verified

763}
764
765func (p WindowsPlatform) GetDefaultNetwork(ipProtocol boship.IPProtocol) (boshsettings.Network, error) {
766 return p.defaultNetworkResolver.GetDefaultNetwork(ipProtocol)
767}
768
769func (p WindowsPlatform) GetHostPublicKey() (string, error) {
770 if err := sshEnabled(); err != nil {

Callers

nothing calls this directly

Calls 1

GetDefaultNetworkMethod · 0.65

Tested by

no test coverage detected