fakes

package
v0.0.0-...-6c08e66 Latest Latest
Warning

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

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

type HCSClient struct {
	GetContainersStub func(hcsshim.ComputeSystemQuery) ([]hcsshim.ContainerProperties, error)

	GetContainerPropertiesStub func(string) (hcsshim.ContainerProperties, error)

	NameToGuidStub func(string) (hcsshim.GUID, error)

	CreateContainerStub func(string, *hcsshim.ContainerConfig) (hcs.Container, error)

	OpenContainerStub func(string) (hcs.Container, error)

	IsPendingStub func(error) bool

	GetHNSEndpointByNameStub func(string) (*hcsshim.HNSEndpoint, error)
	// contains filtered or unexported fields
}

func (*HCSClient) CreateContainer

func (fake *HCSClient) CreateContainer(arg1 string, arg2 *hcsshim.ContainerConfig) (hcs.Container, error)

func (*HCSClient) CreateContainerArgsForCall

func (fake *HCSClient) CreateContainerArgsForCall(i int) (string, *hcsshim.ContainerConfig)

func (*HCSClient) CreateContainerCallCount

func (fake *HCSClient) CreateContainerCallCount() int

func (*HCSClient) CreateContainerReturns

func (fake *HCSClient) CreateContainerReturns(result1 hcs.Container, result2 error)

func (*HCSClient) CreateContainerReturnsOnCall

func (fake *HCSClient) CreateContainerReturnsOnCall(i int, result1 hcs.Container, result2 error)

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) GetContainers

func (fake *HCSClient) GetContainers(arg1 hcsshim.ComputeSystemQuery) ([]hcsshim.ContainerProperties, error)

func (*HCSClient) GetContainersArgsForCall

func (fake *HCSClient) GetContainersArgsForCall(i int) hcsshim.ComputeSystemQuery

func (*HCSClient) GetContainersCallCount

func (fake *HCSClient) GetContainersCallCount() int

func (*HCSClient) GetContainersReturns

func (fake *HCSClient) GetContainersReturns(result1 []hcsshim.ContainerProperties, result2 error)

func (*HCSClient) GetContainersReturnsOnCall

func (fake *HCSClient) GetContainersReturnsOnCall(i int, result1 []hcsshim.ContainerProperties, result2 error)

func (*HCSClient) GetHNSEndpointByName

func (fake *HCSClient) GetHNSEndpointByName(arg1 string) (*hcsshim.HNSEndpoint, error)

func (*HCSClient) GetHNSEndpointByNameArgsForCall

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

func (*HCSClient) GetHNSEndpointByNameCallCount

func (fake *HCSClient) GetHNSEndpointByNameCallCount() int

func (*HCSClient) GetHNSEndpointByNameReturns

func (fake *HCSClient) GetHNSEndpointByNameReturns(result1 *hcsshim.HNSEndpoint, result2 error)

func (*HCSClient) GetHNSEndpointByNameReturnsOnCall

func (fake *HCSClient) GetHNSEndpointByNameReturnsOnCall(i int, result1 *hcsshim.HNSEndpoint, result2 error)

func (*HCSClient) Invocations

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

func (*HCSClient) IsPending

func (fake *HCSClient) IsPending(arg1 error) bool

func (*HCSClient) IsPendingArgsForCall

func (fake *HCSClient) IsPendingArgsForCall(i int) error

func (*HCSClient) IsPendingCallCount

func (fake *HCSClient) IsPendingCallCount() int

func (*HCSClient) IsPendingReturns

func (fake *HCSClient) IsPendingReturns(result1 bool)

func (*HCSClient) IsPendingReturnsOnCall

func (fake *HCSClient) IsPendingReturnsOnCall(i int, result1 bool)

func (*HCSClient) NameToGuid

func (fake *HCSClient) NameToGuid(arg1 string) (hcsshim.GUID, error)

func (*HCSClient) NameToGuidArgsForCall

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

func (*HCSClient) NameToGuidCallCount

func (fake *HCSClient) NameToGuidCallCount() int

func (*HCSClient) NameToGuidReturns

func (fake *HCSClient) NameToGuidReturns(result1 hcsshim.GUID, result2 error)

func (*HCSClient) NameToGuidReturnsOnCall

func (fake *HCSClient) NameToGuidReturnsOnCall(i int, result1 hcsshim.GUID, result2 error)

func (*HCSClient) OpenContainer

func (fake *HCSClient) OpenContainer(arg1 string) (hcs.Container, error)

func (*HCSClient) OpenContainerArgsForCall

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

func (*HCSClient) OpenContainerCallCount

func (fake *HCSClient) OpenContainerCallCount() int

func (*HCSClient) OpenContainerReturns

func (fake *HCSClient) OpenContainerReturns(result1 hcs.Container, result2 error)

func (*HCSClient) OpenContainerReturnsOnCall

func (fake *HCSClient) OpenContainerReturnsOnCall(i int, result1 hcs.Container, result2 error)

Jump to

Keyboard shortcuts

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