mock_upstream

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_upstream is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockUpstream

type MockUpstream struct {
	// contains filtered or unexported fields
}

MockUpstream is a mock of Upstream interface.

func NewMockUpstream

func NewMockUpstream(ctrl *gomock.Controller) *MockUpstream

NewMockUpstream creates a new mock instance.

func (*MockUpstream) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockUpstream) GetStatic

func (m *MockUpstream) GetStatic(arg0 context.Context, arg1 apps.App, arg2 string) (io.ReadCloser, int, error)

GetStatic mocks base method.

func (*MockUpstream) Roundtrip

func (m *MockUpstream) Roundtrip(arg0 context.Context, arg1 apps.App, arg2 apps.CallRequest, arg3 bool) (io.ReadCloser, error)

Roundtrip mocks base method.

type MockUpstreamMockRecorder

type MockUpstreamMockRecorder struct {
	// contains filtered or unexported fields
}

MockUpstreamMockRecorder is the mock recorder for MockUpstream.

func (*MockUpstreamMockRecorder) GetStatic

func (mr *MockUpstreamMockRecorder) GetStatic(arg0, arg1, arg2 interface{}) *gomock.Call

GetStatic indicates an expected call of GetStatic.

func (*MockUpstreamMockRecorder) Roundtrip

func (mr *MockUpstreamMockRecorder) Roundtrip(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Roundtrip indicates an expected call of Roundtrip.

Jump to

Keyboard shortcuts

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