Module workloadapi

Module workloadapi 

Source

Modules§

proto

Structs§

BundleSource
BundleSourceConfig
Client
A client for the SPIFFE Workload API.
ClientConfig
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.
JWTSourceConfig
LinearBackoffStrategy
Watcher
WatcherConfig
X509Context
X509Source
A source of X.509 SVIDs and bundles that is kept up-to-date by watching the Workload API.
X509SourceConfig

Constants§

SocketEnv

Traits§

Backoff
BackoffStrategy
BundleSourceOption
An option for configuring a bundle source.
ClientOption
An option for configuring a Workload API client.
DialOption
An option for configuring the gRPC channel.
JWTBundleWatcher
JWTSourceOption
An option for configuring a JWT source.
SourceOption
An option for configuring a source (X.509, JWT, or bundle).
X509BundleWatcher
X509ContextWatcher
X509SourceOption
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.

Type Aliases§

Context
A context for Workload API operations, used for cancellation.
Result
A specialized Result type for Workload API operations.