grpc-api-etcd-0.1.0.1: 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

Default LockRequest Source # 
Instance details

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

Methods

def :: LockRequest #

Message LockRequest Source # 
Instance details

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

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

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

Methods

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

Functor f => HasLens' f LockRequest "name" ByteString Source # 
Instance details

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

Methods

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

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

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

Methods

lensOf :: Proxy# x -> (a -> f b) -> 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

Default LockResponse Source # 
Instance details

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

Methods

def :: LockResponse #

Message LockResponse Source # 
Instance details

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

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

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

Methods

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

Functor f => HasLens' f LockResponse "header" ResponseHeader Source # 
Instance details

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

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

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

Methods

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

Functor f => HasLens' f LockResponse "maybe'header" (Maybe ResponseHeader) Source # 
Instance details

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

Methods

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

Default UnlockRequest Source # 
Instance details

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

Methods

def :: UnlockRequest #

Message UnlockRequest Source # 
Instance details

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

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

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

Methods

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

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

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

Methods

lensOf :: Proxy# x -> (a -> f b) -> 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

Default UnlockResponse Source # 
Instance details

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

Methods

def :: UnlockResponse #

Message UnlockResponse Source # 
Instance details

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

Functor f => HasLens' f UnlockResponse "header" ResponseHeader Source # 
Instance details

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

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

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

Methods

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

Functor f => HasLens' f UnlockResponse "maybe'header" (Maybe ResponseHeader) Source # 
Instance details

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