mocknetworking

package
v1.25.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	openstack.MockOpenstackServer
	// contains filtered or unexported fields
}

MockClient represents a mocked networks (nebula) client

func CreateClient

func CreateClient() *MockClient

CreateClient will create a new mock networking client

func (*MockClient) All

func (m *MockClient) All() map[string]interface{}

All returns a map of all resource IDs to their resources

func (*MockClient) Reset

func (m *MockClient) Reset()

Reset will empty the state of the mock data

Jump to

Keyboard shortcuts

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