minio-hs-1.7.0: A MinIO Haskell Library for Amazon S3 compatible cloud storage.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.Minio.AdminAPI

Synopsis

MinIO Admin API

Provides MinIO admin API and related types. It is in experimental state.

data DriveInfo Source #

Constructors

DriveInfo 

Fields

Instances

Instances details
FromJSON DriveInfo Source # 
Instance details

Defined in Network.Minio.AdminAPI

Show DriveInfo Source # 
Instance details

Defined in Network.Minio.AdminAPI

Eq DriveInfo Source # 
Instance details

Defined in Network.Minio.AdminAPI

data Backend Source #

Instances

Instances details
FromJSON Backend Source # 
Instance details

Defined in Network.Minio.AdminAPI

Show Backend Source # 
Instance details

Defined in Network.Minio.AdminAPI

Eq Backend Source # 
Instance details

Defined in Network.Minio.AdminAPI

Methods

(==) :: Backend -> Backend -> Bool #

(/=) :: Backend -> Backend -> Bool #

data ConnStats Source #

Constructors

ConnStats 

Instances

Instances details
FromJSON ConnStats Source # 
Instance details

Defined in Network.Minio.AdminAPI

Show ConnStats Source # 
Instance details

Defined in Network.Minio.AdminAPI

Eq ConnStats Source # 
Instance details

Defined in Network.Minio.AdminAPI

data StorageClass Source #

Constructors

StorageClass 

Fields

Instances

Instances details
Show StorageClass Source # 
Instance details

Defined in Network.Minio.AdminAPI

Eq StorageClass Source # 
Instance details

Defined in Network.Minio.AdminAPI

data StorageInfo Source #

Constructors

StorageInfo 

Fields

Instances

Instances details
FromJSON StorageInfo Source # 
Instance details

Defined in Network.Minio.AdminAPI

Show StorageInfo Source # 
Instance details

Defined in Network.Minio.AdminAPI

Eq StorageInfo Source # 
Instance details

Defined in Network.Minio.AdminAPI

data SIData Source #

Instances

Instances details
FromJSON SIData Source # 
Instance details

Defined in Network.Minio.AdminAPI

Show SIData Source # 
Instance details

Defined in Network.Minio.AdminAPI

Eq SIData Source # 
Instance details

Defined in Network.Minio.AdminAPI

Methods

(==) :: SIData -> SIData -> Bool #

(/=) :: SIData -> SIData -> Bool #

data ServerInfo Source #

Constructors

ServerInfo 

Fields

Instances

Instances details
FromJSON ServerInfo Source # 
Instance details

Defined in Network.Minio.AdminAPI

Show ServerInfo Source # 
Instance details

Defined in Network.Minio.AdminAPI

Eq ServerInfo Source # 
Instance details

Defined in Network.Minio.AdminAPI

getServerInfo :: Minio [ServerInfo] Source #

Fetches information for all cluster nodes, such as server properties, storage information, network statistics, etc.

data HealOpts Source #

Constructors

HealOpts 

Fields

Instances

Instances details
FromJSON HealOpts Source # 
Instance details

Defined in Network.Minio.AdminAPI

ToJSON HealOpts Source # 
Instance details

Defined in Network.Minio.AdminAPI

Show HealOpts Source # 
Instance details

Defined in Network.Minio.AdminAPI

Eq HealOpts Source # 
Instance details

Defined in Network.Minio.AdminAPI

startHeal :: Maybe Bucket -> Maybe Text -> HealOpts -> Minio HealStartResp Source #

Start a heal sequence that scans data under given (possible empty) bucket and prefix. The recursive bool turns on recursive traversal under the given path. dryRun does not mutate on-disk data, but performs data validation. Two heal sequences on overlapping paths may not be initiated. The progress of a heal should be followed using the HealStatus API. The server accumulates results of the heal traversal and waits for the client to receive and acknowledge them using the status API

forceStartHeal :: Maybe Bucket -> Maybe Text -> HealOpts -> Minio HealStartResp Source #

Similar to start a heal sequence, but force start a new heal sequence even if an active heal is under progress.

getHealStatus :: Maybe Bucket -> Maybe Text -> Text -> Minio HealStatus Source #

Get the progress of currently running heal task, this API should be invoked right after startHeal. token is obtained after startHeal which should be used to get the heal status.

data NodeSummary Source #

Constructors

NodeSummary 

Instances

Instances details
FromJSON NodeSummary Source # 
Instance details

Defined in Network.Minio.AdminAPI

Show NodeSummary Source # 
Instance details

Defined in Network.Minio.AdminAPI

Eq NodeSummary Source # 
Instance details

Defined in Network.Minio.AdminAPI

setConfig :: ByteString -> Minio SetConfigResult Source #

Set a new config to the server.

getConfig :: Minio ByteString Source #

Get the current config file from server.

serviceStatus :: Minio ServiceStatus Source #

Get server version and uptime.

serviceSendAction :: ServiceAction -> Minio () Source #

Send service restart or stop action to MinIO server.