Package step.plugins.k8s
Class KubernetesServices
- java.lang.Object
-
- step.framework.server.AbstractServices<step.core.access.User>
-
- step.core.deployment.AbstractStepServices
-
- step.plugins.k8s.KubernetesServices
-
@Singleton @Path("kubernetes") public class KubernetesServices extends step.core.deployment.AbstractStepServices
-
-
Constructor Summary
Constructors Constructor Description KubernetesServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AgentPool>
getAgentPools()
void
init()
void
setTarget(AgentPool agentPoolSetting)
-
Methods inherited from class step.core.deployment.AbstractStepServices
getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
-
-
-
-
Method Detail
-
init
@PostConstruct public void init() throws Exception
- Overrides:
init
in classstep.core.deployment.AbstractStepServices
- Throws:
Exception
-
getAgentPools
@GET @Path("/pool/agent") @Produces("application/json") public List<AgentPool> getAgentPools() throws IOException, URISyntaxException, InterruptedException
-
setTarget
@POST @Path("/agent/update") @Consumes("application/json") @Produces("application/json") public void setTarget(AgentPool agentPoolSetting) throws URISyntaxException, IOException, InterruptedException
-
-