-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.log
58 lines (51 loc) · 2.48 KB
/
error.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
foo.go
2023/09/26 16:19:41 Failed to format generated source code: mock_main/foo.go:41:201: missing ',' in type argument list (and 1 more errors)
// Code generated by MockGen. DO NOT EDIT.
// Source: mockgenrepro (interfaces: Interface)
//
// Generated by this command:
// mockgen -destination mock_main/foo.go -package mock_main . Interface
// Package mock_main is a generated GoMock package.
package mock_main
import (
context "context"
runtime "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime"
armcontainerservice "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerservice/armcontainerservice/v4"
gomock "go.uber.org/mock/gomock"
reflect "reflect"
)
// MockInterface is a mock of Interface interface.
type MockInterface struct {
ctrl *gomock.Controller
recorder *MockInterfaceMockRecorder
}
// MockInterfaceMockRecorder is the mock recorder for MockInterface.
type MockInterfaceMockRecorder struct {
mock *MockInterface
}
// NewMockInterface creates a new mock instance.
func NewMockInterface(ctrl *gomock.Controller) *MockInterface {
mock := &MockInterface{ctrl: ctrl}
mock.recorder = &MockInterfaceMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder {
return m.recorder
}
// BeginAbortLatestOperation mocks base method.
func (m *MockInterface) BeginAbortLatestOperation(arg0 context.Context, arg1, arg2, arg3 string, arg4 *armcontainerservice.AgentPoolsClientBeginAbortLatestOperationOptions) (*runtime.Poller[github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerservice/armcontainerservice/v4.AgentPoolsClientAbortLatestOperationResponse], error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "BeginAbortLatestOperation", arg0, arg1, arg2, arg3, arg4)
ret0, _ := ret[0].(*runtime.Poller[github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerservice/armcontainerservice/v4.AgentPoolsClientAbortLatestOperationResponse])
ret1, _ := ret[1].(error)
return ret0, ret1
}
// BeginAbortLatestOperation indicates an expected call of BeginAbortLatestOperation.
func (mr *MockInterfaceMockRecorder) BeginAbortLatestOperation(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BeginAbortLatestOperation", reflect.TypeOf((*MockInterface)(nil).BeginAbortLatestOperation), arg0, arg1, arg2, arg3, arg4)
}
foo.go:11: running "mockgen": exit status 1
mock_main/foo.go
mock_test/foo_test.go