Package

github4s.free

algebra

Permalink

package algebra

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait AuthOp[A] extends AnyRef

    Permalink

    Auths ops ADT

  2. class AuthOps[F[_]] extends AnyRef

    Permalink

    Exposes Auths operations as a Free monadic algebra that may be combined with other Algebras via Coproduct

  3. final case class AuthorizeUrl(client_id: String, redirect_uri: String, scopes: List[String]) extends AuthOp[GHResponse[Authorize]] with Product with Serializable

    Permalink
  4. final case class CreateIssue(owner: String, repo: String, title: String, body: String, milestone: Option[Int], labels: List[String], assignees: List[String], accessToken: Option[String] = None) extends IssueOp[GHResponse[Issue]] with Product with Serializable

    Permalink
  5. final case class EditIssue(owner: String, repo: String, issue: Int, state: String, title: String, body: String, milestone: Option[Int], labels: List[String], assignees: List[String], accessToken: Option[String] = None) extends IssueOp[GHResponse[Issue]] with Product with Serializable

    Permalink
  6. final case class GetAccessToken(client_id: String, client_secret: String, code: String, redirect_uri: String, state: String) extends AuthOp[GHResponse[OAuthToken]] with Product with Serializable

    Permalink
  7. final case class GetAuthUser(accessToken: Option[String] = None) extends UserOp[GHResponse[User]] with Product with Serializable

    Permalink
  8. final case class GetRepo(owner: String, repo: String, accessToken: Option[String] = None) extends RepositoryOp[GHResponse[Repository]] with Product with Serializable

    Permalink
  9. final case class GetUser(username: String, accessToken: Option[String] = None) extends UserOp[GHResponse[User]] with Product with Serializable

    Permalink
  10. final case class GetUsers(since: Int, pagination: Option[Pagination] = None, accessToken: Option[String] = None) extends UserOp[GHResponse[List[User]]] with Product with Serializable

    Permalink
  11. sealed trait GistOp[A] extends AnyRef

    Permalink

    Gist ops ADT

  12. class GistOps[F[_]] extends AnyRef

    Permalink

    Exposes Gists operations as a Free monadic algebra that may be combined with other Algebras via Coproduct

  13. sealed trait IssueOp[A] extends AnyRef

    Permalink

    Issues ops ADT

  14. class IssueOps[F[_]] extends AnyRef

    Permalink

    Exposes Issue operations as a Free monadic algebra that may be combined with other Algebras via Coproduct

  15. final case class ListCommits(owner: String, repo: String, sha: Option[String] = None, path: Option[String] = None, author: Option[String] = None, since: Option[String] = None, until: Option[String] = None, pagination: Option[Pagination] = None, accessToken: Option[String] = None) extends RepositoryOp[GHResponse[List[Commit]]] with Product with Serializable

    Permalink
  16. final case class ListContributors(owner: String, repo: String, anon: Option[String] = None, accessToken: Option[String] = None) extends RepositoryOp[GHResponse[List[User]]] with Product with Serializable

    Permalink
  17. final case class ListIssues(owner: String, repo: String, accessToken: Option[String] = None) extends IssueOp[GHResponse[List[Issue]]] with Product with Serializable

    Permalink
  18. final case class NewAuth(username: String, password: String, scopes: List[String], note: String, client_id: String, client_secret: String) extends AuthOp[GHResponse[Authorization]] with Product with Serializable

    Permalink
  19. final case class NewGist(description: String, public: Boolean, files: Map[String, GistFile], accessToken: Option[String] = None) extends GistOp[GHResponse[Gist]] with Product with Serializable

    Permalink
  20. sealed trait RepositoryOp[A] extends AnyRef

    Permalink

    Repositories ops ADT

  21. class RepositoryOps[F[_]] extends AnyRef

    Permalink

    Exposes Repositories operations as a Free monadic algebra that may be combined with other Algebras via Coproduct

  22. final case class SearchIssues(query: String, searchParams: List[SearchParam], accessToken: Option[String] = None) extends IssueOp[GHResponse[SearchIssuesResult]] with Product with Serializable

    Permalink
  23. sealed trait UserOp[A] extends AnyRef

    Permalink

    Users ops ADT

  24. class UserOps[F[_]] extends AnyRef

    Permalink

    Exposes Users operations as a Free monadic algebra that may be combined with other Algebras via Coproduct

Value Members

  1. object AuthOps

    Permalink

    Default implicit based DI factory from which instances of the AuthOps may be obtained

  2. object GistOps

    Permalink

    Default implicit based DI factory from which instances of the GistOps may be obtained

  3. object IssueOps

    Permalink

    Default implicit based DI factory from which instances of the IssueOps may be obtained

  4. object RepositoryOps

    Permalink

    Default implicit based DI factory from which instances of the RepositoryOps may be obtained

  5. object UserOps

    Permalink

    Default implicit based DI factory from which instances of the UserOps may be obtained

Ungrouped