...

Package template

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

Overview ▾

func Register

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

type Service

Service defines a handler service for cluster common objects.

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

func Bootstrap

func Bootstrap(conf *config.ChaosDashboardConfig, logger logr.Logger) *Service

func NewService

func NewService(conf *config.ChaosDashboardConfig, logger logr.Logger) *Service