mgmtapi

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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