rpcfakes

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: Apache-2.0, 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

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeActionFactory

type FakeActionFactory struct {
	CreateStub func(method string, apiVersion int, context apiv1.CallContext) (interface{}, error)
	// contains filtered or unexported fields
}

func (*FakeActionFactory) Create

func (fake *FakeActionFactory) Create(method string, apiVersion int, context apiv1.CallContext) (interface{}, error)

func (*FakeActionFactory) CreateArgsForCall

func (fake *FakeActionFactory) CreateArgsForCall(i int) (string, int, apiv1.CallContext)

func (*FakeActionFactory) CreateCallCount

func (fake *FakeActionFactory) CreateCallCount() int

func (*FakeActionFactory) CreateReturns

func (fake *FakeActionFactory) CreateReturns(result1 interface{}, result2 error)

func (*FakeActionFactory) Invocations

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

type FakeCaller

type FakeCaller struct {
	CallStub func(interface{}, []interface{}) (interface{}, error)
	// contains filtered or unexported fields
}

func (*FakeCaller) Call

func (fake *FakeCaller) Call(arg1 interface{}, arg2 []interface{}) (interface{}, error)

func (*FakeCaller) CallArgsForCall

func (fake *FakeCaller) CallArgsForCall(i int) (interface{}, []interface{})

func (*FakeCaller) CallCallCount

func (fake *FakeCaller) CallCallCount() int

func (*FakeCaller) CallReturns

func (fake *FakeCaller) CallReturns(result1 interface{}, result2 error)

func (*FakeCaller) Invocations

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

type FakeCloudError

type FakeCloudError struct {
	ErrorStub func() string

	TypeStub func() string
	// contains filtered or unexported fields
}

func (*FakeCloudError) Error

func (fake *FakeCloudError) Error() string

func (*FakeCloudError) ErrorCallCount

func (fake *FakeCloudError) ErrorCallCount() int

func (*FakeCloudError) ErrorReturns

func (fake *FakeCloudError) ErrorReturns(result1 string)

func (*FakeCloudError) Invocations

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

func (*FakeCloudError) Type

func (fake *FakeCloudError) Type() string

func (*FakeCloudError) TypeCallCount

func (fake *FakeCloudError) TypeCallCount() int

func (*FakeCloudError) TypeReturns

func (fake *FakeCloudError) TypeReturns(result1 string)

type FakeRetryableError

type FakeRetryableError struct {
	ErrorStub func() string

	CanRetryStub func() bool
	// contains filtered or unexported fields
}

func (*FakeRetryableError) CanRetry

func (fake *FakeRetryableError) CanRetry() bool

func (*FakeRetryableError) CanRetryCallCount

func (fake *FakeRetryableError) CanRetryCallCount() int

func (*FakeRetryableError) CanRetryReturns

func (fake *FakeRetryableError) CanRetryReturns(result1 bool)

func (*FakeRetryableError) Error

func (fake *FakeRetryableError) Error() string

func (*FakeRetryableError) ErrorCallCount

func (fake *FakeRetryableError) ErrorCallCount() int

func (*FakeRetryableError) ErrorReturns

func (fake *FakeRetryableError) ErrorReturns(result1 string)

func (*FakeRetryableError) Invocations

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

Jump to

Keyboard shortcuts

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