From 232d0b3cb2fd4d52ab004131b8912395345ca113 Mon Sep 17 00:00:00 2001 From: "assaf.admi" Date: Tue, 24 Sep 2024 16:48:48 +0300 Subject: [PATCH] Rules group to use coralogix-management-sdk --- Dockerfile | 3 +- Makefile | 7 +- apis/coralogix/v1alpha1/rulegroup_types.go | 161 +- .../alphacontrollers/rulegroup_controller.go | 50 +- .../rulegroup_controller_test.go | 62 +- controllers/clientset/clientset.go | 7 +- .../clientset/grpc/rules-groups/v1/rule.pb.go | 1479 ----------------- .../grpc/rules-groups/v1/rule_group.pb.go | 265 --- .../rules-groups/v1/rule_groups_service.pb.go | 1099 ------------ .../v1/rule_groups_service_grpc.pb.go | 214 --- .../grpc/rules-groups/v1/rule_matcher.pb.go | 488 ------ .../grpc/rules-groups/v1/rule_subgroup.pb.go | 195 --- controllers/clientset/rules-groups-client.go | 74 +- .../mock_clientset/mock_rulegroups-client.go | 62 +- go.mod | 56 +- go.sum | 452 +---- kuttl-test.yaml | 2 +- 17 files changed, 224 insertions(+), 4452 deletions(-) delete mode 100644 controllers/clientset/grpc/rules-groups/v1/rule.pb.go delete mode 100644 controllers/clientset/grpc/rules-groups/v1/rule_group.pb.go delete mode 100644 controllers/clientset/grpc/rules-groups/v1/rule_groups_service.pb.go delete mode 100644 controllers/clientset/grpc/rules-groups/v1/rule_groups_service_grpc.pb.go delete mode 100644 controllers/clientset/grpc/rules-groups/v1/rule_matcher.pb.go delete mode 100644 controllers/clientset/grpc/rules-groups/v1/rule_subgroup.pb.go diff --git a/Dockerfile b/Dockerfile index 516dba2..60d2c0f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM golang:1.22 as builder ARG TARGETOS ARG TARGETARCH +ARG LDFLAGS WORKDIR /workspace # Copy the Go Modules manifests @@ -21,7 +22,7 @@ COPY controllers/ controllers/ # was called. For example, if we call make docker-build in a local env which has the Apple Silicon M1 SO # the docker BUILDPLATFORM arg will be linux/arm64 when for Apple x86 it will be linux/amd64. Therefore, # by leaving it empty we can ensure that the container and binary shipped on it will have the same platform. -RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager main.go +RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -ldflags="${LDFLAGS}" -o manager main.go # Use distroless as minimal base image to package the manager binary # Refer to https://github.com/GoogleContainerTools/distroless for more details diff --git a/Makefile b/Makefile index 9058d71..461dfc4 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ IMG ?= controller:latest # ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary. ENVTEST_K8S_VERSION = 1.25.0 +LDFLAGS ?= "-X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn" # Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set) ifeq (,$(shell go env GOBIN)) @@ -56,7 +57,7 @@ vet: ## Run go vet against code. .PHONY: test test: manifests generate fmt vet envtest ## Run tests. - KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test ./... -coverprofile cover.out + KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test ./... -ldflags $(LDFLAGS) -coverprofile cover.out ##@ Documentation .PHONY: generate-api-docs @@ -77,8 +78,8 @@ run: manifests generate fmt vet ## Run a controller from your host. # (i.e. docker build --platform linux/arm64 ). However, you must enable docker buildKit for it. # More info: https://docs.docker.com/develop/develop-images/build_enhancements/ .PHONY: docker-build -docker-build: test ## Build docker image with the manager. - docker build -t ${IMG} . +docker-build: ## Build docker image with the manager. + docker build --build-arg LDFLAGS=${LDFLAGS} -t ${IMG} . .PHONY: docker-push docker-push: ## Push docker image with the manager. diff --git a/apis/coralogix/v1alpha1/rulegroup_types.go b/apis/coralogix/v1alpha1/rulegroup_types.go index 8d5f0c1..89c3dff 100644 --- a/apis/coralogix/v1alpha1/rulegroup_types.go +++ b/apis/coralogix/v1alpha1/rulegroup_types.go @@ -19,40 +19,39 @@ package v1alpha1 import ( "encoding/json" "fmt" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" utils "github.com/coralogix/coralogix-operator/apis" - rulesgroups "github.com/coralogix/coralogix-operator/controllers/clientset/grpc/rules-groups/v1" - "google.golang.org/protobuf/types/known/wrapperspb" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) var ( - RulesSchemaSeverityToProtoSeverity = map[RuleSeverity]rulesgroups.SeverityConstraint_Value{ - RuleSeverityDebug: rulesgroups.SeverityConstraint_VALUE_DEBUG_OR_UNSPECIFIED, - RuleSeverityVerbose: rulesgroups.SeverityConstraint_VALUE_VERBOSE, - RuleSeverityInfo: rulesgroups.SeverityConstraint_VALUE_INFO, - RuleSeverityWarning: rulesgroups.SeverityConstraint_VALUE_WARNING, - RuleSeverityError: rulesgroups.SeverityConstraint_VALUE_ERROR, - RuleSeverityCritical: rulesgroups.SeverityConstraint_VALUE_CRITICAL, + RulesSchemaSeverityToProtoSeverity = map[RuleSeverity]cxsdk.SeverityConstraintValue{ + RuleSeverityDebug: cxsdk.SeverityConstraintValueDebugOrUnspecified, + RuleSeverityVerbose: cxsdk.SeverityConstraintValueVerbose, + RuleSeverityInfo: cxsdk.SeverityConstraintValueInfo, + RuleSeverityWarning: cxsdk.SeverityConstraintValueWarning, + RuleSeverityError: cxsdk.SeverityConstraintValueError, + RuleSeverityCritical: cxsdk.SeverityConstraintValueCritical, } RulesProtoSeverityToSchemaSeverity = utils.ReverseMap(RulesSchemaSeverityToProtoSeverity) - RulesSchemaDestinationFieldToProtoSeverityDestinationField = map[DestinationField]rulesgroups.JsonExtractParameters_DestinationField{ - DestinationFieldCategory: rulesgroups.JsonExtractParameters_DESTINATION_FIELD_CATEGORY_OR_UNSPECIFIED, - DestinationFieldClassName: rulesgroups.JsonExtractParameters_DESTINATION_FIELD_CLASSNAME, - DestinationFieldMethod: rulesgroups.JsonExtractParameters_DESTINATION_FIELD_METHODNAME, - DestinationFieldThreadID: rulesgroups.JsonExtractParameters_DESTINATION_FIELD_THREADID, - DestinationFieldRuleSeverity: rulesgroups.JsonExtractParameters_DESTINATION_FIELD_SEVERITY, + RulesSchemaDestinationFieldToProtoSeverityDestinationField = map[DestinationField]cxsdk.JSONExtractParametersDestinationField{ + DestinationFieldCategory: cxsdk.JSONExtractParametersDestinationFieldCategoryOrUnspecified, + DestinationFieldClassName: cxsdk.JSONExtractParametersDestinationFieldClassName, + DestinationFieldMethod: cxsdk.JSONExtractParametersDestinationFieldMethodName, + DestinationFieldThreadID: cxsdk.JSONExtractParametersDestinationFieldThreadID, + DestinationFieldRuleSeverity: cxsdk.JSONExtractParametersDestinationFieldSeverity, } RulesProtoSeverityDestinationFieldToSchemaDestinationField = utils.ReverseMap(RulesSchemaDestinationFieldToProtoSeverityDestinationField) - RulesSchemaFormatStandardToProtoFormatStandard = map[FieldFormatStandard]rulesgroups.ExtractTimestampParameters_FormatStandard{ - FieldFormatStandardStrftime: rulesgroups.ExtractTimestampParameters_FORMAT_STANDARD_STRFTIME_OR_UNSPECIFIED, - FieldFormatStandardJavaSDF: rulesgroups.ExtractTimestampParameters_FORMAT_STANDARD_JAVASDF, - FieldFormatStandardGolang: rulesgroups.ExtractTimestampParameters_FORMAT_STANDARD_GOLANG, - FieldFormatStandardSecondTS: rulesgroups.ExtractTimestampParameters_FORMAT_STANDARD_SECONDSTS, - FieldFormatStandardMilliTS: rulesgroups.ExtractTimestampParameters_FORMAT_STANDARD_MILLITS, - FieldFormatStandardMicroTS: rulesgroups.ExtractTimestampParameters_FORMAT_STANDARD_MICROTS, - FieldFormatStandardNanoTS: rulesgroups.ExtractTimestampParameters_FORMAT_STANDARD_NANOTS, + RulesSchemaFormatStandardToProtoFormatStandard = map[FieldFormatStandard]cxsdk.ExtractTimestampParametersFormatStandard{ + FieldFormatStandardStrftime: cxsdk.ExtractTimestampParametersFormatStandardStrftimeOrUnspecified, + FieldFormatStandardJavaSDF: cxsdk.ExtractTimestampParametersFormatStandardJavasdf, + FieldFormatStandardGolang: cxsdk.ExtractTimestampParametersFormatStandardGolang, + FieldFormatStandardSecondTS: cxsdk.ExtractTimestampParametersFormatStandardSecondsTS, + FieldFormatStandardMilliTS: cxsdk.ExtractTimestampParametersFormatStandardMilliTS, + FieldFormatStandardMicroTS: cxsdk.ExtractTimestampParametersFormatStandardMicroTS, + FieldFormatStandardNanoTS: cxsdk.ExtractTimestampParametersFormatStandardNanoTS, } RulesProtoFormatStandardToSchemaFormatStandard = utils.ReverseMap(RulesSchemaFormatStandardToProtoFormatStandard) ) @@ -808,15 +807,15 @@ func (in *RuleGroupSpec) DeepEqual(actualRuleGroup RuleGroupStatus) (bool, utils return true, utils.Diff{} } -func (in *RuleGroupSpec) ExtractUpdateRuleGroupRequest(id string) *rulesgroups.UpdateRuleGroupRequest { +func (in *RuleGroupSpec) ExtractUpdateRuleGroupRequest(id string) *cxsdk.UpdateRuleGroupRequest { ruleGroup := in.ExtractCreateRuleGroupRequest() - return &rulesgroups.UpdateRuleGroupRequest{ + return &cxsdk.UpdateRuleGroupRequest{ GroupId: wrapperspb.String(id), RuleGroup: ruleGroup, } } -func (in *RuleGroupSpec) ExtractCreateRuleGroupRequest() *rulesgroups.CreateRuleGroupRequest { +func (in *RuleGroupSpec) ExtractCreateRuleGroupRequest() *cxsdk.CreateRuleGroupRequest { name := wrapperspb.String(in.Name) description := wrapperspb.String(in.Description) enabled := wrapperspb.Bool(in.Active) @@ -826,7 +825,7 @@ func (in *RuleGroupSpec) ExtractCreateRuleGroupRequest() *rulesgroups.CreateRule ruleSubGroups := expandRuleSubGroups(in.RuleSubgroups) order := expandOrder(in.Order) - return &rulesgroups.CreateRuleGroupRequest{ + return &cxsdk.CreateRuleGroupRequest{ Name: name, Description: description, Enabled: enabled, @@ -845,8 +844,8 @@ func expandOrder(order *int32) *wrapperspb.UInt32Value { return nil } -func expandRuleSubGroups(subGroups []RuleSubGroup) []*rulesgroups.CreateRuleGroupRequest_CreateRuleSubgroup { - ruleSubGroups := make([]*rulesgroups.CreateRuleGroupRequest_CreateRuleSubgroup, 0, len(subGroups)) +func expandRuleSubGroups(subGroups []RuleSubGroup) []*cxsdk.CreateRuleGroupRequestCreateRuleSubgroup { + ruleSubGroups := make([]*cxsdk.CreateRuleGroupRequestCreateRuleSubgroup, 0, len(subGroups)) for i, subGroup := range subGroups { rsg := expandRuleSubGroup(subGroup) rsg.Order = wrapperspb.UInt32(uint32(i + 1)) @@ -855,17 +854,17 @@ func expandRuleSubGroups(subGroups []RuleSubGroup) []*rulesgroups.CreateRuleGrou return ruleSubGroups } -func expandRuleSubGroup(subGroup RuleSubGroup) *rulesgroups.CreateRuleGroupRequest_CreateRuleSubgroup { +func expandRuleSubGroup(subGroup RuleSubGroup) *cxsdk.CreateRuleGroupRequestCreateRuleSubgroup { enabled := wrapperspb.Bool(subGroup.Active) rules := expandRules(subGroup.Rules) - return &rulesgroups.CreateRuleGroupRequest_CreateRuleSubgroup{ + return &cxsdk.CreateRuleGroupRequestCreateRuleSubgroup{ Enabled: enabled, Rules: rules, } } -func expandRules(rules []Rule) []*rulesgroups.CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule { - expandedRules := make([]*rulesgroups.CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule, 0, len(rules)) +func expandRules(rules []Rule) []*cxsdk.CreateRuleGroupRequestCreateRuleSubgroupCreateRule { + expandedRules := make([]*cxsdk.CreateRuleGroupRequestCreateRuleSubgroupCreateRule, 0, len(rules)) for i, rule := range rules { r := expandRule(rule) r.Order = wrapperspb.UInt32(uint32(i + 1)) @@ -874,13 +873,13 @@ func expandRules(rules []Rule) []*rulesgroups.CreateRuleGroupRequest_CreateRuleS return expandedRules } -func expandRule(rule Rule) *rulesgroups.CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule { +func expandRule(rule Rule) *cxsdk.CreateRuleGroupRequestCreateRuleSubgroupCreateRule { name := wrapperspb.String(rule.Name) description := wrapperspb.String(rule.Description) enabled := wrapperspb.Bool(rule.Active) sourceFiled, parameters := expandSourceFiledAndParameters(rule) - return &rulesgroups.CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule{ + return &cxsdk.CreateRuleGroupRequestCreateRuleSubgroupCreateRule{ Name: name, Description: description, SourceField: sourceFiled, @@ -889,12 +888,12 @@ func expandRule(rule Rule) *rulesgroups.CreateRuleGroupRequest_CreateRuleSubgrou } } -func expandSourceFiledAndParameters(rule Rule) (sourceField *wrapperspb.StringValue, parameters *rulesgroups.RuleParameters) { +func expandSourceFiledAndParameters(rule Rule) (sourceField *wrapperspb.StringValue, parameters *cxsdk.RuleParameters) { if parse := rule.Parse; parse != nil { sourceField = wrapperspb.String(parse.SourceField) - parameters = &rulesgroups.RuleParameters{ - RuleParameters: &rulesgroups.RuleParameters_ParseParameters{ - ParseParameters: &rulesgroups.ParseParameters{ + parameters = &cxsdk.RuleParameters{ + RuleParameters: &cxsdk.RuleParametersParseParameters{ + ParseParameters: &cxsdk.ParseParameters{ DestinationField: wrapperspb.String(parse.DestinationField), Rule: wrapperspb.String(parse.Regex), }, @@ -902,9 +901,9 @@ func expandSourceFiledAndParameters(rule Rule) (sourceField *wrapperspb.StringVa } } else if parseJsonField := rule.ParseJsonField; parseJsonField != nil { sourceField = wrapperspb.String(parseJsonField.SourceField) - parameters = &rulesgroups.RuleParameters{ - RuleParameters: &rulesgroups.RuleParameters_JsonParseParameters{ - JsonParseParameters: &rulesgroups.JsonParseParameters{ + parameters = &cxsdk.RuleParameters{ + RuleParameters: &cxsdk.RuleParametersJSONParseParameters{ + JsonParseParameters: &cxsdk.JSONParseParameters{ DestinationField: wrapperspb.String(parseJsonField.DestinationField), DeleteSource: wrapperspb.Bool(!parseJsonField.KeepSourceField), OverrideDest: wrapperspb.Bool(!parseJsonField.KeepDestinationField), @@ -914,9 +913,9 @@ func expandSourceFiledAndParameters(rule Rule) (sourceField *wrapperspb.StringVa } } else if jsonStringify := rule.JsonStringify; jsonStringify != nil { sourceField = wrapperspb.String(jsonStringify.SourceField) - parameters = &rulesgroups.RuleParameters{ - RuleParameters: &rulesgroups.RuleParameters_JsonStringifyParameters{ - JsonStringifyParameters: &rulesgroups.JsonStringifyParameters{ + parameters = &cxsdk.RuleParameters{ + RuleParameters: &cxsdk.RuleParametersJSONStringifyParameters{ + JsonStringifyParameters: &cxsdk.JSONStringifyParameters{ DestinationField: wrapperspb.String(jsonStringify.DestinationField), DeleteSource: wrapperspb.Bool(!jsonStringify.KeepSourceField), }, @@ -926,9 +925,9 @@ func expandSourceFiledAndParameters(rule Rule) (sourceField *wrapperspb.StringVa sourceField = wrapperspb.String("text") destinationField := RulesSchemaDestinationFieldToProtoSeverityDestinationField[jsonExtract.DestinationField] jsonKey := wrapperspb.String(jsonExtract.JsonKey) - parameters = &rulesgroups.RuleParameters{ - RuleParameters: &rulesgroups.RuleParameters_JsonExtractParameters{ - JsonExtractParameters: &rulesgroups.JsonExtractParameters{ + parameters = &cxsdk.RuleParameters{ + RuleParameters: &cxsdk.RuleParametersJSONExtractParameters{ + JsonExtractParameters: &cxsdk.JSONExtractParameters{ DestinationField: destinationField, Rule: jsonKey, }, @@ -936,9 +935,9 @@ func expandSourceFiledAndParameters(rule Rule) (sourceField *wrapperspb.StringVa } } else if removeFields := rule.RemoveFields; removeFields != nil { sourceField = wrapperspb.String("text") - parameters = &rulesgroups.RuleParameters{ - RuleParameters: &rulesgroups.RuleParameters_RemoveFieldsParameters{ - RemoveFieldsParameters: &rulesgroups.RemoveFieldsParameters{ + parameters = &cxsdk.RuleParameters{ + RuleParameters: &cxsdk.RuleParametersRemoveFieldsParameters{ + RemoveFieldsParameters: &cxsdk.RemoveFieldsParameters{ Fields: removeFields.ExcludedFields, }, }, @@ -947,9 +946,9 @@ func expandSourceFiledAndParameters(rule Rule) (sourceField *wrapperspb.StringVa sourceField = wrapperspb.String(extractTimestamp.SourceField) standard := RulesSchemaFormatStandardToProtoFormatStandard[extractTimestamp.FieldFormatStandard] format := wrapperspb.String(extractTimestamp.TimeFormat) - parameters = &rulesgroups.RuleParameters{ - RuleParameters: &rulesgroups.RuleParameters_ExtractTimestampParameters{ - ExtractTimestampParameters: &rulesgroups.ExtractTimestampParameters{ + parameters = &cxsdk.RuleParameters{ + RuleParameters: &cxsdk.RuleParametersExtractTimestampParameters{ + ExtractTimestampParameters: &cxsdk.ExtractTimestampParameters{ Standard: standard, Format: format, }, @@ -958,18 +957,18 @@ func expandSourceFiledAndParameters(rule Rule) (sourceField *wrapperspb.StringVa } else if block := rule.Block; block != nil { sourceField = wrapperspb.String(block.SourceField) if block.BlockingAllMatchingBlocks { - parameters = &rulesgroups.RuleParameters{ - RuleParameters: &rulesgroups.RuleParameters_BlockParameters{ - BlockParameters: &rulesgroups.BlockParameters{ + parameters = &cxsdk.RuleParameters{ + RuleParameters: &cxsdk.RuleParametersBlockParameters{ + BlockParameters: &cxsdk.BlockParameters{ KeepBlockedLogs: wrapperspb.Bool(block.KeepBlockedLogs), Rule: wrapperspb.String(block.Regex), }, }, } } else { - parameters = &rulesgroups.RuleParameters{ - RuleParameters: &rulesgroups.RuleParameters_AllowParameters{ - AllowParameters: &rulesgroups.AllowParameters{ + parameters = &cxsdk.RuleParameters{ + RuleParameters: &cxsdk.RuleParametersAllowParameters{ + AllowParameters: &cxsdk.AllowParameters{ KeepBlockedLogs: wrapperspb.Bool(block.KeepBlockedLogs), Rule: wrapperspb.String(block.Regex), }, @@ -978,9 +977,9 @@ func expandSourceFiledAndParameters(rule Rule) (sourceField *wrapperspb.StringVa } } else if replace := rule.Replace; replace != nil { sourceField = wrapperspb.String(replace.SourceField) - parameters = &rulesgroups.RuleParameters{ - RuleParameters: &rulesgroups.RuleParameters_ReplaceParameters{ - ReplaceParameters: &rulesgroups.ReplaceParameters{ + parameters = &cxsdk.RuleParameters{ + RuleParameters: &cxsdk.RuleParametersReplaceParameters{ + ReplaceParameters: &cxsdk.ReplaceParameters{ DestinationField: wrapperspb.String(replace.DestinationField), ReplaceNewVal: wrapperspb.String(replace.ReplacementString), Rule: wrapperspb.String(replace.Regex), @@ -989,9 +988,9 @@ func expandSourceFiledAndParameters(rule Rule) (sourceField *wrapperspb.StringVa } } else if extract := rule.Extract; extract != nil { sourceField = wrapperspb.String(extract.SourceField) - parameters = &rulesgroups.RuleParameters{ - RuleParameters: &rulesgroups.RuleParameters_ExtractParameters{ - ExtractParameters: &rulesgroups.ExtractParameters{ + parameters = &cxsdk.RuleParameters{ + RuleParameters: &cxsdk.RuleParametersExtractParameters{ + ExtractParameters: &cxsdk.ExtractParameters{ Rule: wrapperspb.String(extract.Regex), }, }, @@ -1001,45 +1000,45 @@ func expandSourceFiledAndParameters(rule Rule) (sourceField *wrapperspb.StringVa return } -func expandRuleMatchers(applications, subsystems []string, severities []RuleSeverity) []*rulesgroups.RuleMatcher { - ruleMatchers := make([]*rulesgroups.RuleMatcher, 0, len(applications)+len(subsystems)+len(severities)) +func expandRuleMatchers(applications, subsystems []string, severities []RuleSeverity) []*cxsdk.RuleMatcher { + ruleMatchers := make([]*cxsdk.RuleMatcher, 0, len(applications)+len(subsystems)+len(severities)) for _, app := range applications { constraintStr := wrapperspb.String(app) - applicationNameConstraint := rulesgroups.ApplicationNameConstraint{Value: constraintStr} - ruleMatcherApplicationName := rulesgroups.RuleMatcher_ApplicationName{ApplicationName: &applicationNameConstraint} - ruleMatchers = append(ruleMatchers, &rulesgroups.RuleMatcher{Constraint: &ruleMatcherApplicationName}) + applicationNameConstraint := cxsdk.ApplicationNameConstraint{Value: constraintStr} + ruleMatcherApplicationName := cxsdk.RuleMatcherApplicationName{ApplicationName: &applicationNameConstraint} + ruleMatchers = append(ruleMatchers, &cxsdk.RuleMatcher{Constraint: &ruleMatcherApplicationName}) } for _, subSys := range subsystems { constraintStr := wrapperspb.String(subSys) - subsystemNameConstraint := rulesgroups.SubsystemNameConstraint{Value: constraintStr} - ruleMatcherApplicationName := rulesgroups.RuleMatcher_SubsystemName{SubsystemName: &subsystemNameConstraint} - ruleMatchers = append(ruleMatchers, &rulesgroups.RuleMatcher{Constraint: &ruleMatcherApplicationName}) + subsystemNameConstraint := cxsdk.SubsystemNameConstraint{Value: constraintStr} + ruleMatcherApplicationName := cxsdk.RuleMatcherSubsystemName{SubsystemName: &subsystemNameConstraint} + ruleMatchers = append(ruleMatchers, &cxsdk.RuleMatcher{Constraint: &ruleMatcherApplicationName}) } for _, sev := range severities { constraintEnum := RulesSchemaSeverityToProtoSeverity[sev] - severityConstraint := rulesgroups.SeverityConstraint{Value: constraintEnum} - ruleMatcherSeverity := rulesgroups.RuleMatcher_Severity{Severity: &severityConstraint} - ruleMatchers = append(ruleMatchers, &rulesgroups.RuleMatcher{Constraint: &ruleMatcherSeverity}) + severityConstraint := cxsdk.SeverityConstraint{Value: constraintEnum} + ruleMatcherSeverity := cxsdk.RuleMatcherSeverity{Severity: &severityConstraint} + ruleMatchers = append(ruleMatchers, &cxsdk.RuleMatcher{Constraint: &ruleMatcherSeverity}) } return ruleMatchers } -func flattenRuleMatchers(matchers []*rulesgroups.RuleMatcher) (applications []string, subsystems []string, severities []RuleSeverity) { +func flattenRuleMatchers(matchers []*cxsdk.RuleMatcher) (applications []string, subsystems []string, severities []RuleSeverity) { applications = make([]string, 0) subsystems = make([]string, 0) severities = make([]RuleSeverity, 0) for _, m := range matchers { switch m.Constraint.(type) { - case *rulesgroups.RuleMatcher_ApplicationName: + case *cxsdk.RuleMatcherApplicationName: applications = append(applications, m.GetApplicationName().GetValue().GetValue()) - case *rulesgroups.RuleMatcher_SubsystemName: + case *cxsdk.RuleMatcherSubsystemName: subsystems = append(subsystems, m.GetSubsystemName().GetValue().GetValue()) - case *rulesgroups.RuleMatcher_Severity: + case *cxsdk.RuleMatcherSeverity: severities = append(severities, RulesProtoSeverityToSchemaSeverity[m.GetSeverity().GetValue()]) } } diff --git a/controllers/alphacontrollers/rulegroup_controller.go b/controllers/alphacontrollers/rulegroup_controller.go index 6cf33f4..8289305 100644 --- a/controllers/alphacontrollers/rulegroup_controller.go +++ b/controllers/alphacontrollers/rulegroup_controller.go @@ -20,8 +20,8 @@ import ( "context" "fmt" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/coralogix/coralogix-operator/controllers/clientset" - rulesgroups "github.com/coralogix/coralogix-operator/controllers/clientset/grpc/rules-groups/v1" "github.com/golang/protobuf/jsonpb" "google.golang.org/grpc/codes" @@ -102,9 +102,9 @@ func (r *RuleGroupReconciler) Reconcile(ctx context.Context, req ctrl.Request) ( } ruleGroupId := *ruleGroupCRD.Status.ID - deleteRuleGroupReq := &rulesgroups.DeleteRuleGroupRequest{GroupId: ruleGroupId} + deleteRuleGroupReq := &cxsdk.DeleteRuleGroupRequest{GroupId: ruleGroupId} log.V(1).Info("Deleting Rule-Group", "Rule-Group ID", ruleGroupId) - if _, err := rulesGroupsClient.DeleteRuleGroup(ctx, deleteRuleGroupReq); err != nil { + if _, err := rulesGroupsClient.Delete(ctx, deleteRuleGroupReq); err != nil { // if fail to delete the external dependency here, return with error // so that it can be retried unless it is deleted manually. log.Error(err, "Received an error while Deleting a Rule-Group", "Rule-Group ID", ruleGroupId) @@ -138,7 +138,7 @@ func (r *RuleGroupReconciler) Reconcile(ctx context.Context, req ctrl.Request) ( log.V(1).Info("ruleGroup wasn't created") notFound = true } else { - getRuleGroupResp, err := rulesGroupsClient.GetRuleGroup(ctx, &rulesgroups.GetRuleGroupRequest{GroupId: *id}) + getRuleGroupResp, err := rulesGroupsClient.Get(ctx, &cxsdk.GetRuleGroupRequest{GroupId: *id}) switch { case status.Code(err) == codes.NotFound: log.V(1).Info("ruleGroup doesn't exist in Coralogix backend") @@ -159,7 +159,7 @@ func (r *RuleGroupReconciler) Reconcile(ctx context.Context, req ctrl.Request) ( createRuleGroupReq := ruleGroupCRD.Spec.ExtractCreateRuleGroupRequest() jstr, _ := jsm.MarshalToString(createRuleGroupReq) log.V(1).Info("Creating Rule-Group", "ruleGroup", jstr) - if createRuleGroupResp, err := rulesGroupsClient.CreateRuleGroup(ctx, createRuleGroupReq); err == nil { + if createRuleGroupResp, err := rulesGroupsClient.Create(ctx, createRuleGroupReq); err == nil { jstr, _ := jsm.MarshalToString(createRuleGroupResp) log.V(1).Info("Rule-Group was updated", "ruleGroup", jstr) @@ -193,7 +193,7 @@ func (r *RuleGroupReconciler) Reconcile(ctx context.Context, req ctrl.Request) ( if equal, diff := ruleGroupCRD.Spec.DeepEqual(*actualState); !equal { log.V(1).Info("Find diffs between spec and the actual state", "Diff", diff) updateRuleGroupReq := ruleGroupCRD.Spec.ExtractUpdateRuleGroupRequest(*ruleGroupCRD.Status.ID) - updateRuleGroupResp, err := rulesGroupsClient.UpdateRuleGroup(ctx, updateRuleGroupReq) + updateRuleGroupResp, err := rulesGroupsClient.Update(ctx, updateRuleGroupReq) if err != nil { log.Error(err, "Received an error while updating a Rule-Group", "ruleGroup", updateRuleGroupReq) return ctrl.Result{RequeueAfter: defaultErrRequeuePeriod}, err @@ -205,7 +205,7 @@ func (r *RuleGroupReconciler) Reconcile(ctx context.Context, req ctrl.Request) ( return ctrl.Result{}, nil } -func flattenRuleGroup(ruleGroup *rulesgroups.RuleGroup) (*coralogixv1alpha1.RuleGroupStatus, error) { +func flattenRuleGroup(ruleGroup *cxsdk.RuleGroup) (*coralogixv1alpha1.RuleGroupStatus, error) { var status coralogixv1alpha1.RuleGroupStatus status.ID = new(string) @@ -238,7 +238,7 @@ func flattenRuleGroup(ruleGroup *rulesgroups.RuleGroup) (*coralogixv1alpha1.Rule return &status, nil } -func flattenRuleSubGroups(subgroups []*rulesgroups.RuleSubgroup) ([]coralogixv1alpha1.RuleSubGroup, error) { +func flattenRuleSubGroups(subgroups []*cxsdk.RuleSubgroup) ([]coralogixv1alpha1.RuleSubGroup, error) { result := make([]coralogixv1alpha1.RuleSubGroup, 0, len(subgroups)) for _, sg := range subgroups { subgroup, err := flattenRuleSubGroup(sg) @@ -250,7 +250,7 @@ func flattenRuleSubGroups(subgroups []*rulesgroups.RuleSubgroup) ([]coralogixv1a return result, nil } -func flattenRuleSubGroup(subGroup *rulesgroups.RuleSubgroup) (coralogixv1alpha1.RuleSubGroup, error) { +func flattenRuleSubGroup(subGroup *cxsdk.RuleSubgroup) (coralogixv1alpha1.RuleSubGroup, error) { var result coralogixv1alpha1.RuleSubGroup result.ID = new(string) @@ -269,7 +269,7 @@ func flattenRuleSubGroup(subGroup *rulesgroups.RuleSubgroup) (coralogixv1alpha1. return result, nil } -func flattenRules(rules []*rulesgroups.Rule) ([]coralogixv1alpha1.Rule, error) { +func flattenRules(rules []*cxsdk.Rule) ([]coralogixv1alpha1.Rule, error) { result := make([]coralogixv1alpha1.Rule, 0, len(rules)) for _, r := range rules { rule, err := flattenRule(r) @@ -281,26 +281,26 @@ func flattenRules(rules []*rulesgroups.Rule) ([]coralogixv1alpha1.Rule, error) { return result, nil } -func flattenRule(rule *rulesgroups.Rule) (coralogixv1alpha1.Rule, error) { +func flattenRule(rule *cxsdk.Rule) (coralogixv1alpha1.Rule, error) { var result coralogixv1alpha1.Rule result.Name = rule.GetName().GetValue() result.Active = rule.GetEnabled().GetValue() result.Description = rule.GetDescription().GetValue() switch ruleParams := rule.GetParameters().GetRuleParameters().(type) { - case *rulesgroups.RuleParameters_ExtractParameters: + case *cxsdk.RuleParametersExtractParameters: extractParameters := ruleParams.ExtractParameters result.Extract = &coralogixv1alpha1.Extract{ Regex: extractParameters.GetRule().GetValue(), SourceField: rule.GetSourceField().GetValue(), } - case *rulesgroups.RuleParameters_JsonExtractParameters: + case *cxsdk.RuleParametersJSONExtractParameters: jsonExtractParameters := ruleParams.JsonExtractParameters result.JsonExtract = &coralogixv1alpha1.JsonExtract{ JsonKey: jsonExtractParameters.GetRule().GetValue(), DestinationField: coralogixv1alpha1.RulesProtoSeverityDestinationFieldToSchemaDestinationField[jsonExtractParameters.GetDestinationField()], } - case *rulesgroups.RuleParameters_ReplaceParameters: + case *cxsdk.RuleParametersReplaceParameters: replaceParameters := ruleParams.ReplaceParameters result.Replace = &coralogixv1alpha1.Replace{ SourceField: rule.GetSourceField().GetValue(), @@ -308,14 +308,14 @@ func flattenRule(rule *rulesgroups.Rule) (coralogixv1alpha1.Rule, error) { Regex: replaceParameters.GetRule().GetValue(), ReplacementString: replaceParameters.GetReplaceNewVal().GetValue(), } - case *rulesgroups.RuleParameters_ParseParameters: + case *cxsdk.RuleParametersParseParameters: parseParameters := ruleParams.ParseParameters result.Parse = &coralogixv1alpha1.Parse{ SourceField: rule.GetSourceField().GetValue(), DestinationField: parseParameters.GetDestinationField().GetValue(), Regex: parseParameters.GetRule().GetValue(), } - case *rulesgroups.RuleParameters_AllowParameters: + case *cxsdk.RuleParametersAllowParameters: allowParameters := ruleParams.AllowParameters result.Block = &coralogixv1alpha1.Block{ SourceField: rule.GetSourceField().GetValue(), @@ -323,7 +323,7 @@ func flattenRule(rule *rulesgroups.Rule) (coralogixv1alpha1.Rule, error) { KeepBlockedLogs: allowParameters.GetKeepBlockedLogs().GetValue(), BlockingAllMatchingBlocks: false, } - case *rulesgroups.RuleParameters_BlockParameters: + case *cxsdk.RuleParametersBlockParameters: blockParameters := ruleParams.BlockParameters result.Block = &coralogixv1alpha1.Block{ SourceField: rule.GetSourceField().GetValue(), @@ -331,26 +331,26 @@ func flattenRule(rule *rulesgroups.Rule) (coralogixv1alpha1.Rule, error) { KeepBlockedLogs: blockParameters.GetKeepBlockedLogs().GetValue(), BlockingAllMatchingBlocks: true, } - case *rulesgroups.RuleParameters_ExtractTimestampParameters: + case *cxsdk.RuleParametersExtractTimestampParameters: extractTimestampParameters := ruleParams.ExtractTimestampParameters result.ExtractTimestamp = &coralogixv1alpha1.ExtractTimestamp{ SourceField: rule.GetSourceField().GetValue(), TimeFormat: extractTimestampParameters.GetFormat().GetValue(), FieldFormatStandard: coralogixv1alpha1.RulesProtoFormatStandardToSchemaFormatStandard[extractTimestampParameters.GetStandard()], } - case *rulesgroups.RuleParameters_RemoveFieldsParameters: + case *cxsdk.RuleParametersRemoveFieldsParameters: removeFieldsParameters := ruleParams.RemoveFieldsParameters result.RemoveFields = &coralogixv1alpha1.RemoveFields{ ExcludedFields: removeFieldsParameters.GetFields(), } - case *rulesgroups.RuleParameters_JsonStringifyParameters: + case *cxsdk.RuleParametersJSONStringifyParameters: jsonStringifyParameters := ruleParams.JsonStringifyParameters result.JsonStringify = &coralogixv1alpha1.JsonStringify{ SourceField: rule.GetSourceField().GetValue(), DestinationField: jsonStringifyParameters.GetDestinationField().GetValue(), KeepSourceField: !(jsonStringifyParameters.GetDeleteSource().GetValue()), } - case *rulesgroups.RuleParameters_JsonParseParameters: + case *cxsdk.RuleParametersJSONParseParameters: jsonParseParameters := ruleParams.JsonParseParameters result.ParseJsonField = &coralogixv1alpha1.ParseJsonField{ SourceField: rule.GetSourceField().GetValue(), @@ -364,14 +364,14 @@ func flattenRule(rule *rulesgroups.Rule) (coralogixv1alpha1.Rule, error) { return result, nil } -func flattenRuleMatcher(ruleMatchers []*rulesgroups.RuleMatcher) (applications, subsystems []string, severities []coralogixv1alpha1.RuleSeverity, err error) { +func flattenRuleMatcher(ruleMatchers []*cxsdk.RuleMatcher) (applications, subsystems []string, severities []coralogixv1alpha1.RuleSeverity, err error) { for _, ruleMatcher := range ruleMatchers { switch matcher := ruleMatcher.Constraint.(type) { - case *rulesgroups.RuleMatcher_ApplicationName: + case *cxsdk.RuleMatcherApplicationName: applications = append(applications, matcher.ApplicationName.GetValue().GetValue()) - case *rulesgroups.RuleMatcher_SubsystemName: + case *cxsdk.RuleMatcherSubsystemName: subsystems = append(subsystems, matcher.SubsystemName.GetValue().GetValue()) - case *rulesgroups.RuleMatcher_Severity: + case *cxsdk.RuleMatcherSeverity: severity := matcher.Severity.GetValue() severities = append(severities, coralogixv1alpha1.RulesProtoSeverityToSchemaSeverity[severity]) default: diff --git a/controllers/alphacontrollers/rulegroup_controller_test.go b/controllers/alphacontrollers/rulegroup_controller_test.go index a87b049..d02445d 100644 --- a/controllers/alphacontrollers/rulegroup_controller_test.go +++ b/controllers/alphacontrollers/rulegroup_controller_test.go @@ -5,9 +5,9 @@ import ( "fmt" "testing" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" coralogixv1alpha1 "github.com/coralogix/coralogix-operator/apis/coralogix/v1alpha1" "github.com/coralogix/coralogix-operator/controllers/clientset" - rulesgroups "github.com/coralogix/coralogix-operator/controllers/clientset/grpc/rules-groups/v1" "github.com/coralogix/coralogix-operator/controllers/mock_clientset" "github.com/stretchr/testify/assert" "go.uber.org/mock/gomock" @@ -24,28 +24,28 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log/zap" ) -var ruleGroupBackendSchema = &rulesgroups.RuleGroup{ +var ruleGroupBackendSchema = &cxsdk.RuleGroup{ Id: wrapperspb.String("id"), Name: wrapperspb.String("name"), Description: wrapperspb.String("description"), Creator: wrapperspb.String("creator"), Enabled: wrapperspb.Bool(true), Hidden: wrapperspb.Bool(false), - RuleMatchers: []*rulesgroups.RuleMatcher{}, - RuleSubgroups: []*rulesgroups.RuleSubgroup{ + RuleMatchers: []*cxsdk.RuleMatcher{}, + RuleSubgroups: []*cxsdk.RuleSubgroup{ { Id: wrapperspb.String("subgroup_id"), Order: wrapperspb.UInt32(1), - Rules: []*rulesgroups.Rule{ + Rules: []*cxsdk.Rule{ { Id: wrapperspb.String("rule_id"), Name: wrapperspb.String("rule_name"), Description: wrapperspb.String("rule_description"), SourceField: wrapperspb.String("text"), - Parameters: &rulesgroups.RuleParameters{ - RuleParameters: &rulesgroups.RuleParameters_JsonExtractParameters{ - JsonExtractParameters: &rulesgroups.JsonExtractParameters{ - DestinationField: rulesgroups.JsonExtractParameters_DESTINATION_FIELD_SEVERITY, + Parameters: &cxsdk.RuleParameters{ + RuleParameters: &cxsdk.RuleParametersJSONExtractParameters{ + JsonExtractParameters: &cxsdk.JSONExtractParameters{ + DestinationField: cxsdk.JSONExtractParametersDestinationFieldSeverity, Rule: wrapperspb.String(`{"severity": "info"}`), }, }, @@ -91,23 +91,23 @@ func expectedRuleGroupCRD() *coralogixv1alpha1.RuleGroup { } func TestFlattenRuleGroupsErrorsOnBadResponse(t *testing.T) { - ruleGroup := &rulesgroups.RuleGroup{ + ruleGroup := &cxsdk.RuleGroup{ Id: wrapperspb.String("id"), Name: wrapperspb.String("name"), Description: wrapperspb.String("description"), Creator: wrapperspb.String("creator"), Enabled: wrapperspb.Bool(true), Hidden: wrapperspb.Bool(false), - RuleMatchers: []*rulesgroups.RuleMatcher{}, - RuleSubgroups: []*rulesgroups.RuleSubgroup{ + RuleMatchers: []*cxsdk.RuleMatcher{}, + RuleSubgroups: []*cxsdk.RuleSubgroup{ { - Rules: []*rulesgroups.Rule{ + Rules: []*cxsdk.Rule{ { Id: wrapperspb.String("rule_id"), Name: wrapperspb.String("rule_name"), Description: wrapperspb.String("rule_description"), SourceField: wrapperspb.String("text"), - Parameters: &rulesgroups.RuleParameters{ + Parameters: &cxsdk.RuleParameters{ RuleParameters: nil, }, Enabled: wrapperspb.Bool(true), @@ -212,8 +212,8 @@ func TestRuleGroupReconciler_Reconcile(t *testing.T) { if !assert.NotNil(t, id) { return } - getRuleGroupRequest := &rulesgroups.GetRuleGroupRequest{GroupId: *id} - actualRuleGroup, err := r.CoralogixClientSet.RuleGroups().GetRuleGroup(ctx, getRuleGroupRequest) + getRuleGroupRequest := &cxsdk.GetRuleGroupRequest{GroupId: *id} + actualRuleGroup, err := r.CoralogixClientSet.RuleGroups().Get(ctx, getRuleGroupRequest) assert.NoError(t, err) assert.EqualValues(t, ruleGroupBackendSchema, actualRuleGroup.GetRuleGroup()) @@ -224,7 +224,7 @@ func TestRuleGroupReconciler_Reconcile(t *testing.T) { assert.NoError(t, err) assert.Equal(t, false, result.Requeue) - actualRuleGroup, err = r.CoralogixClientSet.RuleGroups().GetRuleGroup(ctx, getRuleGroupRequest) + actualRuleGroup, err = r.CoralogixClientSet.RuleGroups().Get(ctx, getRuleGroupRequest) assert.Nil(t, actualRuleGroup) assert.Error(t, err) } @@ -279,8 +279,8 @@ func TestRuleGroupReconciler_Reconcile_5XX_StatusError(t *testing.T) { if !assert.NotNil(t, id) { return } - getRuleGroupRequest := &rulesgroups.GetRuleGroupRequest{GroupId: *id} - actualRuleGroup, err := r.CoralogixClientSet.RuleGroups().GetRuleGroup(ctx, getRuleGroupRequest) + getRuleGroupRequest := &cxsdk.GetRuleGroupRequest{GroupId: *id} + actualRuleGroup, err := r.CoralogixClientSet.RuleGroups().Get(ctx, getRuleGroupRequest) assert.NoError(t, err) assert.EqualValues(t, ruleGroupBackendSchema, actualRuleGroup.GetRuleGroup()) @@ -296,24 +296,24 @@ func createRuleGroupClientSimpleMock(mockCtrl *gomock.Controller) clientset.Rule var ruleGroupExist bool mockRuleGroupsClient.EXPECT(). - CreateRuleGroup(gomock.Any(), gomock.Any()).DoAndReturn(func(_ context.Context, _ *rulesgroups.CreateRuleGroupRequest) (*rulesgroups.CreateRuleGroupResponse, error) { + Create(gomock.Any(), gomock.Any()).DoAndReturn(func(_ context.Context, _ *cxsdk.CreateRuleGroupRequest) (*cxsdk.CreateRuleGroupResponse, error) { ruleGroupExist = true - return &rulesgroups.CreateRuleGroupResponse{RuleGroup: ruleGroupBackendSchema}, nil + return &cxsdk.CreateRuleGroupResponse{RuleGroup: ruleGroupBackendSchema}, nil }).AnyTimes() mockRuleGroupsClient.EXPECT(). - GetRuleGroup(gomock.Any(), gomock.Any()).DoAndReturn(func(ctx context.Context, req *rulesgroups.GetRuleGroupRequest) (*rulesgroups.GetRuleGroupResponse, error) { + Get(gomock.Any(), gomock.Any()).DoAndReturn(func(ctx context.Context, req *cxsdk.GetRuleGroupRequest) (*cxsdk.GetRuleGroupResponse, error) { if ruleGroupExist { - return &rulesgroups.GetRuleGroupResponse{RuleGroup: ruleGroupBackendSchema}, nil + return &cxsdk.GetRuleGroupResponse{RuleGroup: ruleGroupBackendSchema}, nil } return nil, errors.NewNotFound(schema.GroupResource{}, "id1") }).AnyTimes() mockRuleGroupsClient.EXPECT(). - DeleteRuleGroup(gomock.Any(), gomock.Any()).DoAndReturn(func(_ context.Context, req *rulesgroups.DeleteRuleGroupRequest) (*rulesgroups.DeleteRuleGroupResponse, error) { + Delete(gomock.Any(), gomock.Any()).DoAndReturn(func(_ context.Context, req *cxsdk.DeleteRuleGroupRequest) (*cxsdk.DeleteRuleGroupResponse, error) { if ruleGroupExist { ruleGroupExist = false - return &rulesgroups.DeleteRuleGroupResponse{}, nil + return &cxsdk.DeleteRuleGroupResponse{}, nil } return nil, errors.NewNotFound(schema.GroupResource{}, "id1") }).AnyTimes() @@ -328,28 +328,28 @@ func createRecordingRuleGroupClientSimpleMockWith5XXStatusError(mockCtrl *gomock var ruleGroupExist, wasCalled bool mockRuleGroupsClient.EXPECT(). - CreateRuleGroup(gomock.Any(), gomock.Any()).DoAndReturn(func(_ context.Context, _ *rulesgroups.CreateRuleGroupRequest) (*rulesgroups.CreateRuleGroupResponse, error) { + Create(gomock.Any(), gomock.Any()).DoAndReturn(func(_ context.Context, _ *cxsdk.CreateRuleGroupRequest) (*cxsdk.CreateRuleGroupResponse, error) { if !wasCalled { wasCalled = true return nil, errors.NewInternalError(fmt.Errorf("internal error")) } ruleGroupExist = true - return &rulesgroups.CreateRuleGroupResponse{RuleGroup: ruleGroupBackendSchema}, nil + return &cxsdk.CreateRuleGroupResponse{RuleGroup: ruleGroupBackendSchema}, nil }).AnyTimes() mockRuleGroupsClient.EXPECT(). - GetRuleGroup(gomock.Any(), gomock.Any()).DoAndReturn(func(ctx context.Context, req *rulesgroups.GetRuleGroupRequest) (*rulesgroups.GetRuleGroupResponse, error) { + Get(gomock.Any(), gomock.Any()).DoAndReturn(func(ctx context.Context, req *cxsdk.GetRuleGroupRequest) (*cxsdk.GetRuleGroupResponse, error) { if ruleGroupExist { - return &rulesgroups.GetRuleGroupResponse{RuleGroup: ruleGroupBackendSchema}, nil + return &cxsdk.GetRuleGroupResponse{RuleGroup: ruleGroupBackendSchema}, nil } return nil, errors.NewNotFound(schema.GroupResource{}, "id1") }).AnyTimes() mockRuleGroupsClient.EXPECT(). - DeleteRuleGroup(gomock.Any(), gomock.Any()).DoAndReturn(func(_ context.Context, req *rulesgroups.DeleteRuleGroupRequest) (*rulesgroups.DeleteRuleGroupResponse, error) { + Delete(gomock.Any(), gomock.Any()).DoAndReturn(func(_ context.Context, req *cxsdk.DeleteRuleGroupRequest) (*cxsdk.DeleteRuleGroupResponse, error) { if ruleGroupExist { ruleGroupExist = false - return &rulesgroups.DeleteRuleGroupResponse{}, nil + return &cxsdk.DeleteRuleGroupResponse{}, nil } return nil, errors.NewNotFound(schema.GroupResource{}, "id1") }).AnyTimes() diff --git a/controllers/clientset/clientset.go b/controllers/clientset/clientset.go index 4564cac..3f7ac07 100644 --- a/controllers/clientset/clientset.go +++ b/controllers/clientset/clientset.go @@ -1,5 +1,7 @@ package clientset +import cxsdk "github.com/coralogix/coralogix-management-sdk/go" + //go:generate mockgen -destination=../mock_clientset/mock_clientset.go -package=mock_clientset github.com/coralogix/coralogix-operator/controllers/clientset ClientSetInterface type ClientSetInterface interface { RuleGroups() RuleGroupsClientInterface @@ -9,7 +11,7 @@ type ClientSetInterface interface { } type ClientSet struct { - ruleGroups *RuleGroupsClient + ruleGroups *cxsdk.RuleGroupsClient alerts *AlertsClient recordingRuleGroups *RecordingRulesGroupsClient outboundWebhooks *OutboundWebhooksClient @@ -33,9 +35,10 @@ func (c *ClientSet) OutboundWebhooks() OutboundWebhooksClientInterface { func NewClientSet(targetUrl, apiKey string) ClientSetInterface { apikeyCPC := NewCallPropertiesCreator(targetUrl, apiKey) + SDKAPIKeyCPC := cxsdk.NewCallPropertiesCreator(targetUrl, cxsdk.NewAuthContext(apiKey, apiKey)) return &ClientSet{ - ruleGroups: NewRuleGroupsClient(apikeyCPC), + ruleGroups: cxsdk.NewRuleGroupsClient(SDKAPIKeyCPC), alerts: NewAlertsClient(apikeyCPC), recordingRuleGroups: NewRecordingRuleGroupsClient(apikeyCPC), outboundWebhooks: NewOutboundWebhooksClient(apikeyCPC), diff --git a/controllers/clientset/grpc/rules-groups/v1/rule.pb.go b/controllers/clientset/grpc/rules-groups/v1/rule.pb.go deleted file mode 100644 index d2fa7cc..0000000 --- a/controllers/clientset/grpc/rules-groups/v1/rule.pb.go +++ /dev/null @@ -1,1479 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.3 -// source: com/coralogix/rules/v1/rule.proto - -package __ - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type JsonExtractParameters_DestinationField int32 - -const ( - JsonExtractParameters_DESTINATION_FIELD_CATEGORY_OR_UNSPECIFIED JsonExtractParameters_DestinationField = 0 - JsonExtractParameters_DESTINATION_FIELD_CLASSNAME JsonExtractParameters_DestinationField = 1 - JsonExtractParameters_DESTINATION_FIELD_METHODNAME JsonExtractParameters_DestinationField = 2 - JsonExtractParameters_DESTINATION_FIELD_THREADID JsonExtractParameters_DestinationField = 3 - JsonExtractParameters_DESTINATION_FIELD_SEVERITY JsonExtractParameters_DestinationField = 4 -) - -// Enum value maps for JsonExtractParameters_DestinationField. -var ( - JsonExtractParameters_DestinationField_name = map[int32]string{ - 0: "DESTINATION_FIELD_CATEGORY_OR_UNSPECIFIED", - 1: "DESTINATION_FIELD_CLASSNAME", - 2: "DESTINATION_FIELD_METHODNAME", - 3: "DESTINATION_FIELD_THREADID", - 4: "DESTINATION_FIELD_SEVERITY", - } - JsonExtractParameters_DestinationField_value = map[string]int32{ - "DESTINATION_FIELD_CATEGORY_OR_UNSPECIFIED": 0, - "DESTINATION_FIELD_CLASSNAME": 1, - "DESTINATION_FIELD_METHODNAME": 2, - "DESTINATION_FIELD_THREADID": 3, - "DESTINATION_FIELD_SEVERITY": 4, - } -) - -func (x JsonExtractParameters_DestinationField) Enum() *JsonExtractParameters_DestinationField { - p := new(JsonExtractParameters_DestinationField) - *p = x - return p -} - -func (x JsonExtractParameters_DestinationField) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (JsonExtractParameters_DestinationField) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_rules_v1_rule_proto_enumTypes[0].Descriptor() -} - -func (JsonExtractParameters_DestinationField) Type() protoreflect.EnumType { - return &file_com_coralogix_rules_v1_rule_proto_enumTypes[0] -} - -func (x JsonExtractParameters_DestinationField) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use JsonExtractParameters_DestinationField.Descriptor instead. -func (JsonExtractParameters_DestinationField) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{3, 0} -} - -type ExtractTimestampParameters_FormatStandard int32 - -const ( - ExtractTimestampParameters_FORMAT_STANDARD_STRFTIME_OR_UNSPECIFIED ExtractTimestampParameters_FormatStandard = 0 - ExtractTimestampParameters_FORMAT_STANDARD_JAVASDF ExtractTimestampParameters_FormatStandard = 1 - ExtractTimestampParameters_FORMAT_STANDARD_GOLANG ExtractTimestampParameters_FormatStandard = 2 - ExtractTimestampParameters_FORMAT_STANDARD_SECONDSTS ExtractTimestampParameters_FormatStandard = 3 - ExtractTimestampParameters_FORMAT_STANDARD_MILLITS ExtractTimestampParameters_FormatStandard = 4 - ExtractTimestampParameters_FORMAT_STANDARD_MICROTS ExtractTimestampParameters_FormatStandard = 5 - ExtractTimestampParameters_FORMAT_STANDARD_NANOTS ExtractTimestampParameters_FormatStandard = 6 -) - -// Enum value maps for ExtractTimestampParameters_FormatStandard. -var ( - ExtractTimestampParameters_FormatStandard_name = map[int32]string{ - 0: "FORMAT_STANDARD_STRFTIME_OR_UNSPECIFIED", - 1: "FORMAT_STANDARD_JAVASDF", - 2: "FORMAT_STANDARD_GOLANG", - 3: "FORMAT_STANDARD_SECONDSTS", - 4: "FORMAT_STANDARD_MILLITS", - 5: "FORMAT_STANDARD_MICROTS", - 6: "FORMAT_STANDARD_NANOTS", - } - ExtractTimestampParameters_FormatStandard_value = map[string]int32{ - "FORMAT_STANDARD_STRFTIME_OR_UNSPECIFIED": 0, - "FORMAT_STANDARD_JAVASDF": 1, - "FORMAT_STANDARD_GOLANG": 2, - "FORMAT_STANDARD_SECONDSTS": 3, - "FORMAT_STANDARD_MILLITS": 4, - "FORMAT_STANDARD_MICROTS": 5, - "FORMAT_STANDARD_NANOTS": 6, - } -) - -func (x ExtractTimestampParameters_FormatStandard) Enum() *ExtractTimestampParameters_FormatStandard { - p := new(ExtractTimestampParameters_FormatStandard) - *p = x - return p -} - -func (x ExtractTimestampParameters_FormatStandard) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ExtractTimestampParameters_FormatStandard) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_rules_v1_rule_proto_enumTypes[1].Descriptor() -} - -func (ExtractTimestampParameters_FormatStandard) Type() protoreflect.EnumType { - return &file_com_coralogix_rules_v1_rule_proto_enumTypes[1] -} - -func (x ExtractTimestampParameters_FormatStandard) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ExtractTimestampParameters_FormatStandard.Descriptor instead. -func (ExtractTimestampParameters_FormatStandard) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{8, 0} -} - -type Rule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - SourceField *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=source_field,json=sourceField,proto3" json:"source_field,omitempty"` - Parameters *RuleParameters `protobuf:"bytes,6,opt,name=parameters,proto3" json:"parameters,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=enabled,proto3" json:"enabled,omitempty"` - Order *wrapperspb.UInt32Value `protobuf:"bytes,8,opt,name=order,proto3" json:"order,omitempty"` -} - -func (x *Rule) Reset() { - *x = Rule{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Rule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Rule) ProtoMessage() {} - -func (x *Rule) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Rule.ProtoReflect.Descriptor instead. -func (*Rule) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{0} -} - -func (x *Rule) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *Rule) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *Rule) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *Rule) GetSourceField() *wrapperspb.StringValue { - if x != nil { - return x.SourceField - } - return nil -} - -func (x *Rule) GetParameters() *RuleParameters { - if x != nil { - return x.Parameters - } - return nil -} - -func (x *Rule) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -func (x *Rule) GetOrder() *wrapperspb.UInt32Value { - if x != nil { - return x.Order - } - return nil -} - -type RuleParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to RuleParameters: - // *RuleParameters_ExtractParameters - // *RuleParameters_JsonExtractParameters - // *RuleParameters_ReplaceParameters - // *RuleParameters_ParseParameters - // *RuleParameters_AllowParameters - // *RuleParameters_BlockParameters - // *RuleParameters_ExtractTimestampParameters - // *RuleParameters_RemoveFieldsParameters - // *RuleParameters_JsonStringifyParameters - // *RuleParameters_JsonParseParameters - RuleParameters isRuleParameters_RuleParameters `protobuf_oneof:"rule_parameters"` -} - -func (x *RuleParameters) Reset() { - *x = RuleParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RuleParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RuleParameters) ProtoMessage() {} - -func (x *RuleParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RuleParameters.ProtoReflect.Descriptor instead. -func (*RuleParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{1} -} - -func (m *RuleParameters) GetRuleParameters() isRuleParameters_RuleParameters { - if m != nil { - return m.RuleParameters - } - return nil -} - -func (x *RuleParameters) GetExtractParameters() *ExtractParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_ExtractParameters); ok { - return x.ExtractParameters - } - return nil -} - -func (x *RuleParameters) GetJsonExtractParameters() *JsonExtractParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_JsonExtractParameters); ok { - return x.JsonExtractParameters - } - return nil -} - -func (x *RuleParameters) GetReplaceParameters() *ReplaceParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_ReplaceParameters); ok { - return x.ReplaceParameters - } - return nil -} - -func (x *RuleParameters) GetParseParameters() *ParseParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_ParseParameters); ok { - return x.ParseParameters - } - return nil -} - -func (x *RuleParameters) GetAllowParameters() *AllowParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_AllowParameters); ok { - return x.AllowParameters - } - return nil -} - -func (x *RuleParameters) GetBlockParameters() *BlockParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_BlockParameters); ok { - return x.BlockParameters - } - return nil -} - -func (x *RuleParameters) GetExtractTimestampParameters() *ExtractTimestampParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_ExtractTimestampParameters); ok { - return x.ExtractTimestampParameters - } - return nil -} - -func (x *RuleParameters) GetRemoveFieldsParameters() *RemoveFieldsParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_RemoveFieldsParameters); ok { - return x.RemoveFieldsParameters - } - return nil -} - -func (x *RuleParameters) GetJsonStringifyParameters() *JsonStringifyParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_JsonStringifyParameters); ok { - return x.JsonStringifyParameters - } - return nil -} - -func (x *RuleParameters) GetJsonParseParameters() *JsonParseParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_JsonParseParameters); ok { - return x.JsonParseParameters - } - return nil -} - -type isRuleParameters_RuleParameters interface { - isRuleParameters_RuleParameters() -} - -type RuleParameters_ExtractParameters struct { - ExtractParameters *ExtractParameters `protobuf:"bytes,1,opt,name=extract_parameters,json=extractParameters,proto3,oneof"` -} - -type RuleParameters_JsonExtractParameters struct { - JsonExtractParameters *JsonExtractParameters `protobuf:"bytes,2,opt,name=json_extract_parameters,json=jsonExtractParameters,proto3,oneof"` -} - -type RuleParameters_ReplaceParameters struct { - ReplaceParameters *ReplaceParameters `protobuf:"bytes,3,opt,name=replace_parameters,json=replaceParameters,proto3,oneof"` -} - -type RuleParameters_ParseParameters struct { - ParseParameters *ParseParameters `protobuf:"bytes,4,opt,name=parse_parameters,json=parseParameters,proto3,oneof"` -} - -type RuleParameters_AllowParameters struct { - AllowParameters *AllowParameters `protobuf:"bytes,5,opt,name=allow_parameters,json=allowParameters,proto3,oneof"` -} - -type RuleParameters_BlockParameters struct { - BlockParameters *BlockParameters `protobuf:"bytes,6,opt,name=block_parameters,json=blockParameters,proto3,oneof"` -} - -type RuleParameters_ExtractTimestampParameters struct { - ExtractTimestampParameters *ExtractTimestampParameters `protobuf:"bytes,7,opt,name=extract_timestamp_parameters,json=extractTimestampParameters,proto3,oneof"` -} - -type RuleParameters_RemoveFieldsParameters struct { - RemoveFieldsParameters *RemoveFieldsParameters `protobuf:"bytes,8,opt,name=remove_fields_parameters,json=removeFieldsParameters,proto3,oneof"` -} - -type RuleParameters_JsonStringifyParameters struct { - JsonStringifyParameters *JsonStringifyParameters `protobuf:"bytes,9,opt,name=json_stringify_parameters,json=jsonStringifyParameters,proto3,oneof"` -} - -type RuleParameters_JsonParseParameters struct { - JsonParseParameters *JsonParseParameters `protobuf:"bytes,10,opt,name=json_parse_parameters,json=jsonParseParameters,proto3,oneof"` -} - -func (*RuleParameters_ExtractParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_JsonExtractParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_ReplaceParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_ParseParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_AllowParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_BlockParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_ExtractTimestampParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_RemoveFieldsParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_JsonStringifyParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_JsonParseParameters) isRuleParameters_RuleParameters() {} - -type ExtractParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Rule *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` -} - -func (x *ExtractParameters) Reset() { - *x = ExtractParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExtractParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtractParameters) ProtoMessage() {} - -func (x *ExtractParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExtractParameters.ProtoReflect.Descriptor instead. -func (*ExtractParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{2} -} - -func (x *ExtractParameters) GetRule() *wrapperspb.StringValue { - if x != nil { - return x.Rule - } - return nil -} - -type JsonExtractParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DestinationField JsonExtractParameters_DestinationField `protobuf:"varint,1,opt,name=destination_field,json=destinationField,proto3,enum=com.coralogix.rules.v1.JsonExtractParameters_DestinationField" json:"destination_field,omitempty"` - Rule *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` -} - -func (x *JsonExtractParameters) Reset() { - *x = JsonExtractParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *JsonExtractParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*JsonExtractParameters) ProtoMessage() {} - -func (x *JsonExtractParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use JsonExtractParameters.ProtoReflect.Descriptor instead. -func (*JsonExtractParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{3} -} - -func (x *JsonExtractParameters) GetDestinationField() JsonExtractParameters_DestinationField { - if x != nil { - return x.DestinationField - } - return JsonExtractParameters_DESTINATION_FIELD_CATEGORY_OR_UNSPECIFIED -} - -func (x *JsonExtractParameters) GetRule() *wrapperspb.StringValue { - if x != nil { - return x.Rule - } - return nil -} - -type ReplaceParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DestinationField *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=destination_field,json=destinationField,proto3" json:"destination_field,omitempty"` - ReplaceNewVal *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=replace_new_val,json=replaceNewVal,proto3" json:"replace_new_val,omitempty"` - Rule *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty"` -} - -func (x *ReplaceParameters) Reset() { - *x = ReplaceParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReplaceParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplaceParameters) ProtoMessage() {} - -func (x *ReplaceParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReplaceParameters.ProtoReflect.Descriptor instead. -func (*ReplaceParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{4} -} - -func (x *ReplaceParameters) GetDestinationField() *wrapperspb.StringValue { - if x != nil { - return x.DestinationField - } - return nil -} - -func (x *ReplaceParameters) GetReplaceNewVal() *wrapperspb.StringValue { - if x != nil { - return x.ReplaceNewVal - } - return nil -} - -func (x *ReplaceParameters) GetRule() *wrapperspb.StringValue { - if x != nil { - return x.Rule - } - return nil -} - -type ParseParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DestinationField *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=destination_field,json=destinationField,proto3" json:"destination_field,omitempty"` - Rule *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` -} - -func (x *ParseParameters) Reset() { - *x = ParseParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ParseParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ParseParameters) ProtoMessage() {} - -func (x *ParseParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ParseParameters.ProtoReflect.Descriptor instead. -func (*ParseParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{5} -} - -func (x *ParseParameters) GetDestinationField() *wrapperspb.StringValue { - if x != nil { - return x.DestinationField - } - return nil -} - -func (x *ParseParameters) GetRule() *wrapperspb.StringValue { - if x != nil { - return x.Rule - } - return nil -} - -type AllowParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeepBlockedLogs *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=keep_blocked_logs,json=keepBlockedLogs,proto3" json:"keep_blocked_logs,omitempty"` - Rule *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` -} - -func (x *AllowParameters) Reset() { - *x = AllowParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AllowParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AllowParameters) ProtoMessage() {} - -func (x *AllowParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AllowParameters.ProtoReflect.Descriptor instead. -func (*AllowParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{6} -} - -func (x *AllowParameters) GetKeepBlockedLogs() *wrapperspb.BoolValue { - if x != nil { - return x.KeepBlockedLogs - } - return nil -} - -func (x *AllowParameters) GetRule() *wrapperspb.StringValue { - if x != nil { - return x.Rule - } - return nil -} - -type BlockParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeepBlockedLogs *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=keep_blocked_logs,json=keepBlockedLogs,proto3" json:"keep_blocked_logs,omitempty"` - Rule *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` -} - -func (x *BlockParameters) Reset() { - *x = BlockParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BlockParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BlockParameters) ProtoMessage() {} - -func (x *BlockParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BlockParameters.ProtoReflect.Descriptor instead. -func (*BlockParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{7} -} - -func (x *BlockParameters) GetKeepBlockedLogs() *wrapperspb.BoolValue { - if x != nil { - return x.KeepBlockedLogs - } - return nil -} - -func (x *BlockParameters) GetRule() *wrapperspb.StringValue { - if x != nil { - return x.Rule - } - return nil -} - -type ExtractTimestampParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Standard ExtractTimestampParameters_FormatStandard `protobuf:"varint,1,opt,name=standard,proto3,enum=com.coralogix.rules.v1.ExtractTimestampParameters_FormatStandard" json:"standard,omitempty"` - Format *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` -} - -func (x *ExtractTimestampParameters) Reset() { - *x = ExtractTimestampParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExtractTimestampParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtractTimestampParameters) ProtoMessage() {} - -func (x *ExtractTimestampParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExtractTimestampParameters.ProtoReflect.Descriptor instead. -func (*ExtractTimestampParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{8} -} - -func (x *ExtractTimestampParameters) GetStandard() ExtractTimestampParameters_FormatStandard { - if x != nil { - return x.Standard - } - return ExtractTimestampParameters_FORMAT_STANDARD_STRFTIME_OR_UNSPECIFIED -} - -func (x *ExtractTimestampParameters) GetFormat() *wrapperspb.StringValue { - if x != nil { - return x.Format - } - return nil -} - -type RemoveFieldsParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` -} - -func (x *RemoveFieldsParameters) Reset() { - *x = RemoveFieldsParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RemoveFieldsParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveFieldsParameters) ProtoMessage() {} - -func (x *RemoveFieldsParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveFieldsParameters.ProtoReflect.Descriptor instead. -func (*RemoveFieldsParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{9} -} - -func (x *RemoveFieldsParameters) GetFields() []string { - if x != nil { - return x.Fields - } - return nil -} - -type JsonStringifyParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DestinationField *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=destination_field,json=destinationField,proto3" json:"destination_field,omitempty"` - DeleteSource *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=delete_source,json=deleteSource,proto3" json:"delete_source,omitempty"` -} - -func (x *JsonStringifyParameters) Reset() { - *x = JsonStringifyParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *JsonStringifyParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*JsonStringifyParameters) ProtoMessage() {} - -func (x *JsonStringifyParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use JsonStringifyParameters.ProtoReflect.Descriptor instead. -func (*JsonStringifyParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{10} -} - -func (x *JsonStringifyParameters) GetDestinationField() *wrapperspb.StringValue { - if x != nil { - return x.DestinationField - } - return nil -} - -func (x *JsonStringifyParameters) GetDeleteSource() *wrapperspb.BoolValue { - if x != nil { - return x.DeleteSource - } - return nil -} - -type JsonParseParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DestinationField *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=destination_field,json=destinationField,proto3" json:"destination_field,omitempty"` - DeleteSource *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=delete_source,json=deleteSource,proto3" json:"delete_source,omitempty"` - EscapedValue *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=escaped_value,json=escapedValue,proto3" json:"escaped_value,omitempty"` - OverrideDest *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=override_dest,json=overrideDest,proto3" json:"override_dest,omitempty"` -} - -func (x *JsonParseParameters) Reset() { - *x = JsonParseParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *JsonParseParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*JsonParseParameters) ProtoMessage() {} - -func (x *JsonParseParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use JsonParseParameters.ProtoReflect.Descriptor instead. -func (*JsonParseParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{11} -} - -func (x *JsonParseParameters) GetDestinationField() *wrapperspb.StringValue { - if x != nil { - return x.DestinationField - } - return nil -} - -func (x *JsonParseParameters) GetDeleteSource() *wrapperspb.BoolValue { - if x != nil { - return x.DeleteSource - } - return nil -} - -func (x *JsonParseParameters) GetEscapedValue() *wrapperspb.BoolValue { - if x != nil { - return x.EscapedValue - } - return nil -} - -func (x *JsonParseParameters) GetOverrideDest() *wrapperspb.BoolValue { - if x != nil { - return x.OverrideDest - } - return nil -} - -var File_com_coralogix_rules_v1_rule_proto protoreflect.FileDescriptor - -var file_com_coralogix_rules_v1_rule_proto_rawDesc = []byte{ - 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, - 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x03, 0x0a, 0x04, - 0x52, 0x75, 0x6c, 0x65, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, - 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, - 0x69, 0x65, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x34, 0x0a, - 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x52, 0x04, 0x72, - 0x75, 0x6c, 0x65, 0x22, 0xfc, 0x07, 0x0a, 0x0e, 0x52, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5a, 0x0a, 0x12, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, - 0x11, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x12, 0x67, 0x0a, 0x17, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x73, 0x6f, - 0x6e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x48, 0x00, 0x52, 0x15, 0x6a, 0x73, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5a, 0x0a, 0x12, 0x72, - 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x48, 0x00, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x54, 0x0a, 0x10, 0x70, 0x61, 0x72, 0x73, 0x65, - 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x70, 0x61, - 0x72, 0x73, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x54, 0x0a, - 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x48, 0x00, 0x52, 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x12, 0x54, 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, - 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x76, 0x0a, 0x1c, 0x65, 0x78, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x70, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x1a, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x12, 0x6a, 0x0a, 0x18, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, - 0x64, 0x73, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x6d, 0x0a, - 0x19, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x69, 0x66, 0x79, 0x5f, - 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x53, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x69, 0x66, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x48, 0x00, 0x52, 0x17, 0x6a, 0x73, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x69, - 0x66, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x61, 0x0a, 0x15, - 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x73, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, - 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x13, 0x6a, 0x73, 0x6f, 0x6e, - 0x50, 0x61, 0x72, 0x73, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x42, - 0x11, 0x0a, 0x0f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x22, 0x5d, 0x0a, 0x11, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x30, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x52, - 0x10, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x22, 0xfd, 0x02, 0x0a, 0x15, 0x4a, 0x73, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x6b, 0x0a, 0x11, 0x64, - 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x4a, 0x73, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x10, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x22, 0xc4, 0x01, 0x0a, 0x10, 0x44, - 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, - 0x2d, 0x0a, 0x29, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, - 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x4f, 0x52, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1f, - 0x0a, 0x1b, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x49, - 0x45, 0x4c, 0x44, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x01, 0x12, - 0x20, 0x0a, 0x1c, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, - 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x4e, 0x41, 0x4d, 0x45, 0x10, - 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, - 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x48, 0x52, 0x45, 0x41, 0x44, 0x49, 0x44, 0x10, - 0x03, 0x12, 0x1e, 0x0a, 0x1a, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, - 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x10, - 0x04, 0x22, 0xd6, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x49, 0x0a, 0x11, 0x64, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x10, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x12, 0x44, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x6e, 0x65, - 0x77, 0x5f, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x6c, 0x61, - 0x63, 0x65, 0x4e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x12, 0x30, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x22, 0x8e, 0x01, 0x0a, 0x0f, 0x50, - 0x61, 0x72, 0x73, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x49, - 0x0a, 0x11, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, - 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, - 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x72, 0x75, 0x6c, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x0f, - 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, - 0x46, 0x0a, 0x11, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, - 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, - 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x6b, 0x65, 0x65, 0x70, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x30, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x0f, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x46, 0x0a, - 0x11, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x6c, 0x6f, - 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x6b, 0x65, 0x65, 0x70, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x65, - 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x30, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x22, 0x9f, 0x03, 0x0a, 0x1a, 0x45, 0x78, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5d, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, - 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x46, 0x6f, 0x72, - 0x6d, 0x61, 0x74, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x52, 0x08, 0x73, 0x74, 0x61, - 0x6e, 0x64, 0x61, 0x72, 0x64, 0x12, 0x34, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0xeb, 0x01, 0x0a, 0x0e, - 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x12, 0x2b, - 0x0a, 0x27, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, - 0x44, 0x5f, 0x53, 0x54, 0x52, 0x46, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4f, 0x52, 0x5f, 0x55, 0x4e, - 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x46, - 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x4a, - 0x41, 0x56, 0x41, 0x53, 0x44, 0x46, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x46, 0x4f, 0x52, 0x4d, - 0x41, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x47, 0x4f, 0x4c, 0x41, - 0x4e, 0x47, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x53, - 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x53, 0x54, - 0x53, 0x10, 0x03, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x53, 0x54, - 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x54, 0x53, 0x10, 0x04, - 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, - 0x41, 0x52, 0x44, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x54, 0x53, 0x10, 0x05, 0x12, 0x1a, 0x0a, - 0x16, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, - 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x54, 0x53, 0x10, 0x06, 0x22, 0x30, 0x0a, 0x16, 0x52, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0xa5, 0x01, 0x0a, 0x17, - 0x4a, 0x73, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x69, 0x66, 0x79, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x49, 0x0a, 0x11, 0x64, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x10, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x12, 0x3f, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0c, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x22, 0xa3, 0x02, 0x0a, 0x13, 0x4a, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x73, - 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x49, 0x0a, 0x11, 0x64, - 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x3f, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0c, 0x64, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x65, 0x73, 0x63, 0x61, 0x70, - 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0c, 0x65, 0x73, 0x63, 0x61, - 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x76, 0x65, 0x72, - 0x72, 0x69, 0x64, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0c, 0x6f, 0x76, 0x65, - 0x72, 0x72, 0x69, 0x64, 0x65, 0x44, 0x65, 0x73, 0x74, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_rules_v1_rule_proto_rawDescOnce sync.Once - file_com_coralogix_rules_v1_rule_proto_rawDescData = file_com_coralogix_rules_v1_rule_proto_rawDesc -) - -func file_com_coralogix_rules_v1_rule_proto_rawDescGZIP() []byte { - file_com_coralogix_rules_v1_rule_proto_rawDescOnce.Do(func() { - file_com_coralogix_rules_v1_rule_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_rules_v1_rule_proto_rawDescData) - }) - return file_com_coralogix_rules_v1_rule_proto_rawDescData -} - -var file_com_coralogix_rules_v1_rule_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_com_coralogix_rules_v1_rule_proto_msgTypes = make([]protoimpl.MessageInfo, 12) -var file_com_coralogix_rules_v1_rule_proto_goTypes = []interface{}{ - (JsonExtractParameters_DestinationField)(0), // 0: com.coralogix.rules.v1.JsonExtractParameters.DestinationField - (ExtractTimestampParameters_FormatStandard)(0), // 1: com.coralogix.rules.v1.ExtractTimestampParameters.FormatStandard - (*Rule)(nil), // 2: com.coralogix.rules.v1.Rule - (*RuleParameters)(nil), // 3: com.coralogix.rules.v1.RuleParameters - (*ExtractParameters)(nil), // 4: com.coralogix.rules.v1.ExtractParameters - (*JsonExtractParameters)(nil), // 5: com.coralogix.rules.v1.JsonExtractParameters - (*ReplaceParameters)(nil), // 6: com.coralogix.rules.v1.ReplaceParameters - (*ParseParameters)(nil), // 7: com.coralogix.rules.v1.ParseParameters - (*AllowParameters)(nil), // 8: com.coralogix.rules.v1.AllowParameters - (*BlockParameters)(nil), // 9: com.coralogix.rules.v1.BlockParameters - (*ExtractTimestampParameters)(nil), // 10: com.coralogix.rules.v1.ExtractTimestampParameters - (*RemoveFieldsParameters)(nil), // 11: com.coralogix.rules.v1.RemoveFieldsParameters - (*JsonStringifyParameters)(nil), // 12: com.coralogix.rules.v1.JsonStringifyParameters - (*JsonParseParameters)(nil), // 13: com.coralogix.rules.v1.JsonParseParameters - (*wrapperspb.StringValue)(nil), // 14: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 15: google.protobuf.BoolValue - (*wrapperspb.UInt32Value)(nil), // 16: google.protobuf.UInt32Value -} -var file_com_coralogix_rules_v1_rule_proto_depIdxs = []int32{ - 14, // 0: com.coralogix.rules.v1.Rule.id:type_name -> google.protobuf.StringValue - 14, // 1: com.coralogix.rules.v1.Rule.name:type_name -> google.protobuf.StringValue - 14, // 2: com.coralogix.rules.v1.Rule.description:type_name -> google.protobuf.StringValue - 14, // 3: com.coralogix.rules.v1.Rule.source_field:type_name -> google.protobuf.StringValue - 3, // 4: com.coralogix.rules.v1.Rule.parameters:type_name -> com.coralogix.rules.v1.RuleParameters - 15, // 5: com.coralogix.rules.v1.Rule.enabled:type_name -> google.protobuf.BoolValue - 16, // 6: com.coralogix.rules.v1.Rule.order:type_name -> google.protobuf.UInt32Value - 4, // 7: com.coralogix.rules.v1.RuleParameters.extract_parameters:type_name -> com.coralogix.rules.v1.ExtractParameters - 5, // 8: com.coralogix.rules.v1.RuleParameters.json_extract_parameters:type_name -> com.coralogix.rules.v1.JsonExtractParameters - 6, // 9: com.coralogix.rules.v1.RuleParameters.replace_parameters:type_name -> com.coralogix.rules.v1.ReplaceParameters - 7, // 10: com.coralogix.rules.v1.RuleParameters.parse_parameters:type_name -> com.coralogix.rules.v1.ParseParameters - 8, // 11: com.coralogix.rules.v1.RuleParameters.allow_parameters:type_name -> com.coralogix.rules.v1.AllowParameters - 9, // 12: com.coralogix.rules.v1.RuleParameters.block_parameters:type_name -> com.coralogix.rules.v1.BlockParameters - 10, // 13: com.coralogix.rules.v1.RuleParameters.extract_timestamp_parameters:type_name -> com.coralogix.rules.v1.ExtractTimestampParameters - 11, // 14: com.coralogix.rules.v1.RuleParameters.remove_fields_parameters:type_name -> com.coralogix.rules.v1.RemoveFieldsParameters - 12, // 15: com.coralogix.rules.v1.RuleParameters.json_stringify_parameters:type_name -> com.coralogix.rules.v1.JsonStringifyParameters - 13, // 16: com.coralogix.rules.v1.RuleParameters.json_parse_parameters:type_name -> com.coralogix.rules.v1.JsonParseParameters - 14, // 17: com.coralogix.rules.v1.ExtractParameters.rule:type_name -> google.protobuf.StringValue - 0, // 18: com.coralogix.rules.v1.JsonExtractParameters.destination_field:type_name -> com.coralogix.rules.v1.JsonExtractParameters.DestinationField - 14, // 19: com.coralogix.rules.v1.JsonExtractParameters.rule:type_name -> google.protobuf.StringValue - 14, // 20: com.coralogix.rules.v1.ReplaceParameters.destination_field:type_name -> google.protobuf.StringValue - 14, // 21: com.coralogix.rules.v1.ReplaceParameters.replace_new_val:type_name -> google.protobuf.StringValue - 14, // 22: com.coralogix.rules.v1.ReplaceParameters.rule:type_name -> google.protobuf.StringValue - 14, // 23: com.coralogix.rules.v1.ParseParameters.destination_field:type_name -> google.protobuf.StringValue - 14, // 24: com.coralogix.rules.v1.ParseParameters.rule:type_name -> google.protobuf.StringValue - 15, // 25: com.coralogix.rules.v1.AllowParameters.keep_blocked_logs:type_name -> google.protobuf.BoolValue - 14, // 26: com.coralogix.rules.v1.AllowParameters.rule:type_name -> google.protobuf.StringValue - 15, // 27: com.coralogix.rules.v1.BlockParameters.keep_blocked_logs:type_name -> google.protobuf.BoolValue - 14, // 28: com.coralogix.rules.v1.BlockParameters.rule:type_name -> google.protobuf.StringValue - 1, // 29: com.coralogix.rules.v1.ExtractTimestampParameters.standard:type_name -> com.coralogix.rules.v1.ExtractTimestampParameters.FormatStandard - 14, // 30: com.coralogix.rules.v1.ExtractTimestampParameters.format:type_name -> google.protobuf.StringValue - 14, // 31: com.coralogix.rules.v1.JsonStringifyParameters.destination_field:type_name -> google.protobuf.StringValue - 15, // 32: com.coralogix.rules.v1.JsonStringifyParameters.delete_source:type_name -> google.protobuf.BoolValue - 14, // 33: com.coralogix.rules.v1.JsonParseParameters.destination_field:type_name -> google.protobuf.StringValue - 15, // 34: com.coralogix.rules.v1.JsonParseParameters.delete_source:type_name -> google.protobuf.BoolValue - 15, // 35: com.coralogix.rules.v1.JsonParseParameters.escaped_value:type_name -> google.protobuf.BoolValue - 15, // 36: com.coralogix.rules.v1.JsonParseParameters.override_dest:type_name -> google.protobuf.BoolValue - 37, // [37:37] is the sub-list for method output_type - 37, // [37:37] is the sub-list for method input_type - 37, // [37:37] is the sub-list for extension type_name - 37, // [37:37] is the sub-list for extension extendee - 0, // [0:37] is the sub-list for field type_name -} - -func init() { file_com_coralogix_rules_v1_rule_proto_init() } - -//gocyclo:ignore -func file_com_coralogix_rules_v1_rule_proto_init() { - if File_com_coralogix_rules_v1_rule_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_rules_v1_rule_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Rule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExtractParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JsonExtractParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplaceParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParseParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AllowParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExtractTimestampParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveFieldsParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JsonStringifyParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JsonParseParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[1].OneofWrappers = []interface{}{ - (*RuleParameters_ExtractParameters)(nil), - (*RuleParameters_JsonExtractParameters)(nil), - (*RuleParameters_ReplaceParameters)(nil), - (*RuleParameters_ParseParameters)(nil), - (*RuleParameters_AllowParameters)(nil), - (*RuleParameters_BlockParameters)(nil), - (*RuleParameters_ExtractTimestampParameters)(nil), - (*RuleParameters_RemoveFieldsParameters)(nil), - (*RuleParameters_JsonStringifyParameters)(nil), - (*RuleParameters_JsonParseParameters)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_rules_v1_rule_proto_rawDesc, - NumEnums: 2, - NumMessages: 12, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_rules_v1_rule_proto_goTypes, - DependencyIndexes: file_com_coralogix_rules_v1_rule_proto_depIdxs, - EnumInfos: file_com_coralogix_rules_v1_rule_proto_enumTypes, - MessageInfos: file_com_coralogix_rules_v1_rule_proto_msgTypes, - }.Build() - File_com_coralogix_rules_v1_rule_proto = out.File - file_com_coralogix_rules_v1_rule_proto_rawDesc = nil - file_com_coralogix_rules_v1_rule_proto_goTypes = nil - file_com_coralogix_rules_v1_rule_proto_depIdxs = nil -} diff --git a/controllers/clientset/grpc/rules-groups/v1/rule_group.pb.go b/controllers/clientset/grpc/rules-groups/v1/rule_group.pb.go deleted file mode 100644 index 2fee3bc..0000000 --- a/controllers/clientset/grpc/rules-groups/v1/rule_group.pb.go +++ /dev/null @@ -1,265 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.3 -// source: com/coralogix/rules/v1/rule_group.proto - -package __ - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type RuleGroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - Creator *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=enabled,proto3" json:"enabled,omitempty"` - Hidden *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=hidden,proto3" json:"hidden,omitempty"` - RuleMatchers []*RuleMatcher `protobuf:"bytes,9,rep,name=rule_matchers,json=ruleMatchers,proto3" json:"rule_matchers,omitempty"` - RuleSubgroups []*RuleSubgroup `protobuf:"bytes,10,rep,name=rule_subgroups,json=ruleSubgroups,proto3" json:"rule_subgroups,omitempty"` - Order *wrapperspb.UInt32Value `protobuf:"bytes,11,opt,name=order,proto3" json:"order,omitempty"` -} - -func (x *RuleGroup) Reset() { - *x = RuleGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_group_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RuleGroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RuleGroup) ProtoMessage() {} - -func (x *RuleGroup) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_group_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RuleGroup.ProtoReflect.Descriptor instead. -func (*RuleGroup) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_group_proto_rawDescGZIP(), []int{0} -} - -func (x *RuleGroup) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *RuleGroup) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *RuleGroup) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *RuleGroup) GetCreator() *wrapperspb.StringValue { - if x != nil { - return x.Creator - } - return nil -} - -func (x *RuleGroup) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -func (x *RuleGroup) GetHidden() *wrapperspb.BoolValue { - if x != nil { - return x.Hidden - } - return nil -} - -func (x *RuleGroup) GetRuleMatchers() []*RuleMatcher { - if x != nil { - return x.RuleMatchers - } - return nil -} - -func (x *RuleGroup) GetRuleSubgroups() []*RuleSubgroup { - if x != nil { - return x.RuleSubgroups - } - return nil -} - -func (x *RuleGroup) GetOrder() *wrapperspb.UInt32Value { - if x != nil { - return x.Order - } - return nil -} - -var File_com_coralogix_rules_v1_rule_group_proto protoreflect.FileDescriptor - -var file_com_coralogix_rules_v1_rule_group_proto_rawDesc = []byte{ - 0x0a, 0x27, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, - 0x31, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x29, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, - 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x63, 0x6f, - 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x04, 0x0a, 0x09, 0x52, 0x75, 0x6c, - 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, - 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x34, - 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x12, 0x48, 0x0a, 0x0d, 0x72, 0x75, 0x6c, 0x65, - 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x4d, 0x61, 0x74, - 0x63, 0x68, 0x65, 0x72, 0x52, 0x0c, 0x72, 0x75, 0x6c, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, - 0x72, 0x73, 0x12, 0x4b, 0x0a, 0x0e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x52, 0x0d, 0x72, 0x75, 0x6c, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, - 0x32, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6f, 0x72, - 0x64, 0x65, 0x72, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_com_coralogix_rules_v1_rule_group_proto_rawDescOnce sync.Once - file_com_coralogix_rules_v1_rule_group_proto_rawDescData = file_com_coralogix_rules_v1_rule_group_proto_rawDesc -) - -func file_com_coralogix_rules_v1_rule_group_proto_rawDescGZIP() []byte { - file_com_coralogix_rules_v1_rule_group_proto_rawDescOnce.Do(func() { - file_com_coralogix_rules_v1_rule_group_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_rules_v1_rule_group_proto_rawDescData) - }) - return file_com_coralogix_rules_v1_rule_group_proto_rawDescData -} - -var file_com_coralogix_rules_v1_rule_group_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_rules_v1_rule_group_proto_goTypes = []interface{}{ - (*RuleGroup)(nil), // 0: com.coralogix.rules.v1.RuleGroup - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 2: google.protobuf.BoolValue - (*RuleMatcher)(nil), // 3: com.coralogix.rules.v1.RuleMatcher - (*RuleSubgroup)(nil), // 4: com.coralogix.rules.v1.RuleSubgroup - (*wrapperspb.UInt32Value)(nil), // 5: google.protobuf.UInt32Value -} -var file_com_coralogix_rules_v1_rule_group_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.rules.v1.RuleGroup.id:type_name -> google.protobuf.StringValue - 1, // 1: com.coralogix.rules.v1.RuleGroup.name:type_name -> google.protobuf.StringValue - 1, // 2: com.coralogix.rules.v1.RuleGroup.description:type_name -> google.protobuf.StringValue - 1, // 3: com.coralogix.rules.v1.RuleGroup.creator:type_name -> google.protobuf.StringValue - 2, // 4: com.coralogix.rules.v1.RuleGroup.enabled:type_name -> google.protobuf.BoolValue - 2, // 5: com.coralogix.rules.v1.RuleGroup.hidden:type_name -> google.protobuf.BoolValue - 3, // 6: com.coralogix.rules.v1.RuleGroup.rule_matchers:type_name -> com.coralogix.rules.v1.RuleMatcher - 4, // 7: com.coralogix.rules.v1.RuleGroup.rule_subgroups:type_name -> com.coralogix.rules.v1.RuleSubgroup - 5, // 8: com.coralogix.rules.v1.RuleGroup.order:type_name -> google.protobuf.UInt32Value - 9, // [9:9] is the sub-list for method output_type - 9, // [9:9] is the sub-list for method input_type - 9, // [9:9] is the sub-list for extension type_name - 9, // [9:9] is the sub-list for extension extendee - 0, // [0:9] is the sub-list for field type_name -} - -func init() { file_com_coralogix_rules_v1_rule_group_proto_init() } -func file_com_coralogix_rules_v1_rule_group_proto_init() { - if File_com_coralogix_rules_v1_rule_group_proto != nil { - return - } - file_com_coralogix_rules_v1_rule_matcher_proto_init() - file_com_coralogix_rules_v1_rule_subgroup_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_rules_v1_rule_group_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleGroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_rules_v1_rule_group_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_rules_v1_rule_group_proto_goTypes, - DependencyIndexes: file_com_coralogix_rules_v1_rule_group_proto_depIdxs, - MessageInfos: file_com_coralogix_rules_v1_rule_group_proto_msgTypes, - }.Build() - File_com_coralogix_rules_v1_rule_group_proto = out.File - file_com_coralogix_rules_v1_rule_group_proto_rawDesc = nil - file_com_coralogix_rules_v1_rule_group_proto_goTypes = nil - file_com_coralogix_rules_v1_rule_group_proto_depIdxs = nil -} diff --git a/controllers/clientset/grpc/rules-groups/v1/rule_groups_service.pb.go b/controllers/clientset/grpc/rules-groups/v1/rule_groups_service.pb.go deleted file mode 100644 index c2b68e5..0000000 --- a/controllers/clientset/grpc/rules-groups/v1/rule_groups_service.pb.go +++ /dev/null @@ -1,1099 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.3 -// source: com/coralogix/rules/v1/rule_groups_service.proto - -package __ - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type AuditLogDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"` -} - -func (x *AuditLogDescription) Reset() { - *x = AuditLogDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AuditLogDescription) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AuditLogDescription) ProtoMessage() {} - -func (x *AuditLogDescription) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AuditLogDescription.ProtoReflect.Descriptor instead. -func (*AuditLogDescription) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{0} -} - -func (x *AuditLogDescription) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -type GetRuleGroupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` -} - -func (x *GetRuleGroupRequest) Reset() { - *x = GetRuleGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRuleGroupRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRuleGroupRequest) ProtoMessage() {} - -func (x *GetRuleGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetRuleGroupRequest.ProtoReflect.Descriptor instead. -func (*GetRuleGroupRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{1} -} - -func (x *GetRuleGroupRequest) GetGroupId() string { - if x != nil { - return x.GroupId - } - return "" -} - -type GetRuleGroupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RuleGroup *RuleGroup `protobuf:"bytes,1,opt,name=rule_group,json=ruleGroup,proto3" json:"rule_group,omitempty"` -} - -func (x *GetRuleGroupResponse) Reset() { - *x = GetRuleGroupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRuleGroupResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRuleGroupResponse) ProtoMessage() {} - -func (x *GetRuleGroupResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetRuleGroupResponse.ProtoReflect.Descriptor instead. -func (*GetRuleGroupResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{2} -} - -func (x *GetRuleGroupResponse) GetRuleGroup() *RuleGroup { - if x != nil { - return x.RuleGroup - } - return nil -} - -type CreateRuleGroupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=enabled,proto3" json:"enabled,omitempty"` - Hidden *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=hidden,proto3" json:"hidden,omitempty"` - Creator *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"` - RuleMatchers []*RuleMatcher `protobuf:"bytes,6,rep,name=rule_matchers,json=ruleMatchers,proto3" json:"rule_matchers,omitempty"` - RuleSubgroups []*CreateRuleGroupRequest_CreateRuleSubgroup `protobuf:"bytes,7,rep,name=rule_subgroups,json=ruleSubgroups,proto3" json:"rule_subgroups,omitempty"` - Order *wrapperspb.UInt32Value `protobuf:"bytes,8,opt,name=order,proto3" json:"order,omitempty"` -} - -func (x *CreateRuleGroupRequest) Reset() { - *x = CreateRuleGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRuleGroupRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRuleGroupRequest) ProtoMessage() {} - -func (x *CreateRuleGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateRuleGroupRequest.ProtoReflect.Descriptor instead. -func (*CreateRuleGroupRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{3} -} - -func (x *CreateRuleGroupRequest) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *CreateRuleGroupRequest) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *CreateRuleGroupRequest) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -func (x *CreateRuleGroupRequest) GetHidden() *wrapperspb.BoolValue { - if x != nil { - return x.Hidden - } - return nil -} - -func (x *CreateRuleGroupRequest) GetCreator() *wrapperspb.StringValue { - if x != nil { - return x.Creator - } - return nil -} - -func (x *CreateRuleGroupRequest) GetRuleMatchers() []*RuleMatcher { - if x != nil { - return x.RuleMatchers - } - return nil -} - -func (x *CreateRuleGroupRequest) GetRuleSubgroups() []*CreateRuleGroupRequest_CreateRuleSubgroup { - if x != nil { - return x.RuleSubgroups - } - return nil -} - -func (x *CreateRuleGroupRequest) GetOrder() *wrapperspb.UInt32Value { - if x != nil { - return x.Order - } - return nil -} - -type CreateRuleGroupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RuleGroup *RuleGroup `protobuf:"bytes,1,opt,name=rule_group,json=ruleGroup,proto3" json:"rule_group,omitempty"` -} - -func (x *CreateRuleGroupResponse) Reset() { - *x = CreateRuleGroupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRuleGroupResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRuleGroupResponse) ProtoMessage() {} - -func (x *CreateRuleGroupResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateRuleGroupResponse.ProtoReflect.Descriptor instead. -func (*CreateRuleGroupResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{4} -} - -func (x *CreateRuleGroupResponse) GetRuleGroup() *RuleGroup { - if x != nil { - return x.RuleGroup - } - return nil -} - -type UpdateRuleGroupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` - RuleGroup *CreateRuleGroupRequest `protobuf:"bytes,2,opt,name=rule_group,json=ruleGroup,proto3" json:"rule_group,omitempty"` -} - -func (x *UpdateRuleGroupRequest) Reset() { - *x = UpdateRuleGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateRuleGroupRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRuleGroupRequest) ProtoMessage() {} - -func (x *UpdateRuleGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateRuleGroupRequest.ProtoReflect.Descriptor instead. -func (*UpdateRuleGroupRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{5} -} - -func (x *UpdateRuleGroupRequest) GetGroupId() *wrapperspb.StringValue { - if x != nil { - return x.GroupId - } - return nil -} - -func (x *UpdateRuleGroupRequest) GetRuleGroup() *CreateRuleGroupRequest { - if x != nil { - return x.RuleGroup - } - return nil -} - -type UpdateRuleGroupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RuleGroup *RuleGroup `protobuf:"bytes,1,opt,name=rule_group,json=ruleGroup,proto3" json:"rule_group,omitempty"` -} - -func (x *UpdateRuleGroupResponse) Reset() { - *x = UpdateRuleGroupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateRuleGroupResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRuleGroupResponse) ProtoMessage() {} - -func (x *UpdateRuleGroupResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateRuleGroupResponse.ProtoReflect.Descriptor instead. -func (*UpdateRuleGroupResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{6} -} - -func (x *UpdateRuleGroupResponse) GetRuleGroup() *RuleGroup { - if x != nil { - return x.RuleGroup - } - return nil -} - -type DeleteRuleGroupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` -} - -func (x *DeleteRuleGroupRequest) Reset() { - *x = DeleteRuleGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteRuleGroupRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteRuleGroupRequest) ProtoMessage() {} - -func (x *DeleteRuleGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteRuleGroupRequest.ProtoReflect.Descriptor instead. -func (*DeleteRuleGroupRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{7} -} - -func (x *DeleteRuleGroupRequest) GetGroupId() string { - if x != nil { - return x.GroupId - } - return "" -} - -type DeleteRuleGroupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteRuleGroupResponse) Reset() { - *x = DeleteRuleGroupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteRuleGroupResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteRuleGroupResponse) ProtoMessage() {} - -func (x *DeleteRuleGroupResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteRuleGroupResponse.ProtoReflect.Descriptor instead. -func (*DeleteRuleGroupResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{8} -} - -type CreateRuleGroupRequest_CreateRuleSubgroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Rules []*CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=enabled,proto3" json:"enabled,omitempty"` - Order *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=order,proto3" json:"order,omitempty"` -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup) Reset() { - *x = CreateRuleGroupRequest_CreateRuleSubgroup{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRuleGroupRequest_CreateRuleSubgroup) ProtoMessage() {} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateRuleGroupRequest_CreateRuleSubgroup.ProtoReflect.Descriptor instead. -func (*CreateRuleGroupRequest_CreateRuleSubgroup) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{3, 0} -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup) GetRules() []*CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule { - if x != nil { - return x.Rules - } - return nil -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup) GetOrder() *wrapperspb.UInt32Value { - if x != nil { - return x.Order - } - return nil -} - -type CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - SourceField *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=source_field,json=sourceField,proto3" json:"source_field,omitempty"` - Parameters *RuleParameters `protobuf:"bytes,5,opt,name=parameters,proto3" json:"parameters,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=enabled,proto3" json:"enabled,omitempty"` - Order *wrapperspb.UInt32Value `protobuf:"bytes,7,opt,name=order,proto3" json:"order,omitempty"` -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) Reset() { - *x = CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) ProtoMessage() {} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule.ProtoReflect.Descriptor instead. -func (*CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{3, 0, 0} -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) GetSourceField() *wrapperspb.StringValue { - if x != nil { - return x.SourceField - } - return nil -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) GetParameters() *RuleParameters { - if x != nil { - return x.Parameters - } - return nil -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) GetOrder() *wrapperspb.UInt32Value { - if x != nil { - return x.Order - } - return nil -} - -var file_com_coralogix_rules_v1_rule_groups_service_proto_extTypes = []protoimpl.ExtensionInfo{ - { - ExtendedType: (*descriptorpb.MethodOptions)(nil), - ExtensionType: (*AuditLogDescription)(nil), - Field: 5001, - Name: "com.coralogix.rules.v1.audit_log_description", - Tag: "bytes,5001,opt,name=audit_log_description", - Filename: "com/coralogix/rules/v1/rule_groups_service.proto", - }, -} - -// Extension fields to descriptorpb.MethodOptions. -var ( - // optional com.coralogix.rules.v1.AuditLogDescription audit_log_description = 5001; - E_AuditLogDescription = &file_com_coralogix_rules_v1_rule_groups_service_proto_extTypes[0] -) - -var File_com_coralogix_rules_v1_rule_groups_service_proto protoreflect.FileDescriptor - -var file_com_coralogix_rules_v1_rule_groups_service_proto_rawDesc = []byte{ - 0x0a, 0x30, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, - 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x2f, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, - 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x63, - 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x72, 0x75, 0x6c, - 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, - 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0x4c, 0x0a, 0x13, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, - 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, - 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x30, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, - 0x64, 0x22, 0x58, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0a, 0x72, 0x75, 0x6c, - 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, - 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x52, 0x09, 0x72, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0xf9, 0x08, 0x0a, 0x16, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x32, - 0x0a, 0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x68, 0x69, 0x64, 0x64, - 0x65, 0x6e, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x48, 0x0a, 0x0d, 0x72, 0x75, - 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x4d, - 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x0c, 0x72, 0x75, 0x6c, 0x65, 0x4d, 0x61, 0x74, 0x63, - 0x68, 0x65, 0x72, 0x73, 0x12, 0x68, 0x0a, 0x0e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x73, 0x75, 0x62, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, - 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, - 0x0d, 0x72, 0x75, 0x6c, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x32, - 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6f, 0x72, 0x64, - 0x65, 0x72, 0x1a, 0xe2, 0x04, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, - 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x62, 0x0a, 0x05, 0x72, 0x75, 0x6c, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, - 0x75, 0x6c, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x34, 0x0a, - 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x1a, 0xfd, 0x02, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, - 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x12, 0x34, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, - 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4a, 0x04, 0x08, 0x02, 0x10, - 0x03, 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x22, 0x5b, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0a, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x09, 0x72, 0x75, 0x6c, 0x65, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x22, 0xa0, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, - 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x37, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x4d, 0x0a, 0x0a, 0x72, 0x75, 0x6c, 0x65, - 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, - 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x09, 0x72, 0x75, - 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x5b, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0a, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x09, 0x72, 0x75, 0x6c, 0x65, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x22, 0x33, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x75, - 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, - 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x19, 0x0a, 0x17, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xd8, 0x05, 0x0a, 0x11, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, - 0x75, 0x70, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xa4, 0x01, 0x0a, 0x0c, 0x47, - 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2b, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0xca, 0xb8, 0x02, 0x10, 0x0a, 0x0e, 0x67, 0x65, - 0x74, 0x20, 0x72, 0x75, 0x6c, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, - 0x7d, 0x12, 0xa9, 0x01, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0xca, 0xb8, 0x02, 0x13, 0x0a, 0x11, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x20, 0x72, 0x75, 0x6c, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x22, 0x13, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, - 0x75, 0x6c, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x3a, 0x01, 0x2a, 0x12, 0xbc, 0x01, - 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x12, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x48, 0xca, 0xb8, 0x02, 0x13, 0x0a, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x20, 0x72, 0x75, 0x6c, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x2b, 0x1a, 0x1d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x7d, - 0x3a, 0x0a, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0xb0, 0x01, 0x0a, - 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x12, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x3c, 0xca, 0xb8, 0x02, 0x13, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, - 0x72, 0x75, 0x6c, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, - 0x2a, 0x1d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x7d, 0x3a, - 0x80, 0x01, 0x0a, 0x15, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, - 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x89, 0x27, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, - 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x61, - 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescOnce sync.Once - file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescData = file_com_coralogix_rules_v1_rule_groups_service_proto_rawDesc -) - -func file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP() []byte { - file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescOnce.Do(func() { - file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescData) - }) - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescData -} - -var file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_com_coralogix_rules_v1_rule_groups_service_proto_goTypes = []interface{}{ - (*AuditLogDescription)(nil), // 0: com.coralogix.rules.v1.AuditLogDescription - (*GetRuleGroupRequest)(nil), // 1: com.coralogix.rules.v1.GetRuleGroupRequest - (*GetRuleGroupResponse)(nil), // 2: com.coralogix.rules.v1.GetRuleGroupResponse - (*CreateRuleGroupRequest)(nil), // 3: com.coralogix.rules.v1.CreateRuleGroupRequest - (*CreateRuleGroupResponse)(nil), // 4: com.coralogix.rules.v1.CreateRuleGroupResponse - (*UpdateRuleGroupRequest)(nil), // 5: com.coralogix.rules.v1.UpdateRuleGroupRequest - (*UpdateRuleGroupResponse)(nil), // 6: com.coralogix.rules.v1.UpdateRuleGroupResponse - (*DeleteRuleGroupRequest)(nil), // 7: com.coralogix.rules.v1.DeleteRuleGroupRequest - (*DeleteRuleGroupResponse)(nil), // 8: com.coralogix.rules.v1.DeleteRuleGroupResponse - (*CreateRuleGroupRequest_CreateRuleSubgroup)(nil), // 9: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup - (*CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule)(nil), // 10: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.CreateRule - (*RuleGroup)(nil), // 11: com.coralogix.rules.v1.RuleGroup - (*wrapperspb.StringValue)(nil), // 12: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 13: google.protobuf.BoolValue - (*RuleMatcher)(nil), // 14: com.coralogix.rules.v1.RuleMatcher - (*wrapperspb.UInt32Value)(nil), // 15: google.protobuf.UInt32Value - (*RuleParameters)(nil), // 16: com.coralogix.rules.v1.RuleParameters - (*descriptorpb.MethodOptions)(nil), // 17: google.protobuf.MethodOptions -} -var file_com_coralogix_rules_v1_rule_groups_service_proto_depIdxs = []int32{ - 11, // 0: com.coralogix.rules.v1.GetRuleGroupResponse.rule_group:type_name -> com.coralogix.rules.v1.RuleGroup - 12, // 1: com.coralogix.rules.v1.CreateRuleGroupRequest.name:type_name -> google.protobuf.StringValue - 12, // 2: com.coralogix.rules.v1.CreateRuleGroupRequest.description:type_name -> google.protobuf.StringValue - 13, // 3: com.coralogix.rules.v1.CreateRuleGroupRequest.enabled:type_name -> google.protobuf.BoolValue - 13, // 4: com.coralogix.rules.v1.CreateRuleGroupRequest.hidden:type_name -> google.protobuf.BoolValue - 12, // 5: com.coralogix.rules.v1.CreateRuleGroupRequest.creator:type_name -> google.protobuf.StringValue - 14, // 6: com.coralogix.rules.v1.CreateRuleGroupRequest.rule_matchers:type_name -> com.coralogix.rules.v1.RuleMatcher - 9, // 7: com.coralogix.rules.v1.CreateRuleGroupRequest.rule_subgroups:type_name -> com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup - 15, // 8: com.coralogix.rules.v1.CreateRuleGroupRequest.order:type_name -> google.protobuf.UInt32Value - 11, // 9: com.coralogix.rules.v1.CreateRuleGroupResponse.rule_group:type_name -> com.coralogix.rules.v1.RuleGroup - 12, // 10: com.coralogix.rules.v1.UpdateRuleGroupRequest.group_id:type_name -> google.protobuf.StringValue - 3, // 11: com.coralogix.rules.v1.UpdateRuleGroupRequest.rule_group:type_name -> com.coralogix.rules.v1.CreateRuleGroupRequest - 11, // 12: com.coralogix.rules.v1.UpdateRuleGroupResponse.rule_group:type_name -> com.coralogix.rules.v1.RuleGroup - 10, // 13: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.rules:type_name -> com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.CreateRule - 13, // 14: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.enabled:type_name -> google.protobuf.BoolValue - 15, // 15: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.order:type_name -> google.protobuf.UInt32Value - 12, // 16: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.CreateRule.name:type_name -> google.protobuf.StringValue - 12, // 17: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.CreateRule.description:type_name -> google.protobuf.StringValue - 12, // 18: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.CreateRule.source_field:type_name -> google.protobuf.StringValue - 16, // 19: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.CreateRule.parameters:type_name -> com.coralogix.rules.v1.RuleParameters - 13, // 20: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.CreateRule.enabled:type_name -> google.protobuf.BoolValue - 15, // 21: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.CreateRule.order:type_name -> google.protobuf.UInt32Value - 17, // 22: com.coralogix.rules.v1.audit_log_description:extendee -> google.protobuf.MethodOptions - 0, // 23: com.coralogix.rules.v1.audit_log_description:type_name -> com.coralogix.rules.v1.AuditLogDescription - 1, // 24: com.coralogix.rules.v1.RuleGroupsService.GetRuleGroup:input_type -> com.coralogix.rules.v1.GetRuleGroupRequest - 3, // 25: com.coralogix.rules.v1.RuleGroupsService.CreateRuleGroup:input_type -> com.coralogix.rules.v1.CreateRuleGroupRequest - 5, // 26: com.coralogix.rules.v1.RuleGroupsService.UpdateRuleGroup:input_type -> com.coralogix.rules.v1.UpdateRuleGroupRequest - 7, // 27: com.coralogix.rules.v1.RuleGroupsService.DeleteRuleGroup:input_type -> com.coralogix.rules.v1.DeleteRuleGroupRequest - 2, // 28: com.coralogix.rules.v1.RuleGroupsService.GetRuleGroup:output_type -> com.coralogix.rules.v1.GetRuleGroupResponse - 4, // 29: com.coralogix.rules.v1.RuleGroupsService.CreateRuleGroup:output_type -> com.coralogix.rules.v1.CreateRuleGroupResponse - 6, // 30: com.coralogix.rules.v1.RuleGroupsService.UpdateRuleGroup:output_type -> com.coralogix.rules.v1.UpdateRuleGroupResponse - 8, // 31: com.coralogix.rules.v1.RuleGroupsService.DeleteRuleGroup:output_type -> com.coralogix.rules.v1.DeleteRuleGroupResponse - 28, // [28:32] is the sub-list for method output_type - 24, // [24:28] is the sub-list for method input_type - 23, // [23:24] is the sub-list for extension type_name - 22, // [22:23] is the sub-list for extension extendee - 0, // [0:22] is the sub-list for field type_name -} - -func init() { file_com_coralogix_rules_v1_rule_groups_service_proto_init() } - -//gocyclo:ignore -func file_com_coralogix_rules_v1_rule_groups_service_proto_init() { - if File_com_coralogix_rules_v1_rule_groups_service_proto != nil { - return - } - file_com_coralogix_rules_v1_rule_proto_init() - file_com_coralogix_rules_v1_rule_group_proto_init() - file_com_coralogix_rules_v1_rule_matcher_proto_init() - //file_google_api_annotations_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuditLogDescription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleGroupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRuleGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRuleGroupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRuleGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRuleGroupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRuleGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRuleGroupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRuleGroupRequest_CreateRuleSubgroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[0].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_rules_v1_rule_groups_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 11, - NumExtensions: 1, - NumServices: 1, - }, - GoTypes: file_com_coralogix_rules_v1_rule_groups_service_proto_goTypes, - DependencyIndexes: file_com_coralogix_rules_v1_rule_groups_service_proto_depIdxs, - MessageInfos: file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes, - ExtensionInfos: file_com_coralogix_rules_v1_rule_groups_service_proto_extTypes, - }.Build() - File_com_coralogix_rules_v1_rule_groups_service_proto = out.File - file_com_coralogix_rules_v1_rule_groups_service_proto_rawDesc = nil - file_com_coralogix_rules_v1_rule_groups_service_proto_goTypes = nil - file_com_coralogix_rules_v1_rule_groups_service_proto_depIdxs = nil -} diff --git a/controllers/clientset/grpc/rules-groups/v1/rule_groups_service_grpc.pb.go b/controllers/clientset/grpc/rules-groups/v1/rule_groups_service_grpc.pb.go deleted file mode 100644 index 27c7518..0000000 --- a/controllers/clientset/grpc/rules-groups/v1/rule_groups_service_grpc.pb.go +++ /dev/null @@ -1,214 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.21.3 -// source: com/coralogix/rules/v1/rule_groups_service.proto - -package __ - -import ( - context "context" - - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// RuleGroupsServiceClient is the client API for RuleGroupsService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type RuleGroupsServiceClient interface { - GetRuleGroup(ctx context.Context, in *GetRuleGroupRequest, opts ...grpc.CallOption) (*GetRuleGroupResponse, error) - CreateRuleGroup(ctx context.Context, in *CreateRuleGroupRequest, opts ...grpc.CallOption) (*CreateRuleGroupResponse, error) - UpdateRuleGroup(ctx context.Context, in *UpdateRuleGroupRequest, opts ...grpc.CallOption) (*UpdateRuleGroupResponse, error) - DeleteRuleGroup(ctx context.Context, in *DeleteRuleGroupRequest, opts ...grpc.CallOption) (*DeleteRuleGroupResponse, error) -} - -type ruleGroupsServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewRuleGroupsServiceClient(cc grpc.ClientConnInterface) RuleGroupsServiceClient { - return &ruleGroupsServiceClient{cc} -} - -func (c *ruleGroupsServiceClient) GetRuleGroup(ctx context.Context, in *GetRuleGroupRequest, opts ...grpc.CallOption) (*GetRuleGroupResponse, error) { - out := new(GetRuleGroupResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.rules.v1.RuleGroupsService/GetRuleGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ruleGroupsServiceClient) CreateRuleGroup(ctx context.Context, in *CreateRuleGroupRequest, opts ...grpc.CallOption) (*CreateRuleGroupResponse, error) { - out := new(CreateRuleGroupResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.rules.v1.RuleGroupsService/CreateRuleGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ruleGroupsServiceClient) UpdateRuleGroup(ctx context.Context, in *UpdateRuleGroupRequest, opts ...grpc.CallOption) (*UpdateRuleGroupResponse, error) { - out := new(UpdateRuleGroupResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.rules.v1.RuleGroupsService/UpdateRuleGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ruleGroupsServiceClient) DeleteRuleGroup(ctx context.Context, in *DeleteRuleGroupRequest, opts ...grpc.CallOption) (*DeleteRuleGroupResponse, error) { - out := new(DeleteRuleGroupResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.rules.v1.RuleGroupsService/DeleteRuleGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RuleGroupsServiceServer is the server API for RuleGroupsService service. -// All implementations must embed UnimplementedRuleGroupsServiceServer -// for forward compatibility -type RuleGroupsServiceServer interface { - GetRuleGroup(context.Context, *GetRuleGroupRequest) (*GetRuleGroupResponse, error) - CreateRuleGroup(context.Context, *CreateRuleGroupRequest) (*CreateRuleGroupResponse, error) - UpdateRuleGroup(context.Context, *UpdateRuleGroupRequest) (*UpdateRuleGroupResponse, error) - DeleteRuleGroup(context.Context, *DeleteRuleGroupRequest) (*DeleteRuleGroupResponse, error) - mustEmbedUnimplementedRuleGroupsServiceServer() -} - -// UnimplementedRuleGroupsServiceServer must be embedded to have forward compatible implementations. -type UnimplementedRuleGroupsServiceServer struct { -} - -func (UnimplementedRuleGroupsServiceServer) GetRuleGroup(context.Context, *GetRuleGroupRequest) (*GetRuleGroupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRuleGroup not implemented") -} -func (UnimplementedRuleGroupsServiceServer) CreateRuleGroup(context.Context, *CreateRuleGroupRequest) (*CreateRuleGroupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateRuleGroup not implemented") -} -func (UnimplementedRuleGroupsServiceServer) UpdateRuleGroup(context.Context, *UpdateRuleGroupRequest) (*UpdateRuleGroupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateRuleGroup not implemented") -} -func (UnimplementedRuleGroupsServiceServer) DeleteRuleGroup(context.Context, *DeleteRuleGroupRequest) (*DeleteRuleGroupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteRuleGroup not implemented") -} -func (UnimplementedRuleGroupsServiceServer) mustEmbedUnimplementedRuleGroupsServiceServer() {} - -// UnsafeRuleGroupsServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to RuleGroupsServiceServer will -// result in compilation errors. -type UnsafeRuleGroupsServiceServer interface { - mustEmbedUnimplementedRuleGroupsServiceServer() -} - -func RegisterRuleGroupsServiceServer(s grpc.ServiceRegistrar, srv RuleGroupsServiceServer) { - s.RegisterService(&RuleGroupsService_ServiceDesc, srv) -} - -func _RuleGroupsService_GetRuleGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRuleGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupsServiceServer).GetRuleGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.rules.v1.RuleGroupsService/GetRuleGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupsServiceServer).GetRuleGroup(ctx, req.(*GetRuleGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuleGroupsService_CreateRuleGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateRuleGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupsServiceServer).CreateRuleGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.rules.v1.RuleGroupsService/CreateRuleGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupsServiceServer).CreateRuleGroup(ctx, req.(*CreateRuleGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuleGroupsService_UpdateRuleGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateRuleGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupsServiceServer).UpdateRuleGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.rules.v1.RuleGroupsService/UpdateRuleGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupsServiceServer).UpdateRuleGroup(ctx, req.(*UpdateRuleGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuleGroupsService_DeleteRuleGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRuleGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupsServiceServer).DeleteRuleGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.rules.v1.RuleGroupsService/DeleteRuleGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupsServiceServer).DeleteRuleGroup(ctx, req.(*DeleteRuleGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// RuleGroupsService_ServiceDesc is the grpc.ServiceDesc for RuleGroupsService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var RuleGroupsService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogix.rules.v1.RuleGroupsService", - HandlerType: (*RuleGroupsServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetRuleGroup", - Handler: _RuleGroupsService_GetRuleGroup_Handler, - }, - { - MethodName: "CreateRuleGroup", - Handler: _RuleGroupsService_CreateRuleGroup_Handler, - }, - { - MethodName: "UpdateRuleGroup", - Handler: _RuleGroupsService_UpdateRuleGroup_Handler, - }, - { - MethodName: "DeleteRuleGroup", - Handler: _RuleGroupsService_DeleteRuleGroup_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogix/rules/v1/rule_groups_service.proto", -} diff --git a/controllers/clientset/grpc/rules-groups/v1/rule_matcher.pb.go b/controllers/clientset/grpc/rules-groups/v1/rule_matcher.pb.go deleted file mode 100644 index 711ba09..0000000 --- a/controllers/clientset/grpc/rules-groups/v1/rule_matcher.pb.go +++ /dev/null @@ -1,488 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.3 -// source: com/coralogix/rules/v1/rule_matcher.proto - -package __ - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type SeverityConstraint_Value int32 - -const ( - SeverityConstraint_VALUE_DEBUG_OR_UNSPECIFIED SeverityConstraint_Value = 0 - SeverityConstraint_VALUE_VERBOSE SeverityConstraint_Value = 1 - SeverityConstraint_VALUE_INFO SeverityConstraint_Value = 2 - SeverityConstraint_VALUE_WARNING SeverityConstraint_Value = 3 - SeverityConstraint_VALUE_ERROR SeverityConstraint_Value = 4 - SeverityConstraint_VALUE_CRITICAL SeverityConstraint_Value = 5 -) - -// Enum value maps for SeverityConstraint_Value. -var ( - SeverityConstraint_Value_name = map[int32]string{ - 0: "VALUE_DEBUG_OR_UNSPECIFIED", - 1: "VALUE_VERBOSE", - 2: "VALUE_INFO", - 3: "VALUE_WARNING", - 4: "VALUE_ERROR", - 5: "VALUE_CRITICAL", - } - SeverityConstraint_Value_value = map[string]int32{ - "VALUE_DEBUG_OR_UNSPECIFIED": 0, - "VALUE_VERBOSE": 1, - "VALUE_INFO": 2, - "VALUE_WARNING": 3, - "VALUE_ERROR": 4, - "VALUE_CRITICAL": 5, - } -) - -func (x SeverityConstraint_Value) Enum() *SeverityConstraint_Value { - p := new(SeverityConstraint_Value) - *p = x - return p -} - -func (x SeverityConstraint_Value) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SeverityConstraint_Value) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_rules_v1_rule_matcher_proto_enumTypes[0].Descriptor() -} - -func (SeverityConstraint_Value) Type() protoreflect.EnumType { - return &file_com_coralogix_rules_v1_rule_matcher_proto_enumTypes[0] -} - -func (x SeverityConstraint_Value) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SeverityConstraint_Value.Descriptor instead. -func (SeverityConstraint_Value) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_matcher_proto_rawDescGZIP(), []int{3, 0} -} - -type RuleMatcher struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Constraint: - // *RuleMatcher_ApplicationName - // *RuleMatcher_SubsystemName - // *RuleMatcher_Severity - Constraint isRuleMatcher_Constraint `protobuf_oneof:"constraint"` -} - -func (x *RuleMatcher) Reset() { - *x = RuleMatcher{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RuleMatcher) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RuleMatcher) ProtoMessage() {} - -func (x *RuleMatcher) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RuleMatcher.ProtoReflect.Descriptor instead. -func (*RuleMatcher) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_matcher_proto_rawDescGZIP(), []int{0} -} - -func (m *RuleMatcher) GetConstraint() isRuleMatcher_Constraint { - if m != nil { - return m.Constraint - } - return nil -} - -func (x *RuleMatcher) GetApplicationName() *ApplicationNameConstraint { - if x, ok := x.GetConstraint().(*RuleMatcher_ApplicationName); ok { - return x.ApplicationName - } - return nil -} - -func (x *RuleMatcher) GetSubsystemName() *SubsystemNameConstraint { - if x, ok := x.GetConstraint().(*RuleMatcher_SubsystemName); ok { - return x.SubsystemName - } - return nil -} - -func (x *RuleMatcher) GetSeverity() *SeverityConstraint { - if x, ok := x.GetConstraint().(*RuleMatcher_Severity); ok { - return x.Severity - } - return nil -} - -type isRuleMatcher_Constraint interface { - isRuleMatcher_Constraint() -} - -type RuleMatcher_ApplicationName struct { - ApplicationName *ApplicationNameConstraint `protobuf:"bytes,1,opt,name=application_name,json=applicationName,proto3,oneof"` -} - -type RuleMatcher_SubsystemName struct { - SubsystemName *SubsystemNameConstraint `protobuf:"bytes,2,opt,name=subsystem_name,json=subsystemName,proto3,oneof"` -} - -type RuleMatcher_Severity struct { - Severity *SeverityConstraint `protobuf:"bytes,9,opt,name=severity,proto3,oneof"` -} - -func (*RuleMatcher_ApplicationName) isRuleMatcher_Constraint() {} - -func (*RuleMatcher_SubsystemName) isRuleMatcher_Constraint() {} - -func (*RuleMatcher_Severity) isRuleMatcher_Constraint() {} - -type ApplicationNameConstraint struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *ApplicationNameConstraint) Reset() { - *x = ApplicationNameConstraint{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ApplicationNameConstraint) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ApplicationNameConstraint) ProtoMessage() {} - -func (x *ApplicationNameConstraint) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ApplicationNameConstraint.ProtoReflect.Descriptor instead. -func (*ApplicationNameConstraint) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_matcher_proto_rawDescGZIP(), []int{1} -} - -func (x *ApplicationNameConstraint) GetValue() *wrapperspb.StringValue { - if x != nil { - return x.Value - } - return nil -} - -type SubsystemNameConstraint struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *SubsystemNameConstraint) Reset() { - *x = SubsystemNameConstraint{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SubsystemNameConstraint) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubsystemNameConstraint) ProtoMessage() {} - -func (x *SubsystemNameConstraint) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SubsystemNameConstraint.ProtoReflect.Descriptor instead. -func (*SubsystemNameConstraint) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_matcher_proto_rawDescGZIP(), []int{2} -} - -func (x *SubsystemNameConstraint) GetValue() *wrapperspb.StringValue { - if x != nil { - return x.Value - } - return nil -} - -type SeverityConstraint struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value SeverityConstraint_Value `protobuf:"varint,1,opt,name=value,proto3,enum=com.coralogix.rules.v1.SeverityConstraint_Value" json:"value,omitempty"` -} - -func (x *SeverityConstraint) Reset() { - *x = SeverityConstraint{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SeverityConstraint) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SeverityConstraint) ProtoMessage() {} - -func (x *SeverityConstraint) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SeverityConstraint.ProtoReflect.Descriptor instead. -func (*SeverityConstraint) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_matcher_proto_rawDescGZIP(), []int{3} -} - -func (x *SeverityConstraint) GetValue() SeverityConstraint_Value { - if x != nil { - return x.Value - } - return SeverityConstraint_VALUE_DEBUG_OR_UNSPECIFIED -} - -var File_com_coralogix_rules_v1_rule_matcher_proto protoreflect.FileDescriptor - -var file_com_coralogix_rules_v1_rule_matcher_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, - 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, - 0x2e, 0x76, 0x31, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0x9f, 0x02, 0x0a, 0x0b, 0x52, 0x75, 0x6c, 0x65, 0x4d, 0x61, 0x74, 0x63, - 0x68, 0x65, 0x72, 0x12, 0x5e, 0x0a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, - 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, - 0x48, 0x00, 0x52, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x58, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x61, - 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0d, - 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x48, 0x0a, - 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, - 0x79, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x08, 0x73, - 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x42, 0x0c, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x73, 0x74, - 0x72, 0x61, 0x69, 0x6e, 0x74, 0x22, 0x4f, 0x0a, 0x19, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, - 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x4d, 0x0a, 0x17, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, - 0x74, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xe1, 0x01, 0x0a, 0x12, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, - 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x46, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, - 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1e, - 0x0a, 0x1a, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x44, 0x45, 0x42, 0x55, 0x47, 0x5f, 0x4f, 0x52, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, - 0x0a, 0x0d, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x56, 0x45, 0x52, 0x42, 0x4f, 0x53, 0x45, 0x10, - 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x10, - 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x57, 0x41, 0x52, 0x4e, 0x49, - 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x43, - 0x52, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x10, 0x05, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_rules_v1_rule_matcher_proto_rawDescOnce sync.Once - file_com_coralogix_rules_v1_rule_matcher_proto_rawDescData = file_com_coralogix_rules_v1_rule_matcher_proto_rawDesc -) - -func file_com_coralogix_rules_v1_rule_matcher_proto_rawDescGZIP() []byte { - file_com_coralogix_rules_v1_rule_matcher_proto_rawDescOnce.Do(func() { - file_com_coralogix_rules_v1_rule_matcher_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_rules_v1_rule_matcher_proto_rawDescData) - }) - return file_com_coralogix_rules_v1_rule_matcher_proto_rawDescData -} - -var file_com_coralogix_rules_v1_rule_matcher_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_com_coralogix_rules_v1_rule_matcher_proto_goTypes = []interface{}{ - (SeverityConstraint_Value)(0), // 0: com.coralogix.rules.v1.SeverityConstraint.Value - (*RuleMatcher)(nil), // 1: com.coralogix.rules.v1.RuleMatcher - (*ApplicationNameConstraint)(nil), // 2: com.coralogix.rules.v1.ApplicationNameConstraint - (*SubsystemNameConstraint)(nil), // 3: com.coralogix.rules.v1.SubsystemNameConstraint - (*SeverityConstraint)(nil), // 4: com.coralogix.rules.v1.SeverityConstraint - (*wrapperspb.StringValue)(nil), // 5: google.protobuf.StringValue -} -var file_com_coralogix_rules_v1_rule_matcher_proto_depIdxs = []int32{ - 2, // 0: com.coralogix.rules.v1.RuleMatcher.application_name:type_name -> com.coralogix.rules.v1.ApplicationNameConstraint - 3, // 1: com.coralogix.rules.v1.RuleMatcher.subsystem_name:type_name -> com.coralogix.rules.v1.SubsystemNameConstraint - 4, // 2: com.coralogix.rules.v1.RuleMatcher.severity:type_name -> com.coralogix.rules.v1.SeverityConstraint - 5, // 3: com.coralogix.rules.v1.ApplicationNameConstraint.value:type_name -> google.protobuf.StringValue - 5, // 4: com.coralogix.rules.v1.SubsystemNameConstraint.value:type_name -> google.protobuf.StringValue - 0, // 5: com.coralogix.rules.v1.SeverityConstraint.value:type_name -> com.coralogix.rules.v1.SeverityConstraint.Value - 6, // [6:6] is the sub-list for method output_type - 6, // [6:6] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_com_coralogix_rules_v1_rule_matcher_proto_init() } -func file_com_coralogix_rules_v1_rule_matcher_proto_init() { - if File_com_coralogix_rules_v1_rule_matcher_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleMatcher); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplicationNameConstraint); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubsystemNameConstraint); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SeverityConstraint); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[0].OneofWrappers = []interface{}{ - (*RuleMatcher_ApplicationName)(nil), - (*RuleMatcher_SubsystemName)(nil), - (*RuleMatcher_Severity)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_rules_v1_rule_matcher_proto_rawDesc, - NumEnums: 1, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_rules_v1_rule_matcher_proto_goTypes, - DependencyIndexes: file_com_coralogix_rules_v1_rule_matcher_proto_depIdxs, - EnumInfos: file_com_coralogix_rules_v1_rule_matcher_proto_enumTypes, - MessageInfos: file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes, - }.Build() - File_com_coralogix_rules_v1_rule_matcher_proto = out.File - file_com_coralogix_rules_v1_rule_matcher_proto_rawDesc = nil - file_com_coralogix_rules_v1_rule_matcher_proto_goTypes = nil - file_com_coralogix_rules_v1_rule_matcher_proto_depIdxs = nil -} diff --git a/controllers/clientset/grpc/rules-groups/v1/rule_subgroup.pb.go b/controllers/clientset/grpc/rules-groups/v1/rule_subgroup.pb.go deleted file mode 100644 index b708dda..0000000 --- a/controllers/clientset/grpc/rules-groups/v1/rule_subgroup.pb.go +++ /dev/null @@ -1,195 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.3 -// source: com/coralogix/rules/v1/rule_subgroup.proto - -package __ - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type RuleSubgroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Rules []*Rule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=enabled,proto3" json:"enabled,omitempty"` - Order *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=order,proto3" json:"order,omitempty"` -} - -func (x *RuleSubgroup) Reset() { - *x = RuleSubgroup{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_subgroup_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RuleSubgroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RuleSubgroup) ProtoMessage() {} - -func (x *RuleSubgroup) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_subgroup_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RuleSubgroup.ProtoReflect.Descriptor instead. -func (*RuleSubgroup) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_subgroup_proto_rawDescGZIP(), []int{0} -} - -func (x *RuleSubgroup) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *RuleSubgroup) GetRules() []*Rule { - if x != nil { - return x.Rules - } - return nil -} - -func (x *RuleSubgroup) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -func (x *RuleSubgroup) GetOrder() *wrapperspb.UInt32Value { - if x != nil { - return x.Order - } - return nil -} - -var File_com_coralogix_rules_v1_rule_subgroup_proto protoreflect.FileDescriptor - -var file_com_coralogix_rules_v1_rule_subgroup_proto_rawDesc = []byte{ - 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x73, 0x75, - 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x01, 0x0a, 0x0c, 0x52, 0x75, 0x6c, 0x65, - 0x53, 0x75, 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x32, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, - 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x65, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, - 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x12, 0x32, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6f, - 0x72, 0x64, 0x65, 0x72, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_com_coralogix_rules_v1_rule_subgroup_proto_rawDescOnce sync.Once - file_com_coralogix_rules_v1_rule_subgroup_proto_rawDescData = file_com_coralogix_rules_v1_rule_subgroup_proto_rawDesc -) - -func file_com_coralogix_rules_v1_rule_subgroup_proto_rawDescGZIP() []byte { - file_com_coralogix_rules_v1_rule_subgroup_proto_rawDescOnce.Do(func() { - file_com_coralogix_rules_v1_rule_subgroup_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_rules_v1_rule_subgroup_proto_rawDescData) - }) - return file_com_coralogix_rules_v1_rule_subgroup_proto_rawDescData -} - -var file_com_coralogix_rules_v1_rule_subgroup_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_rules_v1_rule_subgroup_proto_goTypes = []interface{}{ - (*RuleSubgroup)(nil), // 0: com.coralogix.rules.v1.RuleSubgroup - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue - (*Rule)(nil), // 2: com.coralogix.rules.v1.Rule - (*wrapperspb.BoolValue)(nil), // 3: google.protobuf.BoolValue - (*wrapperspb.UInt32Value)(nil), // 4: google.protobuf.UInt32Value -} -var file_com_coralogix_rules_v1_rule_subgroup_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.rules.v1.RuleSubgroup.id:type_name -> google.protobuf.StringValue - 2, // 1: com.coralogix.rules.v1.RuleSubgroup.rules:type_name -> com.coralogix.rules.v1.Rule - 3, // 2: com.coralogix.rules.v1.RuleSubgroup.enabled:type_name -> google.protobuf.BoolValue - 4, // 3: com.coralogix.rules.v1.RuleSubgroup.order:type_name -> google.protobuf.UInt32Value - 4, // [4:4] is the sub-list for method output_type - 4, // [4:4] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_com_coralogix_rules_v1_rule_subgroup_proto_init() } -func file_com_coralogix_rules_v1_rule_subgroup_proto_init() { - if File_com_coralogix_rules_v1_rule_subgroup_proto != nil { - return - } - file_com_coralogix_rules_v1_rule_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_rules_v1_rule_subgroup_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleSubgroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_rules_v1_rule_subgroup_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_rules_v1_rule_subgroup_proto_goTypes, - DependencyIndexes: file_com_coralogix_rules_v1_rule_subgroup_proto_depIdxs, - MessageInfos: file_com_coralogix_rules_v1_rule_subgroup_proto_msgTypes, - }.Build() - File_com_coralogix_rules_v1_rule_subgroup_proto = out.File - file_com_coralogix_rules_v1_rule_subgroup_proto_rawDesc = nil - file_com_coralogix_rules_v1_rule_subgroup_proto_goTypes = nil - file_com_coralogix_rules_v1_rule_subgroup_proto_depIdxs = nil -} diff --git a/controllers/clientset/rules-groups-client.go b/controllers/clientset/rules-groups-client.go index 72192b2..56b3671 100644 --- a/controllers/clientset/rules-groups-client.go +++ b/controllers/clientset/rules-groups-client.go @@ -3,75 +3,13 @@ package clientset import ( "context" - rulesgroups "github.com/coralogix/coralogix-operator/controllers/clientset/grpc/rules-groups/v1" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" ) -//go:generate mockgen -destination=../mock_clientset/mock_rulegroups-client.go -package=mock_clientset github.com/coralogix/coralogix-operator/controllers/clientset RuleGroupsClientInterface +//go:generate mockgen -destination=../mock_clientset/mock_rulegroups-client.go -package=mock_clientset -source=rules-groups-client.go RuleGroupsClientInterface type RuleGroupsClientInterface interface { - CreateRuleGroup(ctx context.Context, req *rulesgroups.CreateRuleGroupRequest) (*rulesgroups.CreateRuleGroupResponse, error) - GetRuleGroup(ctx context.Context, req *rulesgroups.GetRuleGroupRequest) (*rulesgroups.GetRuleGroupResponse, error) - UpdateRuleGroup(ctx context.Context, req *rulesgroups.UpdateRuleGroupRequest) (*rulesgroups.UpdateRuleGroupResponse, error) - DeleteRuleGroup(ctx context.Context, req *rulesgroups.DeleteRuleGroupRequest) (*rulesgroups.DeleteRuleGroupResponse, error) -} - -type RuleGroupsClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (r RuleGroupsClient) CreateRuleGroup(ctx context.Context, req *rulesgroups.CreateRuleGroupRequest) (*rulesgroups.CreateRuleGroupResponse, error) { - callProperties, err := r.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := rulesgroups.NewRuleGroupsServiceClient(conn) - - return client.CreateRuleGroup(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (r RuleGroupsClient) GetRuleGroup(ctx context.Context, req *rulesgroups.GetRuleGroupRequest) (*rulesgroups.GetRuleGroupResponse, error) { - callProperties, err := r.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := rulesgroups.NewRuleGroupsServiceClient(conn) - - return client.GetRuleGroup(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (r RuleGroupsClient) UpdateRuleGroup(ctx context.Context, req *rulesgroups.UpdateRuleGroupRequest) (*rulesgroups.UpdateRuleGroupResponse, error) { - callProperties, err := r.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - - client := rulesgroups.NewRuleGroupsServiceClient(conn) - - return client.UpdateRuleGroup(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (r RuleGroupsClient) DeleteRuleGroup(ctx context.Context, req *rulesgroups.DeleteRuleGroupRequest) (*rulesgroups.DeleteRuleGroupResponse, error) { - callProperties, err := r.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - - client := rulesgroups.NewRuleGroupsServiceClient(conn) - - return client.DeleteRuleGroup(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func NewRuleGroupsClient(c *CallPropertiesCreator) *RuleGroupsClient { - return &RuleGroupsClient{callPropertiesCreator: c} + Create(ctx context.Context, req *cxsdk.CreateRuleGroupRequest) (*cxsdk.CreateRuleGroupResponse, error) + Get(ctx context.Context, req *cxsdk.GetRuleGroupRequest) (*cxsdk.GetRuleGroupResponse, error) + Update(ctx context.Context, req *cxsdk.UpdateRuleGroupRequest) (*cxsdk.UpdateRuleGroupResponse, error) + Delete(ctx context.Context, req *cxsdk.DeleteRuleGroupRequest) (*cxsdk.DeleteRuleGroupResponse, error) } diff --git a/controllers/mock_clientset/mock_rulegroups-client.go b/controllers/mock_clientset/mock_rulegroups-client.go index 1723ced..20a3853 100644 --- a/controllers/mock_clientset/mock_rulegroups-client.go +++ b/controllers/mock_clientset/mock_rulegroups-client.go @@ -1,9 +1,9 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/coralogix/coralogix-operator/controllers/clientset (interfaces: RuleGroupsClientInterface) +// Source: rules-groups-client.go // // Generated by this command: // -// mockgen -destination=../mock_clientset/mock_rulegroups-client.go -package=mock_clientset github.com/coralogix/coralogix-operator/controllers/clientset RuleGroupsClientInterface +// mockgen -destination=../mock_clientset/mock_rulegroups-client.go -package=mock_clientset -source=rules-groups-client.go RuleGroupsClientInterface // // Package mock_clientset is a generated GoMock package. package mock_clientset @@ -12,7 +12,7 @@ import ( context "context" reflect "reflect" - __ "github.com/coralogix/coralogix-operator/controllers/clientset/grpc/rules-groups/v1" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" gomock "go.uber.org/mock/gomock" ) @@ -39,62 +39,62 @@ func (m *MockRuleGroupsClientInterface) EXPECT() *MockRuleGroupsClientInterfaceM return m.recorder } -// CreateRuleGroup mocks base method. -func (m *MockRuleGroupsClientInterface) CreateRuleGroup(arg0 context.Context, arg1 *__.CreateRuleGroupRequest) (*__.CreateRuleGroupResponse, error) { +// Create mocks base method. +func (m *MockRuleGroupsClientInterface) Create(ctx context.Context, req *cxsdk.CreateRuleGroupRequest) (*cxsdk.CreateRuleGroupResponse, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateRuleGroup", arg0, arg1) - ret0, _ := ret[0].(*__.CreateRuleGroupResponse) + ret := m.ctrl.Call(m, "Create", ctx, req) + ret0, _ := ret[0].(*cxsdk.CreateRuleGroupResponse) ret1, _ := ret[1].(error) return ret0, ret1 } -// CreateRuleGroup indicates an expected call of CreateRuleGroup. -func (mr *MockRuleGroupsClientInterfaceMockRecorder) CreateRuleGroup(arg0, arg1 any) *gomock.Call { +// Create indicates an expected call of Create. +func (mr *MockRuleGroupsClientInterfaceMockRecorder) Create(ctx, req any) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateRuleGroup", reflect.TypeOf((*MockRuleGroupsClientInterface)(nil).CreateRuleGroup), arg0, arg1) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockRuleGroupsClientInterface)(nil).Create), ctx, req) } -// DeleteRuleGroup mocks base method. -func (m *MockRuleGroupsClientInterface) DeleteRuleGroup(arg0 context.Context, arg1 *__.DeleteRuleGroupRequest) (*__.DeleteRuleGroupResponse, error) { +// Delete mocks base method. +func (m *MockRuleGroupsClientInterface) Delete(ctx context.Context, req *cxsdk.DeleteRuleGroupRequest) (*cxsdk.DeleteRuleGroupResponse, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteRuleGroup", arg0, arg1) - ret0, _ := ret[0].(*__.DeleteRuleGroupResponse) + ret := m.ctrl.Call(m, "Delete", ctx, req) + ret0, _ := ret[0].(*cxsdk.DeleteRuleGroupResponse) ret1, _ := ret[1].(error) return ret0, ret1 } -// DeleteRuleGroup indicates an expected call of DeleteRuleGroup. -func (mr *MockRuleGroupsClientInterfaceMockRecorder) DeleteRuleGroup(arg0, arg1 any) *gomock.Call { +// Delete indicates an expected call of Delete. +func (mr *MockRuleGroupsClientInterfaceMockRecorder) Delete(ctx, req any) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteRuleGroup", reflect.TypeOf((*MockRuleGroupsClientInterface)(nil).DeleteRuleGroup), arg0, arg1) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockRuleGroupsClientInterface)(nil).Delete), ctx, req) } -// GetRuleGroup mocks base method. -func (m *MockRuleGroupsClientInterface) GetRuleGroup(arg0 context.Context, arg1 *__.GetRuleGroupRequest) (*__.GetRuleGroupResponse, error) { +// Get mocks base method. +func (m *MockRuleGroupsClientInterface) Get(ctx context.Context, req *cxsdk.GetRuleGroupRequest) (*cxsdk.GetRuleGroupResponse, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetRuleGroup", arg0, arg1) - ret0, _ := ret[0].(*__.GetRuleGroupResponse) + ret := m.ctrl.Call(m, "Get", ctx, req) + ret0, _ := ret[0].(*cxsdk.GetRuleGroupResponse) ret1, _ := ret[1].(error) return ret0, ret1 } -// GetRuleGroup indicates an expected call of GetRuleGroup. -func (mr *MockRuleGroupsClientInterfaceMockRecorder) GetRuleGroup(arg0, arg1 any) *gomock.Call { +// Get indicates an expected call of Get. +func (mr *MockRuleGroupsClientInterfaceMockRecorder) Get(ctx, req any) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRuleGroup", reflect.TypeOf((*MockRuleGroupsClientInterface)(nil).GetRuleGroup), arg0, arg1) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockRuleGroupsClientInterface)(nil).Get), ctx, req) } -// UpdateRuleGroup mocks base method. -func (m *MockRuleGroupsClientInterface) UpdateRuleGroup(arg0 context.Context, arg1 *__.UpdateRuleGroupRequest) (*__.UpdateRuleGroupResponse, error) { +// Update mocks base method. +func (m *MockRuleGroupsClientInterface) Update(ctx context.Context, req *cxsdk.UpdateRuleGroupRequest) (*cxsdk.UpdateRuleGroupResponse, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UpdateRuleGroup", arg0, arg1) - ret0, _ := ret[0].(*__.UpdateRuleGroupResponse) + ret := m.ctrl.Call(m, "Update", ctx, req) + ret0, _ := ret[0].(*cxsdk.UpdateRuleGroupResponse) ret1, _ := ret[1].(error) return ret0, ret1 } -// UpdateRuleGroup indicates an expected call of UpdateRuleGroup. -func (mr *MockRuleGroupsClientInterfaceMockRecorder) UpdateRuleGroup(arg0, arg1 any) *gomock.Call { +// Update indicates an expected call of Update. +func (mr *MockRuleGroupsClientInterfaceMockRecorder) Update(ctx, req any) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateRuleGroup", reflect.TypeOf((*MockRuleGroupsClientInterface)(nil).UpdateRuleGroup), arg0, arg1) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockRuleGroupsClientInterface)(nil).Update), ctx, req) } diff --git a/go.mod b/go.mod index e11a6ce..6a123f2 100644 --- a/go.mod +++ b/go.mod @@ -1,22 +1,26 @@ module github.com/coralogix/coralogix-operator -go 1.22 +go 1.22.5 + +toolchain go1.23.1 require ( + github.com/coralogix/coralogix-management-sdk v0.2.2-0.20240929081211-40a957390eee github.com/go-logr/logr v1.3.0 github.com/golang/protobuf v1.5.4 github.com/google/uuid v1.6.0 - github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 + github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 github.com/onsi/ginkgo/v2 v2.9.5 github.com/onsi/gomega v1.27.7 github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.64.1 - github.com/prometheus/alertmanager v0.27.0 - github.com/stretchr/testify v1.8.4 + github.com/prometheus/common v0.46.0 + github.com/stretchr/testify v1.9.0 go.uber.org/mock v0.3.0 go.uber.org/zap v1.24.0 - google.golang.org/genproto/googleapis/api v0.0.0-20240730163845-b1a4ccb954bf + google.golang.org/genproto/googleapis/api v0.0.0-20240823204242-4ba0660f739c google.golang.org/grpc v1.65.0 google.golang.org/protobuf v1.34.2 + k8s.io/api v0.27.2 k8s.io/apimachinery v0.27.2 k8s.io/client-go v0.27.2 k8s.io/utils v0.0.0-20240310230437-4693a0247e57 @@ -24,83 +28,51 @@ require ( ) require ( - github.com/armon/go-metrics v0.3.10 // indirect - github.com/aws/aws-sdk-go v1.50.8 // indirect github.com/benbjohnson/clock v1.3.5 // indirect github.com/beorn7/perks v1.0.1 // indirect - github.com/cenkalti/backoff/v4 v4.2.1 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect - github.com/coreos/go-systemd/v22 v22.5.0 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/emicklei/go-restful/v3 v3.10.1 // indirect github.com/evanphx/json-patch/v5 v5.6.0 // indirect github.com/fsnotify/fsnotify v1.6.0 // indirect - github.com/go-kit/log v0.2.1 // indirect - github.com/go-logfmt/logfmt v0.5.1 // indirect github.com/go-logr/zapr v1.2.4 // indirect github.com/go-openapi/jsonpointer v0.20.2 // indirect github.com/go-openapi/jsonreference v0.20.4 // indirect github.com/go-openapi/swag v0.22.9 // indirect github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect - github.com/gofrs/uuid v4.4.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect - github.com/google/btree v1.0.1 // indirect github.com/google/gnostic v0.6.9 // indirect github.com/google/go-cmp v0.6.0 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/google/pprof v0.0.0-20230228050547-1710fef4ab10 // indirect - github.com/hashicorp/errwrap v1.1.0 // indirect - github.com/hashicorp/go-immutable-radix v1.3.1 // indirect - github.com/hashicorp/go-msgpack v0.5.3 // indirect - github.com/hashicorp/go-multierror v1.1.0 // indirect - github.com/hashicorp/go-sockaddr v1.0.6 // indirect - github.com/hashicorp/golang-lru v0.5.4 // indirect - github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect - github.com/hashicorp/memberlist v0.5.0 // indirect github.com/imdario/mergo v0.3.13 // indirect - github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/josharian/intern v1.0.0 // indirect - github.com/jpillora/backoff v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/mailru/easyjson v0.7.7 // indirect - github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect - github.com/miekg/dns v1.1.41 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect - github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect - github.com/oklog/run v1.1.0 // indirect - github.com/oklog/ulid v1.3.1 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/prometheus/client_golang v1.18.0 // indirect github.com/prometheus/client_model v0.5.0 // indirect - github.com/prometheus/common v0.46.0 // indirect - github.com/prometheus/common/sigv4 v0.1.0 // indirect - github.com/prometheus/exporter-toolkit v0.11.0 // indirect github.com/prometheus/procfs v0.12.0 // indirect - github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 // indirect - github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 // indirect - github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546 // indirect github.com/spf13/pflag v1.0.5 // indirect go.uber.org/atomic v1.11.0 // indirect go.uber.org/multierr v1.6.0 // indirect - golang.org/x/crypto v0.24.0 // indirect - golang.org/x/net v0.26.0 // indirect + golang.org/x/net v0.28.0 // indirect golang.org/x/oauth2 v0.20.0 // indirect - golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.21.0 // indirect - golang.org/x/term v0.21.0 // indirect - golang.org/x/text v0.16.0 // indirect + golang.org/x/sys v0.24.0 // indirect + golang.org/x/term v0.23.0 // indirect + golang.org/x/text v0.17.0 // indirect golang.org/x/time v0.3.0 // indirect golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect gomodules.xyz/jsonpatch/v2 v2.3.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240730163845-b1a4ccb954bf // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240823204242-4ba0660f739c // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - k8s.io/api v0.27.2 // indirect k8s.io/apiextensions-apiserver v0.27.2 // indirect k8s.io/component-base v0.27.2 // indirect k8s.io/klog/v2 v2.90.1 // indirect diff --git a/go.sum b/go.sum index 3ee288c..e91c55f 100644 --- a/go.sum +++ b/go.sum @@ -1,78 +1,26 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= -cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= -cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= -cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= -cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= -cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= -cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= -cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= -cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= -cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= -cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= -cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= -cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= -cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= -cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= -cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= -cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= -cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= -github.com/armon/go-metrics v0.3.10 h1:FR+drcQStOe+32sYyJYyZ7FIdgoGGBnwLl+flodp8Uo= -github.com/armon/go-metrics v0.3.10/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= -github.com/aws/aws-sdk-go v1.38.35/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= -github.com/aws/aws-sdk-go v1.50.8 h1:gY0WoOW+/Wz6XmYSgDH9ge3wnAevYDSQWPxxJvqAkP4= -github.com/aws/aws-sdk-go v1.50.8/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/benbjohnson/clock v1.3.5 h1:VvXlSJBzZpA/zum6Sj74hxwYI2DIxRWuNIoXAzHZz5o= github.com/benbjohnson/clock v1.3.5/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= -github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= -github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM= -github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= -github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs= -github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= +github.com/coralogix/coralogix-management-sdk v0.2.2-0.20240924134144-265d881a6bea h1:FU2ZjriV84xjYG2y6r6Xxfo6E2rG/FNAV5dJx4lyoZ8= +github.com/coralogix/coralogix-management-sdk v0.2.2-0.20240924134144-265d881a6bea/go.mod h1:1aa/coMEMe5M1NvnRymOrBF2iCdefaWR0CMaMjPu0oI= +github.com/coralogix/coralogix-management-sdk v0.2.2-0.20240929081211-40a957390eee h1:9Fxm71yLR/NxnGHkDE9UO5Zj1bzzgRksqN8UkS4rtUU= +github.com/coralogix/coralogix-management-sdk v0.2.2-0.20240929081211-40a957390eee/go.mod h1:1aa/coMEMe5M1NvnRymOrBF2iCdefaWR0CMaMjPu0oI= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -93,19 +41,8 @@ github.com/flowstack/go-jsonschema v0.1.1/go.mod h1:yL7fNggx1o8rm9RlgXv7hTBWxdBM github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= -github.com/go-kit/log v0.2.1 h1:MRVx0/zhvdseW+Gza6N9rVzU/IVzaeE1SFI4raAhmBU= -github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= -github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= -github.com/go-logfmt/logfmt v0.5.1 h1:otpy5pqBCBZ1ng9RQ0dPu4PN7ba75Y/aA+UpowDyNVA= -github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.3.0 h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY= @@ -121,31 +58,15 @@ github.com/go-openapi/swag v0.22.9/go.mod h1:3/OXnFfnMAwBD099SwYRk7GD3xOrr1iL7d/ github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= -github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/gofrs/uuid v4.4.0+incompatible h1:3qXRTX8/NbyulANqlc0lchS1gqAVxRgsuW1YrTJupqA= -github.com/gofrs/uuid v4.4.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= -github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= @@ -158,99 +79,37 @@ github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaS github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.1 h1:gK4Kx5IaGY9CD5sPJ36FHiBJ6ZXl0kilRiiCj+jdYp4= -github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= github.com/google/gnostic v0.6.9 h1:ZK/5VhkoX835RikCHpSUJV9a+S3e1zLh59YnyWeBW+0= github.com/google/gnostic v0.6.9/go.mod h1:Nm8234We1lq6iB9OmlgNv3nH91XLLVZHCDayfA3xq+E= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20230228050547-1710fef4ab10 h1:CqYfpuYIjnlNxM3msdyPRKabhXZWbKjf3Q8BWROFBso= github.com/google/pprof v0.0.0-20230228050547-1710fef4ab10/go.mod h1:79YE0hCXdHag9sBkw2o+N/YnZtTkXi0UT9Nnixa5eYk= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw= -github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= +github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 h1:UH//fgunKIs4JdUbpDl1VZCDaL56wXCB/5+wF6uHfaI= +github.com/grpc-ecosystem/go-grpc-middleware v1.4.0/go.mod h1:g5qyo/la0ALbONm6Vbp88Yd8NsDy6rZz+RcrMPxvld8= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= -github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= -github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc= -github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-msgpack v0.5.3 h1:zKjpN5BK/P5lMYrLmBHdBULWbJ0XpYR+7NGzqkZzoD4= -github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= -github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-multierror v1.1.0 h1:B9UzwGQJehnUY1yNrnwREHc3fGbC2xefo8g4TbElacI= -github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+vmowP0z+KUhOZdA= -github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= -github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= -github.com/hashicorp/go-sockaddr v1.0.6 h1:RSG8rKU28VTUTvEKghe5gIhIQpv8evvNpnDEyqO4u9I= -github.com/hashicorp/go-sockaddr v1.0.6/go.mod h1:uoUUmtwU7n9Dv3O4SNLeFvg0SxQ3lyjsj6+CCykpaxI= -github.com/hashicorp/go-uuid v1.0.0 h1:RS8zrF7PhGwyNPOtxSClXXj9HA8feRnJzgnI1RJCSnM= -github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= -github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= -github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= -github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= -github.com/hashicorp/memberlist v0.5.0 h1:EtYPN8DpAURiapus508I4n9CzHs2W+8NZGbmmR/prTM= -github.com/hashicorp/memberlist v0.5.0/go.mod h1:yvyXLpo0QaGE59Y7hDTsTzDD25JYBZ4mHgHUZ8lrOI0= -github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= -github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= -github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= -github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= -github.com/jpillora/backoff v1.0.0 h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA= -github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= -github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= @@ -261,37 +120,18 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= -github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= -github.com/miekg/dns v1.1.41 h1:WMszZWJG0XmzbK9FEmzH2TVcqYzFesusSIB41b8KHxY= -github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+SVif2QVs3tOP0zanoHgBEVAwHxUSIzRqU= -github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA= -github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU= -github.com/oklog/ulid v1.3.1 h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4= -github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/onsi/ginkgo/v2 v2.9.5 h1:+6Hr4uxzP4XIUyAkg61dWBw8lb/gc4/X5luuxN/EC+Q= github.com/onsi/ginkgo/v2 v2.9.5/go.mod h1:tvAoo1QUJwNEU2ITftXTpR7R1RbCzoZUOs3RonqW57k= github.com/onsi/gomega v1.27.7 h1:fVih9JD6ogIiHUN6ePK7HJidyEDpWGVB5mzM7cWNXoU= github.com/onsi/gomega v1.27.7/go.mod h1:1p8OOlwo2iUUDsHnOrjE5UKYJ+e3W8eQ3qSlRahPmr4= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= -github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY= -github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= -github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -299,52 +139,19 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.64.1 h1:bvntWler8vOjDJtxBwGDakGNC6srSZmgawGM9Jf7HC8= github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.64.1/go.mod h1:cfNgxpCPGyIydmt3HcwDqKDt0nYdlGRhzftl+DZH7WA= -github.com/prometheus/alertmanager v0.27.0 h1:V6nTa2J5V4s8TG4C4HtrBP/WNSebCCTYGGv4qecA/+I= -github.com/prometheus/alertmanager v0.27.0/go.mod h1:8Ia/R3urPmbzJ8OsdvmZvIprDwvwmYCmUbwBL+jlPOE= -github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= -github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk= github.com/prometheus/client_golang v1.18.0/go.mod h1:T+GXkCk5wSJyOqMIzVgvvjFDlkOQntgjkJWKrN5txjA= -github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.5.0 h1:VQw1hfvPvk3Uv6Qf29VrPF32JB6rtbgI6cYPYQjL0Qw= github.com/prometheus/client_model v0.5.0/go.mod h1:dTiFglRmd66nLR9Pv9f0mZi7B7fk5Pm3gvsjB5tr+kI= -github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= -github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= -github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= -github.com/prometheus/common v0.29.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/common v0.46.0 h1:doXzt5ybi1HBKpsZOL0sSkaNHJJqkyfEWZGGqqScV0Y= github.com/prometheus/common v0.46.0/go.mod h1:Tp0qkxpb9Jsg54QMe+EAmqXkSV7Evdy1BTn+g2pa/hQ= -github.com/prometheus/common/sigv4 v0.1.0 h1:qoVebwtwwEhS85Czm2dSROY5fTo2PAPEVdDeppTwGX4= -github.com/prometheus/common/sigv4 v0.1.0/go.mod h1:2Jkxxk9yYvCkE5G1sQT7GuEXm57JrvHu9k5YwTjsNtI= -github.com/prometheus/exporter-toolkit v0.11.0 h1:yNTsuZ0aNCNFQ3aFTD2uhPOvr4iD7fdBvKPAEGkNf+g= -github.com/prometheus/exporter-toolkit v0.11.0/go.mod h1:BVnENhnNecpwoTLiABx7mrPB/OLRIgN74qlQbV+FK1Q= -github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= -github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo= github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= -github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 h1:nn5Wsu0esKSJiIVhscUtVbo7ada43DJhG55ua/hjS5I= -github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= -github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 h1:bUGsEnyNbVPw06Bs80sCeARAlK8lhwqGyi6UT8ymuGk= -github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg= -github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546 h1:pXY9qYc/MP5zdvqWEUH6SjNiu7VhSjuVFTFiTcphaLU= -github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw= -github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= @@ -360,240 +167,98 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= -github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= -go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE= go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= +go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A= go.uber.org/goleak v1.2.1/go.mod h1:qlT2yGI9QafXHhZZLxlSuNsMw3FFLxBr+tBRlmO1xH4= go.uber.org/mock v0.3.0 h1:3mUxI1No2/60yUYax92Pt8eNOEecx2D3lcXZh2NEZJo= go.uber.org/mock v0.3.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc= -go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= -go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.18.1/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= -golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI= -golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= -golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= -golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= -golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= +golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= +golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.20.0 h1:4mQdhULixXKP1rwYBW0vAijoXnkTG0BLCDRzfe1idMo= golang.org/x/oauth2 v0.20.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= -golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190922100055-0a153f010e69/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= -golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.24.0 h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg= +golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.21.0 h1:WVXCp+/EBEHOj53Rvu+7KiT/iElMrO8ACK16SMZ3jaA= -golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0= -golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/term v0.23.0 h1:F6D4vR+EHoL9/sWAWgAR1H2DcHr4PareCbAaCo1RpuU= +golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= -golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= -golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc= +golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg= @@ -604,76 +269,23 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gomodules.xyz/jsonpatch/v2 v2.3.0 h1:8NFhfS6gzxNqjLIYnZxg319wZ5Qjnx4m/CcX+Klzazc= gomodules.xyz/jsonpatch/v2 v2.3.0/go.mod h1:AH3dM2RI6uoBZxn3LVrfvJ3E0/9dG4cSrbuBJT4moAY= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= -google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= -google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= -google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto/googleapis/api v0.0.0-20240730163845-b1a4ccb954bf h1:GillM0Ef0pkZPIB+5iO6SDK+4T9pf6TpaYR6ICD5rVE= -google.golang.org/genproto/googleapis/api v0.0.0-20240730163845-b1a4ccb954bf/go.mod h1:OFMYQFHJ4TM3JRlWDZhJbZfra2uqc3WLBZiaaqP4DtU= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240730163845-b1a4ccb954bf h1:liao9UHurZLtiEwBgT9LMOnKYsHze6eA6w1KQCMVN2Q= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240730163845-b1a4ccb954bf/go.mod h1:Ue6ibwXGpU+dqIcODieyLOcgj7z8+IcskoNIgZxtrFY= +google.golang.org/genproto/googleapis/api v0.0.0-20240823204242-4ba0660f739c h1:e0zB268kOca6FbuJkYUGxfwG4DKFZG/8DLyv9Zv66cE= +google.golang.org/genproto/googleapis/api v0.0.0-20240823204242-4ba0660f739c/go.mod h1:fO8wJzT2zbQbAjbIoos1285VfEIYKDDY+Dt+WpTkh6g= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240823204242-4ba0660f739c h1:Kqjm4WpoWvwhMPcrAczoTyMySQmYa9Wy2iL6Con4zn8= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240823204242-4ba0660f739c/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= -google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= @@ -687,43 +299,32 @@ google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzi google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= -gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= -gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= k8s.io/api v0.27.2 h1:+H17AJpUMvl+clT+BPnKf0E3ksMAzoBBg7CntpSuADo= k8s.io/api v0.27.2/go.mod h1:ENmbocXfBT2ADujUXcBhHV55RIT31IIEvkntP6vZKS4= k8s.io/apiextensions-apiserver v0.27.2 h1:iwhyoeS4xj9Y7v8YExhUwbVuBhMr3Q4bd/laClBV6Bo= @@ -740,9 +341,6 @@ k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f h1:2kWPakN3i/k81b0gvD5C5F k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f/go.mod h1:byini6yhqGC14c3ebc/QwanvYwhuMWF6yz2F8uwW8eg= k8s.io/utils v0.0.0-20240310230437-4693a0247e57 h1:gbqbevonBh57eILzModw6mrkbwM0gQBEuevE/AaBsHY= k8s.io/utils v0.0.0-20240310230437-4693a0247e57/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= -rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= sigs.k8s.io/controller-runtime v0.15.0 h1:ML+5Adt3qZnMSYxZ7gAverBLNPSMQEibtzAgp0UPojU= sigs.k8s.io/controller-runtime v0.15.0/go.mod h1:7ngYvp1MLT+9GeZ+6lH3LOlcHkp/+tzA/fmHa4iq9kk= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= diff --git a/kuttl-test.yaml b/kuttl-test.yaml index 1bd8c2f..1c6e3c1 100644 --- a/kuttl-test.yaml +++ b/kuttl-test.yaml @@ -8,4 +8,4 @@ testDirs: - tests/e2e/outboundwebhooks - tests/e2e/alertmangerconfigs namespace: default -timeout: 60 \ No newline at end of file +timeout: 120 \ No newline at end of file