Documentation ¶
Index ¶
- type ClientSet
- type HTTPProxy
- type HTTPServer
- type Options
- type Proxy
- func (s *Proxy) Add(agent *v1alpha1.Agent) error
- func (s *Proxy) Close() error
- func (s *Proxy) Delete(name string) error
- func (s *Proxy) Run(stopCh <-chan struct{}) error
- func (s *Proxy) Start(host, port string) error
- func (s *Proxy) Update(agent *v1alpha1.Agent, connected bool) error
- func (s *Proxy) Wait() error
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPProxy ¶
type HTTPProxy struct {
// contains filtered or unexported fields
}
func NewHTTPProxy ¶
type HTTPServer ¶
HTTPServer extends net/http Proxy and adds graceful shutdowns
func NewHTTPServer ¶
func NewHTTPServer() *HTTPServer
func (*HTTPServer) Close ¶
func (h *HTTPServer) Close() error
func (*HTTPServer) GoListenAndServe ¶
func (h *HTTPServer) GoListenAndServe(addr string, handler http.Handler) error
func (*HTTPServer) Wait ¶
func (h *HTTPServer) Wait() error
Click to show internal directories.
Click to hide internal directories.