mock_system

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_system is a generated GoMock package.

Package mock_system is a generated GoMock package.

Package mock_system is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAddr

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

MockAddr is a mock of Addr interface

func NewMockAddr

func NewMockAddr(ctrl *gomock.Controller) *MockAddr

NewMockAddr creates a new mock instance

func (*MockAddr) Address

func (m *MockAddr) Address() string

Address mocks base method

func (*MockAddr) EXPECT

func (m *MockAddr) EXPECT() *MockAddrMockRecorder

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

func (*MockAddr) Exists

func (m *MockAddr) Exists() (bool, error)

Exists mocks base method

func (*MockAddr) Reachable

func (m *MockAddr) Reachable() (bool, error)

Reachable mocks base method

type MockAddrMockRecorder

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

MockAddrMockRecorder is the mock recorder for MockAddr

func (*MockAddrMockRecorder) Address

func (mr *MockAddrMockRecorder) Address() *gomock.Call

Address indicates an expected call of Address

func (*MockAddrMockRecorder) Exists

func (mr *MockAddrMockRecorder) Exists() *gomock.Call

Exists indicates an expected call of Exists

func (*MockAddrMockRecorder) Reachable

func (mr *MockAddrMockRecorder) Reachable() *gomock.Call

Reachable indicates an expected call of Reachable

type MockHTTP

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

MockHTTP is a mock of HTTP interface

func NewMockHTTP

func NewMockHTTP(ctrl *gomock.Controller) *MockHTTP

NewMockHTTP creates a new mock instance

func (*MockHTTP) Body

func (m *MockHTTP) Body() (io.Reader, error)

Body mocks base method

func (*MockHTTP) EXPECT

func (m *MockHTTP) EXPECT() *MockHTTPMockRecorder

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

func (*MockHTTP) Exists

func (m *MockHTTP) Exists() (bool, error)

Exists mocks base method

func (*MockHTTP) HTTP

func (m *MockHTTP) HTTP() string

HTTP mocks base method

func (*MockHTTP) Headers

func (m *MockHTTP) Headers() (system.Header, error)

Headers mocks base method

func (*MockHTTP) SetAllowInsecure

func (m *MockHTTP) SetAllowInsecure(arg0 bool)

SetAllowInsecure mocks base method

func (*MockHTTP) SetNoFollowRedirects

func (m *MockHTTP) SetNoFollowRedirects(arg0 bool)

SetNoFollowRedirects mocks base method

func (*MockHTTP) Status

func (m *MockHTTP) Status() (int, error)

Status mocks base method

type MockHTTPMockRecorder

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

MockHTTPMockRecorder is the mock recorder for MockHTTP

func (*MockHTTPMockRecorder) Body

func (mr *MockHTTPMockRecorder) Body() *gomock.Call

Body indicates an expected call of Body

func (*MockHTTPMockRecorder) Exists

func (mr *MockHTTPMockRecorder) Exists() *gomock.Call

Exists indicates an expected call of Exists

func (*MockHTTPMockRecorder) HTTP

func (mr *MockHTTPMockRecorder) HTTP() *gomock.Call

HTTP indicates an expected call of HTTP

func (*MockHTTPMockRecorder) Headers

func (mr *MockHTTPMockRecorder) Headers() *gomock.Call

Headers indicates an expected call of Headers

func (*MockHTTPMockRecorder) SetAllowInsecure

func (mr *MockHTTPMockRecorder) SetAllowInsecure(arg0 interface{}) *gomock.Call

SetAllowInsecure indicates an expected call of SetAllowInsecure

func (*MockHTTPMockRecorder) SetNoFollowRedirects

func (mr *MockHTTPMockRecorder) SetNoFollowRedirects(arg0 interface{}) *gomock.Call

SetNoFollowRedirects indicates an expected call of SetNoFollowRedirects

func (*MockHTTPMockRecorder) Status

func (mr *MockHTTPMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status

type MockResource

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

MockResource is a mock of Resource interface

func NewMockResource

func NewMockResource(ctrl *gomock.Controller) *MockResource

NewMockResource creates a new mock instance

func (*MockResource) EXPECT

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

func (*MockResource) Exists

func (m *MockResource) Exists() (bool, error)

Exists mocks base method

type MockResourceMockRecorder

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

MockResourceMockRecorder is the mock recorder for MockResource

func (*MockResourceMockRecorder) Exists

func (mr *MockResourceMockRecorder) Exists() *gomock.Call

Exists indicates an expected call of Exists

Jump to

Keyboard shortcuts

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