Kite returns the definition of the kite.
()
| 230 | |
| 231 | // Kite returns the definition of the kite. |
| 232 | func (k *Kite) Kite() *protocol.Kite { |
| 233 | return &protocol.Kite{ |
| 234 | Username: k.Config.Username, |
| 235 | Environment: k.Config.Environment, |
| 236 | Name: k.name, |
| 237 | Version: k.version, |
| 238 | Region: k.Config.Region, |
| 239 | Hostname: hostname, |
| 240 | ID: k.Id, |
| 241 | } |
| 242 | } |
| 243 | |
| 244 | // KiteKey gives a kite key used to authenticate to kontrol and other kites. |
| 245 | func (k *Kite) KiteKey() string { |
no outgoing calls