Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/chrislusf/glow
/ functions
Functions
522 in github.com/chrislusf/glow
⨍
Functions
522
◇
Types & classes
101
↓ 2 callers
Function
Dial
(tlsConfig *tls.Config, target string)
util/network_util.go:12
↓ 2 callers
Function
FromProto
(channelStatuses []*cmd.ChannelStatus)
driver/executor_status.go:31
↓ 2 callers
Method
GetChannels
(name string)
resource/service_discovery/master/master.go:20
↓ 2 callers
Method
GetDirectChannel
Not thread safe
netchan/receiver/receiver_channel.go:48
↓ 2 callers
Method
GetInputStatuses
()
driver/cmd/control_message.pb.go:485
↓ 2 callers
Method
GetOutputStatuses
()
driver/cmd/control_message.pb.go:492
↓ 2 callers
Method
GetResource
()
driver/cmd/control_message.pb.go:292
↓ 2 callers
Method
GetStartTime
()
driver/cmd/control_message.pb.go:435
↓ 2 callers
Method
GetStopTime
()
driver/cmd/control_message.pb.go:442
↓ 2 callers
Method
GroupByKey
()
flow/dataset_cogroup.go:7
↓ 2 callers
Method
IsClosed
()
util/executor_status.go:38
↓ 2 callers
Method
IsDriverMode
()
flow/context_run.go:30
↓ 2 callers
Method
IsTaskMode
()
flow/context_run.go:37
↓ 2 callers
Function
Json
(w http.ResponseWriter, r *http.Request, httpStatus int, obj interface{})
util/http_handler.go:16
↓ 2 callers
Method
LocalGroupByKey
(compareFunc interface{})
flow/dataset_cogroup.go:13
↓ 2 callers
Function
MergeChannelTo
(cs []chan reflect.Value, transformFn func(reflect.Value) reflect.Value, out chan reflect.Value)
util/channel_util.go:14
↓ 2 callers
Method
MergeDatasets1ShardTo1Step
All dataset should have the same number of shards.
flow/context.go:130
↓ 2 callers
Function
NewDataset
(context *FlowContext, t reflect.Type)
flow/dataset.go:32
↓ 2 callers
Function
NewMessage
(flag ControlFlag, data []byte)
util/read_write.go:16
↓ 2 callers
Method
OnInterrupt
( fc *flow.FlowContext, sched *scheduler.Scheduler)
driver/context_driver_on_interrupt.go:22
↓ 2 callers
Method
ReadAt
(data []byte, offset int64)
netchan/store/data_store.go:42
↓ 2 callers
Method
Reduce
Reduce runs on a dataset with data type V. Function f takes two arguments of type V and returns one type V. The function should be commutative and ass
flow/dataset_reduce.go:11
↓ 2 callers
Function
RemoteDirectExecute
(tlsConfig *tls.Config, server string, command *cmd.ControlMessage)
driver/scheduler/command_execution.go:76
↓ 2 callers
Method
ReportAdd
(delta int)
util/executor_status.go:22
↓ 2 callers
Method
ReportClose
()
util/executor_status.go:26
↓ 2 callers
Method
ReportStart
()
util/executor_status.go:18
↓ 2 callers
Method
Run
()
flow/dataset_run.go:46
↓ 2 callers
Method
RunDatasetInStandAloneMode
()
flow/dataset_run.go:10
↓ 2 callers
Method
RunTask
source ->w:ds:r -> task -> w:ds:r source close next ds' w chan ds close its own r chan task closes its own channel to next ds' w:ds
flow/step_task.go:31
↓ 2 callers
Method
SetChannels
(name string, chans []*ChannelInformation)
resource/service_discovery/master/master.go:25
↓ 2 callers
Method
SetFetchFunction
(fn func([]Demand))
driver/scheduler/market/cda_market.go:56
↓ 2 callers
Method
SetScoreFunction
(scorer func(Requirement, float64, Object) float64)
driver/scheduler/market/cda_market.go:51
↓ 2 callers
Method
SetShardLocation
(name string, location resource.Location)
driver/scheduler/shard_location.go:36
↓ 2 callers
Method
ShowFlowStatus
( fc *flow.FlowContext, sched *scheduler.Scheduler)
driver/context_driver_on_interrupt.go:15
↓ 2 callers
Method
StartRsyncServer
go start a http server locally that will respond predictably to ranged requests
driver/rsync/http_server.go:90
↓ 2 callers
Function
ToProto
(channelStatuses []*util.ChannelStatus)
driver/executor_status.go:19
↓ 2 callers
Function
Uint64toBytes
(b []byte, v uint64)
util/bytes.go:29
↓ 2 callers
Function
_functionCallBasedOnInputType
(fn, input reflect.Value)
flow/dataset_map.go:96
↓ 2 callers
Function
acceptAndWrite
(listener net.Listener, text string)
util/network_util_test.go:12
↓ 2 callers
Method
beat
(fn func(url.Values) string)
resource/service_discovery/client/heartbeater.go:70
↓ 2 callers
Method
close
close closes the file if it is open.
netchan/store/rotating_file_store.go:168
↓ 2 callers
Method
doChannel
(chValue reflect.Value, chType reflect.Type)
flow/dataset_source.go:84
↓ 2 callers
Method
doDelete
(name string)
agent/local_dataset_shards_manager.go:28
↓ 2 callers
Method
findAgentInformation
(location resource.Location)
resource/service_discovery/master/master_resources.go:133
↓ 2 callers
Function
findAncestorStepId
find mergeable parent step or itself if parent is not mergeable
driver/plan/group.go:48
↓ 2 callers
Function
getLessThanComparator
(datasetType reflect.Type, key reflect.Value, functionPointer interface{})
flow/dataset_sort_comparator.go:50
↓ 2 callers
Method
input
(t *flow.Task, i, length int)
driver/plan/group_plot.go:134
↓ 2 callers
Function
iterate
(mongodbUrl, dbName, collectionName string, fn func(*mgo.Iter))
examples/mongodb_source/mongodb_source.go:54
↓ 2 callers
Method
output
(ds *flow.Dataset)
driver/plan/group_plot.go:138
↓ 2 callers
Function
printShardStatus
(shard *DatasetShard)
flow/context_on_interrupt.go:30
↓ 2 callers
Method
reportLocalExecutorStatusOnce
()
driver/task_runner.go:170
↓ 2 callers
Method
runFlowContextInStandAloneMode
()
flow/context_run.go:68
↓ 2 callers
Function
sendKeyValue
(outChan reflect.Value, key, value interface{})
flow/dataset_join.go:116
↓ 2 callers
Function
splitLocationToParts
(location string)
source/hdfs/hdfs.go:52
↓ 1 callers
Method
AddAgent
(a *AgentInformation)
resource/topology.go:124
↓ 1 callers
Method
AddDataCenter
(dc *DataCenter)
resource/topology.go:88
↓ 1 callers
Method
AddLinkedNToOneStep
(input *Dataset, m int, output *Dataset)
flow/context.go:113
↓ 1 callers
Method
AddOneToAllStep
the task should run on the source dataset shard input is nil for initial source dataset
flow/context.go:80
↓ 1 callers
Method
AddOneToEveryNStep
(input *Dataset, n int, output *Dataset)
flow/context.go:96
↓ 1 callers
Method
AddParent
(parent *StepGroup)
driver/plan/group.go:160
↓ 1 callers
Method
AddRack
(rack *Rack)
resource/topology.go:117
↓ 1 callers
Method
AddStep
(Step *flow.Step)
driver/plan/group.go:155
↓ 1 callers
Method
AddTask
(task *flow.Task)
driver/plan/group.go:169
↓ 1 callers
Function
Assign
(leader string, request *resource.AllocationRequest)
driver/scheduler/scheduler_fetch.go:68
↓ 1 callers
Method
BackgroundEventLoop
()
resource/service_discovery/master/master_resources.go:176
↓ 1 callers
Method
BackgroundEvictionLoop
()
resource/service_discovery/master/master_resources.go:148
↓ 1 callers
Function
BytesToUint16
(b []byte)
util/bytes.go:23
↓ 1 callers
Function
CleanPath
(path string)
util/dirpath.go:20
↓ 1 callers
Method
Cleanup
(sched *scheduler.Scheduler, fc *flow.FlowContext)
driver/context_driver.go:166
↓ 1 callers
Method
CloseOutputChannels
(fc *flow.FlowContext)
driver/context_driver.go:178
↓ 1 callers
Method
CoGroupPartitionedSorted
CoGroupPartitionedSorted joins 2 datasets that are sharded by the same key and already locally sorted within each shard.
flow/dataset_cogroup.go:68
↓ 1 callers
Method
ContainsDataCenters
()
resource/topology.go:58
↓ 1 callers
Method
CreateNamedDatasetShard
(name string)
agent/local_dataset_shards_manager.go:49
↓ 1 callers
Method
DeleteNamedDatasetShard
(name string)
agent/local_dataset_shards_manager.go:40
↓ 1 callers
Method
Distance
the distance is a relative value, similar to network lantency
resource/resource.go:88
↓ 1 callers
Function
DownloadUrl
(fileUrl string)
util/http_util.go:60
↓ 1 callers
Method
DropAgent
(a *AgentInformation)
resource/topology.go:131
↓ 1 callers
Function
Error
(w http.ResponseWriter, r *http.Request, httpStatus int, obj string)
util/http_handler.go:10
↓ 1 callers
Method
EventLoop
* resources are leased to driver, expires every X miniute unless renewed. 1. request resource 2. release resource */
driver/scheduler/scheduler_events.go:30
↓ 1 callers
Method
ExecutableFileHash
()
driver/rsync/http_server.go:57
↓ 1 callers
Function
FetchFilesTo
(driverAddress string, dir string)
driver/rsync/fetch_url.go:32
↓ 1 callers
Function
FetchUrl
(fileUrl string, destFile string)
driver/rsync/fetch_url.go:59
↓ 1 callers
Method
FetcherLoop
()
driver/scheduler/market/cda_market.go:79
↓ 1 callers
Function
Get
(url string)
util/http_util.go:44
↓ 1 callers
Method
GetAgents
()
resource/topology.go:138
↓ 1 callers
Method
GetCpuCount
()
driver/cmd/control_message.pb.go:227
↓ 1 callers
Method
GetDataCenters
()
resource/topology.go:95
↓ 1 callers
Method
GetDir
()
driver/cmd/control_message.pb.go:285
↓ 1 callers
Method
GetGetStatusResponse
()
driver/cmd/control_message.pb.go:157
↓ 1 callers
Method
GetHost
()
driver/cmd/control_message.pb.go:306
↓ 1 callers
Method
GetLength
()
driver/cmd/control_message.pb.go:428
↓ 1 callers
Method
GetMemory
()
driver/cmd/control_message.pb.go:241
↓ 1 callers
Method
GetName
()
driver/cmd/control_message.pb.go:449
↓ 1 callers
Method
GetPath
()
driver/cmd/control_message.pb.go:264
↓ 1 callers
Method
GetPort
()
driver/cmd/control_message.pb.go:209
↓ 1 callers
Method
GetRacks
()
resource/topology.go:106
↓ 1 callers
Method
GetRequestTime
()
driver/cmd/control_message.pb.go:499
↓ 1 callers
Method
GetType
()
driver/cmd/control_message.pb.go:115
↓ 1 callers
Method
GreaterThanZero
()
resource/resource.go:35
↓ 1 callers
Method
IsDriverPlotMode
()
flow/context_run.go:31
← previous
next →
101–200 of 522, ranked by callers