minio-hs/examples
Aditya Manthramurthy bdac380c77
Replace protolude with relude and build with GHC 9.0.2 (#168)
- relude is a better and more commonly used library

- Add compiler warnings and fixes

- Update stack lts to 18.24

- Add explicit deriving strategies
2022-02-11 13:48:08 -08:00
..
BucketExists.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
CopyObject.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
FileUploader.hs Replace protolude with relude and build with GHC 9.0.2 (#168) 2022-02-11 13:48:08 -08:00
GetConfig.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
GetObject.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
HeadObject.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
Heal.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
ListBuckets.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
ListIncompleteUploads.hs Update formatting with latest ormolu 1.4 (#163) 2021-03-03 16:11:45 -08:00
ListObjects.hs Update formatting with latest ormolu 1.4 (#163) 2021-03-03 16:11:45 -08:00
MakeBucket.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
PresignedGetObject.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
PresignedPostPolicy.hs Update formatting with latest ormolu 1.4 (#163) 2021-03-03 16:11:45 -08:00
PresignedPutObject.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
PutObject.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
README.md New release (#140) 2020-01-02 11:23:03 -08:00
RemoveBucket.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
RemoveIncompleteUpload.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
RemoveObject.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
SelectObject.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
ServerInfo.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
ServiceSendRestart.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
ServiceSendStop.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
ServiceStatus.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00
SetConfig.hs Update code formatting and update dependencies (unliftio, protolude) (#152) 2020-06-14 10:06:41 -07:00

Examples

The examples in this directory illustrate usage of various APIs provided by this library. Each file is self-contained and can be run like a script directly.

To build the examples, the build flag examples needs to be turned on:

stack build --flag minio-hs:examples

Now to run and example script BucketExists.hs:

stack exec BucketExists

The CI system is configured to build these examples with every change, so they should be current.