Object

nelson

Github

Related Doc: package nelson

Permalink

object Github

Source
Github.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Github
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Asset(id: Long, name: String, url: Uri, content: Option[String] = None) extends Product with Serializable

    Permalink
  2. implicit final class BedazzledRequest extends AnyVal

    Permalink
  3. final case class Branch(name: String, sha: Option[String] = None) extends Reference with Product with Serializable

    Permalink
  4. final case class Contents(base64: String, name: String, size: Long) extends Product with Serializable

    Permalink
  5. final case class DeleteRepoWebHook(slug: Slug, id: Long, token: AccessToken) extends GithubOp[Unit] with Product with Serializable

    Permalink
  6. final case class Deployment(id: Long, ref: Reference, environment: String, deployables: List[Deployable], url: String) extends Product with Serializable

    Permalink

    https://developer.github.com/v3/repos/deployments/#response-1

  7. final case class DeploymentEvent(slug: Slug, repositoryId: Long, deployment: Deployment) extends Event with Product with Serializable

    Permalink

    Reference: https://developer.github.com/v3/activity/events/types/#deploymentevent

  8. sealed trait Event extends AnyRef

    Permalink

    Represents the events Nelson will recieve from Github (from webhooks).

  9. final case class GetAccessToken(fromCode: String) extends GithubOp[AccessToken] with Product with Serializable

    Permalink
  10. final case class GetDeployment(slug: Slug, id: Long, t: AccessToken) extends GithubOp[Option[Deployment]] with Product with Serializable

    Permalink
  11. final case class GetFileFromRepository(slug: Slug, path: String, ref: Reference, t: AccessToken) extends GithubOp[Option[Contents]] with Product with Serializable

    Permalink
  12. final case class GetOrganizations(keys: List[OrgKey], token: AccessToken) extends GithubOp[List[Organization]] with Product with Serializable

    Permalink
  13. final case class GetRepoWebHooks(slug: Slug, token: AccessToken) extends GithubOp[List[WebHook]] with Product with Serializable

    Permalink
  14. final case class GetUser(token: AccessToken) extends GithubOp[User] with Product with Serializable

    Permalink
  15. final case class GetUserOrgKeys(token: AccessToken) extends GithubOp[List[OrgKey]] with Product with Serializable

    Permalink
  16. final case class GetUserRepositories(token: AccessToken) extends GithubOp[List[Repo]] with Product with Serializable

    Permalink
  17. final class GithubHttp extends ~>[GithubOp, IO]

    Permalink
  18. sealed trait GithubOp[A] extends AnyRef

    Permalink
  19. type GithubOpF[A] = Free[GithubOp, A]

    Permalink
  20. final case class OrgKey(id: Long, slug: String) extends Product with Serializable

    Permalink
  21. final case class PingEvent(zen: String) extends Event with Product with Serializable

    Permalink

    this is sent by github when the hook is initially setup, just to make sure that the specified location is actually reachable by github and is responding

  22. final case class PostRepoWebHook(slug: Slug, hook: WebHook, t: AccessToken) extends GithubOp[WebHook] with Product with Serializable

    Permalink
  23. final case class PullRequestEvent(id: Long, url: String, slug: Slug) extends Event with Product with Serializable

    Permalink

    Reference https://developer.github.com/v3/activity/events/types/#pullrequestevent

    Reference https://developer.github.com/v3/activity/events/types/#pullrequestevent

    This event definition is a placeholder for future support for inbound pull request deployments. This skeleton is being provided so that Nelson can parse the inbound payload and give a 200 OK response so Github doesn't think Nelson is faulty.

  24. sealed trait Reference extends AnyRef

    Permalink
  25. final case class Release(id: Long, url: String, htmlUrl: String, assets: List[Asset], tagName: String) extends Product with Serializable

    Permalink
  26. final case class ReleaseEvent(id: Long, slug: Slug, repositoryId: Long) extends Event with Product with Serializable

    Permalink

    Reference: https://developer.github.com/v3/activity/events/types/#releaseevent

    Reference: https://developer.github.com/v3/activity/events/types/#releaseevent

    Nelson still accepts these as inbound input for historical reasons, so we simply accept it on the webhook entrypoint so that Github does not get invalid responses from Nelson (putting the webhook into an unsafe state).

  27. final case class Sha(str: Sha256) extends Reference with Product with Serializable

    Permalink
  28. final case class Tag(version: Version) extends Reference with Product with Serializable

    Permalink
  29. final case class User(login: String, avatar: URI, name: Option[String], email: Option[String]) extends Product with Serializable

    Permalink
  30. final case class WebHook(id: Long, name: String, events: List[String], active: Boolean, config: Map[String, String]) extends Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Interpreter

    Permalink
  5. object Reference

    Permalink
  6. object Request

    Permalink
  7. object WebHook extends Serializable

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped