nerdfakes

package
v0.0.0-...-92b327a Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 5 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 FakeIO

type FakeIO struct {
	CancelStub func()

	CloseStub func() error

	ConfigStub func() cio.Config

	WaitStub func()
	// contains filtered or unexported fields
}

func (*FakeIO) Cancel

func (fake *FakeIO) Cancel()

func (*FakeIO) CancelCallCount

func (fake *FakeIO) CancelCallCount() int

func (*FakeIO) CancelCalls

func (fake *FakeIO) CancelCalls(stub func())

func (*FakeIO) Close

func (fake *FakeIO) Close() error

func (*FakeIO) CloseCallCount

func (fake *FakeIO) CloseCallCount() int

func (*FakeIO) CloseCalls

func (fake *FakeIO) CloseCalls(stub func() error)

func (*FakeIO) CloseReturns

func (fake *FakeIO) CloseReturns(result1 error)

func (*FakeIO) CloseReturnsOnCall

func (fake *FakeIO) CloseReturnsOnCall(i int, result1 error)

func (*FakeIO) Config

func (fake *FakeIO) Config() cio.Config

func (*FakeIO) ConfigCallCount

func (fake *FakeIO) ConfigCallCount() int

func (*FakeIO) ConfigCalls

func (fake *FakeIO) ConfigCalls(stub func() cio.Config)

func (*FakeIO) ConfigReturns

func (fake *FakeIO) ConfigReturns(result1 cio.Config)

func (*FakeIO) ConfigReturnsOnCall

func (fake *FakeIO) ConfigReturnsOnCall(i int, result1 cio.Config)

func (*FakeIO) Invocations

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

func (*FakeIO) Wait

func (fake *FakeIO) Wait()

func (*FakeIO) WaitCallCount

func (fake *FakeIO) WaitCallCount() int

func (*FakeIO) WaitCalls

func (fake *FakeIO) WaitCalls(stub func())

type FakeProcess

type FakeProcess struct {
	CloseIOStub func(context.Context, ...containerd.IOCloserOpts) error

	DeleteStub func(context.Context, ...containerd.ProcessDeleteOpts) (*containerd.ExitStatus, error)

	IDStub func() string

	IOStub func() cio.IO

	KillStub func(context.Context, syscall.Signal, ...containerd.KillOpts) error

	PidStub func() uint32

	ResizeStub func(context.Context, uint32, uint32) error

	StartStub func(context.Context) error

	StatusStub func(context.Context) (containerd.Status, error)

	WaitStub func(context.Context) (<-chan containerd.ExitStatus, error)
	// contains filtered or unexported fields
}

func (*FakeProcess) CloseIO

func (fake *FakeProcess) CloseIO(arg1 context.Context, arg2 ...containerd.IOCloserOpts) error

func (*FakeProcess) CloseIOArgsForCall

func (fake *FakeProcess) CloseIOArgsForCall(i int) (context.Context, []containerd.IOCloserOpts)

func (*FakeProcess) CloseIOCallCount

func (fake *FakeProcess) CloseIOCallCount() int

func (*FakeProcess) CloseIOCalls

func (fake *FakeProcess) CloseIOCalls(stub func(context.Context, ...containerd.IOCloserOpts) error)

func (*FakeProcess) CloseIOReturns

func (fake *FakeProcess) CloseIOReturns(result1 error)

func (*FakeProcess) CloseIOReturnsOnCall

func (fake *FakeProcess) CloseIOReturnsOnCall(i int, result1 error)

func (*FakeProcess) Delete

func (*FakeProcess) DeleteArgsForCall

func (fake *FakeProcess) DeleteArgsForCall(i int) (context.Context, []containerd.ProcessDeleteOpts)

func (*FakeProcess) DeleteCallCount

func (fake *FakeProcess) DeleteCallCount() int

func (*FakeProcess) DeleteCalls

func (fake *FakeProcess) DeleteCalls(stub func(context.Context, ...containerd.ProcessDeleteOpts) (*containerd.ExitStatus, error))

func (*FakeProcess) DeleteReturns

func (fake *FakeProcess) DeleteReturns(result1 *containerd.ExitStatus, result2 error)

func (*FakeProcess) DeleteReturnsOnCall

func (fake *FakeProcess) DeleteReturnsOnCall(i int, result1 *containerd.ExitStatus, result2 error)

func (*FakeProcess) ID

func (fake *FakeProcess) ID() string

func (*FakeProcess) IDCallCount

func (fake *FakeProcess) IDCallCount() int

func (*FakeProcess) IDCalls

func (fake *FakeProcess) IDCalls(stub func() string)

func (*FakeProcess) IDReturns

func (fake *FakeProcess) IDReturns(result1 string)

func (*FakeProcess) IDReturnsOnCall

func (fake *FakeProcess) IDReturnsOnCall(i int, result1 string)

func (*FakeProcess) IO

func (fake *FakeProcess) IO() cio.IO

func (*FakeProcess) IOCallCount

func (fake *FakeProcess) IOCallCount() int

func (*FakeProcess) IOCalls

func (fake *FakeProcess) IOCalls(stub func() cio.IO)

func (*FakeProcess) IOReturns

func (fake *FakeProcess) IOReturns(result1 cio.IO)

func (*FakeProcess) IOReturnsOnCall

func (fake *FakeProcess) IOReturnsOnCall(i int, result1 cio.IO)

func (*FakeProcess) Invocations

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

func (*FakeProcess) Kill

func (fake *FakeProcess) Kill(arg1 context.Context, arg2 syscall.Signal, arg3 ...containerd.KillOpts) error

func (*FakeProcess) KillArgsForCall

func (fake *FakeProcess) KillArgsForCall(i int) (context.Context, syscall.Signal, []containerd.KillOpts)

func (*FakeProcess) KillCallCount

func (fake *FakeProcess) KillCallCount() int

func (*FakeProcess) KillCalls

func (fake *FakeProcess) KillCalls(stub func(context.Context, syscall.Signal, ...containerd.KillOpts) error)

func (*FakeProcess) KillReturns

func (fake *FakeProcess) KillReturns(result1 error)

func (*FakeProcess) KillReturnsOnCall

func (fake *FakeProcess) KillReturnsOnCall(i int, result1 error)

func (*FakeProcess) Pid

func (fake *FakeProcess) Pid() uint32

func (*FakeProcess) PidCallCount

func (fake *FakeProcess) PidCallCount() int

func (*FakeProcess) PidCalls

func (fake *FakeProcess) PidCalls(stub func() uint32)

func (*FakeProcess) PidReturns

func (fake *FakeProcess) PidReturns(result1 uint32)

func (*FakeProcess) PidReturnsOnCall

func (fake *FakeProcess) PidReturnsOnCall(i int, result1 uint32)

func (*FakeProcess) Resize

func (fake *FakeProcess) Resize(arg1 context.Context, arg2 uint32, arg3 uint32) error

func (*FakeProcess) ResizeArgsForCall

func (fake *FakeProcess) ResizeArgsForCall(i int) (context.Context, uint32, uint32)

func (*FakeProcess) ResizeCallCount

func (fake *FakeProcess) ResizeCallCount() int

func (*FakeProcess) ResizeCalls

func (fake *FakeProcess) ResizeCalls(stub func(context.Context, uint32, uint32) error)

func (*FakeProcess) ResizeReturns

func (fake *FakeProcess) ResizeReturns(result1 error)

func (*FakeProcess) ResizeReturnsOnCall

func (fake *FakeProcess) ResizeReturnsOnCall(i int, result1 error)

func (*FakeProcess) Start

func (fake *FakeProcess) Start(arg1 context.Context) error

func (*FakeProcess) StartArgsForCall

func (fake *FakeProcess) StartArgsForCall(i int) context.Context

func (*FakeProcess) StartCallCount

func (fake *FakeProcess) StartCallCount() int

func (*FakeProcess) StartCalls

func (fake *FakeProcess) StartCalls(stub func(context.Context) error)

func (*FakeProcess) StartReturns

func (fake *FakeProcess) StartReturns(result1 error)

func (*FakeProcess) StartReturnsOnCall

func (fake *FakeProcess) StartReturnsOnCall(i int, result1 error)

func (*FakeProcess) Status

func (fake *FakeProcess) Status(arg1 context.Context) (containerd.Status, error)

func (*FakeProcess) StatusArgsForCall

func (fake *FakeProcess) StatusArgsForCall(i int) context.Context

func (*FakeProcess) StatusCallCount

func (fake *FakeProcess) StatusCallCount() int

func (*FakeProcess) StatusCalls

func (fake *FakeProcess) StatusCalls(stub func(context.Context) (containerd.Status, error))

func (*FakeProcess) StatusReturns

func (fake *FakeProcess) StatusReturns(result1 containerd.Status, result2 error)

func (*FakeProcess) StatusReturnsOnCall

func (fake *FakeProcess) StatusReturnsOnCall(i int, result1 containerd.Status, result2 error)

func (*FakeProcess) Wait

func (fake *FakeProcess) Wait(arg1 context.Context) (<-chan containerd.ExitStatus, error)

func (*FakeProcess) WaitArgsForCall

func (fake *FakeProcess) WaitArgsForCall(i int) context.Context

func (*FakeProcess) WaitCallCount

func (fake *FakeProcess) WaitCallCount() int

func (*FakeProcess) WaitCalls

func (fake *FakeProcess) WaitCalls(stub func(context.Context) (<-chan containerd.ExitStatus, error))

func (*FakeProcess) WaitReturns

func (fake *FakeProcess) WaitReturns(result1 <-chan containerd.ExitStatus, result2 error)

func (*FakeProcess) WaitReturnsOnCall

func (fake *FakeProcess) WaitReturnsOnCall(i int, result1 <-chan containerd.ExitStatus, result2 error)

Jump to

Keyboard shortcuts

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