deveo

package
v0.0.0-...-1e4fe4b Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ProviderID ...
	ProviderID = "deveo"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BranchInfoModel

type BranchInfoModel struct {
	Ref        string        `json:"ref"`
	CommitHash string        `json:"sha"`
	Repo       RepoInfoModel `json:"repo"`
}

BranchInfoModel ...

type CommitModel

type CommitModel struct {
	Distinct      bool   `json:"distinct"`
	CommitHash    string `json:"id"`
	CommitMessage string `json:"message"`
}

CommitModel ...

type FilesChangedModel

type FilesChangedModel struct {
	Added    []string           `json:"added"`
	Modified []string           `json:"modified"`
	Deleted  []string           `json:"deleted"`
	Renamed  []RenamedFileModel `json:"renamed"`
}

FilesChangedModel ...

type HookProvider

type HookProvider struct{}

HookProvider ...

func (HookProvider) TransformRequest

func (hp HookProvider) TransformRequest(r *http.Request) hookCommon.TransformResultModel

TransformRequest ...

type PushEventModel

type PushEventModel struct {
	Ref     string            `json:"ref"`
	Deleted bool              `json:"deleted"`
	Commits []CommitModel     `json:"commits"`
	Files   FilesChangedModel `json:"files"`
}

PushEventModel ...

type RenamedFileModel

type RenamedFileModel struct {
	From VersionedPathModel `json:"from"`
	To   VersionedPathModel `json:"to"`
}

RenamedFileModel ...

type RepoInfoModel

type RepoInfoModel struct {
	SSHURL string `json:"ssh_url"`
}

RepoInfoModel ...

type VersionedPathModel

type VersionedPathModel struct {
	Path string `json:"path"`
	Rev  string `json:"rev"`
}

VersionedPathModel ...

Jump to

Keyboard shortcuts

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