codeship

package
v0.8.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DisplayName      = "Codeship"
	HandlerKey       = "codeship"
	MessageDirection = "out"
	DocumentationURL = "https://documentation.codeship.com/basic/getting-started/webhooks/"
	MessageBodyType  = models.JSON
)

Variables

This section is empty.

Functions

func ExampleMessage

func ExampleMessage(cfg config.Configuration, data util.ExampleData) (cc.Message, error)

func NewHandler

func NewHandler() handlers.Handler

func Normalize

func Normalize(cfg config.Configuration, hReq handlers.HandlerRequest) (cc.Message, error)

Types

type CodeshipOutBuild

type CodeshipOutBuild struct {
	BuildURL        string `json:"build_url,omitempty"`
	CommitURL       string `json:"commit_url,omitempty"`
	ProjectID       int64  `json:"project_id,omitempty"`
	BuildID         int64  `json:"build_id,omitempty"`
	Status          string `json:"status,omitempty"`
	ProjectFullName string `json:"project_full_name,omitempty"`
	ProjectName     string `json:"project_name,omitempty"`
	CommitID        string `json:"commit_id,omitempty"`
	ShortCommitID   string `json:"short_commit_id,omitempty"`
	Message         string `json:"message,omitempty"`
	Committer       string `json:"committer,omitempty"`
	Branch          string `json:"branch,omitempty"`
}

type CodeshipOutMessage

type CodeshipOutMessage struct {
	Build CodeshipOutBuild `json:"build,omitempty"`
}

func CodeshipOutMessageFromBytes

func CodeshipOutMessageFromBytes(bytes []byte) (CodeshipOutMessage, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL