Documentation ¶
Index ¶
Constants ¶
View Source
const ( BitbucketIcon = "https://avatars.slack-edge.com/2021-06-20/2187759053413_fb4aad0a769aaadbdc62_72.png" BitbucketURLPullRequestType = "pull_request" BitbucketURLRepoType = "repo" BitbucketURLSourceCodeType = "source_code" BitbucketURLUnknownType = "unknown" )
View Source
const ( JenkinsURLBuildType = "build" JenkinsURLUknownType = "unknown" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Unfurl ¶
type Unfurl struct { Logger *logrus.Logger Jenkins *gojenkins.Jenkins Bitbucket *bitbucket.Client Config *utils.Config }
Unfurl is an inverted control structure for the unfurl package
func (*Unfurl) Links ¶
func (u *Unfurl) Links(event *slackevents.LinkSharedEvent) (map[string]slack.Attachment, error)
Links unfurls a all links from a Slack LinkSharedEvent and returns a slack.Attachment for each link.
Click to show internal directories.
Click to hide internal directories.