Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Election = Election {
- data CampaignRequest = CampaignRequest {}
- data CampaignResponse = CampaignResponse {}
- data LeaderKey = LeaderKey {}
- data LeaderRequest = LeaderRequest {}
- data LeaderResponse = LeaderResponse {}
- data ProclaimRequest = ProclaimRequest {}
- data ProclaimResponse = ProclaimResponse {}
- data ResignRequest = ResignRequest {}
- data ResignResponse = ResignResponse {}
Documentation
Instances
data CampaignRequest Source #
Fields :
Instances
data CampaignResponse Source #
Fields :
header
:: Lens' CampaignResponse Proto.Etcd.Etcdserver.Etcdserverpb.Rpc.ResponseHeader
maybe'header
:: Lens' CampaignResponse (Prelude.Maybe Proto.Etcd.Etcdserver.Etcdserverpb.Rpc.ResponseHeader)
leader
:: Lens' CampaignResponse LeaderKey
maybe'leader
:: Lens' CampaignResponse (Prelude.Maybe LeaderKey)
Instances
Fields :
Instances
data LeaderRequest Source #
Fields :
name
:: Lens' LeaderRequest Data.ByteString.ByteString
Instances
data LeaderResponse Source #
Fields :
header
:: Lens' LeaderResponse Proto.Etcd.Etcdserver.Etcdserverpb.Rpc.ResponseHeader
maybe'header
:: Lens' LeaderResponse (Prelude.Maybe Proto.Etcd.Etcdserver.Etcdserverpb.Rpc.ResponseHeader)
kv
:: Lens' LeaderResponse Proto.Etcd.Mvcc.Mvccpb.Kv.KeyValue
maybe'kv
:: Lens' LeaderResponse (Prelude.Maybe Proto.Etcd.Mvcc.Mvccpb.Kv.KeyValue)
Instances
data ProclaimRequest Source #
Fields :
leader
:: Lens' ProclaimRequest LeaderKey
maybe'leader
:: Lens' ProclaimRequest (Prelude.Maybe LeaderKey)
value
:: Lens' ProclaimRequest Data.ByteString.ByteString
Instances
data ProclaimResponse Source #
Fields :
header
:: Lens' ProclaimResponse Proto.Etcd.Etcdserver.Etcdserverpb.Rpc.ResponseHeader
maybe'header
:: Lens' ProclaimResponse (Prelude.Maybe Proto.Etcd.Etcdserver.Etcdserverpb.Rpc.ResponseHeader)
Instances
data ResignRequest Source #
Fields :
leader
:: Lens' ResignRequest LeaderKey
maybe'leader
:: Lens' ResignRequest (Prelude.Maybe LeaderKey)
Instances
data ResignResponse Source #
Fields :
header
:: Lens' ResignResponse Proto.Etcd.Etcdserver.Etcdserverpb.Rpc.ResponseHeader
maybe'header
:: Lens' ResignResponse (Prelude.Maybe Proto.Etcd.Etcdserver.Etcdserverpb.Rpc.ResponseHeader)