Documentation
¶
Index ¶
- Constants
- func NewAlertCheckAction(client FiredAlertsClient) action_kit_sdk.Action[AlertCheckState]
- func NewAlertDiscovery(client AlertClient) discovery_kit_sdk.TargetDiscovery
- type AlertCheckAction
- func (a *AlertCheckAction) Describe() action_kit_api.ActionDescription
- func (a *AlertCheckAction) NewEmptyState() AlertCheckState
- func (a *AlertCheckAction) Prepare(_ context.Context, state *AlertCheckState, ...) (*action_kit_api.PrepareResult, error)
- func (a *AlertCheckAction) Start(_ context.Context, _ *AlertCheckState) (*action_kit_api.StartResult, error)
- func (a *AlertCheckAction) Status(ctx context.Context, state *AlertCheckState) (*action_kit_api.StatusResult, error)
- type AlertCheckState
- type AlertClient
- type Content
- type Entry
- type FiredAlertsClient
- type Links
- type Paging
- type Response
- type Severity
- type SplunkClient
Constants ¶
View Source
const (
TargetType = "com.steadybit.extension_splunk_platform.alert"
)
Variables ¶
This section is empty.
Functions ¶
func NewAlertCheckAction ¶
func NewAlertCheckAction(client FiredAlertsClient) action_kit_sdk.Action[AlertCheckState]
func NewAlertDiscovery ¶
func NewAlertDiscovery(client AlertClient) discovery_kit_sdk.TargetDiscovery
Types ¶
type AlertCheckAction ¶
type AlertCheckAction struct {
Client FiredAlertsClient
}
func (*AlertCheckAction) Describe ¶
func (a *AlertCheckAction) Describe() action_kit_api.ActionDescription
func (*AlertCheckAction) NewEmptyState ¶
func (a *AlertCheckAction) NewEmptyState() AlertCheckState
func (*AlertCheckAction) Prepare ¶
func (a *AlertCheckAction) Prepare(_ context.Context, state *AlertCheckState, request action_kit_api.PrepareActionRequestBody) (*action_kit_api.PrepareResult, error)
func (*AlertCheckAction) Start ¶
func (a *AlertCheckAction) Start(_ context.Context, _ *AlertCheckState) (*action_kit_api.StartResult, error)
func (*AlertCheckAction) Status ¶
func (a *AlertCheckAction) Status(ctx context.Context, state *AlertCheckState) (*action_kit_api.StatusResult, error)
type AlertCheckState ¶
type FiredAlertsClient ¶
type SplunkClient ¶
type SplunkClient struct {
// contains filtered or unexported fields
}
func NewSplunkClient ¶
func NewSplunkClient() *SplunkClient
func (*SplunkClient) FiredAlerts ¶
Click to show internal directories.
Click to hide internal directories.