...

Package event

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

Overview ▾

func Register

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

Register mounts our HTTP handler on the mux.

type Service

Service defines a handler service for events.

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

func NewService

func NewService(
    conf *config.ChaosDashboardConfig,
    cli client.Client,
    archive core.ExperimentStore,
    event core.EventStore,
) *Service

NewService return an event service instance.