mockdns

package
v1.22.3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: Apache-2.0 Imports: 10 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 dns client

func CreateClient

func CreateClient() *MockClient

CreateClient will create a new mock dns 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