digitalocean-kzs-0.1.0.0: digitalocean api for haskell

Safe HaskellNone
LanguageHaskell2010

DigitalOcean.Image

Synopsis

Documentation

images :: Authentication -> MonadIO m => m (Maybe [Image]) Source

List all Images >>> :{ do tkn <- getEnv DIGITAL_OCEAN_PERSONAL_ACCESS_TOKEN maybeImages <- images $ Authentication tkn print $ show $ isJust maybeImages :} True

listAllDistributionImages :: Authentication -> MonadIO m => m (Maybe [Image]) Source

List all Distribution Images >>> :{ do tkn <- getEnv DIGITAL_OCEAN_PERSONAL_ACCESS_TOKEN maybeImages <- listAllDistributionImages $ Authentication tkn print $ show $ isJust maybeImages :} True