Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockFlux
- func (m *MockFlux) BootstrapToolkitsComponentsGit(arg0 context.Context, arg1 *types.Cluster, arg2 *v1alpha1.FluxConfig, ...) error
- func (m *MockFlux) BootstrapToolkitsComponentsGithub(arg0 context.Context, arg1 *types.Cluster, arg2 *v1alpha1.FluxConfig) error
- func (m *MockFlux) DeleteFluxSystemSecret(arg0 context.Context, arg1 *types.Cluster, arg2 string) error
- func (m *MockFlux) EXPECT() *MockFluxMockRecorder
- func (m *MockFlux) ForceReconcileGitRepo(arg0 context.Context, arg1 *types.Cluster, arg2 string) error
- func (m *MockFlux) PauseKustomization(arg0 context.Context, arg1 *types.Cluster, arg2 *v1alpha1.FluxConfig) error
- func (m *MockFlux) Reconcile(arg0 context.Context, arg1 *types.Cluster, arg2 *v1alpha1.FluxConfig) error
- func (m *MockFlux) ResumeKustomization(arg0 context.Context, arg1 *types.Cluster, arg2 *v1alpha1.FluxConfig) error
- func (m *MockFlux) UninstallToolkitsComponents(arg0 context.Context, arg1 *types.Cluster, arg2 *v1alpha1.FluxConfig) error
- type MockFluxMockRecorder
- func (mr *MockFluxMockRecorder) BootstrapToolkitsComponentsGit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockFluxMockRecorder) BootstrapToolkitsComponentsGithub(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFluxMockRecorder) DeleteFluxSystemSecret(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFluxMockRecorder) ForceReconcileGitRepo(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFluxMockRecorder) PauseKustomization(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFluxMockRecorder) Reconcile(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFluxMockRecorder) ResumeKustomization(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFluxMockRecorder) UninstallToolkitsComponents(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFlux ¶
type MockFlux struct {
// contains filtered or unexported fields
}
MockFlux is a mock of Flux interface.
func NewMockFlux ¶
func NewMockFlux(ctrl *gomock.Controller) *MockFlux
NewMockFlux creates a new mock instance.
func (*MockFlux) BootstrapToolkitsComponentsGit ¶ added in v0.9.0
func (m *MockFlux) BootstrapToolkitsComponentsGit(arg0 context.Context, arg1 *types.Cluster, arg2 *v1alpha1.FluxConfig, arg3 *config.CliConfig) error
BootstrapToolkitsComponentsGit mocks base method.
func (*MockFlux) BootstrapToolkitsComponentsGithub ¶ added in v0.9.0
func (m *MockFlux) BootstrapToolkitsComponentsGithub(arg0 context.Context, arg1 *types.Cluster, arg2 *v1alpha1.FluxConfig) error
BootstrapToolkitsComponentsGithub mocks base method.
func (*MockFlux) DeleteFluxSystemSecret ¶ added in v0.6.1
func (m *MockFlux) DeleteFluxSystemSecret(arg0 context.Context, arg1 *types.Cluster, arg2 string) error
DeleteFluxSystemSecret mocks base method.
func (*MockFlux) EXPECT ¶
func (m *MockFlux) EXPECT() *MockFluxMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFlux) ForceReconcileGitRepo ¶
func (m *MockFlux) ForceReconcileGitRepo(arg0 context.Context, arg1 *types.Cluster, arg2 string) error
ForceReconcileGitRepo mocks base method.
func (*MockFlux) PauseKustomization ¶
func (m *MockFlux) PauseKustomization(arg0 context.Context, arg1 *types.Cluster, arg2 *v1alpha1.FluxConfig) error
PauseKustomization mocks base method.
func (*MockFlux) Reconcile ¶ added in v0.6.0
func (m *MockFlux) Reconcile(arg0 context.Context, arg1 *types.Cluster, arg2 *v1alpha1.FluxConfig) error
Reconcile mocks base method.
func (*MockFlux) ResumeKustomization ¶
func (m *MockFlux) ResumeKustomization(arg0 context.Context, arg1 *types.Cluster, arg2 *v1alpha1.FluxConfig) error
ResumeKustomization mocks base method.
func (*MockFlux) UninstallToolkitsComponents ¶
func (m *MockFlux) UninstallToolkitsComponents(arg0 context.Context, arg1 *types.Cluster, arg2 *v1alpha1.FluxConfig) error
UninstallToolkitsComponents mocks base method.
type MockFluxMockRecorder ¶
type MockFluxMockRecorder struct {
// contains filtered or unexported fields
}
MockFluxMockRecorder is the mock recorder for MockFlux.
func (*MockFluxMockRecorder) BootstrapToolkitsComponentsGit ¶ added in v0.9.0
func (mr *MockFluxMockRecorder) BootstrapToolkitsComponentsGit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
BootstrapToolkitsComponentsGit indicates an expected call of BootstrapToolkitsComponentsGit.
func (*MockFluxMockRecorder) BootstrapToolkitsComponentsGithub ¶ added in v0.9.0
func (mr *MockFluxMockRecorder) BootstrapToolkitsComponentsGithub(arg0, arg1, arg2 interface{}) *gomock.Call
BootstrapToolkitsComponentsGithub indicates an expected call of BootstrapToolkitsComponentsGithub.
func (*MockFluxMockRecorder) DeleteFluxSystemSecret ¶ added in v0.6.1
func (mr *MockFluxMockRecorder) DeleteFluxSystemSecret(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteFluxSystemSecret indicates an expected call of DeleteFluxSystemSecret.
func (*MockFluxMockRecorder) ForceReconcileGitRepo ¶
func (mr *MockFluxMockRecorder) ForceReconcileGitRepo(arg0, arg1, arg2 interface{}) *gomock.Call
ForceReconcileGitRepo indicates an expected call of ForceReconcileGitRepo.
func (*MockFluxMockRecorder) PauseKustomization ¶
func (mr *MockFluxMockRecorder) PauseKustomization(arg0, arg1, arg2 interface{}) *gomock.Call
PauseKustomization indicates an expected call of PauseKustomization.
func (*MockFluxMockRecorder) Reconcile ¶ added in v0.6.0
func (mr *MockFluxMockRecorder) Reconcile(arg0, arg1, arg2 interface{}) *gomock.Call
Reconcile indicates an expected call of Reconcile.
func (*MockFluxMockRecorder) ResumeKustomization ¶
func (mr *MockFluxMockRecorder) ResumeKustomization(arg0, arg1, arg2 interface{}) *gomock.Call
ResumeKustomization indicates an expected call of ResumeKustomization.
func (*MockFluxMockRecorder) UninstallToolkitsComponents ¶
func (mr *MockFluxMockRecorder) UninstallToolkitsComponents(arg0, arg1, arg2 interface{}) *gomock.Call
UninstallToolkitsComponents indicates an expected call of UninstallToolkitsComponents.