juju: github.com/juju/juju/api/base/mocks Index | Files

package mocks

import "github.com/juju/juju/api/base/mocks"

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Package Files

caller_mock.go clientfacade_mock.go

type MockAPICallCloser Uses

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

MockAPICallCloser is a mock of APICallCloser interface

func NewMockAPICallCloser Uses

func NewMockAPICallCloser(ctrl *gomock.Controller) *MockAPICallCloser

NewMockAPICallCloser creates a new mock instance

func (*MockAPICallCloser) APICall Uses

func (m *MockAPICallCloser) APICall(arg0 string, arg1 int, arg2, arg3 string, arg4, arg5 interface{}) error

APICall mocks base method

func (*MockAPICallCloser) BakeryClient Uses

func (m *MockAPICallCloser) BakeryClient() *httpbakery.Client

BakeryClient mocks base method

func (*MockAPICallCloser) BestFacadeVersion Uses

func (m *MockAPICallCloser) BestFacadeVersion(arg0 string) int

BestFacadeVersion mocks base method

func (*MockAPICallCloser) Close Uses

func (m *MockAPICallCloser) Close() error

Close mocks base method

func (*MockAPICallCloser) ConnectControllerStream Uses

func (m *MockAPICallCloser) ConnectControllerStream(arg0 string, arg1 url.Values, arg2 http.Header) (base.Stream, error)

ConnectControllerStream mocks base method

func (*MockAPICallCloser) ConnectStream Uses

func (m *MockAPICallCloser) ConnectStream(arg0 string, arg1 url.Values) (base.Stream, error)

ConnectStream mocks base method

func (*MockAPICallCloser) EXPECT Uses

func (m *MockAPICallCloser) EXPECT() *MockAPICallCloserMockRecorder

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

func (*MockAPICallCloser) HTTPClient Uses

func (m *MockAPICallCloser) HTTPClient() (*httprequest.Client, error)

HTTPClient mocks base method

func (*MockAPICallCloser) ModelTag Uses

func (m *MockAPICallCloser) ModelTag() (names_v3.ModelTag, bool)

ModelTag mocks base method

type MockAPICallCloserMockRecorder Uses

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

MockAPICallCloserMockRecorder is the mock recorder for MockAPICallCloser

func (*MockAPICallCloserMockRecorder) APICall Uses

func (mr *MockAPICallCloserMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

APICall indicates an expected call of APICall

func (*MockAPICallCloserMockRecorder) BakeryClient Uses

func (mr *MockAPICallCloserMockRecorder) BakeryClient() *gomock.Call

BakeryClient indicates an expected call of BakeryClient

func (*MockAPICallCloserMockRecorder) BestFacadeVersion Uses

func (mr *MockAPICallCloserMockRecorder) BestFacadeVersion(arg0 interface{}) *gomock.Call

BestFacadeVersion indicates an expected call of BestFacadeVersion

func (*MockAPICallCloserMockRecorder) Close Uses

func (mr *MockAPICallCloserMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockAPICallCloserMockRecorder) ConnectControllerStream Uses

func (mr *MockAPICallCloserMockRecorder) ConnectControllerStream(arg0, arg1, arg2 interface{}) *gomock.Call

ConnectControllerStream indicates an expected call of ConnectControllerStream

func (*MockAPICallCloserMockRecorder) ConnectStream Uses

func (mr *MockAPICallCloserMockRecorder) ConnectStream(arg0, arg1 interface{}) *gomock.Call

ConnectStream indicates an expected call of ConnectStream

func (*MockAPICallCloserMockRecorder) HTTPClient Uses

func (mr *MockAPICallCloserMockRecorder) HTTPClient() *gomock.Call

HTTPClient indicates an expected call of HTTPClient

func (*MockAPICallCloserMockRecorder) ModelTag Uses

func (mr *MockAPICallCloserMockRecorder) ModelTag() *gomock.Call

ModelTag indicates an expected call of ModelTag

type MockAPICaller Uses

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

MockAPICaller is a mock of APICaller interface

func NewMockAPICaller Uses

func NewMockAPICaller(ctrl *gomock.Controller) *MockAPICaller

NewMockAPICaller creates a new mock instance

func (*MockAPICaller) APICall Uses

func (m *MockAPICaller) APICall(arg0 string, arg1 int, arg2, arg3 string, arg4, arg5 interface{}) error

APICall mocks base method

func (*MockAPICaller) BakeryClient Uses

func (m *MockAPICaller) BakeryClient() *httpbakery.Client

BakeryClient mocks base method

func (*MockAPICaller) BestFacadeVersion Uses

func (m *MockAPICaller) BestFacadeVersion(arg0 string) int

BestFacadeVersion mocks base method

func (*MockAPICaller) ConnectControllerStream Uses

func (m *MockAPICaller) ConnectControllerStream(arg0 string, arg1 url.Values, arg2 http.Header) (base.Stream, error)

ConnectControllerStream mocks base method

func (*MockAPICaller) ConnectStream Uses

func (m *MockAPICaller) ConnectStream(arg0 string, arg1 url.Values) (base.Stream, error)

ConnectStream mocks base method

func (*MockAPICaller) EXPECT Uses

func (m *MockAPICaller) EXPECT() *MockAPICallerMockRecorder

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

func (*MockAPICaller) HTTPClient Uses

func (m *MockAPICaller) HTTPClient() (*httprequest.Client, error)

HTTPClient mocks base method

func (*MockAPICaller) ModelTag Uses

func (m *MockAPICaller) ModelTag() (names_v3.ModelTag, bool)

ModelTag mocks base method

type MockAPICallerMockRecorder Uses

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

MockAPICallerMockRecorder is the mock recorder for MockAPICaller

func (*MockAPICallerMockRecorder) APICall Uses

func (mr *MockAPICallerMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

APICall indicates an expected call of APICall

func (*MockAPICallerMockRecorder) BakeryClient Uses

func (mr *MockAPICallerMockRecorder) BakeryClient() *gomock.Call

BakeryClient indicates an expected call of BakeryClient

func (*MockAPICallerMockRecorder) BestFacadeVersion Uses

func (mr *MockAPICallerMockRecorder) BestFacadeVersion(arg0 interface{}) *gomock.Call

BestFacadeVersion indicates an expected call of BestFacadeVersion

func (*MockAPICallerMockRecorder) ConnectControllerStream Uses

func (mr *MockAPICallerMockRecorder) ConnectControllerStream(arg0, arg1, arg2 interface{}) *gomock.Call

ConnectControllerStream indicates an expected call of ConnectControllerStream

func (*MockAPICallerMockRecorder) ConnectStream Uses

func (mr *MockAPICallerMockRecorder) ConnectStream(arg0, arg1 interface{}) *gomock.Call

ConnectStream indicates an expected call of ConnectStream

func (*MockAPICallerMockRecorder) HTTPClient Uses

func (mr *MockAPICallerMockRecorder) HTTPClient() *gomock.Call

HTTPClient indicates an expected call of HTTPClient

func (*MockAPICallerMockRecorder) ModelTag Uses

func (mr *MockAPICallerMockRecorder) ModelTag() *gomock.Call

ModelTag indicates an expected call of ModelTag

type MockClientFacade Uses

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

MockClientFacade is a mock of ClientFacade interface

func NewMockClientFacade Uses

func NewMockClientFacade(ctrl *gomock.Controller) *MockClientFacade

NewMockClientFacade creates a new mock instance

func (*MockClientFacade) BestAPIVersion Uses

func (m *MockClientFacade) BestAPIVersion() int

BestAPIVersion mocks base method

func (*MockClientFacade) Close Uses

func (m *MockClientFacade) Close() error

Close mocks base method

func (*MockClientFacade) EXPECT Uses

func (m *MockClientFacade) EXPECT() *MockClientFacadeMockRecorder

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

type MockClientFacadeMockRecorder Uses

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

MockClientFacadeMockRecorder is the mock recorder for MockClientFacade

func (*MockClientFacadeMockRecorder) BestAPIVersion Uses

func (mr *MockClientFacadeMockRecorder) BestAPIVersion() *gomock.Call

BestAPIVersion indicates an expected call of BestAPIVersion

func (*MockClientFacadeMockRecorder) Close Uses

func (mr *MockClientFacadeMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

type MockFacadeCaller Uses

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

MockFacadeCaller is a mock of FacadeCaller interface

func NewMockFacadeCaller Uses

func NewMockFacadeCaller(ctrl *gomock.Controller) *MockFacadeCaller

NewMockFacadeCaller creates a new mock instance

func (*MockFacadeCaller) BestAPIVersion Uses

func (m *MockFacadeCaller) BestAPIVersion() int

BestAPIVersion mocks base method

func (*MockFacadeCaller) EXPECT Uses

func (m *MockFacadeCaller) EXPECT() *MockFacadeCallerMockRecorder

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

func (*MockFacadeCaller) FacadeCall Uses

func (m *MockFacadeCaller) FacadeCall(arg0 string, arg1, arg2 interface{}) error

FacadeCall mocks base method

func (*MockFacadeCaller) Name Uses

func (m *MockFacadeCaller) Name() string

Name mocks base method

func (*MockFacadeCaller) RawAPICaller Uses

func (m *MockFacadeCaller) RawAPICaller() base.APICaller

RawAPICaller mocks base method

type MockFacadeCallerMockRecorder Uses

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

MockFacadeCallerMockRecorder is the mock recorder for MockFacadeCaller

func (*MockFacadeCallerMockRecorder) BestAPIVersion Uses

func (mr *MockFacadeCallerMockRecorder) BestAPIVersion() *gomock.Call

BestAPIVersion indicates an expected call of BestAPIVersion

func (*MockFacadeCallerMockRecorder) FacadeCall Uses

func (mr *MockFacadeCallerMockRecorder) FacadeCall(arg0, arg1, arg2 interface{}) *gomock.Call

FacadeCall indicates an expected call of FacadeCall

func (*MockFacadeCallerMockRecorder) Name Uses

func (mr *MockFacadeCallerMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

func (*MockFacadeCallerMockRecorder) RawAPICaller Uses

func (mr *MockFacadeCallerMockRecorder) RawAPICaller() *gomock.Call

RawAPICaller indicates an expected call of RawAPICaller

Package mocks imports 8 packages (graph). Updated 2019-08-23. Refresh now. Tools for package owners.