Documentation ¶
Overview ¶
Run go generate to regenerate this mock.
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetHelmRelease(ctx context.Context, restConfig *rest.Config, ...) (*release.Release, error)
- func (m *MockClient) InstallOrUpgradeHelmRelease(ctx context.Context, restConfig *rest.Config, ...) (*release.Release, error)
- func (m *MockClient) UninstallHelmRelease(ctx context.Context, restConfig *rest.Config, ...) (*release.UninstallReleaseResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) GetHelmRelease(ctx, restConfig, spec any) *gomock.Call
- func (mr *MockClientMockRecorder) InstallOrUpgradeHelmRelease(ctx, restConfig, credentialsPath, caFilePath, spec any) *gomock.Call
- func (mr *MockClientMockRecorder) UninstallHelmRelease(ctx, restConfig, spec any) *gomock.Call
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, restConfig *rest.Config, spec v1alpha1.HelmReleaseProxySpec) (*release.Release, error)
GetHelmRelease mocks base method.
func (*MockClient) InstallOrUpgradeHelmRelease ¶
func (m *MockClient) InstallOrUpgradeHelmRelease(ctx context.Context, restConfig *rest.Config, credentialsPath, caFilePath string, spec v1alpha1.HelmReleaseProxySpec) (*release.Release, error)
InstallOrUpgradeHelmRelease mocks base method.
func (*MockClient) UninstallHelmRelease ¶
func (m *MockClient) UninstallHelmRelease(ctx context.Context, restConfig *rest.Config, 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, restConfig, spec any) *gomock.Call
GetHelmRelease indicates an expected call of GetHelmRelease.
func (*MockClientMockRecorder) InstallOrUpgradeHelmRelease ¶
func (mr *MockClientMockRecorder) InstallOrUpgradeHelmRelease(ctx, restConfig, credentialsPath, caFilePath, spec any) *gomock.Call
InstallOrUpgradeHelmRelease indicates an expected call of InstallOrUpgradeHelmRelease.
func (*MockClientMockRecorder) UninstallHelmRelease ¶
func (mr *MockClientMockRecorder) UninstallHelmRelease(ctx, restConfig, spec any) *gomock.Call
UninstallHelmRelease indicates an expected call of UninstallHelmRelease.