mirror of
https://github.com/coder/coder.git
synced 2026-06-04 13:38:21 +00:00
7cc2b22568
relates to #21335 Adds UpdateAppStatus on the agentsocket, wired up to forward to Coderd over the dRPC connection the agent maintains. Disclosure: I used AI to generate significant portions of this PR, but hand-reviewed and tweaked the code. I consider it approximately indistinguishable from what I would have done by hand.
21 lines
390 B
Go
21 lines
390 B
Go
package proto
|
|
|
|
import "github.com/coder/coder/v2/apiversion"
|
|
|
|
// Version history:
|
|
//
|
|
// API v1.0:
|
|
// - Initial release
|
|
// - Ping
|
|
// - Sync operations: SyncStart, SyncWant, SyncComplete, SyncWait, SyncStatus
|
|
//
|
|
// API v1.1:
|
|
// - UpdateAppStatus RPC (forwarded to coderd)
|
|
|
|
const (
|
|
CurrentMajor = 1
|
|
CurrentMinor = 1
|
|
)
|
|
|
|
var CurrentVersion = apiversion.New(CurrentMajor, CurrentMinor)
|