mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 18:01:02 +00:00
Remove unused struct from metadata (#4120)
This commit is contained in:
parent
e89a2f38fd
commit
375309a8a8
3 changed files with 13 additions and 22 deletions
|
@ -38,7 +38,6 @@ type (
|
||||||
CloneURL string `json:"clone_url,omitempty"`
|
CloneURL string `json:"clone_url,omitempty"`
|
||||||
CloneSSHURL string `json:"clone_url_ssh,omitempty"`
|
CloneSSHURL string `json:"clone_url_ssh,omitempty"`
|
||||||
Private bool `json:"private,omitempty"`
|
Private bool `json:"private,omitempty"`
|
||||||
Secrets []Secret `json:"secrets,omitempty"`
|
|
||||||
Branch string `json:"default_branch,omitempty"`
|
Branch string `json:"default_branch,omitempty"`
|
||||||
Trusted bool `json:"trusted,omitempty"`
|
Trusted bool `json:"trusted,omitempty"`
|
||||||
}
|
}
|
||||||
|
@ -92,14 +91,6 @@ type (
|
||||||
Number int `json:"number,omitempty"`
|
Number int `json:"number,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Secret defines a runtime secret.
|
|
||||||
Secret struct {
|
|
||||||
Name string `json:"name,omitempty"`
|
|
||||||
Value string `json:"value,omitempty"`
|
|
||||||
Mount string `json:"mount,omitempty"`
|
|
||||||
Mask bool `json:"mask,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
// System defines runtime metadata for a ci/cd system.
|
// System defines runtime metadata for a ci/cd system.
|
||||||
System struct {
|
System struct {
|
||||||
Name string `json:"name,omitempty"`
|
Name string `json:"name,omitempty"`
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.34.1
|
// protoc-gen-go v1.34.1
|
||||||
// protoc v4.25.3
|
// protoc v4.25.4
|
||||||
// source: woodpecker.proto
|
// source: woodpecker.proto
|
||||||
|
|
||||||
package proto
|
package proto
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// - protoc-gen-go-grpc v1.4.0
|
// - protoc-gen-go-grpc v1.4.0
|
||||||
// - protoc v4.25.3
|
// - protoc v4.25.4
|
||||||
// source: woodpecker.proto
|
// source: woodpecker.proto
|
||||||
|
|
||||||
package proto
|
package proto
|
||||||
|
|
Loading…
Reference in a new issue