Documentation ¶
Index ¶
- func AllocationFileChange(rule []kubeeyev1alpha2.FileChangeRule, taskName string, ...) []kubeeyev1alpha2.JobRule
- func AllocationOpa(rule []kubeeyev1alpha2.OpaRule, taskName string) *kubeeyev1alpha2.JobRule
- func AllocationPrometheus(rule []kubeeyev1alpha2.PrometheusRule, taskName string) *kubeeyev1alpha2.JobRule
- func AllocationSys(rule []kubeeyev1alpha2.SysRule, taskName string, allNode corev1.NodeList, ...) []kubeeyev1alpha2.JobRule
- func GetDefaultRegofile(path string) []map[string][]byte
- func GetRules(ctx context.Context, task types.NamespacedName, client versioned.Interface) map[string][]byte
- func MergeRegoRules(ctx context.Context, channels ...[]string) <-chan string
- func MergeRule(rules []kubeeyev1alpha2.InspectRule) (ruleSpec kubeeyev1alpha2.InspectRuleSpec)
- func RegoToRuleYaml(path string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllocationFileChange ¶
func AllocationFileChange(rule []kubeeyev1alpha2.FileChangeRule, taskName string, allNode corev1.NodeList) []kubeeyev1alpha2.JobRule
func AllocationOpa ¶
func AllocationOpa(rule []kubeeyev1alpha2.OpaRule, taskName string) *kubeeyev1alpha2.JobRule
func AllocationPrometheus ¶
func AllocationPrometheus(rule []kubeeyev1alpha2.PrometheusRule, taskName string) *kubeeyev1alpha2.JobRule
func AllocationSys ¶
func AllocationSys(rule []kubeeyev1alpha2.SysRule, taskName string, allNode corev1.NodeList, ctlOrTem string) []kubeeyev1alpha2.JobRule
func GetDefaultRegofile ¶
func MergeRegoRules ¶
MergeRegoRules fun-out merge rego ruleFiles
func MergeRule ¶
func MergeRule(rules []kubeeyev1alpha2.InspectRule) (ruleSpec kubeeyev1alpha2.InspectRuleSpec)
func RegoToRuleYaml ¶
func RegoToRuleYaml(path string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.