MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / Roles

Method Roles

pkg/cluster/peer.go:32–32  ·  view source on GitHub ↗

Roles announced by the peer

()

Source from the content-addressed store, hash-verified

30 Conn() (*grpc.ClientConn, error)
31 // Roles announced by the peer
32 Roles() []ttnpb.ClusterRole
33 // HasRole returns true iff the peer has the given role
34 HasRole(ttnpb.ClusterRole) bool
35 // Tags announced by the peer

Callers 9

TestUpdateVersionInfoFunction · 0.65
TestBatchGetStatusFunction · 0.65
FrontendFunction · 0.65
TestApplicationServerFunction · 0.65
TestSkipPayloadCryptoFunction · 0.65
TestLocationFromPayloadFunction · 0.65
TestUplinkNormalizedFunction · 0.65
WithServicesFunction · 0.65
JoinMethod · 0.65

Implementers 2

MockPeerpkg/util/test/cluster.go
peerpkg/cluster/peer.go

Calls

no outgoing calls

Tested by 6

TestUpdateVersionInfoFunction · 0.52
TestBatchGetStatusFunction · 0.52
TestApplicationServerFunction · 0.52
TestSkipPayloadCryptoFunction · 0.52
TestLocationFromPayloadFunction · 0.52
TestUplinkNormalizedFunction · 0.52