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

Safe HaskellNone
LanguageHaskell2010

Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Synopsis

Documentation

data Lock Source #

Constructors

Lock 
Instances
Service Lock Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Associated Types

type ServiceName Lock :: Symbol #

type ServicePackage Lock :: Symbol #

type ServiceMethods Lock :: [Symbol] #

HasMethodImpl Lock "lock" Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Associated Types

type MethodName Lock "lock" :: Symbol #

type MethodInput Lock "lock" :: * #

type MethodOutput Lock "lock" :: * #

type MethodStreamingType Lock "lock" :: StreamingType #

HasMethodImpl Lock "unlock" Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Associated Types

type MethodName Lock "unlock" :: Symbol #

type MethodInput Lock "unlock" :: * #

type MethodOutput Lock "unlock" :: * #

type MethodStreamingType Lock "unlock" :: StreamingType #

type ServiceMethods Lock Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

type ServiceMethods Lock = "lock" ': ("unlock" ': ([] :: [Symbol]))
type ServicePackage Lock Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

type ServicePackage Lock = "v3lockpb"
type ServiceName Lock Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

type ServiceName Lock = "Lock"
type MethodStreamingType Lock "lock" Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

type MethodStreamingType Lock "unlock" Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

type MethodOutput Lock "lock" Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

type MethodOutput Lock "unlock" Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

type MethodInput Lock "lock" Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

type MethodInput Lock "unlock" Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

type MethodName Lock "lock" Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

type MethodName Lock "lock" = "Lock"
type MethodName Lock "unlock" Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

type MethodName Lock "unlock" = "Unlock"

data LockRequest Source #

Fields :

  • name :: Lens' LockRequest Data.ByteString.ByteString
  • lease :: Lens' LockRequest Data.Int.Int64
Instances
Eq LockRequest Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Ord LockRequest Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Show LockRequest Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

NFData LockRequest Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Methods

rnf :: LockRequest -> () #

Message LockRequest Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

HasLens' LockRequest "lease" Int64 Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Methods

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

HasLens' LockRequest "name" ByteString Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Methods

lensOf' :: Functor f => Proxy# "name" -> (ByteString -> f ByteString) -> LockRequest -> f LockRequest #

data LockResponse Source #

Fields :

  • header :: Lens' LockResponse Proto.Etcd.Etcdserver.Etcdserverpb.Rpc.ResponseHeader
  • maybe'header :: Lens' LockResponse (Prelude.Maybe Proto.Etcd.Etcdserver.Etcdserverpb.Rpc.ResponseHeader)
  • key :: Lens' LockResponse Data.ByteString.ByteString
Instances
Eq LockResponse Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Ord LockResponse Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Show LockResponse Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

NFData LockResponse Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Methods

rnf :: LockResponse -> () #

Message LockResponse Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

HasLens' LockResponse "header" ResponseHeader Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Methods

lensOf' :: Functor f => Proxy# "header" -> (ResponseHeader -> f ResponseHeader) -> LockResponse -> f LockResponse #

HasLens' LockResponse "key" ByteString Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Methods

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

HasLens' LockResponse "maybe'header" (Maybe ResponseHeader) Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Methods

lensOf' :: Functor f => Proxy# "maybe'header" -> (Maybe ResponseHeader -> f (Maybe ResponseHeader)) -> LockResponse -> f LockResponse #

data UnlockRequest Source #

Fields :

  • key :: Lens' UnlockRequest Data.ByteString.ByteString
Instances
Eq UnlockRequest Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Ord UnlockRequest Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Show UnlockRequest Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

NFData UnlockRequest Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Methods

rnf :: UnlockRequest -> () #

Message UnlockRequest Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

HasLens' UnlockRequest "key" ByteString Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Methods

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

data UnlockResponse Source #

Fields :

  • header :: Lens' UnlockResponse Proto.Etcd.Etcdserver.Etcdserverpb.Rpc.ResponseHeader
  • maybe'header :: Lens' UnlockResponse (Prelude.Maybe Proto.Etcd.Etcdserver.Etcdserverpb.Rpc.ResponseHeader)
Instances
Eq UnlockResponse Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Ord UnlockResponse Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Show UnlockResponse Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

NFData UnlockResponse Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Methods

rnf :: UnlockResponse -> () #

Message UnlockResponse Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

HasLens' UnlockResponse "header" ResponseHeader Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

HasLens' UnlockResponse "maybe'header" (Maybe ResponseHeader) Source # 
Instance details

Defined in Proto.Etcd.Etcdserver.Api.V3lock.V3lockpb.V3lock

Methods

lensOf' :: Functor f => Proxy# "maybe'header" -> (Maybe ResponseHeader -> f (Maybe ResponseHeader)) -> UnlockResponse -> f UnlockResponse #