public class KubeConfigWriter extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ENV_VARIABLE_NAME |
| Constructor and Description |
|---|
KubeConfigWriter(String serverUrl,
String credentialsId,
String caCertificate,
String contextName,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.Run<?,?> build) |
| Modifier and Type | Method and Description |
|---|---|
String |
writeKubeConfig()
Write a configuration file for kubectl to disk.
|
public static final String ENV_VARIABLE_NAME
public String writeKubeConfig() throws IOException, InterruptedException
IOException - on file operationsInterruptedException - on file operationsCopyright © 2016–2018. All rights reserved.