0
0
mirror of https://github.com/thegeeklab/wp-gitea-release.git synced 2024-09-20 01:22:45 +02:00
wp-gitea-release/types.go
2016-02-11 22:44:34 +01:00

15 lines
484 B
Go

package main
import "github.com/drone/drone-go/drone"
// Params are the parameters that the GitHub Release plugin can parse.
type Params struct {
BaseURL string `json:"base_url"`
UploadURL string `json:"upload_url"`
APIKey string `json:"api_key"`
Files drone.StringSlice `json:"files"`
Checksum drone.StringSlice `json:"checksum"`
Draft bool `json:"draft"`
FileExists string `json:"file_exists"`
}