Package step.plugins.k8s
Class KubernetesManagerImpl
- java.lang.Object
-
- step.plugins.k8s.KubernetesManagerImpl
-
- All Implemented Interfaces:
KubernetesManager
public class KubernetesManagerImpl extends java.lang.Object implements KubernetesManager
-
-
Constructor Summary
Constructors Constructor Description KubernetesManagerImpl(ch.exense.commons.app.Configuration config)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AgentPool>
getAgentPool()
javax.net.ssl.SSLContext
getSSLContext()
static void
main(java.lang.String[] args)
void
setAgentPoolReplicas(AgentPool agentPoolSetting)
-
-
-
Constructor Detail
-
KubernetesManagerImpl
public KubernetesManagerImpl(ch.exense.commons.app.Configuration config) throws java.security.cert.CertificateException, java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.io.IOException, java.security.KeyManagementException
- Throws:
java.security.cert.CertificateException
java.security.KeyStoreException
java.security.NoSuchAlgorithmException
java.io.IOException
java.security.KeyManagementException
-
-
Method Detail
-
getAgentPool
public java.util.List<AgentPool> getAgentPool() throws java.io.IOException, java.lang.InterruptedException, java.net.URISyntaxException
- Specified by:
getAgentPool
in interfaceKubernetesManager
- Throws:
java.io.IOException
java.lang.InterruptedException
java.net.URISyntaxException
-
setAgentPoolReplicas
public void setAgentPoolReplicas(AgentPool agentPoolSetting) throws java.net.URISyntaxException, java.io.IOException, java.lang.InterruptedException
- Specified by:
setAgentPoolReplicas
in interfaceKubernetesManager
- Throws:
java.net.URISyntaxException
java.io.IOException
java.lang.InterruptedException
-
getSSLContext
public javax.net.ssl.SSLContext getSSLContext() throws java.security.KeyStoreException, java.security.cert.CertificateException, java.security.NoSuchAlgorithmException, java.io.IOException, java.security.KeyManagementException
- Throws:
java.security.KeyStoreException
java.security.cert.CertificateException
java.security.NoSuchAlgorithmException
java.io.IOException
java.security.KeyManagementException
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-