Documentation
¶
Index ¶
Constants ¶
Variables ¶
View Source
var ErrInvalidKeystorePoolInterval = errors.New("invalid keystore pool interval, must be > 0")
Functions ¶
func MonitorKeystorePoolSize ¶ added in v0.7.0
Types ¶
type CmkServer ¶
type CmkServer struct {
// contains filtered or unexported fields
}
func NewCMKServer ¶
type KeystorePoolMonitor ¶ added in v0.7.0
type KeystorePoolMonitor struct {
// contains filtered or unexported fields
}
func NewKeystorePoolMonitorFromCfg ¶ added in v0.7.0
func NewKeystorePoolMonitorFromCfg(cfg *config.Config) (*KeystorePoolMonitor, error)
func (*KeystorePoolMonitor) Start ¶ added in v0.7.0
func (m *KeystorePoolMonitor) Start(ctx context.Context)
type ServeMux ¶
type ServeMux struct {
BaseURL string
// contains filtered or unexported fields
}
func NewServeMux ¶
func NewServeMux(baseURL string, opts ...ServeMuxOption) *ServeMux
func (*ServeMux) HandleFunc ¶
type ServeMuxOption ¶ added in v0.9.0
type ServeMuxOption func(*ServeMux)
func WithSwaggerUI ¶ added in v0.9.0
func WithSwaggerUI(swagger *openapi3.T) ServeMuxOption
WithSwaggerUI adds an endpoint to serve Swagger UI at /cmk/v1/swagger The Swagger UI will load the OpenAPI spec inline without requiring a separate endpoint Note: The {tenant} parameter is removed from the base URL for this endpoint
Click to show internal directories.
Click to hide internal directories.