func Register(r *gin.RouterGroup, s *Service)
Register mounts our HTTP handler on the mux.
ArchiveExperimentDetail represents an experiment instance.
type ArchiveExperimentDetail struct { core.ArchiveExperimentMeta ExperimentInfo core.ExperimentInfo `json:"experiment_info"` }
Report defines the report of archive experiments.
type Report struct { Meta *core.ArchiveExperimentMeta `json:"meta"` Events []*core.Event `json:"events"` TotalTime string `json:"total_time"` TotalFaultTime string `json:"total_fault_time"` }
Service defines a handler service for archive experiments.
type Service struct {
// contains filtered or unexported fields
}
func NewService( conf *config.ChaosDashboardConfig, cli client.Client, archive core.ExperimentStore, event core.EventStore, ) *Service
NewService returns an archive experiment service instance.