hostfakes

package
v3.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 FakeInfoInterface

type FakeInfoInterface struct {
	ContainerInfoStub func(context.Context) (*v1.Resource_ContainerInfo, error)

	HostInfoStub func(context.Context) (*v1.Resource_HostInfo, error)

	IsContainerStub func() (bool, error)

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

func (*FakeInfoInterface) ContainerInfo

func (fake *FakeInfoInterface) ContainerInfo(arg1 context.Context) (*v1.Resource_ContainerInfo, error)

func (*FakeInfoInterface) ContainerInfoArgsForCall

func (fake *FakeInfoInterface) ContainerInfoArgsForCall(i int) context.Context

func (*FakeInfoInterface) ContainerInfoCallCount

func (fake *FakeInfoInterface) ContainerInfoCallCount() int

func (*FakeInfoInterface) ContainerInfoCalls

func (fake *FakeInfoInterface) ContainerInfoCalls(stub func(context.Context) (*v1.Resource_ContainerInfo, error))

func (*FakeInfoInterface) ContainerInfoReturns

func (fake *FakeInfoInterface) ContainerInfoReturns(result1 *v1.Resource_ContainerInfo, result2 error)

func (*FakeInfoInterface) ContainerInfoReturnsOnCall

func (fake *FakeInfoInterface) ContainerInfoReturnsOnCall(i int, result1 *v1.Resource_ContainerInfo, result2 error)

func (*FakeInfoInterface) HostInfo

func (fake *FakeInfoInterface) HostInfo(arg1 context.Context) (*v1.Resource_HostInfo, error)

func (*FakeInfoInterface) HostInfoArgsForCall

func (fake *FakeInfoInterface) HostInfoArgsForCall(i int) context.Context

func (*FakeInfoInterface) HostInfoCallCount

func (fake *FakeInfoInterface) HostInfoCallCount() int

func (*FakeInfoInterface) HostInfoCalls

func (fake *FakeInfoInterface) HostInfoCalls(stub func(context.Context) (*v1.Resource_HostInfo, error))

func (*FakeInfoInterface) HostInfoReturns

func (fake *FakeInfoInterface) HostInfoReturns(result1 *v1.Resource_HostInfo, result2 error)

func (*FakeInfoInterface) HostInfoReturnsOnCall

func (fake *FakeInfoInterface) HostInfoReturnsOnCall(i int, result1 *v1.Resource_HostInfo, result2 error)

func (*FakeInfoInterface) Invocations

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

func (*FakeInfoInterface) IsContainer

func (fake *FakeInfoInterface) IsContainer() (bool, error)

func (*FakeInfoInterface) IsContainerCallCount

func (fake *FakeInfoInterface) IsContainerCallCount() int

func (*FakeInfoInterface) IsContainerCalls

func (fake *FakeInfoInterface) IsContainerCalls(stub func() (bool, error))

func (*FakeInfoInterface) IsContainerReturns

func (fake *FakeInfoInterface) IsContainerReturns(result1 bool, result2 error)

func (*FakeInfoInterface) IsContainerReturnsOnCall

func (fake *FakeInfoInterface) IsContainerReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeInfoInterface) ResourceID

func (fake *FakeInfoInterface) ResourceID(arg1 context.Context) (string, error)

func (*FakeInfoInterface) ResourceIDArgsForCall

func (fake *FakeInfoInterface) ResourceIDArgsForCall(i int) context.Context

func (*FakeInfoInterface) ResourceIDCallCount

func (fake *FakeInfoInterface) ResourceIDCallCount() int

func (*FakeInfoInterface) ResourceIDCalls

func (fake *FakeInfoInterface) ResourceIDCalls(stub func(context.Context) (string, error))

func (*FakeInfoInterface) ResourceIDReturns

func (fake *FakeInfoInterface) ResourceIDReturns(result1 string, result2 error)

func (*FakeInfoInterface) ResourceIDReturnsOnCall

func (fake *FakeInfoInterface) ResourceIDReturnsOnCall(i int, result1 string, result2 error)

Jump to

Keyboard shortcuts

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