Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/koding/kite
/ functions
Functions
619 in github.com/koding/kite
⨍
Functions
619
◇
Types & classes
124
↓ 1 callers
Function
installKite
installKite moves the .kite bundle into ~/kd/kites.
kitectl/command/install.go:265
↓ 1 callers
Function
isBinaryFile
isBinaryFile returns true if the path is the path of the binary file in application bundle. Example: fs-0.0.1.kite/bin/fs
kitectl/command/install.go:281
↓ 1 callers
Function
isWebsocket
isWebsocket checks wether the incoming request is a part of websocket handshake
reverseproxy/reverseproxy.go:109
↓ 1 callers
Method
issuedAt
()
kitetest/kitetest.go:62
↓ 1 callers
Method
issuer
()
kitetest/kitetest.go:42
↓ 1 callers
Method
kontrolURL
()
kitetest/kitetest.go:69
↓ 1 callers
Method
listenAndServe
listenAndServe listens on the TCP network address k.URL.Host and then calls Serve to handle requests on incoming connectionk.
server.go:70
↓ 1 callers
Method
listenAndServe
()
tunnelproxy/proxy.go:133
↓ 1 callers
Function
localIP
localIp returns a local IP from one of the local interfaces.
registerurl.go:51
↓ 1 callers
Function
main
()
kitectl/release.py:134
↓ 1 callers
Method
makeResponseCallback
makeResponseCallback prepares and returns a callback function sent to the server. The caller of the Tell() is blocked until the server calls this call
client.go:949
↓ 1 callers
Function
makeWebsocketURL
(u *url.URL, serverID, sessionID string)
sockjsclient/sockjsclient.go:307
↓ 1 callers
Function
memoryStats
()
systeminfo/systeminfo_linux.go:20
↓ 1 callers
Function
newGracefulListener
(l net.Listener)
server.go:170
↓ 1 callers
Function
newHeartbeatReq
(r *Request)
heartbeat.go:24
↓ 1 callers
Function
newLogger
newLogger returns a new kite logger based on koding/logging package and a SetLogLvel function. The current logLevel is INFO by default, which can be c
logger.go:80
↓ 1 callers
Function
newPrivateKite
(r *kite.Client)
tunnelproxy/proxy.go:279
↓ 1 callers
Method
newRequest
newRequest returns a new *Request from the method and arguments passed.
request.go:135
↓ 1 callers
Method
newTunnel
(local sockjs.Session)
tunnelproxy/proxy.go:286
↓ 1 callers
Function
nonil
(err ...error)
kontrol/kontrol.go:609
↓ 1 callers
Function
onError
onError is called when an error happened in a method handler.
client.go:1003
↓ 1 callers
Function
onlyIDQuery
onlyIDQuery returns true if the query contains only a non-empty ID and all others keys are empty
kontrol/etcd.go:318
↓ 1 callers
Function
parseMeminfo
(table map[string]*uint64)
systeminfo/systeminfo_linux.go:56
↓ 1 callers
Method
processHeartbeats
()
heartbeat.go:52
↓ 1 callers
Method
processMessage
processMessage processes a single message and calls a handler or callback.
client.go:487
↓ 1 callers
Function
publicIP
publicIP returns an IP that is supposed to be Public.
registerurl.go:80
↓ 1 callers
Function
readFile
(file string, handler func(string) bool)
systeminfo/systeminfo_linux.go:72
↓ 1 callers
Method
receiveData
receiveData reads a message from session.
client.go:460
↓ 1 callers
Method
registerSelf
registerSelf adds Kontrol itself to the storage as a kite.
kontrol/kontrol.go:390
↓ 1 callers
Method
registerSrc
(src *Client)
handlers.go:40
↓ 1 callers
Method
registerToProxyKite
registerToProxyKite dials the proxy kite and calls register method then returns the reverse-proxy URL.
kontrolclient.go:467
↓ 1 callers
Method
removeCallbacks
Used to remove callbacks after error occurs in send().
client.go:904
↓ 1 callers
Method
renewLoop
()
tokenrenewer.go:74
↓ 1 callers
Method
renewToken
renewToken gets a new token from a kontrolClient, parses it and sets it as the token.
tokenrenewer.go:144
↓ 1 callers
Function
sendCallbackID
sendCallbackID send the callback number to be deleted after response is received.
client.go:922
↓ 1 callers
Method
sendDisconnectSignal
()
tokenrenewer.go:135
↓ 1 callers
Method
sendHeartbeats
(interval time.Duration, kiteURL *url.URL)
heartbeat.go:185
↓ 1 callers
Method
sendMethod
sendMethod wraps the arguments, adds a response callback, marshals the message and send it over the wire.
client.go:753
↓ 1 callers
Method
serve
(l net.Listener, h http.Handler)
server.go:97
↓ 1 callers
Function
setup
()
test/kontrolclient_test.go:81
↓ 1 callers
Function
sha1_file
Calculate sha1 of path. Read file in chunks.
kitectl/release.py:217
↓ 1 callers
Method
signalReady
signalReady is an internal method to notify that a successful registration is done.
kontrolclient.go:298
↓ 1 callers
Method
sockjsHandler
(session sockjs.Session)
kite.go:280
↓ 1 callers
Function
strtoull
(val string)
systeminfo/systeminfo_linux.go:93
↓ 1 callers
Function
sysctlbyname
generic Sysctl buffer unmarshalling
systeminfo/systeminfo_darwin.go:79
↓ 1 callers
Function
toObject
(v interface{})
kitectl/command/showkey.go:23
↓ 1 callers
Method
updateKey
(t *jwt.Token)
kontrol/handlers.go:332
↓ 1 callers
Method
username
()
kitetest/kitetest.go:49
↓ 1 callers
Function
validateOperation
(op string)
protocol/webrtc.go:86
↓ 1 callers
Function
validatePackage
validatePackage does some checks on kite bundle and returns the bundle path.
kitectl/command/install.go:241
↓ 1 callers
Function
vm_stat
()
systeminfo/systeminfo_darwin.go:31
↓ 1 callers
Method
wrapMethodArgs
(args []interface{}, responseCallback dnode.Function)
client.go:695
Method
Accept
()
server.go:177
Method
Add
(kiteProt *protocol.Kite, value *kontrolprotocol.RegisterValue)
kontrol/postgres.go:295
Method
AddAuthenticator
(keyType string, fn func(*kite.Request) error)
kontrol/kontrol.go:214
Method
AddKey
(keyPair *KeyPair)
kontrol/keypair.go:85
Method
AddKey
(keyPair *KeyPair)
kontrol/keypair.go:159
Method
AddKey
* --- Key Pair ----------------- */
kontrol/postgres.go:396
Method
Attach
Attach attaches the given token to each kite. It replaces any previous token.
kontrol/kites.go:16
Method
AuthenticateFromKiteKey
AuthenticateFromKiteKey authenticates user from kite key.
request.go:275
Method
AuthenticateFromToken
AuthenticateFromToken is the default Authenticator for Kite.
request.go:225
Function
BenchmarkEtcdAdd
(b *testing.B)
kontrol/bench_test.go:52
Function
BenchmarkEtcdGet
(b *testing.B)
kontrol/bench_test.go:79
Function
BenchmarkPostgres
(b *testing.B)
kontrol/bench_test.go:11
Function
BenchmarkPostgresGet
(b *testing.B)
kontrol/bench_test.go:38
Method
Call
Call the received function.
dnode/callback.go:18
Method
Call
(args ...interface{})
dnode/callback.go:51
Method
Call
(args ...interface{})
dnode/callback.go:60
Method
Clear
()
kontrol/etcd.go:91
Function
Close
Close is a wrapper for Closer that calls a Close on it.
kite.go:527
Method
Close
()
server.go:197
Method
Close
()
server.go:216
Method
Close
Close closes the session with provided code and reason.
sockjsclient/sockjsclient.go:275
Method
Close
()
tunnelproxy/tunnel.go:79
Method
CloseNotify
()
reverseproxy/reverseproxy.go:117
Method
Code
()
errors.go:22
Function
ConnectWebsocketSession
ConnectWebsocketSession dials the remote specified in the opts and creates new websocket session. Deprecated: Use DialWebsocket instead.
sockjsclient/sockjsclient.go:170
Method
Create
(ctx context.Context, key, value string)
kontrol/etcd_keysapi_logger.go:37
Method
CreateInOrder
(ctx context.Context, dir, value string, opts *etcd.CreateInOrderOptions)
kontrol/etcd_keysapi_logger.go:42
Method
Delete
(k *protocol.Kite)
kontrol/etcd.go:78
Method
Delete
(ctx context.Context, key string, opts *etcd.DeleteOptions)
kontrol/etcd_keysapi_logger.go:32
Method
Delete
(kiteProt *protocol.Kite)
kontrol/postgres.go:327
Method
DeleteKey
(keyPair *KeyPair)
kontrol/keypair.go:95
Method
DeleteKey
(keyPair *KeyPair)
kontrol/keypair.go:167
Method
DeleteKey
(keyPair *KeyPair)
kontrol/postgres.go:415
Method
Error
Error implements the built-in error interface.
kite.go:456
Method
Error
()
errors.go:26
Method
Error
Error implements the buildin error interface.
sockjsclient/sockjsclient.go:51
Method
Error
()
kontrol/errors.go:24
Method
Error
()
dnode/errors.go:14
Method
Error
()
dnode/errors.go:25
Method
Error
()
dnode/errors.go:34
Method
Extract
Extract is a jwt.Keyfunc that extracts kite ID.
kitetest/kitetest.go:146
Function
ExtractKiteID
ExtractKiteID extracts kite ID from the raw JWT token.
kitetest/kitetest.go:168
Method
F1
Combination of exported/unexported value/pointer receiver methods.
dnode/scrub_test.go:70
Method
F3
(p *Partial)
dnode/scrub_test.go:72
Method
FinalFunc
FinalFunc registers a function that is always called as a last one after pre-, handler and post- functions for the given method. It receives a result
method.go:154
Function
GenerateKiteKey
GenerateKiteKey
kitetest/kitetest.go:101
Method
Get
(query *protocol.KontrolQuery)
kontrol/etcd.go:191
Method
Get
(ctx context.Context, key string, opts *etcd.GetOptions)
kontrol/etcd_keysapi_logger.go:22
← previous
next →
301–400 of 619, ranked by callers