Class ReactiveCredHubInfoTemplate
java.lang.Object
org.springframework.credhub.core.info.ReactiveCredHubInfoTemplate
- All Implemented Interfaces:
ReactiveCredHubInfoOperations
Implements the interaction with CredHub retrieve server information.
- Author:
- Scott Frederick
-
Constructor Summary
ConstructorsConstructorDescriptionReactiveCredHubInfoTemplate
(ReactiveCredHubOperations credHubOperations) Create a newReactiveCredHubInfoTemplate
. -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<VersionInfo>
version()
Retrieve the version information from the CredHub server.
-
Constructor Details
-
ReactiveCredHubInfoTemplate
Create a newReactiveCredHubInfoTemplate
.- Parameters:
credHubOperations
- theReactiveCredHubOperations
to use for interactions with CredHub
-
-
Method Details
-
version
Retrieve the version information from the CredHub server.- Specified by:
version
in interfaceReactiveCredHubInfoOperations
- Returns:
- the server version information
-