Skip to main content

Module service_binding

Module service_binding 

Source
Expand description

Cloud-platform service binding discovery.

Discovers AgentVisor connection parameters from Cloud Foundry VCAP_SERVICES or from Kubernetes-style service binding files.

Activated by the service-binding cargo feature. Not compiled into production artifacts by default. This is client discovery metadata; the gateway does not use a binding to configure its own identity validator.

Structs§

ServiceBinding
Credentials extracted from a platform service binding.

Enums§

ServiceBindingError
Errors that can occur while reading a service binding.

Functions§

from_binding_root
Scans the binding root directory for a subdirectory whose type file contains agentvisor.
from_vcap_services
Parses VCAP_SERVICES JSON and extracts an AgentVisor binding.
try_from_env
Tries to discover an AgentVisor service binding from the environment.