Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAPICallCloser
- func (m *MockAPICallCloser) APICall(arg0 context.Context, arg1 string, arg2 int, arg3, arg4 string, arg5, arg6 any) error
- func (m *MockAPICallCloser) BakeryClient() base.MacaroonDischarger
- func (m *MockAPICallCloser) BestFacadeVersion(arg0 string) int
- func (m *MockAPICallCloser) Close() error
- func (m *MockAPICallCloser) ConnectControllerStream(arg0 context.Context, arg1 string, arg2 url.Values, arg3 http.Header) (base.Stream, error)
- func (m *MockAPICallCloser) ConnectStream(arg0 context.Context, arg1 string, arg2 url.Values) (base.Stream, error)
- func (m *MockAPICallCloser) EXPECT() *MockAPICallCloserMockRecorder
- func (m *MockAPICallCloser) HTTPClient() (*httprequest.Client, error)
- func (m *MockAPICallCloser) ModelTag() (names.ModelTag, bool)
- func (m *MockAPICallCloser) RootHTTPClient() (*httprequest.Client, error)
- type MockAPICallCloserAPICallCall
- func (c *MockAPICallCloserAPICallCall) Do(f func(context.Context, string, int, string, string, any, any) error) *MockAPICallCloserAPICallCall
- func (c *MockAPICallCloserAPICallCall) DoAndReturn(f func(context.Context, string, int, string, string, any, any) error) *MockAPICallCloserAPICallCall
- func (c *MockAPICallCloserAPICallCall) Return(arg0 error) *MockAPICallCloserAPICallCall
- type MockAPICallCloserBakeryClientCall
- func (c *MockAPICallCloserBakeryClientCall) Do(f func() base.MacaroonDischarger) *MockAPICallCloserBakeryClientCall
- func (c *MockAPICallCloserBakeryClientCall) DoAndReturn(f func() base.MacaroonDischarger) *MockAPICallCloserBakeryClientCall
- func (c *MockAPICallCloserBakeryClientCall) Return(arg0 base.MacaroonDischarger) *MockAPICallCloserBakeryClientCall
- type MockAPICallCloserBestFacadeVersionCall
- func (c *MockAPICallCloserBestFacadeVersionCall) Do(f func(string) int) *MockAPICallCloserBestFacadeVersionCall
- func (c *MockAPICallCloserBestFacadeVersionCall) DoAndReturn(f func(string) int) *MockAPICallCloserBestFacadeVersionCall
- func (c *MockAPICallCloserBestFacadeVersionCall) Return(arg0 int) *MockAPICallCloserBestFacadeVersionCall
- type MockAPICallCloserCloseCall
- type MockAPICallCloserConnectControllerStreamCall
- func (c *MockAPICallCloserConnectControllerStreamCall) Do(f func(context.Context, string, url.Values, http.Header) (base.Stream, error)) *MockAPICallCloserConnectControllerStreamCall
- func (c *MockAPICallCloserConnectControllerStreamCall) DoAndReturn(f func(context.Context, string, url.Values, http.Header) (base.Stream, error)) *MockAPICallCloserConnectControllerStreamCall
- func (c *MockAPICallCloserConnectControllerStreamCall) Return(arg0 base.Stream, arg1 error) *MockAPICallCloserConnectControllerStreamCall
- type MockAPICallCloserConnectStreamCall
- func (c *MockAPICallCloserConnectStreamCall) Do(f func(context.Context, string, url.Values) (base.Stream, error)) *MockAPICallCloserConnectStreamCall
- func (c *MockAPICallCloserConnectStreamCall) DoAndReturn(f func(context.Context, string, url.Values) (base.Stream, error)) *MockAPICallCloserConnectStreamCall
- func (c *MockAPICallCloserConnectStreamCall) Return(arg0 base.Stream, arg1 error) *MockAPICallCloserConnectStreamCall
- type MockAPICallCloserHTTPClientCall
- func (c *MockAPICallCloserHTTPClientCall) Do(f func() (*httprequest.Client, error)) *MockAPICallCloserHTTPClientCall
- func (c *MockAPICallCloserHTTPClientCall) DoAndReturn(f func() (*httprequest.Client, error)) *MockAPICallCloserHTTPClientCall
- func (c *MockAPICallCloserHTTPClientCall) Return(arg0 *httprequest.Client, arg1 error) *MockAPICallCloserHTTPClientCall
- type MockAPICallCloserMockRecorder
- func (mr *MockAPICallCloserMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *MockAPICallCloserAPICallCall
- func (mr *MockAPICallCloserMockRecorder) BakeryClient() *MockAPICallCloserBakeryClientCall
- func (mr *MockAPICallCloserMockRecorder) BestFacadeVersion(arg0 any) *MockAPICallCloserBestFacadeVersionCall
- func (mr *MockAPICallCloserMockRecorder) Close() *MockAPICallCloserCloseCall
- func (mr *MockAPICallCloserMockRecorder) ConnectControllerStream(arg0, arg1, arg2, arg3 any) *MockAPICallCloserConnectControllerStreamCall
- func (mr *MockAPICallCloserMockRecorder) ConnectStream(arg0, arg1, arg2 any) *MockAPICallCloserConnectStreamCall
- func (mr *MockAPICallCloserMockRecorder) HTTPClient() *MockAPICallCloserHTTPClientCall
- func (mr *MockAPICallCloserMockRecorder) ModelTag() *MockAPICallCloserModelTagCall
- func (mr *MockAPICallCloserMockRecorder) RootHTTPClient() *MockAPICallCloserRootHTTPClientCall
- type MockAPICallCloserModelTagCall
- func (c *MockAPICallCloserModelTagCall) Do(f func() (names.ModelTag, bool)) *MockAPICallCloserModelTagCall
- func (c *MockAPICallCloserModelTagCall) DoAndReturn(f func() (names.ModelTag, bool)) *MockAPICallCloserModelTagCall
- func (c *MockAPICallCloserModelTagCall) Return(arg0 names.ModelTag, arg1 bool) *MockAPICallCloserModelTagCall
- type MockAPICallCloserRootHTTPClientCall
- func (c *MockAPICallCloserRootHTTPClientCall) Do(f func() (*httprequest.Client, error)) *MockAPICallCloserRootHTTPClientCall
- func (c *MockAPICallCloserRootHTTPClientCall) DoAndReturn(f func() (*httprequest.Client, error)) *MockAPICallCloserRootHTTPClientCall
- func (c *MockAPICallCloserRootHTTPClientCall) Return(arg0 *httprequest.Client, arg1 error) *MockAPICallCloserRootHTTPClientCall
- type MockAPICaller
- func (m *MockAPICaller) APICall(arg0 context.Context, arg1 string, arg2 int, arg3, arg4 string, arg5, arg6 any) error
- func (m *MockAPICaller) BakeryClient() base.MacaroonDischarger
- func (m *MockAPICaller) BestFacadeVersion(arg0 string) int
- func (m *MockAPICaller) ConnectControllerStream(arg0 context.Context, arg1 string, arg2 url.Values, arg3 http.Header) (base.Stream, error)
- func (m *MockAPICaller) ConnectStream(arg0 context.Context, arg1 string, arg2 url.Values) (base.Stream, error)
- func (m *MockAPICaller) EXPECT() *MockAPICallerMockRecorder
- func (m *MockAPICaller) HTTPClient() (*httprequest.Client, error)
- func (m *MockAPICaller) ModelTag() (names.ModelTag, bool)
- func (m *MockAPICaller) RootHTTPClient() (*httprequest.Client, error)
- type MockAPICallerAPICallCall
- func (c *MockAPICallerAPICallCall) Do(f func(context.Context, string, int, string, string, any, any) error) *MockAPICallerAPICallCall
- func (c *MockAPICallerAPICallCall) DoAndReturn(f func(context.Context, string, int, string, string, any, any) error) *MockAPICallerAPICallCall
- func (c *MockAPICallerAPICallCall) Return(arg0 error) *MockAPICallerAPICallCall
- type MockAPICallerBakeryClientCall
- func (c *MockAPICallerBakeryClientCall) Do(f func() base.MacaroonDischarger) *MockAPICallerBakeryClientCall
- func (c *MockAPICallerBakeryClientCall) DoAndReturn(f func() base.MacaroonDischarger) *MockAPICallerBakeryClientCall
- func (c *MockAPICallerBakeryClientCall) Return(arg0 base.MacaroonDischarger) *MockAPICallerBakeryClientCall
- type MockAPICallerBestFacadeVersionCall
- func (c *MockAPICallerBestFacadeVersionCall) Do(f func(string) int) *MockAPICallerBestFacadeVersionCall
- func (c *MockAPICallerBestFacadeVersionCall) DoAndReturn(f func(string) int) *MockAPICallerBestFacadeVersionCall
- func (c *MockAPICallerBestFacadeVersionCall) Return(arg0 int) *MockAPICallerBestFacadeVersionCall
- type MockAPICallerConnectControllerStreamCall
- func (c *MockAPICallerConnectControllerStreamCall) Do(f func(context.Context, string, url.Values, http.Header) (base.Stream, error)) *MockAPICallerConnectControllerStreamCall
- func (c *MockAPICallerConnectControllerStreamCall) DoAndReturn(f func(context.Context, string, url.Values, http.Header) (base.Stream, error)) *MockAPICallerConnectControllerStreamCall
- func (c *MockAPICallerConnectControllerStreamCall) Return(arg0 base.Stream, arg1 error) *MockAPICallerConnectControllerStreamCall
- type MockAPICallerConnectStreamCall
- func (c *MockAPICallerConnectStreamCall) Do(f func(context.Context, string, url.Values) (base.Stream, error)) *MockAPICallerConnectStreamCall
- func (c *MockAPICallerConnectStreamCall) DoAndReturn(f func(context.Context, string, url.Values) (base.Stream, error)) *MockAPICallerConnectStreamCall
- func (c *MockAPICallerConnectStreamCall) Return(arg0 base.Stream, arg1 error) *MockAPICallerConnectStreamCall
- type MockAPICallerHTTPClientCall
- func (c *MockAPICallerHTTPClientCall) Do(f func() (*httprequest.Client, error)) *MockAPICallerHTTPClientCall
- func (c *MockAPICallerHTTPClientCall) DoAndReturn(f func() (*httprequest.Client, error)) *MockAPICallerHTTPClientCall
- func (c *MockAPICallerHTTPClientCall) Return(arg0 *httprequest.Client, arg1 error) *MockAPICallerHTTPClientCall
- type MockAPICallerMockRecorder
- func (mr *MockAPICallerMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *MockAPICallerAPICallCall
- func (mr *MockAPICallerMockRecorder) BakeryClient() *MockAPICallerBakeryClientCall
- func (mr *MockAPICallerMockRecorder) BestFacadeVersion(arg0 any) *MockAPICallerBestFacadeVersionCall
- func (mr *MockAPICallerMockRecorder) ConnectControllerStream(arg0, arg1, arg2, arg3 any) *MockAPICallerConnectControllerStreamCall
- func (mr *MockAPICallerMockRecorder) ConnectStream(arg0, arg1, arg2 any) *MockAPICallerConnectStreamCall
- func (mr *MockAPICallerMockRecorder) HTTPClient() *MockAPICallerHTTPClientCall
- func (mr *MockAPICallerMockRecorder) ModelTag() *MockAPICallerModelTagCall
- func (mr *MockAPICallerMockRecorder) RootHTTPClient() *MockAPICallerRootHTTPClientCall
- type MockAPICallerModelTagCall
- func (c *MockAPICallerModelTagCall) Do(f func() (names.ModelTag, bool)) *MockAPICallerModelTagCall
- func (c *MockAPICallerModelTagCall) DoAndReturn(f func() (names.ModelTag, bool)) *MockAPICallerModelTagCall
- func (c *MockAPICallerModelTagCall) Return(arg0 names.ModelTag, arg1 bool) *MockAPICallerModelTagCall
- type MockAPICallerRootHTTPClientCall
- func (c *MockAPICallerRootHTTPClientCall) Do(f func() (*httprequest.Client, error)) *MockAPICallerRootHTTPClientCall
- func (c *MockAPICallerRootHTTPClientCall) DoAndReturn(f func() (*httprequest.Client, error)) *MockAPICallerRootHTTPClientCall
- func (c *MockAPICallerRootHTTPClientCall) Return(arg0 *httprequest.Client, arg1 error) *MockAPICallerRootHTTPClientCall
- type MockClientFacade
- type MockClientFacadeBestAPIVersionCall
- func (c *MockClientFacadeBestAPIVersionCall) Do(f func() int) *MockClientFacadeBestAPIVersionCall
- func (c *MockClientFacadeBestAPIVersionCall) DoAndReturn(f func() int) *MockClientFacadeBestAPIVersionCall
- func (c *MockClientFacadeBestAPIVersionCall) Return(arg0 int) *MockClientFacadeBestAPIVersionCall
- type MockClientFacadeCloseCall
- type MockClientFacadeMockRecorder
- type MockFacadeCaller
- func (m *MockFacadeCaller) BestAPIVersion() int
- func (m *MockFacadeCaller) EXPECT() *MockFacadeCallerMockRecorder
- func (m *MockFacadeCaller) FacadeCall(arg0 context.Context, arg1 string, arg2, arg3 any) error
- func (m *MockFacadeCaller) Name() string
- func (m *MockFacadeCaller) RawAPICaller() base.APICaller
- type MockFacadeCallerBestAPIVersionCall
- func (c *MockFacadeCallerBestAPIVersionCall) Do(f func() int) *MockFacadeCallerBestAPIVersionCall
- func (c *MockFacadeCallerBestAPIVersionCall) DoAndReturn(f func() int) *MockFacadeCallerBestAPIVersionCall
- func (c *MockFacadeCallerBestAPIVersionCall) Return(arg0 int) *MockFacadeCallerBestAPIVersionCall
- type MockFacadeCallerFacadeCallCall
- func (c *MockFacadeCallerFacadeCallCall) Do(f func(context.Context, string, any, any) error) *MockFacadeCallerFacadeCallCall
- func (c *MockFacadeCallerFacadeCallCall) DoAndReturn(f func(context.Context, string, any, any) error) *MockFacadeCallerFacadeCallCall
- func (c *MockFacadeCallerFacadeCallCall) Return(arg0 error) *MockFacadeCallerFacadeCallCall
- type MockFacadeCallerMockRecorder
- func (mr *MockFacadeCallerMockRecorder) BestAPIVersion() *MockFacadeCallerBestAPIVersionCall
- func (mr *MockFacadeCallerMockRecorder) FacadeCall(arg0, arg1, arg2, arg3 any) *MockFacadeCallerFacadeCallCall
- func (mr *MockFacadeCallerMockRecorder) Name() *MockFacadeCallerNameCall
- func (mr *MockFacadeCallerMockRecorder) RawAPICaller() *MockFacadeCallerRawAPICallerCall
- type MockFacadeCallerNameCall
- type MockFacadeCallerRawAPICallerCall
- func (c *MockFacadeCallerRawAPICallerCall) Do(f func() base.APICaller) *MockFacadeCallerRawAPICallerCall
- func (c *MockFacadeCallerRawAPICallerCall) DoAndReturn(f func() base.APICaller) *MockFacadeCallerRawAPICallerCall
- func (c *MockFacadeCallerRawAPICallerCall) Return(arg0 base.APICaller) *MockFacadeCallerRawAPICallerCall
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 context.Context, arg1 string, arg2 int, arg3, arg4 string, arg5, arg6 any) 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) Close ¶
func (m *MockAPICallCloser) Close() error
Close mocks base method.
func (*MockAPICallCloser) ConnectControllerStream ¶
func (m *MockAPICallCloser) ConnectControllerStream(arg0 context.Context, arg1 string, arg2 url.Values, arg3 http.Header) (base.Stream, error)
ConnectControllerStream mocks base method.
func (*MockAPICallCloser) ConnectStream ¶
func (m *MockAPICallCloser) ConnectStream(arg0 context.Context, arg1 string, arg2 url.Values) (base.Stream, error)
ConnectStream 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.Client, error)
HTTPClient mocks base method.
func (*MockAPICallCloser) ModelTag ¶
func (m *MockAPICallCloser) ModelTag() (names.ModelTag, bool)
ModelTag mocks base method.
func (*MockAPICallCloser) RootHTTPClient ¶
func (m *MockAPICallCloser) RootHTTPClient() (*httprequest.Client, error)
RootHTTPClient mocks base method.
type MockAPICallCloserAPICallCall ¶
MockAPICallCloserAPICallCall wrap *gomock.Call
func (*MockAPICallCloserAPICallCall) Do ¶
func (c *MockAPICallCloserAPICallCall) Do(f func(context.Context, string, int, string, string, any, any) error) *MockAPICallCloserAPICallCall
Do rewrite *gomock.Call.Do
func (*MockAPICallCloserAPICallCall) DoAndReturn ¶
func (c *MockAPICallCloserAPICallCall) DoAndReturn(f func(context.Context, string, int, string, string, any, any) error) *MockAPICallCloserAPICallCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallCloserAPICallCall) Return ¶
func (c *MockAPICallCloserAPICallCall) Return(arg0 error) *MockAPICallCloserAPICallCall
Return rewrite *gomock.Call.Return
type MockAPICallCloserBakeryClientCall ¶
MockAPICallCloserBakeryClientCall wrap *gomock.Call
func (*MockAPICallCloserBakeryClientCall) Do ¶
func (c *MockAPICallCloserBakeryClientCall) Do(f func() base.MacaroonDischarger) *MockAPICallCloserBakeryClientCall
Do rewrite *gomock.Call.Do
func (*MockAPICallCloserBakeryClientCall) DoAndReturn ¶
func (c *MockAPICallCloserBakeryClientCall) DoAndReturn(f func() base.MacaroonDischarger) *MockAPICallCloserBakeryClientCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallCloserBakeryClientCall) Return ¶
func (c *MockAPICallCloserBakeryClientCall) Return(arg0 base.MacaroonDischarger) *MockAPICallCloserBakeryClientCall
Return rewrite *gomock.Call.Return
type MockAPICallCloserBestFacadeVersionCall ¶
MockAPICallCloserBestFacadeVersionCall wrap *gomock.Call
func (*MockAPICallCloserBestFacadeVersionCall) Do ¶
func (c *MockAPICallCloserBestFacadeVersionCall) Do(f func(string) int) *MockAPICallCloserBestFacadeVersionCall
Do rewrite *gomock.Call.Do
func (*MockAPICallCloserBestFacadeVersionCall) DoAndReturn ¶
func (c *MockAPICallCloserBestFacadeVersionCall) DoAndReturn(f func(string) int) *MockAPICallCloserBestFacadeVersionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallCloserBestFacadeVersionCall) Return ¶
func (c *MockAPICallCloserBestFacadeVersionCall) Return(arg0 int) *MockAPICallCloserBestFacadeVersionCall
Return rewrite *gomock.Call.Return
type MockAPICallCloserCloseCall ¶
MockAPICallCloserCloseCall wrap *gomock.Call
func (*MockAPICallCloserCloseCall) Do ¶
func (c *MockAPICallCloserCloseCall) Do(f func() error) *MockAPICallCloserCloseCall
Do rewrite *gomock.Call.Do
func (*MockAPICallCloserCloseCall) DoAndReturn ¶
func (c *MockAPICallCloserCloseCall) DoAndReturn(f func() error) *MockAPICallCloserCloseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallCloserCloseCall) Return ¶
func (c *MockAPICallCloserCloseCall) Return(arg0 error) *MockAPICallCloserCloseCall
Return rewrite *gomock.Call.Return
type MockAPICallCloserConnectControllerStreamCall ¶
MockAPICallCloserConnectControllerStreamCall wrap *gomock.Call
func (*MockAPICallCloserConnectControllerStreamCall) Do ¶
func (c *MockAPICallCloserConnectControllerStreamCall) Do(f func(context.Context, string, url.Values, http.Header) (base.Stream, error)) *MockAPICallCloserConnectControllerStreamCall
Do rewrite *gomock.Call.Do
func (*MockAPICallCloserConnectControllerStreamCall) DoAndReturn ¶
func (c *MockAPICallCloserConnectControllerStreamCall) DoAndReturn(f func(context.Context, string, url.Values, http.Header) (base.Stream, error)) *MockAPICallCloserConnectControllerStreamCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallCloserConnectControllerStreamCall) Return ¶
func (c *MockAPICallCloserConnectControllerStreamCall) Return(arg0 base.Stream, arg1 error) *MockAPICallCloserConnectControllerStreamCall
Return rewrite *gomock.Call.Return
type MockAPICallCloserConnectStreamCall ¶
MockAPICallCloserConnectStreamCall wrap *gomock.Call
func (*MockAPICallCloserConnectStreamCall) Do ¶
func (c *MockAPICallCloserConnectStreamCall) Do(f func(context.Context, string, url.Values) (base.Stream, error)) *MockAPICallCloserConnectStreamCall
Do rewrite *gomock.Call.Do
func (*MockAPICallCloserConnectStreamCall) DoAndReturn ¶
func (c *MockAPICallCloserConnectStreamCall) DoAndReturn(f func(context.Context, string, url.Values) (base.Stream, error)) *MockAPICallCloserConnectStreamCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallCloserConnectStreamCall) Return ¶
func (c *MockAPICallCloserConnectStreamCall) Return(arg0 base.Stream, arg1 error) *MockAPICallCloserConnectStreamCall
Return rewrite *gomock.Call.Return
type MockAPICallCloserHTTPClientCall ¶
MockAPICallCloserHTTPClientCall wrap *gomock.Call
func (*MockAPICallCloserHTTPClientCall) Do ¶
func (c *MockAPICallCloserHTTPClientCall) Do(f func() (*httprequest.Client, error)) *MockAPICallCloserHTTPClientCall
Do rewrite *gomock.Call.Do
func (*MockAPICallCloserHTTPClientCall) DoAndReturn ¶
func (c *MockAPICallCloserHTTPClientCall) DoAndReturn(f func() (*httprequest.Client, error)) *MockAPICallCloserHTTPClientCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallCloserHTTPClientCall) Return ¶
func (c *MockAPICallCloserHTTPClientCall) Return(arg0 *httprequest.Client, arg1 error) *MockAPICallCloserHTTPClientCall
Return rewrite *gomock.Call.Return
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, arg6 any) *MockAPICallCloserAPICallCall
APICall indicates an expected call of APICall.
func (*MockAPICallCloserMockRecorder) BakeryClient ¶
func (mr *MockAPICallCloserMockRecorder) BakeryClient() *MockAPICallCloserBakeryClientCall
BakeryClient indicates an expected call of BakeryClient.
func (*MockAPICallCloserMockRecorder) BestFacadeVersion ¶
func (mr *MockAPICallCloserMockRecorder) BestFacadeVersion(arg0 any) *MockAPICallCloserBestFacadeVersionCall
BestFacadeVersion indicates an expected call of BestFacadeVersion.
func (*MockAPICallCloserMockRecorder) Close ¶
func (mr *MockAPICallCloserMockRecorder) Close() *MockAPICallCloserCloseCall
Close indicates an expected call of Close.
func (*MockAPICallCloserMockRecorder) ConnectControllerStream ¶
func (mr *MockAPICallCloserMockRecorder) ConnectControllerStream(arg0, arg1, arg2, arg3 any) *MockAPICallCloserConnectControllerStreamCall
ConnectControllerStream indicates an expected call of ConnectControllerStream.
func (*MockAPICallCloserMockRecorder) ConnectStream ¶
func (mr *MockAPICallCloserMockRecorder) ConnectStream(arg0, arg1, arg2 any) *MockAPICallCloserConnectStreamCall
ConnectStream indicates an expected call of ConnectStream.
func (*MockAPICallCloserMockRecorder) HTTPClient ¶
func (mr *MockAPICallCloserMockRecorder) HTTPClient() *MockAPICallCloserHTTPClientCall
HTTPClient indicates an expected call of HTTPClient.
func (*MockAPICallCloserMockRecorder) ModelTag ¶
func (mr *MockAPICallCloserMockRecorder) ModelTag() *MockAPICallCloserModelTagCall
ModelTag indicates an expected call of ModelTag.
func (*MockAPICallCloserMockRecorder) RootHTTPClient ¶
func (mr *MockAPICallCloserMockRecorder) RootHTTPClient() *MockAPICallCloserRootHTTPClientCall
RootHTTPClient indicates an expected call of RootHTTPClient.
type MockAPICallCloserModelTagCall ¶
MockAPICallCloserModelTagCall wrap *gomock.Call
func (*MockAPICallCloserModelTagCall) Do ¶
func (c *MockAPICallCloserModelTagCall) Do(f func() (names.ModelTag, bool)) *MockAPICallCloserModelTagCall
Do rewrite *gomock.Call.Do
func (*MockAPICallCloserModelTagCall) DoAndReturn ¶
func (c *MockAPICallCloserModelTagCall) DoAndReturn(f func() (names.ModelTag, bool)) *MockAPICallCloserModelTagCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallCloserModelTagCall) Return ¶
func (c *MockAPICallCloserModelTagCall) Return(arg0 names.ModelTag, arg1 bool) *MockAPICallCloserModelTagCall
Return rewrite *gomock.Call.Return
type MockAPICallCloserRootHTTPClientCall ¶
MockAPICallCloserRootHTTPClientCall wrap *gomock.Call
func (*MockAPICallCloserRootHTTPClientCall) Do ¶
func (c *MockAPICallCloserRootHTTPClientCall) Do(f func() (*httprequest.Client, error)) *MockAPICallCloserRootHTTPClientCall
Do rewrite *gomock.Call.Do
func (*MockAPICallCloserRootHTTPClientCall) DoAndReturn ¶
func (c *MockAPICallCloserRootHTTPClientCall) DoAndReturn(f func() (*httprequest.Client, error)) *MockAPICallCloserRootHTTPClientCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallCloserRootHTTPClientCall) Return ¶
func (c *MockAPICallCloserRootHTTPClientCall) Return(arg0 *httprequest.Client, arg1 error) *MockAPICallCloserRootHTTPClientCall
Return rewrite *gomock.Call.Return
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 context.Context, arg1 string, arg2 int, arg3, arg4 string, arg5, arg6 any) 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 context.Context, arg1 string, arg2 url.Values, arg3 http.Header) (base.Stream, error)
ConnectControllerStream mocks base method.
func (*MockAPICaller) ConnectStream ¶
func (m *MockAPICaller) ConnectStream(arg0 context.Context, arg1 string, arg2 url.Values) (base.Stream, error)
ConnectStream 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.Client, error)
HTTPClient mocks base method.
func (*MockAPICaller) ModelTag ¶
func (m *MockAPICaller) ModelTag() (names.ModelTag, bool)
ModelTag mocks base method.
func (*MockAPICaller) RootHTTPClient ¶
func (m *MockAPICaller) RootHTTPClient() (*httprequest.Client, error)
RootHTTPClient mocks base method.
type MockAPICallerAPICallCall ¶
MockAPICallerAPICallCall wrap *gomock.Call
func (*MockAPICallerAPICallCall) Do ¶
func (c *MockAPICallerAPICallCall) Do(f func(context.Context, string, int, string, string, any, any) error) *MockAPICallerAPICallCall
Do rewrite *gomock.Call.Do
func (*MockAPICallerAPICallCall) DoAndReturn ¶
func (c *MockAPICallerAPICallCall) DoAndReturn(f func(context.Context, string, int, string, string, any, any) error) *MockAPICallerAPICallCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallerAPICallCall) Return ¶
func (c *MockAPICallerAPICallCall) Return(arg0 error) *MockAPICallerAPICallCall
Return rewrite *gomock.Call.Return
type MockAPICallerBakeryClientCall ¶
MockAPICallerBakeryClientCall wrap *gomock.Call
func (*MockAPICallerBakeryClientCall) Do ¶
func (c *MockAPICallerBakeryClientCall) Do(f func() base.MacaroonDischarger) *MockAPICallerBakeryClientCall
Do rewrite *gomock.Call.Do
func (*MockAPICallerBakeryClientCall) DoAndReturn ¶
func (c *MockAPICallerBakeryClientCall) DoAndReturn(f func() base.MacaroonDischarger) *MockAPICallerBakeryClientCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallerBakeryClientCall) Return ¶
func (c *MockAPICallerBakeryClientCall) Return(arg0 base.MacaroonDischarger) *MockAPICallerBakeryClientCall
Return rewrite *gomock.Call.Return
type MockAPICallerBestFacadeVersionCall ¶
MockAPICallerBestFacadeVersionCall wrap *gomock.Call
func (*MockAPICallerBestFacadeVersionCall) Do ¶
func (c *MockAPICallerBestFacadeVersionCall) Do(f func(string) int) *MockAPICallerBestFacadeVersionCall
Do rewrite *gomock.Call.Do
func (*MockAPICallerBestFacadeVersionCall) DoAndReturn ¶
func (c *MockAPICallerBestFacadeVersionCall) DoAndReturn(f func(string) int) *MockAPICallerBestFacadeVersionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallerBestFacadeVersionCall) Return ¶
func (c *MockAPICallerBestFacadeVersionCall) Return(arg0 int) *MockAPICallerBestFacadeVersionCall
Return rewrite *gomock.Call.Return
type MockAPICallerConnectControllerStreamCall ¶
MockAPICallerConnectControllerStreamCall wrap *gomock.Call
func (*MockAPICallerConnectControllerStreamCall) Do ¶
func (c *MockAPICallerConnectControllerStreamCall) Do(f func(context.Context, string, url.Values, http.Header) (base.Stream, error)) *MockAPICallerConnectControllerStreamCall
Do rewrite *gomock.Call.Do
func (*MockAPICallerConnectControllerStreamCall) DoAndReturn ¶
func (c *MockAPICallerConnectControllerStreamCall) DoAndReturn(f func(context.Context, string, url.Values, http.Header) (base.Stream, error)) *MockAPICallerConnectControllerStreamCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallerConnectControllerStreamCall) Return ¶
func (c *MockAPICallerConnectControllerStreamCall) Return(arg0 base.Stream, arg1 error) *MockAPICallerConnectControllerStreamCall
Return rewrite *gomock.Call.Return
type MockAPICallerConnectStreamCall ¶
MockAPICallerConnectStreamCall wrap *gomock.Call
func (*MockAPICallerConnectStreamCall) Do ¶
func (c *MockAPICallerConnectStreamCall) Do(f func(context.Context, string, url.Values) (base.Stream, error)) *MockAPICallerConnectStreamCall
Do rewrite *gomock.Call.Do
func (*MockAPICallerConnectStreamCall) DoAndReturn ¶
func (c *MockAPICallerConnectStreamCall) DoAndReturn(f func(context.Context, string, url.Values) (base.Stream, error)) *MockAPICallerConnectStreamCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallerConnectStreamCall) Return ¶
func (c *MockAPICallerConnectStreamCall) Return(arg0 base.Stream, arg1 error) *MockAPICallerConnectStreamCall
Return rewrite *gomock.Call.Return
type MockAPICallerHTTPClientCall ¶
MockAPICallerHTTPClientCall wrap *gomock.Call
func (*MockAPICallerHTTPClientCall) Do ¶
func (c *MockAPICallerHTTPClientCall) Do(f func() (*httprequest.Client, error)) *MockAPICallerHTTPClientCall
Do rewrite *gomock.Call.Do
func (*MockAPICallerHTTPClientCall) DoAndReturn ¶
func (c *MockAPICallerHTTPClientCall) DoAndReturn(f func() (*httprequest.Client, error)) *MockAPICallerHTTPClientCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallerHTTPClientCall) Return ¶
func (c *MockAPICallerHTTPClientCall) Return(arg0 *httprequest.Client, arg1 error) *MockAPICallerHTTPClientCall
Return rewrite *gomock.Call.Return
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, arg6 any) *MockAPICallerAPICallCall
APICall indicates an expected call of APICall.
func (*MockAPICallerMockRecorder) BakeryClient ¶
func (mr *MockAPICallerMockRecorder) BakeryClient() *MockAPICallerBakeryClientCall
BakeryClient indicates an expected call of BakeryClient.
func (*MockAPICallerMockRecorder) BestFacadeVersion ¶
func (mr *MockAPICallerMockRecorder) BestFacadeVersion(arg0 any) *MockAPICallerBestFacadeVersionCall
BestFacadeVersion indicates an expected call of BestFacadeVersion.
func (*MockAPICallerMockRecorder) ConnectControllerStream ¶
func (mr *MockAPICallerMockRecorder) ConnectControllerStream(arg0, arg1, arg2, arg3 any) *MockAPICallerConnectControllerStreamCall
ConnectControllerStream indicates an expected call of ConnectControllerStream.
func (*MockAPICallerMockRecorder) ConnectStream ¶
func (mr *MockAPICallerMockRecorder) ConnectStream(arg0, arg1, arg2 any) *MockAPICallerConnectStreamCall
ConnectStream indicates an expected call of ConnectStream.
func (*MockAPICallerMockRecorder) HTTPClient ¶
func (mr *MockAPICallerMockRecorder) HTTPClient() *MockAPICallerHTTPClientCall
HTTPClient indicates an expected call of HTTPClient.
func (*MockAPICallerMockRecorder) ModelTag ¶
func (mr *MockAPICallerMockRecorder) ModelTag() *MockAPICallerModelTagCall
ModelTag indicates an expected call of ModelTag.
func (*MockAPICallerMockRecorder) RootHTTPClient ¶
func (mr *MockAPICallerMockRecorder) RootHTTPClient() *MockAPICallerRootHTTPClientCall
RootHTTPClient indicates an expected call of RootHTTPClient.
type MockAPICallerModelTagCall ¶
MockAPICallerModelTagCall wrap *gomock.Call
func (*MockAPICallerModelTagCall) Do ¶
func (c *MockAPICallerModelTagCall) Do(f func() (names.ModelTag, bool)) *MockAPICallerModelTagCall
Do rewrite *gomock.Call.Do
func (*MockAPICallerModelTagCall) DoAndReturn ¶
func (c *MockAPICallerModelTagCall) DoAndReturn(f func() (names.ModelTag, bool)) *MockAPICallerModelTagCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallerModelTagCall) Return ¶
func (c *MockAPICallerModelTagCall) Return(arg0 names.ModelTag, arg1 bool) *MockAPICallerModelTagCall
Return rewrite *gomock.Call.Return
type MockAPICallerRootHTTPClientCall ¶
MockAPICallerRootHTTPClientCall wrap *gomock.Call
func (*MockAPICallerRootHTTPClientCall) Do ¶
func (c *MockAPICallerRootHTTPClientCall) Do(f func() (*httprequest.Client, error)) *MockAPICallerRootHTTPClientCall
Do rewrite *gomock.Call.Do
func (*MockAPICallerRootHTTPClientCall) DoAndReturn ¶
func (c *MockAPICallerRootHTTPClientCall) DoAndReturn(f func() (*httprequest.Client, error)) *MockAPICallerRootHTTPClientCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPICallerRootHTTPClientCall) Return ¶
func (c *MockAPICallerRootHTTPClientCall) Return(arg0 *httprequest.Client, arg1 error) *MockAPICallerRootHTTPClientCall
Return rewrite *gomock.Call.Return
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 MockClientFacadeBestAPIVersionCall ¶
MockClientFacadeBestAPIVersionCall wrap *gomock.Call
func (*MockClientFacadeBestAPIVersionCall) Do ¶
func (c *MockClientFacadeBestAPIVersionCall) Do(f func() int) *MockClientFacadeBestAPIVersionCall
Do rewrite *gomock.Call.Do
func (*MockClientFacadeBestAPIVersionCall) DoAndReturn ¶
func (c *MockClientFacadeBestAPIVersionCall) DoAndReturn(f func() int) *MockClientFacadeBestAPIVersionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientFacadeBestAPIVersionCall) Return ¶
func (c *MockClientFacadeBestAPIVersionCall) Return(arg0 int) *MockClientFacadeBestAPIVersionCall
Return rewrite *gomock.Call.Return
type MockClientFacadeCloseCall ¶
MockClientFacadeCloseCall wrap *gomock.Call
func (*MockClientFacadeCloseCall) Do ¶
func (c *MockClientFacadeCloseCall) Do(f func() error) *MockClientFacadeCloseCall
Do rewrite *gomock.Call.Do
func (*MockClientFacadeCloseCall) DoAndReturn ¶
func (c *MockClientFacadeCloseCall) DoAndReturn(f func() error) *MockClientFacadeCloseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientFacadeCloseCall) Return ¶
func (c *MockClientFacadeCloseCall) Return(arg0 error) *MockClientFacadeCloseCall
Return rewrite *gomock.Call.Return
type MockClientFacadeMockRecorder ¶
type MockClientFacadeMockRecorder struct {
// contains filtered or unexported fields
}
MockClientFacadeMockRecorder is the mock recorder for MockClientFacade.
func (*MockClientFacadeMockRecorder) BestAPIVersion ¶
func (mr *MockClientFacadeMockRecorder) BestAPIVersion() *MockClientFacadeBestAPIVersionCall
BestAPIVersion indicates an expected call of BestAPIVersion.
func (*MockClientFacadeMockRecorder) Close ¶
func (mr *MockClientFacadeMockRecorder) Close() *MockClientFacadeCloseCall
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 ¶
FacadeCall mocks base method.
func (*MockFacadeCaller) RawAPICaller ¶
func (m *MockFacadeCaller) RawAPICaller() base.APICaller
RawAPICaller mocks base method.
type MockFacadeCallerBestAPIVersionCall ¶
MockFacadeCallerBestAPIVersionCall wrap *gomock.Call
func (*MockFacadeCallerBestAPIVersionCall) Do ¶
func (c *MockFacadeCallerBestAPIVersionCall) Do(f func() int) *MockFacadeCallerBestAPIVersionCall
Do rewrite *gomock.Call.Do
func (*MockFacadeCallerBestAPIVersionCall) DoAndReturn ¶
func (c *MockFacadeCallerBestAPIVersionCall) DoAndReturn(f func() int) *MockFacadeCallerBestAPIVersionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFacadeCallerBestAPIVersionCall) Return ¶
func (c *MockFacadeCallerBestAPIVersionCall) Return(arg0 int) *MockFacadeCallerBestAPIVersionCall
Return rewrite *gomock.Call.Return
type MockFacadeCallerFacadeCallCall ¶
MockFacadeCallerFacadeCallCall wrap *gomock.Call
func (*MockFacadeCallerFacadeCallCall) Do ¶
func (c *MockFacadeCallerFacadeCallCall) Do(f func(context.Context, string, any, any) error) *MockFacadeCallerFacadeCallCall
Do rewrite *gomock.Call.Do
func (*MockFacadeCallerFacadeCallCall) DoAndReturn ¶
func (c *MockFacadeCallerFacadeCallCall) DoAndReturn(f func(context.Context, string, any, any) error) *MockFacadeCallerFacadeCallCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFacadeCallerFacadeCallCall) Return ¶
func (c *MockFacadeCallerFacadeCallCall) Return(arg0 error) *MockFacadeCallerFacadeCallCall
Return rewrite *gomock.Call.Return
type MockFacadeCallerMockRecorder ¶
type MockFacadeCallerMockRecorder struct {
// contains filtered or unexported fields
}
MockFacadeCallerMockRecorder is the mock recorder for MockFacadeCaller.
func (*MockFacadeCallerMockRecorder) BestAPIVersion ¶
func (mr *MockFacadeCallerMockRecorder) BestAPIVersion() *MockFacadeCallerBestAPIVersionCall
BestAPIVersion indicates an expected call of BestAPIVersion.
func (*MockFacadeCallerMockRecorder) FacadeCall ¶
func (mr *MockFacadeCallerMockRecorder) FacadeCall(arg0, arg1, arg2, arg3 any) *MockFacadeCallerFacadeCallCall
FacadeCall indicates an expected call of FacadeCall.
func (*MockFacadeCallerMockRecorder) Name ¶
func (mr *MockFacadeCallerMockRecorder) Name() *MockFacadeCallerNameCall
Name indicates an expected call of Name.
func (*MockFacadeCallerMockRecorder) RawAPICaller ¶
func (mr *MockFacadeCallerMockRecorder) RawAPICaller() *MockFacadeCallerRawAPICallerCall
RawAPICaller indicates an expected call of RawAPICaller.
type MockFacadeCallerNameCall ¶
MockFacadeCallerNameCall wrap *gomock.Call
func (*MockFacadeCallerNameCall) Do ¶
func (c *MockFacadeCallerNameCall) Do(f func() string) *MockFacadeCallerNameCall
Do rewrite *gomock.Call.Do
func (*MockFacadeCallerNameCall) DoAndReturn ¶
func (c *MockFacadeCallerNameCall) DoAndReturn(f func() string) *MockFacadeCallerNameCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFacadeCallerNameCall) Return ¶
func (c *MockFacadeCallerNameCall) Return(arg0 string) *MockFacadeCallerNameCall
Return rewrite *gomock.Call.Return
type MockFacadeCallerRawAPICallerCall ¶
MockFacadeCallerRawAPICallerCall wrap *gomock.Call
func (*MockFacadeCallerRawAPICallerCall) Do ¶
func (c *MockFacadeCallerRawAPICallerCall) Do(f func() base.APICaller) *MockFacadeCallerRawAPICallerCall
Do rewrite *gomock.Call.Do
func (*MockFacadeCallerRawAPICallerCall) DoAndReturn ¶
func (c *MockFacadeCallerRawAPICallerCall) DoAndReturn(f func() base.APICaller) *MockFacadeCallerRawAPICallerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFacadeCallerRawAPICallerCall) Return ¶
func (c *MockFacadeCallerRawAPICallerCall) Return(arg0 base.APICaller) *MockFacadeCallerRawAPICallerCall
Return rewrite *gomock.Call.Return