fakes

package
v0.0.0-...-4ce4512 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2025 License: Apache-2.0 Imports: 3 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 {
	CreateEndpointStub func(*hcsshim.HNSEndpoint) (*hcsshim.HNSEndpoint, error)

	DeleteEndpointStub func(*hcsshim.HNSEndpoint) (*hcsshim.HNSEndpoint, error)

	GetHNSEndpointByIDStub func(string) (*hcsshim.HNSEndpoint, error)

	GetHNSEndpointByNameStub func(string) (*hcsshim.HNSEndpoint, error)

	GetHNSNetworkByNameStub func(string) (*hcsshim.HNSNetwork, error)

	HotAttachEndpointStub func(string, string, func() (bool, error)) error

	HotDetachEndpointStub func(string, string) error

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

func (*HCSClient) CreateEndpoint

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

func (*HCSClient) CreateEndpointArgsForCall

func (fake *HCSClient) CreateEndpointArgsForCall(i int) *hcsshim.HNSEndpoint

func (*HCSClient) CreateEndpointCallCount

func (fake *HCSClient) CreateEndpointCallCount() int

func (*HCSClient) CreateEndpointCalls

func (fake *HCSClient) CreateEndpointCalls(stub func(*hcsshim.HNSEndpoint) (*hcsshim.HNSEndpoint, error))

func (*HCSClient) CreateEndpointReturns

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

func (*HCSClient) CreateEndpointReturnsOnCall

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

func (*HCSClient) DeleteEndpoint

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

func (*HCSClient) DeleteEndpointArgsForCall

func (fake *HCSClient) DeleteEndpointArgsForCall(i int) *hcsshim.HNSEndpoint

func (*HCSClient) DeleteEndpointCallCount

func (fake *HCSClient) DeleteEndpointCallCount() int

func (*HCSClient) DeleteEndpointCalls

func (fake *HCSClient) DeleteEndpointCalls(stub func(*hcsshim.HNSEndpoint) (*hcsshim.HNSEndpoint, error))

func (*HCSClient) DeleteEndpointReturns

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

func (*HCSClient) DeleteEndpointReturnsOnCall

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

func (*HCSClient) GetHNSEndpointByID

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

func (*HCSClient) GetHNSEndpointByIDArgsForCall

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

func (*HCSClient) GetHNSEndpointByIDCallCount

func (fake *HCSClient) GetHNSEndpointByIDCallCount() int

func (*HCSClient) GetHNSEndpointByIDCalls

func (fake *HCSClient) GetHNSEndpointByIDCalls(stub func(string) (*hcsshim.HNSEndpoint, error))

func (*HCSClient) GetHNSEndpointByIDReturns

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

func (*HCSClient) GetHNSEndpointByIDReturnsOnCall

func (fake *HCSClient) GetHNSEndpointByIDReturnsOnCall(i int, result1 *hcsshim.HNSEndpoint, 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) GetHNSEndpointByNameCalls

func (fake *HCSClient) GetHNSEndpointByNameCalls(stub func(string) (*hcsshim.HNSEndpoint, error))

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

func (fake *HCSClient) GetHNSNetworkByName(arg1 string) (*hcsshim.HNSNetwork, error)

func (*HCSClient) GetHNSNetworkByNameArgsForCall

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

func (*HCSClient) GetHNSNetworkByNameCallCount

func (fake *HCSClient) GetHNSNetworkByNameCallCount() int

func (*HCSClient) GetHNSNetworkByNameCalls

func (fake *HCSClient) GetHNSNetworkByNameCalls(stub func(string) (*hcsshim.HNSNetwork, error))

func (*HCSClient) GetHNSNetworkByNameReturns

func (fake *HCSClient) GetHNSNetworkByNameReturns(result1 *hcsshim.HNSNetwork, result2 error)

func (*HCSClient) GetHNSNetworkByNameReturnsOnCall

func (fake *HCSClient) GetHNSNetworkByNameReturnsOnCall(i int, result1 *hcsshim.HNSNetwork, result2 error)

func (*HCSClient) HotAttachEndpoint

func (fake *HCSClient) HotAttachEndpoint(arg1 string, arg2 string, arg3 func() (bool, error)) error

func (*HCSClient) HotAttachEndpointArgsForCall

func (fake *HCSClient) HotAttachEndpointArgsForCall(i int) (string, string, func() (bool, error))

func (*HCSClient) HotAttachEndpointCallCount

func (fake *HCSClient) HotAttachEndpointCallCount() int

func (*HCSClient) HotAttachEndpointCalls

func (fake *HCSClient) HotAttachEndpointCalls(stub func(string, string, func() (bool, error)) error)

func (*HCSClient) HotAttachEndpointReturns

func (fake *HCSClient) HotAttachEndpointReturns(result1 error)

func (*HCSClient) HotAttachEndpointReturnsOnCall

func (fake *HCSClient) HotAttachEndpointReturnsOnCall(i int, result1 error)

func (*HCSClient) HotDetachEndpoint

func (fake *HCSClient) HotDetachEndpoint(arg1 string, arg2 string) error

func (*HCSClient) HotDetachEndpointArgsForCall

func (fake *HCSClient) HotDetachEndpointArgsForCall(i int) (string, string)

func (*HCSClient) HotDetachEndpointCallCount

func (fake *HCSClient) HotDetachEndpointCallCount() int

func (*HCSClient) HotDetachEndpointCalls

func (fake *HCSClient) HotDetachEndpointCalls(stub func(string, string) error)

func (*HCSClient) HotDetachEndpointReturns

func (fake *HCSClient) HotDetachEndpointReturns(result1 error)

func (*HCSClient) HotDetachEndpointReturnsOnCall

func (fake *HCSClient) HotDetachEndpointReturnsOnCall(i int, result1 error)

func (*HCSClient) Invocations

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

func (*HCSClient) UpdateEndpoint

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

func (*HCSClient) UpdateEndpointArgsForCall

func (fake *HCSClient) UpdateEndpointArgsForCall(i int) *hcsshim.HNSEndpoint

func (*HCSClient) UpdateEndpointCallCount

func (fake *HCSClient) UpdateEndpointCallCount() int

func (*HCSClient) UpdateEndpointCalls

func (fake *HCSClient) UpdateEndpointCalls(stub func(*hcsshim.HNSEndpoint) (*hcsshim.HNSEndpoint, error))

func (*HCSClient) UpdateEndpointReturns

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

func (*HCSClient) UpdateEndpointReturnsOnCall

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

Jump to

Keyboard shortcuts

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