mocks

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 MockPackageDriver

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

MockPackageDriver is a mock of PackageDriver interface.

func NewMockPackageDriver

func NewMockPackageDriver(ctrl *gomock.Controller) *MockPackageDriver

NewMockPackageDriver creates a new mock instance.

func (*MockPackageDriver) EXPECT

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

func (*MockPackageDriver) Initialize added in v0.2.8

func (m *MockPackageDriver) Initialize(ctx context.Context, clusterName string) error

Initialize mocks base method.

func (*MockPackageDriver) Install

func (m *MockPackageDriver) Install(ctx context.Context, name, namespace string, createNamespace bool, source v1alpha1.PackageOCISource, values map[string]interface{}) error

Install mocks base method.

func (*MockPackageDriver) IsConfigChanged added in v0.1.7

func (m *MockPackageDriver) IsConfigChanged(ctx context.Context, name string, values map[string]interface{}) (bool, error)

IsConfigChanged mocks base method.

func (*MockPackageDriver) Uninstall

func (m *MockPackageDriver) Uninstall(ctx context.Context, name string) error

Uninstall mocks base method.

type MockPackageDriverMockRecorder

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

MockPackageDriverMockRecorder is the mock recorder for MockPackageDriver.

func (*MockPackageDriverMockRecorder) Initialize added in v0.2.8

func (mr *MockPackageDriverMockRecorder) Initialize(ctx, clusterName interface{}) *gomock.Call

Initialize indicates an expected call of Initialize.

func (*MockPackageDriverMockRecorder) Install

func (mr *MockPackageDriverMockRecorder) Install(ctx, name, namespace, createNamespace, source, values interface{}) *gomock.Call

Install indicates an expected call of Install.

func (*MockPackageDriverMockRecorder) IsConfigChanged added in v0.1.7

func (mr *MockPackageDriverMockRecorder) IsConfigChanged(ctx, name, values interface{}) *gomock.Call

IsConfigChanged indicates an expected call of IsConfigChanged.

func (*MockPackageDriverMockRecorder) Uninstall

func (mr *MockPackageDriverMockRecorder) Uninstall(ctx, name interface{}) *gomock.Call

Uninstall indicates an expected call of Uninstall.

Jump to

Keyboard shortcuts

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