...

Package archive

import "github.com/chaos-mesh/chaos-mesh/pkg/dashboard/apiserver/archive"
Overview
Index

Overview ▾

func Register

func Register(r *gin.RouterGroup, s *Service)

Register archives RouterGroup.

type Service

Service defines a handler service for archives.

type Service struct {
    // contains filtered or unexported fields
}

func NewService

func NewService(
    archive core.ExperimentStore,
    archiveSchedule core.ScheduleStore,
    event core.EventStore,
    workflowStore core.WorkflowStore,
    conf *config.ChaosDashboardConfig,
) *Service