mocks

package
v1.16.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OutputResolver

type OutputResolver struct {
	mock.Mock
}

OutputResolver is an autogenerated mock type for the OutputResolver type

func NewOutputResolver added in v1.15.1

func NewOutputResolver(t interface {
	mock.TestingT
	Cleanup(func())
}) *OutputResolver

NewOutputResolver creates a new instance of OutputResolver. 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 (*OutputResolver) EXPECT added in v1.15.1

func (*OutputResolver) ExtractOutput

func (_m *OutputResolver) ExtractOutput(ctx context.Context, nl executors.NodeLookup, n v1alpha1.ExecutableNode, bindToVar string, bindAttrPath []*core.PromiseAttribute) (*core.Literal, error)

ExtractOutput provides a mock function with given fields: ctx, nl, n, bindToVar, bindAttrPath

type OutputResolver_Expecter added in v1.15.1

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

func (*OutputResolver_Expecter) ExtractOutput added in v1.15.1

func (_e *OutputResolver_Expecter) ExtractOutput(ctx interface{}, nl interface{}, n interface{}, bindToVar interface{}, bindAttrPath interface{}) *OutputResolver_ExtractOutput_Call

ExtractOutput is a helper method to define mock.On call

  • ctx context.Context
  • nl executors.NodeLookup
  • n v1alpha1.ExecutableNode
  • bindToVar string
  • bindAttrPath []*core.PromiseAttribute

type OutputResolver_ExtractOutput_Call added in v1.15.1

type OutputResolver_ExtractOutput_Call struct {
	*mock.Call
}

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

func (*OutputResolver_ExtractOutput_Call) Return added in v1.15.1

func (*OutputResolver_ExtractOutput_Call) Run added in v1.15.1

func (*OutputResolver_ExtractOutput_Call) RunAndReturn added in v1.15.1

Jump to

Keyboard shortcuts

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