insights

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL