mocks

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

func (m *MockRestHelper) DoGetWithBody(targetURL string, bodybytes []byte) ([]byte, int, error)

DoGetWithBody mocks base method

func (*MockRestHelper) DoPost

func (m *MockRestHelper) DoPost(targetURL string, bodybytes []byte) ([]byte, int, error)

DoPost mocks base method

func (*MockRestHelper) EXPECT

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

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

func (m *MockrequestHelper) DoGetWithBody(targetURL string, bodybytes []byte) ([]byte, int, error)

DoGetWithBody mocks base method

func (*MockrequestHelper) DoPost

func (m *MockrequestHelper) DoPost(targetURL string, bodybytes []byte) ([]byte, int, error)

DoPost mocks base method

func (*MockrequestHelper) EXPECT

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL