Documentation
¶
Index ¶
- type ClientInterface
- func (_m *ClientInterface) FetchTreatment(ctx context.Context, projectId int64, params *treatment.FetchTreatmentParams, ...) (*http.Response, error)
- func (_m *ClientInterface) FetchTreatmentWithBody(ctx context.Context, projectId int64, params *treatment.FetchTreatmentParams, ...) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientInterface ¶
ClientInterface is an autogenerated mock type for the ClientInterface type
func NewClientInterface ¶
func NewClientInterface(t mockConstructorTestingTNewClientInterface) *ClientInterface
NewClientInterface creates a new instance of ClientInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ClientInterface) FetchTreatment ¶
func (_m *ClientInterface) FetchTreatment(ctx context.Context, projectId int64, params *treatment.FetchTreatmentParams, body treatment.FetchTreatmentJSONRequestBody, reqEditors ...treatment.RequestEditorFn) (*http.Response, error)
FetchTreatment provides a mock function with given fields: ctx, projectId, params, body, reqEditors
func (*ClientInterface) FetchTreatmentWithBody ¶
func (_m *ClientInterface) FetchTreatmentWithBody(ctx context.Context, projectId int64, params *treatment.FetchTreatmentParams, contentType string, body io.Reader, reqEditors ...treatment.RequestEditorFn) (*http.Response, error)
FetchTreatmentWithBody provides a mock function with given fields: ctx, projectId, params, contentType, body, reqEditors
Click to show internal directories.
Click to hide internal directories.