Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAuthenticator
- type MockAuthenticatorMockRecorder
- type MockCompatLogger
- type MockCompatLoggerMockRecorder
- type MockHttpClient
- func (m *MockHttpClient) BinaryRequest(arg0, arg1, arg2 string, arg3 *http.RequestData, arg4 logging.CompatLogger) error
- func (m *MockHttpClient) Do(arg0 *http0.Request) (*http0.Response, error)
- func (m *MockHttpClient) EXPECT() *MockHttpClientMockRecorder
- func (m *MockHttpClient) Get(arg0 string) (*http0.Response, error)
- func (m *MockHttpClient) Head(arg0 string) (*http0.Response, error)
- func (m *MockHttpClient) JsonRequest(arg0, arg1, arg2 string, arg3 *http.RequestData, arg4 logging.CompatLogger) error
- func (m *MockHttpClient) Post(arg0, arg1 string, arg2 io.Reader) (*http0.Response, error)
- func (m *MockHttpClient) PostForm(arg0 string, arg1 url.Values) (*http0.Response, error)
- type MockHttpClientMockRecorder
- func (mr *MockHttpClientMockRecorder) BinaryRequest(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockHttpClientMockRecorder) Do(arg0 interface{}) *gomock.Call
- func (mr *MockHttpClientMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockHttpClientMockRecorder) Head(arg0 interface{}) *gomock.Call
- func (mr *MockHttpClientMockRecorder) JsonRequest(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockHttpClientMockRecorder) Post(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockHttpClientMockRecorder) PostForm(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthenticator ¶
type MockAuthenticator struct {
// contains filtered or unexported fields
}
MockAuthenticator is a mock of Authenticator interface
func NewMockAuthenticator ¶
func NewMockAuthenticator(ctrl *gomock.Controller) *MockAuthenticator
NewMockAuthenticator creates a new mock instance
func (*MockAuthenticator) Auth ¶
func (m *MockAuthenticator) Auth(arg0 *identity.Credentials) (*identity.AuthDetails, error)
Auth mocks base method
func (*MockAuthenticator) EXPECT ¶
func (m *MockAuthenticator) EXPECT() *MockAuthenticatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockAuthenticatorMockRecorder ¶
type MockAuthenticatorMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthenticatorMockRecorder is the mock recorder for MockAuthenticator
func (*MockAuthenticatorMockRecorder) Auth ¶
func (mr *MockAuthenticatorMockRecorder) Auth(arg0 interface{}) *gomock.Call
Auth indicates an expected call of Auth
type MockCompatLogger ¶
type MockCompatLogger struct {
// contains filtered or unexported fields
}
MockCompatLogger is a mock of CompatLogger interface
func NewMockCompatLogger ¶
func NewMockCompatLogger(ctrl *gomock.Controller) *MockCompatLogger
NewMockCompatLogger creates a new mock instance
func (*MockCompatLogger) EXPECT ¶
func (m *MockCompatLogger) EXPECT() *MockCompatLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCompatLogger) Printf ¶
func (m *MockCompatLogger) Printf(arg0 string, arg1 ...interface{})
Printf mocks base method
type MockCompatLoggerMockRecorder ¶
type MockCompatLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockCompatLoggerMockRecorder is the mock recorder for MockCompatLogger
func (*MockCompatLoggerMockRecorder) Printf ¶
func (mr *MockCompatLoggerMockRecorder) Printf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Printf indicates an expected call of Printf
type MockHttpClient ¶
type MockHttpClient struct {
// contains filtered or unexported fields
}
MockHttpClient is a mock of HttpClient interface
func NewMockHttpClient ¶
func NewMockHttpClient(ctrl *gomock.Controller) *MockHttpClient
NewMockHttpClient creates a new mock instance
func (*MockHttpClient) BinaryRequest ¶
func (m *MockHttpClient) BinaryRequest(arg0, arg1, arg2 string, arg3 *http.RequestData, arg4 logging.CompatLogger) error
BinaryRequest mocks base method
func (*MockHttpClient) EXPECT ¶
func (m *MockHttpClient) EXPECT() *MockHttpClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHttpClient) Get ¶
func (m *MockHttpClient) Get(arg0 string) (*http0.Response, error)
Get mocks base method
func (*MockHttpClient) Head ¶
func (m *MockHttpClient) Head(arg0 string) (*http0.Response, error)
Head mocks base method
func (*MockHttpClient) JsonRequest ¶
func (m *MockHttpClient) JsonRequest(arg0, arg1, arg2 string, arg3 *http.RequestData, arg4 logging.CompatLogger) error
JsonRequest mocks base method
type MockHttpClientMockRecorder ¶
type MockHttpClientMockRecorder struct {
// contains filtered or unexported fields
}
MockHttpClientMockRecorder is the mock recorder for MockHttpClient
func (*MockHttpClientMockRecorder) BinaryRequest ¶
func (mr *MockHttpClientMockRecorder) BinaryRequest(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
BinaryRequest indicates an expected call of BinaryRequest
func (*MockHttpClientMockRecorder) Do ¶
func (mr *MockHttpClientMockRecorder) Do(arg0 interface{}) *gomock.Call
Do indicates an expected call of Do
func (*MockHttpClientMockRecorder) Get ¶
func (mr *MockHttpClientMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockHttpClientMockRecorder) Head ¶
func (mr *MockHttpClientMockRecorder) Head(arg0 interface{}) *gomock.Call
Head indicates an expected call of Head
func (*MockHttpClientMockRecorder) JsonRequest ¶
func (mr *MockHttpClientMockRecorder) JsonRequest(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
JsonRequest indicates an expected call of JsonRequest
func (*MockHttpClientMockRecorder) Post ¶
func (mr *MockHttpClientMockRecorder) Post(arg0, arg1, arg2 interface{}) *gomock.Call
Post indicates an expected call of Post
func (*MockHttpClientMockRecorder) PostForm ¶
func (mr *MockHttpClientMockRecorder) PostForm(arg0, arg1 interface{}) *gomock.Call
PostForm indicates an expected call of PostForm