Documentation
¶
Index ¶
- type AiIssuesResponse
- type EventIngest
- type EventType
- type GraphQlResponse
- type GraphQlResponseAccount
- type GraphQlResponseAccounts
- type GraphQlResponseActor
- type GraphQlResponseAlertsMutingRuleCreate
- type GraphQlResponseData
- type GraphQlResponseEntities
- type GraphQlResponseError
- type GraphQlResponseTags
- type Incident
- type IncidentsResponse
- type Workload
- type WorkloadResponse
- type WorkloadStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AiIssuesResponse ¶
type AiIssuesResponse struct {
Incidents *IncidentsResponse `json:"incidents"`
}
type EventIngest ¶
type EventIngest struct {
EventType EventType `json:"eventType,omitempty"`
ExperimentKey string `json:"experimentKey,omitempty"`
ExperimentName string `json:"experimentName,omitempty"`
ExecutionId string `json:"executionId,omitempty"`
State string `json:"state,omitempty"`
TeamName string `json:"teamName,omitempty"`
TeamKey string `json:"teamKey,omitempty"`
EnvironmentName string `json:"environmentName,omitempty"`
PrincipalType string `json:"principalType,omitempty"`
PrincipalName string `json:"principalName,omitempty"`
PrincipalUsername string `json:"principalUsername,omitempty"`
ActionId string `json:"actionId,omitempty"`
ActionName string `json:"actionName,omitempty"`
ActionCustomLabel string `json:"actionCustomLabel,omitempty"`
Target string `json:"target,omitempty"`
TargetType string `json:"targetType,omitempty"`
TargetState string `json:"targetState,omitempty"`
}
type GraphQlResponse ¶
type GraphQlResponse struct {
Data *GraphQlResponseData `json:"data"`
Errors *[]GraphQlResponseError `json:"errors"`
}
type GraphQlResponseAccount ¶
type GraphQlResponseAccount struct {
Workload *WorkloadResponse `json:"workload"`
AiIssues *AiIssuesResponse `json:"aiIssues"`
}
type GraphQlResponseAccounts ¶
type GraphQlResponseAccounts struct {
Id int64 `json:"id"`
}
type GraphQlResponseActor ¶
type GraphQlResponseActor struct {
Account *GraphQlResponseAccount `json:"account"`
Accounts []GraphQlResponseAccounts `json:"accounts"`
Entities []GraphQlResponseEntities `json:"entities"`
}
type GraphQlResponseAlertsMutingRuleCreate ¶
type GraphQlResponseAlertsMutingRuleCreate struct {
Id string `json:"id"`
}
type GraphQlResponseData ¶
type GraphQlResponseData struct {
Actor *GraphQlResponseActor `json:"actor"`
AlertsMutingRuleCreate *GraphQlResponseAlertsMutingRuleCreate `json:"alertsMutingRuleCreate"`
}
type GraphQlResponseEntities ¶
type GraphQlResponseEntities struct {
Tags []GraphQlResponseTags `json:"tags"`
}
type GraphQlResponseError ¶
type GraphQlResponseError struct {
Message string `json:"message"`
}
func (*GraphQlResponseError) Error ¶ added in v1.0.11
func (e *GraphQlResponseError) Error() string
type GraphQlResponseTags ¶
type IncidentsResponse ¶
type IncidentsResponse struct {
Incidents []Incident `json:"incidents"`
}
type Workload ¶
type Workload struct {
Guid string `json:"guid"`
Name string `json:"name"`
Permalink string `json:"permalink"`
Status *WorkloadStatus `json:"status"`
}
type WorkloadResponse ¶
type WorkloadStatus ¶
type WorkloadStatus struct {
Value string `json:"value"`
}
Click to show internal directories.
Click to hide internal directories.