clientfakes

package
v0.1.40 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeExecer

type FakeExecer struct {
	CreateStub func(context.Context, string, string, types.ExecCreateParams) (*types.Exec, error)

	ExecStub func(context.Context, []string, string, *string) (*types.Exec, error)

	GetStub func(context.Context, string, string, string) (*types.Exec, error)

	ListStub func(context.Context, string, string, bool) ([]types.Exec, error)

	TerminateStub func(context.Context, string, string, string) error
	// contains filtered or unexported fields
}

func (*FakeExecer) Create

func (fake *FakeExecer) Create(arg1 context.Context, arg2 string, arg3 string, arg4 types.ExecCreateParams) (*types.Exec, error)

func (*FakeExecer) CreateArgsForCall

func (fake *FakeExecer) CreateArgsForCall(i int) (context.Context, string, string, types.ExecCreateParams)

func (*FakeExecer) CreateCallCount

func (fake *FakeExecer) CreateCallCount() int

func (*FakeExecer) CreateCalls

func (fake *FakeExecer) CreateCalls(stub func(context.Context, string, string, types.ExecCreateParams) (*types.Exec, error))

func (*FakeExecer) CreateReturns

func (fake *FakeExecer) CreateReturns(result1 *types.Exec, result2 error)

func (*FakeExecer) CreateReturnsOnCall

func (fake *FakeExecer) CreateReturnsOnCall(i int, result1 *types.Exec, result2 error)

func (*FakeExecer) Exec

func (fake *FakeExecer) Exec(arg1 context.Context, arg2 []string, arg3 string, arg4 *string) (*types.Exec, error)

func (*FakeExecer) ExecArgsForCall

func (fake *FakeExecer) ExecArgsForCall(i int) (context.Context, []string, string, *string)

func (*FakeExecer) ExecCallCount

func (fake *FakeExecer) ExecCallCount() int

func (*FakeExecer) ExecCalls

func (fake *FakeExecer) ExecCalls(stub func(context.Context, []string, string, *string) (*types.Exec, error))

func (*FakeExecer) ExecReturns

func (fake *FakeExecer) ExecReturns(result1 *types.Exec, result2 error)

func (*FakeExecer) ExecReturnsOnCall

func (fake *FakeExecer) ExecReturnsOnCall(i int, result1 *types.Exec, result2 error)

func (*FakeExecer) Get

func (fake *FakeExecer) Get(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*types.Exec, error)

func (*FakeExecer) GetArgsForCall

func (fake *FakeExecer) GetArgsForCall(i int) (context.Context, string, string, string)

func (*FakeExecer) GetCallCount

func (fake *FakeExecer) GetCallCount() int

func (*FakeExecer) GetCalls

func (fake *FakeExecer) GetCalls(stub func(context.Context, string, string, string) (*types.Exec, error))

func (*FakeExecer) GetReturns

func (fake *FakeExecer) GetReturns(result1 *types.Exec, result2 error)

func (*FakeExecer) GetReturnsOnCall

func (fake *FakeExecer) GetReturnsOnCall(i int, result1 *types.Exec, result2 error)

func (*FakeExecer) Invocations

func (fake *FakeExecer) Invocations() map[string][][]interface{}

func (*FakeExecer) List

func (fake *FakeExecer) List(arg1 context.Context, arg2 string, arg3 string, arg4 bool) ([]types.Exec, error)

func (*FakeExecer) ListArgsForCall

func (fake *FakeExecer) ListArgsForCall(i int) (context.Context, string, string, bool)

func (*FakeExecer) ListCallCount

func (fake *FakeExecer) ListCallCount() int

func (*FakeExecer) ListCalls

func (fake *FakeExecer) ListCalls(stub func(context.Context, string, string, bool) ([]types.Exec, error))

func (*FakeExecer) ListReturns

func (fake *FakeExecer) ListReturns(result1 []types.Exec, result2 error)

func (*FakeExecer) ListReturnsOnCall

func (fake *FakeExecer) ListReturnsOnCall(i int, result1 []types.Exec, result2 error)

func (*FakeExecer) Terminate

func (fake *FakeExecer) Terminate(arg1 context.Context, arg2 string, arg3 string, arg4 string) error

func (*FakeExecer) TerminateArgsForCall

func (fake *FakeExecer) TerminateArgsForCall(i int) (context.Context, string, string, string)

func (*FakeExecer) TerminateCallCount

func (fake *FakeExecer) TerminateCallCount() int

func (*FakeExecer) TerminateCalls

func (fake *FakeExecer) TerminateCalls(stub func(context.Context, string, string, string) error)

func (*FakeExecer) TerminateReturns

func (fake *FakeExecer) TerminateReturns(result1 error)

func (*FakeExecer) TerminateReturnsOnCall

func (fake *FakeExecer) TerminateReturnsOnCall(i int, result1 error)

type FakeProvider

type FakeProvider struct {
	ListNodeTypesStub func(context.Context, types.Provider, bool) ([]types.NodeType, error)
	// contains filtered or unexported fields
}

func (*FakeProvider) Invocations

func (fake *FakeProvider) Invocations() map[string][][]interface{}

func (*FakeProvider) ListNodeTypes

func (fake *FakeProvider) ListNodeTypes(arg1 context.Context, arg2 types.Provider, arg3 bool) ([]types.NodeType, error)

func (*FakeProvider) ListNodeTypesArgsForCall

func (fake *FakeProvider) ListNodeTypesArgsForCall(i int) (context.Context, types.Provider, bool)

func (*FakeProvider) ListNodeTypesCallCount

func (fake *FakeProvider) ListNodeTypesCallCount() int

func (*FakeProvider) ListNodeTypesCalls

func (fake *FakeProvider) ListNodeTypesCalls(stub func(context.Context, types.Provider, bool) ([]types.NodeType, error))

func (*FakeProvider) ListNodeTypesReturns

func (fake *FakeProvider) ListNodeTypesReturns(result1 []types.NodeType, result2 error)

func (*FakeProvider) ListNodeTypesReturnsOnCall

func (fake *FakeProvider) ListNodeTypesReturnsOnCall(i int, result1 []types.NodeType, result2 error)

Jump to

Keyboard shortcuts

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