mocks

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Run go generate to regenerate this mock.

Package mocks is a generated GoMock package.

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL