MCPcopy Create free account
hub / github.com/koding/kite / RegisterResult

Struct RegisterResult

protocol/protocol.go:129–144  ·  view source on GitHub ↗

RegisterResult is a response to Register request from Kite to Kontrol.

Source from the content-addressed store, hash-verified

127
128// RegisterResult is a response to Register request from Kite to Kontrol.
129type RegisterResult struct {
130 URL string `json:"url"`
131 HeartbeatInterval int64 `json:"heartbeatInterval"`
132 Error string `json:"err,omitempty"`
133
134 // PublicKey is only available if the public Key of the request is
135 // invalid.
136 PublicKey string `json:"publicKey,omitempty"`
137
138 // KiteKey is non-empty when caller made a request using kitekey
139 // signed by a keypair that was recently deleted.
140 //
141 // In such case Kontrol is going to create new kite key by signing
142 // it with new keys.
143 KiteKey string `json:"kiteKey,omitempty"`
144}
145
146type GetKitesArgs struct {
147 Query *KontrolQuery `json:"query"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected