management

package
v0.1.0-preview.2 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package management defines canonical descriptors for generated management endpoints.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enable

func Enable() sdk.Definition

Enable selects the management endpoints generated for one application.

Exposure is explicit and allowlisted. Sensitive values such as configuration secrets are redacted. Management routes participate in the same module ownership, authorization, metrics, and graceful shutdown model as application routes.

// @import { Enable } from "github.com/spice-framework/spice/annotation/management"
// @Enable(expose=["health", "liveness", "readiness", "info"], access="loopback")

func ManagementEnableHandler

func ManagementEnableHandler(
	_ context.Context,
	invocation sdk.Invocation,
) (sdk.Result, error)

ManagementEnableHandler contributes selected generated management endpoints.

Types

This section is empty.

Jump to

Keyboard shortcuts

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