featureflagsfakes

package
v6.41.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeFeatureFlagRepository

type FakeFeatureFlagRepository struct {
	ListStub func() ([]models.FeatureFlag, error)

	FindByNameStub func(string) (models.FeatureFlag, error)

	UpdateStub func(string, bool) error
	// contains filtered or unexported fields
}

func (*FakeFeatureFlagRepository) FindByName

func (fake *FakeFeatureFlagRepository) FindByName(arg1 string) (models.FeatureFlag, error)

func (*FakeFeatureFlagRepository) FindByNameArgsForCall

func (fake *FakeFeatureFlagRepository) FindByNameArgsForCall(i int) string

func (*FakeFeatureFlagRepository) FindByNameCallCount

func (fake *FakeFeatureFlagRepository) FindByNameCallCount() int

func (*FakeFeatureFlagRepository) FindByNameReturns

func (fake *FakeFeatureFlagRepository) FindByNameReturns(result1 models.FeatureFlag, result2 error)

func (*FakeFeatureFlagRepository) Invocations

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

func (*FakeFeatureFlagRepository) List

func (*FakeFeatureFlagRepository) ListCallCount

func (fake *FakeFeatureFlagRepository) ListCallCount() int

func (*FakeFeatureFlagRepository) ListReturns

func (fake *FakeFeatureFlagRepository) ListReturns(result1 []models.FeatureFlag, result2 error)

func (*FakeFeatureFlagRepository) Update

func (fake *FakeFeatureFlagRepository) Update(arg1 string, arg2 bool) error

func (*FakeFeatureFlagRepository) UpdateArgsForCall

func (fake *FakeFeatureFlagRepository) UpdateArgsForCall(i int) (string, bool)

func (*FakeFeatureFlagRepository) UpdateCallCount

func (fake *FakeFeatureFlagRepository) UpdateCallCount() int

func (*FakeFeatureFlagRepository) UpdateReturns

func (fake *FakeFeatureFlagRepository) UpdateReturns(result1 error)

Jump to

Keyboard shortcuts

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