| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cachix.Api.Types
Synopsis
- data NixCacheInfo = NixCacheInfo {}
- data NarInfo = NarInfo {}
- data BinaryCache = BinaryCache {
- name :: Text
- uri :: Text
- isPublic :: Bool
- publicSigningKeys :: [Text]
- githubUsername :: Text
- newtype BinaryCacheError = BinaryCacheError {}
- newtype NarC = NarC Text
- newtype NarInfoC = NarInfoC Text
- data User = User {}
- data SubscriptionType
Documentation
data NixCacheInfo Source #
Constructors
| NixCacheInfo | |
Instances
Constructors
| NarInfo | |
Fields
| |
Instances
data BinaryCache Source #
Constructors
| BinaryCache | |
Fields
| |
Instances
newtype BinaryCacheError Source #
Constructors
| BinaryCacheError | |
Instances
| Generic BinaryCacheError Source # | |
Defined in Cachix.Api.Types Associated Types type Rep BinaryCacheError :: Type -> Type # 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.3.0-9c8xvAXvOAF661nQMPF8wB" 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 Methods toUrlPiece :: NarC -> Text # toEncodedUrlPiece :: NarC -> Builder # toHeader :: NarC -> ByteString # toQueryParam :: NarC -> Text # | |
| FromHttpApiData NarC Source # | |
Defined in Cachix.Api.Types | |
| ToSchema NarC Source # | |
Defined in Cachix.Api.Types Methods declareNamedSchema :: Proxy NarC -> Declare (Definitions Schema) NamedSchema # | |
| ToParamSchema NarC Source # | |
Defined in Cachix.Api.Types 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 # | |
| ToSchema NarInfoC Source # | |
Defined in Cachix.Api.Types Methods declareNamedSchema :: Proxy NarInfoC -> Declare (Definitions Schema) NamedSchema # | |
| ToParamSchema NarInfoC Source # | |
Defined in Cachix.Api.Types Methods toParamSchema :: Proxy NarInfoC -> ParamSchema t # | |
| type Rep NarInfoC Source # | |
Defined in Cachix.Api.Types | |
Constructors
| User | |
Fields
| |
Instances
data SubscriptionType Source #