[][src]Crate danger

Structs

BitBucketServerCommit

A BitBucketServer specific implementation of a git commit.

BitBucketServerCommitAuthor
BitBucketServerCommitAuthorCommitter
BitBucketServerCommitAuthorCommitterItemParents
BitBucketServerJSONDSL
BitBucketServerPRParticipant

of it for tooling's sake, but any extra metadata which BitBucket Server send will still be inside the JS object.

BitBucketServerRepo

A BitBucket Server Repo

BitBucketServerRepoProject
BitBucketServerUser

A BitBucketServer user account.

CliArgs

Describes the possible arguments that could be used when calling the CLI

DangerDSLJSONType

The root of the Danger JSON DSL.

DangerDSLJSONTypeSettings
DangerDSLJSONTypeSettingsGithub
FauxSchema
GitCommit

A platform agnostic reference to a Git commit

GitCommitAuthor

An author of a commit

GitHubAPIPR

Provides the current PR in an easily used way for params in github.api calls

GitHubCommit

A GitHub specific implementation of a git commit, it has GitHub user names instead of an email.

GitHubDSL

The GitHub metadata for your PR

GitHubIssue

This is danger.github.issue It refers to the issue that makes up the Pull Request. GitHub treats all pull requests as a special type of issue. This DSL contains only parts of the issue that are not found in the PR DSL, however it does contain the full JSON structure.

GitHubIssueLabel
GitHubMergeRef
GitHubPRDSL

An exact copy of the PR's reference JSON. This interface has type'd the majority of it for tooling's sake, but any extra metadata which GitHub send will still be inside the JS object.

GitHubRepo

A GitHub Repo

GitHubReview

GitHubReview While a review is pending, it will only have a user. Once a review is complete, the rest of the review attributes will be present

GitHubUser

A GitHub user account.

GitHubUtilsDSL

Useful functions for GitHub related work

GitJSONDSL

The Git Related Metadata which is available inside the Danger DSL JSON

Github
RepoMetaData

This is danger.bitbucket_server.issues It refers to the issues that are linked to the Pull Request. Key details about a repo

Schema

Functions

get_danger

A function to grab the Danger DSL from the DSL input