Class OcpArtifactServerDeployer.Builder
- java.lang.Object
-
- io.debezium.testing.system.tools.artifacts.OcpArtifactServerDeployer.Builder
-
- All Implemented Interfaces:
Deployer.Builder<OcpArtifactServerDeployer.Builder,OcpArtifactServerDeployer>
- Enclosing class:
- OcpArtifactServerDeployer
public static class OcpArtifactServerDeployer.Builder extends Object implements Deployer.Builder<OcpArtifactServerDeployer.Builder,OcpArtifactServerDeployer>
-
-
Field Summary
Fields Modifier and Type Field Description private io.fabric8.kubernetes.api.model.apps.Deploymentdeploymentprivate okhttp3.OkHttpClienthttpClientprivate io.fabric8.openshift.client.OpenShiftClientocpClientprivate Stringprojectprivate io.fabric8.kubernetes.api.model.Serviceservice
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OcpArtifactServerDeployerbuild()OcpArtifactServerDeployer.BuilderwithDeployment(String yamlPath)OcpArtifactServerDeployer.BuilderwithHttpClient(okhttp3.OkHttpClient httpClient)OcpArtifactServerDeployer.BuilderwithOcpClient(io.fabric8.openshift.client.OpenShiftClient ocpClient)OcpArtifactServerDeployer.BuilderwithProject(String project)OcpArtifactServerDeployer.BuilderwithService(String yamlPath)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.debezium.testing.system.tools.Deployer.Builder
self
-
-
-
-
Field Detail
-
project
private String project
-
ocpClient
private io.fabric8.openshift.client.OpenShiftClient ocpClient
-
httpClient
private okhttp3.OkHttpClient httpClient
-
deployment
private io.fabric8.kubernetes.api.model.apps.Deployment deployment
-
service
private io.fabric8.kubernetes.api.model.Service service
-
-
Method Detail
-
withProject
public OcpArtifactServerDeployer.Builder withProject(String project)
-
withOcpClient
public OcpArtifactServerDeployer.Builder withOcpClient(io.fabric8.openshift.client.OpenShiftClient ocpClient)
-
withHttpClient
public OcpArtifactServerDeployer.Builder withHttpClient(okhttp3.OkHttpClient httpClient)
-
withDeployment
public OcpArtifactServerDeployer.Builder withDeployment(String yamlPath)
-
withService
public OcpArtifactServerDeployer.Builder withService(String yamlPath)
-
build
public OcpArtifactServerDeployer build()
- Specified by:
buildin interfaceDeployer.Builder<OcpArtifactServerDeployer.Builder,OcpArtifactServerDeployer>
-
-