Documentation ¶
Index ¶
- type CollectorContext
- func (cc *CollectorContext) Client() client.Client
- func (cc *CollectorContext) ErrCount() int32
- func (cc *CollectorContext) HandleError(err error, span trace.Span)
- func (cc *CollectorContext) RecordMetrics(metrics ...prometheus.Metric)
- func (cc *CollectorContext) RootCtx() context.Context
- func (cc *CollectorContext) Tracer() trace.Tracer
- func (cc *CollectorContext) WaitGroup() *sync.WaitGroup
- type Member
- type MemberList
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectorContext ¶
type CollectorContext struct {
// contains filtered or unexported fields
}
func NewCollectorContext ¶
func NewCollectorContext(ctx context.Context, cl client.Client, ch chan<- prometheus.Metric, tracer trace.Tracer) *CollectorContext
func (*CollectorContext) Client ¶
func (cc *CollectorContext) Client() client.Client
func (*CollectorContext) ErrCount ¶
func (cc *CollectorContext) ErrCount() int32
func (*CollectorContext) HandleError ¶
func (cc *CollectorContext) HandleError(err error, span trace.Span)
func (*CollectorContext) RecordMetrics ¶
func (cc *CollectorContext) RecordMetrics(metrics ...prometheus.Metric)
func (*CollectorContext) RootCtx ¶
func (cc *CollectorContext) RootCtx() context.Context
func (*CollectorContext) Tracer ¶
func (cc *CollectorContext) Tracer() trace.Tracer
func (*CollectorContext) WaitGroup ¶
func (cc *CollectorContext) WaitGroup() *sync.WaitGroup
type MemberList ¶
type MemberList struct {
Members []Member
}
Click to show internal directories.
Click to hide internal directories.