mocks

package
v1.21.12 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockHelmClient

type MockHelmClient struct {
	// contains filtered or unexported fields
}

MockHelmClient is a mock of HelmClient interface.

func NewMockHelmClient

func NewMockHelmClient(ctrl *gomock.Controller) *MockHelmClient

NewMockHelmClient creates a new mock instance.

func (*MockHelmClient) DownloadChart

func (m *MockHelmClient) DownloadChart(chartArchiveUri string) (*chart.Chart, error)

DownloadChart mocks base method.

func (*MockHelmClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHelmClient) NewInstall

func (m *MockHelmClient) NewInstall(namespace, releaseName string, dryRun bool, context string) (install.HelmInstallation, *cli.EnvSettings, error)

NewInstall mocks base method.

func (*MockHelmClient) NewUninstall

func (m *MockHelmClient) NewUninstall(namespace string) (install.HelmUninstallation, error)

NewUninstall mocks base method.

func (*MockHelmClient) ReleaseExists

func (m *MockHelmClient) ReleaseExists(namespace, releaseName string) (bool, error)

ReleaseExists mocks base method.

func (*MockHelmClient) ReleaseList

func (m *MockHelmClient) ReleaseList(namespace string) (install.HelmReleaseListRunner, error)

ReleaseList mocks base method.

type MockHelmClientMockRecorder

type MockHelmClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockHelmClientMockRecorder is the mock recorder for MockHelmClient.

func (*MockHelmClientMockRecorder) DownloadChart

func (mr *MockHelmClientMockRecorder) DownloadChart(chartArchiveUri any) *gomock.Call

DownloadChart indicates an expected call of DownloadChart.

func (*MockHelmClientMockRecorder) NewInstall

func (mr *MockHelmClientMockRecorder) NewInstall(namespace, releaseName, dryRun, context any) *gomock.Call

NewInstall indicates an expected call of NewInstall.

func (*MockHelmClientMockRecorder) NewUninstall

func (mr *MockHelmClientMockRecorder) NewUninstall(namespace any) *gomock.Call

NewUninstall indicates an expected call of NewUninstall.

func (*MockHelmClientMockRecorder) ReleaseExists

func (mr *MockHelmClientMockRecorder) ReleaseExists(namespace, releaseName any) *gomock.Call

ReleaseExists indicates an expected call of ReleaseExists.

func (*MockHelmClientMockRecorder) ReleaseList

func (mr *MockHelmClientMockRecorder) ReleaseList(namespace any) *gomock.Call

ReleaseList indicates an expected call of ReleaseList.

type MockHelmInstallation

type MockHelmInstallation struct {
	// contains filtered or unexported fields
}

MockHelmInstallation is a mock of HelmInstallation interface.

func NewMockHelmInstallation

func NewMockHelmInstallation(ctrl *gomock.Controller) *MockHelmInstallation

NewMockHelmInstallation creates a new mock instance.

func (*MockHelmInstallation) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHelmInstallation) Run

func (m *MockHelmInstallation) Run(chrt *chart.Chart, vals map[string]any) (*release.Release, error)

Run mocks base method.

type MockHelmInstallationMockRecorder

type MockHelmInstallationMockRecorder struct {
	// contains filtered or unexported fields
}

MockHelmInstallationMockRecorder is the mock recorder for MockHelmInstallation.

func (*MockHelmInstallationMockRecorder) Run

func (mr *MockHelmInstallationMockRecorder) Run(chrt, vals any) *gomock.Call

Run indicates an expected call of Run.

type MockHelmReleaseListRunner

type MockHelmReleaseListRunner struct {
	// contains filtered or unexported fields
}

MockHelmReleaseListRunner is a mock of HelmReleaseListRunner interface.

func NewMockHelmReleaseListRunner

func NewMockHelmReleaseListRunner(ctrl *gomock.Controller) *MockHelmReleaseListRunner

NewMockHelmReleaseListRunner creates a new mock instance.

func (*MockHelmReleaseListRunner) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHelmReleaseListRunner) Run

Run mocks base method.

func (*MockHelmReleaseListRunner) SetFilter

func (m *MockHelmReleaseListRunner) SetFilter(filter string)

SetFilter mocks base method.

type MockHelmReleaseListRunnerMockRecorder

type MockHelmReleaseListRunnerMockRecorder struct {
	// contains filtered or unexported fields
}

MockHelmReleaseListRunnerMockRecorder is the mock recorder for MockHelmReleaseListRunner.

func (*MockHelmReleaseListRunnerMockRecorder) Run

Run indicates an expected call of Run.

func (*MockHelmReleaseListRunnerMockRecorder) SetFilter

func (mr *MockHelmReleaseListRunnerMockRecorder) SetFilter(filter any) *gomock.Call

SetFilter indicates an expected call of SetFilter.

type MockHelmUninstallation

type MockHelmUninstallation struct {
	// contains filtered or unexported fields
}

MockHelmUninstallation is a mock of HelmUninstallation interface.

func NewMockHelmUninstallation

func NewMockHelmUninstallation(ctrl *gomock.Controller) *MockHelmUninstallation

NewMockHelmUninstallation creates a new mock instance.

func (*MockHelmUninstallation) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHelmUninstallation) Run

Run mocks base method.

type MockHelmUninstallationMockRecorder

type MockHelmUninstallationMockRecorder struct {
	// contains filtered or unexported fields
}

MockHelmUninstallationMockRecorder is the mock recorder for MockHelmUninstallation.

func (*MockHelmUninstallationMockRecorder) Run

Run indicates an expected call of Run.

Jump to

Keyboard shortcuts

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