Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rebase: feat: add more generalized Stats #1

Conversation

acpana
Copy link

@acpana acpana commented Mar 1, 2023

this is a rebase of open-policy-agent#283 onto the multi engine work

maxsmythe and others added 6 commits February 15, 2023 20:24
Signed-off-by: Max Smythe <smythe@google.com>
Signed-off-by: Max Smythe <smythe@google.com>
Signed-off-by: Max Smythe <smythe@google.com>
Signed-off-by: Max Smythe <smythe@google.com>
modify driver interface to take a QueryResponse on
Query() func calls for future backwards compat

Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>

remove unused code

Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>

remove NamedStats

Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>

make value interface

Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>

make value interface{}

Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>

rename StatsEntry.Key to .Scope

Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>

reshape stats

Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>

pull out err from QueryResponse, rt nil

Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>

add driver specific opt

Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>

move StatsEntries to Responses

Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>

add labels, source struct

Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>

use Source in GetDescription

Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>

add target label

Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>

fix description string

Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>
Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.11.3
controller-gen.kubebuilder.io/version: v0.10.0
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes in this file are prolly from a bad rebase, please ignore

@acpana
Copy link
Author

acpana commented Mar 29, 2023

closing since base branch was merged in

@acpana acpana closed this Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants