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

Safe HaskellNone
LanguageHaskell2010

Proto.Etcd.Auth.Authpb.Auth

Synopsis

Documentation

data Permission Source #

Fields :

  • permType :: Lens' Permission Permission'Type
  • key :: Lens' Permission Data.ByteString.ByteString
  • rangeEnd :: Lens' Permission Data.ByteString.ByteString
Instances
Eq Permission Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Ord Permission Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Show Permission Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Default Permission Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

def :: Permission #

Message Permission Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Functor f => HasLens' f Permission "rangeEnd" ByteString Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

lensOf' :: Proxy# "rangeEnd" -> (ByteString -> f ByteString) -> Permission -> f Permission #

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

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

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

Functor f => HasLens' f Permission "permType" Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

lensOf' :: Proxy# "permType" -> (Permission'Type -> f Permission'Type) -> Permission -> f Permission #

Functor f => HasLens' f AuthRoleGrantPermissionRequest "perm" Permission # 
Instance details

Defined in Proto.Etcd.Etcdserver.Etcdserverpb.Rpc

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

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

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

Functor f => HasLens' f Role "keyPermission" [Permission] Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

lensOf' :: Proxy# "keyPermission" -> ([Permission] -> f [Permission]) -> Role -> f Role #

Functor f => HasLens' f AuthRoleGrantPermissionRequest "maybe'perm" (Maybe Permission) # 
Instance details

Defined in Proto.Etcd.Etcdserver.Etcdserverpb.Rpc

Functor f => HasLens' f AuthRoleGetResponse "perm" [Permission] # 
Instance details

Defined in Proto.Etcd.Etcdserver.Etcdserverpb.Rpc

data Permission'Type Source #

Instances
Bounded Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Enum Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Eq Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Ord Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Show Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Default Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

FieldDefault Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

MessageEnum Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Functor f => HasLens' f Permission "permType" Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

lensOf' :: Proxy# "permType" -> (Permission'Type -> f Permission'Type) -> Permission -> f Permission #

data Permission'Type Source #

Instances
Bounded Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Enum Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Eq Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Ord Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Show Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Default Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

FieldDefault Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

MessageEnum Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Functor f => HasLens' f Permission "permType" Permission'Type Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

lensOf' :: Proxy# "permType" -> (Permission'Type -> f Permission'Type) -> Permission -> f Permission #

data Role Source #

Fields :

  • name :: Lens' Role Data.ByteString.ByteString
  • keyPermission :: Lens' Role [Permission]
Instances
Eq Role Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

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

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

Ord Role Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

compare :: Role -> Role -> Ordering #

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

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

(>) :: Role -> Role -> Bool #

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

max :: Role -> Role -> Role #

min :: Role -> Role -> Role #

Show Role Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

showsPrec :: Int -> Role -> ShowS #

show :: Role -> String #

showList :: [Role] -> ShowS #

Default Role Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

def :: Role #

Message Role Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

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

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

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

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

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

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

Functor f => HasLens' f Role "keyPermission" [Permission] Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

lensOf' :: Proxy# "keyPermission" -> ([Permission] -> f [Permission]) -> Role -> f Role #

data User Source #

Fields :

  • name :: Lens' User Data.ByteString.ByteString
  • password :: Lens' User Data.ByteString.ByteString
  • roles :: Lens' User [Data.Text.Text]
Instances
Eq User Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

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

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

Ord User Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

compare :: User -> User -> Ordering #

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

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

(>) :: User -> User -> Bool #

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

max :: User -> User -> User #

min :: User -> User -> User #

Show User Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

Default User Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

def :: User #

Message User Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Functor f => HasLens' f User "password" ByteString Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

lensOf' :: Proxy# "password" -> (ByteString -> f ByteString) -> User -> f User #

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

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

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

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

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

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

Functor f => HasLens' f User "roles" [Text] Source # 
Instance details

Defined in Proto.Etcd.Auth.Authpb.Auth

Methods

lensOf' :: Proxy# "roles" -> ([Text] -> f [Text]) -> User -> f User #