implement check command
This commit is contained in:
17
resources.go
17
resources.go
@@ -1,17 +1,22 @@
|
||||
package resource
|
||||
|
||||
type OutRequest struct {
|
||||
Source OutSource `json:"source"`
|
||||
Params OutParams `json:"params"`
|
||||
}
|
||||
|
||||
type OutSource struct {
|
||||
type Source struct {
|
||||
AccessToken string `json:"access_token"`
|
||||
|
||||
User string `json:"user"`
|
||||
Repository string `json:"repository"`
|
||||
}
|
||||
|
||||
type CheckRequest struct {
|
||||
Source Source `json:"source"`
|
||||
Version Version `json:"version"`
|
||||
}
|
||||
|
||||
type OutRequest struct {
|
||||
Source Source `json:"source"`
|
||||
Params OutParams `json:"params"`
|
||||
}
|
||||
|
||||
type OutParams struct {
|
||||
NamePath string `json:"name"`
|
||||
BodyPath string `json:"body"`
|
||||
|
Reference in New Issue
Block a user