Documentation
¶
Overview ¶
Package contract holds the stable JSON types shared across the synckit HTTP surface — between the bot, the deploy-agent, and any non-Go consumer (the .NET app, the device farm). Field tags are frozen; changing them breaks wire compatibility with existing consumers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployResponse ¶
type DeployResponse struct {
OK bool `json:"ok"`
AlreadyUpToDate bool `json:"alreadyUpToDate,omitempty"`
Tail string `json:"tail,omitempty"`
FromHash string `json:"fromHash,omitempty"`
ToHash string `json:"toHash,omitempty"`
}
DeployResponse is what the deploy-agent returns to the bot after a pipeline run.
type NewVersionEvent ¶
type NewVersionEvent struct {
Package string `json:"package"`
Version string `json:"version"`
APKRef string `json:"apkRef"`
ProtoSHA string `json:"protoSha"`
DetectedAt string `json:"detectedAt"`
}
NewVersionEvent is posted by the device farm to a sync server when a new game version (and proto) is detected.
Click to show internal directories.
Click to hide internal directories.