Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAPICallCloser
- func (m *MockAPICallCloser) APICall(arg0 string, arg1 int, arg2, arg3 string, arg4, arg5 interface{}) error
- func (m *MockAPICallCloser) BakeryClient() base.MacaroonDischarger
- func (m *MockAPICallCloser) BestFacadeVersion(arg0 string) int
- func (m *MockAPICallCloser) Close() error
- func (m *MockAPICallCloser) ConnectControllerStream(arg0 string, arg1 url.Values, arg2 http.Header) (base.Stream, error)
- func (m *MockAPICallCloser) ConnectStream(arg0 string, arg1 url.Values) (base.Stream, error)
- func (m *MockAPICallCloser) Context() context.Context
- func (m *MockAPICallCloser) EXPECT() *MockAPICallCloserMockRecorder
- func (m *MockAPICallCloser) HTTPClient() (*httprequest_v1.Client, error)
- func (m *MockAPICallCloser) ModelTag() (names_v3.ModelTag, bool)
- type MockAPICallCloserMockRecorder
- func (mr *MockAPICallCloserMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockAPICallCloserMockRecorder) BakeryClient() *gomock.Call
- func (mr *MockAPICallCloserMockRecorder) BestFacadeVersion(arg0 interface{}) *gomock.Call
- func (mr *MockAPICallCloserMockRecorder) Close() *gomock.Call
- func (mr *MockAPICallCloserMockRecorder) ConnectControllerStream(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPICallCloserMockRecorder) ConnectStream(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPICallCloserMockRecorder) Context() *gomock.Call
- func (mr *MockAPICallCloserMockRecorder) HTTPClient() *gomock.Call
- func (mr *MockAPICallCloserMockRecorder) ModelTag() *gomock.Call
- type MockAPICaller
- func (m *MockAPICaller) APICall(arg0 string, arg1 int, arg2, arg3 string, arg4, arg5 interface{}) error
- func (m *MockAPICaller) BakeryClient() base.MacaroonDischarger
- func (m *MockAPICaller) BestFacadeVersion(arg0 string) int
- func (m *MockAPICaller) ConnectControllerStream(arg0 string, arg1 url.Values, arg2 http.Header) (base.Stream, error)
- func (m *MockAPICaller) ConnectStream(arg0 string, arg1 url.Values) (base.Stream, error)
- func (m *MockAPICaller) Context() context.Context
- func (m *MockAPICaller) EXPECT() *MockAPICallerMockRecorder
- func (m *MockAPICaller) HTTPClient() (*httprequest_v1.Client, error)
- func (m *MockAPICaller) ModelTag() (names_v3.ModelTag, bool)
- type MockAPICallerMockRecorder
- func (mr *MockAPICallerMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockAPICallerMockRecorder) BakeryClient() *gomock.Call
- func (mr *MockAPICallerMockRecorder) BestFacadeVersion(arg0 interface{}) *gomock.Call
- func (mr *MockAPICallerMockRecorder) ConnectControllerStream(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPICallerMockRecorder) ConnectStream(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPICallerMockRecorder) Context() *gomock.Call
- func (mr *MockAPICallerMockRecorder) HTTPClient() *gomock.Call
- func (mr *MockAPICallerMockRecorder) ModelTag() *gomock.Call
- type MockClientFacade
- type MockClientFacadeMockRecorder
- type MockFacadeCaller
- type MockFacadeCallerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPICallCloser ¶
type MockAPICallCloser struct {
// contains filtered or unexported fields
}
MockAPICallCloser is a mock of APICallCloser interface
func NewMockAPICallCloser ¶
func NewMockAPICallCloser(ctrl *gomock.Controller) *MockAPICallCloser
NewMockAPICallCloser creates a new mock instance
func (*MockAPICallCloser) APICall ¶
func (m *MockAPICallCloser) APICall(arg0 string, arg1 int, arg2, arg3 string, arg4, arg5 interface{}) error
APICall mocks base method
func (*MockAPICallCloser) BakeryClient ¶
func (m *MockAPICallCloser) BakeryClient() base.MacaroonDischarger
BakeryClient mocks base method
func (*MockAPICallCloser) BestFacadeVersion ¶
func (m *MockAPICallCloser) BestFacadeVersion(arg0 string) int
BestFacadeVersion mocks base method
func (*MockAPICallCloser) ConnectControllerStream ¶
func (m *MockAPICallCloser) ConnectControllerStream(arg0 string, arg1 url.Values, arg2 http.Header) (base.Stream, error)
ConnectControllerStream mocks base method
func (*MockAPICallCloser) ConnectStream ¶
ConnectStream mocks base method
func (*MockAPICallCloser) Context ¶
func (m *MockAPICallCloser) Context() context.Context
Context mocks base method
func (*MockAPICallCloser) EXPECT ¶
func (m *MockAPICallCloser) EXPECT() *MockAPICallCloserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAPICallCloser) HTTPClient ¶
func (m *MockAPICallCloser) HTTPClient() (*httprequest_v1.Client, error)
HTTPClient mocks base method
type MockAPICallCloserMockRecorder ¶
type MockAPICallCloserMockRecorder struct {
// contains filtered or unexported fields
}
MockAPICallCloserMockRecorder is the mock recorder for MockAPICallCloser
func (*MockAPICallCloserMockRecorder) APICall ¶
func (mr *MockAPICallCloserMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
APICall indicates an expected call of APICall
func (*MockAPICallCloserMockRecorder) BakeryClient ¶
func (mr *MockAPICallCloserMockRecorder) BakeryClient() *gomock.Call
BakeryClient indicates an expected call of BakeryClient
func (*MockAPICallCloserMockRecorder) BestFacadeVersion ¶
func (mr *MockAPICallCloserMockRecorder) BestFacadeVersion(arg0 interface{}) *gomock.Call
BestFacadeVersion indicates an expected call of BestFacadeVersion
func (*MockAPICallCloserMockRecorder) Close ¶
func (mr *MockAPICallCloserMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockAPICallCloserMockRecorder) ConnectControllerStream ¶
func (mr *MockAPICallCloserMockRecorder) ConnectControllerStream(arg0, arg1, arg2 interface{}) *gomock.Call
ConnectControllerStream indicates an expected call of ConnectControllerStream
func (*MockAPICallCloserMockRecorder) ConnectStream ¶
func (mr *MockAPICallCloserMockRecorder) ConnectStream(arg0, arg1 interface{}) *gomock.Call
ConnectStream indicates an expected call of ConnectStream
func (*MockAPICallCloserMockRecorder) Context ¶
func (mr *MockAPICallCloserMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockAPICallCloserMockRecorder) HTTPClient ¶
func (mr *MockAPICallCloserMockRecorder) HTTPClient() *gomock.Call
HTTPClient indicates an expected call of HTTPClient
func (*MockAPICallCloserMockRecorder) ModelTag ¶
func (mr *MockAPICallCloserMockRecorder) ModelTag() *gomock.Call
ModelTag indicates an expected call of ModelTag
type MockAPICaller ¶
type MockAPICaller struct {
// contains filtered or unexported fields
}
MockAPICaller is a mock of APICaller interface
func NewMockAPICaller ¶
func NewMockAPICaller(ctrl *gomock.Controller) *MockAPICaller
NewMockAPICaller creates a new mock instance
func (*MockAPICaller) APICall ¶
func (m *MockAPICaller) APICall(arg0 string, arg1 int, arg2, arg3 string, arg4, arg5 interface{}) error
APICall mocks base method
func (*MockAPICaller) BakeryClient ¶
func (m *MockAPICaller) BakeryClient() base.MacaroonDischarger
BakeryClient mocks base method
func (*MockAPICaller) BestFacadeVersion ¶
func (m *MockAPICaller) BestFacadeVersion(arg0 string) int
BestFacadeVersion mocks base method
func (*MockAPICaller) ConnectControllerStream ¶
func (m *MockAPICaller) ConnectControllerStream(arg0 string, arg1 url.Values, arg2 http.Header) (base.Stream, error)
ConnectControllerStream mocks base method
func (*MockAPICaller) ConnectStream ¶
ConnectStream mocks base method
func (*MockAPICaller) Context ¶
func (m *MockAPICaller) Context() context.Context
Context mocks base method
func (*MockAPICaller) EXPECT ¶
func (m *MockAPICaller) EXPECT() *MockAPICallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAPICaller) HTTPClient ¶
func (m *MockAPICaller) HTTPClient() (*httprequest_v1.Client, error)
HTTPClient mocks base method
type MockAPICallerMockRecorder ¶
type MockAPICallerMockRecorder struct {
// contains filtered or unexported fields
}
MockAPICallerMockRecorder is the mock recorder for MockAPICaller
func (*MockAPICallerMockRecorder) APICall ¶
func (mr *MockAPICallerMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
APICall indicates an expected call of APICall
func (*MockAPICallerMockRecorder) BakeryClient ¶
func (mr *MockAPICallerMockRecorder) BakeryClient() *gomock.Call
BakeryClient indicates an expected call of BakeryClient
func (*MockAPICallerMockRecorder) BestFacadeVersion ¶
func (mr *MockAPICallerMockRecorder) BestFacadeVersion(arg0 interface{}) *gomock.Call
BestFacadeVersion indicates an expected call of BestFacadeVersion
func (*MockAPICallerMockRecorder) ConnectControllerStream ¶
func (mr *MockAPICallerMockRecorder) ConnectControllerStream(arg0, arg1, arg2 interface{}) *gomock.Call
ConnectControllerStream indicates an expected call of ConnectControllerStream
func (*MockAPICallerMockRecorder) ConnectStream ¶
func (mr *MockAPICallerMockRecorder) ConnectStream(arg0, arg1 interface{}) *gomock.Call
ConnectStream indicates an expected call of ConnectStream
func (*MockAPICallerMockRecorder) Context ¶
func (mr *MockAPICallerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockAPICallerMockRecorder) HTTPClient ¶
func (mr *MockAPICallerMockRecorder) HTTPClient() *gomock.Call
HTTPClient indicates an expected call of HTTPClient
func (*MockAPICallerMockRecorder) ModelTag ¶
func (mr *MockAPICallerMockRecorder) ModelTag() *gomock.Call
ModelTag indicates an expected call of ModelTag
type MockClientFacade ¶
type MockClientFacade struct {
// contains filtered or unexported fields
}
MockClientFacade is a mock of ClientFacade interface
func NewMockClientFacade ¶
func NewMockClientFacade(ctrl *gomock.Controller) *MockClientFacade
NewMockClientFacade creates a new mock instance
func (*MockClientFacade) BestAPIVersion ¶
func (m *MockClientFacade) BestAPIVersion() int
BestAPIVersion mocks base method
func (*MockClientFacade) EXPECT ¶
func (m *MockClientFacade) EXPECT() *MockClientFacadeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockClientFacadeMockRecorder ¶
type MockClientFacadeMockRecorder struct {
// contains filtered or unexported fields
}
MockClientFacadeMockRecorder is the mock recorder for MockClientFacade
func (*MockClientFacadeMockRecorder) BestAPIVersion ¶
func (mr *MockClientFacadeMockRecorder) BestAPIVersion() *gomock.Call
BestAPIVersion indicates an expected call of BestAPIVersion
func (*MockClientFacadeMockRecorder) Close ¶
func (mr *MockClientFacadeMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
type MockFacadeCaller ¶
type MockFacadeCaller struct {
// contains filtered or unexported fields
}
MockFacadeCaller is a mock of FacadeCaller interface
func NewMockFacadeCaller ¶
func NewMockFacadeCaller(ctrl *gomock.Controller) *MockFacadeCaller
NewMockFacadeCaller creates a new mock instance
func (*MockFacadeCaller) BestAPIVersion ¶
func (m *MockFacadeCaller) BestAPIVersion() int
BestAPIVersion mocks base method
func (*MockFacadeCaller) EXPECT ¶
func (m *MockFacadeCaller) EXPECT() *MockFacadeCallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFacadeCaller) FacadeCall ¶
func (m *MockFacadeCaller) FacadeCall(arg0 string, arg1, arg2 interface{}) error
FacadeCall mocks base method
func (*MockFacadeCaller) RawAPICaller ¶
func (m *MockFacadeCaller) RawAPICaller() base.APICaller
RawAPICaller mocks base method
type MockFacadeCallerMockRecorder ¶
type MockFacadeCallerMockRecorder struct {
// contains filtered or unexported fields
}
MockFacadeCallerMockRecorder is the mock recorder for MockFacadeCaller
func (*MockFacadeCallerMockRecorder) BestAPIVersion ¶
func (mr *MockFacadeCallerMockRecorder) BestAPIVersion() *gomock.Call
BestAPIVersion indicates an expected call of BestAPIVersion
func (*MockFacadeCallerMockRecorder) FacadeCall ¶
func (mr *MockFacadeCallerMockRecorder) FacadeCall(arg0, arg1, arg2 interface{}) *gomock.Call
FacadeCall indicates an expected call of FacadeCall
func (*MockFacadeCallerMockRecorder) Name ¶
func (mr *MockFacadeCallerMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockFacadeCallerMockRecorder) RawAPICaller ¶
func (mr *MockFacadeCallerMockRecorder) RawAPICaller() *gomock.Call
RawAPICaller indicates an expected call of RawAPICaller