jenkins-cli: github.com/jenkins-zh/jenkins-cli/mock/mhttp Index | Files

package mhttp

import "github.com/jenkins-zh/jenkins-cli/mock/mhttp"

Package mhttp is a generated GoMock package.

Index

Package Files

roundtripper.go

type MockRoundTripper Uses

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

MockRoundTripper is a mock of RoundTripper interface

func NewMockRoundTripper Uses

func NewMockRoundTripper(ctrl *gomock.Controller) *MockRoundTripper

NewMockRoundTripper creates a new mock instance

func (*MockRoundTripper) EXPECT Uses

func (m *MockRoundTripper) EXPECT() *MockRoundTripperMockRecorder

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

func (*MockRoundTripper) RoundTrip Uses

func (m *MockRoundTripper) RoundTrip(arg0 *http.Request) (*http.Response, error)

RoundTrip mocks base method

type MockRoundTripperMockRecorder Uses

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

MockRoundTripperMockRecorder is the mock recorder for MockRoundTripper

func (*MockRoundTripperMockRecorder) RoundTrip Uses

func (mr *MockRoundTripperMockRecorder) RoundTrip(arg0 interface{}) *gomock.Call

RoundTrip indicates an expected call of RoundTrip

Package mhttp imports 3 packages (graph) and is imported by 1 packages. Updated 2019-09-08. Refresh now. Tools for package owners.