Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Netflix/p2plab
/ functions
Functions
716 in github.com/Netflix/p2plab
⨍
Functions
716
◇
Types & classes
184
↓ 1 callers
Function
AddOptionsFromDefinition
(odef metadata.ObjectDefinition)
scenarios/plan.go:147
↓ 1 callers
Function
App
(ctx context.Context)
cmd/labd/command/root.go:33
↓ 1 callers
Function
App
(ctx context.Context)
cmd/labagent/command/root.go:32
↓ 1 callers
Function
App
(ctx context.Context)
cmd/labctl/command/root.go:24
↓ 1 callers
Function
App
(ctx context.Context)
cmd/labapp/command/root.go:33
↓ 1 callers
Method
Apply
(ctx context.Context, id string, cdef metadata.ClusterDefinition)
providers/terraform/terraform.go:54
↓ 1 callers
Function
AttachAppClient
(app *cli.App)
cmd/labctl/command/common.go:103
↓ 1 callers
Function
AttachAppContext
(ctx context.Context, app *cli.App)
cmd/labctl/command/common.go:36
↓ 1 callers
Function
Benchmark
(ctx context.Context, lset p2plab.LabeledSet, benchmark metadata.ScenarioStage)
scenarios/run.go:155
↓ 1 callers
Function
BuildCommits
(ctx context.Context, builder p2plab.Builder, commits []string)
nodes/update.go:114
↓ 1 callers
Function
BuildManifestHandler
(f images.HandlerFunc, peer p2plab.Peer, provider content.Provider, callback func(ocispec.Descriptor), opts ..
transformers/oci/oci.go:232
↓ 1 callers
Function
CollectReports
(ctx context.Context, ns []p2plab.Node)
nodes/reports.go:30
↓ 1 callers
Function
ConstructDAGFromManifest
(ctx context.Context, p p2plab.Peer, image ocispec.Descriptor, opts ...p2plab.AddOption)
transformers/oci/oci.go:304
↓ 1 callers
Function
ConvertHandler
(conversions map[digest.Digest]ocispec.Descriptor, peer p2plab.Peer, fetcher remotes.Fetcher, store content.St
transformers/oci/oci.go:179
↓ 1 callers
Method
CreateBenchmark
(ctx context.Context, benchmark Benchmark)
metadata/db.go:115
↓ 1 callers
Method
CreateNodeGroup
CreateNodeGroup returns a healthy cluster of nodes.
node.go:47
↓ 1 callers
Method
CreateNodes
(ctx context.Context, cluster string, nodes []Node)
metadata/node.go:140
↓ 1 callers
Method
CreateNodes
(ctx context.Context, cluster string, node []Node)
metadata/db.go:73
↓ 1 callers
Method
CreateReport
(ctx context.Context, id string, report Report)
metadata/db.go:107
↓ 1 callers
Method
CreateScenario
(ctx context.Context, scenario Scenario)
metadata/db.go:85
↓ 1 callers
Method
DAGService
DAGService returns the IPLD DAG service.
peer.go:35
↓ 1 callers
Method
DeleteBenchmarks
(ctx context.Context, ids ...string)
metadata/db.go:121
↓ 1 callers
Method
DeleteScenarios
(ctx context.Context, ids ...string)
metadata/db.go:91
↓ 1 callers
Method
Destroy
(ctx context.Context, id string)
providers/terraform/terraform.go:108
↓ 1 callers
Method
DestroyNodeGroup
DestroyNodeGroup destroys a cluster of nodes.
node.go:50
↓ 1 callers
Method
Disconnect
Disconnect disconnects from libp2p peers.
peer.go:41
↓ 1 callers
Function
DiscoverInstances
(ctx context.Context, asg, region string)
providers/terraform/instances.go:32
↓ 1 callers
Function
DispatchConvertHandler
(f images.HandlerFunc, peer p2plab.Peer, fetcher remotes.Fetcher, store content.Store, opts ...p2plab.AddOptio
transformers/oci/oci.go:157
↓ 1 callers
Method
FetchGraph
FetchGraph fetches the full DAG rooted at a given cid.
peer.go:50
↓ 1 callers
Method
FromJSON
FromJSON loads the experiment definition with the values from data
metadata/experiment.go:73
↓ 1 callers
Method
GenerateLabels
()
metadata/cluster.go:74
↓ 1 callers
Method
Get
(id string)
query/labeled_set.go:41
↓ 1 callers
Method
GetBenchmark
(ctx context.Context, id string)
metadata/db.go:111
↓ 1 callers
Method
GetNode
(ctx context.Context, cluster, id string)
metadata/db.go:67
↓ 1 callers
Function
GetNodeProvider
(root, providerType string, settings ProviderSettings)
providers/providers.go:37
↓ 1 callers
Function
GetPrinter
(output, auto OutputType)
printer/printer.go:36
↓ 1 callers
Method
GetReport
(ctx context.Context, id string)
metadata/db.go:105
↓ 1 callers
Function
GetUploader
(root, uploaderType string, settings UploaderSettings)
uploaders/uploaders.go:36
↓ 1 callers
Method
Handle
Handle starts handling the given signals, and will call the handler callback function each time a signal is catched. The function is passed the number
pkg/cliutil/interrupt.go:88
↓ 1 callers
Method
Healthcheck
(ctx context.Context)
api.go:46
↓ 1 callers
Method
ID
()
labd/controlapi/build.go:105
↓ 1 callers
Function
IsInvalidArgument
(err error)
errdefs/errors.go:44
↓ 1 callers
Function
IsUnavailable
(err error)
errdefs/errors.go:48
↓ 1 callers
Function
JoinBefore
(fns ...cli.BeforeFunc)
pkg/cliutil/attach.go:51
↓ 1 callers
Method
LabelBenchmarks
(ctx context.Context, ids, adds, removes []string)
metadata/db.go:119
↓ 1 callers
Method
LabelClusters
(ctx context.Context, ids, adds, removes []string)
metadata/db.go:61
↓ 1 callers
Method
LabelNodes
(ctx context.Context, cluster string, ids, adds, removes []string)
metadata/db.go:77
↓ 1 callers
Method
LabelScenarios
(ctx context.Context, ids, adds, removes []string)
metadata/db.go:89
↓ 1 callers
Function
LabeledSetToNodes
(lset p2plab.LabeledSet)
scenarios/run.go:53
↓ 1 callers
Method
ListBuilds
(ctx context.Context)
metadata/db.go:97
↓ 1 callers
Function
New
(root, addr string, logger *zerolog.Logger, opts ...LabdOption)
labd/labd.go:50
↓ 1 callers
Function
New
(client *httputil.Client, addr string)
labd/controlapi/controlapi.go:33
↓ 1 callers
Function
New
New returns a new experiment router initialized with the router helpers
labd/routers/experimentrouter/router.go:60
↓ 1 callers
Function
New
(db metadata.DB, client *httputil.Client)
labd/routers/noderouter/router.go:37
↓ 1 callers
Function
New
New returns a new clutser router initialized with the router helpers
labd/routers/clusterrouter/router.go:41
↓ 1 callers
Function
New
(db metadata.DB)
labd/routers/scenariorouter/router.go:35
↓ 1 callers
Function
New
(db metadata.DB, uploader p2plab.Uploader, fs *downloaders.Downloaders)
labd/routers/buildrouter/router.go:36
↓ 1 callers
Function
New
(db metadata.DB, client *httputil.Client, ts *transformers.Transformers, seeder *peer.Peer, builder p2plab.Bui
labd/routers/benchmarkrouter/router.go:53
↓ 1 callers
Function
New
(root string, logger *zerolog.Logger, settings FileUploaderSettings)
uploaders/fileuploader/uploader.go:44
↓ 1 callers
Function
New
(root string, db metadata.DB, logger *zerolog.Logger, agentOpts ...labagent.LabagentOption)
providers/inmemory/provider.go:40
↓ 1 callers
Function
New
(root string)
providers/terraform/provider.go:60
↓ 1 callers
Function
New
(addr string, s supervisor.Supervisor)
labagent/agentrouter/router.go:35
↓ 1 callers
Function
New
(root, appRoot, appAddr string, client *httputil.Client, fs *downloaders.Downloaders)
labagent/supervisor/supervisor.go:56
↓ 1 callers
Function
New
(root string, client *http.Client)
transformers/transformers.go:34
↓ 1 callers
Function
New
()
downloaders/filedownloader/downloader.go:32
↓ 1 callers
Function
New
(client *httputil.Client)
downloaders/httpdownloader/downloader.go:29
↓ 1 callers
Function
New
(ctx context.Context, root, addr string, port int, logger *zerolog.Logger, pdef metadata.PeerDefinition)
labapp/labapp.go:34
↓ 1 callers
Function
New
(p *peer.Peer)
labapp/approuter/router.go:40
↓ 1 callers
Function
NewBlockstore
(ctx context.Context, ds datastore.Batching)
peer/peer.go:317
↓ 1 callers
Function
NewDatastore
(path string)
peer/peer.go:313
↓ 1 callers
Function
NewIDPrinter
()
printer/id.go:25
↓ 1 callers
Function
NewJSONPrinter
()
printer/json.go:24
↓ 1 callers
Function
NewJaegerLogger
(logger *zerolog.Logger)
pkg/logutil/jaeger.go:26
↓ 1 callers
Function
NewLibp2pPeer
(ctx context.Context, port int, pdef metadata.PeerDefinition, reporter metrics.Reporter)
peer/libp2p.go:39
↓ 1 callers
Function
NewMuxerOption
(muxerType string)
peer/libp2p.go:105
↓ 1 callers
Function
NewProvider
(peer p2plab.Peer)
transformers/oci/content.go:34
↓ 1 callers
Function
NewProviderSystem
(ctx context.Context, ds datastore.Batching, bs blockstore.Blockstore, r routing.ContentRouting)
peer/peer.go:330
↓ 1 callers
Function
NewRoutingOption
(ctx context.Context, routingType string)
peer/libp2p.go:127
↓ 1 callers
Function
NewSecurityOption
(securityType string)
peer/libp2p.go:116
↓ 1 callers
Function
NewTablePrinter
()
printer/table.go:30
↓ 1 callers
Function
NewTransportOption
(transportType string, port int)
peer/libp2p.go:92
↓ 1 callers
Function
NewUnixPrinter
()
printer/unix.go:25
↓ 1 callers
Function
NewWriteFlusher
(w io.Writer)
pkg/logutil/http.go:40
↓ 1 callers
Function
Parse
(filename string)
scenarios/definition.go:24
↓ 1 callers
Function
ResolveUniqueCommits
(ctx context.Context, builder p2plab.Builder, ns []p2plab.Node)
nodes/update.go:78
↓ 1 callers
Method
Routes
()
daemon/router.go:23
↓ 1 callers
Method
SSH
SSH creates a SSH connection to the node.
api.go:51
↓ 1 callers
Function
Seed
(ctx context.Context, lset p2plab.LabeledSet, seed metadata.ScenarioStage, seederAddrs []string)
scenarios/run.go:65
↓ 1 callers
Function
Session
(ctx context.Context, lset p2plab.LabeledSet, benchmark metadata.ScenarioStage)
scenarios/run.go:121
↓ 1 callers
Function
Session
(ctx context.Context, ns []p2plab.Node, fn func(context.Context) error)
nodes/session.go:29
↓ 1 callers
Method
Size
()
metadata/cluster.go:66
↓ 1 callers
Method
Supervise
(ctx context.Context, id, link string, pdef metadata.PeerDefinition)
labagent/supervisor/supervisor.go:42
↓ 1 callers
Method
ToTrialDefinitions
ToTrialDefinitions returns the slice of all trials to be run
cue/parser/p2plab_instance.go:28
↓ 1 callers
Method
UpdateBenchmark
(ctx context.Context, benchmark Benchmark)
metadata/db.go:117
↓ 1 callers
Method
UpdateNode
(ctx context.Context, cluster string, node Node)
metadata/db.go:75
↓ 1 callers
Method
Validate
()
metadata/cluster.go:43
↓ 1 callers
Function
Walk
(ctx context.Context, c cid.Cid, ng ipld.NodeGetter)
dag/walker.go:27
↓ 1 callers
Function
WithBenchmarkNoReset
()
benchmark.go:54
↓ 1 callers
Function
WithChunker
WithChunker sets the chunking strategy for the content.
peer.go:80
↓ 1 callers
Function
WithClusterDefinition
(definition string)
cluster.go:66
← previous
next →
201–300 of 716, ranked by callers