mocks

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: Apache-2.0, MIT Imports: 13 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) AssociateFIPWithInstance added in v1.27.0

func (m *MockCompute) AssociateFIPWithInstance(arg0 string, arg1 floatingips.AssociateOpts) error

AssociateFIPWithInstance mocks base method.

func (*MockCompute) CreateServer added in v1.27.0

func (m *MockCompute) CreateServer(arg0 servers.CreateOpts) (*servers.Server, error)

CreateServer mocks base method.

func (*MockCompute) CreateServerGroup

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

CreateServerGroup mocks base method.

func (*MockCompute) DeleteServer added in v1.27.0

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

DeleteServer 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) FindFlavorID added in v1.27.0

func (m *MockCompute) FindFlavorID(arg0 string) (string, error)

FindFlavorID mocks base method.

func (*MockCompute) FindFloatingIDByInstanceID added in v1.27.0

func (m *MockCompute) FindFloatingIDByInstanceID(arg0 string) (string, error)

FindFloatingIDByInstanceID mocks base method.

func (*MockCompute) FindImages added in v1.27.0

func (m *MockCompute) FindImages(arg0 string) ([]images.Image, error)

FindImages mocks base method.

func (*MockCompute) FindServersByName added in v1.27.0

func (m *MockCompute) FindServersByName(arg0 string) ([]servers.Server, error)

FindServersByName mocks base method.

func (*MockCompute) GetServerGroup

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

GetServerGroup mocks base method.

func (*MockCompute) ListImages added in v1.27.0

func (m *MockCompute) ListImages(arg0 images.ListOpts) ([]images.Image, error)

ListImages 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) AssociateFIPWithInstance added in v1.27.0

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

AssociateFIPWithInstance indicates an expected call of AssociateFIPWithInstance.

func (*MockComputeMockRecorder) CreateServer added in v1.27.0

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

CreateServer indicates an expected call of CreateServer.

func (*MockComputeMockRecorder) CreateServerGroup

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

CreateServerGroup indicates an expected call of CreateServerGroup.

func (*MockComputeMockRecorder) DeleteServer added in v1.27.0

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

DeleteServer indicates an expected call of DeleteServer.

func (*MockComputeMockRecorder) DeleteServerGroup

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

DeleteServerGroup indicates an expected call of DeleteServerGroup.

func (*MockComputeMockRecorder) FindFlavorID added in v1.27.0

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

FindFlavorID indicates an expected call of FindFlavorID.

func (*MockComputeMockRecorder) FindFloatingIDByInstanceID added in v1.27.0

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

FindFloatingIDByInstanceID indicates an expected call of FindFloatingIDByInstanceID.

func (*MockComputeMockRecorder) FindImages added in v1.27.0

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

FindImages indicates an expected call of FindImages.

func (*MockComputeMockRecorder) FindServersByName added in v1.27.0

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

FindServersByName indicates an expected call of FindServersByName.

func (*MockComputeMockRecorder) GetServerGroup

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

GetServerGroup indicates an expected call of GetServerGroup.

func (*MockComputeMockRecorder) ListImages added in v1.27.0

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

ListImages indicates an expected call of ListImages.

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) CreateFloatingIP added in v1.27.0

func (m *MockNetworking) CreateFloatingIP(arg0 floatingips0.CreateOpts) (*floatingips0.FloatingIP, error)

CreateFloatingIP mocks base method.

func (*MockNetworking) CreateRule added in v1.27.0

func (m *MockNetworking) CreateRule(arg0 rules.CreateOpts) (*rules.SecGroupRule, error)

CreateRule mocks base method.

func (*MockNetworking) CreateSecurityGroup added in v1.27.0

func (m *MockNetworking) CreateSecurityGroup(arg0 groups.CreateOpts) (*groups.SecGroup, error)

CreateSecurityGroup mocks base method.

func (*MockNetworking) DeleteFloatingIP added in v1.27.0

func (m *MockNetworking) DeleteFloatingIP(arg0 string) error

DeleteFloatingIP mocks base method.

func (*MockNetworking) DeleteRule added in v1.27.0

func (m *MockNetworking) DeleteRule(arg0 string) error

DeleteRule mocks base method.

func (*MockNetworking) DeleteSecurityGroup added in v1.27.0

func (m *MockNetworking) DeleteSecurityGroup(arg0 string) error

DeleteSecurityGroup mocks base method.

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.

func (*MockNetworking) GetFipByName added in v1.27.0

func (m *MockNetworking) GetFipByName(arg0 string) ([]floatingips0.FloatingIP, error)

GetFipByName mocks base method.

func (*MockNetworking) GetNetworkByName added in v1.27.0

func (m *MockNetworking) GetNetworkByName(arg0 string) ([]networks.Network, error)

GetNetworkByName mocks base method.

func (*MockNetworking) GetSecurityGroupByName added in v1.27.0

func (m *MockNetworking) GetSecurityGroupByName(arg0 string) ([]groups.SecGroup, error)

GetSecurityGroupByName mocks base method.

func (*MockNetworking) ListFip added in v1.27.0

ListFip mocks base method.

func (*MockNetworking) ListNetwork added in v1.27.0

func (m *MockNetworking) ListNetwork(arg0 networks.ListOpts) ([]networks.Network, error)

ListNetwork mocks base method.

func (*MockNetworking) ListRules added in v1.27.0

func (m *MockNetworking) ListRules(arg0 rules.ListOpts) ([]rules.SecGroupRule, error)

ListRules mocks base method.

func (*MockNetworking) ListSecurityGroup added in v1.27.0

func (m *MockNetworking) ListSecurityGroup(arg0 groups.ListOpts) ([]groups.SecGroup, error)

ListSecurityGroup 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) CreateFloatingIP added in v1.27.0

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

CreateFloatingIP indicates an expected call of CreateFloatingIP.

func (*MockNetworkingMockRecorder) CreateRule added in v1.27.0

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

CreateRule indicates an expected call of CreateRule.

func (*MockNetworkingMockRecorder) CreateSecurityGroup added in v1.27.0

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

CreateSecurityGroup indicates an expected call of CreateSecurityGroup.

func (*MockNetworkingMockRecorder) DeleteFloatingIP added in v1.27.0

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

DeleteFloatingIP indicates an expected call of DeleteFloatingIP.

func (*MockNetworkingMockRecorder) DeleteRule added in v1.27.0

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

DeleteRule indicates an expected call of DeleteRule.

func (*MockNetworkingMockRecorder) DeleteSecurityGroup added in v1.27.0

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

DeleteSecurityGroup indicates an expected call of DeleteSecurityGroup.

func (*MockNetworkingMockRecorder) GetExternalNetworkNames added in v1.21.0

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

GetExternalNetworkNames indicates an expected call of GetExternalNetworkNames.

func (*MockNetworkingMockRecorder) GetFipByName added in v1.27.0

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

GetFipByName indicates an expected call of GetFipByName.

func (*MockNetworkingMockRecorder) GetNetworkByName added in v1.27.0

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

GetNetworkByName indicates an expected call of GetNetworkByName.

func (*MockNetworkingMockRecorder) GetSecurityGroupByName added in v1.27.0

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

GetSecurityGroupByName indicates an expected call of GetSecurityGroupByName.

func (*MockNetworkingMockRecorder) ListFip added in v1.27.0

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

ListFip indicates an expected call of ListFip.

func (*MockNetworkingMockRecorder) ListNetwork added in v1.27.0

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

ListNetwork indicates an expected call of ListNetwork.

func (*MockNetworkingMockRecorder) ListRules added in v1.27.0

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

ListRules indicates an expected call of ListRules.

func (*MockNetworkingMockRecorder) ListSecurityGroup added in v1.27.0

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

ListSecurityGroup indicates an expected call of ListSecurityGroup.

Jump to

Keyboard shortcuts

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