Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ESClientProvider ¶
type ESClientProvider interface { CreateDocument(index, documentID string, body []byte) ([]byte, error) Get(index string, query map[string]interface{}, result interface{}) error UpdateDocument(index string, id string, body interface{}) ([]byte, error) }
ESClientProvider used in connecting to ES server
type NestedHits ¶
NestedHits is the actual hit data
type Status ¶
type Status struct { ProjectSlug string `json:"project_slug"` Datasource string `json:"datasource"` Endpoint string `json:"endpoint"` UpdatedAt time.Time `json:"updated_at"` CreatedAt time.Time `json:"created_at"` ErrorMessage string `json:"error_message"` Status int `json:"status"` LastSuccessfulEvent interface{} `json:"last_successful_event"` }
Status ...
type StatusProvider ¶
type StatusProvider struct {
// contains filtered or unexported fields
}
StatusProvider ...
func NewStatusProvider ¶
func NewStatusProvider(esClient ESClientProvider, environment string) (*StatusProvider, error)
NewStatusProvider ...
Click to show internal directories.
Click to hide internal directories.