Help us shape the future of Go! Take the 2026 Go Developer Survey

mock

package
v1.80.7 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 5 Imported by: 0

Documentation

Overview

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 MockFactory

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

MockFactory is a mock of Factory interface.

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance.

func (*MockFactory) EXPECT

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

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

func (*MockFactory) NewForConfig

func (m *MockFactory) NewForConfig(arg0 *rest.Config) (chartrenderer.Interface, error)

NewForConfig mocks base method.

type MockFactoryMockRecorder

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

MockFactoryMockRecorder is the mock recorder for MockFactory.

func (*MockFactoryMockRecorder) NewForConfig

func (mr *MockFactoryMockRecorder) NewForConfig(arg0 interface{}) *gomock.Call

NewForConfig indicates an expected call of NewForConfig.

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) EXPECT

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

func (*MockInterface) Render

func (m *MockInterface) Render(arg0, arg1, arg2 string, arg3 interface{}) (*chartrenderer.RenderedChart, error)

Render mocks base method.

func (*MockInterface) RenderArchive

func (m *MockInterface) RenderArchive(arg0 []byte, arg1, arg2 string, arg3 interface{}) (*chartrenderer.RenderedChart, error)

RenderArchive mocks base method.

func (*MockInterface) RenderEmbeddedFS added in v1.50.0

func (m *MockInterface) RenderEmbeddedFS(arg0 embed.FS, arg1, arg2, arg3 string, arg4 interface{}) (*chartrenderer.RenderedChart, error)

RenderEmbeddedFS mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) Render

func (mr *MockInterfaceMockRecorder) Render(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Render indicates an expected call of Render.

func (*MockInterfaceMockRecorder) RenderArchive

func (mr *MockInterfaceMockRecorder) RenderArchive(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

RenderArchive indicates an expected call of RenderArchive.

func (*MockInterfaceMockRecorder) RenderEmbeddedFS added in v1.50.0

func (mr *MockInterfaceMockRecorder) RenderEmbeddedFS(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

RenderEmbeddedFS indicates an expected call of RenderEmbeddedFS.

Jump to

Keyboard shortcuts

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