mock_extramanifest

package
v0.0.0-...-2707929 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: ../extramanifest.go

Generated by this command:

mockgen -source ../extramanifest.go -destination mock_extramanifest.go -write_generate_directive

Package mock_extramanifest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEManifestHandler

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

MockEManifestHandler is a mock of EManifestHandler interface.

func NewMockEManifestHandler

func NewMockEManifestHandler(ctrl *gomock.Controller) *MockEManifestHandler

NewMockEManifestHandler creates a new mock instance.

func (*MockEManifestHandler) ApplyExtraManifests

func (m *MockEManifestHandler) ApplyExtraManifests(ctx context.Context, fromDir string) error

ApplyExtraManifests mocks base method.

func (*MockEManifestHandler) EXPECT

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

func (*MockEManifestHandler) ExportExtraManifestToDir

func (m *MockEManifestHandler) ExportExtraManifestToDir(ctx context.Context, extraManifestCMs []v1.ConfigMapRef, toDir string) error

ExportExtraManifestToDir mocks base method.

func (*MockEManifestHandler) ExtractAndExportManifestFromPoliciesToDir

func (m *MockEManifestHandler) ExtractAndExportManifestFromPoliciesToDir(ctx context.Context, policyLabels, objectLabels, validationAnns map[string]string, toDir string) error

ExtractAndExportManifestFromPoliciesToDir mocks base method.

func (*MockEManifestHandler) ValidateAndExtractManifestFromPolicies

func (m *MockEManifestHandler) ValidateAndExtractManifestFromPolicies(ctx context.Context, policyLabels, objectLabels, validationAnns map[string]string) ([][]*unstructured.Unstructured, error)

ValidateAndExtractManifestFromPolicies mocks base method.

func (*MockEManifestHandler) ValidateExtraManifestConfigmaps

func (m *MockEManifestHandler) ValidateExtraManifestConfigmaps(ctx context.Context, extraManifestCMs []v1.ConfigMapRef) (string, error)

ValidateExtraManifestConfigmaps mocks base method.

type MockEManifestHandlerMockRecorder

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

MockEManifestHandlerMockRecorder is the mock recorder for MockEManifestHandler.

func (*MockEManifestHandlerMockRecorder) ApplyExtraManifests

func (mr *MockEManifestHandlerMockRecorder) ApplyExtraManifests(ctx, fromDir any) *gomock.Call

ApplyExtraManifests indicates an expected call of ApplyExtraManifests.

func (*MockEManifestHandlerMockRecorder) ExportExtraManifestToDir

func (mr *MockEManifestHandlerMockRecorder) ExportExtraManifestToDir(ctx, extraManifestCMs, toDir any) *gomock.Call

ExportExtraManifestToDir indicates an expected call of ExportExtraManifestToDir.

func (*MockEManifestHandlerMockRecorder) ExtractAndExportManifestFromPoliciesToDir

func (mr *MockEManifestHandlerMockRecorder) ExtractAndExportManifestFromPoliciesToDir(ctx, policyLabels, objectLabels, validationAnns, toDir any) *gomock.Call

ExtractAndExportManifestFromPoliciesToDir indicates an expected call of ExtractAndExportManifestFromPoliciesToDir.

func (*MockEManifestHandlerMockRecorder) ValidateAndExtractManifestFromPolicies

func (mr *MockEManifestHandlerMockRecorder) ValidateAndExtractManifestFromPolicies(ctx, policyLabels, objectLabels, validationAnns any) *gomock.Call

ValidateAndExtractManifestFromPolicies indicates an expected call of ValidateAndExtractManifestFromPolicies.

func (*MockEManifestHandlerMockRecorder) ValidateExtraManifestConfigmaps

func (mr *MockEManifestHandlerMockRecorder) ValidateExtraManifestConfigmaps(ctx, extraManifestCMs any) *gomock.Call

ValidateExtraManifestConfigmaps indicates an expected call of ValidateExtraManifestConfigmaps.

Jump to

Keyboard shortcuts

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