DigitalOcean-0.1.0.0: A client library for the DigitalOcean API

Safe HaskellNone
LanguageHaskell2010

Net.DigitalOcean.Images

Contents

Synopsis

Documentation

data Image Source

A Digital Ocean image

getImages :: (Error e, MonadError e m, MonadIO m) => Config -> m [Image] Source

List all images availible to the account

DO documentation

getDistributionImages :: (Error e, MonadError e m, MonadIO m) => Config -> m [Image] Source

List all distribution images availible to the account

DO documentation

getApplicationImages :: (Error e, MonadError e m, MonadIO m) => Config -> m [Image] Source

List all application images availible to the account

DO documentation

getImage :: (Error e, MonadError e m, MonadIO m) => Text -> Config -> m Image Source

Get the image with the given ID/slug

DO documentation

renameImage :: (Error e, MonadError e m, MonadIO m) => Text -> Text -> Config -> m Image Source

Rename an image

DO documentation

deleteImage :: (Error e, MonadError e m, MonadIO m) => Text -> Config -> m () Source

Delete an image

DO documentation

transferImage :: (Error e, MonadError e m, MonadIO m) => Text -> Text -> Config -> m Action Source

Transfer an image to another region

DO documentation

Lens Accessors