package github-jsoo

  1. Overview
  2. Docs

Module Github.Deploy_key

The Deploy_key module provides the means to manage per-repository deploy keys.

Sourceval for_repo : ?token:Token.t -> user:string -> repo:string -> unit -> Github_t.deploy_key Stream.t

for_repo ~user ~repo () is a stream of deploy keys associated with repo user/repo.

Sourceval get : ?token:Token.t -> user:string -> repo:string -> id:int64 -> unit -> Github_t.deploy_key Response.t Monad.t

get ~user ~repo ~id () is deploy key id for repo user/repo.

Sourceval create : ?token:Token.t -> user:string -> repo:string -> new_key:Github_t.new_deploy_key -> unit -> Github_t.deploy_key Response.t Monad.t

create ~user ~repo ~new_key () is the newly created deploy key new_key for repo user/repo.

Sourceval delete : ?token:Token.t -> user:string -> repo:string -> id:int64 -> unit -> unit Response.t Monad.t

delete ~user ~repo ~id () activates after deploy key id in repo user/repo has been deleted.

OCaml

Innovation. Community. Security.