Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ElasticSearchApi ¶
type ElasticSearchApi struct {
*elasticsearch.ElasticClt
}
func NewQueryApi ¶
func NewQueryApi(config config.Config) ElasticSearchApi
func (*ElasticSearchApi) GetPodEvt ¶
func (ea *ElasticSearchApi) GetPodEvt(w http.ResponseWriter, r *http.Request)
GetPodEvt 类似kubectl get event
type EventApi ¶
type EventApi struct {
// contains filtered or unexported fields
}
func NewEventApi ¶
func (*EventApi) GetAllEvent ¶
func (ea *EventApi) GetAllEvent(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.