trigger.go | |
---|---|
|
|
Generated documentation is available at: https://pkg.go.dev/github.com/RedHatInsights/insights-operator-cli/types Documentation in literate-programming-style is available at: https://redhatinsights.github.io/insights-operator-cli/packages/types/trigger.html |
|
Trigger structure represents trigger record in the controller service ID: unique key Type: ID of trigger type Cluster: cluster ID (not name) Reason: a string with any comment(s) about the trigger Link: link to any document with customer ACK with the trigger TriggeredAt: timestamp of the last configuration change TriggeredBy: username of admin that created or updated the trigger AckedAt: timestamp where the insights operator acked the trigger Parameters: parameters that needs to be pass to trigger code Active: flag indicating whether the trigger is still active or not |
|
TriggersResponse structure represents response of controller service to triggers request. Status: status of response Triggers: list of triggers |
|
TriggerResponse structure represents response of controller service to single trigger request. Status: status of response Trigger: single trigger |
|