Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data NixCacheInfo = NixCacheInfo {}
- data NarInfo = NarInfo {}
- data BinaryCache = BinaryCache {
- name :: Text
- uri :: Text
- publicSigningKeys :: [Text]
- githubUsername :: Text
- newtype BinaryCacheCreate = BinaryCacheCreate {}
- newtype BinaryCacheError = BinaryCacheError {}
- newtype NarC = NarC Text
- newtype NarInfoC = NarInfoC Text
- data User = User {}
Documentation
data NixCacheInfo Source #
Instances
NarInfo | |
|
Instances
data BinaryCache Source #
BinaryCache | |
|
Instances
newtype BinaryCacheCreate Source #
Instances
newtype BinaryCacheError Source #
Instances
Generic BinaryCacheError Source # | |
Defined in Cachix.Api.Types type Rep BinaryCacheError :: Type -> Type # from :: BinaryCacheError -> Rep BinaryCacheError x # to :: Rep BinaryCacheError x -> BinaryCacheError # | |
ToJSON BinaryCacheError Source # | |
Defined in Cachix.Api.Types toJSON :: BinaryCacheError -> Value # toEncoding :: BinaryCacheError -> Encoding # toJSONList :: [BinaryCacheError] -> Value # toEncodingList :: [BinaryCacheError] -> Encoding # | |
FromJSON BinaryCacheError Source # | |
Defined in Cachix.Api.Types parseJSON :: Value -> Parser BinaryCacheError # parseJSONList :: Value -> Parser [BinaryCacheError] # | |
type Rep BinaryCacheError Source # | |
Defined in Cachix.Api.Types type Rep BinaryCacheError = D1 (MetaData "BinaryCacheError" "Cachix.Api.Types" "cachix-api-0.1.0.3-HMIesBjHyxfFikB1iuASsF" True) (C1 (MetaCons "BinaryCacheError" PrefixI True) (S1 (MetaSel (Just "error") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) |
Hash of nar.xz file
Instances
Generic NarC Source # | |
ToHttpApiData NarC Source # | |
Defined in Cachix.Api.Types toUrlPiece :: NarC -> Text # toEncodedUrlPiece :: NarC -> Builder # toHeader :: NarC -> ByteString # toQueryParam :: NarC -> Text # | |
FromHttpApiData NarC Source # | |
Defined in Cachix.Api.Types parseUrlPiece :: Text -> Either Text NarC # parseHeader :: ByteString -> Either Text NarC # | |
ToSchema NarC Source # | |
Defined in Cachix.Api.Types declareNamedSchema :: proxy NarC -> Declare (Definitions Schema) NamedSchema # | |
ToParamSchema NarC Source # | |
Defined in Cachix.Api.Types toParamSchema :: proxy NarC -> ParamSchema t # | |
type Rep NarC Source # | |
Defined in Cachix.Api.Types |
Store path hash
Instances
Generic NarInfoC Source # | |
ToHttpApiData NarInfoC Source # | |
Defined in Cachix.Api.Types toUrlPiece :: NarInfoC -> Text # toEncodedUrlPiece :: NarInfoC -> Builder # toHeader :: NarInfoC -> ByteString # toQueryParam :: NarInfoC -> Text # | |
FromHttpApiData NarInfoC Source # | |
Defined in Cachix.Api.Types parseUrlPiece :: Text -> Either Text NarInfoC # parseHeader :: ByteString -> Either Text NarInfoC # | |
ToSchema NarInfoC Source # | |
Defined in Cachix.Api.Types declareNamedSchema :: proxy NarInfoC -> Declare (Definitions Schema) NamedSchema # | |
ToParamSchema NarInfoC Source # | |
Defined in Cachix.Api.Types toParamSchema :: proxy NarInfoC -> ParamSchema t # | |
type Rep NarInfoC Source # | |
Defined in Cachix.Api.Types |
Instances
Generic User Source # | |
ToJSON User Source # | |
Defined in Cachix.Api.Types | |
FromJSON User Source # | |
ToSchema User Source # | |
Defined in Cachix.Api.Types declareNamedSchema :: proxy User -> Declare (Definitions Schema) NamedSchema # | |
type Rep User Source # | |
Defined in Cachix.Api.Types type Rep User = D1 (MetaData "User" "Cachix.Api.Types" "cachix-api-0.1.0.3-HMIesBjHyxfFikB1iuASsF" False) (C1 (MetaCons "User" PrefixI True) (S1 (MetaSel (Just "fullname") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "username") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "email") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))) |