configurationfakes

package
v6.31.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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 FakeDataInterface

type FakeDataInterface struct {
	JSONMarshalV3Stub func() ([]byte, error)

	JSONUnmarshalV3Stub func([]byte) error
	// contains filtered or unexported fields
}

func (*FakeDataInterface) Invocations

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

func (*FakeDataInterface) JSONMarshalV3

func (fake *FakeDataInterface) JSONMarshalV3() ([]byte, error)

func (*FakeDataInterface) JSONMarshalV3CallCount

func (fake *FakeDataInterface) JSONMarshalV3CallCount() int

func (*FakeDataInterface) JSONMarshalV3Returns

func (fake *FakeDataInterface) JSONMarshalV3Returns(result1 []byte, result2 error)

func (*FakeDataInterface) JSONUnmarshalV3

func (fake *FakeDataInterface) JSONUnmarshalV3(arg1 []byte) error

func (*FakeDataInterface) JSONUnmarshalV3ArgsForCall

func (fake *FakeDataInterface) JSONUnmarshalV3ArgsForCall(i int) []byte

func (*FakeDataInterface) JSONUnmarshalV3CallCount

func (fake *FakeDataInterface) JSONUnmarshalV3CallCount() int

func (*FakeDataInterface) JSONUnmarshalV3Returns

func (fake *FakeDataInterface) JSONUnmarshalV3Returns(result1 error)

type FakePersistor

type FakePersistor struct {
	DeleteStub func()

	ExistsStub func() bool

	LoadStub func(configuration.DataInterface) error

	SaveStub func(configuration.DataInterface) error
	// contains filtered or unexported fields
}

func (*FakePersistor) Delete

func (fake *FakePersistor) Delete()

func (*FakePersistor) DeleteCallCount

func (fake *FakePersistor) DeleteCallCount() int

func (*FakePersistor) Exists

func (fake *FakePersistor) Exists() bool

func (*FakePersistor) ExistsCallCount

func (fake *FakePersistor) ExistsCallCount() int

func (*FakePersistor) ExistsReturns

func (fake *FakePersistor) ExistsReturns(result1 bool)

func (*FakePersistor) Invocations

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

func (*FakePersistor) Load

func (*FakePersistor) LoadArgsForCall

func (fake *FakePersistor) LoadArgsForCall(i int) configuration.DataInterface

func (*FakePersistor) LoadCallCount

func (fake *FakePersistor) LoadCallCount() int

func (*FakePersistor) LoadReturns

func (fake *FakePersistor) LoadReturns(result1 error)

func (*FakePersistor) Save

func (*FakePersistor) SaveArgsForCall

func (fake *FakePersistor) SaveArgsForCall(i int) configuration.DataInterface

func (*FakePersistor) SaveCallCount

func (fake *FakePersistor) SaveCallCount() int

func (*FakePersistor) SaveReturns

func (fake *FakePersistor) SaveReturns(result1 error)

Jump to

Keyboard shortcuts

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