internalapi

package
v0.11.0-rc.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

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 NewProbe

func NewProbe(fn func() bool) *Probe

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 NewProf added in v0.10.0

func NewProf() *Prof

func (*Prof) Route added in v0.10.0

func (p *Prof) Route(mux *httprouter.Router)

type ResourceServer

type ResourceServer struct {
	Config *configv2.Config
	// contains filtered or unexported fields
}

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 (*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)

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New added in v0.10.0

func New() *Server

func (*Server) Route

func (s *Server) Route(router *httprouter.Router)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL