api

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package api holds the cross-controller configuration shared by every reconciler — the canonical luxfi/kms host, an optional custom CA, and the User-Agent string sent on every outbound request.

All HTTP work itself lives in packages/kmsapi, which targets the canonical /v1/kms/* surface served by ~/work/hanzo/kms cmd/kmsd. This package owns no transport state.

Index

Constants

View Source
const USER_AGENT_NAME = "kms-operator"

USER_AGENT_NAME identifies the operator on every outbound request. KMS audit rows store this verbatim under the actor row.

Variables

View Source
var API_CA_CERTIFICATE string

API_CA_CERTIFICATE is an optional PEM bundle trusted in addition to the system roots. Set per-resource via spec.tls.caRef.

View Source
var API_HOST_URL string

API_HOST_URL is the canonical luxfi/kms endpoint. Override per-deployment via the KMS_API_HOST_URL env var, per-cluster via the kms-config ConfigMap, or per-resource via spec.hostAPI on the KMSSecret / KMSPushSecret CR.

kmsd serves all routes at the root; the legacy "/api" suffix is stripped at use-site by kmsapi.NormaliseHost.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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