Documentation ¶
Index ¶
- type Collector
- type Probe
- type Prof
- type ResourceServer
- func (r *ResourceServer) GPGKey(w http.ResponseWriter, req *http.Request, params httprouter.Params)
- func (r *ResourceServer) PublicKey(w http.ResponseWriter, _ *http.Request, _ httprouter.Params)
- func (r *ResourceServer) Route(mux *httprouter.Router)
- func (r *ResourceServer) SSHKeys(w http.ResponseWriter, req *http.Request, params httprouter.Params)
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func NewCollector() *Collector
func (*Collector) Collect ¶
func (c *Collector) Collect(ch chan<- prometheus.Metric)
func (*Collector) Describe ¶
func (c *Collector) Describe(ch chan<- *prometheus.Desc)
type Probe ¶
type Probe struct {
// contains filtered or unexported fields
}
func (*Probe) Liveness ¶
func (p *Probe) Liveness(w http.ResponseWriter, req *http.Request, _ httprouter.Params)
func (*Probe) Readiness ¶
func (p *Probe) Readiness(w http.ResponseWriter, req *http.Request, _ httprouter.Params)
func (*Probe) Route ¶
func (p *Probe) Route(mux *httprouter.Router)
type Prof ¶ added in v0.10.0
type Prof struct { }
func (*Prof) Route ¶ added in v0.10.0
func (p *Prof) Route(mux *httprouter.Router)
type ResourceServer ¶
func NewResourceServer ¶
func NewResourceServer(config *configv2.Config, userDatabase database.UserDatabase) (*ResourceServer, error)
func (*ResourceServer) GPGKey ¶ added in v0.10.0
func (r *ResourceServer) GPGKey(w http.ResponseWriter, req *http.Request, params httprouter.Params)
func (*ResourceServer) PublicKey ¶ added in v0.10.0
func (r *ResourceServer) PublicKey(w http.ResponseWriter, _ *http.Request, _ httprouter.Params)
func (*ResourceServer) Route ¶
func (r *ResourceServer) Route(mux *httprouter.Router)
func (*ResourceServer) SSHKeys ¶ added in v0.10.0
func (r *ResourceServer) SSHKeys(w http.ResponseWriter, req *http.Request, params httprouter.Params)
Click to show internal directories.
Click to hide internal directories.