Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SphereSoftware/objstore
/ functions
Functions
228 in github.com/SphereSoftware/objstore
⨍
Functions
228
◇
Types & classes
44
↓ 42 callers
Method
String
()
journal/meta.go:69
↓ 21 callers
Method
Bucket
()
storage/remote.go:26
↓ 20 callers
Method
Get
(id ID)
journal/mapping.go:6
↓ 17 callers
Method
Close
()
objstore.go:29
↓ 15 callers
Method
UnmarshalMsg
UnmarshalMsg implements msgp.Unmarshaler
journal/meta_gen.go:548
↓ 10 callers
Method
GET
(ctx context.Context, nodeID, path string, body io.Reader)
cluster/client.go:91
↓ 10 callers
Method
ID
()
journal/journal.go:20
↓ 10 callers
Method
Join
(target Journal, mapping Mapping)
journal/journal.go:27
↓ 9 callers
Method
POST
(ctx context.Context, nodeID, path string, body io.Reader)
cluster/client.go:100
↓ 8 callers
Method
Delete
(k string)
journal/journal.go:24
↓ 8 callers
Function
NewJournal
NewJournal creates a new journal backed by a BoltDB bucket, in the context of a transaction.
journal/journal.go:663
↓ 8 callers
Method
Set
(id ID, meta *JournalMeta)
journal/mapping.go:7
↓ 7 callers
Method
Close
()
journal/journal.go:29
↓ 6 callers
Method
EmitEventAnnounce
EmitEventAnnounce never blocks. Internal workers will eventually handle the events to emit.
objstore.go:422
↓ 5 callers
Method
ForEachUpdate
(fn JournalIter)
journal/manager.go:18
↓ 5 callers
Method
Get
(k string)
journal/journal.go:21
↓ 5 callers
Method
List
()
journal/journal.go:28
↓ 5 callers
Method
Update
(id ID, fn JournalIter)
journal/manager.go:15
↓ 4 callers
Method
MarshalMsg
MarshalMsg implements msgp.Marshaler
journal/meta_gen.go:541
↓ 4 callers
Method
Set
(k string, m *FileMeta)
journal/journal.go:23
↓ 4 callers
Method
UnmarshalMsg
UnmarshalMsg implements msgp.Unmarshaler
journal/meta_gen.go:713
↓ 4 callers
Method
View
(id ID, fn JournalIter)
journal/manager.go:14
↓ 4 callers
Function
fullPath
(bucket, key string)
storage/remote.go:176
↓ 4 callers
Function
serveMeta
(c *gin.Context, meta *objstore.FileMeta)
api/private.go:242
↓ 4 callers
Method
storeLocal
(r io.Reader, meta *FileMeta)
objstore.go:741
↓ 3 callers
Method
GetObject
GetObject gets an object from the local storage of the node. Used for private API, when other nodes ask for an object.
objstore.go:35
↓ 3 callers
Method
IsReady
()
objstore.go:372
↓ 3 callers
Method
ListNodes
()
cluster/manager.go:15
↓ 3 callers
Method
Meta
()
journal/journal.go:30
↓ 3 callers
Method
Read
(key string)
storage/local.go:15
↓ 3 callers
Function
awsStringMaybe
(v []string)
storage/remote.go:180
↓ 2 callers
Method
Check
()
objstore.go:62
↓ 2 callers
Method
CheckAccess
(prefix string)
storage/local.go:20
↓ 2 callers
Function
CheckID
(str string)
objstore.go:437
↓ 2 callers
Method
Close
()
journal/manager.go:24
↓ 2 callers
Method
Diff
Diff finds the difference between serialized exernal journal represented as list, and journals currently available on this local node.
objstore.go:51
↓ 2 callers
Method
Diff
(j Journal)
journal/journal.go:25
↓ 2 callers
Method
DiskStats
()
objstore.go:28
↓ 2 callers
Method
ExportAll
()
journal/manager.go:22
↓ 2 callers
Method
FetchObject
(ctx context.Context, id string)
objstore.go:721
↓ 2 callers
Method
ForEach
(fn JournalIter)
journal/manager.go:17
↓ 2 callers
Method
List
()
journal/journal.go:180
↓ 2 callers
Method
List
()
journal/journal.go:628
↓ 2 callers
Method
ListenAndServe
ListenAndServe initializes a HTTP listener for private services, starts listening on a TCP address for virtual network transport.
api/private.go:59
↓ 2 callers
Function
MakeJournal
MakeJournal allows to represent a serialized list of events as an in-memory journal compatible with journals backed by a real KV store.
journal/journal.go:673
↓ 2 callers
Method
MarshalMsg
MarshalMsg implements msgp.Marshaler
journal/meta_gen.go:688
↓ 2 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
journal/meta_gen.go:562
↓ 2 callers
Method
PutObject
PutObject writes object to the local storage, emits cluster announcements, optionally writes object to remote storage, e.g. Amazon S3. Returns amount
objstore.go:45
↓ 2 callers
Method
PutObject
(key string, r io.ReadSeeker, meta map[string]string)
storage/remote.go:21
↓ 2 callers
Method
Router
()
api/private.go:53
↓ 2 callers
Method
Seek
(off int64, whence int)
storage/helpers.go:22
↓ 2 callers
Function
deleteObject
(c *gin.Context, store objstore.Store)
api/private.go:355
↓ 2 callers
Method
findOnCluster
(ctx context.Context, id string)
objstore.go:476
↓ 2 callers
Function
nodeURI
(id string)
cluster/client.go:45
↓ 2 callers
Function
pumpEventAnnounces
PUMP CODE — a circular buffer Copyright 2014 The Go Authors pumpEventAnnounces returns a channel src such that sending on src will eventually send on
helpers.go:19
↓ 2 callers
Function
putObject
(c *gin.Context, store objstore.Store)
api/private.go:287
↓ 2 callers
Function
serveObject
(c *gin.Context, r io.ReadCloser, meta *objstore.FileMeta)
api/private.go:263
↓ 2 callers
Function
waitWG
(wg *sync.WaitGroup, timeout time.Duration)
objstore.go:397
↓ 1 callers
Method
Announce
(ctx context.Context, nodeID string, event *EventAnnounce)
cluster/manager.go:16
↓ 1 callers
Method
AnnounceHandler
(store objstore.Store)
api/private.go:204
↓ 1 callers
Method
Create
(id ID)
journal/manager.go:13
↓ 1 callers
Method
Create
(id ID)
journal/manager.go:39
↓ 1 callers
Method
DecodeMsg
DecodeMsg implements msgp.Decodable
journal/meta_gen.go:519
↓ 1 callers
Method
DeleteHandler
(store objstore.Store)
api/public.go:152
↓ 1 callers
Method
DeleteHandler
(store objstore.Store)
api/private.go:370
↓ 1 callers
Method
DeleteObject
DeleteObject marks object as deleted in journals and deletes it from the local storage. This operation does not delete object from remote storage.
objstore.go:48
↓ 1 callers
Method
EmitEventAnnounce
(event *EventAnnounce)
objstore.go:27
↓ 1 callers
Method
EncodeMsg
EncodeMsg implements msgp.Encodable
journal/meta_gen.go:532
↓ 1 callers
Method
Exists
(k string)
journal/journal.go:22
↓ 1 callers
Method
ExposeAPI
ExposeAPI initiates HTTP routing to the private API via loopback.
api/private.go:111
↓ 1 callers
Method
FindObject
FindObject gets and object from any node, if not found then tries to acquire from the remote storage, e.g. Amazon S3.
objstore.go:38
↓ 1 callers
Method
ForEachNode
(iterFunc NodeIter)
cluster/client.go:51
↓ 1 callers
Function
GenerateID
()
objstore.go:433
↓ 1 callers
Method
GetHandler
(store objstore.Store)
api/public.go:107
↓ 1 callers
Method
GetHandler
(store objstore.Store)
api/private.go:228
↓ 1 callers
Method
GetObject
(id string)
objstore.go:624
↓ 1 callers
Method
GetObject
(key string, version ...string)
storage/remote.go:22
↓ 1 callers
Method
HeadObject
HeadObject gets object's meta data from the local journal.
objstore.go:32
↓ 1 callers
Method
HeadObject
(key string, version ...string)
storage/remote.go:23
↓ 1 callers
Method
IDHandler
()
api/public.go:46
↓ 1 callers
Method
JoinAll
(target ID)
journal/manager.go:20
↓ 1 callers
Method
JoinCluster
JoinCluster connects to another machines via TCP to join the virtual network.
api/private.go:80
↓ 1 callers
Method
ListAll
()
journal/manager.go:21
↓ 1 callers
Method
ListNodesHandler
()
api/private.go:186
↓ 1 callers
Method
ListenAndServe
(addr string)
api/public.go:23
↓ 1 callers
Method
Map
()
journal/meta.go:22
↓ 1 callers
Method
MessageHandler
(store objstore.Store)
api/private.go:215
↓ 1 callers
Method
Meta
()
journal/journal.go:647
↓ 1 callers
Method
MetaHandler
(store objstore.Store)
api/public.go:129
↓ 1 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
journal/meta_gen.go:53
↓ 1 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
journal/meta_gen.go:389
↓ 1 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
journal/meta_gen.go:506
↓ 1 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
journal/meta_gen.go:774
↓ 1 callers
Method
PingHandler
()
api/public.go:40
↓ 1 callers
Method
PingHandler
()
api/private.go:180
↓ 1 callers
Method
PutHandler
(store objstore.Store)
api/public.go:146
↓ 1 callers
Method
PutHandler
(store objstore.Store)
api/private.go:281
↓ 1 callers
Method
Range
(start string, limit int, fn func(k string, v *FileMeta) error)
journal/journal.go:26
↓ 1 callers
Method
ReceiveEventAnnounce
(event *EventAnnounce)
objstore.go:26
↓ 1 callers
Method
ReceiveEventAnnounce
ReceiveEventAnnounce never blocks. Internal workers will eventually handle the received events.
objstore.go:414
next →
1–100 of 228, ranked by callers