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 MockAPICaller
- func (m *MockAPICaller) APICall(arg0 string, arg1 int, arg2, arg3 string, arg4, arg5 any) 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.Client, error)
- func (m *MockAPICaller) ModelTag() (names.ModelTag, bool)
- func (m *MockAPICaller) RootHTTPClient() (*httprequest.Client, error)
- type MockAPICallerMockRecorder
- func (mr *MockAPICallerMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call
- func (mr *MockAPICallerMockRecorder) BakeryClient() *gomock.Call
- func (mr *MockAPICallerMockRecorder) BestFacadeVersion(arg0 any) *gomock.Call
- func (mr *MockAPICallerMockRecorder) ConnectControllerStream(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockAPICallerMockRecorder) ConnectStream(arg0, arg1 any) *gomock.Call
- func (mr *MockAPICallerMockRecorder) Context() *gomock.Call
- func (mr *MockAPICallerMockRecorder) HTTPClient() *gomock.Call
- func (mr *MockAPICallerMockRecorder) ModelTag() *gomock.Call
- func (mr *MockAPICallerMockRecorder) RootHTTPClient() *gomock.Call
- type MockExecutor
- func (m *MockExecutor) Copy(arg0 exec.CopyParams, arg1 <-chan struct{}) error
- func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder
- func (m *MockExecutor) Exec(arg0 exec.ExecParams, arg1 <-chan struct{}) error
- func (m *MockExecutor) NameSpace() string
- func (m *MockExecutor) RawClient() kubernetes.Interface
- func (m *MockExecutor) Status(arg0 exec.StatusParams) (*exec.Status, error)
- type MockExecutorMockRecorder
- func (mr *MockExecutorMockRecorder) Copy(arg0, arg1 any) *gomock.Call
- func (mr *MockExecutorMockRecorder) Exec(arg0, arg1 any) *gomock.Call
- func (mr *MockExecutorMockRecorder) NameSpace() *gomock.Call
- func (mr *MockExecutorMockRecorder) RawClient() *gomock.Call
- func (mr *MockExecutorMockRecorder) Status(arg0 any) *gomock.Call
- type MockProviderIDGetter
- type MockProviderIDGetterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) 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.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 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 any) *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 any) *gomock.Call
BestFacadeVersion indicates an expected call of BestFacadeVersion.
func (*MockAPICallerMockRecorder) ConnectControllerStream ¶
func (mr *MockAPICallerMockRecorder) ConnectControllerStream(arg0, arg1, arg2 any) *gomock.Call
ConnectControllerStream indicates an expected call of ConnectControllerStream.
func (*MockAPICallerMockRecorder) ConnectStream ¶
func (mr *MockAPICallerMockRecorder) ConnectStream(arg0, arg1 any) *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.
func (*MockAPICallerMockRecorder) RootHTTPClient ¶
func (mr *MockAPICallerMockRecorder) RootHTTPClient() *gomock.Call
RootHTTPClient indicates an expected call of RootHTTPClient.
type MockExecutor ¶
type MockExecutor struct {
// contains filtered or unexported fields
}
MockExecutor is a mock of Executor interface.
func NewMockExecutor ¶
func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor
NewMockExecutor creates a new mock instance.
func (*MockExecutor) Copy ¶
func (m *MockExecutor) Copy(arg0 exec.CopyParams, arg1 <-chan struct{}) error
Copy mocks base method.
func (*MockExecutor) EXPECT ¶
func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExecutor) Exec ¶
func (m *MockExecutor) Exec(arg0 exec.ExecParams, arg1 <-chan struct{}) error
Exec mocks base method.
func (*MockExecutor) NameSpace ¶
func (m *MockExecutor) NameSpace() string
NameSpace mocks base method.
func (*MockExecutor) RawClient ¶
func (m *MockExecutor) RawClient() kubernetes.Interface
RawClient mocks base method.
func (*MockExecutor) Status ¶
func (m *MockExecutor) Status(arg0 exec.StatusParams) (*exec.Status, error)
Status mocks base method.
type MockExecutorMockRecorder ¶
type MockExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockExecutorMockRecorder is the mock recorder for MockExecutor.
func (*MockExecutorMockRecorder) Copy ¶
func (mr *MockExecutorMockRecorder) Copy(arg0, arg1 any) *gomock.Call
Copy indicates an expected call of Copy.
func (*MockExecutorMockRecorder) Exec ¶
func (mr *MockExecutorMockRecorder) Exec(arg0, arg1 any) *gomock.Call
Exec indicates an expected call of Exec.
func (*MockExecutorMockRecorder) NameSpace ¶
func (mr *MockExecutorMockRecorder) NameSpace() *gomock.Call
NameSpace indicates an expected call of NameSpace.
func (*MockExecutorMockRecorder) RawClient ¶
func (mr *MockExecutorMockRecorder) RawClient() *gomock.Call
RawClient indicates an expected call of RawClient.
type MockProviderIDGetter ¶
type MockProviderIDGetter struct {
// contains filtered or unexported fields
}
MockProviderIDGetter is a mock of ProviderIDGetter interface.
func NewMockProviderIDGetter ¶
func NewMockProviderIDGetter(ctrl *gomock.Controller) *MockProviderIDGetter
NewMockProviderIDGetter creates a new mock instance.
func (*MockProviderIDGetter) EXPECT ¶
func (m *MockProviderIDGetter) EXPECT() *MockProviderIDGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProviderIDGetter) Name ¶
func (m *MockProviderIDGetter) Name() string
Name mocks base method.
func (*MockProviderIDGetter) ProviderID ¶
func (m *MockProviderIDGetter) ProviderID() string
ProviderID mocks base method.
func (*MockProviderIDGetter) Refresh ¶
func (m *MockProviderIDGetter) Refresh() error
Refresh mocks base method.
type MockProviderIDGetterMockRecorder ¶
type MockProviderIDGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderIDGetterMockRecorder is the mock recorder for MockProviderIDGetter.
func (*MockProviderIDGetterMockRecorder) Name ¶
func (mr *MockProviderIDGetterMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockProviderIDGetterMockRecorder) ProviderID ¶
func (mr *MockProviderIDGetterMockRecorder) ProviderID() *gomock.Call
ProviderID indicates an expected call of ProviderID.
func (*MockProviderIDGetterMockRecorder) Refresh ¶
func (mr *MockProviderIDGetterMockRecorder) Refresh() *gomock.Call
Refresh indicates an expected call of Refresh.