MCPcopy Create free account

hub / github.com/koding/kite / functions

Functions619 in github.com/koding/kite

↓ 1 callersMethodFinalFunc
FinalFunc registers a function that is always called as a last one after pre-, handler and post- functions. It receives a result and an error from la
method.go:203
↓ 1 callersMethodFlatten
Flatten converts the recursive etcd directory structure to a flat one that contains all kontrolNodes
kontrol/node.go:33
↓ 1 callersFunctionGenerateKeyPair
GenerateKeyPair
kitetest/kitetest.go:77
↓ 1 callersFunctionGet
()
config/config.go:168
↓ 1 callersMethodGet
()
systeminfo/systeminfo_linux.go:35
↓ 1 callersMethodGetCallback
(id uint64)
dnode/scrubber.go:30
↓ 1 callersMethodGetKeyFromID
(id string)
kontrol/keypair.go:109
↓ 1 callersMethodGetKeyFromPublic
(public string)
kontrol/keypair.go:123
↓ 1 callersMethodGetKeyFromPublic
(public string)
kontrol/postgres.go:470
↓ 1 callersMethodGetSessionState
GetSessionState gives state of the session.
sockjsclient/xhr.go:164
↓ 1 callersMethodGetTokenForce
GetTokenForce is used to obtain a new token for the given kite. It always returns a new token and forces a Kontrol to forget about any previous ones.
kontrolclient.go:224
↓ 1 callersMethodHasValue
HasValue returns true if the give node has a non-empty value
kontrol/node.go:27
↓ 1 callersMethodHello
(remote *HelloKite)
kontrol/helper_test.go:184
↓ 1 callersMethodHelp
()
kitectl/command/uninstall.go:29
↓ 1 callersMethodHelp
()
kitectl/command/tell.go:32
↓ 1 callersMethodHelp
()
kitectl/command/run.go:27
↓ 1 callersMethodIP
()
examples/math/config.go:31
↓ 1 callersMethodInitializeSelf
InitializeSelf registers his host by writing a key to ~/.kite/kite.key
kontrol/kontrol.go:351
↓ 1 callersMethodIsValid
IsValid returns true if f represents a Function. It returns false if f is the zero Value.
dnode/callback.go:27
↓ 1 callersFunctionJoinStreams
(local, remote io.ReadWriteCloser)
tunnelproxy/tunnel.go:46
↓ 1 callersFunctionKiteFromString
KiteFromString returns a new Kite string from the given string representation in the form of "/username/environment/...". It's the inverse of k.String
protocol/protocol.go:95
↓ 1 callersFunctionKiteHome
KiteHome returns the home path of Kite directory. The returned value can be overridden by setting KITE_HOME environment variable.
kitekey/kitekey.go:31
↓ 1 callersMethodKites
Kites returns a list of kites that are gathered by collecting recursively all nodes under the current node.
kontrol/node.go:96
↓ 1 callersMethodKontrolKey
KontrolKey gives a Kontrol's public key. The value is taken form kite key's kontrolKey claim.
kite.go:255
↓ 1 callersMethodListenAndServeTLS
(certFile, keyFile string)
reverseproxy/reverseproxy.go:214
↓ 1 callersMethodMap
Map is a helper method to unmarshal to a JSON Object.
dnode/partial.go:84
↓ 1 callersMethodMustBool
()
dnode/partial.go:157
↓ 1 callersMethodMustFunction
()
dnode/partial.go:163
↓ 1 callersFunctionNew
()
systeminfo/systeminfo.go:41
↓ 1 callersFunctionNew
(conf *config.Config)
reverseproxy/reverseproxy.go:49
↓ 1 callersFunctionNew
New creates a new kontrol instance with the given version and config instance, and the default kontrol handlers. Publickey is used for validating toke
kontrol/kontrol.go:140
↓ 1 callersFunctionNew
NewOnceEvery creates a new OnceEvery struct
kontrol/onceevery/onceevery.go:17
↓ 1 callersFunctionNew
(conf *config.Config, version, pubKey, privKey string)
tunnelproxy/proxy.go:57
↓ 1 callersFunctionNew
New returns a new Config initialized with defaults.
config/config.go:149
↓ 1 callersFunctionNewIdlock
New returns a new IdLock
kontrol/idlock.go:11
↓ 1 callersFunctionNewInstalledKite
(domain, user, repo, version string)
kitectl/command/list.go:120
↓ 1 callersFunctionNewKeysAPILogger
(kapi etcd.KeysAPI, log kite.Logger)
kontrol/etcd_keysapi_logger.go:15
↓ 1 callersFunctionNewKiteKey
NewKiteKey returns a new generated kite key. (Copied and modified from kontrol.go) If the host does not have a kite.key file kite.New() panics. This i
testutil/testutil.go:20
↓ 1 callersFunctionNewTokenRenewer
(r *Client, k *Kite)
tokenrenewer.go:30
↓ 1 callersFunctionNewWebRCTHandler
NewWebRCTHandler creates a new handler for web rtc signalling services.
handlers.go:34
↓ 1 callersFunctionNewWebsocketSession
NewWebsocketSession creates new sockjs.Session from existing websocket connection.
sockjsclient/sockjsclient.go:181
↓ 1 callersFunctionNewWithConfig
NewWithConfig builds a new kite value for the given configuration.
kite.go:168
↓ 1 callersFunctionNewWithoutHandlers
NewWithoutHandlers creates a new kontrol instance with the given version and config instance, but *without* the default handlers. If this is function
kontrol/kontrol.go:170
↓ 1 callersMethodNextBackOff
()
client.go:1039
↓ 1 callersMethodOnConnect
OnConnect adds a callback which is called when client connects to a remote kite.
client.go:611
↓ 1 callersMethodOnTokenRenew
OnTokenRenew adds a callback which is called when client successfully renews its token.
client.go:635
↓ 1 callersMethodParsePayload
ParsePayload parses the payload if it is not parsed previously. This method can be called concurrently.
protocol/webrtc.go:50
↓ 1 callersFunctionParseWebRTCSignalMessage
ParseWebRTCSignalMessage parses the web rtc command/message
protocol/webrtc.go:68
↓ 1 callersMethodPort
()
examples/math/config.go:36
↓ 1 callersMethodPostHandle
PostHandle adds a new kite handler which is executed after the method.
method.go:138
↓ 1 callersMethodPostHandle
PostHandle registers an handler which is executed after a kite.Handler method is executed. Calling PostHandler multiple times registers multiple handl
method.go:189
↓ 1 callersMethodPreHandle
PreHandler adds a new kite handler which is executed before the method.
method.go:126
↓ 1 callersMethodPreHandle
PreHandle registers an handler which is executed before a kite.Handler method is executed. Calling PreHandle multiple times registers multiple handler
method.go:176
↓ 1 callersFunctionRead
Read the contents of the kite.key file.
kitekey/kitekey.go:52
↓ 1 callersMethodReadKiteKey
ReadKiteKey parsed the user's kite key and returns a new Config.
config/config.go:244
↓ 1 callersMethodReadyNotify
()
reverseproxy/reverseproxy.go:121
↓ 1 callersMethodRegisterToProxy
RegisterToProxy is just like RegisterForever but registers the given URL to kontrol over a kite-proxy. A Kiteproxy is a reverseproxy that can be used
kontrolclient.go:412
↓ 1 callersMethodRenewWhenExpires
RenewWhenExpires renews the token before it expires.
tokenrenewer.go:64
↓ 1 callersMethodRun
(args []string)
kitectl/command/run.go:36
↓ 1 callersMethodRunCleaner
RunCleaner deletes every "interval" duration rows which are older than "expire" duration based on the "updated_at" field. For more info check CleanExp
kontrol/postgres.go:93
↓ 1 callersMethodServeHTTP
ServeHTTP helps Kite to satisfy the http.Handler interface. So kite can be used as a standard http server.
kite.go:276
↓ 1 callersMethodSetUsername
(username string)
client.go:227
↓ 1 callersMethodStartNotify
()
tunnelproxy/tunnel.go:36
↓ 1 callersMethodTellKontrolWithTimeout
TellKontrolWithTimeout is a lower level function for communicating directly with kontrol. Like GetKites and GetToken, this automatically sets up and c
kontrolclient.go:512
↓ 1 callersMethodThrottle
Throttle throttles the method for each incoming request. The throttle algorithm is based on token bucket implementation: http://en.wikipedia.org/wiki/
method.go:111
↓ 1 callersMethodUnscrub
(arguments interface{}, callbacks map[string]Path, f func(uint64) functionReceived)
dnode/unscrub.go:10
↓ 1 callersMethodUseTLS
(certPEM, keyPEM string)
server.go:126
↓ 1 callersFunctionWaitTillConnected
(conf *Config, timeout time.Duration, hks ...*HelloKite)
kontrol/helper_test.go:282
↓ 1 callersMethodWaitTokenExpired
(timeout time.Duration)
kontrol/helper_test.go:158
↓ 1 callersMethodWaitTokenRenew
(timeout time.Duration)
kontrol/helper_test.go:171
↓ 1 callersMethodaddDefaultHandlers
()
handlers.go:83
↓ 1 callersMethodauthCopy
()
client.go:294
↓ 1 callersMethodauthenticate
authenticate tries to authenticate the user by selecting appropriate authenticator function.
request.go:182
↓ 1 callersMethodbackend
(req *http.Request)
reverseproxy/reverseproxy.go:145
↓ 1 callersMethodcacheToken
cacheToken cached the signed token under the given key. It also ensures the token is invalidated after its expiration time. If the token was already
kontrol/kontrol.go:543
↓ 1 callersMethodcallOnConnectHandlers
(c *Client)
kite.go:333
↓ 1 callersMethodcallOnDisconnectHandlers
(c *Client)
kite.go:357
↓ 1 callersMethodcallOnFirstRequestHandlers
(c *Client)
kite.go:345
↓ 1 callersMethodcallOnTokenExpireHandlers
callOnTokenExpireHandlers calls registered functions when an error from remote kite is received that token used is expired.
client.go:669
↓ 1 callersMethodcallOnTokenRenewHandlers
callOnTokenRenewHandlers calls all registered functions when we successfully obtain new token from kontrol.
client.go:683
↓ 1 callersMethodcancelWatcher
(watcherID string)
kontrol/_watcher.go:24
↓ 1 callersMethodclient
()
sockjsclient/sockjsclient.go:123
↓ 1 callersMethodcontext
()
client.go:288
↓ 1 callersFunctiondefaultKiteClient
()
kitectl/command/default.go:20
↓ 1 callersFunctiondefaultUi
()
kitectl/command/default.go:24
↓ 1 callersFunctiondiskStats
()
systeminfo/systeminfo_unix.go:7
↓ 1 callersMethoddo
(req *http.Request)
sockjsclient/xhr.go:315
↓ 1 callersMethodetcdKey
(query *protocol.KontrolQuery)
kontrol/etcd.go:275
↓ 1 callersFunctionexists
exists returns whether the given file or directory exists or not.
kitectl/command/uninstall.go:92
↓ 1 callersFunctionextractTar
extractTar reads from the io.Reader and writes the files into the directory.
kitectl/command/install.go:189
↓ 1 callersFunctiongetBinaryURL
(manifest map[string]interface{})
kitectl/command/install.go:158
↓ 1 callersMethodgetDst
(dst string)
handlers.go:50
↓ 1 callersMethodgetKites
used internally for GetKites() and WatchKites()
kontrolclient.go:142
↓ 1 callersFunctiongetManifest
(repoName string)
kitectl/command/install.go:122
↓ 1 callersFunctiongetVersion
(manifest map[string]interface{})
kitectl/command/install.go:179
↓ 1 callersMethodhandleResp
(resp *http.Response)
sockjsclient/xhr.go:176
↓ 1 callersMethodhello
(remote *HelloKite, force bool)
kontrol/helper_test.go:188
↓ 1 callersFunctionhomeDir
()
systeminfo/systeminfo.go:32
↓ 1 callersMethodid
()
kitetest/kitetest.go:35
↓ 1 callersFunctioninitialKey
(kontrolConf *Kontrol, publicKey, privateKey []byte)
kontrol/kontrol/main.go:107
← previousnext →201–300 of 619, ranked by callers