mocks

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 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 MockBundleRegistry

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

MockBundleRegistry is a mock of BundleRegistry interface.

func NewMockBundleRegistry

func NewMockBundleRegistry(ctrl *gomock.Controller) *MockBundleRegistry

NewMockBundleRegistry creates a new mock instance.

func (*MockBundleRegistry) EXPECT

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

func (*MockBundleRegistry) GetRegistryBaseRef

func (m *MockBundleRegistry) GetRegistryBaseRef(ctx context.Context) (string, error)

GetRegistryBaseRef mocks base method.

type MockBundleRegistryMockRecorder

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

MockBundleRegistryMockRecorder is the mock recorder for MockBundleRegistry.

func (*MockBundleRegistryMockRecorder) GetRegistryBaseRef

func (mr *MockBundleRegistryMockRecorder) GetRegistryBaseRef(ctx interface{}) *gomock.Call

GetRegistryBaseRef indicates an expected call of GetRegistryBaseRef.

type MockChartInstaller

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

MockChartInstaller is a mock of ChartInstaller interface.

func NewMockChartInstaller

func NewMockChartInstaller(ctrl *gomock.Controller) *MockChartInstaller

NewMockChartInstaller creates a new mock instance.

func (*MockChartInstaller) EXPECT

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

func (*MockChartInstaller) InstallChart added in v0.9.2

func (m *MockChartInstaller) InstallChart(ctx context.Context, chart, ociURI, version, kubeconfigFilePath string, values []string) error

InstallChart mocks base method.

type MockChartInstallerMockRecorder

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

MockChartInstallerMockRecorder is the mock recorder for MockChartInstaller.

func (*MockChartInstallerMockRecorder) InstallChart added in v0.9.2

func (mr *MockChartInstallerMockRecorder) InstallChart(ctx, chart, ociURI, version, kubeconfigFilePath, values interface{}) *gomock.Call

InstallChart indicates an expected call of InstallChart.

type MockKubectlRunner

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

MockKubectlRunner is a mock of KubectlRunner interface.

func NewMockKubectlRunner

func NewMockKubectlRunner(ctrl *gomock.Controller) *MockKubectlRunner

NewMockKubectlRunner creates a new mock instance.

func (*MockKubectlRunner) CreateFromYaml

func (m *MockKubectlRunner) CreateFromYaml(ctx context.Context, yaml []byte, opts ...string) (bytes.Buffer, error)

CreateFromYaml mocks base method.

func (*MockKubectlRunner) EXPECT

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

func (*MockKubectlRunner) ExecuteCommand

func (m *MockKubectlRunner) ExecuteCommand(ctx context.Context, opts ...string) (bytes.Buffer, error)

ExecuteCommand mocks base method.

func (*MockKubectlRunner) GetResource

func (m *MockKubectlRunner) GetResource(ctx context.Context, resourceType, name, kubeconfig, namespace string) (bool, error)

GetResource mocks base method.

type MockKubectlRunnerMockRecorder

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

MockKubectlRunnerMockRecorder is the mock recorder for MockKubectlRunner.

func (*MockKubectlRunnerMockRecorder) CreateFromYaml

func (mr *MockKubectlRunnerMockRecorder) CreateFromYaml(ctx, yaml interface{}, opts ...interface{}) *gomock.Call

CreateFromYaml indicates an expected call of CreateFromYaml.

func (*MockKubectlRunnerMockRecorder) ExecuteCommand

func (mr *MockKubectlRunnerMockRecorder) ExecuteCommand(ctx interface{}, opts ...interface{}) *gomock.Call

ExecuteCommand indicates an expected call of ExecuteCommand.

func (*MockKubectlRunnerMockRecorder) GetResource

func (mr *MockKubectlRunnerMockRecorder) GetResource(ctx, resourceType, name, kubeconfig, namespace interface{}) *gomock.Call

GetResource indicates an expected call of GetResource.

type MockManager

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

MockManager is a mock of Manager interface.

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) LatestBundle

func (m *MockManager) LatestBundle(ctx context.Context, baseRef string) (*v1alpha1.PackageBundle, error)

LatestBundle mocks base method.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) LatestBundle

func (mr *MockManagerMockRecorder) LatestBundle(ctx, baseRef interface{}) *gomock.Call

LatestBundle indicates an expected call of LatestBundle.

type MockReader

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

MockReader is a mock of Reader interface.

func NewMockReader

func NewMockReader(ctrl *gomock.Controller) *MockReader

NewMockReader creates a new mock instance.

func (*MockReader) EXPECT

func (m *MockReader) EXPECT() *MockReaderMockRecorder

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

func (*MockReader) ReadBundlesForVersion

func (m *MockReader) ReadBundlesForVersion(eksaVersion string) (*v1alpha1.Bundles, error)

ReadBundlesForVersion mocks base method.

type MockReaderMockRecorder

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

MockReaderMockRecorder is the mock recorder for MockReader.

func (*MockReaderMockRecorder) ReadBundlesForVersion

func (mr *MockReaderMockRecorder) ReadBundlesForVersion(eksaVersion interface{}) *gomock.Call

ReadBundlesForVersion indicates an expected call of ReadBundlesForVersion.

Jump to

Keyboard shortcuts

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