etcdfakes

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: MIT Imports: 9 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 FakeIEtcd

type FakeIEtcd struct {
	BroadcastStub func(context.Context, *etcd.Message) error

	ClientStub func() *clientv3.Client

	DeleteStub func(context.Context, string, ...clientv3.OpOption) (*clientv3.DeleteResponse, error)

	DirectStub func(context.Context, string, *etcd.Message) error

	GetStub func(context.Context, string, ...clientv3.OpOption) (*clientv3.GetResponse, error)

	GrantLeaseStub func(context.Context, int64) (*clientv3.LeaseGrantResponse, error)

	PublishConfigUpdateStub func(context.Context, *etcd.MessageUpdateConfig) error

	PublishCreateCompositeStub func(context.Context, *opts.Composite) error

	PublishCreateConnectionStub func(context.Context, *opts.ConnectionOptions) error

	PublishCreateReadStub func(context.Context, *opts.ReadOptions) error

	PublishCreateRelayStub func(context.Context, *opts.RelayOptions) error

	PublishCreateSchemaStub func(context.Context, *protos.Schema) error

	PublishCreateServiceStub func(context.Context, *protos.Service) error

	PublishCreateValidationStub func(context.Context, *common.Validation) error

	PublishDeleteCompositeStub func(context.Context, *opts.Composite) error

	PublishDeleteConnectionStub func(context.Context, *opts.ConnectionOptions) error

	PublishDeleteReadStub func(context.Context, *opts.ReadOptions) error

	PublishDeleteRelayStub func(context.Context, *opts.RelayOptions) error

	PublishDeleteSchemaStub func(context.Context, *protos.Schema) error

	PublishDeleteServiceStub func(context.Context, *protos.Service) error

	PublishDeleteValidationStub func(context.Context, *common.Validation) error

	PublishUpdateCompositeStub func(context.Context, *opts.Composite) error

	PublishUpdateConnectionStub func(context.Context, *opts.ConnectionOptions) error

	PublishUpdateRelayStub func(context.Context, *opts.RelayOptions) error

	PublishUpdateSchemaStub func(context.Context, *protos.Schema) error

	PublishUpdateServiceStub func(context.Context, *protos.Service) error

	PublishUpdateValidationStub func(context.Context, *common.Validation) error

	PutStub func(context.Context, string, string, ...clientv3.OpOption) (*clientv3.PutResponse, error)

	PutWithTTLStub func(context.Context, string, string, time.Duration) (*clientv3.PutResponse, error)

	SaveConfigStub func(context.Context, *config.Config) error

	ShutdownStub func(bool) error

	StartStub func(context.Context) error
	// contains filtered or unexported fields
}

func (*FakeIEtcd) Broadcast

func (fake *FakeIEtcd) Broadcast(arg1 context.Context, arg2 *etcd.Message) error

func (*FakeIEtcd) BroadcastArgsForCall

func (fake *FakeIEtcd) BroadcastArgsForCall(i int) (context.Context, *etcd.Message)

func (*FakeIEtcd) BroadcastCallCount

func (fake *FakeIEtcd) BroadcastCallCount() int

func (*FakeIEtcd) BroadcastCalls

func (fake *FakeIEtcd) BroadcastCalls(stub func(context.Context, *etcd.Message) error)

func (*FakeIEtcd) BroadcastReturns

func (fake *FakeIEtcd) BroadcastReturns(result1 error)

func (*FakeIEtcd) BroadcastReturnsOnCall

func (fake *FakeIEtcd) BroadcastReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) Client

func (fake *FakeIEtcd) Client() *clientv3.Client

func (*FakeIEtcd) ClientCallCount

func (fake *FakeIEtcd) ClientCallCount() int

func (*FakeIEtcd) ClientCalls

func (fake *FakeIEtcd) ClientCalls(stub func() *clientv3.Client)

func (*FakeIEtcd) ClientReturns

func (fake *FakeIEtcd) ClientReturns(result1 *clientv3.Client)

func (*FakeIEtcd) ClientReturnsOnCall

func (fake *FakeIEtcd) ClientReturnsOnCall(i int, result1 *clientv3.Client)

func (*FakeIEtcd) Delete

func (fake *FakeIEtcd) Delete(arg1 context.Context, arg2 string, arg3 ...clientv3.OpOption) (*clientv3.DeleteResponse, error)

func (*FakeIEtcd) DeleteArgsForCall

func (fake *FakeIEtcd) DeleteArgsForCall(i int) (context.Context, string, []clientv3.OpOption)

func (*FakeIEtcd) DeleteCallCount

func (fake *FakeIEtcd) DeleteCallCount() int

func (*FakeIEtcd) DeleteCalls

func (fake *FakeIEtcd) DeleteCalls(stub func(context.Context, string, ...clientv3.OpOption) (*clientv3.DeleteResponse, error))

func (*FakeIEtcd) DeleteReturns

func (fake *FakeIEtcd) DeleteReturns(result1 *clientv3.DeleteResponse, result2 error)

func (*FakeIEtcd) DeleteReturnsOnCall

func (fake *FakeIEtcd) DeleteReturnsOnCall(i int, result1 *clientv3.DeleteResponse, result2 error)

func (*FakeIEtcd) Direct

func (fake *FakeIEtcd) Direct(arg1 context.Context, arg2 string, arg3 *etcd.Message) error

func (*FakeIEtcd) DirectArgsForCall

func (fake *FakeIEtcd) DirectArgsForCall(i int) (context.Context, string, *etcd.Message)

func (*FakeIEtcd) DirectCallCount

func (fake *FakeIEtcd) DirectCallCount() int

func (*FakeIEtcd) DirectCalls

func (fake *FakeIEtcd) DirectCalls(stub func(context.Context, string, *etcd.Message) error)

func (*FakeIEtcd) DirectReturns

func (fake *FakeIEtcd) DirectReturns(result1 error)

func (*FakeIEtcd) DirectReturnsOnCall

func (fake *FakeIEtcd) DirectReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) Get

func (fake *FakeIEtcd) Get(arg1 context.Context, arg2 string, arg3 ...clientv3.OpOption) (*clientv3.GetResponse, error)

func (*FakeIEtcd) GetArgsForCall

func (fake *FakeIEtcd) GetArgsForCall(i int) (context.Context, string, []clientv3.OpOption)

func (*FakeIEtcd) GetCallCount

func (fake *FakeIEtcd) GetCallCount() int

func (*FakeIEtcd) GetCalls

func (fake *FakeIEtcd) GetCalls(stub func(context.Context, string, ...clientv3.OpOption) (*clientv3.GetResponse, error))

func (*FakeIEtcd) GetReturns

func (fake *FakeIEtcd) GetReturns(result1 *clientv3.GetResponse, result2 error)

func (*FakeIEtcd) GetReturnsOnCall

func (fake *FakeIEtcd) GetReturnsOnCall(i int, result1 *clientv3.GetResponse, result2 error)

func (*FakeIEtcd) GrantLease

func (fake *FakeIEtcd) GrantLease(arg1 context.Context, arg2 int64) (*clientv3.LeaseGrantResponse, error)

func (*FakeIEtcd) GrantLeaseArgsForCall

func (fake *FakeIEtcd) GrantLeaseArgsForCall(i int) (context.Context, int64)

func (*FakeIEtcd) GrantLeaseCallCount

func (fake *FakeIEtcd) GrantLeaseCallCount() int

func (*FakeIEtcd) GrantLeaseCalls

func (fake *FakeIEtcd) GrantLeaseCalls(stub func(context.Context, int64) (*clientv3.LeaseGrantResponse, error))

func (*FakeIEtcd) GrantLeaseReturns

func (fake *FakeIEtcd) GrantLeaseReturns(result1 *clientv3.LeaseGrantResponse, result2 error)

func (*FakeIEtcd) GrantLeaseReturnsOnCall

func (fake *FakeIEtcd) GrantLeaseReturnsOnCall(i int, result1 *clientv3.LeaseGrantResponse, result2 error)

func (*FakeIEtcd) Invocations

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

func (*FakeIEtcd) PublishConfigUpdate

func (fake *FakeIEtcd) PublishConfigUpdate(arg1 context.Context, arg2 *etcd.MessageUpdateConfig) error

func (*FakeIEtcd) PublishConfigUpdateArgsForCall

func (fake *FakeIEtcd) PublishConfigUpdateArgsForCall(i int) (context.Context, *etcd.MessageUpdateConfig)

func (*FakeIEtcd) PublishConfigUpdateCallCount

func (fake *FakeIEtcd) PublishConfigUpdateCallCount() int

func (*FakeIEtcd) PublishConfigUpdateCalls

func (fake *FakeIEtcd) PublishConfigUpdateCalls(stub func(context.Context, *etcd.MessageUpdateConfig) error)

func (*FakeIEtcd) PublishConfigUpdateReturns

func (fake *FakeIEtcd) PublishConfigUpdateReturns(result1 error)

func (*FakeIEtcd) PublishConfigUpdateReturnsOnCall

func (fake *FakeIEtcd) PublishConfigUpdateReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishCreateComposite

func (fake *FakeIEtcd) PublishCreateComposite(arg1 context.Context, arg2 *opts.Composite) error

func (*FakeIEtcd) PublishCreateCompositeArgsForCall

func (fake *FakeIEtcd) PublishCreateCompositeArgsForCall(i int) (context.Context, *opts.Composite)

func (*FakeIEtcd) PublishCreateCompositeCallCount

func (fake *FakeIEtcd) PublishCreateCompositeCallCount() int

func (*FakeIEtcd) PublishCreateCompositeCalls

func (fake *FakeIEtcd) PublishCreateCompositeCalls(stub func(context.Context, *opts.Composite) error)

func (*FakeIEtcd) PublishCreateCompositeReturns

func (fake *FakeIEtcd) PublishCreateCompositeReturns(result1 error)

func (*FakeIEtcd) PublishCreateCompositeReturnsOnCall

func (fake *FakeIEtcd) PublishCreateCompositeReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishCreateConnection

func (fake *FakeIEtcd) PublishCreateConnection(arg1 context.Context, arg2 *opts.ConnectionOptions) error

func (*FakeIEtcd) PublishCreateConnectionArgsForCall

func (fake *FakeIEtcd) PublishCreateConnectionArgsForCall(i int) (context.Context, *opts.ConnectionOptions)

func (*FakeIEtcd) PublishCreateConnectionCallCount

func (fake *FakeIEtcd) PublishCreateConnectionCallCount() int

func (*FakeIEtcd) PublishCreateConnectionCalls

func (fake *FakeIEtcd) PublishCreateConnectionCalls(stub func(context.Context, *opts.ConnectionOptions) error)

func (*FakeIEtcd) PublishCreateConnectionReturns

func (fake *FakeIEtcd) PublishCreateConnectionReturns(result1 error)

func (*FakeIEtcd) PublishCreateConnectionReturnsOnCall

func (fake *FakeIEtcd) PublishCreateConnectionReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishCreateRead

func (fake *FakeIEtcd) PublishCreateRead(arg1 context.Context, arg2 *opts.ReadOptions) error

func (*FakeIEtcd) PublishCreateReadArgsForCall

func (fake *FakeIEtcd) PublishCreateReadArgsForCall(i int) (context.Context, *opts.ReadOptions)

func (*FakeIEtcd) PublishCreateReadCallCount

func (fake *FakeIEtcd) PublishCreateReadCallCount() int

func (*FakeIEtcd) PublishCreateReadCalls

func (fake *FakeIEtcd) PublishCreateReadCalls(stub func(context.Context, *opts.ReadOptions) error)

func (*FakeIEtcd) PublishCreateReadReturns

func (fake *FakeIEtcd) PublishCreateReadReturns(result1 error)

func (*FakeIEtcd) PublishCreateReadReturnsOnCall

func (fake *FakeIEtcd) PublishCreateReadReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishCreateRelay

func (fake *FakeIEtcd) PublishCreateRelay(arg1 context.Context, arg2 *opts.RelayOptions) error

func (*FakeIEtcd) PublishCreateRelayArgsForCall

func (fake *FakeIEtcd) PublishCreateRelayArgsForCall(i int) (context.Context, *opts.RelayOptions)

func (*FakeIEtcd) PublishCreateRelayCallCount

func (fake *FakeIEtcd) PublishCreateRelayCallCount() int

func (*FakeIEtcd) PublishCreateRelayCalls

func (fake *FakeIEtcd) PublishCreateRelayCalls(stub func(context.Context, *opts.RelayOptions) error)

func (*FakeIEtcd) PublishCreateRelayReturns

func (fake *FakeIEtcd) PublishCreateRelayReturns(result1 error)

func (*FakeIEtcd) PublishCreateRelayReturnsOnCall

func (fake *FakeIEtcd) PublishCreateRelayReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishCreateSchema

func (fake *FakeIEtcd) PublishCreateSchema(arg1 context.Context, arg2 *protos.Schema) error

func (*FakeIEtcd) PublishCreateSchemaArgsForCall

func (fake *FakeIEtcd) PublishCreateSchemaArgsForCall(i int) (context.Context, *protos.Schema)

func (*FakeIEtcd) PublishCreateSchemaCallCount

func (fake *FakeIEtcd) PublishCreateSchemaCallCount() int

func (*FakeIEtcd) PublishCreateSchemaCalls

func (fake *FakeIEtcd) PublishCreateSchemaCalls(stub func(context.Context, *protos.Schema) error)

func (*FakeIEtcd) PublishCreateSchemaReturns

func (fake *FakeIEtcd) PublishCreateSchemaReturns(result1 error)

func (*FakeIEtcd) PublishCreateSchemaReturnsOnCall

func (fake *FakeIEtcd) PublishCreateSchemaReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishCreateService

func (fake *FakeIEtcd) PublishCreateService(arg1 context.Context, arg2 *protos.Service) error

func (*FakeIEtcd) PublishCreateServiceArgsForCall

func (fake *FakeIEtcd) PublishCreateServiceArgsForCall(i int) (context.Context, *protos.Service)

func (*FakeIEtcd) PublishCreateServiceCallCount

func (fake *FakeIEtcd) PublishCreateServiceCallCount() int

func (*FakeIEtcd) PublishCreateServiceCalls

func (fake *FakeIEtcd) PublishCreateServiceCalls(stub func(context.Context, *protos.Service) error)

func (*FakeIEtcd) PublishCreateServiceReturns

func (fake *FakeIEtcd) PublishCreateServiceReturns(result1 error)

func (*FakeIEtcd) PublishCreateServiceReturnsOnCall

func (fake *FakeIEtcd) PublishCreateServiceReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishCreateValidation

func (fake *FakeIEtcd) PublishCreateValidation(arg1 context.Context, arg2 *common.Validation) error

func (*FakeIEtcd) PublishCreateValidationArgsForCall

func (fake *FakeIEtcd) PublishCreateValidationArgsForCall(i int) (context.Context, *common.Validation)

func (*FakeIEtcd) PublishCreateValidationCallCount

func (fake *FakeIEtcd) PublishCreateValidationCallCount() int

func (*FakeIEtcd) PublishCreateValidationCalls

func (fake *FakeIEtcd) PublishCreateValidationCalls(stub func(context.Context, *common.Validation) error)

func (*FakeIEtcd) PublishCreateValidationReturns

func (fake *FakeIEtcd) PublishCreateValidationReturns(result1 error)

func (*FakeIEtcd) PublishCreateValidationReturnsOnCall

func (fake *FakeIEtcd) PublishCreateValidationReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishDeleteComposite

func (fake *FakeIEtcd) PublishDeleteComposite(arg1 context.Context, arg2 *opts.Composite) error

func (*FakeIEtcd) PublishDeleteCompositeArgsForCall

func (fake *FakeIEtcd) PublishDeleteCompositeArgsForCall(i int) (context.Context, *opts.Composite)

func (*FakeIEtcd) PublishDeleteCompositeCallCount

func (fake *FakeIEtcd) PublishDeleteCompositeCallCount() int

func (*FakeIEtcd) PublishDeleteCompositeCalls

func (fake *FakeIEtcd) PublishDeleteCompositeCalls(stub func(context.Context, *opts.Composite) error)

func (*FakeIEtcd) PublishDeleteCompositeReturns

func (fake *FakeIEtcd) PublishDeleteCompositeReturns(result1 error)

func (*FakeIEtcd) PublishDeleteCompositeReturnsOnCall

func (fake *FakeIEtcd) PublishDeleteCompositeReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishDeleteConnection

func (fake *FakeIEtcd) PublishDeleteConnection(arg1 context.Context, arg2 *opts.ConnectionOptions) error

func (*FakeIEtcd) PublishDeleteConnectionArgsForCall

func (fake *FakeIEtcd) PublishDeleteConnectionArgsForCall(i int) (context.Context, *opts.ConnectionOptions)

func (*FakeIEtcd) PublishDeleteConnectionCallCount

func (fake *FakeIEtcd) PublishDeleteConnectionCallCount() int

func (*FakeIEtcd) PublishDeleteConnectionCalls

func (fake *FakeIEtcd) PublishDeleteConnectionCalls(stub func(context.Context, *opts.ConnectionOptions) error)

func (*FakeIEtcd) PublishDeleteConnectionReturns

func (fake *FakeIEtcd) PublishDeleteConnectionReturns(result1 error)

func (*FakeIEtcd) PublishDeleteConnectionReturnsOnCall

func (fake *FakeIEtcd) PublishDeleteConnectionReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishDeleteRead

func (fake *FakeIEtcd) PublishDeleteRead(arg1 context.Context, arg2 *opts.ReadOptions) error

func (*FakeIEtcd) PublishDeleteReadArgsForCall

func (fake *FakeIEtcd) PublishDeleteReadArgsForCall(i int) (context.Context, *opts.ReadOptions)

func (*FakeIEtcd) PublishDeleteReadCallCount

func (fake *FakeIEtcd) PublishDeleteReadCallCount() int

func (*FakeIEtcd) PublishDeleteReadCalls

func (fake *FakeIEtcd) PublishDeleteReadCalls(stub func(context.Context, *opts.ReadOptions) error)

func (*FakeIEtcd) PublishDeleteReadReturns

func (fake *FakeIEtcd) PublishDeleteReadReturns(result1 error)

func (*FakeIEtcd) PublishDeleteReadReturnsOnCall

func (fake *FakeIEtcd) PublishDeleteReadReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishDeleteRelay

func (fake *FakeIEtcd) PublishDeleteRelay(arg1 context.Context, arg2 *opts.RelayOptions) error

func (*FakeIEtcd) PublishDeleteRelayArgsForCall

func (fake *FakeIEtcd) PublishDeleteRelayArgsForCall(i int) (context.Context, *opts.RelayOptions)

func (*FakeIEtcd) PublishDeleteRelayCallCount

func (fake *FakeIEtcd) PublishDeleteRelayCallCount() int

func (*FakeIEtcd) PublishDeleteRelayCalls

func (fake *FakeIEtcd) PublishDeleteRelayCalls(stub func(context.Context, *opts.RelayOptions) error)

func (*FakeIEtcd) PublishDeleteRelayReturns

func (fake *FakeIEtcd) PublishDeleteRelayReturns(result1 error)

func (*FakeIEtcd) PublishDeleteRelayReturnsOnCall

func (fake *FakeIEtcd) PublishDeleteRelayReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishDeleteSchema

func (fake *FakeIEtcd) PublishDeleteSchema(arg1 context.Context, arg2 *protos.Schema) error

func (*FakeIEtcd) PublishDeleteSchemaArgsForCall

func (fake *FakeIEtcd) PublishDeleteSchemaArgsForCall(i int) (context.Context, *protos.Schema)

func (*FakeIEtcd) PublishDeleteSchemaCallCount

func (fake *FakeIEtcd) PublishDeleteSchemaCallCount() int

func (*FakeIEtcd) PublishDeleteSchemaCalls

func (fake *FakeIEtcd) PublishDeleteSchemaCalls(stub func(context.Context, *protos.Schema) error)

func (*FakeIEtcd) PublishDeleteSchemaReturns

func (fake *FakeIEtcd) PublishDeleteSchemaReturns(result1 error)

func (*FakeIEtcd) PublishDeleteSchemaReturnsOnCall

func (fake *FakeIEtcd) PublishDeleteSchemaReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishDeleteService

func (fake *FakeIEtcd) PublishDeleteService(arg1 context.Context, arg2 *protos.Service) error

func (*FakeIEtcd) PublishDeleteServiceArgsForCall

func (fake *FakeIEtcd) PublishDeleteServiceArgsForCall(i int) (context.Context, *protos.Service)

func (*FakeIEtcd) PublishDeleteServiceCallCount

func (fake *FakeIEtcd) PublishDeleteServiceCallCount() int

func (*FakeIEtcd) PublishDeleteServiceCalls

func (fake *FakeIEtcd) PublishDeleteServiceCalls(stub func(context.Context, *protos.Service) error)

func (*FakeIEtcd) PublishDeleteServiceReturns

func (fake *FakeIEtcd) PublishDeleteServiceReturns(result1 error)

func (*FakeIEtcd) PublishDeleteServiceReturnsOnCall

func (fake *FakeIEtcd) PublishDeleteServiceReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishDeleteValidation

func (fake *FakeIEtcd) PublishDeleteValidation(arg1 context.Context, arg2 *common.Validation) error

func (*FakeIEtcd) PublishDeleteValidationArgsForCall

func (fake *FakeIEtcd) PublishDeleteValidationArgsForCall(i int) (context.Context, *common.Validation)

func (*FakeIEtcd) PublishDeleteValidationCallCount

func (fake *FakeIEtcd) PublishDeleteValidationCallCount() int

func (*FakeIEtcd) PublishDeleteValidationCalls

func (fake *FakeIEtcd) PublishDeleteValidationCalls(stub func(context.Context, *common.Validation) error)

func (*FakeIEtcd) PublishDeleteValidationReturns

func (fake *FakeIEtcd) PublishDeleteValidationReturns(result1 error)

func (*FakeIEtcd) PublishDeleteValidationReturnsOnCall

func (fake *FakeIEtcd) PublishDeleteValidationReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishUpdateComposite

func (fake *FakeIEtcd) PublishUpdateComposite(arg1 context.Context, arg2 *opts.Composite) error

func (*FakeIEtcd) PublishUpdateCompositeArgsForCall

func (fake *FakeIEtcd) PublishUpdateCompositeArgsForCall(i int) (context.Context, *opts.Composite)

func (*FakeIEtcd) PublishUpdateCompositeCallCount

func (fake *FakeIEtcd) PublishUpdateCompositeCallCount() int

func (*FakeIEtcd) PublishUpdateCompositeCalls

func (fake *FakeIEtcd) PublishUpdateCompositeCalls(stub func(context.Context, *opts.Composite) error)

func (*FakeIEtcd) PublishUpdateCompositeReturns

func (fake *FakeIEtcd) PublishUpdateCompositeReturns(result1 error)

func (*FakeIEtcd) PublishUpdateCompositeReturnsOnCall

func (fake *FakeIEtcd) PublishUpdateCompositeReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishUpdateConnection

func (fake *FakeIEtcd) PublishUpdateConnection(arg1 context.Context, arg2 *opts.ConnectionOptions) error

func (*FakeIEtcd) PublishUpdateConnectionArgsForCall

func (fake *FakeIEtcd) PublishUpdateConnectionArgsForCall(i int) (context.Context, *opts.ConnectionOptions)

func (*FakeIEtcd) PublishUpdateConnectionCallCount

func (fake *FakeIEtcd) PublishUpdateConnectionCallCount() int

func (*FakeIEtcd) PublishUpdateConnectionCalls

func (fake *FakeIEtcd) PublishUpdateConnectionCalls(stub func(context.Context, *opts.ConnectionOptions) error)

func (*FakeIEtcd) PublishUpdateConnectionReturns

func (fake *FakeIEtcd) PublishUpdateConnectionReturns(result1 error)

func (*FakeIEtcd) PublishUpdateConnectionReturnsOnCall

func (fake *FakeIEtcd) PublishUpdateConnectionReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishUpdateRelay

func (fake *FakeIEtcd) PublishUpdateRelay(arg1 context.Context, arg2 *opts.RelayOptions) error

func (*FakeIEtcd) PublishUpdateRelayArgsForCall

func (fake *FakeIEtcd) PublishUpdateRelayArgsForCall(i int) (context.Context, *opts.RelayOptions)

func (*FakeIEtcd) PublishUpdateRelayCallCount

func (fake *FakeIEtcd) PublishUpdateRelayCallCount() int

func (*FakeIEtcd) PublishUpdateRelayCalls

func (fake *FakeIEtcd) PublishUpdateRelayCalls(stub func(context.Context, *opts.RelayOptions) error)

func (*FakeIEtcd) PublishUpdateRelayReturns

func (fake *FakeIEtcd) PublishUpdateRelayReturns(result1 error)

func (*FakeIEtcd) PublishUpdateRelayReturnsOnCall

func (fake *FakeIEtcd) PublishUpdateRelayReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishUpdateSchema

func (fake *FakeIEtcd) PublishUpdateSchema(arg1 context.Context, arg2 *protos.Schema) error

func (*FakeIEtcd) PublishUpdateSchemaArgsForCall

func (fake *FakeIEtcd) PublishUpdateSchemaArgsForCall(i int) (context.Context, *protos.Schema)

func (*FakeIEtcd) PublishUpdateSchemaCallCount

func (fake *FakeIEtcd) PublishUpdateSchemaCallCount() int

func (*FakeIEtcd) PublishUpdateSchemaCalls

func (fake *FakeIEtcd) PublishUpdateSchemaCalls(stub func(context.Context, *protos.Schema) error)

func (*FakeIEtcd) PublishUpdateSchemaReturns

func (fake *FakeIEtcd) PublishUpdateSchemaReturns(result1 error)

func (*FakeIEtcd) PublishUpdateSchemaReturnsOnCall

func (fake *FakeIEtcd) PublishUpdateSchemaReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishUpdateService

func (fake *FakeIEtcd) PublishUpdateService(arg1 context.Context, arg2 *protos.Service) error

func (*FakeIEtcd) PublishUpdateServiceArgsForCall

func (fake *FakeIEtcd) PublishUpdateServiceArgsForCall(i int) (context.Context, *protos.Service)

func (*FakeIEtcd) PublishUpdateServiceCallCount

func (fake *FakeIEtcd) PublishUpdateServiceCallCount() int

func (*FakeIEtcd) PublishUpdateServiceCalls

func (fake *FakeIEtcd) PublishUpdateServiceCalls(stub func(context.Context, *protos.Service) error)

func (*FakeIEtcd) PublishUpdateServiceReturns

func (fake *FakeIEtcd) PublishUpdateServiceReturns(result1 error)

func (*FakeIEtcd) PublishUpdateServiceReturnsOnCall

func (fake *FakeIEtcd) PublishUpdateServiceReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) PublishUpdateValidation

func (fake *FakeIEtcd) PublishUpdateValidation(arg1 context.Context, arg2 *common.Validation) error

func (*FakeIEtcd) PublishUpdateValidationArgsForCall

func (fake *FakeIEtcd) PublishUpdateValidationArgsForCall(i int) (context.Context, *common.Validation)

func (*FakeIEtcd) PublishUpdateValidationCallCount

func (fake *FakeIEtcd) PublishUpdateValidationCallCount() int

func (*FakeIEtcd) PublishUpdateValidationCalls

func (fake *FakeIEtcd) PublishUpdateValidationCalls(stub func(context.Context, *common.Validation) error)

func (*FakeIEtcd) PublishUpdateValidationReturns

func (fake *FakeIEtcd) PublishUpdateValidationReturns(result1 error)

func (*FakeIEtcd) PublishUpdateValidationReturnsOnCall

func (fake *FakeIEtcd) PublishUpdateValidationReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) Put

func (fake *FakeIEtcd) Put(arg1 context.Context, arg2 string, arg3 string, arg4 ...clientv3.OpOption) (*clientv3.PutResponse, error)

func (*FakeIEtcd) PutArgsForCall

func (fake *FakeIEtcd) PutArgsForCall(i int) (context.Context, string, string, []clientv3.OpOption)

func (*FakeIEtcd) PutCallCount

func (fake *FakeIEtcd) PutCallCount() int

func (*FakeIEtcd) PutCalls

func (fake *FakeIEtcd) PutCalls(stub func(context.Context, string, string, ...clientv3.OpOption) (*clientv3.PutResponse, error))

func (*FakeIEtcd) PutReturns

func (fake *FakeIEtcd) PutReturns(result1 *clientv3.PutResponse, result2 error)

func (*FakeIEtcd) PutReturnsOnCall

func (fake *FakeIEtcd) PutReturnsOnCall(i int, result1 *clientv3.PutResponse, result2 error)

func (*FakeIEtcd) PutWithTTL

func (fake *FakeIEtcd) PutWithTTL(arg1 context.Context, arg2 string, arg3 string, arg4 time.Duration) (*clientv3.PutResponse, error)

func (*FakeIEtcd) PutWithTTLArgsForCall

func (fake *FakeIEtcd) PutWithTTLArgsForCall(i int) (context.Context, string, string, time.Duration)

func (*FakeIEtcd) PutWithTTLCallCount

func (fake *FakeIEtcd) PutWithTTLCallCount() int

func (*FakeIEtcd) PutWithTTLCalls

func (fake *FakeIEtcd) PutWithTTLCalls(stub func(context.Context, string, string, time.Duration) (*clientv3.PutResponse, error))

func (*FakeIEtcd) PutWithTTLReturns

func (fake *FakeIEtcd) PutWithTTLReturns(result1 *clientv3.PutResponse, result2 error)

func (*FakeIEtcd) PutWithTTLReturnsOnCall

func (fake *FakeIEtcd) PutWithTTLReturnsOnCall(i int, result1 *clientv3.PutResponse, result2 error)

func (*FakeIEtcd) SaveConfig

func (fake *FakeIEtcd) SaveConfig(arg1 context.Context, arg2 *config.Config) error

func (*FakeIEtcd) SaveConfigArgsForCall

func (fake *FakeIEtcd) SaveConfigArgsForCall(i int) (context.Context, *config.Config)

func (*FakeIEtcd) SaveConfigCallCount

func (fake *FakeIEtcd) SaveConfigCallCount() int

func (*FakeIEtcd) SaveConfigCalls

func (fake *FakeIEtcd) SaveConfigCalls(stub func(context.Context, *config.Config) error)

func (*FakeIEtcd) SaveConfigReturns

func (fake *FakeIEtcd) SaveConfigReturns(result1 error)

func (*FakeIEtcd) SaveConfigReturnsOnCall

func (fake *FakeIEtcd) SaveConfigReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) Shutdown

func (fake *FakeIEtcd) Shutdown(arg1 bool) error

func (*FakeIEtcd) ShutdownArgsForCall

func (fake *FakeIEtcd) ShutdownArgsForCall(i int) bool

func (*FakeIEtcd) ShutdownCallCount

func (fake *FakeIEtcd) ShutdownCallCount() int

func (*FakeIEtcd) ShutdownCalls

func (fake *FakeIEtcd) ShutdownCalls(stub func(bool) error)

func (*FakeIEtcd) ShutdownReturns

func (fake *FakeIEtcd) ShutdownReturns(result1 error)

func (*FakeIEtcd) ShutdownReturnsOnCall

func (fake *FakeIEtcd) ShutdownReturnsOnCall(i int, result1 error)

func (*FakeIEtcd) Start

func (fake *FakeIEtcd) Start(arg1 context.Context) error

func (*FakeIEtcd) StartArgsForCall

func (fake *FakeIEtcd) StartArgsForCall(i int) context.Context

func (*FakeIEtcd) StartCallCount

func (fake *FakeIEtcd) StartCallCount() int

func (*FakeIEtcd) StartCalls

func (fake *FakeIEtcd) StartCalls(stub func(context.Context) error)

func (*FakeIEtcd) StartReturns

func (fake *FakeIEtcd) StartReturns(result1 error)

func (*FakeIEtcd) StartReturnsOnCall

func (fake *FakeIEtcd) StartReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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