mocks

package
v1.3.2-0...-fafde9c Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConn

type ClientConn struct {
	// contains filtered or unexported fields
}

func NewClientConn

func NewClientConn() *ClientConn

func (*ClientConn) Addrs

func (t *ClientConn) Addrs() (addrs []resolver.Address)

func (*ClientConn) LastReportedError

func (t *ClientConn) LastReportedError() error

func (*ClientConn) NewAddress

func (t *ClientConn) NewAddress(addrs []resolver.Address)

func (*ClientConn) NewServiceConfig

func (*ClientConn) NewServiceConfig(string)

func (*ClientConn) ParseServiceConfig

func (t *ClientConn) ParseServiceConfig(_ string) *serviceconfig.ParseResult

func (*ClientConn) ReportError

func (t *ClientConn) ReportError(err error)

func (*ClientConn) UpdateState

func (t *ClientConn) UpdateState(state resolver.State)

func (*ClientConn) UpdateStateCallCnt

func (t *ClientConn) UpdateStateCallCnt() int

type ConsulHealthClient

type ConsulHealthClient struct {
	// contains filtered or unexported fields
}

func NewConsulHealthClient

func NewConsulHealthClient() *ConsulHealthClient

func (*ConsulHealthClient) ServiceMultipleTags

func (c *ConsulHealthClient) ServiceMultipleTags(service string, tags []string, passingOnly bool, q *consul.QueryOptions) ([]*consul.ServiceEntry, *consul.QueryMeta, error)

func (*ConsulHealthClient) SetRespEntries

func (c *ConsulHealthClient) SetRespEntries(entries []*consul.ServiceEntry)

func (*ConsulHealthClient) SetRespError

func (c *ConsulHealthClient) SetRespError(err error)

func (*ConsulHealthClient) SetRespServiceEntries

func (c *ConsulHealthClient) SetRespServiceEntries(s []*consul.AgentService)

Jump to

Keyboard shortcuts

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