Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(r *gin.RouterGroup, s *Service)
Register mounts our HTTP handler on the mux.
Types ¶
type Pod ¶
type Pod struct { Name string `json:"name"` IP string `json:"ip"` Namespace string `json:"namespace"` State string `json:"state"` }
Pod defines the basic information of a pod
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service defines a handler service for cluster common objects.
func NewService ¶
func NewService( conf *config.ChaosDashboardConfig, cli client.Client, reader client.Reader, ) *Service
NewService returns an experiment service instance.
Click to show internal directories.
Click to hide internal directories.