Lines Matching defs:Pusher
69 type Pusher struct { struct
70 error error
72 url, job string
73 grouping map[string]string
75 gatherers prometheus.Gatherers
76 registerer prometheus.Registerer
78 client HTTPDoer
79 useBasicAuth bool
80 username, password string
82 expfmt expfmt.Format
125 func (p *Pusher) Push() error {
132 func (p *Pusher) Add() error {
141 func (p *Pusher) Gatherer(g prometheus.Gatherer) *Pusher {
151 func (p *Pusher) Collector(c prometheus.Collector) *Pusher {
164 func (p *Pusher) Grouping(name, value string) *Pusher {
181 func (p *Pusher) Client(c HTTPDoer) *Pusher {
189 func (p *Pusher) BasicAuth(username, password string) *Pusher {
201 func (p *Pusher) Format(format expfmt.Format) *Pusher {
213 func (p *Pusher) Delete() error {
236 func (p *Pusher) push(method string) error {
292 func (p *Pusher) fullURL() string {