Documentation
¶
Index ¶
- type BadReply
- type ClusterListGoodReply
- type GoodReply
- type Message
- func (m *Message) FindLeftovers() (matches []string, found bool)
- func (m *Message) GetClusterUUID() string
- func (m *Message) GetDescription() string
- func (m *Message) GetInternalOnly() bool
- func (m *Message) GetServiceName() string
- func (m *Message) GetSeverity() string
- func (m *Message) GetSummary() string
- func (m *Message) ReplaceWithFlag(variable, value string)
- func (m *Message) SearchFlag(placeholder string) (found bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterListGoodReply ¶ added in v0.4.2
type GoodReply ¶
type GoodReply struct {
ID string `json:"id"`
Kind string `json:"kind"`
Href string `json:"href"`
Timestamp time.Time `json:"timestamp"`
Severity string `json:"severity"`
ServiceName string `json:"service_name"`
ClusterUUID string `json:"cluster_uuid"`
Summary string `json:"summary"`
Description string `json:"description"`
EventStreamID string `json:"event_stream_id"`
CreatedAt time.Time `json:"created_at"`
}
type Message ¶
type Message struct {
Severity string `json:"severity"`
ServiceName string `json:"service_name"`
ClusterUUID string `json:"cluster_uuid"`
Summary string `json:"summary"`
Description string `json:"description"`
InternalOnly bool `json:"internal_only"`
}
Message is the base template structure
func (*Message) FindLeftovers ¶
func (*Message) GetClusterUUID ¶
func (*Message) GetDescription ¶
func (*Message) GetInternalOnly ¶
func (*Message) GetServiceName ¶
func (*Message) GetSeverity ¶
func (*Message) GetSummary ¶
func (*Message) ReplaceWithFlag ¶
func (*Message) SearchFlag ¶
Click to show internal directories.
Click to hide internal directories.