MCPcopy
hub / github.com/grafana/dskit / BeaconDesc

Struct BeaconDesc

kv/memberlist/propagation_tracker.pb.go:77–84  ·  view source on GitHub ↗

Beacon represents a single propagation beacon published to the cluster.

Source from the content-addressed store, hash-verified

75
76// Beacon represents a single propagation beacon published to the cluster.
77type BeaconDesc struct {
78 // Name of the node that published this beacon.
79 PublishedBy string `protobuf:"bytes,3,opt,name=published_by,json=publishedBy,proto3" json:"published_by,omitempty"`
80 // Wall-clock timestamp when this beacon was published (milliseconds since epoch).
81 PublishedAt int64 `protobuf:"varint,1,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty"`
82 // Deletion timestamp (milliseconds since epoch). 0 = active, non-zero = beacon deleted at that time (tombstone).
83 DeletedAt int64 `protobuf:"varint,2,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
84}
85
86func (m *BeaconDesc) Reset() { *m = BeaconDesc{} }
87func (*BeaconDesc) ProtoMessage() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected