Documentation
¶
Index ¶
- func DeleteCheck(check models.CustomCheckModel, org, token, hostName string) error
- func DeleteInstance(instance models.CustomCheckInstanceModel, org, token, hostName string) error
- func GetChecks(org, token, hostName string) ([]opa.OPACustomCheck, error)
- func GetInstances(org, checkName, token, hostName string) ([]opa.CheckSetting, error)
- func PutCheck(check models.CustomCheckModel, org, token, hostName string) error
- func PutInstance(instance models.CustomCheckInstanceModel, org, token, hostName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteCheck ¶
func DeleteCheck(check models.CustomCheckModel, org, token, hostName string) error
DeleteCheck deletes an OPA Check from Fairwinds Insights
func DeleteInstance ¶
func DeleteInstance(instance models.CustomCheckInstanceModel, org, token, hostName string) error
DeleteInstance deletes an Instance from Fairwinds Insights
func GetChecks ¶
func GetChecks(org, token, hostName string) ([]opa.OPACustomCheck, error)
GetChecks queries Fairwinds Insights to retrieve all of the Checks for an organization
func GetInstances ¶
func GetInstances(org, checkName, token, hostName string) ([]opa.CheckSetting, error)
GetInstances queries Fairwinds Insights to retrieve all of the instances for a given check
func PutCheck ¶
func PutCheck(check models.CustomCheckModel, org, token, hostName string) error
PutCheck upserts an OPA Check to Fairwinds Insights
func PutInstance ¶
func PutInstance(instance models.CustomCheckInstanceModel, org, token, hostName string) error
PutInstance upserts an Instance to Fairwinds Insights
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.