controller

package
v0.0.0-...-f05b11c Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAlertController

func NewAlertController(cc infra.Resolver) web.Controller

func NewHealthcheckController

func NewHealthcheckController(cc infra.Resolver) web.Controller

func NewInspectController

func NewInspectController(cc infra.Resolver, conf *config.Config) web.Controller

func NewPushController

func NewPushController(cc infra.Resolver) web.Controller

Types

type AlertController

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

func (AlertController) Alerts

func (ctl AlertController) Alerts(alertManager *alert.Manager) alert.Alerts

func (AlertController) FailedCount

func (ctl AlertController) FailedCount(webCtx web.Context, alertManager *alert.Manager) web.Response

func (AlertController) Register

func (ctl AlertController) Register(router web.Router)

type HealthcheckController

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

func (HealthcheckController) DeleteHealthCheck

func (ctl HealthcheckController) DeleteHealthCheck(webCtx web.Context, sche *scheduler.Scheduler) web.Response

func (HealthcheckController) HealthChecks

func (HealthcheckController) Register

func (ctl HealthcheckController) Register(router web.Router)

type InspectController

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

func (InspectController) Register

func (wel InspectController) Register(router web.Router)

func (InspectController) Version

func (wel InspectController) Version(ctx web.Context) web.Response

type PushController

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

func (PushController) Push

func (ctl PushController) Push(webCtx web.Context, sche *scheduler.Scheduler) web.Response

func (PushController) Register

func (ctl PushController) Register(router web.Router)

Jump to

Keyboard shortcuts

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