Documentation ¶
Overview ¶
Package mock_openstack is a generated GoMock package.
Index ¶
- type MockOpenStackClientInterface
- func (m *MockOpenStackClientInterface) AttachFIP(id, portID string) error
- func (m *MockOpenStackClientInterface) CreateFIP(networkName string) (*floatingips.FloatingIP, error)
- func (m *MockOpenStackClientInterface) DeleteFIP(id string) error
- func (m *MockOpenStackClientInterface) DetachFIP(id string) error
- func (m *MockOpenStackClientInterface) EXPECT() *MockOpenStackClientInterfaceMockRecorder
- func (m *MockOpenStackClientInterface) FindFIP(networkName, fixedIP string) (floatingips.FloatingIP, error)
- func (m *MockOpenStackClientInterface) FindPortByServer(server servers.Server) (*ports.Port, error)
- func (m *MockOpenStackClientInterface) GetFIP(id string) (*floatingips.FloatingIP, error)
- func (m *MockOpenStackClientInterface) GetNetworkByName(name string) (networks.Network, error)
- func (m *MockOpenStackClientInterface) GetServer(id string) (*servers.Server, error)
- func (m *MockOpenStackClientInterface) GetTenant(id string) (tenants.Tenant, error)
- func (m *MockOpenStackClientInterface) GetTenantByName(name string) (projects.Project, error)
- type MockOpenStackClientInterfaceMockRecorder
- func (mr *MockOpenStackClientInterfaceMockRecorder) AttachFIP(id, portID interface{}) *gomock.Call
- func (mr *MockOpenStackClientInterfaceMockRecorder) CreateFIP(networkName interface{}) *gomock.Call
- func (mr *MockOpenStackClientInterfaceMockRecorder) DeleteFIP(id interface{}) *gomock.Call
- func (mr *MockOpenStackClientInterfaceMockRecorder) DetachFIP(id interface{}) *gomock.Call
- func (mr *MockOpenStackClientInterfaceMockRecorder) FindFIP(networkName, fixedIP interface{}) *gomock.Call
- func (mr *MockOpenStackClientInterfaceMockRecorder) FindPortByServer(server interface{}) *gomock.Call
- func (mr *MockOpenStackClientInterfaceMockRecorder) GetFIP(id interface{}) *gomock.Call
- func (mr *MockOpenStackClientInterfaceMockRecorder) GetNetworkByName(name interface{}) *gomock.Call
- func (mr *MockOpenStackClientInterfaceMockRecorder) GetServer(id interface{}) *gomock.Call
- func (mr *MockOpenStackClientInterfaceMockRecorder) GetTenant(id interface{}) *gomock.Call
- func (mr *MockOpenStackClientInterfaceMockRecorder) GetTenantByName(name interface{}) *gomock.Call
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 ¶
func (m *MockOpenStackClientInterface) EXPECT() *MockOpenStackClientInterfaceMockRecorder
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 ¶
FindPortByServer mocks base method
func (*MockOpenStackClientInterface) GetFIP ¶
func (m *MockOpenStackClientInterface) GetFIP(id string) (*floatingips.FloatingIP, error)
GetFIP mocks base method
func (*MockOpenStackClientInterface) GetNetworkByName ¶
func (m *MockOpenStackClientInterface) GetNetworkByName(name string) (networks.Network, error)
GetNetworkByName mocks base method
func (*MockOpenStackClientInterface) GetServer ¶
func (m *MockOpenStackClientInterface) GetServer(id string) (*servers.Server, error)
GetServer mocks base method
func (*MockOpenStackClientInterface) GetTenant ¶
func (m *MockOpenStackClientInterface) GetTenant(id string) (tenants.Tenant, error)
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