Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TranslatePath ¶
func TranslatePath(req *restful.Request, tenantName string)
TranslatePath translate the naming between tenant and master cluster.
func TranslatePathForSuper ¶
TranslatePathForSuper translates the URL path to kubelet to super apiserver
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a http.Handler which exposes vn-agent functionality over HTTP.
func NewServer ¶
NewServer initializes and configures a vn-agent.Server object to handle HTTP requests.
func (*Server) InstallHandlers ¶
func (s *Server) InstallHandlers()
InstallHandlers set router and handlers.
Click to show internal directories.
Click to hide internal directories.