Documentation
¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeConnection
- func (fake *FakeConnection) AddService(arg1 apihub.ServiceSpec) (apihub.ServiceSpec, error)
- func (fake *FakeConnection) AddServiceArgsForCall(i int) apihub.ServiceSpec
- func (fake *FakeConnection) AddServiceCallCount() int
- func (fake *FakeConnection) AddServiceReturns(result1 apihub.ServiceSpec, result2 error)
- func (fake *FakeConnection) FindService(arg1 string) (apihub.ServiceSpec, error)
- func (fake *FakeConnection) FindServiceArgsForCall(i int) string
- func (fake *FakeConnection) FindServiceCallCount() int
- func (fake *FakeConnection) FindServiceReturns(result1 apihub.ServiceSpec, result2 error)
- func (fake *FakeConnection) Invocations() map[string][][]interface{}
- func (fake *FakeConnection) Ping() error
- func (fake *FakeConnection) PingCallCount() int
- func (fake *FakeConnection) PingReturns(result1 error)
- func (fake *FakeConnection) RemoveService(arg1 string) error
- func (fake *FakeConnection) RemoveServiceArgsForCall(i int) string
- func (fake *FakeConnection) RemoveServiceCallCount() int
- func (fake *FakeConnection) RemoveServiceReturns(result1 error)
- func (fake *FakeConnection) Services() ([]apihub.ServiceSpec, error)
- func (fake *FakeConnection) ServicesCallCount() int
- func (fake *FakeConnection) ServicesReturns(result1 []apihub.ServiceSpec, result2 error)
- func (fake *FakeConnection) UpdateService(arg1 string, arg2 apihub.ServiceSpec) (apihub.ServiceSpec, error)
- func (fake *FakeConnection) UpdateServiceArgsForCall(i int) (string, apihub.ServiceSpec)
- func (fake *FakeConnection) UpdateServiceCallCount() int
- func (fake *FakeConnection) UpdateServiceReturns(result1 apihub.ServiceSpec, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConnection ¶
type FakeConnection struct { PingStub func() error AddServiceStub func(apihub.ServiceSpec) (apihub.ServiceSpec, error) ServicesStub func() ([]apihub.ServiceSpec, error) RemoveServiceStub func(string) error FindServiceStub func(string) (apihub.ServiceSpec, error) UpdateServiceStub func(string, apihub.ServiceSpec) (apihub.ServiceSpec, error) // contains filtered or unexported fields }
func (*FakeConnection) AddService ¶
func (fake *FakeConnection) AddService(arg1 apihub.ServiceSpec) (apihub.ServiceSpec, error)
func (*FakeConnection) AddServiceArgsForCall ¶
func (fake *FakeConnection) AddServiceArgsForCall(i int) apihub.ServiceSpec
func (*FakeConnection) AddServiceCallCount ¶
func (fake *FakeConnection) AddServiceCallCount() int
func (*FakeConnection) AddServiceReturns ¶
func (fake *FakeConnection) AddServiceReturns(result1 apihub.ServiceSpec, result2 error)
func (*FakeConnection) FindService ¶
func (fake *FakeConnection) FindService(arg1 string) (apihub.ServiceSpec, error)
func (*FakeConnection) FindServiceArgsForCall ¶
func (fake *FakeConnection) FindServiceArgsForCall(i int) string
func (*FakeConnection) FindServiceCallCount ¶
func (fake *FakeConnection) FindServiceCallCount() int
func (*FakeConnection) FindServiceReturns ¶
func (fake *FakeConnection) FindServiceReturns(result1 apihub.ServiceSpec, result2 error)
func (*FakeConnection) Invocations ¶
func (fake *FakeConnection) Invocations() map[string][][]interface{}
func (*FakeConnection) Ping ¶
func (fake *FakeConnection) Ping() error
func (*FakeConnection) PingCallCount ¶
func (fake *FakeConnection) PingCallCount() int
func (*FakeConnection) PingReturns ¶
func (fake *FakeConnection) PingReturns(result1 error)
func (*FakeConnection) RemoveService ¶
func (fake *FakeConnection) RemoveService(arg1 string) error
func (*FakeConnection) RemoveServiceArgsForCall ¶
func (fake *FakeConnection) RemoveServiceArgsForCall(i int) string
func (*FakeConnection) RemoveServiceCallCount ¶
func (fake *FakeConnection) RemoveServiceCallCount() int
func (*FakeConnection) RemoveServiceReturns ¶
func (fake *FakeConnection) RemoveServiceReturns(result1 error)
func (*FakeConnection) Services ¶
func (fake *FakeConnection) Services() ([]apihub.ServiceSpec, error)
func (*FakeConnection) ServicesCallCount ¶
func (fake *FakeConnection) ServicesCallCount() int
func (*FakeConnection) ServicesReturns ¶
func (fake *FakeConnection) ServicesReturns(result1 []apihub.ServiceSpec, result2 error)
func (*FakeConnection) UpdateService ¶
func (fake *FakeConnection) UpdateService(arg1 string, arg2 apihub.ServiceSpec) (apihub.ServiceSpec, error)
func (*FakeConnection) UpdateServiceArgsForCall ¶
func (fake *FakeConnection) UpdateServiceArgsForCall(i int) (string, apihub.ServiceSpec)
func (*FakeConnection) UpdateServiceCallCount ¶
func (fake *FakeConnection) UpdateServiceCallCount() int
func (*FakeConnection) UpdateServiceReturns ¶
func (fake *FakeConnection) UpdateServiceReturns(result1 apihub.ServiceSpec, result2 error)
Click to show internal directories.
Click to hide internal directories.