Documentation ¶
Index ¶
Constants ¶
View Source
const (
EventAction = "DescribeServiceEvent"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventResult ¶
type SEvent ¶
type SEvent struct { FirstSeen string `json:"firstseen"` LastSeen string `json:"lastseen"` Count int `json:"count"` Level string `json:"level"` ObjType string `json:"objtype"` ObjName string `json:"objname"` Reason string `json:"reason"` Message string `json:"message"` }
Write by zhangtao<ztao8607@gmail.com> . In 2018/4/24. 获取服务事件数据
type ServiceEventRequest ¶
type ServiceEventRequest struct { Svcname string `json:"svcname"` Namespace string `json:"namespace"` ClusterId string `json:"cluster_id"` Pub public.Public `json:"pub"` SecretKey string `json:"secret_key"` Debug bool // contains filtered or unexported fields }
func (*ServiceEventRequest) GetServiceEvent ¶
func (this *ServiceEventRequest) GetServiceEvent() (events []SEvent, err error)
Click to show internal directories.
Click to hide internal directories.