management

package
v0.1.25 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package management provides core management interfaces and types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPHandler

type HTTPHandler interface {
	RoutesInfos() RoutesInfo
}

HTTPHandler is an interface for components that provide management HTTP routes.

type RouteInfo

type RouteInfo struct {
	Method  string
	Path    string
	Handler http.Handler
}

RouteInfo defines a single management route configuration.

type RoutesInfo

type RoutesInfo []RouteInfo

RoutesInfo is a collection of management routes.

type RoutesInfoWrapper

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

RoutesInfoWrapper wraps ManagementRoutesInfo to implement ManagementHTTPHandler.

func NewRoutesInfoWrapper

func NewRoutesInfoWrapper(routesInfo RoutesInfo) *RoutesInfoWrapper

NewRoutesInfoWrapper creates a new ManagementRoutesInfoWrapper.

func (*RoutesInfoWrapper) RoutesInfos

func (w *RoutesInfoWrapper) RoutesInfos() RoutesInfo

RoutesInfos returns the wrapped management routes.

Directories

Path Synopsis
Package healthcheck provides health and readiness check functionality.
Package healthcheck provides health and readiness check functionality.
Package observability provides observability features for the application.
Package observability provides observability features for the application.
Package pprof provides functionalities for performance profiling.
Package pprof provides functionalities for performance profiling.

Jump to

Keyboard shortcuts

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