mocks

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 5 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 MockTemplater

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

MockTemplater is a mock of Templater interface.

func NewMockTemplater

func NewMockTemplater(ctrl *gomock.Controller) *MockTemplater

NewMockTemplater creates a new mock instance.

func (*MockTemplater) EXPECT

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

func (*MockTemplater) GenerateManifest

func (m *MockTemplater) GenerateManifest(ctx context.Context, spec *cluster.Spec, opts ...cilium.ManifestOpt) ([]byte, error)

GenerateManifest mocks base method.

func (*MockTemplater) GenerateUpgradePreflightManifest

func (m *MockTemplater) GenerateUpgradePreflightManifest(ctx context.Context, spec *cluster.Spec) ([]byte, error)

GenerateUpgradePreflightManifest mocks base method.

type MockTemplaterMockRecorder

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

MockTemplaterMockRecorder is the mock recorder for MockTemplater.

func (*MockTemplaterMockRecorder) GenerateManifest

func (mr *MockTemplaterMockRecorder) GenerateManifest(ctx, spec interface{}, opts ...interface{}) *gomock.Call

GenerateManifest indicates an expected call of GenerateManifest.

func (*MockTemplaterMockRecorder) GenerateUpgradePreflightManifest

func (mr *MockTemplaterMockRecorder) GenerateUpgradePreflightManifest(ctx, spec interface{}) *gomock.Call

GenerateUpgradePreflightManifest indicates an expected call of GenerateUpgradePreflightManifest.

Jump to

Keyboard shortcuts

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