mockloadbalancer

package
v1.22.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: Apache-2.0 Imports: 12 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