fake

package
v1.6.0-rc5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package fake is a fake datapath implementation. It does not implement any datapath specific concepts and is useful for mocking and testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDatapath

func NewDatapath() datapath.Datapath

NewDatapath returns a new fake datapath

func NewIPv4OnlyNodeAddressing

func NewIPv4OnlyNodeAddressing() datapath.NodeAddressing

NewIPv4OnlyNodeAddressing returns a new fake node addressing where IPv6 is disabled

func NewIPv6OnlyNodeAddressing

func NewIPv6OnlyNodeAddressing() datapath.NodeAddressing

NewIPv6OnlyNodeAddressing returns a new fake node addressing where IPv4 is disabled

func NewNodeAddressing

func NewNodeAddressing() datapath.NodeAddressing

NewNodeAddressing returns a new fake node addressing

func NewNodeHandler

func NewNodeHandler() datapath.NodeHandler

NewNodeHandler returns a fake NodeHandler that performs no actions

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL