Class KubernetesComputerFactory
java.lang.Object
org.csanchez.jenkins.plugins.kubernetes.KubernetesComputerFactory
- All Implemented Interfaces:
ExtensionPoint
A factory of
KubernetesComputer instances.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionall()Returns all registered implementations ofKubernetesComputerFactory.static KubernetesComputercreateInstance(KubernetesSlave slave) Returns a new instance ofKubernetesComputer.abstract KubernetesComputernewInstance(KubernetesSlave slave) Creates a new instance ofKubernetesComputer.
-
Constructor Details
-
KubernetesComputerFactory
public KubernetesComputerFactory()
-
-
Method Details
-
all
Returns all registered implementations ofKubernetesComputerFactory.- Returns:
- all registered implementations of
KubernetesComputerFactory.
-
createInstance
Returns a new instance ofKubernetesComputer.- Returns:
- a new instance of
KubernetesComputer.
-
newInstance
Creates a new instance ofKubernetesComputer.- Returns:
- a new instance of
KubernetesComputer.
-