1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-30 08:06:52 +02:00
woodpecker/shared/model/remote.go
Brad Rydzewski 83577a7d5d removed css files. designers will be providing
removed amber files. replacing with angular
removed queue package in favor or worker package
removed channel package in favor of pubsub package
2014-06-21 14:22:38 -07:00

21 lines
691 B
Go

package model
const (
RemoteGithub = "github.com"
RemoteGitlab = "gitlab.com"
RemoteGithubEnterprise = "enterprise.github.com"
RemoteBitbucket = "bitbucket.org"
RemoteStash = "stash.atlassian.com"
)
type Remote struct {
ID int64 `meddler:"remote_id,pk" json:"id"`
Type string `meddler:"remote_type" json:"type"`
Host string `meddler:"remote_host" json:"host"`
URL string `meddler:"remote_url" json:"url"`
API string `meddler:"remote_api" json:"api"`
Client string `meddler:"remote_client" json:"client"`
Secret string `meddler:"remote_secret" json:"secret"`
Open bool `meddler:"remote_open" json:"open"`
}