Documentation ¶
Overview ¶
Run go generate to regenerate this mock.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetHelmRelease(ctx context.Context, kubeconfig string, spec v1alpha1.HelmReleaseProxySpec) (*release.Release, error)
- func (m *MockClient) InstallOrUpgradeHelmRelease(ctx context.Context, kubeconfig, credentialsPath string, ...) (*release.Release, error)
- func (m *MockClient) UninstallHelmRelease(ctx context.Context, kubeconfig string, spec v1alpha1.HelmReleaseProxySpec) (*release.UninstallReleaseResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) GetHelmRelease(ctx, kubeconfig, spec any) *gomock.Call
- func (mr *MockClientMockRecorder) InstallOrUpgradeHelmRelease(ctx, kubeconfig, credentialsPath, spec any) *gomock.Call
- func (mr *MockClientMockRecorder) UninstallHelmRelease(ctx, kubeconfig, spec any) *gomock.Call
- type MockGetter
- type MockGetterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetHelmRelease ¶
func (m *MockClient) GetHelmRelease(ctx context.Context, kubeconfig string, spec v1alpha1.HelmReleaseProxySpec) (*release.Release, error)
GetHelmRelease mocks base method.
func (*MockClient) InstallOrUpgradeHelmRelease ¶
func (m *MockClient) InstallOrUpgradeHelmRelease(ctx context.Context, kubeconfig, credentialsPath string, spec v1alpha1.HelmReleaseProxySpec) (*release.Release, error)
InstallOrUpgradeHelmRelease mocks base method.
func (*MockClient) UninstallHelmRelease ¶
func (m *MockClient) UninstallHelmRelease(ctx context.Context, kubeconfig string, spec v1alpha1.HelmReleaseProxySpec) (*release.UninstallReleaseResponse, error)
UninstallHelmRelease mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) GetHelmRelease ¶
func (mr *MockClientMockRecorder) GetHelmRelease(ctx, kubeconfig, spec any) *gomock.Call
GetHelmRelease indicates an expected call of GetHelmRelease.
func (*MockClientMockRecorder) InstallOrUpgradeHelmRelease ¶
func (mr *MockClientMockRecorder) InstallOrUpgradeHelmRelease(ctx, kubeconfig, credentialsPath, spec any) *gomock.Call
InstallOrUpgradeHelmRelease indicates an expected call of InstallOrUpgradeHelmRelease.
func (*MockClientMockRecorder) UninstallHelmRelease ¶
func (mr *MockClientMockRecorder) UninstallHelmRelease(ctx, kubeconfig, spec any) *gomock.Call
UninstallHelmRelease indicates an expected call of UninstallHelmRelease.
type MockGetter ¶
type MockGetter struct {
// contains filtered or unexported fields
}
MockGetter is a mock of Getter interface.
func NewMockGetter ¶
func NewMockGetter(ctrl *gomock.Controller) *MockGetter
NewMockGetter creates a new mock instance.
func (*MockGetter) EXPECT ¶
func (m *MockGetter) EXPECT() *MockGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGetter) GetClusterKubeconfig ¶
func (m *MockGetter) GetClusterKubeconfig(ctx context.Context, clusterKey client.ObjectKey) (string, error)
GetClusterKubeconfig mocks base method.
type MockGetterMockRecorder ¶
type MockGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockGetterMockRecorder is the mock recorder for MockGetter.
func (*MockGetterMockRecorder) GetClusterKubeconfig ¶
func (mr *MockGetterMockRecorder) GetClusterKubeconfig(ctx, clusterKey any) *gomock.Call
GetClusterKubeconfig indicates an expected call of GetClusterKubeconfig.