mocks

package
v0.3.40 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 8 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 MockLayerApplier

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

MockLayerApplier is a mock of LayerApplier interface

func NewMockLayerApplier

func NewMockLayerApplier(ctrl *gomock.Controller) *MockLayerApplier

NewMockLayerApplier creates a new mock instance

func (*MockLayerApplier) Adopt added in v0.3.0

Adopt mocks base method

func (*MockLayerApplier) Apply

func (m *MockLayerApplier) Apply(ctx context.Context, layer layers.Layer) error

Apply mocks base method

func (*MockLayerApplier) ApplyIsRequired

func (m *MockLayerApplier) ApplyIsRequired(ctx context.Context, layer layers.Layer) (bool, error)

ApplyIsRequired mocks base method

func (*MockLayerApplier) ApplyWasSuccessful

func (m *MockLayerApplier) ApplyWasSuccessful(ctx context.Context, layer layers.Layer) (bool, string, error)

ApplyWasSuccessful mocks base method

func (*MockLayerApplier) EXPECT

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

func (*MockLayerApplier) GetHelmReleases added in v0.3.0

func (m *MockLayerApplier) GetHelmReleases(ctx context.Context, layer layers.Layer) (map[string]*v2beta2.HelmRelease, error)

GetHelmReleases mocks base method

func (*MockLayerApplier) GetOrphanedHelmReleases added in v0.3.0

func (m *MockLayerApplier) GetOrphanedHelmReleases(ctx context.Context, layer layers.Layer) (map[string]*v2beta2.HelmRelease, error)

GetOrphanedHelmReleases mocks base method

func (*MockLayerApplier) GetResources

func (m *MockLayerApplier) GetResources(ctx context.Context, layer layers.Layer) ([]v1alpha1.Resource, error)

GetResources mocks base method

func (*MockLayerApplier) GetSourceAndClusterHelmReleases added in v0.3.0

func (m *MockLayerApplier) GetSourceAndClusterHelmReleases(ctx context.Context, layer layers.Layer) (map[string]*v2beta2.HelmRelease, map[string]*v2beta2.HelmRelease, error)

GetSourceAndClusterHelmReleases mocks base method

func (*MockLayerApplier) Orphan added in v0.3.0

func (m *MockLayerApplier) Orphan(ctx context.Context, layer layers.Layer, hr *v2beta2.HelmRelease) (bool, error)

Orphan mocks base method

func (*MockLayerApplier) Prune

func (m *MockLayerApplier) Prune(ctx context.Context, layer layers.Layer, pruneHrs []*v2beta2.HelmRelease) error

Prune mocks base method

func (*MockLayerApplier) PruneIsRequired

func (m *MockLayerApplier) PruneIsRequired(ctx context.Context, layer layers.Layer) (bool, []*v2beta2.HelmRelease, error)

PruneIsRequired mocks base method

type MockLayerApplierMockRecorder

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

MockLayerApplierMockRecorder is the mock recorder for MockLayerApplier

func (*MockLayerApplierMockRecorder) Adopt added in v0.3.0

func (mr *MockLayerApplierMockRecorder) Adopt(ctx, layer, hr interface{}) *gomock.Call

Adopt indicates an expected call of Adopt

func (*MockLayerApplierMockRecorder) Apply

func (mr *MockLayerApplierMockRecorder) Apply(ctx, layer interface{}) *gomock.Call

Apply indicates an expected call of Apply

func (*MockLayerApplierMockRecorder) ApplyIsRequired

func (mr *MockLayerApplierMockRecorder) ApplyIsRequired(ctx, layer interface{}) *gomock.Call

ApplyIsRequired indicates an expected call of ApplyIsRequired

func (*MockLayerApplierMockRecorder) ApplyWasSuccessful

func (mr *MockLayerApplierMockRecorder) ApplyWasSuccessful(ctx, layer interface{}) *gomock.Call

ApplyWasSuccessful indicates an expected call of ApplyWasSuccessful

func (*MockLayerApplierMockRecorder) GetHelmReleases added in v0.3.0

func (mr *MockLayerApplierMockRecorder) GetHelmReleases(ctx, layer interface{}) *gomock.Call

GetHelmReleases indicates an expected call of GetHelmReleases

func (*MockLayerApplierMockRecorder) GetOrphanedHelmReleases added in v0.3.0

func (mr *MockLayerApplierMockRecorder) GetOrphanedHelmReleases(ctx, layer interface{}) *gomock.Call

GetOrphanedHelmReleases indicates an expected call of GetOrphanedHelmReleases

func (*MockLayerApplierMockRecorder) GetResources

func (mr *MockLayerApplierMockRecorder) GetResources(ctx, layer interface{}) *gomock.Call

GetResources indicates an expected call of GetResources

func (*MockLayerApplierMockRecorder) GetSourceAndClusterHelmReleases added in v0.3.0

func (mr *MockLayerApplierMockRecorder) GetSourceAndClusterHelmReleases(ctx, layer interface{}) *gomock.Call

GetSourceAndClusterHelmReleases indicates an expected call of GetSourceAndClusterHelmReleases

func (*MockLayerApplierMockRecorder) Orphan added in v0.3.0

func (mr *MockLayerApplierMockRecorder) Orphan(ctx, layer, hr interface{}) *gomock.Call

Orphan indicates an expected call of Orphan

func (*MockLayerApplierMockRecorder) Prune

func (mr *MockLayerApplierMockRecorder) Prune(ctx, layer, pruneHrs interface{}) *gomock.Call

Prune indicates an expected call of Prune

func (*MockLayerApplierMockRecorder) PruneIsRequired

func (mr *MockLayerApplierMockRecorder) PruneIsRequired(ctx, layer interface{}) *gomock.Call

PruneIsRequired indicates an expected call of PruneIsRequired

Jump to

Keyboard shortcuts

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