Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
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 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 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.Client, error)
- func (m *MockAPICallCloser) ModelTag() (names.ModelTag, bool)
- func (m *MockAPICallCloser) RootHTTPClient() (*httprequest.Client, error)
- type MockAPICallCloserMockRecorder
- func (mr *MockAPICallCloserMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call
- func (mr *MockAPICallCloserMockRecorder) BakeryClient() *gomock.Call
- func (mr *MockAPICallCloserMockRecorder) BestFacadeVersion(arg0 any) *gomock.Call
- func (mr *MockAPICallCloserMockRecorder) Close() *gomock.Call
- func (mr *MockAPICallCloserMockRecorder) ConnectControllerStream(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockAPICallCloserMockRecorder) ConnectStream(arg0, arg1 any) *gomock.Call
- func (mr *MockAPICallCloserMockRecorder) Context() *gomock.Call
- func (mr *MockAPICallCloserMockRecorder) HTTPClient() *gomock.Call
- func (mr *MockAPICallCloserMockRecorder) ModelTag() *gomock.Call
- func (mr *MockAPICallCloserMockRecorder) RootHTTPClient() *gomock.Call
- type MockContext
- type MockContextMockRecorder
- type MockDoer
- type MockDoerMockRecorder
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) 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 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.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 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 any) *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 any) *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 any) *gomock.Call
ConnectControllerStream indicates an expected call of ConnectControllerStream.
func (*MockAPICallCloserMockRecorder) ConnectStream ¶
func (mr *MockAPICallCloserMockRecorder) ConnectStream(arg0, arg1 any) *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.
func (*MockAPICallCloserMockRecorder) RootHTTPClient ¶
func (mr *MockAPICallCloserMockRecorder) RootHTTPClient() *gomock.Call
RootHTTPClient indicates an expected call of RootHTTPClient.
type MockContext ¶
type MockContext struct {
// contains filtered or unexported fields
}
MockContext is a mock of Context interface.
func NewMockContext ¶
func NewMockContext(ctrl *gomock.Controller) *MockContext
NewMockContext creates a new mock instance.
func (*MockContext) Deadline ¶
func (m *MockContext) Deadline() (time.Time, bool)
Deadline mocks base method.
func (*MockContext) EXPECT ¶
func (m *MockContext) EXPECT() *MockContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockContextMockRecorder ¶
type MockContextMockRecorder struct {
// contains filtered or unexported fields
}
MockContextMockRecorder is the mock recorder for MockContext.
func (*MockContextMockRecorder) Deadline ¶
func (mr *MockContextMockRecorder) Deadline() *gomock.Call
Deadline indicates an expected call of Deadline.
func (*MockContextMockRecorder) Done ¶
func (mr *MockContextMockRecorder) Done() *gomock.Call
Done indicates an expected call of Done.
func (*MockContextMockRecorder) Err ¶
func (mr *MockContextMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
type MockDoer ¶
type MockDoer struct {
// contains filtered or unexported fields
}
MockDoer is a mock of Doer interface.
func NewMockDoer ¶
func NewMockDoer(ctrl *gomock.Controller) *MockDoer
NewMockDoer creates a new mock instance.
func (*MockDoer) EXPECT ¶
func (m *MockDoer) EXPECT() *MockDoerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDoerMockRecorder ¶
type MockDoerMockRecorder struct {
// contains filtered or unexported fields
}
MockDoerMockRecorder is the mock recorder for MockDoer.