Documentation ¶
Index ¶
- func WriteDevAddrBlocks(w io.Writer, blocks []*packetbroker.DevAddrBlock) error
- func WriteJoinEUIPrefixes(w io.Writer, prefixes []*packetbroker.JoinEUIPrefix) error
- func WriteJoinServer(w io.Writer, js *packetbroker.JoinServer, verbose bool) error
- func WriteKV(w io.Writer, kv ...string) error
- func WriteNetwork(w io.Writer, network *packetbroker.Network, verbose bool) error
- func WritePolicies(w io.Writer, defaults bool, policies ...*packetbroker.RoutingPolicy) error
- func WriteTenant(w io.Writer, tenant *packetbroker.Tenant, verbose bool) error
- func WriteVisibilities(w io.Writer, defaults bool, visibilities ...*packetbroker.GatewayVisibility) error
- type DevAddrBlocks
- type JoinEUIPrefixes
- type JoinServerFixedEndpoint
- type Rights
- type Target
- type TimeSince
- type YesNo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteDevAddrBlocks ¶
func WriteDevAddrBlocks(w io.Writer, blocks []*packetbroker.DevAddrBlock) error
WriteDevAddrBlocks writes the DevAddr blocks as a table.
func WriteJoinEUIPrefixes ¶
func WriteJoinEUIPrefixes(w io.Writer, prefixes []*packetbroker.JoinEUIPrefix) error
WriteJoinEUIPrefixes writes the JoinEUI prefixes as a table.
func WriteJoinServer ¶
func WriteJoinServer(w io.Writer, js *packetbroker.JoinServer, verbose bool) error
WriteJoinServer writes the Join Server.
func WriteNetwork ¶
WriteNetwork writes the Network.
func WritePolicies ¶
func WritePolicies(w io.Writer, defaults bool, policies ...*packetbroker.RoutingPolicy) error
WritePolicies writes the policies as a table.
func WriteTenant ¶
WriteTenant writes the Tenant.
func WriteVisibilities ¶
func WriteVisibilities(w io.Writer, defaults bool, visibilities ...*packetbroker.GatewayVisibility) error
WriteVisibilities writes the gateway visibilities as a table.
Types ¶
type DevAddrBlocks ¶
type DevAddrBlocks []*packetbroker.DevAddrBlock
DevAddrBlocks prints DevAddr blocks as column field.
func (DevAddrBlocks) String ¶
func (bs DevAddrBlocks) String() string
type JoinEUIPrefixes ¶
type JoinEUIPrefixes []*packetbroker.JoinEUIPrefix
JoinEUIPrefixes prints JoinEUI prefixes as column field.
func (JoinEUIPrefixes) String ¶
func (bs JoinEUIPrefixes) String() string
type JoinServerFixedEndpoint ¶
type JoinServerFixedEndpoint packetbroker.JoinServerFixedEndpoint
JoinServerFixedEndpoint prints the target as column field.
func (*JoinServerFixedEndpoint) String ¶
func (t *JoinServerFixedEndpoint) String() string
type TimeSince ¶
type TimeSince timestamppb.Timestamp
TimeSince formats the timestamp as duration since then, in seconds.
Click to show internal directories.
Click to hide internal directories.