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§
- Service
Binding - Credentials extracted from a platform service binding.
Enums§
- Service
Binding Error - Errors that can occur while reading a service binding.
Functions§
- from_
binding_ root - Scans the binding root directory for a subdirectory whose
typefile containsagentvisor. - from_
vcap_ services - Parses
VCAP_SERVICESJSON and extracts an AgentVisor binding. - try_
from_ env - Tries to discover an AgentVisor service binding from the environment.