MCPcopy
hub / github.com/nats-io/nats.go / GetInfo

Method GetInfo

jetstream/object.go:179–179  ·  view source on GitHub ↗

GetInfo will retrieve the current information for the object, containing the object's metadata and instance information. If the object does not exist, ErrObjectNotFound will be returned. A GetObjectInfoShowDeleted option can be supplied to return an object even if it was marked as deleted.

(ctx context.Context, name string, opts ...GetObjectInfoOpt)

Source from the content-addressed store, hash-verified

177 // A GetObjectInfoShowDeleted option can be supplied to return an object
178 // even if it was marked as deleted.
179 GetInfo(ctx context.Context, name string, opts ...GetObjectInfoOpt) (*ObjectInfo, error)
180
181 // UpdateMeta will update the metadata for the object.
182 //

Callers 15

TestObjectBasicsFunction · 0.65
TestObjectDeleteMarkersFunction · 0.65
TestObjectMetadataFunction · 0.65
TestObjectWatchFunction · 0.65
TestObjectLinksFunction · 0.65
TestObjectListFunction · 0.65
TestObjectBasicsFunction · 0.65
TestObjectDeleteMarkersFunction · 0.65
TestObjectMetadataFunction · 0.65

Implementers 2

obsobject.go
obsjetstream/object.go

Calls

no outgoing calls

Tested by 15

TestObjectBasicsFunction · 0.52
TestObjectDeleteMarkersFunction · 0.52
TestObjectMetadataFunction · 0.52
TestObjectWatchFunction · 0.52
TestObjectLinksFunction · 0.52
TestObjectListFunction · 0.52
TestObjectBasicsFunction · 0.52
TestObjectDeleteMarkersFunction · 0.52
TestObjectMetadataFunction · 0.52