wgipamtest

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package wgipamtest provides testing facilities for wgipamd types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestStore

func TestStore(t *testing.T, ms MakeStore)

TestStore tests a wgipam.Store type for compliance with the interface. The MakeStore function is invoked to retrieve a new and empty Store for each subtest.

Types

type MakeStore

type MakeStore func(t *testing.T) wgipam.Store

MakeStore is a function which produces a new wgipam.Store on each invocation. The Store should be completely empty when created.

Jump to

Keyboard shortcuts

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