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 Details

    • DiscoveryFactory

      public DiscoveryFactory()
  • Method Details

    • discovery

      @Singleton public io.kubernetes.client.Discovery discovery(io.kubernetes.client.openapi.ApiClient apiClient)
      Creates Discovery bean.
      Parameters:
      apiClient - api client
      Returns:
      discovery