Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockCAASBroker
- type MockCAASBrokerEnsureImageRepoSecretCall
- func (c *MockCAASBrokerEnsureImageRepoSecretCall) Do(f func(context.Context, docker.ImageRepoDetails) error) *MockCAASBrokerEnsureImageRepoSecretCall
- func (c *MockCAASBrokerEnsureImageRepoSecretCall) DoAndReturn(f func(context.Context, docker.ImageRepoDetails) error) *MockCAASBrokerEnsureImageRepoSecretCall
- func (c *MockCAASBrokerEnsureImageRepoSecretCall) Return(arg0 error) *MockCAASBrokerEnsureImageRepoSecretCall
- type MockCAASBrokerMockRecorder
- type MockFacade
- type MockFacadeControllerConfigCall
- func (c *MockFacadeControllerConfigCall) Do(f func(context.Context) (controller.Config, error)) *MockFacadeControllerConfigCall
- func (c *MockFacadeControllerConfigCall) DoAndReturn(f func(context.Context) (controller.Config, error)) *MockFacadeControllerConfigCall
- func (c *MockFacadeControllerConfigCall) Return(arg0 controller.Config, arg1 error) *MockFacadeControllerConfigCall
- type MockFacadeMockRecorder
- type MockFacadeWatchControllerConfigCall
- func (c *MockFacadeWatchControllerConfigCall) Do(f func(context.Context) (watcher.Watcher[[]string], error)) *MockFacadeWatchControllerConfigCall
- func (c *MockFacadeWatchControllerConfigCall) DoAndReturn(f func(context.Context) (watcher.Watcher[[]string], error)) *MockFacadeWatchControllerConfigCall
- func (c *MockFacadeWatchControllerConfigCall) Return(arg0 watcher.Watcher[[]string], arg1 error) *MockFacadeWatchControllerConfigCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCAASBroker ¶
type MockCAASBroker struct {
// contains filtered or unexported fields
}
MockCAASBroker is a mock of CAASBroker interface.
func NewMockCAASBroker ¶
func NewMockCAASBroker(ctrl *gomock.Controller) *MockCAASBroker
NewMockCAASBroker creates a new mock instance.
func (*MockCAASBroker) EXPECT ¶
func (m *MockCAASBroker) EXPECT() *MockCAASBrokerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCAASBroker) EnsureImageRepoSecret ¶
func (m *MockCAASBroker) EnsureImageRepoSecret(arg0 context.Context, arg1 docker.ImageRepoDetails) error
EnsureImageRepoSecret mocks base method.
type MockCAASBrokerEnsureImageRepoSecretCall ¶
MockCAASBrokerEnsureImageRepoSecretCall wrap *gomock.Call
func (*MockCAASBrokerEnsureImageRepoSecretCall) Do ¶
func (c *MockCAASBrokerEnsureImageRepoSecretCall) Do(f func(context.Context, docker.ImageRepoDetails) error) *MockCAASBrokerEnsureImageRepoSecretCall
Do rewrite *gomock.Call.Do
func (*MockCAASBrokerEnsureImageRepoSecretCall) DoAndReturn ¶
func (c *MockCAASBrokerEnsureImageRepoSecretCall) DoAndReturn(f func(context.Context, docker.ImageRepoDetails) error) *MockCAASBrokerEnsureImageRepoSecretCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCAASBrokerEnsureImageRepoSecretCall) Return ¶
func (c *MockCAASBrokerEnsureImageRepoSecretCall) Return(arg0 error) *MockCAASBrokerEnsureImageRepoSecretCall
Return rewrite *gomock.Call.Return
type MockCAASBrokerMockRecorder ¶
type MockCAASBrokerMockRecorder struct {
// contains filtered or unexported fields
}
MockCAASBrokerMockRecorder is the mock recorder for MockCAASBroker.
func (*MockCAASBrokerMockRecorder) EnsureImageRepoSecret ¶
func (mr *MockCAASBrokerMockRecorder) EnsureImageRepoSecret(arg0, arg1 any) *MockCAASBrokerEnsureImageRepoSecretCall
EnsureImageRepoSecret indicates an expected call of EnsureImageRepoSecret.
type MockFacade ¶
type MockFacade struct {
// contains filtered or unexported fields
}
MockFacade is a mock of Facade interface.
func NewMockFacade ¶
func NewMockFacade(ctrl *gomock.Controller) *MockFacade
NewMockFacade creates a new mock instance.
func (*MockFacade) ControllerConfig ¶
func (m *MockFacade) ControllerConfig(arg0 context.Context) (controller.Config, error)
ControllerConfig mocks base method.
func (*MockFacade) EXPECT ¶
func (m *MockFacade) EXPECT() *MockFacadeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFacade) WatchControllerConfig ¶
WatchControllerConfig mocks base method.
type MockFacadeControllerConfigCall ¶
MockFacadeControllerConfigCall wrap *gomock.Call
func (*MockFacadeControllerConfigCall) Do ¶
func (c *MockFacadeControllerConfigCall) Do(f func(context.Context) (controller.Config, error)) *MockFacadeControllerConfigCall
Do rewrite *gomock.Call.Do
func (*MockFacadeControllerConfigCall) DoAndReturn ¶
func (c *MockFacadeControllerConfigCall) DoAndReturn(f func(context.Context) (controller.Config, error)) *MockFacadeControllerConfigCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFacadeControllerConfigCall) Return ¶
func (c *MockFacadeControllerConfigCall) Return(arg0 controller.Config, arg1 error) *MockFacadeControllerConfigCall
Return rewrite *gomock.Call.Return
type MockFacadeMockRecorder ¶
type MockFacadeMockRecorder struct {
// contains filtered or unexported fields
}
MockFacadeMockRecorder is the mock recorder for MockFacade.
func (*MockFacadeMockRecorder) ControllerConfig ¶
func (mr *MockFacadeMockRecorder) ControllerConfig(arg0 any) *MockFacadeControllerConfigCall
ControllerConfig indicates an expected call of ControllerConfig.
func (*MockFacadeMockRecorder) WatchControllerConfig ¶
func (mr *MockFacadeMockRecorder) WatchControllerConfig(arg0 any) *MockFacadeWatchControllerConfigCall
WatchControllerConfig indicates an expected call of WatchControllerConfig.
type MockFacadeWatchControllerConfigCall ¶
MockFacadeWatchControllerConfigCall wrap *gomock.Call
func (*MockFacadeWatchControllerConfigCall) Do ¶
func (c *MockFacadeWatchControllerConfigCall) Do(f func(context.Context) (watcher.Watcher[[]string], error)) *MockFacadeWatchControllerConfigCall
Do rewrite *gomock.Call.Do
func (*MockFacadeWatchControllerConfigCall) DoAndReturn ¶
func (c *MockFacadeWatchControllerConfigCall) DoAndReturn(f func(context.Context) (watcher.Watcher[[]string], error)) *MockFacadeWatchControllerConfigCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFacadeWatchControllerConfigCall) Return ¶
func (c *MockFacadeWatchControllerConfigCall) Return(arg0 watcher.Watcher[[]string], arg1 error) *MockFacadeWatchControllerConfigCall
Return rewrite *gomock.Call.Return