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
}
Source Files
¶
- bootstrap_routes.go
- client_routes.go
- cookbook_routes.go
- core_object_route_helpers.go
- data_bag_routes.go
- environment_depsolver_routes.go
- environment_routes.go
- key_routes.go
- maintenance_contract.go
- maintenance_repair_routes.go
- metrics.go
- node_routes.go
- policy_routes.go
- request_logging.go
- response.go
- role_routes.go
- router.go
- sandbox_routes.go
- search_routes.go
- server_api_version.go
Click to show internal directories.
Click to hide internal directories.