mgmtapi

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	InternalError  = "/problems/internal-error"
	BadRequest     = "/problems/bad-request"
	Forbidden      = "/problems/forbidden"
	NotFound       = "/problems/not-found"
	NotImplemented = "/problems/not-implemented"
)

Error types

Variables

This section is empty.

Functions

func ResolveIndex

func ResolveIndex(f embed.FS) []byte

ResolveIndex resolves the service management API index page from the passed filesystem. If it is not present, a placeholder is returned.

func StringRef

func StringRef(s string) *string

StringRef takes the reference of a string.

Types

type Config

type Config struct {
	config.NoDefaulter
	config.NoValidator
	Addr string `toml:"addr,omitempty"`
}

func (*Config) ConfigName

func (cfg *Config) ConfigName() string

func (*Config) Sample

func (cfg *Config) Sample(dst io.Writer, path config.Path, _ config.CtxMap)

Directories

Path Synopsis
cppki
api
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.
health
api
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.
Package jwtauth includes helper functions for creating HTTP clients and servers that can perform JWT authorization via Bearer tokens.
Package jwtauth includes helper functions for creating HTTP clients and servers that can perform JWT authorization via Bearer tokens.
segments
api
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.
api/mock_api
Package mock_api is a generated GoMock package.
Package mock_api is a generated GoMock package.

Jump to

Keyboard shortcuts

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