Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockServicer
- func (m *MockServicer) All(ctx context.Context) ([]servicer.Node, error)
- func (m *MockServicer) Done(ctx context.Context, node servicer.Node, err error) error
- func (m *MockServicer) EXPECT() *MockServicerMockRecorder
- func (m *MockServicer) GetCaCrt() []byte
- func (m *MockServicer) GetClientKey() []byte
- func (m *MockServicer) GetClientPem() []byte
- func (m *MockServicer) Name() string
- func (m *MockServicer) Pick(ctx context.Context) (servicer.Node, error)
- func (m *MockServicer) RegistryName() string
- type MockServicerMockRecorder
- func (mr *MockServicerMockRecorder) All(ctx interface{}) *gomock.Call
- func (mr *MockServicerMockRecorder) Done(ctx, node, err interface{}) *gomock.Call
- func (mr *MockServicerMockRecorder) GetCaCrt() *gomock.Call
- func (mr *MockServicerMockRecorder) GetClientKey() *gomock.Call
- func (mr *MockServicerMockRecorder) GetClientPem() *gomock.Call
- func (mr *MockServicerMockRecorder) Name() *gomock.Call
- func (mr *MockServicerMockRecorder) Pick(ctx interface{}) *gomock.Call
- func (mr *MockServicerMockRecorder) RegistryName() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockServicer ¶
type MockServicer struct {
// contains filtered or unexported fields
}
MockServicer is a mock of Servicer interface.
func NewMockServicer ¶
func NewMockServicer(ctrl *gomock.Controller) *MockServicer
NewMockServicer creates a new mock instance.
func (*MockServicer) EXPECT ¶
func (m *MockServicer) EXPECT() *MockServicerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServicer) GetCaCrt ¶
func (m *MockServicer) GetCaCrt() []byte
GetCaCrt mocks base method.
func (*MockServicer) GetClientKey ¶
func (m *MockServicer) GetClientKey() []byte
GetClientKey mocks base method.
func (*MockServicer) GetClientPem ¶
func (m *MockServicer) GetClientPem() []byte
GetClientPem mocks base method.
func (*MockServicer) RegistryName ¶
func (m *MockServicer) RegistryName() string
RegistryName mocks base method.
type MockServicerMockRecorder ¶
type MockServicerMockRecorder struct {
// contains filtered or unexported fields
}
MockServicerMockRecorder is the mock recorder for MockServicer.
func (*MockServicerMockRecorder) All ¶ added in v1.0.3
func (mr *MockServicerMockRecorder) All(ctx interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockServicerMockRecorder) Done ¶
func (mr *MockServicerMockRecorder) Done(ctx, node, err interface{}) *gomock.Call
Done indicates an expected call of Done.
func (*MockServicerMockRecorder) GetCaCrt ¶
func (mr *MockServicerMockRecorder) GetCaCrt() *gomock.Call
GetCaCrt indicates an expected call of GetCaCrt.
func (*MockServicerMockRecorder) GetClientKey ¶
func (mr *MockServicerMockRecorder) GetClientKey() *gomock.Call
GetClientKey indicates an expected call of GetClientKey.
func (*MockServicerMockRecorder) GetClientPem ¶
func (mr *MockServicerMockRecorder) GetClientPem() *gomock.Call
GetClientPem indicates an expected call of GetClientPem.
func (*MockServicerMockRecorder) Name ¶
func (mr *MockServicerMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockServicerMockRecorder) Pick ¶
func (mr *MockServicerMockRecorder) Pick(ctx interface{}) *gomock.Call
Pick indicates an expected call of Pick.
func (*MockServicerMockRecorder) RegistryName ¶
func (mr *MockServicerMockRecorder) RegistryName() *gomock.Call
RegistryName indicates an expected call of RegistryName.