vflow-types-0.1: types for ingesting vflow data with aeson

Safe HaskellNone
LanguageHaskell2010

VFlow.Types.SFlow

Documentation

data SFlow Source #

Instances
Eq SFlow Source # 
Instance details

Defined in VFlow.Types.SFlow

Methods

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

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

Show SFlow Source # 
Instance details

Defined in VFlow.Types.SFlow

Methods

showsPrec :: Int -> SFlow -> ShowS #

show :: SFlow -> String #

showList :: [SFlow] -> ShowS #

Generic SFlow Source # 
Instance details

Defined in VFlow.Types.SFlow

Associated Types

type Rep SFlow :: Type -> Type #

Methods

from :: SFlow -> Rep SFlow x #

to :: Rep SFlow x -> SFlow #

ToJSON SFlow Source # 
Instance details

Defined in VFlow.Types.SFlow

FromJSON SFlow Source # 
Instance details

Defined in VFlow.Types.SFlow

type Rep SFlow Source # 
Instance details

Defined in VFlow.Types.SFlow

data ExtRouter Source #

Instances
Eq ExtRouter Source # 
Instance details

Defined in VFlow.Types.SFlow

Show ExtRouter Source # 
Instance details

Defined in VFlow.Types.SFlow

Generic ExtRouter Source # 
Instance details

Defined in VFlow.Types.SFlow

Associated Types

type Rep ExtRouter :: Type -> Type #

ToJSON ExtRouter Source # 
Instance details

Defined in VFlow.Types.SFlow

FromJSON ExtRouter Source # 
Instance details

Defined in VFlow.Types.SFlow

type Rep ExtRouter Source # 
Instance details

Defined in VFlow.Types.SFlow

type Rep ExtRouter = D1 (MetaData "ExtRouter" "VFlow.Types.SFlow" "vflow-types-0.1-1JUjIDFUongBXuAEjQ0Q6N" False) (C1 (MetaCons "ExtRouter" PrefixI True) (S1 (MetaSel (Just "extRouterNextHop") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 IPv4) :*: (S1 (MetaSel (Just "extRouterDstMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "extRouterSrcMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

data ExtSwitch Source #

Instances
Eq ExtSwitch Source # 
Instance details

Defined in VFlow.Types.SFlow

Show ExtSwitch Source # 
Instance details

Defined in VFlow.Types.SFlow

Generic ExtSwitch Source # 
Instance details

Defined in VFlow.Types.SFlow

Associated Types

type Rep ExtSwitch :: Type -> Type #

ToJSON ExtSwitch Source # 
Instance details

Defined in VFlow.Types.SFlow

FromJSON ExtSwitch Source # 
Instance details

Defined in VFlow.Types.SFlow

type Rep ExtSwitch Source # 
Instance details

Defined in VFlow.Types.SFlow

type Rep ExtSwitch = D1 (MetaData "ExtSwitch" "VFlow.Types.SFlow" "vflow-types-0.1-1JUjIDFUongBXuAEjQ0Q6N" False) (C1 (MetaCons "ExtSwitch" PrefixI True) ((S1 (MetaSel (Just "extSwitchDstPriority") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "extSwitchSrcVlan") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) :*: (S1 (MetaSel (Just "extSwitchSrcPriority") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "extSwitchDstVlan") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

data L2 Source #

Constructors

L2 

Fields

Instances
Eq L2 Source # 
Instance details

Defined in VFlow.Types.SFlow

Methods

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

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

Show L2 Source # 
Instance details

Defined in VFlow.Types.SFlow

Methods

showsPrec :: Int -> L2 -> ShowS #

show :: L2 -> String #

showList :: [L2] -> ShowS #

Generic L2 Source # 
Instance details

Defined in VFlow.Types.SFlow

Associated Types

type Rep L2 :: Type -> Type #

Methods

from :: L2 -> Rep L2 x #

to :: Rep L2 x -> L2 #

ToJSON L2 Source # 
Instance details

Defined in VFlow.Types.SFlow

FromJSON L2 Source # 
Instance details

Defined in VFlow.Types.SFlow

type Rep L2 Source # 
Instance details

Defined in VFlow.Types.SFlow

data L3 Source #

Constructors

L3 

Fields

Instances
Eq L3 Source # 
Instance details

Defined in VFlow.Types.SFlow

Methods

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

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

Show L3 Source # 
Instance details

Defined in VFlow.Types.SFlow

Methods

showsPrec :: Int -> L3 -> ShowS #

show :: L3 -> String #

showList :: [L3] -> ShowS #

Generic L3 Source # 
Instance details

Defined in VFlow.Types.SFlow

Associated Types

type Rep L3 :: Type -> Type #

Methods

from :: L3 -> Rep L3 x #

to :: Rep L3 x -> L3 #

ToJSON L3 Source # 
Instance details

Defined in VFlow.Types.SFlow

FromJSON L3 Source # 
Instance details

Defined in VFlow.Types.SFlow

type Rep L3 Source # 
Instance details

Defined in VFlow.Types.SFlow

data L4 Source #

Constructors

L4 
Instances
Eq L4 Source # 
Instance details

Defined in VFlow.Types.SFlow

Methods

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

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

Show L4 Source # 
Instance details

Defined in VFlow.Types.SFlow

Methods

showsPrec :: Int -> L4 -> ShowS #

show :: L4 -> String #

showList :: [L4] -> ShowS #

Generic L4 Source # 
Instance details

Defined in VFlow.Types.SFlow

Associated Types

type Rep L4 :: Type -> Type #

Methods

from :: L4 -> Rep L4 x #

to :: Rep L4 x -> L4 #

ToJSON L4 Source # 
Instance details

Defined in VFlow.Types.SFlow

FromJSON L4 Source # 
Instance details

Defined in VFlow.Types.SFlow

type Rep L4 Source # 
Instance details

Defined in VFlow.Types.SFlow

data RawHeader Source #

Constructors

RawHeader 

Fields

Instances
Eq RawHeader Source # 
Instance details

Defined in VFlow.Types.SFlow

Show RawHeader Source # 
Instance details

Defined in VFlow.Types.SFlow

Generic RawHeader Source # 
Instance details

Defined in VFlow.Types.SFlow

Associated Types

type Rep RawHeader :: Type -> Type #

ToJSON RawHeader Source # 
Instance details

Defined in VFlow.Types.SFlow

FromJSON RawHeader Source # 
Instance details

Defined in VFlow.Types.SFlow

type Rep RawHeader Source # 
Instance details

Defined in VFlow.Types.SFlow

type Rep RawHeader = D1 (MetaData "RawHeader" "VFlow.Types.SFlow" "vflow-types-0.1-1JUjIDFUongBXuAEjQ0Q6N" False) (C1 (MetaCons "RawHeader" PrefixI True) (S1 (MetaSel (Just "rawHeaderL2") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 L2) :*: (S1 (MetaSel (Just "rawHeaderL3") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 L3) :*: S1 (MetaSel (Just "rawHeaderL4") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 L4))))

data Records Source #

Instances
Eq Records Source # 
Instance details

Defined in VFlow.Types.SFlow

Methods

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

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

Show Records Source # 
Instance details

Defined in VFlow.Types.SFlow

Generic Records Source # 
Instance details

Defined in VFlow.Types.SFlow

Associated Types

type Rep Records :: Type -> Type #

Methods

from :: Records -> Rep Records x #

to :: Rep Records x -> Records #

ToJSON Records Source # 
Instance details

Defined in VFlow.Types.SFlow

FromJSON Records Source # 
Instance details

Defined in VFlow.Types.SFlow

type Rep Records Source # 
Instance details

Defined in VFlow.Types.SFlow

type Rep Records = D1 (MetaData "Records" "VFlow.Types.SFlow" "vflow-types-0.1-1JUjIDFUongBXuAEjQ0Q6N" False) (C1 (MetaCons "Records" PrefixI True) (S1 (MetaSel (Just "recordsExtRouter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ExtRouter) :*: (S1 (MetaSel (Just "recordsExtSwitch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ExtSwitch) :*: S1 (MetaSel (Just "recordsRawHeader") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 RawHeader))))

data SamplesElt Source #

Instances
Eq SamplesElt Source # 
Instance details

Defined in VFlow.Types.SFlow

Show SamplesElt Source # 
Instance details

Defined in VFlow.Types.SFlow

Generic SamplesElt Source # 
Instance details

Defined in VFlow.Types.SFlow

Associated Types

type Rep SamplesElt :: Type -> Type #

ToJSON SamplesElt Source # 
Instance details

Defined in VFlow.Types.SFlow

FromJSON SamplesElt Source # 
Instance details

Defined in VFlow.Types.SFlow

type Rep SamplesElt Source # 
Instance details

Defined in VFlow.Types.SFlow

type Rep SamplesElt = D1 (MetaData "SamplesElt" "VFlow.Types.SFlow" "vflow-types-0.1-1JUjIDFUongBXuAEjQ0Q6N" False) (C1 (MetaCons "SamplesElt" PrefixI True) (((S1 (MetaSel (Just "samplesEltDrops") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "samplesEltSourceID") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) :*: (S1 (MetaSel (Just "samplesEltRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Records) :*: S1 (MetaSel (Just "samplesEltInput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))) :*: ((S1 (MetaSel (Just "samplesEltSequenceNo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "samplesEltSamplingRate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) :*: (S1 (MetaSel (Just "samplesEltOutput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "samplesEltRecordsNo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "samplesEltSamplePool") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))