Class ClusterDeployedOperatorExtension.Builder
java.lang.Object
io.javaoperatorsdk.operator.junit.AbstractOperatorExtension.AbstractBuilder<ClusterDeployedOperatorExtension.Builder>
io.javaoperatorsdk.operator.junit.ClusterDeployedOperatorExtension.Builder
- Enclosing class:
- ClusterDeployedOperatorExtension
public static class ClusterDeployedOperatorExtension.Builder
extends AbstractOperatorExtension.AbstractBuilder<ClusterDeployedOperatorExtension.Builder>
-
Field Summary
Fields inherited from class io.javaoperatorsdk.operator.junit.AbstractOperatorExtension.AbstractBuilder
configurationServiceOverrider, infrastructure, infrastructureTimeout, namespaceDeleteTimeout, namespaceNameSupplier, oneNamespacePerClass, perClassNamespaceNameSupplier, preserveNamespaceOnError, skipNamespaceDeletion, waitForNamespaceDeletion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withDeploymentTimeout(Duration value) withInfrastructureKubernetesClient(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient) withKubernetesClient(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient) withOperatorDeployment(io.fabric8.kubernetes.api.model.HasMetadata... hms) withOperatorDeployment(List<io.fabric8.kubernetes.api.model.HasMetadata> hm) withOperatorDeployment(List<io.fabric8.kubernetes.api.model.HasMetadata> hm, Consumer<List<io.fabric8.kubernetes.api.model.HasMetadata>> modifications) Methods inherited from class io.javaoperatorsdk.operator.junit.AbstractOperatorExtension.AbstractBuilder
oneNamespacePerClass, preserveNamespaceOnError, skipNamespaceDeletion, waitForNamespaceDeletion, withConfigurationService, withInfrastructure, withInfrastructure, withInfrastructureTimeout, withNamespaceDeleteTimeout, withNamespaceNameSupplier, withPerClassNamespaceNameSupplier
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
withDeploymentTimeout
-
withOperatorDeployment
public ClusterDeployedOperatorExtension.Builder withOperatorDeployment(List<io.fabric8.kubernetes.api.model.HasMetadata> hm, Consumer<List<io.fabric8.kubernetes.api.model.HasMetadata>> modifications) -
withOperatorDeployment
public ClusterDeployedOperatorExtension.Builder withOperatorDeployment(List<io.fabric8.kubernetes.api.model.HasMetadata> hm) -
withOperatorDeployment
public ClusterDeployedOperatorExtension.Builder withOperatorDeployment(io.fabric8.kubernetes.api.model.HasMetadata... hms) -
withKubernetesClient
public ClusterDeployedOperatorExtension.Builder withKubernetesClient(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient) -
withInfrastructureKubernetesClient
public ClusterDeployedOperatorExtension.Builder withInfrastructureKubernetesClient(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient) -
build
-