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: 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 {
	GetHNSNetworkByNameStub func(string) (*hcsshim.HNSNetwork, error)

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

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

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

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

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

	HotAttachEndpointStub func(containerID string, endpointID string, endpointReady func() (bool, error)) error

	HotDetachEndpointStub func(containerID string, endpointID string) 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) 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) 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) 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) 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) 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(containerID string, endpointID string, endpointReady 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) 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(containerID string, endpointID string) error

func (*HCSClient) HotDetachEndpointArgsForCall

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

func (*HCSClient) HotDetachEndpointCallCount

func (fake *HCSClient) HotDetachEndpointCallCount() int

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