Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Permission = Permission {}
- data Permission'Type
- data Permission'Type
- data Permission'Type'UnrecognizedValue
- data Role = Role {}
- data User = User {
- _User'name :: !ByteString
- _User'password :: !ByteString
- _User'roles :: ![Text]
- _User'_unknownFields :: !FieldSet
Documentation
data Permission Source #
Fields :
Instances
data Permission'Type Source #
Permission'READ | |
Permission'WRITE | |
Permission'READWRITE | |
Permission'Type'Unrecognized !Permission'Type'UnrecognizedValue |
Instances
data Permission'Type Source #
Instances
data Permission'Type'UnrecognizedValue Source #
Instances
Fields :
name
:: Lens' Role Data.ByteString.ByteString
keyPermission
:: Lens' Role [Permission]
Instances
Eq Role Source # | |
Ord Role Source # | |
Show Role Source # | |
Default Role Source # | |
Defined in Proto.Etcd.Auth.Authpb.Auth | |
Message Role Source # | |
Defined in Proto.Etcd.Auth.Authpb.Auth messageName :: Proxy Role -> Text # fieldsByTag :: Map Tag (FieldDescriptor Role) # fieldsByTextFormatName :: Map String (FieldDescriptor Role) # | |
Functor f => HasLens' f Role "name" ByteString Source # | |
Defined in Proto.Etcd.Auth.Authpb.Auth lensOf' :: Proxy# "name" -> (ByteString -> f ByteString) -> Role -> f Role # | |
(HasLens' f Role x a, a ~ b) => HasLens f Role Role x a b Source # | |
Functor f => HasLens' f Role "keyPermission" [Permission] Source # | |
Defined in Proto.Etcd.Auth.Authpb.Auth lensOf' :: Proxy# "keyPermission" -> ([Permission] -> f [Permission]) -> Role -> f Role # |
Fields :
User | |
|
Instances
Eq User Source # | |
Ord User Source # | |
Show User Source # | |
Default User Source # | |
Defined in Proto.Etcd.Auth.Authpb.Auth | |
Message User Source # | |
Defined in Proto.Etcd.Auth.Authpb.Auth messageName :: Proxy User -> Text # fieldsByTag :: Map Tag (FieldDescriptor User) # fieldsByTextFormatName :: Map String (FieldDescriptor User) # | |
Functor f => HasLens' f User "password" ByteString Source # | |
Defined in Proto.Etcd.Auth.Authpb.Auth lensOf' :: Proxy# "password" -> (ByteString -> f ByteString) -> User -> f User # | |
Functor f => HasLens' f User "name" ByteString Source # | |
Defined in Proto.Etcd.Auth.Authpb.Auth lensOf' :: Proxy# "name" -> (ByteString -> f ByteString) -> User -> f User # | |
(HasLens' f User x a, a ~ b) => HasLens f User User x a b Source # | |
Functor f => HasLens' f User "roles" [Text] Source # | |