management

package
v1.43.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func AppMetaInfoContributor added in v1.16.4

func AppMetaInfoContributor(app metadata.ApplicationMetadata) info.InfoContributorOut

func NewHealthCheckController

func NewHealthCheckController(log *zap.SugaredLogger, i healthIndicators) server.ManagementController

func NewInfoController added in v1.16.4

func NewInfoController(log *zap.SugaredLogger, is *info.InfoService) server.ManagementController

Types

type Health

type Health struct {
	Name  string
	Ready bool
	Alive bool
	Msg   string
}

Health Carries information about the health of a component or subsystem.

type HealthCheckResponse

type HealthCheckResponse struct {
	Status string         `json:"status"`
	Info   map[string]any `json:"info,omitempty"`
}

type HealthController

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

func (*HealthController) Handlers

func (c *HealthController) Handlers() []server.Handler

type HealthIndicator added in v1.16.4

type HealthIndicator struct {
	fx.Out
	HealthIndicator indicator `group:"health-check"`
}

type InfoController added in v1.16.4

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

func (InfoController) Handlers added in v1.16.4

func (i InfoController) Handlers() []server.Handler

type InfoResponse added in v1.16.4

type InfoResponse map[string]any

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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