| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cachix.Api.Types
Synopsis
- data NixCacheInfo = NixCacheInfo {}
- data NarInfo = NarInfo {}
- data NarInfoCreate = NarInfoCreate {}
- data BinaryCache = BinaryCache {}
- data BinaryCacheCreate = BinaryCacheCreate {}
- newtype NarC = NarC Text
- newtype NarInfoC = NarInfoC Text
- data BinaryCacheError = BinaryCacheError {}
- data User = User {}
Documentation
data NixCacheInfo Source #
Constructors
| NixCacheInfo | |
Instances
Constructors
| NarInfo | |
Fields
| |
Instances
data NarInfoCreate Source #
Client create type
Constructors
| NarInfoCreate | |
Instances
data BinaryCache Source #
Constructors
| BinaryCache | |
Instances
data BinaryCacheCreate Source #
Constructors
| BinaryCacheCreate | |
Fields | |
Instances
checksum of nar.xz file
Instances
| Generic NarC Source # | |
| ToHttpApiData NarC Source # | |
Defined in Cachix.Api.Types Methods toUrlPiece :: NarC -> Text # toEncodedUrlPiece :: NarC -> Builder # toHeader :: NarC -> ByteString # toQueryParam :: NarC -> Text # | |
| FromHttpApiData NarC Source # | |
Defined in Cachix.Api.Types | |
| ToParamSchema NarC # | |
Defined in Cachix.Api.Swagger Methods 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 Methods toUrlPiece :: NarInfoC -> Text # toEncodedUrlPiece :: NarInfoC -> Builder # toHeader :: NarInfoC -> ByteString # toQueryParam :: NarInfoC -> Text # | |
| FromHttpApiData NarInfoC Source # | |
Defined in Cachix.Api.Types Methods parseUrlPiece :: Text -> Either Text NarInfoC # parseHeader :: ByteString -> Either Text NarInfoC # | |
| ToParamSchema NarInfoC # | |
Defined in Cachix.Api.Swagger Methods toParamSchema :: proxy NarInfoC -> ParamSchema t # | |
| type Rep NarInfoC Source # | |
Defined in Cachix.Api.Types | |
data BinaryCacheError Source #
Constructors
| BinaryCacheError | |
Instances
| Generic BinaryCacheError Source # | |
Defined in Cachix.Api.Types Associated Types type Rep BinaryCacheError :: * -> * # Methods from :: BinaryCacheError -> Rep BinaryCacheError x # to :: Rep BinaryCacheError x -> BinaryCacheError # | |
| ToJSON BinaryCacheError Source # | |
Defined in Cachix.Api.Types Methods toJSON :: BinaryCacheError -> Value # toEncoding :: BinaryCacheError -> Encoding # toJSONList :: [BinaryCacheError] -> Value # toEncodingList :: [BinaryCacheError] -> Encoding # | |
| FromJSON BinaryCacheError Source # | |
Defined in Cachix.Api.Types Methods 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.0-DylnilI1OEO9R8Z8FTt5Ox" False) (C1 (MetaCons "BinaryCacheError" PrefixI True) (S1 (MetaSel (Just "error") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) | |
Instances
| Generic User Source # | |
| ToJSON User Source # | |
Defined in Cachix.Api.Types | |
| FromJSON User Source # | |
| ToSchema User # | |
Defined in Cachix.Api.Swagger Methods 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.0-DylnilI1OEO9R8Z8FTt5Ox" False) (C1 (MetaCons "User" PrefixI True) (S1 (MetaSel (Just "fullname") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "username") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) | |