mocks

package
v0.0.0-...-6213be9 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 FakeAppStreamProvider

type FakeAppStreamProvider struct {
	StartStub func() (<-chan *sonde_events.Envelope, <-chan error)

	CloseStub func() error
	// contains filtered or unexported fields
}

func (*FakeAppStreamProvider) Close

func (fake *FakeAppStreamProvider) Close() error

func (*FakeAppStreamProvider) CloseCallCount

func (fake *FakeAppStreamProvider) CloseCallCount() int

func (*FakeAppStreamProvider) CloseReturns

func (fake *FakeAppStreamProvider) CloseReturns(result1 error)

func (*FakeAppStreamProvider) CloseReturnsOnCall

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

func (*FakeAppStreamProvider) Invocations

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

func (*FakeAppStreamProvider) Start

func (fake *FakeAppStreamProvider) Start() (<-chan *sonde_events.Envelope, <-chan error)

func (*FakeAppStreamProvider) StartCallCount

func (fake *FakeAppStreamProvider) StartCallCount() int

func (*FakeAppStreamProvider) StartReturns

func (fake *FakeAppStreamProvider) StartReturns(result1 <-chan *sonde_events.Envelope, result2 <-chan error)

func (*FakeAppStreamProvider) StartReturnsOnCall

func (fake *FakeAppStreamProvider) StartReturnsOnCall(i int, result1 <-chan *sonde_events.Envelope, result2 <-chan error)

type FakeClient

type FakeClient struct {
	ListAppsWithSpaceAndOrgStub func() ([]cfclient.App, error)

	ListServicesWithSpaceAndOrgStub func() ([]cf.ServiceInstance, error)

	NewAppStreamProviderStub func(appGUID string) cf.AppStreamProvider

	GetTokenStub func() (token string, authError error)

	RefreshAuthTokenStub func() (token string, authError error)

	DopplerEndpointStub func() string

	NewLogCacheClientStub func() cf.LogCacheClient
	// contains filtered or unexported fields
}

func (*FakeClient) DopplerEndpoint

func (fake *FakeClient) DopplerEndpoint() string

func (*FakeClient) DopplerEndpointCallCount

func (fake *FakeClient) DopplerEndpointCallCount() int

func (*FakeClient) DopplerEndpointReturns

func (fake *FakeClient) DopplerEndpointReturns(result1 string)

func (*FakeClient) DopplerEndpointReturnsOnCall

func (fake *FakeClient) DopplerEndpointReturnsOnCall(i int, result1 string)

func (*FakeClient) GetToken

func (fake *FakeClient) GetToken() (token string, authError error)

func (*FakeClient) GetTokenCallCount

func (fake *FakeClient) GetTokenCallCount() int

func (*FakeClient) GetTokenReturns

func (fake *FakeClient) GetTokenReturns(result1 string, result2 error)

func (*FakeClient) GetTokenReturnsOnCall

func (fake *FakeClient) GetTokenReturnsOnCall(i int, result1 string, result2 error)

func (*FakeClient) Invocations

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

func (*FakeClient) ListAppsWithSpaceAndOrg

func (fake *FakeClient) ListAppsWithSpaceAndOrg() ([]cfclient.App, error)

func (*FakeClient) ListAppsWithSpaceAndOrgCallCount

func (fake *FakeClient) ListAppsWithSpaceAndOrgCallCount() int

func (*FakeClient) ListAppsWithSpaceAndOrgReturns

func (fake *FakeClient) ListAppsWithSpaceAndOrgReturns(result1 []cfclient.App, result2 error)

func (*FakeClient) ListAppsWithSpaceAndOrgReturnsOnCall

func (fake *FakeClient) ListAppsWithSpaceAndOrgReturnsOnCall(i int, result1 []cfclient.App, result2 error)

func (*FakeClient) ListServicesWithSpaceAndOrg

func (fake *FakeClient) ListServicesWithSpaceAndOrg() ([]cf.ServiceInstance, error)

func (*FakeClient) ListServicesWithSpaceAndOrgCallCount

func (fake *FakeClient) ListServicesWithSpaceAndOrgCallCount() int

func (*FakeClient) ListServicesWithSpaceAndOrgReturns

func (fake *FakeClient) ListServicesWithSpaceAndOrgReturns(result1 []cf.ServiceInstance, result2 error)

func (*FakeClient) ListServicesWithSpaceAndOrgReturnsOnCall

func (fake *FakeClient) ListServicesWithSpaceAndOrgReturnsOnCall(i int, result1 []cf.ServiceInstance, result2 error)

func (*FakeClient) NewAppStreamProvider

func (fake *FakeClient) NewAppStreamProvider(appGUID string) cf.AppStreamProvider

func (*FakeClient) NewAppStreamProviderArgsForCall

func (fake *FakeClient) NewAppStreamProviderArgsForCall(i int) string

func (*FakeClient) NewAppStreamProviderCallCount

func (fake *FakeClient) NewAppStreamProviderCallCount() int

func (*FakeClient) NewAppStreamProviderReturns

func (fake *FakeClient) NewAppStreamProviderReturns(result1 cf.AppStreamProvider)

func (*FakeClient) NewAppStreamProviderReturnsOnCall

func (fake *FakeClient) NewAppStreamProviderReturnsOnCall(i int, result1 cf.AppStreamProvider)

func (*FakeClient) NewLogCacheClient

func (fake *FakeClient) NewLogCacheClient() cf.LogCacheClient

func (*FakeClient) NewLogCacheClientCallCount

func (fake *FakeClient) NewLogCacheClientCallCount() int

func (*FakeClient) NewLogCacheClientReturns

func (fake *FakeClient) NewLogCacheClientReturns(result1 cf.LogCacheClient)

func (*FakeClient) NewLogCacheClientReturnsOnCall

func (fake *FakeClient) NewLogCacheClientReturnsOnCall(i int, result1 cf.LogCacheClient)

func (*FakeClient) RefreshAuthToken

func (fake *FakeClient) RefreshAuthToken() (token string, authError error)

func (*FakeClient) RefreshAuthTokenCallCount

func (fake *FakeClient) RefreshAuthTokenCallCount() int

func (*FakeClient) RefreshAuthTokenReturns

func (fake *FakeClient) RefreshAuthTokenReturns(result1 string, result2 error)

func (*FakeClient) RefreshAuthTokenReturnsOnCall

func (fake *FakeClient) RefreshAuthTokenReturnsOnCall(i int, result1 string, result2 error)

type FakeLogCacheClient

type FakeLogCacheClient struct {
	ReadStub func(ctx context.Context, sourceID string, start time.Time, opts ...logcache.ReadOption) ([]*loggregator_v2.Envelope, error)
	// contains filtered or unexported fields
}

func (*FakeLogCacheClient) Invocations

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

func (*FakeLogCacheClient) Read

func (fake *FakeLogCacheClient) Read(ctx context.Context, sourceID string, start time.Time, opts ...logcache.ReadOption) ([]*loggregator_v2.Envelope, error)

func (*FakeLogCacheClient) ReadArgsForCall

func (fake *FakeLogCacheClient) ReadArgsForCall(i int) (context.Context, string, time.Time, []logcache.ReadOption)

func (*FakeLogCacheClient) ReadCallCount

func (fake *FakeLogCacheClient) ReadCallCount() int

func (*FakeLogCacheClient) ReadReturns

func (fake *FakeLogCacheClient) ReadReturns(result1 []*loggregator_v2.Envelope, result2 error)

func (*FakeLogCacheClient) ReadReturnsOnCall

func (fake *FakeLogCacheClient) ReadReturnsOnCall(i int, result1 []*loggregator_v2.Envelope, result2 error)

Jump to

Keyboard shortcuts

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