mocks

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Renderer

type Renderer struct {
	mock.Mock
}

Renderer is an autogenerated mock type for the Renderer type

func NewRenderer

func NewRenderer(t interface {
	mock.TestingT
	Cleanup(func())
}) *Renderer

NewRenderer creates a new instance of Renderer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Renderer) EXPECT

func (_m *Renderer) EXPECT() *Renderer_Expecter

func (*Renderer) RenderManifest

func (_m *Renderer) RenderManifest(_a0 *chart.ReleaseInstance) (string, error)

RenderManifest provides a mock function with given fields: _a0

func (*Renderer) RenderManifestAsUnstructured

func (_m *Renderer) RenderManifestAsUnstructured(_a0 *chart.ReleaseInstance) (*chart.ManifestResources, error)

RenderManifestAsUnstructured provides a mock function with given fields: _a0

type Renderer_Expecter

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

func (*Renderer_Expecter) RenderManifest

func (_e *Renderer_Expecter) RenderManifest(_a0 interface{}) *Renderer_RenderManifest_Call

RenderManifest is a helper method to define mock.On call

  • _a0 *chart.ReleaseInstance

func (*Renderer_Expecter) RenderManifestAsUnstructured

func (_e *Renderer_Expecter) RenderManifestAsUnstructured(_a0 interface{}) *Renderer_RenderManifestAsUnstructured_Call

RenderManifestAsUnstructured is a helper method to define mock.On call

  • _a0 *chart.ReleaseInstance

type Renderer_RenderManifestAsUnstructured_Call

type Renderer_RenderManifestAsUnstructured_Call struct {
	*mock.Call
}

Renderer_RenderManifestAsUnstructured_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RenderManifestAsUnstructured'

func (*Renderer_RenderManifestAsUnstructured_Call) Return

func (*Renderer_RenderManifestAsUnstructured_Call) Run

func (*Renderer_RenderManifestAsUnstructured_Call) RunAndReturn

type Renderer_RenderManifest_Call

type Renderer_RenderManifest_Call struct {
	*mock.Call
}

Renderer_RenderManifest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RenderManifest'

func (*Renderer_RenderManifest_Call) Return

func (*Renderer_RenderManifest_Call) Run

func (*Renderer_RenderManifest_Call) RunAndReturn

Jump to

Keyboard shortcuts

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