License | BSD-3-Clause |
---|---|
Maintainer | Todd Mohney <toddmohney@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
The deploy keys API, as described at https://developer.github.com/v3/repos/keys
Synopsis
- deployKeysFor' :: Auth -> Name Owner -> Name Repo -> IO (Either Error (Vector RepoDeployKey))
- deployKeysForR :: Name Owner -> Name Repo -> FetchCount -> Request RA (Vector RepoDeployKey)
- deployKeyFor' :: Auth -> Name Owner -> Name Repo -> Id RepoDeployKey -> IO (Either Error RepoDeployKey)
- deployKeyForR :: Name Owner -> Name Repo -> Id RepoDeployKey -> Request RA RepoDeployKey
- createRepoDeployKey' :: Auth -> Name Owner -> Name Repo -> NewRepoDeployKey -> IO (Either Error RepoDeployKey)
- createRepoDeployKeyR :: Name Owner -> Name Repo -> NewRepoDeployKey -> Request RW RepoDeployKey
- deleteRepoDeployKey' :: Auth -> Name Owner -> Name Repo -> Id RepoDeployKey -> IO (Either Error ())
- deleteRepoDeployKeyR :: Name Owner -> Name Repo -> Id RepoDeployKey -> GenRequest MtUnit RW ()
Querying deploy keys
deployKeysFor' :: Auth -> Name Owner -> Name Repo -> IO (Either Error (Vector RepoDeployKey)) Source #
Querying deploy keys.
deployKeysForR :: Name Owner -> Name Repo -> FetchCount -> Request RA (Vector RepoDeployKey) Source #
Querying deploy keys. See https://developer.github.com/v3/repos/keys/#list-deploy-keys
deployKeyFor' :: Auth -> Name Owner -> Name Repo -> Id RepoDeployKey -> IO (Either Error RepoDeployKey) Source #
Querying a deploy key
deployKeyForR :: Name Owner -> Name Repo -> Id RepoDeployKey -> Request RA RepoDeployKey Source #
Querying a deploy key. See https://developer.github.com/v3/repos/keys/#get-a-deploy-key
Create
createRepoDeployKey' :: Auth -> Name Owner -> Name Repo -> NewRepoDeployKey -> IO (Either Error RepoDeployKey) Source #
Create a deploy key
createRepoDeployKeyR :: Name Owner -> Name Repo -> NewRepoDeployKey -> Request RW RepoDeployKey Source #
Create a deploy key. See https://developer.github.com/v3/repos/keys/#add-a-new-deploy-key.
Delete
deleteRepoDeployKey' :: Auth -> Name Owner -> Name Repo -> Id RepoDeployKey -> IO (Either Error ()) Source #
deleteRepoDeployKeyR :: Name Owner -> Name Repo -> Id RepoDeployKey -> GenRequest MtUnit RW () Source #
Delete a deploy key. See https://developer.github.com/v3/repos/keys/#remove-a-deploy-key