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 Page a Source #

Constructors

Page 

Fields

Instances

Instances details
FromJSON a => FromJSON (Page a) Source # 
Instance details

Defined in Network.RabbitMqAdmin

ToJSON a => ToJSON (Page a) Source # 
Instance details

Defined in Network.RabbitMqAdmin

Generic (Page a) Source # 
Instance details

Defined in Network.RabbitMqAdmin

Associated Types

type Rep (Page a) :: Type -> Type #

Methods

from :: Page a -> Rep (Page a) x #

to :: Rep (Page a) x -> Page a #

Show a => Show (Page a) Source # 
Instance details

Defined in Network.RabbitMqAdmin

Methods

showsPrec :: Int -> Page a -> ShowS #

show :: Page a -> String #

showList :: [Page a] -> ShowS #

Eq a => Eq (Page a) Source # 
Instance details

Defined in Network.RabbitMqAdmin

Methods

(==) :: Page a -> Page a -> Bool #

(/=) :: Page a -> Page a -> Bool #

type Rep (Page a) Source # 
Instance details

Defined in Network.RabbitMqAdmin

type Rep (Page a) = D1 ('MetaData "Page" "Network.RabbitMqAdmin" "extended-0.1.0-4cEsC3fBuRj3mX06ExESZr" 'False) (C1 ('MetaCons "Page" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [a]) :*: (S1 ('MetaSel ('Just "page") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "pageCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))

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-4cEsC3fBuRj3mX06ExESZr" 'False) (C1 ('MetaCons "AdminAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "listQueuesByVHost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("api" :> ("queues" :> (Capture "vhost" VHost :> (QueryParam' '[Required, Strict] "name" Text :> (QueryParam' '[Required, Strict] "use_regex" Bool :> (QueryParam' '[Required, Strict] "page_size" Int :> (QueryParam' '[Required, Strict] "page" Int :> Get '[JSON] (Page 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-4cEsC3fBuRj3mX06ExESZr" 'False) (C1 ('MetaCons "AuthenticatedAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "api") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (RabbitMqBasicAuth :> ToServant (AdminAPI :: Type -> Type) 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-4cEsC3fBuRj3mX06ExESZr" '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-4cEsC3fBuRj3mX06ExESZr" '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)))