forked from joeholley/supergloo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclient_builder_mock.go
51 lines (42 loc) · 1.68 KB
/
client_builder_mock.go
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
// Code generated by MockGen. DO NOT EDIT.
// Source: client_builder.go
// Package appmesh is a generated GoMock package.
package appmesh
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
core "github.com/solo-io/solo-kit/pkg/api/v1/resources/core"
appmesh "github.com/solo-io/supergloo/pkg/config/appmesh"
)
// MockClientBuilder is a mock of ClientBuilder interface
type MockClientBuilder struct {
ctrl *gomock.Controller
recorder *MockClientBuilderMockRecorder
}
// MockClientBuilderMockRecorder is the mock recorder for MockClientBuilder
type MockClientBuilderMockRecorder struct {
mock *MockClientBuilder
}
// NewMockClientBuilder creates a new mock instance
func NewMockClientBuilder(ctrl *gomock.Controller) *MockClientBuilder {
mock := &MockClientBuilder{ctrl: ctrl}
mock.recorder = &MockClientBuilderMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockClientBuilder) EXPECT() *MockClientBuilderMockRecorder {
return m.recorder
}
// GetClientInstance mocks base method
func (m *MockClientBuilder) GetClientInstance(secretRef *core.ResourceRef, region string) (appmesh.Client, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetClientInstance", secretRef, region)
ret0, _ := ret[0].(appmesh.Client)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetClientInstance indicates an expected call of GetClientInstance
func (mr *MockClientBuilderMockRecorder) GetClientInstance(secretRef, region interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClientInstance", reflect.TypeOf((*MockClientBuilder)(nil).GetClientInstance), secretRef, region)
}