Documentation
¶
Directories
¶
Path | Synopsis |
---|---|
Package mocks has just test files for use by other packages' tests
|
Package mocks has just test files for use by other packages' tests |
Package networking provides abstraction layers for accessing networking resources both across platform specific details, and for virtual / mock configurations for testing
|
Package networking provides abstraction layers for accessing networking resources both across platform specific details, and for virtual / mock configurations for testing |
host
Package host provides a generic accessor factory to create the appropriate platform-specific interface to the host networking APIs.
|
Package host provides a generic accessor factory to create the appropriate platform-specific interface to the host networking APIs. |
linux
Package linux provides an implementation of networking.Environment for the host Linux system, leveraging the Go native package, and then filling in the gaps using netlink APIs.
|
Package linux provides an implementation of networking.Environment for the host Linux system, leveraging the Go native package, and then filling in the gaps using netlink APIs. |
mocks
Package mocks provides mock implementations of the networking apis, for the testify mock library, generated via go generate and mockery.
|
Package mocks provides mock implementations of the networking apis, for the testify mock library, generated via go generate and mockery. |
native
Package native provdies common base implementations of the networking.Environment and related interfaces, or at least the portions that can be implemented using common native Go APIs.
|
Package native provdies common base implementations of the networking.Environment and related interfaces, or at least the portions that can be implemented using common native Go APIs. |
vnet
Package vnet provides a virtual (as opposed to mocked) implementation of the abstracted UDP networking stack.
|
Package vnet provides a virtual (as opposed to mocked) implementation of the abstracted UDP networking stack. |
Package testutils provides utility code needed by multiple packages' test suites, but which should not be referenced in any non-test code.
|
Package testutils provides utility code needed by multiple packages' test suites, but which should not be referenced in any non-test code. |
facts
Package facts provides helper code for generating facts for use in unit tests.
|
Package facts provides helper code for generating facts for use in unit tests. |
Click to show internal directories.
Click to hide internal directories.