go

module
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: Apache-2.0

README

Golang Libraries for Orchestration Microservices

This repository includes common libraries that are used across orchestration microservices.

  • Middlewares
    • Gin
      • Middleware for message size limiting
      • Middleware for checking non-Unicode characters in path and query parameters of REST API requests
      • Middleware for checking non-Unicode characters in the body of REST API requests
      • A custom routing error handler
  • Logging
    • Loggers for the Gin Web Framework and K8s Controllers based on the dazl logging framework
  • Auto Generated REST Clients and Mocks
    • Golang REST Client and mock for Open Policy Agent (OPA)
    • Golang REST Client and mock for OpenID Connect (OIDC)
  • Handling Files
    • Utility functions to load OpenAPI specs and extract required information (e.g., paths)
  • Error Handling
    • A typed error package for unifying error formats in Golang and utility functions to convert gRPC errors to typed errors and vice versa.

Directories

Path Synopsis
dazl module
zap module
zerolog module
pkg
auth
SPDX-FileCopyrightText: (C) 2026 Intel Corporation SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: (C) 2026 Intel Corporation SPDX-License-Identifier: Apache-2.0
cli
middleware/projectcontext
SPDX-FileCopyrightText: (C) 2026 Intel Corporation SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: (C) 2026 Intel Corporation SPDX-License-Identifier: Apache-2.0
northbound
Package northbound houses implementations of various application-oriented interfaces for the ONOS configuration subsystem.
Package northbound houses implementations of various application-oriented interfaces for the ONOS configuration subsystem.
openidconnect
Package openidconnect provides primitives to interact with the openapi HTTP API.
Package openidconnect provides primitives to interact with the openapi HTTP API.
openpolicyagent
Package openpolicyagent provides primitives to interact with the openapi HTTP API.
Package openpolicyagent provides primitives to interact with the openapi HTTP API.
tenancy
Package tenancy provides a shared client library for tenant controllers to consume tenancy events from the Tenant Manager REST API.
Package tenancy provides a shared client library for tenant controllers to consume tenancy events from the Tenant Manager REST API.

Jump to

Keyboard shortcuts

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