mocks

package
v1.26.3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCompute

type MockCompute struct {
	// contains filtered or unexported fields
}

MockCompute is a mock of Compute interface.

func NewMockCompute

func NewMockCompute(ctrl *gomock.Controller) *MockCompute

NewMockCompute creates a new mock instance.

func (*MockCompute) CreateServerGroup

func (m *MockCompute) CreateServerGroup(arg0, arg1 string) (*servergroups.ServerGroup, error)

CreateServerGroup mocks base method.

func (*MockCompute) DeleteServerGroup

func (m *MockCompute) DeleteServerGroup(arg0 string) error

DeleteServerGroup mocks base method.

func (*MockCompute) EXPECT

func (m *MockCompute) EXPECT() *MockComputeMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCompute) GetServerGroup

func (m *MockCompute) GetServerGroup(arg0 string) (*servergroups.ServerGroup, error)

GetServerGroup mocks base method.

func (*MockCompute) ListServerGroups

func (m *MockCompute) ListServerGroups() ([]servergroups.ServerGroup, error)

ListServerGroups mocks base method.

type MockComputeMockRecorder

type MockComputeMockRecorder struct {
	// contains filtered or unexported fields
}

MockComputeMockRecorder is the mock recorder for MockCompute.

func (*MockComputeMockRecorder) CreateServerGroup

func (mr *MockComputeMockRecorder) CreateServerGroup(arg0, arg1 interface{}) *gomock.Call

CreateServerGroup indicates an expected call of CreateServerGroup.

func (*MockComputeMockRecorder) DeleteServerGroup

func (mr *MockComputeMockRecorder) DeleteServerGroup(arg0 interface{}) *gomock.Call

DeleteServerGroup indicates an expected call of DeleteServerGroup.

func (*MockComputeMockRecorder) GetServerGroup

func (mr *MockComputeMockRecorder) GetServerGroup(arg0 interface{}) *gomock.Call

GetServerGroup indicates an expected call of GetServerGroup.

func (*MockComputeMockRecorder) ListServerGroups

func (mr *MockComputeMockRecorder) ListServerGroups() *gomock.Call

ListServerGroups indicates an expected call of ListServerGroups.

type MockDNS added in v1.21.0

type MockDNS struct {
	// contains filtered or unexported fields
}

MockDNS is a mock of DNS interface.

func NewMockDNS added in v1.21.0

func NewMockDNS(ctrl *gomock.Controller) *MockDNS

NewMockDNS creates a new mock instance.

func (*MockDNS) CreateOrUpdateRecordSet added in v1.21.0

func (m *MockDNS) CreateOrUpdateRecordSet(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string, arg5 int) error

CreateOrUpdateRecordSet mocks base method.

func (*MockDNS) DeleteRecordSet added in v1.21.0

func (m *MockDNS) DeleteRecordSet(arg0 context.Context, arg1, arg2, arg3 string) error

DeleteRecordSet mocks base method.

func (*MockDNS) EXPECT added in v1.21.0

func (m *MockDNS) EXPECT() *MockDNSMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDNS) GetZones added in v1.21.0

func (m *MockDNS) GetZones(arg0 context.Context) (map[string]string, error)

GetZones mocks base method.

type MockDNSMockRecorder added in v1.21.0

type MockDNSMockRecorder struct {
	// contains filtered or unexported fields
}

MockDNSMockRecorder is the mock recorder for MockDNS.

func (*MockDNSMockRecorder) CreateOrUpdateRecordSet added in v1.21.0

func (mr *MockDNSMockRecorder) CreateOrUpdateRecordSet(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

CreateOrUpdateRecordSet indicates an expected call of CreateOrUpdateRecordSet.

func (*MockDNSMockRecorder) DeleteRecordSet added in v1.21.0

func (mr *MockDNSMockRecorder) DeleteRecordSet(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteRecordSet indicates an expected call of DeleteRecordSet.

func (*MockDNSMockRecorder) GetZones added in v1.21.0

func (mr *MockDNSMockRecorder) GetZones(arg0 interface{}) *gomock.Call

GetZones indicates an expected call of GetZones.

type MockFactory

type MockFactory struct {
	// contains filtered or unexported fields
}

MockFactory is a mock of Factory interface.

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance.

func (*MockFactory) Compute

func (m *MockFactory) Compute(arg0 ...client.Option) (client.Compute, error)

Compute mocks base method.

func (*MockFactory) DNS added in v1.21.0

func (m *MockFactory) DNS(arg0 ...client.Option) (client.DNS, error)

DNS mocks base method.

func (*MockFactory) EXPECT

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFactory) Networking added in v1.21.0

func (m *MockFactory) Networking(arg0 ...client.Option) (client.Networking, error)

Networking mocks base method.

func (*MockFactory) Storage

func (m *MockFactory) Storage(arg0 ...client.Option) (client.Storage, error)

Storage mocks base method.

type MockFactoryFactory added in v1.21.0

type MockFactoryFactory struct {
	// contains filtered or unexported fields
}

MockFactoryFactory is a mock of FactoryFactory interface.

func NewMockFactoryFactory added in v1.21.0

func NewMockFactoryFactory(ctrl *gomock.Controller) *MockFactoryFactory

NewMockFactoryFactory creates a new mock instance.

func (*MockFactoryFactory) EXPECT added in v1.21.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFactoryFactory) NewFactory added in v1.21.0

func (m *MockFactoryFactory) NewFactory(arg0 *openstack.Credentials) (client.Factory, error)

NewFactory mocks base method.

type MockFactoryFactoryMockRecorder added in v1.21.0

type MockFactoryFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockFactoryFactoryMockRecorder is the mock recorder for MockFactoryFactory.

func (*MockFactoryFactoryMockRecorder) NewFactory added in v1.21.0

func (mr *MockFactoryFactoryMockRecorder) NewFactory(arg0 interface{}) *gomock.Call

NewFactory indicates an expected call of NewFactory.

type MockFactoryMockRecorder

type MockFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockFactoryMockRecorder is the mock recorder for MockFactory.

func (*MockFactoryMockRecorder) Compute

func (mr *MockFactoryMockRecorder) Compute(arg0 ...interface{}) *gomock.Call

Compute indicates an expected call of Compute.

func (*MockFactoryMockRecorder) DNS added in v1.21.0

func (mr *MockFactoryMockRecorder) DNS(arg0 ...interface{}) *gomock.Call

DNS indicates an expected call of DNS.

func (*MockFactoryMockRecorder) Networking added in v1.21.0

func (mr *MockFactoryMockRecorder) Networking(arg0 ...interface{}) *gomock.Call

Networking indicates an expected call of Networking.

func (*MockFactoryMockRecorder) Storage

func (mr *MockFactoryMockRecorder) Storage(arg0 ...interface{}) *gomock.Call

Storage indicates an expected call of Storage.

type MockNetworking added in v1.21.0

type MockNetworking struct {
	// contains filtered or unexported fields
}

MockNetworking is a mock of Networking interface.

func NewMockNetworking added in v1.21.0

func NewMockNetworking(ctrl *gomock.Controller) *MockNetworking

NewMockNetworking creates a new mock instance.

func (*MockNetworking) EXPECT added in v1.21.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNetworking) GetExternalNetworkNames added in v1.21.0

func (m *MockNetworking) GetExternalNetworkNames(arg0 context.Context) ([]string, error)

GetExternalNetworkNames mocks base method.

type MockNetworkingMockRecorder added in v1.21.0

type MockNetworkingMockRecorder struct {
	// contains filtered or unexported fields
}

MockNetworkingMockRecorder is the mock recorder for MockNetworking.

func (*MockNetworkingMockRecorder) GetExternalNetworkNames added in v1.21.0

func (mr *MockNetworkingMockRecorder) GetExternalNetworkNames(arg0 interface{}) *gomock.Call

GetExternalNetworkNames indicates an expected call of GetExternalNetworkNames.

Jump to

Keyboard shortcuts

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