Class KubeConfig.Builder
- java.lang.Object
-
- com.google.jenkins.plugins.k8sengine.KubeConfig.Builder
-
- Enclosing class:
- KubeConfig
public static class KubeConfig.Builder extends Object
Builder forKubeConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeConfig
build()
KubeConfig.Builder
clusters(com.google.common.collect.ImmutableList<Object> clusters)
KubeConfig.Builder
contexts(com.google.common.collect.ImmutableList<Object> contexts)
KubeConfig.Builder
currentContext(String currentContext)
KubeConfig.Builder
users(com.google.common.collect.ImmutableList<Object> users)
-
-
-
Method Detail
-
currentContext
public KubeConfig.Builder currentContext(String currentContext)
-
users
public KubeConfig.Builder users(com.google.common.collect.ImmutableList<Object> users)
-
contexts
public KubeConfig.Builder contexts(com.google.common.collect.ImmutableList<Object> contexts)
-
clusters
public KubeConfig.Builder clusters(com.google.common.collect.ImmutableList<Object> clusters)
-
build
public KubeConfig build()
-
-