Documentation
¶
Overview ¶
Package api contains implementation of bootstrap service HTTP API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrBootstrap indicates error in getting bootstrap configuration. ErrBootstrap = errors.New("failed to read bootstrap configuration") )
Functions ¶
func MakeHandler ¶
func MakeHandler(svc bootstrap.Service, authn mgauthn.Authentication, reader bootstrap.ConfigReader, logger *slog.Logger, instanceID string) http.Handler
MakeHandler returns a HTTP handler for API endpoints.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.