router

package
v0.0.0-...-b8a1a0e Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

* Copyright (c) 2024 KhulnaSoft Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.

Index

Constants

View Source
const OK = "ok"

Variables

This section is empty.

Functions

func SetInitStageForHealthChecker

func SetInitStageForHealthChecker(s string)

Types

type Analyzer

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

func NewAnalyzer

func NewAnalyzer(cfg *config.ControllerConfig, ac *monitor.AnalyzerCheck) *Analyzer

func (*Analyzer) RegisterTo

func (a *Analyzer) RegisterTo(e *gin.Engine)

type Controller

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

func (*Controller) RegisterTo

func (c *Controller) RegisterTo(e *gin.Engine)

type DataSource

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

func NewDataSource

func NewDataSource(cfg *config.ControllerConfig) *DataSource

func (*DataSource) RegisterTo

func (ds *DataSource) RegisterTo(e *gin.Engine)

type Debug

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

func NewDebug

func NewDebug(m *manager.Manager, g *genesis.Genesis) *Debug

func (*Debug) RegisterTo

func (d *Debug) RegisterTo(e *gin.Engine)

type Election

type Election struct{}

func NewElection

func NewElection() *Election

func (*Election) RegisterTo

func (el *Election) RegisterTo(e *gin.Engine)

type Health

type Health struct{}

func NewHealth

func NewHealth() *Health

func (*Health) RegisterTo

func (s *Health) RegisterTo(e *gin.Engine)

type Mail

type Mail struct{}

func NewMail

func NewMail() *Mail

func (*Mail) RegisterTo

func (m *Mail) RegisterTo(e *gin.Engine)

type Plugin

type Plugin struct{}

func NewPlugin

func NewPlugin() *Plugin

func (*Plugin) RegisterTo

func (p *Plugin) RegisterTo(e *gin.Engine)

type Prometheus

type Prometheus struct{}

func NewPrometheus

func NewPrometheus() *Prometheus

func (*Prometheus) RegisterTo

func (p *Prometheus) RegisterTo(e *gin.Engine)

type VTapGroupConfig

type VTapGroupConfig struct{}

func NewVTapGroupConfig

func NewVTapGroupConfig() *VTapGroupConfig

func (*VTapGroupConfig) RegisterTo

func (cgc *VTapGroupConfig) RegisterTo(e *gin.Engine)

type VTapInterface

type VTapInterface struct{}

func NewVTapInterface

func NewVTapInterface() *VTapInterface

func (*VTapInterface) RegisterTo

func (vti *VTapInterface) RegisterTo(e *gin.Engine)

type Vtap

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

func NewVtap

func NewVtap(cfg *config.ControllerConfig) *Vtap

func (*Vtap) RegisterTo

func (v *Vtap) RegisterTo(e *gin.Engine)

type VtapGroup

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

func NewVtapGroup

func NewVtapGroup(cfg *config.ControllerConfig) *VtapGroup

func (*VtapGroup) RegisterTo

func (v *VtapGroup) RegisterTo(e *gin.Engine)

type VtapRepo

type VtapRepo struct{}

func NewVtapRepo

func NewVtapRepo() *VtapRepo

func (*VtapRepo) RegisterTo

func (vr *VtapRepo) RegisterTo(e *gin.Engine)

Directories

Path Synopsis
Package configuration is only provided for enterprise edition.
Package configuration is only provided for enterprise edition.

Jump to

Keyboard shortcuts

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