Documentation
¶
Index ¶
- type Server
- func (s *Server) AddAccountRoutes(r *gin.RouterGroup)
- func (s *Server) AddK8sRoutes(r *gin.RouterGroup)
- func (s *Server) AddRoutes(r *gin.RouterGroup)
- func (s *Server) AddTraceflowRoutes(r *gin.RouterGroup)
- func (s *Server) CreateTraceflowRequest(c *gin.Context)
- func (s *Server) DeleteTraceflowRequest(c *gin.Context)
- func (s *Server) FrontendSettings(c *gin.Context)
- func (s *Server) GetFeatureGates(c *gin.Context)
- func (s *Server) GetK8s(c *gin.Context)
- func (s *Server) GetTraceflowRequestResult(c *gin.Context)
- func (s *Server) GetTraceflowRequestStatus(c *gin.Context)
- func (s *Server) LogError(sError *errors.ServerError, msg string, keysAndValues ...interface{})
- func (s *Server) UpdatePassword(c *gin.Context)
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
}
func NewServer ¶
func NewServer( logger logr.Logger, k8sClient dynamic.Interface, traceflowRequestsHandler traceflow.RequestsHandler, k8sProxyHandler http.Handler, antreaSvcRequestsHandler antreasvc.RequestsHandler, passwordStore password.Store, tokenManager auth.TokenManager, config *serverconfig.Config, ) *Server
func (*Server) AddAccountRoutes ¶
func (s *Server) AddAccountRoutes(r *gin.RouterGroup)
func (*Server) AddK8sRoutes ¶
func (s *Server) AddK8sRoutes(r *gin.RouterGroup)
func (*Server) AddRoutes ¶
func (s *Server) AddRoutes(r *gin.RouterGroup)
func (*Server) AddTraceflowRoutes ¶
func (s *Server) AddTraceflowRoutes(r *gin.RouterGroup)
func (*Server) CreateTraceflowRequest ¶
func (*Server) DeleteTraceflowRequest ¶
func (*Server) FrontendSettings ¶
func (*Server) GetFeatureGates ¶ added in v0.5.0
func (*Server) GetTraceflowRequestResult ¶
func (*Server) GetTraceflowRequestStatus ¶
func (*Server) LogError ¶
func (s *Server) LogError(sError *errors.ServerError, msg string, keysAndValues ...interface{})
func (*Server) UpdatePassword ¶
Click to show internal directories.
Click to hide internal directories.