Documentation ¶
Index ¶
- type ClientConn
- func (t *ClientConn) Addrs() (addrs []resolver.Address)
- func (t *ClientConn) LastReportedError() error
- func (t *ClientConn) NewAddress(addrs []resolver.Address)
- func (*ClientConn) NewServiceConfig(string)
- func (t *ClientConn) ParseServiceConfig(_ string) *serviceconfig.ParseResult
- func (t *ClientConn) ReportError(err error)
- func (t *ClientConn) SetUpdateStateReturnVal(v error)
- func (t *ClientConn) UpdateState(state resolver.State) error
- func (t *ClientConn) UpdateStateCallCnt() int
- type ConsulHealthClient
- func (c *ConsulHealthClient) ServiceMultipleTags(service string, tags []string, passingOnly bool, q *consul.QueryOptions) ([]*consul.ServiceEntry, *consul.QueryMeta, error)
- func (c *ConsulHealthClient) SetRespEntries(entries []*consul.ServiceEntry)
- func (c *ConsulHealthClient) SetRespError(err error)
- func (c *ConsulHealthClient) SetRespServiceEntries(s []*consul.AgentService)
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) SetUpdateStateReturnVal ¶ added in v2.1.0
func (t *ClientConn) SetUpdateStateReturnVal(v error)
func (*ClientConn) UpdateState ¶
func (t *ClientConn) UpdateState(state resolver.State) error
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)
Click to show internal directories.
Click to hide internal directories.