grpc-api-etcd-0.1.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 #

Default Event Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

def :: Event #

Message Event Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Functor f => HasLens' f Event "prevKv" KeyValue Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

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

Functor f => HasLens' f Event "kv" KeyValue Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

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

Functor f => HasLens' f Event "type'" Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

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

(HasLens' f Event x a, a ~ b) => HasLens f Event Event x a b Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf :: Proxy# x -> (a -> f b) -> Event -> f Event #

Functor f => HasLens' f Event "maybe'prevKv" (Maybe KeyValue) Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

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

Functor f => HasLens' f Event "maybe'kv" (Maybe KeyValue) Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

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

Functor f => HasLens' f WatchResponse "events" [Event] # 
Instance details

Defined in Proto.Etcd.Etcdserver.Etcdserverpb.Rpc

Methods

lensOf' :: 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

Default Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

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

Functor f => HasLens' f Event "type'" Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: 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

Default Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

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

Functor f => HasLens' f Event "type'" Event'EventType Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf' :: 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

Default KeyValue Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

def :: KeyValue #

Message KeyValue Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Functor f => HasLens' f KeyValue "lease" Int64 Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

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

Functor f => HasLens' f KeyValue "value" ByteString Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

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

Functor f => HasLens' f KeyValue "version" Int64 Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

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

Functor f => HasLens' f KeyValue "modRevision" Int64 Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

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

Functor f => HasLens' f KeyValue "createRevision" Int64 Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

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

Functor f => HasLens' f KeyValue "key" ByteString Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

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

Functor f => HasLens' f Event "prevKv" KeyValue Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

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

Functor f => HasLens' f Event "kv" KeyValue Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

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

Functor f => HasLens' f PutResponse "prevKv" KeyValue # 
Instance details

Defined in Proto.Etcd.Etcdserver.Etcdserverpb.Rpc

Methods

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

(HasLens' f KeyValue x a, a ~ b) => HasLens f KeyValue KeyValue x a b Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

lensOf :: Proxy# x -> (a -> f b) -> KeyValue -> f KeyValue #

Functor f => HasLens' f Event "maybe'prevKv" (Maybe KeyValue) Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

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

Functor f => HasLens' f Event "maybe'kv" (Maybe KeyValue) Source # 
Instance details

Defined in Proto.Etcd.Mvcc.Mvccpb.Kv

Methods

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

Functor f => HasLens' f RangeResponse "kvs" [KeyValue] # 
Instance details

Defined in Proto.Etcd.Etcdserver.Etcdserverpb.Rpc

Methods

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

Functor f => HasLens' f PutResponse "maybe'prevKv" (Maybe KeyValue) # 
Instance details

Defined in Proto.Etcd.Etcdserver.Etcdserverpb.Rpc

Methods

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

Functor f => HasLens' f DeleteRangeResponse "prevKvs" [KeyValue] # 
Instance details

Defined in Proto.Etcd.Etcdserver.Etcdserverpb.Rpc

Methods

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