grpc-api-etcd-0.2.0.0: Generated messages and instances for etcd gRPC.

Safe HaskellNone
LanguageHaskell2010

Proto.Etcd.Mvcc.Mvccpb.Kv

Synopsis

Documentation

data Event Source #

Fields :

  • type' :: Lens' Event Event'EventType
  • kv :: Lens' Event KeyValue
  • maybe'kv :: Lens' Event (Prelude.Maybe KeyValue)
  • prevKv :: Lens' Event KeyValue
  • maybe'prevKv :: Lens' Event (Prelude.Maybe KeyValue)
Instances
Eq Event Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

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

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

Ord Event Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

compare :: Event -> Event -> Ordering #

(<) :: Event -> Event -> Bool #

(<=) :: Event -> Event -> Bool #

(>) :: Event -> Event -> Bool #

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

max :: Event -> Event -> Event #

min :: Event -> Event -> Event #

Show Event Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

NFData Event Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

rnf :: Event -> () #

Message Event Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

HasLens' Event "kv" KeyValue Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: Functor f => Proxy# "kv" -> (KeyValue -> f KeyValue) -> Event -> f Event #

HasLens' Event "prevKv" KeyValue Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: Functor f => Proxy# "prevKv" -> (KeyValue -> f KeyValue) -> Event -> f Event #

HasLens' Event "type'" Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: Functor f => Proxy# "type'" -> (Event'EventType -> f Event'EventType) -> Event -> f Event #

HasLens' Event "maybe'kv" (Maybe KeyValue) Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: Functor f => Proxy# "maybe'kv" -> (Maybe KeyValue -> f (Maybe KeyValue)) -> Event -> f Event #

HasLens' Event "maybe'prevKv" (Maybe KeyValue) Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: Functor f => Proxy# "maybe'prevKv" -> (Maybe KeyValue -> f (Maybe KeyValue)) -> Event -> f Event #

HasLens' WatchResponse "events" [Event] # 
Instance details

Defined in Proto.Etcd.Etcdserver.Etcdserverpb.Rpc

Methods

lensOf' :: Functor f => Proxy# "events" -> ([Event] -> f [Event]) -> WatchResponse -> f WatchResponse #

data Event'EventType Source #

Instances
Bounded Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Enum Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Eq Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Ord Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Show Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

NFData Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

rnf :: Event'EventType -> () #

FieldDefault Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

MessageEnum Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

HasLens' Event "type'" Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: Functor f => Proxy# "type'" -> (Event'EventType -> f Event'EventType) -> Event -> f Event #

data Event'EventType Source #

Instances
Bounded Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Enum Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Eq Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Ord Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Show Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

NFData Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

rnf :: Event'EventType -> () #

FieldDefault Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

MessageEnum Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

HasLens' Event "type'" Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: Functor f => Proxy# "type'" -> (Event'EventType -> f Event'EventType) -> Event -> f Event #

data KeyValue Source #

Fields :

  • key :: Lens' KeyValue Data.ByteString.ByteString
  • createRevision :: Lens' KeyValue Data.Int.Int64
  • modRevision :: Lens' KeyValue Data.Int.Int64
  • version :: Lens' KeyValue Data.Int.Int64
  • value :: Lens' KeyValue Data.ByteString.ByteString
  • lease :: Lens' KeyValue Data.Int.Int64
Instances
Eq KeyValue Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Ord KeyValue Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Show KeyValue Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

NFData KeyValue Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

rnf :: KeyValue -> () #

Message KeyValue Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

HasLens' KeyValue "createRevision" Int64 Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: Functor f => Proxy# "createRevision" -> (Int64 -> f Int64) -> KeyValue -> f KeyValue #

HasLens' KeyValue "key" ByteString Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: Functor f => Proxy# "key" -> (ByteString -> f ByteString) -> KeyValue -> f KeyValue #

HasLens' KeyValue "lease" Int64 Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: Functor f => Proxy# "lease" -> (Int64 -> f Int64) -> KeyValue -> f KeyValue #

HasLens' KeyValue "modRevision" Int64 Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: Functor f => Proxy# "modRevision" -> (Int64 -> f Int64) -> KeyValue -> f KeyValue #

HasLens' KeyValue "value" ByteString Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: Functor f => Proxy# "value" -> (ByteString -> f ByteString) -> KeyValue -> f KeyValue #

HasLens' KeyValue "version" Int64 Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: Functor f => Proxy# "version" -> (Int64 -> f Int64) -> KeyValue -> f KeyValue #

HasLens' Event "kv" KeyValue Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: Functor f => Proxy# "kv" -> (KeyValue -> f KeyValue) -> Event -> f Event #

HasLens' Event "prevKv" KeyValue Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: Functor f => Proxy# "prevKv" -> (KeyValue -> f KeyValue) -> Event -> f Event #

HasLens' PutResponse "prevKv" KeyValue # 
Instance details

Defined in Proto.Etcd.Etcdserver.Etcdserverpb.Rpc

Methods

lensOf' :: Functor f => Proxy# "prevKv" -> (KeyValue -> f KeyValue) -> PutResponse -> f PutResponse #

HasLens' LeaderResponse "kv" KeyValue # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3election.V3electionpb.V3election

Methods

lensOf' :: Functor f => Proxy# "kv" -> (KeyValue -> f KeyValue) -> LeaderResponse -> f LeaderResponse #

HasLens' Event "maybe'kv" (Maybe KeyValue) Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: Functor f => Proxy# "maybe'kv" -> (Maybe KeyValue -> f (Maybe KeyValue)) -> Event -> f Event #

HasLens' Event "maybe'prevKv" (Maybe KeyValue) Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: Functor f => Proxy# "maybe'prevKv" -> (Maybe KeyValue -> f (Maybe KeyValue)) -> Event -> f Event #

HasLens' RangeResponse "kvs" [KeyValue] # 
Instance details

Defined in Proto.Etcd.Etcdserver.Etcdserverpb.Rpc

Methods

lensOf' :: Functor f => Proxy# "kvs" -> ([KeyValue] -> f [KeyValue]) -> RangeResponse -> f RangeResponse #

HasLens' PutResponse "maybe'prevKv" (Maybe KeyValue) # 
Instance details

Defined in Proto.Etcd.Etcdserver.Etcdserverpb.Rpc

Methods

lensOf' :: Functor f => Proxy# "maybe'prevKv" -> (Maybe KeyValue -> f (Maybe KeyValue)) -> PutResponse -> f PutResponse #

HasLens' DeleteRangeResponse "prevKvs" [KeyValue] # 
Instance details

Defined in Proto.Etcd.Etcdserver.Etcdserverpb.Rpc

Methods

lensOf' :: Functor f => Proxy# "prevKvs" -> ([KeyValue] -> f [KeyValue]) -> DeleteRangeResponse -> f DeleteRangeResponse #

HasLens' LeaderResponse "maybe'kv" (Maybe KeyValue) # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3election.V3electionpb.V3election

Methods

lensOf' :: Functor f => Proxy# "maybe'kv" -> (Maybe KeyValue -> f (Maybe KeyValue)) -> LeaderResponse -> f LeaderResponse #