MCPcopy Create free account
hub / github.com/cloudfoundry/garden / NetOut

Method NetOut

container.go:84–84  ·  view source on GitHub ↗

Whitelist outbound network traffic. This is deprecated in favour of passing NetOut configuration in the ContainerSpec at creation time. If the configuration directive deny_networks is not used, all networks are already whitelisted and this command is effectively a no-op. Later NetOut calls take pr

(netOutRule NetOutRule)

Source from the content-addressed store, hash-verified

82 // Errors:
83 // * An error is returned if the NetOut call fails.
84 NetOut(netOutRule NetOutRule) error
85
86 // A Bulk call for NetOut. This is deprecated in favour of passing
87 // NetOut configuration in the ContainerSpec at creation time.

Callers 2

handleNetOutMethod · 0.65

Implementers 2

FakeContainergardenfakes/fake_container.go
containerclient/container.go

Calls

no outgoing calls

Tested by

no test coverage detected