Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockRestHelper
- func (m *MockRestHelper) DoDelete(targetURL string) ([]byte, int, error)
- func (m *MockRestHelper) DoGet(targetURL string) ([]byte, int, error)
- func (m *MockRestHelper) DoGetWithBody(targetURL string, bodybytes []byte) ([]byte, int, error)
- func (m *MockRestHelper) DoPost(targetURL string, bodybytes []byte) ([]byte, int, error)
- func (m *MockRestHelper) EXPECT() *MockRestHelperMockRecorder
- func (m *MockRestHelper) MakeTargetURL(target string, port int, restapi string) string
- func (m *MockRestHelper) Response(w http.ResponseWriter, bytes []byte, httpStatus int)
- type MockRestHelperMockRecorder
- func (mr *MockRestHelperMockRecorder) DoDelete(targetURL interface{}) *gomock.Call
- func (mr *MockRestHelperMockRecorder) DoGet(targetURL interface{}) *gomock.Call
- func (mr *MockRestHelperMockRecorder) DoGetWithBody(targetURL, bodybytes interface{}) *gomock.Call
- func (mr *MockRestHelperMockRecorder) DoPost(targetURL, bodybytes interface{}) *gomock.Call
- func (mr *MockRestHelperMockRecorder) MakeTargetURL(target, port, restapi interface{}) *gomock.Call
- func (mr *MockRestHelperMockRecorder) Response(w, bytes, httpStatus interface{}) *gomock.Call
- type MockRestHelperWithCertificateSetter
- func (m *MockRestHelperWithCertificateSetter) DoDelete(targetURL string) ([]byte, int, error)
- func (m *MockRestHelperWithCertificateSetter) DoGet(targetURL string) ([]byte, int, error)
- func (m *MockRestHelperWithCertificateSetter) DoGetWithBody(targetURL string, bodybytes []byte) ([]byte, int, error)
- func (m *MockRestHelperWithCertificateSetter) DoPost(targetURL string, bodybytes []byte) ([]byte, int, error)
- func (m *MockRestHelperWithCertificateSetter) EXPECT() *MockRestHelperWithCertificateSetterMockRecorder
- func (m *MockRestHelperWithCertificateSetter) MakeTargetURL(target string, port int, restapi string) string
- func (m *MockRestHelperWithCertificateSetter) Response(w http.ResponseWriter, bytes []byte, httpStatus int)
- func (m *MockRestHelperWithCertificateSetter) SetCertificateFilePath(path string)
- type MockRestHelperWithCertificateSetterMockRecorder
- func (mr *MockRestHelperWithCertificateSetterMockRecorder) DoDelete(targetURL interface{}) *gomock.Call
- func (mr *MockRestHelperWithCertificateSetterMockRecorder) DoGet(targetURL interface{}) *gomock.Call
- func (mr *MockRestHelperWithCertificateSetterMockRecorder) DoGetWithBody(targetURL, bodybytes interface{}) *gomock.Call
- func (mr *MockRestHelperWithCertificateSetterMockRecorder) DoPost(targetURL, bodybytes interface{}) *gomock.Call
- func (mr *MockRestHelperWithCertificateSetterMockRecorder) MakeTargetURL(target, port, restapi interface{}) *gomock.Call
- func (mr *MockRestHelperWithCertificateSetterMockRecorder) Response(w, bytes, httpStatus interface{}) *gomock.Call
- func (mr *MockRestHelperWithCertificateSetterMockRecorder) SetCertificateFilePath(path interface{}) *gomock.Call
- type MockrequestHelper
- func (m *MockrequestHelper) DoDelete(targetURL string) ([]byte, int, error)
- func (m *MockrequestHelper) DoGet(targetURL string) ([]byte, int, error)
- func (m *MockrequestHelper) DoGetWithBody(targetURL string, bodybytes []byte) ([]byte, int, error)
- func (m *MockrequestHelper) DoPost(targetURL string, bodybytes []byte) ([]byte, int, error)
- func (m *MockrequestHelper) EXPECT() *MockrequestHelperMockRecorder
- type MockrequestHelperMockRecorder
- func (mr *MockrequestHelperMockRecorder) DoDelete(targetURL interface{}) *gomock.Call
- func (mr *MockrequestHelperMockRecorder) DoGet(targetURL interface{}) *gomock.Call
- func (mr *MockrequestHelperMockRecorder) DoGetWithBody(targetURL, bodybytes interface{}) *gomock.Call
- func (mr *MockrequestHelperMockRecorder) DoPost(targetURL, bodybytes interface{}) *gomock.Call
- type MockresponseHelper
- type MockresponseHelperMockRecorder
- type MockurlHelper
- type MockurlHelperMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRestHelper ¶
type MockRestHelper struct {
// contains filtered or unexported fields
}
MockRestHelper is a mock of RestHelper interface
func NewMockRestHelper ¶
func NewMockRestHelper(ctrl *gomock.Controller) *MockRestHelper
NewMockRestHelper creates a new mock instance
func (*MockRestHelper) DoDelete ¶
func (m *MockRestHelper) DoDelete(targetURL string) ([]byte, int, error)
DoDelete mocks base method
func (*MockRestHelper) DoGet ¶
func (m *MockRestHelper) DoGet(targetURL string) ([]byte, int, error)
DoGet mocks base method
func (*MockRestHelper) DoGetWithBody ¶
DoGetWithBody mocks base method
func (*MockRestHelper) EXPECT ¶
func (m *MockRestHelper) EXPECT() *MockRestHelperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRestHelper) MakeTargetURL ¶
func (m *MockRestHelper) MakeTargetURL(target string, port int, restapi string) string
MakeTargetURL mocks base method
func (*MockRestHelper) Response ¶
func (m *MockRestHelper) Response(w http.ResponseWriter, bytes []byte, httpStatus int)
Response mocks base method
type MockRestHelperMockRecorder ¶
type MockRestHelperMockRecorder struct {
// contains filtered or unexported fields
}
MockRestHelperMockRecorder is the mock recorder for MockRestHelper
func (*MockRestHelperMockRecorder) DoDelete ¶
func (mr *MockRestHelperMockRecorder) DoDelete(targetURL interface{}) *gomock.Call
DoDelete indicates an expected call of DoDelete
func (*MockRestHelperMockRecorder) DoGet ¶
func (mr *MockRestHelperMockRecorder) DoGet(targetURL interface{}) *gomock.Call
DoGet indicates an expected call of DoGet
func (*MockRestHelperMockRecorder) DoGetWithBody ¶
func (mr *MockRestHelperMockRecorder) DoGetWithBody(targetURL, bodybytes interface{}) *gomock.Call
DoGetWithBody indicates an expected call of DoGetWithBody
func (*MockRestHelperMockRecorder) DoPost ¶
func (mr *MockRestHelperMockRecorder) DoPost(targetURL, bodybytes interface{}) *gomock.Call
DoPost indicates an expected call of DoPost
func (*MockRestHelperMockRecorder) MakeTargetURL ¶
func (mr *MockRestHelperMockRecorder) MakeTargetURL(target, port, restapi interface{}) *gomock.Call
MakeTargetURL indicates an expected call of MakeTargetURL
func (*MockRestHelperMockRecorder) Response ¶
func (mr *MockRestHelperMockRecorder) Response(w, bytes, httpStatus interface{}) *gomock.Call
Response indicates an expected call of Response
type MockRestHelperWithCertificateSetter ¶
type MockRestHelperWithCertificateSetter struct {
// contains filtered or unexported fields
}
MockRestHelperWithCertificateSetter is a mock of RestHelperWithCertificateSetter interface
func NewMockRestHelperWithCertificateSetter ¶
func NewMockRestHelperWithCertificateSetter(ctrl *gomock.Controller) *MockRestHelperWithCertificateSetter
NewMockRestHelperWithCertificateSetter creates a new mock instance
func (*MockRestHelperWithCertificateSetter) DoDelete ¶
func (m *MockRestHelperWithCertificateSetter) DoDelete(targetURL string) ([]byte, int, error)
DoDelete mocks base method
func (*MockRestHelperWithCertificateSetter) DoGet ¶
func (m *MockRestHelperWithCertificateSetter) DoGet(targetURL string) ([]byte, int, error)
DoGet mocks base method
func (*MockRestHelperWithCertificateSetter) DoGetWithBody ¶
func (m *MockRestHelperWithCertificateSetter) DoGetWithBody(targetURL string, bodybytes []byte) ([]byte, int, error)
DoGetWithBody mocks base method
func (*MockRestHelperWithCertificateSetter) DoPost ¶
func (m *MockRestHelperWithCertificateSetter) DoPost(targetURL string, bodybytes []byte) ([]byte, int, error)
DoPost mocks base method
func (*MockRestHelperWithCertificateSetter) EXPECT ¶
func (m *MockRestHelperWithCertificateSetter) EXPECT() *MockRestHelperWithCertificateSetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRestHelperWithCertificateSetter) MakeTargetURL ¶
func (m *MockRestHelperWithCertificateSetter) MakeTargetURL(target string, port int, restapi string) string
MakeTargetURL mocks base method
func (*MockRestHelperWithCertificateSetter) Response ¶
func (m *MockRestHelperWithCertificateSetter) Response(w http.ResponseWriter, bytes []byte, httpStatus int)
Response mocks base method
func (*MockRestHelperWithCertificateSetter) SetCertificateFilePath ¶
func (m *MockRestHelperWithCertificateSetter) SetCertificateFilePath(path string)
SetCertificateFilePath mocks base method
type MockRestHelperWithCertificateSetterMockRecorder ¶
type MockRestHelperWithCertificateSetterMockRecorder struct {
// contains filtered or unexported fields
}
MockRestHelperWithCertificateSetterMockRecorder is the mock recorder for MockRestHelperWithCertificateSetter
func (*MockRestHelperWithCertificateSetterMockRecorder) DoDelete ¶
func (mr *MockRestHelperWithCertificateSetterMockRecorder) DoDelete(targetURL interface{}) *gomock.Call
DoDelete indicates an expected call of DoDelete
func (*MockRestHelperWithCertificateSetterMockRecorder) DoGet ¶
func (mr *MockRestHelperWithCertificateSetterMockRecorder) DoGet(targetURL interface{}) *gomock.Call
DoGet indicates an expected call of DoGet
func (*MockRestHelperWithCertificateSetterMockRecorder) DoGetWithBody ¶
func (mr *MockRestHelperWithCertificateSetterMockRecorder) DoGetWithBody(targetURL, bodybytes interface{}) *gomock.Call
DoGetWithBody indicates an expected call of DoGetWithBody
func (*MockRestHelperWithCertificateSetterMockRecorder) DoPost ¶
func (mr *MockRestHelperWithCertificateSetterMockRecorder) DoPost(targetURL, bodybytes interface{}) *gomock.Call
DoPost indicates an expected call of DoPost
func (*MockRestHelperWithCertificateSetterMockRecorder) MakeTargetURL ¶
func (mr *MockRestHelperWithCertificateSetterMockRecorder) MakeTargetURL(target, port, restapi interface{}) *gomock.Call
MakeTargetURL indicates an expected call of MakeTargetURL
func (*MockRestHelperWithCertificateSetterMockRecorder) Response ¶
func (mr *MockRestHelperWithCertificateSetterMockRecorder) Response(w, bytes, httpStatus interface{}) *gomock.Call
Response indicates an expected call of Response
func (*MockRestHelperWithCertificateSetterMockRecorder) SetCertificateFilePath ¶
func (mr *MockRestHelperWithCertificateSetterMockRecorder) SetCertificateFilePath(path interface{}) *gomock.Call
SetCertificateFilePath indicates an expected call of SetCertificateFilePath
type MockrequestHelper ¶
type MockrequestHelper struct {
// contains filtered or unexported fields
}
MockrequestHelper is a mock of requestHelper interface
func NewMockrequestHelper ¶
func NewMockrequestHelper(ctrl *gomock.Controller) *MockrequestHelper
NewMockrequestHelper creates a new mock instance
func (*MockrequestHelper) DoDelete ¶
func (m *MockrequestHelper) DoDelete(targetURL string) ([]byte, int, error)
DoDelete mocks base method
func (*MockrequestHelper) DoGet ¶
func (m *MockrequestHelper) DoGet(targetURL string) ([]byte, int, error)
DoGet mocks base method
func (*MockrequestHelper) DoGetWithBody ¶
DoGetWithBody mocks base method
func (*MockrequestHelper) EXPECT ¶
func (m *MockrequestHelper) EXPECT() *MockrequestHelperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockrequestHelperMockRecorder ¶
type MockrequestHelperMockRecorder struct {
// contains filtered or unexported fields
}
MockrequestHelperMockRecorder is the mock recorder for MockrequestHelper
func (*MockrequestHelperMockRecorder) DoDelete ¶
func (mr *MockrequestHelperMockRecorder) DoDelete(targetURL interface{}) *gomock.Call
DoDelete indicates an expected call of DoDelete
func (*MockrequestHelperMockRecorder) DoGet ¶
func (mr *MockrequestHelperMockRecorder) DoGet(targetURL interface{}) *gomock.Call
DoGet indicates an expected call of DoGet
func (*MockrequestHelperMockRecorder) DoGetWithBody ¶
func (mr *MockrequestHelperMockRecorder) DoGetWithBody(targetURL, bodybytes interface{}) *gomock.Call
DoGetWithBody indicates an expected call of DoGetWithBody
func (*MockrequestHelperMockRecorder) DoPost ¶
func (mr *MockrequestHelperMockRecorder) DoPost(targetURL, bodybytes interface{}) *gomock.Call
DoPost indicates an expected call of DoPost
type MockresponseHelper ¶
type MockresponseHelper struct {
// contains filtered or unexported fields
}
MockresponseHelper is a mock of responseHelper interface
func NewMockresponseHelper ¶
func NewMockresponseHelper(ctrl *gomock.Controller) *MockresponseHelper
NewMockresponseHelper creates a new mock instance
func (*MockresponseHelper) EXPECT ¶
func (m *MockresponseHelper) EXPECT() *MockresponseHelperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockresponseHelper) Response ¶
func (m *MockresponseHelper) Response(w http.ResponseWriter, bytes []byte, httpStatus int)
Response mocks base method
type MockresponseHelperMockRecorder ¶
type MockresponseHelperMockRecorder struct {
// contains filtered or unexported fields
}
MockresponseHelperMockRecorder is the mock recorder for MockresponseHelper
func (*MockresponseHelperMockRecorder) Response ¶
func (mr *MockresponseHelperMockRecorder) Response(w, bytes, httpStatus interface{}) *gomock.Call
Response indicates an expected call of Response
type MockurlHelper ¶
type MockurlHelper struct {
// contains filtered or unexported fields
}
MockurlHelper is a mock of urlHelper interface
func NewMockurlHelper ¶
func NewMockurlHelper(ctrl *gomock.Controller) *MockurlHelper
NewMockurlHelper creates a new mock instance
func (*MockurlHelper) EXPECT ¶
func (m *MockurlHelper) EXPECT() *MockurlHelperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockurlHelper) MakeTargetURL ¶
func (m *MockurlHelper) MakeTargetURL(target string, port int, restapi string) string
MakeTargetURL mocks base method
type MockurlHelperMockRecorder ¶
type MockurlHelperMockRecorder struct {
// contains filtered or unexported fields
}
MockurlHelperMockRecorder is the mock recorder for MockurlHelper
func (*MockurlHelperMockRecorder) MakeTargetURL ¶
func (mr *MockurlHelperMockRecorder) MakeTargetURL(target, port, restapi interface{}) *gomock.Call
MakeTargetURL indicates an expected call of MakeTargetURL