fakes

package
v0.0.3-cli Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CNIController

type CNIController struct {
	UpStub func(namespacePath, handle, spec string) (*types.Result, error)

	DownStub func(namespacePath, handle, spec string) error
	// contains filtered or unexported fields
}

func (*CNIController) Down

func (fake *CNIController) Down(namespacePath string, handle string, spec string) error

func (*CNIController) DownArgsForCall

func (fake *CNIController) DownArgsForCall(i int) (string, string, string)

func (*CNIController) DownCallCount

func (fake *CNIController) DownCallCount() int

func (*CNIController) DownReturns

func (fake *CNIController) DownReturns(result1 error)

func (*CNIController) Invocations

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

func (*CNIController) Up

func (fake *CNIController) Up(namespacePath string, handle string, spec string) (*types.Result, error)

func (*CNIController) UpArgsForCall

func (fake *CNIController) UpArgsForCall(i int) (string, string, string)

func (*CNIController) UpCallCount

func (fake *CNIController) UpCallCount() int

func (*CNIController) UpReturns

func (fake *CNIController) UpReturns(result1 *types.Result, result2 error)

type Mounter

type Mounter struct {
	IdempotentlyMountStub func(source, target string) error

	RemoveMountStub func(target string) error
	// contains filtered or unexported fields
}

func (*Mounter) IdempotentlyMount

func (fake *Mounter) IdempotentlyMount(source string, target string) error

func (*Mounter) IdempotentlyMountArgsForCall

func (fake *Mounter) IdempotentlyMountArgsForCall(i int) (string, string)

func (*Mounter) IdempotentlyMountCallCount

func (fake *Mounter) IdempotentlyMountCallCount() int

func (*Mounter) IdempotentlyMountReturns

func (fake *Mounter) IdempotentlyMountReturns(result1 error)

func (*Mounter) Invocations

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

func (*Mounter) RemoveMount

func (fake *Mounter) RemoveMount(target string) error

func (*Mounter) RemoveMountArgsForCall

func (fake *Mounter) RemoveMountArgsForCall(i int) string

func (*Mounter) RemoveMountCallCount

func (fake *Mounter) RemoveMountCallCount() int

func (*Mounter) RemoveMountReturns

func (fake *Mounter) RemoveMountReturns(result1 error)

type NetmanClient

type NetmanClient struct {
	AddStub func(containerID string, groupID string, containerIP net.IP) error

	DelStub func(containerID string) error
	// contains filtered or unexported fields
}

func (*NetmanClient) Add

func (fake *NetmanClient) Add(containerID string, groupID string, containerIP net.IP) error

func (*NetmanClient) AddArgsForCall

func (fake *NetmanClient) AddArgsForCall(i int) (string, string, net.IP)

func (*NetmanClient) AddCallCount

func (fake *NetmanClient) AddCallCount() int

func (*NetmanClient) AddReturns

func (fake *NetmanClient) AddReturns(result1 error)

func (*NetmanClient) Del

func (fake *NetmanClient) Del(containerID string) error

func (*NetmanClient) DelArgsForCall

func (fake *NetmanClient) DelArgsForCall(i int) string

func (*NetmanClient) DelCallCount

func (fake *NetmanClient) DelCallCount() int

func (*NetmanClient) DelReturns

func (fake *NetmanClient) DelReturns(result1 error)

func (*NetmanClient) Invocations

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

Jump to

Keyboard shortcuts

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