Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a http.Handler which proxies Kubernetes APIs to remote API server.
func NewServer ¶
func NewServer(ctx *context2.ControllerContext, requestHeaderCaFile, clientCaFile string) (*Server, error)
NewServer creates and installs a new Server. 'filter', if non-nil, protects requests to the api only.
func (*Server) ServeOnListenerTLS ¶
func (s *Server) ServeOnListenerTLS(address string, port int, stopChan <-chan struct{}) error
ServeOnListenerTLS starts the server using given listener with TLS, loops forever until an error occurs
Click to show internal directories.
Click to hide internal directories.