Class KubeConfigWriterFactory
java.lang.Object
org.jenkinsci.plugins.kubernetes.cli.kubeconfig.KubeConfigWriterFactory
- Author:
- Max Laverse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KubeConfigWriter
get
(String serverUrl, String credentialsId, String caCertificate, String clusterName, String contextName, String namespace, Boolean restrictKubeConfigAccess, FilePath workspace, Launcher launcher, Run<?, ?> build) static KubeConfigWriter
get
(String serverUrl, String credentialsId, String caCertificate, String clusterName, String contextName, String namespace, Boolean restrictKubeConfigAccess, org.jenkinsci.plugins.workflow.steps.StepContext context)
-
Constructor Details
-
KubeConfigWriterFactory
public KubeConfigWriterFactory()
-
-
Method Details
-
get
-
get
public static KubeConfigWriter get(@NonNull String serverUrl, @NonNull String credentialsId, String caCertificate, String clusterName, String contextName, String namespace, Boolean restrictKubeConfigAccess, org.jenkinsci.plugins.workflow.steps.StepContext context) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-