api

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(deps Dependencies) http.Handler

NewRouter wires the Chef-compatible HTTP surface and wraps it with low-cardinality operational instrumentation.

Types

type Dependencies

type Dependencies struct {
	Logger           *log.Logger
	Config           config.Config
	Version          version.Info
	Compat           compat.Registry
	Now              func() time.Time
	Authn            authn.Verifier
	Authz            authz.Authorizer
	Bootstrap        *bootstrap.Service
	Blob             blob.Store
	BlobUploadSecret []byte
	Search           search.Index
	Postgres         *pg.Store
	Maintenance      maintenance.Store
	CookbookBackend  string
}

Jump to

Keyboard shortcuts

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