mockdns

package
v1.29.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 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