Package io.micronaut.kubernetes.client
Class DiscoveryFactory
java.lang.Object
io.micronaut.kubernetes.client.DiscoveryFactory
@Requires(property="kubernetes.client.api-discovery.enabled",
notEquals="false",
defaultValue="true")
@Factory
public class DiscoveryFactory
extends Object
Factory for
Discovery
.- Since:
- 3.1
- Author:
- Pavol Gressa
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.kubernetes.client.Discovery
discovery
(io.kubernetes.client.openapi.ApiClient apiClient) CreatesDiscovery
bean.
-
Constructor Details
-
DiscoveryFactory
public DiscoveryFactory()
-
-
Method Details
-
discovery
@Singleton public io.kubernetes.client.Discovery discovery(io.kubernetes.client.openapi.ApiClient apiClient) CreatesDiscovery
bean.- Parameters:
apiClient
- api client- Returns:
- discovery
-