fakes

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2017 License: Apache-2.0 Imports: 4 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 CCClient

type CCClient struct {
	GetLiveAppGUIDsStub func(token string, appGUIDs []string) (map[string]struct{}, error)
	// contains filtered or unexported fields
}

func (*CCClient) GetLiveAppGUIDs added in v0.16.0

func (fake *CCClient) GetLiveAppGUIDs(token string, appGUIDs []string) (map[string]struct{}, error)

func (*CCClient) GetLiveAppGUIDsArgsForCall added in v0.16.0

func (fake *CCClient) GetLiveAppGUIDsArgsForCall(i int) (string, []string)

func (*CCClient) GetLiveAppGUIDsCallCount added in v0.16.0

func (fake *CCClient) GetLiveAppGUIDsCallCount() int

func (*CCClient) GetLiveAppGUIDsReturns added in v0.16.0

func (fake *CCClient) GetLiveAppGUIDsReturns(result1 map[string]struct{}, result2 error)

func (*CCClient) GetLiveAppGUIDsReturnsOnCall added in v0.22.0

func (fake *CCClient) GetLiveAppGUIDsReturnsOnCall(i int, result1 map[string]struct{}, result2 error)

func (*CCClient) Invocations

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

type ContextAdapter added in v0.22.0

type ContextAdapter struct {
	WithTimeoutStub func(context.Context, time.Duration) (context.Context, context.CancelFunc)
	// contains filtered or unexported fields
}

func (*ContextAdapter) Invocations added in v0.22.0

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

func (*ContextAdapter) WithTimeout added in v0.22.0

func (fake *ContextAdapter) WithTimeout(arg1 context.Context, arg2 time.Duration) (context.Context, context.CancelFunc)

func (*ContextAdapter) WithTimeoutArgsForCall added in v0.22.0

func (fake *ContextAdapter) WithTimeoutArgsForCall(i int) (context.Context, time.Duration)

func (*ContextAdapter) WithTimeoutCallCount added in v0.22.0

func (fake *ContextAdapter) WithTimeoutCallCount() int

func (*ContextAdapter) WithTimeoutReturns added in v0.22.0

func (fake *ContextAdapter) WithTimeoutReturns(result1 context.Context, result2 context.CancelFunc)

func (*ContextAdapter) WithTimeoutReturnsOnCall added in v0.22.0

func (fake *ContextAdapter) WithTimeoutReturnsOnCall(i int, result1 context.Context, result2 context.CancelFunc)

type Store

type Store struct {
	AllStub func() ([]models.Policy, error)

	DeleteStub func([]models.Policy) error
	// contains filtered or unexported fields
}

func (*Store) All

func (fake *Store) All() ([]models.Policy, error)

func (*Store) AllCallCount

func (fake *Store) AllCallCount() int

func (*Store) AllReturns

func (fake *Store) AllReturns(result1 []models.Policy, result2 error)

func (*Store) AllReturnsOnCall added in v0.22.0

func (fake *Store) AllReturnsOnCall(i int, result1 []models.Policy, result2 error)

func (*Store) Delete

func (fake *Store) Delete(arg1 []models.Policy) error

func (*Store) DeleteArgsForCall

func (fake *Store) DeleteArgsForCall(i int) []models.Policy

func (*Store) DeleteCallCount

func (fake *Store) DeleteCallCount() int

func (*Store) DeleteReturns

func (fake *Store) DeleteReturns(result1 error)

func (*Store) DeleteReturnsOnCall added in v0.22.0

func (fake *Store) DeleteReturnsOnCall(i int, result1 error)

func (*Store) Invocations

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

type UAAClient

type UAAClient struct {
	GetTokenStub func() (string, error)
	// contains filtered or unexported fields
}

func (*UAAClient) GetToken

func (fake *UAAClient) GetToken() (string, error)

func (*UAAClient) GetTokenCallCount

func (fake *UAAClient) GetTokenCallCount() int

func (*UAAClient) GetTokenReturns

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

func (*UAAClient) GetTokenReturnsOnCall added in v0.22.0

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

func (*UAAClient) Invocations

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

Jump to

Keyboard shortcuts

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