Information about a KubeMQ channel returned from list operations.
Fields
name- Channel nametype- Channel type string (e.g., "events", "queues")last_activity- Unix timestamp of last activityis_active- Whether the channel currently has active clientsincoming- Incoming message statisticsoutgoing- Outgoing message statistics
Usage
iex> info = %KubeMQ.ChannelInfo{name: "orders", type: "queues"}
iex> info.name
"orders"
iex> info.is_active
false
Summary
Functions
Parse a list of channel info structs from a JSON-encoded response body.
Types
@type t() :: %KubeMQ.ChannelInfo{ incoming: non_neg_integer(), is_active: boolean(), last_activity: integer(), name: String.t(), outgoing: non_neg_integer(), type: String.t() }