Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type Client
- func (fake *Client) App(appName string) (*eureka.App, error)
- func (fake *Client) AppArgsForCall(i int) string
- func (fake *Client) AppCallCount() int
- func (fake *Client) AppInstance(appName string, instanceID string) (*eureka.Instance, error)
- func (fake *Client) AppInstanceArgsForCall(i int) (string, string)
- func (fake *Client) AppInstanceCallCount() int
- func (fake *Client) AppInstanceReturns(result1 *eureka.Instance, result2 error)
- func (fake *Client) AppReturns(result1 *eureka.App, result2 error)
- func (fake *Client) Apps() ([]*eureka.App, error)
- func (fake *Client) AppsCallCount() int
- func (fake *Client) AppsReturns(result1 []*eureka.App, result2 error)
- func (fake *Client) Deregister(arg1 *eureka.Instance) error
- func (fake *Client) DeregisterArgsForCall(i int) *eureka.Instance
- func (fake *Client) DeregisterCallCount() int
- func (fake *Client) DeregisterReturns(result1 error)
- func (fake *Client) Heartbeat(arg1 *eureka.Instance) error
- func (fake *Client) HeartbeatArgsForCall(i int) *eureka.Instance
- func (fake *Client) HeartbeatCallCount() int
- func (fake *Client) HeartbeatReturns(result1 error)
- func (fake *Client) Register(arg1 *eureka.Instance) error
- func (fake *Client) RegisterArgsForCall(i int) *eureka.Instance
- func (fake *Client) RegisterCallCount() int
- func (fake *Client) RegisterReturns(result1 error)
- func (fake *Client) Watch(pollInterval time.Duration) *eureka.Watcher
- func (fake *Client) WatchArgsForCall(i int) time.Duration
- func (fake *Client) WatchCallCount() int
- func (fake *Client) WatchReturns(result1 *eureka.Watcher)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { RegisterStub func(*eureka.Instance) error DeregisterStub func(*eureka.Instance) error HeartbeatStub func(*eureka.Instance) error AppsStub func() ([]*eureka.App, error) AppStub func(appName string) (*eureka.App, error) AppInstanceStub func(appName, instanceID string) (*eureka.Instance, error) WatchStub func(pollInterval time.Duration) *eureka.Watcher // contains filtered or unexported fields }
func (*Client) AppArgsForCall ¶
func (*Client) AppCallCount ¶
func (*Client) AppInstance ¶
func (*Client) AppInstanceArgsForCall ¶
func (*Client) AppInstanceCallCount ¶
func (*Client) AppInstanceReturns ¶
func (*Client) AppReturns ¶
func (*Client) AppsCallCount ¶
func (*Client) AppsReturns ¶
func (*Client) Deregister ¶
func (*Client) DeregisterArgsForCall ¶
func (*Client) DeregisterCallCount ¶
func (*Client) DeregisterReturns ¶
func (*Client) HeartbeatArgsForCall ¶
func (*Client) HeartbeatCallCount ¶
func (*Client) HeartbeatReturns ¶
func (*Client) RegisterArgsForCall ¶
func (*Client) RegisterCallCount ¶
func (*Client) RegisterReturns ¶
func (*Client) WatchCallCount ¶
func (*Client) WatchReturns ¶
func (fake *Client) WatchReturns(result1 *eureka.Watcher)
Click to show internal directories.
Click to hide internal directories.