...

Package gcp

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

Overview ▾

func Register

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

Register mounts HTTP handler on the mux.

type Service

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

func NewService

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

NewService returns an experiment service instance.

func (*Service) Middleware

func (s *Service) Middleware(c *gin.Context)