mirror of
https://github.com/drone/drone-cli.git
synced 2024-11-23 09:21:56 +01:00
24 lines
602 B
Go
24 lines
602 B
Go
|
package common
|
||
|
|
||
|
type Clone struct {
|
||
|
Origin string `json:"origin"`
|
||
|
Remote string `json:"remote"`
|
||
|
Branch string `json:"branch"`
|
||
|
Sha string `json:"sha"`
|
||
|
Ref string `json:"ref"`
|
||
|
Dir string `json:"dir"`
|
||
|
Netrc *Netrc `json:"netrc"`
|
||
|
Keypair *Keypair `json:"keypair"`
|
||
|
}
|
||
|
|
||
|
type Netrc struct {
|
||
|
Machine string `json:"machine"`
|
||
|
Login string `json:"login"`
|
||
|
Password string `json:"user"`
|
||
|
}
|
||
|
|
||
|
type Keypair struct {
|
||
|
Public string `json:"public"`
|
||
|
Private string `json:"private"`
|
||
|
}
|