extended-0.1.0: Extended versions of common modules
Safe HaskellSafe-Inferred
LanguageGHC2021

Network.RabbitMqAdmin

Description

Perhaps this module should be a separate package and published to hackage.

Synopsis

Documentation

type RabbitMqBasicAuth = BasicAuth "RabbitMq Management" BasicAuthData Source #

data AdminAPI route Source #

Constructors

AdminAPI 

Fields

Instances

Instances details
Generic (AdminAPI route) Source # 
Instance details

Defined in Network.RabbitMqAdmin

Associated Types

type Rep (AdminAPI route) :: Type -> Type #

Methods

from :: AdminAPI route -> Rep (AdminAPI route) x #

to :: Rep (AdminAPI route) x -> AdminAPI route #

type Rep (AdminAPI route) Source # 
Instance details

Defined in Network.RabbitMqAdmin

type Rep (AdminAPI route) = D1 ('MetaData "AdminAPI" "Network.RabbitMqAdmin" "extended-0.1.0-D4cMSnuM03B3VG13bPRRym" 'False) (C1 ('MetaCons "AdminAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "listQueuesByVHost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("api" :> ("queues" :> (Capture "vhost" VHost :> (QueryParam "name" Text :> (QueryParam "use_regex" Bool :> Get '[JSON] [Queue]))))))) :*: S1 ('MetaSel ('Just "deleteQueue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("api" :> ("queues" :> (Capture "vhost" VHost :> (Capture "queue" QueueName :> DeleteNoContent))))))) :*: (S1 ('MetaSel ('Just "listConnectionsByVHost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("api" :> ("vhosts" :> (Capture "vhost" Text :> ("connections" :> Get '[JSON] [Connection])))))) :*: S1 ('MetaSel ('Just "deleteConnection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("api" :> ("connections" :> (Capture "name" Text :> DeleteNoContent))))))))

data AuthenticatedAPI route Source #

Instances

Instances details
Generic (AuthenticatedAPI route) Source # 
Instance details

Defined in Network.RabbitMqAdmin

Associated Types

type Rep (AuthenticatedAPI route) :: Type -> Type #

Methods

from :: AuthenticatedAPI route -> Rep (AuthenticatedAPI route) x #

to :: Rep (AuthenticatedAPI route) x -> AuthenticatedAPI route #

type Rep (AuthenticatedAPI route) Source # 
Instance details

Defined in Network.RabbitMqAdmin

type Rep (AuthenticatedAPI route) = D1 ('MetaData "AuthenticatedAPI" "Network.RabbitMqAdmin" "extended-0.1.0-D4cMSnuM03B3VG13bPRRym" 'False) (C1 ('MetaCons "AuthenticatedAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "api") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (RabbitMqBasicAuth :> ToServant AdminAPI AsApi)))))

data Queue Source #

Constructors

Queue 

Fields

Instances

Instances details
FromJSON Queue Source # 
Instance details

Defined in Network.RabbitMqAdmin

ToJSON Queue Source # 
Instance details

Defined in Network.RabbitMqAdmin

Generic Queue Source # 
Instance details

Defined in Network.RabbitMqAdmin

Associated Types

type Rep Queue :: Type -> Type #

Methods

from :: Queue -> Rep Queue x #

to :: Rep Queue x -> Queue #

Show Queue Source # 
Instance details

Defined in Network.RabbitMqAdmin

Methods

showsPrec :: Int -> Queue -> ShowS #

show :: Queue -> String #

showList :: [Queue] -> ShowS #

Eq Queue Source # 
Instance details

Defined in Network.RabbitMqAdmin

Methods

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

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

type Rep Queue Source # 
Instance details

Defined in Network.RabbitMqAdmin

type Rep Queue = D1 ('MetaData "Queue" "Network.RabbitMqAdmin" "extended-0.1.0-D4cMSnuM03B3VG13bPRRym" 'False) (C1 ('MetaCons "Queue" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "vhost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data Connection Source #

Constructors

Connection 

Instances

Instances details
FromJSON Connection Source # 
Instance details

Defined in Network.RabbitMqAdmin

ToJSON Connection Source # 
Instance details

Defined in Network.RabbitMqAdmin

Generic Connection Source # 
Instance details

Defined in Network.RabbitMqAdmin

Associated Types

type Rep Connection :: Type -> Type #

Show Connection Source # 
Instance details

Defined in Network.RabbitMqAdmin

Eq Connection Source # 
Instance details

Defined in Network.RabbitMqAdmin

type Rep Connection Source # 
Instance details

Defined in Network.RabbitMqAdmin

type Rep Connection = D1 ('MetaData "Connection" "Network.RabbitMqAdmin" "extended-0.1.0-D4cMSnuM03B3VG13bPRRym" 'False) (C1 ('MetaCons "Connection" 'PrefixI 'True) (S1 ('MetaSel ('Just "userProvidedName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))