...

Package schedule

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

Overview ▾

func Register

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

Register schedules RouterGroup.

type Service

Service defines a handler service for schedules.

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

func Bootstrap

func Bootstrap(schedule core.ScheduleStore,
    event core.EventStore,
    config *config.ChaosDashboardConfig,
    scheme *runtime.Scheme,
    log logr.Logger) *Service

func NewService

func NewService(
    schedule core.ScheduleStore,
    event core.EventStore,
    config *config.ChaosDashboardConfig,
    scheme *runtime.Scheme,
    log logr.Logger,
) *Service