Modules§
Structs§
- Bundle
Source - Bundle
Source Config - Client
- A client for the SPIFFE Workload API.
- Client
Config - Error
- An error that occurred during a Workload API operation.
- JWTSource
- A source of JWT SVIDs and bundles that is kept up-to-date by watching the Workload API.
- JWTSource
Config - Linear
Backoff Strategy - Watcher
- Watcher
Config - X509
Context - X509
Source - A source of X.509 SVIDs and bundles that is kept up-to-date by watching the Workload API.
- X509
Source Config
Constants§
Traits§
- Backoff
- Backoff
Strategy - Bundle
Source Option - An option for configuring a bundle source.
- Client
Option - An option for configuring a Workload API client.
- Dial
Option - An option for configuring the gRPC channel.
- JWTBundle
Watcher - JWTSource
Option - An option for configuring a JWT source.
- Source
Option - An option for configuring a source (X.509, JWT, or bundle).
- X509
Bundle Watcher - X509
Context Watcher - X509
Source Option - An option for configuring an X.509 source.
Functions§
- background
- Returns a new background context.
- fetch_
jwt_ bundles - fetch_
jwt_ svid - fetch_
jwt_ svids - fetch_
x509_ bundles - fetch_
x509_ context - fetch_
x509_ svid - fetch_
x509_ svids - get_
default_ address - target_
from_ address - validate_
address - validate_
jwt_ svid - watch_
jwt_ bundles - watch_
x509_ bundles - watch_
x509_ context - with_
addr - Sets the address of the Workload API endpoint.
- with_
backoff_ strategy - Sets the backoff strategy for retrying failed connections.
- with_
client - Sets an existing Workload API client to be used by the source.
- with_
client_ options - Sets the options for the Workload API client created by the source.
- with_
default_ jwt_ svid_ picker - Sets a custom picker for JWT SVIDs.
- with_
default_ x509_ svid_ picker - Sets a custom picker for X.509 SVIDs.
- with_
dial_ options - Sets the gRPC dial options.
- with_
logger - Sets the logger for the client.