org.jclouds.digitalocean.compute.strategy
Class DigitalOceanComputeServiceAdapter
java.lang.Object
org.jclouds.digitalocean.compute.strategy.DigitalOceanComputeServiceAdapter
- All Implemented Interfaces:
- org.jclouds.compute.ComputeServiceAdapter<Droplet,Size,Image,Region>
public class DigitalOceanComputeServiceAdapter
- extends Object
- implements org.jclouds.compute.ComputeServiceAdapter<Droplet,Size,Image,Region>
Implementation of the Compute Service for the DigitalOcean API.
- Author:
- Sergi Castro, Ignasi Barrera
| Nested classes/interfaces inherited from interface org.jclouds.compute.ComputeServiceAdapter |
org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<N> |
|
Field Summary |
protected org.jclouds.logging.Logger |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
@Named(value="jclouds.compute")
protected org.jclouds.logging.Logger logger
createNodeWithGroupEncodedIntoName
public org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<Droplet> createNodeWithGroupEncodedIntoName(String group,
String name,
org.jclouds.compute.domain.Template template)
- Specified by:
createNodeWithGroupEncodedIntoName in interface org.jclouds.compute.ComputeServiceAdapter<Droplet,Size,Image,Region>
listImages
public Iterable<Image> listImages()
- Specified by:
listImages in interface org.jclouds.compute.ComputeServiceAdapter<Droplet,Size,Image,Region>
listHardwareProfiles
public Iterable<Size> listHardwareProfiles()
- Specified by:
listHardwareProfiles in interface org.jclouds.compute.ComputeServiceAdapter<Droplet,Size,Image,Region>
listLocations
public Iterable<Region> listLocations()
- Specified by:
listLocations in interface org.jclouds.compute.ComputeServiceAdapter<Droplet,Size,Image,Region>
listNodes
public Iterable<Droplet> listNodes()
- Specified by:
listNodes in interface org.jclouds.compute.ComputeServiceAdapter<Droplet,Size,Image,Region>
listNodesByIds
public Iterable<Droplet> listNodesByIds(Iterable<String> ids)
- Specified by:
listNodesByIds in interface org.jclouds.compute.ComputeServiceAdapter<Droplet,Size,Image,Region>
getImage
public Image getImage(String id)
- Specified by:
getImage in interface org.jclouds.compute.ComputeServiceAdapter<Droplet,Size,Image,Region>
getNode
public Droplet getNode(String id)
- Specified by:
getNode in interface org.jclouds.compute.ComputeServiceAdapter<Droplet,Size,Image,Region>
destroyNode
public void destroyNode(String id)
- Specified by:
destroyNode in interface org.jclouds.compute.ComputeServiceAdapter<Droplet,Size,Image,Region>
rebootNode
public void rebootNode(String id)
- Specified by:
rebootNode in interface org.jclouds.compute.ComputeServiceAdapter<Droplet,Size,Image,Region>
resumeNode
public void resumeNode(String id)
- Specified by:
resumeNode in interface org.jclouds.compute.ComputeServiceAdapter<Droplet,Size,Image,Region>
suspendNode
public void suspendNode(String id)
- Specified by:
suspendNode in interface org.jclouds.compute.ComputeServiceAdapter<Droplet,Size,Image,Region>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.