MCPcopy Create free account

hub / github.com/Azure/peerd / types & classes

Types & classes50 in github.com/Azure/peerd

↓ 5 callersTypeAliasReverseFloat64Slice
ReverseFloat64Slice is a type that implements the sort.Interface interface so that we can sort a slice of float64 in reverse order
tests/random/math/reverse.go:9
↓ 1 callersTypeAliasoperation
pkg/discovery/content/reader/reader.go:21
StructArguments
cmd/proxy/cmd.go:19
StructArguments
tests/cmd/cmd.go:13
InterfaceCache
Cache describes a cache of files.
pkg/cache/interface.go:6
StructClientSet
ClientSet is an interface for k8s API server.
pkg/k8s/k8s.go:18
StructContentNotFoundError
ContentNotFoundError indicates that the content for the given key was not found in the network.
pkg/discovery/routing/router.go:63
StructContext
Context is the request context that can be passed around to various components to provide request specific information.
pkg/context/context.go:57
StructError
Error describes an error that occurred during a remote operation.
pkg/discovery/content/reader/interface.go:24
InterfaceEventRecorder
EventRecorder can be used to record various event.
pkg/k8s/events/interface.go:6
InterfaceFile
File is an abstraction for a file that can be read from this store. It is similar to os.File.
pkg/files/store/interface.go:26
StructFilesHandler
FilesHandler describes a handler for files.
pkg/handlers/files/handler.go:17
InterfaceFilesStore
FilesStore describes a store for files.
pkg/files/store/interface.go:13
InterfaceLeaderElection
LeaderElection provides an interface to elect a leader in a kubernetes cluster.
pkg/k8s/election/election.go:18
InterfaceMetrics
Metrics defines an interface to collect p2p metrics.
pkg/metrics/interface.go:15
StructMockHost
MockHost provides a mock implementation of host.Host for unit testing.
pkg/peernet/mocks/host.go:19
StructMockPeerstore
MockPeerstore provides a mock implementation of peerstore.Peerstore for unit testing.
pkg/peernet/mocks/peerstore.go:17
StructMockRouter
pkg/discovery/routing/mocks/router.go:15
StructMockStore
pkg/files/store/mockstore.go:12
InterfaceNetwork
Network provides the transport and HTTP clients for communicating with peers.
pkg/peernet/network.go:28
InterfaceParser
Parser describes an interface for parsing information from a URL.
pkg/urlparser/parser.go:11
StructPeerInfo
PeerInfo describes a peer.
pkg/discovery/routing/interface.go:32
StructRandomCmd
tests/cmd/cmd.go:5
InterfaceReader
Reader provides a read-only interface to a remote file.
pkg/discovery/content/reader/interface.go:12
InterfaceRouter
Router provides a content routing interface to the network.
pkg/discovery/routing/interface.go:13
StructScannerCmd
tests/cmd/cmd.go:11
StructSegment
Segment represents a single segment.
pkg/math/segments.go:15
StructSegments
Segments represents a range of segments.
pkg/math/segments.go:8
StructServerCmd
cmd/proxy/cmd.go:5
StructSyncMap
The default eviction percentage. Used when the map reaches its capacity at insertion. SyncMap is a map that can be safely accessed concurrently.
pkg/cache/syncmap.go:12
StructctxKey
pkg/metrics/interface.go:12
StructeventRecorder
pkg/k8s/events/events.go:81
StructeventsRecorderCtxKeyType
pkg/k8s/events/events.go:16
Structfile
file describes a file that can be read from this content store. It implements the File interface. It is similar to os.File.
pkg/files/store/file.go:20
StructfileCache
fileCache implements FileCache.
pkg/cache/filecache.go:21
Structitem
item is a cached item.
pkg/cache/item.go:19
StructleaderElection
leaderElection provides an implementation of LeaderElection.
pkg/k8s/election/election.go:27
StructmockReader
pkg/files/files_test.go:62
StructmockReader
pkg/discovery/content/reader/mocks/reader.go:12
Structnetwork
pkg/peernet/network.go:42
Structparser
pkg/urlparser/parser.go:17
StructprefetchableSegment
prefetchableSegment describes a part of a file to prefetch.
pkg/files/store/store.go:57
StructpromMetrics
promMetrics is a metrics collector that stores metrics in Prometheus.
pkg/metrics/prometheus.go:11
Structreader
reader is a Reader implementation.
pkg/discovery/content/reader/reader.go:31
Structrouter
pkg/discovery/routing/router.go:37
Structstore
store describes a content store whose contents can come from disk or a remote source.
pkg/files/store/store.go:66
Structtc
pkg/cache/filecache_test.go:70
StructtestCr
pkg/discovery/routing/router_test.go:213
StructtestHost
pkg/discovery/routing/router_test.go:240
StructtestRecorder
pkg/k8s/events/events_test.go:162