Class StatefulsetRecoveryControllerAutoConfiguration
java.lang.Object
dev.snowdrop.boot.narayana.openshift.recovery.StatefulsetRecoveryControllerAutoConfiguration
@AutoConfiguration
@EnableScheduling
@EnableConfigurationProperties(StatefulsetRecoveryControllerProperties.class)
@ConditionalOnProperty("snowdrop.narayana.openshift.recovery.enabled")
public class StatefulsetRecoveryControllerAutoConfiguration
extends Object
Recovery controller spring-boot auto configuration.
- Author:
- Nicola Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.fabric8.kubernetes.client.KubernetesClientstatefulsetRecoveryController(StatefulsetRecoveryControllerProperties properties, PodStatusManager podStatusManager, io.fabric8.kubernetes.client.KubernetesClient kubernetesClient)
-
Constructor Details
-
StatefulsetRecoveryControllerAutoConfiguration
public StatefulsetRecoveryControllerAutoConfiguration()
-
-
Method Details
-
podStatusManager
@Bean @ConditionalOnMissingBean(PodStatusManager.class) public PodStatusManager podStatusManager(StatefulsetRecoveryControllerProperties properties) -
kubernetesClient
@Bean(destroyMethod="close") @ConditionalOnMissingBean(io.fabric8.kubernetes.client.KubernetesClient.class) public io.fabric8.kubernetes.client.KubernetesClient kubernetesClient() -
statefulsetRecoveryController
@Bean @ConditionalOnMissingBean(StatefulsetRecoveryController.class) public StatefulsetRecoveryController statefulsetRecoveryController(StatefulsetRecoveryControllerProperties properties, PodStatusManager podStatusManager, io.fabric8.kubernetes.client.KubernetesClient kubernetesClient)
-