Documentation ¶
Index ¶
- func ConnectorConfigWithDefaults(connectorTypeID, plan, backend, state string) (string, error)
- func CreateAlertingRule(ctx context.Context, apiClient *clients.ApiClient, rule models.AlertingRule) (*models.AlertingRule, diag.Diagnostics)
- func CreateConnector(ctx context.Context, apiClient *clients.ApiClient, ...) (string, diag.Diagnostics)
- func CreateSlo(ctx context.Context, apiClient *clients.ApiClient, s models.Slo) (*models.Slo, diag.Diagnostics)
- func DeleteAlertingRule(ctx context.Context, apiClient *clients.ApiClient, ruleId string, ...) diag.Diagnostics
- func DeleteConnector(ctx context.Context, apiClient *clients.ApiClient, connectorID string, ...) diag.Diagnostics
- func DeleteSlo(ctx context.Context, apiClient *clients.ApiClient, sloId string, ...) diag.Diagnostics
- func GetAlertingRule(ctx context.Context, apiClient *clients.ApiClient, id, spaceID string) (*models.AlertingRule, diag.Diagnostics)
- func GetConnector(ctx context.Context, apiClient *clients.ApiClient, connectorID, spaceID string) (*models.KibanaActionConnector, diag.Diagnostics)
- func GetSlo(ctx context.Context, apiClient *clients.ApiClient, id, spaceID string) (*models.Slo, diag.Diagnostics)
- func UpdateAlertingRule(ctx context.Context, apiClient *clients.ApiClient, rule models.AlertingRule) (*models.AlertingRule, diag.Diagnostics)
- func UpdateConnector(ctx context.Context, apiClient *clients.ApiClient, ...) (string, diag.Diagnostics)
- func UpdateSlo(ctx context.Context, apiClient *clients.ApiClient, s models.Slo) (*models.Slo, diag.Diagnostics)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAlertingRule ¶
func CreateAlertingRule(ctx context.Context, apiClient *clients.ApiClient, rule models.AlertingRule) (*models.AlertingRule, diag.Diagnostics)
func CreateConnector ¶
func CreateConnector(ctx context.Context, apiClient *clients.ApiClient, connectorOld models.KibanaActionConnector) (string, diag.Diagnostics)
func DeleteAlertingRule ¶
func DeleteConnector ¶
func GetAlertingRule ¶
func GetAlertingRule(ctx context.Context, apiClient *clients.ApiClient, id, spaceID string) (*models.AlertingRule, diag.Diagnostics)
func GetConnector ¶
func GetConnector(ctx context.Context, apiClient *clients.ApiClient, connectorID, spaceID string) (*models.KibanaActionConnector, diag.Diagnostics)
func UpdateAlertingRule ¶
func UpdateAlertingRule(ctx context.Context, apiClient *clients.ApiClient, rule models.AlertingRule) (*models.AlertingRule, diag.Diagnostics)
func UpdateConnector ¶
func UpdateConnector(ctx context.Context, apiClient *clients.ApiClient, connectorOld models.KibanaActionConnector) (string, diag.Diagnostics)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.