public class DockerFunctions extends Object
| Modifier and Type | Method and Description | 
|---|---|
static int | 
countCurrentDockerSlaves(DockerCloud cloud)
Count the number of current docker slaves for a given DockerCloud. 
 | 
static List<DockerCloud> | 
getAllDockerClouds()
Get the list of Docker servers. 
 | 
static List<hudson.model.Descriptor<hudson.slaves.ComputerLauncher>> | 
getDockerComputerLauncherDescriptors()
Only this plugin specific launchers. 
 | 
static List<hudson.model.Descriptor<hudson.slaves.RetentionStrategy<?>>> | 
getDockerRetentionStrategyDescriptors()
Only this plugin specific strategies. 
 | 
static List<hudson.slaves.NodePropertyDescriptor> | 
getNodePropertyDescriptors(Class<? extends hudson.model.Node> clazz)  | 
static List<hudson.model.Descriptor<hudson.slaves.RetentionStrategy<?>>> | 
getRetentionStrategyDescriptors()
Because  
Functions.getRetentionStrategyDescriptors() is restricted. | 
public static List<hudson.slaves.NodePropertyDescriptor> getNodePropertyDescriptors(Class<? extends hudson.model.Node> clazz)
public static List<hudson.model.Descriptor<hudson.slaves.RetentionStrategy<?>>> getRetentionStrategyDescriptors()
Functions.getRetentionStrategyDescriptors() is restricted.public static List<hudson.model.Descriptor<hudson.slaves.ComputerLauncher>> getDockerComputerLauncherDescriptors()
public static List<hudson.model.Descriptor<hudson.slaves.RetentionStrategy<?>>> getDockerRetentionStrategyDescriptors()
@Nonnull public static List<DockerCloud> getAllDockerClouds()
public static int countCurrentDockerSlaves(DockerCloud cloud)
cloud - A DockerCloud.Copyright © 2016–2020. All rights reserved.