common

package
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

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

Register mounts our HTTP handler on the mux.

Types

type MapSlice

type MapSlice map[string][]string

MapSlice defines a common map

type Pod

type Pod struct {
	Name      string `json:"name"`
	IP        string `json:"ip"`
	Namespace string `json:"namespace"`
	State     string `json:"state"`
}

Pod defines the basic information of a pod

type Service

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

Service defines a handler service for cluster common objects.

func NewService

func NewService(
	conf *config.ChaosDashboardConfig,
	kubeCli client.Client,
) *Service

NewService returns an experiment service instance.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL