Documentation ¶
Overview ¶
package client implements the normal labels.Applicator functions but maps them onto a grpc server call
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) WatchMatches ¶
func (c Client) WatchMatches(selector klabels.Selector, labelType labels.Type, _ time.Duration, quitCh <-chan struct{}) (chan []labels.Labeled, error)
WatchMatches uses streaming gRPC to subscribe to updates to a label selector and passes each update on the output channel. Returns an error if the initial gRPC call fails. Any further connection breakages will attempt to be re-established in a loop.
aggregationRate is unused because aggregation is handled by the server
Click to show internal directories.
Click to hide internal directories.