fakes

package
v0.0.0-...-410f0c4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 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 HCSClient

type HCSClient struct {
	GetContainerPropertiesStub func(string) (hcsshim.ContainerProperties, error)
	// contains filtered or unexported fields
}

func (*HCSClient) GetContainerProperties

func (fake *HCSClient) GetContainerProperties(arg1 string) (hcsshim.ContainerProperties, error)

func (*HCSClient) GetContainerPropertiesArgsForCall

func (fake *HCSClient) GetContainerPropertiesArgsForCall(i int) string

func (*HCSClient) GetContainerPropertiesCallCount

func (fake *HCSClient) GetContainerPropertiesCallCount() int

func (*HCSClient) GetContainerPropertiesReturns

func (fake *HCSClient) GetContainerPropertiesReturns(result1 hcsshim.ContainerProperties, result2 error)

func (*HCSClient) GetContainerPropertiesReturnsOnCall

func (fake *HCSClient) GetContainerPropertiesReturnsOnCall(i int, result1 hcsshim.ContainerProperties, result2 error)

func (*HCSClient) Invocations

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

type WinSyscall

type WinSyscall struct {
	OpenProcessStub func(uint32, bool, uint32) (syscall.Handle, error)

	GetProcessStartTimeStub func(syscall.Handle) (syscall.Filetime, error)

	CloseHandleStub func(syscall.Handle) error

	GetExitCodeProcessStub func(syscall.Handle) (uint32, error)
	// contains filtered or unexported fields
}

func (*WinSyscall) CloseHandle

func (fake *WinSyscall) CloseHandle(arg1 syscall.Handle) error

func (*WinSyscall) CloseHandleArgsForCall

func (fake *WinSyscall) CloseHandleArgsForCall(i int) syscall.Handle

func (*WinSyscall) CloseHandleCallCount

func (fake *WinSyscall) CloseHandleCallCount() int

func (*WinSyscall) CloseHandleReturns

func (fake *WinSyscall) CloseHandleReturns(result1 error)

func (*WinSyscall) CloseHandleReturnsOnCall

func (fake *WinSyscall) CloseHandleReturnsOnCall(i int, result1 error)

func (*WinSyscall) GetExitCodeProcess

func (fake *WinSyscall) GetExitCodeProcess(arg1 syscall.Handle) (uint32, error)

func (*WinSyscall) GetExitCodeProcessArgsForCall

func (fake *WinSyscall) GetExitCodeProcessArgsForCall(i int) syscall.Handle

func (*WinSyscall) GetExitCodeProcessCallCount

func (fake *WinSyscall) GetExitCodeProcessCallCount() int

func (*WinSyscall) GetExitCodeProcessReturns

func (fake *WinSyscall) GetExitCodeProcessReturns(result1 uint32, result2 error)

func (*WinSyscall) GetExitCodeProcessReturnsOnCall

func (fake *WinSyscall) GetExitCodeProcessReturnsOnCall(i int, result1 uint32, result2 error)

func (*WinSyscall) GetProcessStartTime

func (fake *WinSyscall) GetProcessStartTime(arg1 syscall.Handle) (syscall.Filetime, error)

func (*WinSyscall) GetProcessStartTimeArgsForCall

func (fake *WinSyscall) GetProcessStartTimeArgsForCall(i int) syscall.Handle

func (*WinSyscall) GetProcessStartTimeCallCount

func (fake *WinSyscall) GetProcessStartTimeCallCount() int

func (*WinSyscall) GetProcessStartTimeReturns

func (fake *WinSyscall) GetProcessStartTimeReturns(result1 syscall.Filetime, result2 error)

func (*WinSyscall) GetProcessStartTimeReturnsOnCall

func (fake *WinSyscall) GetProcessStartTimeReturnsOnCall(i int, result1 syscall.Filetime, result2 error)

func (*WinSyscall) Invocations

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

func (*WinSyscall) OpenProcess

func (fake *WinSyscall) OpenProcess(arg1 uint32, arg2 bool, arg3 uint32) (syscall.Handle, error)

func (*WinSyscall) OpenProcessArgsForCall

func (fake *WinSyscall) OpenProcessArgsForCall(i int) (uint32, bool, uint32)

func (*WinSyscall) OpenProcessCallCount

func (fake *WinSyscall) OpenProcessCallCount() int

func (*WinSyscall) OpenProcessReturns

func (fake *WinSyscall) OpenProcessReturns(result1 syscall.Handle, result2 error)

func (*WinSyscall) OpenProcessReturnsOnCall

func (fake *WinSyscall) OpenProcessReturnsOnCall(i int, result1 syscall.Handle, result2 error)

Jump to

Keyboard shortcuts

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