Interface SecretProviderContext
public interface SecretProviderContext
Encapsulates contextual information for a running
SecretProvider-
Method Details
-
getName
- Returns:
- the name of the secret provider in this context. never null.
-
getResource
DecodedResource<ExtensionPointConfig<SecretProviderConfig, ?>> getResource()- Returns:
- the config resource associated with the secret provider in this context. never null.
-
getGatewayContext
GatewayContext getGatewayContext()- Returns:
- the current
GatewayContext
-
getLog
-
getClock
Clock getClock()- Returns:
- a
Clockwhich should be used to measure wall clock time in this context. similar toSystem.currentTimeMillis(). never null.
-
getTicker
LongSupplier getTicker()- Returns:
- a
tickerwhich should be used to measure CPU time in this context. similar toSystem.nanoTime(). never null.
-