mock

package
v0.1.63 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: interfaces.go

Generated by this command:

mockgen -source=interfaces.go -destination=mock/interfaces.go -package=mock

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDriver

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

MockDriver is a mock of Driver interface.

func NewMockDriver

func NewMockDriver(ctrl *gomock.Controller) *MockDriver

NewMockDriver creates a new mock instance.

func (*MockDriver) CreateOrUpdateCluster

func (m *MockDriver) CreateOrUpdateCluster(ctx context.Context, id *cd.ResourceIdentifier, cluster *cd.Cluster) error

CreateOrUpdateCluster mocks base method.

func (*MockDriver) CreateOrUpdateHelmApplication

func (m *MockDriver) CreateOrUpdateHelmApplication(ctx context.Context, id *cd.ResourceIdentifier, app *cd.HelmApplication) error

CreateOrUpdateHelmApplication mocks base method.

func (*MockDriver) DeleteCluster

func (m *MockDriver) DeleteCluster(ctx context.Context, id *cd.ResourceIdentifier) error

DeleteCluster mocks base method.

func (*MockDriver) DeleteHelmApplication

func (m *MockDriver) DeleteHelmApplication(ctx context.Context, id *cd.ResourceIdentifier, backgroundDelete bool) error

DeleteHelmApplication mocks base method.

func (*MockDriver) EXPECT

func (m *MockDriver) EXPECT() *MockDriverMockRecorder

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

func (*MockDriver) Kind

func (m *MockDriver) Kind() cd.DriverKind

Kind mocks base method.

type MockDriverMockRecorder

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

MockDriverMockRecorder is the mock recorder for MockDriver.

func (*MockDriverMockRecorder) CreateOrUpdateCluster

func (mr *MockDriverMockRecorder) CreateOrUpdateCluster(ctx, id, cluster any) *gomock.Call

CreateOrUpdateCluster indicates an expected call of CreateOrUpdateCluster.

func (*MockDriverMockRecorder) CreateOrUpdateHelmApplication

func (mr *MockDriverMockRecorder) CreateOrUpdateHelmApplication(ctx, id, app any) *gomock.Call

CreateOrUpdateHelmApplication indicates an expected call of CreateOrUpdateHelmApplication.

func (*MockDriverMockRecorder) DeleteCluster

func (mr *MockDriverMockRecorder) DeleteCluster(ctx, id any) *gomock.Call

DeleteCluster indicates an expected call of DeleteCluster.

func (*MockDriverMockRecorder) DeleteHelmApplication

func (mr *MockDriverMockRecorder) DeleteHelmApplication(ctx, id, backgroundDelete any) *gomock.Call

DeleteHelmApplication indicates an expected call of DeleteHelmApplication.

func (*MockDriverMockRecorder) Kind

func (mr *MockDriverMockRecorder) Kind() *gomock.Call

Kind indicates an expected call of Kind.

Jump to

Keyboard shortcuts

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