Documentation
¶
Overview ¶
Package wtapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.
Package wtapi is the Go client for the Watchtower API, generated from apps/web/openapi.json. Never edit *.gen.go; run `go generate ./wtapi` after the snapshot changes.
Index ¶
- Constants
- func NewDeleteV1ProjectsPrjAgentConfigsCRequest(server string, prj string, cfg string) (*http.Request, error)
- func NewDeleteV1ProjectsPrjAlertRulesRuleRequest(server string, prj string, rule string, ...) (*http.Request, error)
- func NewDeleteV1ProjectsPrjCatalogServicesSRequest(server string, prj string, s string) (*http.Request, error)
- func NewDeleteV1ProjectsPrjCheckSecretsNameRequest(server string, prj string, name string) (*http.Request, error)
- func NewDeleteV1ProjectsPrjDashboardsDashRequest(server string, prj string, dash string) (*http.Request, error)
- func NewDeleteV1ProjectsPrjEscalationPoliciesPolRequest(server string, prj string, pol string) (*http.Request, error)
- func NewDeleteV1ProjectsPrjHealthTokensTokenRequest(server string, prj string, token string) (*http.Request, error)
- func NewDeleteV1ProjectsPrjIncidentTypesItyRequest(server string, prj string, ity string) (*http.Request, error)
- func NewDeleteV1ProjectsPrjMaintenanceWindowsWindowRequest(server string, prj string, window string) (*http.Request, error)
- func NewDeleteV1ProjectsPrjMonitorsMonitorRequest(server string, prj string, monitor string) (*http.Request, error)
- func NewDeleteV1ProjectsPrjOncallSchedulesSchRequest(server string, prj string, sch string) (*http.Request, error)
- func NewDeleteV1ProjectsPrjReceiversReceiverRequest(server string, prj string, receiver string) (*http.Request, error)
- func NewDeleteV1ProjectsPrjRequest(server string, prj string, params *DeleteV1ProjectsPrjParams) (*http.Request, error)
- func NewDeleteV1ProjectsPrjRuleGroupsNameRequest(server string, prj string, name string) (*http.Request, error)
- func NewDeleteV1ProjectsPrjSilencesSilenceRequest(server string, prj string, silence string) (*http.Request, error)
- func NewDeleteV1ProjectsPrjSlosSloRequest(server string, prj string, slo string) (*http.Request, error)
- func NewDeleteV1ProjectsPrjTemplatesIdRequest(server string, prj string, id string) (*http.Request, error)
- func NewDeleteV1ProjectsPrjWorkflowsWRequest(server string, prj string, w string) (*http.Request, error)
- func NewGetV1OrgsOrgProjectsRequest(server string, org string, params *GetV1OrgsOrgProjectsParams) (*http.Request, error)
- func NewGetV1ProjectsPrjAgentConfigsCRequest(server string, prj string, cfg string) (*http.Request, error)
- func NewGetV1ProjectsPrjAgentConfigsRequest(server string, prj string, params *GetV1ProjectsPrjAgentConfigsParams) (*http.Request, error)
- func NewGetV1ProjectsPrjAlertRulesRequest(server string, prj string, params *GetV1ProjectsPrjAlertRulesParams) (*http.Request, error)
- func NewGetV1ProjectsPrjAlertRulesRuleRequest(server string, prj string, rule string) (*http.Request, error)
- func NewGetV1ProjectsPrjCatalogServicesRequest(server string, prj string, params *GetV1ProjectsPrjCatalogServicesParams) (*http.Request, error)
- func NewGetV1ProjectsPrjCatalogServicesSRequest(server string, prj string, s string) (*http.Request, error)
- func NewGetV1ProjectsPrjCheckSecretsRequest(server string, prj string, params *GetV1ProjectsPrjCheckSecretsParams) (*http.Request, error)
- func NewGetV1ProjectsPrjDashboardsDashRequest(server string, prj string, dash string) (*http.Request, error)
- func NewGetV1ProjectsPrjDashboardsRequest(server string, prj string, params *GetV1ProjectsPrjDashboardsParams) (*http.Request, error)
- func NewGetV1ProjectsPrjEscalationPoliciesPolRequest(server string, prj string, pol string) (*http.Request, error)
- func NewGetV1ProjectsPrjEscalationPoliciesRequest(server string, prj string, params *GetV1ProjectsPrjEscalationPoliciesParams) (*http.Request, error)
- func NewGetV1ProjectsPrjHealthTokensRequest(server string, prj string, params *GetV1ProjectsPrjHealthTokensParams) (*http.Request, error)
- func NewGetV1ProjectsPrjIncidentTypesItyRequest(server string, prj string, ity string) (*http.Request, error)
- func NewGetV1ProjectsPrjIncidentTypesRequest(server string, prj string, params *GetV1ProjectsPrjIncidentTypesParams) (*http.Request, error)
- func NewGetV1ProjectsPrjMaintenanceWindowsRequest(server string, prj string, params *GetV1ProjectsPrjMaintenanceWindowsParams) (*http.Request, error)
- func NewGetV1ProjectsPrjMaintenanceWindowsWindowRequest(server string, prj string, window string) (*http.Request, error)
- func NewGetV1ProjectsPrjMonitorsMonitorRequest(server string, prj string, monitor string) (*http.Request, error)
- func NewGetV1ProjectsPrjMonitorsRequest(server string, prj string, params *GetV1ProjectsPrjMonitorsParams) (*http.Request, error)
- func NewGetV1ProjectsPrjOncallSchedulesRequest(server string, prj string, params *GetV1ProjectsPrjOncallSchedulesParams) (*http.Request, error)
- func NewGetV1ProjectsPrjOncallSchedulesSchRequest(server string, prj string, sch string) (*http.Request, error)
- func NewGetV1ProjectsPrjReceiversReceiverRequest(server string, prj string, receiver string) (*http.Request, error)
- func NewGetV1ProjectsPrjReceiversRequest(server string, prj string, params *GetV1ProjectsPrjReceiversParams) (*http.Request, error)
- func NewGetV1ProjectsPrjRequest(server string, prj string) (*http.Request, error)
- func NewGetV1ProjectsPrjRoutingRequest(server string, prj string) (*http.Request, error)
- func NewGetV1ProjectsPrjSilencesRequest(server string, prj string, params *GetV1ProjectsPrjSilencesParams) (*http.Request, error)
- func NewGetV1ProjectsPrjSilencesSilenceRequest(server string, prj string, silence string) (*http.Request, error)
- func NewGetV1ProjectsPrjSlosRequest(server string, prj string, params *GetV1ProjectsPrjSlosParams) (*http.Request, error)
- func NewGetV1ProjectsPrjSlosSloRequest(server string, prj string, slo string) (*http.Request, error)
- func NewGetV1ProjectsPrjTemplatesIdRequest(server string, prj string, id string) (*http.Request, error)
- func NewGetV1ProjectsPrjTemplatesRequest(server string, prj string, params *GetV1ProjectsPrjTemplatesParams) (*http.Request, error)
- func NewGetV1ProjectsPrjWorkflowsRequest(server string, prj string, params *GetV1ProjectsPrjWorkflowsParams) (*http.Request, error)
- func NewGetV1ProjectsPrjWorkflowsWRequest(server string, prj string, w string) (*http.Request, error)
- func NewPatchV1ProjectsPrjMonitorsMonitorRequestWithApplicationMergePatchPlusJSONBody(server string, prj string, monitor string, ...) (*http.Request, error)
- func NewPatchV1ProjectsPrjMonitorsMonitorRequestWithBody(server string, prj string, monitor string, ...) (*http.Request, error)
- func NewPatchV1ProjectsPrjRequest(server string, prj string, body PatchV1ProjectsPrjJSONRequestBody) (*http.Request, error)
- func NewPatchV1ProjectsPrjRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchV1ProjectsPrjTemplatesIdRequest(server string, prj string, id string, ...) (*http.Request, error)
- func NewPatchV1ProjectsPrjTemplatesIdRequestWithBody(server string, prj string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1OrgsOrgProjectsRequest(server string, org string, body PostV1OrgsOrgProjectsJSONRequestBody) (*http.Request, error)
- func NewPostV1OrgsOrgProjectsRequestWithBody(server string, org string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ProjectsPrjAgentConfigsCRequest(server string, prj string, cfg string, ...) (*http.Request, error)
- func NewPostV1ProjectsPrjAgentConfigsRequest(server string, prj string, body PostV1ProjectsPrjAgentConfigsJSONRequestBody) (*http.Request, error)
- func NewPostV1ProjectsPrjAgentConfigsRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ProjectsPrjAlertRulesRequest(server string, prj string, body PostV1ProjectsPrjAlertRulesJSONRequestBody) (*http.Request, error)
- func NewPostV1ProjectsPrjAlertRulesRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ProjectsPrjDashboardsRequest(server string, prj string, body PostV1ProjectsPrjDashboardsJSONRequestBody) (*http.Request, error)
- func NewPostV1ProjectsPrjDashboardsRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ProjectsPrjEscalationPoliciesRequest(server string, prj string, ...) (*http.Request, error)
- func NewPostV1ProjectsPrjEscalationPoliciesRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ProjectsPrjHealthTokensRequest(server string, prj string, body PostV1ProjectsPrjHealthTokensJSONRequestBody) (*http.Request, error)
- func NewPostV1ProjectsPrjHealthTokensRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ProjectsPrjIncidentTypesRequest(server string, prj string, body PostV1ProjectsPrjIncidentTypesJSONRequestBody) (*http.Request, error)
- func NewPostV1ProjectsPrjIncidentTypesRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ProjectsPrjMaintenanceWindowsRequest(server string, prj string, ...) (*http.Request, error)
- func NewPostV1ProjectsPrjMaintenanceWindowsRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ProjectsPrjMonitorsMonitorRequest(server string, prj string, monitor string, ...) (*http.Request, error)
- func NewPostV1ProjectsPrjMonitorsRequest(server string, prj string, params *PostV1ProjectsPrjMonitorsParams, ...) (*http.Request, error)
- func NewPostV1ProjectsPrjMonitorsRequestWithBody(server string, prj string, params *PostV1ProjectsPrjMonitorsParams, ...) (*http.Request, error)
- func NewPostV1ProjectsPrjOncallSchedulesRequest(server string, prj string, ...) (*http.Request, error)
- func NewPostV1ProjectsPrjOncallSchedulesRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ProjectsPrjReceiversReceiverRequest(server string, prj string, receiver string) (*http.Request, error)
- func NewPostV1ProjectsPrjReceiversRequest(server string, prj string, body PostV1ProjectsPrjReceiversJSONRequestBody) (*http.Request, error)
- func NewPostV1ProjectsPrjReceiversRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ProjectsPrjSilencesRequest(server string, prj string, body PostV1ProjectsPrjSilencesJSONRequestBody) (*http.Request, error)
- func NewPostV1ProjectsPrjSilencesRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ProjectsPrjSlosRequest(server string, prj string, body PostV1ProjectsPrjSlosJSONRequestBody) (*http.Request, error)
- func NewPostV1ProjectsPrjSlosRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ProjectsPrjTemplatesRequest(server string, prj string, body PostV1ProjectsPrjTemplatesJSONRequestBody) (*http.Request, error)
- func NewPostV1ProjectsPrjTemplatesRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ProjectsPrjWorkflowsRequest(server string, prj string, body PostV1ProjectsPrjWorkflowsJSONRequestBody) (*http.Request, error)
- func NewPostV1ProjectsPrjWorkflowsRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ProjectsPrjWorkflowsWRequest(server string, prj string, w string, ...) (*http.Request, error)
- func NewPostV1ProjectsPrjWorkflowsWRequestWithBody(server string, prj string, w string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1ProjectsPrjAgentConfigsCRequest(server string, prj string, cfg string, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjAgentConfigsCRequestWithBody(server string, prj string, cfg string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1ProjectsPrjAlertRulesRuleRequest(server string, prj string, rule string, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjAlertRulesRuleRequestWithBody(server string, prj string, rule string, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjCatalogServicesSRequest(server string, prj string, s string, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjCatalogServicesSRequestWithBody(server string, prj string, s string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1ProjectsPrjCheckSecretsNameRequest(server string, prj string, name string, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjCheckSecretsNameRequestWithBody(server string, prj string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1ProjectsPrjDashboardsDashRequest(server string, prj string, dash string, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjDashboardsDashRequestWithBody(server string, prj string, dash string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1ProjectsPrjEscalationPoliciesPolRequest(server string, prj string, pol string, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjEscalationPoliciesPolRequestWithBody(server string, prj string, pol string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1ProjectsPrjIncidentTypesItyRequest(server string, prj string, ity string, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjIncidentTypesItyRequestWithBody(server string, prj string, ity string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1ProjectsPrjMaintenanceWindowsWindowRequest(server string, prj string, window string, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjMaintenanceWindowsWindowRequestWithBody(server string, prj string, window string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1ProjectsPrjMonitorsMonitorRequest(server string, prj string, monitor string, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjMonitorsMonitorRequestWithBody(server string, prj string, monitor string, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjOncallSchedulesSchRequest(server string, prj string, sch string, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjOncallSchedulesSchRequestWithBody(server string, prj string, sch string, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjReceiversReceiverRequest(server string, prj string, receiver string, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjReceiversReceiverRequestWithBody(server string, prj string, receiver string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1ProjectsPrjRoutingRequest(server string, prj string, params *PutV1ProjectsPrjRoutingParams, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjRoutingRequestWithBody(server string, prj string, params *PutV1ProjectsPrjRoutingParams, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjRuleGroupsNameRequestWithBody(server string, prj string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1ProjectsPrjSilencesSilenceRequest(server string, prj string, silence string, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjSilencesSilenceRequestWithBody(server string, prj string, silence string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1ProjectsPrjSlosSloRequest(server string, prj string, slo string, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjSlosSloRequestWithBody(server string, prj string, slo string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1ProjectsPrjWorkflowsWRequest(server string, prj string, w string, ...) (*http.Request, error)
- func NewPutV1ProjectsPrjWorkflowsWRequestWithBody(server string, prj string, w string, contentType string, body io.Reader) (*http.Request, error)
- type AgentConfigDto
- type AgentConfigPage
- type AgentConfigPatch
- type AlertKind
- type AlertingReadiness
- type Annotations
- type AnomalyCfg
- type AnomalyMlSeasonality
- type AnomalySeasonality
- type AssertionResultDto
- type AttrFilter
- type AttrOp
- type AuditQuery
- type BaselineMode
- type CatalogDto
- type CatalogPage
- type CatalogRequest
- type ChangeMode
- type CheckResultDto
- type CheckSecretDto
- type CheckSecretPage
- type Child
- type CiRuleMeasure
- type Client
- func (c *Client) DeleteV1ProjectsPrj(ctx context.Context, prj string, params *DeleteV1ProjectsPrjParams, ...) (*http.Response, error)
- func (c *Client) DeleteV1ProjectsPrjAgentConfigsC(ctx context.Context, prj string, cfg string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1ProjectsPrjAlertRulesRule(ctx context.Context, prj string, rule string, ...) (*http.Response, error)
- func (c *Client) DeleteV1ProjectsPrjCatalogServicesS(ctx context.Context, prj string, s string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1ProjectsPrjCheckSecretsName(ctx context.Context, prj string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1ProjectsPrjDashboardsDash(ctx context.Context, prj string, dash string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1ProjectsPrjEscalationPoliciesPol(ctx context.Context, prj string, pol string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1ProjectsPrjHealthTokensToken(ctx context.Context, prj string, token string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1ProjectsPrjIncidentTypesIty(ctx context.Context, prj string, ity string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1ProjectsPrjMaintenanceWindowsWindow(ctx context.Context, prj string, window string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1ProjectsPrjMonitorsMonitor(ctx context.Context, prj string, monitor string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1ProjectsPrjOncallSchedulesSch(ctx context.Context, prj string, sch string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1ProjectsPrjReceiversReceiver(ctx context.Context, prj string, receiver string, ...) (*http.Response, error)
- func (c *Client) DeleteV1ProjectsPrjRuleGroupsName(ctx context.Context, prj string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1ProjectsPrjSilencesSilence(ctx context.Context, prj string, silence string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1ProjectsPrjSlosSlo(ctx context.Context, prj string, slo string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1ProjectsPrjTemplatesId(ctx context.Context, prj string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1ProjectsPrjWorkflowsW(ctx context.Context, prj string, w string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1OrgsOrgProjects(ctx context.Context, org string, params *GetV1OrgsOrgProjectsParams, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrj(ctx context.Context, prj string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjAgentConfigs(ctx context.Context, prj string, params *GetV1ProjectsPrjAgentConfigsParams, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjAgentConfigsC(ctx context.Context, prj string, cfg string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjAlertRules(ctx context.Context, prj string, params *GetV1ProjectsPrjAlertRulesParams, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjAlertRulesRule(ctx context.Context, prj string, rule string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjCatalogServices(ctx context.Context, prj string, params *GetV1ProjectsPrjCatalogServicesParams, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjCatalogServicesS(ctx context.Context, prj string, s string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjCheckSecrets(ctx context.Context, prj string, params *GetV1ProjectsPrjCheckSecretsParams, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjDashboards(ctx context.Context, prj string, params *GetV1ProjectsPrjDashboardsParams, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjDashboardsDash(ctx context.Context, prj string, dash string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjEscalationPolicies(ctx context.Context, prj string, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjEscalationPoliciesPol(ctx context.Context, prj string, pol string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjHealthTokens(ctx context.Context, prj string, params *GetV1ProjectsPrjHealthTokensParams, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjIncidentTypes(ctx context.Context, prj string, params *GetV1ProjectsPrjIncidentTypesParams, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjIncidentTypesIty(ctx context.Context, prj string, ity string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjMaintenanceWindows(ctx context.Context, prj string, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjMaintenanceWindowsWindow(ctx context.Context, prj string, window string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjMonitors(ctx context.Context, prj string, params *GetV1ProjectsPrjMonitorsParams, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjMonitorsMonitor(ctx context.Context, prj string, monitor string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjOncallSchedules(ctx context.Context, prj string, params *GetV1ProjectsPrjOncallSchedulesParams, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjOncallSchedulesSch(ctx context.Context, prj string, sch string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjReceivers(ctx context.Context, prj string, params *GetV1ProjectsPrjReceiversParams, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjReceiversReceiver(ctx context.Context, prj string, receiver string, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjRouting(ctx context.Context, prj string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjSilences(ctx context.Context, prj string, params *GetV1ProjectsPrjSilencesParams, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjSilencesSilence(ctx context.Context, prj string, silence string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjSlos(ctx context.Context, prj string, params *GetV1ProjectsPrjSlosParams, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjSlosSlo(ctx context.Context, prj string, slo string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjTemplates(ctx context.Context, prj string, params *GetV1ProjectsPrjTemplatesParams, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjTemplatesId(ctx context.Context, prj string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjWorkflows(ctx context.Context, prj string, params *GetV1ProjectsPrjWorkflowsParams, ...) (*http.Response, error)
- func (c *Client) GetV1ProjectsPrjWorkflowsW(ctx context.Context, prj string, w string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PatchV1ProjectsPrj(ctx context.Context, prj string, body PatchV1ProjectsPrjJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchV1ProjectsPrjMonitorsMonitorWithApplicationMergePatchPlusJSONBody(ctx context.Context, prj string, monitor string, ...) (*http.Response, error)
- func (c *Client) PatchV1ProjectsPrjMonitorsMonitorWithBody(ctx context.Context, prj string, monitor string, ...) (*http.Response, error)
- func (c *Client) PatchV1ProjectsPrjTemplatesId(ctx context.Context, prj string, id string, ...) (*http.Response, error)
- func (c *Client) PatchV1ProjectsPrjTemplatesIdWithBody(ctx context.Context, prj string, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchV1ProjectsPrjWithBody(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1OrgsOrgProjects(ctx context.Context, org string, body PostV1OrgsOrgProjectsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostV1OrgsOrgProjectsWithBody(ctx context.Context, org string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjAgentConfigs(ctx context.Context, prj string, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjAgentConfigsC(ctx context.Context, prj string, cfg string, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjAgentConfigsWithBody(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjAlertRules(ctx context.Context, prj string, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjAlertRulesWithBody(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjDashboards(ctx context.Context, prj string, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjDashboardsWithBody(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjEscalationPolicies(ctx context.Context, prj string, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjEscalationPoliciesWithBody(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjHealthTokens(ctx context.Context, prj string, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjHealthTokensWithBody(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjIncidentTypes(ctx context.Context, prj string, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjIncidentTypesWithBody(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjMaintenanceWindows(ctx context.Context, prj string, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjMaintenanceWindowsWithBody(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjMonitors(ctx context.Context, prj string, params *PostV1ProjectsPrjMonitorsParams, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjMonitorsMonitor(ctx context.Context, prj string, monitor string, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjMonitorsWithBody(ctx context.Context, prj string, params *PostV1ProjectsPrjMonitorsParams, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjOncallSchedules(ctx context.Context, prj string, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjOncallSchedulesWithBody(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjReceivers(ctx context.Context, prj string, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjReceiversReceiver(ctx context.Context, prj string, receiver string, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjReceiversWithBody(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjSilences(ctx context.Context, prj string, body PostV1ProjectsPrjSilencesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjSilencesWithBody(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjSlos(ctx context.Context, prj string, body PostV1ProjectsPrjSlosJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjSlosWithBody(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjTemplates(ctx context.Context, prj string, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjTemplatesWithBody(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjWorkflows(ctx context.Context, prj string, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjWorkflowsW(ctx context.Context, prj string, w string, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjWorkflowsWWithBody(ctx context.Context, prj string, w string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsPrjWorkflowsWithBody(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjAgentConfigsC(ctx context.Context, prj string, cfg string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjAgentConfigsCWithBody(ctx context.Context, prj string, cfg string, contentType string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjAlertRulesRule(ctx context.Context, prj string, rule string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjAlertRulesRuleWithBody(ctx context.Context, prj string, rule string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjCatalogServicesS(ctx context.Context, prj string, s string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjCatalogServicesSWithBody(ctx context.Context, prj string, s string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjCheckSecretsName(ctx context.Context, prj string, name string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjCheckSecretsNameWithBody(ctx context.Context, prj string, name string, contentType string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjDashboardsDash(ctx context.Context, prj string, dash string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjDashboardsDashWithBody(ctx context.Context, prj string, dash string, contentType string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjEscalationPoliciesPol(ctx context.Context, prj string, pol string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjEscalationPoliciesPolWithBody(ctx context.Context, prj string, pol string, contentType string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjIncidentTypesIty(ctx context.Context, prj string, ity string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjIncidentTypesItyWithBody(ctx context.Context, prj string, ity string, contentType string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjMaintenanceWindowsWindow(ctx context.Context, prj string, window string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjMaintenanceWindowsWindowWithBody(ctx context.Context, prj string, window string, contentType string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjMonitorsMonitor(ctx context.Context, prj string, monitor string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjMonitorsMonitorWithBody(ctx context.Context, prj string, monitor string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjOncallSchedulesSch(ctx context.Context, prj string, sch string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjOncallSchedulesSchWithBody(ctx context.Context, prj string, sch string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjReceiversReceiver(ctx context.Context, prj string, receiver string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjReceiversReceiverWithBody(ctx context.Context, prj string, receiver string, contentType string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjRouting(ctx context.Context, prj string, params *PutV1ProjectsPrjRoutingParams, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjRoutingWithBody(ctx context.Context, prj string, params *PutV1ProjectsPrjRoutingParams, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjRuleGroupsNameWithBody(ctx context.Context, prj string, name string, contentType string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjSilencesSilence(ctx context.Context, prj string, silence string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjSilencesSilenceWithBody(ctx context.Context, prj string, silence string, contentType string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjSlosSlo(ctx context.Context, prj string, slo string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjSlosSloWithBody(ctx context.Context, prj string, slo string, contentType string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjWorkflowsW(ctx context.Context, prj string, w string, ...) (*http.Response, error)
- func (c *Client) PutV1ProjectsPrjWorkflowsWWithBody(ctx context.Context, prj string, w string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteV1ProjectsPrjAgentConfigsCWithResponse(ctx context.Context, prj string, cfg string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjAgentConfigsCResponse, error)
- func (c *ClientWithResponses) DeleteV1ProjectsPrjAlertRulesRuleWithResponse(ctx context.Context, prj string, rule string, ...) (*DeleteV1ProjectsPrjAlertRulesRuleResponse, error)
- func (c *ClientWithResponses) DeleteV1ProjectsPrjCatalogServicesSWithResponse(ctx context.Context, prj string, s string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjCatalogServicesSResponse, error)
- func (c *ClientWithResponses) DeleteV1ProjectsPrjCheckSecretsNameWithResponse(ctx context.Context, prj string, name string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjCheckSecretsNameResponse, error)
- func (c *ClientWithResponses) DeleteV1ProjectsPrjDashboardsDashWithResponse(ctx context.Context, prj string, dash string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjDashboardsDashResponse, error)
- func (c *ClientWithResponses) DeleteV1ProjectsPrjEscalationPoliciesPolWithResponse(ctx context.Context, prj string, pol string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjEscalationPoliciesPolResponse, error)
- func (c *ClientWithResponses) DeleteV1ProjectsPrjHealthTokensTokenWithResponse(ctx context.Context, prj string, token string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjHealthTokensTokenResponse, error)
- func (c *ClientWithResponses) DeleteV1ProjectsPrjIncidentTypesItyWithResponse(ctx context.Context, prj string, ity string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjIncidentTypesItyResponse, error)
- func (c *ClientWithResponses) DeleteV1ProjectsPrjMaintenanceWindowsWindowWithResponse(ctx context.Context, prj string, window string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjMaintenanceWindowsWindowResponse, error)
- func (c *ClientWithResponses) DeleteV1ProjectsPrjMonitorsMonitorWithResponse(ctx context.Context, prj string, monitor string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjMonitorsMonitorResponse, error)
- func (c *ClientWithResponses) DeleteV1ProjectsPrjOncallSchedulesSchWithResponse(ctx context.Context, prj string, sch string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjOncallSchedulesSchResponse, error)
- func (c *ClientWithResponses) DeleteV1ProjectsPrjReceiversReceiverWithResponse(ctx context.Context, prj string, receiver string, ...) (*DeleteV1ProjectsPrjReceiversReceiverResponse, error)
- func (c *ClientWithResponses) DeleteV1ProjectsPrjRuleGroupsNameWithResponse(ctx context.Context, prj string, name string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjRuleGroupsNameResponse, error)
- func (c *ClientWithResponses) DeleteV1ProjectsPrjSilencesSilenceWithResponse(ctx context.Context, prj string, silence string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjSilencesSilenceResponse, error)
- func (c *ClientWithResponses) DeleteV1ProjectsPrjSlosSloWithResponse(ctx context.Context, prj string, slo string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjSlosSloResponse, error)
- func (c *ClientWithResponses) DeleteV1ProjectsPrjTemplatesIdWithResponse(ctx context.Context, prj string, id string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjTemplatesIdResponse, error)
- func (c *ClientWithResponses) DeleteV1ProjectsPrjWithResponse(ctx context.Context, prj string, params *DeleteV1ProjectsPrjParams, ...) (*DeleteV1ProjectsPrjResponse, error)
- func (c *ClientWithResponses) DeleteV1ProjectsPrjWorkflowsWWithResponse(ctx context.Context, prj string, w string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjWorkflowsWResponse, error)
- func (c *ClientWithResponses) GetV1OrgsOrgProjectsWithResponse(ctx context.Context, org string, params *GetV1OrgsOrgProjectsParams, ...) (*GetV1OrgsOrgProjectsResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjAgentConfigsCWithResponse(ctx context.Context, prj string, cfg string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjAgentConfigsCResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjAgentConfigsWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjAgentConfigsParams, ...) (*GetV1ProjectsPrjAgentConfigsResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjAlertRulesRuleWithResponse(ctx context.Context, prj string, rule string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjAlertRulesRuleResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjAlertRulesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjAlertRulesParams, ...) (*GetV1ProjectsPrjAlertRulesResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjCatalogServicesSWithResponse(ctx context.Context, prj string, s string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjCatalogServicesSResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjCatalogServicesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjCatalogServicesParams, ...) (*GetV1ProjectsPrjCatalogServicesResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjCheckSecretsWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjCheckSecretsParams, ...) (*GetV1ProjectsPrjCheckSecretsResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjDashboardsDashWithResponse(ctx context.Context, prj string, dash string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjDashboardsDashResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjDashboardsWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjDashboardsParams, ...) (*GetV1ProjectsPrjDashboardsResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjEscalationPoliciesPolWithResponse(ctx context.Context, prj string, pol string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjEscalationPoliciesPolResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjEscalationPoliciesWithResponse(ctx context.Context, prj string, ...) (*GetV1ProjectsPrjEscalationPoliciesResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjHealthTokensWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjHealthTokensParams, ...) (*GetV1ProjectsPrjHealthTokensResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjIncidentTypesItyWithResponse(ctx context.Context, prj string, ity string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjIncidentTypesItyResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjIncidentTypesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjIncidentTypesParams, ...) (*GetV1ProjectsPrjIncidentTypesResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjMaintenanceWindowsWindowWithResponse(ctx context.Context, prj string, window string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjMaintenanceWindowsWindowResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjMaintenanceWindowsWithResponse(ctx context.Context, prj string, ...) (*GetV1ProjectsPrjMaintenanceWindowsResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjMonitorsMonitorWithResponse(ctx context.Context, prj string, monitor string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjMonitorsMonitorResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjMonitorsWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjMonitorsParams, ...) (*GetV1ProjectsPrjMonitorsResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjOncallSchedulesSchWithResponse(ctx context.Context, prj string, sch string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjOncallSchedulesSchResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjOncallSchedulesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjOncallSchedulesParams, ...) (*GetV1ProjectsPrjOncallSchedulesResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjReceiversReceiverWithResponse(ctx context.Context, prj string, receiver string, ...) (*GetV1ProjectsPrjReceiversReceiverResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjReceiversWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjReceiversParams, ...) (*GetV1ProjectsPrjReceiversResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjRoutingWithResponse(ctx context.Context, prj string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjRoutingResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjSilencesSilenceWithResponse(ctx context.Context, prj string, silence string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjSilencesSilenceResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjSilencesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjSilencesParams, ...) (*GetV1ProjectsPrjSilencesResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjSlosSloWithResponse(ctx context.Context, prj string, slo string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjSlosSloResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjSlosWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjSlosParams, ...) (*GetV1ProjectsPrjSlosResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjTemplatesIdWithResponse(ctx context.Context, prj string, id string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjTemplatesIdResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjTemplatesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjTemplatesParams, ...) (*GetV1ProjectsPrjTemplatesResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjWithResponse(ctx context.Context, prj string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjWorkflowsWWithResponse(ctx context.Context, prj string, w string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjWorkflowsWResponse, error)
- func (c *ClientWithResponses) GetV1ProjectsPrjWorkflowsWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjWorkflowsParams, ...) (*GetV1ProjectsPrjWorkflowsResponse, error)
- func (c *ClientWithResponses) PatchV1ProjectsPrjMonitorsMonitorWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, prj string, monitor string, ...) (*PatchV1ProjectsPrjMonitorsMonitorResponse, error)
- func (c *ClientWithResponses) PatchV1ProjectsPrjMonitorsMonitorWithBodyWithResponse(ctx context.Context, prj string, monitor string, ...) (*PatchV1ProjectsPrjMonitorsMonitorResponse, error)
- func (c *ClientWithResponses) PatchV1ProjectsPrjTemplatesIdWithBodyWithResponse(ctx context.Context, prj string, id string, contentType string, body io.Reader, ...) (*PatchV1ProjectsPrjTemplatesIdResponse, error)
- func (c *ClientWithResponses) PatchV1ProjectsPrjTemplatesIdWithResponse(ctx context.Context, prj string, id string, ...) (*PatchV1ProjectsPrjTemplatesIdResponse, error)
- func (c *ClientWithResponses) PatchV1ProjectsPrjWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*PatchV1ProjectsPrjResponse, error)
- func (c *ClientWithResponses) PatchV1ProjectsPrjWithResponse(ctx context.Context, prj string, body PatchV1ProjectsPrjJSONRequestBody, ...) (*PatchV1ProjectsPrjResponse, error)
- func (c *ClientWithResponses) PostV1OrgsOrgProjectsWithBodyWithResponse(ctx context.Context, org string, contentType string, body io.Reader, ...) (*PostV1OrgsOrgProjectsResponse, error)
- func (c *ClientWithResponses) PostV1OrgsOrgProjectsWithResponse(ctx context.Context, org string, body PostV1OrgsOrgProjectsJSONRequestBody, ...) (*PostV1OrgsOrgProjectsResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjAgentConfigsCWithResponse(ctx context.Context, prj string, cfg string, ...) (*PostV1ProjectsPrjAgentConfigsCResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjAgentConfigsWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*PostV1ProjectsPrjAgentConfigsResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjAgentConfigsWithResponse(ctx context.Context, prj string, ...) (*PostV1ProjectsPrjAgentConfigsResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjAlertRulesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*PostV1ProjectsPrjAlertRulesResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjAlertRulesWithResponse(ctx context.Context, prj string, ...) (*PostV1ProjectsPrjAlertRulesResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjDashboardsWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*PostV1ProjectsPrjDashboardsResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjDashboardsWithResponse(ctx context.Context, prj string, ...) (*PostV1ProjectsPrjDashboardsResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjEscalationPoliciesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*PostV1ProjectsPrjEscalationPoliciesResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjEscalationPoliciesWithResponse(ctx context.Context, prj string, ...) (*PostV1ProjectsPrjEscalationPoliciesResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjHealthTokensWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*PostV1ProjectsPrjHealthTokensResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjHealthTokensWithResponse(ctx context.Context, prj string, ...) (*PostV1ProjectsPrjHealthTokensResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjIncidentTypesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*PostV1ProjectsPrjIncidentTypesResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjIncidentTypesWithResponse(ctx context.Context, prj string, ...) (*PostV1ProjectsPrjIncidentTypesResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjMaintenanceWindowsWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*PostV1ProjectsPrjMaintenanceWindowsResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjMaintenanceWindowsWithResponse(ctx context.Context, prj string, ...) (*PostV1ProjectsPrjMaintenanceWindowsResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjMonitorsMonitorWithResponse(ctx context.Context, prj string, monitor string, ...) (*PostV1ProjectsPrjMonitorsMonitorResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjMonitorsWithBodyWithResponse(ctx context.Context, prj string, params *PostV1ProjectsPrjMonitorsParams, ...) (*PostV1ProjectsPrjMonitorsResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjMonitorsWithResponse(ctx context.Context, prj string, params *PostV1ProjectsPrjMonitorsParams, ...) (*PostV1ProjectsPrjMonitorsResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjOncallSchedulesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*PostV1ProjectsPrjOncallSchedulesResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjOncallSchedulesWithResponse(ctx context.Context, prj string, ...) (*PostV1ProjectsPrjOncallSchedulesResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjReceiversReceiverWithResponse(ctx context.Context, prj string, receiver string, ...) (*PostV1ProjectsPrjReceiversReceiverResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjReceiversWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*PostV1ProjectsPrjReceiversResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjReceiversWithResponse(ctx context.Context, prj string, ...) (*PostV1ProjectsPrjReceiversResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjSilencesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*PostV1ProjectsPrjSilencesResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjSilencesWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjSilencesJSONRequestBody, ...) (*PostV1ProjectsPrjSilencesResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjSlosWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*PostV1ProjectsPrjSlosResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjSlosWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjSlosJSONRequestBody, ...) (*PostV1ProjectsPrjSlosResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjTemplatesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*PostV1ProjectsPrjTemplatesResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjTemplatesWithResponse(ctx context.Context, prj string, ...) (*PostV1ProjectsPrjTemplatesResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjWorkflowsWWithBodyWithResponse(ctx context.Context, prj string, w string, contentType string, body io.Reader, ...) (*PostV1ProjectsPrjWorkflowsWResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjWorkflowsWWithResponse(ctx context.Context, prj string, w string, ...) (*PostV1ProjectsPrjWorkflowsWResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjWorkflowsWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, ...) (*PostV1ProjectsPrjWorkflowsResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsPrjWorkflowsWithResponse(ctx context.Context, prj string, ...) (*PostV1ProjectsPrjWorkflowsResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjAgentConfigsCWithBodyWithResponse(ctx context.Context, prj string, cfg string, contentType string, ...) (*PutV1ProjectsPrjAgentConfigsCResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjAgentConfigsCWithResponse(ctx context.Context, prj string, cfg string, ...) (*PutV1ProjectsPrjAgentConfigsCResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjAlertRulesRuleWithBodyWithResponse(ctx context.Context, prj string, rule string, ...) (*PutV1ProjectsPrjAlertRulesRuleResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjAlertRulesRuleWithResponse(ctx context.Context, prj string, rule string, ...) (*PutV1ProjectsPrjAlertRulesRuleResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjCatalogServicesSWithBodyWithResponse(ctx context.Context, prj string, s string, contentType string, body io.Reader, ...) (*PutV1ProjectsPrjCatalogServicesSResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjCatalogServicesSWithResponse(ctx context.Context, prj string, s string, ...) (*PutV1ProjectsPrjCatalogServicesSResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjCheckSecretsNameWithBodyWithResponse(ctx context.Context, prj string, name string, contentType string, ...) (*PutV1ProjectsPrjCheckSecretsNameResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjCheckSecretsNameWithResponse(ctx context.Context, prj string, name string, ...) (*PutV1ProjectsPrjCheckSecretsNameResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjDashboardsDashWithBodyWithResponse(ctx context.Context, prj string, dash string, contentType string, ...) (*PutV1ProjectsPrjDashboardsDashResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjDashboardsDashWithResponse(ctx context.Context, prj string, dash string, ...) (*PutV1ProjectsPrjDashboardsDashResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjEscalationPoliciesPolWithBodyWithResponse(ctx context.Context, prj string, pol string, contentType string, ...) (*PutV1ProjectsPrjEscalationPoliciesPolResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjEscalationPoliciesPolWithResponse(ctx context.Context, prj string, pol string, ...) (*PutV1ProjectsPrjEscalationPoliciesPolResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjIncidentTypesItyWithBodyWithResponse(ctx context.Context, prj string, ity string, contentType string, ...) (*PutV1ProjectsPrjIncidentTypesItyResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjIncidentTypesItyWithResponse(ctx context.Context, prj string, ity string, ...) (*PutV1ProjectsPrjIncidentTypesItyResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjMaintenanceWindowsWindowWithBodyWithResponse(ctx context.Context, prj string, window string, contentType string, ...) (*PutV1ProjectsPrjMaintenanceWindowsWindowResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjMaintenanceWindowsWindowWithResponse(ctx context.Context, prj string, window string, ...) (*PutV1ProjectsPrjMaintenanceWindowsWindowResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjMonitorsMonitorWithBodyWithResponse(ctx context.Context, prj string, monitor string, ...) (*PutV1ProjectsPrjMonitorsMonitorResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjMonitorsMonitorWithResponse(ctx context.Context, prj string, monitor string, ...) (*PutV1ProjectsPrjMonitorsMonitorResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjOncallSchedulesSchWithBodyWithResponse(ctx context.Context, prj string, sch string, ...) (*PutV1ProjectsPrjOncallSchedulesSchResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjOncallSchedulesSchWithResponse(ctx context.Context, prj string, sch string, ...) (*PutV1ProjectsPrjOncallSchedulesSchResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjReceiversReceiverWithBodyWithResponse(ctx context.Context, prj string, receiver string, contentType string, ...) (*PutV1ProjectsPrjReceiversReceiverResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjReceiversReceiverWithResponse(ctx context.Context, prj string, receiver string, ...) (*PutV1ProjectsPrjReceiversReceiverResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjRoutingWithBodyWithResponse(ctx context.Context, prj string, params *PutV1ProjectsPrjRoutingParams, ...) (*PutV1ProjectsPrjRoutingResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjRoutingWithResponse(ctx context.Context, prj string, params *PutV1ProjectsPrjRoutingParams, ...) (*PutV1ProjectsPrjRoutingResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjRuleGroupsNameWithBodyWithResponse(ctx context.Context, prj string, name string, contentType string, ...) (*PutV1ProjectsPrjRuleGroupsNameResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjSilencesSilenceWithBodyWithResponse(ctx context.Context, prj string, silence string, contentType string, ...) (*PutV1ProjectsPrjSilencesSilenceResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjSilencesSilenceWithResponse(ctx context.Context, prj string, silence string, ...) (*PutV1ProjectsPrjSilencesSilenceResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjSlosSloWithBodyWithResponse(ctx context.Context, prj string, slo string, contentType string, ...) (*PutV1ProjectsPrjSlosSloResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjSlosSloWithResponse(ctx context.Context, prj string, slo string, ...) (*PutV1ProjectsPrjSlosSloResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjWorkflowsWWithBodyWithResponse(ctx context.Context, prj string, w string, contentType string, body io.Reader, ...) (*PutV1ProjectsPrjWorkflowsWResponse, error)
- func (c *ClientWithResponses) PutV1ProjectsPrjWorkflowsWWithResponse(ctx context.Context, prj string, w string, ...) (*PutV1ProjectsPrjWorkflowsWResponse, error)
- type ClientWithResponsesInterface
- type Condition
- func (t Condition) AsCondition0() (Condition0, error)
- func (t Condition) AsCondition1() (Condition1, error)
- func (t Condition) AsCondition2() (Condition2, error)
- func (t *Condition) FromCondition0(v Condition0) error
- func (t *Condition) FromCondition1(v Condition1) error
- func (t *Condition) FromCondition2(v Condition2) error
- func (t Condition) MarshalJSON() ([]byte, error)
- func (t *Condition) MergeCondition0(v Condition0) error
- func (t *Condition) MergeCondition1(v Condition1) error
- func (t *Condition) MergeCondition2(v Condition2) error
- func (t *Condition) UnmarshalJSON(b []byte) error
- type Condition0
- type Condition1
- type Condition2
- type Conditions
- type ContentGrouping
- type CostRuleMode
- type CustomAgg
- type CustomSpec
- type DashboardDto
- type DashboardPage
- type DeferSpec
- type DeleteV1ProjectsPrjAgentConfigsCResponse
- type DeleteV1ProjectsPrjAlertRulesRuleParams
- type DeleteV1ProjectsPrjAlertRulesRuleResponse
- type DeleteV1ProjectsPrjCatalogServicesSResponse
- type DeleteV1ProjectsPrjCheckSecretsNameResponse
- type DeleteV1ProjectsPrjDashboardsDashResponse
- type DeleteV1ProjectsPrjEscalationPoliciesPolResponse
- type DeleteV1ProjectsPrjHealthTokensTokenResponse
- type DeleteV1ProjectsPrjIncidentTypesItyResponse
- type DeleteV1ProjectsPrjMaintenanceWindowsWindowResponse
- type DeleteV1ProjectsPrjMonitorsMonitorResponse
- type DeleteV1ProjectsPrjOncallSchedulesSchResponse
- type DeleteV1ProjectsPrjParams
- type DeleteV1ProjectsPrjReceiversReceiverResponse
- type DeleteV1ProjectsPrjResponse
- type DeleteV1ProjectsPrjRuleGroupsNameResponse
- type DeleteV1ProjectsPrjSilencesSilenceResponse
- type DeleteV1ProjectsPrjSlosSloResponse
- type DeleteV1ProjectsPrjTemplatesIdResponse
- type DeleteV1ProjectsPrjWorkflowsWResponse
- type Dir
- type Escalation
- type Extract
- type FacetMeasure
- type FieldDef
- type FieldError
- type FieldKind
- type Fill
- type FlameNode
- type FlowBy
- type FlowMeasure
- type FlowQuery
- type ForecastAlgorithm
- type ForecastCfg
- type ForecastSeasonality
- type GetV1OrgsOrgProjectsParams
- type GetV1OrgsOrgProjectsResponse
- type GetV1ProjectsPrjAgentConfigsCResponse
- type GetV1ProjectsPrjAgentConfigsParams
- type GetV1ProjectsPrjAgentConfigsResponse
- type GetV1ProjectsPrjAlertRulesParams
- type GetV1ProjectsPrjAlertRulesResponse
- type GetV1ProjectsPrjAlertRulesRuleResponse
- type GetV1ProjectsPrjCatalogServicesParams
- type GetV1ProjectsPrjCatalogServicesResponse
- type GetV1ProjectsPrjCatalogServicesSResponse
- type GetV1ProjectsPrjCheckSecretsParams
- type GetV1ProjectsPrjCheckSecretsResponse
- type GetV1ProjectsPrjDashboardsDashResponse
- type GetV1ProjectsPrjDashboardsParams
- type GetV1ProjectsPrjDashboardsResponse
- type GetV1ProjectsPrjEscalationPoliciesParams
- type GetV1ProjectsPrjEscalationPoliciesPolResponse
- type GetV1ProjectsPrjEscalationPoliciesResponse
- type GetV1ProjectsPrjHealthTokensParams
- type GetV1ProjectsPrjHealthTokensResponse
- type GetV1ProjectsPrjIncidentTypesItyResponse
- type GetV1ProjectsPrjIncidentTypesParams
- type GetV1ProjectsPrjIncidentTypesResponse
- type GetV1ProjectsPrjMaintenanceWindowsParams
- type GetV1ProjectsPrjMaintenanceWindowsResponse
- type GetV1ProjectsPrjMaintenanceWindowsWindowResponse
- type GetV1ProjectsPrjMonitorsMonitorResponse
- type GetV1ProjectsPrjMonitorsParams
- type GetV1ProjectsPrjMonitorsResponse
- type GetV1ProjectsPrjOncallSchedulesParams
- type GetV1ProjectsPrjOncallSchedulesResponse
- type GetV1ProjectsPrjOncallSchedulesSchResponse
- type GetV1ProjectsPrjReceiversParams
- type GetV1ProjectsPrjReceiversReceiverResponse
- type GetV1ProjectsPrjReceiversResponse
- type GetV1ProjectsPrjResponse
- type GetV1ProjectsPrjRoutingResponse
- type GetV1ProjectsPrjSilencesParams
- type GetV1ProjectsPrjSilencesResponse
- type GetV1ProjectsPrjSilencesSilenceResponse
- type GetV1ProjectsPrjSlosParams
- type GetV1ProjectsPrjSlosResponse
- type GetV1ProjectsPrjSlosSloResponse
- type GetV1ProjectsPrjTemplatesIdResponse
- type GetV1ProjectsPrjTemplatesParams
- type GetV1ProjectsPrjTemplatesResponse
- type GetV1ProjectsPrjWorkflowsParams
- type GetV1ProjectsPrjWorkflowsResponse
- type GetV1ProjectsPrjWorkflowsWResponse
- type GroupBy
- func (t GroupBy) AsGroupBy0() (GroupBy0, error)
- func (t GroupBy) AsGroupBy1() (GroupBy1, error)
- func (t *GroupBy) FromGroupBy0(v GroupBy0) error
- func (t *GroupBy) FromGroupBy1(v GroupBy1) error
- func (t GroupBy) MarshalJSON() ([]byte, error)
- func (t *GroupBy) MergeGroupBy0(v GroupBy0) error
- func (t *GroupBy) MergeGroupBy1(v GroupBy1) error
- func (t *GroupBy) UnmarshalJSON(b []byte) error
- type GroupBy0
- type GroupBy1
- type GroupDto
- type HealthPolicy
- type HealthTokenCreated
- type HealthTokenDto
- type HealthTokenPage
- type HttpRequestDoer
- type IssueFilter
- type IssueMetric
- type IssuePct
- type IssueTagMatch
- type LastDeliveryDto
- type LastResult
- type Layer
- type LevelSpec
- type Link
- type LlmGroup
- type LlmQuantile
- type LlmQuery
- type LogFilter
- type LogMeasure
- type LogQlMetric
- type MaintenanceAs
- type MatchOp
- type Matcher
- type Method
- type MinAlerts
- type MlMetric
- type MlModelQuery
- type MonitorConfigDoc
- func (t MonitorConfigDoc) AsMonitorDnsConfig() (MonitorDnsConfig, error)
- func (t MonitorConfigDoc) AsMonitorHeartbeatConfig() (MonitorHeartbeatConfig, error)
- func (t MonitorConfigDoc) AsMonitorHttpConfig() (MonitorHttpConfig, error)
- func (t MonitorConfigDoc) AsMonitorTcpConfig() (MonitorTcpConfig, error)
- func (t MonitorConfigDoc) AsMonitorTlsConfig() (MonitorTlsConfig, error)
- func (t *MonitorConfigDoc) FromMonitorDnsConfig(v MonitorDnsConfig) error
- func (t *MonitorConfigDoc) FromMonitorHeartbeatConfig(v MonitorHeartbeatConfig) error
- func (t *MonitorConfigDoc) FromMonitorHttpConfig(v MonitorHttpConfig) error
- func (t *MonitorConfigDoc) FromMonitorTcpConfig(v MonitorTcpConfig) error
- func (t *MonitorConfigDoc) FromMonitorTlsConfig(v MonitorTlsConfig) error
- func (t MonitorConfigDoc) MarshalJSON() ([]byte, error)
- func (t *MonitorConfigDoc) MergeMonitorDnsConfig(v MonitorDnsConfig) error
- func (t *MonitorConfigDoc) MergeMonitorHeartbeatConfig(v MonitorHeartbeatConfig) error
- func (t *MonitorConfigDoc) MergeMonitorHttpConfig(v MonitorHttpConfig) error
- func (t *MonitorConfigDoc) MergeMonitorTcpConfig(v MonitorTcpConfig) error
- func (t *MonitorConfigDoc) MergeMonitorTlsConfig(v MonitorTlsConfig) error
- func (t *MonitorConfigDoc) UnmarshalJSON(b []byte) error
- type MonitorDnsConfig
- type MonitorDto
- type MonitorHeartbeatConfig
- type MonitorHeartbeatSchedule
- type MonitorHttpConfig
- type MonitorPage
- type MonitorSpec
- type MonitorTcpConfig
- type MonitorTlsConfig
- type NewAgentConfig
- type NewDashboardRequest
- type NewHealthTokenRequest
- type NewProjectRequest
- type NewTemplateRequest
- type NoData
- type OnError
- type Op
- type OpenCanaryDto
- type PatchProjectRequest
- type PatchTemplateRequest
- type PatchV1ProjectsPrjJSONRequestBody
- type PatchV1ProjectsPrjMonitorsMonitorApplicationMergePatchPlusJSONBody
- type PatchV1ProjectsPrjMonitorsMonitorApplicationMergePatchPlusJSONRequestBody
- type PatchV1ProjectsPrjMonitorsMonitorParams
- type PatchV1ProjectsPrjMonitorsMonitorResponse
- type PatchV1ProjectsPrjResponse
- type PatchV1ProjectsPrjTemplatesIdJSONRequestBody
- type PatchV1ProjectsPrjTemplatesIdResponse
- type PathSpec
- type PolicyDto
- type PolicyPage
- type PolicyRequest
- type PolicySpec
- type PostV1OrgsOrgProjectsJSONRequestBody
- type PostV1OrgsOrgProjectsResponse
- type PostV1ProjectsPrjAgentConfigsCParams
- type PostV1ProjectsPrjAgentConfigsCResponse
- type PostV1ProjectsPrjAgentConfigsJSONRequestBody
- type PostV1ProjectsPrjAgentConfigsResponse
- type PostV1ProjectsPrjAlertRulesJSONRequestBody
- type PostV1ProjectsPrjAlertRulesResponse
- type PostV1ProjectsPrjDashboardsJSONRequestBody
- type PostV1ProjectsPrjDashboardsResponse
- type PostV1ProjectsPrjEscalationPoliciesJSONRequestBody
- type PostV1ProjectsPrjEscalationPoliciesResponse
- type PostV1ProjectsPrjHealthTokensJSONRequestBody
- type PostV1ProjectsPrjHealthTokensResponse
- type PostV1ProjectsPrjIncidentTypesJSONRequestBody
- type PostV1ProjectsPrjIncidentTypesResponse
- type PostV1ProjectsPrjMaintenanceWindowsJSONRequestBody
- type PostV1ProjectsPrjMaintenanceWindowsResponse
- type PostV1ProjectsPrjMonitorsJSONRequestBody
- type PostV1ProjectsPrjMonitorsMonitorParams
- type PostV1ProjectsPrjMonitorsMonitorResponse
- type PostV1ProjectsPrjMonitorsParams
- type PostV1ProjectsPrjMonitorsResponse
- type PostV1ProjectsPrjOncallSchedulesJSONRequestBody
- type PostV1ProjectsPrjOncallSchedulesResponse
- type PostV1ProjectsPrjReceiversJSONRequestBody
- type PostV1ProjectsPrjReceiversReceiverResponse
- type PostV1ProjectsPrjReceiversResponse
- type PostV1ProjectsPrjSilencesJSONRequestBody
- type PostV1ProjectsPrjSilencesResponse
- type PostV1ProjectsPrjSlosJSONRequestBody
- type PostV1ProjectsPrjSlosResponse
- type PostV1ProjectsPrjTemplatesJSONRequestBody
- type PostV1ProjectsPrjTemplatesResponse
- type PostV1ProjectsPrjWorkflowsJSONRequestBody
- type PostV1ProjectsPrjWorkflowsResponse
- type PostV1ProjectsPrjWorkflowsWJSONRequestBody
- type PostV1ProjectsPrjWorkflowsWResponse
- type Problem
- type ProblemCode
- type ProjectDto
- type ProjectPage
- type PutSecret
- type PutV1ProjectsPrjAgentConfigsCJSONRequestBody
- type PutV1ProjectsPrjAgentConfigsCResponse
- type PutV1ProjectsPrjAlertRulesRuleJSONRequestBody
- type PutV1ProjectsPrjAlertRulesRuleParams
- type PutV1ProjectsPrjAlertRulesRuleResponse
- type PutV1ProjectsPrjCatalogServicesSJSONRequestBody
- type PutV1ProjectsPrjCatalogServicesSResponse
- type PutV1ProjectsPrjCheckSecretsNameJSONRequestBody
- type PutV1ProjectsPrjCheckSecretsNameResponse
- type PutV1ProjectsPrjDashboardsDashJSONRequestBody
- type PutV1ProjectsPrjDashboardsDashResponse
- type PutV1ProjectsPrjEscalationPoliciesPolJSONRequestBody
- type PutV1ProjectsPrjEscalationPoliciesPolResponse
- type PutV1ProjectsPrjIncidentTypesItyJSONRequestBody
- type PutV1ProjectsPrjIncidentTypesItyResponse
- type PutV1ProjectsPrjMaintenanceWindowsWindowJSONRequestBody
- type PutV1ProjectsPrjMaintenanceWindowsWindowResponse
- type PutV1ProjectsPrjMonitorsMonitorJSONRequestBody
- type PutV1ProjectsPrjMonitorsMonitorParams
- type PutV1ProjectsPrjMonitorsMonitorResponse
- type PutV1ProjectsPrjOncallSchedulesSchJSONRequestBody
- type PutV1ProjectsPrjOncallSchedulesSchParams
- type PutV1ProjectsPrjOncallSchedulesSchResponse
- type PutV1ProjectsPrjReceiversReceiverJSONRequestBody
- type PutV1ProjectsPrjReceiversReceiverResponse
- type PutV1ProjectsPrjRoutingJSONRequestBody
- type PutV1ProjectsPrjRoutingParams
- type PutV1ProjectsPrjRoutingResponse
- type PutV1ProjectsPrjRuleGroupsNameResponse
- type PutV1ProjectsPrjSilencesSilenceJSONRequestBody
- type PutV1ProjectsPrjSilencesSilenceResponse
- type PutV1ProjectsPrjSlosSloJSONRequestBody
- type PutV1ProjectsPrjSlosSloResponse
- type PutV1ProjectsPrjWorkflowsWJSONRequestBody
- type PutV1ProjectsPrjWorkflowsWResponse
- type Quorum
- type ReceiverDto
- type ReceiverKind
- type ReceiverPage
- type ReceiverRequest
- type RecoveryExpr
- type RequestEditorFn
- type Restriction
- type Retrigger
- func (t Retrigger) AsRetrigger0() (Retrigger0, error)
- func (t Retrigger) AsRetrigger1() (Retrigger1, error)
- func (t *Retrigger) FromRetrigger0(v Retrigger0) error
- func (t *Retrigger) FromRetrigger1(v Retrigger1) error
- func (t Retrigger) MarshalJSON() ([]byte, error)
- func (t *Retrigger) MergeRetrigger0(v Retrigger0) error
- func (t *Retrigger) MergeRetrigger1(v Retrigger1) error
- func (t *Retrigger) UnmarshalJSON(b []byte) error
- type Retrigger0
- type Retrigger1
- type Retry
- type RetryMode
- type Rotation
- func (t Rotation) AsRotation0() (Rotation0, error)
- func (t Rotation) AsRotation1() (Rotation1, error)
- func (t Rotation) AsRotation2() (Rotation2, error)
- func (t Rotation) AsRotation3() (Rotation3, error)
- func (t Rotation) AsRotation4() (Rotation4, error)
- func (t *Rotation) FromRotation0(v Rotation0) error
- func (t *Rotation) FromRotation1(v Rotation1) error
- func (t *Rotation) FromRotation2(v Rotation2) error
- func (t *Rotation) FromRotation3(v Rotation3) error
- func (t *Rotation) FromRotation4(v Rotation4) error
- func (t Rotation) MarshalJSON() ([]byte, error)
- func (t *Rotation) MergeRotation0(v Rotation0) error
- func (t *Rotation) MergeRotation1(v Rotation1) error
- func (t *Rotation) MergeRotation2(v Rotation2) error
- func (t *Rotation) MergeRotation3(v Rotation3) error
- func (t *Rotation) MergeRotation4(v Rotation4) error
- func (t *Rotation) UnmarshalJSON(b []byte) error
- type Rotation0
- type Rotation1
- type Rotation2
- type Rotation3
- type Rotation4
- type Route
- type RoutingDto
- type RoutingNotDelivering
- type RuleCi
- type RuleCost
- type RuleDataJob
- type RuleDto
- type RuleExt
- type RuleForecast
- type RuleKind
- type RuleNotify
- type RuleNullRate
- type RulePage
- type RuleQuery
- func (t RuleQuery) AsRuleQuery0() (RuleQuery0, error)
- func (t RuleQuery) AsRuleQuery1() (RuleQuery1, error)
- func (t RuleQuery) AsRuleQuery2() (RuleQuery2, error)
- func (t RuleQuery) AsRuleQuery3() (RuleQuery3, error)
- func (t RuleQuery) AsRuleQuery4() (RuleQuery4, error)
- func (t RuleQuery) AsRuleQuery5() (RuleQuery5, error)
- func (t RuleQuery) AsRuleQuery6() (RuleQuery6, error)
- func (t RuleQuery) AsRuleQuery7() (RuleQuery7, error)
- func (t RuleQuery) AsRuleQuery8() (RuleQuery8, error)
- func (t RuleQuery) AsRuleQuery9() (RuleQuery9, error)
- func (t RuleQuery) AsRuleQuery10() (RuleQuery10, error)
- func (t RuleQuery) AsRuleQuery11() (RuleQuery11, error)
- func (t RuleQuery) AsRuleQuery12() (RuleQuery12, error)
- func (t RuleQuery) AsRuleQuery13() (RuleQuery13, error)
- func (t RuleQuery) AsRuleQuery14() (RuleQuery14, error)
- func (t RuleQuery) AsRuleQuery15() (RuleQuery15, error)
- func (t RuleQuery) AsRuleQuery16() (RuleQuery16, error)
- func (t RuleQuery) AsRuleQuery17() (RuleQuery17, error)
- func (t RuleQuery) AsRuleQuery18() (RuleQuery18, error)
- func (t RuleQuery) AsRuleQuery19() (RuleQuery19, error)
- func (t RuleQuery) AsRuleQuery20() (RuleQuery20, error)
- func (t RuleQuery) AsRuleQuery21() (RuleQuery21, error)
- func (t RuleQuery) AsRuleQuery22() (RuleQuery22, error)
- func (t RuleQuery) AsRuleQuery23() (RuleQuery23, error)
- func (t RuleQuery) AsRuleQuery24() (RuleQuery24, error)
- func (t RuleQuery) AsRuleQuery25() (RuleQuery25, error)
- func (t RuleQuery) AsRuleQuery26() (RuleQuery26, error)
- func (t RuleQuery) AsRuleQuery27() (RuleQuery27, error)
- func (t RuleQuery) AsRuleQuery28() (RuleQuery28, error)
- func (t RuleQuery) AsRuleQuery29() (RuleQuery29, error)
- func (t RuleQuery) AsRuleQuery30() (RuleQuery30, error)
- func (t RuleQuery) AsRuleQuery31() (RuleQuery31, error)
- func (t RuleQuery) AsRuleQuery32() (RuleQuery32, error)
- func (t RuleQuery) AsRuleQuery33() (RuleQuery33, error)
- func (t RuleQuery) AsRuleQuery34() (RuleQuery34, error)
- func (t RuleQuery) AsRuleQuery35() (RuleQuery35, error)
- func (t RuleQuery) AsRuleQuery36() (RuleQuery36, error)
- func (t RuleQuery) AsRuleQuery37() (RuleQuery37, error)
- func (t RuleQuery) AsRuleQuery38() (RuleQuery38, error)
- func (t RuleQuery) AsRuleQuery39() (RuleQuery39, error)
- func (t RuleQuery) AsRuleQuery40() (RuleQuery40, error)
- func (t RuleQuery) AsRuleQuery41() (RuleQuery41, error)
- func (t RuleQuery) AsRuleQuery42() (RuleQuery42, error)
- func (t RuleQuery) AsRuleQuery43() (RuleQuery43, error)
- func (t RuleQuery) AsRuleQuery44() (RuleQuery44, error)
- func (t RuleQuery) AsRuleQuery45() (RuleQuery45, error)
- func (t RuleQuery) AsRuleQuery46() (RuleQuery46, error)
- func (t RuleQuery) AsRuleQuery47() (RuleQuery47, error)
- func (t RuleQuery) AsRuleQuery48() (RuleQuery48, error)
- func (t RuleQuery) AsRuleQuery49() (RuleQuery49, error)
- func (t RuleQuery) AsRuleQuery50() (RuleQuery50, error)
- func (t RuleQuery) AsRuleQuery51() (RuleQuery51, error)
- func (t RuleQuery) AsRuleQuery52() (RuleQuery52, error)
- func (t *RuleQuery) FromRuleQuery0(v RuleQuery0) error
- func (t *RuleQuery) FromRuleQuery1(v RuleQuery1) error
- func (t *RuleQuery) FromRuleQuery2(v RuleQuery2) error
- func (t *RuleQuery) FromRuleQuery3(v RuleQuery3) error
- func (t *RuleQuery) FromRuleQuery4(v RuleQuery4) error
- func (t *RuleQuery) FromRuleQuery5(v RuleQuery5) error
- func (t *RuleQuery) FromRuleQuery6(v RuleQuery6) error
- func (t *RuleQuery) FromRuleQuery7(v RuleQuery7) error
- func (t *RuleQuery) FromRuleQuery8(v RuleQuery8) error
- func (t *RuleQuery) FromRuleQuery9(v RuleQuery9) error
- func (t *RuleQuery) FromRuleQuery10(v RuleQuery10) error
- func (t *RuleQuery) FromRuleQuery11(v RuleQuery11) error
- func (t *RuleQuery) FromRuleQuery12(v RuleQuery12) error
- func (t *RuleQuery) FromRuleQuery13(v RuleQuery13) error
- func (t *RuleQuery) FromRuleQuery14(v RuleQuery14) error
- func (t *RuleQuery) FromRuleQuery15(v RuleQuery15) error
- func (t *RuleQuery) FromRuleQuery16(v RuleQuery16) error
- func (t *RuleQuery) FromRuleQuery17(v RuleQuery17) error
- func (t *RuleQuery) FromRuleQuery18(v RuleQuery18) error
- func (t *RuleQuery) FromRuleQuery19(v RuleQuery19) error
- func (t *RuleQuery) FromRuleQuery20(v RuleQuery20) error
- func (t *RuleQuery) FromRuleQuery21(v RuleQuery21) error
- func (t *RuleQuery) FromRuleQuery22(v RuleQuery22) error
- func (t *RuleQuery) FromRuleQuery23(v RuleQuery23) error
- func (t *RuleQuery) FromRuleQuery24(v RuleQuery24) error
- func (t *RuleQuery) FromRuleQuery25(v RuleQuery25) error
- func (t *RuleQuery) FromRuleQuery26(v RuleQuery26) error
- func (t *RuleQuery) FromRuleQuery27(v RuleQuery27) error
- func (t *RuleQuery) FromRuleQuery28(v RuleQuery28) error
- func (t *RuleQuery) FromRuleQuery29(v RuleQuery29) error
- func (t *RuleQuery) FromRuleQuery30(v RuleQuery30) error
- func (t *RuleQuery) FromRuleQuery31(v RuleQuery31) error
- func (t *RuleQuery) FromRuleQuery32(v RuleQuery32) error
- func (t *RuleQuery) FromRuleQuery33(v RuleQuery33) error
- func (t *RuleQuery) FromRuleQuery34(v RuleQuery34) error
- func (t *RuleQuery) FromRuleQuery35(v RuleQuery35) error
- func (t *RuleQuery) FromRuleQuery36(v RuleQuery36) error
- func (t *RuleQuery) FromRuleQuery37(v RuleQuery37) error
- func (t *RuleQuery) FromRuleQuery38(v RuleQuery38) error
- func (t *RuleQuery) FromRuleQuery39(v RuleQuery39) error
- func (t *RuleQuery) FromRuleQuery40(v RuleQuery40) error
- func (t *RuleQuery) FromRuleQuery41(v RuleQuery41) error
- func (t *RuleQuery) FromRuleQuery42(v RuleQuery42) error
- func (t *RuleQuery) FromRuleQuery43(v RuleQuery43) error
- func (t *RuleQuery) FromRuleQuery44(v RuleQuery44) error
- func (t *RuleQuery) FromRuleQuery45(v RuleQuery45) error
- func (t *RuleQuery) FromRuleQuery46(v RuleQuery46) error
- func (t *RuleQuery) FromRuleQuery47(v RuleQuery47) error
- func (t *RuleQuery) FromRuleQuery48(v RuleQuery48) error
- func (t *RuleQuery) FromRuleQuery49(v RuleQuery49) error
- func (t *RuleQuery) FromRuleQuery50(v RuleQuery50) error
- func (t *RuleQuery) FromRuleQuery51(v RuleQuery51) error
- func (t *RuleQuery) FromRuleQuery52(v RuleQuery52) error
- func (t RuleQuery) MarshalJSON() ([]byte, error)
- func (t *RuleQuery) MergeRuleQuery0(v RuleQuery0) error
- func (t *RuleQuery) MergeRuleQuery1(v RuleQuery1) error
- func (t *RuleQuery) MergeRuleQuery2(v RuleQuery2) error
- func (t *RuleQuery) MergeRuleQuery3(v RuleQuery3) error
- func (t *RuleQuery) MergeRuleQuery4(v RuleQuery4) error
- func (t *RuleQuery) MergeRuleQuery5(v RuleQuery5) error
- func (t *RuleQuery) MergeRuleQuery6(v RuleQuery6) error
- func (t *RuleQuery) MergeRuleQuery7(v RuleQuery7) error
- func (t *RuleQuery) MergeRuleQuery8(v RuleQuery8) error
- func (t *RuleQuery) MergeRuleQuery9(v RuleQuery9) error
- func (t *RuleQuery) MergeRuleQuery10(v RuleQuery10) error
- func (t *RuleQuery) MergeRuleQuery11(v RuleQuery11) error
- func (t *RuleQuery) MergeRuleQuery12(v RuleQuery12) error
- func (t *RuleQuery) MergeRuleQuery13(v RuleQuery13) error
- func (t *RuleQuery) MergeRuleQuery14(v RuleQuery14) error
- func (t *RuleQuery) MergeRuleQuery15(v RuleQuery15) error
- func (t *RuleQuery) MergeRuleQuery16(v RuleQuery16) error
- func (t *RuleQuery) MergeRuleQuery17(v RuleQuery17) error
- func (t *RuleQuery) MergeRuleQuery18(v RuleQuery18) error
- func (t *RuleQuery) MergeRuleQuery19(v RuleQuery19) error
- func (t *RuleQuery) MergeRuleQuery20(v RuleQuery20) error
- func (t *RuleQuery) MergeRuleQuery21(v RuleQuery21) error
- func (t *RuleQuery) MergeRuleQuery22(v RuleQuery22) error
- func (t *RuleQuery) MergeRuleQuery23(v RuleQuery23) error
- func (t *RuleQuery) MergeRuleQuery24(v RuleQuery24) error
- func (t *RuleQuery) MergeRuleQuery25(v RuleQuery25) error
- func (t *RuleQuery) MergeRuleQuery26(v RuleQuery26) error
- func (t *RuleQuery) MergeRuleQuery27(v RuleQuery27) error
- func (t *RuleQuery) MergeRuleQuery28(v RuleQuery28) error
- func (t *RuleQuery) MergeRuleQuery29(v RuleQuery29) error
- func (t *RuleQuery) MergeRuleQuery30(v RuleQuery30) error
- func (t *RuleQuery) MergeRuleQuery31(v RuleQuery31) error
- func (t *RuleQuery) MergeRuleQuery32(v RuleQuery32) error
- func (t *RuleQuery) MergeRuleQuery33(v RuleQuery33) error
- func (t *RuleQuery) MergeRuleQuery34(v RuleQuery34) error
- func (t *RuleQuery) MergeRuleQuery35(v RuleQuery35) error
- func (t *RuleQuery) MergeRuleQuery36(v RuleQuery36) error
- func (t *RuleQuery) MergeRuleQuery37(v RuleQuery37) error
- func (t *RuleQuery) MergeRuleQuery38(v RuleQuery38) error
- func (t *RuleQuery) MergeRuleQuery39(v RuleQuery39) error
- func (t *RuleQuery) MergeRuleQuery40(v RuleQuery40) error
- func (t *RuleQuery) MergeRuleQuery41(v RuleQuery41) error
- func (t *RuleQuery) MergeRuleQuery42(v RuleQuery42) error
- func (t *RuleQuery) MergeRuleQuery43(v RuleQuery43) error
- func (t *RuleQuery) MergeRuleQuery44(v RuleQuery44) error
- func (t *RuleQuery) MergeRuleQuery45(v RuleQuery45) error
- func (t *RuleQuery) MergeRuleQuery46(v RuleQuery46) error
- func (t *RuleQuery) MergeRuleQuery47(v RuleQuery47) error
- func (t *RuleQuery) MergeRuleQuery48(v RuleQuery48) error
- func (t *RuleQuery) MergeRuleQuery49(v RuleQuery49) error
- func (t *RuleQuery) MergeRuleQuery50(v RuleQuery50) error
- func (t *RuleQuery) MergeRuleQuery51(v RuleQuery51) error
- func (t *RuleQuery) MergeRuleQuery52(v RuleQuery52) error
- func (t *RuleQuery) UnmarshalJSON(b []byte) error
- type RuleQuery0
- type RuleQuery1
- type RuleQuery2
- type RuleQuery3
- type RuleQuery4
- type RuleQuery5
- type RuleQuery6
- type RuleQuery7
- type RuleQuery8
- type RuleQuery9
- type RuleQuery10
- type RuleQuery11
- type RuleQuery12
- type RuleQuery13
- type RuleQuery14
- type RuleQuery15
- type RuleQuery16
- type RuleQuery17
- type RuleQuery18
- type RuleQuery19
- type RuleQuery20
- type RuleQuery21
- type RuleQuery22
- type RuleQuery23
- type RuleQuery24
- type RuleQuery25
- type RuleQuery26
- type RuleQuery27
- type RuleQuery28
- type RuleQuery29
- type RuleQuery30
- type RuleQuery31
- type RuleQuery32
- type RuleQuery33
- type RuleQuery34
- type RuleQuery35
- type RuleQuery36
- type RuleQuery37
- type RuleQuery38
- type RuleQuery39
- type RuleQuery40
- type RuleQuery41
- type RuleQuery42
- type RuleQuery43
- type RuleQuery44
- type RuleQuery45
- type RuleQuery46
- type RuleQuery47
- type RuleQuery48
- type RuleQuery49
- type RuleQuery50
- type RuleQuery51
- type RuleQuery52
- type RuleSpec
- type RuleSpecRequest
- type RumMetric
- type RumMetricQuery
- type RunRequested
- type Schedule
- type ScheduleDto
- type SchedulePage
- type ScheduleSpec
- type ScopeNode
- type ScorecardHealth
- type ScorecardTreeNode
- type Severity
- type SilenceDto
- type SilencePage
- type SilenceRequest
- type Sla
- type Sli
- func (t Sli) AsSli0() (Sli0, error)
- func (t Sli) AsSli1() (Sli1, error)
- func (t Sli) AsSli2() (Sli2, error)
- func (t Sli) AsSli3() (Sli3, error)
- func (t Sli) AsSli4() (Sli4, error)
- func (t Sli) AsSli5() (Sli5, error)
- func (t *Sli) FromSli0(v Sli0) error
- func (t *Sli) FromSli1(v Sli1) error
- func (t *Sli) FromSli2(v Sli2) error
- func (t *Sli) FromSli3(v Sli3) error
- func (t *Sli) FromSli4(v Sli4) error
- func (t *Sli) FromSli5(v Sli5) error
- func (t Sli) MarshalJSON() ([]byte, error)
- func (t *Sli) MergeSli0(v Sli0) error
- func (t *Sli) MergeSli1(v Sli1) error
- func (t *Sli) MergeSli2(v Sli2) error
- func (t *Sli) MergeSli3(v Sli3) error
- func (t *Sli) MergeSli4(v Sli4) error
- func (t *Sli) MergeSli5(v Sli5) error
- func (t *Sli) UnmarshalJSON(b []byte) error
- type Sli0
- type Sli1
- type Sli2
- type Sli3
- type Sli4
- type Sli5
- type SloBurn
- type SloBurnMode
- func (t SloBurnMode) AsSloBurnMode0() (SloBurnMode0, error)
- func (t SloBurnMode) AsSloBurnMode1() (SloBurnMode1, error)
- func (t SloBurnMode) AsSloBurnMode2() (SloBurnMode2, error)
- func (t SloBurnMode) AsSloBurnMode3() (SloBurnMode3, error)
- func (t SloBurnMode) AsSloBurnMode4() (SloBurnMode4, error)
- func (t *SloBurnMode) FromSloBurnMode0(v SloBurnMode0) error
- func (t *SloBurnMode) FromSloBurnMode1(v SloBurnMode1) error
- func (t *SloBurnMode) FromSloBurnMode2(v SloBurnMode2) error
- func (t *SloBurnMode) FromSloBurnMode3(v SloBurnMode3) error
- func (t *SloBurnMode) FromSloBurnMode4(v SloBurnMode4) error
- func (t SloBurnMode) MarshalJSON() ([]byte, error)
- func (t *SloBurnMode) MergeSloBurnMode0(v SloBurnMode0) error
- func (t *SloBurnMode) MergeSloBurnMode1(v SloBurnMode1) error
- func (t *SloBurnMode) MergeSloBurnMode2(v SloBurnMode2) error
- func (t *SloBurnMode) MergeSloBurnMode3(v SloBurnMode3) error
- func (t *SloBurnMode) MergeSloBurnMode4(v SloBurnMode4) error
- func (t *SloBurnMode) UnmarshalJSON(b []byte) error
- type SloBurnMode0
- type SloBurnMode0Type
- type SloBurnMode1
- type SloBurnMode1Type
- type SloBurnMode2
- type SloBurnMode2Type
- type SloBurnMode3
- type SloBurnMode3Type
- type SloBurnMode4
- type SloBurnMode4Type
- type SloDto
- type SloPage
- type SloSpec
- type SloTier
- type StaleAs
- type TargetSpec
- type TemplateDto
- type TemplatePage
- type TestRequest
- type TestSent
- type TimeRestriction
- type TraceFacet
- type TraceQlMetric
- type TransactionQuery
- type TxSignal
- type TypeDto
- type TypePage
- type TypeRequest
- type UpdateDashboardRequest
- type ValidateResult
- type VulnNewQuery
- type WaitInvestigation
- type WindowDto
- type WindowKind
- type WindowMode
- type WindowPage
- type WindowRequest
- type WindowScope
- type WorkflowDto
- type WorkflowPage
- type WorkflowRequest
Constants ¶
const ( BearerScopes = "bearer.Scopes" SessionScopes = "session.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func NewDeleteV1ProjectsPrjAgentConfigsCRequest ¶
func NewDeleteV1ProjectsPrjAgentConfigsCRequest(server string, prj string, cfg string) (*http.Request, error)
NewDeleteV1ProjectsPrjAgentConfigsCRequest generates requests for DeleteV1ProjectsPrjAgentConfigsC
func NewDeleteV1ProjectsPrjAlertRulesRuleRequest ¶
func NewDeleteV1ProjectsPrjAlertRulesRuleRequest(server string, prj string, rule string, params *DeleteV1ProjectsPrjAlertRulesRuleParams) (*http.Request, error)
NewDeleteV1ProjectsPrjAlertRulesRuleRequest generates requests for DeleteV1ProjectsPrjAlertRulesRule
func NewDeleteV1ProjectsPrjCatalogServicesSRequest ¶ added in v0.3.4
func NewDeleteV1ProjectsPrjCatalogServicesSRequest(server string, prj string, s string) (*http.Request, error)
NewDeleteV1ProjectsPrjCatalogServicesSRequest generates requests for DeleteV1ProjectsPrjCatalogServicesS
func NewDeleteV1ProjectsPrjCheckSecretsNameRequest ¶
func NewDeleteV1ProjectsPrjCheckSecretsNameRequest(server string, prj string, name string) (*http.Request, error)
NewDeleteV1ProjectsPrjCheckSecretsNameRequest generates requests for DeleteV1ProjectsPrjCheckSecretsName
func NewDeleteV1ProjectsPrjDashboardsDashRequest ¶
func NewDeleteV1ProjectsPrjDashboardsDashRequest(server string, prj string, dash string) (*http.Request, error)
NewDeleteV1ProjectsPrjDashboardsDashRequest generates requests for DeleteV1ProjectsPrjDashboardsDash
func NewDeleteV1ProjectsPrjEscalationPoliciesPolRequest ¶
func NewDeleteV1ProjectsPrjEscalationPoliciesPolRequest(server string, prj string, pol string) (*http.Request, error)
NewDeleteV1ProjectsPrjEscalationPoliciesPolRequest generates requests for DeleteV1ProjectsPrjEscalationPoliciesPol
func NewDeleteV1ProjectsPrjHealthTokensTokenRequest ¶
func NewDeleteV1ProjectsPrjHealthTokensTokenRequest(server string, prj string, token string) (*http.Request, error)
NewDeleteV1ProjectsPrjHealthTokensTokenRequest generates requests for DeleteV1ProjectsPrjHealthTokensToken
func NewDeleteV1ProjectsPrjIncidentTypesItyRequest ¶
func NewDeleteV1ProjectsPrjIncidentTypesItyRequest(server string, prj string, ity string) (*http.Request, error)
NewDeleteV1ProjectsPrjIncidentTypesItyRequest generates requests for DeleteV1ProjectsPrjIncidentTypesIty
func NewDeleteV1ProjectsPrjMaintenanceWindowsWindowRequest ¶
func NewDeleteV1ProjectsPrjMaintenanceWindowsWindowRequest(server string, prj string, window string) (*http.Request, error)
NewDeleteV1ProjectsPrjMaintenanceWindowsWindowRequest generates requests for DeleteV1ProjectsPrjMaintenanceWindowsWindow
func NewDeleteV1ProjectsPrjMonitorsMonitorRequest ¶
func NewDeleteV1ProjectsPrjMonitorsMonitorRequest(server string, prj string, monitor string) (*http.Request, error)
NewDeleteV1ProjectsPrjMonitorsMonitorRequest generates requests for DeleteV1ProjectsPrjMonitorsMonitor
func NewDeleteV1ProjectsPrjOncallSchedulesSchRequest ¶
func NewDeleteV1ProjectsPrjOncallSchedulesSchRequest(server string, prj string, sch string) (*http.Request, error)
NewDeleteV1ProjectsPrjOncallSchedulesSchRequest generates requests for DeleteV1ProjectsPrjOncallSchedulesSch
func NewDeleteV1ProjectsPrjReceiversReceiverRequest ¶
func NewDeleteV1ProjectsPrjReceiversReceiverRequest(server string, prj string, receiver string) (*http.Request, error)
NewDeleteV1ProjectsPrjReceiversReceiverRequest generates requests for DeleteV1ProjectsPrjReceiversReceiver
func NewDeleteV1ProjectsPrjRequest ¶
func NewDeleteV1ProjectsPrjRequest(server string, prj string, params *DeleteV1ProjectsPrjParams) (*http.Request, error)
NewDeleteV1ProjectsPrjRequest generates requests for DeleteV1ProjectsPrj
func NewDeleteV1ProjectsPrjRuleGroupsNameRequest ¶
func NewDeleteV1ProjectsPrjRuleGroupsNameRequest(server string, prj string, name string) (*http.Request, error)
NewDeleteV1ProjectsPrjRuleGroupsNameRequest generates requests for DeleteV1ProjectsPrjRuleGroupsName
func NewDeleteV1ProjectsPrjSilencesSilenceRequest ¶
func NewDeleteV1ProjectsPrjSilencesSilenceRequest(server string, prj string, silence string) (*http.Request, error)
NewDeleteV1ProjectsPrjSilencesSilenceRequest generates requests for DeleteV1ProjectsPrjSilencesSilence
func NewDeleteV1ProjectsPrjSlosSloRequest ¶
func NewDeleteV1ProjectsPrjSlosSloRequest(server string, prj string, slo string) (*http.Request, error)
NewDeleteV1ProjectsPrjSlosSloRequest generates requests for DeleteV1ProjectsPrjSlosSlo
func NewDeleteV1ProjectsPrjTemplatesIdRequest ¶
func NewDeleteV1ProjectsPrjTemplatesIdRequest(server string, prj string, id string) (*http.Request, error)
NewDeleteV1ProjectsPrjTemplatesIdRequest generates requests for DeleteV1ProjectsPrjTemplatesId
func NewDeleteV1ProjectsPrjWorkflowsWRequest ¶
func NewDeleteV1ProjectsPrjWorkflowsWRequest(server string, prj string, w string) (*http.Request, error)
NewDeleteV1ProjectsPrjWorkflowsWRequest generates requests for DeleteV1ProjectsPrjWorkflowsW
func NewGetV1OrgsOrgProjectsRequest ¶
func NewGetV1OrgsOrgProjectsRequest(server string, org string, params *GetV1OrgsOrgProjectsParams) (*http.Request, error)
NewGetV1OrgsOrgProjectsRequest generates requests for GetV1OrgsOrgProjects
func NewGetV1ProjectsPrjAgentConfigsCRequest ¶
func NewGetV1ProjectsPrjAgentConfigsCRequest(server string, prj string, cfg string) (*http.Request, error)
NewGetV1ProjectsPrjAgentConfigsCRequest generates requests for GetV1ProjectsPrjAgentConfigsC
func NewGetV1ProjectsPrjAgentConfigsRequest ¶
func NewGetV1ProjectsPrjAgentConfigsRequest(server string, prj string, params *GetV1ProjectsPrjAgentConfigsParams) (*http.Request, error)
NewGetV1ProjectsPrjAgentConfigsRequest generates requests for GetV1ProjectsPrjAgentConfigs
func NewGetV1ProjectsPrjAlertRulesRequest ¶
func NewGetV1ProjectsPrjAlertRulesRequest(server string, prj string, params *GetV1ProjectsPrjAlertRulesParams) (*http.Request, error)
NewGetV1ProjectsPrjAlertRulesRequest generates requests for GetV1ProjectsPrjAlertRules
func NewGetV1ProjectsPrjAlertRulesRuleRequest ¶
func NewGetV1ProjectsPrjAlertRulesRuleRequest(server string, prj string, rule string) (*http.Request, error)
NewGetV1ProjectsPrjAlertRulesRuleRequest generates requests for GetV1ProjectsPrjAlertRulesRule
func NewGetV1ProjectsPrjCatalogServicesRequest ¶
func NewGetV1ProjectsPrjCatalogServicesRequest(server string, prj string, params *GetV1ProjectsPrjCatalogServicesParams) (*http.Request, error)
NewGetV1ProjectsPrjCatalogServicesRequest generates requests for GetV1ProjectsPrjCatalogServices
func NewGetV1ProjectsPrjCatalogServicesSRequest ¶
func NewGetV1ProjectsPrjCatalogServicesSRequest(server string, prj string, s string) (*http.Request, error)
NewGetV1ProjectsPrjCatalogServicesSRequest generates requests for GetV1ProjectsPrjCatalogServicesS
func NewGetV1ProjectsPrjCheckSecretsRequest ¶
func NewGetV1ProjectsPrjCheckSecretsRequest(server string, prj string, params *GetV1ProjectsPrjCheckSecretsParams) (*http.Request, error)
NewGetV1ProjectsPrjCheckSecretsRequest generates requests for GetV1ProjectsPrjCheckSecrets
func NewGetV1ProjectsPrjDashboardsDashRequest ¶
func NewGetV1ProjectsPrjDashboardsDashRequest(server string, prj string, dash string) (*http.Request, error)
NewGetV1ProjectsPrjDashboardsDashRequest generates requests for GetV1ProjectsPrjDashboardsDash
func NewGetV1ProjectsPrjDashboardsRequest ¶
func NewGetV1ProjectsPrjDashboardsRequest(server string, prj string, params *GetV1ProjectsPrjDashboardsParams) (*http.Request, error)
NewGetV1ProjectsPrjDashboardsRequest generates requests for GetV1ProjectsPrjDashboards
func NewGetV1ProjectsPrjEscalationPoliciesPolRequest ¶
func NewGetV1ProjectsPrjEscalationPoliciesPolRequest(server string, prj string, pol string) (*http.Request, error)
NewGetV1ProjectsPrjEscalationPoliciesPolRequest generates requests for GetV1ProjectsPrjEscalationPoliciesPol
func NewGetV1ProjectsPrjEscalationPoliciesRequest ¶
func NewGetV1ProjectsPrjEscalationPoliciesRequest(server string, prj string, params *GetV1ProjectsPrjEscalationPoliciesParams) (*http.Request, error)
NewGetV1ProjectsPrjEscalationPoliciesRequest generates requests for GetV1ProjectsPrjEscalationPolicies
func NewGetV1ProjectsPrjHealthTokensRequest ¶
func NewGetV1ProjectsPrjHealthTokensRequest(server string, prj string, params *GetV1ProjectsPrjHealthTokensParams) (*http.Request, error)
NewGetV1ProjectsPrjHealthTokensRequest generates requests for GetV1ProjectsPrjHealthTokens
func NewGetV1ProjectsPrjIncidentTypesItyRequest ¶
func NewGetV1ProjectsPrjIncidentTypesItyRequest(server string, prj string, ity string) (*http.Request, error)
NewGetV1ProjectsPrjIncidentTypesItyRequest generates requests for GetV1ProjectsPrjIncidentTypesIty
func NewGetV1ProjectsPrjIncidentTypesRequest ¶
func NewGetV1ProjectsPrjIncidentTypesRequest(server string, prj string, params *GetV1ProjectsPrjIncidentTypesParams) (*http.Request, error)
NewGetV1ProjectsPrjIncidentTypesRequest generates requests for GetV1ProjectsPrjIncidentTypes
func NewGetV1ProjectsPrjMaintenanceWindowsRequest ¶
func NewGetV1ProjectsPrjMaintenanceWindowsRequest(server string, prj string, params *GetV1ProjectsPrjMaintenanceWindowsParams) (*http.Request, error)
NewGetV1ProjectsPrjMaintenanceWindowsRequest generates requests for GetV1ProjectsPrjMaintenanceWindows
func NewGetV1ProjectsPrjMaintenanceWindowsWindowRequest ¶
func NewGetV1ProjectsPrjMaintenanceWindowsWindowRequest(server string, prj string, window string) (*http.Request, error)
NewGetV1ProjectsPrjMaintenanceWindowsWindowRequest generates requests for GetV1ProjectsPrjMaintenanceWindowsWindow
func NewGetV1ProjectsPrjMonitorsMonitorRequest ¶
func NewGetV1ProjectsPrjMonitorsMonitorRequest(server string, prj string, monitor string) (*http.Request, error)
NewGetV1ProjectsPrjMonitorsMonitorRequest generates requests for GetV1ProjectsPrjMonitorsMonitor
func NewGetV1ProjectsPrjMonitorsRequest ¶
func NewGetV1ProjectsPrjMonitorsRequest(server string, prj string, params *GetV1ProjectsPrjMonitorsParams) (*http.Request, error)
NewGetV1ProjectsPrjMonitorsRequest generates requests for GetV1ProjectsPrjMonitors
func NewGetV1ProjectsPrjOncallSchedulesRequest ¶
func NewGetV1ProjectsPrjOncallSchedulesRequest(server string, prj string, params *GetV1ProjectsPrjOncallSchedulesParams) (*http.Request, error)
NewGetV1ProjectsPrjOncallSchedulesRequest generates requests for GetV1ProjectsPrjOncallSchedules
func NewGetV1ProjectsPrjOncallSchedulesSchRequest ¶
func NewGetV1ProjectsPrjOncallSchedulesSchRequest(server string, prj string, sch string) (*http.Request, error)
NewGetV1ProjectsPrjOncallSchedulesSchRequest generates requests for GetV1ProjectsPrjOncallSchedulesSch
func NewGetV1ProjectsPrjReceiversReceiverRequest ¶
func NewGetV1ProjectsPrjReceiversReceiverRequest(server string, prj string, receiver string) (*http.Request, error)
NewGetV1ProjectsPrjReceiversReceiverRequest generates requests for GetV1ProjectsPrjReceiversReceiver
func NewGetV1ProjectsPrjReceiversRequest ¶
func NewGetV1ProjectsPrjReceiversRequest(server string, prj string, params *GetV1ProjectsPrjReceiversParams) (*http.Request, error)
NewGetV1ProjectsPrjReceiversRequest generates requests for GetV1ProjectsPrjReceivers
func NewGetV1ProjectsPrjRequest ¶
NewGetV1ProjectsPrjRequest generates requests for GetV1ProjectsPrj
func NewGetV1ProjectsPrjRoutingRequest ¶
NewGetV1ProjectsPrjRoutingRequest generates requests for GetV1ProjectsPrjRouting
func NewGetV1ProjectsPrjSilencesRequest ¶
func NewGetV1ProjectsPrjSilencesRequest(server string, prj string, params *GetV1ProjectsPrjSilencesParams) (*http.Request, error)
NewGetV1ProjectsPrjSilencesRequest generates requests for GetV1ProjectsPrjSilences
func NewGetV1ProjectsPrjSilencesSilenceRequest ¶
func NewGetV1ProjectsPrjSilencesSilenceRequest(server string, prj string, silence string) (*http.Request, error)
NewGetV1ProjectsPrjSilencesSilenceRequest generates requests for GetV1ProjectsPrjSilencesSilence
func NewGetV1ProjectsPrjSlosRequest ¶
func NewGetV1ProjectsPrjSlosRequest(server string, prj string, params *GetV1ProjectsPrjSlosParams) (*http.Request, error)
NewGetV1ProjectsPrjSlosRequest generates requests for GetV1ProjectsPrjSlos
func NewGetV1ProjectsPrjSlosSloRequest ¶
func NewGetV1ProjectsPrjSlosSloRequest(server string, prj string, slo string) (*http.Request, error)
NewGetV1ProjectsPrjSlosSloRequest generates requests for GetV1ProjectsPrjSlosSlo
func NewGetV1ProjectsPrjTemplatesIdRequest ¶
func NewGetV1ProjectsPrjTemplatesIdRequest(server string, prj string, id string) (*http.Request, error)
NewGetV1ProjectsPrjTemplatesIdRequest generates requests for GetV1ProjectsPrjTemplatesId
func NewGetV1ProjectsPrjTemplatesRequest ¶
func NewGetV1ProjectsPrjTemplatesRequest(server string, prj string, params *GetV1ProjectsPrjTemplatesParams) (*http.Request, error)
NewGetV1ProjectsPrjTemplatesRequest generates requests for GetV1ProjectsPrjTemplates
func NewGetV1ProjectsPrjWorkflowsRequest ¶
func NewGetV1ProjectsPrjWorkflowsRequest(server string, prj string, params *GetV1ProjectsPrjWorkflowsParams) (*http.Request, error)
NewGetV1ProjectsPrjWorkflowsRequest generates requests for GetV1ProjectsPrjWorkflows
func NewGetV1ProjectsPrjWorkflowsWRequest ¶
func NewGetV1ProjectsPrjWorkflowsWRequest(server string, prj string, w string) (*http.Request, error)
NewGetV1ProjectsPrjWorkflowsWRequest generates requests for GetV1ProjectsPrjWorkflowsW
func NewPatchV1ProjectsPrjMonitorsMonitorRequestWithApplicationMergePatchPlusJSONBody ¶ added in v0.3.2
func NewPatchV1ProjectsPrjMonitorsMonitorRequestWithApplicationMergePatchPlusJSONBody(server string, prj string, monitor string, params *PatchV1ProjectsPrjMonitorsMonitorParams, body PatchV1ProjectsPrjMonitorsMonitorApplicationMergePatchPlusJSONRequestBody) (*http.Request, error)
NewPatchV1ProjectsPrjMonitorsMonitorRequestWithApplicationMergePatchPlusJSONBody calls the generic PatchV1ProjectsPrjMonitorsMonitor builder with application/merge-patch+json body
func NewPatchV1ProjectsPrjMonitorsMonitorRequestWithBody ¶ added in v0.3.2
func NewPatchV1ProjectsPrjMonitorsMonitorRequestWithBody(server string, prj string, monitor string, params *PatchV1ProjectsPrjMonitorsMonitorParams, contentType string, body io.Reader) (*http.Request, error)
NewPatchV1ProjectsPrjMonitorsMonitorRequestWithBody generates requests for PatchV1ProjectsPrjMonitorsMonitor with any type of body
func NewPatchV1ProjectsPrjRequest ¶
func NewPatchV1ProjectsPrjRequest(server string, prj string, body PatchV1ProjectsPrjJSONRequestBody) (*http.Request, error)
NewPatchV1ProjectsPrjRequest calls the generic PatchV1ProjectsPrj builder with application/json body
func NewPatchV1ProjectsPrjRequestWithBody ¶
func NewPatchV1ProjectsPrjRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
NewPatchV1ProjectsPrjRequestWithBody generates requests for PatchV1ProjectsPrj with any type of body
func NewPatchV1ProjectsPrjTemplatesIdRequest ¶
func NewPatchV1ProjectsPrjTemplatesIdRequest(server string, prj string, id string, body PatchV1ProjectsPrjTemplatesIdJSONRequestBody) (*http.Request, error)
NewPatchV1ProjectsPrjTemplatesIdRequest calls the generic PatchV1ProjectsPrjTemplatesId builder with application/json body
func NewPatchV1ProjectsPrjTemplatesIdRequestWithBody ¶
func NewPatchV1ProjectsPrjTemplatesIdRequestWithBody(server string, prj string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPatchV1ProjectsPrjTemplatesIdRequestWithBody generates requests for PatchV1ProjectsPrjTemplatesId with any type of body
func NewPostV1OrgsOrgProjectsRequest ¶
func NewPostV1OrgsOrgProjectsRequest(server string, org string, body PostV1OrgsOrgProjectsJSONRequestBody) (*http.Request, error)
NewPostV1OrgsOrgProjectsRequest calls the generic PostV1OrgsOrgProjects builder with application/json body
func NewPostV1OrgsOrgProjectsRequestWithBody ¶
func NewPostV1OrgsOrgProjectsRequestWithBody(server string, org string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1OrgsOrgProjectsRequestWithBody generates requests for PostV1OrgsOrgProjects with any type of body
func NewPostV1ProjectsPrjAgentConfigsCRequest ¶
func NewPostV1ProjectsPrjAgentConfigsCRequest(server string, prj string, cfg string, params *PostV1ProjectsPrjAgentConfigsCParams) (*http.Request, error)
NewPostV1ProjectsPrjAgentConfigsCRequest generates requests for PostV1ProjectsPrjAgentConfigsC
func NewPostV1ProjectsPrjAgentConfigsRequest ¶
func NewPostV1ProjectsPrjAgentConfigsRequest(server string, prj string, body PostV1ProjectsPrjAgentConfigsJSONRequestBody) (*http.Request, error)
NewPostV1ProjectsPrjAgentConfigsRequest calls the generic PostV1ProjectsPrjAgentConfigs builder with application/json body
func NewPostV1ProjectsPrjAgentConfigsRequestWithBody ¶
func NewPostV1ProjectsPrjAgentConfigsRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1ProjectsPrjAgentConfigsRequestWithBody generates requests for PostV1ProjectsPrjAgentConfigs with any type of body
func NewPostV1ProjectsPrjAlertRulesRequest ¶
func NewPostV1ProjectsPrjAlertRulesRequest(server string, prj string, body PostV1ProjectsPrjAlertRulesJSONRequestBody) (*http.Request, error)
NewPostV1ProjectsPrjAlertRulesRequest calls the generic PostV1ProjectsPrjAlertRules builder with application/json body
func NewPostV1ProjectsPrjAlertRulesRequestWithBody ¶
func NewPostV1ProjectsPrjAlertRulesRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1ProjectsPrjAlertRulesRequestWithBody generates requests for PostV1ProjectsPrjAlertRules with any type of body
func NewPostV1ProjectsPrjDashboardsRequest ¶
func NewPostV1ProjectsPrjDashboardsRequest(server string, prj string, body PostV1ProjectsPrjDashboardsJSONRequestBody) (*http.Request, error)
NewPostV1ProjectsPrjDashboardsRequest calls the generic PostV1ProjectsPrjDashboards builder with application/json body
func NewPostV1ProjectsPrjDashboardsRequestWithBody ¶
func NewPostV1ProjectsPrjDashboardsRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1ProjectsPrjDashboardsRequestWithBody generates requests for PostV1ProjectsPrjDashboards with any type of body
func NewPostV1ProjectsPrjEscalationPoliciesRequest ¶
func NewPostV1ProjectsPrjEscalationPoliciesRequest(server string, prj string, body PostV1ProjectsPrjEscalationPoliciesJSONRequestBody) (*http.Request, error)
NewPostV1ProjectsPrjEscalationPoliciesRequest calls the generic PostV1ProjectsPrjEscalationPolicies builder with application/json body
func NewPostV1ProjectsPrjEscalationPoliciesRequestWithBody ¶
func NewPostV1ProjectsPrjEscalationPoliciesRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1ProjectsPrjEscalationPoliciesRequestWithBody generates requests for PostV1ProjectsPrjEscalationPolicies with any type of body
func NewPostV1ProjectsPrjHealthTokensRequest ¶
func NewPostV1ProjectsPrjHealthTokensRequest(server string, prj string, body PostV1ProjectsPrjHealthTokensJSONRequestBody) (*http.Request, error)
NewPostV1ProjectsPrjHealthTokensRequest calls the generic PostV1ProjectsPrjHealthTokens builder with application/json body
func NewPostV1ProjectsPrjHealthTokensRequestWithBody ¶
func NewPostV1ProjectsPrjHealthTokensRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1ProjectsPrjHealthTokensRequestWithBody generates requests for PostV1ProjectsPrjHealthTokens with any type of body
func NewPostV1ProjectsPrjIncidentTypesRequest ¶
func NewPostV1ProjectsPrjIncidentTypesRequest(server string, prj string, body PostV1ProjectsPrjIncidentTypesJSONRequestBody) (*http.Request, error)
NewPostV1ProjectsPrjIncidentTypesRequest calls the generic PostV1ProjectsPrjIncidentTypes builder with application/json body
func NewPostV1ProjectsPrjIncidentTypesRequestWithBody ¶
func NewPostV1ProjectsPrjIncidentTypesRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1ProjectsPrjIncidentTypesRequestWithBody generates requests for PostV1ProjectsPrjIncidentTypes with any type of body
func NewPostV1ProjectsPrjMaintenanceWindowsRequest ¶
func NewPostV1ProjectsPrjMaintenanceWindowsRequest(server string, prj string, body PostV1ProjectsPrjMaintenanceWindowsJSONRequestBody) (*http.Request, error)
NewPostV1ProjectsPrjMaintenanceWindowsRequest calls the generic PostV1ProjectsPrjMaintenanceWindows builder with application/json body
func NewPostV1ProjectsPrjMaintenanceWindowsRequestWithBody ¶
func NewPostV1ProjectsPrjMaintenanceWindowsRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1ProjectsPrjMaintenanceWindowsRequestWithBody generates requests for PostV1ProjectsPrjMaintenanceWindows with any type of body
func NewPostV1ProjectsPrjMonitorsMonitorRequest ¶
func NewPostV1ProjectsPrjMonitorsMonitorRequest(server string, prj string, monitor string, params *PostV1ProjectsPrjMonitorsMonitorParams) (*http.Request, error)
NewPostV1ProjectsPrjMonitorsMonitorRequest generates requests for PostV1ProjectsPrjMonitorsMonitor
func NewPostV1ProjectsPrjMonitorsRequest ¶
func NewPostV1ProjectsPrjMonitorsRequest(server string, prj string, params *PostV1ProjectsPrjMonitorsParams, body PostV1ProjectsPrjMonitorsJSONRequestBody) (*http.Request, error)
NewPostV1ProjectsPrjMonitorsRequest calls the generic PostV1ProjectsPrjMonitors builder with application/json body
func NewPostV1ProjectsPrjMonitorsRequestWithBody ¶
func NewPostV1ProjectsPrjMonitorsRequestWithBody(server string, prj string, params *PostV1ProjectsPrjMonitorsParams, contentType string, body io.Reader) (*http.Request, error)
NewPostV1ProjectsPrjMonitorsRequestWithBody generates requests for PostV1ProjectsPrjMonitors with any type of body
func NewPostV1ProjectsPrjOncallSchedulesRequest ¶
func NewPostV1ProjectsPrjOncallSchedulesRequest(server string, prj string, body PostV1ProjectsPrjOncallSchedulesJSONRequestBody) (*http.Request, error)
NewPostV1ProjectsPrjOncallSchedulesRequest calls the generic PostV1ProjectsPrjOncallSchedules builder with application/json body
func NewPostV1ProjectsPrjOncallSchedulesRequestWithBody ¶
func NewPostV1ProjectsPrjOncallSchedulesRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1ProjectsPrjOncallSchedulesRequestWithBody generates requests for PostV1ProjectsPrjOncallSchedules with any type of body
func NewPostV1ProjectsPrjReceiversReceiverRequest ¶
func NewPostV1ProjectsPrjReceiversReceiverRequest(server string, prj string, receiver string) (*http.Request, error)
NewPostV1ProjectsPrjReceiversReceiverRequest generates requests for PostV1ProjectsPrjReceiversReceiver
func NewPostV1ProjectsPrjReceiversRequest ¶
func NewPostV1ProjectsPrjReceiversRequest(server string, prj string, body PostV1ProjectsPrjReceiversJSONRequestBody) (*http.Request, error)
NewPostV1ProjectsPrjReceiversRequest calls the generic PostV1ProjectsPrjReceivers builder with application/json body
func NewPostV1ProjectsPrjReceiversRequestWithBody ¶
func NewPostV1ProjectsPrjReceiversRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1ProjectsPrjReceiversRequestWithBody generates requests for PostV1ProjectsPrjReceivers with any type of body
func NewPostV1ProjectsPrjSilencesRequest ¶
func NewPostV1ProjectsPrjSilencesRequest(server string, prj string, body PostV1ProjectsPrjSilencesJSONRequestBody) (*http.Request, error)
NewPostV1ProjectsPrjSilencesRequest calls the generic PostV1ProjectsPrjSilences builder with application/json body
func NewPostV1ProjectsPrjSilencesRequestWithBody ¶
func NewPostV1ProjectsPrjSilencesRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1ProjectsPrjSilencesRequestWithBody generates requests for PostV1ProjectsPrjSilences with any type of body
func NewPostV1ProjectsPrjSlosRequest ¶
func NewPostV1ProjectsPrjSlosRequest(server string, prj string, body PostV1ProjectsPrjSlosJSONRequestBody) (*http.Request, error)
NewPostV1ProjectsPrjSlosRequest calls the generic PostV1ProjectsPrjSlos builder with application/json body
func NewPostV1ProjectsPrjSlosRequestWithBody ¶
func NewPostV1ProjectsPrjSlosRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1ProjectsPrjSlosRequestWithBody generates requests for PostV1ProjectsPrjSlos with any type of body
func NewPostV1ProjectsPrjTemplatesRequest ¶
func NewPostV1ProjectsPrjTemplatesRequest(server string, prj string, body PostV1ProjectsPrjTemplatesJSONRequestBody) (*http.Request, error)
NewPostV1ProjectsPrjTemplatesRequest calls the generic PostV1ProjectsPrjTemplates builder with application/json body
func NewPostV1ProjectsPrjTemplatesRequestWithBody ¶
func NewPostV1ProjectsPrjTemplatesRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1ProjectsPrjTemplatesRequestWithBody generates requests for PostV1ProjectsPrjTemplates with any type of body
func NewPostV1ProjectsPrjWorkflowsRequest ¶
func NewPostV1ProjectsPrjWorkflowsRequest(server string, prj string, body PostV1ProjectsPrjWorkflowsJSONRequestBody) (*http.Request, error)
NewPostV1ProjectsPrjWorkflowsRequest calls the generic PostV1ProjectsPrjWorkflows builder with application/json body
func NewPostV1ProjectsPrjWorkflowsRequestWithBody ¶
func NewPostV1ProjectsPrjWorkflowsRequestWithBody(server string, prj string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1ProjectsPrjWorkflowsRequestWithBody generates requests for PostV1ProjectsPrjWorkflows with any type of body
func NewPostV1ProjectsPrjWorkflowsWRequest ¶
func NewPostV1ProjectsPrjWorkflowsWRequest(server string, prj string, w string, body PostV1ProjectsPrjWorkflowsWJSONRequestBody) (*http.Request, error)
NewPostV1ProjectsPrjWorkflowsWRequest calls the generic PostV1ProjectsPrjWorkflowsW builder with application/json body
func NewPostV1ProjectsPrjWorkflowsWRequestWithBody ¶
func NewPostV1ProjectsPrjWorkflowsWRequestWithBody(server string, prj string, w string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1ProjectsPrjWorkflowsWRequestWithBody generates requests for PostV1ProjectsPrjWorkflowsW with any type of body
func NewPutV1ProjectsPrjAgentConfigsCRequest ¶
func NewPutV1ProjectsPrjAgentConfigsCRequest(server string, prj string, cfg string, body PutV1ProjectsPrjAgentConfigsCJSONRequestBody) (*http.Request, error)
NewPutV1ProjectsPrjAgentConfigsCRequest calls the generic PutV1ProjectsPrjAgentConfigsC builder with application/json body
func NewPutV1ProjectsPrjAgentConfigsCRequestWithBody ¶
func NewPutV1ProjectsPrjAgentConfigsCRequestWithBody(server string, prj string, cfg string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ProjectsPrjAgentConfigsCRequestWithBody generates requests for PutV1ProjectsPrjAgentConfigsC with any type of body
func NewPutV1ProjectsPrjAlertRulesRuleRequest ¶
func NewPutV1ProjectsPrjAlertRulesRuleRequest(server string, prj string, rule string, params *PutV1ProjectsPrjAlertRulesRuleParams, body PutV1ProjectsPrjAlertRulesRuleJSONRequestBody) (*http.Request, error)
NewPutV1ProjectsPrjAlertRulesRuleRequest calls the generic PutV1ProjectsPrjAlertRulesRule builder with application/json body
func NewPutV1ProjectsPrjAlertRulesRuleRequestWithBody ¶
func NewPutV1ProjectsPrjAlertRulesRuleRequestWithBody(server string, prj string, rule string, params *PutV1ProjectsPrjAlertRulesRuleParams, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ProjectsPrjAlertRulesRuleRequestWithBody generates requests for PutV1ProjectsPrjAlertRulesRule with any type of body
func NewPutV1ProjectsPrjCatalogServicesSRequest ¶
func NewPutV1ProjectsPrjCatalogServicesSRequest(server string, prj string, s string, body PutV1ProjectsPrjCatalogServicesSJSONRequestBody) (*http.Request, error)
NewPutV1ProjectsPrjCatalogServicesSRequest calls the generic PutV1ProjectsPrjCatalogServicesS builder with application/json body
func NewPutV1ProjectsPrjCatalogServicesSRequestWithBody ¶
func NewPutV1ProjectsPrjCatalogServicesSRequestWithBody(server string, prj string, s string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ProjectsPrjCatalogServicesSRequestWithBody generates requests for PutV1ProjectsPrjCatalogServicesS with any type of body
func NewPutV1ProjectsPrjCheckSecretsNameRequest ¶
func NewPutV1ProjectsPrjCheckSecretsNameRequest(server string, prj string, name string, body PutV1ProjectsPrjCheckSecretsNameJSONRequestBody) (*http.Request, error)
NewPutV1ProjectsPrjCheckSecretsNameRequest calls the generic PutV1ProjectsPrjCheckSecretsName builder with application/json body
func NewPutV1ProjectsPrjCheckSecretsNameRequestWithBody ¶
func NewPutV1ProjectsPrjCheckSecretsNameRequestWithBody(server string, prj string, name string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ProjectsPrjCheckSecretsNameRequestWithBody generates requests for PutV1ProjectsPrjCheckSecretsName with any type of body
func NewPutV1ProjectsPrjDashboardsDashRequest ¶
func NewPutV1ProjectsPrjDashboardsDashRequest(server string, prj string, dash string, body PutV1ProjectsPrjDashboardsDashJSONRequestBody) (*http.Request, error)
NewPutV1ProjectsPrjDashboardsDashRequest calls the generic PutV1ProjectsPrjDashboardsDash builder with application/json body
func NewPutV1ProjectsPrjDashboardsDashRequestWithBody ¶
func NewPutV1ProjectsPrjDashboardsDashRequestWithBody(server string, prj string, dash string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ProjectsPrjDashboardsDashRequestWithBody generates requests for PutV1ProjectsPrjDashboardsDash with any type of body
func NewPutV1ProjectsPrjEscalationPoliciesPolRequest ¶
func NewPutV1ProjectsPrjEscalationPoliciesPolRequest(server string, prj string, pol string, body PutV1ProjectsPrjEscalationPoliciesPolJSONRequestBody) (*http.Request, error)
NewPutV1ProjectsPrjEscalationPoliciesPolRequest calls the generic PutV1ProjectsPrjEscalationPoliciesPol builder with application/json body
func NewPutV1ProjectsPrjEscalationPoliciesPolRequestWithBody ¶
func NewPutV1ProjectsPrjEscalationPoliciesPolRequestWithBody(server string, prj string, pol string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ProjectsPrjEscalationPoliciesPolRequestWithBody generates requests for PutV1ProjectsPrjEscalationPoliciesPol with any type of body
func NewPutV1ProjectsPrjIncidentTypesItyRequest ¶
func NewPutV1ProjectsPrjIncidentTypesItyRequest(server string, prj string, ity string, body PutV1ProjectsPrjIncidentTypesItyJSONRequestBody) (*http.Request, error)
NewPutV1ProjectsPrjIncidentTypesItyRequest calls the generic PutV1ProjectsPrjIncidentTypesIty builder with application/json body
func NewPutV1ProjectsPrjIncidentTypesItyRequestWithBody ¶
func NewPutV1ProjectsPrjIncidentTypesItyRequestWithBody(server string, prj string, ity string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ProjectsPrjIncidentTypesItyRequestWithBody generates requests for PutV1ProjectsPrjIncidentTypesIty with any type of body
func NewPutV1ProjectsPrjMaintenanceWindowsWindowRequest ¶
func NewPutV1ProjectsPrjMaintenanceWindowsWindowRequest(server string, prj string, window string, body PutV1ProjectsPrjMaintenanceWindowsWindowJSONRequestBody) (*http.Request, error)
NewPutV1ProjectsPrjMaintenanceWindowsWindowRequest calls the generic PutV1ProjectsPrjMaintenanceWindowsWindow builder with application/json body
func NewPutV1ProjectsPrjMaintenanceWindowsWindowRequestWithBody ¶
func NewPutV1ProjectsPrjMaintenanceWindowsWindowRequestWithBody(server string, prj string, window string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ProjectsPrjMaintenanceWindowsWindowRequestWithBody generates requests for PutV1ProjectsPrjMaintenanceWindowsWindow with any type of body
func NewPutV1ProjectsPrjMonitorsMonitorRequest ¶
func NewPutV1ProjectsPrjMonitorsMonitorRequest(server string, prj string, monitor string, params *PutV1ProjectsPrjMonitorsMonitorParams, body PutV1ProjectsPrjMonitorsMonitorJSONRequestBody) (*http.Request, error)
NewPutV1ProjectsPrjMonitorsMonitorRequest calls the generic PutV1ProjectsPrjMonitorsMonitor builder with application/json body
func NewPutV1ProjectsPrjMonitorsMonitorRequestWithBody ¶
func NewPutV1ProjectsPrjMonitorsMonitorRequestWithBody(server string, prj string, monitor string, params *PutV1ProjectsPrjMonitorsMonitorParams, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ProjectsPrjMonitorsMonitorRequestWithBody generates requests for PutV1ProjectsPrjMonitorsMonitor with any type of body
func NewPutV1ProjectsPrjOncallSchedulesSchRequest ¶
func NewPutV1ProjectsPrjOncallSchedulesSchRequest(server string, prj string, sch string, params *PutV1ProjectsPrjOncallSchedulesSchParams, body PutV1ProjectsPrjOncallSchedulesSchJSONRequestBody) (*http.Request, error)
NewPutV1ProjectsPrjOncallSchedulesSchRequest calls the generic PutV1ProjectsPrjOncallSchedulesSch builder with application/json body
func NewPutV1ProjectsPrjOncallSchedulesSchRequestWithBody ¶
func NewPutV1ProjectsPrjOncallSchedulesSchRequestWithBody(server string, prj string, sch string, params *PutV1ProjectsPrjOncallSchedulesSchParams, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ProjectsPrjOncallSchedulesSchRequestWithBody generates requests for PutV1ProjectsPrjOncallSchedulesSch with any type of body
func NewPutV1ProjectsPrjReceiversReceiverRequest ¶
func NewPutV1ProjectsPrjReceiversReceiverRequest(server string, prj string, receiver string, body PutV1ProjectsPrjReceiversReceiverJSONRequestBody) (*http.Request, error)
NewPutV1ProjectsPrjReceiversReceiverRequest calls the generic PutV1ProjectsPrjReceiversReceiver builder with application/json body
func NewPutV1ProjectsPrjReceiversReceiverRequestWithBody ¶
func NewPutV1ProjectsPrjReceiversReceiverRequestWithBody(server string, prj string, receiver string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ProjectsPrjReceiversReceiverRequestWithBody generates requests for PutV1ProjectsPrjReceiversReceiver with any type of body
func NewPutV1ProjectsPrjRoutingRequest ¶
func NewPutV1ProjectsPrjRoutingRequest(server string, prj string, params *PutV1ProjectsPrjRoutingParams, body PutV1ProjectsPrjRoutingJSONRequestBody) (*http.Request, error)
NewPutV1ProjectsPrjRoutingRequest calls the generic PutV1ProjectsPrjRouting builder with application/json body
func NewPutV1ProjectsPrjRoutingRequestWithBody ¶
func NewPutV1ProjectsPrjRoutingRequestWithBody(server string, prj string, params *PutV1ProjectsPrjRoutingParams, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ProjectsPrjRoutingRequestWithBody generates requests for PutV1ProjectsPrjRouting with any type of body
func NewPutV1ProjectsPrjRuleGroupsNameRequestWithBody ¶
func NewPutV1ProjectsPrjRuleGroupsNameRequestWithBody(server string, prj string, name string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ProjectsPrjRuleGroupsNameRequestWithBody generates requests for PutV1ProjectsPrjRuleGroupsName with any type of body
func NewPutV1ProjectsPrjSilencesSilenceRequest ¶
func NewPutV1ProjectsPrjSilencesSilenceRequest(server string, prj string, silence string, body PutV1ProjectsPrjSilencesSilenceJSONRequestBody) (*http.Request, error)
NewPutV1ProjectsPrjSilencesSilenceRequest calls the generic PutV1ProjectsPrjSilencesSilence builder with application/json body
func NewPutV1ProjectsPrjSilencesSilenceRequestWithBody ¶
func NewPutV1ProjectsPrjSilencesSilenceRequestWithBody(server string, prj string, silence string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ProjectsPrjSilencesSilenceRequestWithBody generates requests for PutV1ProjectsPrjSilencesSilence with any type of body
func NewPutV1ProjectsPrjSlosSloRequest ¶
func NewPutV1ProjectsPrjSlosSloRequest(server string, prj string, slo string, body PutV1ProjectsPrjSlosSloJSONRequestBody) (*http.Request, error)
NewPutV1ProjectsPrjSlosSloRequest calls the generic PutV1ProjectsPrjSlosSlo builder with application/json body
func NewPutV1ProjectsPrjSlosSloRequestWithBody ¶
func NewPutV1ProjectsPrjSlosSloRequestWithBody(server string, prj string, slo string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ProjectsPrjSlosSloRequestWithBody generates requests for PutV1ProjectsPrjSlosSlo with any type of body
func NewPutV1ProjectsPrjWorkflowsWRequest ¶
func NewPutV1ProjectsPrjWorkflowsWRequest(server string, prj string, w string, body PutV1ProjectsPrjWorkflowsWJSONRequestBody) (*http.Request, error)
NewPutV1ProjectsPrjWorkflowsWRequest calls the generic PutV1ProjectsPrjWorkflowsW builder with application/json body
func NewPutV1ProjectsPrjWorkflowsWRequestWithBody ¶
func NewPutV1ProjectsPrjWorkflowsWRequestWithBody(server string, prj string, w string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ProjectsPrjWorkflowsWRequestWithBody generates requests for PutV1ProjectsPrjWorkflowsW with any type of body
Types ¶
type AgentConfigDto ¶
type AgentConfigDto struct {
Config interface{} `json:"config"`
CreatedAt string `json:"created_at"`
CreatedBy string `json:"created_by"`
Id string `json:"id"`
Name string `json:"name"`
// Selector Label matchers, all of which must equal the agent's labels. `{}` matches every agent.
Selector interface{} `json:"selector"`
// Version Monotonic per project; a rollback creates a new, higher version.
Version int32 `json:"version"`
}
AgentConfigDto defines model for AgentConfigDto.
type AgentConfigPage ¶
type AgentConfigPage struct {
Data []AgentConfigDto `json:"data"`
NextCursor *string `json:"next_cursor"`
}
AgentConfigPage defines model for AgentConfigPage.
type AgentConfigPatch ¶
type AgentConfigPatch struct {
Config interface{} `json:"config,omitempty"`
Name *string `json:"name"`
Selector *map[string]interface{} `json:"selector"`
}
AgentConfigPatch defines model for AgentConfigPatch.
type AlertingReadiness ¶ added in v0.3.1
type AlertingReadiness struct {
// Missing What is missing, one sentence per piece (empty when every channel works).
Missing []string `json:"missing"`
// Ready At least one of email, SMS/voice and push can be delivered.
Ready bool `json:"ready"`
}
AlertingReadiness defines model for AlertingReadiness.
type Annotations ¶
type Annotations struct {
// DashboardUrl Link to a dashboard for this alert; `{{ }}` templates allowed. Reaches notifications.
DashboardUrl *string `json:"dashboard_url,omitempty"`
Description *string `json:"description,omitempty"`
// ImageUrl Your own image for this alert; when set, no chart is captured for it.
ImageUrl *string `json:"image_url,omitempty"`
// PanelUrl Link to a panel for this alert; `{{ }}` templates allowed. Reaches notifications.
PanelUrl *string `json:"panel_url,omitempty"`
RunbookUrl *string `json:"runbook_url,omitempty"`
Summary *string `json:"summary,omitempty"`
}
Annotations defines model for Annotations.
type AnomalyCfg ¶
type AnomalyCfg struct {
Direction *Dir `json:"direction,omitempty"`
// MinCount Absolute floor: nothing is anomalous while both the point and its baseline are below
// this count (0: off). Templates set 5 (log anomaly) and 10 (log surge).
MinCount *float64 `json:"min_count,omitempty"`
// MinDeltaPct A point must also differ from the baseline by this many percent.
MinDeltaPct *float64 `json:"min_delta_pct,omitempty"`
Seasonality *AnomalySeasonality `json:"seasonality,omitempty"`
Sensitivity *int32 `json:"sensitivity,omitempty"`
// TrainingDays Days of history for the baseline, 7 to 28.
TrainingDays *int32 `json:"training_days,omitempty"`
}
AnomalyCfg The `anomaly` condition. `sensitivity` 0 to 100 (higher flags smaller deviations).
type AnomalyMlSeasonality ¶
type AnomalyMlSeasonality string
AnomalyMlSeasonality defines model for AnomalyMlSeasonality.
const ( AnomalyMlSeasonalityAuto AnomalyMlSeasonality = "auto" AnomalyMlSeasonalityDaily AnomalyMlSeasonality = "daily" AnomalyMlSeasonalityHourly AnomalyMlSeasonality = "hourly" AnomalyMlSeasonalityNone AnomalyMlSeasonality = "none" AnomalyMlSeasonalityWeekly AnomalyMlSeasonality = "weekly" )
Defines values for AnomalyMlSeasonality.
type AnomalySeasonality ¶
type AnomalySeasonality string
AnomalySeasonality defines model for AnomalySeasonality.
const ( AnomalySeasonalityDaily AnomalySeasonality = "daily" AnomalySeasonalityHourly AnomalySeasonality = "hourly" AnomalySeasonalityNone AnomalySeasonality = "none" AnomalySeasonalityWeekly AnomalySeasonality = "weekly" )
Defines values for AnomalySeasonality.
type AssertionResultDto ¶ added in v0.3.4
type AssertionResultDto struct {
// Actual What was measured, for example `200`.
Actual string `json:"actual"`
// Assertion The condition, for example `[STATUS] == 200`.
Assertion string `json:"assertion"`
Ok bool `json:"ok"`
}
AssertionResultDto One assertion of a run and whether it held.
type AttrFilter ¶
type AttrFilter struct {
Key string `json:"key"`
Op AttrOp `json:"op"`
// Value Required for every op except `exists`.
Value *string `json:"value"`
}
AttrFilter defines model for AttrFilter.
type AuditQuery ¶
type AuditQuery struct {
// Actions Exact actions, or a prefix ending in `*` (`member.*`); empty matches every action.
Actions *[]string `json:"actions,omitempty"`
ActorType *string `json:"actor_type"`
TargetType *string `json:"target_type"`
}
AuditQuery Audit events of the org (the hash chain) seen in the window, one group per action.
type BaselineMode ¶
type BaselineMode string
BaselineMode defines model for BaselineMode.
const ( BaselineModeAdaptive BaselineMode = "adaptive" BaselineModeHourOfWeek BaselineMode = "hour_of_week" )
Defines values for BaselineMode.
type CatalogDto ¶
type CatalogDto struct {
Custom interface{} `json:"custom"`
Description *string `json:"description"`
FirstSeenNs *int64 `json:"first_seen_ns"`
LastSeenNs *int64 `json:"last_seen_ns"`
Links []Link `json:"links"`
// Observed Telemetry for this service exists (listing only).
Observed bool `json:"observed"`
OncallPolicyId *string `json:"oncall_policy_id"`
// OwnerMissing An observed service with no owner team (listing only).
OwnerMissing bool `json:"owner_missing"`
OwnerTeam *string `json:"owner_team"`
RepoUrl *string `json:"repo_url"`
RunbookUrl *string `json:"runbook_url"`
Service string `json:"service"`
// Source `manual`, the sync kind that owns the entry (read-only), or `discovered` (called by
// instrumented services but sending no telemetry itself).
Source string `json:"source"`
// Stale The upstream entry is gone; the entry is purged 7 days after it went stale.
Stale bool `json:"stale"`
// SuggestedOwners Commit authors of the releases deployed for this service, most commits first; only for
// services with `owner_missing` (listing only).
SuggestedOwners []string `json:"suggested_owners"`
Tier *int32 `json:"tier"`
}
CatalogDto defines model for CatalogDto.
type CatalogPage ¶
type CatalogPage struct {
Data []CatalogDto `json:"data"`
NextCursor *string `json:"next_cursor"`
// Truncated The observed-services or catalog read hit its cap; the listing is incomplete.
Truncated bool `json:"truncated"`
}
CatalogPage defines model for CatalogPage.
type CatalogRequest ¶
type CatalogRequest struct {
// Custom Custom field values by key (see `/catalog/fields`).
Custom *map[string]interface{} `json:"custom"`
Description *string `json:"description"`
// Links At most 20.
Links *[]Link `json:"links"`
// OncallPolicyId Escalation policy id (`esc_...`).
OncallPolicyId *string `json:"oncall_policy_id"`
// OwnerTeam Slug of a catalog team of this project (`POST .../catalog/teams` or the YAML import), or the slug or id (`tea_...`) of a team of
// the project's org (`/v1/orgs/{org}/teams`); omit for unowned.
OwnerTeam *string `json:"owner_team"`
RepoUrl *string `json:"repo_url"`
RunbookUrl *string `json:"runbook_url"`
// Tier 0 (most critical) to 3.
Tier *int32 `json:"tier"`
}
CatalogRequest defines model for CatalogRequest.
type ChangeMode ¶
type ChangeMode string
ChangeMode defines model for ChangeMode.
const ( ChangeModeAbs ChangeMode = "abs" ChangeModePct ChangeMode = "pct" )
Defines values for ChangeMode.
type CheckResultDto ¶ added in v0.3.4
type CheckResultDto struct {
// AssertionResults The outcome of every assertion of the run, passed or failed, in the monitor's order:
// `{assertion, ok, actual}` where `actual` is the measured value (empty when nothing was
// measured). A green result lists the assertions that held; empty only for results stored
// before this field existed and for kinds without assertions.
AssertionResults []AssertionResultDto `json:"assertion_results"`
// Assertions The failed assertions' explanations (empty when every assertion passed). Stored as JSON
// text in `ClickHouse`; served as an array (W12).
Assertions []string `json:"assertions"`
// AssertionsEvaluated How many assertions the run evaluated (the length of `assertion_results`). 0 means "not
// recorded" for results stored before `assertion_results` existed, and for kinds without
// assertions.
AssertionsEvaluated int32 `json:"assertions_evaluated"`
// Canary True for a canary burst round (the extra 10 s runs a monitor with `deploy_canary` does
// after a deploy marker). A canary result is a real check: it alerts like any other and is
// never `maintenance`; uptime leaves it out so the burst does not skew it. Listings leave
// canary rounds out unless `include_canary=true`.
Canary bool `json:"canary"`
ConnectMs float32 `json:"connect_ms"`
Degraded bool `json:"degraded"`
// Details JSON of browser, multi-step and suite details (steps with waterfalls, vitals, console
// errors, `screenshots` and `artifacts` keys); empty for the other kinds.
Details string `json:"details"`
DnsMs float32 `json:"dns_ms"`
Error string `json:"error"`
Location string `json:"location"`
// Maintenance True when the result fell in a maintenance window of mode `mark_checks`: such a result is
// recorded but never alerts and is left out of uptime.
Maintenance bool `json:"maintenance"`
Ok bool `json:"ok"`
StatusCode int32 `json:"status_code"`
TlsMs float32 `json:"tls_ms"`
TotalMs float32 `json:"total_ms"`
// TraceId The trace id sent to the target as `traceparent` (32 hex chars); also the run id.
TraceId string `json:"trace_id"`
// TsMs Unix milliseconds.
TsMs int64 `json:"ts_ms"`
TtfbMs float32 `json:"ttfb_ms"`
}
CheckResultDto defines model for CheckResultDto.
type CheckSecretDto ¶
type CheckSecretDto struct {
CreatedAt string `json:"created_at"`
CreatedBy string `json:"created_by"`
Name string `json:"name"`
UpdatedAt string `json:"updated_at"`
}
CheckSecretDto defines model for CheckSecretDto.
type CheckSecretPage ¶
type CheckSecretPage struct {
Data []CheckSecretDto `json:"data"`
NextCursor *string `json:"next_cursor"`
}
CheckSecretPage defines model for CheckSecretPage.
type Child ¶
type Child struct {
SloId string `json:"slo_id"`
// Weight Positive weight in the weighted mean of the children's good ratios.
Weight float64 `json:"weight"`
}
Child A child of a composite SLO.
type CiRuleMeasure ¶
type CiRuleMeasure string
CiRuleMeasure What a `ci_pipeline` rule measures over finished runs (ALT-002, CI monitors).
const ( CiRuleMeasureDurationMax CiRuleMeasure = "duration_max" CiRuleMeasureDurationP95 CiRuleMeasure = "duration_p95" CiRuleMeasureFailureRate CiRuleMeasure = "failure_rate" CiRuleMeasureFailures CiRuleMeasure = "failures" )
Defines values for CiRuleMeasure.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) DeleteV1ProjectsPrj ¶
func (c *Client) DeleteV1ProjectsPrj(ctx context.Context, prj string, params *DeleteV1ProjectsPrjParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteV1ProjectsPrjAgentConfigsC ¶
func (*Client) DeleteV1ProjectsPrjAlertRulesRule ¶
func (c *Client) DeleteV1ProjectsPrjAlertRulesRule(ctx context.Context, prj string, rule string, params *DeleteV1ProjectsPrjAlertRulesRuleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteV1ProjectsPrjCatalogServicesS ¶ added in v0.3.4
func (*Client) DeleteV1ProjectsPrjCheckSecretsName ¶
func (*Client) DeleteV1ProjectsPrjDashboardsDash ¶
func (*Client) DeleteV1ProjectsPrjEscalationPoliciesPol ¶
func (*Client) DeleteV1ProjectsPrjHealthTokensToken ¶
func (*Client) DeleteV1ProjectsPrjIncidentTypesIty ¶
func (*Client) DeleteV1ProjectsPrjMaintenanceWindowsWindow ¶
func (*Client) DeleteV1ProjectsPrjMonitorsMonitor ¶
func (*Client) DeleteV1ProjectsPrjOncallSchedulesSch ¶
func (*Client) DeleteV1ProjectsPrjReceiversReceiver ¶
func (*Client) DeleteV1ProjectsPrjRuleGroupsName ¶
func (*Client) DeleteV1ProjectsPrjSilencesSilence ¶
func (*Client) DeleteV1ProjectsPrjSlosSlo ¶
func (*Client) DeleteV1ProjectsPrjTemplatesId ¶
func (*Client) DeleteV1ProjectsPrjWorkflowsW ¶
func (*Client) GetV1OrgsOrgProjects ¶
func (c *Client) GetV1OrgsOrgProjects(ctx context.Context, org string, params *GetV1OrgsOrgProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ProjectsPrj ¶
func (*Client) GetV1ProjectsPrjAgentConfigs ¶
func (c *Client) GetV1ProjectsPrjAgentConfigs(ctx context.Context, prj string, params *GetV1ProjectsPrjAgentConfigsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ProjectsPrjAgentConfigsC ¶
func (*Client) GetV1ProjectsPrjAlertRules ¶
func (c *Client) GetV1ProjectsPrjAlertRules(ctx context.Context, prj string, params *GetV1ProjectsPrjAlertRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ProjectsPrjAlertRulesRule ¶
func (*Client) GetV1ProjectsPrjCatalogServices ¶
func (c *Client) GetV1ProjectsPrjCatalogServices(ctx context.Context, prj string, params *GetV1ProjectsPrjCatalogServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ProjectsPrjCatalogServicesS ¶
func (*Client) GetV1ProjectsPrjCheckSecrets ¶
func (c *Client) GetV1ProjectsPrjCheckSecrets(ctx context.Context, prj string, params *GetV1ProjectsPrjCheckSecretsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ProjectsPrjDashboards ¶
func (c *Client) GetV1ProjectsPrjDashboards(ctx context.Context, prj string, params *GetV1ProjectsPrjDashboardsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ProjectsPrjDashboardsDash ¶
func (*Client) GetV1ProjectsPrjEscalationPolicies ¶
func (c *Client) GetV1ProjectsPrjEscalationPolicies(ctx context.Context, prj string, params *GetV1ProjectsPrjEscalationPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ProjectsPrjEscalationPoliciesPol ¶
func (*Client) GetV1ProjectsPrjHealthTokens ¶
func (c *Client) GetV1ProjectsPrjHealthTokens(ctx context.Context, prj string, params *GetV1ProjectsPrjHealthTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ProjectsPrjIncidentTypes ¶
func (c *Client) GetV1ProjectsPrjIncidentTypes(ctx context.Context, prj string, params *GetV1ProjectsPrjIncidentTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ProjectsPrjIncidentTypesIty ¶
func (*Client) GetV1ProjectsPrjMaintenanceWindows ¶
func (c *Client) GetV1ProjectsPrjMaintenanceWindows(ctx context.Context, prj string, params *GetV1ProjectsPrjMaintenanceWindowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ProjectsPrjMaintenanceWindowsWindow ¶
func (*Client) GetV1ProjectsPrjMonitors ¶
func (c *Client) GetV1ProjectsPrjMonitors(ctx context.Context, prj string, params *GetV1ProjectsPrjMonitorsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ProjectsPrjMonitorsMonitor ¶
func (*Client) GetV1ProjectsPrjOncallSchedules ¶
func (c *Client) GetV1ProjectsPrjOncallSchedules(ctx context.Context, prj string, params *GetV1ProjectsPrjOncallSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ProjectsPrjOncallSchedulesSch ¶
func (*Client) GetV1ProjectsPrjReceivers ¶
func (c *Client) GetV1ProjectsPrjReceivers(ctx context.Context, prj string, params *GetV1ProjectsPrjReceiversParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ProjectsPrjReceiversReceiver ¶
func (*Client) GetV1ProjectsPrjRouting ¶
func (*Client) GetV1ProjectsPrjSilences ¶
func (c *Client) GetV1ProjectsPrjSilences(ctx context.Context, prj string, params *GetV1ProjectsPrjSilencesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ProjectsPrjSilencesSilence ¶
func (*Client) GetV1ProjectsPrjSlos ¶
func (c *Client) GetV1ProjectsPrjSlos(ctx context.Context, prj string, params *GetV1ProjectsPrjSlosParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ProjectsPrjSlosSlo ¶
func (*Client) GetV1ProjectsPrjTemplates ¶
func (c *Client) GetV1ProjectsPrjTemplates(ctx context.Context, prj string, params *GetV1ProjectsPrjTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ProjectsPrjTemplatesId ¶
func (*Client) GetV1ProjectsPrjWorkflows ¶
func (c *Client) GetV1ProjectsPrjWorkflows(ctx context.Context, prj string, params *GetV1ProjectsPrjWorkflowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ProjectsPrjWorkflowsW ¶
func (*Client) PatchV1ProjectsPrj ¶
func (c *Client) PatchV1ProjectsPrj(ctx context.Context, prj string, body PatchV1ProjectsPrjJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchV1ProjectsPrjMonitorsMonitorWithApplicationMergePatchPlusJSONBody ¶ added in v0.3.2
func (c *Client) PatchV1ProjectsPrjMonitorsMonitorWithApplicationMergePatchPlusJSONBody(ctx context.Context, prj string, monitor string, params *PatchV1ProjectsPrjMonitorsMonitorParams, body PatchV1ProjectsPrjMonitorsMonitorApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchV1ProjectsPrjMonitorsMonitorWithBody ¶ added in v0.3.2
func (*Client) PatchV1ProjectsPrjTemplatesId ¶
func (c *Client) PatchV1ProjectsPrjTemplatesId(ctx context.Context, prj string, id string, body PatchV1ProjectsPrjTemplatesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchV1ProjectsPrjTemplatesIdWithBody ¶
func (*Client) PatchV1ProjectsPrjWithBody ¶
func (*Client) PostV1OrgsOrgProjects ¶
func (c *Client) PostV1OrgsOrgProjects(ctx context.Context, org string, body PostV1OrgsOrgProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1OrgsOrgProjectsWithBody ¶
func (*Client) PostV1ProjectsPrjAgentConfigs ¶
func (c *Client) PostV1ProjectsPrjAgentConfigs(ctx context.Context, prj string, body PostV1ProjectsPrjAgentConfigsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1ProjectsPrjAgentConfigsC ¶
func (c *Client) PostV1ProjectsPrjAgentConfigsC(ctx context.Context, prj string, cfg string, params *PostV1ProjectsPrjAgentConfigsCParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1ProjectsPrjAgentConfigsWithBody ¶
func (*Client) PostV1ProjectsPrjAlertRules ¶
func (c *Client) PostV1ProjectsPrjAlertRules(ctx context.Context, prj string, body PostV1ProjectsPrjAlertRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1ProjectsPrjAlertRulesWithBody ¶
func (*Client) PostV1ProjectsPrjDashboards ¶
func (c *Client) PostV1ProjectsPrjDashboards(ctx context.Context, prj string, body PostV1ProjectsPrjDashboardsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1ProjectsPrjDashboardsWithBody ¶
func (*Client) PostV1ProjectsPrjEscalationPolicies ¶
func (c *Client) PostV1ProjectsPrjEscalationPolicies(ctx context.Context, prj string, body PostV1ProjectsPrjEscalationPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1ProjectsPrjEscalationPoliciesWithBody ¶
func (*Client) PostV1ProjectsPrjHealthTokens ¶
func (c *Client) PostV1ProjectsPrjHealthTokens(ctx context.Context, prj string, body PostV1ProjectsPrjHealthTokensJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1ProjectsPrjHealthTokensWithBody ¶
func (*Client) PostV1ProjectsPrjIncidentTypes ¶
func (c *Client) PostV1ProjectsPrjIncidentTypes(ctx context.Context, prj string, body PostV1ProjectsPrjIncidentTypesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1ProjectsPrjIncidentTypesWithBody ¶
func (*Client) PostV1ProjectsPrjMaintenanceWindows ¶
func (c *Client) PostV1ProjectsPrjMaintenanceWindows(ctx context.Context, prj string, body PostV1ProjectsPrjMaintenanceWindowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1ProjectsPrjMaintenanceWindowsWithBody ¶
func (*Client) PostV1ProjectsPrjMonitors ¶
func (c *Client) PostV1ProjectsPrjMonitors(ctx context.Context, prj string, params *PostV1ProjectsPrjMonitorsParams, body PostV1ProjectsPrjMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1ProjectsPrjMonitorsMonitor ¶
func (c *Client) PostV1ProjectsPrjMonitorsMonitor(ctx context.Context, prj string, monitor string, params *PostV1ProjectsPrjMonitorsMonitorParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1ProjectsPrjMonitorsWithBody ¶
func (*Client) PostV1ProjectsPrjOncallSchedules ¶
func (c *Client) PostV1ProjectsPrjOncallSchedules(ctx context.Context, prj string, body PostV1ProjectsPrjOncallSchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1ProjectsPrjOncallSchedulesWithBody ¶
func (*Client) PostV1ProjectsPrjReceivers ¶
func (c *Client) PostV1ProjectsPrjReceivers(ctx context.Context, prj string, body PostV1ProjectsPrjReceiversJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1ProjectsPrjReceiversReceiver ¶
func (*Client) PostV1ProjectsPrjReceiversWithBody ¶
func (*Client) PostV1ProjectsPrjSilences ¶
func (c *Client) PostV1ProjectsPrjSilences(ctx context.Context, prj string, body PostV1ProjectsPrjSilencesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1ProjectsPrjSilencesWithBody ¶
func (*Client) PostV1ProjectsPrjSlos ¶
func (c *Client) PostV1ProjectsPrjSlos(ctx context.Context, prj string, body PostV1ProjectsPrjSlosJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1ProjectsPrjSlosWithBody ¶
func (*Client) PostV1ProjectsPrjTemplates ¶
func (c *Client) PostV1ProjectsPrjTemplates(ctx context.Context, prj string, body PostV1ProjectsPrjTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1ProjectsPrjTemplatesWithBody ¶
func (*Client) PostV1ProjectsPrjWorkflows ¶
func (c *Client) PostV1ProjectsPrjWorkflows(ctx context.Context, prj string, body PostV1ProjectsPrjWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1ProjectsPrjWorkflowsW ¶
func (c *Client) PostV1ProjectsPrjWorkflowsW(ctx context.Context, prj string, w string, body PostV1ProjectsPrjWorkflowsWJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1ProjectsPrjWorkflowsWWithBody ¶
func (*Client) PostV1ProjectsPrjWorkflowsWithBody ¶
func (*Client) PutV1ProjectsPrjAgentConfigsC ¶
func (c *Client) PutV1ProjectsPrjAgentConfigsC(ctx context.Context, prj string, cfg string, body PutV1ProjectsPrjAgentConfigsCJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV1ProjectsPrjAgentConfigsCWithBody ¶
func (*Client) PutV1ProjectsPrjAlertRulesRule ¶
func (c *Client) PutV1ProjectsPrjAlertRulesRule(ctx context.Context, prj string, rule string, params *PutV1ProjectsPrjAlertRulesRuleParams, body PutV1ProjectsPrjAlertRulesRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV1ProjectsPrjAlertRulesRuleWithBody ¶
func (*Client) PutV1ProjectsPrjCatalogServicesS ¶
func (c *Client) PutV1ProjectsPrjCatalogServicesS(ctx context.Context, prj string, s string, body PutV1ProjectsPrjCatalogServicesSJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV1ProjectsPrjCatalogServicesSWithBody ¶
func (*Client) PutV1ProjectsPrjCheckSecretsName ¶
func (c *Client) PutV1ProjectsPrjCheckSecretsName(ctx context.Context, prj string, name string, body PutV1ProjectsPrjCheckSecretsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV1ProjectsPrjCheckSecretsNameWithBody ¶
func (*Client) PutV1ProjectsPrjDashboardsDash ¶
func (c *Client) PutV1ProjectsPrjDashboardsDash(ctx context.Context, prj string, dash string, body PutV1ProjectsPrjDashboardsDashJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV1ProjectsPrjDashboardsDashWithBody ¶
func (*Client) PutV1ProjectsPrjEscalationPoliciesPol ¶
func (c *Client) PutV1ProjectsPrjEscalationPoliciesPol(ctx context.Context, prj string, pol string, body PutV1ProjectsPrjEscalationPoliciesPolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV1ProjectsPrjEscalationPoliciesPolWithBody ¶
func (*Client) PutV1ProjectsPrjIncidentTypesIty ¶
func (c *Client) PutV1ProjectsPrjIncidentTypesIty(ctx context.Context, prj string, ity string, body PutV1ProjectsPrjIncidentTypesItyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV1ProjectsPrjIncidentTypesItyWithBody ¶
func (*Client) PutV1ProjectsPrjMaintenanceWindowsWindow ¶
func (c *Client) PutV1ProjectsPrjMaintenanceWindowsWindow(ctx context.Context, prj string, window string, body PutV1ProjectsPrjMaintenanceWindowsWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV1ProjectsPrjMaintenanceWindowsWindowWithBody ¶
func (*Client) PutV1ProjectsPrjMonitorsMonitor ¶
func (c *Client) PutV1ProjectsPrjMonitorsMonitor(ctx context.Context, prj string, monitor string, params *PutV1ProjectsPrjMonitorsMonitorParams, body PutV1ProjectsPrjMonitorsMonitorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV1ProjectsPrjMonitorsMonitorWithBody ¶
func (*Client) PutV1ProjectsPrjOncallSchedulesSch ¶
func (c *Client) PutV1ProjectsPrjOncallSchedulesSch(ctx context.Context, prj string, sch string, params *PutV1ProjectsPrjOncallSchedulesSchParams, body PutV1ProjectsPrjOncallSchedulesSchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV1ProjectsPrjOncallSchedulesSchWithBody ¶
func (*Client) PutV1ProjectsPrjReceiversReceiver ¶
func (c *Client) PutV1ProjectsPrjReceiversReceiver(ctx context.Context, prj string, receiver string, body PutV1ProjectsPrjReceiversReceiverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV1ProjectsPrjReceiversReceiverWithBody ¶
func (*Client) PutV1ProjectsPrjRouting ¶
func (c *Client) PutV1ProjectsPrjRouting(ctx context.Context, prj string, params *PutV1ProjectsPrjRoutingParams, body PutV1ProjectsPrjRoutingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV1ProjectsPrjRoutingWithBody ¶
func (*Client) PutV1ProjectsPrjRuleGroupsNameWithBody ¶
func (*Client) PutV1ProjectsPrjSilencesSilence ¶
func (c *Client) PutV1ProjectsPrjSilencesSilence(ctx context.Context, prj string, silence string, body PutV1ProjectsPrjSilencesSilenceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV1ProjectsPrjSilencesSilenceWithBody ¶
func (*Client) PutV1ProjectsPrjSlosSlo ¶
func (c *Client) PutV1ProjectsPrjSlosSlo(ctx context.Context, prj string, slo string, body PutV1ProjectsPrjSlosSloJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV1ProjectsPrjSlosSloWithBody ¶
func (*Client) PutV1ProjectsPrjWorkflowsW ¶
func (c *Client) PutV1ProjectsPrjWorkflowsW(ctx context.Context, prj string, w string, body PutV1ProjectsPrjWorkflowsWJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// GetV1OrgsOrgProjects request
GetV1OrgsOrgProjects(ctx context.Context, org string, params *GetV1OrgsOrgProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1OrgsOrgProjectsWithBody request with any body
PostV1OrgsOrgProjectsWithBody(ctx context.Context, org string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1OrgsOrgProjects(ctx context.Context, org string, body PostV1OrgsOrgProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrj request
DeleteV1ProjectsPrj(ctx context.Context, prj string, params *DeleteV1ProjectsPrjParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrj request
GetV1ProjectsPrj(ctx context.Context, prj string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchV1ProjectsPrjWithBody request with any body
PatchV1ProjectsPrjWithBody(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchV1ProjectsPrj(ctx context.Context, prj string, body PatchV1ProjectsPrjJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjAgentConfigs request
GetV1ProjectsPrjAgentConfigs(ctx context.Context, prj string, params *GetV1ProjectsPrjAgentConfigsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjAgentConfigsWithBody request with any body
PostV1ProjectsPrjAgentConfigsWithBody(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1ProjectsPrjAgentConfigs(ctx context.Context, prj string, body PostV1ProjectsPrjAgentConfigsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrjAgentConfigsC request
DeleteV1ProjectsPrjAgentConfigsC(ctx context.Context, prj string, cfg string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjAgentConfigsC request
GetV1ProjectsPrjAgentConfigsC(ctx context.Context, prj string, cfg string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjAgentConfigsC request
PostV1ProjectsPrjAgentConfigsC(ctx context.Context, prj string, cfg string, params *PostV1ProjectsPrjAgentConfigsCParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ProjectsPrjAgentConfigsCWithBody request with any body
PutV1ProjectsPrjAgentConfigsCWithBody(ctx context.Context, prj string, cfg string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ProjectsPrjAgentConfigsC(ctx context.Context, prj string, cfg string, body PutV1ProjectsPrjAgentConfigsCJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjAlertRules request
GetV1ProjectsPrjAlertRules(ctx context.Context, prj string, params *GetV1ProjectsPrjAlertRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjAlertRulesWithBody request with any body
PostV1ProjectsPrjAlertRulesWithBody(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1ProjectsPrjAlertRules(ctx context.Context, prj string, body PostV1ProjectsPrjAlertRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrjAlertRulesRule request
DeleteV1ProjectsPrjAlertRulesRule(ctx context.Context, prj string, rule string, params *DeleteV1ProjectsPrjAlertRulesRuleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjAlertRulesRule request
GetV1ProjectsPrjAlertRulesRule(ctx context.Context, prj string, rule string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ProjectsPrjAlertRulesRuleWithBody request with any body
PutV1ProjectsPrjAlertRulesRuleWithBody(ctx context.Context, prj string, rule string, params *PutV1ProjectsPrjAlertRulesRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ProjectsPrjAlertRulesRule(ctx context.Context, prj string, rule string, params *PutV1ProjectsPrjAlertRulesRuleParams, body PutV1ProjectsPrjAlertRulesRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjCatalogServices request
GetV1ProjectsPrjCatalogServices(ctx context.Context, prj string, params *GetV1ProjectsPrjCatalogServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrjCatalogServicesS request
DeleteV1ProjectsPrjCatalogServicesS(ctx context.Context, prj string, s string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjCatalogServicesS request
GetV1ProjectsPrjCatalogServicesS(ctx context.Context, prj string, s string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ProjectsPrjCatalogServicesSWithBody request with any body
PutV1ProjectsPrjCatalogServicesSWithBody(ctx context.Context, prj string, s string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ProjectsPrjCatalogServicesS(ctx context.Context, prj string, s string, body PutV1ProjectsPrjCatalogServicesSJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjCheckSecrets request
GetV1ProjectsPrjCheckSecrets(ctx context.Context, prj string, params *GetV1ProjectsPrjCheckSecretsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrjCheckSecretsName request
DeleteV1ProjectsPrjCheckSecretsName(ctx context.Context, prj string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ProjectsPrjCheckSecretsNameWithBody request with any body
PutV1ProjectsPrjCheckSecretsNameWithBody(ctx context.Context, prj string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ProjectsPrjCheckSecretsName(ctx context.Context, prj string, name string, body PutV1ProjectsPrjCheckSecretsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjDashboards request
GetV1ProjectsPrjDashboards(ctx context.Context, prj string, params *GetV1ProjectsPrjDashboardsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjDashboardsWithBody request with any body
PostV1ProjectsPrjDashboardsWithBody(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1ProjectsPrjDashboards(ctx context.Context, prj string, body PostV1ProjectsPrjDashboardsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrjDashboardsDash request
DeleteV1ProjectsPrjDashboardsDash(ctx context.Context, prj string, dash string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjDashboardsDash request
GetV1ProjectsPrjDashboardsDash(ctx context.Context, prj string, dash string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ProjectsPrjDashboardsDashWithBody request with any body
PutV1ProjectsPrjDashboardsDashWithBody(ctx context.Context, prj string, dash string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ProjectsPrjDashboardsDash(ctx context.Context, prj string, dash string, body PutV1ProjectsPrjDashboardsDashJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjEscalationPolicies request
GetV1ProjectsPrjEscalationPolicies(ctx context.Context, prj string, params *GetV1ProjectsPrjEscalationPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjEscalationPoliciesWithBody request with any body
PostV1ProjectsPrjEscalationPoliciesWithBody(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1ProjectsPrjEscalationPolicies(ctx context.Context, prj string, body PostV1ProjectsPrjEscalationPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrjEscalationPoliciesPol request
DeleteV1ProjectsPrjEscalationPoliciesPol(ctx context.Context, prj string, pol string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjEscalationPoliciesPol request
GetV1ProjectsPrjEscalationPoliciesPol(ctx context.Context, prj string, pol string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ProjectsPrjEscalationPoliciesPolWithBody request with any body
PutV1ProjectsPrjEscalationPoliciesPolWithBody(ctx context.Context, prj string, pol string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ProjectsPrjEscalationPoliciesPol(ctx context.Context, prj string, pol string, body PutV1ProjectsPrjEscalationPoliciesPolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjHealthTokens request
GetV1ProjectsPrjHealthTokens(ctx context.Context, prj string, params *GetV1ProjectsPrjHealthTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjHealthTokensWithBody request with any body
PostV1ProjectsPrjHealthTokensWithBody(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1ProjectsPrjHealthTokens(ctx context.Context, prj string, body PostV1ProjectsPrjHealthTokensJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrjHealthTokensToken request
DeleteV1ProjectsPrjHealthTokensToken(ctx context.Context, prj string, token string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjIncidentTypes request
GetV1ProjectsPrjIncidentTypes(ctx context.Context, prj string, params *GetV1ProjectsPrjIncidentTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjIncidentTypesWithBody request with any body
PostV1ProjectsPrjIncidentTypesWithBody(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1ProjectsPrjIncidentTypes(ctx context.Context, prj string, body PostV1ProjectsPrjIncidentTypesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrjIncidentTypesIty request
DeleteV1ProjectsPrjIncidentTypesIty(ctx context.Context, prj string, ity string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjIncidentTypesIty request
GetV1ProjectsPrjIncidentTypesIty(ctx context.Context, prj string, ity string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ProjectsPrjIncidentTypesItyWithBody request with any body
PutV1ProjectsPrjIncidentTypesItyWithBody(ctx context.Context, prj string, ity string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ProjectsPrjIncidentTypesIty(ctx context.Context, prj string, ity string, body PutV1ProjectsPrjIncidentTypesItyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjMaintenanceWindows request
GetV1ProjectsPrjMaintenanceWindows(ctx context.Context, prj string, params *GetV1ProjectsPrjMaintenanceWindowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjMaintenanceWindowsWithBody request with any body
PostV1ProjectsPrjMaintenanceWindowsWithBody(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1ProjectsPrjMaintenanceWindows(ctx context.Context, prj string, body PostV1ProjectsPrjMaintenanceWindowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrjMaintenanceWindowsWindow request
DeleteV1ProjectsPrjMaintenanceWindowsWindow(ctx context.Context, prj string, window string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjMaintenanceWindowsWindow request
GetV1ProjectsPrjMaintenanceWindowsWindow(ctx context.Context, prj string, window string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ProjectsPrjMaintenanceWindowsWindowWithBody request with any body
PutV1ProjectsPrjMaintenanceWindowsWindowWithBody(ctx context.Context, prj string, window string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ProjectsPrjMaintenanceWindowsWindow(ctx context.Context, prj string, window string, body PutV1ProjectsPrjMaintenanceWindowsWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjMonitors request
GetV1ProjectsPrjMonitors(ctx context.Context, prj string, params *GetV1ProjectsPrjMonitorsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjMonitorsWithBody request with any body
PostV1ProjectsPrjMonitorsWithBody(ctx context.Context, prj string, params *PostV1ProjectsPrjMonitorsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1ProjectsPrjMonitors(ctx context.Context, prj string, params *PostV1ProjectsPrjMonitorsParams, body PostV1ProjectsPrjMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrjMonitorsMonitor request
DeleteV1ProjectsPrjMonitorsMonitor(ctx context.Context, prj string, monitor string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjMonitorsMonitor request
GetV1ProjectsPrjMonitorsMonitor(ctx context.Context, prj string, monitor string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchV1ProjectsPrjMonitorsMonitorWithBody request with any body
PatchV1ProjectsPrjMonitorsMonitorWithBody(ctx context.Context, prj string, monitor string, params *PatchV1ProjectsPrjMonitorsMonitorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchV1ProjectsPrjMonitorsMonitorWithApplicationMergePatchPlusJSONBody(ctx context.Context, prj string, monitor string, params *PatchV1ProjectsPrjMonitorsMonitorParams, body PatchV1ProjectsPrjMonitorsMonitorApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjMonitorsMonitor request
PostV1ProjectsPrjMonitorsMonitor(ctx context.Context, prj string, monitor string, params *PostV1ProjectsPrjMonitorsMonitorParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ProjectsPrjMonitorsMonitorWithBody request with any body
PutV1ProjectsPrjMonitorsMonitorWithBody(ctx context.Context, prj string, monitor string, params *PutV1ProjectsPrjMonitorsMonitorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ProjectsPrjMonitorsMonitor(ctx context.Context, prj string, monitor string, params *PutV1ProjectsPrjMonitorsMonitorParams, body PutV1ProjectsPrjMonitorsMonitorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjOncallSchedules request
GetV1ProjectsPrjOncallSchedules(ctx context.Context, prj string, params *GetV1ProjectsPrjOncallSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjOncallSchedulesWithBody request with any body
PostV1ProjectsPrjOncallSchedulesWithBody(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1ProjectsPrjOncallSchedules(ctx context.Context, prj string, body PostV1ProjectsPrjOncallSchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrjOncallSchedulesSch request
DeleteV1ProjectsPrjOncallSchedulesSch(ctx context.Context, prj string, sch string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjOncallSchedulesSch request
GetV1ProjectsPrjOncallSchedulesSch(ctx context.Context, prj string, sch string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ProjectsPrjOncallSchedulesSchWithBody request with any body
PutV1ProjectsPrjOncallSchedulesSchWithBody(ctx context.Context, prj string, sch string, params *PutV1ProjectsPrjOncallSchedulesSchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ProjectsPrjOncallSchedulesSch(ctx context.Context, prj string, sch string, params *PutV1ProjectsPrjOncallSchedulesSchParams, body PutV1ProjectsPrjOncallSchedulesSchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjReceivers request
GetV1ProjectsPrjReceivers(ctx context.Context, prj string, params *GetV1ProjectsPrjReceiversParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjReceiversWithBody request with any body
PostV1ProjectsPrjReceiversWithBody(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1ProjectsPrjReceivers(ctx context.Context, prj string, body PostV1ProjectsPrjReceiversJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrjReceiversReceiver request
DeleteV1ProjectsPrjReceiversReceiver(ctx context.Context, prj string, receiver string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjReceiversReceiver request
GetV1ProjectsPrjReceiversReceiver(ctx context.Context, prj string, receiver string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjReceiversReceiver request
PostV1ProjectsPrjReceiversReceiver(ctx context.Context, prj string, receiver string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ProjectsPrjReceiversReceiverWithBody request with any body
PutV1ProjectsPrjReceiversReceiverWithBody(ctx context.Context, prj string, receiver string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ProjectsPrjReceiversReceiver(ctx context.Context, prj string, receiver string, body PutV1ProjectsPrjReceiversReceiverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjRouting request
GetV1ProjectsPrjRouting(ctx context.Context, prj string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ProjectsPrjRoutingWithBody request with any body
PutV1ProjectsPrjRoutingWithBody(ctx context.Context, prj string, params *PutV1ProjectsPrjRoutingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ProjectsPrjRouting(ctx context.Context, prj string, params *PutV1ProjectsPrjRoutingParams, body PutV1ProjectsPrjRoutingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrjRuleGroupsName request
DeleteV1ProjectsPrjRuleGroupsName(ctx context.Context, prj string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ProjectsPrjRuleGroupsNameWithBody request with any body
PutV1ProjectsPrjRuleGroupsNameWithBody(ctx context.Context, prj string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjSilences request
GetV1ProjectsPrjSilences(ctx context.Context, prj string, params *GetV1ProjectsPrjSilencesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjSilencesWithBody request with any body
PostV1ProjectsPrjSilencesWithBody(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1ProjectsPrjSilences(ctx context.Context, prj string, body PostV1ProjectsPrjSilencesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrjSilencesSilence request
DeleteV1ProjectsPrjSilencesSilence(ctx context.Context, prj string, silence string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjSilencesSilence request
GetV1ProjectsPrjSilencesSilence(ctx context.Context, prj string, silence string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ProjectsPrjSilencesSilenceWithBody request with any body
PutV1ProjectsPrjSilencesSilenceWithBody(ctx context.Context, prj string, silence string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ProjectsPrjSilencesSilence(ctx context.Context, prj string, silence string, body PutV1ProjectsPrjSilencesSilenceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjSlos request
GetV1ProjectsPrjSlos(ctx context.Context, prj string, params *GetV1ProjectsPrjSlosParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjSlosWithBody request with any body
PostV1ProjectsPrjSlosWithBody(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1ProjectsPrjSlos(ctx context.Context, prj string, body PostV1ProjectsPrjSlosJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrjSlosSlo request
DeleteV1ProjectsPrjSlosSlo(ctx context.Context, prj string, slo string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjSlosSlo request
GetV1ProjectsPrjSlosSlo(ctx context.Context, prj string, slo string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ProjectsPrjSlosSloWithBody request with any body
PutV1ProjectsPrjSlosSloWithBody(ctx context.Context, prj string, slo string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ProjectsPrjSlosSlo(ctx context.Context, prj string, slo string, body PutV1ProjectsPrjSlosSloJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjTemplates request
GetV1ProjectsPrjTemplates(ctx context.Context, prj string, params *GetV1ProjectsPrjTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjTemplatesWithBody request with any body
PostV1ProjectsPrjTemplatesWithBody(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1ProjectsPrjTemplates(ctx context.Context, prj string, body PostV1ProjectsPrjTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrjTemplatesId request
DeleteV1ProjectsPrjTemplatesId(ctx context.Context, prj string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjTemplatesId request
GetV1ProjectsPrjTemplatesId(ctx context.Context, prj string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchV1ProjectsPrjTemplatesIdWithBody request with any body
PatchV1ProjectsPrjTemplatesIdWithBody(ctx context.Context, prj string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchV1ProjectsPrjTemplatesId(ctx context.Context, prj string, id string, body PatchV1ProjectsPrjTemplatesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjWorkflows request
GetV1ProjectsPrjWorkflows(ctx context.Context, prj string, params *GetV1ProjectsPrjWorkflowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjWorkflowsWithBody request with any body
PostV1ProjectsPrjWorkflowsWithBody(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1ProjectsPrjWorkflows(ctx context.Context, prj string, body PostV1ProjectsPrjWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ProjectsPrjWorkflowsW request
DeleteV1ProjectsPrjWorkflowsW(ctx context.Context, prj string, w string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ProjectsPrjWorkflowsW request
GetV1ProjectsPrjWorkflowsW(ctx context.Context, prj string, w string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsPrjWorkflowsWWithBody request with any body
PostV1ProjectsPrjWorkflowsWWithBody(ctx context.Context, prj string, w string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1ProjectsPrjWorkflowsW(ctx context.Context, prj string, w string, body PostV1ProjectsPrjWorkflowsWJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ProjectsPrjWorkflowsWWithBody request with any body
PutV1ProjectsPrjWorkflowsWWithBody(ctx context.Context, prj string, w string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ProjectsPrjWorkflowsW(ctx context.Context, prj string, w string, body PutV1ProjectsPrjWorkflowsWJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) DeleteV1ProjectsPrjAgentConfigsCWithResponse ¶
func (c *ClientWithResponses) DeleteV1ProjectsPrjAgentConfigsCWithResponse(ctx context.Context, prj string, cfg string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjAgentConfigsCResponse, error)
DeleteV1ProjectsPrjAgentConfigsCWithResponse request returning *DeleteV1ProjectsPrjAgentConfigsCResponse
func (*ClientWithResponses) DeleteV1ProjectsPrjAlertRulesRuleWithResponse ¶
func (c *ClientWithResponses) DeleteV1ProjectsPrjAlertRulesRuleWithResponse(ctx context.Context, prj string, rule string, params *DeleteV1ProjectsPrjAlertRulesRuleParams, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjAlertRulesRuleResponse, error)
DeleteV1ProjectsPrjAlertRulesRuleWithResponse request returning *DeleteV1ProjectsPrjAlertRulesRuleResponse
func (*ClientWithResponses) DeleteV1ProjectsPrjCatalogServicesSWithResponse ¶ added in v0.3.4
func (c *ClientWithResponses) DeleteV1ProjectsPrjCatalogServicesSWithResponse(ctx context.Context, prj string, s string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjCatalogServicesSResponse, error)
DeleteV1ProjectsPrjCatalogServicesSWithResponse request returning *DeleteV1ProjectsPrjCatalogServicesSResponse
func (*ClientWithResponses) DeleteV1ProjectsPrjCheckSecretsNameWithResponse ¶
func (c *ClientWithResponses) DeleteV1ProjectsPrjCheckSecretsNameWithResponse(ctx context.Context, prj string, name string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjCheckSecretsNameResponse, error)
DeleteV1ProjectsPrjCheckSecretsNameWithResponse request returning *DeleteV1ProjectsPrjCheckSecretsNameResponse
func (*ClientWithResponses) DeleteV1ProjectsPrjDashboardsDashWithResponse ¶
func (c *ClientWithResponses) DeleteV1ProjectsPrjDashboardsDashWithResponse(ctx context.Context, prj string, dash string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjDashboardsDashResponse, error)
DeleteV1ProjectsPrjDashboardsDashWithResponse request returning *DeleteV1ProjectsPrjDashboardsDashResponse
func (*ClientWithResponses) DeleteV1ProjectsPrjEscalationPoliciesPolWithResponse ¶
func (c *ClientWithResponses) DeleteV1ProjectsPrjEscalationPoliciesPolWithResponse(ctx context.Context, prj string, pol string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjEscalationPoliciesPolResponse, error)
DeleteV1ProjectsPrjEscalationPoliciesPolWithResponse request returning *DeleteV1ProjectsPrjEscalationPoliciesPolResponse
func (*ClientWithResponses) DeleteV1ProjectsPrjHealthTokensTokenWithResponse ¶
func (c *ClientWithResponses) DeleteV1ProjectsPrjHealthTokensTokenWithResponse(ctx context.Context, prj string, token string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjHealthTokensTokenResponse, error)
DeleteV1ProjectsPrjHealthTokensTokenWithResponse request returning *DeleteV1ProjectsPrjHealthTokensTokenResponse
func (*ClientWithResponses) DeleteV1ProjectsPrjIncidentTypesItyWithResponse ¶
func (c *ClientWithResponses) DeleteV1ProjectsPrjIncidentTypesItyWithResponse(ctx context.Context, prj string, ity string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjIncidentTypesItyResponse, error)
DeleteV1ProjectsPrjIncidentTypesItyWithResponse request returning *DeleteV1ProjectsPrjIncidentTypesItyResponse
func (*ClientWithResponses) DeleteV1ProjectsPrjMaintenanceWindowsWindowWithResponse ¶
func (c *ClientWithResponses) DeleteV1ProjectsPrjMaintenanceWindowsWindowWithResponse(ctx context.Context, prj string, window string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjMaintenanceWindowsWindowResponse, error)
DeleteV1ProjectsPrjMaintenanceWindowsWindowWithResponse request returning *DeleteV1ProjectsPrjMaintenanceWindowsWindowResponse
func (*ClientWithResponses) DeleteV1ProjectsPrjMonitorsMonitorWithResponse ¶
func (c *ClientWithResponses) DeleteV1ProjectsPrjMonitorsMonitorWithResponse(ctx context.Context, prj string, monitor string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjMonitorsMonitorResponse, error)
DeleteV1ProjectsPrjMonitorsMonitorWithResponse request returning *DeleteV1ProjectsPrjMonitorsMonitorResponse
func (*ClientWithResponses) DeleteV1ProjectsPrjOncallSchedulesSchWithResponse ¶
func (c *ClientWithResponses) DeleteV1ProjectsPrjOncallSchedulesSchWithResponse(ctx context.Context, prj string, sch string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjOncallSchedulesSchResponse, error)
DeleteV1ProjectsPrjOncallSchedulesSchWithResponse request returning *DeleteV1ProjectsPrjOncallSchedulesSchResponse
func (*ClientWithResponses) DeleteV1ProjectsPrjReceiversReceiverWithResponse ¶
func (c *ClientWithResponses) DeleteV1ProjectsPrjReceiversReceiverWithResponse(ctx context.Context, prj string, receiver string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjReceiversReceiverResponse, error)
DeleteV1ProjectsPrjReceiversReceiverWithResponse request returning *DeleteV1ProjectsPrjReceiversReceiverResponse
func (*ClientWithResponses) DeleteV1ProjectsPrjRuleGroupsNameWithResponse ¶
func (c *ClientWithResponses) DeleteV1ProjectsPrjRuleGroupsNameWithResponse(ctx context.Context, prj string, name string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjRuleGroupsNameResponse, error)
DeleteV1ProjectsPrjRuleGroupsNameWithResponse request returning *DeleteV1ProjectsPrjRuleGroupsNameResponse
func (*ClientWithResponses) DeleteV1ProjectsPrjSilencesSilenceWithResponse ¶
func (c *ClientWithResponses) DeleteV1ProjectsPrjSilencesSilenceWithResponse(ctx context.Context, prj string, silence string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjSilencesSilenceResponse, error)
DeleteV1ProjectsPrjSilencesSilenceWithResponse request returning *DeleteV1ProjectsPrjSilencesSilenceResponse
func (*ClientWithResponses) DeleteV1ProjectsPrjSlosSloWithResponse ¶
func (c *ClientWithResponses) DeleteV1ProjectsPrjSlosSloWithResponse(ctx context.Context, prj string, slo string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjSlosSloResponse, error)
DeleteV1ProjectsPrjSlosSloWithResponse request returning *DeleteV1ProjectsPrjSlosSloResponse
func (*ClientWithResponses) DeleteV1ProjectsPrjTemplatesIdWithResponse ¶
func (c *ClientWithResponses) DeleteV1ProjectsPrjTemplatesIdWithResponse(ctx context.Context, prj string, id string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjTemplatesIdResponse, error)
DeleteV1ProjectsPrjTemplatesIdWithResponse request returning *DeleteV1ProjectsPrjTemplatesIdResponse
func (*ClientWithResponses) DeleteV1ProjectsPrjWithResponse ¶
func (c *ClientWithResponses) DeleteV1ProjectsPrjWithResponse(ctx context.Context, prj string, params *DeleteV1ProjectsPrjParams, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjResponse, error)
DeleteV1ProjectsPrjWithResponse request returning *DeleteV1ProjectsPrjResponse
func (*ClientWithResponses) DeleteV1ProjectsPrjWorkflowsWWithResponse ¶
func (c *ClientWithResponses) DeleteV1ProjectsPrjWorkflowsWWithResponse(ctx context.Context, prj string, w string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjWorkflowsWResponse, error)
DeleteV1ProjectsPrjWorkflowsWWithResponse request returning *DeleteV1ProjectsPrjWorkflowsWResponse
func (*ClientWithResponses) GetV1OrgsOrgProjectsWithResponse ¶
func (c *ClientWithResponses) GetV1OrgsOrgProjectsWithResponse(ctx context.Context, org string, params *GetV1OrgsOrgProjectsParams, reqEditors ...RequestEditorFn) (*GetV1OrgsOrgProjectsResponse, error)
GetV1OrgsOrgProjectsWithResponse request returning *GetV1OrgsOrgProjectsResponse
func (*ClientWithResponses) GetV1ProjectsPrjAgentConfigsCWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjAgentConfigsCWithResponse(ctx context.Context, prj string, cfg string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjAgentConfigsCResponse, error)
GetV1ProjectsPrjAgentConfigsCWithResponse request returning *GetV1ProjectsPrjAgentConfigsCResponse
func (*ClientWithResponses) GetV1ProjectsPrjAgentConfigsWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjAgentConfigsWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjAgentConfigsParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjAgentConfigsResponse, error)
GetV1ProjectsPrjAgentConfigsWithResponse request returning *GetV1ProjectsPrjAgentConfigsResponse
func (*ClientWithResponses) GetV1ProjectsPrjAlertRulesRuleWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjAlertRulesRuleWithResponse(ctx context.Context, prj string, rule string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjAlertRulesRuleResponse, error)
GetV1ProjectsPrjAlertRulesRuleWithResponse request returning *GetV1ProjectsPrjAlertRulesRuleResponse
func (*ClientWithResponses) GetV1ProjectsPrjAlertRulesWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjAlertRulesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjAlertRulesParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjAlertRulesResponse, error)
GetV1ProjectsPrjAlertRulesWithResponse request returning *GetV1ProjectsPrjAlertRulesResponse
func (*ClientWithResponses) GetV1ProjectsPrjCatalogServicesSWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjCatalogServicesSWithResponse(ctx context.Context, prj string, s string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjCatalogServicesSResponse, error)
GetV1ProjectsPrjCatalogServicesSWithResponse request returning *GetV1ProjectsPrjCatalogServicesSResponse
func (*ClientWithResponses) GetV1ProjectsPrjCatalogServicesWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjCatalogServicesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjCatalogServicesParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjCatalogServicesResponse, error)
GetV1ProjectsPrjCatalogServicesWithResponse request returning *GetV1ProjectsPrjCatalogServicesResponse
func (*ClientWithResponses) GetV1ProjectsPrjCheckSecretsWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjCheckSecretsWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjCheckSecretsParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjCheckSecretsResponse, error)
GetV1ProjectsPrjCheckSecretsWithResponse request returning *GetV1ProjectsPrjCheckSecretsResponse
func (*ClientWithResponses) GetV1ProjectsPrjDashboardsDashWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjDashboardsDashWithResponse(ctx context.Context, prj string, dash string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjDashboardsDashResponse, error)
GetV1ProjectsPrjDashboardsDashWithResponse request returning *GetV1ProjectsPrjDashboardsDashResponse
func (*ClientWithResponses) GetV1ProjectsPrjDashboardsWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjDashboardsWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjDashboardsParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjDashboardsResponse, error)
GetV1ProjectsPrjDashboardsWithResponse request returning *GetV1ProjectsPrjDashboardsResponse
func (*ClientWithResponses) GetV1ProjectsPrjEscalationPoliciesPolWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjEscalationPoliciesPolWithResponse(ctx context.Context, prj string, pol string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjEscalationPoliciesPolResponse, error)
GetV1ProjectsPrjEscalationPoliciesPolWithResponse request returning *GetV1ProjectsPrjEscalationPoliciesPolResponse
func (*ClientWithResponses) GetV1ProjectsPrjEscalationPoliciesWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjEscalationPoliciesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjEscalationPoliciesParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjEscalationPoliciesResponse, error)
GetV1ProjectsPrjEscalationPoliciesWithResponse request returning *GetV1ProjectsPrjEscalationPoliciesResponse
func (*ClientWithResponses) GetV1ProjectsPrjHealthTokensWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjHealthTokensWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjHealthTokensParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjHealthTokensResponse, error)
GetV1ProjectsPrjHealthTokensWithResponse request returning *GetV1ProjectsPrjHealthTokensResponse
func (*ClientWithResponses) GetV1ProjectsPrjIncidentTypesItyWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjIncidentTypesItyWithResponse(ctx context.Context, prj string, ity string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjIncidentTypesItyResponse, error)
GetV1ProjectsPrjIncidentTypesItyWithResponse request returning *GetV1ProjectsPrjIncidentTypesItyResponse
func (*ClientWithResponses) GetV1ProjectsPrjIncidentTypesWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjIncidentTypesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjIncidentTypesParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjIncidentTypesResponse, error)
GetV1ProjectsPrjIncidentTypesWithResponse request returning *GetV1ProjectsPrjIncidentTypesResponse
func (*ClientWithResponses) GetV1ProjectsPrjMaintenanceWindowsWindowWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjMaintenanceWindowsWindowWithResponse(ctx context.Context, prj string, window string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjMaintenanceWindowsWindowResponse, error)
GetV1ProjectsPrjMaintenanceWindowsWindowWithResponse request returning *GetV1ProjectsPrjMaintenanceWindowsWindowResponse
func (*ClientWithResponses) GetV1ProjectsPrjMaintenanceWindowsWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjMaintenanceWindowsWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjMaintenanceWindowsParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjMaintenanceWindowsResponse, error)
GetV1ProjectsPrjMaintenanceWindowsWithResponse request returning *GetV1ProjectsPrjMaintenanceWindowsResponse
func (*ClientWithResponses) GetV1ProjectsPrjMonitorsMonitorWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjMonitorsMonitorWithResponse(ctx context.Context, prj string, monitor string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjMonitorsMonitorResponse, error)
GetV1ProjectsPrjMonitorsMonitorWithResponse request returning *GetV1ProjectsPrjMonitorsMonitorResponse
func (*ClientWithResponses) GetV1ProjectsPrjMonitorsWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjMonitorsWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjMonitorsParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjMonitorsResponse, error)
GetV1ProjectsPrjMonitorsWithResponse request returning *GetV1ProjectsPrjMonitorsResponse
func (*ClientWithResponses) GetV1ProjectsPrjOncallSchedulesSchWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjOncallSchedulesSchWithResponse(ctx context.Context, prj string, sch string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjOncallSchedulesSchResponse, error)
GetV1ProjectsPrjOncallSchedulesSchWithResponse request returning *GetV1ProjectsPrjOncallSchedulesSchResponse
func (*ClientWithResponses) GetV1ProjectsPrjOncallSchedulesWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjOncallSchedulesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjOncallSchedulesParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjOncallSchedulesResponse, error)
GetV1ProjectsPrjOncallSchedulesWithResponse request returning *GetV1ProjectsPrjOncallSchedulesResponse
func (*ClientWithResponses) GetV1ProjectsPrjReceiversReceiverWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjReceiversReceiverWithResponse(ctx context.Context, prj string, receiver string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjReceiversReceiverResponse, error)
GetV1ProjectsPrjReceiversReceiverWithResponse request returning *GetV1ProjectsPrjReceiversReceiverResponse
func (*ClientWithResponses) GetV1ProjectsPrjReceiversWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjReceiversWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjReceiversParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjReceiversResponse, error)
GetV1ProjectsPrjReceiversWithResponse request returning *GetV1ProjectsPrjReceiversResponse
func (*ClientWithResponses) GetV1ProjectsPrjRoutingWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjRoutingWithResponse(ctx context.Context, prj string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjRoutingResponse, error)
GetV1ProjectsPrjRoutingWithResponse request returning *GetV1ProjectsPrjRoutingResponse
func (*ClientWithResponses) GetV1ProjectsPrjSilencesSilenceWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjSilencesSilenceWithResponse(ctx context.Context, prj string, silence string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjSilencesSilenceResponse, error)
GetV1ProjectsPrjSilencesSilenceWithResponse request returning *GetV1ProjectsPrjSilencesSilenceResponse
func (*ClientWithResponses) GetV1ProjectsPrjSilencesWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjSilencesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjSilencesParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjSilencesResponse, error)
GetV1ProjectsPrjSilencesWithResponse request returning *GetV1ProjectsPrjSilencesResponse
func (*ClientWithResponses) GetV1ProjectsPrjSlosSloWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjSlosSloWithResponse(ctx context.Context, prj string, slo string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjSlosSloResponse, error)
GetV1ProjectsPrjSlosSloWithResponse request returning *GetV1ProjectsPrjSlosSloResponse
func (*ClientWithResponses) GetV1ProjectsPrjSlosWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjSlosWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjSlosParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjSlosResponse, error)
GetV1ProjectsPrjSlosWithResponse request returning *GetV1ProjectsPrjSlosResponse
func (*ClientWithResponses) GetV1ProjectsPrjTemplatesIdWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjTemplatesIdWithResponse(ctx context.Context, prj string, id string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjTemplatesIdResponse, error)
GetV1ProjectsPrjTemplatesIdWithResponse request returning *GetV1ProjectsPrjTemplatesIdResponse
func (*ClientWithResponses) GetV1ProjectsPrjTemplatesWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjTemplatesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjTemplatesParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjTemplatesResponse, error)
GetV1ProjectsPrjTemplatesWithResponse request returning *GetV1ProjectsPrjTemplatesResponse
func (*ClientWithResponses) GetV1ProjectsPrjWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjWithResponse(ctx context.Context, prj string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjResponse, error)
GetV1ProjectsPrjWithResponse request returning *GetV1ProjectsPrjResponse
func (*ClientWithResponses) GetV1ProjectsPrjWorkflowsWWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjWorkflowsWWithResponse(ctx context.Context, prj string, w string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjWorkflowsWResponse, error)
GetV1ProjectsPrjWorkflowsWWithResponse request returning *GetV1ProjectsPrjWorkflowsWResponse
func (*ClientWithResponses) GetV1ProjectsPrjWorkflowsWithResponse ¶
func (c *ClientWithResponses) GetV1ProjectsPrjWorkflowsWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjWorkflowsParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjWorkflowsResponse, error)
GetV1ProjectsPrjWorkflowsWithResponse request returning *GetV1ProjectsPrjWorkflowsResponse
func (*ClientWithResponses) PatchV1ProjectsPrjMonitorsMonitorWithApplicationMergePatchPlusJSONBodyWithResponse ¶ added in v0.3.2
func (c *ClientWithResponses) PatchV1ProjectsPrjMonitorsMonitorWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, prj string, monitor string, params *PatchV1ProjectsPrjMonitorsMonitorParams, body PatchV1ProjectsPrjMonitorsMonitorApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1ProjectsPrjMonitorsMonitorResponse, error)
func (*ClientWithResponses) PatchV1ProjectsPrjMonitorsMonitorWithBodyWithResponse ¶ added in v0.3.2
func (c *ClientWithResponses) PatchV1ProjectsPrjMonitorsMonitorWithBodyWithResponse(ctx context.Context, prj string, monitor string, params *PatchV1ProjectsPrjMonitorsMonitorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1ProjectsPrjMonitorsMonitorResponse, error)
PatchV1ProjectsPrjMonitorsMonitorWithBodyWithResponse request with arbitrary body returning *PatchV1ProjectsPrjMonitorsMonitorResponse
func (*ClientWithResponses) PatchV1ProjectsPrjTemplatesIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchV1ProjectsPrjTemplatesIdWithBodyWithResponse(ctx context.Context, prj string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1ProjectsPrjTemplatesIdResponse, error)
PatchV1ProjectsPrjTemplatesIdWithBodyWithResponse request with arbitrary body returning *PatchV1ProjectsPrjTemplatesIdResponse
func (*ClientWithResponses) PatchV1ProjectsPrjTemplatesIdWithResponse ¶
func (c *ClientWithResponses) PatchV1ProjectsPrjTemplatesIdWithResponse(ctx context.Context, prj string, id string, body PatchV1ProjectsPrjTemplatesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1ProjectsPrjTemplatesIdResponse, error)
func (*ClientWithResponses) PatchV1ProjectsPrjWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchV1ProjectsPrjWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1ProjectsPrjResponse, error)
PatchV1ProjectsPrjWithBodyWithResponse request with arbitrary body returning *PatchV1ProjectsPrjResponse
func (*ClientWithResponses) PatchV1ProjectsPrjWithResponse ¶
func (c *ClientWithResponses) PatchV1ProjectsPrjWithResponse(ctx context.Context, prj string, body PatchV1ProjectsPrjJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1ProjectsPrjResponse, error)
func (*ClientWithResponses) PostV1OrgsOrgProjectsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1OrgsOrgProjectsWithBodyWithResponse(ctx context.Context, org string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1OrgsOrgProjectsResponse, error)
PostV1OrgsOrgProjectsWithBodyWithResponse request with arbitrary body returning *PostV1OrgsOrgProjectsResponse
func (*ClientWithResponses) PostV1OrgsOrgProjectsWithResponse ¶
func (c *ClientWithResponses) PostV1OrgsOrgProjectsWithResponse(ctx context.Context, org string, body PostV1OrgsOrgProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1OrgsOrgProjectsResponse, error)
func (*ClientWithResponses) PostV1ProjectsPrjAgentConfigsCWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjAgentConfigsCWithResponse(ctx context.Context, prj string, cfg string, params *PostV1ProjectsPrjAgentConfigsCParams, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjAgentConfigsCResponse, error)
PostV1ProjectsPrjAgentConfigsCWithResponse request returning *PostV1ProjectsPrjAgentConfigsCResponse
func (*ClientWithResponses) PostV1ProjectsPrjAgentConfigsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjAgentConfigsWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjAgentConfigsResponse, error)
PostV1ProjectsPrjAgentConfigsWithBodyWithResponse request with arbitrary body returning *PostV1ProjectsPrjAgentConfigsResponse
func (*ClientWithResponses) PostV1ProjectsPrjAgentConfigsWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjAgentConfigsWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjAgentConfigsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjAgentConfigsResponse, error)
func (*ClientWithResponses) PostV1ProjectsPrjAlertRulesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjAlertRulesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjAlertRulesResponse, error)
PostV1ProjectsPrjAlertRulesWithBodyWithResponse request with arbitrary body returning *PostV1ProjectsPrjAlertRulesResponse
func (*ClientWithResponses) PostV1ProjectsPrjAlertRulesWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjAlertRulesWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjAlertRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjAlertRulesResponse, error)
func (*ClientWithResponses) PostV1ProjectsPrjDashboardsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjDashboardsWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjDashboardsResponse, error)
PostV1ProjectsPrjDashboardsWithBodyWithResponse request with arbitrary body returning *PostV1ProjectsPrjDashboardsResponse
func (*ClientWithResponses) PostV1ProjectsPrjDashboardsWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjDashboardsWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjDashboardsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjDashboardsResponse, error)
func (*ClientWithResponses) PostV1ProjectsPrjEscalationPoliciesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjEscalationPoliciesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjEscalationPoliciesResponse, error)
PostV1ProjectsPrjEscalationPoliciesWithBodyWithResponse request with arbitrary body returning *PostV1ProjectsPrjEscalationPoliciesResponse
func (*ClientWithResponses) PostV1ProjectsPrjEscalationPoliciesWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjEscalationPoliciesWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjEscalationPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjEscalationPoliciesResponse, error)
func (*ClientWithResponses) PostV1ProjectsPrjHealthTokensWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjHealthTokensWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjHealthTokensResponse, error)
PostV1ProjectsPrjHealthTokensWithBodyWithResponse request with arbitrary body returning *PostV1ProjectsPrjHealthTokensResponse
func (*ClientWithResponses) PostV1ProjectsPrjHealthTokensWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjHealthTokensWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjHealthTokensJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjHealthTokensResponse, error)
func (*ClientWithResponses) PostV1ProjectsPrjIncidentTypesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjIncidentTypesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjIncidentTypesResponse, error)
PostV1ProjectsPrjIncidentTypesWithBodyWithResponse request with arbitrary body returning *PostV1ProjectsPrjIncidentTypesResponse
func (*ClientWithResponses) PostV1ProjectsPrjIncidentTypesWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjIncidentTypesWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjIncidentTypesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjIncidentTypesResponse, error)
func (*ClientWithResponses) PostV1ProjectsPrjMaintenanceWindowsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjMaintenanceWindowsWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjMaintenanceWindowsResponse, error)
PostV1ProjectsPrjMaintenanceWindowsWithBodyWithResponse request with arbitrary body returning *PostV1ProjectsPrjMaintenanceWindowsResponse
func (*ClientWithResponses) PostV1ProjectsPrjMaintenanceWindowsWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjMaintenanceWindowsWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjMaintenanceWindowsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjMaintenanceWindowsResponse, error)
func (*ClientWithResponses) PostV1ProjectsPrjMonitorsMonitorWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjMonitorsMonitorWithResponse(ctx context.Context, prj string, monitor string, params *PostV1ProjectsPrjMonitorsMonitorParams, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjMonitorsMonitorResponse, error)
PostV1ProjectsPrjMonitorsMonitorWithResponse request returning *PostV1ProjectsPrjMonitorsMonitorResponse
func (*ClientWithResponses) PostV1ProjectsPrjMonitorsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjMonitorsWithBodyWithResponse(ctx context.Context, prj string, params *PostV1ProjectsPrjMonitorsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjMonitorsResponse, error)
PostV1ProjectsPrjMonitorsWithBodyWithResponse request with arbitrary body returning *PostV1ProjectsPrjMonitorsResponse
func (*ClientWithResponses) PostV1ProjectsPrjMonitorsWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjMonitorsWithResponse(ctx context.Context, prj string, params *PostV1ProjectsPrjMonitorsParams, body PostV1ProjectsPrjMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjMonitorsResponse, error)
func (*ClientWithResponses) PostV1ProjectsPrjOncallSchedulesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjOncallSchedulesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjOncallSchedulesResponse, error)
PostV1ProjectsPrjOncallSchedulesWithBodyWithResponse request with arbitrary body returning *PostV1ProjectsPrjOncallSchedulesResponse
func (*ClientWithResponses) PostV1ProjectsPrjOncallSchedulesWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjOncallSchedulesWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjOncallSchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjOncallSchedulesResponse, error)
func (*ClientWithResponses) PostV1ProjectsPrjReceiversReceiverWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjReceiversReceiverWithResponse(ctx context.Context, prj string, receiver string, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjReceiversReceiverResponse, error)
PostV1ProjectsPrjReceiversReceiverWithResponse request returning *PostV1ProjectsPrjReceiversReceiverResponse
func (*ClientWithResponses) PostV1ProjectsPrjReceiversWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjReceiversWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjReceiversResponse, error)
PostV1ProjectsPrjReceiversWithBodyWithResponse request with arbitrary body returning *PostV1ProjectsPrjReceiversResponse
func (*ClientWithResponses) PostV1ProjectsPrjReceiversWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjReceiversWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjReceiversJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjReceiversResponse, error)
func (*ClientWithResponses) PostV1ProjectsPrjSilencesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjSilencesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjSilencesResponse, error)
PostV1ProjectsPrjSilencesWithBodyWithResponse request with arbitrary body returning *PostV1ProjectsPrjSilencesResponse
func (*ClientWithResponses) PostV1ProjectsPrjSilencesWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjSilencesWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjSilencesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjSilencesResponse, error)
func (*ClientWithResponses) PostV1ProjectsPrjSlosWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjSlosWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjSlosResponse, error)
PostV1ProjectsPrjSlosWithBodyWithResponse request with arbitrary body returning *PostV1ProjectsPrjSlosResponse
func (*ClientWithResponses) PostV1ProjectsPrjSlosWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjSlosWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjSlosJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjSlosResponse, error)
func (*ClientWithResponses) PostV1ProjectsPrjTemplatesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjTemplatesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjTemplatesResponse, error)
PostV1ProjectsPrjTemplatesWithBodyWithResponse request with arbitrary body returning *PostV1ProjectsPrjTemplatesResponse
func (*ClientWithResponses) PostV1ProjectsPrjTemplatesWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjTemplatesWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjTemplatesResponse, error)
func (*ClientWithResponses) PostV1ProjectsPrjWorkflowsWWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjWorkflowsWWithBodyWithResponse(ctx context.Context, prj string, w string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjWorkflowsWResponse, error)
PostV1ProjectsPrjWorkflowsWWithBodyWithResponse request with arbitrary body returning *PostV1ProjectsPrjWorkflowsWResponse
func (*ClientWithResponses) PostV1ProjectsPrjWorkflowsWWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjWorkflowsWWithResponse(ctx context.Context, prj string, w string, body PostV1ProjectsPrjWorkflowsWJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjWorkflowsWResponse, error)
func (*ClientWithResponses) PostV1ProjectsPrjWorkflowsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjWorkflowsWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjWorkflowsResponse, error)
PostV1ProjectsPrjWorkflowsWithBodyWithResponse request with arbitrary body returning *PostV1ProjectsPrjWorkflowsResponse
func (*ClientWithResponses) PostV1ProjectsPrjWorkflowsWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsPrjWorkflowsWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjWorkflowsResponse, error)
func (*ClientWithResponses) PutV1ProjectsPrjAgentConfigsCWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjAgentConfigsCWithBodyWithResponse(ctx context.Context, prj string, cfg string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjAgentConfigsCResponse, error)
PutV1ProjectsPrjAgentConfigsCWithBodyWithResponse request with arbitrary body returning *PutV1ProjectsPrjAgentConfigsCResponse
func (*ClientWithResponses) PutV1ProjectsPrjAgentConfigsCWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjAgentConfigsCWithResponse(ctx context.Context, prj string, cfg string, body PutV1ProjectsPrjAgentConfigsCJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjAgentConfigsCResponse, error)
func (*ClientWithResponses) PutV1ProjectsPrjAlertRulesRuleWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjAlertRulesRuleWithBodyWithResponse(ctx context.Context, prj string, rule string, params *PutV1ProjectsPrjAlertRulesRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjAlertRulesRuleResponse, error)
PutV1ProjectsPrjAlertRulesRuleWithBodyWithResponse request with arbitrary body returning *PutV1ProjectsPrjAlertRulesRuleResponse
func (*ClientWithResponses) PutV1ProjectsPrjAlertRulesRuleWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjAlertRulesRuleWithResponse(ctx context.Context, prj string, rule string, params *PutV1ProjectsPrjAlertRulesRuleParams, body PutV1ProjectsPrjAlertRulesRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjAlertRulesRuleResponse, error)
func (*ClientWithResponses) PutV1ProjectsPrjCatalogServicesSWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjCatalogServicesSWithBodyWithResponse(ctx context.Context, prj string, s string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjCatalogServicesSResponse, error)
PutV1ProjectsPrjCatalogServicesSWithBodyWithResponse request with arbitrary body returning *PutV1ProjectsPrjCatalogServicesSResponse
func (*ClientWithResponses) PutV1ProjectsPrjCatalogServicesSWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjCatalogServicesSWithResponse(ctx context.Context, prj string, s string, body PutV1ProjectsPrjCatalogServicesSJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjCatalogServicesSResponse, error)
func (*ClientWithResponses) PutV1ProjectsPrjCheckSecretsNameWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjCheckSecretsNameWithBodyWithResponse(ctx context.Context, prj string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjCheckSecretsNameResponse, error)
PutV1ProjectsPrjCheckSecretsNameWithBodyWithResponse request with arbitrary body returning *PutV1ProjectsPrjCheckSecretsNameResponse
func (*ClientWithResponses) PutV1ProjectsPrjCheckSecretsNameWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjCheckSecretsNameWithResponse(ctx context.Context, prj string, name string, body PutV1ProjectsPrjCheckSecretsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjCheckSecretsNameResponse, error)
func (*ClientWithResponses) PutV1ProjectsPrjDashboardsDashWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjDashboardsDashWithBodyWithResponse(ctx context.Context, prj string, dash string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjDashboardsDashResponse, error)
PutV1ProjectsPrjDashboardsDashWithBodyWithResponse request with arbitrary body returning *PutV1ProjectsPrjDashboardsDashResponse
func (*ClientWithResponses) PutV1ProjectsPrjDashboardsDashWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjDashboardsDashWithResponse(ctx context.Context, prj string, dash string, body PutV1ProjectsPrjDashboardsDashJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjDashboardsDashResponse, error)
func (*ClientWithResponses) PutV1ProjectsPrjEscalationPoliciesPolWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjEscalationPoliciesPolWithBodyWithResponse(ctx context.Context, prj string, pol string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjEscalationPoliciesPolResponse, error)
PutV1ProjectsPrjEscalationPoliciesPolWithBodyWithResponse request with arbitrary body returning *PutV1ProjectsPrjEscalationPoliciesPolResponse
func (*ClientWithResponses) PutV1ProjectsPrjEscalationPoliciesPolWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjEscalationPoliciesPolWithResponse(ctx context.Context, prj string, pol string, body PutV1ProjectsPrjEscalationPoliciesPolJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjEscalationPoliciesPolResponse, error)
func (*ClientWithResponses) PutV1ProjectsPrjIncidentTypesItyWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjIncidentTypesItyWithBodyWithResponse(ctx context.Context, prj string, ity string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjIncidentTypesItyResponse, error)
PutV1ProjectsPrjIncidentTypesItyWithBodyWithResponse request with arbitrary body returning *PutV1ProjectsPrjIncidentTypesItyResponse
func (*ClientWithResponses) PutV1ProjectsPrjIncidentTypesItyWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjIncidentTypesItyWithResponse(ctx context.Context, prj string, ity string, body PutV1ProjectsPrjIncidentTypesItyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjIncidentTypesItyResponse, error)
func (*ClientWithResponses) PutV1ProjectsPrjMaintenanceWindowsWindowWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjMaintenanceWindowsWindowWithBodyWithResponse(ctx context.Context, prj string, window string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjMaintenanceWindowsWindowResponse, error)
PutV1ProjectsPrjMaintenanceWindowsWindowWithBodyWithResponse request with arbitrary body returning *PutV1ProjectsPrjMaintenanceWindowsWindowResponse
func (*ClientWithResponses) PutV1ProjectsPrjMaintenanceWindowsWindowWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjMaintenanceWindowsWindowWithResponse(ctx context.Context, prj string, window string, body PutV1ProjectsPrjMaintenanceWindowsWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjMaintenanceWindowsWindowResponse, error)
func (*ClientWithResponses) PutV1ProjectsPrjMonitorsMonitorWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjMonitorsMonitorWithBodyWithResponse(ctx context.Context, prj string, monitor string, params *PutV1ProjectsPrjMonitorsMonitorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjMonitorsMonitorResponse, error)
PutV1ProjectsPrjMonitorsMonitorWithBodyWithResponse request with arbitrary body returning *PutV1ProjectsPrjMonitorsMonitorResponse
func (*ClientWithResponses) PutV1ProjectsPrjMonitorsMonitorWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjMonitorsMonitorWithResponse(ctx context.Context, prj string, monitor string, params *PutV1ProjectsPrjMonitorsMonitorParams, body PutV1ProjectsPrjMonitorsMonitorJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjMonitorsMonitorResponse, error)
func (*ClientWithResponses) PutV1ProjectsPrjOncallSchedulesSchWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjOncallSchedulesSchWithBodyWithResponse(ctx context.Context, prj string, sch string, params *PutV1ProjectsPrjOncallSchedulesSchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjOncallSchedulesSchResponse, error)
PutV1ProjectsPrjOncallSchedulesSchWithBodyWithResponse request with arbitrary body returning *PutV1ProjectsPrjOncallSchedulesSchResponse
func (*ClientWithResponses) PutV1ProjectsPrjOncallSchedulesSchWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjOncallSchedulesSchWithResponse(ctx context.Context, prj string, sch string, params *PutV1ProjectsPrjOncallSchedulesSchParams, body PutV1ProjectsPrjOncallSchedulesSchJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjOncallSchedulesSchResponse, error)
func (*ClientWithResponses) PutV1ProjectsPrjReceiversReceiverWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjReceiversReceiverWithBodyWithResponse(ctx context.Context, prj string, receiver string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjReceiversReceiverResponse, error)
PutV1ProjectsPrjReceiversReceiverWithBodyWithResponse request with arbitrary body returning *PutV1ProjectsPrjReceiversReceiverResponse
func (*ClientWithResponses) PutV1ProjectsPrjReceiversReceiverWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjReceiversReceiverWithResponse(ctx context.Context, prj string, receiver string, body PutV1ProjectsPrjReceiversReceiverJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjReceiversReceiverResponse, error)
func (*ClientWithResponses) PutV1ProjectsPrjRoutingWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjRoutingWithBodyWithResponse(ctx context.Context, prj string, params *PutV1ProjectsPrjRoutingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjRoutingResponse, error)
PutV1ProjectsPrjRoutingWithBodyWithResponse request with arbitrary body returning *PutV1ProjectsPrjRoutingResponse
func (*ClientWithResponses) PutV1ProjectsPrjRoutingWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjRoutingWithResponse(ctx context.Context, prj string, params *PutV1ProjectsPrjRoutingParams, body PutV1ProjectsPrjRoutingJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjRoutingResponse, error)
func (*ClientWithResponses) PutV1ProjectsPrjRuleGroupsNameWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjRuleGroupsNameWithBodyWithResponse(ctx context.Context, prj string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjRuleGroupsNameResponse, error)
PutV1ProjectsPrjRuleGroupsNameWithBodyWithResponse request with arbitrary body returning *PutV1ProjectsPrjRuleGroupsNameResponse
func (*ClientWithResponses) PutV1ProjectsPrjSilencesSilenceWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjSilencesSilenceWithBodyWithResponse(ctx context.Context, prj string, silence string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjSilencesSilenceResponse, error)
PutV1ProjectsPrjSilencesSilenceWithBodyWithResponse request with arbitrary body returning *PutV1ProjectsPrjSilencesSilenceResponse
func (*ClientWithResponses) PutV1ProjectsPrjSilencesSilenceWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjSilencesSilenceWithResponse(ctx context.Context, prj string, silence string, body PutV1ProjectsPrjSilencesSilenceJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjSilencesSilenceResponse, error)
func (*ClientWithResponses) PutV1ProjectsPrjSlosSloWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjSlosSloWithBodyWithResponse(ctx context.Context, prj string, slo string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjSlosSloResponse, error)
PutV1ProjectsPrjSlosSloWithBodyWithResponse request with arbitrary body returning *PutV1ProjectsPrjSlosSloResponse
func (*ClientWithResponses) PutV1ProjectsPrjSlosSloWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjSlosSloWithResponse(ctx context.Context, prj string, slo string, body PutV1ProjectsPrjSlosSloJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjSlosSloResponse, error)
func (*ClientWithResponses) PutV1ProjectsPrjWorkflowsWWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjWorkflowsWWithBodyWithResponse(ctx context.Context, prj string, w string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjWorkflowsWResponse, error)
PutV1ProjectsPrjWorkflowsWWithBodyWithResponse request with arbitrary body returning *PutV1ProjectsPrjWorkflowsWResponse
func (*ClientWithResponses) PutV1ProjectsPrjWorkflowsWWithResponse ¶
func (c *ClientWithResponses) PutV1ProjectsPrjWorkflowsWWithResponse(ctx context.Context, prj string, w string, body PutV1ProjectsPrjWorkflowsWJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjWorkflowsWResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetV1OrgsOrgProjectsWithResponse request
GetV1OrgsOrgProjectsWithResponse(ctx context.Context, org string, params *GetV1OrgsOrgProjectsParams, reqEditors ...RequestEditorFn) (*GetV1OrgsOrgProjectsResponse, error)
// PostV1OrgsOrgProjectsWithBodyWithResponse request with any body
PostV1OrgsOrgProjectsWithBodyWithResponse(ctx context.Context, org string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1OrgsOrgProjectsResponse, error)
PostV1OrgsOrgProjectsWithResponse(ctx context.Context, org string, body PostV1OrgsOrgProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1OrgsOrgProjectsResponse, error)
// DeleteV1ProjectsPrjWithResponse request
DeleteV1ProjectsPrjWithResponse(ctx context.Context, prj string, params *DeleteV1ProjectsPrjParams, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjResponse, error)
// GetV1ProjectsPrjWithResponse request
GetV1ProjectsPrjWithResponse(ctx context.Context, prj string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjResponse, error)
// PatchV1ProjectsPrjWithBodyWithResponse request with any body
PatchV1ProjectsPrjWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1ProjectsPrjResponse, error)
PatchV1ProjectsPrjWithResponse(ctx context.Context, prj string, body PatchV1ProjectsPrjJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1ProjectsPrjResponse, error)
// GetV1ProjectsPrjAgentConfigsWithResponse request
GetV1ProjectsPrjAgentConfigsWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjAgentConfigsParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjAgentConfigsResponse, error)
// PostV1ProjectsPrjAgentConfigsWithBodyWithResponse request with any body
PostV1ProjectsPrjAgentConfigsWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjAgentConfigsResponse, error)
PostV1ProjectsPrjAgentConfigsWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjAgentConfigsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjAgentConfigsResponse, error)
// DeleteV1ProjectsPrjAgentConfigsCWithResponse request
DeleteV1ProjectsPrjAgentConfigsCWithResponse(ctx context.Context, prj string, cfg string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjAgentConfigsCResponse, error)
// GetV1ProjectsPrjAgentConfigsCWithResponse request
GetV1ProjectsPrjAgentConfigsCWithResponse(ctx context.Context, prj string, cfg string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjAgentConfigsCResponse, error)
// PostV1ProjectsPrjAgentConfigsCWithResponse request
PostV1ProjectsPrjAgentConfigsCWithResponse(ctx context.Context, prj string, cfg string, params *PostV1ProjectsPrjAgentConfigsCParams, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjAgentConfigsCResponse, error)
// PutV1ProjectsPrjAgentConfigsCWithBodyWithResponse request with any body
PutV1ProjectsPrjAgentConfigsCWithBodyWithResponse(ctx context.Context, prj string, cfg string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjAgentConfigsCResponse, error)
PutV1ProjectsPrjAgentConfigsCWithResponse(ctx context.Context, prj string, cfg string, body PutV1ProjectsPrjAgentConfigsCJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjAgentConfigsCResponse, error)
// GetV1ProjectsPrjAlertRulesWithResponse request
GetV1ProjectsPrjAlertRulesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjAlertRulesParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjAlertRulesResponse, error)
// PostV1ProjectsPrjAlertRulesWithBodyWithResponse request with any body
PostV1ProjectsPrjAlertRulesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjAlertRulesResponse, error)
PostV1ProjectsPrjAlertRulesWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjAlertRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjAlertRulesResponse, error)
// DeleteV1ProjectsPrjAlertRulesRuleWithResponse request
DeleteV1ProjectsPrjAlertRulesRuleWithResponse(ctx context.Context, prj string, rule string, params *DeleteV1ProjectsPrjAlertRulesRuleParams, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjAlertRulesRuleResponse, error)
// GetV1ProjectsPrjAlertRulesRuleWithResponse request
GetV1ProjectsPrjAlertRulesRuleWithResponse(ctx context.Context, prj string, rule string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjAlertRulesRuleResponse, error)
// PutV1ProjectsPrjAlertRulesRuleWithBodyWithResponse request with any body
PutV1ProjectsPrjAlertRulesRuleWithBodyWithResponse(ctx context.Context, prj string, rule string, params *PutV1ProjectsPrjAlertRulesRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjAlertRulesRuleResponse, error)
PutV1ProjectsPrjAlertRulesRuleWithResponse(ctx context.Context, prj string, rule string, params *PutV1ProjectsPrjAlertRulesRuleParams, body PutV1ProjectsPrjAlertRulesRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjAlertRulesRuleResponse, error)
// GetV1ProjectsPrjCatalogServicesWithResponse request
GetV1ProjectsPrjCatalogServicesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjCatalogServicesParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjCatalogServicesResponse, error)
// DeleteV1ProjectsPrjCatalogServicesSWithResponse request
DeleteV1ProjectsPrjCatalogServicesSWithResponse(ctx context.Context, prj string, s string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjCatalogServicesSResponse, error)
// GetV1ProjectsPrjCatalogServicesSWithResponse request
GetV1ProjectsPrjCatalogServicesSWithResponse(ctx context.Context, prj string, s string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjCatalogServicesSResponse, error)
// PutV1ProjectsPrjCatalogServicesSWithBodyWithResponse request with any body
PutV1ProjectsPrjCatalogServicesSWithBodyWithResponse(ctx context.Context, prj string, s string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjCatalogServicesSResponse, error)
PutV1ProjectsPrjCatalogServicesSWithResponse(ctx context.Context, prj string, s string, body PutV1ProjectsPrjCatalogServicesSJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjCatalogServicesSResponse, error)
// GetV1ProjectsPrjCheckSecretsWithResponse request
GetV1ProjectsPrjCheckSecretsWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjCheckSecretsParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjCheckSecretsResponse, error)
// DeleteV1ProjectsPrjCheckSecretsNameWithResponse request
DeleteV1ProjectsPrjCheckSecretsNameWithResponse(ctx context.Context, prj string, name string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjCheckSecretsNameResponse, error)
// PutV1ProjectsPrjCheckSecretsNameWithBodyWithResponse request with any body
PutV1ProjectsPrjCheckSecretsNameWithBodyWithResponse(ctx context.Context, prj string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjCheckSecretsNameResponse, error)
PutV1ProjectsPrjCheckSecretsNameWithResponse(ctx context.Context, prj string, name string, body PutV1ProjectsPrjCheckSecretsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjCheckSecretsNameResponse, error)
// GetV1ProjectsPrjDashboardsWithResponse request
GetV1ProjectsPrjDashboardsWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjDashboardsParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjDashboardsResponse, error)
// PostV1ProjectsPrjDashboardsWithBodyWithResponse request with any body
PostV1ProjectsPrjDashboardsWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjDashboardsResponse, error)
PostV1ProjectsPrjDashboardsWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjDashboardsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjDashboardsResponse, error)
// DeleteV1ProjectsPrjDashboardsDashWithResponse request
DeleteV1ProjectsPrjDashboardsDashWithResponse(ctx context.Context, prj string, dash string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjDashboardsDashResponse, error)
// GetV1ProjectsPrjDashboardsDashWithResponse request
GetV1ProjectsPrjDashboardsDashWithResponse(ctx context.Context, prj string, dash string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjDashboardsDashResponse, error)
// PutV1ProjectsPrjDashboardsDashWithBodyWithResponse request with any body
PutV1ProjectsPrjDashboardsDashWithBodyWithResponse(ctx context.Context, prj string, dash string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjDashboardsDashResponse, error)
PutV1ProjectsPrjDashboardsDashWithResponse(ctx context.Context, prj string, dash string, body PutV1ProjectsPrjDashboardsDashJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjDashboardsDashResponse, error)
// GetV1ProjectsPrjEscalationPoliciesWithResponse request
GetV1ProjectsPrjEscalationPoliciesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjEscalationPoliciesParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjEscalationPoliciesResponse, error)
// PostV1ProjectsPrjEscalationPoliciesWithBodyWithResponse request with any body
PostV1ProjectsPrjEscalationPoliciesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjEscalationPoliciesResponse, error)
PostV1ProjectsPrjEscalationPoliciesWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjEscalationPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjEscalationPoliciesResponse, error)
// DeleteV1ProjectsPrjEscalationPoliciesPolWithResponse request
DeleteV1ProjectsPrjEscalationPoliciesPolWithResponse(ctx context.Context, prj string, pol string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjEscalationPoliciesPolResponse, error)
// GetV1ProjectsPrjEscalationPoliciesPolWithResponse request
GetV1ProjectsPrjEscalationPoliciesPolWithResponse(ctx context.Context, prj string, pol string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjEscalationPoliciesPolResponse, error)
// PutV1ProjectsPrjEscalationPoliciesPolWithBodyWithResponse request with any body
PutV1ProjectsPrjEscalationPoliciesPolWithBodyWithResponse(ctx context.Context, prj string, pol string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjEscalationPoliciesPolResponse, error)
PutV1ProjectsPrjEscalationPoliciesPolWithResponse(ctx context.Context, prj string, pol string, body PutV1ProjectsPrjEscalationPoliciesPolJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjEscalationPoliciesPolResponse, error)
// GetV1ProjectsPrjHealthTokensWithResponse request
GetV1ProjectsPrjHealthTokensWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjHealthTokensParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjHealthTokensResponse, error)
// PostV1ProjectsPrjHealthTokensWithBodyWithResponse request with any body
PostV1ProjectsPrjHealthTokensWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjHealthTokensResponse, error)
PostV1ProjectsPrjHealthTokensWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjHealthTokensJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjHealthTokensResponse, error)
// DeleteV1ProjectsPrjHealthTokensTokenWithResponse request
DeleteV1ProjectsPrjHealthTokensTokenWithResponse(ctx context.Context, prj string, token string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjHealthTokensTokenResponse, error)
// GetV1ProjectsPrjIncidentTypesWithResponse request
GetV1ProjectsPrjIncidentTypesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjIncidentTypesParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjIncidentTypesResponse, error)
// PostV1ProjectsPrjIncidentTypesWithBodyWithResponse request with any body
PostV1ProjectsPrjIncidentTypesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjIncidentTypesResponse, error)
PostV1ProjectsPrjIncidentTypesWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjIncidentTypesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjIncidentTypesResponse, error)
// DeleteV1ProjectsPrjIncidentTypesItyWithResponse request
DeleteV1ProjectsPrjIncidentTypesItyWithResponse(ctx context.Context, prj string, ity string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjIncidentTypesItyResponse, error)
// GetV1ProjectsPrjIncidentTypesItyWithResponse request
GetV1ProjectsPrjIncidentTypesItyWithResponse(ctx context.Context, prj string, ity string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjIncidentTypesItyResponse, error)
// PutV1ProjectsPrjIncidentTypesItyWithBodyWithResponse request with any body
PutV1ProjectsPrjIncidentTypesItyWithBodyWithResponse(ctx context.Context, prj string, ity string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjIncidentTypesItyResponse, error)
PutV1ProjectsPrjIncidentTypesItyWithResponse(ctx context.Context, prj string, ity string, body PutV1ProjectsPrjIncidentTypesItyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjIncidentTypesItyResponse, error)
// GetV1ProjectsPrjMaintenanceWindowsWithResponse request
GetV1ProjectsPrjMaintenanceWindowsWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjMaintenanceWindowsParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjMaintenanceWindowsResponse, error)
// PostV1ProjectsPrjMaintenanceWindowsWithBodyWithResponse request with any body
PostV1ProjectsPrjMaintenanceWindowsWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjMaintenanceWindowsResponse, error)
PostV1ProjectsPrjMaintenanceWindowsWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjMaintenanceWindowsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjMaintenanceWindowsResponse, error)
// DeleteV1ProjectsPrjMaintenanceWindowsWindowWithResponse request
DeleteV1ProjectsPrjMaintenanceWindowsWindowWithResponse(ctx context.Context, prj string, window string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjMaintenanceWindowsWindowResponse, error)
// GetV1ProjectsPrjMaintenanceWindowsWindowWithResponse request
GetV1ProjectsPrjMaintenanceWindowsWindowWithResponse(ctx context.Context, prj string, window string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjMaintenanceWindowsWindowResponse, error)
// PutV1ProjectsPrjMaintenanceWindowsWindowWithBodyWithResponse request with any body
PutV1ProjectsPrjMaintenanceWindowsWindowWithBodyWithResponse(ctx context.Context, prj string, window string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjMaintenanceWindowsWindowResponse, error)
PutV1ProjectsPrjMaintenanceWindowsWindowWithResponse(ctx context.Context, prj string, window string, body PutV1ProjectsPrjMaintenanceWindowsWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjMaintenanceWindowsWindowResponse, error)
// GetV1ProjectsPrjMonitorsWithResponse request
GetV1ProjectsPrjMonitorsWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjMonitorsParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjMonitorsResponse, error)
// PostV1ProjectsPrjMonitorsWithBodyWithResponse request with any body
PostV1ProjectsPrjMonitorsWithBodyWithResponse(ctx context.Context, prj string, params *PostV1ProjectsPrjMonitorsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjMonitorsResponse, error)
PostV1ProjectsPrjMonitorsWithResponse(ctx context.Context, prj string, params *PostV1ProjectsPrjMonitorsParams, body PostV1ProjectsPrjMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjMonitorsResponse, error)
// DeleteV1ProjectsPrjMonitorsMonitorWithResponse request
DeleteV1ProjectsPrjMonitorsMonitorWithResponse(ctx context.Context, prj string, monitor string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjMonitorsMonitorResponse, error)
// GetV1ProjectsPrjMonitorsMonitorWithResponse request
GetV1ProjectsPrjMonitorsMonitorWithResponse(ctx context.Context, prj string, monitor string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjMonitorsMonitorResponse, error)
// PatchV1ProjectsPrjMonitorsMonitorWithBodyWithResponse request with any body
PatchV1ProjectsPrjMonitorsMonitorWithBodyWithResponse(ctx context.Context, prj string, monitor string, params *PatchV1ProjectsPrjMonitorsMonitorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1ProjectsPrjMonitorsMonitorResponse, error)
PatchV1ProjectsPrjMonitorsMonitorWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, prj string, monitor string, params *PatchV1ProjectsPrjMonitorsMonitorParams, body PatchV1ProjectsPrjMonitorsMonitorApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1ProjectsPrjMonitorsMonitorResponse, error)
// PostV1ProjectsPrjMonitorsMonitorWithResponse request
PostV1ProjectsPrjMonitorsMonitorWithResponse(ctx context.Context, prj string, monitor string, params *PostV1ProjectsPrjMonitorsMonitorParams, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjMonitorsMonitorResponse, error)
// PutV1ProjectsPrjMonitorsMonitorWithBodyWithResponse request with any body
PutV1ProjectsPrjMonitorsMonitorWithBodyWithResponse(ctx context.Context, prj string, monitor string, params *PutV1ProjectsPrjMonitorsMonitorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjMonitorsMonitorResponse, error)
PutV1ProjectsPrjMonitorsMonitorWithResponse(ctx context.Context, prj string, monitor string, params *PutV1ProjectsPrjMonitorsMonitorParams, body PutV1ProjectsPrjMonitorsMonitorJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjMonitorsMonitorResponse, error)
// GetV1ProjectsPrjOncallSchedulesWithResponse request
GetV1ProjectsPrjOncallSchedulesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjOncallSchedulesParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjOncallSchedulesResponse, error)
// PostV1ProjectsPrjOncallSchedulesWithBodyWithResponse request with any body
PostV1ProjectsPrjOncallSchedulesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjOncallSchedulesResponse, error)
PostV1ProjectsPrjOncallSchedulesWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjOncallSchedulesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjOncallSchedulesResponse, error)
// DeleteV1ProjectsPrjOncallSchedulesSchWithResponse request
DeleteV1ProjectsPrjOncallSchedulesSchWithResponse(ctx context.Context, prj string, sch string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjOncallSchedulesSchResponse, error)
// GetV1ProjectsPrjOncallSchedulesSchWithResponse request
GetV1ProjectsPrjOncallSchedulesSchWithResponse(ctx context.Context, prj string, sch string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjOncallSchedulesSchResponse, error)
// PutV1ProjectsPrjOncallSchedulesSchWithBodyWithResponse request with any body
PutV1ProjectsPrjOncallSchedulesSchWithBodyWithResponse(ctx context.Context, prj string, sch string, params *PutV1ProjectsPrjOncallSchedulesSchParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjOncallSchedulesSchResponse, error)
PutV1ProjectsPrjOncallSchedulesSchWithResponse(ctx context.Context, prj string, sch string, params *PutV1ProjectsPrjOncallSchedulesSchParams, body PutV1ProjectsPrjOncallSchedulesSchJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjOncallSchedulesSchResponse, error)
// GetV1ProjectsPrjReceiversWithResponse request
GetV1ProjectsPrjReceiversWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjReceiversParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjReceiversResponse, error)
// PostV1ProjectsPrjReceiversWithBodyWithResponse request with any body
PostV1ProjectsPrjReceiversWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjReceiversResponse, error)
PostV1ProjectsPrjReceiversWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjReceiversJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjReceiversResponse, error)
// DeleteV1ProjectsPrjReceiversReceiverWithResponse request
DeleteV1ProjectsPrjReceiversReceiverWithResponse(ctx context.Context, prj string, receiver string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjReceiversReceiverResponse, error)
// GetV1ProjectsPrjReceiversReceiverWithResponse request
GetV1ProjectsPrjReceiversReceiverWithResponse(ctx context.Context, prj string, receiver string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjReceiversReceiverResponse, error)
// PostV1ProjectsPrjReceiversReceiverWithResponse request
PostV1ProjectsPrjReceiversReceiverWithResponse(ctx context.Context, prj string, receiver string, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjReceiversReceiverResponse, error)
// PutV1ProjectsPrjReceiversReceiverWithBodyWithResponse request with any body
PutV1ProjectsPrjReceiversReceiverWithBodyWithResponse(ctx context.Context, prj string, receiver string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjReceiversReceiverResponse, error)
PutV1ProjectsPrjReceiversReceiverWithResponse(ctx context.Context, prj string, receiver string, body PutV1ProjectsPrjReceiversReceiverJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjReceiversReceiverResponse, error)
// GetV1ProjectsPrjRoutingWithResponse request
GetV1ProjectsPrjRoutingWithResponse(ctx context.Context, prj string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjRoutingResponse, error)
// PutV1ProjectsPrjRoutingWithBodyWithResponse request with any body
PutV1ProjectsPrjRoutingWithBodyWithResponse(ctx context.Context, prj string, params *PutV1ProjectsPrjRoutingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjRoutingResponse, error)
PutV1ProjectsPrjRoutingWithResponse(ctx context.Context, prj string, params *PutV1ProjectsPrjRoutingParams, body PutV1ProjectsPrjRoutingJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjRoutingResponse, error)
// DeleteV1ProjectsPrjRuleGroupsNameWithResponse request
DeleteV1ProjectsPrjRuleGroupsNameWithResponse(ctx context.Context, prj string, name string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjRuleGroupsNameResponse, error)
// PutV1ProjectsPrjRuleGroupsNameWithBodyWithResponse request with any body
PutV1ProjectsPrjRuleGroupsNameWithBodyWithResponse(ctx context.Context, prj string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjRuleGroupsNameResponse, error)
// GetV1ProjectsPrjSilencesWithResponse request
GetV1ProjectsPrjSilencesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjSilencesParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjSilencesResponse, error)
// PostV1ProjectsPrjSilencesWithBodyWithResponse request with any body
PostV1ProjectsPrjSilencesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjSilencesResponse, error)
PostV1ProjectsPrjSilencesWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjSilencesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjSilencesResponse, error)
// DeleteV1ProjectsPrjSilencesSilenceWithResponse request
DeleteV1ProjectsPrjSilencesSilenceWithResponse(ctx context.Context, prj string, silence string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjSilencesSilenceResponse, error)
// GetV1ProjectsPrjSilencesSilenceWithResponse request
GetV1ProjectsPrjSilencesSilenceWithResponse(ctx context.Context, prj string, silence string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjSilencesSilenceResponse, error)
// PutV1ProjectsPrjSilencesSilenceWithBodyWithResponse request with any body
PutV1ProjectsPrjSilencesSilenceWithBodyWithResponse(ctx context.Context, prj string, silence string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjSilencesSilenceResponse, error)
PutV1ProjectsPrjSilencesSilenceWithResponse(ctx context.Context, prj string, silence string, body PutV1ProjectsPrjSilencesSilenceJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjSilencesSilenceResponse, error)
// GetV1ProjectsPrjSlosWithResponse request
GetV1ProjectsPrjSlosWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjSlosParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjSlosResponse, error)
// PostV1ProjectsPrjSlosWithBodyWithResponse request with any body
PostV1ProjectsPrjSlosWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjSlosResponse, error)
PostV1ProjectsPrjSlosWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjSlosJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjSlosResponse, error)
// DeleteV1ProjectsPrjSlosSloWithResponse request
DeleteV1ProjectsPrjSlosSloWithResponse(ctx context.Context, prj string, slo string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjSlosSloResponse, error)
// GetV1ProjectsPrjSlosSloWithResponse request
GetV1ProjectsPrjSlosSloWithResponse(ctx context.Context, prj string, slo string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjSlosSloResponse, error)
// PutV1ProjectsPrjSlosSloWithBodyWithResponse request with any body
PutV1ProjectsPrjSlosSloWithBodyWithResponse(ctx context.Context, prj string, slo string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjSlosSloResponse, error)
PutV1ProjectsPrjSlosSloWithResponse(ctx context.Context, prj string, slo string, body PutV1ProjectsPrjSlosSloJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjSlosSloResponse, error)
// GetV1ProjectsPrjTemplatesWithResponse request
GetV1ProjectsPrjTemplatesWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjTemplatesParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjTemplatesResponse, error)
// PostV1ProjectsPrjTemplatesWithBodyWithResponse request with any body
PostV1ProjectsPrjTemplatesWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjTemplatesResponse, error)
PostV1ProjectsPrjTemplatesWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjTemplatesResponse, error)
// DeleteV1ProjectsPrjTemplatesIdWithResponse request
DeleteV1ProjectsPrjTemplatesIdWithResponse(ctx context.Context, prj string, id string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjTemplatesIdResponse, error)
// GetV1ProjectsPrjTemplatesIdWithResponse request
GetV1ProjectsPrjTemplatesIdWithResponse(ctx context.Context, prj string, id string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjTemplatesIdResponse, error)
// PatchV1ProjectsPrjTemplatesIdWithBodyWithResponse request with any body
PatchV1ProjectsPrjTemplatesIdWithBodyWithResponse(ctx context.Context, prj string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1ProjectsPrjTemplatesIdResponse, error)
PatchV1ProjectsPrjTemplatesIdWithResponse(ctx context.Context, prj string, id string, body PatchV1ProjectsPrjTemplatesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1ProjectsPrjTemplatesIdResponse, error)
// GetV1ProjectsPrjWorkflowsWithResponse request
GetV1ProjectsPrjWorkflowsWithResponse(ctx context.Context, prj string, params *GetV1ProjectsPrjWorkflowsParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjWorkflowsResponse, error)
// PostV1ProjectsPrjWorkflowsWithBodyWithResponse request with any body
PostV1ProjectsPrjWorkflowsWithBodyWithResponse(ctx context.Context, prj string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjWorkflowsResponse, error)
PostV1ProjectsPrjWorkflowsWithResponse(ctx context.Context, prj string, body PostV1ProjectsPrjWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjWorkflowsResponse, error)
// DeleteV1ProjectsPrjWorkflowsWWithResponse request
DeleteV1ProjectsPrjWorkflowsWWithResponse(ctx context.Context, prj string, w string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsPrjWorkflowsWResponse, error)
// GetV1ProjectsPrjWorkflowsWWithResponse request
GetV1ProjectsPrjWorkflowsWWithResponse(ctx context.Context, prj string, w string, reqEditors ...RequestEditorFn) (*GetV1ProjectsPrjWorkflowsWResponse, error)
// PostV1ProjectsPrjWorkflowsWWithBodyWithResponse request with any body
PostV1ProjectsPrjWorkflowsWWithBodyWithResponse(ctx context.Context, prj string, w string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjWorkflowsWResponse, error)
PostV1ProjectsPrjWorkflowsWWithResponse(ctx context.Context, prj string, w string, body PostV1ProjectsPrjWorkflowsWJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsPrjWorkflowsWResponse, error)
// PutV1ProjectsPrjWorkflowsWWithBodyWithResponse request with any body
PutV1ProjectsPrjWorkflowsWWithBodyWithResponse(ctx context.Context, prj string, w string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjWorkflowsWResponse, error)
PutV1ProjectsPrjWorkflowsWWithResponse(ctx context.Context, prj string, w string, body PutV1ProjectsPrjWorkflowsWJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ProjectsPrjWorkflowsWResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Condition ¶
type Condition struct {
// contains filtered or unexported fields
}
Condition defines model for Condition.
func (Condition) AsCondition0 ¶
func (t Condition) AsCondition0() (Condition0, error)
AsCondition0 returns the union data inside the Condition as a Condition0
func (Condition) AsCondition1 ¶
func (t Condition) AsCondition1() (Condition1, error)
AsCondition1 returns the union data inside the Condition as a Condition1
func (Condition) AsCondition2 ¶
func (t Condition) AsCondition2() (Condition2, error)
AsCondition2 returns the union data inside the Condition as a Condition2
func (*Condition) FromCondition0 ¶
func (t *Condition) FromCondition0(v Condition0) error
FromCondition0 overwrites any union data inside the Condition as the provided Condition0
func (*Condition) FromCondition1 ¶
func (t *Condition) FromCondition1(v Condition1) error
FromCondition1 overwrites any union data inside the Condition as the provided Condition1
func (*Condition) FromCondition2 ¶
func (t *Condition) FromCondition2(v Condition2) error
FromCondition2 overwrites any union data inside the Condition as the provided Condition2
func (Condition) MarshalJSON ¶
func (*Condition) MergeCondition0 ¶
func (t *Condition) MergeCondition0(v Condition0) error
MergeCondition0 performs a merge with any union data inside the Condition, using the provided Condition0
func (*Condition) MergeCondition1 ¶
func (t *Condition) MergeCondition1(v Condition1) error
MergeCondition1 performs a merge with any union data inside the Condition, using the provided Condition1
func (*Condition) MergeCondition2 ¶
func (t *Condition) MergeCondition2(v Condition2) error
MergeCondition2 performs a merge with any union data inside the Condition, using the provided Condition2
func (*Condition) UnmarshalJSON ¶
type Condition0 ¶
type Condition0 struct {
// Threshold Breach while `value op threshold`. With `recovery`, a firing group stays firing until
// `value op recovery` stops holding (hysteresis).
Threshold struct {
Op Op `json:"op"`
Recovery *float64 `json:"recovery"`
Value float64 `json:"value"`
// Warn A second, lower tier: breach while `value op warn` holds but the critical one does
// not. Needs the same direction as `op` (a tier is a milder threshold).
Warn *float64 `json:"warn"`
// WarnRecovery Hysteresis of the warn tier, as `recovery` is for the critical one.
WarnRecovery *float64 `json:"warn_recovery"`
} `json:"threshold"`
}
Condition0 Breach while `value op threshold`. With `recovery`, a firing group stays firing until `value op recovery` stops holding (hysteresis).
type Condition1 ¶
type Condition1 struct {
// Anomaly The `anomaly` condition. `sensitivity` 0 to 100 (higher flags smaller deviations).
Anomaly AnomalyCfg `json:"anomaly"`
}
Condition1 Breach while the latest point deviates from its seasonal baseline (P3-R4).
type Condition2 ¶
type Condition2 struct {
// Forecast The `forecast` condition: breaches when any forecast point within `horizon_s` satisfies
// `op value`.
Forecast ForecastCfg `json:"forecast"`
}
Condition2 Breach while the forecast reaches `op value` within the horizon (P3-R4).
type Conditions ¶
type Conditions struct {
// Mode `any` (default) or `all`.
Mode *string `json:"mode,omitempty"`
Rules *[]RuleSpecRequest `json:"rules,omitempty"`
}
Conditions defines model for Conditions.
type ContentGrouping ¶
type ContentGrouping struct {
// Normalize Replace digit runs with `#` in the rendered id, so `disk 91% on db-3` and
// `disk 93% on db-3` group together.
Normalize *bool `json:"normalize,omitempty"`
// Template `{{ … }}` placeholders: `summary`, `description`, `labels.<name>`, `annotations.<name>`
// or a `JSONPath` such as `$.annotations.details.host` over `{labels, annotations}`.
// Example: `{{ labels.service }}: {{ summary }}`.
Template string `json:"template"`
// WindowS Rolling window in seconds, 300 to 604800 (default 3600).
WindowS *int32 `json:"window_s"`
}
ContentGrouping defines model for ContentGrouping.
type CostRuleMode ¶
type CostRuleMode string
CostRuleMode What a `cost` rule measures (ALT-001, the cloud cost monitor kinds).
const ( CostRuleModeBudget CostRuleMode = "budget" CostRuleModeChange CostRuleMode = "change" CostRuleModeForecast CostRuleMode = "forecast" CostRuleModeThreshold CostRuleMode = "threshold" )
Defines values for CostRuleMode.
type CustomSpec ¶
type CustomSpec struct {
Agg CustomAgg `json:"agg"`
EventName string `json:"event_name"`
// Field Numeric attribute (or `value`); required for every aggregate but `count`.
Field *string `json:"field"`
}
CustomSpec What a `custom` metric aggregates: the SDK's `client.event(name, attrs)` events.
type DashboardDto ¶
type DashboardDto struct {
CreatedAt string `json:"created_at"`
Description string `json:"description"`
Id string `json:"id"`
// Kind `dashboard` or `notebook` (a notebook spec has `cells` instead of `panels`).
Kind string `json:"kind"`
ProjectId string `json:"project_id"`
// Spec Spec v1, with the keys in the order the client sent them; absent in listings.
Spec *map[string]interface{} `json:"spec"`
Title string `json:"title"`
UpdatedAt string `json:"updated_at"`
// Version Current version; send it back in `If-Match` (also in the `ETag` header) to update.
Version int32 `json:"version"`
}
DashboardDto defines model for DashboardDto.
type DashboardPage ¶
type DashboardPage struct {
Data []DashboardDto `json:"data"`
NextCursor *string `json:"next_cursor"`
}
DashboardPage defines model for DashboardPage.
type DeferSpec ¶
type DeferSpec struct {
// BelowSeverity Pages ranking below this severity wait (default `high`).
BelowSeverity *string `json:"below_severity"`
IntervalName string `json:"interval_name"`
}
DeferSpec defines model for DeferSpec.
type DeleteV1ProjectsPrjAgentConfigsCResponse ¶
type DeleteV1ProjectsPrjAgentConfigsCResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjAgentConfigsCResponse ¶
func ParseDeleteV1ProjectsPrjAgentConfigsCResponse(rsp *http.Response) (*DeleteV1ProjectsPrjAgentConfigsCResponse, error)
ParseDeleteV1ProjectsPrjAgentConfigsCResponse parses an HTTP response from a DeleteV1ProjectsPrjAgentConfigsCWithResponse call
func (DeleteV1ProjectsPrjAgentConfigsCResponse) Status ¶
func (r DeleteV1ProjectsPrjAgentConfigsCResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjAgentConfigsCResponse) StatusCode ¶
func (r DeleteV1ProjectsPrjAgentConfigsCResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ProjectsPrjAlertRulesRuleParams ¶
type DeleteV1ProjectsPrjAlertRulesRuleParams struct {
// Force Write a rule labelled `managed-by` from a user session anyway. Its repo's next apply
// overwrites the edit.
Force *bool `form:"force,omitempty" json:"force,omitempty"`
}
DeleteV1ProjectsPrjAlertRulesRuleParams defines parameters for DeleteV1ProjectsPrjAlertRulesRule.
type DeleteV1ProjectsPrjAlertRulesRuleResponse ¶
type DeleteV1ProjectsPrjAlertRulesRuleResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjAlertRulesRuleResponse ¶
func ParseDeleteV1ProjectsPrjAlertRulesRuleResponse(rsp *http.Response) (*DeleteV1ProjectsPrjAlertRulesRuleResponse, error)
ParseDeleteV1ProjectsPrjAlertRulesRuleResponse parses an HTTP response from a DeleteV1ProjectsPrjAlertRulesRuleWithResponse call
func (DeleteV1ProjectsPrjAlertRulesRuleResponse) Status ¶
func (r DeleteV1ProjectsPrjAlertRulesRuleResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjAlertRulesRuleResponse) StatusCode ¶
func (r DeleteV1ProjectsPrjAlertRulesRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ProjectsPrjCatalogServicesSResponse ¶ added in v0.3.4
type DeleteV1ProjectsPrjCatalogServicesSResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjCatalogServicesSResponse ¶ added in v0.3.4
func ParseDeleteV1ProjectsPrjCatalogServicesSResponse(rsp *http.Response) (*DeleteV1ProjectsPrjCatalogServicesSResponse, error)
ParseDeleteV1ProjectsPrjCatalogServicesSResponse parses an HTTP response from a DeleteV1ProjectsPrjCatalogServicesSWithResponse call
func (DeleteV1ProjectsPrjCatalogServicesSResponse) Status ¶ added in v0.3.4
func (r DeleteV1ProjectsPrjCatalogServicesSResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjCatalogServicesSResponse) StatusCode ¶ added in v0.3.4
func (r DeleteV1ProjectsPrjCatalogServicesSResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ProjectsPrjCheckSecretsNameResponse ¶
type DeleteV1ProjectsPrjCheckSecretsNameResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjCheckSecretsNameResponse ¶
func ParseDeleteV1ProjectsPrjCheckSecretsNameResponse(rsp *http.Response) (*DeleteV1ProjectsPrjCheckSecretsNameResponse, error)
ParseDeleteV1ProjectsPrjCheckSecretsNameResponse parses an HTTP response from a DeleteV1ProjectsPrjCheckSecretsNameWithResponse call
func (DeleteV1ProjectsPrjCheckSecretsNameResponse) Status ¶
func (r DeleteV1ProjectsPrjCheckSecretsNameResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjCheckSecretsNameResponse) StatusCode ¶
func (r DeleteV1ProjectsPrjCheckSecretsNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ProjectsPrjDashboardsDashResponse ¶
type DeleteV1ProjectsPrjDashboardsDashResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON403 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjDashboardsDashResponse ¶
func ParseDeleteV1ProjectsPrjDashboardsDashResponse(rsp *http.Response) (*DeleteV1ProjectsPrjDashboardsDashResponse, error)
ParseDeleteV1ProjectsPrjDashboardsDashResponse parses an HTTP response from a DeleteV1ProjectsPrjDashboardsDashWithResponse call
func (DeleteV1ProjectsPrjDashboardsDashResponse) Status ¶
func (r DeleteV1ProjectsPrjDashboardsDashResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjDashboardsDashResponse) StatusCode ¶
func (r DeleteV1ProjectsPrjDashboardsDashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ProjectsPrjEscalationPoliciesPolResponse ¶
type DeleteV1ProjectsPrjEscalationPoliciesPolResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON409 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjEscalationPoliciesPolResponse ¶
func ParseDeleteV1ProjectsPrjEscalationPoliciesPolResponse(rsp *http.Response) (*DeleteV1ProjectsPrjEscalationPoliciesPolResponse, error)
ParseDeleteV1ProjectsPrjEscalationPoliciesPolResponse parses an HTTP response from a DeleteV1ProjectsPrjEscalationPoliciesPolWithResponse call
func (DeleteV1ProjectsPrjEscalationPoliciesPolResponse) Status ¶
func (r DeleteV1ProjectsPrjEscalationPoliciesPolResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjEscalationPoliciesPolResponse) StatusCode ¶
func (r DeleteV1ProjectsPrjEscalationPoliciesPolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ProjectsPrjHealthTokensTokenResponse ¶
type DeleteV1ProjectsPrjHealthTokensTokenResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjHealthTokensTokenResponse ¶
func ParseDeleteV1ProjectsPrjHealthTokensTokenResponse(rsp *http.Response) (*DeleteV1ProjectsPrjHealthTokensTokenResponse, error)
ParseDeleteV1ProjectsPrjHealthTokensTokenResponse parses an HTTP response from a DeleteV1ProjectsPrjHealthTokensTokenWithResponse call
func (DeleteV1ProjectsPrjHealthTokensTokenResponse) Status ¶
func (r DeleteV1ProjectsPrjHealthTokensTokenResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjHealthTokensTokenResponse) StatusCode ¶
func (r DeleteV1ProjectsPrjHealthTokensTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ProjectsPrjIncidentTypesItyResponse ¶
type DeleteV1ProjectsPrjIncidentTypesItyResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON409 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjIncidentTypesItyResponse ¶
func ParseDeleteV1ProjectsPrjIncidentTypesItyResponse(rsp *http.Response) (*DeleteV1ProjectsPrjIncidentTypesItyResponse, error)
ParseDeleteV1ProjectsPrjIncidentTypesItyResponse parses an HTTP response from a DeleteV1ProjectsPrjIncidentTypesItyWithResponse call
func (DeleteV1ProjectsPrjIncidentTypesItyResponse) Status ¶
func (r DeleteV1ProjectsPrjIncidentTypesItyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjIncidentTypesItyResponse) StatusCode ¶
func (r DeleteV1ProjectsPrjIncidentTypesItyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ProjectsPrjMaintenanceWindowsWindowResponse ¶
type DeleteV1ProjectsPrjMaintenanceWindowsWindowResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjMaintenanceWindowsWindowResponse ¶
func ParseDeleteV1ProjectsPrjMaintenanceWindowsWindowResponse(rsp *http.Response) (*DeleteV1ProjectsPrjMaintenanceWindowsWindowResponse, error)
ParseDeleteV1ProjectsPrjMaintenanceWindowsWindowResponse parses an HTTP response from a DeleteV1ProjectsPrjMaintenanceWindowsWindowWithResponse call
func (DeleteV1ProjectsPrjMaintenanceWindowsWindowResponse) Status ¶
func (r DeleteV1ProjectsPrjMaintenanceWindowsWindowResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjMaintenanceWindowsWindowResponse) StatusCode ¶
func (r DeleteV1ProjectsPrjMaintenanceWindowsWindowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ProjectsPrjMonitorsMonitorResponse ¶
type DeleteV1ProjectsPrjMonitorsMonitorResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjMonitorsMonitorResponse ¶
func ParseDeleteV1ProjectsPrjMonitorsMonitorResponse(rsp *http.Response) (*DeleteV1ProjectsPrjMonitorsMonitorResponse, error)
ParseDeleteV1ProjectsPrjMonitorsMonitorResponse parses an HTTP response from a DeleteV1ProjectsPrjMonitorsMonitorWithResponse call
func (DeleteV1ProjectsPrjMonitorsMonitorResponse) Status ¶
func (r DeleteV1ProjectsPrjMonitorsMonitorResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjMonitorsMonitorResponse) StatusCode ¶
func (r DeleteV1ProjectsPrjMonitorsMonitorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ProjectsPrjOncallSchedulesSchResponse ¶
type DeleteV1ProjectsPrjOncallSchedulesSchResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON409 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjOncallSchedulesSchResponse ¶
func ParseDeleteV1ProjectsPrjOncallSchedulesSchResponse(rsp *http.Response) (*DeleteV1ProjectsPrjOncallSchedulesSchResponse, error)
ParseDeleteV1ProjectsPrjOncallSchedulesSchResponse parses an HTTP response from a DeleteV1ProjectsPrjOncallSchedulesSchWithResponse call
func (DeleteV1ProjectsPrjOncallSchedulesSchResponse) Status ¶
func (r DeleteV1ProjectsPrjOncallSchedulesSchResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjOncallSchedulesSchResponse) StatusCode ¶
func (r DeleteV1ProjectsPrjOncallSchedulesSchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ProjectsPrjParams ¶
type DeleteV1ProjectsPrjParams struct {
// PurgeNow Purge immediately instead of after the grace period. Needs `ManageSecurity` and `confirm`.
PurgeNow *bool `form:"purge_now,omitempty" json:"purge_now,omitempty"`
// Confirm The project slug, required with `purge_now`.
Confirm *string `form:"confirm,omitempty" json:"confirm,omitempty"`
}
DeleteV1ProjectsPrjParams defines parameters for DeleteV1ProjectsPrj.
type DeleteV1ProjectsPrjReceiversReceiverResponse ¶
type DeleteV1ProjectsPrjReceiversReceiverResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjReceiversReceiverResponse ¶
func ParseDeleteV1ProjectsPrjReceiversReceiverResponse(rsp *http.Response) (*DeleteV1ProjectsPrjReceiversReceiverResponse, error)
ParseDeleteV1ProjectsPrjReceiversReceiverResponse parses an HTTP response from a DeleteV1ProjectsPrjReceiversReceiverWithResponse call
func (DeleteV1ProjectsPrjReceiversReceiverResponse) Status ¶
func (r DeleteV1ProjectsPrjReceiversReceiverResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjReceiversReceiverResponse) StatusCode ¶
func (r DeleteV1ProjectsPrjReceiversReceiverResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ProjectsPrjResponse ¶
type DeleteV1ProjectsPrjResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON403 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjResponse ¶
func ParseDeleteV1ProjectsPrjResponse(rsp *http.Response) (*DeleteV1ProjectsPrjResponse, error)
ParseDeleteV1ProjectsPrjResponse parses an HTTP response from a DeleteV1ProjectsPrjWithResponse call
func (DeleteV1ProjectsPrjResponse) Status ¶
func (r DeleteV1ProjectsPrjResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjResponse) StatusCode ¶
func (r DeleteV1ProjectsPrjResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ProjectsPrjRuleGroupsNameResponse ¶
type DeleteV1ProjectsPrjRuleGroupsNameResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjRuleGroupsNameResponse ¶
func ParseDeleteV1ProjectsPrjRuleGroupsNameResponse(rsp *http.Response) (*DeleteV1ProjectsPrjRuleGroupsNameResponse, error)
ParseDeleteV1ProjectsPrjRuleGroupsNameResponse parses an HTTP response from a DeleteV1ProjectsPrjRuleGroupsNameWithResponse call
func (DeleteV1ProjectsPrjRuleGroupsNameResponse) Status ¶
func (r DeleteV1ProjectsPrjRuleGroupsNameResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjRuleGroupsNameResponse) StatusCode ¶
func (r DeleteV1ProjectsPrjRuleGroupsNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ProjectsPrjSilencesSilenceResponse ¶
type DeleteV1ProjectsPrjSilencesSilenceResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjSilencesSilenceResponse ¶
func ParseDeleteV1ProjectsPrjSilencesSilenceResponse(rsp *http.Response) (*DeleteV1ProjectsPrjSilencesSilenceResponse, error)
ParseDeleteV1ProjectsPrjSilencesSilenceResponse parses an HTTP response from a DeleteV1ProjectsPrjSilencesSilenceWithResponse call
func (DeleteV1ProjectsPrjSilencesSilenceResponse) Status ¶
func (r DeleteV1ProjectsPrjSilencesSilenceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjSilencesSilenceResponse) StatusCode ¶
func (r DeleteV1ProjectsPrjSilencesSilenceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ProjectsPrjSlosSloResponse ¶
type DeleteV1ProjectsPrjSlosSloResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjSlosSloResponse ¶
func ParseDeleteV1ProjectsPrjSlosSloResponse(rsp *http.Response) (*DeleteV1ProjectsPrjSlosSloResponse, error)
ParseDeleteV1ProjectsPrjSlosSloResponse parses an HTTP response from a DeleteV1ProjectsPrjSlosSloWithResponse call
func (DeleteV1ProjectsPrjSlosSloResponse) Status ¶
func (r DeleteV1ProjectsPrjSlosSloResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjSlosSloResponse) StatusCode ¶
func (r DeleteV1ProjectsPrjSlosSloResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ProjectsPrjTemplatesIdResponse ¶
type DeleteV1ProjectsPrjTemplatesIdResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjTemplatesIdResponse ¶
func ParseDeleteV1ProjectsPrjTemplatesIdResponse(rsp *http.Response) (*DeleteV1ProjectsPrjTemplatesIdResponse, error)
ParseDeleteV1ProjectsPrjTemplatesIdResponse parses an HTTP response from a DeleteV1ProjectsPrjTemplatesIdWithResponse call
func (DeleteV1ProjectsPrjTemplatesIdResponse) Status ¶
func (r DeleteV1ProjectsPrjTemplatesIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjTemplatesIdResponse) StatusCode ¶
func (r DeleteV1ProjectsPrjTemplatesIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ProjectsPrjWorkflowsWResponse ¶
type DeleteV1ProjectsPrjWorkflowsWResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationproblemJSON401 *Problem
JSON403 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseDeleteV1ProjectsPrjWorkflowsWResponse ¶
func ParseDeleteV1ProjectsPrjWorkflowsWResponse(rsp *http.Response) (*DeleteV1ProjectsPrjWorkflowsWResponse, error)
ParseDeleteV1ProjectsPrjWorkflowsWResponse parses an HTTP response from a DeleteV1ProjectsPrjWorkflowsWWithResponse call
func (DeleteV1ProjectsPrjWorkflowsWResponse) Status ¶
func (r DeleteV1ProjectsPrjWorkflowsWResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ProjectsPrjWorkflowsWResponse) StatusCode ¶
func (r DeleteV1ProjectsPrjWorkflowsWResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Escalation ¶
type Escalation struct {
AlertKind *AlertKind `json:"alert_kind,omitempty"`
// AvailabilityWindowS `availability`: the window in seconds, 300 to 86400 (default 3600).
AvailabilityWindowS *int32 `json:"availability_window_s"`
// ConsecutiveFailures `consecutive_failures`: failed rounds in a row, 2 to 100 (default 3).
ConsecutiveFailures *int32 `json:"consecutive_failures"`
// DeclareIncident Open an incident, linked to the monitor, when the rule fires.
DeclareIncident *bool `json:"declare_incident,omitempty"`
// EscalationPolicyId Escalation policy (`esc_...`) the alert follows.
EscalationPolicyId *string `json:"escalation_policy_id"`
// MinAvailabilityPct `availability`: alert below this percent of up results, 50 to 99.999 (default 99).
MinAvailabilityPct *float64 `json:"min_availability_pct"`
// RegressionFactor `performance_regression`: alert when the phase is this many times slower than its last
// day's mean, 1.1 to 20 (default 2).
RegressionFactor *float64 `json:"regression_factor"`
// RegressionPhase `performance_regression`: `dns`, `connect`, `tls`, `ttfb` or `total` (default).
RegressionPhase *string `json:"regression_phase"`
// RenotifyS Re-notify an open alert every this many seconds (60 to 604800); a rule label for routes.
RenotifyS *int32 `json:"renotify_s"`
// Severity `critical`, `high`, `warning` or `info`, on rules and on monitors alike. `medium` is read as
// `warning` (it is always answered as `warning`).
Severity *Severity `json:"severity,omitempty"`
// StopAfter Stop notifying after this many notifications (1 to 100); a rule label like `renotify_s`.
StopAfter *int32 `json:"stop_after"`
}
Escalation How the managed rule pages (UPT-021). Kept in the `quorum` column under `escalation`, so no migration is needed; it ends up on the managed rule as its severity and labels.
type Extract ¶
type Extract struct {
From string `json:"from"`
Into string `json:"into"`
Regex string `json:"regex"`
}
Extract Dynamic routing: when `regex` matches label `from`, capture group 1 (or the whole match) becomes label `into`, before any route is matched. Applied for every route of the tree, depth first; an existing `into` label is kept (a real label beats a derived one).
type FacetMeasure ¶
type FacetMeasure string
FacetMeasure defines model for FacetMeasure.
const ( FacetMeasureErrorRate FacetMeasure = "error_rate" FacetMeasureFailure FacetMeasure = "failure" FacetMeasureLatency FacetMeasure = "latency" )
Defines values for FacetMeasure.
type FieldDef ¶
type FieldDef struct {
// Key `a-z0-9_`, starting with a letter, at most 40 characters.
Key string `json:"key"`
// Options The allowed values of `select` and `multi` fields.
Options *[]string `json:"options,omitempty"`
// RequiredOn Statuses the incident cannot enter while this field is empty.
RequiredOn *[]string `json:"required_on,omitempty"`
Type FieldKind `json:"type"`
}
FieldDef One form field of an incident type.
type FieldError ¶
type FieldError struct {
// In `body`, `query`, or `request` when the check spans several inputs (`name` is then `$`).
In string `json:"in"`
// Name The serde path of the field (`spec.env`, `routes[0].id`); `$` for the whole input.
Name string `json:"name"`
// Reason `required`, or the parser's message (for example `expected id prefix env_`).
Reason string `json:"reason"`
}
FieldError One invalid input field, as listed in a problem's `errors`.
type FlameNode ¶
type FlameNode struct {
ATotal *int64 `json:"a_total"`
// Absent Diff only: the frame exists on one side only (the other side's total is 0).
Absent *bool `json:"absent,omitempty"`
BTotal *int64 `json:"b_total"`
Children []FlameNode `json:"children"`
// Delta Diff only: `b_total - a_total` (raw, not normalized).
Delta *int64 `json:"delta"`
// DeltaPct Diff only: B share minus A share, in percentage points.
DeltaPct *float64 `json:"delta_pct"`
File string `json:"file"`
Line int32 `json:"line"`
Module string `json:"module"`
Name string `json:"name"`
Self int64 `json:"self"`
// SourceLink Link to the source at the release's commit; absent when the release has no repo link.
SourceLink *string `json:"source_link"`
Total int64 `json:"total"`
}
FlameNode One node of a flame graph (or of a diff, where `delta_pct`, `absent`, `a_total`, `b_total` and `delta` are set).
type FlowMeasure ¶
type FlowMeasure string
FlowMeasure defines model for FlowMeasure.
const ( FlowMeasureBytes FlowMeasure = "bytes" FlowMeasureConversations FlowMeasure = "conversations" FlowMeasurePackets FlowMeasure = "packets" )
Defines values for FlowMeasure.
type FlowQuery ¶
type FlowQuery struct {
By FlowBy `json:"by"`
Exporter *string `json:"exporter"`
Measure FlowMeasure `json:"measure"`
}
FlowQuery Network flow totals (`flows_1m`) per source, destination or `proto/port`.
type ForecastAlgorithm ¶
type ForecastAlgorithm string
ForecastAlgorithm How a `forecast` rule projects its series.
const ( ForecastAlgorithmLinear ForecastAlgorithm = "linear" ForecastAlgorithmSeasonal ForecastAlgorithm = "seasonal" )
Defines values for ForecastAlgorithm.
type ForecastCfg ¶
type ForecastCfg struct {
HorizonS int32 `json:"horizon_s"`
Method *Method `json:"method,omitempty"`
Op Op `json:"op"`
Value float64 `json:"value"`
}
ForecastCfg The `forecast` condition: breaches when any forecast point within `horizon_s` satisfies `op value`.
type ForecastSeasonality ¶
type ForecastSeasonality string
ForecastSeasonality The season of a `seasonal` forecast.
const ( ForecastSeasonalityDaily ForecastSeasonality = "daily" ForecastSeasonalityWeekly ForecastSeasonality = "weekly" )
Defines values for ForecastSeasonality.
type GetV1OrgsOrgProjectsParams ¶
type GetV1OrgsOrgProjectsParams struct {
// Limit Page size, 1 to 200 (default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque cursor from a previous page's `next_cursor`.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetV1OrgsOrgProjectsParams defines parameters for GetV1OrgsOrgProjects.
type GetV1OrgsOrgProjectsResponse ¶
type GetV1OrgsOrgProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectPage
ApplicationproblemJSON401 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1OrgsOrgProjectsResponse ¶
func ParseGetV1OrgsOrgProjectsResponse(rsp *http.Response) (*GetV1OrgsOrgProjectsResponse, error)
ParseGetV1OrgsOrgProjectsResponse parses an HTTP response from a GetV1OrgsOrgProjectsWithResponse call
func (GetV1OrgsOrgProjectsResponse) Status ¶
func (r GetV1OrgsOrgProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1OrgsOrgProjectsResponse) StatusCode ¶
func (r GetV1OrgsOrgProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjAgentConfigsCResponse ¶
type GetV1ProjectsPrjAgentConfigsCResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AgentConfigDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjAgentConfigsCResponse ¶
func ParseGetV1ProjectsPrjAgentConfigsCResponse(rsp *http.Response) (*GetV1ProjectsPrjAgentConfigsCResponse, error)
ParseGetV1ProjectsPrjAgentConfigsCResponse parses an HTTP response from a GetV1ProjectsPrjAgentConfigsCWithResponse call
func (GetV1ProjectsPrjAgentConfigsCResponse) Status ¶
func (r GetV1ProjectsPrjAgentConfigsCResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjAgentConfigsCResponse) StatusCode ¶
func (r GetV1ProjectsPrjAgentConfigsCResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjAgentConfigsParams ¶
type GetV1ProjectsPrjAgentConfigsParams struct {
// Limit Page size, 1 to 200 (default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque cursor from a previous page's `next_cursor`.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetV1ProjectsPrjAgentConfigsParams defines parameters for GetV1ProjectsPrjAgentConfigs.
type GetV1ProjectsPrjAgentConfigsResponse ¶
type GetV1ProjectsPrjAgentConfigsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AgentConfigPage
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjAgentConfigsResponse ¶
func ParseGetV1ProjectsPrjAgentConfigsResponse(rsp *http.Response) (*GetV1ProjectsPrjAgentConfigsResponse, error)
ParseGetV1ProjectsPrjAgentConfigsResponse parses an HTTP response from a GetV1ProjectsPrjAgentConfigsWithResponse call
func (GetV1ProjectsPrjAgentConfigsResponse) Status ¶
func (r GetV1ProjectsPrjAgentConfigsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjAgentConfigsResponse) StatusCode ¶
func (r GetV1ProjectsPrjAgentConfigsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjAlertRulesParams ¶
type GetV1ProjectsPrjAlertRulesParams struct {
// Limit Page size, 1 to 200 (default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque cursor from a previous page's `next_cursor`.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetV1ProjectsPrjAlertRulesParams defines parameters for GetV1ProjectsPrjAlertRules.
type GetV1ProjectsPrjAlertRulesResponse ¶
type GetV1ProjectsPrjAlertRulesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RulePage
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjAlertRulesResponse ¶
func ParseGetV1ProjectsPrjAlertRulesResponse(rsp *http.Response) (*GetV1ProjectsPrjAlertRulesResponse, error)
ParseGetV1ProjectsPrjAlertRulesResponse parses an HTTP response from a GetV1ProjectsPrjAlertRulesWithResponse call
func (GetV1ProjectsPrjAlertRulesResponse) Status ¶
func (r GetV1ProjectsPrjAlertRulesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjAlertRulesResponse) StatusCode ¶
func (r GetV1ProjectsPrjAlertRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjAlertRulesRuleResponse ¶
type GetV1ProjectsPrjAlertRulesRuleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RuleDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjAlertRulesRuleResponse ¶
func ParseGetV1ProjectsPrjAlertRulesRuleResponse(rsp *http.Response) (*GetV1ProjectsPrjAlertRulesRuleResponse, error)
ParseGetV1ProjectsPrjAlertRulesRuleResponse parses an HTTP response from a GetV1ProjectsPrjAlertRulesRuleWithResponse call
func (GetV1ProjectsPrjAlertRulesRuleResponse) Status ¶
func (r GetV1ProjectsPrjAlertRulesRuleResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjAlertRulesRuleResponse) StatusCode ¶
func (r GetV1ProjectsPrjAlertRulesRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjCatalogServicesParams ¶
type GetV1ProjectsPrjCatalogServicesParams struct {
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetV1ProjectsPrjCatalogServicesParams defines parameters for GetV1ProjectsPrjCatalogServices.
type GetV1ProjectsPrjCatalogServicesResponse ¶
type GetV1ProjectsPrjCatalogServicesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CatalogPage
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjCatalogServicesResponse ¶
func ParseGetV1ProjectsPrjCatalogServicesResponse(rsp *http.Response) (*GetV1ProjectsPrjCatalogServicesResponse, error)
ParseGetV1ProjectsPrjCatalogServicesResponse parses an HTTP response from a GetV1ProjectsPrjCatalogServicesWithResponse call
func (GetV1ProjectsPrjCatalogServicesResponse) Status ¶
func (r GetV1ProjectsPrjCatalogServicesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjCatalogServicesResponse) StatusCode ¶
func (r GetV1ProjectsPrjCatalogServicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjCatalogServicesSResponse ¶
type GetV1ProjectsPrjCatalogServicesSResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CatalogDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjCatalogServicesSResponse ¶
func ParseGetV1ProjectsPrjCatalogServicesSResponse(rsp *http.Response) (*GetV1ProjectsPrjCatalogServicesSResponse, error)
ParseGetV1ProjectsPrjCatalogServicesSResponse parses an HTTP response from a GetV1ProjectsPrjCatalogServicesSWithResponse call
func (GetV1ProjectsPrjCatalogServicesSResponse) Status ¶
func (r GetV1ProjectsPrjCatalogServicesSResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjCatalogServicesSResponse) StatusCode ¶
func (r GetV1ProjectsPrjCatalogServicesSResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjCheckSecretsParams ¶
type GetV1ProjectsPrjCheckSecretsParams struct {
// Limit Page size, 1 to 200 (default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque cursor from a previous page's `next_cursor`.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetV1ProjectsPrjCheckSecretsParams defines parameters for GetV1ProjectsPrjCheckSecrets.
type GetV1ProjectsPrjCheckSecretsResponse ¶
type GetV1ProjectsPrjCheckSecretsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CheckSecretPage
ApplicationproblemJSON401 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjCheckSecretsResponse ¶
func ParseGetV1ProjectsPrjCheckSecretsResponse(rsp *http.Response) (*GetV1ProjectsPrjCheckSecretsResponse, error)
ParseGetV1ProjectsPrjCheckSecretsResponse parses an HTTP response from a GetV1ProjectsPrjCheckSecretsWithResponse call
func (GetV1ProjectsPrjCheckSecretsResponse) Status ¶
func (r GetV1ProjectsPrjCheckSecretsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjCheckSecretsResponse) StatusCode ¶
func (r GetV1ProjectsPrjCheckSecretsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjDashboardsDashResponse ¶
type GetV1ProjectsPrjDashboardsDashResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DashboardDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjDashboardsDashResponse ¶
func ParseGetV1ProjectsPrjDashboardsDashResponse(rsp *http.Response) (*GetV1ProjectsPrjDashboardsDashResponse, error)
ParseGetV1ProjectsPrjDashboardsDashResponse parses an HTTP response from a GetV1ProjectsPrjDashboardsDashWithResponse call
func (GetV1ProjectsPrjDashboardsDashResponse) Status ¶
func (r GetV1ProjectsPrjDashboardsDashResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjDashboardsDashResponse) StatusCode ¶
func (r GetV1ProjectsPrjDashboardsDashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjDashboardsParams ¶
type GetV1ProjectsPrjDashboardsParams struct {
// Limit Page size, 1 to 200 (default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque cursor from a previous page's `next_cursor`.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Kind `dashboard` (default) or `notebook`.
Kind *string `form:"kind,omitempty" json:"kind,omitempty"`
}
GetV1ProjectsPrjDashboardsParams defines parameters for GetV1ProjectsPrjDashboards.
type GetV1ProjectsPrjDashboardsResponse ¶
type GetV1ProjectsPrjDashboardsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DashboardPage
ApplicationproblemJSON401 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjDashboardsResponse ¶
func ParseGetV1ProjectsPrjDashboardsResponse(rsp *http.Response) (*GetV1ProjectsPrjDashboardsResponse, error)
ParseGetV1ProjectsPrjDashboardsResponse parses an HTTP response from a GetV1ProjectsPrjDashboardsWithResponse call
func (GetV1ProjectsPrjDashboardsResponse) Status ¶
func (r GetV1ProjectsPrjDashboardsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjDashboardsResponse) StatusCode ¶
func (r GetV1ProjectsPrjDashboardsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjEscalationPoliciesParams ¶
type GetV1ProjectsPrjEscalationPoliciesParams struct {
// Limit Page size, 1 to 200 (default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque cursor from a previous page's `next_cursor`.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetV1ProjectsPrjEscalationPoliciesParams defines parameters for GetV1ProjectsPrjEscalationPolicies.
type GetV1ProjectsPrjEscalationPoliciesPolResponse ¶
type GetV1ProjectsPrjEscalationPoliciesPolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PolicyDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjEscalationPoliciesPolResponse ¶
func ParseGetV1ProjectsPrjEscalationPoliciesPolResponse(rsp *http.Response) (*GetV1ProjectsPrjEscalationPoliciesPolResponse, error)
ParseGetV1ProjectsPrjEscalationPoliciesPolResponse parses an HTTP response from a GetV1ProjectsPrjEscalationPoliciesPolWithResponse call
func (GetV1ProjectsPrjEscalationPoliciesPolResponse) Status ¶
func (r GetV1ProjectsPrjEscalationPoliciesPolResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjEscalationPoliciesPolResponse) StatusCode ¶
func (r GetV1ProjectsPrjEscalationPoliciesPolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjEscalationPoliciesResponse ¶
type GetV1ProjectsPrjEscalationPoliciesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PolicyPage
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjEscalationPoliciesResponse ¶
func ParseGetV1ProjectsPrjEscalationPoliciesResponse(rsp *http.Response) (*GetV1ProjectsPrjEscalationPoliciesResponse, error)
ParseGetV1ProjectsPrjEscalationPoliciesResponse parses an HTTP response from a GetV1ProjectsPrjEscalationPoliciesWithResponse call
func (GetV1ProjectsPrjEscalationPoliciesResponse) Status ¶
func (r GetV1ProjectsPrjEscalationPoliciesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjEscalationPoliciesResponse) StatusCode ¶
func (r GetV1ProjectsPrjEscalationPoliciesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjHealthTokensParams ¶
type GetV1ProjectsPrjHealthTokensParams struct {
// Limit Page size, 1 to 200 (default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque cursor from a previous page's `next_cursor`.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetV1ProjectsPrjHealthTokensParams defines parameters for GetV1ProjectsPrjHealthTokens.
type GetV1ProjectsPrjHealthTokensResponse ¶
type GetV1ProjectsPrjHealthTokensResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *HealthTokenPage
ApplicationproblemJSON401 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjHealthTokensResponse ¶
func ParseGetV1ProjectsPrjHealthTokensResponse(rsp *http.Response) (*GetV1ProjectsPrjHealthTokensResponse, error)
ParseGetV1ProjectsPrjHealthTokensResponse parses an HTTP response from a GetV1ProjectsPrjHealthTokensWithResponse call
func (GetV1ProjectsPrjHealthTokensResponse) Status ¶
func (r GetV1ProjectsPrjHealthTokensResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjHealthTokensResponse) StatusCode ¶
func (r GetV1ProjectsPrjHealthTokensResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjIncidentTypesItyResponse ¶
type GetV1ProjectsPrjIncidentTypesItyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TypeDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjIncidentTypesItyResponse ¶
func ParseGetV1ProjectsPrjIncidentTypesItyResponse(rsp *http.Response) (*GetV1ProjectsPrjIncidentTypesItyResponse, error)
ParseGetV1ProjectsPrjIncidentTypesItyResponse parses an HTTP response from a GetV1ProjectsPrjIncidentTypesItyWithResponse call
func (GetV1ProjectsPrjIncidentTypesItyResponse) Status ¶
func (r GetV1ProjectsPrjIncidentTypesItyResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjIncidentTypesItyResponse) StatusCode ¶
func (r GetV1ProjectsPrjIncidentTypesItyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjIncidentTypesParams ¶
type GetV1ProjectsPrjIncidentTypesParams struct {
// Limit Page size, 1 to 200 (default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque cursor from a previous page's `next_cursor`.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetV1ProjectsPrjIncidentTypesParams defines parameters for GetV1ProjectsPrjIncidentTypes.
type GetV1ProjectsPrjIncidentTypesResponse ¶
type GetV1ProjectsPrjIncidentTypesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TypePage
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjIncidentTypesResponse ¶
func ParseGetV1ProjectsPrjIncidentTypesResponse(rsp *http.Response) (*GetV1ProjectsPrjIncidentTypesResponse, error)
ParseGetV1ProjectsPrjIncidentTypesResponse parses an HTTP response from a GetV1ProjectsPrjIncidentTypesWithResponse call
func (GetV1ProjectsPrjIncidentTypesResponse) Status ¶
func (r GetV1ProjectsPrjIncidentTypesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjIncidentTypesResponse) StatusCode ¶
func (r GetV1ProjectsPrjIncidentTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjMaintenanceWindowsParams ¶
type GetV1ProjectsPrjMaintenanceWindowsParams struct {
// Limit Page size, 1 to 200 (default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque cursor from a previous page's `next_cursor`.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetV1ProjectsPrjMaintenanceWindowsParams defines parameters for GetV1ProjectsPrjMaintenanceWindows.
type GetV1ProjectsPrjMaintenanceWindowsResponse ¶
type GetV1ProjectsPrjMaintenanceWindowsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WindowPage
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjMaintenanceWindowsResponse ¶
func ParseGetV1ProjectsPrjMaintenanceWindowsResponse(rsp *http.Response) (*GetV1ProjectsPrjMaintenanceWindowsResponse, error)
ParseGetV1ProjectsPrjMaintenanceWindowsResponse parses an HTTP response from a GetV1ProjectsPrjMaintenanceWindowsWithResponse call
func (GetV1ProjectsPrjMaintenanceWindowsResponse) Status ¶
func (r GetV1ProjectsPrjMaintenanceWindowsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjMaintenanceWindowsResponse) StatusCode ¶
func (r GetV1ProjectsPrjMaintenanceWindowsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjMaintenanceWindowsWindowResponse ¶
type GetV1ProjectsPrjMaintenanceWindowsWindowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WindowDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjMaintenanceWindowsWindowResponse ¶
func ParseGetV1ProjectsPrjMaintenanceWindowsWindowResponse(rsp *http.Response) (*GetV1ProjectsPrjMaintenanceWindowsWindowResponse, error)
ParseGetV1ProjectsPrjMaintenanceWindowsWindowResponse parses an HTTP response from a GetV1ProjectsPrjMaintenanceWindowsWindowWithResponse call
func (GetV1ProjectsPrjMaintenanceWindowsWindowResponse) Status ¶
func (r GetV1ProjectsPrjMaintenanceWindowsWindowResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjMaintenanceWindowsWindowResponse) StatusCode ¶
func (r GetV1ProjectsPrjMaintenanceWindowsWindowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjMonitorsMonitorResponse ¶
type GetV1ProjectsPrjMonitorsMonitorResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MonitorDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjMonitorsMonitorResponse ¶
func ParseGetV1ProjectsPrjMonitorsMonitorResponse(rsp *http.Response) (*GetV1ProjectsPrjMonitorsMonitorResponse, error)
ParseGetV1ProjectsPrjMonitorsMonitorResponse parses an HTTP response from a GetV1ProjectsPrjMonitorsMonitorWithResponse call
func (GetV1ProjectsPrjMonitorsMonitorResponse) Status ¶
func (r GetV1ProjectsPrjMonitorsMonitorResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjMonitorsMonitorResponse) StatusCode ¶
func (r GetV1ProjectsPrjMonitorsMonitorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjMonitorsParams ¶
type GetV1ProjectsPrjMonitorsParams struct {
// Limit Page size, 1 to 200 (default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque cursor from a previous page's `next_cursor`.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetV1ProjectsPrjMonitorsParams defines parameters for GetV1ProjectsPrjMonitors.
type GetV1ProjectsPrjMonitorsResponse ¶
type GetV1ProjectsPrjMonitorsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MonitorPage
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjMonitorsResponse ¶
func ParseGetV1ProjectsPrjMonitorsResponse(rsp *http.Response) (*GetV1ProjectsPrjMonitorsResponse, error)
ParseGetV1ProjectsPrjMonitorsResponse parses an HTTP response from a GetV1ProjectsPrjMonitorsWithResponse call
func (GetV1ProjectsPrjMonitorsResponse) Status ¶
func (r GetV1ProjectsPrjMonitorsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjMonitorsResponse) StatusCode ¶
func (r GetV1ProjectsPrjMonitorsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjOncallSchedulesParams ¶
type GetV1ProjectsPrjOncallSchedulesParams struct {
// Limit Page size, 1 to 200 (default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque cursor from a previous page's `next_cursor`.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetV1ProjectsPrjOncallSchedulesParams defines parameters for GetV1ProjectsPrjOncallSchedules.
type GetV1ProjectsPrjOncallSchedulesResponse ¶
type GetV1ProjectsPrjOncallSchedulesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SchedulePage
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjOncallSchedulesResponse ¶
func ParseGetV1ProjectsPrjOncallSchedulesResponse(rsp *http.Response) (*GetV1ProjectsPrjOncallSchedulesResponse, error)
ParseGetV1ProjectsPrjOncallSchedulesResponse parses an HTTP response from a GetV1ProjectsPrjOncallSchedulesWithResponse call
func (GetV1ProjectsPrjOncallSchedulesResponse) Status ¶
func (r GetV1ProjectsPrjOncallSchedulesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjOncallSchedulesResponse) StatusCode ¶
func (r GetV1ProjectsPrjOncallSchedulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjOncallSchedulesSchResponse ¶
type GetV1ProjectsPrjOncallSchedulesSchResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScheduleDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjOncallSchedulesSchResponse ¶
func ParseGetV1ProjectsPrjOncallSchedulesSchResponse(rsp *http.Response) (*GetV1ProjectsPrjOncallSchedulesSchResponse, error)
ParseGetV1ProjectsPrjOncallSchedulesSchResponse parses an HTTP response from a GetV1ProjectsPrjOncallSchedulesSchWithResponse call
func (GetV1ProjectsPrjOncallSchedulesSchResponse) Status ¶
func (r GetV1ProjectsPrjOncallSchedulesSchResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjOncallSchedulesSchResponse) StatusCode ¶
func (r GetV1ProjectsPrjOncallSchedulesSchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjReceiversParams ¶
type GetV1ProjectsPrjReceiversParams struct {
// Limit Page size, 1 to 200 (default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque cursor from a previous page's `next_cursor`.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetV1ProjectsPrjReceiversParams defines parameters for GetV1ProjectsPrjReceivers.
type GetV1ProjectsPrjReceiversReceiverResponse ¶
type GetV1ProjectsPrjReceiversReceiverResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ReceiverDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjReceiversReceiverResponse ¶
func ParseGetV1ProjectsPrjReceiversReceiverResponse(rsp *http.Response) (*GetV1ProjectsPrjReceiversReceiverResponse, error)
ParseGetV1ProjectsPrjReceiversReceiverResponse parses an HTTP response from a GetV1ProjectsPrjReceiversReceiverWithResponse call
func (GetV1ProjectsPrjReceiversReceiverResponse) Status ¶
func (r GetV1ProjectsPrjReceiversReceiverResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjReceiversReceiverResponse) StatusCode ¶
func (r GetV1ProjectsPrjReceiversReceiverResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjReceiversResponse ¶
type GetV1ProjectsPrjReceiversResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ReceiverPage
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjReceiversResponse ¶
func ParseGetV1ProjectsPrjReceiversResponse(rsp *http.Response) (*GetV1ProjectsPrjReceiversResponse, error)
ParseGetV1ProjectsPrjReceiversResponse parses an HTTP response from a GetV1ProjectsPrjReceiversWithResponse call
func (GetV1ProjectsPrjReceiversResponse) Status ¶
func (r GetV1ProjectsPrjReceiversResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjReceiversResponse) StatusCode ¶
func (r GetV1ProjectsPrjReceiversResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjResponse ¶
type GetV1ProjectsPrjResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjResponse ¶
func ParseGetV1ProjectsPrjResponse(rsp *http.Response) (*GetV1ProjectsPrjResponse, error)
ParseGetV1ProjectsPrjResponse parses an HTTP response from a GetV1ProjectsPrjWithResponse call
func (GetV1ProjectsPrjResponse) Status ¶
func (r GetV1ProjectsPrjResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjResponse) StatusCode ¶
func (r GetV1ProjectsPrjResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjRoutingResponse ¶
type GetV1ProjectsPrjRoutingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RoutingDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjRoutingResponse ¶
func ParseGetV1ProjectsPrjRoutingResponse(rsp *http.Response) (*GetV1ProjectsPrjRoutingResponse, error)
ParseGetV1ProjectsPrjRoutingResponse parses an HTTP response from a GetV1ProjectsPrjRoutingWithResponse call
func (GetV1ProjectsPrjRoutingResponse) Status ¶
func (r GetV1ProjectsPrjRoutingResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjRoutingResponse) StatusCode ¶
func (r GetV1ProjectsPrjRoutingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjSilencesParams ¶
type GetV1ProjectsPrjSilencesParams struct {
// Limit Page size, 1 to 200 (default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque cursor from a previous page's `next_cursor`.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Active Only unexpired silences.
Active *bool `form:"active,omitempty" json:"active,omitempty"`
}
GetV1ProjectsPrjSilencesParams defines parameters for GetV1ProjectsPrjSilences.
type GetV1ProjectsPrjSilencesResponse ¶
type GetV1ProjectsPrjSilencesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SilencePage
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjSilencesResponse ¶
func ParseGetV1ProjectsPrjSilencesResponse(rsp *http.Response) (*GetV1ProjectsPrjSilencesResponse, error)
ParseGetV1ProjectsPrjSilencesResponse parses an HTTP response from a GetV1ProjectsPrjSilencesWithResponse call
func (GetV1ProjectsPrjSilencesResponse) Status ¶
func (r GetV1ProjectsPrjSilencesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjSilencesResponse) StatusCode ¶
func (r GetV1ProjectsPrjSilencesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjSilencesSilenceResponse ¶
type GetV1ProjectsPrjSilencesSilenceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SilenceDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjSilencesSilenceResponse ¶
func ParseGetV1ProjectsPrjSilencesSilenceResponse(rsp *http.Response) (*GetV1ProjectsPrjSilencesSilenceResponse, error)
ParseGetV1ProjectsPrjSilencesSilenceResponse parses an HTTP response from a GetV1ProjectsPrjSilencesSilenceWithResponse call
func (GetV1ProjectsPrjSilencesSilenceResponse) Status ¶
func (r GetV1ProjectsPrjSilencesSilenceResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjSilencesSilenceResponse) StatusCode ¶
func (r GetV1ProjectsPrjSilencesSilenceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjSlosParams ¶
type GetV1ProjectsPrjSlosParams struct {
// Limit Page size, 1 to 200 (default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque cursor from a previous page's `next_cursor`.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetV1ProjectsPrjSlosParams defines parameters for GetV1ProjectsPrjSlos.
type GetV1ProjectsPrjSlosResponse ¶
type GetV1ProjectsPrjSlosResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SloPage
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjSlosResponse ¶
func ParseGetV1ProjectsPrjSlosResponse(rsp *http.Response) (*GetV1ProjectsPrjSlosResponse, error)
ParseGetV1ProjectsPrjSlosResponse parses an HTTP response from a GetV1ProjectsPrjSlosWithResponse call
func (GetV1ProjectsPrjSlosResponse) Status ¶
func (r GetV1ProjectsPrjSlosResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjSlosResponse) StatusCode ¶
func (r GetV1ProjectsPrjSlosResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjSlosSloResponse ¶
type GetV1ProjectsPrjSlosSloResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SloDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjSlosSloResponse ¶
func ParseGetV1ProjectsPrjSlosSloResponse(rsp *http.Response) (*GetV1ProjectsPrjSlosSloResponse, error)
ParseGetV1ProjectsPrjSlosSloResponse parses an HTTP response from a GetV1ProjectsPrjSlosSloWithResponse call
func (GetV1ProjectsPrjSlosSloResponse) Status ¶
func (r GetV1ProjectsPrjSlosSloResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjSlosSloResponse) StatusCode ¶
func (r GetV1ProjectsPrjSlosSloResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjTemplatesIdResponse ¶
type GetV1ProjectsPrjTemplatesIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TemplateDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjTemplatesIdResponse ¶
func ParseGetV1ProjectsPrjTemplatesIdResponse(rsp *http.Response) (*GetV1ProjectsPrjTemplatesIdResponse, error)
ParseGetV1ProjectsPrjTemplatesIdResponse parses an HTTP response from a GetV1ProjectsPrjTemplatesIdWithResponse call
func (GetV1ProjectsPrjTemplatesIdResponse) Status ¶
func (r GetV1ProjectsPrjTemplatesIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjTemplatesIdResponse) StatusCode ¶
func (r GetV1ProjectsPrjTemplatesIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjTemplatesParams ¶
type GetV1ProjectsPrjTemplatesParams struct {
// Limit Page size, 1 to 200 (default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque cursor from a previous page's `next_cursor`.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetV1ProjectsPrjTemplatesParams defines parameters for GetV1ProjectsPrjTemplates.
type GetV1ProjectsPrjTemplatesResponse ¶
type GetV1ProjectsPrjTemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TemplatePage
ApplicationproblemJSON401 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjTemplatesResponse ¶
func ParseGetV1ProjectsPrjTemplatesResponse(rsp *http.Response) (*GetV1ProjectsPrjTemplatesResponse, error)
ParseGetV1ProjectsPrjTemplatesResponse parses an HTTP response from a GetV1ProjectsPrjTemplatesWithResponse call
func (GetV1ProjectsPrjTemplatesResponse) Status ¶
func (r GetV1ProjectsPrjTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjTemplatesResponse) StatusCode ¶
func (r GetV1ProjectsPrjTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjWorkflowsParams ¶
type GetV1ProjectsPrjWorkflowsParams struct {
// Limit Page size, 1 to 200 (default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque cursor from a previous page's `next_cursor`.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetV1ProjectsPrjWorkflowsParams defines parameters for GetV1ProjectsPrjWorkflows.
type GetV1ProjectsPrjWorkflowsResponse ¶
type GetV1ProjectsPrjWorkflowsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WorkflowPage
ApplicationproblemJSON401 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjWorkflowsResponse ¶
func ParseGetV1ProjectsPrjWorkflowsResponse(rsp *http.Response) (*GetV1ProjectsPrjWorkflowsResponse, error)
ParseGetV1ProjectsPrjWorkflowsResponse parses an HTTP response from a GetV1ProjectsPrjWorkflowsWithResponse call
func (GetV1ProjectsPrjWorkflowsResponse) Status ¶
func (r GetV1ProjectsPrjWorkflowsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjWorkflowsResponse) StatusCode ¶
func (r GetV1ProjectsPrjWorkflowsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ProjectsPrjWorkflowsWResponse ¶
type GetV1ProjectsPrjWorkflowsWResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WorkflowDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParseGetV1ProjectsPrjWorkflowsWResponse ¶
func ParseGetV1ProjectsPrjWorkflowsWResponse(rsp *http.Response) (*GetV1ProjectsPrjWorkflowsWResponse, error)
ParseGetV1ProjectsPrjWorkflowsWResponse parses an HTTP response from a GetV1ProjectsPrjWorkflowsWWithResponse call
func (GetV1ProjectsPrjWorkflowsWResponse) Status ¶
func (r GetV1ProjectsPrjWorkflowsWResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ProjectsPrjWorkflowsWResponse) StatusCode ¶
func (r GetV1ProjectsPrjWorkflowsWResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GroupBy ¶
type GroupBy struct {
// contains filtered or unexported fields
}
GroupBy defines model for GroupBy.
func (GroupBy) AsGroupBy0 ¶
AsGroupBy0 returns the union data inside the GroupBy as a GroupBy0
func (GroupBy) AsGroupBy1 ¶
AsGroupBy1 returns the union data inside the GroupBy as a GroupBy1
func (*GroupBy) FromGroupBy0 ¶
FromGroupBy0 overwrites any union data inside the GroupBy as the provided GroupBy0
func (*GroupBy) FromGroupBy1 ¶
FromGroupBy1 overwrites any union data inside the GroupBy as the provided GroupBy1
func (GroupBy) MarshalJSON ¶
func (*GroupBy) MergeGroupBy0 ¶
MergeGroupBy0 performs a merge with any union data inside the GroupBy, using the provided GroupBy0
func (*GroupBy) MergeGroupBy1 ¶
MergeGroupBy1 performs a merge with any union data inside the GroupBy, using the provided GroupBy1
func (*GroupBy) UnmarshalJSON ¶
type GroupBy0 ¶
type GroupBy0 struct {
// Labels Group by these label values; empty puts every alert of the route in one group.
Labels []string `json:"labels"`
}
GroupBy0 Group by these label values; empty puts every alert of the route in one group.
type GroupBy1 ¶
type GroupBy1 string
GroupBy1 Every distinct label set is its own group.
const (
GroupBy1All GroupBy1 = "all"
)
Defines values for GroupBy1.
type GroupDto ¶
type GroupDto struct {
// AlertRuleIds Ids of the group's alert rules, in rule order.
AlertRuleIds []string `json:"alert_rule_ids"`
Created int `json:"created"`
Deleted int `json:"deleted"`
// Dropped Annotations with no counterpart here, as `rules[i].annotations.key`.
Dropped []string `json:"dropped"`
IntervalS int32 `json:"interval_s"`
Name string `json:"name"`
RecordingRules int `json:"recording_rules"`
// Unchanged Nothing changed: the group was already stored as given.
Unchanged bool `json:"unchanged"`
Updated int `json:"updated"`
}
GroupDto defines model for GroupDto.
type HealthPolicy ¶
type HealthPolicy struct {
// DownSeverity `critical`, `high`, `warning` or `info`, on rules and on monitors alike. `medium` is read as
// `warning` (it is always answered as `warning`).
DownSeverity *Severity `json:"down_severity,omitempty"`
// ErrorRateDegraded Error ratio (0 to 1) from which the target is `degraded`.
ErrorRateDegraded *float64 `json:"error_rate_degraded,omitempty"`
// ErrorRateDown Error ratio from which the target is `down`.
ErrorRateDown *float64 `json:"error_rate_down,omitempty"`
MaintenanceAs *MaintenanceAs `json:"maintenance_as,omitempty"`
// P95MsDegraded p95 latency in milliseconds above which the target is `degraded`. Unset: a service
// target takes the threshold of its latency SLO (`HealthInput::slo_p95`), others skip it.
P95MsDegraded *int32 `json:"p95_ms_degraded"`
// StaleAfterS Telemetry older than this many seconds is stale.
StaleAfterS *int32 `json:"stale_after_s,omitempty"`
StaleAs *StaleAs `json:"stale_as,omitempty"`
}
HealthPolicy defines model for HealthPolicy.
type HealthTokenCreated ¶
type HealthTokenCreated struct {
CreatedAt string `json:"created_at"`
EnvId *string `json:"env_id"`
Id string `json:"id"`
LastUsedAt *string `json:"last_used_at"`
Name string `json:"name"`
Policy HealthPolicy `json:"policy"`
// Prefix Not secret: identifies the token in lists.
Prefix string `json:"prefix"`
ProjectId string `json:"project_id"`
RevokedAt *string `json:"revoked_at"`
Service *string `json:"service"`
Token string `json:"token"`
}
HealthTokenCreated defines model for HealthTokenCreated.
type HealthTokenDto ¶
type HealthTokenDto struct {
CreatedAt string `json:"created_at"`
EnvId *string `json:"env_id"`
Id string `json:"id"`
LastUsedAt *string `json:"last_used_at"`
Name string `json:"name"`
Policy HealthPolicy `json:"policy"`
// Prefix Not secret: identifies the token in lists.
Prefix string `json:"prefix"`
ProjectId string `json:"project_id"`
RevokedAt *string `json:"revoked_at"`
Service *string `json:"service"`
}
HealthTokenDto defines model for HealthTokenDto.
type HealthTokenPage ¶
type HealthTokenPage struct {
Data []HealthTokenDto `json:"data"`
NextCursor *string `json:"next_cursor"`
}
HealthTokenPage defines model for HealthTokenPage.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type IssueFilter ¶
type IssueFilter struct {
// AgeMinS Only issues first seen at least this many seconds ago (Sentry's "issue is older than").
AgeMinS *int64 `json:"age_min_s"`
// Assignee `unassigned`, `assigned`, a user id (`usr_…`) or a team id (`team_…`).
Assignee *string `json:"assignee"`
// Kinds `exception`, `performance`, `log_pattern`, `cron_miss` or `llm_failure`.
Kinds *[]string `json:"kinds,omitempty"`
// LatestRelease Only issues first seen in the project's newest release; per-issue kinds also count only
// that release's events (Sentry's "latest release").
LatestRelease *bool `json:"latest_release,omitempty"`
Levels *[]string `json:"levels,omitempty"`
// MinTimesSeen Only issues seen at least this many times in total.
MinTimesSeen *int64 `json:"min_times_seen"`
// Priorities `high`, `medium` or `low`.
Priorities *[]string `json:"priorities,omitempty"`
// Tags The issue's events in the window must carry every one of these tags (Sentry's "event's
// tags match"); at most 10.
Tags *[]IssueTagMatch `json:"tags,omitempty"`
}
IssueFilter Which issues an issue rule counts; empty lists match everything.
type IssueMetric ¶
type IssueMetric string
IssueMetric defines model for IssueMetric.
const ( IssueMetricEvents IssueMetric = "events" IssueMetricUsers IssueMetric = "users" )
Defines values for IssueMetric.
type IssuePct ¶
type IssuePct struct {
// IssueFilter Which issues an issue rule counts; empty lists match everything.
IssueFilter *IssueFilter `json:"issue_filter,omitempty"`
Metric IssueMetric `json:"metric"`
// MinPrev Issues with fewer than this in the previous window are skipped (default 1).
MinPrev *int32 `json:"min_prev,omitempty"`
}
IssuePct Percent change of a per-issue count against the window before it.
type IssueTagMatch ¶
IssueTagMatch `key` = `value` on an event's tags.
type LastDeliveryDto ¶
type LastDeliveryDto struct {
At string `json:"at"`
ErrorClass *string `json:"error_class"`
// Status `sent`, `retry`, `failed`, `dead` or `folded`.
Status string `json:"status"`
}
LastDeliveryDto defines model for LastDeliveryDto.
type LastResult ¶ added in v0.3.4
type LastResult struct {
// AtMs Unix milliseconds.
AtMs int64 `json:"at_ms"`
// Canary The result came from a canary run.
Canary bool `json:"canary"`
// Maintenance The result fell in a maintenance window.
Maintenance bool `json:"maintenance"`
Ok bool `json:"ok"`
// StatusCode HTTP status; 0 when the check did not get one (non-HTTP kinds, connection failure).
StatusCode int32 `json:"status_code"`
}
LastResult The newest check result of a monitor (any location).
type Layer ¶
type Layer struct {
// End Exclusive: the layer ends at local midnight starting this date.
End *string `json:"end"`
// Handoff Local handoff time.
Handoff string `json:"handoff"`
// HandoffDay Monthly: day of month 1-31, clamped to the month's last day (default: the day of `start`).
HandoffDay *int32 `json:"handoff_day"`
// HandoffWeekday Weekly and biweekly: handoff weekday (default: the weekday of `start`).
HandoffWeekday *string `json:"handoff_weekday"`
// Members `{"user": "usr_…"}` or `{"schedule": "sch_…"}`, in rotation order.
Members []map[string]interface{} `json:"members"`
Name string `json:"name"`
Previous *map[string]interface{} `json:"previous"`
Restrictions *[]Restriction `json:"restrictions,omitempty"`
Rotation Rotation `json:"rotation"`
// Shadows Users who shadow this layer's primary shifts.
Shadows *[]string `json:"shadows,omitempty"`
// Since Set by the server when an edit changed the rotation: this version takes over at `since`
// (the next handoff), and `previous` keeps covering until then. Ignored on input.
Since *string `json:"since"`
SkipHolidays *bool `json:"skip_holidays,omitempty"`
Start string `json:"start"`
// Tz Overrides the schedule's time zone (IANA name).
Tz *string `json:"tz"`
}
Layer defines model for Layer.
type LevelSpec ¶
type LevelSpec struct {
// BurdenWeighted With `random` / `round_robin_*`: pick the least burdened targets (7-day pages, off-hours
// and sleep interruptions).
BurdenWeighted *bool `json:"burden_weighted,omitempty"`
// DelayMin Minutes to wait after this level before the next, unless the page is acked.
DelayMin int32 `json:"delay_min"`
// QuotaPages Targets with this many pages in 7 days are skipped (0 = no quota, at most 1000).
QuotaPages *int32 `json:"quota_pages,omitempty"`
// Reassign Exactly one of `user`, `schedule`, `team` (with `members`), `receiver` or `escalate`.
Reassign *TargetSpec `json:"reassign,omitempty"`
// Strategy `default`, `all`, `random`, `round_robin_alert` or `round_robin_cycle`.
Strategy *string `json:"strategy,omitempty"`
Targets *[]TargetSpec `json:"targets,omitempty"`
// Via Page this level's users on every verified contact method of these kinds at once (`sms`,
// `voice`, `push`, `email`, `slack`, `teams`, `telegram`, `mattermost`, `webhook`) instead
// of their personal rules; a user with none of them keeps their rules.
Via *[]string `json:"via,omitempty"`
}
LevelSpec defines model for LevelSpec.
type LlmQuantile ¶
type LlmQuantile string
LlmQuantile defines model for LlmQuantile.
const ( LlmQuantileP50 LlmQuantile = "p50" LlmQuantileP95 LlmQuantile = "p95" LlmQuantileP99 LlmQuantile = "p99" )
Defines values for LlmQuantile.
type LlmQuery ¶
type LlmQuery struct {
GroupBy *LlmGroup `json:"group_by,omitempty"`
// MinSamples `llm_score` only; default 20.
MinSamples *int32 `json:"min_samples"`
// Model Response model (falls back to the requested model).
Model *string `json:"model"`
// Name `llm_score` (required) and `llm_guard_flags` (optional): the score or guard name.
Name *string `json:"name"`
// Operation `chat`, `tool`, `retrieval`, and so on.
Operation *string `json:"operation"`
Prompt *string `json:"prompt"`
Quantile *LlmQuantile `json:"quantile,omitempty"`
Service *string `json:"service"`
// Ttft `llm_latency` only: time to first token instead of duration.
Ttft *bool `json:"ttft,omitempty"`
}
LlmQuery Query object shared by the `GenAI` kinds; each kind reads only the fields it documents.
type LogFilter ¶
type LogFilter struct {
Attrs *[]AttrFilter `json:"attrs,omitempty"`
Services *[]string `json:"services,omitempty"`
// Severities Matched against `severity_text`, case-insensitive.
Severities *[]string `json:"severities,omitempty"`
Text *string `json:"text"`
}
LogFilter Log filter of a `log_count` rule; its time range is the rule window.
type LogMeasure ¶
type LogMeasure struct {
// Agg `avg`, `sum`, `min`, `max`, `unique`, `pNN` (a quantile, `p95`, `p99.9`) or `ratio`.
Agg string `json:"agg"`
// Attr The attribute to aggregate (required, except for `ratio`).
Attr *string `json:"attr"`
// Den Log filter of a `log_count` rule; its time range is the rule window.
Den *LogFilter `json:"den,omitempty"`
// Filter Log filter of a `log_count` rule; its time range is the rule window.
Filter LogFilter `json:"filter"`
}
LogMeasure A number from the logs matching `filter`: an aggregate of the numeric attribute `attr`, or the percentage of one filter's rows among another's.
type LogQlMetric ¶
type LogQlMetric struct {
Query string `json:"query"`
}
LogQlMetric defines model for LogQlMetric.
type MaintenanceAs ¶
type MaintenanceAs string
MaintenanceAs defines model for MaintenanceAs.
const ( MaintenanceAsDegraded MaintenanceAs = "degraded" MaintenanceAsUp MaintenanceAs = "up" )
Defines values for MaintenanceAs.
type MatchOp ¶
type MatchOp string
MatchOp Matcher operator: `eq`, `ne`, `re` or `nre` (aliases `=`, `!=`, `=~`, `!~`).
type Matcher ¶
type Matcher struct {
// Name Label name.
Name string `json:"name"`
// Op Matcher operator: `eq`, `ne`, `re` or `nre` (aliases `=`, `!=`, `=~`, `!~`).
Op MatchOp `json:"op"`
// Value Label value, or a regular expression with `re` and `nre`.
Value string `json:"value"`
}
Matcher A label matcher `{name, op, value}`; `label` is accepted for `name`, and `op` is one of `eq`, `ne`, `re`, `nre` or the aliases `=`, `!=`, `=~`, `!~`. Also accepted on input: Alertmanager's `{name, value, isRegex, isEqual}` (`isEqual: false` with `isRegex: true` is `nre`) and an Alertmanager string such as `severity=~"crit|page"`. Output is always `{name, op, value}`. A missing label matches as the empty string; regexes are anchored.
type MinAlerts ¶
type MinAlerts struct {
// Count 2 to 1000.
Count int32 `json:"count"`
// WindowMin 1 to 1440.
WindowMin int32 `json:"window_min"`
}
MinAlerts defines model for MinAlerts.
type MlModelQuery ¶
type MlModelQuery struct {
// BaselineS Drift baseline: the seconds before the window, 3600 to 31 days (default 7 days).
BaselineS *int32 `json:"baseline_s,omitempty"`
// Feature Drift of this feature only (`@prediction` for the prediction).
Feature *string `json:"feature"`
Metric MlMetric `json:"metric"`
Model string `json:"model"`
Version *string `json:"version"`
}
MlModelQuery defines model for MlModelQuery.
type MonitorConfigDoc ¶ added in v0.3.4
type MonitorConfigDoc struct {
// contains filtered or unexported fields
}
MonitorConfigDoc What `config` holds, by `kind`. Kinds without a schema here (udp, icmp, smtp, ...) take the fields of their probe driver; a wrong key is a 422 that lists the accepted ones.
func (MonitorConfigDoc) AsMonitorDnsConfig ¶ added in v0.3.4
func (t MonitorConfigDoc) AsMonitorDnsConfig() (MonitorDnsConfig, error)
AsMonitorDnsConfig returns the union data inside the MonitorConfigDoc as a MonitorDnsConfig
func (MonitorConfigDoc) AsMonitorHeartbeatConfig ¶ added in v0.3.4
func (t MonitorConfigDoc) AsMonitorHeartbeatConfig() (MonitorHeartbeatConfig, error)
AsMonitorHeartbeatConfig returns the union data inside the MonitorConfigDoc as a MonitorHeartbeatConfig
func (MonitorConfigDoc) AsMonitorHttpConfig ¶ added in v0.3.4
func (t MonitorConfigDoc) AsMonitorHttpConfig() (MonitorHttpConfig, error)
AsMonitorHttpConfig returns the union data inside the MonitorConfigDoc as a MonitorHttpConfig
func (MonitorConfigDoc) AsMonitorTcpConfig ¶ added in v0.3.4
func (t MonitorConfigDoc) AsMonitorTcpConfig() (MonitorTcpConfig, error)
AsMonitorTcpConfig returns the union data inside the MonitorConfigDoc as a MonitorTcpConfig
func (MonitorConfigDoc) AsMonitorTlsConfig ¶ added in v0.3.4
func (t MonitorConfigDoc) AsMonitorTlsConfig() (MonitorTlsConfig, error)
AsMonitorTlsConfig returns the union data inside the MonitorConfigDoc as a MonitorTlsConfig
func (*MonitorConfigDoc) FromMonitorDnsConfig ¶ added in v0.3.4
func (t *MonitorConfigDoc) FromMonitorDnsConfig(v MonitorDnsConfig) error
FromMonitorDnsConfig overwrites any union data inside the MonitorConfigDoc as the provided MonitorDnsConfig
func (*MonitorConfigDoc) FromMonitorHeartbeatConfig ¶ added in v0.3.4
func (t *MonitorConfigDoc) FromMonitorHeartbeatConfig(v MonitorHeartbeatConfig) error
FromMonitorHeartbeatConfig overwrites any union data inside the MonitorConfigDoc as the provided MonitorHeartbeatConfig
func (*MonitorConfigDoc) FromMonitorHttpConfig ¶ added in v0.3.4
func (t *MonitorConfigDoc) FromMonitorHttpConfig(v MonitorHttpConfig) error
FromMonitorHttpConfig overwrites any union data inside the MonitorConfigDoc as the provided MonitorHttpConfig
func (*MonitorConfigDoc) FromMonitorTcpConfig ¶ added in v0.3.4
func (t *MonitorConfigDoc) FromMonitorTcpConfig(v MonitorTcpConfig) error
FromMonitorTcpConfig overwrites any union data inside the MonitorConfigDoc as the provided MonitorTcpConfig
func (*MonitorConfigDoc) FromMonitorTlsConfig ¶ added in v0.3.4
func (t *MonitorConfigDoc) FromMonitorTlsConfig(v MonitorTlsConfig) error
FromMonitorTlsConfig overwrites any union data inside the MonitorConfigDoc as the provided MonitorTlsConfig
func (MonitorConfigDoc) MarshalJSON ¶ added in v0.3.4
func (t MonitorConfigDoc) MarshalJSON() ([]byte, error)
func (*MonitorConfigDoc) MergeMonitorDnsConfig ¶ added in v0.3.4
func (t *MonitorConfigDoc) MergeMonitorDnsConfig(v MonitorDnsConfig) error
MergeMonitorDnsConfig performs a merge with any union data inside the MonitorConfigDoc, using the provided MonitorDnsConfig
func (*MonitorConfigDoc) MergeMonitorHeartbeatConfig ¶ added in v0.3.4
func (t *MonitorConfigDoc) MergeMonitorHeartbeatConfig(v MonitorHeartbeatConfig) error
MergeMonitorHeartbeatConfig performs a merge with any union data inside the MonitorConfigDoc, using the provided MonitorHeartbeatConfig
func (*MonitorConfigDoc) MergeMonitorHttpConfig ¶ added in v0.3.4
func (t *MonitorConfigDoc) MergeMonitorHttpConfig(v MonitorHttpConfig) error
MergeMonitorHttpConfig performs a merge with any union data inside the MonitorConfigDoc, using the provided MonitorHttpConfig
func (*MonitorConfigDoc) MergeMonitorTcpConfig ¶ added in v0.3.4
func (t *MonitorConfigDoc) MergeMonitorTcpConfig(v MonitorTcpConfig) error
MergeMonitorTcpConfig performs a merge with any union data inside the MonitorConfigDoc, using the provided MonitorTcpConfig
func (*MonitorConfigDoc) MergeMonitorTlsConfig ¶ added in v0.3.4
func (t *MonitorConfigDoc) MergeMonitorTlsConfig(v MonitorTlsConfig) error
MergeMonitorTlsConfig performs a merge with any union data inside the MonitorConfigDoc, using the provided MonitorTlsConfig
func (*MonitorConfigDoc) UnmarshalJSON ¶ added in v0.3.4
func (t *MonitorConfigDoc) UnmarshalJSON(b []byte) error
type MonitorDnsConfig ¶ added in v0.3.4
type MonitorDnsConfig struct {
// Dnssec Ask for DNSSEC validation and report the AD flag.
Dnssec *bool `json:"dnssec"`
// Expect Answers that must all be present.
Expect *[]string `json:"expect"`
// Name The name to resolve.
Name string `json:"name"`
// Resolver Resolver IP, optionally `ip:port`.
Resolver *string `json:"resolver"`
// Type Record type, default `A`.
Type *string `json:"type"`
}
MonitorDnsConfig `kind: dns`.
type MonitorDto ¶
type MonitorDto struct {
// Alert Create a managed alert rule (default true).
Alert *bool `json:"alert,omitempty"`
AlertKind *AlertKind `json:"alert_kind,omitempty"`
AlertReadiness *AlertingReadiness `json:"alert_readiness,omitempty"`
Alerting *AlertingReadiness `json:"alerting,omitempty"`
// Assertions Gatus-style conditions, for example `[STATUS] == 200`. All must hold.
Assertions *[]string `json:"assertions,omitempty"`
// AvailabilityWindowS `availability`: the window in seconds, 300 to 86400 (default 3600).
AvailabilityWindowS *int32 `json:"availability_window_s"`
// Canary A canary in progress: the monitor runs every 10 s until `until_ms`, results flagged `canary`.
Canary *OpenCanaryDto `json:"canary,omitempty"`
// Config What `config` holds, by `kind`. Kinds without a schema here (udp, icmp, smtp, ...) take the
// fields of their probe driver; a wrong key is a 422 that lists the accepted ones.
Config MonitorConfigDoc `json:"config"`
// ConfigError Why the engine cannot run the monitor (for example an assertion that does not parse); the
// monitor raises no alert while it is set.
ConfigError *string `json:"config_error"`
// ConsecutiveFailures `consecutive_failures`: failed rounds in a row, 2 to 100 (default 3).
ConsecutiveFailures *int32 `json:"consecutive_failures"`
CreatedAt string `json:"created_at"`
// DeclareIncident Open an incident, linked to the monitor, when the rule fires.
DeclareIncident *bool `json:"declare_incident,omitempty"`
// DegradedMs A passing check slower than this is degraded, not down.
DegradedMs *int32 `json:"degraded_ms"`
// DeployCanary Opt in to the deploy canary (default false): after a deploy marker (`change_events` kind
// `deploy`) lands, the monitor runs every 10 s for 5 minutes (below the plan's
// `check_min_interval_s` on purpose, so use it on monitors that tolerate the load). The
// results are flagged `canary` and still alert; uptime leaves them out. The running canary
// shows as `canary` on the monitor.
DeployCanary *bool `json:"deploy_canary,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
EnvId string `json:"env_id"`
// EscalationPolicyId Escalation policy (`esc_...`) the alert follows.
EscalationPolicyId *string `json:"escalation_policy_id"`
Id string `json:"id"`
// IntervalS 10 to 86400 (default 60).
IntervalS *int32 `json:"interval_s,omitempty"`
// Kind One of the check kinds, `heartbeat` included (see the `MonitorHeartbeatConfig` schema for
// its config).
Kind string `json:"kind"`
// LastResult The newest check result of a monitor (any location).
LastResult *LastResult `json:"last_result,omitempty"`
// LastRunAt When the newest check result arrived (RFC 3339); null when there is none in the last 7
// days. Set on reads.
LastRunAt *string `json:"last_run_at"`
// Locations Probe locations, at most 10 (default `["default"]`).
Locations *[]string `json:"locations,omitempty"`
// MinAvailabilityPct `availability`: alert below this percent of up results, 50 to 99.999 (default 99).
MinAvailabilityPct *float64 `json:"min_availability_pct"`
Name string `json:"name"`
ProjectId string `json:"project_id"`
Quorum *Quorum `json:"quorum,omitempty"`
// RegressionFactor `performance_regression`: alert when the phase is this many times slower than its last
// day's mean, 1.1 to 20 (default 2).
RegressionFactor *float64 `json:"regression_factor"`
// RegressionPhase `performance_regression`: `dns`, `connect`, `tls`, `ttfb` or `total` (default).
RegressionPhase *string `json:"regression_phase"`
// RenotifyS Re-notify an open alert every this many seconds (60 to 604800); a rule label for routes.
RenotifyS *int32 `json:"renotify_s"`
// Retry Retries run at the same location, at most 3.
Retry *Retry `json:"retry,omitempty"`
// RuleId The managed alert rule, when `alert` is set.
RuleId *string `json:"rule_id"`
// Service Catalog service the monitor belongs to.
Service *string `json:"service"`
// Severity `critical`, `high`, `warning` or `info`, on rules and on monitors alike. `medium` is read as
// `warning` (it is always answered as `warning`).
Severity *Severity `json:"severity,omitempty"`
// Status `paused` (disabled), `up` or `down` by the newest result, `unknown` without one. Set on
// reads.
Status string `json:"status"`
// StopAfter Stop notifying after this many notifications (1 to 100); a rule label like `renotify_s`.
StopAfter *int32 `json:"stop_after"`
// TimeoutMs 100 to 60000 (browser: 120000) and at most the interval (default 10000).
TimeoutMs *int32 `json:"timeout_ms,omitempty"`
UpdatedAt string `json:"updated_at"`
// Warnings On create with `alert: true`: why a page about the monitor would go nowhere (no route
// matches, no deliverable target). The monitor is created anyway.
Warnings *[]string `json:"warnings,omitempty"`
}
MonitorDto defines model for MonitorDto.
type MonitorHeartbeatConfig ¶ added in v0.3.4
type MonitorHeartbeatConfig struct {
// FailureThreshold Failed runs in a row before the monitor is down, 1 to 100.
FailureThreshold *int32 `json:"failure_threshold"`
// GraceS Seconds a check-in may be late before the monitor is down, 0 to 86400.
GraceS *int32 `json:"grace_s"`
// MaxRuntimeS A started run that does not finish within this is a failure, 1 to 86400 (null: no limit).
MaxRuntimeS *int32 `json:"max_runtime_s"`
// RecoveryThreshold Good runs in a row before it recovers, 1 to 100.
RecoveryThreshold *int32 `json:"recovery_threshold"`
// Schedule Exactly one of `interval_s` and `crontab`.
Schedule MonitorHeartbeatSchedule `json:"schedule"`
// Slug 1 to 64 characters of letters, digits, `-`, `_` and `.`; the check-in URL names it.
Slug string `json:"slug"`
}
MonitorHeartbeatConfig `kind: heartbeat`: a push monitor that waits for check-ins (`POST /v1/checkins/{slug}`). `interval_s` on the monitor is ignored; the schedule decides.
type MonitorHeartbeatSchedule ¶ added in v0.3.4
type MonitorHeartbeatSchedule struct {
// Crontab Five fields (or six with a leading `0`, or `@daily` and the like).
Crontab *string `json:"crontab"`
// IntervalS A check-in is due every this many seconds, 10 to 2678400.
IntervalS *int32 `json:"interval_s"`
// Tz IANA time zone of `crontab` (default UTC); not with `interval_s`.
Tz *string `json:"tz"`
}
MonitorHeartbeatSchedule Exactly one of `interval_s` and `crontab`.
type MonitorHttpConfig ¶ added in v0.3.4
type MonitorHttpConfig struct {
// Auth `{type: basic|bearer|negotiate, username, password_ref, token_ref, realm, kdc, spn}`.
Auth *map[string]interface{} `json:"auth"`
// Body Request body, at most 1 MiB.
Body *string `json:"body"`
// CacheBypass Add a cache-busting query parameter to each request.
CacheBypass *bool `json:"cache_bypass"`
// ClientCertSecret `{{secret.NAME}}`: a PEM client certificate and key.
ClientCertSecret *string `json:"client_cert_secret"`
// Headers Header values are write-only: `***` or null keeps the stored value. No `Authorization`,
// `Proxy-Authorization` or `Cookie` here.
Headers *map[string]interface{} `json:"headers"`
// IpVersion `4` or `6`.
IpVersion *string `json:"ip_version"`
// MaxRedirects 0 to 10.
MaxRedirects *int32 `json:"max_redirects"`
// Method `GET` (default), `HEAD`, `POST`, `PUT`, `PATCH`, `DELETE` or `OPTIONS`.
Method *string `json:"method"`
// TlsVerify Verify the certificate (default true).
TlsVerify *bool `json:"tls_verify"`
// Url `http://` or `https://`, at most 2048 bytes, no credentials in it.
Url string `json:"url"`
}
MonitorHttpConfig `kind: http`. Credentials never go here: use `auth` with `password_ref` / `token_ref`.
type MonitorPage ¶
type MonitorPage struct {
Data []MonitorDto `json:"data"`
NextCursor *string `json:"next_cursor"`
}
MonitorPage defines model for MonitorPage.
type MonitorSpec ¶
type MonitorSpec struct {
// Alert Create a managed alert rule (default true).
Alert *bool `json:"alert,omitempty"`
AlertKind *AlertKind `json:"alert_kind,omitempty"`
// Assertions Gatus-style conditions, for example `[STATUS] == 200`. All must hold.
Assertions *[]string `json:"assertions,omitempty"`
// AvailabilityWindowS `availability`: the window in seconds, 300 to 86400 (default 3600).
AvailabilityWindowS *int32 `json:"availability_window_s"`
// Config What `config` holds, by `kind`. Kinds without a schema here (udp, icmp, smtp, ...) take the
// fields of their probe driver; a wrong key is a 422 that lists the accepted ones.
Config MonitorConfigDoc `json:"config"`
// ConsecutiveFailures `consecutive_failures`: failed rounds in a row, 2 to 100 (default 3).
ConsecutiveFailures *int32 `json:"consecutive_failures"`
// DeclareIncident Open an incident, linked to the monitor, when the rule fires.
DeclareIncident *bool `json:"declare_incident,omitempty"`
// DegradedMs A passing check slower than this is degraded, not down.
DegradedMs *int32 `json:"degraded_ms"`
// DeployCanary Opt in to the deploy canary (default false): after a deploy marker (`change_events` kind
// `deploy`) lands, the monitor runs every 10 s for 5 minutes (below the plan's
// `check_min_interval_s` on purpose, so use it on monitors that tolerate the load). The
// results are flagged `canary` and still alert; uptime leaves them out. The running canary
// shows as `canary` on the monitor.
DeployCanary *bool `json:"deploy_canary,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
EnvId string `json:"env_id"`
// EscalationPolicyId Escalation policy (`esc_...`) the alert follows.
EscalationPolicyId *string `json:"escalation_policy_id"`
// IntervalS 10 to 86400 (default 60).
IntervalS *int32 `json:"interval_s,omitempty"`
// Kind One of the check kinds, `heartbeat` included (see the `MonitorHeartbeatConfig` schema for
// its config).
Kind string `json:"kind"`
// Locations Probe locations, at most 10 (default `["default"]`).
Locations *[]string `json:"locations,omitempty"`
// MinAvailabilityPct `availability`: alert below this percent of up results, 50 to 99.999 (default 99).
MinAvailabilityPct *float64 `json:"min_availability_pct"`
Name string `json:"name"`
Quorum *Quorum `json:"quorum,omitempty"`
// RegressionFactor `performance_regression`: alert when the phase is this many times slower than its last
// day's mean, 1.1 to 20 (default 2).
RegressionFactor *float64 `json:"regression_factor"`
// RegressionPhase `performance_regression`: `dns`, `connect`, `tls`, `ttfb` or `total` (default).
RegressionPhase *string `json:"regression_phase"`
// RenotifyS Re-notify an open alert every this many seconds (60 to 604800); a rule label for routes.
RenotifyS *int32 `json:"renotify_s"`
// Retry Retries run at the same location, at most 3.
Retry *Retry `json:"retry,omitempty"`
// Service Catalog service the monitor belongs to.
Service *string `json:"service"`
// Severity `critical`, `high`, `warning` or `info`, on rules and on monitors alike. `medium` is read as
// `warning` (it is always answered as `warning`).
Severity *Severity `json:"severity,omitempty"`
// StopAfter Stop notifying after this many notifications (1 to 100); a rule label like `renotify_s`.
StopAfter *int32 `json:"stop_after"`
// TimeoutMs 100 to 60000 (browser: 120000) and at most the interval (default 10000).
TimeoutMs *int32 `json:"timeout_ms,omitempty"`
}
MonitorSpec defines model for MonitorSpec.
type MonitorTcpConfig ¶ added in v0.3.4
type MonitorTcpConfig struct {
// Expect Substring the first bytes from the target must contain.
Expect *string `json:"expect"`
Host string `json:"host"`
// Port 1 to 65535.
Port int32 `json:"port"`
// Send Bytes sent after connecting.
Send *string `json:"send"`
}
MonitorTcpConfig `kind: tcp`.
type MonitorTlsConfig ¶ added in v0.3.4
type MonitorTlsConfig struct {
Host string `json:"host"`
// MinVersion `1.2` (default) or `1.3`.
MinVersion *string `json:"min_version"`
// Port Default 443.
Port *int32 `json:"port"`
// ServerName SNI and certificate name, default `host`.
ServerName *string `json:"server_name"`
// TlsVerify Verify the chain (default true).
TlsVerify *bool `json:"tls_verify"`
}
MonitorTlsConfig `kind: tls`.
type NewAgentConfig ¶
type NewAgentConfig struct {
// Config `{interval?, modules: {<name>: <module config>}}`.
Config interface{} `json:"config"`
Name string `json:"name"`
Selector *map[string]interface{} `json:"selector"`
}
NewAgentConfig defines model for NewAgentConfig.
type NewDashboardRequest ¶
type NewDashboardRequest struct {
Description *string `json:"description"`
// Kind `dashboard` (default) or `notebook`.
Kind *string `json:"kind"`
// Spec Dashboard spec v1. Stored verbatim too, so GET returns the same key order. Its JSON Schema
// is at `GET /v1/projects/{prj}/dashboards/spec-schema`.
Spec map[string]interface{} `json:"spec"`
// Title Also accepted as `name`, the display-name field most other create APIs use (B14).
Title string `json:"title"`
}
NewDashboardRequest defines model for NewDashboardRequest.
type NewHealthTokenRequest ¶
type NewHealthTokenRequest struct {
// EnvId `env_...` of this project. Unset: the token reads the whole project.
EnvId *string `json:"env_id"`
Name string `json:"name"`
Policy *HealthPolicy `json:"policy,omitempty"`
// Service A service of the environment (needs `env_id`).
Service *string `json:"service"`
}
NewHealthTokenRequest defines model for NewHealthTokenRequest.
type NewProjectRequest ¶
type NewProjectRequest struct {
// DataplaneId A `managed` data plane or one owned by the org; fixed for the project's lifetime.
DataplaneId *openapi_types.UUID `json:"dataplane_id"`
// DefaultAlerting Default `true`: creates a "Project owners (email)" escalation policy and receiver that page
// every owner and admin of the project by email, used by the default routing tree (no tree
// is saved and the policy does not count toward the plan's escalation paths). `false` starts
// the project with no receivers. Edit or delete them any time.
DefaultAlerting *bool `json:"default_alerting"`
Name string `json:"name"`
Slug string `json:"slug"`
}
NewProjectRequest defines model for NewProjectRequest.
type NewTemplateRequest ¶
type NewTemplateRequest struct {
Body string `json:"body"`
ChannelKind string `json:"channel_kind"`
// Name 1 to 100 characters, unique in the project.
Name string `json:"name"`
}
NewTemplateRequest defines model for NewTemplateRequest.
type OpenCanaryDto ¶ added in v0.3.4
type OpenCanaryDto struct {
// DeployEventId The deploy marker that opened it; null for a manual canary without one.
DeployEventId *string `json:"deploy_event_id"`
// UntilMs Unix milliseconds the burst ends.
UntilMs int64 `json:"until_ms"`
}
OpenCanaryDto A canary in progress: the monitor runs every 10 s until `until_ms`, results flagged `canary`.
type PatchProjectRequest ¶
type PatchProjectRequest struct {
// AllowLocalhost Let publishable keys list `http://localhost:*` origins (default false).
AllowLocalhost *bool `json:"allow_localhost"`
Name *string `json:"name"`
// RetentionDays Signal name to days (1 to 3650), e.g. `{"logs": 14}`.
RetentionDays *map[string]int32 `json:"retention_days"`
// ServiceSilentRules Keep a managed "<service> stopped reporting" rule per service (default true). `false` deletes
// those rules and stops upkeep from recreating them.
ServiceSilentRules *bool `json:"service_silent_rules"`
}
PatchProjectRequest defines model for PatchProjectRequest.
type PatchTemplateRequest ¶
type PatchTemplateRequest struct {
// Body Validated like on create. The channel kind cannot change.
Body *string `json:"body"`
Name *string `json:"name"`
}
PatchTemplateRequest defines model for PatchTemplateRequest.
type PatchV1ProjectsPrjJSONRequestBody ¶
type PatchV1ProjectsPrjJSONRequestBody = PatchProjectRequest
PatchV1ProjectsPrjJSONRequestBody defines body for PatchV1ProjectsPrj for application/json ContentType.
type PatchV1ProjectsPrjMonitorsMonitorApplicationMergePatchPlusJSONBody ¶ added in v0.3.2
type PatchV1ProjectsPrjMonitorsMonitorApplicationMergePatchPlusJSONBody = map[string]interface{}
PatchV1ProjectsPrjMonitorsMonitorApplicationMergePatchPlusJSONBody defines parameters for PatchV1ProjectsPrjMonitorsMonitor.
type PatchV1ProjectsPrjMonitorsMonitorApplicationMergePatchPlusJSONRequestBody ¶ added in v0.3.2
type PatchV1ProjectsPrjMonitorsMonitorApplicationMergePatchPlusJSONRequestBody = PatchV1ProjectsPrjMonitorsMonitorApplicationMergePatchPlusJSONBody
PatchV1ProjectsPrjMonitorsMonitorApplicationMergePatchPlusJSONRequestBody defines body for PatchV1ProjectsPrjMonitorsMonitor for application/merge-patch+json ContentType.
type PatchV1ProjectsPrjMonitorsMonitorParams ¶ added in v0.3.2
type PatchV1ProjectsPrjMonitorsMonitorParams struct {
// Validate `1` or `true`: dry run; answers 200 `{"valid": true}` or the 422 a real write would.
Validate *string `form:"validate,omitempty" json:"validate,omitempty"`
// IfMatch The monitor's `updated_at`
IfMatch string `json:"If-Match"`
}
PatchV1ProjectsPrjMonitorsMonitorParams defines parameters for PatchV1ProjectsPrjMonitorsMonitor.
type PatchV1ProjectsPrjMonitorsMonitorResponse ¶ added in v0.3.2
type PatchV1ProjectsPrjMonitorsMonitorResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MonitorDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON412 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePatchV1ProjectsPrjMonitorsMonitorResponse ¶ added in v0.3.2
func ParsePatchV1ProjectsPrjMonitorsMonitorResponse(rsp *http.Response) (*PatchV1ProjectsPrjMonitorsMonitorResponse, error)
ParsePatchV1ProjectsPrjMonitorsMonitorResponse parses an HTTP response from a PatchV1ProjectsPrjMonitorsMonitorWithResponse call
func (PatchV1ProjectsPrjMonitorsMonitorResponse) Status ¶ added in v0.3.2
func (r PatchV1ProjectsPrjMonitorsMonitorResponse) Status() string
Status returns HTTPResponse.Status
func (PatchV1ProjectsPrjMonitorsMonitorResponse) StatusCode ¶ added in v0.3.2
func (r PatchV1ProjectsPrjMonitorsMonitorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchV1ProjectsPrjResponse ¶
type PatchV1ProjectsPrjResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProjectDto
ApplicationproblemJSON401 *Problem
JSON403 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePatchV1ProjectsPrjResponse ¶
func ParsePatchV1ProjectsPrjResponse(rsp *http.Response) (*PatchV1ProjectsPrjResponse, error)
ParsePatchV1ProjectsPrjResponse parses an HTTP response from a PatchV1ProjectsPrjWithResponse call
func (PatchV1ProjectsPrjResponse) Status ¶
func (r PatchV1ProjectsPrjResponse) Status() string
Status returns HTTPResponse.Status
func (PatchV1ProjectsPrjResponse) StatusCode ¶
func (r PatchV1ProjectsPrjResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchV1ProjectsPrjTemplatesIdJSONRequestBody ¶
type PatchV1ProjectsPrjTemplatesIdJSONRequestBody = PatchTemplateRequest
PatchV1ProjectsPrjTemplatesIdJSONRequestBody defines body for PatchV1ProjectsPrjTemplatesId for application/json ContentType.
type PatchV1ProjectsPrjTemplatesIdResponse ¶
type PatchV1ProjectsPrjTemplatesIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TemplateDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON409 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
JSON503 *Problem
}
func ParsePatchV1ProjectsPrjTemplatesIdResponse ¶
func ParsePatchV1ProjectsPrjTemplatesIdResponse(rsp *http.Response) (*PatchV1ProjectsPrjTemplatesIdResponse, error)
ParsePatchV1ProjectsPrjTemplatesIdResponse parses an HTTP response from a PatchV1ProjectsPrjTemplatesIdWithResponse call
func (PatchV1ProjectsPrjTemplatesIdResponse) Status ¶
func (r PatchV1ProjectsPrjTemplatesIdResponse) Status() string
Status returns HTTPResponse.Status
func (PatchV1ProjectsPrjTemplatesIdResponse) StatusCode ¶
func (r PatchV1ProjectsPrjTemplatesIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PathSpec ¶
type PathSpec struct {
// AddSuspectAuthor Also page the author of the suspect change when they are a project member.
AddSuspectAuthor *bool `json:"add_suspect_author,omitempty"`
Conditions *Conditions `json:"conditions,omitempty"`
Defer *DeferSpec `json:"defer,omitempty"`
Levels []LevelSpec `json:"levels"`
MinAlerts *MinAlerts `json:"min_alerts,omitempty"`
Name string `json:"name"`
// Retrigger What a new notification does to an acknowledged page: `"inherit"` and `"never"` leave it
// acknowledged (no policy-wide default exists yet); `{"after_min": n}` pages again once n
// minutes have passed since the ack.
Retrigger *Retrigger `json:"retrigger,omitempty"`
TimeRestriction *TimeRestriction `json:"time_restriction,omitempty"`
WaitForInvestigation *WaitInvestigation `json:"wait_for_investigation,omitempty"`
}
PathSpec defines model for PathSpec.
type PolicyDto ¶
type PolicyDto struct {
CreatedAt string `json:"created_at"`
Id string `json:"id"`
Name string `json:"name"`
Owner *string `json:"owner"`
Spec PolicySpec `json:"spec"`
UpdatedAt string `json:"updated_at"`
Version int32 `json:"version"`
}
PolicyDto defines model for PolicyDto.
type PolicyPage ¶
PolicyPage defines model for PolicyPage.
type PolicyRequest ¶
type PolicyRequest struct {
Name string `json:"name"`
// Owner Told when a member is skipped or the policy is exhausted. Default: the caller.
Owner *string `json:"owner"`
Spec PolicySpec `json:"spec"`
}
PolicyRequest defines model for PolicyRequest.
type PolicySpec ¶
type PolicySpec struct {
// FallbackPolicy Policy to run once the repeats are used up.
FallbackPolicy *string `json:"fallback_policy"`
// Paths The first path whose conditions (and time restriction) match wins; the last one is the
// undeletable `default` path with no conditions.
Paths []PathSpec `json:"paths"`
// RenotifyUntilAckMin High and critical pages only: once the repeats and the fallback are used up, the last
// level fires again every this many minutes until the page is acknowledged or resolved (at
// most 48 times). 0 (the default) exhausts the page instead; at most 1440.
RenotifyUntilAckMin *int32 `json:"renotify_until_ack_min,omitempty"`
// Repeat Times the levels run again after the last one (0 to 9).
Repeat *int32 `json:"repeat,omitempty"`
}
PolicySpec defines model for PolicySpec.
type PostV1OrgsOrgProjectsJSONRequestBody ¶
type PostV1OrgsOrgProjectsJSONRequestBody = NewProjectRequest
PostV1OrgsOrgProjectsJSONRequestBody defines body for PostV1OrgsOrgProjects for application/json ContentType.
type PostV1OrgsOrgProjectsResponse ¶
type PostV1OrgsOrgProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ProjectDto
ApplicationproblemJSON401 *Problem
JSON403 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePostV1OrgsOrgProjectsResponse ¶
func ParsePostV1OrgsOrgProjectsResponse(rsp *http.Response) (*PostV1OrgsOrgProjectsResponse, error)
ParsePostV1OrgsOrgProjectsResponse parses an HTTP response from a PostV1OrgsOrgProjectsWithResponse call
func (PostV1OrgsOrgProjectsResponse) Status ¶
func (r PostV1OrgsOrgProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1OrgsOrgProjectsResponse) StatusCode ¶
func (r PostV1OrgsOrgProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjAgentConfigsCParams ¶
type PostV1ProjectsPrjAgentConfigsCParams struct {
// Version The earlier version whose content is restored.
Version int32 `form:"version" json:"version"`
}
PostV1ProjectsPrjAgentConfigsCParams defines parameters for PostV1ProjectsPrjAgentConfigsC.
type PostV1ProjectsPrjAgentConfigsCResponse ¶
type PostV1ProjectsPrjAgentConfigsCResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AgentConfigDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePostV1ProjectsPrjAgentConfigsCResponse ¶
func ParsePostV1ProjectsPrjAgentConfigsCResponse(rsp *http.Response) (*PostV1ProjectsPrjAgentConfigsCResponse, error)
ParsePostV1ProjectsPrjAgentConfigsCResponse parses an HTTP response from a PostV1ProjectsPrjAgentConfigsCWithResponse call
func (PostV1ProjectsPrjAgentConfigsCResponse) Status ¶
func (r PostV1ProjectsPrjAgentConfigsCResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjAgentConfigsCResponse) StatusCode ¶
func (r PostV1ProjectsPrjAgentConfigsCResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjAgentConfigsJSONRequestBody ¶
type PostV1ProjectsPrjAgentConfigsJSONRequestBody = NewAgentConfig
PostV1ProjectsPrjAgentConfigsJSONRequestBody defines body for PostV1ProjectsPrjAgentConfigs for application/json ContentType.
type PostV1ProjectsPrjAgentConfigsResponse ¶
type PostV1ProjectsPrjAgentConfigsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *AgentConfigDto
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePostV1ProjectsPrjAgentConfigsResponse ¶
func ParsePostV1ProjectsPrjAgentConfigsResponse(rsp *http.Response) (*PostV1ProjectsPrjAgentConfigsResponse, error)
ParsePostV1ProjectsPrjAgentConfigsResponse parses an HTTP response from a PostV1ProjectsPrjAgentConfigsWithResponse call
func (PostV1ProjectsPrjAgentConfigsResponse) Status ¶
func (r PostV1ProjectsPrjAgentConfigsResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjAgentConfigsResponse) StatusCode ¶
func (r PostV1ProjectsPrjAgentConfigsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjAlertRulesJSONRequestBody ¶
type PostV1ProjectsPrjAlertRulesJSONRequestBody = RuleSpec
PostV1ProjectsPrjAlertRulesJSONRequestBody defines body for PostV1ProjectsPrjAlertRules for application/json ContentType.
type PostV1ProjectsPrjAlertRulesResponse ¶
type PostV1ProjectsPrjAlertRulesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *RuleDto
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePostV1ProjectsPrjAlertRulesResponse ¶
func ParsePostV1ProjectsPrjAlertRulesResponse(rsp *http.Response) (*PostV1ProjectsPrjAlertRulesResponse, error)
ParsePostV1ProjectsPrjAlertRulesResponse parses an HTTP response from a PostV1ProjectsPrjAlertRulesWithResponse call
func (PostV1ProjectsPrjAlertRulesResponse) Status ¶
func (r PostV1ProjectsPrjAlertRulesResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjAlertRulesResponse) StatusCode ¶
func (r PostV1ProjectsPrjAlertRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjDashboardsJSONRequestBody ¶
type PostV1ProjectsPrjDashboardsJSONRequestBody = NewDashboardRequest
PostV1ProjectsPrjDashboardsJSONRequestBody defines body for PostV1ProjectsPrjDashboards for application/json ContentType.
type PostV1ProjectsPrjDashboardsResponse ¶
type PostV1ProjectsPrjDashboardsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *DashboardDto
ApplicationproblemJSON401 *Problem
JSON403 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePostV1ProjectsPrjDashboardsResponse ¶
func ParsePostV1ProjectsPrjDashboardsResponse(rsp *http.Response) (*PostV1ProjectsPrjDashboardsResponse, error)
ParsePostV1ProjectsPrjDashboardsResponse parses an HTTP response from a PostV1ProjectsPrjDashboardsWithResponse call
func (PostV1ProjectsPrjDashboardsResponse) Status ¶
func (r PostV1ProjectsPrjDashboardsResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjDashboardsResponse) StatusCode ¶
func (r PostV1ProjectsPrjDashboardsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjEscalationPoliciesJSONRequestBody ¶
type PostV1ProjectsPrjEscalationPoliciesJSONRequestBody = PolicyRequest
PostV1ProjectsPrjEscalationPoliciesJSONRequestBody defines body for PostV1ProjectsPrjEscalationPolicies for application/json ContentType.
type PostV1ProjectsPrjEscalationPoliciesResponse ¶
type PostV1ProjectsPrjEscalationPoliciesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *PolicyDto
ApplicationproblemJSON401 *Problem
JSON409 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePostV1ProjectsPrjEscalationPoliciesResponse ¶
func ParsePostV1ProjectsPrjEscalationPoliciesResponse(rsp *http.Response) (*PostV1ProjectsPrjEscalationPoliciesResponse, error)
ParsePostV1ProjectsPrjEscalationPoliciesResponse parses an HTTP response from a PostV1ProjectsPrjEscalationPoliciesWithResponse call
func (PostV1ProjectsPrjEscalationPoliciesResponse) Status ¶
func (r PostV1ProjectsPrjEscalationPoliciesResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjEscalationPoliciesResponse) StatusCode ¶
func (r PostV1ProjectsPrjEscalationPoliciesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjHealthTokensJSONRequestBody ¶
type PostV1ProjectsPrjHealthTokensJSONRequestBody = NewHealthTokenRequest
PostV1ProjectsPrjHealthTokensJSONRequestBody defines body for PostV1ProjectsPrjHealthTokens for application/json ContentType.
type PostV1ProjectsPrjHealthTokensResponse ¶
type PostV1ProjectsPrjHealthTokensResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *HealthTokenCreated
ApplicationproblemJSON401 *Problem
JSON403 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePostV1ProjectsPrjHealthTokensResponse ¶
func ParsePostV1ProjectsPrjHealthTokensResponse(rsp *http.Response) (*PostV1ProjectsPrjHealthTokensResponse, error)
ParsePostV1ProjectsPrjHealthTokensResponse parses an HTTP response from a PostV1ProjectsPrjHealthTokensWithResponse call
func (PostV1ProjectsPrjHealthTokensResponse) Status ¶
func (r PostV1ProjectsPrjHealthTokensResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjHealthTokensResponse) StatusCode ¶
func (r PostV1ProjectsPrjHealthTokensResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjIncidentTypesJSONRequestBody ¶
type PostV1ProjectsPrjIncidentTypesJSONRequestBody = TypeRequest
PostV1ProjectsPrjIncidentTypesJSONRequestBody defines body for PostV1ProjectsPrjIncidentTypes for application/json ContentType.
type PostV1ProjectsPrjIncidentTypesResponse ¶
type PostV1ProjectsPrjIncidentTypesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *TypeDto
ApplicationproblemJSON401 *Problem
JSON409 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePostV1ProjectsPrjIncidentTypesResponse ¶
func ParsePostV1ProjectsPrjIncidentTypesResponse(rsp *http.Response) (*PostV1ProjectsPrjIncidentTypesResponse, error)
ParsePostV1ProjectsPrjIncidentTypesResponse parses an HTTP response from a PostV1ProjectsPrjIncidentTypesWithResponse call
func (PostV1ProjectsPrjIncidentTypesResponse) Status ¶
func (r PostV1ProjectsPrjIncidentTypesResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjIncidentTypesResponse) StatusCode ¶
func (r PostV1ProjectsPrjIncidentTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjMaintenanceWindowsJSONRequestBody ¶
type PostV1ProjectsPrjMaintenanceWindowsJSONRequestBody = WindowRequest
PostV1ProjectsPrjMaintenanceWindowsJSONRequestBody defines body for PostV1ProjectsPrjMaintenanceWindows for application/json ContentType.
type PostV1ProjectsPrjMaintenanceWindowsResponse ¶
type PostV1ProjectsPrjMaintenanceWindowsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *WindowDto
ApplicationproblemJSON401 *Problem
JSON409 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePostV1ProjectsPrjMaintenanceWindowsResponse ¶
func ParsePostV1ProjectsPrjMaintenanceWindowsResponse(rsp *http.Response) (*PostV1ProjectsPrjMaintenanceWindowsResponse, error)
ParsePostV1ProjectsPrjMaintenanceWindowsResponse parses an HTTP response from a PostV1ProjectsPrjMaintenanceWindowsWithResponse call
func (PostV1ProjectsPrjMaintenanceWindowsResponse) Status ¶
func (r PostV1ProjectsPrjMaintenanceWindowsResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjMaintenanceWindowsResponse) StatusCode ¶
func (r PostV1ProjectsPrjMaintenanceWindowsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjMonitorsJSONRequestBody ¶
type PostV1ProjectsPrjMonitorsJSONRequestBody = MonitorSpec
PostV1ProjectsPrjMonitorsJSONRequestBody defines body for PostV1ProjectsPrjMonitors for application/json ContentType.
type PostV1ProjectsPrjMonitorsMonitorParams ¶ added in v0.3.4
type PostV1ProjectsPrjMonitorsMonitorParams struct {
// Wait `true`: wait up to 30 seconds for the run's first result and answer 200 with it (same
// shape as a `/results` row); on timeout answer 202 as without it.
Wait *bool `form:"wait,omitempty" json:"wait,omitempty"`
}
PostV1ProjectsPrjMonitorsMonitorParams defines parameters for PostV1ProjectsPrjMonitorsMonitor.
type PostV1ProjectsPrjMonitorsMonitorResponse ¶
type PostV1ProjectsPrjMonitorsMonitorResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CheckResultDto
JSON202 *RunRequested
ApplicationproblemJSON401 *Problem
JSON404 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePostV1ProjectsPrjMonitorsMonitorResponse ¶
func ParsePostV1ProjectsPrjMonitorsMonitorResponse(rsp *http.Response) (*PostV1ProjectsPrjMonitorsMonitorResponse, error)
ParsePostV1ProjectsPrjMonitorsMonitorResponse parses an HTTP response from a PostV1ProjectsPrjMonitorsMonitorWithResponse call
func (PostV1ProjectsPrjMonitorsMonitorResponse) Status ¶
func (r PostV1ProjectsPrjMonitorsMonitorResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjMonitorsMonitorResponse) StatusCode ¶
func (r PostV1ProjectsPrjMonitorsMonitorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjMonitorsParams ¶ added in v0.3.4
type PostV1ProjectsPrjMonitorsParams struct {
// Validate `1` or `true`: dry run; answers 200 `{"valid": true}` or the 422 a real write would.
Validate *string `form:"validate,omitempty" json:"validate,omitempty"`
}
PostV1ProjectsPrjMonitorsParams defines parameters for PostV1ProjectsPrjMonitors.
type PostV1ProjectsPrjMonitorsResponse ¶
type PostV1ProjectsPrjMonitorsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ValidateResult
JSON201 *MonitorDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePostV1ProjectsPrjMonitorsResponse ¶
func ParsePostV1ProjectsPrjMonitorsResponse(rsp *http.Response) (*PostV1ProjectsPrjMonitorsResponse, error)
ParsePostV1ProjectsPrjMonitorsResponse parses an HTTP response from a PostV1ProjectsPrjMonitorsWithResponse call
func (PostV1ProjectsPrjMonitorsResponse) Status ¶
func (r PostV1ProjectsPrjMonitorsResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjMonitorsResponse) StatusCode ¶
func (r PostV1ProjectsPrjMonitorsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjOncallSchedulesJSONRequestBody ¶
type PostV1ProjectsPrjOncallSchedulesJSONRequestBody = ScheduleSpec
PostV1ProjectsPrjOncallSchedulesJSONRequestBody defines body for PostV1ProjectsPrjOncallSchedules for application/json ContentType.
type PostV1ProjectsPrjOncallSchedulesResponse ¶
type PostV1ProjectsPrjOncallSchedulesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ScheduleDto
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePostV1ProjectsPrjOncallSchedulesResponse ¶
func ParsePostV1ProjectsPrjOncallSchedulesResponse(rsp *http.Response) (*PostV1ProjectsPrjOncallSchedulesResponse, error)
ParsePostV1ProjectsPrjOncallSchedulesResponse parses an HTTP response from a PostV1ProjectsPrjOncallSchedulesWithResponse call
func (PostV1ProjectsPrjOncallSchedulesResponse) Status ¶
func (r PostV1ProjectsPrjOncallSchedulesResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjOncallSchedulesResponse) StatusCode ¶
func (r PostV1ProjectsPrjOncallSchedulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjReceiversJSONRequestBody ¶
type PostV1ProjectsPrjReceiversJSONRequestBody = ReceiverRequest
PostV1ProjectsPrjReceiversJSONRequestBody defines body for PostV1ProjectsPrjReceivers for application/json ContentType.
type PostV1ProjectsPrjReceiversReceiverResponse ¶
type PostV1ProjectsPrjReceiversReceiverResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *TestSent
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON429 *Problem
}
func ParsePostV1ProjectsPrjReceiversReceiverResponse ¶
func ParsePostV1ProjectsPrjReceiversReceiverResponse(rsp *http.Response) (*PostV1ProjectsPrjReceiversReceiverResponse, error)
ParsePostV1ProjectsPrjReceiversReceiverResponse parses an HTTP response from a PostV1ProjectsPrjReceiversReceiverWithResponse call
func (PostV1ProjectsPrjReceiversReceiverResponse) Status ¶
func (r PostV1ProjectsPrjReceiversReceiverResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjReceiversReceiverResponse) StatusCode ¶
func (r PostV1ProjectsPrjReceiversReceiverResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjReceiversResponse ¶
type PostV1ProjectsPrjReceiversResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ReceiverDto
ApplicationproblemJSON401 *Problem
JSON409 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
JSON503 *Problem
}
func ParsePostV1ProjectsPrjReceiversResponse ¶
func ParsePostV1ProjectsPrjReceiversResponse(rsp *http.Response) (*PostV1ProjectsPrjReceiversResponse, error)
ParsePostV1ProjectsPrjReceiversResponse parses an HTTP response from a PostV1ProjectsPrjReceiversWithResponse call
func (PostV1ProjectsPrjReceiversResponse) Status ¶
func (r PostV1ProjectsPrjReceiversResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjReceiversResponse) StatusCode ¶
func (r PostV1ProjectsPrjReceiversResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjSilencesJSONRequestBody ¶
type PostV1ProjectsPrjSilencesJSONRequestBody = SilenceRequest
PostV1ProjectsPrjSilencesJSONRequestBody defines body for PostV1ProjectsPrjSilences for application/json ContentType.
type PostV1ProjectsPrjSilencesResponse ¶
type PostV1ProjectsPrjSilencesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *SilenceDto
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePostV1ProjectsPrjSilencesResponse ¶
func ParsePostV1ProjectsPrjSilencesResponse(rsp *http.Response) (*PostV1ProjectsPrjSilencesResponse, error)
ParsePostV1ProjectsPrjSilencesResponse parses an HTTP response from a PostV1ProjectsPrjSilencesWithResponse call
func (PostV1ProjectsPrjSilencesResponse) Status ¶
func (r PostV1ProjectsPrjSilencesResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjSilencesResponse) StatusCode ¶
func (r PostV1ProjectsPrjSilencesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjSlosJSONRequestBody ¶
type PostV1ProjectsPrjSlosJSONRequestBody = SloSpec
PostV1ProjectsPrjSlosJSONRequestBody defines body for PostV1ProjectsPrjSlos for application/json ContentType.
type PostV1ProjectsPrjSlosResponse ¶
type PostV1ProjectsPrjSlosResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *SloDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePostV1ProjectsPrjSlosResponse ¶
func ParsePostV1ProjectsPrjSlosResponse(rsp *http.Response) (*PostV1ProjectsPrjSlosResponse, error)
ParsePostV1ProjectsPrjSlosResponse parses an HTTP response from a PostV1ProjectsPrjSlosWithResponse call
func (PostV1ProjectsPrjSlosResponse) Status ¶
func (r PostV1ProjectsPrjSlosResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjSlosResponse) StatusCode ¶
func (r PostV1ProjectsPrjSlosResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjTemplatesJSONRequestBody ¶
type PostV1ProjectsPrjTemplatesJSONRequestBody = NewTemplateRequest
PostV1ProjectsPrjTemplatesJSONRequestBody defines body for PostV1ProjectsPrjTemplates for application/json ContentType.
type PostV1ProjectsPrjTemplatesResponse ¶
type PostV1ProjectsPrjTemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *TemplateDto
ApplicationproblemJSON401 *Problem
JSON409 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
JSON503 *Problem
}
func ParsePostV1ProjectsPrjTemplatesResponse ¶
func ParsePostV1ProjectsPrjTemplatesResponse(rsp *http.Response) (*PostV1ProjectsPrjTemplatesResponse, error)
ParsePostV1ProjectsPrjTemplatesResponse parses an HTTP response from a PostV1ProjectsPrjTemplatesWithResponse call
func (PostV1ProjectsPrjTemplatesResponse) Status ¶
func (r PostV1ProjectsPrjTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjTemplatesResponse) StatusCode ¶
func (r PostV1ProjectsPrjTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjWorkflowsJSONRequestBody ¶
type PostV1ProjectsPrjWorkflowsJSONRequestBody = WorkflowRequest
PostV1ProjectsPrjWorkflowsJSONRequestBody defines body for PostV1ProjectsPrjWorkflows for application/json ContentType.
type PostV1ProjectsPrjWorkflowsResponse ¶
type PostV1ProjectsPrjWorkflowsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *WorkflowDto
ApplicationproblemJSON401 *Problem
JSON403 *Problem
JSON409 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
JSON503 *Problem
}
func ParsePostV1ProjectsPrjWorkflowsResponse ¶
func ParsePostV1ProjectsPrjWorkflowsResponse(rsp *http.Response) (*PostV1ProjectsPrjWorkflowsResponse, error)
ParsePostV1ProjectsPrjWorkflowsResponse parses an HTTP response from a PostV1ProjectsPrjWorkflowsWithResponse call
func (PostV1ProjectsPrjWorkflowsResponse) Status ¶
func (r PostV1ProjectsPrjWorkflowsResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjWorkflowsResponse) StatusCode ¶
func (r PostV1ProjectsPrjWorkflowsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsPrjWorkflowsWJSONRequestBody ¶
type PostV1ProjectsPrjWorkflowsWJSONRequestBody = TestRequest
PostV1ProjectsPrjWorkflowsWJSONRequestBody defines body for PostV1ProjectsPrjWorkflowsW for application/json ContentType.
type PostV1ProjectsPrjWorkflowsWResponse ¶
type PostV1ProjectsPrjWorkflowsWResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *map[string]interface{}
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
JSON503 *Problem
}
func ParsePostV1ProjectsPrjWorkflowsWResponse ¶
func ParsePostV1ProjectsPrjWorkflowsWResponse(rsp *http.Response) (*PostV1ProjectsPrjWorkflowsWResponse, error)
ParsePostV1ProjectsPrjWorkflowsWResponse parses an HTTP response from a PostV1ProjectsPrjWorkflowsWWithResponse call
func (PostV1ProjectsPrjWorkflowsWResponse) Status ¶
func (r PostV1ProjectsPrjWorkflowsWResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsPrjWorkflowsWResponse) StatusCode ¶
func (r PostV1ProjectsPrjWorkflowsWResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Problem ¶
type Problem struct {
// Code The stable `Problem.code` values; the same set as the error reference (`/docs/errors`).
Code ProblemCode `json:"code"`
Detail *string `json:"detail"`
// Errors Present for input validation errors: the field(s) that failed.
Errors *[]FieldError `json:"errors"`
Status int32 `json:"status"`
Title string `json:"title"`
Type string `json:"type"`
}
Problem RFC 9457 problem document.
type ProblemCode ¶ added in v0.3.2
type ProblemCode string
ProblemCode The stable `Problem.code` values; the same set as the error reference (`/docs/errors`).
const ( ProblemCodeAiCapReached ProblemCode = "ai_cap_reached" ProblemCodeAiDisabled ProblemCode = "ai_disabled" ProblemCodeClientTooOld ProblemCode = "client_too_old" ProblemCodeConflict ProblemCode = "conflict" ProblemCodeDataShredded ProblemCode = "data_shredded" ProblemCodeDataplaneBadResponse ProblemCode = "dataplane_bad_response" ProblemCodeDataplaneError ProblemCode = "dataplane_error" ProblemCodeDataplaneUnreachable ProblemCode = "dataplane_unreachable" ProblemCodeForbidden ProblemCode = "forbidden" ProblemCodeInternal ProblemCode = "internal" ProblemCodeIpNotAllowed ProblemCode = "ip_not_allowed" ProblemCodeKeyRevoked ProblemCode = "key_revoked" ProblemCodeLegalHold ProblemCode = "legal_hold" ProblemCodeLimitExceeded ProblemCode = "limit_exceeded" ProblemCodeLimitReached ProblemCode = "limit_reached" ProblemCodeMethodNotAllowed ProblemCode = "method_not_allowed" ProblemCodeMfaRequired ProblemCode = "mfa_required" ProblemCodeNoModelKey ProblemCode = "no_model_key" ProblemCodeNotFound ProblemCode = "not_found" ProblemCodePayloadTooLarge ProblemCode = "payload_too_large" ProblemCodePreconditionFailed ProblemCode = "precondition_failed" ProblemCodePreconditionRequired ProblemCode = "precondition_required" ProblemCodePrivacyChangeRequiresAdmin ProblemCode = "privacy_change_requires_admin" ProblemCodeQueryCancelled ProblemCode = "query_cancelled" ProblemCodeQueryOverloaded ProblemCode = "query_overloaded" ProblemCodeQueryTimeout ProblemCode = "query_timeout" ProblemCodeQueryTooExpensive ProblemCode = "query_too_expensive" ProblemCodeQuotaExceeded ProblemCode = "quota_exceeded" ProblemCodeRateLimited ProblemCode = "rate_limited" ProblemCodeReadOnlyKey ProblemCode = "read_only_key" ProblemCodeSsoRequired ProblemCode = "sso_required" ProblemCodeTooManyInvestigations ProblemCode = "too_many_investigations" ProblemCodeUnprocessable ProblemCode = "unprocessable" ProblemCodeUnsupportedPromql ProblemCode = "unsupported_promql" ProblemCodeValidation ProblemCode = "validation" ProblemCodeVersionLimit ProblemCode = "version_limit" ProblemCodeWouldExceedCap ProblemCode = "would_exceed_cap" ProblemCodeWouldLockOutSelf ProblemCode = "would_lock_out_self" ProblemCodeWrongRegion ProblemCode = "wrong_region" )
Defines values for ProblemCode.
type ProjectDto ¶
type ProjectDto struct {
// AllowLocalhost Whether publishable keys may list `http://localhost:*` origins; present on GET and PATCH.
AllowLocalhost *bool `json:"allow_localhost"`
CreatedAt string `json:"created_at"`
// DataplaneId Data plane the project is pinned to (immutable once set at creation).
DataplaneId *string `json:"dataplane_id"`
Id string `json:"id"`
Name string `json:"name"`
OrgId string `json:"org_id"`
// RetentionDays Retention in days per signal; present on GET and PATCH.
RetentionDays *map[string]int32 `json:"retention_days"`
// ServiceSilentRules Whether upkeep keeps a managed "stopped reporting" rule per service (default true); present on GET and PATCH.
ServiceSilentRules *bool `json:"service_silent_rules"`
Slug string `json:"slug"`
}
ProjectDto defines model for ProjectDto.
type ProjectPage ¶
type ProjectPage struct {
Data []ProjectDto `json:"data"`
NextCursor *string `json:"next_cursor"`
}
ProjectPage defines model for ProjectPage.
type PutSecret ¶
type PutSecret struct {
// Value Write-only; 8 bytes to 16 KiB. Replaces any earlier value.
Value string `json:"value"`
}
PutSecret defines model for PutSecret.
type PutV1ProjectsPrjAgentConfigsCJSONRequestBody ¶
type PutV1ProjectsPrjAgentConfigsCJSONRequestBody = AgentConfigPatch
PutV1ProjectsPrjAgentConfigsCJSONRequestBody defines body for PutV1ProjectsPrjAgentConfigsC for application/json ContentType.
type PutV1ProjectsPrjAgentConfigsCResponse ¶
type PutV1ProjectsPrjAgentConfigsCResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AgentConfigDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePutV1ProjectsPrjAgentConfigsCResponse ¶
func ParsePutV1ProjectsPrjAgentConfigsCResponse(rsp *http.Response) (*PutV1ProjectsPrjAgentConfigsCResponse, error)
ParsePutV1ProjectsPrjAgentConfigsCResponse parses an HTTP response from a PutV1ProjectsPrjAgentConfigsCWithResponse call
func (PutV1ProjectsPrjAgentConfigsCResponse) Status ¶
func (r PutV1ProjectsPrjAgentConfigsCResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ProjectsPrjAgentConfigsCResponse) StatusCode ¶
func (r PutV1ProjectsPrjAgentConfigsCResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1ProjectsPrjAlertRulesRuleJSONRequestBody ¶
type PutV1ProjectsPrjAlertRulesRuleJSONRequestBody = RuleSpec
PutV1ProjectsPrjAlertRulesRuleJSONRequestBody defines body for PutV1ProjectsPrjAlertRulesRule for application/json ContentType.
type PutV1ProjectsPrjAlertRulesRuleParams ¶
type PutV1ProjectsPrjAlertRulesRuleParams struct {
// Force Write a rule labelled `managed-by` from a user session anyway. Its repo's next apply
// overwrites the edit.
Force *bool `form:"force,omitempty" json:"force,omitempty"`
}
PutV1ProjectsPrjAlertRulesRuleParams defines parameters for PutV1ProjectsPrjAlertRulesRule.
type PutV1ProjectsPrjAlertRulesRuleResponse ¶
type PutV1ProjectsPrjAlertRulesRuleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RuleDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePutV1ProjectsPrjAlertRulesRuleResponse ¶
func ParsePutV1ProjectsPrjAlertRulesRuleResponse(rsp *http.Response) (*PutV1ProjectsPrjAlertRulesRuleResponse, error)
ParsePutV1ProjectsPrjAlertRulesRuleResponse parses an HTTP response from a PutV1ProjectsPrjAlertRulesRuleWithResponse call
func (PutV1ProjectsPrjAlertRulesRuleResponse) Status ¶
func (r PutV1ProjectsPrjAlertRulesRuleResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ProjectsPrjAlertRulesRuleResponse) StatusCode ¶
func (r PutV1ProjectsPrjAlertRulesRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1ProjectsPrjCatalogServicesSJSONRequestBody ¶
type PutV1ProjectsPrjCatalogServicesSJSONRequestBody = CatalogRequest
PutV1ProjectsPrjCatalogServicesSJSONRequestBody defines body for PutV1ProjectsPrjCatalogServicesS for application/json ContentType.
type PutV1ProjectsPrjCatalogServicesSResponse ¶
type PutV1ProjectsPrjCatalogServicesSResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CatalogDto
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePutV1ProjectsPrjCatalogServicesSResponse ¶
func ParsePutV1ProjectsPrjCatalogServicesSResponse(rsp *http.Response) (*PutV1ProjectsPrjCatalogServicesSResponse, error)
ParsePutV1ProjectsPrjCatalogServicesSResponse parses an HTTP response from a PutV1ProjectsPrjCatalogServicesSWithResponse call
func (PutV1ProjectsPrjCatalogServicesSResponse) Status ¶
func (r PutV1ProjectsPrjCatalogServicesSResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ProjectsPrjCatalogServicesSResponse) StatusCode ¶
func (r PutV1ProjectsPrjCatalogServicesSResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1ProjectsPrjCheckSecretsNameJSONRequestBody ¶
type PutV1ProjectsPrjCheckSecretsNameJSONRequestBody = PutSecret
PutV1ProjectsPrjCheckSecretsNameJSONRequestBody defines body for PutV1ProjectsPrjCheckSecretsName for application/json ContentType.
type PutV1ProjectsPrjCheckSecretsNameResponse ¶
type PutV1ProjectsPrjCheckSecretsNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CheckSecretDto
ApplicationproblemJSON401 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
JSON503 *Problem
}
func ParsePutV1ProjectsPrjCheckSecretsNameResponse ¶
func ParsePutV1ProjectsPrjCheckSecretsNameResponse(rsp *http.Response) (*PutV1ProjectsPrjCheckSecretsNameResponse, error)
ParsePutV1ProjectsPrjCheckSecretsNameResponse parses an HTTP response from a PutV1ProjectsPrjCheckSecretsNameWithResponse call
func (PutV1ProjectsPrjCheckSecretsNameResponse) Status ¶
func (r PutV1ProjectsPrjCheckSecretsNameResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ProjectsPrjCheckSecretsNameResponse) StatusCode ¶
func (r PutV1ProjectsPrjCheckSecretsNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1ProjectsPrjDashboardsDashJSONRequestBody ¶
type PutV1ProjectsPrjDashboardsDashJSONRequestBody = UpdateDashboardRequest
PutV1ProjectsPrjDashboardsDashJSONRequestBody defines body for PutV1ProjectsPrjDashboardsDash for application/json ContentType.
type PutV1ProjectsPrjDashboardsDashResponse ¶
type PutV1ProjectsPrjDashboardsDashResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DashboardDto
ApplicationproblemJSON401 *Problem
JSON403 *Problem
JSON412 *Problem
JSON428 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePutV1ProjectsPrjDashboardsDashResponse ¶
func ParsePutV1ProjectsPrjDashboardsDashResponse(rsp *http.Response) (*PutV1ProjectsPrjDashboardsDashResponse, error)
ParsePutV1ProjectsPrjDashboardsDashResponse parses an HTTP response from a PutV1ProjectsPrjDashboardsDashWithResponse call
func (PutV1ProjectsPrjDashboardsDashResponse) Status ¶
func (r PutV1ProjectsPrjDashboardsDashResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ProjectsPrjDashboardsDashResponse) StatusCode ¶
func (r PutV1ProjectsPrjDashboardsDashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1ProjectsPrjEscalationPoliciesPolJSONRequestBody ¶
type PutV1ProjectsPrjEscalationPoliciesPolJSONRequestBody = PolicyRequest
PutV1ProjectsPrjEscalationPoliciesPolJSONRequestBody defines body for PutV1ProjectsPrjEscalationPoliciesPol for application/json ContentType.
type PutV1ProjectsPrjEscalationPoliciesPolResponse ¶
type PutV1ProjectsPrjEscalationPoliciesPolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PolicyDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON409 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePutV1ProjectsPrjEscalationPoliciesPolResponse ¶
func ParsePutV1ProjectsPrjEscalationPoliciesPolResponse(rsp *http.Response) (*PutV1ProjectsPrjEscalationPoliciesPolResponse, error)
ParsePutV1ProjectsPrjEscalationPoliciesPolResponse parses an HTTP response from a PutV1ProjectsPrjEscalationPoliciesPolWithResponse call
func (PutV1ProjectsPrjEscalationPoliciesPolResponse) Status ¶
func (r PutV1ProjectsPrjEscalationPoliciesPolResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ProjectsPrjEscalationPoliciesPolResponse) StatusCode ¶
func (r PutV1ProjectsPrjEscalationPoliciesPolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1ProjectsPrjIncidentTypesItyJSONRequestBody ¶
type PutV1ProjectsPrjIncidentTypesItyJSONRequestBody = TypeRequest
PutV1ProjectsPrjIncidentTypesItyJSONRequestBody defines body for PutV1ProjectsPrjIncidentTypesIty for application/json ContentType.
type PutV1ProjectsPrjIncidentTypesItyResponse ¶
type PutV1ProjectsPrjIncidentTypesItyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TypeDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON409 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePutV1ProjectsPrjIncidentTypesItyResponse ¶
func ParsePutV1ProjectsPrjIncidentTypesItyResponse(rsp *http.Response) (*PutV1ProjectsPrjIncidentTypesItyResponse, error)
ParsePutV1ProjectsPrjIncidentTypesItyResponse parses an HTTP response from a PutV1ProjectsPrjIncidentTypesItyWithResponse call
func (PutV1ProjectsPrjIncidentTypesItyResponse) Status ¶
func (r PutV1ProjectsPrjIncidentTypesItyResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ProjectsPrjIncidentTypesItyResponse) StatusCode ¶
func (r PutV1ProjectsPrjIncidentTypesItyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1ProjectsPrjMaintenanceWindowsWindowJSONRequestBody ¶
type PutV1ProjectsPrjMaintenanceWindowsWindowJSONRequestBody = WindowRequest
PutV1ProjectsPrjMaintenanceWindowsWindowJSONRequestBody defines body for PutV1ProjectsPrjMaintenanceWindowsWindow for application/json ContentType.
type PutV1ProjectsPrjMaintenanceWindowsWindowResponse ¶
type PutV1ProjectsPrjMaintenanceWindowsWindowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WindowDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON409 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePutV1ProjectsPrjMaintenanceWindowsWindowResponse ¶
func ParsePutV1ProjectsPrjMaintenanceWindowsWindowResponse(rsp *http.Response) (*PutV1ProjectsPrjMaintenanceWindowsWindowResponse, error)
ParsePutV1ProjectsPrjMaintenanceWindowsWindowResponse parses an HTTP response from a PutV1ProjectsPrjMaintenanceWindowsWindowWithResponse call
func (PutV1ProjectsPrjMaintenanceWindowsWindowResponse) Status ¶
func (r PutV1ProjectsPrjMaintenanceWindowsWindowResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ProjectsPrjMaintenanceWindowsWindowResponse) StatusCode ¶
func (r PutV1ProjectsPrjMaintenanceWindowsWindowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1ProjectsPrjMonitorsMonitorJSONRequestBody ¶
type PutV1ProjectsPrjMonitorsMonitorJSONRequestBody = MonitorSpec
PutV1ProjectsPrjMonitorsMonitorJSONRequestBody defines body for PutV1ProjectsPrjMonitorsMonitor for application/json ContentType.
type PutV1ProjectsPrjMonitorsMonitorParams ¶ added in v0.3.4
type PutV1ProjectsPrjMonitorsMonitorParams struct {
// Validate `1` or `true`: dry run; answers 200 `{"valid": true}` or the 422 a real write would.
Validate *string `form:"validate,omitempty" json:"validate,omitempty"`
}
PutV1ProjectsPrjMonitorsMonitorParams defines parameters for PutV1ProjectsPrjMonitorsMonitor.
type PutV1ProjectsPrjMonitorsMonitorResponse ¶
type PutV1ProjectsPrjMonitorsMonitorResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MonitorDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePutV1ProjectsPrjMonitorsMonitorResponse ¶
func ParsePutV1ProjectsPrjMonitorsMonitorResponse(rsp *http.Response) (*PutV1ProjectsPrjMonitorsMonitorResponse, error)
ParsePutV1ProjectsPrjMonitorsMonitorResponse parses an HTTP response from a PutV1ProjectsPrjMonitorsMonitorWithResponse call
func (PutV1ProjectsPrjMonitorsMonitorResponse) Status ¶
func (r PutV1ProjectsPrjMonitorsMonitorResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ProjectsPrjMonitorsMonitorResponse) StatusCode ¶
func (r PutV1ProjectsPrjMonitorsMonitorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1ProjectsPrjOncallSchedulesSchJSONRequestBody ¶
type PutV1ProjectsPrjOncallSchedulesSchJSONRequestBody = ScheduleSpec
PutV1ProjectsPrjOncallSchedulesSchJSONRequestBody defines body for PutV1ProjectsPrjOncallSchedulesSch for application/json ContentType.
type PutV1ProjectsPrjOncallSchedulesSchParams ¶
type PutV1ProjectsPrjOncallSchedulesSchParams struct {
// EffectiveAt RFC 3339, not in the past: when layers whose members or rotation changed take over.
// Default: each such layer's next handoff, so the running shift is never re-handed.
EffectiveAt *string `form:"effective_at,omitempty" json:"effective_at,omitempty"`
}
PutV1ProjectsPrjOncallSchedulesSchParams defines parameters for PutV1ProjectsPrjOncallSchedulesSch.
type PutV1ProjectsPrjOncallSchedulesSchResponse ¶
type PutV1ProjectsPrjOncallSchedulesSchResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScheduleDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePutV1ProjectsPrjOncallSchedulesSchResponse ¶
func ParsePutV1ProjectsPrjOncallSchedulesSchResponse(rsp *http.Response) (*PutV1ProjectsPrjOncallSchedulesSchResponse, error)
ParsePutV1ProjectsPrjOncallSchedulesSchResponse parses an HTTP response from a PutV1ProjectsPrjOncallSchedulesSchWithResponse call
func (PutV1ProjectsPrjOncallSchedulesSchResponse) Status ¶
func (r PutV1ProjectsPrjOncallSchedulesSchResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ProjectsPrjOncallSchedulesSchResponse) StatusCode ¶
func (r PutV1ProjectsPrjOncallSchedulesSchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1ProjectsPrjReceiversReceiverJSONRequestBody ¶
type PutV1ProjectsPrjReceiversReceiverJSONRequestBody = ReceiverRequest
PutV1ProjectsPrjReceiversReceiverJSONRequestBody defines body for PutV1ProjectsPrjReceiversReceiver for application/json ContentType.
type PutV1ProjectsPrjReceiversReceiverResponse ¶
type PutV1ProjectsPrjReceiversReceiverResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ReceiverDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
JSON503 *Problem
}
func ParsePutV1ProjectsPrjReceiversReceiverResponse ¶
func ParsePutV1ProjectsPrjReceiversReceiverResponse(rsp *http.Response) (*PutV1ProjectsPrjReceiversReceiverResponse, error)
ParsePutV1ProjectsPrjReceiversReceiverResponse parses an HTTP response from a PutV1ProjectsPrjReceiversReceiverWithResponse call
func (PutV1ProjectsPrjReceiversReceiverResponse) Status ¶
func (r PutV1ProjectsPrjReceiversReceiverResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ProjectsPrjReceiversReceiverResponse) StatusCode ¶
func (r PutV1ProjectsPrjReceiversReceiverResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1ProjectsPrjRoutingJSONRequestBody ¶
type PutV1ProjectsPrjRoutingJSONRequestBody = Route
PutV1ProjectsPrjRoutingJSONRequestBody defines body for PutV1ProjectsPrjRouting for application/json ContentType.
type PutV1ProjectsPrjRoutingParams ¶
type PutV1ProjectsPrjRoutingParams struct {
// Confirm Must be `true` to save a tree with no receiver and no child routes, which routes nothing.
Confirm *bool `form:"confirm,omitempty" json:"confirm,omitempty"`
// IfMatch The current version
IfMatch string `json:"If-Match"`
}
PutV1ProjectsPrjRoutingParams defines parameters for PutV1ProjectsPrjRouting.
type PutV1ProjectsPrjRoutingResponse ¶
type PutV1ProjectsPrjRoutingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RoutingDto
ApplicationproblemJSON401 *Problem
JSON409 *Problem
JSON422 *Problem
JSON428 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePutV1ProjectsPrjRoutingResponse ¶
func ParsePutV1ProjectsPrjRoutingResponse(rsp *http.Response) (*PutV1ProjectsPrjRoutingResponse, error)
ParsePutV1ProjectsPrjRoutingResponse parses an HTTP response from a PutV1ProjectsPrjRoutingWithResponse call
func (PutV1ProjectsPrjRoutingResponse) Status ¶
func (r PutV1ProjectsPrjRoutingResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ProjectsPrjRoutingResponse) StatusCode ¶
func (r PutV1ProjectsPrjRoutingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1ProjectsPrjRuleGroupsNameResponse ¶
type PutV1ProjectsPrjRuleGroupsNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePutV1ProjectsPrjRuleGroupsNameResponse ¶
func ParsePutV1ProjectsPrjRuleGroupsNameResponse(rsp *http.Response) (*PutV1ProjectsPrjRuleGroupsNameResponse, error)
ParsePutV1ProjectsPrjRuleGroupsNameResponse parses an HTTP response from a PutV1ProjectsPrjRuleGroupsNameWithResponse call
func (PutV1ProjectsPrjRuleGroupsNameResponse) Status ¶
func (r PutV1ProjectsPrjRuleGroupsNameResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ProjectsPrjRuleGroupsNameResponse) StatusCode ¶
func (r PutV1ProjectsPrjRuleGroupsNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1ProjectsPrjSilencesSilenceJSONRequestBody ¶
type PutV1ProjectsPrjSilencesSilenceJSONRequestBody = SilenceRequest
PutV1ProjectsPrjSilencesSilenceJSONRequestBody defines body for PutV1ProjectsPrjSilencesSilence for application/json ContentType.
type PutV1ProjectsPrjSilencesSilenceResponse ¶
type PutV1ProjectsPrjSilencesSilenceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SilenceDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePutV1ProjectsPrjSilencesSilenceResponse ¶
func ParsePutV1ProjectsPrjSilencesSilenceResponse(rsp *http.Response) (*PutV1ProjectsPrjSilencesSilenceResponse, error)
ParsePutV1ProjectsPrjSilencesSilenceResponse parses an HTTP response from a PutV1ProjectsPrjSilencesSilenceWithResponse call
func (PutV1ProjectsPrjSilencesSilenceResponse) Status ¶
func (r PutV1ProjectsPrjSilencesSilenceResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ProjectsPrjSilencesSilenceResponse) StatusCode ¶
func (r PutV1ProjectsPrjSilencesSilenceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1ProjectsPrjSlosSloJSONRequestBody ¶
type PutV1ProjectsPrjSlosSloJSONRequestBody = SloSpec
PutV1ProjectsPrjSlosSloJSONRequestBody defines body for PutV1ProjectsPrjSlosSlo for application/json ContentType.
type PutV1ProjectsPrjSlosSloResponse ¶
type PutV1ProjectsPrjSlosSloResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SloDto
ApplicationproblemJSON401 *Problem
JSON404 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePutV1ProjectsPrjSlosSloResponse ¶
func ParsePutV1ProjectsPrjSlosSloResponse(rsp *http.Response) (*PutV1ProjectsPrjSlosSloResponse, error)
ParsePutV1ProjectsPrjSlosSloResponse parses an HTTP response from a PutV1ProjectsPrjSlosSloWithResponse call
func (PutV1ProjectsPrjSlosSloResponse) Status ¶
func (r PutV1ProjectsPrjSlosSloResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ProjectsPrjSlosSloResponse) StatusCode ¶
func (r PutV1ProjectsPrjSlosSloResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1ProjectsPrjWorkflowsWJSONRequestBody ¶
type PutV1ProjectsPrjWorkflowsWJSONRequestBody = WorkflowRequest
PutV1ProjectsPrjWorkflowsWJSONRequestBody defines body for PutV1ProjectsPrjWorkflowsW for application/json ContentType.
type PutV1ProjectsPrjWorkflowsWResponse ¶
type PutV1ProjectsPrjWorkflowsWResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WorkflowDto
ApplicationproblemJSON401 *Problem
JSON403 *Problem
JSON404 *Problem
JSON409 *Problem
JSON422 *Problem
ApplicationproblemJSON429 *Problem
}
func ParsePutV1ProjectsPrjWorkflowsWResponse ¶
func ParsePutV1ProjectsPrjWorkflowsWResponse(rsp *http.Response) (*PutV1ProjectsPrjWorkflowsWResponse, error)
ParsePutV1ProjectsPrjWorkflowsWResponse parses an HTTP response from a PutV1ProjectsPrjWorkflowsWWithResponse call
func (PutV1ProjectsPrjWorkflowsWResponse) Status ¶
func (r PutV1ProjectsPrjWorkflowsWResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ProjectsPrjWorkflowsWResponse) StatusCode ¶
func (r PutV1ProjectsPrjWorkflowsWResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Quorum ¶
type Quorum struct {
// MinFail Locations that must fail for the round to fail. Default: 1 for one location, else the
// majority.
MinFail *int32 `json:"min_fail"`
}
Quorum defines model for Quorum.
type ReceiverDto ¶
type ReceiverDto struct {
Config map[string]interface{} `json:"config"`
// ConfigWarnings Read-only. One entry per credential-shaped key found in the public `config` (a receiver
// saved before this was refused); empty when clean. Move the value to `secrets`.
ConfigWarnings []string `json:"config_warnings"`
CreatedAt string `json:"created_at"`
CreatedBy string `json:"created_by"`
Enabled bool `json:"enabled"`
// GeneratedSecret The signing secret the API generated for a webhook that had none. Shown once, here only.
GeneratedSecret *string `json:"generated_secret"`
HasSecrets bool `json:"has_secrets"`
Id string `json:"id"`
Kind string `json:"kind"`
LastDelivery *LastDeliveryDto `json:"last_delivery,omitempty"`
Name string `json:"name"`
// NotDelivering Why this receiver delivers to no one, null when it does: `disabled`, or `unverified` (an
// `escalation_policy` receiver whose people have no login email or verified method).
NotDelivering *string `json:"not_delivering"`
Team *string `json:"team"`
}
ReceiverDto defines model for ReceiverDto.
type ReceiverKind ¶ added in v0.3.4
type ReceiverKind string
ReceiverKind Channel kind. What goes where, per kind (`secrets` are write-only; `config` is returned as given):
- `webhook`: `secrets.url` (http or https) and an optional signing `secret` (16 to 256 bytes; generated and shown once when omitted); `config` takes custom headers, auth and `body_template`. - `escalation_policy`: `config.policy_id` (`esc_...`); no secrets. Pages whoever is on call. - `slack_webhook`, `teams_webhook`, `discord`, `google_chat`, `rocketchat`, `dingding`, `wecom`, `squadcast`: `secrets.url` of the incoming webhook. - `mattermost`: `secrets.url`, optional `channel`. - `slack_app`, `teams_app`: the connected app (`config`); no webhook URL. - `telegram`: `secrets.bot_token`, `chat_id`. - `zulip`: `secrets.site`, `email`, `api_key`, `stream`. - `webex`: `secrets.bot_token`, `room_id`. - `matrix`: `secrets.homeserver`, `access_token`, `room_id`. - `email`: your own SMTP in `secrets` (`host`, `from`, `to`; optional `port`, `username`, `password`) or a `provider`. - `sms`, `voice`: `secrets.providers` (one or two Twilio or Vonage accounts) and `to`. - `pagerduty`: `secrets.routing_key`. `opsgenie`: `secrets.api_key`. `splunk_oncall`: `secrets.api_key`, `routing_key`. - `zenduty`, `ilert`: `secrets.integration_key`. `incidentio`: `secrets.url`, `token`. - `ntfy`: `secrets.topic`. `gotify`: `secrets.server`, `app_token`. `apprise`: `secrets.server`, `key`. - `pushover`: `secrets.app_token`, `user_key`. `signal`: `secrets.server`, `number`, `recipient`. - `whatsapp`: `secrets.phone_number_id`, `access_token`, `to`. - `wechat`: `secrets.corp_id`, `secret`, `agent_id`. `line`: `secrets.channel_token`, `to`. `threema`: `secrets.gateway_id`, `secret`, `recipient_id`. - `sensugo`: `secrets.url`, `api_key`. `alertmanager`: `secrets.url`. `posthog`: `secrets.url`, `api_key`. - `kafka_rest`: `secrets.url`, `topic`. `sns`: AWS `access_key`, `secret_key`, `region` and a target. `s3`: `bucket`, `region`, `access_key`, `secret_key`. `mqtt`: `broker_url`, `topic`. - `status_page`, `site_banner`: `secrets.provider` and its fields (see the channel catalog). - `jira`: ticket settings in `config`, token in `secrets`. `gatus_push`: `config.base_url` (https) and `endpoint_key`, `secrets.token`.
A `credentials_ref` can supply `secrets` from an external store instead.
const ( ReceiverKindAlertmanager ReceiverKind = "alertmanager" ReceiverKindApprise ReceiverKind = "apprise" ReceiverKindDingding ReceiverKind = "dingding" ReceiverKindDiscord ReceiverKind = "discord" ReceiverKindEmail ReceiverKind = "email" ReceiverKindEscalationPolicy ReceiverKind = "escalation_policy" ReceiverKindGatusPush ReceiverKind = "gatus_push" ReceiverKindGoogleChat ReceiverKind = "google_chat" ReceiverKindGotify ReceiverKind = "gotify" ReceiverKindIlert ReceiverKind = "ilert" ReceiverKindIncidentio ReceiverKind = "incidentio" ReceiverKindJira ReceiverKind = "jira" ReceiverKindKafkaRest ReceiverKind = "kafka_rest" ReceiverKindLine ReceiverKind = "line" ReceiverKindMatrix ReceiverKind = "matrix" ReceiverKindMattermost ReceiverKind = "mattermost" ReceiverKindMqtt ReceiverKind = "mqtt" ReceiverKindNtfy ReceiverKind = "ntfy" ReceiverKindOpsgenie ReceiverKind = "opsgenie" ReceiverKindPagerduty ReceiverKind = "pagerduty" ReceiverKindPosthog ReceiverKind = "posthog" ReceiverKindPushover ReceiverKind = "pushover" ReceiverKindRocketchat ReceiverKind = "rocketchat" ReceiverKindS3 ReceiverKind = "s3" ReceiverKindSensugo ReceiverKind = "sensugo" ReceiverKindSignal ReceiverKind = "signal" ReceiverKindSiteBanner ReceiverKind = "site_banner" ReceiverKindSlackApp ReceiverKind = "slack_app" ReceiverKindSlackWebhook ReceiverKind = "slack_webhook" ReceiverKindSms ReceiverKind = "sms" ReceiverKindSns ReceiverKind = "sns" ReceiverKindSplunkOncall ReceiverKind = "splunk_oncall" ReceiverKindSquadcast ReceiverKind = "squadcast" ReceiverKindStatusPage ReceiverKind = "status_page" ReceiverKindTeamsApp ReceiverKind = "teams_app" ReceiverKindTeamsWebhook ReceiverKind = "teams_webhook" ReceiverKindTelegram ReceiverKind = "telegram" ReceiverKindThreema ReceiverKind = "threema" ReceiverKindVoice ReceiverKind = "voice" ReceiverKindWebex ReceiverKind = "webex" ReceiverKindWebhook ReceiverKind = "webhook" ReceiverKindWechat ReceiverKind = "wechat" ReceiverKindWecom ReceiverKind = "wecom" ReceiverKindWhatsapp ReceiverKind = "whatsapp" ReceiverKindZenduty ReceiverKind = "zenduty" ReceiverKindZulip ReceiverKind = "zulip" )
Defines values for ReceiverKind.
type ReceiverPage ¶
type ReceiverPage struct {
Data []ReceiverDto `json:"data"`
NextCursor *string `json:"next_cursor"`
}
ReceiverPage defines model for ReceiverPage.
type ReceiverRequest ¶
type ReceiverRequest struct {
// Config Public settings, returned as given.
Config *map[string]interface{} `json:"config"`
// CredentialsRef `wt+secret://<store>/<path>#<key>`: the notifier reads the secrets (a JSON
// object like `secrets`, or a plain string used as `secret`) from the external store at
// delivery, in place of `secrets`. Stored in `config`; not itself secret.
CredentialsRef *string `json:"credentials_ref"`
Enabled *bool `json:"enabled"`
// Kind Channel kind. What goes where, per kind (`secrets` are write-only; `config` is returned as given):
//
// - `webhook`: `secrets.url` (http or https) and an optional signing `secret` (16 to 256 bytes; generated and shown once when omitted); `config` takes custom headers, auth and `body_template`.
// - `escalation_policy`: `config.policy_id` (`esc_...`); no secrets. Pages whoever is on call.
// - `slack_webhook`, `teams_webhook`, `discord`, `google_chat`, `rocketchat`, `dingding`, `wecom`, `squadcast`: `secrets.url` of the incoming webhook.
// - `mattermost`: `secrets.url`, optional `channel`.
// - `slack_app`, `teams_app`: the connected app (`config`); no webhook URL.
// - `telegram`: `secrets.bot_token`, `chat_id`.
// - `zulip`: `secrets.site`, `email`, `api_key`, `stream`.
// - `webex`: `secrets.bot_token`, `room_id`.
// - `matrix`: `secrets.homeserver`, `access_token`, `room_id`.
// - `email`: your own SMTP in `secrets` (`host`, `from`, `to`; optional `port`, `username`, `password`) or a `provider`.
// - `sms`, `voice`: `secrets.providers` (one or two Twilio or Vonage accounts) and `to`.
// - `pagerduty`: `secrets.routing_key`. `opsgenie`: `secrets.api_key`. `splunk_oncall`: `secrets.api_key`, `routing_key`.
// - `zenduty`, `ilert`: `secrets.integration_key`. `incidentio`: `secrets.url`, `token`.
// - `ntfy`: `secrets.topic`. `gotify`: `secrets.server`, `app_token`. `apprise`: `secrets.server`, `key`.
// - `pushover`: `secrets.app_token`, `user_key`. `signal`: `secrets.server`, `number`, `recipient`.
// - `whatsapp`: `secrets.phone_number_id`, `access_token`, `to`.
// - `wechat`: `secrets.corp_id`, `secret`, `agent_id`. `line`: `secrets.channel_token`, `to`. `threema`: `secrets.gateway_id`, `secret`, `recipient_id`.
// - `sensugo`: `secrets.url`, `api_key`. `alertmanager`: `secrets.url`. `posthog`: `secrets.url`, `api_key`.
// - `kafka_rest`: `secrets.url`, `topic`. `sns`: AWS `access_key`, `secret_key`, `region` and a target. `s3`: `bucket`, `region`, `access_key`, `secret_key`. `mqtt`: `broker_url`, `topic`.
// - `status_page`, `site_banner`: `secrets.provider` and its fields (see the channel catalog).
// - `jira`: ticket settings in `config`, token in `secrets`. `gatus_push`: `config.base_url` (https) and `endpoint_key`, `secrets.token`.
//
// A `credentials_ref` can supply `secrets` from an external store instead.
Kind ReceiverKind `json:"kind"`
Name string `json:"name"`
// Secrets Write-only settings (tokens, URLs with keys). On update, omit to keep the stored ones.
Secrets *map[string]interface{} `json:"secrets"`
// Team Make this the default receiver of this team (a catalog team slug, or an org team id or
// name). The team's previous default receiver stops being its default.
Team *string `json:"team"`
}
ReceiverRequest defines model for ReceiverRequest.
type RecoveryExpr ¶
type RecoveryExpr struct {
Expr string `json:"expr"`
Op Op `json:"op"`
Value float64 `json:"value"`
}
RecoveryExpr A second `PromQL` expression that decides when a firing group may resolve (Zabbix-style recovery expression, e.g. "error rate low AND queue drained"). A firing group resolves only while the primary condition is clear AND this expression, evaluated over the same window, has `value op` true for the group with the same labels; a missing or failed result keeps it firing.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type Restriction ¶
type Restriction struct {
// Days `Mon` … `Sun`.
Days []string `json:"days"`
From string `json:"from"`
To string `json:"to"`
}
Restriction Local-time window on the given weekdays; `to <= from` wraps past midnight.
type Retrigger ¶
type Retrigger struct {
// contains filtered or unexported fields
}
Retrigger What a new notification does to an acknowledged page: `"inherit"` and `"never"` leave it acknowledged (no policy-wide default exists yet); `{"after_min": n}` pages again once n minutes have passed since the ack.
func (Retrigger) AsRetrigger0 ¶
func (t Retrigger) AsRetrigger0() (Retrigger0, error)
AsRetrigger0 returns the union data inside the Retrigger as a Retrigger0
func (Retrigger) AsRetrigger1 ¶
func (t Retrigger) AsRetrigger1() (Retrigger1, error)
AsRetrigger1 returns the union data inside the Retrigger as a Retrigger1
func (*Retrigger) FromRetrigger0 ¶
func (t *Retrigger) FromRetrigger0(v Retrigger0) error
FromRetrigger0 overwrites any union data inside the Retrigger as the provided Retrigger0
func (*Retrigger) FromRetrigger1 ¶
func (t *Retrigger) FromRetrigger1(v Retrigger1) error
FromRetrigger1 overwrites any union data inside the Retrigger as the provided Retrigger1
func (Retrigger) MarshalJSON ¶
func (*Retrigger) MergeRetrigger0 ¶
func (t *Retrigger) MergeRetrigger0(v Retrigger0) error
MergeRetrigger0 performs a merge with any union data inside the Retrigger, using the provided Retrigger0
func (*Retrigger) MergeRetrigger1 ¶
func (t *Retrigger) MergeRetrigger1(v Retrigger1) error
MergeRetrigger1 performs a merge with any union data inside the Retrigger, using the provided Retrigger1
func (*Retrigger) UnmarshalJSON ¶
type Retrigger1 ¶
type Retrigger1 struct {
AfterMin int32 `json:"after_min"`
}
Retrigger1 defines model for .
type Retry ¶
type Retry struct {
// DelayMs Base delay, 100 to 60000 (default 1000).
DelayMs *int32 `json:"delay_ms,omitempty"`
// Max 0 to 3 (default 0).
Max *int32 `json:"max,omitempty"`
Mode *RetryMode `json:"mode,omitempty"`
// Recheck After a failure at a location, run the check once from another data centre of the same
// region (`eu-fra` and `eu-ams`) and count the location as down only if that fails too.
Recheck *bool `json:"recheck,omitempty"`
}
Retry Retries run at the same location, at most 3.
type Rotation ¶
type Rotation struct {
// contains filtered or unexported fields
}
Rotation defines model for Rotation.
func (Rotation) AsRotation0 ¶
AsRotation0 returns the union data inside the Rotation as a Rotation0
func (Rotation) AsRotation1 ¶
AsRotation1 returns the union data inside the Rotation as a Rotation1
func (Rotation) AsRotation2 ¶
AsRotation2 returns the union data inside the Rotation as a Rotation2
func (Rotation) AsRotation3 ¶
AsRotation3 returns the union data inside the Rotation as a Rotation3
func (Rotation) AsRotation4 ¶
AsRotation4 returns the union data inside the Rotation as a Rotation4
func (*Rotation) FromRotation0 ¶
FromRotation0 overwrites any union data inside the Rotation as the provided Rotation0
func (*Rotation) FromRotation1 ¶
FromRotation1 overwrites any union data inside the Rotation as the provided Rotation1
func (*Rotation) FromRotation2 ¶
FromRotation2 overwrites any union data inside the Rotation as the provided Rotation2
func (*Rotation) FromRotation3 ¶
FromRotation3 overwrites any union data inside the Rotation as the provided Rotation3
func (*Rotation) FromRotation4 ¶
FromRotation4 overwrites any union data inside the Rotation as the provided Rotation4
func (Rotation) MarshalJSON ¶
func (*Rotation) MergeRotation0 ¶
MergeRotation0 performs a merge with any union data inside the Rotation, using the provided Rotation0
func (*Rotation) MergeRotation1 ¶
MergeRotation1 performs a merge with any union data inside the Rotation, using the provided Rotation1
func (*Rotation) MergeRotation2 ¶
MergeRotation2 performs a merge with any union data inside the Rotation, using the provided Rotation2
func (*Rotation) MergeRotation3 ¶
MergeRotation3 performs a merge with any union data inside the Rotation, using the provided Rotation3
func (*Rotation) MergeRotation4 ¶
MergeRotation4 performs a merge with any union data inside the Rotation, using the provided Rotation4
func (*Rotation) UnmarshalJSON ¶
type Rotation0 ¶
type Rotation0 string
Rotation0 defines model for Rotation.0.
const (
Rotation0Daily Rotation0 = "daily"
)
Defines values for Rotation0.
type Rotation1 ¶
type Rotation1 string
Rotation1 defines model for Rotation.1.
const (
Rotation1Weekly Rotation1 = "weekly"
)
Defines values for Rotation1.
type Rotation2 ¶
type Rotation2 string
Rotation2 defines model for Rotation.2.
const (
Rotation2Biweekly Rotation2 = "biweekly"
)
Defines values for Rotation2.
type Rotation3 ¶
type Rotation3 string
Rotation3 defines model for Rotation.3.
const (
Rotation3Monthly Rotation3 = "monthly"
)
Defines values for Rotation3.
type Rotation4 ¶
type Rotation4 struct {
// Custom Fixed-length shifts, stepped in local wall-clock time.
Custom struct {
ShiftS int32 `json:"shift_s"`
} `json:"custom"`
}
Rotation4 Fixed-length shifts, stepped in local wall-clock time.
type Route ¶
type Route struct {
ActiveIntervals *[]string `json:"active_intervals,omitempty"`
// Continue Keep matching later siblings after this route matched.
Continue *bool `json:"continue,omitempty"`
// DeclareIncident Incident declaration spec (P3-O3), stored as given.
DeclareIncident *map[string]interface{} `json:"declare_incident"`
// Extract Dynamic routing: labels derived from other labels by regex (see [`Extract`]).
Extract *[]Extract `json:"extract,omitempty"`
GroupBy *GroupBy `json:"group_by,omitempty"`
GroupContent *ContentGrouping `json:"group_content,omitempty"`
// GroupIntervalS Seconds between notifications about changes to a group (default 300).
GroupIntervalS *int32 `json:"group_interval_s"`
// GroupWaitS Seconds before a new group's first notification (default 30).
GroupWaitS *int32 `json:"group_wait_s"`
// Handle Dynamic handle such as `@slack-{{service}}`, rendered from the group labels and sent
// with the notification for the notifier to resolve; its labels must be in `group_by`.
Handle *string `json:"handle"`
// Id `rte_` + 26 lowercase Crockford base32 characters, unique within the tree. Omit it on a new
// route and the server mints one; send the returned id back to keep it stable.
Id *string `json:"id,omitempty"`
Matchers *[]Matcher `json:"matchers,omitempty"`
// MuteIntervals Time interval names (P3-N2).
MuteIntervals *[]string `json:"mute_intervals,omitempty"`
// PauseS Auto-pause seconds (P3-N2).
PauseS *int32 `json:"pause_s"`
// Receiver A receiver id (`rcv_…`), not its name.
Receiver *string `json:"receiver"`
// RepeatIntervalS Seconds before an unchanged firing group is notified again (default 14400).
RepeatIntervalS *int32 `json:"repeat_interval_s"`
Routes *[]Route `json:"routes,omitempty"`
// Schedule Name of a routing schedule whose active leg replaces `receiver`.
Schedule *string `json:"schedule"`
}
Route defines model for Route.
type RoutingDto ¶
type RoutingDto struct {
CreatedAt *string `json:"created_at"`
CreatedBy *string `json:"created_by"`
// NotDelivering Receivers of the current tree that deliver to no one (W63), on `GET /routing` only.
// Omitted when empty.
NotDelivering *[]RoutingNotDelivering `json:"not_delivering,omitempty"`
Tree Route `json:"tree"`
// Version 0 while the project uses the default tree (one route per team default receiver).
Version int32 `json:"version"`
}
RoutingDto defines model for RoutingDto.
type RoutingNotDelivering ¶
type RoutingNotDelivering struct {
// Reason `disabled`, or `unverified` (it pages only people with no login email or verified method).
Reason string `json:"reason"`
ReceiverId string `json:"receiver_id"`
}
RoutingNotDelivering defines model for RoutingNotDelivering.
type RuleCi ¶
type RuleCi struct {
Branch *string `json:"branch"`
// Job Watch this job's runs instead of whole pipeline runs.
Job *string `json:"job"`
// Measure What a `ci_pipeline` rule measures over finished runs (ALT-002, CI monitors).
Measure CiRuleMeasure `json:"measure"`
Pipeline *string `json:"pipeline"`
Repo *string `json:"repo"`
}
RuleCi A `ci_pipeline` rule over `ci_runs_v1`, one group per repo and pipeline.
type RuleCost ¶
type RuleCost struct {
// BudgetUsd `budget`: the month's budget in USD.
BudgetUsd *float64 `json:"budget_usd"`
// CompareDays `change`: 1 to 28 days back (default 7).
CompareDays *int32 `json:"compare_days"`
// Mode What a `cost` rule measures (ALT-001, the cloud cost monitor kinds).
Mode CostRuleMode `json:"mode"`
// Service Only this service.
Service *string `json:"service"`
// Total Sum every service into one group (label `service` = `total`).
Total *bool `json:"total,omitempty"`
}
RuleCost A `cost` rule over `cost_lines_v1`, one group per service (or one `total` group).
type RuleDataJob ¶ added in v0.3.0
type RuleDataJob struct {
// Job Only this job (DAG/pipeline name); all jobs when unset.
Job *string `json:"job"`
// Platform Only this platform (`airflow`, `spark`, `dbt`, `dagster`).
Platform *string `json:"platform"`
}
RuleDataJob A `data_job_failed` or `data_job_duration` rule over `data_job_runs_v1` (D5): the data jobs seen via `OpenLineage`. `data_job_failed` groups by job and run so the alert names the DAG and the run that failed; `data_job_duration` groups by job (p95 run duration in seconds).
type RuleDto ¶
type RuleDto struct {
Alerting *AlertingReadiness `json:"alerting,omitempty"`
Annotations *Annotations `json:"annotations,omitempty"`
Condition Condition `json:"condition"`
CreatedAt string `json:"created_at"`
// DelayS Seconds the window lags the tick, for late data; 0 to 86400 (default 60).
DelayS *int32 `json:"delay_s,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// EnvId An environment id (`env_…`), not its name; omitted = every environment. Sent and stored
// as `env_id` (B14, the name monitors and SLOs use); the older `env` is still read.
EnvId *string `json:"env_id"`
// EveryS Seconds between evaluations, 10 to 86400 (default 60).
EveryS *int32 `json:"every_s,omitempty"`
// Expression Math over the queries, the value the condition tests: `$A / $B * 100`,
// `$A > 5 && $B < 3` (comparisons give 1 or 0), `abs($A - $B)`, `$A / sum($A)`
// (`sum avg min max count` of one query reduce over all its groups). Groups are joined
// by labels; a query with a single group without labels applies to every group.
Expression *string `json:"expression"`
// Fill What a group does with a gap in its series.
Fill *Fill `json:"fill,omitempty"`
// ForS Seconds a breach must last before firing (default 0: fire at once).
ForS *int32 `json:"for_s,omitempty"`
// GroupBy At most 10 keys (log rules only; `PromQL` groups by its result series).
GroupBy *[]string `json:"group_by,omitempty"`
// GroupsTruncated The last evaluation had more than 1000 groups and was truncated.
GroupsTruncated bool `json:"groups_truncated"`
// Holidays UTC days (`YYYY-MM-DD`, at most 400) left out of an anomaly rule's baseline, such as
// public holidays, so a quiet holiday does not skew the seasonal norm (ALT-009).
Holidays *[]string `json:"holidays,omitempty"`
Id string `json:"id"`
// Investigate Start an AI investigation when an alert fires; `None` follows the project's
// `auto_investigate_on_alert` setting.
Investigate *bool `json:"investigate"`
// Jitter Spread evaluations: this rule runs at a stable offset within `every_s`, derived from
// its id, instead of on the interval boundary.
Jitter *bool `json:"jitter,omitempty"`
Kind RuleKind `json:"kind"`
Labels *map[string]string `json:"labels,omitempty"`
// Limit Most alert groups one evaluation may produce (Prometheus group `limit`); above it the
// evaluation fails as an error. 0: only the global cap.
Limit *int32 `json:"limit,omitempty"`
// MissingSeriesEvals Consecutive evaluations a labelled series may be missing before its group is retired
// and its alert resolves (default 10, 1 to 1000).
MissingSeriesEvals *int32 `json:"missing_series_evals"`
// MutedUntil Unix seconds; until then transitions are recorded but not notified.
MutedUntil *int64 `json:"muted_until"`
// Name Display name, 1 to 256 bytes.
Name string `json:"name"`
NextEvalAt string `json:"next_eval_at"`
// NoData What an evaluation without data means.
NoData *NoData `json:"no_data,omitempty"`
// NoDataAfterS Seconds a group may be missing before `no_data` applies (default 0: at once).
NoDataAfterS *int32 `json:"no_data_after_s,omitempty"`
// Notify Routing picked on the rule ("simplified routing"): its alerts skip the label-based policy
// tree and go straight to a receiver, or start at a named route of the tree.
Notify *RuleNotify `json:"notify,omitempty"`
// OnError What an evaluation error means for a group.
OnError *OnError `json:"on_error,omitempty"`
ProjectId string `json:"project_id"`
// Queries `query` is `A`. Only queries that read one window may be added.
Queries *map[string]RuleQuery `json:"queries,omitempty"`
Query RuleQuery `json:"query"`
// RecoverAfter Consecutive non-breaching evaluations before a firing group resolves (default 1).
RecoverAfter *int32 `json:"recover_after,omitempty"`
// RecoverForS Seconds the recovery condition must hold before a firing group resolves (default 0).
RecoverForS *int32 `json:"recover_for_s,omitempty"`
// RecoveryExpr A second `PromQL` expression that decides when a firing group may resolve (Zabbix-style
// recovery expression, e.g. "error rate low AND queue drained"). A firing group resolves only
// while the primary condition is clear AND this expression, evaluated over the same window, has
// `value op` true for the group with the same labels; a missing or failed result keeps it firing.
RecoveryExpr *RecoveryExpr `json:"recovery_expr,omitempty"`
// Schedule Calendar schedule (daily, weekly or monthly at a time) instead of every `every_s`.
Schedule *Schedule `json:"schedule,omitempty"`
// Severity `critical`, `high`, `warning` or `info`, on rules and on monitors alike. `medium` is read as
// `warning` (it is always answered as `warning`).
Severity *Severity `json:"severity,omitempty"`
// SkipPendingOnError Fire `error`, `no_data` and the `alerting` policies at once instead of waiting `for_s`.
SkipPendingOnError *bool `json:"skip_pending_on_error,omitempty"`
// SourceAuthor Set by the server on save; access to every source is re-checked as this user at evaluation.
SourceAuthor *string `json:"source_author"`
// SourceProjects Extra queries by ref id (`B` to `E`), each read over the same window; the main
// Federated alert rule (A25): also read these same-org projects. `promql` rules only.
SourceProjects *[]string `json:"source_projects,omitempty"`
// SpecVersion Document version; stored rules without it are version 1 and are upgraded on save.
SpecVersion *int32 `json:"spec_version,omitempty"`
UpdatedAt string `json:"updated_at"`
// Warnings Non-blocking problems found on create or update, e.g. a critical rule whose alerts reach
// no deliverable receiver (W31). Omitted when empty.
Warnings *[]string `json:"warnings,omitempty"`
// WindowS Seconds of data each evaluation covers (default 300).
WindowS *int32 `json:"window_s,omitempty"`
}
RuleDto defines model for RuleDto.
type RuleExt ¶
type RuleExt struct {
// Expression Math over the queries, the value the condition tests: `$A / $B * 100`,
// `$A > 5 && $B < 3` (comparisons give 1 or 0), `abs($A - $B)`, `$A / sum($A)`
// (`sum avg min max count` of one query reduce over all its groups). Groups are joined
// by labels; a query with a single group without labels applies to every group.
Expression *string `json:"expression"`
// Holidays UTC days (`YYYY-MM-DD`, at most 400) left out of an anomaly rule's baseline, such as
// public holidays, so a quiet holiday does not skew the seasonal norm (ALT-009).
Holidays *[]string `json:"holidays,omitempty"`
// Jitter Spread evaluations: this rule runs at a stable offset within `every_s`, derived from
// its id, instead of on the interval boundary.
Jitter *bool `json:"jitter,omitempty"`
// Limit Most alert groups one evaluation may produce (Prometheus group `limit`); above it the
// evaluation fails as an error. 0: only the global cap.
Limit *int32 `json:"limit,omitempty"`
// MissingSeriesEvals Consecutive evaluations a labelled series may be missing before its group is retired
// and its alert resolves (default 10, 1 to 1000).
MissingSeriesEvals *int32 `json:"missing_series_evals"`
// Notify Routing picked on the rule ("simplified routing"): its alerts skip the label-based policy
// tree and go straight to a receiver, or start at a named route of the tree.
Notify *RuleNotify `json:"notify,omitempty"`
// OnError What an evaluation error means for a group.
OnError *OnError `json:"on_error,omitempty"`
// Queries `query` is `A`. Only queries that read one window may be added.
Queries *map[string]RuleQuery `json:"queries,omitempty"`
// SkipPendingOnError Fire `error`, `no_data` and the `alerting` policies at once instead of waiting `for_s`.
SkipPendingOnError *bool `json:"skip_pending_on_error,omitempty"`
// SourceAuthor Set by the server on save; access to every source is re-checked as this user at evaluation.
SourceAuthor *string `json:"source_author"`
// SourceProjects Extra queries by ref id (`B` to `E`), each read over the same window; the main
// Federated alert rule (A25): also read these same-org projects. `promql` rules only.
SourceProjects *[]string `json:"source_projects,omitempty"`
}
RuleExt The flattened options. Every field defaults to the behaviour before it existed.
type RuleForecast ¶
type RuleForecast struct {
// Algorithm How a `forecast` rule projects its series.
Algorithm *ForecastAlgorithm `json:"algorithm,omitempty"`
// Expr `PromQL` returning series.
Expr string `json:"expr"`
// HistoryS History read, 3600 s to 31 days (default: 1 day linear, 4 days daily, 28 days weekly).
HistoryS *int32 `json:"history_s"`
// HorizonS How far ahead, 60 s to 7 days.
HorizonS int32 `json:"horizon_s"`
// Seasonality The season of a `seasonal` forecast.
Seasonality *ForecastSeasonality `json:"seasonality,omitempty"`
}
RuleForecast The `forecast` rule kind (W57): one group per series of `expr`, valued at the forecast's extreme within `horizon_s` (the highest point for `gt`/`ge` thresholds, else the lowest), so a threshold condition fires when the series is predicted to cross it within the horizon.
type RuleKind ¶
type RuleKind string
RuleKind defines model for RuleKind.
const ( RuleKindAgentPolicyViolation RuleKind = "agent_policy_violation" RuleKindAiSpend RuleKind = "ai_spend" RuleKindAnomalyMl RuleKind = "anomaly_ml" RuleKindAuditEvent RuleKind = "audit_event" RuleKindCardinality RuleKind = "cardinality" RuleKindChange RuleKind = "change" RuleKindCheck RuleKind = "check" RuleKindCiPipeline RuleKind = "ci_pipeline" RuleKindComposite RuleKind = "composite" RuleKindCost RuleKind = "cost" RuleKindCostAnomaly RuleKind = "cost_anomaly" RuleKindDataJobDuration RuleKind = "data_job_duration" RuleKindDataJobFailed RuleKind = "data_job_failed" RuleKindErrorRate RuleKind = "error_rate" RuleKindEvent RuleKind = "event" RuleKindFlow RuleKind = "flow" RuleKindForecast RuleKind = "forecast" RuleKindFreshness RuleKind = "freshness" RuleKindIssueFrequency RuleKind = "issue_frequency" RuleKindIssueNew RuleKind = "issue_new" RuleKindIssuePercentChange RuleKind = "issue_percent_change" RuleKindIssueRegression RuleKind = "issue_regression" RuleKindIssueUsers RuleKind = "issue_users" RuleKindLlmCost RuleKind = "llm_cost" RuleKindLlmErrorRate RuleKind = "llm_error_rate" RuleKindLlmGuardFlags RuleKind = "llm_guard_flags" RuleKindLlmLatency RuleKind = "llm_latency" RuleKindLlmScore RuleKind = "llm_score" RuleKindLlmTokenRate RuleKind = "llm_token_rate" RuleKindLog RuleKind = "log" RuleKindLogMeasure RuleKind = "log_measure" RuleKindLogPatternNew RuleKind = "log_pattern_new" RuleKindLogqlMetric RuleKind = "logql_metric" RuleKindMetric RuleKind = "metric" RuleKindMlModel RuleKind = "ml_model" RuleKindNullRate RuleKind = "null_rate" RuleKindPeerOutlier RuleKind = "peer_outlier" RuleKindProfileFunction RuleKind = "profile_function" RuleKindQuotaUsage RuleKind = "quota_usage" RuleKindRatio RuleKind = "ratio" RuleKindRumMetric RuleKind = "rum_metric" RuleKindSeasonalBaseline RuleKind = "seasonal_baseline" RuleKindSecurityDetection RuleKind = "security_detection" RuleKindSloBurn RuleKind = "slo_burn" RuleKindSql RuleKind = "sql" RuleKindStorageGrowth RuleKind = "storage_growth" RuleKindTraceFacet RuleKind = "trace_facet" RuleKindTraceFailure RuleKind = "trace_failure" RuleKindTraceLatency RuleKind = "trace_latency" RuleKindTraceqlMetric RuleKind = "traceql_metric" RuleKindTransaction RuleKind = "transaction" RuleKindTrigger RuleKind = "trigger" RuleKindVolume RuleKind = "volume" RuleKindVulnerabilityNew RuleKind = "vulnerability_new" )
Defines values for RuleKind.
type RuleNotify ¶
type RuleNotify struct {
// ActiveIntervals Time interval names outside which notifications are muted.
ActiveIntervals *[]string `json:"active_intervals,omitempty"`
// GroupBy Labels that make a notification group (default `alertname`); `["..."]` groups by all.
GroupBy *[]string `json:"group_by"`
GroupIntervalS *int32 `json:"group_interval_s"`
GroupWaitS *int32 `json:"group_wait_s"`
// MuteIntervals Time interval names during which notifications are muted.
MuteIntervals *[]string `json:"mute_intervals,omitempty"`
// Receiver Receiver id. Exactly one of `receiver` and `route`.
Receiver *string `json:"receiver"`
RepeatIntervalS *int32 `json:"repeat_interval_s"`
// Route Route id of the project's tree to route from (its matchers are skipped, its children
// apply).
Route *string `json:"route"`
}
RuleNotify Routing picked on the rule ("simplified routing"): its alerts skip the label-based policy tree and go straight to a receiver, or start at a named route of the tree.
type RuleNullRate ¶
type RuleNullRate struct {
// Field Attribute key, 1 to 128 characters of `[A-Za-z0-9_.-]`.
Field string `json:"field"`
Service *string `json:"service"`
// Signal `logs` or `traces`.
Signal string `json:"signal"`
}
RuleNullRate A `null_rate` rule (ALT-001, column-level data quality): percent of a signal's rows in the window whose attribute `field` is missing or empty, one group per service.
type RuleQuery ¶
type RuleQuery struct {
// contains filtered or unexported fields
}
RuleQuery defines model for RuleQuery.
func (RuleQuery) AsRuleQuery0 ¶
func (t RuleQuery) AsRuleQuery0() (RuleQuery0, error)
AsRuleQuery0 returns the union data inside the RuleQuery as a RuleQuery0
func (RuleQuery) AsRuleQuery1 ¶
func (t RuleQuery) AsRuleQuery1() (RuleQuery1, error)
AsRuleQuery1 returns the union data inside the RuleQuery as a RuleQuery1
func (RuleQuery) AsRuleQuery2 ¶
func (t RuleQuery) AsRuleQuery2() (RuleQuery2, error)
AsRuleQuery2 returns the union data inside the RuleQuery as a RuleQuery2
func (RuleQuery) AsRuleQuery3 ¶
func (t RuleQuery) AsRuleQuery3() (RuleQuery3, error)
AsRuleQuery3 returns the union data inside the RuleQuery as a RuleQuery3
func (RuleQuery) AsRuleQuery4 ¶
func (t RuleQuery) AsRuleQuery4() (RuleQuery4, error)
AsRuleQuery4 returns the union data inside the RuleQuery as a RuleQuery4
func (RuleQuery) AsRuleQuery5 ¶
func (t RuleQuery) AsRuleQuery5() (RuleQuery5, error)
AsRuleQuery5 returns the union data inside the RuleQuery as a RuleQuery5
func (RuleQuery) AsRuleQuery6 ¶
func (t RuleQuery) AsRuleQuery6() (RuleQuery6, error)
AsRuleQuery6 returns the union data inside the RuleQuery as a RuleQuery6
func (RuleQuery) AsRuleQuery7 ¶
func (t RuleQuery) AsRuleQuery7() (RuleQuery7, error)
AsRuleQuery7 returns the union data inside the RuleQuery as a RuleQuery7
func (RuleQuery) AsRuleQuery8 ¶
func (t RuleQuery) AsRuleQuery8() (RuleQuery8, error)
AsRuleQuery8 returns the union data inside the RuleQuery as a RuleQuery8
func (RuleQuery) AsRuleQuery9 ¶
func (t RuleQuery) AsRuleQuery9() (RuleQuery9, error)
AsRuleQuery9 returns the union data inside the RuleQuery as a RuleQuery9
func (RuleQuery) AsRuleQuery10 ¶
func (t RuleQuery) AsRuleQuery10() (RuleQuery10, error)
AsRuleQuery10 returns the union data inside the RuleQuery as a RuleQuery10
func (RuleQuery) AsRuleQuery11 ¶
func (t RuleQuery) AsRuleQuery11() (RuleQuery11, error)
AsRuleQuery11 returns the union data inside the RuleQuery as a RuleQuery11
func (RuleQuery) AsRuleQuery12 ¶
func (t RuleQuery) AsRuleQuery12() (RuleQuery12, error)
AsRuleQuery12 returns the union data inside the RuleQuery as a RuleQuery12
func (RuleQuery) AsRuleQuery13 ¶
func (t RuleQuery) AsRuleQuery13() (RuleQuery13, error)
AsRuleQuery13 returns the union data inside the RuleQuery as a RuleQuery13
func (RuleQuery) AsRuleQuery14 ¶
func (t RuleQuery) AsRuleQuery14() (RuleQuery14, error)
AsRuleQuery14 returns the union data inside the RuleQuery as a RuleQuery14
func (RuleQuery) AsRuleQuery15 ¶
func (t RuleQuery) AsRuleQuery15() (RuleQuery15, error)
AsRuleQuery15 returns the union data inside the RuleQuery as a RuleQuery15
func (RuleQuery) AsRuleQuery16 ¶
func (t RuleQuery) AsRuleQuery16() (RuleQuery16, error)
AsRuleQuery16 returns the union data inside the RuleQuery as a RuleQuery16
func (RuleQuery) AsRuleQuery17 ¶
func (t RuleQuery) AsRuleQuery17() (RuleQuery17, error)
AsRuleQuery17 returns the union data inside the RuleQuery as a RuleQuery17
func (RuleQuery) AsRuleQuery18 ¶
func (t RuleQuery) AsRuleQuery18() (RuleQuery18, error)
AsRuleQuery18 returns the union data inside the RuleQuery as a RuleQuery18
func (RuleQuery) AsRuleQuery19 ¶
func (t RuleQuery) AsRuleQuery19() (RuleQuery19, error)
AsRuleQuery19 returns the union data inside the RuleQuery as a RuleQuery19
func (RuleQuery) AsRuleQuery20 ¶
func (t RuleQuery) AsRuleQuery20() (RuleQuery20, error)
AsRuleQuery20 returns the union data inside the RuleQuery as a RuleQuery20
func (RuleQuery) AsRuleQuery21 ¶
func (t RuleQuery) AsRuleQuery21() (RuleQuery21, error)
AsRuleQuery21 returns the union data inside the RuleQuery as a RuleQuery21
func (RuleQuery) AsRuleQuery22 ¶
func (t RuleQuery) AsRuleQuery22() (RuleQuery22, error)
AsRuleQuery22 returns the union data inside the RuleQuery as a RuleQuery22
func (RuleQuery) AsRuleQuery23 ¶
func (t RuleQuery) AsRuleQuery23() (RuleQuery23, error)
AsRuleQuery23 returns the union data inside the RuleQuery as a RuleQuery23
func (RuleQuery) AsRuleQuery24 ¶
func (t RuleQuery) AsRuleQuery24() (RuleQuery24, error)
AsRuleQuery24 returns the union data inside the RuleQuery as a RuleQuery24
func (RuleQuery) AsRuleQuery25 ¶
func (t RuleQuery) AsRuleQuery25() (RuleQuery25, error)
AsRuleQuery25 returns the union data inside the RuleQuery as a RuleQuery25
func (RuleQuery) AsRuleQuery26 ¶
func (t RuleQuery) AsRuleQuery26() (RuleQuery26, error)
AsRuleQuery26 returns the union data inside the RuleQuery as a RuleQuery26
func (RuleQuery) AsRuleQuery27 ¶
func (t RuleQuery) AsRuleQuery27() (RuleQuery27, error)
AsRuleQuery27 returns the union data inside the RuleQuery as a RuleQuery27
func (RuleQuery) AsRuleQuery28 ¶
func (t RuleQuery) AsRuleQuery28() (RuleQuery28, error)
AsRuleQuery28 returns the union data inside the RuleQuery as a RuleQuery28
func (RuleQuery) AsRuleQuery29 ¶
func (t RuleQuery) AsRuleQuery29() (RuleQuery29, error)
AsRuleQuery29 returns the union data inside the RuleQuery as a RuleQuery29
func (RuleQuery) AsRuleQuery30 ¶
func (t RuleQuery) AsRuleQuery30() (RuleQuery30, error)
AsRuleQuery30 returns the union data inside the RuleQuery as a RuleQuery30
func (RuleQuery) AsRuleQuery31 ¶
func (t RuleQuery) AsRuleQuery31() (RuleQuery31, error)
AsRuleQuery31 returns the union data inside the RuleQuery as a RuleQuery31
func (RuleQuery) AsRuleQuery32 ¶
func (t RuleQuery) AsRuleQuery32() (RuleQuery32, error)
AsRuleQuery32 returns the union data inside the RuleQuery as a RuleQuery32
func (RuleQuery) AsRuleQuery33 ¶
func (t RuleQuery) AsRuleQuery33() (RuleQuery33, error)
AsRuleQuery33 returns the union data inside the RuleQuery as a RuleQuery33
func (RuleQuery) AsRuleQuery34 ¶
func (t RuleQuery) AsRuleQuery34() (RuleQuery34, error)
AsRuleQuery34 returns the union data inside the RuleQuery as a RuleQuery34
func (RuleQuery) AsRuleQuery35 ¶
func (t RuleQuery) AsRuleQuery35() (RuleQuery35, error)
AsRuleQuery35 returns the union data inside the RuleQuery as a RuleQuery35
func (RuleQuery) AsRuleQuery36 ¶
func (t RuleQuery) AsRuleQuery36() (RuleQuery36, error)
AsRuleQuery36 returns the union data inside the RuleQuery as a RuleQuery36
func (RuleQuery) AsRuleQuery37 ¶
func (t RuleQuery) AsRuleQuery37() (RuleQuery37, error)
AsRuleQuery37 returns the union data inside the RuleQuery as a RuleQuery37
func (RuleQuery) AsRuleQuery38 ¶
func (t RuleQuery) AsRuleQuery38() (RuleQuery38, error)
AsRuleQuery38 returns the union data inside the RuleQuery as a RuleQuery38
func (RuleQuery) AsRuleQuery39 ¶
func (t RuleQuery) AsRuleQuery39() (RuleQuery39, error)
AsRuleQuery39 returns the union data inside the RuleQuery as a RuleQuery39
func (RuleQuery) AsRuleQuery40 ¶
func (t RuleQuery) AsRuleQuery40() (RuleQuery40, error)
AsRuleQuery40 returns the union data inside the RuleQuery as a RuleQuery40
func (RuleQuery) AsRuleQuery41 ¶
func (t RuleQuery) AsRuleQuery41() (RuleQuery41, error)
AsRuleQuery41 returns the union data inside the RuleQuery as a RuleQuery41
func (RuleQuery) AsRuleQuery42 ¶
func (t RuleQuery) AsRuleQuery42() (RuleQuery42, error)
AsRuleQuery42 returns the union data inside the RuleQuery as a RuleQuery42
func (RuleQuery) AsRuleQuery43 ¶
func (t RuleQuery) AsRuleQuery43() (RuleQuery43, error)
AsRuleQuery43 returns the union data inside the RuleQuery as a RuleQuery43
func (RuleQuery) AsRuleQuery44 ¶
func (t RuleQuery) AsRuleQuery44() (RuleQuery44, error)
AsRuleQuery44 returns the union data inside the RuleQuery as a RuleQuery44
func (RuleQuery) AsRuleQuery45 ¶
func (t RuleQuery) AsRuleQuery45() (RuleQuery45, error)
AsRuleQuery45 returns the union data inside the RuleQuery as a RuleQuery45
func (RuleQuery) AsRuleQuery46 ¶
func (t RuleQuery) AsRuleQuery46() (RuleQuery46, error)
AsRuleQuery46 returns the union data inside the RuleQuery as a RuleQuery46
func (RuleQuery) AsRuleQuery47 ¶ added in v0.3.0
func (t RuleQuery) AsRuleQuery47() (RuleQuery47, error)
AsRuleQuery47 returns the union data inside the RuleQuery as a RuleQuery47
func (RuleQuery) AsRuleQuery48 ¶ added in v0.3.0
func (t RuleQuery) AsRuleQuery48() (RuleQuery48, error)
AsRuleQuery48 returns the union data inside the RuleQuery as a RuleQuery48
func (RuleQuery) AsRuleQuery49 ¶ added in v0.3.0
func (t RuleQuery) AsRuleQuery49() (RuleQuery49, error)
AsRuleQuery49 returns the union data inside the RuleQuery as a RuleQuery49
func (RuleQuery) AsRuleQuery50 ¶ added in v0.3.0
func (t RuleQuery) AsRuleQuery50() (RuleQuery50, error)
AsRuleQuery50 returns the union data inside the RuleQuery as a RuleQuery50
func (RuleQuery) AsRuleQuery51 ¶ added in v0.3.0
func (t RuleQuery) AsRuleQuery51() (RuleQuery51, error)
AsRuleQuery51 returns the union data inside the RuleQuery as a RuleQuery51
func (RuleQuery) AsRuleQuery52 ¶ added in v0.3.1
func (t RuleQuery) AsRuleQuery52() (RuleQuery52, error)
AsRuleQuery52 returns the union data inside the RuleQuery as a RuleQuery52
func (*RuleQuery) FromRuleQuery0 ¶
func (t *RuleQuery) FromRuleQuery0(v RuleQuery0) error
FromRuleQuery0 overwrites any union data inside the RuleQuery as the provided RuleQuery0
func (*RuleQuery) FromRuleQuery1 ¶
func (t *RuleQuery) FromRuleQuery1(v RuleQuery1) error
FromRuleQuery1 overwrites any union data inside the RuleQuery as the provided RuleQuery1
func (*RuleQuery) FromRuleQuery2 ¶
func (t *RuleQuery) FromRuleQuery2(v RuleQuery2) error
FromRuleQuery2 overwrites any union data inside the RuleQuery as the provided RuleQuery2
func (*RuleQuery) FromRuleQuery3 ¶
func (t *RuleQuery) FromRuleQuery3(v RuleQuery3) error
FromRuleQuery3 overwrites any union data inside the RuleQuery as the provided RuleQuery3
func (*RuleQuery) FromRuleQuery4 ¶
func (t *RuleQuery) FromRuleQuery4(v RuleQuery4) error
FromRuleQuery4 overwrites any union data inside the RuleQuery as the provided RuleQuery4
func (*RuleQuery) FromRuleQuery5 ¶
func (t *RuleQuery) FromRuleQuery5(v RuleQuery5) error
FromRuleQuery5 overwrites any union data inside the RuleQuery as the provided RuleQuery5
func (*RuleQuery) FromRuleQuery6 ¶
func (t *RuleQuery) FromRuleQuery6(v RuleQuery6) error
FromRuleQuery6 overwrites any union data inside the RuleQuery as the provided RuleQuery6
func (*RuleQuery) FromRuleQuery7 ¶
func (t *RuleQuery) FromRuleQuery7(v RuleQuery7) error
FromRuleQuery7 overwrites any union data inside the RuleQuery as the provided RuleQuery7
func (*RuleQuery) FromRuleQuery8 ¶
func (t *RuleQuery) FromRuleQuery8(v RuleQuery8) error
FromRuleQuery8 overwrites any union data inside the RuleQuery as the provided RuleQuery8
func (*RuleQuery) FromRuleQuery9 ¶
func (t *RuleQuery) FromRuleQuery9(v RuleQuery9) error
FromRuleQuery9 overwrites any union data inside the RuleQuery as the provided RuleQuery9
func (*RuleQuery) FromRuleQuery10 ¶
func (t *RuleQuery) FromRuleQuery10(v RuleQuery10) error
FromRuleQuery10 overwrites any union data inside the RuleQuery as the provided RuleQuery10
func (*RuleQuery) FromRuleQuery11 ¶
func (t *RuleQuery) FromRuleQuery11(v RuleQuery11) error
FromRuleQuery11 overwrites any union data inside the RuleQuery as the provided RuleQuery11
func (*RuleQuery) FromRuleQuery12 ¶
func (t *RuleQuery) FromRuleQuery12(v RuleQuery12) error
FromRuleQuery12 overwrites any union data inside the RuleQuery as the provided RuleQuery12
func (*RuleQuery) FromRuleQuery13 ¶
func (t *RuleQuery) FromRuleQuery13(v RuleQuery13) error
FromRuleQuery13 overwrites any union data inside the RuleQuery as the provided RuleQuery13
func (*RuleQuery) FromRuleQuery14 ¶
func (t *RuleQuery) FromRuleQuery14(v RuleQuery14) error
FromRuleQuery14 overwrites any union data inside the RuleQuery as the provided RuleQuery14
func (*RuleQuery) FromRuleQuery15 ¶
func (t *RuleQuery) FromRuleQuery15(v RuleQuery15) error
FromRuleQuery15 overwrites any union data inside the RuleQuery as the provided RuleQuery15
func (*RuleQuery) FromRuleQuery16 ¶
func (t *RuleQuery) FromRuleQuery16(v RuleQuery16) error
FromRuleQuery16 overwrites any union data inside the RuleQuery as the provided RuleQuery16
func (*RuleQuery) FromRuleQuery17 ¶
func (t *RuleQuery) FromRuleQuery17(v RuleQuery17) error
FromRuleQuery17 overwrites any union data inside the RuleQuery as the provided RuleQuery17
func (*RuleQuery) FromRuleQuery18 ¶
func (t *RuleQuery) FromRuleQuery18(v RuleQuery18) error
FromRuleQuery18 overwrites any union data inside the RuleQuery as the provided RuleQuery18
func (*RuleQuery) FromRuleQuery19 ¶
func (t *RuleQuery) FromRuleQuery19(v RuleQuery19) error
FromRuleQuery19 overwrites any union data inside the RuleQuery as the provided RuleQuery19
func (*RuleQuery) FromRuleQuery20 ¶
func (t *RuleQuery) FromRuleQuery20(v RuleQuery20) error
FromRuleQuery20 overwrites any union data inside the RuleQuery as the provided RuleQuery20
func (*RuleQuery) FromRuleQuery21 ¶
func (t *RuleQuery) FromRuleQuery21(v RuleQuery21) error
FromRuleQuery21 overwrites any union data inside the RuleQuery as the provided RuleQuery21
func (*RuleQuery) FromRuleQuery22 ¶
func (t *RuleQuery) FromRuleQuery22(v RuleQuery22) error
FromRuleQuery22 overwrites any union data inside the RuleQuery as the provided RuleQuery22
func (*RuleQuery) FromRuleQuery23 ¶
func (t *RuleQuery) FromRuleQuery23(v RuleQuery23) error
FromRuleQuery23 overwrites any union data inside the RuleQuery as the provided RuleQuery23
func (*RuleQuery) FromRuleQuery24 ¶
func (t *RuleQuery) FromRuleQuery24(v RuleQuery24) error
FromRuleQuery24 overwrites any union data inside the RuleQuery as the provided RuleQuery24
func (*RuleQuery) FromRuleQuery25 ¶
func (t *RuleQuery) FromRuleQuery25(v RuleQuery25) error
FromRuleQuery25 overwrites any union data inside the RuleQuery as the provided RuleQuery25
func (*RuleQuery) FromRuleQuery26 ¶
func (t *RuleQuery) FromRuleQuery26(v RuleQuery26) error
FromRuleQuery26 overwrites any union data inside the RuleQuery as the provided RuleQuery26
func (*RuleQuery) FromRuleQuery27 ¶
func (t *RuleQuery) FromRuleQuery27(v RuleQuery27) error
FromRuleQuery27 overwrites any union data inside the RuleQuery as the provided RuleQuery27
func (*RuleQuery) FromRuleQuery28 ¶
func (t *RuleQuery) FromRuleQuery28(v RuleQuery28) error
FromRuleQuery28 overwrites any union data inside the RuleQuery as the provided RuleQuery28
func (*RuleQuery) FromRuleQuery29 ¶
func (t *RuleQuery) FromRuleQuery29(v RuleQuery29) error
FromRuleQuery29 overwrites any union data inside the RuleQuery as the provided RuleQuery29
func (*RuleQuery) FromRuleQuery30 ¶
func (t *RuleQuery) FromRuleQuery30(v RuleQuery30) error
FromRuleQuery30 overwrites any union data inside the RuleQuery as the provided RuleQuery30
func (*RuleQuery) FromRuleQuery31 ¶
func (t *RuleQuery) FromRuleQuery31(v RuleQuery31) error
FromRuleQuery31 overwrites any union data inside the RuleQuery as the provided RuleQuery31
func (*RuleQuery) FromRuleQuery32 ¶
func (t *RuleQuery) FromRuleQuery32(v RuleQuery32) error
FromRuleQuery32 overwrites any union data inside the RuleQuery as the provided RuleQuery32
func (*RuleQuery) FromRuleQuery33 ¶
func (t *RuleQuery) FromRuleQuery33(v RuleQuery33) error
FromRuleQuery33 overwrites any union data inside the RuleQuery as the provided RuleQuery33
func (*RuleQuery) FromRuleQuery34 ¶
func (t *RuleQuery) FromRuleQuery34(v RuleQuery34) error
FromRuleQuery34 overwrites any union data inside the RuleQuery as the provided RuleQuery34
func (*RuleQuery) FromRuleQuery35 ¶
func (t *RuleQuery) FromRuleQuery35(v RuleQuery35) error
FromRuleQuery35 overwrites any union data inside the RuleQuery as the provided RuleQuery35
func (*RuleQuery) FromRuleQuery36 ¶
func (t *RuleQuery) FromRuleQuery36(v RuleQuery36) error
FromRuleQuery36 overwrites any union data inside the RuleQuery as the provided RuleQuery36
func (*RuleQuery) FromRuleQuery37 ¶
func (t *RuleQuery) FromRuleQuery37(v RuleQuery37) error
FromRuleQuery37 overwrites any union data inside the RuleQuery as the provided RuleQuery37
func (*RuleQuery) FromRuleQuery38 ¶
func (t *RuleQuery) FromRuleQuery38(v RuleQuery38) error
FromRuleQuery38 overwrites any union data inside the RuleQuery as the provided RuleQuery38
func (*RuleQuery) FromRuleQuery39 ¶
func (t *RuleQuery) FromRuleQuery39(v RuleQuery39) error
FromRuleQuery39 overwrites any union data inside the RuleQuery as the provided RuleQuery39
func (*RuleQuery) FromRuleQuery40 ¶
func (t *RuleQuery) FromRuleQuery40(v RuleQuery40) error
FromRuleQuery40 overwrites any union data inside the RuleQuery as the provided RuleQuery40
func (*RuleQuery) FromRuleQuery41 ¶
func (t *RuleQuery) FromRuleQuery41(v RuleQuery41) error
FromRuleQuery41 overwrites any union data inside the RuleQuery as the provided RuleQuery41
func (*RuleQuery) FromRuleQuery42 ¶
func (t *RuleQuery) FromRuleQuery42(v RuleQuery42) error
FromRuleQuery42 overwrites any union data inside the RuleQuery as the provided RuleQuery42
func (*RuleQuery) FromRuleQuery43 ¶
func (t *RuleQuery) FromRuleQuery43(v RuleQuery43) error
FromRuleQuery43 overwrites any union data inside the RuleQuery as the provided RuleQuery43
func (*RuleQuery) FromRuleQuery44 ¶
func (t *RuleQuery) FromRuleQuery44(v RuleQuery44) error
FromRuleQuery44 overwrites any union data inside the RuleQuery as the provided RuleQuery44
func (*RuleQuery) FromRuleQuery45 ¶
func (t *RuleQuery) FromRuleQuery45(v RuleQuery45) error
FromRuleQuery45 overwrites any union data inside the RuleQuery as the provided RuleQuery45
func (*RuleQuery) FromRuleQuery46 ¶
func (t *RuleQuery) FromRuleQuery46(v RuleQuery46) error
FromRuleQuery46 overwrites any union data inside the RuleQuery as the provided RuleQuery46
func (*RuleQuery) FromRuleQuery47 ¶ added in v0.3.0
func (t *RuleQuery) FromRuleQuery47(v RuleQuery47) error
FromRuleQuery47 overwrites any union data inside the RuleQuery as the provided RuleQuery47
func (*RuleQuery) FromRuleQuery48 ¶ added in v0.3.0
func (t *RuleQuery) FromRuleQuery48(v RuleQuery48) error
FromRuleQuery48 overwrites any union data inside the RuleQuery as the provided RuleQuery48
func (*RuleQuery) FromRuleQuery49 ¶ added in v0.3.0
func (t *RuleQuery) FromRuleQuery49(v RuleQuery49) error
FromRuleQuery49 overwrites any union data inside the RuleQuery as the provided RuleQuery49
func (*RuleQuery) FromRuleQuery50 ¶ added in v0.3.0
func (t *RuleQuery) FromRuleQuery50(v RuleQuery50) error
FromRuleQuery50 overwrites any union data inside the RuleQuery as the provided RuleQuery50
func (*RuleQuery) FromRuleQuery51 ¶ added in v0.3.0
func (t *RuleQuery) FromRuleQuery51(v RuleQuery51) error
FromRuleQuery51 overwrites any union data inside the RuleQuery as the provided RuleQuery51
func (*RuleQuery) FromRuleQuery52 ¶ added in v0.3.1
func (t *RuleQuery) FromRuleQuery52(v RuleQuery52) error
FromRuleQuery52 overwrites any union data inside the RuleQuery as the provided RuleQuery52
func (RuleQuery) MarshalJSON ¶
func (*RuleQuery) MergeRuleQuery0 ¶
func (t *RuleQuery) MergeRuleQuery0(v RuleQuery0) error
MergeRuleQuery0 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery0
func (*RuleQuery) MergeRuleQuery1 ¶
func (t *RuleQuery) MergeRuleQuery1(v RuleQuery1) error
MergeRuleQuery1 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery1
func (*RuleQuery) MergeRuleQuery2 ¶
func (t *RuleQuery) MergeRuleQuery2(v RuleQuery2) error
MergeRuleQuery2 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery2
func (*RuleQuery) MergeRuleQuery3 ¶
func (t *RuleQuery) MergeRuleQuery3(v RuleQuery3) error
MergeRuleQuery3 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery3
func (*RuleQuery) MergeRuleQuery4 ¶
func (t *RuleQuery) MergeRuleQuery4(v RuleQuery4) error
MergeRuleQuery4 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery4
func (*RuleQuery) MergeRuleQuery5 ¶
func (t *RuleQuery) MergeRuleQuery5(v RuleQuery5) error
MergeRuleQuery5 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery5
func (*RuleQuery) MergeRuleQuery6 ¶
func (t *RuleQuery) MergeRuleQuery6(v RuleQuery6) error
MergeRuleQuery6 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery6
func (*RuleQuery) MergeRuleQuery7 ¶
func (t *RuleQuery) MergeRuleQuery7(v RuleQuery7) error
MergeRuleQuery7 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery7
func (*RuleQuery) MergeRuleQuery8 ¶
func (t *RuleQuery) MergeRuleQuery8(v RuleQuery8) error
MergeRuleQuery8 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery8
func (*RuleQuery) MergeRuleQuery9 ¶
func (t *RuleQuery) MergeRuleQuery9(v RuleQuery9) error
MergeRuleQuery9 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery9
func (*RuleQuery) MergeRuleQuery10 ¶
func (t *RuleQuery) MergeRuleQuery10(v RuleQuery10) error
MergeRuleQuery10 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery10
func (*RuleQuery) MergeRuleQuery11 ¶
func (t *RuleQuery) MergeRuleQuery11(v RuleQuery11) error
MergeRuleQuery11 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery11
func (*RuleQuery) MergeRuleQuery12 ¶
func (t *RuleQuery) MergeRuleQuery12(v RuleQuery12) error
MergeRuleQuery12 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery12
func (*RuleQuery) MergeRuleQuery13 ¶
func (t *RuleQuery) MergeRuleQuery13(v RuleQuery13) error
MergeRuleQuery13 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery13
func (*RuleQuery) MergeRuleQuery14 ¶
func (t *RuleQuery) MergeRuleQuery14(v RuleQuery14) error
MergeRuleQuery14 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery14
func (*RuleQuery) MergeRuleQuery15 ¶
func (t *RuleQuery) MergeRuleQuery15(v RuleQuery15) error
MergeRuleQuery15 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery15
func (*RuleQuery) MergeRuleQuery16 ¶
func (t *RuleQuery) MergeRuleQuery16(v RuleQuery16) error
MergeRuleQuery16 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery16
func (*RuleQuery) MergeRuleQuery17 ¶
func (t *RuleQuery) MergeRuleQuery17(v RuleQuery17) error
MergeRuleQuery17 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery17
func (*RuleQuery) MergeRuleQuery18 ¶
func (t *RuleQuery) MergeRuleQuery18(v RuleQuery18) error
MergeRuleQuery18 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery18
func (*RuleQuery) MergeRuleQuery19 ¶
func (t *RuleQuery) MergeRuleQuery19(v RuleQuery19) error
MergeRuleQuery19 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery19
func (*RuleQuery) MergeRuleQuery20 ¶
func (t *RuleQuery) MergeRuleQuery20(v RuleQuery20) error
MergeRuleQuery20 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery20
func (*RuleQuery) MergeRuleQuery21 ¶
func (t *RuleQuery) MergeRuleQuery21(v RuleQuery21) error
MergeRuleQuery21 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery21
func (*RuleQuery) MergeRuleQuery22 ¶
func (t *RuleQuery) MergeRuleQuery22(v RuleQuery22) error
MergeRuleQuery22 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery22
func (*RuleQuery) MergeRuleQuery23 ¶
func (t *RuleQuery) MergeRuleQuery23(v RuleQuery23) error
MergeRuleQuery23 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery23
func (*RuleQuery) MergeRuleQuery24 ¶
func (t *RuleQuery) MergeRuleQuery24(v RuleQuery24) error
MergeRuleQuery24 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery24
func (*RuleQuery) MergeRuleQuery25 ¶
func (t *RuleQuery) MergeRuleQuery25(v RuleQuery25) error
MergeRuleQuery25 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery25
func (*RuleQuery) MergeRuleQuery26 ¶
func (t *RuleQuery) MergeRuleQuery26(v RuleQuery26) error
MergeRuleQuery26 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery26
func (*RuleQuery) MergeRuleQuery27 ¶
func (t *RuleQuery) MergeRuleQuery27(v RuleQuery27) error
MergeRuleQuery27 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery27
func (*RuleQuery) MergeRuleQuery28 ¶
func (t *RuleQuery) MergeRuleQuery28(v RuleQuery28) error
MergeRuleQuery28 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery28
func (*RuleQuery) MergeRuleQuery29 ¶
func (t *RuleQuery) MergeRuleQuery29(v RuleQuery29) error
MergeRuleQuery29 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery29
func (*RuleQuery) MergeRuleQuery30 ¶
func (t *RuleQuery) MergeRuleQuery30(v RuleQuery30) error
MergeRuleQuery30 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery30
func (*RuleQuery) MergeRuleQuery31 ¶
func (t *RuleQuery) MergeRuleQuery31(v RuleQuery31) error
MergeRuleQuery31 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery31
func (*RuleQuery) MergeRuleQuery32 ¶
func (t *RuleQuery) MergeRuleQuery32(v RuleQuery32) error
MergeRuleQuery32 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery32
func (*RuleQuery) MergeRuleQuery33 ¶
func (t *RuleQuery) MergeRuleQuery33(v RuleQuery33) error
MergeRuleQuery33 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery33
func (*RuleQuery) MergeRuleQuery34 ¶
func (t *RuleQuery) MergeRuleQuery34(v RuleQuery34) error
MergeRuleQuery34 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery34
func (*RuleQuery) MergeRuleQuery35 ¶
func (t *RuleQuery) MergeRuleQuery35(v RuleQuery35) error
MergeRuleQuery35 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery35
func (*RuleQuery) MergeRuleQuery36 ¶
func (t *RuleQuery) MergeRuleQuery36(v RuleQuery36) error
MergeRuleQuery36 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery36
func (*RuleQuery) MergeRuleQuery37 ¶
func (t *RuleQuery) MergeRuleQuery37(v RuleQuery37) error
MergeRuleQuery37 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery37
func (*RuleQuery) MergeRuleQuery38 ¶
func (t *RuleQuery) MergeRuleQuery38(v RuleQuery38) error
MergeRuleQuery38 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery38
func (*RuleQuery) MergeRuleQuery39 ¶
func (t *RuleQuery) MergeRuleQuery39(v RuleQuery39) error
MergeRuleQuery39 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery39
func (*RuleQuery) MergeRuleQuery40 ¶
func (t *RuleQuery) MergeRuleQuery40(v RuleQuery40) error
MergeRuleQuery40 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery40
func (*RuleQuery) MergeRuleQuery41 ¶
func (t *RuleQuery) MergeRuleQuery41(v RuleQuery41) error
MergeRuleQuery41 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery41
func (*RuleQuery) MergeRuleQuery42 ¶
func (t *RuleQuery) MergeRuleQuery42(v RuleQuery42) error
MergeRuleQuery42 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery42
func (*RuleQuery) MergeRuleQuery43 ¶
func (t *RuleQuery) MergeRuleQuery43(v RuleQuery43) error
MergeRuleQuery43 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery43
func (*RuleQuery) MergeRuleQuery44 ¶
func (t *RuleQuery) MergeRuleQuery44(v RuleQuery44) error
MergeRuleQuery44 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery44
func (*RuleQuery) MergeRuleQuery45 ¶
func (t *RuleQuery) MergeRuleQuery45(v RuleQuery45) error
MergeRuleQuery45 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery45
func (*RuleQuery) MergeRuleQuery46 ¶
func (t *RuleQuery) MergeRuleQuery46(v RuleQuery46) error
MergeRuleQuery46 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery46
func (*RuleQuery) MergeRuleQuery47 ¶ added in v0.3.0
func (t *RuleQuery) MergeRuleQuery47(v RuleQuery47) error
MergeRuleQuery47 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery47
func (*RuleQuery) MergeRuleQuery48 ¶ added in v0.3.0
func (t *RuleQuery) MergeRuleQuery48(v RuleQuery48) error
MergeRuleQuery48 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery48
func (*RuleQuery) MergeRuleQuery49 ¶ added in v0.3.0
func (t *RuleQuery) MergeRuleQuery49(v RuleQuery49) error
MergeRuleQuery49 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery49
func (*RuleQuery) MergeRuleQuery50 ¶ added in v0.3.0
func (t *RuleQuery) MergeRuleQuery50(v RuleQuery50) error
MergeRuleQuery50 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery50
func (*RuleQuery) MergeRuleQuery51 ¶ added in v0.3.0
func (t *RuleQuery) MergeRuleQuery51(v RuleQuery51) error
MergeRuleQuery51 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery51
func (*RuleQuery) MergeRuleQuery52 ¶ added in v0.3.1
func (t *RuleQuery) MergeRuleQuery52(v RuleQuery52) error
MergeRuleQuery52 performs a merge with any union data inside the RuleQuery, using the provided RuleQuery52
func (*RuleQuery) UnmarshalJSON ¶
type RuleQuery0 ¶
type RuleQuery0 struct {
// Promql Instant `PromQL` at the window end; each result series is a group.
Promql string `json:"promql"`
}
RuleQuery0 Instant `PromQL` at the window end; each result series is a group.
type RuleQuery1 ¶
type RuleQuery1 struct {
// LogCount Matching log rows in the window, grouped by `group_by`.
LogCount struct {
// Filter Log filter of a `log_count` rule; its time range is the rule window.
Filter LogFilter `json:"filter"`
} `json:"log_count"`
}
RuleQuery1 Matching log rows in the window, grouped by `group_by`.
type RuleQuery2 ¶
type RuleQuery2 struct {
// LogPatternNew Log pattern clusters with at least `min_count` lines in the window
// that had none in the previous `baseline_hours`: the value is the number of such clusters.
LogPatternNew struct {
BaselineHours *int32 `json:"baseline_hours,omitempty"`
// Filter Log filter of a `log_count` rule; its time range is the rule window.
Filter LogFilter `json:"filter"`
MinCount *int32 `json:"min_count,omitempty"`
// SinceLastRelease New means first seen since the project's latest deployment in the baseline, instead
// of in the window. With no deployment there, nothing counts as new.
SinceLastRelease *bool `json:"since_last_release,omitempty"`
} `json:"log_pattern_new"`
}
RuleQuery2 Log pattern clusters with at least `min_count` lines in the window that had none in the previous `baseline_hours`: the value is the number of such clusters.
type RuleQuery3 ¶
type RuleQuery3 struct {
// CheckFailed The latest round of an uptime monitor failed quorum: 1 when it did, else 0. `min_fail` is
// the number of down locations that fail the round (0: one location, else the majority).
CheckFailed struct {
MinFail *int32 `json:"min_fail,omitempty"`
Monitor string `json:"monitor"`
} `json:"check_failed"`
}
RuleQuery3 The latest round of an uptime monitor failed quorum: 1 when it did, else 0. `min_fail` is the number of down locations that fail the round (0: one location, else the majority).
type RuleQuery4 ¶
type RuleQuery4 struct {
// SloBurn The query of a `slo_burn` rule: 1 while its mode holds, else 0. Managed rules use the tier's
// multiwindow pairs; a user rule picks an exhaustion-time or budget-rate mode (the tier then only
// names its urgency). The SLO itself (objective, SLIs, corrections) is loaded when evaluated.
SloBurn SloBurn `json:"slo_burn"`
}
RuleQuery4 1 while the SLO's multiwindow burn-rate tier fires, else 0 (also without traffic).
type RuleQuery5 ¶
type RuleQuery5 struct {
// ErrorRate Percent of entry spans with status ERROR in the window (the RED rollup).
ErrorRate struct {
Endpoint *string `json:"endpoint"`
Service string `json:"service"`
} `json:"error_rate"`
}
RuleQuery5 Percent of entry spans with status ERROR in the window (the RED rollup).
type RuleQuery6 ¶
type RuleQuery6 struct {
// TraceLatency Latency quantile (0.5, 0.9, 0.95 or 0.99) of entry spans, in milliseconds.
TraceLatency struct {
Endpoint *string `json:"endpoint"`
Quantile float64 `json:"quantile"`
Service string `json:"service"`
} `json:"trace_latency"`
}
RuleQuery6 Latency quantile (0.5, 0.9, 0.95 or 0.99) of entry spans, in milliseconds.
type RuleQuery7 ¶
type RuleQuery7 struct {
// TraceFailure Entry spans with status ERROR in the window.
TraceFailure struct {
Endpoint *string `json:"endpoint"`
Service string `json:"service"`
} `json:"trace_failure"`
}
RuleQuery7 Entry spans with status ERROR in the window.
type RuleQuery8 ¶
type RuleQuery8 struct {
// IssueNew Issues first seen in the window.
IssueNew struct {
// Filter Which issues an issue rule counts; empty lists match everything.
Filter *IssueFilter `json:"filter,omitempty"`
} `json:"issue_new"`
}
RuleQuery8 Issues first seen in the window.
type RuleQuery9 ¶
type RuleQuery9 struct {
// IssueRegression Issues reopened as regressed in the window.
IssueRegression struct {
// Filter Which issues an issue rule counts; empty lists match everything.
Filter *IssueFilter `json:"filter,omitempty"`
} `json:"issue_regression"`
}
RuleQuery9 Issues reopened as regressed in the window.
type RuleQuery10 ¶
type RuleQuery10 struct {
// IssueFrequency Events per `per_s` seconds, per issue, over the window.
IssueFrequency struct {
// IssueFilter Which issues an issue rule counts; empty lists match everything.
IssueFilter *IssueFilter `json:"issue_filter,omitempty"`
PerS int32 `json:"per_s"`
} `json:"issue_frequency"`
}
RuleQuery10 Events per `per_s` seconds, per issue, over the window.
type RuleQuery11 ¶
type RuleQuery11 struct {
// IssueUsers Distinct users per issue in the window.
IssueUsers struct {
// IssueFilter Which issues an issue rule counts; empty lists match everything.
IssueFilter *IssueFilter `json:"issue_filter,omitempty"`
} `json:"issue_users"`
}
RuleQuery11 Distinct users per issue in the window.
type RuleQuery12 ¶
type RuleQuery12 struct {
// Sql One `SELECT` through `wt_sql::compile`: the last column is the value, the others labels.
Sql string `json:"sql"`
}
RuleQuery12 One `SELECT` through `wt_sql::compile`: the last column is the value, the others labels.
type RuleQuery13 ¶
type RuleQuery13 struct {
// Change The `base` query now against `offset_s` earlier.
Change struct {
Base RuleQuery `json:"base"`
Mode ChangeMode `json:"mode"`
OffsetS int32 `json:"offset_s"`
} `json:"change"`
}
RuleQuery13 The `base` query now against `offset_s` earlier.
type RuleQuery14 ¶
type RuleQuery14 struct {
// Ratio `num / den` per label group; a zero denominator is no data.
Ratio struct {
Den RuleQuery `json:"den"`
Num RuleQuery `json:"num"`
} `json:"ratio"`
}
RuleQuery14 `num / den` per label group; a zero denominator is no data.
type RuleQuery15 ¶
type RuleQuery15 struct {
// Composite `expr` over the letters of `children` (`&&`, `||`, `!`, parentheses); a letter is true
// while that rule has a group firing.
Composite struct {
Children map[string]string `json:"children"`
Expr string `json:"expr"`
} `json:"composite"`
}
RuleQuery15 `expr` over the letters of `children` (`&&`, `||`, `!`, parentheses); a letter is true while that rule has a group firing.
type RuleQuery16 ¶
type RuleQuery16 struct {
// Freshness 1 when the signal (of `service`) sent nothing in the last `stale_s` seconds, else 0.
// `also` lists more signals (`logs`, `metrics`) that count as signs of life: the rule is 1
// only when none of them sent anything.
Freshness struct {
Also *[]string `json:"also,omitempty"`
Service *string `json:"service"`
Signal string `json:"signal"`
StaleS int32 `json:"stale_s"`
} `json:"freshness"`
}
RuleQuery16 1 when the signal (of `service`) sent nothing in the last `stale_s` seconds, else 0. `also` lists more signals (`logs`, `metrics`) that count as signs of life: the rule is 1 only when none of them sent anything.
type RuleQuery17 ¶
type RuleQuery17 struct {
// Volume Rows or events the signal received in the window.
Volume struct {
Service *string `json:"service"`
Signal string `json:"signal"`
} `json:"volume"`
}
RuleQuery17 Rows or events the signal received in the window.
type RuleQuery18 ¶
type RuleQuery18 struct {
// ProfileFunction Percent of the service's `sample_type` profile samples spent in `function` itself
// (`self` share) over the window, from the hourly profile rollup.
ProfileFunction struct {
Function string `json:"function"`
// SampleType Default `cpu`.
SampleType *string `json:"sample_type,omitempty"`
Service string `json:"service"`
} `json:"profile_function"`
}
RuleQuery18 Percent of the service's `sample_type` profile samples spent in `function` itself (`self` share) over the window, from the hourly profile rollup.
type RuleQuery19 ¶
type RuleQuery19 struct {
// Cardinality One group per metric (the 100 heaviest, or just `metric`): active series in the last 24 h, or
// those first seen in that day.
Cardinality struct {
// Measure `series` or `growth_24h` (default).
Measure *string `json:"measure,omitempty"`
Metric *string `json:"metric"`
} `json:"cardinality"`
}
RuleQuery19 One group per metric (the 100 heaviest, or just `metric`): active series in the last 24 h, or those first seen in that day.
type RuleQuery20 ¶
type RuleQuery20 struct {
RumMetric RumMetricQuery `json:"rum_metric"`
}
RuleQuery20 A RUM metric over the window (`rum_events_v1`).
type RuleQuery21 ¶
type RuleQuery21 struct {
MlModel MlModelQuery `json:"ml_model"`
}
RuleQuery21 defines model for .
type RuleQuery22 ¶
type RuleQuery22 struct {
// LlmCost Query object shared by the `GenAI` kinds; each kind reads only the fields it documents.
LlmCost LlmQuery `json:"llm_cost"`
}
RuleQuery22 Micro-USD of model spend in the window (`llm_calls_v1`).
type RuleQuery23 ¶
type RuleQuery23 struct {
// LlmLatency Query object shared by the `GenAI` kinds; each kind reads only the fields it documents.
LlmLatency LlmQuery `json:"llm_latency"`
}
RuleQuery23 A duration (or time to first token) quantile in milliseconds.
type RuleQuery24 ¶
type RuleQuery24 struct {
// LlmErrorRate Query object shared by the `GenAI` kinds; each kind reads only the fields it documents.
LlmErrorRate LlmQuery `json:"llm_error_rate"`
}
RuleQuery24 Percent of model calls that errored.
type RuleQuery25 ¶
type RuleQuery25 struct {
// LlmTokenRate Query object shared by the `GenAI` kinds; each kind reads only the fields it documents.
LlmTokenRate LlmQuery `json:"llm_token_rate"`
}
RuleQuery25 Input plus output tokens per second.
type RuleQuery26 ¶
type RuleQuery26 struct {
// LlmScore Query object shared by the `GenAI` kinds; each kind reads only the fields it documents.
LlmScore LlmQuery `json:"llm_score"`
}
RuleQuery26 Average of a named score (`llm_scores_v1`), needing `min_samples`.
type RuleQuery27 ¶
type RuleQuery27 struct {
// LlmGuardFlags Query object shared by the `GenAI` kinds; each kind reads only the fields it documents.
LlmGuardFlags LlmQuery `json:"llm_guard_flags"`
}
RuleQuery27 Guard evaluations that flagged or blocked in the window.
type RuleQuery28 ¶
type RuleQuery28 struct {
// QuotaUsage Percent of today's `bytes_per_day` quota the signal has used.
QuotaUsage struct {
Signal string `json:"signal"`
} `json:"quota_usage"`
}
RuleQuery28 Percent of today's `bytes_per_day` quota the signal has used.
type RuleQuery29 ¶
type RuleQuery29 struct {
// AiSpend Percent of the org's monthly AI spend cap used so far this month (spent, not reserved).
AiSpend map[string]interface{} `json:"ai_spend"`
}
RuleQuery29 Percent of the org's monthly AI spend cap used so far this month (spent, not reserved).
type RuleQuery30 ¶
type RuleQuery30 struct {
// AgentPolicyViolation One group per run that broke its agent policy (`agent_policies`): a tool outside
// `allowed_tools`, too many tool calls, too much cost or too deep. Use `gt 0.5`.
AgentPolicyViolation map[string]interface{} `json:"agent_policy_violation"`
}
RuleQuery30 One group per run that broke its agent policy (`agent_policies`): a tool outside `allowed_tools`, too many tool calls, too much cost or too deep. Use `gt 0.5`.
type RuleQuery31 ¶
type RuleQuery31 struct {
// CostAnomaly 1 per service while its newest complete day of cost is anomalous against the 35 days before
// it (`cost_lines_v1`), else 0. Use `gt 0.5`.
CostAnomaly struct {
// Sensitivity 0 to 100; 0 never fires.
Sensitivity *int32 `json:"sensitivity,omitempty"`
} `json:"cost_anomaly"`
}
RuleQuery31 1 per service while its newest complete day of cost is anomalous against the 35 days before it (`cost_lines_v1`), else 0. Use `gt 0.5`.
type RuleQuery32 ¶
type RuleQuery32 struct {
// Cost A `cost` rule over `cost_lines_v1`, one group per service (or one `total` group).
Cost RuleCost `json:"cost"`
}
RuleQuery32 defines model for .
type RuleQuery33 ¶
type RuleQuery33 struct {
// CiPipeline A `ci_pipeline` rule over `ci_runs_v1`, one group per repo and pipeline.
CiPipeline RuleCi `json:"ci_pipeline"`
}
RuleQuery33 defines model for .
type RuleQuery34 ¶
type RuleQuery34 struct {
// NullRate A `null_rate` rule (ALT-001, column-level data quality): percent of a signal's rows in the
// window whose attribute `field` is missing or empty, one group per service.
NullRate RuleNullRate `json:"null_rate"`
}
RuleQuery34 defines model for .
type RuleQuery35 ¶
type RuleQuery35 struct {
// AnomalyMl 1 per series while the newest point of `expr` (7 days of history at 5 minute steps) is
// anomalous under the seasonal ML model, else 0. Use a threshold of `gt 0.5`.
AnomalyMl struct {
Expr string `json:"expr"`
Seasonality *AnomalyMlSeasonality `json:"seasonality,omitempty"`
// Sensitivity 0 to 100; 0 never fires.
Sensitivity *int32 `json:"sensitivity,omitempty"`
} `json:"anomaly_ml"`
}
RuleQuery35 1 per series while the newest point of `expr` (7 days of history at 5 minute steps) is anomalous under the seasonal ML model, else 0. Use a threshold of `gt 0.5`.
type RuleQuery36 ¶
type RuleQuery36 struct {
// SeasonalBaseline 1 per series while the newest point of `expr` departs from its baseline, else 0. `hour_of_week`
// compares with the same hour in the previous `weeks`; `adaptive` follows the traffic.
SeasonalBaseline struct {
Expr string `json:"expr"`
Mode *BaselineMode `json:"mode,omitempty"`
// Sensitivity 0 to 100; 0 never fires.
Sensitivity *int32 `json:"sensitivity,omitempty"`
// Weeks Weeks of history for `hour_of_week`, 2 to 4 (default 3).
Weeks *int32 `json:"weeks,omitempty"`
} `json:"seasonal_baseline"`
}
RuleQuery36 1 per series while the newest point of `expr` departs from its baseline, else 0. `hour_of_week` compares with the same hour in the previous `weeks`; `adaptive` follows the traffic.
type RuleQuery37 ¶
type RuleQuery37 struct {
// PeerOutlier 1 for each series of `expr` that differs from the other series (its peers) now, else 0.
PeerOutlier struct {
Expr string `json:"expr"`
// Sensitivity 0 to 100; 0 never fires.
Sensitivity *int32 `json:"sensitivity,omitempty"`
} `json:"peer_outlier"`
}
RuleQuery37 1 for each series of `expr` that differs from the other series (its peers) now, else 0.
type RuleQuery38 ¶
type RuleQuery38 struct {
// Trigger 1 while the trigger expression holds, else 0 (see `eval::trigger` for the grammar).
Trigger struct {
Expr string `json:"expr"`
} `json:"trigger"`
}
RuleQuery38 1 while the trigger expression holds, else 0 (see `eval::trigger` for the grammar).
type RuleQuery39 ¶
type RuleQuery39 struct {
// LogMeasure A number from the logs matching `filter`: an aggregate of the numeric attribute `attr`, or the
// percentage of one filter's rows among another's.
LogMeasure LogMeasure `json:"log_measure"`
}
RuleQuery39 An aggregate of a log attribute, or the percent of one log filter among another.
type RuleQuery40 ¶
type RuleQuery40 struct {
// TraceFacet RED over raw entry spans with span-attribute filters; `group_by` keys are `service`,
// `endpoint` (the span name) or a span attribute.
TraceFacet TraceFacet `json:"trace_facet"`
}
RuleQuery40 RED over raw entry spans with span-attribute filters and span-attribute `group_by`.
type RuleQuery41 ¶
type RuleQuery41 struct {
// AuditEvent Audit events of the org (the hash chain) seen in the window, one group per action.
AuditEvent AuditQuery `json:"audit_event"`
}
RuleQuery41 Audit events in the window, per action.
type RuleQuery42 ¶
type RuleQuery42 struct {
// IssuePercentChange Percent change of a per-issue count against the window before it.
IssuePercentChange IssuePct `json:"issue_percent_change"`
}
RuleQuery42 Percent change of users or events per issue against the previous window.
type RuleQuery43 ¶
type RuleQuery43 struct {
// Flow Network flow totals (`flows_1m`) per source, destination or `proto/port`.
Flow FlowQuery `json:"flow"`
}
RuleQuery43 Network flow totals per source, destination or port.
type RuleQuery44 ¶
type RuleQuery44 struct {
// TraceqlMetric Traces matching a `TraceQL` query in the window.
TraceqlMetric TraceQlMetric `json:"traceql_metric"`
}
RuleQuery44 Traces matching a `TraceQL` query.
type RuleQuery45 ¶
type RuleQuery45 struct {
LogqlMetric LogQlMetric `json:"logql_metric"`
}
RuleQuery45 A `LogQL` metric query, evaluated at the end of the window.
type RuleQuery46 ¶
type RuleQuery46 struct {
// Transaction A business transaction (APM-002): the entry spans of one endpoint (`wt.endpoint`) of a
// service, against its seasonal baseline or counted when they stall.
Transaction TransactionQuery `json:"transaction"`
}
RuleQuery46 A business transaction's baseline breach or stalls.
type RuleQuery47 ¶ added in v0.3.0
type RuleQuery47 struct {
// Forecast The `forecast` rule kind (W57): one group per series of `expr`, valued at the forecast's
// extreme within `horizon_s` (the highest point for `gt`/`ge` thresholds, else the lowest), so
// a threshold condition fires when the series is predicted to cross it within the horizon.
Forecast RuleForecast `json:"forecast"`
}
RuleQuery47 Per series of `expr`, the forecast's extreme within `horizon_s` (W57).
type RuleQuery48 ¶ added in v0.3.0
type RuleQuery48 struct {
// StorageGrowth Percent growth of stored bytes per bucket and prefix over `days`, from the daily S3
// Inventory rollup (`storage_inventory_v1`). One group per bucket+prefix (D6).
StorageGrowth struct {
// Bucket Limit to one bucket; omit for every bucket the project has a storage source for.
Bucket *string `json:"bucket"`
// Days Days back the newest snapshot is compared against (1 to 90).
Days int32 `json:"days"`
} `json:"storage_growth"`
}
RuleQuery48 Percent growth of stored bytes per bucket and prefix over `days`, from the daily S3 Inventory rollup (`storage_inventory_v1`). One group per bucket+prefix (D6).
type RuleQuery49 ¶ added in v0.3.0
type RuleQuery49 struct {
// DataJobFailed A `data_job_failed` or `data_job_duration` rule over `data_job_runs_v1` (D5): the data jobs
// seen via `OpenLineage`. `data_job_failed` groups by job and run so the alert names the DAG and
// the run that failed; `data_job_duration` groups by job (p95 run duration in seconds).
DataJobFailed RuleDataJob `json:"data_job_failed"`
}
RuleQuery49 Failed data-job runs in the window, one group per job and run (D5).
type RuleQuery50 ¶ added in v0.3.0
type RuleQuery50 struct {
// DataJobDuration A `data_job_failed` or `data_job_duration` rule over `data_job_runs_v1` (D5): the data jobs
// seen via `OpenLineage`. `data_job_failed` groups by job and run so the alert names the DAG and
// the run that failed; `data_job_duration` groups by job (p95 run duration in seconds).
DataJobDuration RuleDataJob `json:"data_job_duration"`
}
RuleQuery50 p95 duration (seconds) of data-job runs in the window, one group per job (D5).
type RuleQuery51 ¶ added in v0.3.0
type RuleQuery51 struct {
// Event Events matching `q` in the window (D14): one group, value = matching events. `q` is the
// events search string (`source:…`, `service:…`, `alert_type:…` or free text).
Event struct {
Q *string `json:"q,omitempty"`
} `json:"event"`
}
RuleQuery51 Events matching `q` in the window (D14): one group, value = matching events. `q` is the events search string (`source:…`, `service:…`, `alert_type:…` or free text).
type RuleQuery52 ¶ added in v0.3.1
type RuleQuery52 struct {
// VulnerabilityNew A `vulnerability_new` rule over `vulnerabilities_v1` (D2): Code Security findings first seen in
// the window, one group per service. `code` (SAST) findings arrive per upload, so by default only
// `library` (SCA) and `runtime` (IAST) findings count; set `types` to override.
VulnerabilityNew VulnNewQuery `json:"vulnerability_new"`
}
RuleQuery52 Code Security findings first seen in the window, one group per service (D2). Use `gt 0`.
type RuleSpec ¶
type RuleSpec struct {
Annotations *Annotations `json:"annotations,omitempty"`
Condition Condition `json:"condition"`
// DelayS Seconds the window lags the tick, for late data; 0 to 86400 (default 60).
DelayS *int32 `json:"delay_s,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// EnvId An environment id (`env_…`), not its name; omitted = every environment. Sent and stored
// as `env_id` (B14, the name monitors and SLOs use); the older `env` is still read.
EnvId *string `json:"env_id"`
// EveryS Seconds between evaluations, 10 to 86400 (default 60).
EveryS *int32 `json:"every_s,omitempty"`
// Expression Math over the queries, the value the condition tests: `$A / $B * 100`,
// `$A > 5 && $B < 3` (comparisons give 1 or 0), `abs($A - $B)`, `$A / sum($A)`
// (`sum avg min max count` of one query reduce over all its groups). Groups are joined
// by labels; a query with a single group without labels applies to every group.
Expression *string `json:"expression"`
// Fill What a group does with a gap in its series.
Fill *Fill `json:"fill,omitempty"`
// ForS Seconds a breach must last before firing (default 0: fire at once).
ForS *int32 `json:"for_s,omitempty"`
// GroupBy At most 10 keys (log rules only; `PromQL` groups by its result series).
GroupBy *[]string `json:"group_by,omitempty"`
// Holidays UTC days (`YYYY-MM-DD`, at most 400) left out of an anomaly rule's baseline, such as
// public holidays, so a quiet holiday does not skew the seasonal norm (ALT-009).
Holidays *[]string `json:"holidays,omitempty"`
// Investigate Start an AI investigation when an alert fires; `None` follows the project's
// `auto_investigate_on_alert` setting.
Investigate *bool `json:"investigate"`
// Jitter Spread evaluations: this rule runs at a stable offset within `every_s`, derived from
// its id, instead of on the interval boundary.
Jitter *bool `json:"jitter,omitempty"`
Kind RuleKind `json:"kind"`
Labels *map[string]string `json:"labels,omitempty"`
// Limit Most alert groups one evaluation may produce (Prometheus group `limit`); above it the
// evaluation fails as an error. 0: only the global cap.
Limit *int32 `json:"limit,omitempty"`
// MissingSeriesEvals Consecutive evaluations a labelled series may be missing before its group is retired
// and its alert resolves (default 10, 1 to 1000).
MissingSeriesEvals *int32 `json:"missing_series_evals"`
// MutedUntil Unix seconds; until then transitions are recorded but not notified.
MutedUntil *int64 `json:"muted_until"`
// Name Display name, 1 to 256 bytes.
Name string `json:"name"`
// NoData What an evaluation without data means.
NoData *NoData `json:"no_data,omitempty"`
// NoDataAfterS Seconds a group may be missing before `no_data` applies (default 0: at once).
NoDataAfterS *int32 `json:"no_data_after_s,omitempty"`
// Notify Routing picked on the rule ("simplified routing"): its alerts skip the label-based policy
// tree and go straight to a receiver, or start at a named route of the tree.
Notify *RuleNotify `json:"notify,omitempty"`
// OnError What an evaluation error means for a group.
OnError *OnError `json:"on_error,omitempty"`
// Queries `query` is `A`. Only queries that read one window may be added.
Queries *map[string]RuleQuery `json:"queries,omitempty"`
Query RuleQuery `json:"query"`
// RecoverAfter Consecutive non-breaching evaluations before a firing group resolves (default 1).
RecoverAfter *int32 `json:"recover_after,omitempty"`
// RecoverForS Seconds the recovery condition must hold before a firing group resolves (default 0).
RecoverForS *int32 `json:"recover_for_s,omitempty"`
// RecoveryExpr A second `PromQL` expression that decides when a firing group may resolve (Zabbix-style
// recovery expression, e.g. "error rate low AND queue drained"). A firing group resolves only
// while the primary condition is clear AND this expression, evaluated over the same window, has
// `value op` true for the group with the same labels; a missing or failed result keeps it firing.
RecoveryExpr *RecoveryExpr `json:"recovery_expr,omitempty"`
// Schedule Calendar schedule (daily, weekly or monthly at a time) instead of every `every_s`.
Schedule *Schedule `json:"schedule,omitempty"`
// Severity `critical`, `high`, `warning` or `info`, on rules and on monitors alike. `medium` is read as
// `warning` (it is always answered as `warning`).
Severity *Severity `json:"severity,omitempty"`
// SkipPendingOnError Fire `error`, `no_data` and the `alerting` policies at once instead of waiting `for_s`.
SkipPendingOnError *bool `json:"skip_pending_on_error,omitempty"`
// SourceAuthor Set by the server on save; access to every source is re-checked as this user at evaluation.
SourceAuthor *string `json:"source_author"`
// SourceProjects Extra queries by ref id (`B` to `E`), each read over the same window; the main
// Federated alert rule (A25): also read these same-org projects. `promql` rules only.
SourceProjects *[]string `json:"source_projects,omitempty"`
// SpecVersion Document version; stored rules without it are version 1 and are upgraded on save.
SpecVersion *int32 `json:"spec_version,omitempty"`
// WindowS Seconds of data each evaluation covers (default 300).
WindowS *int32 `json:"window_s,omitempty"`
}
RuleSpec defines model for RuleSpec.
type RuleSpecRequest ¶
type RuleSpecRequest struct {
// Field `severity`, `service`, `label:<key>` or `jsonpath:$.<path>`.
Field string `json:"field"`
// Op `eq`, `ne`, `re`, `nre`, `in`, `nin`, `gte` or `lte`.
Op string `json:"op"`
Value interface{} `json:"value"`
}
RuleSpecRequest defines model for RuleSpecRequest.
type RumMetric ¶
type RumMetric string
RumMetric defines model for RumMetric.
const ( RumMetricClsP75 RumMetric = "cls_p75" RumMetricCustom RumMetric = "custom" RumMetricInpP75 RumMetric = "inp_p75" RumMetricJsErrorRate RumMetric = "js_error_rate" RumMetricLcpP75 RumMetric = "lcp_p75" RumMetricRageClickRate RumMetric = "rage_click_rate" RumMetricResourceErrorRate RumMetric = "resource_error_rate" RumMetricSessionErrorRate RumMetric = "session_error_rate" )
Defines values for RumMetric.
type RumMetricQuery ¶
type RumMetricQuery struct {
// Custom What a `custom` metric aggregates: the SDK's `client.event(name, attrs)` events.
Custom *CustomSpec `json:"custom,omitempty"`
DeviceClass *string `json:"device_class"`
Metric RumMetric `json:"metric"`
Release *string `json:"release"`
Route *string `json:"route"`
}
RumMetricQuery defines model for RumMetricQuery.
type RunRequested ¶ added in v0.3.4
type RunRequested struct {
MonitorId string `json:"monitor_id"`
// RequestedAt When the request was made (RFC 3339).
RequestedAt string `json:"requested_at"`
// RequestedMs `requested_at` in Unix milliseconds. The engine cannot carry a run id, so the run's own
// result is the first one of this monitor with `ts_ms >= requested_ms`.
RequestedMs int64 `json:"requested_ms"`
// ResultsUrl Where the result appears, newest first; already limited to results since the request.
ResultsUrl string `json:"results_url"`
// Status `queued`: the engine runs the monitor within about 10 seconds, at every location.
Status string `json:"status"`
}
RunRequested What `:run-now` returns: the request was queued, the result comes later.
type Schedule ¶
type Schedule struct {
// Rrule `FREQ=DAILY;BYHOUR=9`, `FREQ=WEEKLY;BYDAY=MO;BYHOUR=9` or
// `FREQ=MONTHLY;BYMONTHDAY=1;BYHOUR=9` (`BYMINUTE` defaults to 0).
Rrule string `json:"rrule"`
// Tz IANA zone the times are read in (default UTC).
Tz *string `json:"tz,omitempty"`
}
Schedule Calendar schedule (daily, weekly or monthly at a time) instead of every `every_s`.
type ScheduleDto ¶
type ScheduleDto struct {
// Coverage24x7 Fill gaps with `fallback`.
Coverage24x7 *bool `json:"coverage_24x7,omitempty"`
CreatedAt string `json:"created_at"`
Fallback *string `json:"fallback"`
// Holidays Local dates skipped by layers with `skip_holidays`.
Holidays *[]string `json:"holidays,omitempty"`
Id string `json:"id"`
// Layers Index 0 is the bottom layer; higher layers win.
Layers []Layer `json:"layers"`
Name string `json:"name"`
Owner string `json:"owner"`
ProjectId string `json:"project_id"`
// RebuildError Why the latest rebuild failed (the horizon is stale until one succeeds); null when ok.
RebuildError *string `json:"rebuild_error"`
// RebuiltAt Last successful rebuild of the stored horizon.
RebuiltAt *string `json:"rebuilt_at"`
// Tz IANA time zone, e.g. `America/New_York`.
Tz string `json:"tz"`
UpdatedAt string `json:"updated_at"`
// Version Bumped on every update.
Version int32 `json:"version"`
}
ScheduleDto defines model for ScheduleDto.
type SchedulePage ¶
type SchedulePage struct {
Data []ScheduleDto `json:"data"`
NextCursor *string `json:"next_cursor"`
}
SchedulePage defines model for SchedulePage.
type ScheduleSpec ¶
type ScheduleSpec struct {
// Coverage24x7 Fill gaps with `fallback`.
Coverage24x7 *bool `json:"coverage_24x7,omitempty"`
Fallback *string `json:"fallback"`
// Holidays Local dates skipped by layers with `skip_holidays`.
Holidays *[]string `json:"holidays,omitempty"`
// Layers Index 0 is the bottom layer; higher layers win.
Layers []Layer `json:"layers"`
Name string `json:"name"`
Owner string `json:"owner"`
// Tz IANA time zone, e.g. `America/New_York`.
Tz string `json:"tz"`
}
ScheduleSpec What the API stores in `oncall_schedules.spec`.
type ScopeNode ¶
type ScopeNode struct {
Children *[]ScopeNode `json:"children,omitempty"`
// Id Lowercase letters, digits and `-`, unique in the tree.
Id string `json:"id"`
// Services The services of this scope; a parent also covers those of its children.
Services *[]string `json:"services,omitempty"`
// Title 1 to 100 characters.
Title string `json:"title"`
}
ScopeNode defines model for ScopeNode.
type ScorecardHealth ¶
type ScorecardHealth string
ScorecardHealth Worst last: the derived order is the severity order.
const ( ScorecardHealthCritical ScorecardHealth = "critical" ScorecardHealthDegraded ScorecardHealth = "degraded" ScorecardHealthOk ScorecardHealth = "ok" )
Defines values for ScorecardHealth.
type ScorecardTreeNode ¶
type ScorecardTreeNode struct {
Children []ScorecardTreeNode `json:"children"`
// Health Worst last: the derived order is the severity order.
Health ScorecardHealth `json:"health"`
// RolledUp Worst last: the derived order is the severity order.
RolledUp ScorecardHealth `json:"rolled_up"`
Service string `json:"service"`
}
ScorecardTreeNode defines model for ScorecardTreeNode.
type Severity ¶
type Severity string
Severity `critical`, `high`, `warning` or `info`, on rules and on monitors alike. `medium` is read as `warning` (it is always answered as `warning`).
type SilenceDto ¶
type SilenceDto struct {
// Active Started and not yet ended.
Active bool `json:"active"`
Comment string `json:"comment"`
CreatedBy string `json:"created_by"`
EndsAt string `json:"ends_at"`
Id string `json:"id"`
Matchers []Matcher `json:"matchers"`
// Name The same text as `comment`, under the name other resources use.
Name string `json:"name"`
StartsAt string `json:"starts_at"`
}
SilenceDto defines model for SilenceDto.
type SilencePage ¶
type SilencePage struct {
Data []SilenceDto `json:"data"`
NextCursor *string `json:"next_cursor"`
}
SilencePage defines model for SilencePage.
type SilenceRequest ¶
type SilenceRequest struct {
// Comment Also accepted as `name` (B14).
Comment *string `json:"comment"`
// EndsAt RFC 3339, after `starts_at`, at most one year later.
EndsAt string `json:"ends_at"`
// Matchers Alerts whose labels match all of these are silenced (at least one, at most 20). Each is
// `{name, op, value}` with `op` one of `eq`, `ne`, `re`, `nre` (or `=`, `!=`, `=~`, `!~`),
// or Alertmanager's `{name, value, isRegex, isEqual}`. `/alertmanager/api/v2/silences` is the
// Alertmanager-compatible mirror of this resource, for tools that speak that API.
Matchers []Matcher `json:"matchers"`
// StartsAt RFC 3339, default now.
StartsAt *string `json:"starts_at"`
}
SilenceRequest defines model for SilenceRequest.
type Sla ¶
type Sla struct {
// AckMin Minutes after declaration by which the incident must leave triage.
AckMin *int32 `json:"ack_min"`
// UpdateEveryMin Minutes between updates while the incident is open.
UpdateEveryMin *int32 `json:"update_every_min"`
}
Sla defines model for Sla.
type Sli ¶
type Sli struct {
// contains filtered or unexported fields
}
Sli What counts as good and total events.
func (Sli) MarshalJSON ¶
func (*Sli) MergeSli0 ¶
MergeSli0 performs a merge with any union data inside the Sli, using the provided Sli0
func (*Sli) MergeSli1 ¶
MergeSli1 performs a merge with any union data inside the Sli, using the provided Sli1
func (*Sli) MergeSli2 ¶
MergeSli2 performs a merge with any union data inside the Sli, using the provided Sli2
func (*Sli) MergeSli3 ¶
MergeSli3 performs a merge with any union data inside the Sli, using the provided Sli3
func (*Sli) MergeSli4 ¶
MergeSli4 performs a merge with any union data inside the Sli, using the provided Sli4
func (*Sli) MergeSli5 ¶
MergeSli5 performs a merge with any union data inside the Sli, using the provided Sli5
func (*Sli) UnmarshalJSON ¶
type Sli0 ¶
type Sli0 struct {
// RequestRatio Two counts over the window. A `PromQL` query is an instant query at the window end that may
// use `$window`; its series are summed. `LogCount` counts matching log rows.
RequestRatio struct {
Good RuleQuery `json:"good"`
Total RuleQuery `json:"total"`
} `json:"request_ratio"`
}
Sli0 Two counts over the window. A `PromQL` query is an instant query at the window end that may use `$window`; its series are summed. `LogCount` counts matching log rows.
type Sli1 ¶
type Sli1 struct {
// Latency Requests of a service (one endpoint, or all when empty) at or under `threshold_ms`, from
// the RED rollups.
Latency struct {
Endpoint *string `json:"endpoint,omitempty"`
Service string `json:"service"`
ThresholdMs int32 `json:"threshold_ms"`
} `json:"latency"`
}
Sli1 Requests of a service (one endpoint, or all when empty) at or under `threshold_ms`, from the RED rollups.
type Sli2 ¶
type Sli2 struct {
// Availability Uptime-monitor results that are up; maintenance results are not counted.
Availability struct {
Monitor string `json:"monitor"`
} `json:"availability"`
}
Sli2 Uptime-monitor results that are up; maintenance results are not counted.
type Sli3 ¶
type Sli3 struct {
// ErrorRatio Entry-span requests of a service (one endpoint, or all when empty) that did not end in
// an error, from the RED rollups.
ErrorRatio struct {
Endpoint *string `json:"endpoint,omitempty"`
Service string `json:"service"`
} `json:"error_ratio"`
}
Sli3 Entry-span requests of a service (one endpoint, or all when empty) that did not end in an error, from the RED rollups.
type Sli4 ¶
type Sli4 struct {
// MonitorState Evaluation ticks of an alert rule (a monitor) in which it is not firing, from the rule
// evaluation history; ticks without data or in error count in neither.
MonitorState struct {
Rule string `json:"rule"`
} `json:"monitor_state"`
}
Sli4 Evaluation ticks of an alert rule (a monitor) in which it is not firing, from the rule evaluation history; ticks without data or in error count in neither.
type Sli5 ¶
type Sli5 struct {
// WindowBased Slices of `slice_s` seconds in which `query op threshold` holds (a range query stepped by
// `slice_s`; with several series, every one must hold).
WindowBased struct {
Op Op `json:"op"`
Query RuleQuery `json:"query"`
SliceS int32 `json:"slice_s"`
Threshold float64 `json:"threshold"`
} `json:"window_based"`
}
Sli5 Slices of `slice_s` seconds in which `query op threshold` holds (a range query stepped by `slice_s`; with several series, every one must hold).
type SloBurn ¶
type SloBurn struct {
// MinEvents Fewest events a measured (long) window needs before the rule may fire (default
// `DEFAULT_MIN_EVENTS`; 0 turns the guard off). Below it the SLO has `insufficient_data`.
MinEvents *int32 `json:"min_events"`
// Mode How a `slo_burn` rule decides that it fires.
Mode *SloBurnMode `json:"mode,omitempty"`
Slo string `json:"slo"`
Tier SloTier `json:"tier"`
}
SloBurn The query of a `slo_burn` rule: 1 while its mode holds, else 0. Managed rules use the tier's multiwindow pairs; a user rule picks an exhaustion-time or budget-rate mode (the tier then only names its urgency). The SLO itself (objective, SLIs, corrections) is loaded when evaluated.
type SloBurnMode ¶
type SloBurnMode struct {
// contains filtered or unexported fields
}
SloBurnMode How a `slo_burn` rule decides that it fires.
func (SloBurnMode) AsSloBurnMode0 ¶
func (t SloBurnMode) AsSloBurnMode0() (SloBurnMode0, error)
AsSloBurnMode0 returns the union data inside the SloBurnMode as a SloBurnMode0
func (SloBurnMode) AsSloBurnMode1 ¶
func (t SloBurnMode) AsSloBurnMode1() (SloBurnMode1, error)
AsSloBurnMode1 returns the union data inside the SloBurnMode as a SloBurnMode1
func (SloBurnMode) AsSloBurnMode2 ¶
func (t SloBurnMode) AsSloBurnMode2() (SloBurnMode2, error)
AsSloBurnMode2 returns the union data inside the SloBurnMode as a SloBurnMode2
func (SloBurnMode) AsSloBurnMode3 ¶
func (t SloBurnMode) AsSloBurnMode3() (SloBurnMode3, error)
AsSloBurnMode3 returns the union data inside the SloBurnMode as a SloBurnMode3
func (SloBurnMode) AsSloBurnMode4 ¶
func (t SloBurnMode) AsSloBurnMode4() (SloBurnMode4, error)
AsSloBurnMode4 returns the union data inside the SloBurnMode as a SloBurnMode4
func (*SloBurnMode) FromSloBurnMode0 ¶
func (t *SloBurnMode) FromSloBurnMode0(v SloBurnMode0) error
FromSloBurnMode0 overwrites any union data inside the SloBurnMode as the provided SloBurnMode0
func (*SloBurnMode) FromSloBurnMode1 ¶
func (t *SloBurnMode) FromSloBurnMode1(v SloBurnMode1) error
FromSloBurnMode1 overwrites any union data inside the SloBurnMode as the provided SloBurnMode1
func (*SloBurnMode) FromSloBurnMode2 ¶
func (t *SloBurnMode) FromSloBurnMode2(v SloBurnMode2) error
FromSloBurnMode2 overwrites any union data inside the SloBurnMode as the provided SloBurnMode2
func (*SloBurnMode) FromSloBurnMode3 ¶
func (t *SloBurnMode) FromSloBurnMode3(v SloBurnMode3) error
FromSloBurnMode3 overwrites any union data inside the SloBurnMode as the provided SloBurnMode3
func (*SloBurnMode) FromSloBurnMode4 ¶
func (t *SloBurnMode) FromSloBurnMode4(v SloBurnMode4) error
FromSloBurnMode4 overwrites any union data inside the SloBurnMode as the provided SloBurnMode4
func (SloBurnMode) MarshalJSON ¶
func (t SloBurnMode) MarshalJSON() ([]byte, error)
func (*SloBurnMode) MergeSloBurnMode0 ¶
func (t *SloBurnMode) MergeSloBurnMode0(v SloBurnMode0) error
MergeSloBurnMode0 performs a merge with any union data inside the SloBurnMode, using the provided SloBurnMode0
func (*SloBurnMode) MergeSloBurnMode1 ¶
func (t *SloBurnMode) MergeSloBurnMode1(v SloBurnMode1) error
MergeSloBurnMode1 performs a merge with any union data inside the SloBurnMode, using the provided SloBurnMode1
func (*SloBurnMode) MergeSloBurnMode2 ¶
func (t *SloBurnMode) MergeSloBurnMode2(v SloBurnMode2) error
MergeSloBurnMode2 performs a merge with any union data inside the SloBurnMode, using the provided SloBurnMode2
func (*SloBurnMode) MergeSloBurnMode3 ¶
func (t *SloBurnMode) MergeSloBurnMode3(v SloBurnMode3) error
MergeSloBurnMode3 performs a merge with any union data inside the SloBurnMode, using the provided SloBurnMode3
func (*SloBurnMode) MergeSloBurnMode4 ¶
func (t *SloBurnMode) MergeSloBurnMode4(v SloBurnMode4) error
MergeSloBurnMode4 performs a merge with any union data inside the SloBurnMode, using the provided SloBurnMode4
func (*SloBurnMode) UnmarshalJSON ¶
func (t *SloBurnMode) UnmarshalJSON(b []byte) error
type SloBurnMode0 ¶
type SloBurnMode0 struct {
Type SloBurnMode0Type `json:"type"`
}
SloBurnMode0 The tier's multiwindow burn-rate pairs (the managed page and ticket rules).
type SloBurnMode0Type ¶
type SloBurnMode0Type string
SloBurnMode0Type defines model for SloBurnMode.0.Type.
const (
SloBurnMode0TypeMultiwindow SloBurnMode0Type = "multiwindow"
)
Defines values for SloBurnMode0Type.
type SloBurnMode1 ¶
type SloBurnMode1 struct {
Type SloBurnMode1Type `json:"type"`
WithinH int32 `json:"within_h"`
}
SloBurnMode1 The budget left in the current period runs out within `within_h` hours at the burn rate of the recent lookback (a quarter of the horizon, 5 minutes to 1 day).
type SloBurnMode1Type ¶
type SloBurnMode1Type string
SloBurnMode1Type defines model for SloBurnMode.1.Type.
const (
SloBurnMode1TypeExhaustion SloBurnMode1Type = "exhaustion"
)
Defines values for SloBurnMode1Type.
type SloBurnMode2 ¶
type SloBurnMode2 struct {
DropPct float64 `json:"drop_pct"`
Type SloBurnMode2Type `json:"type"`
WindowS int32 `json:"window_s"`
}
SloBurnMode2 At least `drop_pct` percent of the period's whole budget was spent in the last `window_s`.
type SloBurnMode2Type ¶
type SloBurnMode2Type string
SloBurnMode2Type defines model for SloBurnMode.2.Type.
const (
SloBurnMode2TypeBudgetRate SloBurnMode2Type = "budget_rate"
)
Defines values for SloBurnMode2Type.
type SloBurnMode3 ¶
type SloBurnMode3 struct {
Pct float64 `json:"pct"`
Type SloBurnMode3Type `json:"type"`
}
SloBurnMode3 At least `pct` percent of the current period's budget is used up (ALT-005).
type SloBurnMode3Type ¶
type SloBurnMode3Type string
SloBurnMode3Type defines model for SloBurnMode.3.Type.
const (
SloBurnMode3TypeConsumed SloBurnMode3Type = "consumed"
)
Defines values for SloBurnMode3Type.
type SloBurnMode4 ¶
type SloBurnMode4 struct {
Factor float64 `json:"factor"`
LongS int32 `json:"long_s"`
ShortS int32 `json:"short_s"`
Type SloBurnMode4Type `json:"type"`
}
SloBurnMode4 A user burn-rate pair: both the `long_s` and the `short_s` window burn faster than `factor` (ALT-005; the managed tiers use fixed pairs).
type SloBurnMode4Type ¶
type SloBurnMode4Type string
SloBurnMode4Type defines model for SloBurnMode.4.Type.
const (
SloBurnMode4TypeBurnRate SloBurnMode4Type = "burn_rate"
)
Defines values for SloBurnMode4Type.
type SloDto ¶
type SloDto struct {
// Children Composite only: 1 to 10 non-composite SLOs of this project, each in its own environment.
Children *[]Child `json:"children"`
CreatedAt string `json:"created_at"`
// DeployWindowS Length of a deploy window after the deployment finished (or started, while running),
// 60 to 86400 seconds; default 900.
DeployWindowS *int32 `json:"deploy_window_s,omitempty"`
// DerivedMetrics Metrics created for this SLO from a log pattern or trace attribute.
DerivedMetrics []string `json:"derived_metrics"`
EnvId *string `json:"env_id"`
// ExcludeDeployWindows Exclude failures during deploy windows: each deployment of the SLO's environment and
// service (a deployment without a service matches all) is left out of good and total, like
// a correction, in burn rules, the budget and reports. Default true, so a failed check during
// a rollout does not burn budget; send false to count deploy-time failures.
ExcludeDeployWindows *bool `json:"exclude_deploy_windows,omitempty"`
Id string `json:"id"`
// Kind `request`, `window` or `composite`.
Kind string `json:"kind"`
Name string `json:"name"`
// Objective Target good ratio, 0.5 to 0.99999.
Objective float64 `json:"objective"`
// PageRuleId The managed alert rules (`slo_burn`) for the page and ticket tiers.
PageRuleId *string `json:"page_rule_id"`
ProjectId string `json:"project_id"`
// RunbookUrl Where on-call finds what to do when this SLO burns (`http(s)` URL, at most 2000
// characters). It is copied onto the two managed burn-rate rules, so their alerts and
// notifications carry it; changing it here updates both rules.
RunbookUrl *string `json:"runbook_url"`
// Service Catalog service the SLO belongs to.
Service *string `json:"service"`
// Sli What counts as good and total events.
Sli *Sli `json:"sli,omitempty"`
TicketRuleId *string `json:"ticket_rule_id"`
UpdatedAt string `json:"updated_at"`
// Window How an SLO's budget period is cut.
Window *WindowKind `json:"window,omitempty"`
// WindowDays 7, 28, 30 or 90. With a calendar `window` it is ignored (the period is the week, month or
// quarter, UTC).
WindowDays int32 `json:"window_days"`
}
SloDto defines model for SloDto.
type SloSpec ¶
type SloSpec struct {
// Children Composite only: 1 to 10 non-composite SLOs of this project, each in its own environment.
Children *[]Child `json:"children"`
// DeployWindowS Length of a deploy window after the deployment finished (or started, while running),
// 60 to 86400 seconds; default 900.
DeployWindowS *int32 `json:"deploy_window_s,omitempty"`
EnvId *string `json:"env_id"`
// ExcludeDeployWindows Exclude failures during deploy windows: each deployment of the SLO's environment and
// service (a deployment without a service matches all) is left out of good and total, like
// a correction, in burn rules, the budget and reports. Default true, so a failed check during
// a rollout does not burn budget; send false to count deploy-time failures.
ExcludeDeployWindows *bool `json:"exclude_deploy_windows,omitempty"`
Name string `json:"name"`
// Objective Target good ratio, 0.5 to 0.99999.
Objective float64 `json:"objective"`
// RunbookUrl Where on-call finds what to do when this SLO burns (`http(s)` URL, at most 2000
// characters). It is copied onto the two managed burn-rate rules, so their alerts and
// notifications carry it; changing it here updates both rules.
RunbookUrl *string `json:"runbook_url"`
// Service Catalog service the SLO belongs to.
Service *string `json:"service"`
// Sli What counts as good and total events.
Sli *Sli `json:"sli,omitempty"`
// Window How an SLO's budget period is cut.
Window *WindowKind `json:"window,omitempty"`
// WindowDays 7, 28, 30 or 90. With a calendar `window` it is ignored (the period is the week, month or
// quarter, UTC).
WindowDays int32 `json:"window_days"`
}
SloSpec Everything about an SLO that a user sets. Give `sli` for a request or window SLO, or `children` for a composite (the weighted mean of its children's good ratios).
type TargetSpec ¶
type TargetSpec struct {
Escalate *string `json:"escalate"`
// Members With `team`: `all` (default), `leads` or `team_policy` (the team's default receiver).
Members *string `json:"members"`
Receiver *string `json:"receiver"`
Schedule *string `json:"schedule"`
Team *string `json:"team"`
User *string `json:"user"`
}
TargetSpec Exactly one of `user`, `schedule`, `team` (with `members`), `receiver` or `escalate`.
type TemplateDto ¶
type TemplateDto struct {
// Body Go `text/template` source (`html/template` for `email_html`).
Body string `json:"body"`
// ChannelKind `slack`, `teams`, `email_subject`, `email_html`, `email_text`, `sms`, `voice` or `webhook`.
ChannelKind string `json:"channel_kind"`
CreatedAt string `json:"created_at"`
CreatedBy string `json:"created_by"`
Id string `json:"id"`
Name string `json:"name"`
ProjectId string `json:"project_id"`
UpdatedAt string `json:"updated_at"`
// Version Starts at 1; goes up when the body changes.
Version int32 `json:"version"`
}
TemplateDto defines model for TemplateDto.
type TemplatePage ¶
type TemplatePage struct {
Data []TemplateDto `json:"data"`
NextCursor *string `json:"next_cursor"`
}
TemplatePage defines model for TemplatePage.
type TestRequest ¶
type TestRequest struct {
// EventType One of the trigger event types.
EventType string `json:"event_type"`
// Payload A sample event payload (at most 64 KiB).
Payload map[string]interface{} `json:"payload"`
}
TestRequest defines model for TestRequest.
type TestSent ¶
type TestSent struct {
// NotificationId The queued notification; follow it in `GET /notifications`.
NotificationId string `json:"notification_id"`
}
TestSent defines model for TestSent.
type TimeRestriction ¶
type TimeRestriction struct {
IntervalName string `json:"interval_name"`
}
TimeRestriction defines model for TimeRestriction.
type TraceFacet ¶
type TraceFacet struct {
Attrs *[]AttrFilter `json:"attrs,omitempty"`
Endpoint *string `json:"endpoint"`
Measure FacetMeasure `json:"measure"`
// Quantile `latency` only: any quantile in (0, 1); default 0.95.
Quantile *float64 `json:"quantile"`
Service string `json:"service"`
}
TraceFacet RED over raw entry spans with span-attribute filters; `group_by` keys are `service`, `endpoint` (the span name) or a span attribute.
type TraceQlMetric ¶
type TraceQlMetric struct {
Query string `json:"query"`
}
TraceQlMetric Traces matching a `TraceQL` query in the window.
type TransactionQuery ¶
type TransactionQuery struct {
// Endpoint The `wt.endpoint` value of the transaction's entry spans.
Endpoint string `json:"endpoint"`
// K `baseline`: standard deviations above the mean p95 that count (0.5 to 10, default 3).
K *float64 `json:"k"`
Service string `json:"service"`
// Signal What a `transaction` rule watches.
Signal TxSignal `json:"signal"`
// StallMs `stalls`: a request at least this slow is stalled, in ms (1000 to 3600000, default 45000).
StallMs *int32 `json:"stall_ms"`
}
TransactionQuery A business transaction (APM-002): the entry spans of one endpoint (`wt.endpoint`) of a service, against its seasonal baseline or counted when they stall.
type TypeDto ¶
type TypeDto struct {
CreatedAt string `json:"created_at"`
DefaultSeverity string `json:"default_severity"`
Fields []FieldDef `json:"fields"`
Id string `json:"id"`
Name string `json:"name"`
PlaybookWorkflowId *string `json:"playbook_workflow_id"`
Sla Sla `json:"sla"`
}
TypeDto defines model for TypeDto.
type TypeRequest ¶
type TypeRequest struct {
// DefaultSeverity Default `SEV3`.
DefaultSeverity *string `json:"default_severity"`
Fields *[]FieldDef `json:"fields,omitempty"`
Name string `json:"name"`
PlaybookWorkflowId *string `json:"playbook_workflow_id"`
Sla *Sla `json:"sla,omitempty"`
}
TypeRequest defines model for TypeRequest.
type UpdateDashboardRequest ¶
type UpdateDashboardRequest struct {
Description *string `json:"description"`
Note *string `json:"note"`
// Spec Stored verbatim too, so GET returns the same key order.
Spec map[string]interface{} `json:"spec"`
Title *string `json:"title"`
}
UpdateDashboardRequest defines model for UpdateDashboardRequest.
type ValidateResult ¶ added in v0.3.4
type ValidateResult struct {
Valid bool `json:"valid"`
}
ValidateResult The `?validate=1` answer: every check passed, nothing was written.
type VulnNewQuery ¶ added in v0.3.0
type VulnNewQuery struct {
// MinSeverity Only findings at or above this severity (`low`, `medium`, `high`, `critical`).
MinSeverity *string `json:"min_severity"`
// Service Only this service.
Service *string `json:"service"`
// Types Finding types to count (default `library` and `runtime`).
Types *[]string `json:"types,omitempty"`
}
VulnNewQuery A `vulnerability_new` rule over `vulnerabilities_v1` (D2): Code Security findings first seen in the window, one group per service. `code` (SAST) findings arrive per upload, so by default only `library` (SCA) and `runtime` (IAST) findings count; set `types` to override.
type WaitInvestigation ¶
type WaitInvestigation struct {
// TimeoutMin 1 to 30 minutes.
TimeoutMin int32 `json:"timeout_min"`
}
WaitInvestigation defines model for WaitInvestigation.
type WindowDto ¶
type WindowDto struct {
// Active Same as `in_effect`, kept for compatibility. It is not an on/off switch: a window has no
// enabled flag, it exists until deleted.
Active bool `json:"active"`
CreatedBy string `json:"created_by"`
DurationS int32 `json:"duration_s"`
Id string `json:"id"`
// InEffect An occurrence of the window (from `rrule`, `tz` and `duration_s`) is running at this moment.
InEffect bool `json:"in_effect"`
Mode WindowMode `json:"mode"`
Name string `json:"name"`
Rrule string `json:"rrule"`
Scope WindowScope `json:"scope"`
Tz string `json:"tz"`
}
WindowDto defines model for WindowDto.
type WindowKind ¶
type WindowKind string
WindowKind How an SLO's budget period is cut.
const ( WindowKindCalendarMonth WindowKind = "calendar_month" WindowKindCalendarQuarter WindowKind = "calendar_quarter" WindowKindCalendarWeek WindowKind = "calendar_week" WindowKindRolling WindowKind = "rolling" )
Defines values for WindowKind.
type WindowMode ¶
type WindowMode string
WindowMode defines model for WindowMode.
const ( WindowModeMarkChecks WindowMode = "mark_checks" WindowModeMute WindowMode = "mute" WindowModeSkipChecks WindowMode = "skip_checks" )
Defines values for WindowMode.
type WindowPage ¶
WindowPage defines model for WindowPage.
type WindowRequest ¶
type WindowRequest struct {
// DurationS 60 s to 30 days.
DurationS int32 `json:"duration_s"`
Mode *WindowMode `json:"mode,omitempty"`
Name string `json:"name"`
// Rrule RFC 5545 rule without DTSTART, e.g. `FREQ=WEEKLY;BYDAY=SU;BYHOUR=2`.
Rrule string `json:"rrule"`
Scope WindowScope `json:"scope"`
// Tz IANA zone the rule is evaluated in (default `UTC`).
Tz *string `json:"tz"`
}
WindowRequest defines model for WindowRequest.
type WindowScope ¶
type WindowScope struct {
// HealthTargets Health target ids (H1).
HealthTargets *[]string `json:"health_targets,omitempty"`
// Matchers Mode `mute` only: an alert is muted when every matcher matches its labels (AND). An empty
// list matches no alert (it never means "everything"), and mode `mute` rejects it; in the
// other modes the matchers are ignored.
Matchers *[]Matcher `json:"matchers,omitempty"`
// Monitors The monitors that `skip_checks` and `mark_checks` act on. Input takes `mon_` ids or bare
// UUIDs; responses show `mon_` ids.
Monitors *[]string `json:"monitors,omitempty"`
// Slos SLO ids, excluded from burn while the window runs (R3).
Slos *[]string `json:"slos,omitempty"`
}
WindowScope defines model for WindowScope.
type WorkflowDto ¶
type WorkflowDto struct {
CreatedAt string `json:"created_at"`
Enabled bool `json:"enabled"`
Id string `json:"id"`
Name string `json:"name"`
// OwnerId The user its actions run as: whoever saved it last.
OwnerId string `json:"owner_id"`
// Steps Up to 50 `{action, params, continue_on_error?}`.
Steps []map[string]interface{} `json:"steps"`
// Trigger `{events: [...], conditions?: {op, path, value, args}}`.
Trigger map[string]interface{} `json:"trigger"`
UpdatedAt string `json:"updated_at"`
Version int32 `json:"version"`
}
WorkflowDto defines model for WorkflowDto.
type WorkflowPage ¶
type WorkflowPage struct {
Data []WorkflowDto `json:"data"`
NextCursor *string `json:"next_cursor"`
}
WorkflowPage defines model for WorkflowPage.
type WorkflowRequest ¶
type WorkflowRequest struct {
// Enabled Default true.
Enabled *bool `json:"enabled"`
// Name 1 to 100 characters, unique in the project.
Name string `json:"name"`
// Steps 1 to 50 steps. Actions: `send_notification`, `http_request`, `create_incident`,
// `update_incident`, `add_timeline_note`, `page`, `create_jira_issue`, `create_slack_channel`,
// `post_slack_message`, `run_query`, `start_postmortem`, `wait` (`seconds` 1 to 900) and
// `trigger_workflow` (chains at most 3 deep). A step may repeat with `loop` (`over` a JSON
// path, `over_expr` a CEL list or `until` a CEL condition with `max_iterations`); action
// `loop` runs `loop.steps` per iteration. `${$.json.path}` in a string parameter is
// replaced from the event payload. The caller needs the permission of every action.
Steps []map[string]interface{} `json:"steps"`
// Trigger `events` (1 to 20 of `alert.{firing,resolved,acknowledged}`, `issue.{created,regressed,
// resolved,assigned}`, `incident.{declared,status_changed,severity_changed,field_changed,
// resolved}`, `deployment.created`, `monitor.{down,up}`) and optional `conditions`: an
// expression of `eq`, `ne`, `in`, `contains`, `startsWith`, `matches` (RE2), `and`, `or` and
// `not` over `JSONPath` into the event payload (at most 4 KiB, 16 levels).
Trigger map[string]interface{} `json:"trigger"`
}
WorkflowRequest defines model for WorkflowRequest.