fakes

package
v0.10.1-1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: Apache-2.0 Imports: 5 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 FakeInterface

type FakeInterface struct {
	CloseStub func() error

	GetBundleStub func(context.Context, string, string, string) (*registry.Bundle, error)

	GetBundleInPackageChannelStub func(context.Context, string, string) (*registry.Bundle, error)

	GetBundleThatProvidesStub func(context.Context, string, string, string) (*registry.Bundle, error)

	GetReplacementBundleInPackageChannelStub func(context.Context, string, string, string) (*registry.Bundle, error)

	HealthCheckStub func(context.Context, time.Duration) (bool, error)
	// contains filtered or unexported fields
}

func (*FakeInterface) Close

func (fake *FakeInterface) Close() error

func (*FakeInterface) CloseCallCount

func (fake *FakeInterface) CloseCallCount() int

func (*FakeInterface) CloseCalls

func (fake *FakeInterface) CloseCalls(stub func() error)

func (*FakeInterface) CloseReturns

func (fake *FakeInterface) CloseReturns(result1 error)

func (*FakeInterface) CloseReturnsOnCall

func (fake *FakeInterface) CloseReturnsOnCall(i int, result1 error)

func (*FakeInterface) GetBundle

func (fake *FakeInterface) GetBundle(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*registry.Bundle, error)

func (*FakeInterface) GetBundleArgsForCall

func (fake *FakeInterface) GetBundleArgsForCall(i int) (context.Context, string, string, string)

func (*FakeInterface) GetBundleCallCount

func (fake *FakeInterface) GetBundleCallCount() int

func (*FakeInterface) GetBundleCalls

func (fake *FakeInterface) GetBundleCalls(stub func(context.Context, string, string, string) (*registry.Bundle, error))

func (*FakeInterface) GetBundleInPackageChannel

func (fake *FakeInterface) GetBundleInPackageChannel(arg1 context.Context, arg2 string, arg3 string) (*registry.Bundle, error)

func (*FakeInterface) GetBundleInPackageChannelArgsForCall

func (fake *FakeInterface) GetBundleInPackageChannelArgsForCall(i int) (context.Context, string, string)

func (*FakeInterface) GetBundleInPackageChannelCallCount

func (fake *FakeInterface) GetBundleInPackageChannelCallCount() int

func (*FakeInterface) GetBundleInPackageChannelCalls

func (fake *FakeInterface) GetBundleInPackageChannelCalls(stub func(context.Context, string, string) (*registry.Bundle, error))

func (*FakeInterface) GetBundleInPackageChannelReturns

func (fake *FakeInterface) GetBundleInPackageChannelReturns(result1 *registry.Bundle, result2 error)

func (*FakeInterface) GetBundleInPackageChannelReturnsOnCall

func (fake *FakeInterface) GetBundleInPackageChannelReturnsOnCall(i int, result1 *registry.Bundle, result2 error)

func (*FakeInterface) GetBundleReturns

func (fake *FakeInterface) GetBundleReturns(result1 *registry.Bundle, result2 error)

func (*FakeInterface) GetBundleReturnsOnCall

func (fake *FakeInterface) GetBundleReturnsOnCall(i int, result1 *registry.Bundle, result2 error)

func (*FakeInterface) GetBundleThatProvides

func (fake *FakeInterface) GetBundleThatProvides(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*registry.Bundle, error)

func (*FakeInterface) GetBundleThatProvidesArgsForCall

func (fake *FakeInterface) GetBundleThatProvidesArgsForCall(i int) (context.Context, string, string, string)

func (*FakeInterface) GetBundleThatProvidesCallCount

func (fake *FakeInterface) GetBundleThatProvidesCallCount() int

func (*FakeInterface) GetBundleThatProvidesCalls

func (fake *FakeInterface) GetBundleThatProvidesCalls(stub func(context.Context, string, string, string) (*registry.Bundle, error))

func (*FakeInterface) GetBundleThatProvidesReturns

func (fake *FakeInterface) GetBundleThatProvidesReturns(result1 *registry.Bundle, result2 error)

func (*FakeInterface) GetBundleThatProvidesReturnsOnCall

func (fake *FakeInterface) GetBundleThatProvidesReturnsOnCall(i int, result1 *registry.Bundle, result2 error)

func (*FakeInterface) GetReplacementBundleInPackageChannel

func (fake *FakeInterface) GetReplacementBundleInPackageChannel(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*registry.Bundle, error)

func (*FakeInterface) GetReplacementBundleInPackageChannelArgsForCall

func (fake *FakeInterface) GetReplacementBundleInPackageChannelArgsForCall(i int) (context.Context, string, string, string)

func (*FakeInterface) GetReplacementBundleInPackageChannelCallCount

func (fake *FakeInterface) GetReplacementBundleInPackageChannelCallCount() int

func (*FakeInterface) GetReplacementBundleInPackageChannelCalls

func (fake *FakeInterface) GetReplacementBundleInPackageChannelCalls(stub func(context.Context, string, string, string) (*registry.Bundle, error))

func (*FakeInterface) GetReplacementBundleInPackageChannelReturns

func (fake *FakeInterface) GetReplacementBundleInPackageChannelReturns(result1 *registry.Bundle, result2 error)

func (*FakeInterface) GetReplacementBundleInPackageChannelReturnsOnCall

func (fake *FakeInterface) GetReplacementBundleInPackageChannelReturnsOnCall(i int, result1 *registry.Bundle, result2 error)

func (*FakeInterface) HealthCheck

func (fake *FakeInterface) HealthCheck(arg1 context.Context, arg2 time.Duration) (bool, error)

func (*FakeInterface) HealthCheckArgsForCall

func (fake *FakeInterface) HealthCheckArgsForCall(i int) (context.Context, time.Duration)

func (*FakeInterface) HealthCheckCallCount

func (fake *FakeInterface) HealthCheckCallCount() int

func (*FakeInterface) HealthCheckCalls

func (fake *FakeInterface) HealthCheckCalls(stub func(context.Context, time.Duration) (bool, error))

func (*FakeInterface) HealthCheckReturns

func (fake *FakeInterface) HealthCheckReturns(result1 bool, result2 error)

func (*FakeInterface) HealthCheckReturnsOnCall

func (fake *FakeInterface) HealthCheckReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeInterface) Invocations

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

Jump to

Keyboard shortcuts

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