mock_openstack

package
v0.0.5-0...-6e23503 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock_openstack is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockOpenStackClientInterface

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

MockOpenStackClientInterface is a mock of OpenStackClientInterface interface

func NewMockOpenStackClientInterface

func NewMockOpenStackClientInterface(ctrl *gomock.Controller) *MockOpenStackClientInterface

NewMockOpenStackClientInterface creates a new mock instance

func (*MockOpenStackClientInterface) AttachFIP

func (m *MockOpenStackClientInterface) AttachFIP(id, portID string) error

AttachFIP mocks base method

func (*MockOpenStackClientInterface) CreateFIP

func (m *MockOpenStackClientInterface) CreateFIP(networkName string) (*floatingips.FloatingIP, error)

CreateFIP mocks base method

func (*MockOpenStackClientInterface) DeleteFIP

func (m *MockOpenStackClientInterface) DeleteFIP(id string) error

DeleteFIP mocks base method

func (*MockOpenStackClientInterface) DetachFIP

func (m *MockOpenStackClientInterface) DetachFIP(id string) error

DetachFIP mocks base method

func (*MockOpenStackClientInterface) EXPECT

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

func (*MockOpenStackClientInterface) FindFIP

func (m *MockOpenStackClientInterface) FindFIP(networkName, fixedIP string) (floatingips.FloatingIP, error)

FindFIP mocks base method

func (*MockOpenStackClientInterface) FindPortByServer

func (m *MockOpenStackClientInterface) FindPortByServer(server servers.Server) (*ports.Port, error)

FindPortByServer mocks base method

func (*MockOpenStackClientInterface) GetFIP

GetFIP mocks base method

func (*MockOpenStackClientInterface) GetNetworkByName

func (m *MockOpenStackClientInterface) GetNetworkByName(name string) (networks.Network, error)

GetNetworkByName mocks base method

func (*MockOpenStackClientInterface) GetServer

GetServer mocks base method

func (*MockOpenStackClientInterface) GetTenant

GetTenant mocks base method

func (*MockOpenStackClientInterface) GetTenantByName

func (m *MockOpenStackClientInterface) GetTenantByName(name string) (projects.Project, error)

GetTenantByName mocks base method

type MockOpenStackClientInterfaceMockRecorder

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

MockOpenStackClientInterfaceMockRecorder is the mock recorder for MockOpenStackClientInterface

func (*MockOpenStackClientInterfaceMockRecorder) AttachFIP

func (mr *MockOpenStackClientInterfaceMockRecorder) AttachFIP(id, portID interface{}) *gomock.Call

AttachFIP indicates an expected call of AttachFIP

func (*MockOpenStackClientInterfaceMockRecorder) CreateFIP

func (mr *MockOpenStackClientInterfaceMockRecorder) CreateFIP(networkName interface{}) *gomock.Call

CreateFIP indicates an expected call of CreateFIP

func (*MockOpenStackClientInterfaceMockRecorder) DeleteFIP

func (mr *MockOpenStackClientInterfaceMockRecorder) DeleteFIP(id interface{}) *gomock.Call

DeleteFIP indicates an expected call of DeleteFIP

func (*MockOpenStackClientInterfaceMockRecorder) DetachFIP

func (mr *MockOpenStackClientInterfaceMockRecorder) DetachFIP(id interface{}) *gomock.Call

DetachFIP indicates an expected call of DetachFIP

func (*MockOpenStackClientInterfaceMockRecorder) FindFIP

func (mr *MockOpenStackClientInterfaceMockRecorder) FindFIP(networkName, fixedIP interface{}) *gomock.Call

FindFIP indicates an expected call of FindFIP

func (*MockOpenStackClientInterfaceMockRecorder) FindPortByServer

func (mr *MockOpenStackClientInterfaceMockRecorder) FindPortByServer(server interface{}) *gomock.Call

FindPortByServer indicates an expected call of FindPortByServer

func (*MockOpenStackClientInterfaceMockRecorder) GetFIP

func (mr *MockOpenStackClientInterfaceMockRecorder) GetFIP(id interface{}) *gomock.Call

GetFIP indicates an expected call of GetFIP

func (*MockOpenStackClientInterfaceMockRecorder) GetNetworkByName

func (mr *MockOpenStackClientInterfaceMockRecorder) GetNetworkByName(name interface{}) *gomock.Call

GetNetworkByName indicates an expected call of GetNetworkByName

func (*MockOpenStackClientInterfaceMockRecorder) GetServer

func (mr *MockOpenStackClientInterfaceMockRecorder) GetServer(id interface{}) *gomock.Call

GetServer indicates an expected call of GetServer

func (*MockOpenStackClientInterfaceMockRecorder) GetTenant

func (mr *MockOpenStackClientInterfaceMockRecorder) GetTenant(id interface{}) *gomock.Call

GetTenant indicates an expected call of GetTenant

func (*MockOpenStackClientInterfaceMockRecorder) GetTenantByName

func (mr *MockOpenStackClientInterfaceMockRecorder) GetTenantByName(name interface{}) *gomock.Call

GetTenantByName indicates an expected call of GetTenantByName

Jump to

Keyboard shortcuts

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