fakes

package
v0.0.0-...-d8a8f93 Latest Latest
Warning

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

Go to latest
Published: May 2, 2019 License: Apache-2.0 Imports: 2 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 ConfigStoreCache

type ConfigStoreCache struct {
	ConfigDescriptorStub func() model.ConfigDescriptor

	GetStub func(typ, name, namespace string) (config *model.Config, exists bool)

	ListStub func(typ, namespace string) ([]model.Config, error)

	CreateStub func(config model.Config) (revision string, err error)

	UpdateStub func(config model.Config) (newRevision string, err error)

	DeleteStub func(typ, name, namespace string) error

	RegisterEventHandlerStub func(typ string, handler func(model.Config, model.Event))

	RunStub func(stop <-chan struct{})

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

func (*ConfigStoreCache) ConfigDescriptor

func (fake *ConfigStoreCache) ConfigDescriptor() model.ConfigDescriptor

func (*ConfigStoreCache) ConfigDescriptorCallCount

func (fake *ConfigStoreCache) ConfigDescriptorCallCount() int

func (*ConfigStoreCache) ConfigDescriptorReturns

func (fake *ConfigStoreCache) ConfigDescriptorReturns(result1 model.ConfigDescriptor)

func (*ConfigStoreCache) ConfigDescriptorReturnsOnCall

func (fake *ConfigStoreCache) ConfigDescriptorReturnsOnCall(i int, result1 model.ConfigDescriptor)

func (*ConfigStoreCache) Create

func (fake *ConfigStoreCache) Create(config model.Config) (revision string, err error)

func (*ConfigStoreCache) CreateArgsForCall

func (fake *ConfigStoreCache) CreateArgsForCall(i int) model.Config

func (*ConfigStoreCache) CreateCallCount

func (fake *ConfigStoreCache) CreateCallCount() int

func (*ConfigStoreCache) CreateReturns

func (fake *ConfigStoreCache) CreateReturns(result1 string, result2 error)

func (*ConfigStoreCache) CreateReturnsOnCall

func (fake *ConfigStoreCache) CreateReturnsOnCall(i int, result1 string, result2 error)

func (*ConfigStoreCache) Delete

func (fake *ConfigStoreCache) Delete(typ string, name string, namespace string) error

func (*ConfigStoreCache) DeleteArgsForCall

func (fake *ConfigStoreCache) DeleteArgsForCall(i int) (string, string, string)

func (*ConfigStoreCache) DeleteCallCount

func (fake *ConfigStoreCache) DeleteCallCount() int

func (*ConfigStoreCache) DeleteReturns

func (fake *ConfigStoreCache) DeleteReturns(result1 error)

func (*ConfigStoreCache) DeleteReturnsOnCall

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

func (*ConfigStoreCache) Get

func (fake *ConfigStoreCache) Get(typ string, name string, namespace string) (config *model.Config, exists bool)

func (*ConfigStoreCache) GetArgsForCall

func (fake *ConfigStoreCache) GetArgsForCall(i int) (string, string, string)

func (*ConfigStoreCache) GetCallCount

func (fake *ConfigStoreCache) GetCallCount() int

func (*ConfigStoreCache) GetReturns

func (fake *ConfigStoreCache) GetReturns(result1 *model.Config, result2 bool)

func (*ConfigStoreCache) GetReturnsOnCall

func (fake *ConfigStoreCache) GetReturnsOnCall(i int, result1 *model.Config, result2 bool)

func (*ConfigStoreCache) HasSynced

func (fake *ConfigStoreCache) HasSynced() bool

func (*ConfigStoreCache) HasSyncedCallCount

func (fake *ConfigStoreCache) HasSyncedCallCount() int

func (*ConfigStoreCache) HasSyncedReturns

func (fake *ConfigStoreCache) HasSyncedReturns(result1 bool)

func (*ConfigStoreCache) HasSyncedReturnsOnCall

func (fake *ConfigStoreCache) HasSyncedReturnsOnCall(i int, result1 bool)

func (*ConfigStoreCache) Invocations

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

func (*ConfigStoreCache) List

func (fake *ConfigStoreCache) List(typ string, namespace string) ([]model.Config, error)

func (*ConfigStoreCache) ListArgsForCall

func (fake *ConfigStoreCache) ListArgsForCall(i int) (string, string)

func (*ConfigStoreCache) ListCallCount

func (fake *ConfigStoreCache) ListCallCount() int

func (*ConfigStoreCache) ListReturns

func (fake *ConfigStoreCache) ListReturns(result1 []model.Config, result2 error)

func (*ConfigStoreCache) ListReturnsOnCall

func (fake *ConfigStoreCache) ListReturnsOnCall(i int, result1 []model.Config, result2 error)

func (*ConfigStoreCache) RegisterEventHandler

func (fake *ConfigStoreCache) RegisterEventHandler(typ string, handler func(model.Config, model.Event))

func (*ConfigStoreCache) RegisterEventHandlerArgsForCall

func (fake *ConfigStoreCache) RegisterEventHandlerArgsForCall(i int) (string, func(model.Config, model.Event))

func (*ConfigStoreCache) RegisterEventHandlerCallCount

func (fake *ConfigStoreCache) RegisterEventHandlerCallCount() int

func (*ConfigStoreCache) Run

func (fake *ConfigStoreCache) Run(stop <-chan struct{})

func (*ConfigStoreCache) RunArgsForCall

func (fake *ConfigStoreCache) RunArgsForCall(i int) <-chan struct{}

func (*ConfigStoreCache) RunCallCount

func (fake *ConfigStoreCache) RunCallCount() int

func (*ConfigStoreCache) Update

func (fake *ConfigStoreCache) Update(config model.Config) (newRevision string, err error)

func (*ConfigStoreCache) UpdateArgsForCall

func (fake *ConfigStoreCache) UpdateArgsForCall(i int) model.Config

func (*ConfigStoreCache) UpdateCallCount

func (fake *ConfigStoreCache) UpdateCallCount() int

func (*ConfigStoreCache) UpdateReturns

func (fake *ConfigStoreCache) UpdateReturns(result1 string, result2 error)

func (*ConfigStoreCache) UpdateReturnsOnCall

func (fake *ConfigStoreCache) UpdateReturnsOnCall(i int, result1 string, result2 error)

Jump to

Keyboard shortcuts

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