Documentation ¶
Overview ¶
Package mock_compute is a generated GoMock package.
Index ¶
- type MockComputeClient
- func (m *MockComputeClient) AttachVnic(ctx context.Context, request core.AttachVnicRequest) (core.AttachVnicResponse, error)
- func (m *MockComputeClient) EXPECT() *MockComputeClientMockRecorder
- func (m *MockComputeClient) GetInstance(ctx context.Context, request core.GetInstanceRequest) (core.GetInstanceResponse, error)
- func (m *MockComputeClient) LaunchInstance(ctx context.Context, request core.LaunchInstanceRequest) (core.LaunchInstanceResponse, error)
- func (m *MockComputeClient) ListInstances(ctx context.Context, request core.ListInstancesRequest) (core.ListInstancesResponse, error)
- func (m *MockComputeClient) ListVnicAttachments(ctx context.Context, request core.ListVnicAttachmentsRequest) (core.ListVnicAttachmentsResponse, error)
- func (m *MockComputeClient) TerminateInstance(ctx context.Context, request core.TerminateInstanceRequest) (core.TerminateInstanceResponse, error)
- type MockComputeClientMockRecorder
- func (mr *MockComputeClientMockRecorder) AttachVnic(ctx, request interface{}) *gomock.Call
- func (mr *MockComputeClientMockRecorder) GetInstance(ctx, request interface{}) *gomock.Call
- func (mr *MockComputeClientMockRecorder) LaunchInstance(ctx, request interface{}) *gomock.Call
- func (mr *MockComputeClientMockRecorder) ListInstances(ctx, request interface{}) *gomock.Call
- func (mr *MockComputeClientMockRecorder) ListVnicAttachments(ctx, request interface{}) *gomock.Call
- func (mr *MockComputeClientMockRecorder) TerminateInstance(ctx, request interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockComputeClient ¶
type MockComputeClient struct {
// contains filtered or unexported fields
}
MockComputeClient is a mock_computemanagement of ComputeClient interface.
func NewMockComputeClient ¶
func NewMockComputeClient(ctrl *gomock.Controller) *MockComputeClient
NewMockComputeClient creates a new mock_computemanagement instance.
func (*MockComputeClient) AttachVnic ¶ added in v0.7.0
func (m *MockComputeClient) AttachVnic(ctx context.Context, request core.AttachVnicRequest) (core.AttachVnicResponse, error)
AttachVnic mocks base method.
func (*MockComputeClient) EXPECT ¶
func (m *MockComputeClient) EXPECT() *MockComputeClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockComputeClient) GetInstance ¶
func (m *MockComputeClient) GetInstance(ctx context.Context, request core.GetInstanceRequest) (core.GetInstanceResponse, error)
GetInstance mocks base method.
func (*MockComputeClient) LaunchInstance ¶
func (m *MockComputeClient) LaunchInstance(ctx context.Context, request core.LaunchInstanceRequest) (core.LaunchInstanceResponse, error)
LaunchInstance mocks base method.
func (*MockComputeClient) ListInstances ¶
func (m *MockComputeClient) ListInstances(ctx context.Context, request core.ListInstancesRequest) (core.ListInstancesResponse, error)
ListInstances mocks base method.
func (*MockComputeClient) ListVnicAttachments ¶
func (m *MockComputeClient) ListVnicAttachments(ctx context.Context, request core.ListVnicAttachmentsRequest) (core.ListVnicAttachmentsResponse, error)
ListVnicAttachments mocks base method.
func (*MockComputeClient) TerminateInstance ¶
func (m *MockComputeClient) TerminateInstance(ctx context.Context, request core.TerminateInstanceRequest) (core.TerminateInstanceResponse, error)
TerminateInstance mocks base method.
type MockComputeClientMockRecorder ¶
type MockComputeClientMockRecorder struct {
// contains filtered or unexported fields
}
MockComputeClientMockRecorder is the mock_computemanagement recorder for MockComputeClient.
func (*MockComputeClientMockRecorder) AttachVnic ¶ added in v0.7.0
func (mr *MockComputeClientMockRecorder) AttachVnic(ctx, request interface{}) *gomock.Call
AttachVnic indicates an expected call of AttachVnic.
func (*MockComputeClientMockRecorder) GetInstance ¶
func (mr *MockComputeClientMockRecorder) GetInstance(ctx, request interface{}) *gomock.Call
GetInstance indicates an expected call of GetInstance.
func (*MockComputeClientMockRecorder) LaunchInstance ¶
func (mr *MockComputeClientMockRecorder) LaunchInstance(ctx, request interface{}) *gomock.Call
LaunchInstance indicates an expected call of LaunchInstance.
func (*MockComputeClientMockRecorder) ListInstances ¶
func (mr *MockComputeClientMockRecorder) ListInstances(ctx, request interface{}) *gomock.Call
ListInstances indicates an expected call of ListInstances.
func (*MockComputeClientMockRecorder) ListVnicAttachments ¶
func (mr *MockComputeClientMockRecorder) ListVnicAttachments(ctx, request interface{}) *gomock.Call
ListVnicAttachments indicates an expected call of ListVnicAttachments.
func (*MockComputeClientMockRecorder) TerminateInstance ¶
func (mr *MockComputeClientMockRecorder) TerminateInstance(ctx, request interface{}) *gomock.Call
TerminateInstance indicates an expected call of TerminateInstance.