From 2c030ba8458a42a5a803fe1462e60ecb2957f387 Mon Sep 17 00:00:00 2001 From: dmaddu Date: Fri, 3 Jan 2025 17:51:50 +0530 Subject: [PATCH] update protobuf Signed-off-by: Durga Sarat Chandra Maddu --- .license_scout.yml | 277 +- .studio/protobuf | 10 +- api/config/applications/config_request.pb.go | 198 +- api/config/authn/config_request.pb.go | 290 +- api/config/authz/config_request.pb.go | 224 +- .../backup_gateway/config_request.pb.go | 251 +- api/config/bifrost/config_request.pb.go | 220 +- api/config/bookshelf/config_request.pb.go | 251 +- api/config/builder_api/config_request.pb.go | 222 +- .../builder_api_proxy/config_request.pb.go | 286 +- .../builder_memcached/config_request.pb.go | 160 +- api/config/cds/config_request.pb.go | 191 +- api/config/cereal/config_request.pb.go | 156 +- api/config/cfgmgmt/config_request.pb.go | 191 +- api/config/compliance/config_request.pb.go | 336 +- api/config/cs_nginx/config_request.pb.go | 375 +- api/config/data_feed/config_request.pb.go | 159 +- api/config/deployment/automate_config.pb.go | 35 +- api/config/deployment/config_request.pb.go | 374 +- api/config/dex/config_request.pb.go | 574 +-- api/config/elasticsearch/config_request.pb.go | 846 ++--- api/config/erchef/config_request.pb.go | 479 +-- api/config/es_sidecar/config_request.pb.go | 323 +- api/config/esgateway/config_request.pb.go | 406 +- api/config/event/config_request.pb.go | 247 +- api/config/event_feed/config_request.pb.go | 185 +- api/config/event_gateway/config_request.pb.go | 189 +- api/config/gateway/config_request.pb.go | 239 +- api/config/infra_proxy/config_request.pb.go | 191 +- api/config/ingest/config_request.pb.go | 187 +- .../license_control/config_request.pb.go | 229 +- api/config/load_balancer/config_request.pb.go | 372 +- api/config/local_user/config_request.pb.go | 193 +- api/config/minio/config_request.pb.go | 215 +- api/config/nodemanager/config_request.pb.go | 227 +- api/config/notifications/config_request.pb.go | 280 +- api/config/ocid/config_request.pb.go | 340 +- api/config/opensearch/config_request.pb.go | 846 ++--- api/config/pg_gateway/config_request.pb.go | 215 +- api/config/pg_sidecar/config_request.pb.go | 189 +- api/config/platform/config.pb.go | 289 +- api/config/postgresql/config_request.pb.go | 251 +- api/config/prometheus/config_request.pb.go | 156 +- .../report_manager/config_request.pb.go | 218 +- api/config/sample_data/config_request.pb.go | 189 +- api/config/secrets/config_request.pb.go | 226 +- api/config/session/config_request.pb.go | 255 +- api/config/shared/global.pb.go | 1871 +++------ api/config/shared/tls.pb.go | 78 +- api/config/teams/config_request.pb.go | 191 +- api/config/ui/config_request.pb.go | 388 +- api/config/user_settings/config_request.pb.go | 158 +- .../annotations/iam/annotations.pb.go | 4 +- api/external/annotations/iam/policy.pb.go | 37 +- api/external/applications/applications.pb.go | 970 ++--- api/external/cds/cds.pb.go | 4 +- api/external/cds/request/root.pb.go | 153 +- api/external/cds/response/root.pb.go | 163 +- api/external/cfgmgmt/cfgmgmt.pb.go | 4 +- api/external/cfgmgmt/request/actions.pb.go | 37 +- api/external/cfgmgmt/request/errors.pb.go | 37 +- api/external/cfgmgmt/request/nodes.pb.go | 285 +- api/external/cfgmgmt/request/rollouts.pb.go | 217 +- api/external/cfgmgmt/request/root.pb.go | 58 +- api/external/cfgmgmt/request/stats.pb.go | 99 +- api/external/cfgmgmt/request/telemetry.pb.go | 61 +- api/external/cfgmgmt/response/actions.pb.go | 64 +- api/external/cfgmgmt/response/errors.pb.go | 68 +- api/external/cfgmgmt/response/nodes.pb.go | 525 +-- api/external/cfgmgmt/response/rollouts.pb.go | 206 +- api/external/cfgmgmt/response/stats.pb.go | 134 +- .../cfgmgmt/response/suggestions.pb.go | 37 +- api/external/cfgmgmt/response/telemetry.pb.go | 63 +- api/external/common/query/parameters.pb.go | 161 +- api/external/common/response.pb.go | 37 +- api/external/common/version/version.pb.go | 67 +- .../compliance/profiles/profiles.pb.go | 717 +--- .../compliance/reporting/reporting.pb.go | 1756 +++------ .../compliance/reporting/stats/stats.pb.go | 669 +--- .../compliance/scanner/jobs/jobs.pb.go | 218 +- api/external/data_feed/data_feed.pb.go | 785 ++-- .../data_lifecycle/data_lifecycle.pb.go | 1090 ++---- api/external/event_feed/event_feed.pb.go | 4 +- api/external/event_feed/request/event.pb.go | 130 +- .../event_feed/request/eventstrings.pb.go | 37 +- api/external/event_feed/response/event.pb.go | 190 +- .../event_feed/response/eventstrings.pb.go | 101 +- api/external/go.mod | 1 - api/external/habitat/event.pb.go | 253 +- api/external/iam/v2/common/policy.pb.go | 161 +- api/external/iam/v2/common/rules.pb.go | 68 +- api/external/iam/v2/common/teams.pb.go | 39 +- api/external/iam/v2/common/tokens.pb.go | 37 +- api/external/iam/v2/common/users.pb.go | 37 +- api/external/iam/v2/introspect.pb.go | 4 +- api/external/iam/v2/policy.pb.go | 4 +- api/external/iam/v2/request/introspect.pb.go | 92 +- api/external/iam/v2/request/policy.pb.go | 606 +-- api/external/iam/v2/request/rules.pb.go | 265 +- api/external/iam/v2/request/teams.pb.go | 328 +- api/external/iam/v2/request/tokens.pb.go | 156 +- api/external/iam/v2/request/users.pb.go | 185 +- api/external/iam/v2/response/introspect.pb.go | 72 +- api/external/iam/v2/response/policy.pb.go | 638 +--- api/external/iam/v2/response/rules.pb.go | 233 +- api/external/iam/v2/response/teams.pb.go | 319 +- api/external/iam/v2/response/tokens.pb.go | 148 +- api/external/iam/v2/response/users.pb.go | 177 +- api/external/iam/v2/rules.pb.go | 4 +- api/external/iam/v2/teams.pb.go | 4 +- api/external/iam/v2/tokens.pb.go | 4 +- api/external/iam/v2/users.pb.go | 4 +- api/external/infra_proxy/infra_proxy.pb.go | 4 +- .../infra_proxy/request/clients.pb.go | 130 +- api/external/infra_proxy/request/common.pb.go | 37 +- .../infra_proxy/request/cookbooks.pb.go | 130 +- .../infra_proxy/request/databags.pb.go | 223 +- .../infra_proxy/request/environments.pb.go | 130 +- api/external/infra_proxy/request/nodes.pb.go | 221 +- api/external/infra_proxy/request/orgs.pb.go | 192 +- .../infra_proxy/request/policyfiles.pb.go | 161 +- api/external/infra_proxy/request/roles.pb.go | 192 +- .../infra_proxy/request/servers.pb.go | 187 +- api/external/infra_proxy/request/users.pb.go | 68 +- .../infra_proxy/response/clients.pb.go | 221 +- .../infra_proxy/response/common.pb.go | 37 +- .../infra_proxy/response/cookbooks.pb.go | 308 +- .../infra_proxy/response/databags.pb.go | 254 +- .../infra_proxy/response/environments.pb.go | 130 +- api/external/infra_proxy/response/nodes.pb.go | 252 +- api/external/infra_proxy/response/orgs.pb.go | 223 +- .../infra_proxy/response/policyfiles.pb.go | 463 +-- api/external/infra_proxy/response/roles.pb.go | 161 +- .../infra_proxy/response/servers.pb.go | 225 +- api/external/infra_proxy/response/users.pb.go | 99 +- api/external/ingest/chef.pb.go | 4 +- api/external/ingest/job_scheduler.pb.go | 4 +- api/external/ingest/request/action.pb.go | 93 +- api/external/ingest/request/chef.pb.go | 261 +- .../ingest/request/job_scheduler.pb.go | 299 +- api/external/ingest/request/liveness.pb.go | 49 +- api/external/ingest/response/action.pb.go | 84 +- api/external/ingest/response/chef.pb.go | 32 +- .../ingest/response/job_scheduler.pb.go | 392 +- api/external/ingest/response/liveness.pb.go | 32 +- api/external/nodes/manager/manager.pb.go | 334 +- api/external/nodes/nodes.pb.go | 311 +- .../report_manager/report_manager.pb.go | 93 +- api/external/secrets/secrets.pb.go | 182 +- .../user_settings/user_settings.pb.go | 221 +- api/interservice/authn/authenticate.pb.go | 65 +- api/interservice/authn/tokens.pb.go | 322 +- api/interservice/authz/authz.pb.go | 343 +- api/interservice/authz/policy.pb.go | 1037 ++--- api/interservice/authz/project.pb.go | 1015 ++--- api/interservice/authz/type.pb.go | 4 +- api/interservice/cds/service/cds.pb.go | 4 +- api/interservice/cereal/cereal.pb.go | 1610 +++----- .../cfgmgmt/request/actions.pb.go | 111 +- .../cfgmgmt/request/inventory_nodes.pb.go | 47 +- .../cfgmgmt/request/node_export.pb.go | 76 +- api/interservice/cfgmgmt/request/nodes.pb.go | 237 +- .../cfgmgmt/request/parameters.pb.go | 101 +- api/interservice/cfgmgmt/request/root.pb.go | 110 +- api/interservice/cfgmgmt/request/stats.pb.go | 105 +- .../cfgmgmt/request/telemetry.pb.go | 61 +- .../cfgmgmt/response/actions.pb.go | 96 +- .../cfgmgmt/response/inventory_nodes.pb.go | 64 +- api/interservice/cfgmgmt/response/nodes.pb.go | 589 +-- api/interservice/cfgmgmt/response/root.pb.go | 186 +- api/interservice/cfgmgmt/response/stats.pb.go | 140 +- .../cfgmgmt/response/suggestions.pb.go | 37 +- .../cfgmgmt/response/telemetry.pb.go | 63 +- .../cfgmgmt/service/cfgmgmt.pb.go | 4 +- .../compliance/common/common.pb.go | 68 +- .../ingest/events/compliance/compliance.pb.go | 35 +- .../ingest/events/inspec/inspec.pb.go | 515 +-- .../compliance/ingest/ingest/compliance.pb.go | 90 +- api/interservice/compliance/jobs/jobs.pb.go | 354 +- .../compliance/profiles/profiles.pb.go | 831 ++-- .../compliance/reporting/reporting.pb.go | 2160 +++-------- api/interservice/compliance/stats/stats.pb.go | 759 ++-- .../compliance/status/status.pb.go | 103 +- .../compliance/version/version.pb.go | 43 +- api/interservice/data_lifecycle/purge.pb.go | 203 +- .../deployment/automate_deployment.pb.go | 3364 +++++------------ .../deployment/certificate_authority.pb.go | 113 +- api/interservice/es_sidecar/service.pb.go | 600 +-- api/interservice/event/event.pb.go | 461 +-- api/interservice/event_feed/event_feed.pb.go | 573 +-- api/interservice/id_token/id_token.pb.go | 66 +- .../infra_proxy/request/clients.pb.go | 130 +- .../infra_proxy/request/common.pb.go | 37 +- .../infra_proxy/request/cookbooks.pb.go | 130 +- .../infra_proxy/request/databags.pb.go | 223 +- .../infra_proxy/request/environments.pb.go | 130 +- .../infra_proxy/request/nodes.pb.go | 221 +- .../infra_proxy/request/orgs.pb.go | 192 +- .../infra_proxy/request/policyfiles.pb.go | 161 +- .../infra_proxy/request/roles.pb.go | 192 +- .../infra_proxy/request/servers.pb.go | 187 +- .../infra_proxy/request/users.pb.go | 68 +- .../infra_proxy/response/clients.pb.go | 221 +- .../infra_proxy/response/common.pb.go | 37 +- .../infra_proxy/response/cookbooks.pb.go | 308 +- .../infra_proxy/response/databags.pb.go | 254 +- .../infra_proxy/response/environments.pb.go | 130 +- .../infra_proxy/response/nodes.pb.go | 252 +- .../infra_proxy/response/orgs.pb.go | 223 +- .../infra_proxy/response/policyfiles.pb.go | 463 +-- .../infra_proxy/response/roles.pb.go | 161 +- .../infra_proxy/response/servers.pb.go | 225 +- .../infra_proxy/response/users.pb.go | 99 +- .../infra_proxy/service/infra_proxy.pb.go | 4 +- api/interservice/ingest/automate_event.pb.go | 61 +- api/interservice/ingest/chef.pb.go | 67 +- api/interservice/ingest/job_scheduler.pb.go | 795 +--- api/interservice/ingest/status.pb.go | 212 +- .../license_control/license_control.pb.go | 454 +-- api/interservice/local_user/users.pb.go | 248 +- .../nodemanager/manager/manager.pb.go | 527 +-- .../nodemanager/nodes/nodes.pb.go | 542 +-- .../notifications/service/events.pb.go | 678 +--- .../notifications/service/health.pb.go | 61 +- .../notifications/service/rules.pb.go | 534 +-- .../notifications/service/server.pb.go | 4 +- api/interservice/pg_sidecar/service.pb.go | 565 +-- .../report_manager/report_manager.pb.go | 285 +- api/interservice/teams/teams.pb.go | 740 +--- .../user_settings/user_settings.pb.go | 221 +- buf.yaml | 2609 ++++++++++--- .../boltdb/internal/v1/schema/v1.pb.go | 132 +- .../api/deployment/deployment.pb.go | 127 +- .../api/gateway/gateway.pb.go | 70 +- .../automate-gateway/api/legacy/legacy.pb.go | 35 +- .../api/license/license.pb.go | 218 +- .../api/notifications/notifications.pb.go | 662 +--- .../api/telemetry/telemetry.pb.go | 79 +- .../api/a2conf/annotations.pb.go | 35 +- .../api/a2conf/port.pb.go | 39 +- .../api/a2conf/secret.pb.go | 35 +- .../notifications-client/api/health.pb.go | 61 +- .../api/notifications.pb.go | 678 +--- .../notifications-client/api/rules.pb.go | 534 +-- .../notifications-client/api/server.pb.go | 4 +- go.mod | 160 +- go.sum | 475 +-- lib/grpc/debug/debug_api/debug.pb.go | 211 +- lib/license/license.pb.go | 72 +- vendor.go | 4 +- 250 files changed, 19801 insertions(+), 48160 deletions(-) diff --git a/.license_scout.yml b/.license_scout.yml index f9b4e5c5496..881474e4bd9 100644 --- a/.license_scout.yml +++ b/.license_scout.yml @@ -99,6 +99,12 @@ allowed_licenses: fallbacks: golang: + - license_content: https://raw.githubusercontent.com/bufbuild/buf/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: buf.build/gen/go/bufbuild/bufplugin/connectrpc/go + - license_content: https://raw.githubusercontent.com/bufbuild/buf/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: buf.build/gen/go/bufbuild/protovalidate/connectrpc/go - license_content: https://raw.githubusercontent.com/golang/term/master/LICENSE license_id: BSD-3-Clause name: golang.org/x/term @@ -207,9 +213,261 @@ fallbacks: - license_content: https://raw.githubusercontent.com/go-yaml/yaml/v3/LICENSE license_id: MIT name: gopkg.in/yaml.v3 - - license_content: https://raw.githubusercontent.com/bgentry/go-netrc/master/LICENSE +# - license_content: https://raw.githubusercontent.com/bgentry/go-netrc/master/LICENSE +# license_id: MIT +# name: github.com/bgentry/go-netrc + - license_content: https://raw.githubusercontent.com/darccio/mergo/refs/heads/master/LICENSE + license_id: BSD-3-Clause + name: dario.cat/mergo + - license_content: https://raw.githubusercontent.com/AdamKorcz/go-118-fuzz-build/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/AdamKorcz/go-118-fuzz-build + - license_content: https://raw.githubusercontent.com/GoogleCloudPlatform/opentelemetry-operations-go/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp + - license_content: https://raw.githubusercontent.com/microsoft/cosesign1go/refs/heads/main/LICENSE + license_id: MIT + name: github.com/Microsoft/cosesign1go + - license_content: https://raw.githubusercontent.com/microsoft/didx509go/refs/heads/main/LICENSE + license_id: MIT + name: github.com/Microsoft/didx509go + - license_content: https://raw.githubusercontent.com/akavel/rsrc/refs/heads/master/LICENSE.txt + license_id: MIT + name: github.com/akavel/rsrc + - license_content: https://raw.githubusercontent.com/blang/semver/refs/heads/master/LICENSE + license_id: MIT + name: github.com/blang/semver/v4 + - license_content: https://raw.githubusercontent.com/cilium/ebpf/refs/heads/main/LICENSE + license_id: MIT + name: github.com/cilium/ebpf + - license_content: https://raw.githubusercontent.com/containerd/aufs/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/containerd/aufs + - license_content: https://raw.githubusercontent.com/containerd/btrfs/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/containerd/btrfs/v2 + - license_content: https://raw.githubusercontent.com/containerd/containerd/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/containerd/containerd/api + - license_content: https://raw.githubusercontent.com/containerd/go-cni/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/containerd/go-cni + - license_content: https://raw.githubusercontent.com/containerd/imgcrypt/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/containerd/imgcrypt + - license_content: https://raw.githubusercontent.com/containerd/nri/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/containerd/nri + - license_content: https://raw.githubusercontent.com/containerd/protobuild/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/containerd/protobuild + - license_content: https://raw.githubusercontent.com/containerd/zfs/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/containerd/zfs + - license_content: https://raw.githubusercontent.com/containernetworking/cni/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/containernetworking/cni + - license_content: https://raw.githubusercontent.com/containernetworking/plugins/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/containernetworking/plugins + - license_content: https://raw.githubusercontent.com/containers/ocicrypt/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/containers/ocicrypt + - license_content: https://raw.githubusercontent.com/coreos/go-systemd/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/coreos/go-systemd/v22 + - license_content: https://raw.githubusercontent.com/danieljoos/wincred/refs/heads/master/LICENSE + license_id: MIT + name: github.com/danieljoos/wincred + - license_content: https://raw.githubusercontent.com/decred/dcrd/refs/heads/master/LICENSE + license_id: ISC + name: github.com/decred/dcrd/dcrec/secp256k1/v4 + - license_content: https://raw.githubusercontent.com/docker/go-events/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/docker/go-events + - license_content: https://raw.githubusercontent.com/docker/go-metrics/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: github.com/docker/go-metrics + - license_content: https://raw.githubusercontent.com/emicklei/go-restful/refs/heads/v3/LICENSE + license_id: MIT + name: github.com/emicklei/go-restful/v3 + - license_content: https://raw.githubusercontent.com/francoispqt/gojay/refs/heads/master/LICENSE + license_id: MIT + name: github.com/francoispqt/gojay + - license_content: https://raw.githubusercontent.com/fxamacker/cbor/refs/heads/master/LICENSE + license_id: MIT + name: github.com/fxamacker/cbor/v2 + - license_content: https://raw.githubusercontent.com/go-jose/go-jose/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/go-jose/go-jose/v3 + - license_content: https://raw.githubusercontent.com/go-task/slim-sprig/refs/heads/master/LICENSE.txt + license_id: MIT + name: github.com/go-task/slim-sprig + - license_content: https://raw.githubusercontent.com/godbus/dbus/refs/heads/master/LICENSE + license_id: BSD-2-Clause + name: github.com/godbus/dbus/v5 + - license_content: https://raw.githubusercontent.com/intel/goresctrl/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/intel/goresctrl + - license_content: https://raw.githubusercontent.com/jhump/protoreflect/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/jhump/protoreflect/v2 + - license_content: https://raw.githubusercontent.com/docker/go-metrics/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: github.com/docker/go-metrics + - license_content: https://raw.githubusercontent.com/josephspurrier/goversioninfo/refs/heads/master/LICENSE + license_id: MIT + name: github.com/josephspurrier/goversioninfo + - license_content: https://raw.githubusercontent.com/lestrrat-go/backoff/refs/heads/main/LICENSE + license_id: MIT + name: github.com/lestrrat-go/backoff/v2 + - license_content: https://raw.githubusercontent.com/lestrrat-go/blackmagic/refs/heads/main/LICENSE + license_id: MIT + name: github.com/lestrrat-go/blackmagic + - license_content: https://raw.githubusercontent.com/lestrrat-go/httpcc/refs/heads/main/LICENSE + license_id: MIT + name: github.com/lestrrat-go/httpcc + - license_content: https://raw.githubusercontent.com/lestrrat-go/iter/refs/heads/master/LICENSE + license_id: MIT + name: github.com/lestrrat-go/iter + - license_content: https://raw.githubusercontent.com/lestrrat-go/jwx/refs/heads/develop/v3/LICENSE + license_id: MIT + name: github.com/lestrrat-go/jwx + - license_content: https://raw.githubusercontent.com/lestrrat-go/option/refs/heads/main/LICENSE + license_id: MIT + name: github.com/lestrrat-go/option + - license_content: https://raw.githubusercontent.com/linuxkit/virtsock/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: github.com/linuxkit/virtsock + - license_content: https://raw.githubusercontent.com/magefile/mage/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: github.com/magefile/mage + - license_content: https://raw.githubusercontent.com/mattn/go-shellwords/refs/heads/master/LICENSE + license_id: MIT + name: github.com/mattn/go-shellwords + - license_content: https://raw.githubusercontent.com/matttproud/golang_protobuf_extensions/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: github.com/matttproud/golang_protobuf_extensions + - license_content: https://raw.githubusercontent.com/miekg/pkcs11/refs/heads/master/LICENSE + license_id: BSD-3-Clause + name: github.com/miekg/pkcs11 + - license_content: https://raw.githubusercontent.com/minio/sha256-simd/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: github.com/minio/sha256-simd + - license_content: https://raw.githubusercontent.com/mistifyio/go-zfs/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: github.com/mistifyio/go-zfs/v3 + - license_content: https://raw.githubusercontent.com/moby/spdystream/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: github.com/moby/spdystream + - license_content: https://raw.githubusercontent.com/moby/sys/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/moby/sys/signal + - license_content: https://raw.githubusercontent.com/moby/sys/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/moby/sys/symlink + - license_content: https://raw.githubusercontent.com/munnerz/goautoneg/refs/heads/master/LICENSE license_id: MIT - name: github.com/bgentry/go-netrc + name: github.com/munnerz/goautoneg + - license_content: https://raw.githubusercontent.com/opencontainers/selinux/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/opencontainers/selinux + - license_content: https://raw.githubusercontent.com/planetscale/vtprotobuf/refs/heads/main/LICENSE + license_id: BSD-3-Clause + name: github.com/planetscale/vtprotobuf + - license_content: https://raw.githubusercontent.com/sagikazarmark/crypt/refs/heads/fork/LICENSE + license_id: MIT + name: github.com/sagikazarmark/crypt + - license_content: https://raw.githubusercontent.com/spf13/jwalterweatherman/refs/heads/master/LICENSE + license_id: MIT + name: github.com/spf13/jwalterweatherman + - license_content: https://raw.githubusercontent.com/stefanberger/go-pkcs11uri/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: github.com/stefanberger/go-pkcs11uri + - license_content: https://raw.githubusercontent.com/veraison/go-cose/refs/heads/main/LICENSE + license_id: MPL-2.0 + name: github.com/veraison/go-cose + - license_content: https://raw.githubusercontent.com/vishvananda/netlink/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: github.com/vishvananda/netlink + - license_content: https://raw.githubusercontent.com/vishvananda/netns/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: github.com/vishvananda/netns + - license_content: https://raw.githubusercontent.com/x448/float16/refs/heads/master/LICENSE + license_id: MIT + name: github.com/x448/float16 + - license_content: https://raw.githubusercontent.com/xhit/go-str2duration/refs/heads/master/LICENSE + license_id: BSD-3-Clause + name: github.com/xhit/go-str2duration/v2 + - license_content: https://raw.githubusercontent.com/etcd-io/etcd/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: go.etcd.io/etcd/api/v3 + - license_content: https://raw.githubusercontent.com/etcd-io/etcd/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: go.etcd.io/etcd/client/pkg/v3 + - license_content: https://raw.githubusercontent.com/etcd-io/etcd/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: go.etcd.io/etcd/client/v2 + - license_content: https://raw.githubusercontent.com/etcd-io/etcd/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: go.etcd.io/etcd/client/v3 + - license_content: https://raw.githubusercontent.com/mozilla-services/pkcs7/refs/heads/master/LICENSE + license_id: MIT + name: go.mozilla.org/pkcs7 + - license_content: https://raw.githubusercontent.com/open-telemetry/opentelemetry-go-contrib/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: go.opentelemetry.io/contrib/detectors/gcp + - license_content: https://raw.githubusercontent.com/open-telemetry/opentelemetry-go/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp + - license_content: https://raw.githubusercontent.com/open-telemetry/opentelemetry-go/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: go.opentelemetry.io/otel/sdk/metric + - license_content: https://raw.githubusercontent.com/grpc/grpc-go/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: google.golang.org/grpc/cmd/protoc-gen-go-grpc + - license_content: https://raw.githubusercontent.com/go-inf/inf/refs/tags/v0.9.1/LICENSE + license_id: Gocov-Authors + name: gopkg.in/inf.v0 + - license_content: https://raw.githubusercontent.com/gotestyourself/gotest.tools/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: gotest.tools/v3 + - license_content: https://raw.githubusercontent.com/kubernetes-sigs/structured-merge-diff/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: sigs.k8s.io/structured-merge-diff/v4 + - license_content: https://raw.githubusercontent.com/kubernetes-sigs/json/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: sigs.k8s.io/json + - license_content: https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: k8s.io/apimachinery + - license_content: https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: k8s.io/apiserver + - license_content: https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: k8s.io/api + - license_content: https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: k8s.io/client-go + - license_content: https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: k8s.io/component-base + - license_content: https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: k8s.io/cri-api + - license_content: https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: k8s.io/klog/v2 + - license_content: https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/LICENSE + license_id: Apache-2.0 + name: k8s.io/utils + - license_content: https://raw.githubusercontent.com/cncf-tags/container-device-interface/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: tags.cncf.io/container-device-interface/specs-go + - license_content: https://raw.githubusercontent.com/cncf-tags/container-device-interface/refs/heads/main/LICENSE + license_id: Apache-2.0 + name: tags.cncf.io/container-device-interface - license_content: https://raw.githubusercontent.com/bazil/fuse/master/LICENSE license_id: BSD-3-Clause name: bazil.org/fuse @@ -1401,15 +1659,12 @@ fallbacks: - license_content: https://raw.githubusercontent.com/savsgio/dictpool/master/LICENSE license_id: Apache-2.0 name: github.com/savsgio/dictpool - - license_content: https://raw.githubusercontent.com/Azure/go-ansiterm/master/LICENSE license_id: MIT name: github.com/Azure/go-ansiterm - - license_content: https://raw.githubusercontent.com/Microsoft/hcsshim/master/LICENSE license_id: MIT name: github.com/Microsoft/hcsshim - - license_content: https://raw.githubusercontent.com/armon/consul-api/master/LICENSE license_id: MPL-2.0 name: github.com/armon/consul-api @@ -1419,7 +1674,6 @@ fallbacks: - license_content: https://raw.githubusercontent.com/cockroachdb/datadriven/master/LICENSE license_id: Apache-2.0 name: github.com/cockroachdb/datadriven - - license_content: https://raw.githubusercontent.com/containerd/cgroups/master/LICENSE license_id: Apache-2.0 name: github.com/containerd/cgroups @@ -1444,21 +1698,18 @@ fallbacks: - license_content: https://raw.githubusercontent.com/containerd/typeurl/master/LICENSE license_id: Apache-2.0 name: github.com/containerd/typeurl - - license_content: https://raw.githubusercontent.com/coreos/go-etcd/master/LICENSE license_id: Apache-2.0 name: github.com/coreos/go-etcd - license_content: https://raw.githubusercontent.com/docker/distribution/master/LICENSE license_id: Apache-2.0 name: github.com/docker/distribution - - license_content: https://raw.githubusercontent.com/go-redis/redis/master/LICENSE license_id: BSD-2-Clause name: github.com/go-redis/redis - license_content: https://raw.githubusercontent.com/mattn/go-sqlite3/master/LICENSE license_id: MIT name: github.com/mattn/go-sqlite3 - - license_content: https://raw.githubusercontent.com/godbus/dbus/master/LICENSE license_id: BSD-2-Clause name: github.com/godbus/dbus @@ -1468,7 +1719,6 @@ fallbacks: - license_content: https://raw.githubusercontent.com/morikuni/aec/master/LICENSE license_id: MIT name: github.com/morikuni/aec - - license_content: https://raw.githubusercontent.com/opencontainers/runc/master/LICENSE license_id: Apache-2.0 name: github.com/opencontainers/runc @@ -1478,7 +1728,6 @@ fallbacks: - license_content: https://raw.githubusercontent.com/opencontainers/runtime-tools/master/LICENSE license_id: Apache-2.0 name: github.com/opencontainers/runtime-tools - - license_content: https://raw.githubusercontent.com/satori/go.uuid/master/LICENSE license_id: MIT name: github.com/satori/go.uuid @@ -1491,7 +1740,6 @@ fallbacks: - license_content: https://raw.githubusercontent.com/urfave/cli/master/LICENSE license_id: MIT name: github.com/urfave/cli - - license_content: https://raw.githubusercontent.com/xeipuuv/gojsonpointer/master/LICENSE-APACHE-2.0.txt license_id: Apache-2.0 name: github.com/xeipuuv/gojsonpointer @@ -1504,7 +1752,6 @@ fallbacks: - license_content: https://raw.githubusercontent.com/xordataexchange/crypt/master/LICENSE license_id: MIT name: github.com/xordataexchange/crypt - - license_content: https://raw.githubusercontent.com/etcd-io/etcd/master/LICENSE license_id: Apache-2.0 name: go.etcd.io/etcd @@ -1983,4 +2230,8 @@ exceptions: reason: Exception made by Chef Legal - name: oras.land/oras-go/v2 reason: Exception made by Chef Legal + - name: buf.build/gen/go/bufbuild/bufplugin/connectrpc/go + reason: Exception made by Chef Legal + - name: buf.build/gen/go/bufbuild/protovalidate/connectrpc/go + reason: Exception made by Chef Legal diff --git a/.studio/protobuf b/.studio/protobuf index b97c5293722..f8de3cbe996 100644 --- a/.studio/protobuf +++ b/.studio/protobuf @@ -33,8 +33,8 @@ function install_protoc_toolchain() { github.com/envoyproxy/protoc-gen-validate github.com/ckaznocha/protoc-gen-lint github.com/bufbuild/buf/cmd/buf - github.com/bufbuild/buf/cmd/protoc-gen-buf-check-breaking - github.com/bufbuild/buf/cmd/protoc-gen-buf-check-lint + github.com/bufbuild/buf/cmd/protoc-gen-buf-breaking + github.com/bufbuild/buf/cmd/protoc-gen-buf-lint github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger ) @@ -157,7 +157,7 @@ function check_breaking_for_all_proto_components() { main_branch_name="master" fi - local breaking_check_cmd=("buf" "check" "breaking" "--against-input" ".git#branch=$main_branch_name") + local breaking_check_cmd=("buf" "breaking" "--against" ".git#branch=$main_branch_name" "--timeout" "0") echo "๐Ÿ”Ž Checking protos for breaking changes with \`${breaking_check_cmd[*]}\`..." "${breaking_check_cmd[@]}" @@ -185,7 +185,7 @@ function lint_all_protobuf_components() { install_protoc_toolchain || return 1 local ret - local lintercmd="buf check lint" + local lintercmd="buf lint --timeout 0" pushd /src/ > /dev/null || return 1 echo "๐Ÿงน Linting protos with \`${lintercmd}\`..." $lintercmd @@ -208,7 +208,7 @@ document "compile_all_protobuf_components" < google.golang.org/genproto v0.0.0-20200513 require ( github.com/golang/mock v1.1.1 - github.com/golang/protobuf v1.5.0 github.com/grpc-ecosystem/grpc-gateway v1.14.6 github.com/lib/pq v1.10.9 github.com/olivere/elastic/v7 v7.0.28 diff --git a/api/external/habitat/event.pb.go b/api/external/habitat/event.pb.go index 9e1e2960c76..2c9e4129dac 100644 --- a/api/external/habitat/event.pb.go +++ b/api/external/habitat/event.pb.go @@ -5,7 +5,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/habitat/event.proto @@ -134,29 +134,26 @@ func (HealthCheckResult) EnumDescriptor() ([]byte, []int) { } type EventMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The unique ID of this Supervisor. SupervisorId string `protobuf:"bytes,1,opt,name=supervisor_id,json=supervisorId,proto3" json:"supervisor_id,omitempty"` // The IP address on which the Supervisor is listening for gossip. - IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` - OccurredAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"` - Application string `protobuf:"bytes,4,opt,name=application,proto3" json:"application,omitempty"` - Environment string `protobuf:"bytes,5,opt,name=environment,proto3" json:"environment,omitempty"` - Meta map[string]string `protobuf:"bytes,6,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Fqdn string `protobuf:"bytes,7,opt,name=fqdn,proto3" json:"fqdn,omitempty"` - Site string `protobuf:"bytes,8,opt,name=site,proto3" json:"site,omitempty"` + IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` + OccurredAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"` + Application string `protobuf:"bytes,4,opt,name=application,proto3" json:"application,omitempty"` + Environment string `protobuf:"bytes,5,opt,name=environment,proto3" json:"environment,omitempty"` + Meta map[string]string `protobuf:"bytes,6,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Fqdn string `protobuf:"bytes,7,opt,name=fqdn,proto3" json:"fqdn,omitempty"` + Site string `protobuf:"bytes,8,opt,name=site,proto3" json:"site,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EventMetadata) Reset() { *x = EventMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_external_habitat_event_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_habitat_event_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EventMetadata) String() string { @@ -167,7 +164,7 @@ func (*EventMetadata) ProtoMessage() {} func (x *EventMetadata) ProtoReflect() protoreflect.Message { mi := &file_external_habitat_event_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -239,10 +236,7 @@ func (x *EventMetadata) GetSite() string { } type ServiceMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The fully-qualified identifier of the package that is currently // running. PackageIdent string `protobuf:"bytes,1,opt,name=package_ident,json=packageIdent,proto3" json:"package_ident,omitempty"` @@ -250,18 +244,18 @@ type ServiceMetadata struct { // `core/redis` in `hab svc load core/redis`). While it _can_ be a // fully-qualified package identifier, it is more commonly a 2- or // 3-part identifier variant. - SpecIdent string `protobuf:"bytes,2,opt,name=spec_ident,json=specIdent,proto3" json:"spec_ident,omitempty"` - ServiceGroup string `protobuf:"bytes,3,opt,name=service_group,json=serviceGroup,proto3" json:"service_group,omitempty"` - UpdateConfig *UpdateConfig `protobuf:"bytes,4,opt,name=update_config,json=updateConfig,proto3" json:"update_config,omitempty"` + SpecIdent string `protobuf:"bytes,2,opt,name=spec_ident,json=specIdent,proto3" json:"spec_ident,omitempty"` + ServiceGroup string `protobuf:"bytes,3,opt,name=service_group,json=serviceGroup,proto3" json:"service_group,omitempty"` + UpdateConfig *UpdateConfig `protobuf:"bytes,4,opt,name=update_config,json=updateConfig,proto3" json:"update_config,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServiceMetadata) Reset() { *x = ServiceMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_external_habitat_event_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_habitat_event_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceMetadata) String() string { @@ -272,7 +266,7 @@ func (*ServiceMetadata) ProtoMessage() {} func (x *ServiceMetadata) ProtoReflect() protoreflect.Message { mi := &file_external_habitat_event_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -318,23 +312,20 @@ func (x *ServiceMetadata) GetUpdateConfig() *UpdateConfig { // Encapsulates an update strategy with the channel that is checked // for updates. Both must be present for either to be meaningful.a type UpdateConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Strategy UpdateStrategy `protobuf:"varint,1,opt,name=strategy,proto3,enum=chef.habitat.supervisor.event.UpdateStrategy" json:"strategy,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Strategy UpdateStrategy `protobuf:"varint,1,opt,name=strategy,proto3,enum=chef.habitat.supervisor.event.UpdateStrategy" json:"strategy,omitempty"` // The channel the Supervisor will monitor for updates to this // service. - Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` + Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateConfig) Reset() { *x = UpdateConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_external_habitat_event_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_habitat_event_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateConfig) String() string { @@ -345,7 +336,7 @@ func (*UpdateConfig) ProtoMessage() {} func (x *UpdateConfig) ProtoReflect() protoreflect.Message { mi := &file_external_habitat_event_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -375,21 +366,18 @@ func (x *UpdateConfig) GetChannel() string { } type ServiceStartedEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EventMetadata *EventMetadata `protobuf:"bytes,1,opt,name=event_metadata,json=eventMetadata,proto3" json:"event_metadata,omitempty"` - ServiceMetadata *ServiceMetadata `protobuf:"bytes,2,opt,name=service_metadata,json=serviceMetadata,proto3" json:"service_metadata,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + EventMetadata *EventMetadata `protobuf:"bytes,1,opt,name=event_metadata,json=eventMetadata,proto3" json:"event_metadata,omitempty"` + ServiceMetadata *ServiceMetadata `protobuf:"bytes,2,opt,name=service_metadata,json=serviceMetadata,proto3" json:"service_metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServiceStartedEvent) Reset() { *x = ServiceStartedEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_external_habitat_event_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_habitat_event_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceStartedEvent) String() string { @@ -400,7 +388,7 @@ func (*ServiceStartedEvent) ProtoMessage() {} func (x *ServiceStartedEvent) ProtoReflect() protoreflect.Message { mi := &file_external_habitat_event_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -430,21 +418,18 @@ func (x *ServiceStartedEvent) GetServiceMetadata() *ServiceMetadata { } type ServiceStoppedEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EventMetadata *EventMetadata `protobuf:"bytes,1,opt,name=event_metadata,json=eventMetadata,proto3" json:"event_metadata,omitempty"` - ServiceMetadata *ServiceMetadata `protobuf:"bytes,2,opt,name=service_metadata,json=serviceMetadata,proto3" json:"service_metadata,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + EventMetadata *EventMetadata `protobuf:"bytes,1,opt,name=event_metadata,json=eventMetadata,proto3" json:"event_metadata,omitempty"` + ServiceMetadata *ServiceMetadata `protobuf:"bytes,2,opt,name=service_metadata,json=serviceMetadata,proto3" json:"service_metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServiceStoppedEvent) Reset() { *x = ServiceStoppedEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_external_habitat_event_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_habitat_event_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceStoppedEvent) String() string { @@ -455,7 +440,7 @@ func (*ServiceStoppedEvent) ProtoMessage() {} func (x *ServiceStoppedEvent) ProtoReflect() protoreflect.Message { mi := &file_external_habitat_event_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -485,12 +470,9 @@ func (x *ServiceStoppedEvent) GetServiceMetadata() *ServiceMetadata { } type ServiceUpdateStartedEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EventMetadata *EventMetadata `protobuf:"bytes,1,opt,name=event_metadata,json=eventMetadata,proto3" json:"event_metadata,omitempty"` - ServiceMetadata *ServiceMetadata `protobuf:"bytes,2,opt,name=service_metadata,json=serviceMetadata,proto3" json:"service_metadata,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + EventMetadata *EventMetadata `protobuf:"bytes,1,opt,name=event_metadata,json=eventMetadata,proto3" json:"event_metadata,omitempty"` + ServiceMetadata *ServiceMetadata `protobuf:"bytes,2,opt,name=service_metadata,json=serviceMetadata,proto3" json:"service_metadata,omitempty"` // Details of the service pkg to which // we're attempting to update.This is // implemented as a string for now, @@ -498,15 +480,15 @@ type ServiceUpdateStartedEvent struct { // to create a type for this set of // attributes (FullyQualifiedPackageIdent) UpdatePackageIdent string `protobuf:"bytes,3,opt,name=update_package_ident,json=updatePackageIdent,proto3" json:"update_package_ident,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServiceUpdateStartedEvent) Reset() { *x = ServiceUpdateStartedEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_external_habitat_event_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_habitat_event_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceUpdateStartedEvent) String() string { @@ -517,7 +499,7 @@ func (*ServiceUpdateStartedEvent) ProtoMessage() {} func (x *ServiceUpdateStartedEvent) ProtoReflect() protoreflect.Message { mi := &file_external_habitat_event_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -554,13 +536,10 @@ func (x *ServiceUpdateStartedEvent) GetUpdatePackageIdent() string { } type HealthCheckEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EventMetadata *EventMetadata `protobuf:"bytes,1,opt,name=event_metadata,json=eventMetadata,proto3" json:"event_metadata,omitempty"` - ServiceMetadata *ServiceMetadata `protobuf:"bytes,2,opt,name=service_metadata,json=serviceMetadata,proto3" json:"service_metadata,omitempty"` - Result HealthCheckResult `protobuf:"varint,3,opt,name=result,proto3,enum=chef.habitat.supervisor.event.HealthCheckResult" json:"result,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + EventMetadata *EventMetadata `protobuf:"bytes,1,opt,name=event_metadata,json=eventMetadata,proto3" json:"event_metadata,omitempty"` + ServiceMetadata *ServiceMetadata `protobuf:"bytes,2,opt,name=service_metadata,json=serviceMetadata,proto3" json:"service_metadata,omitempty"` + Result HealthCheckResult `protobuf:"varint,3,opt,name=result,proto3,enum=chef.habitat.supervisor.event.HealthCheckResult" json:"result,omitempty"` // If the service has a health check hook script, how long it took // to execute. Execution *durationpb.Duration `protobuf:"bytes,4,opt,name=execution,proto3" json:"execution,omitempty"` @@ -569,16 +548,16 @@ type HealthCheckEvent struct { // The health check hook stdout output Stdout *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=stdout,proto3" json:"stdout,omitempty"` // The health check hook stderr output - Stderr *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=stderr,proto3" json:"stderr,omitempty"` + Stderr *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=stderr,proto3" json:"stderr,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *HealthCheckEvent) Reset() { *x = HealthCheckEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_external_habitat_event_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_habitat_event_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HealthCheckEvent) String() string { @@ -589,7 +568,7 @@ func (*HealthCheckEvent) ProtoMessage() {} func (x *HealthCheckEvent) ProtoReflect() protoreflect.Message { mi := &file_external_habitat_event_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -810,7 +789,7 @@ func file_external_habitat_event_proto_rawDescGZIP() []byte { var file_external_habitat_event_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_external_habitat_event_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_external_habitat_event_proto_goTypes = []interface{}{ +var file_external_habitat_event_proto_goTypes = []any{ (UpdateStrategy)(0), // 0: chef.habitat.supervisor.event.UpdateStrategy (HealthCheckResult)(0), // 1: chef.habitat.supervisor.event.HealthCheckResult (*EventMetadata)(nil), // 2: chef.habitat.supervisor.event.EventMetadata @@ -856,92 +835,6 @@ func file_external_habitat_event_proto_init() { if File_external_habitat_event_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_habitat_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_habitat_event_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_habitat_event_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_habitat_event_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceStartedEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_habitat_event_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceStoppedEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_habitat_event_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceUpdateStartedEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_habitat_event_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HealthCheckEvent); 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{ diff --git a/api/external/iam/v2/common/policy.pb.go b/api/external/iam/v2/common/policy.pb.go index 34222066059..a927dfbd816 100644 --- a/api/external/iam/v2/common/policy.pb.go +++ b/api/external/iam/v2/common/policy.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/common/policy.proto @@ -162,10 +162,7 @@ func (Version_VersionNumber) EnumDescriptor() ([]byte, []int) { } type Policy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name for the policy. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Unique ID. Cannot be changed. @@ -177,16 +174,16 @@ type Policy struct { // Statements for the policy. Will contain one or more. Statements []*Statement `protobuf:"bytes,5,rep,name=statements,proto3" json:"statements,omitempty"` // List of projects this policy belongs to. May be empty. - Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty"` + Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Policy) Reset() { *x = Policy{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_common_policy_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_common_policy_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Policy) String() string { @@ -197,7 +194,7 @@ func (*Policy) ProtoMessage() {} func (x *Policy) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_common_policy_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -255,10 +252,7 @@ func (x *Policy) GetProjects() []string { } type Statement struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // This doc-comment is ignored for an enum. Effect Statement_Effect `protobuf:"varint,1,opt,name=effect,proto3,enum=chef.automate.api.iam.v2.Statement_Effect" json:"effect,omitempty"` // Actions defined inline. May be empty. @@ -269,16 +263,16 @@ type Statement struct { // DEPRECATED: Resources defined inline. Use projects instead. Resources []string `protobuf:"bytes,5,rep,name=resources,proto3" json:"resources,omitempty"` // The project list defines the set of resources that the statement is scoped to. May be empty. - Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty"` + Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Statement) Reset() { *x = Statement{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_common_policy_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_common_policy_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Statement) String() string { @@ -289,7 +283,7 @@ func (*Statement) ProtoMessage() {} func (x *Statement) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_common_policy_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -340,10 +334,7 @@ func (x *Statement) GetProjects() []string { } type Role struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name for the role. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Unique ID. Cannot be changed. @@ -353,16 +344,16 @@ type Role struct { // List of actions this role scopes to. Will contain one or more. Actions []string `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` // List of projects this role belongs to. May be empty. - Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"` + Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Role) Reset() { *x = Role{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_common_policy_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_common_policy_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Role) String() string { @@ -373,7 +364,7 @@ func (*Role) ProtoMessage() {} func (x *Role) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_common_policy_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -424,10 +415,7 @@ func (x *Role) GetProjects() []string { } type Project struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name for the project. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Unique ID. Cannot be changed. @@ -435,16 +423,16 @@ type Project struct { // Whether this policy is user created (`CUSTOM`) or chef managed (`CHEF_MANAGED`). Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=chef.automate.api.iam.v2.Type" json:"type,omitempty"` // The current status of the rules for this project. - Status ProjectRulesStatus `protobuf:"varint,4,opt,name=status,proto3,enum=chef.automate.api.iam.v2.ProjectRulesStatus" json:"status,omitempty"` + Status ProjectRulesStatus `protobuf:"varint,4,opt,name=status,proto3,enum=chef.automate.api.iam.v2.ProjectRulesStatus" json:"status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Project) Reset() { *x = Project{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_common_policy_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_common_policy_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Project) String() string { @@ -455,7 +443,7 @@ func (*Project) ProtoMessage() {} func (x *Project) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_common_policy_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -500,21 +488,18 @@ func (x *Project) GetStatus() ProjectRulesStatus { // the only values that may be returned by GetPolicyVersion type Version struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Major Version_VersionNumber `protobuf:"varint,1,opt,name=major,proto3,enum=chef.automate.api.iam.v2.Version_VersionNumber" json:"major,omitempty"` + Minor Version_VersionNumber `protobuf:"varint,2,opt,name=minor,proto3,enum=chef.automate.api.iam.v2.Version_VersionNumber" json:"minor,omitempty"` unknownFields protoimpl.UnknownFields - - Major Version_VersionNumber `protobuf:"varint,1,opt,name=major,proto3,enum=chef.automate.api.iam.v2.Version_VersionNumber" json:"major,omitempty"` - Minor Version_VersionNumber `protobuf:"varint,2,opt,name=minor,proto3,enum=chef.automate.api.iam.v2.Version_VersionNumber" json:"minor,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Version) Reset() { *x = Version{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_common_policy_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_common_policy_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Version) String() string { @@ -525,7 +510,7 @@ func (*Version) ProtoMessage() {} func (x *Version) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_common_policy_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -646,7 +631,7 @@ func file_external_iam_v2_common_policy_proto_rawDescGZIP() []byte { var file_external_iam_v2_common_policy_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_external_iam_v2_common_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_external_iam_v2_common_policy_proto_goTypes = []interface{}{ +var file_external_iam_v2_common_policy_proto_goTypes = []any{ (Type)(0), // 0: chef.automate.api.iam.v2.Type (Statement_Effect)(0), // 1: chef.automate.api.iam.v2.Statement.Effect (Version_VersionNumber)(0), // 2: chef.automate.api.iam.v2.Version.VersionNumber @@ -679,68 +664,6 @@ func file_external_iam_v2_common_policy_proto_init() { return } file_external_iam_v2_common_rules_proto_init() - if !protoimpl.UnsafeEnabled { - file_external_iam_v2_common_policy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Policy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_common_policy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Statement); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_common_policy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Role); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_common_policy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Project); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_common_policy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Version); 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{ diff --git a/api/external/iam/v2/common/rules.pb.go b/api/external/iam/v2/common/rules.pb.go index 1d138ec01b1..f9d3e56f934 100644 --- a/api/external/iam/v2/common/rules.pb.go +++ b/api/external/iam/v2/common/rules.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/common/rules.proto @@ -284,10 +284,7 @@ func (ProjectRulesStatus) EnumDescriptor() ([]byte, []int) { } type Rule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique ID. Cannot be changed. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique ID of the project this rule belongs to. Cannot be changed. @@ -301,16 +298,16 @@ type Rule struct { // Will contain one or more. Conditions []*Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty"` // Whether the rule is `STAGED` (not in effect) or `APPLIED` (in effect). - Status RuleStatus `protobuf:"varint,6,opt,name=status,proto3,enum=chef.automate.api.iam.v2.RuleStatus" json:"status,omitempty"` + Status RuleStatus `protobuf:"varint,6,opt,name=status,proto3,enum=chef.automate.api.iam.v2.RuleStatus" json:"status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Rule) Reset() { *x = Rule{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_common_rules_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_common_rules_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Rule) String() string { @@ -321,7 +318,7 @@ func (*Rule) ProtoMessage() {} func (x *Rule) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_common_rules_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -379,26 +376,23 @@ func (x *Rule) GetStatus() RuleStatus { } type Condition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Represents a property of an ingested resource. Depends on the rule type. Attribute ConditionAttribute `protobuf:"varint,1,opt,name=attribute,proto3,enum=chef.automate.api.iam.v2.ConditionAttribute" json:"attribute,omitempty"` // The value(s) of the attribute that an ingested resource must match. Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` // Whether the attribute matches a single value (`EQUALS`) or // matches at least one of a set of values (`MEMBER_OF`). - Operator ConditionOperator `protobuf:"varint,3,opt,name=operator,proto3,enum=chef.automate.api.iam.v2.ConditionOperator" json:"operator,omitempty"` + Operator ConditionOperator `protobuf:"varint,3,opt,name=operator,proto3,enum=chef.automate.api.iam.v2.ConditionOperator" json:"operator,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Condition) Reset() { *x = Condition{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_common_rules_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_common_rules_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Condition) String() string { @@ -409,7 +403,7 @@ func (*Condition) ProtoMessage() {} func (x *Condition) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_common_rules_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -531,7 +525,7 @@ func file_external_iam_v2_common_rules_proto_rawDescGZIP() []byte { var file_external_iam_v2_common_rules_proto_enumTypes = make([]protoimpl.EnumInfo, 5) var file_external_iam_v2_common_rules_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_external_iam_v2_common_rules_proto_goTypes = []interface{}{ +var file_external_iam_v2_common_rules_proto_goTypes = []any{ (RuleType)(0), // 0: chef.automate.api.iam.v2.RuleType (ConditionAttribute)(0), // 1: chef.automate.api.iam.v2.ConditionAttribute (ConditionOperator)(0), // 2: chef.automate.api.iam.v2.ConditionOperator @@ -558,32 +552,6 @@ func file_external_iam_v2_common_rules_proto_init() { if File_external_iam_v2_common_rules_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_iam_v2_common_rules_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_external_iam_v2_common_rules_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Condition); 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{ diff --git a/api/external/iam/v2/common/teams.pb.go b/api/external/iam/v2/common/teams.pb.go index 87543e40aaa..112c34a1e79 100644 --- a/api/external/iam/v2/common/teams.pb.go +++ b/api/external/iam/v2/common/teams.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/common/teams.proto @@ -22,22 +22,19 @@ const ( ) type Team struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Team) Reset() { *x = Team{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_common_teams_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_common_teams_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Team) String() string { @@ -48,7 +45,7 @@ func (*Team) ProtoMessage() {} func (x *Team) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_common_teams_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -118,7 +115,7 @@ func file_external_iam_v2_common_teams_proto_rawDescGZIP() []byte { } var file_external_iam_v2_common_teams_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_external_iam_v2_common_teams_proto_goTypes = []interface{}{ +var file_external_iam_v2_common_teams_proto_goTypes = []any{ (*Team)(nil), // 0: chef.automate.api.iam.v2.Team } var file_external_iam_v2_common_teams_proto_depIdxs = []int32{ @@ -134,20 +131,6 @@ func file_external_iam_v2_common_teams_proto_init() { if File_external_iam_v2_common_teams_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_iam_v2_common_teams_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Team); 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{ diff --git a/api/external/iam/v2/common/tokens.pb.go b/api/external/iam/v2/common/tokens.pb.go index 6390ec83e9d..9e24884e398 100644 --- a/api/external/iam/v2/common/tokens.pb.go +++ b/api/external/iam/v2/common/tokens.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/common/tokens.proto @@ -21,10 +21,7 @@ const ( ) type Token struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique ID. Cannot be changed. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name for the token. @@ -39,16 +36,16 @@ type Token struct { // Updated timestamp. UpdatedAt string `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // List of projects this token belongs to. May be empty. - Projects []string `protobuf:"bytes,7,rep,name=projects,proto3" json:"projects,omitempty"` + Projects []string `protobuf:"bytes,7,rep,name=projects,proto3" json:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Token) Reset() { *x = Token{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_common_tokens_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_common_tokens_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Token) String() string { @@ -59,7 +56,7 @@ func (*Token) ProtoMessage() {} func (x *Token) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_common_tokens_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -161,7 +158,7 @@ func file_external_iam_v2_common_tokens_proto_rawDescGZIP() []byte { } var file_external_iam_v2_common_tokens_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_external_iam_v2_common_tokens_proto_goTypes = []interface{}{ +var file_external_iam_v2_common_tokens_proto_goTypes = []any{ (*Token)(nil), // 0: chef.automate.api.iam.v2.Token } var file_external_iam_v2_common_tokens_proto_depIdxs = []int32{ @@ -177,20 +174,6 @@ func file_external_iam_v2_common_tokens_proto_init() { if File_external_iam_v2_common_tokens_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_iam_v2_common_tokens_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Token); 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{ diff --git a/api/external/iam/v2/common/users.pb.go b/api/external/iam/v2/common/users.pb.go index 9b14354999d..a4287c65551 100644 --- a/api/external/iam/v2/common/users.pb.go +++ b/api/external/iam/v2/common/users.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/common/users.proto @@ -21,25 +21,22 @@ const ( ) type User struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Display name for local user. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Unique ID. Cannot be changed. Used to log in. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Unique ID used to add local users to local teams. Cannot be changed. - MembershipId string `protobuf:"bytes,3,opt,name=membership_id,json=membershipId,proto3" json:"membership_id,omitempty"` + MembershipId string `protobuf:"bytes,3,opt,name=membership_id,json=membershipId,proto3" json:"membership_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *User) Reset() { *x = User{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_common_users_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_common_users_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *User) String() string { @@ -50,7 +47,7 @@ func (*User) ProtoMessage() {} func (x *User) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_common_users_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -117,7 +114,7 @@ func file_external_iam_v2_common_users_proto_rawDescGZIP() []byte { } var file_external_iam_v2_common_users_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_external_iam_v2_common_users_proto_goTypes = []interface{}{ +var file_external_iam_v2_common_users_proto_goTypes = []any{ (*User)(nil), // 0: chef.automate.api.iam.v2.User } var file_external_iam_v2_common_users_proto_depIdxs = []int32{ @@ -133,20 +130,6 @@ func file_external_iam_v2_common_users_proto_init() { if File_external_iam_v2_common_users_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_iam_v2_common_users_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*User); 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{ diff --git a/api/external/iam/v2/introspect.pb.go b/api/external/iam/v2/introspect.pb.go index 8cd3cd7dc6e..605a89f38af 100644 --- a/api/external/iam/v2/introspect.pb.go +++ b/api/external/iam/v2/introspect.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/introspect.proto @@ -85,7 +85,7 @@ var file_external_iam_v2_introspect_proto_rawDesc = []byte{ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_external_iam_v2_introspect_proto_goTypes = []interface{}{ +var file_external_iam_v2_introspect_proto_goTypes = []any{ (*request.IntrospectAllReq)(nil), // 0: chef.automate.api.iam.v2.IntrospectAllReq (*request.IntrospectSomeReq)(nil), // 1: chef.automate.api.iam.v2.IntrospectSomeReq (*request.IntrospectReq)(nil), // 2: chef.automate.api.iam.v2.IntrospectReq diff --git a/api/external/iam/v2/policy.pb.go b/api/external/iam/v2/policy.pb.go index 937bbd552d1..3cef3e50df7 100644 --- a/api/external/iam/v2/policy.pb.go +++ b/api/external/iam/v2/policy.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/policy.proto @@ -412,7 +412,7 @@ var file_external_iam_v2_policy_proto_rawDesc = []byte{ 0x6f, 0x33, } -var file_external_iam_v2_policy_proto_goTypes = []interface{}{ +var file_external_iam_v2_policy_proto_goTypes = []any{ (*request.CreatePolicyReq)(nil), // 0: chef.automate.api.iam.v2.CreatePolicyReq (*request.GetPolicyReq)(nil), // 1: chef.automate.api.iam.v2.GetPolicyReq (*request.ListPoliciesReq)(nil), // 2: chef.automate.api.iam.v2.ListPoliciesReq diff --git a/api/external/iam/v2/request/introspect.pb.go b/api/external/iam/v2/request/introspect.pb.go index b1823313653..62a738c6311 100644 --- a/api/external/iam/v2/request/introspect.pb.go +++ b/api/external/iam/v2/request/introspect.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/request/introspect.proto @@ -21,18 +21,16 @@ const ( ) type IntrospectAllReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IntrospectAllReq) Reset() { *x = IntrospectAllReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_introspect_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_introspect_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IntrospectAllReq) String() string { @@ -43,7 +41,7 @@ func (*IntrospectAllReq) ProtoMessage() {} func (x *IntrospectAllReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_introspect_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -59,20 +57,17 @@ func (*IntrospectAllReq) Descriptor() ([]byte, []int) { } type IntrospectSomeReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` unknownFields protoimpl.UnknownFields - - Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IntrospectSomeReq) Reset() { *x = IntrospectSomeReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_introspect_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_introspect_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IntrospectSomeReq) String() string { @@ -83,7 +78,7 @@ func (*IntrospectSomeReq) ProtoMessage() {} func (x *IntrospectSomeReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_introspect_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -106,21 +101,18 @@ func (x *IntrospectSomeReq) GetPaths() []string { } type IntrospectReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Parameters []string `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"` unknownFields protoimpl.UnknownFields - - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - Parameters []string `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IntrospectReq) Reset() { *x = IntrospectReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_introspect_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_introspect_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IntrospectReq) String() string { @@ -131,7 +123,7 @@ func (*IntrospectReq) ProtoMessage() {} func (x *IntrospectReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_introspect_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -195,7 +187,7 @@ func file_external_iam_v2_request_introspect_proto_rawDescGZIP() []byte { } var file_external_iam_v2_request_introspect_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_external_iam_v2_request_introspect_proto_goTypes = []interface{}{ +var file_external_iam_v2_request_introspect_proto_goTypes = []any{ (*IntrospectAllReq)(nil), // 0: chef.automate.api.iam.v2.IntrospectAllReq (*IntrospectSomeReq)(nil), // 1: chef.automate.api.iam.v2.IntrospectSomeReq (*IntrospectReq)(nil), // 2: chef.automate.api.iam.v2.IntrospectReq @@ -213,44 +205,6 @@ func file_external_iam_v2_request_introspect_proto_init() { if File_external_iam_v2_request_introspect_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_iam_v2_request_introspect_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IntrospectAllReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_introspect_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IntrospectSomeReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_introspect_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IntrospectReq); 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{ diff --git a/api/external/iam/v2/request/policy.pb.go b/api/external/iam/v2/request/policy.pb.go index f886cec27b5..64614ba968b 100644 --- a/api/external/iam/v2/request/policy.pb.go +++ b/api/external/iam/v2/request/policy.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/request/policy.proto @@ -24,10 +24,7 @@ const ( // Does not contain type as the enduser can only create 'custom' policies. type CreatePolicyReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique ID. Cannot be changed. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name for the policy. @@ -37,16 +34,16 @@ type CreatePolicyReq struct { // Statements for the policy. Statements []*common.Statement `protobuf:"bytes,4,rep,name=statements,proto3" json:"statements,omitempty"` // List of projects this policy belongs to. - Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"` + Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreatePolicyReq) Reset() { *x = CreatePolicyReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreatePolicyReq) String() string { @@ -57,7 +54,7 @@ func (*CreatePolicyReq) ProtoMessage() {} func (x *CreatePolicyReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -108,21 +105,18 @@ func (x *CreatePolicyReq) GetProjects() []string { } type GetPolicyReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the policy. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPolicyReq) Reset() { *x = GetPolicyReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPolicyReq) String() string { @@ -133,7 +127,7 @@ func (*GetPolicyReq) ProtoMessage() {} func (x *GetPolicyReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -156,18 +150,16 @@ func (x *GetPolicyReq) GetId() string { } type ListPoliciesReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListPoliciesReq) Reset() { *x = ListPoliciesReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListPoliciesReq) String() string { @@ -178,7 +170,7 @@ func (*ListPoliciesReq) ProtoMessage() {} func (x *ListPoliciesReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -194,21 +186,18 @@ func (*ListPoliciesReq) Descriptor() ([]byte, []int) { } type DeletePolicyReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the policy. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeletePolicyReq) Reset() { *x = DeletePolicyReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeletePolicyReq) String() string { @@ -219,7 +208,7 @@ func (*DeletePolicyReq) ProtoMessage() {} func (x *DeletePolicyReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -243,10 +232,7 @@ func (x *DeletePolicyReq) GetId() string { // Does not contain type as the enduser can only create 'custom' policies. type UpdatePolicyReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique ID. Cannot be changed. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Members affected by this policy. @@ -256,16 +242,16 @@ type UpdatePolicyReq struct { // Name for this policy. Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` // List of projects this policy belongs to. - Projects []string `protobuf:"bytes,9,rep,name=projects,proto3" json:"projects,omitempty"` + Projects []string `protobuf:"bytes,9,rep,name=projects,proto3" json:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdatePolicyReq) Reset() { *x = UpdatePolicyReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdatePolicyReq) String() string { @@ -276,7 +262,7 @@ func (*UpdatePolicyReq) ProtoMessage() {} func (x *UpdatePolicyReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -327,18 +313,16 @@ func (x *UpdatePolicyReq) GetProjects() []string { } type GetPolicyVersionReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPolicyVersionReq) Reset() { *x = GetPolicyVersionReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPolicyVersionReq) String() string { @@ -349,7 +333,7 @@ func (*GetPolicyVersionReq) ProtoMessage() {} func (x *GetPolicyVersionReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -365,21 +349,18 @@ func (*GetPolicyVersionReq) Descriptor() ([]byte, []int) { } type ListPolicyMembersReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the policy. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListPolicyMembersReq) Reset() { *x = ListPolicyMembersReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListPolicyMembersReq) String() string { @@ -390,7 +371,7 @@ func (*ListPolicyMembersReq) ProtoMessage() {} func (x *ListPolicyMembersReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -413,23 +394,20 @@ func (x *ListPolicyMembersReq) GetId() string { } type ReplacePolicyMembersReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the policy. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // List of members that replaces previous policy member list. - Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` + Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReplacePolicyMembersReq) Reset() { *x = ReplacePolicyMembersReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReplacePolicyMembersReq) String() string { @@ -440,7 +418,7 @@ func (*ReplacePolicyMembersReq) ProtoMessage() {} func (x *ReplacePolicyMembersReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -470,23 +448,20 @@ func (x *ReplacePolicyMembersReq) GetMembers() []string { } type RemovePolicyMembersReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the policy. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // List of members to remove from the policy. - Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` + Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemovePolicyMembersReq) Reset() { *x = RemovePolicyMembersReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemovePolicyMembersReq) String() string { @@ -497,7 +472,7 @@ func (*RemovePolicyMembersReq) ProtoMessage() {} func (x *RemovePolicyMembersReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -527,23 +502,20 @@ func (x *RemovePolicyMembersReq) GetMembers() []string { } type AddPolicyMembersReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the policy. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // List of members to add to the policy. - Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` + Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddPolicyMembersReq) Reset() { *x = AddPolicyMembersReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddPolicyMembersReq) String() string { @@ -554,7 +526,7 @@ func (*AddPolicyMembersReq) ProtoMessage() {} func (x *AddPolicyMembersReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -585,10 +557,7 @@ func (x *AddPolicyMembersReq) GetMembers() []string { // Does not contain type as the enduser can only create 'custom' roles. type CreateRoleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique ID. Cannot be changed. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name for the role. @@ -596,16 +565,16 @@ type CreateRoleReq struct { // List of actions that this role scopes to. Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"` // List of projects this role belongs to. - Projects []string `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty"` + Projects []string `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateRoleReq) Reset() { *x = CreateRoleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRoleReq) String() string { @@ -616,7 +585,7 @@ func (*CreateRoleReq) ProtoMessage() {} func (x *CreateRoleReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -660,18 +629,16 @@ func (x *CreateRoleReq) GetProjects() []string { } type ListRolesReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRolesReq) Reset() { *x = ListRolesReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRolesReq) String() string { @@ -682,7 +649,7 @@ func (*ListRolesReq) ProtoMessage() {} func (x *ListRolesReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -698,21 +665,18 @@ func (*ListRolesReq) Descriptor() ([]byte, []int) { } type GetRoleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the role. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRoleReq) Reset() { *x = GetRoleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRoleReq) String() string { @@ -723,7 +687,7 @@ func (*GetRoleReq) ProtoMessage() {} func (x *GetRoleReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -746,21 +710,18 @@ func (x *GetRoleReq) GetId() string { } type DeleteRoleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the role. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteRoleReq) Reset() { *x = DeleteRoleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRoleReq) String() string { @@ -771,7 +732,7 @@ func (*DeleteRoleReq) ProtoMessage() {} func (x *DeleteRoleReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -794,10 +755,7 @@ func (x *DeleteRoleReq) GetId() string { } type UpdateRoleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique ID. Cannot be changed. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name for the role. @@ -805,16 +763,16 @@ type UpdateRoleReq struct { // List of actions that this role scopes to. Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"` // List of projects this role belongs to. - Projects []string `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty"` + Projects []string `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateRoleReq) Reset() { *x = UpdateRoleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRoleReq) String() string { @@ -825,7 +783,7 @@ func (*UpdateRoleReq) ProtoMessage() {} func (x *UpdateRoleReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -869,25 +827,22 @@ func (x *UpdateRoleReq) GetProjects() []string { } type CreateProjectReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique ID. Cannot be changed. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name for the new project. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Boolean flag to skip adding policies associated with the project. Set to false by default. - SkipPolicies bool `protobuf:"varint,3,opt,name=skip_policies,json=skipPolicies,proto3" json:"skip_policies,omitempty"` + SkipPolicies bool `protobuf:"varint,3,opt,name=skip_policies,json=skipPolicies,proto3" json:"skip_policies,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateProjectReq) Reset() { *x = CreateProjectReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateProjectReq) String() string { @@ -898,7 +853,7 @@ func (*CreateProjectReq) ProtoMessage() {} func (x *CreateProjectReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -935,23 +890,20 @@ func (x *CreateProjectReq) GetSkipPolicies() bool { } type UpdateProjectReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique ID. Cannot be changed. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name for the project. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateProjectReq) Reset() { *x = UpdateProjectReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateProjectReq) String() string { @@ -962,7 +914,7 @@ func (*UpdateProjectReq) ProtoMessage() {} func (x *UpdateProjectReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -992,21 +944,18 @@ func (x *UpdateProjectReq) GetName() string { } type GetProjectReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the project. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetProjectReq) Reset() { *x = GetProjectReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetProjectReq) String() string { @@ -1017,7 +966,7 @@ func (*GetProjectReq) ProtoMessage() {} func (x *GetProjectReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1040,18 +989,16 @@ func (x *GetProjectReq) GetId() string { } type ListProjectsReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListProjectsReq) Reset() { *x = ListProjectsReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListProjectsReq) String() string { @@ -1062,7 +1009,7 @@ func (*ListProjectsReq) ProtoMessage() {} func (x *ListProjectsReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1078,21 +1025,18 @@ func (*ListProjectsReq) Descriptor() ([]byte, []int) { } type DeleteProjectReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the project. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteProjectReq) Reset() { *x = DeleteProjectReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_policy_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_policy_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteProjectReq) String() string { @@ -1103,7 +1047,7 @@ func (*DeleteProjectReq) ProtoMessage() {} func (x *DeleteProjectReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_policy_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1317,7 +1261,7 @@ func file_external_iam_v2_request_policy_proto_rawDescGZIP() []byte { } var file_external_iam_v2_request_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_external_iam_v2_request_policy_proto_goTypes = []interface{}{ +var file_external_iam_v2_request_policy_proto_goTypes = []any{ (*CreatePolicyReq)(nil), // 0: chef.automate.api.iam.v2.CreatePolicyReq (*GetPolicyReq)(nil), // 1: chef.automate.api.iam.v2.GetPolicyReq (*ListPoliciesReq)(nil), // 2: chef.automate.api.iam.v2.ListPoliciesReq @@ -1355,248 +1299,6 @@ func file_external_iam_v2_request_policy_proto_init() { if File_external_iam_v2_request_policy_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_iam_v2_request_policy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreatePolicyReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPolicyReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListPoliciesReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeletePolicyReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdatePolicyReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPolicyVersionReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListPolicyMembersReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplacePolicyMembersReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemovePolicyMembersReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddPolicyMembersReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRoleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRolesReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRoleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRoleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRoleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateProjectReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateProjectReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetProjectReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListProjectsReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_policy_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteProjectReq); 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{ diff --git a/api/external/iam/v2/request/rules.pb.go b/api/external/iam/v2/request/rules.pb.go index dd295634dde..eeb2ac8d40d 100644 --- a/api/external/iam/v2/request/rules.pb.go +++ b/api/external/iam/v2/request/rules.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/request/rules.proto @@ -23,10 +23,7 @@ const ( ) type CreateRuleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique ID. Cannot be changed. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique ID of the project this rule belongs to. Cannot be changed. @@ -37,16 +34,16 @@ type CreateRuleReq struct { Type common.RuleType `protobuf:"varint,4,opt,name=type,proto3,enum=chef.automate.api.iam.v2.RuleType" json:"type,omitempty"` // Conditions that ingested resources must match to belong to the project. // Will contain one or more. - Conditions []*common.Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty"` + Conditions []*common.Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateRuleReq) Reset() { *x = CreateRuleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_rules_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_rules_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRuleReq) String() string { @@ -57,7 +54,7 @@ func (*CreateRuleReq) ProtoMessage() {} func (x *CreateRuleReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_rules_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -108,10 +105,7 @@ func (x *CreateRuleReq) GetConditions() []*common.Condition { } type UpdateRuleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique ID. Cannot be changed. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique ID of the project this rule belongs to. Cannot be changed. @@ -123,16 +117,16 @@ type UpdateRuleReq struct { Type common.RuleType `protobuf:"varint,4,opt,name=type,proto3,enum=chef.automate.api.iam.v2.RuleType" json:"type,omitempty"` // Conditions that ingested resources must match to belong to the project. // Will contain one or more. - Conditions []*common.Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty"` + Conditions []*common.Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateRuleReq) Reset() { *x = UpdateRuleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_rules_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_rules_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRuleReq) String() string { @@ -143,7 +137,7 @@ func (*UpdateRuleReq) ProtoMessage() {} func (x *UpdateRuleReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_rules_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -194,23 +188,20 @@ func (x *UpdateRuleReq) GetConditions() []*common.Condition { } type GetRuleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the project rule. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the project the rule belongs to. - ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRuleReq) Reset() { *x = GetRuleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_rules_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_rules_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRuleReq) String() string { @@ -221,7 +212,7 @@ func (*GetRuleReq) ProtoMessage() {} func (x *GetRuleReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_rules_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -251,18 +242,16 @@ func (x *GetRuleReq) GetProjectId() string { } type ListRulesReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRulesReq) Reset() { *x = ListRulesReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_rules_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_rules_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRulesReq) String() string { @@ -273,7 +262,7 @@ func (*ListRulesReq) ProtoMessage() {} func (x *ListRulesReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_rules_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -289,21 +278,18 @@ func (*ListRulesReq) Descriptor() ([]byte, []int) { } type ListRulesForProjectReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the project. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRulesForProjectReq) Reset() { *x = ListRulesForProjectReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_rules_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_rules_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRulesForProjectReq) String() string { @@ -314,7 +300,7 @@ func (*ListRulesForProjectReq) ProtoMessage() {} func (x *ListRulesForProjectReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_rules_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -337,23 +323,20 @@ func (x *ListRulesForProjectReq) GetId() string { } type DeleteRuleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the project rule. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the project the rule belongs to. - ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteRuleReq) Reset() { *x = DeleteRuleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_rules_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_rules_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRuleReq) String() string { @@ -364,7 +347,7 @@ func (*DeleteRuleReq) ProtoMessage() {} func (x *DeleteRuleReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_rules_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -394,18 +377,16 @@ func (x *DeleteRuleReq) GetProjectId() string { } type ApplyRulesStartReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ApplyRulesStartReq) Reset() { *x = ApplyRulesStartReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_rules_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_rules_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApplyRulesStartReq) String() string { @@ -416,7 +397,7 @@ func (*ApplyRulesStartReq) ProtoMessage() {} func (x *ApplyRulesStartReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_rules_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -432,18 +413,16 @@ func (*ApplyRulesStartReq) Descriptor() ([]byte, []int) { } type ApplyRulesCancelReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ApplyRulesCancelReq) Reset() { *x = ApplyRulesCancelReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_rules_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_rules_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApplyRulesCancelReq) String() string { @@ -454,7 +433,7 @@ func (*ApplyRulesCancelReq) ProtoMessage() {} func (x *ApplyRulesCancelReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_rules_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -470,18 +449,16 @@ func (*ApplyRulesCancelReq) Descriptor() ([]byte, []int) { } type ApplyRulesStatusReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ApplyRulesStatusReq) Reset() { *x = ApplyRulesStatusReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_rules_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_rules_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApplyRulesStatusReq) String() string { @@ -492,7 +469,7 @@ func (*ApplyRulesStatusReq) ProtoMessage() {} func (x *ApplyRulesStatusReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_rules_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -617,7 +594,7 @@ func file_external_iam_v2_request_rules_proto_rawDescGZIP() []byte { } var file_external_iam_v2_request_rules_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_external_iam_v2_request_rules_proto_goTypes = []interface{}{ +var file_external_iam_v2_request_rules_proto_goTypes = []any{ (*CreateRuleReq)(nil), // 0: chef.automate.api.iam.v2.CreateRuleReq (*UpdateRuleReq)(nil), // 1: chef.automate.api.iam.v2.UpdateRuleReq (*GetRuleReq)(nil), // 2: chef.automate.api.iam.v2.GetRuleReq @@ -647,116 +624,6 @@ func file_external_iam_v2_request_rules_proto_init() { if File_external_iam_v2_request_rules_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_iam_v2_request_rules_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRuleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_rules_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRuleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_rules_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_rules_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRulesReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_rules_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRulesForProjectReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_rules_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRuleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_rules_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyRulesStartReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_rules_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyRulesCancelReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_rules_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyRulesStatusReq); 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{ diff --git a/api/external/iam/v2/request/teams.pb.go b/api/external/iam/v2/request/teams.pb.go index 08f9cf87f08..07e5bf76824 100644 --- a/api/external/iam/v2/request/teams.pb.go +++ b/api/external/iam/v2/request/teams.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/request/teams.proto @@ -22,18 +22,16 @@ const ( ) type ListTeamsReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListTeamsReq) Reset() { *x = ListTeamsReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_teams_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_teams_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListTeamsReq) String() string { @@ -44,7 +42,7 @@ func (*ListTeamsReq) ProtoMessage() {} func (x *ListTeamsReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_teams_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -60,20 +58,17 @@ func (*ListTeamsReq) Descriptor() ([]byte, []int) { } type GetTeamReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetTeamReq) Reset() { *x = GetTeamReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_teams_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_teams_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTeamReq) String() string { @@ -84,7 +79,7 @@ func (*GetTeamReq) ProtoMessage() {} func (x *GetTeamReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_teams_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -107,22 +102,19 @@ func (x *GetTeamReq) GetId() string { } type CreateTeamReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateTeamReq) Reset() { *x = CreateTeamReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_teams_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_teams_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateTeamReq) String() string { @@ -133,7 +125,7 @@ func (*CreateTeamReq) ProtoMessage() {} func (x *CreateTeamReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_teams_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -170,22 +162,19 @@ func (x *CreateTeamReq) GetProjects() []string { } type UpdateTeamReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateTeamReq) Reset() { *x = UpdateTeamReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_teams_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_teams_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateTeamReq) String() string { @@ -196,7 +185,7 @@ func (*UpdateTeamReq) ProtoMessage() {} func (x *UpdateTeamReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_teams_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -233,20 +222,17 @@ func (x *UpdateTeamReq) GetProjects() []string { } type DeleteTeamReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteTeamReq) Reset() { *x = DeleteTeamReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_teams_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_teams_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteTeamReq) String() string { @@ -257,7 +243,7 @@ func (*DeleteTeamReq) ProtoMessage() {} func (x *DeleteTeamReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_teams_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -280,21 +266,18 @@ func (x *DeleteTeamReq) GetId() string { } type AddTeamMembersReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + MembershipIds []string `protobuf:"bytes,2,rep,name=membership_ids,json=membershipIds,proto3" json:"membership_ids,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - MembershipIds []string `protobuf:"bytes,2,rep,name=membership_ids,json=membershipIds,proto3" json:"membership_ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddTeamMembersReq) Reset() { *x = AddTeamMembersReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_teams_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_teams_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddTeamMembersReq) String() string { @@ -305,7 +288,7 @@ func (*AddTeamMembersReq) ProtoMessage() {} func (x *AddTeamMembersReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_teams_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -335,20 +318,17 @@ func (x *AddTeamMembersReq) GetMembershipIds() []string { } type GetTeamMembershipReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetTeamMembershipReq) Reset() { *x = GetTeamMembershipReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_teams_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_teams_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTeamMembershipReq) String() string { @@ -359,7 +339,7 @@ func (*GetTeamMembershipReq) ProtoMessage() {} func (x *GetTeamMembershipReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_teams_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -382,21 +362,18 @@ func (x *GetTeamMembershipReq) GetId() string { } type RemoveTeamMembersReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + MembershipIds []string `protobuf:"bytes,2,rep,name=membership_ids,json=membershipIds,proto3" json:"membership_ids,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - MembershipIds []string `protobuf:"bytes,2,rep,name=membership_ids,json=membershipIds,proto3" json:"membership_ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RemoveTeamMembersReq) Reset() { *x = RemoveTeamMembersReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_teams_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_teams_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveTeamMembersReq) String() string { @@ -407,7 +384,7 @@ func (*RemoveTeamMembersReq) ProtoMessage() {} func (x *RemoveTeamMembersReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_teams_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -437,20 +414,17 @@ func (x *RemoveTeamMembersReq) GetMembershipIds() []string { } type GetTeamsForMemberReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + MembershipId string `protobuf:"bytes,1,opt,name=membership_id,json=membershipId,proto3" json:"membership_id,omitempty"` unknownFields protoimpl.UnknownFields - - MembershipId string `protobuf:"bytes,1,opt,name=membership_id,json=membershipId,proto3" json:"membership_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetTeamsForMemberReq) Reset() { *x = GetTeamsForMemberReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_teams_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_teams_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTeamsForMemberReq) String() string { @@ -461,7 +435,7 @@ func (*GetTeamsForMemberReq) ProtoMessage() {} func (x *GetTeamsForMemberReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_teams_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -484,18 +458,16 @@ func (x *GetTeamsForMemberReq) GetMembershipId() string { } type ApplyV2DataMigrationsReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ApplyV2DataMigrationsReq) Reset() { *x = ApplyV2DataMigrationsReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_teams_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_teams_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApplyV2DataMigrationsReq) String() string { @@ -506,7 +478,7 @@ func (*ApplyV2DataMigrationsReq) ProtoMessage() {} func (x *ApplyV2DataMigrationsReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_teams_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -522,18 +494,16 @@ func (*ApplyV2DataMigrationsReq) Descriptor() ([]byte, []int) { } type ResetAllTeamProjectsReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ResetAllTeamProjectsReq) Reset() { *x = ResetAllTeamProjectsReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_teams_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_teams_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetAllTeamProjectsReq) String() string { @@ -544,7 +514,7 @@ func (*ResetAllTeamProjectsReq) ProtoMessage() {} func (x *ResetAllTeamProjectsReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_teams_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -664,7 +634,7 @@ func file_external_iam_v2_request_teams_proto_rawDescGZIP() []byte { } var file_external_iam_v2_request_teams_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_external_iam_v2_request_teams_proto_goTypes = []interface{}{ +var file_external_iam_v2_request_teams_proto_goTypes = []any{ (*ListTeamsReq)(nil), // 0: chef.automate.api.iam.v2.ListTeamsReq (*GetTeamReq)(nil), // 1: chef.automate.api.iam.v2.GetTeamReq (*CreateTeamReq)(nil), // 2: chef.automate.api.iam.v2.CreateTeamReq @@ -690,140 +660,6 @@ func file_external_iam_v2_request_teams_proto_init() { if File_external_iam_v2_request_teams_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_iam_v2_request_teams_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTeamsReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_teams_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_teams_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateTeamReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_teams_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateTeamReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_teams_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTeamReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_teams_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTeamMembersReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_teams_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamMembershipReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_teams_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveTeamMembersReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_teams_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamsForMemberReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_teams_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyV2DataMigrationsReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_teams_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetAllTeamProjectsReq); 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{ diff --git a/api/external/iam/v2/request/tokens.pb.go b/api/external/iam/v2/request/tokens.pb.go index c05ed2c07e1..8bb82c16f35 100644 --- a/api/external/iam/v2/request/tokens.pb.go +++ b/api/external/iam/v2/request/tokens.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/request/tokens.proto @@ -23,10 +23,7 @@ const ( ) type CreateTokenReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique ID. Cannot be changed. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name for the token. @@ -37,16 +34,16 @@ type CreateTokenReq struct { // Unique value for the token; if omitted the system will generate this. Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // List of projects this token belongs to. - Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"` + Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateTokenReq) Reset() { *x = CreateTokenReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_tokens_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_tokens_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateTokenReq) String() string { @@ -57,7 +54,7 @@ func (*CreateTokenReq) ProtoMessage() {} func (x *CreateTokenReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_tokens_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -108,21 +105,18 @@ func (x *CreateTokenReq) GetProjects() []string { } type GetTokenReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the token. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetTokenReq) Reset() { *x = GetTokenReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_tokens_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_tokens_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTokenReq) String() string { @@ -133,7 +127,7 @@ func (*GetTokenReq) ProtoMessage() {} func (x *GetTokenReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_tokens_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -156,10 +150,7 @@ func (x *GetTokenReq) GetId() string { } type UpdateTokenReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique ID. Cannot be changed. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name for the token. @@ -168,16 +159,16 @@ type UpdateTokenReq struct { // If set to false, token will not be authenticated or authorized. Active *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=active,proto3" json:"active,omitempty"` // List of projects this token belongs to. - Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"` + Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateTokenReq) Reset() { *x = UpdateTokenReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_tokens_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_tokens_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateTokenReq) String() string { @@ -188,7 +179,7 @@ func (*UpdateTokenReq) ProtoMessage() {} func (x *UpdateTokenReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_tokens_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -232,21 +223,18 @@ func (x *UpdateTokenReq) GetProjects() []string { } type DeleteTokenReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the token. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteTokenReq) Reset() { *x = DeleteTokenReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_tokens_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_tokens_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteTokenReq) String() string { @@ -257,7 +245,7 @@ func (*DeleteTokenReq) ProtoMessage() {} func (x *DeleteTokenReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_tokens_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -280,18 +268,16 @@ func (x *DeleteTokenReq) GetId() string { } type ListTokensReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListTokensReq) Reset() { *x = ListTokensReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_tokens_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_tokens_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListTokensReq) String() string { @@ -302,7 +288,7 @@ func (*ListTokensReq) ProtoMessage() {} func (x *ListTokensReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_tokens_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -386,7 +372,7 @@ func file_external_iam_v2_request_tokens_proto_rawDescGZIP() []byte { } var file_external_iam_v2_request_tokens_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_external_iam_v2_request_tokens_proto_goTypes = []interface{}{ +var file_external_iam_v2_request_tokens_proto_goTypes = []any{ (*CreateTokenReq)(nil), // 0: chef.automate.api.iam.v2.CreateTokenReq (*GetTokenReq)(nil), // 1: chef.automate.api.iam.v2.GetTokenReq (*UpdateTokenReq)(nil), // 2: chef.automate.api.iam.v2.UpdateTokenReq @@ -409,68 +395,6 @@ func file_external_iam_v2_request_tokens_proto_init() { if File_external_iam_v2_request_tokens_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_iam_v2_request_tokens_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateTokenReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_tokens_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTokenReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_tokens_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateTokenReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_tokens_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTokenReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_tokens_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTokensReq); 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{ diff --git a/api/external/iam/v2/request/users.pb.go b/api/external/iam/v2/request/users.pb.go index 1a0bb97e6fa..655f5cac0f4 100644 --- a/api/external/iam/v2/request/users.pb.go +++ b/api/external/iam/v2/request/users.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/request/users.proto @@ -22,25 +22,22 @@ const ( ) type CreateUserReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique ID. Cannot be changed. Used to sign in. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Display name for local user. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Password for user. Used to sign in. - Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` + Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateUserReq) Reset() { *x = CreateUserReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_users_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_users_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateUserReq) String() string { @@ -51,7 +48,7 @@ func (*CreateUserReq) ProtoMessage() {} func (x *CreateUserReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_users_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -88,18 +85,16 @@ func (x *CreateUserReq) GetPassword() string { } type ListUsersReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListUsersReq) Reset() { *x = ListUsersReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_users_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_users_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListUsersReq) String() string { @@ -110,7 +105,7 @@ func (*ListUsersReq) ProtoMessage() {} func (x *ListUsersReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_users_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -126,21 +121,18 @@ func (*ListUsersReq) Descriptor() ([]byte, []int) { } type DeleteUserReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the user. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteUserReq) Reset() { *x = DeleteUserReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_users_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_users_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteUserReq) String() string { @@ -151,7 +143,7 @@ func (*DeleteUserReq) ProtoMessage() {} func (x *DeleteUserReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_users_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -174,21 +166,18 @@ func (x *DeleteUserReq) GetId() string { } type GetUserReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the user. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetUserReq) Reset() { *x = GetUserReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_users_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_users_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserReq) String() string { @@ -199,7 +188,7 @@ func (*GetUserReq) ProtoMessage() {} func (x *GetUserReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_users_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -222,25 +211,22 @@ func (x *GetUserReq) GetId() string { } type UpdateUserReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the user. Cannot be changed. Used to sign in. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Display name for local user. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Password used to log in. Will overwrite preexisting password. - Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` + Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateUserReq) Reset() { *x = UpdateUserReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_users_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_users_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateUserReq) String() string { @@ -251,7 +237,7 @@ func (*UpdateUserReq) ProtoMessage() {} func (x *UpdateUserReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_users_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -288,10 +274,7 @@ func (x *UpdateUserReq) GetPassword() string { } type UpdateSelfReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the user. Cannot be changed. Used to sign in. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Display name for local user. @@ -302,15 +285,15 @@ type UpdateSelfReq struct { // Previous password for user. // Optional, but if included, password is also required. PreviousPassword string `protobuf:"bytes,4,opt,name=previous_password,json=previousPassword,proto3" json:"previous_password,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateSelfReq) Reset() { *x = UpdateSelfReq{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_request_users_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_request_users_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSelfReq) String() string { @@ -321,7 +304,7 @@ func (*UpdateSelfReq) ProtoMessage() {} func (x *UpdateSelfReq) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_request_users_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -435,7 +418,7 @@ func file_external_iam_v2_request_users_proto_rawDescGZIP() []byte { } var file_external_iam_v2_request_users_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_external_iam_v2_request_users_proto_goTypes = []interface{}{ +var file_external_iam_v2_request_users_proto_goTypes = []any{ (*CreateUserReq)(nil), // 0: chef.automate.api.iam.v2.CreateUserReq (*ListUsersReq)(nil), // 1: chef.automate.api.iam.v2.ListUsersReq (*DeleteUserReq)(nil), // 2: chef.automate.api.iam.v2.DeleteUserReq @@ -456,80 +439,6 @@ func file_external_iam_v2_request_users_proto_init() { if File_external_iam_v2_request_users_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_iam_v2_request_users_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateUserReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_users_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListUsersReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_users_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteUserReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_users_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_users_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateUserReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_request_users_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSelfReq); 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{ diff --git a/api/external/iam/v2/response/introspect.pb.go b/api/external/iam/v2/response/introspect.pb.go index 46f08b5e65f..ef52ab75db4 100644 --- a/api/external/iam/v2/response/introspect.pb.go +++ b/api/external/iam/v2/response/introspect.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/response/introspect.proto @@ -21,24 +21,21 @@ const ( ) type MethodsAllowed struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Get bool `protobuf:"varint,1,opt,name=get,proto3" json:"get,omitempty"` + Put bool `protobuf:"varint,2,opt,name=put,proto3" json:"put,omitempty"` + Post bool `protobuf:"varint,3,opt,name=post,proto3" json:"post,omitempty"` + Delete bool `protobuf:"varint,4,opt,name=delete,proto3" json:"delete,omitempty"` + Patch bool `protobuf:"varint,5,opt,name=patch,proto3" json:"patch,omitempty"` unknownFields protoimpl.UnknownFields - - Get bool `protobuf:"varint,1,opt,name=get,proto3" json:"get,omitempty"` - Put bool `protobuf:"varint,2,opt,name=put,proto3" json:"put,omitempty"` - Post bool `protobuf:"varint,3,opt,name=post,proto3" json:"post,omitempty"` - Delete bool `protobuf:"varint,4,opt,name=delete,proto3" json:"delete,omitempty"` - Patch bool `protobuf:"varint,5,opt,name=patch,proto3" json:"patch,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MethodsAllowed) Reset() { *x = MethodsAllowed{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_introspect_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_introspect_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MethodsAllowed) String() string { @@ -49,7 +46,7 @@ func (*MethodsAllowed) ProtoMessage() {} func (x *MethodsAllowed) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_introspect_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -100,20 +97,17 @@ func (x *MethodsAllowed) GetPatch() bool { } type IntrospectResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Endpoints map[string]*MethodsAllowed `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - Endpoints map[string]*MethodsAllowed `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *IntrospectResp) Reset() { *x = IntrospectResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_introspect_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_introspect_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IntrospectResp) String() string { @@ -124,7 +118,7 @@ func (*IntrospectResp) ProtoMessage() {} func (x *IntrospectResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_introspect_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -193,7 +187,7 @@ func file_external_iam_v2_response_introspect_proto_rawDescGZIP() []byte { } var file_external_iam_v2_response_introspect_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_external_iam_v2_response_introspect_proto_goTypes = []interface{}{ +var file_external_iam_v2_response_introspect_proto_goTypes = []any{ (*MethodsAllowed)(nil), // 0: chef.automate.api.iam.v2.MethodsAllowed (*IntrospectResp)(nil), // 1: chef.automate.api.iam.v2.IntrospectResp nil, // 2: chef.automate.api.iam.v2.IntrospectResp.EndpointsEntry @@ -213,32 +207,6 @@ func file_external_iam_v2_response_introspect_proto_init() { if File_external_iam_v2_response_introspect_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_iam_v2_response_introspect_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MethodsAllowed); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_introspect_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IntrospectResp); 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{ diff --git a/api/external/iam/v2/response/policy.pb.go b/api/external/iam/v2/response/policy.pb.go index 55b805c9ea3..c51ddc61cb7 100644 --- a/api/external/iam/v2/response/policy.pb.go +++ b/api/external/iam/v2/response/policy.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/response/policy.proto @@ -23,20 +23,17 @@ const ( ) type CreatePolicyResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Policy *common.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` unknownFields protoimpl.UnknownFields - - Policy *common.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreatePolicyResp) Reset() { *x = CreatePolicyResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreatePolicyResp) String() string { @@ -47,7 +44,7 @@ func (*CreatePolicyResp) ProtoMessage() {} func (x *CreatePolicyResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -70,20 +67,17 @@ func (x *CreatePolicyResp) GetPolicy() *common.Policy { } type GetPolicyResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Policy *common.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` unknownFields protoimpl.UnknownFields - - Policy *common.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetPolicyResp) Reset() { *x = GetPolicyResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPolicyResp) String() string { @@ -94,7 +88,7 @@ func (*GetPolicyResp) ProtoMessage() {} func (x *GetPolicyResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -117,20 +111,17 @@ func (x *GetPolicyResp) GetPolicy() *common.Policy { } type ListPoliciesResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Policies []*common.Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` unknownFields protoimpl.UnknownFields - - Policies []*common.Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListPoliciesResp) Reset() { *x = ListPoliciesResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListPoliciesResp) String() string { @@ -141,7 +132,7 @@ func (*ListPoliciesResp) ProtoMessage() {} func (x *ListPoliciesResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -164,18 +155,16 @@ func (x *ListPoliciesResp) GetPolicies() []*common.Policy { } type DeletePolicyResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeletePolicyResp) Reset() { *x = DeletePolicyResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeletePolicyResp) String() string { @@ -186,7 +175,7 @@ func (*DeletePolicyResp) ProtoMessage() {} func (x *DeletePolicyResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -202,20 +191,17 @@ func (*DeletePolicyResp) Descriptor() ([]byte, []int) { } type UpdatePolicyResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Policy *common.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` unknownFields protoimpl.UnknownFields - - Policy *common.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdatePolicyResp) Reset() { *x = UpdatePolicyResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdatePolicyResp) String() string { @@ -226,7 +212,7 @@ func (*UpdatePolicyResp) ProtoMessage() {} func (x *UpdatePolicyResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -249,20 +235,17 @@ func (x *UpdatePolicyResp) GetPolicy() *common.Policy { } type GetPolicyVersionResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Version *common.Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` unknownFields protoimpl.UnknownFields - - Version *common.Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetPolicyVersionResp) Reset() { *x = GetPolicyVersionResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPolicyVersionResp) String() string { @@ -273,7 +256,7 @@ func (*GetPolicyVersionResp) ProtoMessage() {} func (x *GetPolicyVersionResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -296,21 +279,18 @@ func (x *GetPolicyVersionResp) GetVersion() *common.Version { } type ListPolicyMembersResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of policy members. - Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` + Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListPolicyMembersResp) Reset() { *x = ListPolicyMembersResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListPolicyMembersResp) String() string { @@ -321,7 +301,7 @@ func (*ListPolicyMembersResp) ProtoMessage() {} func (x *ListPolicyMembersResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -344,21 +324,18 @@ func (x *ListPolicyMembersResp) GetMembers() []string { } type ReplacePolicyMembersResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Resulting list of policy members. - Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` + Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReplacePolicyMembersResp) Reset() { *x = ReplacePolicyMembersResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReplacePolicyMembersResp) String() string { @@ -369,7 +346,7 @@ func (*ReplacePolicyMembersResp) ProtoMessage() {} func (x *ReplacePolicyMembersResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -392,21 +369,18 @@ func (x *ReplacePolicyMembersResp) GetMembers() []string { } type RemovePolicyMembersResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Resulting list of policy members. - Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` + Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemovePolicyMembersResp) Reset() { *x = RemovePolicyMembersResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemovePolicyMembersResp) String() string { @@ -417,7 +391,7 @@ func (*RemovePolicyMembersResp) ProtoMessage() {} func (x *RemovePolicyMembersResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -440,20 +414,17 @@ func (x *RemovePolicyMembersResp) GetMembers() []string { } type AddPolicyMembersResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` unknownFields protoimpl.UnknownFields - - Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddPolicyMembersResp) Reset() { *x = AddPolicyMembersResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddPolicyMembersResp) String() string { @@ -464,7 +435,7 @@ func (*AddPolicyMembersResp) ProtoMessage() {} func (x *AddPolicyMembersResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -487,20 +458,17 @@ func (x *AddPolicyMembersResp) GetMembers() []string { } type CreateRoleResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Role *common.Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` unknownFields protoimpl.UnknownFields - - Role *common.Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateRoleResp) Reset() { *x = CreateRoleResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRoleResp) String() string { @@ -511,7 +479,7 @@ func (*CreateRoleResp) ProtoMessage() {} func (x *CreateRoleResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -534,20 +502,17 @@ func (x *CreateRoleResp) GetRole() *common.Role { } type ListRolesResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Roles []*common.Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` unknownFields protoimpl.UnknownFields - - Roles []*common.Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListRolesResp) Reset() { *x = ListRolesResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRolesResp) String() string { @@ -558,7 +523,7 @@ func (*ListRolesResp) ProtoMessage() {} func (x *ListRolesResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -581,20 +546,17 @@ func (x *ListRolesResp) GetRoles() []*common.Role { } type GetRoleResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Role *common.Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` unknownFields protoimpl.UnknownFields - - Role *common.Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetRoleResp) Reset() { *x = GetRoleResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRoleResp) String() string { @@ -605,7 +567,7 @@ func (*GetRoleResp) ProtoMessage() {} func (x *GetRoleResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -628,18 +590,16 @@ func (x *GetRoleResp) GetRole() *common.Role { } type DeleteRoleResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteRoleResp) Reset() { *x = DeleteRoleResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRoleResp) String() string { @@ -650,7 +610,7 @@ func (*DeleteRoleResp) ProtoMessage() {} func (x *DeleteRoleResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -666,20 +626,17 @@ func (*DeleteRoleResp) Descriptor() ([]byte, []int) { } type UpdateRoleResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Role *common.Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` unknownFields protoimpl.UnknownFields - - Role *common.Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateRoleResp) Reset() { *x = UpdateRoleResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRoleResp) String() string { @@ -690,7 +647,7 @@ func (*UpdateRoleResp) ProtoMessage() {} func (x *UpdateRoleResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -713,20 +670,17 @@ func (x *UpdateRoleResp) GetRole() *common.Role { } type CreateProjectResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Project *common.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` unknownFields protoimpl.UnknownFields - - Project *common.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateProjectResp) Reset() { *x = CreateProjectResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateProjectResp) String() string { @@ -737,7 +691,7 @@ func (*CreateProjectResp) ProtoMessage() {} func (x *CreateProjectResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -760,20 +714,17 @@ func (x *CreateProjectResp) GetProject() *common.Project { } type UpdateProjectResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Project *common.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` unknownFields protoimpl.UnknownFields - - Project *common.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateProjectResp) Reset() { *x = UpdateProjectResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateProjectResp) String() string { @@ -784,7 +735,7 @@ func (*UpdateProjectResp) ProtoMessage() {} func (x *UpdateProjectResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -807,20 +758,17 @@ func (x *UpdateProjectResp) GetProject() *common.Project { } type GetProjectResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Project *common.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` unknownFields protoimpl.UnknownFields - - Project *common.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetProjectResp) Reset() { *x = GetProjectResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetProjectResp) String() string { @@ -831,7 +779,7 @@ func (*GetProjectResp) ProtoMessage() {} func (x *GetProjectResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -854,20 +802,17 @@ func (x *GetProjectResp) GetProject() *common.Project { } type ListProjectsResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Projects []*common.Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Projects []*common.Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListProjectsResp) Reset() { *x = ListProjectsResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListProjectsResp) String() string { @@ -878,7 +823,7 @@ func (*ListProjectsResp) ProtoMessage() {} func (x *ListProjectsResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -901,18 +846,16 @@ func (x *ListProjectsResp) GetProjects() []*common.Project { } type DeleteProjectResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteProjectResp) Reset() { *x = DeleteProjectResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteProjectResp) String() string { @@ -923,7 +866,7 @@ func (*DeleteProjectResp) ProtoMessage() {} func (x *DeleteProjectResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -939,20 +882,17 @@ func (*DeleteProjectResp) Descriptor() ([]byte, []int) { } type UpgradeToV2Resp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Reports []string `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"` unknownFields protoimpl.UnknownFields - - Reports []string `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpgradeToV2Resp) Reset() { *x = UpgradeToV2Resp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpgradeToV2Resp) String() string { @@ -963,7 +903,7 @@ func (*UpgradeToV2Resp) ProtoMessage() {} func (x *UpgradeToV2Resp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -986,18 +926,16 @@ func (x *UpgradeToV2Resp) GetReports() []string { } type ResetToV1Resp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ResetToV1Resp) Reset() { *x = ResetToV1Resp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_policy_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_policy_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetToV1Resp) String() string { @@ -1008,7 +946,7 @@ func (*ResetToV1Resp) ProtoMessage() {} func (x *ResetToV1Resp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_policy_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1322,7 +1260,7 @@ func file_external_iam_v2_response_policy_proto_rawDescGZIP() []byte { } var file_external_iam_v2_response_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 22) -var file_external_iam_v2_response_policy_proto_goTypes = []interface{}{ +var file_external_iam_v2_response_policy_proto_goTypes = []any{ (*CreatePolicyResp)(nil), // 0: chef.automate.api.iam.v2.CreatePolicyResp (*GetPolicyResp)(nil), // 1: chef.automate.api.iam.v2.GetPolicyResp (*ListPoliciesResp)(nil), // 2: chef.automate.api.iam.v2.ListPoliciesResp @@ -1376,272 +1314,6 @@ func file_external_iam_v2_response_policy_proto_init() { if File_external_iam_v2_response_policy_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_iam_v2_response_policy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreatePolicyResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPolicyResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListPoliciesResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeletePolicyResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdatePolicyResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPolicyVersionResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListPolicyMembersResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplacePolicyMembersResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemovePolicyMembersResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddPolicyMembersResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRoleResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRolesResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRoleResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRoleResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRoleResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateProjectResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateProjectResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetProjectResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListProjectsResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteProjectResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpgradeToV2Resp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_policy_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetToV1Resp); 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{ diff --git a/api/external/iam/v2/response/rules.pb.go b/api/external/iam/v2/response/rules.pb.go index fd1d049cf0b..85f3612e2cb 100644 --- a/api/external/iam/v2/response/rules.pb.go +++ b/api/external/iam/v2/response/rules.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/response/rules.proto @@ -24,20 +24,17 @@ const ( ) type CreateRuleResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Rule *common.Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` unknownFields protoimpl.UnknownFields - - Rule *common.Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateRuleResp) Reset() { *x = CreateRuleResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_rules_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_rules_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRuleResp) String() string { @@ -48,7 +45,7 @@ func (*CreateRuleResp) ProtoMessage() {} func (x *CreateRuleResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_rules_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -71,20 +68,17 @@ func (x *CreateRuleResp) GetRule() *common.Rule { } type UpdateRuleResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Rule *common.Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` unknownFields protoimpl.UnknownFields - - Rule *common.Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateRuleResp) Reset() { *x = UpdateRuleResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_rules_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_rules_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRuleResp) String() string { @@ -95,7 +89,7 @@ func (*UpdateRuleResp) ProtoMessage() {} func (x *UpdateRuleResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_rules_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -118,20 +112,17 @@ func (x *UpdateRuleResp) GetRule() *common.Rule { } type GetRuleResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Rule *common.Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` unknownFields protoimpl.UnknownFields - - Rule *common.Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetRuleResp) Reset() { *x = GetRuleResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_rules_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_rules_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRuleResp) String() string { @@ -142,7 +133,7 @@ func (*GetRuleResp) ProtoMessage() {} func (x *GetRuleResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_rules_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -165,21 +156,18 @@ func (x *GetRuleResp) GetRule() *common.Rule { } type ListRulesForProjectResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Rules []*common.Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` + Status common.ProjectRulesStatus `protobuf:"varint,2,opt,name=status,proto3,enum=chef.automate.api.iam.v2.ProjectRulesStatus" json:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Rules []*common.Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` - Status common.ProjectRulesStatus `protobuf:"varint,2,opt,name=status,proto3,enum=chef.automate.api.iam.v2.ProjectRulesStatus" json:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListRulesForProjectResp) Reset() { *x = ListRulesForProjectResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_rules_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_rules_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRulesForProjectResp) String() string { @@ -190,7 +178,7 @@ func (*ListRulesForProjectResp) ProtoMessage() {} func (x *ListRulesForProjectResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_rules_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -220,18 +208,16 @@ func (x *ListRulesForProjectResp) GetStatus() common.ProjectRulesStatus { } type DeleteRuleResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteRuleResp) Reset() { *x = DeleteRuleResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_rules_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_rules_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRuleResp) String() string { @@ -242,7 +228,7 @@ func (*DeleteRuleResp) ProtoMessage() {} func (x *DeleteRuleResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_rules_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -258,18 +244,16 @@ func (*DeleteRuleResp) Descriptor() ([]byte, []int) { } type ApplyRulesStartResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ApplyRulesStartResp) Reset() { *x = ApplyRulesStartResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_rules_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_rules_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApplyRulesStartResp) String() string { @@ -280,7 +264,7 @@ func (*ApplyRulesStartResp) ProtoMessage() {} func (x *ApplyRulesStartResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_rules_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -296,18 +280,16 @@ func (*ApplyRulesStartResp) Descriptor() ([]byte, []int) { } type ApplyRulesCancelResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ApplyRulesCancelResp) Reset() { *x = ApplyRulesCancelResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_rules_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_rules_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApplyRulesCancelResp) String() string { @@ -318,7 +300,7 @@ func (*ApplyRulesCancelResp) ProtoMessage() {} func (x *ApplyRulesCancelResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_rules_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -334,10 +316,7 @@ func (*ApplyRulesCancelResp) Descriptor() ([]byte, []int) { } type ApplyRulesStatusResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // One of two states: `not_running` and `running`. State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` // Estimated time when the project update will complete. @@ -349,16 +328,16 @@ type ApplyRulesStatusResp struct { // The error message from the failure. FailureMessage string `protobuf:"bytes,5,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"` // Whether or not the project update was canceled. - Cancelled bool `protobuf:"varint,6,opt,name=cancelled,proto3" json:"cancelled,omitempty"` + Cancelled bool `protobuf:"varint,6,opt,name=cancelled,proto3" json:"cancelled,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ApplyRulesStatusResp) Reset() { *x = ApplyRulesStatusResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_rules_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_rules_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApplyRulesStatusResp) String() string { @@ -369,7 +348,7 @@ func (*ApplyRulesStatusResp) ProtoMessage() {} func (x *ApplyRulesStatusResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_rules_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -589,7 +568,7 @@ func file_external_iam_v2_response_rules_proto_rawDescGZIP() []byte { } var file_external_iam_v2_response_rules_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_external_iam_v2_response_rules_proto_goTypes = []interface{}{ +var file_external_iam_v2_response_rules_proto_goTypes = []any{ (*CreateRuleResp)(nil), // 0: chef.automate.api.iam.v2.CreateRuleResp (*UpdateRuleResp)(nil), // 1: chef.automate.api.iam.v2.UpdateRuleResp (*GetRuleResp)(nil), // 2: chef.automate.api.iam.v2.GetRuleResp @@ -621,104 +600,6 @@ func file_external_iam_v2_response_rules_proto_init() { if File_external_iam_v2_response_rules_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_iam_v2_response_rules_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRuleResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_rules_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRuleResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_rules_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_rules_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRulesForProjectResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_rules_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRuleResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_rules_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyRulesStartResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_rules_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyRulesCancelResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_rules_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyRulesStatusResp); 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{ diff --git a/api/external/iam/v2/response/teams.pb.go b/api/external/iam/v2/response/teams.pb.go index 84be7333fcf..98e8c86090b 100644 --- a/api/external/iam/v2/response/teams.pb.go +++ b/api/external/iam/v2/response/teams.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/response/teams.proto @@ -23,20 +23,17 @@ const ( ) type GetTeamResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Team *common.Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` unknownFields protoimpl.UnknownFields - - Team *common.Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetTeamResp) Reset() { *x = GetTeamResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_teams_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_teams_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTeamResp) String() string { @@ -47,7 +44,7 @@ func (*GetTeamResp) ProtoMessage() {} func (x *GetTeamResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_teams_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -70,20 +67,17 @@ func (x *GetTeamResp) GetTeam() *common.Team { } type ListTeamsResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Teams []*common.Team `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty"` unknownFields protoimpl.UnknownFields - - Teams []*common.Team `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListTeamsResp) Reset() { *x = ListTeamsResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_teams_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_teams_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListTeamsResp) String() string { @@ -94,7 +88,7 @@ func (*ListTeamsResp) ProtoMessage() {} func (x *ListTeamsResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_teams_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -117,20 +111,17 @@ func (x *ListTeamsResp) GetTeams() []*common.Team { } type CreateTeamResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Team *common.Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` unknownFields protoimpl.UnknownFields - - Team *common.Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateTeamResp) Reset() { *x = CreateTeamResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_teams_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_teams_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateTeamResp) String() string { @@ -141,7 +132,7 @@ func (*CreateTeamResp) ProtoMessage() {} func (x *CreateTeamResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_teams_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -164,20 +155,17 @@ func (x *CreateTeamResp) GetTeam() *common.Team { } type UpdateTeamResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Team *common.Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` unknownFields protoimpl.UnknownFields - - Team *common.Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateTeamResp) Reset() { *x = UpdateTeamResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_teams_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_teams_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateTeamResp) String() string { @@ -188,7 +176,7 @@ func (*UpdateTeamResp) ProtoMessage() {} func (x *UpdateTeamResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_teams_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -211,20 +199,17 @@ func (x *UpdateTeamResp) GetTeam() *common.Team { } type DeleteTeamResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Team *common.Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` unknownFields protoimpl.UnknownFields - - Team *common.Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteTeamResp) Reset() { *x = DeleteTeamResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_teams_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_teams_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteTeamResp) String() string { @@ -235,7 +220,7 @@ func (*DeleteTeamResp) ProtoMessage() {} func (x *DeleteTeamResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_teams_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -258,20 +243,17 @@ func (x *DeleteTeamResp) GetTeam() *common.Team { } type AddTeamMembersResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + MembershipIds []string `protobuf:"bytes,1,rep,name=membership_ids,json=membershipIds,proto3" json:"membership_ids,omitempty"` unknownFields protoimpl.UnknownFields - - MembershipIds []string `protobuf:"bytes,1,rep,name=membership_ids,json=membershipIds,proto3" json:"membership_ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddTeamMembersResp) Reset() { *x = AddTeamMembersResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_teams_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_teams_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddTeamMembersResp) String() string { @@ -282,7 +264,7 @@ func (*AddTeamMembersResp) ProtoMessage() {} func (x *AddTeamMembersResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_teams_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -305,20 +287,17 @@ func (x *AddTeamMembersResp) GetMembershipIds() []string { } type GetTeamMembershipResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + MembershipIds []string `protobuf:"bytes,1,rep,name=membership_ids,json=membershipIds,proto3" json:"membership_ids,omitempty"` unknownFields protoimpl.UnknownFields - - MembershipIds []string `protobuf:"bytes,1,rep,name=membership_ids,json=membershipIds,proto3" json:"membership_ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetTeamMembershipResp) Reset() { *x = GetTeamMembershipResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_teams_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_teams_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTeamMembershipResp) String() string { @@ -329,7 +308,7 @@ func (*GetTeamMembershipResp) ProtoMessage() {} func (x *GetTeamMembershipResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_teams_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -352,20 +331,17 @@ func (x *GetTeamMembershipResp) GetMembershipIds() []string { } type RemoveTeamMembersResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + MembershipIds []string `protobuf:"bytes,1,rep,name=membership_ids,json=membershipIds,proto3" json:"membership_ids,omitempty"` unknownFields protoimpl.UnknownFields - - MembershipIds []string `protobuf:"bytes,1,rep,name=membership_ids,json=membershipIds,proto3" json:"membership_ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RemoveTeamMembersResp) Reset() { *x = RemoveTeamMembersResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_teams_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_teams_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveTeamMembersResp) String() string { @@ -376,7 +352,7 @@ func (*RemoveTeamMembersResp) ProtoMessage() {} func (x *RemoveTeamMembersResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_teams_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -399,20 +375,17 @@ func (x *RemoveTeamMembersResp) GetMembershipIds() []string { } type GetTeamsForMemberResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Teams []*common.Team `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty"` unknownFields protoimpl.UnknownFields - - Teams []*common.Team `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetTeamsForMemberResp) Reset() { *x = GetTeamsForMemberResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_teams_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_teams_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTeamsForMemberResp) String() string { @@ -423,7 +396,7 @@ func (*GetTeamsForMemberResp) ProtoMessage() {} func (x *GetTeamsForMemberResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_teams_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -446,18 +419,16 @@ func (x *GetTeamsForMemberResp) GetTeams() []*common.Team { } type ApplyV2DataMigrationsResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ApplyV2DataMigrationsResp) Reset() { *x = ApplyV2DataMigrationsResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_teams_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_teams_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApplyV2DataMigrationsResp) String() string { @@ -468,7 +439,7 @@ func (*ApplyV2DataMigrationsResp) ProtoMessage() {} func (x *ApplyV2DataMigrationsResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_teams_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -484,18 +455,16 @@ func (*ApplyV2DataMigrationsResp) Descriptor() ([]byte, []int) { } type ResetAllTeamProjectsResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ResetAllTeamProjectsResp) Reset() { *x = ResetAllTeamProjectsResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_teams_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_teams_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetAllTeamProjectsResp) String() string { @@ -506,7 +475,7 @@ func (*ResetAllTeamProjectsResp) ProtoMessage() {} func (x *ResetAllTeamProjectsResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_teams_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -662,7 +631,7 @@ func file_external_iam_v2_response_teams_proto_rawDescGZIP() []byte { } var file_external_iam_v2_response_teams_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_external_iam_v2_response_teams_proto_goTypes = []interface{}{ +var file_external_iam_v2_response_teams_proto_goTypes = []any{ (*GetTeamResp)(nil), // 0: chef.automate.api.iam.v2.GetTeamResp (*ListTeamsResp)(nil), // 1: chef.automate.api.iam.v2.ListTeamsResp (*CreateTeamResp)(nil), // 2: chef.automate.api.iam.v2.CreateTeamResp @@ -695,140 +664,6 @@ func file_external_iam_v2_response_teams_proto_init() { if File_external_iam_v2_response_teams_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_iam_v2_response_teams_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_teams_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTeamsResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_teams_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateTeamResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_teams_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateTeamResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_teams_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTeamResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_teams_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTeamMembersResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_teams_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamMembershipResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_teams_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveTeamMembersResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_teams_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamsForMemberResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_teams_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyV2DataMigrationsResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_teams_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetAllTeamProjectsResp); 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{ diff --git a/api/external/iam/v2/response/tokens.pb.go b/api/external/iam/v2/response/tokens.pb.go index 49c5207662e..d77a205863d 100644 --- a/api/external/iam/v2/response/tokens.pb.go +++ b/api/external/iam/v2/response/tokens.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/response/tokens.proto @@ -23,20 +23,17 @@ const ( ) type CreateTokenResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Token *common.Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` unknownFields protoimpl.UnknownFields - - Token *common.Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateTokenResp) Reset() { *x = CreateTokenResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_tokens_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_tokens_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateTokenResp) String() string { @@ -47,7 +44,7 @@ func (*CreateTokenResp) ProtoMessage() {} func (x *CreateTokenResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_tokens_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -70,20 +67,17 @@ func (x *CreateTokenResp) GetToken() *common.Token { } type GetTokenResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Token *common.Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` unknownFields protoimpl.UnknownFields - - Token *common.Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetTokenResp) Reset() { *x = GetTokenResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_tokens_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_tokens_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTokenResp) String() string { @@ -94,7 +88,7 @@ func (*GetTokenResp) ProtoMessage() {} func (x *GetTokenResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_tokens_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -117,20 +111,17 @@ func (x *GetTokenResp) GetToken() *common.Token { } type UpdateTokenResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Token *common.Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` unknownFields protoimpl.UnknownFields - - Token *common.Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateTokenResp) Reset() { *x = UpdateTokenResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_tokens_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_tokens_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateTokenResp) String() string { @@ -141,7 +132,7 @@ func (*UpdateTokenResp) ProtoMessage() {} func (x *UpdateTokenResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_tokens_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -164,18 +155,16 @@ func (x *UpdateTokenResp) GetToken() *common.Token { } type DeleteTokenResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteTokenResp) Reset() { *x = DeleteTokenResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_tokens_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_tokens_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteTokenResp) String() string { @@ -186,7 +175,7 @@ func (*DeleteTokenResp) ProtoMessage() {} func (x *DeleteTokenResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_tokens_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -202,20 +191,17 @@ func (*DeleteTokenResp) Descriptor() ([]byte, []int) { } type ListTokensResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Tokens []*common.Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` unknownFields protoimpl.UnknownFields - - Tokens []*common.Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListTokensResp) Reset() { *x = ListTokensResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_tokens_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_tokens_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListTokensResp) String() string { @@ -226,7 +212,7 @@ func (*ListTokensResp) ProtoMessage() {} func (x *ListTokensResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_tokens_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -333,7 +319,7 @@ func file_external_iam_v2_response_tokens_proto_rawDescGZIP() []byte { } var file_external_iam_v2_response_tokens_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_external_iam_v2_response_tokens_proto_goTypes = []interface{}{ +var file_external_iam_v2_response_tokens_proto_goTypes = []any{ (*CreateTokenResp)(nil), // 0: chef.automate.api.iam.v2.CreateTokenResp (*GetTokenResp)(nil), // 1: chef.automate.api.iam.v2.GetTokenResp (*UpdateTokenResp)(nil), // 2: chef.automate.api.iam.v2.UpdateTokenResp @@ -358,68 +344,6 @@ func file_external_iam_v2_response_tokens_proto_init() { if File_external_iam_v2_response_tokens_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_iam_v2_response_tokens_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateTokenResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_tokens_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTokenResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_tokens_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateTokenResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_tokens_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTokenResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_tokens_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTokensResp); 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{ diff --git a/api/external/iam/v2/response/users.pb.go b/api/external/iam/v2/response/users.pb.go index 4acdedf26ed..1885200c2e4 100644 --- a/api/external/iam/v2/response/users.pb.go +++ b/api/external/iam/v2/response/users.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/response/users.proto @@ -22,20 +22,17 @@ const ( ) type CreateUserResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User *common.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` unknownFields protoimpl.UnknownFields - - User *common.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateUserResp) Reset() { *x = CreateUserResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_users_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_users_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateUserResp) String() string { @@ -46,7 +43,7 @@ func (*CreateUserResp) ProtoMessage() {} func (x *CreateUserResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_users_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,20 +66,17 @@ func (x *CreateUserResp) GetUser() *common.User { } type ListUsersResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Users []*common.User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` unknownFields protoimpl.UnknownFields - - Users []*common.User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListUsersResp) Reset() { *x = ListUsersResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_users_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_users_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListUsersResp) String() string { @@ -93,7 +87,7 @@ func (*ListUsersResp) ProtoMessage() {} func (x *ListUsersResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_users_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -116,18 +110,16 @@ func (x *ListUsersResp) GetUsers() []*common.User { } type DeleteUserResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteUserResp) Reset() { *x = DeleteUserResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_users_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_users_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteUserResp) String() string { @@ -138,7 +130,7 @@ func (*DeleteUserResp) ProtoMessage() {} func (x *DeleteUserResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_users_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -154,20 +146,17 @@ func (*DeleteUserResp) Descriptor() ([]byte, []int) { } type GetUserResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User *common.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` unknownFields protoimpl.UnknownFields - - User *common.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetUserResp) Reset() { *x = GetUserResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_users_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_users_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserResp) String() string { @@ -178,7 +167,7 @@ func (*GetUserResp) ProtoMessage() {} func (x *GetUserResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_users_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -201,20 +190,17 @@ func (x *GetUserResp) GetUser() *common.User { } type UpdateUserResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User *common.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` unknownFields protoimpl.UnknownFields - - User *common.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateUserResp) Reset() { *x = UpdateUserResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_users_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_users_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateUserResp) String() string { @@ -225,7 +211,7 @@ func (*UpdateUserResp) ProtoMessage() {} func (x *UpdateUserResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_users_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -248,20 +234,17 @@ func (x *UpdateUserResp) GetUser() *common.User { } type UpdateSelfResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User *common.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` unknownFields protoimpl.UnknownFields - - User *common.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateSelfResp) Reset() { *x = UpdateSelfResp{} - if protoimpl.UnsafeEnabled { - mi := &file_external_iam_v2_response_users_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_iam_v2_response_users_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSelfResp) String() string { @@ -272,7 +255,7 @@ func (*UpdateSelfResp) ProtoMessage() {} func (x *UpdateSelfResp) ProtoReflect() protoreflect.Message { mi := &file_external_iam_v2_response_users_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -346,7 +329,7 @@ func file_external_iam_v2_response_users_proto_rawDescGZIP() []byte { } var file_external_iam_v2_response_users_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_external_iam_v2_response_users_proto_goTypes = []interface{}{ +var file_external_iam_v2_response_users_proto_goTypes = []any{ (*CreateUserResp)(nil), // 0: chef.automate.api.iam.v2.CreateUserResp (*ListUsersResp)(nil), // 1: chef.automate.api.iam.v2.ListUsersResp (*DeleteUserResp)(nil), // 2: chef.automate.api.iam.v2.DeleteUserResp @@ -373,80 +356,6 @@ func file_external_iam_v2_response_users_proto_init() { if File_external_iam_v2_response_users_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_iam_v2_response_users_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateUserResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_users_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListUsersResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_users_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteUserResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_users_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_users_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateUserResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_iam_v2_response_users_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSelfResp); 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{ diff --git a/api/external/iam/v2/rules.pb.go b/api/external/iam/v2/rules.pb.go index 2a4e2de07de..b8859ceb84f 100644 --- a/api/external/iam/v2/rules.pb.go +++ b/api/external/iam/v2/rules.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/rules.proto @@ -189,7 +189,7 @@ var file_external_iam_v2_rules_proto_rawDesc = []byte{ 0x2f, 0x76, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_external_iam_v2_rules_proto_goTypes = []interface{}{ +var file_external_iam_v2_rules_proto_goTypes = []any{ (*request.CreateRuleReq)(nil), // 0: chef.automate.api.iam.v2.CreateRuleReq (*request.UpdateRuleReq)(nil), // 1: chef.automate.api.iam.v2.UpdateRuleReq (*request.GetRuleReq)(nil), // 2: chef.automate.api.iam.v2.GetRuleReq diff --git a/api/external/iam/v2/teams.pb.go b/api/external/iam/v2/teams.pb.go index 2a043e93a09..f76a425604a 100644 --- a/api/external/iam/v2/teams.pb.go +++ b/api/external/iam/v2/teams.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/teams.proto @@ -199,7 +199,7 @@ var file_external_iam_v2_teams_proto_rawDesc = []byte{ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_external_iam_v2_teams_proto_goTypes = []interface{}{ +var file_external_iam_v2_teams_proto_goTypes = []any{ (*request.CreateTeamReq)(nil), // 0: chef.automate.api.iam.v2.CreateTeamReq (*request.ListTeamsReq)(nil), // 1: chef.automate.api.iam.v2.ListTeamsReq (*request.GetTeamReq)(nil), // 2: chef.automate.api.iam.v2.GetTeamReq diff --git a/api/external/iam/v2/tokens.pb.go b/api/external/iam/v2/tokens.pb.go index 6a2aac2ee2f..47b4dc67ff0 100644 --- a/api/external/iam/v2/tokens.pb.go +++ b/api/external/iam/v2/tokens.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/tokens.proto @@ -129,7 +129,7 @@ var file_external_iam_v2_tokens_proto_rawDesc = []byte{ 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_external_iam_v2_tokens_proto_goTypes = []interface{}{ +var file_external_iam_v2_tokens_proto_goTypes = []any{ (*request.CreateTokenReq)(nil), // 0: chef.automate.api.iam.v2.CreateTokenReq (*request.GetTokenReq)(nil), // 1: chef.automate.api.iam.v2.GetTokenReq (*request.UpdateTokenReq)(nil), // 2: chef.automate.api.iam.v2.UpdateTokenReq diff --git a/api/external/iam/v2/users.pb.go b/api/external/iam/v2/users.pb.go index ad7cc90bacb..850a97e49a2 100644 --- a/api/external/iam/v2/users.pb.go +++ b/api/external/iam/v2/users.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/iam/v2/users.proto @@ -145,7 +145,7 @@ var file_external_iam_v2_users_proto_rawDesc = []byte{ 0x33, } -var file_external_iam_v2_users_proto_goTypes = []interface{}{ +var file_external_iam_v2_users_proto_goTypes = []any{ (*request.CreateUserReq)(nil), // 0: chef.automate.api.iam.v2.CreateUserReq (*request.ListUsersReq)(nil), // 1: chef.automate.api.iam.v2.ListUsersReq (*request.GetUserReq)(nil), // 2: chef.automate.api.iam.v2.GetUserReq diff --git a/api/external/infra_proxy/infra_proxy.pb.go b/api/external/infra_proxy/infra_proxy.pb.go index 6f05d417358..66ca32f4c16 100644 --- a/api/external/infra_proxy/infra_proxy.pb.go +++ b/api/external/infra_proxy/infra_proxy.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/infra_proxy.proto @@ -1072,7 +1072,7 @@ var file_external_infra_proxy_infra_proxy_proto_rawDesc = []byte{ 0x78, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_external_infra_proxy_infra_proxy_proto_goTypes = []interface{}{ +var file_external_infra_proxy_infra_proxy_proto_goTypes = []any{ (*request.GetServers)(nil), // 0: chef.automate.api.infra_proxy.request.GetServers (*request.GetServerStatus)(nil), // 1: chef.automate.api.infra_proxy.request.GetServerStatus (*request.GetServer)(nil), // 2: chef.automate.api.infra_proxy.request.GetServer diff --git a/api/external/infra_proxy/request/clients.pb.go b/api/external/infra_proxy/request/clients.pb.go index 5174e00f0e1..3707840816a 100644 --- a/api/external/infra_proxy/request/clients.pb.go +++ b/api/external/infra_proxy/request/clients.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/request/clients.proto @@ -21,25 +21,22 @@ const ( ) type Clients struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Clients search query. - SearchQuery *SearchQuery `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty"` + SearchQuery *SearchQuery `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Clients) Reset() { *x = Clients{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_clients_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_clients_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Clients) String() string { @@ -50,7 +47,7 @@ func (*Clients) ProtoMessage() {} func (x *Clients) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_clients_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,25 +84,22 @@ func (x *Clients) GetSearchQuery() *SearchQuery { } type Client struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Client name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Client) Reset() { *x = Client{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_clients_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_clients_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Client) String() string { @@ -116,7 +110,7 @@ func (*Client) ProtoMessage() {} func (x *Client) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_clients_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -153,10 +147,7 @@ func (x *Client) GetName() string { } type CreateClient struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. @@ -166,16 +157,16 @@ type CreateClient struct { // Boolean indicates client type is validator or not. Validator bool `protobuf:"varint,4,opt,name=validator,proto3" json:"validator,omitempty"` // Boolean indicates whether it's required to create a key or not. - CreateKey bool `protobuf:"varint,5,opt,name=create_key,json=createKey,proto3" json:"create_key,omitempty"` + CreateKey bool `protobuf:"varint,5,opt,name=create_key,json=createKey,proto3" json:"create_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateClient) Reset() { *x = CreateClient{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_clients_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_clients_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateClient) String() string { @@ -186,7 +177,7 @@ func (*CreateClient) ProtoMessage() {} func (x *CreateClient) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_clients_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -237,10 +228,7 @@ func (x *CreateClient) GetCreateKey() bool { } type ClientKey struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. @@ -248,16 +236,16 @@ type ClientKey struct { // Client name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Client key name. - Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` + Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ClientKey) Reset() { *x = ClientKey{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_clients_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_clients_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ClientKey) String() string { @@ -268,7 +256,7 @@ func (*ClientKey) ProtoMessage() {} func (x *ClientKey) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_clients_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -372,7 +360,7 @@ func file_external_infra_proxy_request_clients_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_request_clients_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_external_infra_proxy_request_clients_proto_goTypes = []interface{}{ +var file_external_infra_proxy_request_clients_proto_goTypes = []any{ (*Clients)(nil), // 0: chef.automate.api.infra_proxy.request.Clients (*Client)(nil), // 1: chef.automate.api.infra_proxy.request.Client (*CreateClient)(nil), // 2: chef.automate.api.infra_proxy.request.CreateClient @@ -394,56 +382,6 @@ func file_external_infra_proxy_request_clients_proto_init() { return } file_external_infra_proxy_request_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_request_clients_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Clients); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_clients_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Client); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_clients_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateClient); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_clients_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientKey); 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{ diff --git a/api/external/infra_proxy/request/common.pb.go b/api/external/infra_proxy/request/common.pb.go index 604871e0173..a6330a13634 100644 --- a/api/external/infra_proxy/request/common.pb.go +++ b/api/external/infra_proxy/request/common.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/request/common.proto @@ -21,25 +21,22 @@ const ( ) type SearchQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The search query used to identify a list of items. Q string `protobuf:"bytes,1,opt,name=q,proto3" json:"q,omitempty"` // Starting page for the results. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // The number of results on each page. - PerPage int32 `protobuf:"varint,3,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` + PerPage int32 `protobuf:"varint,3,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchQuery) Reset() { *x = SearchQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_common_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_common_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SearchQuery) String() string { @@ -50,7 +47,7 @@ func (*SearchQuery) ProtoMessage() {} func (x *SearchQuery) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_common_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -119,7 +116,7 @@ func file_external_infra_proxy_request_common_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_request_common_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_external_infra_proxy_request_common_proto_goTypes = []interface{}{ +var file_external_infra_proxy_request_common_proto_goTypes = []any{ (*SearchQuery)(nil), // 0: chef.automate.api.infra_proxy.request.SearchQuery } var file_external_infra_proxy_request_common_proto_depIdxs = []int32{ @@ -135,20 +132,6 @@ func file_external_infra_proxy_request_common_proto_init() { if File_external_infra_proxy_request_common_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_request_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SearchQuery); 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{ diff --git a/api/external/infra_proxy/request/cookbooks.pb.go b/api/external/infra_proxy/request/cookbooks.pb.go index a6f23b3e9d1..bfb90a89567 100644 --- a/api/external/infra_proxy/request/cookbooks.pb.go +++ b/api/external/infra_proxy/request/cookbooks.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/request/cookbooks.proto @@ -21,23 +21,20 @@ const ( ) type Cookbooks struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the Org. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // ID of the Server - ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` + ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Cookbooks) Reset() { *x = Cookbooks{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_cookbooks_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_cookbooks_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Cookbooks) String() string { @@ -48,7 +45,7 @@ func (*Cookbooks) ProtoMessage() {} func (x *Cookbooks) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_cookbooks_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -78,25 +75,22 @@ func (x *Cookbooks) GetServerId() string { } type CookbookVersions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the Org. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // ID of the Server. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Name of the cookbook. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CookbookVersions) Reset() { *x = CookbookVersions{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_cookbooks_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_cookbooks_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookVersions) String() string { @@ -107,7 +101,7 @@ func (*CookbookVersions) ProtoMessage() {} func (x *CookbookVersions) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_cookbooks_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -144,10 +138,7 @@ func (x *CookbookVersions) GetName() string { } type Cookbook struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the Org. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // ID of the Server. @@ -155,16 +146,16 @@ type Cookbook struct { // Name of the cookbook. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Version of the cookbook. - Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Cookbook) Reset() { *x = Cookbook{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_cookbooks_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_cookbooks_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Cookbook) String() string { @@ -175,7 +166,7 @@ func (*Cookbook) ProtoMessage() {} func (x *Cookbook) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_cookbooks_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -219,10 +210,7 @@ func (x *Cookbook) GetVersion() string { } type CookbookFileContent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the org. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // ID of the server. @@ -232,16 +220,16 @@ type CookbookFileContent struct { // Version of the cookbook. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // Cookbook data file URL. - Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` + Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CookbookFileContent) Reset() { *x = CookbookFileContent{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_cookbooks_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_cookbooks_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookFileContent) String() string { @@ -252,7 +240,7 @@ func (*CookbookFileContent) ProtoMessage() {} func (x *CookbookFileContent) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_cookbooks_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -356,7 +344,7 @@ func file_external_infra_proxy_request_cookbooks_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_request_cookbooks_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_external_infra_proxy_request_cookbooks_proto_goTypes = []interface{}{ +var file_external_infra_proxy_request_cookbooks_proto_goTypes = []any{ (*Cookbooks)(nil), // 0: chef.automate.api.infra_proxy.request.Cookbooks (*CookbookVersions)(nil), // 1: chef.automate.api.infra_proxy.request.CookbookVersions (*Cookbook)(nil), // 2: chef.automate.api.infra_proxy.request.Cookbook @@ -375,56 +363,6 @@ func file_external_infra_proxy_request_cookbooks_proto_init() { if File_external_infra_proxy_request_cookbooks_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_request_cookbooks_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Cookbooks); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_cookbooks_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookVersions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_cookbooks_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Cookbook); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_cookbooks_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookFileContent); 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{ diff --git a/api/external/infra_proxy/request/databags.pb.go b/api/external/infra_proxy/request/databags.pb.go index b016eb9dbe7..df5670e5167 100644 --- a/api/external/infra_proxy/request/databags.pb.go +++ b/api/external/infra_proxy/request/databags.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/request/databags.proto @@ -22,23 +22,20 @@ const ( ) type DataBags struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. - ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` + ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBags) Reset() { *x = DataBags{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_databags_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_databags_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBags) String() string { @@ -49,7 +46,7 @@ func (*DataBags) ProtoMessage() {} func (x *DataBags) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_databags_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -79,25 +76,22 @@ func (x *DataBags) GetServerId() string { } type DataBag struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Data bag name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBag) Reset() { *x = DataBag{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_databags_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_databags_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBag) String() string { @@ -108,7 +102,7 @@ func (*DataBag) ProtoMessage() {} func (x *DataBag) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_databags_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -145,10 +139,7 @@ func (x *DataBag) GetName() string { } type DataBagItems struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. @@ -156,16 +147,16 @@ type DataBagItems struct { // Data bag name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Items search query. - SearchQuery *SearchQuery `protobuf:"bytes,4,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty"` + SearchQuery *SearchQuery `protobuf:"bytes,4,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBagItems) Reset() { *x = DataBagItems{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_databags_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_databags_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBagItems) String() string { @@ -176,7 +167,7 @@ func (*DataBagItems) ProtoMessage() {} func (x *DataBagItems) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_databags_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -220,10 +211,7 @@ func (x *DataBagItems) GetSearchQuery() *SearchQuery { } type DataBagItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. @@ -231,16 +219,16 @@ type DataBagItem struct { // Data bag name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Data bag item name. - Item string `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"` + Item string `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBagItem) Reset() { *x = DataBagItem{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_databags_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_databags_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBagItem) String() string { @@ -251,7 +239,7 @@ func (*DataBagItem) ProtoMessage() {} func (x *DataBagItem) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_databags_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -295,25 +283,22 @@ func (x *DataBagItem) GetItem() string { } type CreateDataBag struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Data bag name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateDataBag) Reset() { *x = CreateDataBag{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_databags_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_databags_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDataBag) String() string { @@ -324,7 +309,7 @@ func (*CreateDataBag) ProtoMessage() {} func (x *CreateDataBag) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_databags_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -361,10 +346,7 @@ func (x *CreateDataBag) GetName() string { } type CreateDataBagItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. @@ -372,16 +354,16 @@ type CreateDataBagItem struct { // Data bag name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Data bag item JSON data. - Data *structpb.Struct `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` + Data *structpb.Struct `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateDataBagItem) Reset() { *x = CreateDataBagItem{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_databags_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_databags_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDataBagItem) String() string { @@ -392,7 +374,7 @@ func (*CreateDataBagItem) ProtoMessage() {} func (x *CreateDataBagItem) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_databags_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -436,10 +418,7 @@ func (x *CreateDataBagItem) GetData() *structpb.Struct { } type UpdateDataBagItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. @@ -449,16 +428,16 @@ type UpdateDataBagItem struct { // Data bag item ID. ItemId string `protobuf:"bytes,4,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` // Data bag item JSON data. - Data *structpb.Struct `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` + Data *structpb.Struct `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateDataBagItem) Reset() { *x = UpdateDataBagItem{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_databags_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_databags_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateDataBagItem) String() string { @@ -469,7 +448,7 @@ func (*UpdateDataBagItem) ProtoMessage() {} func (x *UpdateDataBagItem) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_databags_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -603,7 +582,7 @@ func file_external_infra_proxy_request_databags_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_request_databags_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_external_infra_proxy_request_databags_proto_goTypes = []interface{}{ +var file_external_infra_proxy_request_databags_proto_goTypes = []any{ (*DataBags)(nil), // 0: chef.automate.api.infra_proxy.request.DataBags (*DataBag)(nil), // 1: chef.automate.api.infra_proxy.request.DataBag (*DataBagItems)(nil), // 2: chef.automate.api.infra_proxy.request.DataBagItems @@ -631,92 +610,6 @@ func file_external_infra_proxy_request_databags_proto_init() { return } file_external_infra_proxy_request_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_request_databags_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBags); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_databags_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBag); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_databags_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBagItems); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_databags_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBagItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_databags_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDataBag); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_databags_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDataBagItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_databags_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateDataBagItem); 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{ diff --git a/api/external/infra_proxy/request/environments.pb.go b/api/external/infra_proxy/request/environments.pb.go index 6820b6f6d85..c64d24d441c 100644 --- a/api/external/infra_proxy/request/environments.pb.go +++ b/api/external/infra_proxy/request/environments.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/request/environments.proto @@ -22,25 +22,22 @@ const ( ) type Environments struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Environments search query. - SearchQuery *SearchQuery `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty"` + SearchQuery *SearchQuery `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Environments) Reset() { *x = Environments{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_environments_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_environments_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Environments) String() string { @@ -51,7 +48,7 @@ func (*Environments) ProtoMessage() {} func (x *Environments) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_environments_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -88,25 +85,22 @@ func (x *Environments) GetSearchQuery() *SearchQuery { } type Environment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Environment name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Environment) Reset() { *x = Environment{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_environments_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_environments_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Environment) String() string { @@ -117,7 +111,7 @@ func (*Environment) ProtoMessage() {} func (x *Environment) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_environments_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -154,10 +148,7 @@ func (x *Environment) GetName() string { } type CreateEnvironment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. @@ -169,20 +160,20 @@ type CreateEnvironment struct { // Class name. JsonClass string `protobuf:"bytes,5,opt,name=json_class,json=jsonClass,proto3" json:"json_class,omitempty"` // Environment versioned cookbooks constraints. - CookbookVersions map[string]string `protobuf:"bytes,6,rep,name=cookbook_versions,json=cookbookVersions,proto3" json:"cookbook_versions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CookbookVersions map[string]string `protobuf:"bytes,6,rep,name=cookbook_versions,json=cookbookVersions,proto3" json:"cookbook_versions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Environment default attributes JSON. DefaultAttributes *structpb.Struct `protobuf:"bytes,7,opt,name=default_attributes,json=defaultAttributes,proto3" json:"default_attributes,omitempty"` // Environment override attributes JSON. OverrideAttributes *structpb.Struct `protobuf:"bytes,8,opt,name=override_attributes,json=overrideAttributes,proto3" json:"override_attributes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateEnvironment) Reset() { *x = CreateEnvironment{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_environments_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_environments_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateEnvironment) String() string { @@ -193,7 +184,7 @@ func (*CreateEnvironment) ProtoMessage() {} func (x *CreateEnvironment) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_environments_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -265,10 +256,7 @@ func (x *CreateEnvironment) GetOverrideAttributes() *structpb.Struct { } type UpdateEnvironment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. @@ -280,20 +268,20 @@ type UpdateEnvironment struct { // Class name. JsonClass string `protobuf:"bytes,5,opt,name=json_class,json=jsonClass,proto3" json:"json_class,omitempty"` // Environment versioned cookbooks constraints. - CookbookVersions map[string]string `protobuf:"bytes,6,rep,name=cookbook_versions,json=cookbookVersions,proto3" json:"cookbook_versions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CookbookVersions map[string]string `protobuf:"bytes,6,rep,name=cookbook_versions,json=cookbookVersions,proto3" json:"cookbook_versions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Environment default attributes JSON. DefaultAttributes *structpb.Struct `protobuf:"bytes,7,opt,name=default_attributes,json=defaultAttributes,proto3" json:"default_attributes,omitempty"` // Environment override attributes JSON. OverrideAttributes *structpb.Struct `protobuf:"bytes,8,opt,name=override_attributes,json=overrideAttributes,proto3" json:"override_attributes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateEnvironment) Reset() { *x = UpdateEnvironment{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_environments_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_environments_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateEnvironment) String() string { @@ -304,7 +292,7 @@ func (*UpdateEnvironment) ProtoMessage() {} func (x *UpdateEnvironment) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_environments_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -485,7 +473,7 @@ func file_external_infra_proxy_request_environments_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_request_environments_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_external_infra_proxy_request_environments_proto_goTypes = []interface{}{ +var file_external_infra_proxy_request_environments_proto_goTypes = []any{ (*Environments)(nil), // 0: chef.automate.api.infra_proxy.request.Environments (*Environment)(nil), // 1: chef.automate.api.infra_proxy.request.Environment (*CreateEnvironment)(nil), // 2: chef.automate.api.infra_proxy.request.CreateEnvironment @@ -516,56 +504,6 @@ func file_external_infra_proxy_request_environments_proto_init() { return } file_external_infra_proxy_request_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_request_environments_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Environments); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_environments_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Environment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_environments_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateEnvironment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_environments_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateEnvironment); 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{ diff --git a/api/external/infra_proxy/request/nodes.pb.go b/api/external/infra_proxy/request/nodes.pb.go index 110d462f190..347588eb2de 100644 --- a/api/external/infra_proxy/request/nodes.pb.go +++ b/api/external/infra_proxy/request/nodes.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/request/nodes.proto @@ -22,25 +22,22 @@ const ( ) type Nodes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Nodes search query. - SearchQuery *SearchQuery `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty"` + SearchQuery *SearchQuery `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Nodes) Reset() { *x = Nodes{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Nodes) String() string { @@ -51,7 +48,7 @@ func (*Nodes) ProtoMessage() {} func (x *Nodes) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -88,25 +85,22 @@ func (x *Nodes) GetSearchQuery() *SearchQuery { } type Node struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Node name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Node) Reset() { *x = Node{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Node) String() string { @@ -117,7 +111,7 @@ func (*Node) ProtoMessage() {} func (x *Node) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -154,10 +148,7 @@ func (x *Node) GetName() string { } type NodeDetails struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. @@ -180,15 +171,15 @@ type NodeDetails struct { NormalAttributes *structpb.Struct `protobuf:"bytes,10,opt,name=normal_attributes,json=normalAttributes,proto3" json:"normal_attributes,omitempty"` // Node override attributes JSON. OverrideAttributes *structpb.Struct `protobuf:"bytes,11,opt,name=override_attributes,json=overrideAttributes,proto3" json:"override_attributes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeDetails) Reset() { *x = NodeDetails{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeDetails) String() string { @@ -199,7 +190,7 @@ func (*NodeDetails) ProtoMessage() {} func (x *NodeDetails) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -292,10 +283,7 @@ func (x *NodeDetails) GetOverrideAttributes() *structpb.Struct { } type UpdateNodeTags struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. @@ -305,16 +293,16 @@ type UpdateNodeTags struct { // Node tags action (e.g. 'add', 'delete', 'set'). Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"` // Node tags. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateNodeTags) Reset() { *x = UpdateNodeTags{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateNodeTags) String() string { @@ -325,7 +313,7 @@ func (*UpdateNodeTags) ProtoMessage() {} func (x *UpdateNodeTags) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -376,10 +364,7 @@ func (x *UpdateNodeTags) GetTags() []string { } type UpdateNodeEnvironment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. @@ -387,16 +372,16 @@ type UpdateNodeEnvironment struct { // Node name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Node environment name. - Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty"` + Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateNodeEnvironment) Reset() { *x = UpdateNodeEnvironment{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateNodeEnvironment) String() string { @@ -407,7 +392,7 @@ func (*UpdateNodeEnvironment) ProtoMessage() {} func (x *UpdateNodeEnvironment) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -451,10 +436,7 @@ func (x *UpdateNodeEnvironment) GetEnvironment() string { } type UpdateNodeAttributes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. @@ -462,16 +444,16 @@ type UpdateNodeAttributes struct { // Node name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Node attributes JSON. - Attributes *structpb.Struct `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"` + Attributes *structpb.Struct `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateNodeAttributes) Reset() { *x = UpdateNodeAttributes{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateNodeAttributes) String() string { @@ -482,7 +464,7 @@ func (*UpdateNodeAttributes) ProtoMessage() {} func (x *UpdateNodeAttributes) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -526,10 +508,7 @@ func (x *UpdateNodeAttributes) GetAttributes() *structpb.Struct { } type NodeExpandedRunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. @@ -537,16 +516,16 @@ type NodeExpandedRunList struct { // Node name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Node environment. - Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty"` + Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeExpandedRunList) Reset() { *x = NodeExpandedRunList{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeExpandedRunList) String() string { @@ -557,7 +536,7 @@ func (*NodeExpandedRunList) ProtoMessage() {} func (x *NodeExpandedRunList) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_nodes_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -713,7 +692,7 @@ func file_external_infra_proxy_request_nodes_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_request_nodes_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_external_infra_proxy_request_nodes_proto_goTypes = []interface{}{ +var file_external_infra_proxy_request_nodes_proto_goTypes = []any{ (*Nodes)(nil), // 0: chef.automate.api.infra_proxy.request.Nodes (*Node)(nil), // 1: chef.automate.api.infra_proxy.request.Node (*NodeDetails)(nil), // 2: chef.automate.api.infra_proxy.request.NodeDetails @@ -744,92 +723,6 @@ func file_external_infra_proxy_request_nodes_proto_init() { return } file_external_infra_proxy_request_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_request_nodes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Nodes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_nodes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Node); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_nodes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeDetails); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_nodes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateNodeTags); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_nodes_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateNodeEnvironment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_nodes_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateNodeAttributes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_nodes_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeExpandedRunList); 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{ diff --git a/api/external/infra_proxy/request/orgs.pb.go b/api/external/infra_proxy/request/orgs.pb.go index a95719c0c9a..ec63eee77b3 100644 --- a/api/external/infra_proxy/request/orgs.pb.go +++ b/api/external/infra_proxy/request/orgs.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/request/orgs.proto @@ -21,10 +21,7 @@ const ( ) type CreateOrg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Chef organization name. @@ -36,16 +33,16 @@ type CreateOrg struct { // Chef Infra Server ID. ServerId string `protobuf:"bytes,5,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // List of projects this chef organization belongs to. May be empty. - Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty"` + Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateOrg) Reset() { *x = CreateOrg{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateOrg) String() string { @@ -56,7 +53,7 @@ func (*CreateOrg) ProtoMessage() {} func (x *CreateOrg) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -114,10 +111,7 @@ func (x *CreateOrg) GetProjects() []string { } type UpdateOrg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Chef organization name. @@ -127,16 +121,16 @@ type UpdateOrg struct { // Chef Infra Server ID. ServerId string `protobuf:"bytes,4,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // List of projects this chef organization belongs to. May be empty. - Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"` + Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateOrg) Reset() { *x = UpdateOrg{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateOrg) String() string { @@ -147,7 +141,7 @@ func (*UpdateOrg) ProtoMessage() {} func (x *UpdateOrg) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -198,23 +192,20 @@ func (x *UpdateOrg) GetProjects() []string { } type DeleteOrg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Chef Infra Server ID. - ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` + ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteOrg) Reset() { *x = DeleteOrg{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteOrg) String() string { @@ -225,7 +216,7 @@ func (*DeleteOrg) ProtoMessage() {} func (x *DeleteOrg) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -255,21 +246,18 @@ func (x *DeleteOrg) GetServerId() string { } type GetOrgs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server ID. - ServerId string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` + ServerId string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrgs) Reset() { *x = GetOrgs{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrgs) String() string { @@ -280,7 +268,7 @@ func (*GetOrgs) ProtoMessage() {} func (x *GetOrgs) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -303,23 +291,20 @@ func (x *GetOrgs) GetServerId() string { } type GetOrg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Chef Infra Server ID. - ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` + ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrg) Reset() { *x = GetOrg{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrg) String() string { @@ -330,7 +315,7 @@ func (*GetOrg) ProtoMessage() {} func (x *GetOrg) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -360,25 +345,22 @@ func (x *GetOrg) GetServerId() string { } type ResetOrgAdminKey struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Chef organization admin key. - AdminKey string `protobuf:"bytes,3,opt,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty"` + AdminKey string `protobuf:"bytes,3,opt,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ResetOrgAdminKey) Reset() { *x = ResetOrgAdminKey{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetOrgAdminKey) String() string { @@ -389,7 +371,7 @@ func (*ResetOrgAdminKey) ProtoMessage() {} func (x *ResetOrgAdminKey) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_orgs_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -487,7 +469,7 @@ func file_external_infra_proxy_request_orgs_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_request_orgs_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_external_infra_proxy_request_orgs_proto_goTypes = []interface{}{ +var file_external_infra_proxy_request_orgs_proto_goTypes = []any{ (*CreateOrg)(nil), // 0: chef.automate.api.infra_proxy.request.CreateOrg (*UpdateOrg)(nil), // 1: chef.automate.api.infra_proxy.request.UpdateOrg (*DeleteOrg)(nil), // 2: chef.automate.api.infra_proxy.request.DeleteOrg @@ -508,80 +490,6 @@ func file_external_infra_proxy_request_orgs_proto_init() { if File_external_infra_proxy_request_orgs_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_request_orgs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateOrg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_orgs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateOrg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_orgs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteOrg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_orgs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrgs); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_orgs_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_orgs_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetOrgAdminKey); 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{ diff --git a/api/external/infra_proxy/request/policyfiles.pb.go b/api/external/infra_proxy/request/policyfiles.pb.go index 49d5dcd607e..3fdf5e0bb05 100644 --- a/api/external/infra_proxy/request/policyfiles.pb.go +++ b/api/external/infra_proxy/request/policyfiles.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/request/policyfiles.proto @@ -21,23 +21,20 @@ const ( ) type Policyfiles struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. - ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` + ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Policyfiles) Reset() { *x = Policyfiles{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_policyfiles_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_policyfiles_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Policyfiles) String() string { @@ -48,7 +45,7 @@ func (*Policyfiles) ProtoMessage() {} func (x *Policyfiles) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_policyfiles_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -78,10 +75,7 @@ func (x *Policyfiles) GetServerId() string { } type Policyfile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. @@ -89,16 +83,16 @@ type Policyfile struct { // Policyfile name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Policyfile revision ID. - RevisionId string `protobuf:"bytes,4,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` + RevisionId string `protobuf:"bytes,4,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Policyfile) Reset() { *x = Policyfile{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_policyfiles_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_policyfiles_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Policyfile) String() string { @@ -109,7 +103,7 @@ func (*Policyfile) ProtoMessage() {} func (x *Policyfile) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_policyfiles_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -153,25 +147,22 @@ func (x *Policyfile) GetRevisionId() string { } type DeletePolicyfile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Policyfile name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeletePolicyfile) Reset() { *x = DeletePolicyfile{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_policyfiles_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_policyfiles_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeletePolicyfile) String() string { @@ -182,7 +173,7 @@ func (*DeletePolicyfile) ProtoMessage() {} func (x *DeletePolicyfile) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_policyfiles_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -219,25 +210,22 @@ func (x *DeletePolicyfile) GetName() string { } type PolicyfileRevisions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Policyfile name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PolicyfileRevisions) Reset() { *x = PolicyfileRevisions{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_policyfiles_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_policyfiles_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicyfileRevisions) String() string { @@ -248,7 +236,7 @@ func (*PolicyfileRevisions) ProtoMessage() {} func (x *PolicyfileRevisions) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_policyfiles_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -285,25 +273,22 @@ func (x *PolicyfileRevisions) GetName() string { } type Policygroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Policygroup name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Policygroup) Reset() { *x = Policygroup{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_policyfiles_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_policyfiles_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Policygroup) String() string { @@ -314,7 +299,7 @@ func (*Policygroup) ProtoMessage() {} func (x *Policygroup) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_policyfiles_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -407,7 +392,7 @@ func file_external_infra_proxy_request_policyfiles_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_request_policyfiles_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_external_infra_proxy_request_policyfiles_proto_goTypes = []interface{}{ +var file_external_infra_proxy_request_policyfiles_proto_goTypes = []any{ (*Policyfiles)(nil), // 0: chef.automate.api.infra_proxy.request.Policyfiles (*Policyfile)(nil), // 1: chef.automate.api.infra_proxy.request.Policyfile (*DeletePolicyfile)(nil), // 2: chef.automate.api.infra_proxy.request.DeletePolicyfile @@ -427,68 +412,6 @@ func file_external_infra_proxy_request_policyfiles_proto_init() { if File_external_infra_proxy_request_policyfiles_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_request_policyfiles_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Policyfiles); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_policyfiles_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Policyfile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_policyfiles_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeletePolicyfile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_policyfiles_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PolicyfileRevisions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_policyfiles_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Policygroup); 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{ diff --git a/api/external/infra_proxy/request/roles.pb.go b/api/external/infra_proxy/request/roles.pb.go index 052304f5f08..9e827b8f9ed 100644 --- a/api/external/infra_proxy/request/roles.pb.go +++ b/api/external/infra_proxy/request/roles.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/request/roles.proto @@ -22,25 +22,22 @@ const ( ) type Roles struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Roles search query. - SearchQuery *SearchQuery `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty"` + SearchQuery *SearchQuery `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Roles) Reset() { *x = Roles{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_roles_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_roles_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Roles) String() string { @@ -51,7 +48,7 @@ func (*Roles) ProtoMessage() {} func (x *Roles) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_roles_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -88,25 +85,22 @@ func (x *Roles) GetSearchQuery() *SearchQuery { } type Role struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Role name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Role) Reset() { *x = Role{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_roles_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_roles_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Role) String() string { @@ -117,7 +111,7 @@ func (*Role) ProtoMessage() {} func (x *Role) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_roles_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -154,10 +148,7 @@ func (x *Role) GetName() string { } type CreateRole struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. @@ -173,16 +164,16 @@ type CreateRole struct { // Role run list. RunList []string `protobuf:"bytes,7,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty"` // Environment based run list. - EnvRunLists []*EnvRunList `protobuf:"bytes,8,rep,name=env_run_lists,json=envRunLists,proto3" json:"env_run_lists,omitempty"` + EnvRunLists []*EnvRunList `protobuf:"bytes,8,rep,name=env_run_lists,json=envRunLists,proto3" json:"env_run_lists,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateRole) Reset() { *x = CreateRole{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_roles_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_roles_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRole) String() string { @@ -193,7 +184,7 @@ func (*CreateRole) ProtoMessage() {} func (x *CreateRole) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_roles_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -265,10 +256,7 @@ func (x *CreateRole) GetEnvRunLists() []*EnvRunList { } type UpdateRole struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. @@ -284,16 +272,16 @@ type UpdateRole struct { // Role run list. RunList []string `protobuf:"bytes,7,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty"` // Environment based run list. - EnvRunLists []*EnvRunList `protobuf:"bytes,8,rep,name=env_run_lists,json=envRunLists,proto3" json:"env_run_lists,omitempty"` + EnvRunLists []*EnvRunList `protobuf:"bytes,8,rep,name=env_run_lists,json=envRunLists,proto3" json:"env_run_lists,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateRole) Reset() { *x = UpdateRole{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_roles_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_roles_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRole) String() string { @@ -304,7 +292,7 @@ func (*UpdateRole) ProtoMessage() {} func (x *UpdateRole) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_roles_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -376,23 +364,20 @@ func (x *UpdateRole) GetEnvRunLists() []*EnvRunList { } type EnvRunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Environment name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Role run list. - RunList []string `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty"` + RunList []string `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EnvRunList) Reset() { *x = EnvRunList{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_roles_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_roles_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnvRunList) String() string { @@ -403,7 +388,7 @@ func (*EnvRunList) ProtoMessage() {} func (x *EnvRunList) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_roles_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -433,10 +418,7 @@ func (x *EnvRunList) GetRunList() []string { } type ExpandedRunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. @@ -444,16 +426,16 @@ type ExpandedRunList struct { // Role name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Role environment. - Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty"` + Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ExpandedRunList) Reset() { *x = ExpandedRunList{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_roles_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_roles_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExpandedRunList) String() string { @@ -464,7 +446,7 @@ func (*ExpandedRunList) ProtoMessage() {} func (x *ExpandedRunList) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_roles_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -613,7 +595,7 @@ func file_external_infra_proxy_request_roles_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_request_roles_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_external_infra_proxy_request_roles_proto_goTypes = []interface{}{ +var file_external_infra_proxy_request_roles_proto_goTypes = []any{ (*Roles)(nil), // 0: chef.automate.api.infra_proxy.request.Roles (*Role)(nil), // 1: chef.automate.api.infra_proxy.request.Role (*CreateRole)(nil), // 2: chef.automate.api.infra_proxy.request.CreateRole @@ -644,80 +626,6 @@ func file_external_infra_proxy_request_roles_proto_init() { return } file_external_infra_proxy_request_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_request_roles_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Roles); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_roles_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Role); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_roles_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRole); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_roles_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRole); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_roles_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnvRunList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_roles_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExpandedRunList); 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{ diff --git a/api/external/infra_proxy/request/servers.pb.go b/api/external/infra_proxy/request/servers.pb.go index dad4d10ce76..468130c0be1 100644 --- a/api/external/infra_proxy/request/servers.pb.go +++ b/api/external/infra_proxy/request/servers.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/request/servers.proto @@ -21,10 +21,7 @@ const ( ) type CreateServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Chef Infra Server name. @@ -32,16 +29,16 @@ type CreateServer struct { // Chef Infra Server FQDN. Fqdn string `protobuf:"bytes,3,opt,name=fqdn,proto3" json:"fqdn,omitempty"` // Chef Infra Server IP address. - IpAddress string `protobuf:"bytes,4,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` + IpAddress string `protobuf:"bytes,4,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateServer) Reset() { *x = CreateServer{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_servers_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_servers_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateServer) String() string { @@ -52,7 +49,7 @@ func (*CreateServer) ProtoMessage() {} func (x *CreateServer) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_servers_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -96,10 +93,7 @@ func (x *CreateServer) GetIpAddress() string { } type UpdateServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Chef Infra Server name. @@ -107,16 +101,16 @@ type UpdateServer struct { // Chef Infra Server FQDN. Fqdn string `protobuf:"bytes,3,opt,name=fqdn,proto3" json:"fqdn,omitempty"` // Chef Infra Server IP address. - IpAddress string `protobuf:"bytes,4,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` + IpAddress string `protobuf:"bytes,4,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateServer) Reset() { *x = UpdateServer{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_servers_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_servers_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateServer) String() string { @@ -127,7 +121,7 @@ func (*UpdateServer) ProtoMessage() {} func (x *UpdateServer) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_servers_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -171,21 +165,18 @@ func (x *UpdateServer) GetIpAddress() string { } type DeleteServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server ID. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteServer) Reset() { *x = DeleteServer{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_servers_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_servers_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteServer) String() string { @@ -196,7 +187,7 @@ func (*DeleteServer) ProtoMessage() {} func (x *DeleteServer) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_servers_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -219,18 +210,16 @@ func (x *DeleteServer) GetId() string { } type GetServers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetServers) Reset() { *x = GetServers{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_servers_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_servers_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetServers) String() string { @@ -241,7 +230,7 @@ func (*GetServers) ProtoMessage() {} func (x *GetServers) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_servers_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -257,21 +246,18 @@ func (*GetServers) Descriptor() ([]byte, []int) { } type GetServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server ID. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetServer) Reset() { *x = GetServer{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_servers_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_servers_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetServer) String() string { @@ -282,7 +268,7 @@ func (*GetServer) ProtoMessage() {} func (x *GetServer) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_servers_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -305,21 +291,18 @@ func (x *GetServer) GetId() string { } type GetServerStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Server FQDN - Fqdn string `protobuf:"bytes,1,opt,name=fqdn,proto3" json:"fqdn,omitempty"` + Fqdn string `protobuf:"bytes,1,opt,name=fqdn,proto3" json:"fqdn,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetServerStatus) Reset() { *x = GetServerStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_servers_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_servers_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetServerStatus) String() string { @@ -330,7 +313,7 @@ func (*GetServerStatus) ProtoMessage() {} func (x *GetServerStatus) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_servers_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -400,7 +383,7 @@ func file_external_infra_proxy_request_servers_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_request_servers_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_external_infra_proxy_request_servers_proto_goTypes = []interface{}{ +var file_external_infra_proxy_request_servers_proto_goTypes = []any{ (*CreateServer)(nil), // 0: chef.automate.api.infra_proxy.request.CreateServer (*UpdateServer)(nil), // 1: chef.automate.api.infra_proxy.request.UpdateServer (*DeleteServer)(nil), // 2: chef.automate.api.infra_proxy.request.DeleteServer @@ -421,80 +404,6 @@ func file_external_infra_proxy_request_servers_proto_init() { if File_external_infra_proxy_request_servers_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_request_servers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_servers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_servers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_servers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServers); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_servers_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_servers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServerStatus); 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{ diff --git a/api/external/infra_proxy/request/users.pb.go b/api/external/infra_proxy/request/users.pb.go index b9b55b91608..f15a2b981cf 100644 --- a/api/external/infra_proxy/request/users.pb.go +++ b/api/external/infra_proxy/request/users.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/request/users.proto @@ -21,23 +21,20 @@ const ( ) type OrgUsers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Chef Infra Server ID. - ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` + ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OrgUsers) Reset() { *x = OrgUsers{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_users_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_users_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OrgUsers) String() string { @@ -48,7 +45,7 @@ func (*OrgUsers) ProtoMessage() {} func (x *OrgUsers) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_users_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -78,25 +75,22 @@ func (x *OrgUsers) GetServerId() string { } type ServerUsers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // Chef Infra server admin name. AdminName string `protobuf:"bytes,2,opt,name=admin_name,json=adminName,proto3" json:"admin_name,omitempty"` // Chef Infra server admin key. - AdminKey string `protobuf:"bytes,3,opt,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty"` + AdminKey string `protobuf:"bytes,3,opt,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServerUsers) Reset() { *x = ServerUsers{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_request_users_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_request_users_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServerUsers) String() string { @@ -107,7 +101,7 @@ func (*ServerUsers) ProtoMessage() {} func (x *ServerUsers) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_request_users_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -181,7 +175,7 @@ func file_external_infra_proxy_request_users_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_request_users_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_external_infra_proxy_request_users_proto_goTypes = []interface{}{ +var file_external_infra_proxy_request_users_proto_goTypes = []any{ (*OrgUsers)(nil), // 0: chef.automate.api.infra_proxy.request.OrgUsers (*ServerUsers)(nil), // 1: chef.automate.api.infra_proxy.request.ServerUsers } @@ -198,32 +192,6 @@ func file_external_infra_proxy_request_users_proto_init() { if File_external_infra_proxy_request_users_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_request_users_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrgUsers); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_request_users_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServerUsers); 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{ diff --git a/api/external/infra_proxy/response/clients.pb.go b/api/external/infra_proxy/response/clients.pb.go index 85eda2f3d7b..808467c934e 100644 --- a/api/external/infra_proxy/response/clients.pb.go +++ b/api/external/infra_proxy/response/clients.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/response/clients.proto @@ -21,25 +21,22 @@ const ( ) type Clients struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Client list. Clients []*ClientListItem `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"` // Starting page for the results. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // Total number of records. - Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` + Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Clients) Reset() { *x = Clients{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_clients_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_clients_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Clients) String() string { @@ -50,7 +47,7 @@ func (*Clients) ProtoMessage() {} func (x *Clients) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_clients_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,23 +84,20 @@ func (x *Clients) GetTotal() int32 { } type ClientListItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Client name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Boolean indicates client type is validator or not. - Validator bool `protobuf:"varint,2,opt,name=validator,proto3" json:"validator,omitempty"` + Validator bool `protobuf:"varint,2,opt,name=validator,proto3" json:"validator,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ClientListItem) Reset() { *x = ClientListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_clients_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_clients_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ClientListItem) String() string { @@ -114,7 +108,7 @@ func (*ClientListItem) ProtoMessage() {} func (x *ClientListItem) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_clients_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -144,10 +138,7 @@ func (x *ClientListItem) GetValidator() bool { } type Client struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Client name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Client name return by Chef Infra Server API. @@ -161,16 +152,16 @@ type Client struct { // Chef object type. ChefType string `protobuf:"bytes,6,opt,name=chef_type,json=chefType,proto3" json:"chef_type,omitempty"` // Client key detail. - ClientKey *ClientAccessKey `protobuf:"bytes,7,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` + ClientKey *ClientAccessKey `protobuf:"bytes,7,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Client) Reset() { *x = Client{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_clients_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_clients_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Client) String() string { @@ -181,7 +172,7 @@ func (*Client) ProtoMessage() {} func (x *Client) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_clients_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -246,23 +237,20 @@ func (x *Client) GetClientKey() *ClientAccessKey { } type CreateClient struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Client name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Client key detail. - ClientKey *ClientKey `protobuf:"bytes,2,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` + ClientKey *ClientKey `protobuf:"bytes,2,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateClient) Reset() { *x = CreateClient{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_clients_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_clients_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateClient) String() string { @@ -273,7 +261,7 @@ func (*CreateClient) ProtoMessage() {} func (x *CreateClient) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_clients_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -303,23 +291,20 @@ func (x *CreateClient) GetClientKey() *ClientKey { } type ResetClient struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Client name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Client key detail. - ClientKey *ClientKey `protobuf:"bytes,2,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` + ClientKey *ClientKey `protobuf:"bytes,2,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ResetClient) Reset() { *x = ResetClient{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_clients_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_clients_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetClient) String() string { @@ -330,7 +315,7 @@ func (*ResetClient) ProtoMessage() {} func (x *ResetClient) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_clients_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -360,10 +345,7 @@ func (x *ResetClient) GetClientKey() *ClientKey { } type ClientKey struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Client key name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Client public key. @@ -371,16 +353,16 @@ type ClientKey struct { // Client key expiration date string. ExpirationDate string `protobuf:"bytes,3,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"` // Client private key. - PrivateKey string `protobuf:"bytes,4,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` + PrivateKey string `protobuf:"bytes,4,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ClientKey) Reset() { *x = ClientKey{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_clients_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_clients_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ClientKey) String() string { @@ -391,7 +373,7 @@ func (*ClientKey) ProtoMessage() {} func (x *ClientKey) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_clients_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -435,25 +417,22 @@ func (x *ClientKey) GetPrivateKey() string { } type ClientAccessKey struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Client key name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Client public key. PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // Client key expiration date string. ExpirationDate string `protobuf:"bytes,3,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ClientAccessKey) Reset() { *x = ClientAccessKey{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_clients_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_clients_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ClientAccessKey) String() string { @@ -464,7 +443,7 @@ func (*ClientAccessKey) ProtoMessage() {} func (x *ClientAccessKey) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_clients_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -588,7 +567,7 @@ func file_external_infra_proxy_response_clients_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_response_clients_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_external_infra_proxy_response_clients_proto_goTypes = []interface{}{ +var file_external_infra_proxy_response_clients_proto_goTypes = []any{ (*Clients)(nil), // 0: chef.automate.api.infra_proxy.response.Clients (*ClientListItem)(nil), // 1: chef.automate.api.infra_proxy.response.ClientListItem (*Client)(nil), // 2: chef.automate.api.infra_proxy.response.Client @@ -614,92 +593,6 @@ func file_external_infra_proxy_response_clients_proto_init() { if File_external_infra_proxy_response_clients_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_response_clients_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Clients); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_clients_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_clients_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Client); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_clients_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateClient); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_clients_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetClient); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_clients_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientKey); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_clients_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientAccessKey); 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{ diff --git a/api/external/infra_proxy/response/common.pb.go b/api/external/infra_proxy/response/common.pb.go index b212015ac99..625f9c853eb 100644 --- a/api/external/infra_proxy/response/common.pb.go +++ b/api/external/infra_proxy/response/common.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/response/common.proto @@ -21,10 +21,7 @@ const ( ) type RunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Run list item type (e.g. 'recipe'). Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Run list item name. @@ -38,16 +35,16 @@ type RunList struct { // Run list error Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"` // List of the run list. - Children []*RunList `protobuf:"bytes,7,rep,name=children,proto3" json:"children,omitempty"` + Children []*RunList `protobuf:"bytes,7,rep,name=children,proto3" json:"children,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RunList) Reset() { *x = RunList{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_common_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_common_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RunList) String() string { @@ -58,7 +55,7 @@ func (*RunList) ProtoMessage() {} func (x *RunList) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_common_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -165,7 +162,7 @@ func file_external_infra_proxy_response_common_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_response_common_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_external_infra_proxy_response_common_proto_goTypes = []interface{}{ +var file_external_infra_proxy_response_common_proto_goTypes = []any{ (*RunList)(nil), // 0: chef.automate.api.infra_proxy.response.RunList } var file_external_infra_proxy_response_common_proto_depIdxs = []int32{ @@ -182,20 +179,6 @@ func file_external_infra_proxy_response_common_proto_init() { if File_external_infra_proxy_response_common_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_response_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RunList); 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{ diff --git a/api/external/infra_proxy/response/cookbooks.pb.go b/api/external/infra_proxy/response/cookbooks.pb.go index fc857ba8a34..b77dcef6142 100644 --- a/api/external/infra_proxy/response/cookbooks.pb.go +++ b/api/external/infra_proxy/response/cookbooks.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/response/cookbooks.proto @@ -21,21 +21,18 @@ const ( ) type Cookbooks struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of cookbooks with name and version. - Cookbooks []*CookbookVersion `protobuf:"bytes,1,rep,name=cookbooks,proto3" json:"cookbooks,omitempty"` + Cookbooks []*CookbookVersion `protobuf:"bytes,1,rep,name=cookbooks,proto3" json:"cookbooks,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Cookbooks) Reset() { *x = Cookbooks{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Cookbooks) String() string { @@ -46,7 +43,7 @@ func (*Cookbooks) ProtoMessage() {} func (x *Cookbooks) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,23 +66,20 @@ func (x *Cookbooks) GetCookbooks() []*CookbookVersion { } type CookbookVersions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name of the cookbook. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // List of all versions available for cookbook. - Versions []string `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"` + Versions []string `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CookbookVersions) Reset() { *x = CookbookVersions{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookVersions) String() string { @@ -96,7 +90,7 @@ func (*CookbookVersions) ProtoMessage() {} func (x *CookbookVersions) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -126,21 +120,18 @@ func (x *CookbookVersions) GetVersions() []string { } type CookbookFileContent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Cookbook data file content. - Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` + Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CookbookFileContent) Reset() { *x = CookbookFileContent{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookFileContent) String() string { @@ -151,7 +142,7 @@ func (*CookbookFileContent) ProtoMessage() {} func (x *CookbookFileContent) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -174,23 +165,20 @@ func (x *CookbookFileContent) GetContent() string { } type CookbookVersion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name of the cookbook. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Version of the cookbook. - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CookbookVersion) Reset() { *x = CookbookVersion{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookVersion) String() string { @@ -201,7 +189,7 @@ func (*CookbookVersion) ProtoMessage() {} func (x *CookbookVersion) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -231,36 +219,33 @@ func (x *CookbookVersion) GetVersion() string { } type Cookbook struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + CookbookName string `protobuf:"bytes,1,opt,name=cookbook_name,json=cookbookName,proto3" json:"cookbook_name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + ChefType string `protobuf:"bytes,4,opt,name=chef_type,json=chefType,proto3" json:"chef_type,omitempty"` + Frozen bool `protobuf:"varint,5,opt,name=frozen,proto3" json:"frozen,omitempty"` + JsonClass string `protobuf:"bytes,6,opt,name=json_class,json=jsonClass,proto3" json:"json_class,omitempty"` + Files []*CookbookItem `protobuf:"bytes,7,rep,name=files,proto3" json:"files,omitempty"` + Templates []*CookbookItem `protobuf:"bytes,8,rep,name=templates,proto3" json:"templates,omitempty"` + Attributes []*CookbookItem `protobuf:"bytes,9,rep,name=attributes,proto3" json:"attributes,omitempty"` + Recipes []*CookbookItem `protobuf:"bytes,10,rep,name=recipes,proto3" json:"recipes,omitempty"` + Definitions []*CookbookItem `protobuf:"bytes,11,rep,name=definitions,proto3" json:"definitions,omitempty"` + Libraries []*CookbookItem `protobuf:"bytes,12,rep,name=libraries,proto3" json:"libraries,omitempty"` + Providers []*CookbookItem `protobuf:"bytes,13,rep,name=providers,proto3" json:"providers,omitempty"` + Resources []*CookbookItem `protobuf:"bytes,14,rep,name=resources,proto3" json:"resources,omitempty"` + RootFiles []*CookbookItem `protobuf:"bytes,15,rep,name=root_files,json=rootFiles,proto3" json:"root_files,omitempty"` + Metadata *CookbookMeta `protobuf:"bytes,16,opt,name=metadata,proto3" json:"metadata,omitempty"` + Access *CookbookAccess `protobuf:"bytes,17,opt,name=access,proto3" json:"access,omitempty"` unknownFields protoimpl.UnknownFields - - CookbookName string `protobuf:"bytes,1,opt,name=cookbook_name,json=cookbookName,proto3" json:"cookbook_name,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - ChefType string `protobuf:"bytes,4,opt,name=chef_type,json=chefType,proto3" json:"chef_type,omitempty"` - Frozen bool `protobuf:"varint,5,opt,name=frozen,proto3" json:"frozen,omitempty"` - JsonClass string `protobuf:"bytes,6,opt,name=json_class,json=jsonClass,proto3" json:"json_class,omitempty"` - Files []*CookbookItem `protobuf:"bytes,7,rep,name=files,proto3" json:"files,omitempty"` - Templates []*CookbookItem `protobuf:"bytes,8,rep,name=templates,proto3" json:"templates,omitempty"` - Attributes []*CookbookItem `protobuf:"bytes,9,rep,name=attributes,proto3" json:"attributes,omitempty"` - Recipes []*CookbookItem `protobuf:"bytes,10,rep,name=recipes,proto3" json:"recipes,omitempty"` - Definitions []*CookbookItem `protobuf:"bytes,11,rep,name=definitions,proto3" json:"definitions,omitempty"` - Libraries []*CookbookItem `protobuf:"bytes,12,rep,name=libraries,proto3" json:"libraries,omitempty"` - Providers []*CookbookItem `protobuf:"bytes,13,rep,name=providers,proto3" json:"providers,omitempty"` - Resources []*CookbookItem `protobuf:"bytes,14,rep,name=resources,proto3" json:"resources,omitempty"` - RootFiles []*CookbookItem `protobuf:"bytes,15,rep,name=root_files,json=rootFiles,proto3" json:"root_files,omitempty"` - Metadata *CookbookMeta `protobuf:"bytes,16,opt,name=metadata,proto3" json:"metadata,omitempty"` - Access *CookbookAccess `protobuf:"bytes,17,opt,name=access,proto3" json:"access,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Cookbook) Reset() { *x = Cookbook{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Cookbook) String() string { @@ -271,7 +256,7 @@ func (*Cookbook) ProtoMessage() {} func (x *Cookbook) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -406,24 +391,21 @@ func (x *Cookbook) GetAccess() *CookbookAccess { } type CookbookItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Checksum string `protobuf:"bytes,4,opt,name=checksum,proto3" json:"checksum,omitempty"` + Specificity string `protobuf:"bytes,5,opt,name=specificity,proto3" json:"specificity,omitempty"` unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Checksum string `protobuf:"bytes,4,opt,name=checksum,proto3" json:"checksum,omitempty"` - Specificity string `protobuf:"bytes,5,opt,name=specificity,proto3" json:"specificity,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CookbookItem) Reset() { *x = CookbookItem{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookItem) String() string { @@ -434,7 +416,7 @@ func (*CookbookItem) ProtoMessage() {} func (x *CookbookItem) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -485,26 +467,23 @@ func (x *CookbookItem) GetSpecificity() string { } type CookbookMeta struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - LongDescription string `protobuf:"bytes,4,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"` - Maintainer string `protobuf:"bytes,5,opt,name=maintainer,proto3" json:"maintainer,omitempty"` - MaintainerEmail string `protobuf:"bytes,6,opt,name=maintainer_email,json=maintainerEmail,proto3" json:"maintainer_email,omitempty"` - License string `protobuf:"bytes,7,opt,name=license,proto3" json:"license,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + LongDescription string `protobuf:"bytes,4,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"` + Maintainer string `protobuf:"bytes,5,opt,name=maintainer,proto3" json:"maintainer,omitempty"` + MaintainerEmail string `protobuf:"bytes,6,opt,name=maintainer_email,json=maintainerEmail,proto3" json:"maintainer_email,omitempty"` + License string `protobuf:"bytes,7,opt,name=license,proto3" json:"license,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CookbookMeta) Reset() { *x = CookbookMeta{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookMeta) String() string { @@ -515,7 +494,7 @@ func (*CookbookMeta) ProtoMessage() {} func (x *CookbookMeta) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -580,24 +559,21 @@ func (x *CookbookMeta) GetLicense() string { } type CookbookAccess struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"` + Create bool `protobuf:"varint,2,opt,name=create,proto3" json:"create,omitempty"` + Grant bool `protobuf:"varint,3,opt,name=grant,proto3" json:"grant,omitempty"` + Update bool `protobuf:"varint,4,opt,name=update,proto3" json:"update,omitempty"` + Delete bool `protobuf:"varint,5,opt,name=delete,proto3" json:"delete,omitempty"` unknownFields protoimpl.UnknownFields - - Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"` - Create bool `protobuf:"varint,2,opt,name=create,proto3" json:"create,omitempty"` - Grant bool `protobuf:"varint,3,opt,name=grant,proto3" json:"grant,omitempty"` - Update bool `protobuf:"varint,4,opt,name=update,proto3" json:"update,omitempty"` - Delete bool `protobuf:"varint,5,opt,name=delete,proto3" json:"delete,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CookbookAccess) Reset() { *x = CookbookAccess{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookAccess) String() string { @@ -608,7 +584,7 @@ func (*CookbookAccess) ProtoMessage() {} func (x *CookbookAccess) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_cookbooks_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -804,7 +780,7 @@ func file_external_infra_proxy_response_cookbooks_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_response_cookbooks_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_external_infra_proxy_response_cookbooks_proto_goTypes = []interface{}{ +var file_external_infra_proxy_response_cookbooks_proto_goTypes = []any{ (*Cookbooks)(nil), // 0: chef.automate.api.infra_proxy.response.Cookbooks (*CookbookVersions)(nil), // 1: chef.automate.api.infra_proxy.response.CookbookVersions (*CookbookFileContent)(nil), // 2: chef.automate.api.infra_proxy.response.CookbookFileContent @@ -839,104 +815,6 @@ func file_external_infra_proxy_response_cookbooks_proto_init() { if File_external_infra_proxy_response_cookbooks_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_response_cookbooks_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Cookbooks); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_cookbooks_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookVersions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_cookbooks_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookFileContent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_cookbooks_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookVersion); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_cookbooks_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Cookbook); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_cookbooks_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_cookbooks_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookMeta); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_cookbooks_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookAccess); 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{ diff --git a/api/external/infra_proxy/response/databags.pb.go b/api/external/infra_proxy/response/databags.pb.go index 0f2343aaa35..5fc81be4b62 100644 --- a/api/external/infra_proxy/response/databags.pb.go +++ b/api/external/infra_proxy/response/databags.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/response/databags.proto @@ -21,21 +21,18 @@ const ( ) type DataBags struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Data bags item list. - DataBags []*DataBagListItem `protobuf:"bytes,1,rep,name=data_bags,json=dataBags,proto3" json:"data_bags,omitempty"` + DataBags []*DataBagListItem `protobuf:"bytes,1,rep,name=data_bags,json=dataBags,proto3" json:"data_bags,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBags) Reset() { *x = DataBags{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_databags_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_databags_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBags) String() string { @@ -46,7 +43,7 @@ func (*DataBags) ProtoMessage() {} func (x *DataBags) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_databags_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,10 +66,7 @@ func (x *DataBags) GetDataBags() []*DataBagListItem { } type DataBagItems struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Data bag name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Data bags item list. @@ -80,16 +74,16 @@ type DataBagItems struct { // Starting page for the results. Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` // Total number of records. - Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"` + Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBagItems) Reset() { *x = DataBagItems{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_databags_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_databags_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBagItems) String() string { @@ -100,7 +94,7 @@ func (*DataBagItems) ProtoMessage() {} func (x *DataBagItems) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_databags_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -144,21 +138,18 @@ func (x *DataBagItems) GetTotal() int32 { } type DataBagListItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Data bag item name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBagListItem) Reset() { *x = DataBagListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_databags_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_databags_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBagListItem) String() string { @@ -169,7 +160,7 @@ func (*DataBagListItem) ProtoMessage() {} func (x *DataBagListItem) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_databags_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -192,25 +183,22 @@ func (x *DataBagListItem) GetName() string { } type DataBagItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Data bag name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Data bag item ID. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Stringified json of data bag item. - Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBagItem) Reset() { *x = DataBagItem{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_databags_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_databags_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBagItem) String() string { @@ -221,7 +209,7 @@ func (*DataBagItem) ProtoMessage() {} func (x *DataBagItem) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_databags_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -258,21 +246,18 @@ func (x *DataBagItem) GetData() string { } type DataBag struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Data bag name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBag) Reset() { *x = DataBag{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_databags_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_databags_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBag) String() string { @@ -283,7 +268,7 @@ func (*DataBag) ProtoMessage() {} func (x *DataBag) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_databags_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -306,21 +291,18 @@ func (x *DataBag) GetName() string { } type CreateDataBag struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Data bag name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateDataBag) Reset() { *x = CreateDataBag{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_databags_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_databags_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDataBag) String() string { @@ -331,7 +313,7 @@ func (*CreateDataBag) ProtoMessage() {} func (x *CreateDataBag) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_databags_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -354,23 +336,20 @@ func (x *CreateDataBag) GetName() string { } type CreateDataBagItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Data bag name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Data bag item ID. - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateDataBagItem) Reset() { *x = CreateDataBagItem{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_databags_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_databags_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDataBagItem) String() string { @@ -381,7 +360,7 @@ func (*CreateDataBagItem) ProtoMessage() {} func (x *CreateDataBagItem) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_databags_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -411,23 +390,20 @@ func (x *CreateDataBagItem) GetId() string { } type UpdateDataBagItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Data bag name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Data bag item ID. - ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` + ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateDataBagItem) Reset() { *x = UpdateDataBagItem{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_databags_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_databags_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateDataBagItem) String() string { @@ -438,7 +414,7 @@ func (*UpdateDataBagItem) ProtoMessage() {} func (x *UpdateDataBagItem) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_databags_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -530,7 +506,7 @@ func file_external_infra_proxy_response_databags_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_response_databags_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_external_infra_proxy_response_databags_proto_goTypes = []interface{}{ +var file_external_infra_proxy_response_databags_proto_goTypes = []any{ (*DataBags)(nil), // 0: chef.automate.api.infra_proxy.response.DataBags (*DataBagItems)(nil), // 1: chef.automate.api.infra_proxy.response.DataBagItems (*DataBagListItem)(nil), // 2: chef.automate.api.infra_proxy.response.DataBagListItem @@ -555,104 +531,6 @@ func file_external_infra_proxy_response_databags_proto_init() { if File_external_infra_proxy_response_databags_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_response_databags_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBags); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_databags_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBagItems); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_databags_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBagListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_databags_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBagItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_databags_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBag); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_databags_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDataBag); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_databags_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDataBagItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_databags_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateDataBagItem); 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{ diff --git a/api/external/infra_proxy/response/environments.pb.go b/api/external/infra_proxy/response/environments.pb.go index 1100d7aac2d..12e1cf395c1 100644 --- a/api/external/infra_proxy/response/environments.pb.go +++ b/api/external/infra_proxy/response/environments.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/response/environments.proto @@ -21,25 +21,22 @@ const ( ) type Environments struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Environments list. Environments []*EnvironmentListItem `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"` // Starting page for the results. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // Total number of records. - Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` + Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Environments) Reset() { *x = Environments{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_environments_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_environments_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Environments) String() string { @@ -50,7 +47,7 @@ func (*Environments) ProtoMessage() {} func (x *Environments) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_environments_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,23 +84,20 @@ func (x *Environments) GetTotal() int32 { } type EnvironmentListItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Environment name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Environment description. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EnvironmentListItem) Reset() { *x = EnvironmentListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_environments_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_environments_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnvironmentListItem) String() string { @@ -114,7 +108,7 @@ func (*EnvironmentListItem) ProtoMessage() {} func (x *EnvironmentListItem) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_environments_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -144,10 +138,7 @@ func (x *EnvironmentListItem) GetDescription() string { } type Environment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Environment name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Chef object type. @@ -157,20 +148,20 @@ type Environment struct { // Environment JSON class. JsonClass string `protobuf:"bytes,4,opt,name=json_class,json=jsonClass,proto3" json:"json_class,omitempty"` // Environment versined cookbooks constraints. - CookbookVersions map[string]string `protobuf:"bytes,5,rep,name=cookbook_versions,json=cookbookVersions,proto3" json:"cookbook_versions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CookbookVersions map[string]string `protobuf:"bytes,5,rep,name=cookbook_versions,json=cookbookVersions,proto3" json:"cookbook_versions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Environment default attributes JSON. DefaultAttributes string `protobuf:"bytes,6,opt,name=default_attributes,json=defaultAttributes,proto3" json:"default_attributes,omitempty"` // Environment override attributes JSON. OverrideAttributes string `protobuf:"bytes,7,opt,name=override_attributes,json=overrideAttributes,proto3" json:"override_attributes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Environment) Reset() { *x = Environment{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_environments_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_environments_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Environment) String() string { @@ -181,7 +172,7 @@ func (*Environment) ProtoMessage() {} func (x *Environment) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_environments_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -246,21 +237,18 @@ func (x *Environment) GetOverrideAttributes() string { } type EnvironmentRecipesList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Environment recipes list. - Recipes []string `protobuf:"bytes,1,rep,name=recipes,proto3" json:"recipes,omitempty"` + Recipes []string `protobuf:"bytes,1,rep,name=recipes,proto3" json:"recipes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EnvironmentRecipesList) Reset() { *x = EnvironmentRecipesList{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_environments_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_environments_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnvironmentRecipesList) String() string { @@ -271,7 +259,7 @@ func (*EnvironmentRecipesList) ProtoMessage() {} func (x *EnvironmentRecipesList) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_environments_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -365,7 +353,7 @@ func file_external_infra_proxy_response_environments_proto_rawDescGZIP() []byte } var file_external_infra_proxy_response_environments_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_external_infra_proxy_response_environments_proto_goTypes = []interface{}{ +var file_external_infra_proxy_response_environments_proto_goTypes = []any{ (*Environments)(nil), // 0: chef.automate.api.infra_proxy.response.Environments (*EnvironmentListItem)(nil), // 1: chef.automate.api.infra_proxy.response.EnvironmentListItem (*Environment)(nil), // 2: chef.automate.api.infra_proxy.response.Environment @@ -387,56 +375,6 @@ func file_external_infra_proxy_response_environments_proto_init() { if File_external_infra_proxy_response_environments_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_response_environments_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Environments); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_environments_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnvironmentListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_environments_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Environment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_environments_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnvironmentRecipesList); 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{ diff --git a/api/external/infra_proxy/response/nodes.pb.go b/api/external/infra_proxy/response/nodes.pb.go index 9297d3d9798..b4a42eab631 100644 --- a/api/external/infra_proxy/response/nodes.pb.go +++ b/api/external/infra_proxy/response/nodes.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/response/nodes.proto @@ -21,25 +21,22 @@ const ( ) type Nodes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node list. Nodes []*NodeAttribute `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // Starting page for the results. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // Total number of records. - Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` + Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Nodes) Reset() { *x = Nodes{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Nodes) String() string { @@ -50,7 +47,7 @@ func (*Nodes) ProtoMessage() {} func (x *Nodes) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,10 +84,7 @@ func (x *Nodes) GetTotal() int32 { } type NodeAttribute struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Node name. @@ -108,16 +102,16 @@ type NodeAttribute struct { // Node FQDN. Fqdn string `protobuf:"bytes,8,opt,name=fqdn,proto3" json:"fqdn,omitempty"` // Node IP address. - IpAddress string `protobuf:"bytes,9,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` + IpAddress string `protobuf:"bytes,9,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeAttribute) Reset() { *x = NodeAttribute{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeAttribute) String() string { @@ -128,7 +122,7 @@ func (*NodeAttribute) ProtoMessage() {} func (x *NodeAttribute) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -207,21 +201,18 @@ func (x *NodeAttribute) GetIpAddress() string { } type DeleteNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteNode) Reset() { *x = DeleteNode{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteNode) String() string { @@ -232,7 +223,7 @@ func (*DeleteNode) ProtoMessage() {} func (x *DeleteNode) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -255,10 +246,7 @@ func (x *DeleteNode) GetName() string { } type Node struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node ID. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Node name. @@ -281,15 +269,15 @@ type Node struct { NormalAttributes string `protobuf:"bytes,10,opt,name=normal_attributes,json=normalAttributes,proto3" json:"normal_attributes,omitempty"` // Node override attributes JSON. OverrideAttributes string `protobuf:"bytes,11,opt,name=override_attributes,json=overrideAttributes,proto3" json:"override_attributes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Node) Reset() { *x = Node{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Node) String() string { @@ -300,7 +288,7 @@ func (*Node) ProtoMessage() {} func (x *Node) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -393,21 +381,18 @@ func (x *Node) GetOverrideAttributes() string { } type UpdateNodeTags struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node tags. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateNodeTags) Reset() { *x = UpdateNodeTags{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateNodeTags) String() string { @@ -418,7 +403,7 @@ func (*UpdateNodeTags) ProtoMessage() {} func (x *UpdateNodeTags) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -441,23 +426,20 @@ func (x *UpdateNodeTags) GetTags() []string { } type UpdateNodeEnvironment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Node environment name. - Environment string `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"` + Environment string `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateNodeEnvironment) Reset() { *x = UpdateNodeEnvironment{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateNodeEnvironment) String() string { @@ -468,7 +450,7 @@ func (*UpdateNodeEnvironment) ProtoMessage() {} func (x *UpdateNodeEnvironment) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -498,23 +480,20 @@ func (x *UpdateNodeEnvironment) GetEnvironment() string { } type UpdateNodeAttributes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Node attributes JSON. - Attributes string `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty"` + Attributes string `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateNodeAttributes) Reset() { *x = UpdateNodeAttributes{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateNodeAttributes) String() string { @@ -525,7 +504,7 @@ func (*UpdateNodeAttributes) ProtoMessage() {} func (x *UpdateNodeAttributes) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -555,23 +534,20 @@ func (x *UpdateNodeAttributes) GetAttributes() string { } type NodeExpandedRunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the run list collection. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // List of the run list. - RunList []*RunList `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty"` + RunList []*RunList `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeExpandedRunList) Reset() { *x = NodeExpandedRunList{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeExpandedRunList) String() string { @@ -582,7 +558,7 @@ func (*NodeExpandedRunList) ProtoMessage() {} func (x *NodeExpandedRunList) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_nodes_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -712,7 +688,7 @@ func file_external_infra_proxy_response_nodes_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_response_nodes_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_external_infra_proxy_response_nodes_proto_goTypes = []interface{}{ +var file_external_infra_proxy_response_nodes_proto_goTypes = []any{ (*Nodes)(nil), // 0: chef.automate.api.infra_proxy.response.Nodes (*NodeAttribute)(nil), // 1: chef.automate.api.infra_proxy.response.NodeAttribute (*DeleteNode)(nil), // 2: chef.automate.api.infra_proxy.response.DeleteNode @@ -739,104 +715,6 @@ func file_external_infra_proxy_response_nodes_proto_init() { return } file_external_infra_proxy_response_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_response_nodes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Nodes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_nodes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeAttribute); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_nodes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteNode); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_nodes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Node); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_nodes_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateNodeTags); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_nodes_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateNodeEnvironment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_nodes_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateNodeAttributes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_nodes_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeExpandedRunList); 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{ diff --git a/api/external/infra_proxy/response/orgs.pb.go b/api/external/infra_proxy/response/orgs.pb.go index 3b31a084293..ddd20b0f203 100644 --- a/api/external/infra_proxy/response/orgs.pb.go +++ b/api/external/infra_proxy/response/orgs.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/response/orgs.proto @@ -21,21 +21,18 @@ const ( ) type CreateOrg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization. - Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"` + Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateOrg) Reset() { *x = CreateOrg{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateOrg) String() string { @@ -46,7 +43,7 @@ func (*CreateOrg) ProtoMessage() {} func (x *CreateOrg) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,21 +66,18 @@ func (x *CreateOrg) GetOrg() *Org { } type DeleteOrg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization. - Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"` + Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteOrg) Reset() { *x = DeleteOrg{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteOrg) String() string { @@ -94,7 +88,7 @@ func (*DeleteOrg) ProtoMessage() {} func (x *DeleteOrg) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -117,21 +111,18 @@ func (x *DeleteOrg) GetOrg() *Org { } type UpdateOrg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization. - Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"` + Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateOrg) Reset() { *x = UpdateOrg{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateOrg) String() string { @@ -142,7 +133,7 @@ func (*UpdateOrg) ProtoMessage() {} func (x *UpdateOrg) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -165,21 +156,18 @@ func (x *UpdateOrg) GetOrg() *Org { } type GetOrgs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization list. - Orgs []*Org `protobuf:"bytes,1,rep,name=orgs,proto3" json:"orgs,omitempty"` + Orgs []*Org `protobuf:"bytes,1,rep,name=orgs,proto3" json:"orgs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrgs) Reset() { *x = GetOrgs{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrgs) String() string { @@ -190,7 +178,7 @@ func (*GetOrgs) ProtoMessage() {} func (x *GetOrgs) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -213,21 +201,18 @@ func (x *GetOrgs) GetOrgs() []*Org { } type GetOrg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization. - Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"` + Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrg) Reset() { *x = GetOrg{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrg) String() string { @@ -238,7 +223,7 @@ func (*GetOrg) ProtoMessage() {} func (x *GetOrg) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -261,10 +246,7 @@ func (x *GetOrg) GetOrg() *Org { } type Org struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Chef organization name. @@ -276,16 +258,16 @@ type Org struct { // Chef Infra Server ID. ServerId string `protobuf:"bytes,5,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // List of projects this chef organization belongs to. May be empty. - Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty"` + Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Org) Reset() { *x = Org{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Org) String() string { @@ -296,7 +278,7 @@ func (*Org) ProtoMessage() {} func (x *Org) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -354,21 +336,18 @@ func (x *Org) GetProjects() []string { } type ResetOrgAdminKey struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization. - Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"` + Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ResetOrgAdminKey) Reset() { *x = ResetOrgAdminKey{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetOrgAdminKey) String() string { @@ -379,7 +358,7 @@ func (*ResetOrgAdminKey) ProtoMessage() {} func (x *ResetOrgAdminKey) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_orgs_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -468,7 +447,7 @@ func file_external_infra_proxy_response_orgs_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_response_orgs_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_external_infra_proxy_response_orgs_proto_goTypes = []interface{}{ +var file_external_infra_proxy_response_orgs_proto_goTypes = []any{ (*CreateOrg)(nil), // 0: chef.automate.api.infra_proxy.response.CreateOrg (*DeleteOrg)(nil), // 1: chef.automate.api.infra_proxy.response.DeleteOrg (*UpdateOrg)(nil), // 2: chef.automate.api.infra_proxy.response.UpdateOrg @@ -496,92 +475,6 @@ func file_external_infra_proxy_response_orgs_proto_init() { if File_external_infra_proxy_response_orgs_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_response_orgs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateOrg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_orgs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteOrg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_orgs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateOrg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_orgs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrgs); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_orgs_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_orgs_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Org); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_orgs_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetOrgAdminKey); 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{ diff --git a/api/external/infra_proxy/response/policyfiles.pb.go b/api/external/infra_proxy/response/policyfiles.pb.go index 015e1bb4b86..5b04c2ced9f 100644 --- a/api/external/infra_proxy/response/policyfiles.pb.go +++ b/api/external/infra_proxy/response/policyfiles.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/response/policyfiles.proto @@ -21,21 +21,18 @@ const ( ) type Policyfiles struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Policyfiles list. - Policies []*PolicyfileListItem `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` + Policies []*PolicyfileListItem `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Policyfiles) Reset() { *x = Policyfiles{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Policyfiles) String() string { @@ -46,7 +43,7 @@ func (*Policyfiles) ProtoMessage() {} func (x *Policyfiles) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,25 +66,22 @@ func (x *Policyfiles) GetPolicies() []*PolicyfileListItem { } type PolicyfileListItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Policyfile name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Policyfile Revision ID. RevisionId string `protobuf:"bytes,3,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` // Policyfile policy group. - PolicyGroup string `protobuf:"bytes,2,opt,name=policy_group,json=policyGroup,proto3" json:"policy_group,omitempty"` + PolicyGroup string `protobuf:"bytes,2,opt,name=policy_group,json=policyGroup,proto3" json:"policy_group,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PolicyfileListItem) Reset() { *x = PolicyfileListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicyfileListItem) String() string { @@ -98,7 +92,7 @@ func (*PolicyfileListItem) ProtoMessage() {} func (x *PolicyfileListItem) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -135,10 +129,7 @@ func (x *PolicyfileListItem) GetPolicyGroup() string { } type Policyfile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Policyfile name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Policy group name. @@ -161,15 +152,15 @@ type Policyfile struct { ExpandedRunList []*ExpandedRunList `protobuf:"bytes,10,rep,name=expanded_run_list,json=expandedRunList,proto3" json:"expanded_run_list,omitempty"` // Solution Dependencies versions. SolutionDependecies []*SolutionDependencies `protobuf:"bytes,11,rep,name=solution_dependecies,json=solutionDependecies,proto3" json:"solution_dependecies,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Policyfile) Reset() { *x = Policyfile{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Policyfile) String() string { @@ -180,7 +171,7 @@ func (*Policyfile) ProtoMessage() {} func (x *Policyfile) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -273,25 +264,22 @@ func (x *Policyfile) GetSolutionDependecies() []*SolutionDependencies { } type SolutionDependencies struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // cookbook name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // cookbook version. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // cookbook dependencies - Dependencies []*DepedenciesData `protobuf:"bytes,3,rep,name=dependencies,proto3" json:"dependencies,omitempty"` + Dependencies []*DepedenciesData `protobuf:"bytes,3,rep,name=dependencies,proto3" json:"dependencies,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SolutionDependencies) Reset() { *x = SolutionDependencies{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SolutionDependencies) String() string { @@ -302,7 +290,7 @@ func (*SolutionDependencies) ProtoMessage() {} func (x *SolutionDependencies) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -339,23 +327,20 @@ func (x *SolutionDependencies) GetDependencies() []*DepedenciesData { } type DepedenciesData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // cookbook name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // cookbook version. - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DepedenciesData) Reset() { *x = DepedenciesData{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DepedenciesData) String() string { @@ -366,7 +351,7 @@ func (*DepedenciesData) ProtoMessage() {} func (x *DepedenciesData) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -396,25 +381,22 @@ func (x *DepedenciesData) GetVersion() string { } type IncludedPolicyLock struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Included Policyfile name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Policyfile revision ID. RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` // Included policyfile source options. SourceOptions *SourceOptions `protobuf:"bytes,3,opt,name=source_options,json=sourceOptions,proto3" json:"source_options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IncludedPolicyLock) Reset() { *x = IncludedPolicyLock{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IncludedPolicyLock) String() string { @@ -425,7 +407,7 @@ func (*IncludedPolicyLock) ProtoMessage() {} func (x *IncludedPolicyLock) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -462,10 +444,7 @@ func (x *IncludedPolicyLock) GetSourceOptions() *SourceOptions { } type CookbookLock struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Cookbook name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Cookbook version. @@ -482,15 +461,15 @@ type CookbookLock struct { SCMDetail *SCMDetail `protobuf:"bytes,7,opt,name=SCMDetail,proto3" json:"SCMDetail,omitempty"` // Cookbook source path. SourceOptions *SourceOptions `protobuf:"bytes,8,opt,name=source_options,json=sourceOptions,proto3" json:"source_options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CookbookLock) Reset() { *x = CookbookLock{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookLock) String() string { @@ -501,7 +480,7 @@ func (*CookbookLock) ProtoMessage() {} func (x *CookbookLock) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -573,10 +552,7 @@ func (x *CookbookLock) GetSourceOptions() *SourceOptions { } type SCMDetail struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // SCM name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // SCM remote location. @@ -589,15 +565,15 @@ type SCMDetail struct { Published bool `protobuf:"varint,5,opt,name=published,proto3" json:"published,omitempty"` // Synchronized remote branches list. SynchronizedRemoteBranches []string `protobuf:"bytes,6,rep,name=synchronized_remote_branches,json=synchronizedRemoteBranches,proto3" json:"synchronized_remote_branches,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SCMDetail) Reset() { *x = SCMDetail{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SCMDetail) String() string { @@ -608,7 +584,7 @@ func (*SCMDetail) ProtoMessage() {} func (x *SCMDetail) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -666,21 +642,18 @@ func (x *SCMDetail) GetSynchronizedRemoteBranches() []string { } type SourceOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Source options path. - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SourceOptions) Reset() { *x = SourceOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SourceOptions) String() string { @@ -691,7 +664,7 @@ func (*SourceOptions) ProtoMessage() {} func (x *SourceOptions) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -714,23 +687,20 @@ func (x *SourceOptions) GetPath() string { } type NamedRunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Run list name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Run list associated with the policy. - RunList []string `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty"` + RunList []string `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NamedRunList) Reset() { *x = NamedRunList{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NamedRunList) String() string { @@ -741,7 +711,7 @@ func (*NamedRunList) ProtoMessage() {} func (x *NamedRunList) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -771,21 +741,18 @@ func (x *NamedRunList) GetRunList() []string { } type DeletePolicyfile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Policyfile name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeletePolicyfile) Reset() { *x = DeletePolicyfile{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeletePolicyfile) String() string { @@ -796,7 +763,7 @@ func (*DeletePolicyfile) ProtoMessage() {} func (x *DeletePolicyfile) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -819,21 +786,18 @@ func (x *DeletePolicyfile) GetName() string { } type PolicyfileRevisions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Policyfile revisions. - Revisions []*PolicyfileRevision `protobuf:"bytes,1,rep,name=revisions,proto3" json:"revisions,omitempty"` + Revisions []*PolicyfileRevision `protobuf:"bytes,1,rep,name=revisions,proto3" json:"revisions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PolicyfileRevisions) Reset() { *x = PolicyfileRevisions{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicyfileRevisions) String() string { @@ -844,7 +808,7 @@ func (*PolicyfileRevisions) ProtoMessage() {} func (x *PolicyfileRevisions) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -867,21 +831,18 @@ func (x *PolicyfileRevisions) GetRevisions() []*PolicyfileRevision { } type PolicyfileRevision struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // policyfile revision - RevisionId string `protobuf:"bytes,1,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` + RevisionId string `protobuf:"bytes,1,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PolicyfileRevision) Reset() { *x = PolicyfileRevision{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicyfileRevision) String() string { @@ -892,7 +853,7 @@ func (*PolicyfileRevision) ProtoMessage() {} func (x *PolicyfileRevision) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -915,25 +876,22 @@ func (x *PolicyfileRevision) GetRevisionId() string { } type Policygroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Policygroup name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Policygroup policyfiles. Policies []*GroupPolicy `protobuf:"bytes,2,rep,name=policies,proto3" json:"policies,omitempty"` // policygroup uri. - Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` + Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Policygroup) Reset() { *x = Policygroup{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Policygroup) String() string { @@ -944,7 +902,7 @@ func (*Policygroup) ProtoMessage() {} func (x *Policygroup) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -981,23 +939,20 @@ func (x *Policygroup) GetUri() string { } type GroupPolicy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Policyfile name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Policyfile Revision ID. - RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` + RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GroupPolicy) Reset() { *x = GroupPolicy{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GroupPolicy) String() string { @@ -1008,7 +963,7 @@ func (*GroupPolicy) ProtoMessage() {} func (x *GroupPolicy) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_policyfiles_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1222,7 +1177,7 @@ func file_external_infra_proxy_response_policyfiles_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_response_policyfiles_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_external_infra_proxy_response_policyfiles_proto_goTypes = []interface{}{ +var file_external_infra_proxy_response_policyfiles_proto_goTypes = []any{ (*Policyfiles)(nil), // 0: chef.automate.api.infra_proxy.response.Policyfiles (*PolicyfileListItem)(nil), // 1: chef.automate.api.infra_proxy.response.PolicyfileListItem (*Policyfile)(nil), // 2: chef.automate.api.infra_proxy.response.Policyfile @@ -1266,188 +1221,6 @@ func file_external_infra_proxy_response_policyfiles_proto_init() { return } file_external_infra_proxy_response_roles_proto_init() - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_response_policyfiles_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Policyfiles); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_policyfiles_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PolicyfileListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_policyfiles_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Policyfile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_policyfiles_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SolutionDependencies); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_policyfiles_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DepedenciesData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_policyfiles_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IncludedPolicyLock); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_policyfiles_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookLock); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_policyfiles_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SCMDetail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_policyfiles_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SourceOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_policyfiles_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NamedRunList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_policyfiles_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeletePolicyfile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_policyfiles_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PolicyfileRevisions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_policyfiles_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PolicyfileRevision); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_policyfiles_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Policygroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_policyfiles_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GroupPolicy); 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{ diff --git a/api/external/infra_proxy/response/roles.pb.go b/api/external/infra_proxy/response/roles.pb.go index 4e1e2914d12..36149839e9d 100644 --- a/api/external/infra_proxy/response/roles.pb.go +++ b/api/external/infra_proxy/response/roles.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/response/roles.proto @@ -21,25 +21,22 @@ const ( ) type Roles struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of the roles item. Roles []*RoleListItem `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` // Starting page for the results. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // Total number of records. - Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` + Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Roles) Reset() { *x = Roles{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_roles_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_roles_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Roles) String() string { @@ -50,7 +47,7 @@ func (*Roles) ProtoMessage() {} func (x *Roles) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_roles_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,25 +84,22 @@ func (x *Roles) GetTotal() int32 { } type RoleListItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name of the role. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Desscription of the role. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Environment for the role. - Environments []string `protobuf:"bytes,3,rep,name=environments,proto3" json:"environments,omitempty"` + Environments []string `protobuf:"bytes,3,rep,name=environments,proto3" json:"environments,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RoleListItem) Reset() { *x = RoleListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_roles_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_roles_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoleListItem) String() string { @@ -116,7 +110,7 @@ func (*RoleListItem) ProtoMessage() {} func (x *RoleListItem) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_roles_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -153,10 +147,7 @@ func (x *RoleListItem) GetEnvironments() []string { } type Role struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name of the role. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Type of the chef object. @@ -170,16 +161,16 @@ type Role struct { // Json class name. JsonClass string `protobuf:"bytes,6,opt,name=json_class,json=jsonClass,proto3" json:"json_class,omitempty"` // Run list for the role. - RunList []string `protobuf:"bytes,7,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty"` + RunList []string `protobuf:"bytes,7,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Role) Reset() { *x = Role{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_roles_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_roles_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Role) String() string { @@ -190,7 +181,7 @@ func (*Role) ProtoMessage() {} func (x *Role) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_roles_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -255,23 +246,20 @@ func (x *Role) GetRunList() []string { } type ExpandedRunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the run list collection. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // List of the run list. - RunList []*RunList `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty"` + RunList []*RunList `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ExpandedRunList) Reset() { *x = ExpandedRunList{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_roles_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_roles_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExpandedRunList) String() string { @@ -282,7 +270,7 @@ func (*ExpandedRunList) ProtoMessage() {} func (x *ExpandedRunList) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_roles_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -312,21 +300,18 @@ func (x *ExpandedRunList) GetRunList() []*RunList { } type RoleEnvironments struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Role environment list. - Environments []string `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"` + Environments []string `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RoleEnvironments) Reset() { *x = RoleEnvironments{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_roles_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_roles_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoleEnvironments) String() string { @@ -337,7 +322,7 @@ func (*RoleEnvironments) ProtoMessage() {} func (x *RoleEnvironments) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_roles_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -430,7 +415,7 @@ func file_external_infra_proxy_response_roles_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_response_roles_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_external_infra_proxy_response_roles_proto_goTypes = []interface{}{ +var file_external_infra_proxy_response_roles_proto_goTypes = []any{ (*Roles)(nil), // 0: chef.automate.api.infra_proxy.response.Roles (*RoleListItem)(nil), // 1: chef.automate.api.infra_proxy.response.RoleListItem (*Role)(nil), // 2: chef.automate.api.infra_proxy.response.Role @@ -454,68 +439,6 @@ func file_external_infra_proxy_response_roles_proto_init() { return } file_external_infra_proxy_response_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_response_roles_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Roles); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_roles_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoleListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_roles_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Role); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_roles_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExpandedRunList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_roles_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoleEnvironments); 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{ diff --git a/api/external/infra_proxy/response/servers.pb.go b/api/external/infra_proxy/response/servers.pb.go index 02d31f508c3..bac005964e6 100644 --- a/api/external/infra_proxy/response/servers.pb.go +++ b/api/external/infra_proxy/response/servers.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/response/servers.proto @@ -21,21 +21,18 @@ const ( ) type CreateServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server. - Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` + Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateServer) Reset() { *x = CreateServer{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_servers_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_servers_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateServer) String() string { @@ -46,7 +43,7 @@ func (*CreateServer) ProtoMessage() {} func (x *CreateServer) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_servers_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,21 +66,18 @@ func (x *CreateServer) GetServer() *Server { } type DeleteServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server. - Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` + Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteServer) Reset() { *x = DeleteServer{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_servers_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_servers_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteServer) String() string { @@ -94,7 +88,7 @@ func (*DeleteServer) ProtoMessage() {} func (x *DeleteServer) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_servers_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -117,21 +111,18 @@ func (x *DeleteServer) GetServer() *Server { } type UpdateServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server. - Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` + Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateServer) Reset() { *x = UpdateServer{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_servers_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_servers_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateServer) String() string { @@ -142,7 +133,7 @@ func (*UpdateServer) ProtoMessage() {} func (x *UpdateServer) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_servers_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -165,21 +156,18 @@ func (x *UpdateServer) GetServer() *Server { } type GetServers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of Chef Infra Servers. - Servers []*Server `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"` + Servers []*Server `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetServers) Reset() { *x = GetServers{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_servers_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_servers_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetServers) String() string { @@ -190,7 +178,7 @@ func (*GetServers) ProtoMessage() {} func (x *GetServers) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_servers_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -213,21 +201,18 @@ func (x *GetServers) GetServers() []*Server { } type GetServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server. - Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` + Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetServer) Reset() { *x = GetServer{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_servers_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_servers_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetServer) String() string { @@ -238,7 +223,7 @@ func (*GetServer) ProtoMessage() {} func (x *GetServer) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_servers_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -261,10 +246,7 @@ func (x *GetServer) GetServer() *Server { } type Server struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Chef Infra Server name. @@ -274,16 +256,16 @@ type Server struct { // Chef Infra Server IP address. IpAddress string `protobuf:"bytes,5,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // Chef organizations count associated with Chef Infra Server. - OrgsCount int32 `protobuf:"varint,6,opt,name=orgs_count,json=orgsCount,proto3" json:"orgs_count,omitempty"` + OrgsCount int32 `protobuf:"varint,6,opt,name=orgs_count,json=orgsCount,proto3" json:"orgs_count,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Server) Reset() { *x = Server{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_servers_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_servers_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Server) String() string { @@ -294,7 +276,7 @@ func (*Server) ProtoMessage() {} func (x *Server) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_servers_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -345,25 +327,22 @@ func (x *Server) GetOrgsCount() int32 { } type GetServerStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Server Status Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // Chef Server Upstream - Upstreams map[string]string `protobuf:"bytes,2,rep,name=upstreams,proto3" json:"upstreams,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Upstreams map[string]string `protobuf:"bytes,2,rep,name=upstreams,proto3" json:"upstreams,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Chef Server Keygem - Keygen map[string]int32 `protobuf:"bytes,3,rep,name=keygen,proto3" json:"keygen,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Keygen map[string]int32 `protobuf:"bytes,3,rep,name=keygen,proto3" json:"keygen,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetServerStatus) Reset() { *x = GetServerStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_servers_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_servers_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetServerStatus) String() string { @@ -374,7 +353,7 @@ func (*GetServerStatus) ProtoMessage() {} func (x *GetServerStatus) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_servers_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -496,7 +475,7 @@ func file_external_infra_proxy_response_servers_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_response_servers_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_external_infra_proxy_response_servers_proto_goTypes = []interface{}{ +var file_external_infra_proxy_response_servers_proto_goTypes = []any{ (*CreateServer)(nil), // 0: chef.automate.api.infra_proxy.response.CreateServer (*DeleteServer)(nil), // 1: chef.automate.api.infra_proxy.response.DeleteServer (*UpdateServer)(nil), // 2: chef.automate.api.infra_proxy.response.UpdateServer @@ -527,92 +506,6 @@ func file_external_infra_proxy_response_servers_proto_init() { if File_external_infra_proxy_response_servers_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_response_servers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_servers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_servers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_servers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServers); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_servers_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_servers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Server); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_servers_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServerStatus); 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{ diff --git a/api/external/infra_proxy/response/users.pb.go b/api/external/infra_proxy/response/users.pb.go index aa05c4b4633..37f1c7a51dc 100644 --- a/api/external/infra_proxy/response/users.pb.go +++ b/api/external/infra_proxy/response/users.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/infra_proxy/response/users.proto @@ -21,21 +21,18 @@ const ( ) type OrgUsers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Users list - Users []*UsersListItem `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` + Users []*UsersListItem `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OrgUsers) Reset() { *x = OrgUsers{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_users_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_users_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OrgUsers) String() string { @@ -46,7 +43,7 @@ func (*OrgUsers) ProtoMessage() {} func (x *OrgUsers) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_users_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,10 +66,7 @@ func (x *OrgUsers) GetUsers() []*UsersListItem { } type UsersListItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // User username Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // User first name @@ -80,16 +74,16 @@ type UsersListItem struct { // User Last name LastName string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` // User email - Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` + Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UsersListItem) Reset() { *x = UsersListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_users_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_users_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UsersListItem) String() string { @@ -100,7 +94,7 @@ func (*UsersListItem) ProtoMessage() {} func (x *UsersListItem) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_users_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -144,21 +138,18 @@ func (x *UsersListItem) GetEmail() string { } type ServerUsers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Users list - Users []*UsersListItem `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` + Users []*UsersListItem `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServerUsers) Reset() { *x = ServerUsers{} - if protoimpl.UnsafeEnabled { - mi := &file_external_infra_proxy_response_users_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_infra_proxy_response_users_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServerUsers) String() string { @@ -169,7 +160,7 @@ func (*ServerUsers) ProtoMessage() {} func (x *ServerUsers) ProtoReflect() protoreflect.Message { mi := &file_external_infra_proxy_response_users_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -238,7 +229,7 @@ func file_external_infra_proxy_response_users_proto_rawDescGZIP() []byte { } var file_external_infra_proxy_response_users_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_external_infra_proxy_response_users_proto_goTypes = []interface{}{ +var file_external_infra_proxy_response_users_proto_goTypes = []any{ (*OrgUsers)(nil), // 0: chef.automate.api.infra_proxy.response.OrgUsers (*UsersListItem)(nil), // 1: chef.automate.api.infra_proxy.response.UsersListItem (*ServerUsers)(nil), // 2: chef.automate.api.infra_proxy.response.ServerUsers @@ -258,44 +249,6 @@ func file_external_infra_proxy_response_users_proto_init() { if File_external_infra_proxy_response_users_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_infra_proxy_response_users_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrgUsers); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_users_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UsersListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_infra_proxy_response_users_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServerUsers); 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{ diff --git a/api/external/ingest/chef.pb.go b/api/external/ingest/chef.pb.go index 558e236aefb..24bacc713ee 100644 --- a/api/external/ingest/chef.pb.go +++ b/api/external/ingest/chef.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/ingest/chef.proto @@ -147,7 +147,7 @@ var file_external_ingest_chef_proto_rawDesc = []byte{ 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_external_ingest_chef_proto_goTypes = []interface{}{ +var file_external_ingest_chef_proto_goTypes = []any{ (*request.Run)(nil), // 0: chef.automate.api.ingest.request.Run (*request.Action)(nil), // 1: chef.automate.api.ingest.request.Action (*request.Delete)(nil), // 2: chef.automate.api.ingest.request.Delete diff --git a/api/external/ingest/job_scheduler.pb.go b/api/external/ingest/job_scheduler.pb.go index 2f9f718b68e..25164d1d8ab 100644 --- a/api/external/ingest/job_scheduler.pb.go +++ b/api/external/ingest/job_scheduler.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/ingest/job_scheduler.proto @@ -115,7 +115,7 @@ var file_external_ingest_job_scheduler_proto_rawDesc = []byte{ 0x6f, 0x33, } -var file_external_ingest_job_scheduler_proto_goTypes = []interface{}{ +var file_external_ingest_job_scheduler_proto_goTypes = []any{ (*request.GetStatusJobScheduler)(nil), // 0: chef.automate.api.ingest.request.GetStatusJobScheduler (*request.SchedulerConfig)(nil), // 1: chef.automate.api.ingest.request.SchedulerConfig (*response.JobSchedulerStatus)(nil), // 2: chef.automate.api.ingest.response.JobSchedulerStatus diff --git a/api/external/ingest/request/action.pb.go b/api/external/ingest/request/action.pb.go index 8892de5c046..693c45b2146 100644 --- a/api/external/ingest/request/action.pb.go +++ b/api/external/ingest/request/action.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/ingest/request/action.proto @@ -21,10 +21,7 @@ const ( ) type Action struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the action message itself Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` MessageType string `protobuf:"bytes,2,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"` @@ -53,15 +50,15 @@ type Action struct { ParentType string `protobuf:"bytes,24,opt,name=parent_type,json=parentType,proto3" json:"parent_type,omitempty"` ParentName string `protobuf:"bytes,25,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"` RevisionId string `protobuf:"bytes,27,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Action) Reset() { *x = Action{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_action_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_action_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Action) String() string { @@ -72,7 +69,7 @@ func (*Action) ProtoMessage() {} func (x *Action) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_action_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -235,10 +232,7 @@ func (x *Action) GetRevisionId() string { } type Delete struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the action message itself Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` NodeName string `protobuf:"bytes,4,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` @@ -246,15 +240,15 @@ type Delete struct { RemoteHostname string `protobuf:"bytes,8,opt,name=remote_hostname,json=remoteHostname,proto3" json:"remote_hostname,omitempty"` ServiceHostname string `protobuf:"bytes,9,opt,name=service_hostname,json=serviceHostname,proto3" json:"service_hostname,omitempty"` NodeId string `protobuf:"bytes,16,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Not available from Chef Server + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Delete) Reset() { *x = Delete{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_action_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_action_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Delete) String() string { @@ -265,7 +259,7 @@ func (*Delete) ProtoMessage() {} func (x *Delete) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_action_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -323,20 +317,17 @@ func (x *Delete) GetNodeId() string { } type MultipleNodeDeleteRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + NodeIds []string `protobuf:"bytes,1,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"` unknownFields protoimpl.UnknownFields - - NodeIds []string `protobuf:"bytes,1,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MultipleNodeDeleteRequest) Reset() { *x = MultipleNodeDeleteRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_action_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_action_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MultipleNodeDeleteRequest) String() string { @@ -347,7 +338,7 @@ func (*MultipleNodeDeleteRequest) ProtoMessage() {} func (x *MultipleNodeDeleteRequest) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_action_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -457,7 +448,7 @@ func file_external_ingest_request_action_proto_rawDescGZIP() []byte { } var file_external_ingest_request_action_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_external_ingest_request_action_proto_goTypes = []interface{}{ +var file_external_ingest_request_action_proto_goTypes = []any{ (*Action)(nil), // 0: chef.automate.api.ingest.request.Action (*Delete)(nil), // 1: chef.automate.api.ingest.request.Delete (*MultipleNodeDeleteRequest)(nil), // 2: chef.automate.api.ingest.request.MultipleNodeDeleteRequest @@ -475,44 +466,6 @@ func file_external_ingest_request_action_proto_init() { if File_external_ingest_request_action_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_ingest_request_action_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Action); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_action_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Delete); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_action_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultipleNodeDeleteRequest); 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{ diff --git a/api/external/ingest/request/chef.pb.go b/api/external/ingest/request/chef.pb.go index 530f5406b4d..2441ea701c1 100644 --- a/api/external/ingest/request/chef.pb.go +++ b/api/external/ingest/request/chef.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/ingest/request/chef.proto @@ -22,10 +22,7 @@ const ( ) type Run struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // 1 through 15 are for frequently occuring fields // Reserving for shared fields between run_start and run_converge mesages. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // message Id @@ -58,15 +55,15 @@ type Run struct { PolicyGroup string `protobuf:"bytes,27,opt,name=policy_group,json=policyGroup,proto3" json:"policy_group,omitempty"` Deprecations []*Deprecation `protobuf:"bytes,28,rep,name=deprecations,proto3" json:"deprecations,omitempty"` Tags []string `protobuf:"bytes,29,rep,name=tags,proto3" json:"tags,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Run) Reset() { *x = Run{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_chef_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_chef_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Run) String() string { @@ -77,7 +74,7 @@ func (*Run) ProtoMessage() {} func (x *Run) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_chef_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -261,22 +258,19 @@ func (x *Run) GetTags() []string { } type Deprecation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` unknownFields protoimpl.UnknownFields - - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Deprecation) Reset() { *x = Deprecation{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_chef_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_chef_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Deprecation) String() string { @@ -287,7 +281,7 @@ func (*Deprecation) ProtoMessage() {} func (x *Deprecation) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_chef_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -324,21 +318,18 @@ func (x *Deprecation) GetLocation() string { } type ExpandedRunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + RunList []*RunList `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - RunList []*RunList `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ExpandedRunList) Reset() { *x = ExpandedRunList{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_chef_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_chef_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExpandedRunList) String() string { @@ -349,7 +340,7 @@ func (*ExpandedRunList) ProtoMessage() {} func (x *ExpandedRunList) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_chef_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -379,24 +370,21 @@ func (x *ExpandedRunList) GetRunList() []*RunList { } type RunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + Skipped bool `protobuf:"varint,4,opt,name=skipped,proto3" json:"skipped,omitempty"` + Children []*RunList `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty"` unknownFields protoimpl.UnknownFields - - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - Skipped bool `protobuf:"varint,4,opt,name=skipped,proto3" json:"skipped,omitempty"` - Children []*RunList `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RunList) Reset() { *x = RunList{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_chef_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_chef_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RunList) String() string { @@ -407,7 +395,7 @@ func (*RunList) ProtoMessage() {} func (x *RunList) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_chef_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -458,34 +446,31 @@ func (x *RunList) GetChildren() []*RunList { } type Resource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` - After *structpb.Struct `protobuf:"bytes,4,opt,name=after,proto3" json:"after,omitempty"` //TODO: Define fields? - Before *structpb.Struct `protobuf:"bytes,5,opt,name=before,proto3" json:"before,omitempty"` //TODO: Define fields? - Duration string `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"` - Delta string `protobuf:"bytes,7,opt,name=delta,proto3" json:"delta,omitempty"` - CookbookName string `protobuf:"bytes,8,opt,name=cookbook_name,json=cookbookName,proto3" json:"cookbook_name,omitempty"` - CookbookVersion string `protobuf:"bytes,9,opt,name=cookbook_version,json=cookbookVersion,proto3" json:"cookbook_version,omitempty"` - Status string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"` - RecipeName string `protobuf:"bytes,12,opt,name=recipe_name,json=recipeName,proto3" json:"recipe_name,omitempty"` - IgnoreFailure *structpb.Value `protobuf:"bytes,13,opt,name=ignore_failure,json=ignoreFailure,proto3" json:"ignore_failure,omitempty"` - Conditional string `protobuf:"bytes,16,opt,name=conditional,proto3" json:"conditional,omitempty"` - Result string `protobuf:"bytes,17,opt,name=result,proto3" json:"result,omitempty"` - Error *Error `protobuf:"bytes,18,opt,name=error,proto3" json:"error,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` + After *structpb.Struct `protobuf:"bytes,4,opt,name=after,proto3" json:"after,omitempty"` //TODO: Define fields? + Before *structpb.Struct `protobuf:"bytes,5,opt,name=before,proto3" json:"before,omitempty"` //TODO: Define fields? + Duration string `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"` + Delta string `protobuf:"bytes,7,opt,name=delta,proto3" json:"delta,omitempty"` + CookbookName string `protobuf:"bytes,8,opt,name=cookbook_name,json=cookbookName,proto3" json:"cookbook_name,omitempty"` + CookbookVersion string `protobuf:"bytes,9,opt,name=cookbook_version,json=cookbookVersion,proto3" json:"cookbook_version,omitempty"` + Status string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"` + RecipeName string `protobuf:"bytes,12,opt,name=recipe_name,json=recipeName,proto3" json:"recipe_name,omitempty"` + IgnoreFailure *structpb.Value `protobuf:"bytes,13,opt,name=ignore_failure,json=ignoreFailure,proto3" json:"ignore_failure,omitempty"` + Conditional string `protobuf:"bytes,16,opt,name=conditional,proto3" json:"conditional,omitempty"` + Result string `protobuf:"bytes,17,opt,name=result,proto3" json:"result,omitempty"` + Error *Error `protobuf:"bytes,18,opt,name=error,proto3" json:"error,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Resource) Reset() { *x = Resource{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_chef_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_chef_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Resource) String() string { @@ -496,7 +481,7 @@ func (*Resource) ProtoMessage() {} func (x *Resource) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_chef_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -617,23 +602,20 @@ func (x *Resource) GetError() *Error { } type Error struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + Backtrace []string `protobuf:"bytes,16,rep,name=backtrace,proto3" json:"backtrace,omitempty"` + Description *Description `protobuf:"bytes,17,opt,name=description,proto3" json:"description,omitempty"` unknownFields protoimpl.UnknownFields - - Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - Backtrace []string `protobuf:"bytes,16,rep,name=backtrace,proto3" json:"backtrace,omitempty"` - Description *Description `protobuf:"bytes,17,opt,name=description,proto3" json:"description,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Error) Reset() { *x = Error{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_chef_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_chef_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Error) String() string { @@ -644,7 +626,7 @@ func (*Error) ProtoMessage() {} func (x *Error) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_chef_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -688,21 +670,18 @@ func (x *Error) GetDescription() *Description { } type Description struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + Sections []*structpb.Struct `protobuf:"bytes,2,rep,name=sections,proto3" json:"sections,omitempty"` unknownFields protoimpl.UnknownFields - - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - Sections []*structpb.Struct `protobuf:"bytes,2,rep,name=sections,proto3" json:"sections,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Description) Reset() { *x = Description{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_chef_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_chef_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Description) String() string { @@ -713,7 +692,7 @@ func (*Description) ProtoMessage() {} func (x *Description) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_chef_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -905,7 +884,7 @@ func file_external_ingest_request_chef_proto_rawDescGZIP() []byte { } var file_external_ingest_request_chef_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_external_ingest_request_chef_proto_goTypes = []interface{}{ +var file_external_ingest_request_chef_proto_goTypes = []any{ (*Run)(nil), // 0: chef.automate.api.ingest.request.Run (*Deprecation)(nil), // 1: chef.automate.api.ingest.request.Deprecation (*ExpandedRunList)(nil), // 2: chef.automate.api.ingest.request.ExpandedRunList @@ -942,92 +921,6 @@ func file_external_ingest_request_chef_proto_init() { if File_external_ingest_request_chef_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_ingest_request_chef_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Run); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_chef_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Deprecation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_chef_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExpandedRunList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_chef_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RunList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_chef_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Resource); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_chef_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Error); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_chef_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Description); 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{ diff --git a/api/external/ingest/request/job_scheduler.pb.go b/api/external/ingest/request/job_scheduler.pb.go index ca9951672da..dedb947bef9 100644 --- a/api/external/ingest/request/job_scheduler.pb.go +++ b/api/external/ingest/request/job_scheduler.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/ingest/request/job_scheduler.proto @@ -24,22 +24,19 @@ const ( // The job message to configure the Delete Node Job // every - It accepts '1h30m', '1m', '2h30m', ... type SchedulerConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Every string `protobuf:"bytes,1,opt,name=every,proto3" json:"every,omitempty"` + Threshold string `protobuf:"bytes,2,opt,name=threshold,proto3" json:"threshold,omitempty"` + Running bool `protobuf:"varint,3,opt,name=running,proto3" json:"running,omitempty"` unknownFields protoimpl.UnknownFields - - Every string `protobuf:"bytes,1,opt,name=every,proto3" json:"every,omitempty"` - Threshold string `protobuf:"bytes,2,opt,name=threshold,proto3" json:"threshold,omitempty"` - Running bool `protobuf:"varint,3,opt,name=running,proto3" json:"running,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SchedulerConfig) Reset() { *x = SchedulerConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SchedulerConfig) String() string { @@ -50,7 +47,7 @@ func (*SchedulerConfig) ProtoMessage() {} func (x *SchedulerConfig) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,18 +84,16 @@ func (x *SchedulerConfig) GetRunning() bool { } type GetStatusJobScheduler struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetStatusJobScheduler) Reset() { *x = GetStatusJobScheduler{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetStatusJobScheduler) String() string { @@ -109,7 +104,7 @@ func (*GetStatusJobScheduler) ProtoMessage() {} func (x *GetStatusJobScheduler) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -126,18 +121,16 @@ func (*GetStatusJobScheduler) Descriptor() ([]byte, []int) { // DeleteNodesScheduler type DeleteMarkedNodes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteMarkedNodes) Reset() { *x = DeleteMarkedNodes{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteMarkedNodes) String() string { @@ -148,7 +141,7 @@ func (*DeleteMarkedNodes) ProtoMessage() {} func (x *DeleteMarkedNodes) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -164,18 +157,16 @@ func (*DeleteMarkedNodes) Descriptor() ([]byte, []int) { } type StartDeleteNodesScheduler struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartDeleteNodesScheduler) Reset() { *x = StartDeleteNodesScheduler{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartDeleteNodesScheduler) String() string { @@ -186,7 +177,7 @@ func (*StartDeleteNodesScheduler) ProtoMessage() {} func (x *StartDeleteNodesScheduler) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -202,18 +193,16 @@ func (*StartDeleteNodesScheduler) Descriptor() ([]byte, []int) { } type StopDeleteNodesScheduler struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopDeleteNodesScheduler) Reset() { *x = StopDeleteNodesScheduler{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopDeleteNodesScheduler) String() string { @@ -224,7 +213,7 @@ func (*StopDeleteNodesScheduler) ProtoMessage() {} func (x *StopDeleteNodesScheduler) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -241,18 +230,16 @@ func (*StopDeleteNodesScheduler) Descriptor() ([]byte, []int) { // MissingNodesForDeletionScheduler type MarkMissingNodesForDeletion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MarkMissingNodesForDeletion) Reset() { *x = MarkMissingNodesForDeletion{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarkMissingNodesForDeletion) String() string { @@ -263,7 +250,7 @@ func (*MarkMissingNodesForDeletion) ProtoMessage() {} func (x *MarkMissingNodesForDeletion) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -279,18 +266,16 @@ func (*MarkMissingNodesForDeletion) Descriptor() ([]byte, []int) { } type StartMissingNodesForDeletionScheduler struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMissingNodesForDeletionScheduler) Reset() { *x = StartMissingNodesForDeletionScheduler{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartMissingNodesForDeletionScheduler) String() string { @@ -301,7 +286,7 @@ func (*StartMissingNodesForDeletionScheduler) ProtoMessage() {} func (x *StartMissingNodesForDeletionScheduler) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -317,18 +302,16 @@ func (*StartMissingNodesForDeletionScheduler) Descriptor() ([]byte, []int) { } type StopMissingNodesForDeletionScheduler struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopMissingNodesForDeletionScheduler) Reset() { *x = StopMissingNodesForDeletionScheduler{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopMissingNodesForDeletionScheduler) String() string { @@ -339,7 +322,7 @@ func (*StopMissingNodesForDeletionScheduler) ProtoMessage() {} func (x *StopMissingNodesForDeletionScheduler) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -356,18 +339,16 @@ func (*StopMissingNodesForDeletionScheduler) Descriptor() ([]byte, []int) { // NodesMissingScheduler type MarkNodesMissing struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MarkNodesMissing) Reset() { *x = MarkNodesMissing{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarkNodesMissing) String() string { @@ -378,7 +359,7 @@ func (*MarkNodesMissing) ProtoMessage() {} func (x *MarkNodesMissing) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -394,18 +375,16 @@ func (*MarkNodesMissing) Descriptor() ([]byte, []int) { } type StartNodesMissingScheduler struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartNodesMissingScheduler) Reset() { *x = StartNodesMissingScheduler{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartNodesMissingScheduler) String() string { @@ -416,7 +395,7 @@ func (*StartNodesMissingScheduler) ProtoMessage() {} func (x *StartNodesMissingScheduler) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -432,18 +411,16 @@ func (*StartNodesMissingScheduler) Descriptor() ([]byte, []int) { } type StopNodesMissingScheduler struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopNodesMissingScheduler) Reset() { *x = StopNodesMissingScheduler{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopNodesMissingScheduler) String() string { @@ -454,7 +431,7 @@ func (*StopNodesMissingScheduler) ProtoMessage() {} func (x *StopNodesMissingScheduler) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_job_scheduler_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -521,7 +498,7 @@ func file_external_ingest_request_job_scheduler_proto_rawDescGZIP() []byte { } var file_external_ingest_request_job_scheduler_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_external_ingest_request_job_scheduler_proto_goTypes = []interface{}{ +var file_external_ingest_request_job_scheduler_proto_goTypes = []any{ (*SchedulerConfig)(nil), // 0: chef.automate.api.ingest.request.SchedulerConfig (*GetStatusJobScheduler)(nil), // 1: chef.automate.api.ingest.request.GetStatusJobScheduler (*DeleteMarkedNodes)(nil), // 2: chef.automate.api.ingest.request.DeleteMarkedNodes @@ -547,140 +524,6 @@ func file_external_ingest_request_job_scheduler_proto_init() { if File_external_ingest_request_job_scheduler_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_ingest_request_job_scheduler_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SchedulerConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_job_scheduler_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetStatusJobScheduler); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_job_scheduler_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteMarkedNodes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_job_scheduler_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartDeleteNodesScheduler); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_job_scheduler_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopDeleteNodesScheduler); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_job_scheduler_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkMissingNodesForDeletion); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_job_scheduler_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartMissingNodesForDeletionScheduler); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_job_scheduler_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopMissingNodesForDeletionScheduler); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_job_scheduler_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkNodesMissing); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_job_scheduler_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartNodesMissingScheduler); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_request_job_scheduler_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopNodesMissingScheduler); 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{ diff --git a/api/external/ingest/request/liveness.pb.go b/api/external/ingest/request/liveness.pb.go index 827ef3d3dea..6c6bd21aa6c 100644 --- a/api/external/ingest/request/liveness.pb.go +++ b/api/external/ingest/request/liveness.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/ingest/request/liveness.proto @@ -21,26 +21,23 @@ const ( ) type Liveness struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EventType string `protobuf:"bytes,1,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` - EntityUuid string `protobuf:"bytes,2,opt,name=entity_uuid,json=entityUuid,proto3" json:"entity_uuid,omitempty"` - ChefServerFqdn string `protobuf:"bytes,3,opt,name=chef_server_fqdn,json=chefServerFqdn,proto3" json:"chef_server_fqdn,omitempty"` - Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` - MessageVersion string `protobuf:"bytes,5,opt,name=message_version,json=messageVersion,proto3" json:"message_version,omitempty"` - OrganizationName string `protobuf:"bytes,6,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` - NodeName string `protobuf:"bytes,7,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + EventType string `protobuf:"bytes,1,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` + EntityUuid string `protobuf:"bytes,2,opt,name=entity_uuid,json=entityUuid,proto3" json:"entity_uuid,omitempty"` + ChefServerFqdn string `protobuf:"bytes,3,opt,name=chef_server_fqdn,json=chefServerFqdn,proto3" json:"chef_server_fqdn,omitempty"` + Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` + MessageVersion string `protobuf:"bytes,5,opt,name=message_version,json=messageVersion,proto3" json:"message_version,omitempty"` + OrganizationName string `protobuf:"bytes,6,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` + NodeName string `protobuf:"bytes,7,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Liveness) Reset() { *x = Liveness{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_request_liveness_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_request_liveness_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Liveness) String() string { @@ -51,7 +48,7 @@ func (*Liveness) ProtoMessage() {} func (x *Liveness) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_request_liveness_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -158,7 +155,7 @@ func file_external_ingest_request_liveness_proto_rawDescGZIP() []byte { } var file_external_ingest_request_liveness_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_external_ingest_request_liveness_proto_goTypes = []interface{}{ +var file_external_ingest_request_liveness_proto_goTypes = []any{ (*Liveness)(nil), // 0: chef.automate.api.ingest.request.Liveness } var file_external_ingest_request_liveness_proto_depIdxs = []int32{ @@ -174,20 +171,6 @@ func file_external_ingest_request_liveness_proto_init() { if File_external_ingest_request_liveness_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_ingest_request_liveness_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Liveness); 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{ diff --git a/api/external/ingest/response/action.pb.go b/api/external/ingest/response/action.pb.go index 1b8b699cdbb..10ed8a6ed75 100644 --- a/api/external/ingest/response/action.pb.go +++ b/api/external/ingest/response/action.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/ingest/response/action.proto @@ -21,18 +21,16 @@ const ( ) type ProcessChefActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProcessChefActionResponse) Reset() { *x = ProcessChefActionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_action_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_action_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProcessChefActionResponse) String() string { @@ -43,7 +41,7 @@ func (*ProcessChefActionResponse) ProtoMessage() {} func (x *ProcessChefActionResponse) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_action_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -59,18 +57,16 @@ func (*ProcessChefActionResponse) Descriptor() ([]byte, []int) { } type ProcessNodeDeleteResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProcessNodeDeleteResponse) Reset() { *x = ProcessNodeDeleteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_action_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_action_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProcessNodeDeleteResponse) String() string { @@ -81,7 +77,7 @@ func (*ProcessNodeDeleteResponse) ProtoMessage() {} func (x *ProcessNodeDeleteResponse) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_action_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -97,18 +93,16 @@ func (*ProcessNodeDeleteResponse) Descriptor() ([]byte, []int) { } type ProcessMultipleNodeDeleteResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProcessMultipleNodeDeleteResponse) Reset() { *x = ProcessMultipleNodeDeleteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_action_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_action_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProcessMultipleNodeDeleteResponse) String() string { @@ -119,7 +113,7 @@ func (*ProcessMultipleNodeDeleteResponse) ProtoMessage() {} func (x *ProcessMultipleNodeDeleteResponse) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_action_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -167,7 +161,7 @@ func file_external_ingest_response_action_proto_rawDescGZIP() []byte { } var file_external_ingest_response_action_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_external_ingest_response_action_proto_goTypes = []interface{}{ +var file_external_ingest_response_action_proto_goTypes = []any{ (*ProcessChefActionResponse)(nil), // 0: chef.automate.api.ingest.response.ProcessChefActionResponse (*ProcessNodeDeleteResponse)(nil), // 1: chef.automate.api.ingest.response.ProcessNodeDeleteResponse (*ProcessMultipleNodeDeleteResponse)(nil), // 2: chef.automate.api.ingest.response.ProcessMultipleNodeDeleteResponse @@ -185,44 +179,6 @@ func file_external_ingest_response_action_proto_init() { if File_external_ingest_response_action_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_ingest_response_action_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProcessChefActionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_response_action_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProcessNodeDeleteResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_response_action_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProcessMultipleNodeDeleteResponse); 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{ diff --git a/api/external/ingest/response/chef.pb.go b/api/external/ingest/response/chef.pb.go index f8c35a33321..96ea07fdb0b 100644 --- a/api/external/ingest/response/chef.pb.go +++ b/api/external/ingest/response/chef.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/ingest/response/chef.proto @@ -21,18 +21,16 @@ const ( ) type ProcessChefRunResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProcessChefRunResponse) Reset() { *x = ProcessChefRunResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_chef_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_chef_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProcessChefRunResponse) String() string { @@ -43,7 +41,7 @@ func (*ProcessChefRunResponse) ProtoMessage() {} func (x *ProcessChefRunResponse) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_chef_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,7 +85,7 @@ func file_external_ingest_response_chef_proto_rawDescGZIP() []byte { } var file_external_ingest_response_chef_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_external_ingest_response_chef_proto_goTypes = []interface{}{ +var file_external_ingest_response_chef_proto_goTypes = []any{ (*ProcessChefRunResponse)(nil), // 0: chef.automate.api.ingest.response.ProcessChefRunResponse } var file_external_ingest_response_chef_proto_depIdxs = []int32{ @@ -103,20 +101,6 @@ func file_external_ingest_response_chef_proto_init() { if File_external_ingest_response_chef_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_ingest_response_chef_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProcessChefRunResponse); 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{ diff --git a/api/external/ingest/response/job_scheduler.pb.go b/api/external/ingest/response/job_scheduler.pb.go index 44852a38b47..94cfbbdd8c4 100644 --- a/api/external/ingest/response/job_scheduler.pb.go +++ b/api/external/ingest/response/job_scheduler.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/ingest/response/job_scheduler.proto @@ -21,21 +21,18 @@ const ( ) type JobSchedulerStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Running bool `protobuf:"varint,1,opt,name=running,proto3" json:"running,omitempty"` + Jobs []*Job `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"` unknownFields protoimpl.UnknownFields - - Running bool `protobuf:"varint,1,opt,name=running,proto3" json:"running,omitempty"` - Jobs []*Job `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"` + sizeCache protoimpl.SizeCache } func (x *JobSchedulerStatus) Reset() { *x = JobSchedulerStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobSchedulerStatus) String() string { @@ -46,7 +43,7 @@ func (*JobSchedulerStatus) ProtoMessage() {} func (x *JobSchedulerStatus) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -76,27 +73,24 @@ func (x *JobSchedulerStatus) GetJobs() []*Job { } type Job struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Running bool `protobuf:"varint,1,opt,name=running,proto3" json:"running,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Every string `protobuf:"bytes,3,opt,name=every,proto3" json:"every,omitempty"` + LastRun string `protobuf:"bytes,4,opt,name=last_run,json=lastRun,proto3" json:"last_run,omitempty"` + NextRun string `protobuf:"bytes,5,opt,name=next_run,json=nextRun,proto3" json:"next_run,omitempty"` + LastElapsed string `protobuf:"bytes,6,opt,name=last_elapsed,json=lastElapsed,proto3" json:"last_elapsed,omitempty"` + StartedOn string `protobuf:"bytes,7,opt,name=started_on,json=startedOn,proto3" json:"started_on,omitempty"` + Threshold string `protobuf:"bytes,8,opt,name=threshold,proto3" json:"threshold,omitempty"` unknownFields protoimpl.UnknownFields - - Running bool `protobuf:"varint,1,opt,name=running,proto3" json:"running,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Every string `protobuf:"bytes,3,opt,name=every,proto3" json:"every,omitempty"` - LastRun string `protobuf:"bytes,4,opt,name=last_run,json=lastRun,proto3" json:"last_run,omitempty"` - NextRun string `protobuf:"bytes,5,opt,name=next_run,json=nextRun,proto3" json:"next_run,omitempty"` - LastElapsed string `protobuf:"bytes,6,opt,name=last_elapsed,json=lastElapsed,proto3" json:"last_elapsed,omitempty"` - StartedOn string `protobuf:"bytes,7,opt,name=started_on,json=startedOn,proto3" json:"started_on,omitempty"` - Threshold string `protobuf:"bytes,8,opt,name=threshold,proto3" json:"threshold,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Job) Reset() { *x = Job{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Job) String() string { @@ -107,7 +101,7 @@ func (*Job) ProtoMessage() {} func (x *Job) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -180,18 +174,16 @@ func (x *Job) GetThreshold() string { // DeleteNodesScheduler type DeleteMarkedNodes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteMarkedNodes) Reset() { *x = DeleteMarkedNodes{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteMarkedNodes) String() string { @@ -202,7 +194,7 @@ func (*DeleteMarkedNodes) ProtoMessage() {} func (x *DeleteMarkedNodes) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -218,18 +210,16 @@ func (*DeleteMarkedNodes) Descriptor() ([]byte, []int) { } type StartDeleteNodesScheduler struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartDeleteNodesScheduler) Reset() { *x = StartDeleteNodesScheduler{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartDeleteNodesScheduler) String() string { @@ -240,7 +230,7 @@ func (*StartDeleteNodesScheduler) ProtoMessage() {} func (x *StartDeleteNodesScheduler) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -256,18 +246,16 @@ func (*StartDeleteNodesScheduler) Descriptor() ([]byte, []int) { } type StopDeleteNodesScheduler struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopDeleteNodesScheduler) Reset() { *x = StopDeleteNodesScheduler{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopDeleteNodesScheduler) String() string { @@ -278,7 +266,7 @@ func (*StopDeleteNodesScheduler) ProtoMessage() {} func (x *StopDeleteNodesScheduler) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -294,18 +282,16 @@ func (*StopDeleteNodesScheduler) Descriptor() ([]byte, []int) { } type ConfigureDeleteNodesScheduler struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConfigureDeleteNodesScheduler) Reset() { *x = ConfigureDeleteNodesScheduler{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConfigureDeleteNodesScheduler) String() string { @@ -316,7 +302,7 @@ func (*ConfigureDeleteNodesScheduler) ProtoMessage() {} func (x *ConfigureDeleteNodesScheduler) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -333,18 +319,16 @@ func (*ConfigureDeleteNodesScheduler) Descriptor() ([]byte, []int) { // MissingNodesForDeletionScheduler type MarkMissingNodesForDeletion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MarkMissingNodesForDeletion) Reset() { *x = MarkMissingNodesForDeletion{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarkMissingNodesForDeletion) String() string { @@ -355,7 +339,7 @@ func (*MarkMissingNodesForDeletion) ProtoMessage() {} func (x *MarkMissingNodesForDeletion) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -371,18 +355,16 @@ func (*MarkMissingNodesForDeletion) Descriptor() ([]byte, []int) { } type StartMissingNodesForDeletionScheduler struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMissingNodesForDeletionScheduler) Reset() { *x = StartMissingNodesForDeletionScheduler{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartMissingNodesForDeletionScheduler) String() string { @@ -393,7 +375,7 @@ func (*StartMissingNodesForDeletionScheduler) ProtoMessage() {} func (x *StartMissingNodesForDeletionScheduler) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -409,18 +391,16 @@ func (*StartMissingNodesForDeletionScheduler) Descriptor() ([]byte, []int) { } type StopMissingNodesForDeletionScheduler struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopMissingNodesForDeletionScheduler) Reset() { *x = StopMissingNodesForDeletionScheduler{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopMissingNodesForDeletionScheduler) String() string { @@ -431,7 +411,7 @@ func (*StopMissingNodesForDeletionScheduler) ProtoMessage() {} func (x *StopMissingNodesForDeletionScheduler) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -447,18 +427,16 @@ func (*StopMissingNodesForDeletionScheduler) Descriptor() ([]byte, []int) { } type ConfigureMissingNodesForDeletionScheduler struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConfigureMissingNodesForDeletionScheduler) Reset() { *x = ConfigureMissingNodesForDeletionScheduler{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConfigureMissingNodesForDeletionScheduler) String() string { @@ -469,7 +447,7 @@ func (*ConfigureMissingNodesForDeletionScheduler) ProtoMessage() {} func (x *ConfigureMissingNodesForDeletionScheduler) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -486,18 +464,16 @@ func (*ConfigureMissingNodesForDeletionScheduler) Descriptor() ([]byte, []int) { // NodesMissingScheduler type MarkNodesMissing struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MarkNodesMissing) Reset() { *x = MarkNodesMissing{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarkNodesMissing) String() string { @@ -508,7 +484,7 @@ func (*MarkNodesMissing) ProtoMessage() {} func (x *MarkNodesMissing) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -524,18 +500,16 @@ func (*MarkNodesMissing) Descriptor() ([]byte, []int) { } type StartNodesMissingScheduler struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartNodesMissingScheduler) Reset() { *x = StartNodesMissingScheduler{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartNodesMissingScheduler) String() string { @@ -546,7 +520,7 @@ func (*StartNodesMissingScheduler) ProtoMessage() {} func (x *StartNodesMissingScheduler) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -562,18 +536,16 @@ func (*StartNodesMissingScheduler) Descriptor() ([]byte, []int) { } type StopNodesMissingScheduler struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopNodesMissingScheduler) Reset() { *x = StopNodesMissingScheduler{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopNodesMissingScheduler) String() string { @@ -584,7 +556,7 @@ func (*StopNodesMissingScheduler) ProtoMessage() {} func (x *StopNodesMissingScheduler) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -600,18 +572,16 @@ func (*StopNodesMissingScheduler) Descriptor() ([]byte, []int) { } type ConfigureNodesMissingScheduler struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConfigureNodesMissingScheduler) Reset() { *x = ConfigureNodesMissingScheduler{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConfigureNodesMissingScheduler) String() string { @@ -622,7 +592,7 @@ func (*ConfigureNodesMissingScheduler) ProtoMessage() {} func (x *ConfigureNodesMissingScheduler) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_job_scheduler_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -709,7 +679,7 @@ func file_external_ingest_response_job_scheduler_proto_rawDescGZIP() []byte { } var file_external_ingest_response_job_scheduler_proto_msgTypes = make([]protoimpl.MessageInfo, 14) -var file_external_ingest_response_job_scheduler_proto_goTypes = []interface{}{ +var file_external_ingest_response_job_scheduler_proto_goTypes = []any{ (*JobSchedulerStatus)(nil), // 0: chef.automate.api.ingest.response.JobSchedulerStatus (*Job)(nil), // 1: chef.automate.api.ingest.response.Job (*DeleteMarkedNodes)(nil), // 2: chef.automate.api.ingest.response.DeleteMarkedNodes @@ -739,176 +709,6 @@ func file_external_ingest_response_job_scheduler_proto_init() { if File_external_ingest_response_job_scheduler_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_ingest_response_job_scheduler_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JobSchedulerStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_response_job_scheduler_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Job); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_response_job_scheduler_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteMarkedNodes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_response_job_scheduler_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartDeleteNodesScheduler); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_response_job_scheduler_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopDeleteNodesScheduler); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_response_job_scheduler_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigureDeleteNodesScheduler); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_response_job_scheduler_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkMissingNodesForDeletion); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_response_job_scheduler_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartMissingNodesForDeletionScheduler); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_response_job_scheduler_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopMissingNodesForDeletionScheduler); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_response_job_scheduler_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigureMissingNodesForDeletionScheduler); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_response_job_scheduler_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkNodesMissing); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_response_job_scheduler_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartNodesMissingScheduler); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_response_job_scheduler_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopNodesMissingScheduler); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_ingest_response_job_scheduler_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigureNodesMissingScheduler); 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{ diff --git a/api/external/ingest/response/liveness.pb.go b/api/external/ingest/response/liveness.pb.go index 39f35d70c0d..dcadb174b3f 100644 --- a/api/external/ingest/response/liveness.pb.go +++ b/api/external/ingest/response/liveness.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/ingest/response/liveness.proto @@ -21,18 +21,16 @@ const ( ) type ProcessLivenessResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProcessLivenessResponse) Reset() { *x = ProcessLivenessResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_external_ingest_response_liveness_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_ingest_response_liveness_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProcessLivenessResponse) String() string { @@ -43,7 +41,7 @@ func (*ProcessLivenessResponse) ProtoMessage() {} func (x *ProcessLivenessResponse) ProtoReflect() protoreflect.Message { mi := &file_external_ingest_response_liveness_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,7 +85,7 @@ func file_external_ingest_response_liveness_proto_rawDescGZIP() []byte { } var file_external_ingest_response_liveness_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_external_ingest_response_liveness_proto_goTypes = []interface{}{ +var file_external_ingest_response_liveness_proto_goTypes = []any{ (*ProcessLivenessResponse)(nil), // 0: chef.automate.api.ingest.response.ProcessLivenessResponse } var file_external_ingest_response_liveness_proto_depIdxs = []int32{ @@ -103,20 +101,6 @@ func file_external_ingest_response_liveness_proto_init() { if File_external_ingest_response_liveness_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_ingest_response_liveness_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProcessLivenessResponse); 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{ diff --git a/api/external/nodes/manager/manager.pb.go b/api/external/nodes/manager/manager.pb.go index 27a87cc8571..2bd3d9518aa 100644 --- a/api/external/nodes/manager/manager.pb.go +++ b/api/external/nodes/manager/manager.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/nodes/manager/manager.proto @@ -78,18 +78,16 @@ func (Query_OrderType) EnumDescriptor() ([]byte, []int) { } type ConnectResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConnectResponse) Reset() { *x = ConnectResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_manager_manager_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_manager_manager_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConnectResponse) String() string { @@ -100,7 +98,7 @@ func (*ConnectResponse) ProtoMessage() {} func (x *ConnectResponse) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_manager_manager_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -116,21 +114,18 @@ func (*ConnectResponse) Descriptor() ([]byte, []int) { } type Id struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // UUID for the node manager. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Id) Reset() { *x = Id{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_manager_manager_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_manager_manager_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Id) String() string { @@ -141,7 +136,7 @@ func (*Id) ProtoMessage() {} func (x *Id) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_manager_manager_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -164,21 +159,18 @@ func (x *Id) GetId() string { } type Ids struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of node manager UUIDs. - Ids []*Id `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` + Ids []*Id `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Ids) Reset() { *x = Ids{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_manager_manager_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_manager_manager_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Ids) String() string { @@ -189,7 +181,7 @@ func (*Ids) ProtoMessage() {} func (x *Ids) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_manager_manager_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -212,10 +204,7 @@ func (x *Ids) GetIds() []*Id { } type Query struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Filters for the query: "manager_type". FilterMap []*query.Filter `protobuf:"bytes,25,rep,name=filter_map,json=filterMap,proto3" json:"filter_map,omitempty"` Order Query_OrderType `protobuf:"varint,21,opt,name=order,proto3,enum=chef.automate.api.nodes.manager.v1.Query_OrderType" json:"order,omitempty"` @@ -227,16 +216,16 @@ type Query struct { // you might want to start on page 50. Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty"` // Number of results on each page. - PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` + PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Query) Reset() { *x = Query{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_manager_manager_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_manager_manager_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Query) String() string { @@ -247,7 +236,7 @@ func (*Query) ProtoMessage() {} func (x *Query) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_manager_manager_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -298,21 +287,18 @@ func (x *Query) GetPerPage() int32 { } type Fields struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // One or more fields: regions, tags, name, subscription_id. - Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` + Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Fields) Reset() { *x = Fields{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_manager_manager_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_manager_manager_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fields) String() string { @@ -323,7 +309,7 @@ func (*Fields) ProtoMessage() {} func (x *Fields) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_manager_manager_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -346,25 +332,22 @@ func (x *Fields) GetFields() []string { } type FieldQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Query details (filters) to be applied to the results. Query *Query `protobuf:"bytes,20,opt,name=query,proto3" json:"query,omitempty"` // Possible search fields: regions, tags, name, subscription_id. Field string `protobuf:"bytes,21,opt,name=field,proto3" json:"field,omitempty"` // Node manager ID. NodeManagerId string `protobuf:"bytes,22,opt,name=node_manager_id,json=nodeManagerId,proto3" json:"node_manager_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FieldQuery) Reset() { *x = FieldQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_manager_manager_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_manager_manager_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FieldQuery) String() string { @@ -375,7 +358,7 @@ func (*FieldQuery) ProtoMessage() {} func (x *FieldQuery) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_manager_manager_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -412,23 +395,20 @@ func (x *FieldQuery) GetNodeManagerId() string { } type Nodes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of node names matching the request. Nodes []string `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // Total count of node names matching the request. - Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty"` + Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Nodes) Reset() { *x = Nodes{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_manager_manager_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_manager_manager_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Nodes) String() string { @@ -439,7 +419,7 @@ func (*Nodes) ProtoMessage() {} func (x *Nodes) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_manager_manager_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -469,23 +449,20 @@ func (x *Nodes) GetTotal() int32 { } type NodeQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Valid search filters: manager_type. Query *Query `protobuf:"bytes,20,opt,name=query,proto3" json:"query,omitempty"` // Node manager ID. NodeManagerId string `protobuf:"bytes,21,opt,name=node_manager_id,json=nodeManagerId,proto3" json:"node_manager_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeQuery) Reset() { *x = NodeQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_manager_manager_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_manager_manager_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeQuery) String() string { @@ -496,7 +473,7 @@ func (*NodeQuery) ProtoMessage() {} func (x *NodeQuery) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_manager_manager_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -526,10 +503,7 @@ func (x *NodeQuery) GetNodeManagerId() string { } type NodeManager struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // UUID for the nodemanager. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // User defined name for the node manager. @@ -555,15 +529,15 @@ type NodeManager struct { // Use 'credential_data' when you have not yet created node credentials // and provide credential data (such as AWS_ACCESS_KEY) inline. CredentialData []*query.Kv `protobuf:"bytes,26,rep,name=credential_data,json=credentialData,proto3" json:"credential_data,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeManager) Reset() { *x = NodeManager{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_manager_manager_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_manager_manager_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeManager) String() string { @@ -574,7 +548,7 @@ func (*NodeManager) ProtoMessage() {} func (x *NodeManager) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_manager_manager_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -653,25 +627,22 @@ func (x *NodeManager) GetCredentialData() []*query.Kv { } type CredentialsByTags struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Tag key to match on. TagKey string `protobuf:"bytes,20,opt,name=tag_key,json=tagKey,proto3" json:"tag_key,omitempty"` // Tag value to match on. TagValue string `protobuf:"bytes,21,opt,name=tag_value,json=tagValue,proto3" json:"tag_value,omitempty"` // List of credential ids to associate with the key/value pair. CredentialIds []string `protobuf:"bytes,22,rep,name=credential_ids,json=credentialIds,proto3" json:"credential_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CredentialsByTags) Reset() { *x = CredentialsByTags{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_manager_manager_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_manager_manager_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CredentialsByTags) String() string { @@ -682,7 +653,7 @@ func (*CredentialsByTags) ProtoMessage() {} func (x *CredentialsByTags) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_manager_manager_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -719,23 +690,20 @@ func (x *CredentialsByTags) GetCredentialIds() []string { } type NodeManagers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of nodemanagers. Managers []*NodeManager `protobuf:"bytes,1,rep,name=managers,proto3" json:"managers,omitempty"` // Total count of nodemanagers. - Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty"` + Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeManagers) Reset() { *x = NodeManagers{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_manager_manager_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_manager_manager_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeManagers) String() string { @@ -746,7 +714,7 @@ func (*NodeManagers) ProtoMessage() {} func (x *NodeManagers) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_manager_manager_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1094,7 +1062,7 @@ func file_external_nodes_manager_manager_proto_rawDescGZIP() []byte { var file_external_nodes_manager_manager_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_external_nodes_manager_manager_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_external_nodes_manager_manager_proto_goTypes = []interface{}{ +var file_external_nodes_manager_manager_proto_goTypes = []any{ (Query_OrderType)(0), // 0: chef.automate.api.nodes.manager.v1.Query.OrderType (*ConnectResponse)(nil), // 1: chef.automate.api.nodes.manager.v1.ConnectResponse (*Id)(nil), // 2: chef.automate.api.nodes.manager.v1.Id @@ -1156,140 +1124,6 @@ func file_external_nodes_manager_manager_proto_init() { if File_external_nodes_manager_manager_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_nodes_manager_manager_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConnectResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_manager_manager_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Id); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_manager_manager_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Ids); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_manager_manager_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Query); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_manager_manager_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fields); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_manager_manager_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FieldQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_manager_manager_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Nodes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_manager_manager_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_manager_manager_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeManager); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_manager_manager_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CredentialsByTags); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_manager_manager_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeManagers); 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{ diff --git a/api/external/nodes/nodes.pb.go b/api/external/nodes/nodes.pb.go index 4d79fc81cef..ff874f2a849 100644 --- a/api/external/nodes/nodes.pb.go +++ b/api/external/nodes/nodes.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/nodes/nodes.proto @@ -129,21 +129,18 @@ func (LastContactData_Status) EnumDescriptor() ([]byte, []int) { } type Id struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique node ID (UUID) - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Id) Reset() { *x = Id{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_nodes_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_nodes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Id) String() string { @@ -154,7 +151,7 @@ func (*Id) ProtoMessage() {} func (x *Id) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_nodes_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -177,21 +174,18 @@ func (x *Id) GetId() string { } type Ids struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of node UUIDs. - Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` + Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Ids) Reset() { *x = Ids{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_nodes_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_nodes_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Ids) String() string { @@ -202,7 +196,7 @@ func (*Ids) ProtoMessage() {} func (x *Ids) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_nodes_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -225,18 +219,16 @@ func (x *Ids) GetIds() []string { } type RerunResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RerunResponse) Reset() { *x = RerunResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_nodes_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_nodes_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RerunResponse) String() string { @@ -247,7 +239,7 @@ func (*RerunResponse) ProtoMessage() {} func (x *RerunResponse) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_nodes_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -263,10 +255,7 @@ func (*RerunResponse) Descriptor() ([]byte, []int) { } type Query struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Use filters to limit the set of nodes to delete. Filters []*query.Filter `protobuf:"bytes,20,rep,name=filters,proto3" json:"filters,omitempty"` Order Query_OrderType `protobuf:"varint,21,opt,name=order,proto3,enum=chef.automate.api.nodes.v1.Query_OrderType" json:"order,omitempty"` @@ -275,16 +264,16 @@ type Query struct { // Starting page for the results. Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty"` // The number of results on each page. - PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` + PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Query) Reset() { *x = Query{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_nodes_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_nodes_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Query) String() string { @@ -295,7 +284,7 @@ func (*Query) ProtoMessage() {} func (x *Query) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_nodes_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -347,10 +336,7 @@ func (x *Query) GetPerPage() int32 { // Details for ssh/winrm access of the node. type TargetConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of credential IDs for a node. Secrets []string `protobuf:"bytes,20,rep,name=secrets,proto3" json:"secrets,omitempty"` // Node backend type (ssh, winrm, aws, ssm, azure, gcp). @@ -370,16 +356,16 @@ type TargetConfig struct { // Sudo options to use when accessing the node. SudoOptions string `protobuf:"bytes,33,opt,name=sudo_options,json=sudoOptions,proto3" json:"sudo_options,omitempty"` // List of hostnames (FQDN or IP address) for bulk creating nodes. - Hosts []string `protobuf:"bytes,40,rep,name=hosts,proto3" json:"hosts,omitempty"` + Hosts []string `protobuf:"bytes,40,rep,name=hosts,proto3" json:"hosts,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TargetConfig) Reset() { *x = TargetConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_nodes_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_nodes_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TargetConfig) String() string { @@ -390,7 +376,7 @@ func (*TargetConfig) ProtoMessage() {} func (x *TargetConfig) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_nodes_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -477,10 +463,7 @@ func (x *TargetConfig) GetHosts() []string { // Node information. type Node struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique node ID (UUID). Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // User-specified node name. @@ -514,16 +497,16 @@ type Node struct { // Most recent node data from the last Chef Infra run results. RunData *LastContactData `protobuf:"bytes,29,opt,name=run_data,json=runData,proto3" json:"run_data,omitempty"` // Most recent compliance scan data for the node from the last InSpec scan. - ScanData *LastContactData `protobuf:"bytes,30,opt,name=scan_data,json=scanData,proto3" json:"scan_data,omitempty"` + ScanData *LastContactData `protobuf:"bytes,30,opt,name=scan_data,json=scanData,proto3" json:"scan_data,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Node) Reset() { *x = Node{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_nodes_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_nodes_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Node) String() string { @@ -534,7 +517,7 @@ func (*Node) ProtoMessage() {} func (x *Node) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_nodes_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -670,10 +653,7 @@ func (x *Node) GetScanData() *LastContactData { // Most recent node data from the latest Chef Infra run and InSpec scan. type LastContactData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra run report ID or InSpec scan report ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Last node report status. @@ -681,16 +661,16 @@ type LastContactData struct { // Next-to-last node status report. PenultimateStatus LastContactData_Status `protobuf:"varint,3,opt,name=penultimate_status,json=penultimateStatus,proto3,enum=chef.automate.api.nodes.v1.LastContactData_Status" json:"penultimate_status,omitempty"` // Last node report endtime. - EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LastContactData) Reset() { *x = LastContactData{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_nodes_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_nodes_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LastContactData) String() string { @@ -701,7 +681,7 @@ func (*LastContactData) ProtoMessage() {} func (x *LastContactData) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_nodes_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -745,10 +725,7 @@ func (x *LastContactData) GetEndTime() *timestamppb.Timestamp { } type Nodes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of nodes. Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // Total number of nodes in the system. @@ -758,16 +735,16 @@ type Nodes struct { // Total number of reachable nodes in the system. TotalReachable int32 `protobuf:"varint,22,opt,name=total_reachable,json=totalReachable,proto3" json:"total_reachable,omitempty"` // Total number of unknown nodes in the system. - TotalUnknown int32 `protobuf:"varint,23,opt,name=total_unknown,json=totalUnknown,proto3" json:"total_unknown,omitempty"` + TotalUnknown int32 `protobuf:"varint,23,opt,name=total_unknown,json=totalUnknown,proto3" json:"total_unknown,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Nodes) Reset() { *x = Nodes{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_nodes_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_nodes_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Nodes) String() string { @@ -778,7 +755,7 @@ func (*Nodes) ProtoMessage() {} func (x *Nodes) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_nodes_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -830,10 +807,7 @@ func (x *Nodes) GetTotalUnknown() int32 { // Summary of the last Chef InSpec scan job run on the node. type ResultsRow struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique node ID. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Unique ID of the report generated by the InSpec scan. @@ -847,16 +821,16 @@ type ResultsRow struct { // Start time on the report. StartTime *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // End time on the report. - EndTime *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ResultsRow) Reset() { *x = ResultsRow{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_nodes_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_nodes_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResultsRow) String() string { @@ -867,7 +841,7 @@ func (*ResultsRow) ProtoMessage() {} func (x *ResultsRow) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_nodes_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -932,21 +906,18 @@ func (x *ResultsRow) GetEndTime() *timestamppb.Timestamp { } type BulkDeleteResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of deleted nodes, by name. - Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *BulkDeleteResponse) Reset() { *x = BulkDeleteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_external_nodes_nodes_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_nodes_nodes_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BulkDeleteResponse) String() string { @@ -957,7 +928,7 @@ func (*BulkDeleteResponse) ProtoMessage() {} func (x *BulkDeleteResponse) ProtoReflect() protoreflect.Message { mi := &file_external_nodes_nodes_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1237,7 +1208,7 @@ func file_external_nodes_nodes_proto_rawDescGZIP() []byte { var file_external_nodes_nodes_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_external_nodes_nodes_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_external_nodes_nodes_proto_goTypes = []interface{}{ +var file_external_nodes_nodes_proto_goTypes = []any{ (Query_OrderType)(0), // 0: chef.automate.api.nodes.v1.Query.OrderType (LastContactData_Status)(0), // 1: chef.automate.api.nodes.v1.LastContactData.Status (*Id)(nil), // 2: chef.automate.api.nodes.v1.Id @@ -1300,128 +1271,6 @@ func file_external_nodes_nodes_proto_init() { if File_external_nodes_nodes_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_nodes_nodes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Id); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_nodes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Ids); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_nodes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RerunResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_nodes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Query); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_nodes_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TargetConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_nodes_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Node); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_nodes_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LastContactData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_nodes_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Nodes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_nodes_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResultsRow); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_nodes_nodes_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BulkDeleteResponse); 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{ diff --git a/api/external/report_manager/report_manager.pb.go b/api/external/report_manager/report_manager.pb.go index 505d88df436..76ec23a8ac1 100644 --- a/api/external/report_manager/report_manager.pb.go +++ b/api/external/report_manager/report_manager.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/report_manager/report_manager.proto @@ -30,20 +30,17 @@ const ( ) type ListDownloadReportRequestsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Data []*DownloadRequestResponse `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields - - Data []*DownloadRequestResponse `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListDownloadReportRequestsResponse) Reset() { *x = ListDownloadReportRequestsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_external_report_manager_report_manager_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_report_manager_report_manager_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListDownloadReportRequestsResponse) String() string { @@ -54,7 +51,7 @@ func (*ListDownloadReportRequestsResponse) ProtoMessage() {} func (x *ListDownloadReportRequestsResponse) ProtoReflect() protoreflect.Message { mi := &file_external_report_manager_report_manager_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -77,10 +74,7 @@ func (x *ListDownloadReportRequestsResponse) GetData() []*DownloadRequestRespons } type DownloadRequestResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` AcknowledgementId string `protobuf:"bytes,1,opt,name=acknowledgement_id,json=acknowledgementId,proto3" json:"acknowledgement_id,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` ReportSize int64 `protobuf:"varint,3,opt,name=report_size,json=reportSize,proto3" json:"report_size,omitempty"` @@ -89,15 +83,15 @@ type DownloadRequestResponse struct { EndedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` Duration string `protobuf:"bytes,7,opt,name=duration,proto3" json:"duration,omitempty"` ReportType string `protobuf:"bytes,8,opt,name=report_type,json=reportType,proto3" json:"report_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DownloadRequestResponse) Reset() { *x = DownloadRequestResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_external_report_manager_report_manager_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_report_manager_report_manager_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DownloadRequestResponse) String() string { @@ -108,7 +102,7 @@ func (*DownloadRequestResponse) ProtoMessage() {} func (x *DownloadRequestResponse) ProtoReflect() protoreflect.Message { mi := &file_external_report_manager_report_manager_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -180,20 +174,17 @@ func (x *DownloadRequestResponse) GetReportType() string { } type ExportFromReportManagerRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ExportFromReportManagerRequest) Reset() { *x = ExportFromReportManagerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_external_report_manager_report_manager_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_report_manager_report_manager_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExportFromReportManagerRequest) String() string { @@ -204,7 +195,7 @@ func (*ExportFromReportManagerRequest) ProtoMessage() {} func (x *ExportFromReportManagerRequest) ProtoReflect() protoreflect.Message { mi := &file_external_report_manager_report_manager_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -320,7 +311,7 @@ func file_external_report_manager_report_manager_proto_rawDescGZIP() []byte { } var file_external_report_manager_report_manager_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_external_report_manager_report_manager_proto_goTypes = []interface{}{ +var file_external_report_manager_report_manager_proto_goTypes = []any{ (*ListDownloadReportRequestsResponse)(nil), // 0: chef.automate.api.report_manager.ListDownloadReportRequestsResponse (*DownloadRequestResponse)(nil), // 1: chef.automate.api.report_manager.DownloadRequestResponse (*ExportFromReportManagerRequest)(nil), // 2: chef.automate.api.report_manager.ExportFromReportManagerRequest @@ -348,44 +339,6 @@ func file_external_report_manager_report_manager_proto_init() { if File_external_report_manager_report_manager_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_report_manager_report_manager_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDownloadReportRequestsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_report_manager_report_manager_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DownloadRequestResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_report_manager_report_manager_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExportFromReportManagerRequest); 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{ diff --git a/api/external/secrets/secrets.pb.go b/api/external/secrets/secrets.pb.go index 37ec63a37d2..ed234d9ff66 100644 --- a/api/external/secrets/secrets.pb.go +++ b/api/external/secrets/secrets.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/secrets/secrets.proto @@ -76,18 +76,16 @@ func (Query_OrderType) EnumDescriptor() ([]byte, []int) { } type UpdateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateResponse) Reset() { *x = UpdateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_external_secrets_secrets_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_secrets_secrets_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateResponse) String() string { @@ -98,7 +96,7 @@ func (*UpdateResponse) ProtoMessage() {} func (x *UpdateResponse) ProtoReflect() protoreflect.Message { mi := &file_external_secrets_secrets_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -114,18 +112,16 @@ func (*UpdateResponse) Descriptor() ([]byte, []int) { } type DeleteResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteResponse) Reset() { *x = DeleteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_external_secrets_secrets_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_secrets_secrets_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteResponse) String() string { @@ -136,7 +132,7 @@ func (*DeleteResponse) ProtoMessage() {} func (x *DeleteResponse) ProtoReflect() protoreflect.Message { mi := &file_external_secrets_secrets_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -152,21 +148,18 @@ func (*DeleteResponse) Descriptor() ([]byte, []int) { } type Id struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique node ID (UUID). - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Id) Reset() { *x = Id{} - if protoimpl.UnsafeEnabled { - mi := &file_external_secrets_secrets_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_secrets_secrets_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Id) String() string { @@ -177,7 +170,7 @@ func (*Id) ProtoMessage() {} func (x *Id) ProtoReflect() protoreflect.Message { mi := &file_external_secrets_secrets_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -200,10 +193,7 @@ func (x *Id) GetId() string { } type Query struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Use filters to limit the set of secrets. Filters []*query.Filter `protobuf:"bytes,20,rep,name=filters,proto3" json:"filters,omitempty"` Order Query_OrderType `protobuf:"varint,21,opt,name=order,proto3,enum=chef.automate.api.secrets.Query_OrderType" json:"order,omitempty"` @@ -212,16 +202,16 @@ type Query struct { // Starting page for the results. Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty"` // The number of results on each page. - PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` + PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Query) Reset() { *x = Query{} - if protoimpl.UnsafeEnabled { - mi := &file_external_secrets_secrets_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_secrets_secrets_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Query) String() string { @@ -232,7 +222,7 @@ func (*Query) ProtoMessage() {} func (x *Query) ProtoReflect() protoreflect.Message { mi := &file_external_secrets_secrets_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -283,10 +273,7 @@ func (x *Query) GetPerPage() int32 { } type Secret struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique node ID (UUID). Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // User-specified name for the secret. @@ -298,16 +285,16 @@ type Secret struct { // Tags to associate with the secret. Tags []*query.Kv `protobuf:"bytes,21,rep,name=tags,proto3" json:"tags,omitempty"` // Secret data, where the kv structs for the credential data live. - Data []*query.Kv `protobuf:"bytes,22,rep,name=data,proto3" json:"data,omitempty"` + Data []*query.Kv `protobuf:"bytes,22,rep,name=data,proto3" json:"data,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Secret) Reset() { *x = Secret{} - if protoimpl.UnsafeEnabled { - mi := &file_external_secrets_secrets_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_secrets_secrets_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Secret) String() string { @@ -318,7 +305,7 @@ func (*Secret) ProtoMessage() {} func (x *Secret) ProtoReflect() protoreflect.Message { mi := &file_external_secrets_secrets_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -376,23 +363,20 @@ func (x *Secret) GetData() []*query.Kv { } type Secrets struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of secrets. Secrets []*Secret `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"` // Total count of secrets - Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty"` + Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Secrets) Reset() { *x = Secrets{} - if protoimpl.UnsafeEnabled { - mi := &file_external_secrets_secrets_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_secrets_secrets_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Secrets) String() string { @@ -403,7 +387,7 @@ func (*Secrets) ProtoMessage() {} func (x *Secrets) ProtoReflect() protoreflect.Message { mi := &file_external_secrets_secrets_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -559,7 +543,7 @@ func file_external_secrets_secrets_proto_rawDescGZIP() []byte { var file_external_secrets_secrets_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_external_secrets_secrets_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_external_secrets_secrets_proto_goTypes = []interface{}{ +var file_external_secrets_secrets_proto_goTypes = []any{ (Query_OrderType)(0), // 0: chef.automate.api.secrets.Query.OrderType (*UpdateResponse)(nil), // 1: chef.automate.api.secrets.UpdateResponse (*DeleteResponse)(nil), // 2: chef.automate.api.secrets.DeleteResponse @@ -600,80 +584,6 @@ func file_external_secrets_secrets_proto_init() { if File_external_secrets_secrets_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_secrets_secrets_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_secrets_secrets_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_secrets_secrets_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Id); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_secrets_secrets_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Query); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_secrets_secrets_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Secret); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_secrets_secrets_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Secrets); 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{ diff --git a/api/external/user_settings/user_settings.pb.go b/api/external/user_settings/user_settings.pb.go index 95973143887..546c0aa4125 100644 --- a/api/external/user_settings/user_settings.pb.go +++ b/api/external/user_settings/user_settings.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: external/user_settings/user_settings.proto @@ -28,21 +28,18 @@ const ( ) type User struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Connector string `protobuf:"bytes,2,opt,name=connector,proto3" json:"connector,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Connector string `protobuf:"bytes,2,opt,name=connector,proto3" json:"connector,omitempty"` + sizeCache protoimpl.SizeCache } func (x *User) Reset() { *x = User{} - if protoimpl.UnsafeEnabled { - mi := &file_external_user_settings_user_settings_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_user_settings_user_settings_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *User) String() string { @@ -53,7 +50,7 @@ func (*User) ProtoMessage() {} func (x *User) ProtoReflect() protoreflect.Message { mi := &file_external_user_settings_user_settings_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -83,21 +80,18 @@ func (x *User) GetConnector() string { } type GetUserSettingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The user to get settings for - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetUserSettingsRequest) Reset() { *x = GetUserSettingsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_external_user_settings_user_settings_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_user_settings_user_settings_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserSettingsRequest) String() string { @@ -108,7 +102,7 @@ func (*GetUserSettingsRequest) ProtoMessage() {} func (x *GetUserSettingsRequest) ProtoReflect() protoreflect.Message { mi := &file_external_user_settings_user_settings_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -131,23 +125,20 @@ func (x *GetUserSettingsRequest) GetUser() *User { } type PutUserSettingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the user. Cannot be changed. Used to sign in. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // The user settings to persist. - Settings map[string]*UserSettingValue `protobuf:"bytes,2,rep,name=settings,proto3" json:"settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Settings map[string]*UserSettingValue `protobuf:"bytes,2,rep,name=settings,proto3" json:"settings,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PutUserSettingsRequest) Reset() { *x = PutUserSettingsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_external_user_settings_user_settings_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_user_settings_user_settings_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PutUserSettingsRequest) String() string { @@ -158,7 +149,7 @@ func (*PutUserSettingsRequest) ProtoMessage() {} func (x *PutUserSettingsRequest) ProtoReflect() protoreflect.Message { mi := &file_external_user_settings_user_settings_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -188,21 +179,18 @@ func (x *PutUserSettingsRequest) GetSettings() map[string]*UserSettingValue { } type DeleteUserSettingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the user. - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteUserSettingsRequest) Reset() { *x = DeleteUserSettingsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_external_user_settings_user_settings_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_user_settings_user_settings_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteUserSettingsRequest) String() string { @@ -213,7 +201,7 @@ func (*DeleteUserSettingsRequest) ProtoMessage() {} func (x *DeleteUserSettingsRequest) ProtoReflect() protoreflect.Message { mi := &file_external_user_settings_user_settings_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -236,21 +224,18 @@ func (x *DeleteUserSettingsRequest) GetUser() *User { } type GetUserSettingsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + Settings map[string]*UserSettingValue `protobuf:"bytes,2,rep,name=settings,proto3" json:"settings,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - Settings map[string]*UserSettingValue `protobuf:"bytes,2,rep,name=settings,proto3" json:"settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *GetUserSettingsResponse) Reset() { *x = GetUserSettingsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_external_user_settings_user_settings_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_user_settings_user_settings_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserSettingsResponse) String() string { @@ -261,7 +246,7 @@ func (*GetUserSettingsResponse) ProtoMessage() {} func (x *GetUserSettingsResponse) ProtoReflect() protoreflect.Message { mi := &file_external_user_settings_user_settings_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -291,20 +276,17 @@ func (x *GetUserSettingsResponse) GetSettings() map[string]*UserSettingValue { } type PutUserSettingsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` unknownFields protoimpl.UnknownFields - - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PutUserSettingsResponse) Reset() { *x = PutUserSettingsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_external_user_settings_user_settings_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_user_settings_user_settings_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PutUserSettingsResponse) String() string { @@ -315,7 +297,7 @@ func (*PutUserSettingsResponse) ProtoMessage() {} func (x *PutUserSettingsResponse) ProtoReflect() protoreflect.Message { mi := &file_external_user_settings_user_settings_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -338,10 +320,7 @@ func (x *PutUserSettingsResponse) GetUser() *User { } type UserSettingValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Default value for this setting. DefaultValue string `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // Value for this setting. @@ -349,16 +328,16 @@ type UserSettingValue struct { // Enabled Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` // Valid values for this setting. - ValidValues []string `protobuf:"bytes,4,rep,name=valid_values,json=validValues,proto3" json:"valid_values,omitempty"` + ValidValues []string `protobuf:"bytes,4,rep,name=valid_values,json=validValues,proto3" json:"valid_values,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserSettingValue) Reset() { *x = UserSettingValue{} - if protoimpl.UnsafeEnabled { - mi := &file_external_user_settings_user_settings_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_external_user_settings_user_settings_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UserSettingValue) String() string { @@ -369,7 +348,7 @@ func (*UserSettingValue) ProtoMessage() {} func (x *UserSettingValue) ProtoReflect() protoreflect.Message { mi := &file_external_user_settings_user_settings_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -559,7 +538,7 @@ func file_external_user_settings_user_settings_proto_rawDescGZIP() []byte { } var file_external_user_settings_user_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_external_user_settings_user_settings_proto_goTypes = []interface{}{ +var file_external_user_settings_user_settings_proto_goTypes = []any{ (*User)(nil), // 0: chef.automate.api.user_settings.User (*GetUserSettingsRequest)(nil), // 1: chef.automate.api.user_settings.GetUserSettingsRequest (*PutUserSettingsRequest)(nil), // 2: chef.automate.api.user_settings.PutUserSettingsRequest @@ -599,92 +578,6 @@ func file_external_user_settings_user_settings_proto_init() { if File_external_user_settings_user_settings_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_external_user_settings_user_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*User); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_user_settings_user_settings_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserSettingsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_user_settings_user_settings_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutUserSettingsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_user_settings_user_settings_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteUserSettingsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_user_settings_user_settings_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserSettingsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_user_settings_user_settings_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutUserSettingsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_external_user_settings_user_settings_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserSettingValue); 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{ diff --git a/api/interservice/authn/authenticate.pb.go b/api/interservice/authn/authenticate.pb.go index b3739879268..9b6d4f67cdb 100644 --- a/api/interservice/authn/authenticate.pb.go +++ b/api/interservice/authn/authenticate.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/authn/authenticate.proto @@ -26,18 +26,16 @@ const ( ) type AuthenticateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AuthenticateRequest) Reset() { *x = AuthenticateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authn_authenticate_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authn_authenticate_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AuthenticateRequest) String() string { @@ -48,7 +46,7 @@ func (*AuthenticateRequest) ProtoMessage() {} func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_authn_authenticate_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -64,10 +62,7 @@ func (*AuthenticateRequest) Descriptor() ([]byte, []int) { } type AuthenticateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // This could be either "user:{local,ldap,saml}:", // "tls:service: or "token:", // depending on the authentication method that was successful. @@ -75,17 +70,17 @@ type AuthenticateResponse struct { // Only human users have teams. The teams are provided either by the external // IdP (in which case they're extracted from the id_token; TODO), or, for local // users, by teams-service (TODO). - Teams []string `protobuf:"bytes,2,rep,name=teams,proto3" json:"teams,omitempty" toml:"teams,omitempty" mapstructure:"teams,omitempty"` - Requestor string `protobuf:"bytes,3,opt,name=requestor,proto3" json:"requestor,omitempty" toml:"requestor,omitempty" mapstructure:"requestor,omitempty"` + Teams []string `protobuf:"bytes,2,rep,name=teams,proto3" json:"teams,omitempty" toml:"teams,omitempty" mapstructure:"teams,omitempty"` + Requestor string `protobuf:"bytes,3,opt,name=requestor,proto3" json:"requestor,omitempty" toml:"requestor,omitempty" mapstructure:"requestor,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AuthenticateResponse) Reset() { *x = AuthenticateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authn_authenticate_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authn_authenticate_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AuthenticateResponse) String() string { @@ -96,7 +91,7 @@ func (*AuthenticateResponse) ProtoMessage() {} func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_authn_authenticate_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -179,7 +174,7 @@ func file_interservice_authn_authenticate_proto_rawDescGZIP() []byte { } var file_interservice_authn_authenticate_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_interservice_authn_authenticate_proto_goTypes = []interface{}{ +var file_interservice_authn_authenticate_proto_goTypes = []any{ (*AuthenticateRequest)(nil), // 0: chef.automate.domain.authn.AuthenticateRequest (*AuthenticateResponse)(nil), // 1: chef.automate.domain.authn.AuthenticateResponse } @@ -198,32 +193,6 @@ func file_interservice_authn_authenticate_proto_init() { if File_interservice_authn_authenticate_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_authn_authenticate_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuthenticateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authn_authenticate_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuthenticateResponse); 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{ diff --git a/api/interservice/authn/tokens.pb.go b/api/interservice/authn/tokens.pb.go index 44a9dde9a52..479d8393243 100644 --- a/api/interservice/authn/tokens.pb.go +++ b/api/interservice/authn/tokens.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/authn/tokens.proto @@ -27,23 +27,20 @@ const ( ) type CreateTokenReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty" toml:"active,omitempty" mapstructure:"active,omitempty"` + Projects []string `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty" toml:"active,omitempty" mapstructure:"active,omitempty"` - Projects []string `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateTokenReq) Reset() { *x = CreateTokenReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authn_tokens_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authn_tokens_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateTokenReq) String() string { @@ -54,7 +51,7 @@ func (*CreateTokenReq) ProtoMessage() {} func (x *CreateTokenReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authn_tokens_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -98,24 +95,21 @@ func (x *CreateTokenReq) GetProjects() []string { } type CreateTokenWithValueReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty" toml:"active,omitempty" mapstructure:"active,omitempty"` + Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` + Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty" toml:"active,omitempty" mapstructure:"active,omitempty"` - Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` - Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateTokenWithValueReq) Reset() { *x = CreateTokenWithValueReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authn_tokens_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authn_tokens_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateTokenWithValueReq) String() string { @@ -126,7 +120,7 @@ func (*CreateTokenWithValueReq) ProtoMessage() {} func (x *CreateTokenWithValueReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authn_tokens_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -177,23 +171,20 @@ func (x *CreateTokenWithValueReq) GetProjects() []string { } type UpdateTokenReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Active bool `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty" toml:"active,omitempty" mapstructure:"active,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Projects []string `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Active bool `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty" toml:"active,omitempty" mapstructure:"active,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Projects []string `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateTokenReq) Reset() { *x = UpdateTokenReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authn_tokens_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authn_tokens_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateTokenReq) String() string { @@ -204,7 +195,7 @@ func (*UpdateTokenReq) ProtoMessage() {} func (x *UpdateTokenReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authn_tokens_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -248,26 +239,23 @@ func (x *UpdateTokenReq) GetProjects() []string { } type Token struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` + Active bool `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty" toml:"active,omitempty" mapstructure:"active,omitempty"` + Created string `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty" toml:"created,omitempty" mapstructure:"created,omitempty"` + Updated string `protobuf:"bytes,6,opt,name=updated,proto3" json:"updated,omitempty" toml:"updated,omitempty" mapstructure:"updated,omitempty"` + Projects []string `protobuf:"bytes,7,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` - Active bool `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty" toml:"active,omitempty" mapstructure:"active,omitempty"` - Created string `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty" toml:"created,omitempty" mapstructure:"created,omitempty"` - Updated string `protobuf:"bytes,6,opt,name=updated,proto3" json:"updated,omitempty" toml:"updated,omitempty" mapstructure:"updated,omitempty"` - Projects []string `protobuf:"bytes,7,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Token) Reset() { *x = Token{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authn_tokens_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authn_tokens_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Token) String() string { @@ -278,7 +266,7 @@ func (*Token) ProtoMessage() {} func (x *Token) ProtoReflect() protoreflect.Message { mi := &file_interservice_authn_tokens_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -343,20 +331,17 @@ func (x *Token) GetProjects() []string { } type Tokens struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Tokens []*Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty" toml:"tokens,omitempty" mapstructure:"tokens,omitempty"` unknownFields protoimpl.UnknownFields - - Tokens []*Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty" toml:"tokens,omitempty" mapstructure:"tokens,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Tokens) Reset() { *x = Tokens{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authn_tokens_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authn_tokens_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Tokens) String() string { @@ -367,7 +352,7 @@ func (*Tokens) ProtoMessage() {} func (x *Tokens) ProtoReflect() protoreflect.Message { mi := &file_interservice_authn_tokens_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -390,20 +375,17 @@ func (x *Tokens) GetTokens() []*Token { } type Value struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` unknownFields protoimpl.UnknownFields - - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Value) Reset() { *x = Value{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authn_tokens_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authn_tokens_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Value) String() string { @@ -414,7 +396,7 @@ func (*Value) ProtoMessage() {} func (x *Value) ProtoReflect() protoreflect.Message { mi := &file_interservice_authn_tokens_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -437,20 +419,17 @@ func (x *Value) GetValue() string { } type GetTokenReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetTokenReq) Reset() { *x = GetTokenReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authn_tokens_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authn_tokens_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTokenReq) String() string { @@ -461,7 +440,7 @@ func (*GetTokenReq) ProtoMessage() {} func (x *GetTokenReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authn_tokens_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -484,18 +463,16 @@ func (x *GetTokenReq) GetId() string { } type GetTokensReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetTokensReq) Reset() { *x = GetTokensReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authn_tokens_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authn_tokens_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTokensReq) String() string { @@ -506,7 +483,7 @@ func (*GetTokensReq) ProtoMessage() {} func (x *GetTokensReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authn_tokens_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -522,20 +499,17 @@ func (*GetTokensReq) Descriptor() ([]byte, []int) { } type DeleteTokenReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteTokenReq) Reset() { *x = DeleteTokenReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authn_tokens_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authn_tokens_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteTokenReq) String() string { @@ -546,7 +520,7 @@ func (*DeleteTokenReq) ProtoMessage() {} func (x *DeleteTokenReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authn_tokens_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -569,18 +543,16 @@ func (x *DeleteTokenReq) GetId() string { } type DeleteTokenResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteTokenResp) Reset() { *x = DeleteTokenResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authn_tokens_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authn_tokens_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteTokenResp) String() string { @@ -591,7 +563,7 @@ func (*DeleteTokenResp) ProtoMessage() {} func (x *DeleteTokenResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authn_tokens_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -727,7 +699,7 @@ func file_interservice_authn_tokens_proto_rawDescGZIP() []byte { } var file_interservice_authn_tokens_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_interservice_authn_tokens_proto_goTypes = []interface{}{ +var file_interservice_authn_tokens_proto_goTypes = []any{ (*CreateTokenReq)(nil), // 0: chef.automate.domain.authn.CreateTokenReq (*CreateTokenWithValueReq)(nil), // 1: chef.automate.domain.authn.CreateTokenWithValueReq (*UpdateTokenReq)(nil), // 2: chef.automate.domain.authn.UpdateTokenReq @@ -765,128 +737,6 @@ func file_interservice_authn_tokens_proto_init() { if File_interservice_authn_tokens_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_authn_tokens_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateTokenReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authn_tokens_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateTokenWithValueReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authn_tokens_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateTokenReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authn_tokens_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Token); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authn_tokens_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Tokens); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authn_tokens_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Value); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authn_tokens_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTokenReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authn_tokens_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTokensReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authn_tokens_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTokenReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authn_tokens_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTokenResp); 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{ diff --git a/api/interservice/authz/authz.pb.go b/api/interservice/authz/authz.pb.go index e61aa961237..ce88ac3b3b6 100644 --- a/api/interservice/authz/authz.pb.go +++ b/api/interservice/authz/authz.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/authz/authz.proto @@ -28,22 +28,19 @@ const ( // TODO (tc): Keeping this around for the validation used in protoc-gen-policy/policy.go type IsAuthorizedReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Subjects []string `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty" toml:"subjects,omitempty" mapstructure:"subjects,omitempty"` + Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty" toml:"resource,omitempty" mapstructure:"resource,omitempty"` + Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"` unknownFields protoimpl.UnknownFields - - Subjects []string `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty" toml:"subjects,omitempty" mapstructure:"subjects,omitempty"` - Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty" toml:"resource,omitempty" mapstructure:"resource,omitempty"` - Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IsAuthorizedReq) Reset() { *x = IsAuthorizedReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_authz_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_authz_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsAuthorizedReq) String() string { @@ -54,7 +51,7 @@ func (*IsAuthorizedReq) ProtoMessage() {} func (x *IsAuthorizedReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_authz_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -91,18 +88,16 @@ func (x *IsAuthorizedReq) GetAction() string { } type GetVersionReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetVersionReq) Reset() { *x = GetVersionReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_authz_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_authz_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetVersionReq) String() string { @@ -113,7 +108,7 @@ func (*GetVersionReq) ProtoMessage() {} func (x *GetVersionReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_authz_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -129,23 +124,20 @@ func (*GetVersionReq) Descriptor() ([]byte, []int) { } type ProjectsAuthorizedReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Subjects []string `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty" toml:"subjects,omitempty" mapstructure:"subjects,omitempty"` - Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty" toml:"resource,omitempty" mapstructure:"resource,omitempty"` - Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"` - ProjectsFilter []string `protobuf:"bytes,4,rep,name=projects_filter,json=projectsFilter,proto3" json:"projects_filter,omitempty" toml:"projects_filter,omitempty" mapstructure:"projects_filter,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Subjects []string `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty" toml:"subjects,omitempty" mapstructure:"subjects,omitempty"` + Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty" toml:"resource,omitempty" mapstructure:"resource,omitempty"` + Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"` + ProjectsFilter []string `protobuf:"bytes,4,rep,name=projects_filter,json=projectsFilter,proto3" json:"projects_filter,omitempty" toml:"projects_filter,omitempty" mapstructure:"projects_filter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProjectsAuthorizedReq) Reset() { *x = ProjectsAuthorizedReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_authz_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_authz_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProjectsAuthorizedReq) String() string { @@ -156,7 +148,7 @@ func (*ProjectsAuthorizedReq) ProtoMessage() {} func (x *ProjectsAuthorizedReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_authz_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -200,20 +192,17 @@ func (x *ProjectsAuthorizedReq) GetProjectsFilter() []string { } type ProjectsAuthorizedResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Projects []string `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Projects []string `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProjectsAuthorizedResp) Reset() { *x = ProjectsAuthorizedResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_authz_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_authz_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProjectsAuthorizedResp) String() string { @@ -224,7 +213,7 @@ func (*ProjectsAuthorizedResp) ProtoMessage() {} func (x *ProjectsAuthorizedResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_authz_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -247,21 +236,18 @@ func (x *ProjectsAuthorizedResp) GetProjects() []string { } type FilterAuthorizedPairsReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Subjects []string `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty" toml:"subjects,omitempty" mapstructure:"subjects,omitempty"` + Pairs []*Pair `protobuf:"bytes,2,rep,name=pairs,proto3" json:"pairs,omitempty" toml:"pairs,omitempty" mapstructure:"pairs,omitempty"` unknownFields protoimpl.UnknownFields - - Subjects []string `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty" toml:"subjects,omitempty" mapstructure:"subjects,omitempty"` - Pairs []*Pair `protobuf:"bytes,2,rep,name=pairs,proto3" json:"pairs,omitempty" toml:"pairs,omitempty" mapstructure:"pairs,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FilterAuthorizedPairsReq) Reset() { *x = FilterAuthorizedPairsReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_authz_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_authz_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FilterAuthorizedPairsReq) String() string { @@ -272,7 +258,7 @@ func (*FilterAuthorizedPairsReq) ProtoMessage() {} func (x *FilterAuthorizedPairsReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_authz_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -302,20 +288,17 @@ func (x *FilterAuthorizedPairsReq) GetPairs() []*Pair { } type FilterAuthorizedPairsResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Pairs []*Pair `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty" toml:"pairs,omitempty" mapstructure:"pairs,omitempty"` unknownFields protoimpl.UnknownFields - - Pairs []*Pair `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty" toml:"pairs,omitempty" mapstructure:"pairs,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FilterAuthorizedPairsResp) Reset() { *x = FilterAuthorizedPairsResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_authz_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_authz_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FilterAuthorizedPairsResp) String() string { @@ -326,7 +309,7 @@ func (*FilterAuthorizedPairsResp) ProtoMessage() {} func (x *FilterAuthorizedPairsResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_authz_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -349,21 +332,18 @@ func (x *FilterAuthorizedPairsResp) GetPairs() []*Pair { } type Pair struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty" toml:"resource,omitempty" mapstructure:"resource,omitempty"` + Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"` unknownFields protoimpl.UnknownFields - - Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty" toml:"resource,omitempty" mapstructure:"resource,omitempty"` - Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Pair) Reset() { *x = Pair{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_authz_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_authz_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Pair) String() string { @@ -374,7 +354,7 @@ func (*Pair) ProtoMessage() {} func (x *Pair) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_authz_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -404,20 +384,17 @@ func (x *Pair) GetAction() string { } type FilterAuthorizedProjectsReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Subjects []string `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty" toml:"subjects,omitempty" mapstructure:"subjects,omitempty"` unknownFields protoimpl.UnknownFields - - Subjects []string `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty" toml:"subjects,omitempty" mapstructure:"subjects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FilterAuthorizedProjectsReq) Reset() { *x = FilterAuthorizedProjectsReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_authz_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_authz_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FilterAuthorizedProjectsReq) String() string { @@ -428,7 +405,7 @@ func (*FilterAuthorizedProjectsReq) ProtoMessage() {} func (x *FilterAuthorizedProjectsReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_authz_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -451,20 +428,17 @@ func (x *FilterAuthorizedProjectsReq) GetSubjects() []string { } type FilterAuthorizedProjectsResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Projects []string `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Projects []string `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FilterAuthorizedProjectsResp) Reset() { *x = FilterAuthorizedProjectsResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_authz_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_authz_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FilterAuthorizedProjectsResp) String() string { @@ -475,7 +449,7 @@ func (*FilterAuthorizedProjectsResp) ProtoMessage() {} func (x *FilterAuthorizedProjectsResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_authz_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -498,23 +472,20 @@ func (x *FilterAuthorizedProjectsResp) GetProjects() []string { } type ValidateProjectAssignmentReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Subjects []string `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty" toml:"subjects,omitempty" mapstructure:"subjects,omitempty"` - OldProjects []string `protobuf:"bytes,2,rep,name=old_projects,json=oldProjects,proto3" json:"old_projects,omitempty" toml:"old_projects,omitempty" mapstructure:"old_projects,omitempty"` - NewProjects []string `protobuf:"bytes,3,rep,name=new_projects,json=newProjects,proto3" json:"new_projects,omitempty" toml:"new_projects,omitempty" mapstructure:"new_projects,omitempty"` - IsUpdateRequest bool `protobuf:"varint,4,opt,name=is_update_request,json=isUpdateRequest,proto3" json:"is_update_request,omitempty" toml:"is_update_request,omitempty" mapstructure:"is_update_request,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Subjects []string `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty" toml:"subjects,omitempty" mapstructure:"subjects,omitempty"` + OldProjects []string `protobuf:"bytes,2,rep,name=old_projects,json=oldProjects,proto3" json:"old_projects,omitempty" toml:"old_projects,omitempty" mapstructure:"old_projects,omitempty"` + NewProjects []string `protobuf:"bytes,3,rep,name=new_projects,json=newProjects,proto3" json:"new_projects,omitempty" toml:"new_projects,omitempty" mapstructure:"new_projects,omitempty"` + IsUpdateRequest bool `protobuf:"varint,4,opt,name=is_update_request,json=isUpdateRequest,proto3" json:"is_update_request,omitempty" toml:"is_update_request,omitempty" mapstructure:"is_update_request,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ValidateProjectAssignmentReq) Reset() { *x = ValidateProjectAssignmentReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_authz_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_authz_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValidateProjectAssignmentReq) String() string { @@ -525,7 +496,7 @@ func (*ValidateProjectAssignmentReq) ProtoMessage() {} func (x *ValidateProjectAssignmentReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_authz_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -569,18 +540,16 @@ func (x *ValidateProjectAssignmentReq) GetIsUpdateRequest() bool { } type ValidateProjectAssignmentResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ValidateProjectAssignmentResp) Reset() { *x = ValidateProjectAssignmentResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_authz_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_authz_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValidateProjectAssignmentResp) String() string { @@ -591,7 +560,7 @@ func (*ValidateProjectAssignmentResp) ProtoMessage() {} func (x *ValidateProjectAssignmentResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_authz_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -783,7 +752,7 @@ func file_interservice_authz_authz_proto_rawDescGZIP() []byte { } var file_interservice_authz_authz_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_interservice_authz_authz_proto_goTypes = []interface{}{ +var file_interservice_authz_authz_proto_goTypes = []any{ (*IsAuthorizedReq)(nil), // 0: chef.automate.domain.authz.IsAuthorizedReq (*GetVersionReq)(nil), // 1: chef.automate.domain.authz.GetVersionReq (*ProjectsAuthorizedReq)(nil), // 2: chef.automate.domain.authz.ProjectsAuthorizedReq @@ -823,140 +792,6 @@ func file_interservice_authz_authz_proto_init() { if File_interservice_authz_authz_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_authz_authz_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsAuthorizedReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_authz_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetVersionReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_authz_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProjectsAuthorizedReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_authz_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProjectsAuthorizedResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_authz_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FilterAuthorizedPairsReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_authz_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FilterAuthorizedPairsResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_authz_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Pair); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_authz_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FilterAuthorizedProjectsReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_authz_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FilterAuthorizedProjectsResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_authz_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidateProjectAssignmentReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_authz_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidateProjectAssignmentResp); 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{ diff --git a/api/interservice/authz/policy.pb.go b/api/interservice/authz/policy.pb.go index f973af98565..9492fbbc434 100644 --- a/api/interservice/authz/policy.pb.go +++ b/api/interservice/authz/policy.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/authz/policy.proto @@ -167,25 +167,22 @@ func (Version_VersionNumber) EnumDescriptor() ([]byte, []int) { } type Policy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=chef.automate.domain.authz.Type" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + Members []string `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` + Statements []*Statement `protobuf:"bytes,5,rep,name=statements,proto3" json:"statements,omitempty" toml:"statements,omitempty" mapstructure:"statements,omitempty"` + Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=chef.automate.domain.authz.Type" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` - Members []string `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` - Statements []*Statement `protobuf:"bytes,5,rep,name=statements,proto3" json:"statements,omitempty" toml:"statements,omitempty" mapstructure:"statements,omitempty"` - Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Policy) Reset() { *x = Policy{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Policy) String() string { @@ -196,7 +193,7 @@ func (*Policy) ProtoMessage() {} func (x *Policy) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -254,24 +251,21 @@ func (x *Policy) GetProjects() []string { } type Role struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=chef.automate.domain.authz.Type" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + Actions []string `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"` + Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=chef.automate.domain.authz.Type" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` - Actions []string `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"` - Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Role) Reset() { *x = Role{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Role) String() string { @@ -282,7 +276,7 @@ func (*Role) ProtoMessage() {} func (x *Role) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -333,24 +327,21 @@ func (x *Role) GetProjects() []string { } type CreatePolicyReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Members []string `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` + Statements []*Statement `protobuf:"bytes,4,rep,name=statements,proto3" json:"statements,omitempty" toml:"statements,omitempty" mapstructure:"statements,omitempty"` + Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Members []string `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` - Statements []*Statement `protobuf:"bytes,4,rep,name=statements,proto3" json:"statements,omitempty" toml:"statements,omitempty" mapstructure:"statements,omitempty"` - Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreatePolicyReq) Reset() { *x = CreatePolicyReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreatePolicyReq) String() string { @@ -361,7 +352,7 @@ func (*CreatePolicyReq) ProtoMessage() {} func (x *CreatePolicyReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -412,20 +403,17 @@ func (x *CreatePolicyReq) GetProjects() []string { } type DeletePolicyReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeletePolicyReq) Reset() { *x = DeletePolicyReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeletePolicyReq) String() string { @@ -436,7 +424,7 @@ func (*DeletePolicyReq) ProtoMessage() {} func (x *DeletePolicyReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -459,18 +447,16 @@ func (x *DeletePolicyReq) GetId() string { } type DeletePolicyResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeletePolicyResp) Reset() { *x = DeletePolicyResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeletePolicyResp) String() string { @@ -481,7 +467,7 @@ func (*DeletePolicyResp) ProtoMessage() {} func (x *DeletePolicyResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -497,27 +483,24 @@ func (*DeletePolicyResp) Descriptor() ([]byte, []int) { } type Statement struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Effect Statement_Effect `protobuf:"varint,1,opt,name=effect,proto3,enum=chef.automate.domain.authz.Statement_Effect" json:"effect,omitempty" toml:"effect,omitempty" mapstructure:"effect,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Effect Statement_Effect `protobuf:"varint,1,opt,name=effect,proto3,enum=chef.automate.domain.authz.Statement_Effect" json:"effect,omitempty" toml:"effect,omitempty" mapstructure:"effect,omitempty"` // inline definitions Resources []string `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty" toml:"resources,omitempty" mapstructure:"resources,omitempty"` // this RE means: * OR *:verb OR svc:type:verb OR svc:* OR svc:*:verb OR svc:type:* Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"` // references - Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty" toml:"role,omitempty" mapstructure:"role,omitempty"` - Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty" toml:"role,omitempty" mapstructure:"role,omitempty"` + Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Statement) Reset() { *x = Statement{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Statement) String() string { @@ -528,7 +511,7 @@ func (*Statement) ProtoMessage() {} func (x *Statement) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -579,18 +562,16 @@ func (x *Statement) GetProjects() []string { } type ListPoliciesReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListPoliciesReq) Reset() { *x = ListPoliciesReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListPoliciesReq) String() string { @@ -601,7 +582,7 @@ func (*ListPoliciesReq) ProtoMessage() {} func (x *ListPoliciesReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -617,20 +598,17 @@ func (*ListPoliciesReq) Descriptor() ([]byte, []int) { } type ListPoliciesResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Policies []*Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty" toml:"policies,omitempty" mapstructure:"policies,omitempty"` unknownFields protoimpl.UnknownFields - - Policies []*Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty" toml:"policies,omitempty" mapstructure:"policies,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListPoliciesResp) Reset() { *x = ListPoliciesResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListPoliciesResp) String() string { @@ -641,7 +619,7 @@ func (*ListPoliciesResp) ProtoMessage() {} func (x *ListPoliciesResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -664,20 +642,17 @@ func (x *ListPoliciesResp) GetPolicies() []*Policy { } type GetPolicyReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetPolicyReq) Reset() { *x = GetPolicyReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPolicyReq) String() string { @@ -688,7 +663,7 @@ func (*GetPolicyReq) ProtoMessage() {} func (x *GetPolicyReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -713,24 +688,21 @@ func (x *GetPolicyReq) GetId() string { // Note that update does not accept a type since // users can only create custom type policies. type UpdatePolicyReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` + Statements []*Statement `protobuf:"bytes,3,rep,name=statements,proto3" json:"statements,omitempty" toml:"statements,omitempty" mapstructure:"statements,omitempty"` + Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Projects []string `protobuf:"bytes,9,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` - Statements []*Statement `protobuf:"bytes,3,rep,name=statements,proto3" json:"statements,omitempty" toml:"statements,omitempty" mapstructure:"statements,omitempty"` - Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Projects []string `protobuf:"bytes,9,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdatePolicyReq) Reset() { *x = UpdatePolicyReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdatePolicyReq) String() string { @@ -741,7 +713,7 @@ func (*UpdatePolicyReq) ProtoMessage() {} func (x *UpdatePolicyReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -792,21 +764,18 @@ func (x *UpdatePolicyReq) GetProjects() []string { } type ReplacePolicyMembersReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReplacePolicyMembersReq) Reset() { *x = ReplacePolicyMembersReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReplacePolicyMembersReq) String() string { @@ -817,7 +786,7 @@ func (*ReplacePolicyMembersReq) ProtoMessage() {} func (x *ReplacePolicyMembersReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -847,20 +816,17 @@ func (x *ReplacePolicyMembersReq) GetMembers() []string { } type ReplacePolicyMembersResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` unknownFields protoimpl.UnknownFields - - Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReplacePolicyMembersResp) Reset() { *x = ReplacePolicyMembersResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReplacePolicyMembersResp) String() string { @@ -871,7 +837,7 @@ func (*ReplacePolicyMembersResp) ProtoMessage() {} func (x *ReplacePolicyMembersResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -894,21 +860,18 @@ func (x *ReplacePolicyMembersResp) GetMembers() []string { } type AddPolicyMembersReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddPolicyMembersReq) Reset() { *x = AddPolicyMembersReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddPolicyMembersReq) String() string { @@ -919,7 +882,7 @@ func (*AddPolicyMembersReq) ProtoMessage() {} func (x *AddPolicyMembersReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -949,20 +912,17 @@ func (x *AddPolicyMembersReq) GetMembers() []string { } type AddPolicyMembersResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` unknownFields protoimpl.UnknownFields - - Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddPolicyMembersResp) Reset() { *x = AddPolicyMembersResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddPolicyMembersResp) String() string { @@ -973,7 +933,7 @@ func (*AddPolicyMembersResp) ProtoMessage() {} func (x *AddPolicyMembersResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -997,21 +957,18 @@ func (x *AddPolicyMembersResp) GetMembers() []string { // the only values that may be returned by GetPolicyVersion type Version struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Major Version_VersionNumber `protobuf:"varint,1,opt,name=major,proto3,enum=chef.automate.domain.authz.Version_VersionNumber" json:"major,omitempty" toml:"major,omitempty" mapstructure:"major,omitempty"` + Minor Version_VersionNumber `protobuf:"varint,2,opt,name=minor,proto3,enum=chef.automate.domain.authz.Version_VersionNumber" json:"minor,omitempty" toml:"minor,omitempty" mapstructure:"minor,omitempty"` unknownFields protoimpl.UnknownFields - - Major Version_VersionNumber `protobuf:"varint,1,opt,name=major,proto3,enum=chef.automate.domain.authz.Version_VersionNumber" json:"major,omitempty" toml:"major,omitempty" mapstructure:"major,omitempty"` - Minor Version_VersionNumber `protobuf:"varint,2,opt,name=minor,proto3,enum=chef.automate.domain.authz.Version_VersionNumber" json:"minor,omitempty" toml:"minor,omitempty" mapstructure:"minor,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Version) Reset() { *x = Version{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Version) String() string { @@ -1022,7 +979,7 @@ func (*Version) ProtoMessage() {} func (x *Version) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1052,18 +1009,16 @@ func (x *Version) GetMinor() Version_VersionNumber { } type GetPolicyVersionReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPolicyVersionReq) Reset() { *x = GetPolicyVersionReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPolicyVersionReq) String() string { @@ -1074,7 +1029,7 @@ func (*GetPolicyVersionReq) ProtoMessage() {} func (x *GetPolicyVersionReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1090,20 +1045,17 @@ func (*GetPolicyVersionReq) Descriptor() ([]byte, []int) { } type GetPolicyVersionResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` unknownFields protoimpl.UnknownFields - - Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetPolicyVersionResp) Reset() { *x = GetPolicyVersionResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPolicyVersionResp) String() string { @@ -1114,7 +1066,7 @@ func (*GetPolicyVersionResp) ProtoMessage() {} func (x *GetPolicyVersionResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1137,18 +1089,16 @@ func (x *GetPolicyVersionResp) GetVersion() *Version { } type ListRolesReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRolesReq) Reset() { *x = ListRolesReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRolesReq) String() string { @@ -1159,7 +1109,7 @@ func (*ListRolesReq) ProtoMessage() {} func (x *ListRolesReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1175,20 +1125,17 @@ func (*ListRolesReq) Descriptor() ([]byte, []int) { } type ListRolesResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty" toml:"roles,omitempty" mapstructure:"roles,omitempty"` unknownFields protoimpl.UnknownFields - - Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty" toml:"roles,omitempty" mapstructure:"roles,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListRolesResp) Reset() { *x = ListRolesResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRolesResp) String() string { @@ -1199,7 +1146,7 @@ func (*ListRolesResp) ProtoMessage() {} func (x *ListRolesResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1222,20 +1169,17 @@ func (x *ListRolesResp) GetRoles() []*Role { } type DeleteRoleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteRoleReq) Reset() { *x = DeleteRoleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRoleReq) String() string { @@ -1246,7 +1190,7 @@ func (*DeleteRoleReq) ProtoMessage() {} func (x *DeleteRoleReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1269,18 +1213,16 @@ func (x *DeleteRoleReq) GetId() string { } type DeleteRoleResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteRoleResp) Reset() { *x = DeleteRoleResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRoleResp) String() string { @@ -1291,7 +1233,7 @@ func (*DeleteRoleResp) ProtoMessage() {} func (x *DeleteRoleResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1307,23 +1249,20 @@ func (*DeleteRoleResp) Descriptor() ([]byte, []int) { } type UpdateRoleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"` + Projects []string `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"` - Projects []string `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateRoleReq) Reset() { *x = UpdateRoleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRoleReq) String() string { @@ -1334,7 +1273,7 @@ func (*UpdateRoleReq) ProtoMessage() {} func (x *UpdateRoleReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1378,20 +1317,17 @@ func (x *UpdateRoleReq) GetProjects() []string { } type ListPolicyMembersReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListPolicyMembersReq) Reset() { *x = ListPolicyMembersReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListPolicyMembersReq) String() string { @@ -1402,7 +1338,7 @@ func (*ListPolicyMembersReq) ProtoMessage() {} func (x *ListPolicyMembersReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1425,20 +1361,17 @@ func (x *ListPolicyMembersReq) GetId() string { } type ListPolicyMembersResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` unknownFields protoimpl.UnknownFields - - Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListPolicyMembersResp) Reset() { *x = ListPolicyMembersResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListPolicyMembersResp) String() string { @@ -1449,7 +1382,7 @@ func (*ListPolicyMembersResp) ProtoMessage() {} func (x *ListPolicyMembersResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1472,21 +1405,18 @@ func (x *ListPolicyMembersResp) GetMembers() []string { } type RemovePolicyMembersReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RemovePolicyMembersReq) Reset() { *x = RemovePolicyMembersReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemovePolicyMembersReq) String() string { @@ -1497,7 +1427,7 @@ func (*RemovePolicyMembersReq) ProtoMessage() {} func (x *RemovePolicyMembersReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1527,20 +1457,17 @@ func (x *RemovePolicyMembersReq) GetMembers() []string { } type RemovePolicyMembersResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` unknownFields protoimpl.UnknownFields - - Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RemovePolicyMembersResp) Reset() { *x = RemovePolicyMembersResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemovePolicyMembersResp) String() string { @@ -1551,7 +1478,7 @@ func (*RemovePolicyMembersResp) ProtoMessage() {} func (x *RemovePolicyMembersResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1574,21 +1501,18 @@ func (x *RemovePolicyMembersResp) GetMembers() []string { } type MigrateToV2Req struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Flag Flag `protobuf:"varint,1,opt,name=flag,proto3,enum=chef.automate.domain.authz.Flag" json:"flag,omitempty" toml:"flag,omitempty" mapstructure:"flag,omitempty"` - SkipV1Policies bool `protobuf:"varint,2,opt,name=skip_v1_policies,json=skipV1Policies,proto3" json:"skip_v1_policies,omitempty" toml:"skip_v1_policies,omitempty" mapstructure:"skip_v1_policies,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Flag Flag `protobuf:"varint,1,opt,name=flag,proto3,enum=chef.automate.domain.authz.Flag" json:"flag,omitempty" toml:"flag,omitempty" mapstructure:"flag,omitempty"` + SkipV1Policies bool `protobuf:"varint,2,opt,name=skip_v1_policies,json=skipV1Policies,proto3" json:"skip_v1_policies,omitempty" toml:"skip_v1_policies,omitempty" mapstructure:"skip_v1_policies,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MigrateToV2Req) Reset() { *x = MigrateToV2Req{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MigrateToV2Req) String() string { @@ -1599,7 +1523,7 @@ func (*MigrateToV2Req) ProtoMessage() {} func (x *MigrateToV2Req) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1629,20 +1553,17 @@ func (x *MigrateToV2Req) GetSkipV1Policies() bool { } type MigrateToV2Resp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Reports []string `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty" toml:"reports,omitempty" mapstructure:"reports,omitempty"` unknownFields protoimpl.UnknownFields - - Reports []string `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty" toml:"reports,omitempty" mapstructure:"reports,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MigrateToV2Resp) Reset() { *x = MigrateToV2Resp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MigrateToV2Resp) String() string { @@ -1653,7 +1574,7 @@ func (*MigrateToV2Resp) ProtoMessage() {} func (x *MigrateToV2Resp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1676,18 +1597,16 @@ func (x *MigrateToV2Resp) GetReports() []string { } type ResetToV1Req struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ResetToV1Req) Reset() { *x = ResetToV1Req{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetToV1Req) String() string { @@ -1698,7 +1617,7 @@ func (*ResetToV1Req) ProtoMessage() {} func (x *ResetToV1Req) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1714,18 +1633,16 @@ func (*ResetToV1Req) Descriptor() ([]byte, []int) { } type ResetToV1Resp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ResetToV1Resp) Reset() { *x = ResetToV1Resp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetToV1Resp) String() string { @@ -1736,7 +1653,7 @@ func (*ResetToV1Resp) ProtoMessage() {} func (x *ResetToV1Resp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1752,20 +1669,17 @@ func (*ResetToV1Resp) Descriptor() ([]byte, []int) { } type GetRoleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetRoleReq) Reset() { *x = GetRoleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRoleReq) String() string { @@ -1776,7 +1690,7 @@ func (*GetRoleReq) ProtoMessage() {} func (x *GetRoleReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1799,23 +1713,20 @@ func (x *GetRoleReq) GetId() string { } type CreateRoleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"` + Projects []string `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"` - Projects []string `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateRoleReq) Reset() { *x = CreateRoleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRoleReq) String() string { @@ -1826,7 +1737,7 @@ func (*CreateRoleReq) ProtoMessage() {} func (x *CreateRoleReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1870,22 +1781,19 @@ func (x *CreateRoleReq) GetProjects() []string { } type PurgeSubjectFromPoliciesReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Q: Right now, this allows purging subject wildcards (like "user:*"). // -- Do we want to restrict this to only complete subjects? - Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty" toml:"subject,omitempty" mapstructure:"subject,omitempty"` + Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty" toml:"subject,omitempty" mapstructure:"subject,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PurgeSubjectFromPoliciesReq) Reset() { *x = PurgeSubjectFromPoliciesReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PurgeSubjectFromPoliciesReq) String() string { @@ -1896,7 +1804,7 @@ func (*PurgeSubjectFromPoliciesReq) ProtoMessage() {} func (x *PurgeSubjectFromPoliciesReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1919,20 +1827,17 @@ func (x *PurgeSubjectFromPoliciesReq) GetSubject() string { } type PurgeSubjectFromPoliciesResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" toml:"ids,omitempty" mapstructure:"ids,omitempty"` // ids is IDs of modified policies unknownFields protoimpl.UnknownFields - - Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" toml:"ids,omitempty" mapstructure:"ids,omitempty"` // ids is IDs of modified policies + sizeCache protoimpl.SizeCache } func (x *PurgeSubjectFromPoliciesResp) Reset() { *x = PurgeSubjectFromPoliciesResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_policy_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_policy_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PurgeSubjectFromPoliciesResp) String() string { @@ -1943,7 +1848,7 @@ func (*PurgeSubjectFromPoliciesResp) ProtoMessage() {} func (x *PurgeSubjectFromPoliciesResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_policy_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2382,7 +2287,7 @@ func file_interservice_authz_policy_proto_rawDescGZIP() []byte { var file_interservice_authz_policy_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_interservice_authz_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 34) -var file_interservice_authz_policy_proto_goTypes = []interface{}{ +var file_interservice_authz_policy_proto_goTypes = []any{ (Flag)(0), // 0: chef.automate.domain.authz.Flag (Statement_Effect)(0), // 1: chef.automate.domain.authz.Statement.Effect (Version_VersionNumber)(0), // 2: chef.automate.domain.authz.Version.VersionNumber @@ -2480,416 +2385,6 @@ func file_interservice_authz_policy_proto_init() { return } file_interservice_authz_type_proto_init() - if !protoimpl.UnsafeEnabled { - file_interservice_authz_policy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Policy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Role); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreatePolicyReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeletePolicyReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeletePolicyResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Statement); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListPoliciesReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListPoliciesResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPolicyReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdatePolicyReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplacePolicyMembersReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplacePolicyMembersResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddPolicyMembersReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddPolicyMembersResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Version); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPolicyVersionReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPolicyVersionResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRolesReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRolesResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRoleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRoleResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRoleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListPolicyMembersReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListPolicyMembersResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemovePolicyMembersReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemovePolicyMembersResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MigrateToV2Req); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MigrateToV2Resp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetToV1Req); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetToV1Resp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRoleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRoleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PurgeSubjectFromPoliciesReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_policy_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PurgeSubjectFromPoliciesResp); 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{ diff --git a/api/interservice/authz/project.pb.go b/api/interservice/authz/project.pb.go index 1bd2add6707..292fa05d661 100644 --- a/api/interservice/authz/project.pb.go +++ b/api/interservice/authz/project.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/authz/project.proto @@ -180,23 +180,20 @@ func (ProjectRuleConditionOperators) EnumDescriptor() ([]byte, []int) { } type Project struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=chef.automate.domain.authz.Type" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=chef.automate.domain.authz.Type" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` - Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Project) Reset() { *x = Project{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Project) String() string { @@ -207,7 +204,7 @@ func (*Project) ProtoMessage() {} func (x *Project) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -253,22 +250,19 @@ func (x *Project) GetStatus() string { // Projects, unlike all other resources allowing 64 characters, // are restricted to 48 because the id serves as a base for generated policies and teams. type CreateProjectReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + SkipPolicies bool `protobuf:"varint,3,opt,name=skip_policies,json=skipPolicies,proto3" json:"skip_policies,omitempty" toml:"skip_policies,omitempty" mapstructure:"skip_policies,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - SkipPolicies bool `protobuf:"varint,3,opt,name=skip_policies,json=skipPolicies,proto3" json:"skip_policies,omitempty" toml:"skip_policies,omitempty" mapstructure:"skip_policies,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateProjectReq) Reset() { *x = CreateProjectReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateProjectReq) String() string { @@ -279,7 +273,7 @@ func (*CreateProjectReq) ProtoMessage() {} func (x *CreateProjectReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -316,20 +310,17 @@ func (x *CreateProjectReq) GetSkipPolicies() bool { } type CreateProjectResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" toml:"project,omitempty" mapstructure:"project,omitempty"` unknownFields protoimpl.UnknownFields - - Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" toml:"project,omitempty" mapstructure:"project,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateProjectResp) Reset() { *x = CreateProjectResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateProjectResp) String() string { @@ -340,7 +331,7 @@ func (*CreateProjectResp) ProtoMessage() {} func (x *CreateProjectResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -363,20 +354,17 @@ func (x *CreateProjectResp) GetProject() *Project { } type GetProjectReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetProjectReq) Reset() { *x = GetProjectReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetProjectReq) String() string { @@ -387,7 +375,7 @@ func (*GetProjectReq) ProtoMessage() {} func (x *GetProjectReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -410,20 +398,17 @@ func (x *GetProjectReq) GetId() string { } type GetProjectResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" toml:"project,omitempty" mapstructure:"project,omitempty"` unknownFields protoimpl.UnknownFields - - Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" toml:"project,omitempty" mapstructure:"project,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetProjectResp) Reset() { *x = GetProjectResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetProjectResp) String() string { @@ -434,7 +419,7 @@ func (*GetProjectResp) ProtoMessage() {} func (x *GetProjectResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -457,18 +442,16 @@ func (x *GetProjectResp) GetProject() *Project { } type ListProjectsReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListProjectsReq) Reset() { *x = ListProjectsReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListProjectsReq) String() string { @@ -479,7 +462,7 @@ func (*ListProjectsReq) ProtoMessage() {} func (x *ListProjectsReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -495,20 +478,17 @@ func (*ListProjectsReq) Descriptor() ([]byte, []int) { } type ListProjectsResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListProjectsResp) Reset() { *x = ListProjectsResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListProjectsResp) String() string { @@ -519,7 +499,7 @@ func (*ListProjectsResp) ProtoMessage() {} func (x *ListProjectsResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -542,21 +522,18 @@ func (x *ListProjectsResp) GetProjects() []*Project { } type UpdateProjectReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateProjectReq) Reset() { *x = UpdateProjectReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateProjectReq) String() string { @@ -567,7 +544,7 @@ func (*UpdateProjectReq) ProtoMessage() {} func (x *UpdateProjectReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -597,20 +574,17 @@ func (x *UpdateProjectReq) GetId() string { } type UpdateProjectResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" toml:"project,omitempty" mapstructure:"project,omitempty"` unknownFields protoimpl.UnknownFields - - Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" toml:"project,omitempty" mapstructure:"project,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateProjectResp) Reset() { *x = UpdateProjectResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateProjectResp) String() string { @@ -621,7 +595,7 @@ func (*UpdateProjectResp) ProtoMessage() {} func (x *UpdateProjectResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -644,20 +618,17 @@ func (x *UpdateProjectResp) GetProject() *Project { } type DeleteProjectReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteProjectReq) Reset() { *x = DeleteProjectReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteProjectReq) String() string { @@ -668,7 +639,7 @@ func (*DeleteProjectReq) ProtoMessage() {} func (x *DeleteProjectReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -691,18 +662,16 @@ func (x *DeleteProjectReq) GetId() string { } type DeleteProjectResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteProjectResp) Reset() { *x = DeleteProjectResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteProjectResp) String() string { @@ -713,7 +682,7 @@ func (*DeleteProjectResp) ProtoMessage() {} func (x *DeleteProjectResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -729,18 +698,16 @@ func (*DeleteProjectResp) Descriptor() ([]byte, []int) { } type ApplyRulesStartReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ApplyRulesStartReq) Reset() { *x = ApplyRulesStartReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApplyRulesStartReq) String() string { @@ -751,7 +718,7 @@ func (*ApplyRulesStartReq) ProtoMessage() {} func (x *ApplyRulesStartReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -767,18 +734,16 @@ func (*ApplyRulesStartReq) Descriptor() ([]byte, []int) { } type ApplyRulesStartResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ApplyRulesStartResp) Reset() { *x = ApplyRulesStartResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApplyRulesStartResp) String() string { @@ -789,7 +754,7 @@ func (*ApplyRulesStartResp) ProtoMessage() {} func (x *ApplyRulesStartResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -805,18 +770,16 @@ func (*ApplyRulesStartResp) Descriptor() ([]byte, []int) { } type ApplyRulesCancelReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ApplyRulesCancelReq) Reset() { *x = ApplyRulesCancelReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApplyRulesCancelReq) String() string { @@ -827,7 +790,7 @@ func (*ApplyRulesCancelReq) ProtoMessage() {} func (x *ApplyRulesCancelReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -843,18 +806,16 @@ func (*ApplyRulesCancelReq) Descriptor() ([]byte, []int) { } type ApplyRulesCancelResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ApplyRulesCancelResp) Reset() { *x = ApplyRulesCancelResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApplyRulesCancelResp) String() string { @@ -865,7 +826,7 @@ func (*ApplyRulesCancelResp) ProtoMessage() {} func (x *ApplyRulesCancelResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -881,18 +842,16 @@ func (*ApplyRulesCancelResp) Descriptor() ([]byte, []int) { } type ApplyRulesStatusReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ApplyRulesStatusReq) Reset() { *x = ApplyRulesStatusReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApplyRulesStatusReq) String() string { @@ -903,7 +862,7 @@ func (*ApplyRulesStatusReq) ProtoMessage() {} func (x *ApplyRulesStatusReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -919,25 +878,22 @@ func (*ApplyRulesStatusReq) Descriptor() ([]byte, []int) { } type ApplyRulesStatusResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty" toml:"state,omitempty" mapstructure:"state,omitempty"` EstimatedTimeComplete *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=estimated_time_complete,json=estimatedTimeComplete,proto3" json:"estimated_time_complete,omitempty" toml:"estimated_time_complete,omitempty" mapstructure:"estimated_time_complete,omitempty"` PercentageComplete float32 `protobuf:"fixed32,3,opt,name=percentage_complete,json=percentageComplete,proto3" json:"percentage_complete,omitempty" toml:"percentage_complete,omitempty" mapstructure:"percentage_complete,omitempty"` Failed bool `protobuf:"varint,4,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` FailureMessage string `protobuf:"bytes,5,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty" toml:"failure_message,omitempty" mapstructure:"failure_message,omitempty"` Cancelled bool `protobuf:"varint,6,opt,name=cancelled,proto3" json:"cancelled,omitempty" toml:"cancelled,omitempty" mapstructure:"cancelled,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ApplyRulesStatusResp) Reset() { *x = ApplyRulesStatusResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApplyRulesStatusResp) String() string { @@ -948,7 +904,7 @@ func (*ApplyRulesStatusResp) ProtoMessage() {} func (x *ApplyRulesStatusResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1006,18 +962,16 @@ func (x *ApplyRulesStatusResp) GetCancelled() bool { } type ListRulesForAllProjectsReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRulesForAllProjectsReq) Reset() { *x = ListRulesForAllProjectsReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRulesForAllProjectsReq) String() string { @@ -1028,7 +982,7 @@ func (*ListRulesForAllProjectsReq) ProtoMessage() {} func (x *ListRulesForAllProjectsReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1044,20 +998,17 @@ func (*ListRulesForAllProjectsReq) Descriptor() ([]byte, []int) { } type ListRulesForAllProjectsResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ProjectRules map[string]*ProjectRules `protobuf:"bytes,2,rep,name=project_rules,json=projectRules,proto3" json:"project_rules,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" toml:"project_rules,omitempty" mapstructure:"project_rules,omitempty"` unknownFields protoimpl.UnknownFields - - ProjectRules map[string]*ProjectRules `protobuf:"bytes,2,rep,name=project_rules,json=projectRules,proto3" json:"project_rules,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" toml:"project_rules,omitempty" mapstructure:"project_rules,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListRulesForAllProjectsResp) Reset() { *x = ListRulesForAllProjectsResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRulesForAllProjectsResp) String() string { @@ -1068,7 +1019,7 @@ func (*ListRulesForAllProjectsResp) ProtoMessage() {} func (x *ListRulesForAllProjectsResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1091,20 +1042,17 @@ func (x *ListRulesForAllProjectsResp) GetProjectRules() map[string]*ProjectRules } type ProjectRules struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Rules []*ProjectRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty" toml:"rules,omitempty" mapstructure:"rules,omitempty"` unknownFields protoimpl.UnknownFields - - Rules []*ProjectRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty" toml:"rules,omitempty" mapstructure:"rules,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProjectRules) Reset() { *x = ProjectRules{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProjectRules) String() string { @@ -1115,7 +1063,7 @@ func (*ProjectRules) ProtoMessage() {} func (x *ProjectRules) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1138,26 +1086,23 @@ func (x *ProjectRules) GetRules() []*ProjectRule { } type ProjectRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" toml:"project_id,omitempty" mapstructure:"project_id,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Type ProjectRuleTypes `protobuf:"varint,4,opt,name=type,proto3,enum=chef.automate.domain.authz.ProjectRuleTypes" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + Conditions []*Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty" toml:"conditions,omitempty" mapstructure:"conditions,omitempty"` + Deleted bool `protobuf:"varint,6,opt,name=deleted,proto3" json:"deleted,omitempty" toml:"deleted,omitempty" mapstructure:"deleted,omitempty"` + Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" toml:"project_id,omitempty" mapstructure:"project_id,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Type ProjectRuleTypes `protobuf:"varint,4,opt,name=type,proto3,enum=chef.automate.domain.authz.ProjectRuleTypes" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` - Conditions []*Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty" toml:"conditions,omitempty" mapstructure:"conditions,omitempty"` - Deleted bool `protobuf:"varint,6,opt,name=deleted,proto3" json:"deleted,omitempty" toml:"deleted,omitempty" mapstructure:"deleted,omitempty"` - Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProjectRule) Reset() { *x = ProjectRule{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProjectRule) String() string { @@ -1168,7 +1113,7 @@ func (*ProjectRule) ProtoMessage() {} func (x *ProjectRule) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1233,22 +1178,19 @@ func (x *ProjectRule) GetStatus() string { } type Condition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Attribute ProjectRuleConditionAttributes `protobuf:"varint,1,opt,name=attribute,proto3,enum=chef.automate.domain.authz.ProjectRuleConditionAttributes" json:"attribute,omitempty" toml:"attribute,omitempty" mapstructure:"attribute,omitempty"` + Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` + Operator ProjectRuleConditionOperators `protobuf:"varint,3,opt,name=operator,proto3,enum=chef.automate.domain.authz.ProjectRuleConditionOperators" json:"operator,omitempty" toml:"operator,omitempty" mapstructure:"operator,omitempty"` unknownFields protoimpl.UnknownFields - - Attribute ProjectRuleConditionAttributes `protobuf:"varint,1,opt,name=attribute,proto3,enum=chef.automate.domain.authz.ProjectRuleConditionAttributes" json:"attribute,omitempty" toml:"attribute,omitempty" mapstructure:"attribute,omitempty"` - Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` - Operator ProjectRuleConditionOperators `protobuf:"varint,3,opt,name=operator,proto3,enum=chef.automate.domain.authz.ProjectRuleConditionOperators" json:"operator,omitempty" toml:"operator,omitempty" mapstructure:"operator,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Condition) Reset() { *x = Condition{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Condition) String() string { @@ -1259,7 +1201,7 @@ func (*Condition) ProtoMessage() {} func (x *Condition) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1298,24 +1240,21 @@ func (x *Condition) GetOperator() ProjectRuleConditionOperators { // CreateRuleReq is ProjectRule, so the input is just one JSON object. Also adds // basic validation. type CreateRuleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" toml:"project_id,omitempty" mapstructure:"project_id,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Type ProjectRuleTypes `protobuf:"varint,4,opt,name=type,proto3,enum=chef.automate.domain.authz.ProjectRuleTypes" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + Conditions []*Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty" toml:"conditions,omitempty" mapstructure:"conditions,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" toml:"project_id,omitempty" mapstructure:"project_id,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Type ProjectRuleTypes `protobuf:"varint,4,opt,name=type,proto3,enum=chef.automate.domain.authz.ProjectRuleTypes" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` - Conditions []*Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty" toml:"conditions,omitempty" mapstructure:"conditions,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateRuleReq) Reset() { *x = CreateRuleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRuleReq) String() string { @@ -1326,7 +1265,7 @@ func (*CreateRuleReq) ProtoMessage() {} func (x *CreateRuleReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1377,20 +1316,17 @@ func (x *CreateRuleReq) GetConditions() []*Condition { } type CreateRuleResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Rule *ProjectRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty" toml:"rule,omitempty" mapstructure:"rule,omitempty"` unknownFields protoimpl.UnknownFields - - Rule *ProjectRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty" toml:"rule,omitempty" mapstructure:"rule,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateRuleResp) Reset() { *x = CreateRuleResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRuleResp) String() string { @@ -1401,7 +1337,7 @@ func (*CreateRuleResp) ProtoMessage() {} func (x *CreateRuleResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1424,24 +1360,21 @@ func (x *CreateRuleResp) GetRule() *ProjectRule { } type UpdateRuleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" toml:"project_id,omitempty" mapstructure:"project_id,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Type ProjectRuleTypes `protobuf:"varint,4,opt,name=type,proto3,enum=chef.automate.domain.authz.ProjectRuleTypes" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + Conditions []*Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty" toml:"conditions,omitempty" mapstructure:"conditions,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" toml:"project_id,omitempty" mapstructure:"project_id,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Type ProjectRuleTypes `protobuf:"varint,4,opt,name=type,proto3,enum=chef.automate.domain.authz.ProjectRuleTypes" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` - Conditions []*Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty" toml:"conditions,omitempty" mapstructure:"conditions,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateRuleReq) Reset() { *x = UpdateRuleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRuleReq) String() string { @@ -1452,7 +1385,7 @@ func (*UpdateRuleReq) ProtoMessage() {} func (x *UpdateRuleReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1503,20 +1436,17 @@ func (x *UpdateRuleReq) GetConditions() []*Condition { } type UpdateRuleResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Rule *ProjectRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty" toml:"rule,omitempty" mapstructure:"rule,omitempty"` unknownFields protoimpl.UnknownFields - - Rule *ProjectRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty" toml:"rule,omitempty" mapstructure:"rule,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateRuleResp) Reset() { *x = UpdateRuleResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRuleResp) String() string { @@ -1527,7 +1457,7 @@ func (*UpdateRuleResp) ProtoMessage() {} func (x *UpdateRuleResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1550,21 +1480,18 @@ func (x *UpdateRuleResp) GetRule() *ProjectRule { } type GetRuleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" toml:"project_id,omitempty" mapstructure:"project_id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" toml:"project_id,omitempty" mapstructure:"project_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetRuleReq) Reset() { *x = GetRuleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRuleReq) String() string { @@ -1575,7 +1502,7 @@ func (*GetRuleReq) ProtoMessage() {} func (x *GetRuleReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1605,20 +1532,17 @@ func (x *GetRuleReq) GetProjectId() string { } type GetRuleResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Rule *ProjectRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty" toml:"rule,omitempty" mapstructure:"rule,omitempty"` unknownFields protoimpl.UnknownFields - - Rule *ProjectRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty" toml:"rule,omitempty" mapstructure:"rule,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetRuleResp) Reset() { *x = GetRuleResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRuleResp) String() string { @@ -1629,7 +1553,7 @@ func (*GetRuleResp) ProtoMessage() {} func (x *GetRuleResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1652,20 +1576,17 @@ func (x *GetRuleResp) GetRule() *ProjectRule { } type ListRulesReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + IncludeStaged bool `protobuf:"varint,1,opt,name=include_staged,json=includeStaged,proto3" json:"include_staged,omitempty" toml:"include_staged,omitempty" mapstructure:"include_staged,omitempty"` unknownFields protoimpl.UnknownFields - - IncludeStaged bool `protobuf:"varint,1,opt,name=include_staged,json=includeStaged,proto3" json:"include_staged,omitempty" toml:"include_staged,omitempty" mapstructure:"include_staged,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListRulesReq) Reset() { *x = ListRulesReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRulesReq) String() string { @@ -1676,7 +1597,7 @@ func (*ListRulesReq) ProtoMessage() {} func (x *ListRulesReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1699,20 +1620,17 @@ func (x *ListRulesReq) GetIncludeStaged() bool { } type ListRulesResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Rules []*ProjectRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty" toml:"rules,omitempty" mapstructure:"rules,omitempty"` unknownFields protoimpl.UnknownFields - - Rules []*ProjectRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty" toml:"rules,omitempty" mapstructure:"rules,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListRulesResp) Reset() { *x = ListRulesResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRulesResp) String() string { @@ -1723,7 +1641,7 @@ func (*ListRulesResp) ProtoMessage() {} func (x *ListRulesResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1746,20 +1664,17 @@ func (x *ListRulesResp) GetRules() []*ProjectRule { } type ListRulesForProjectReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListRulesForProjectReq) Reset() { *x = ListRulesForProjectReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRulesForProjectReq) String() string { @@ -1770,7 +1685,7 @@ func (*ListRulesForProjectReq) ProtoMessage() {} func (x *ListRulesForProjectReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1793,21 +1708,18 @@ func (x *ListRulesForProjectReq) GetId() string { } type ListRulesForProjectResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Rules []*ProjectRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty" toml:"rules,omitempty" mapstructure:"rules,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Rules []*ProjectRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty" toml:"rules,omitempty" mapstructure:"rules,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListRulesForProjectResp) Reset() { *x = ListRulesForProjectResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRulesForProjectResp) String() string { @@ -1818,7 +1730,7 @@ func (*ListRulesForProjectResp) ProtoMessage() {} func (x *ListRulesForProjectResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1848,21 +1760,18 @@ func (x *ListRulesForProjectResp) GetStatus() string { } type DeleteRuleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" toml:"project_id,omitempty" mapstructure:"project_id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty" toml:"project_id,omitempty" mapstructure:"project_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteRuleReq) Reset() { *x = DeleteRuleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRuleReq) String() string { @@ -1873,7 +1782,7 @@ func (*DeleteRuleReq) ProtoMessage() {} func (x *DeleteRuleReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1903,18 +1812,16 @@ func (x *DeleteRuleReq) GetProjectId() string { } type DeleteRuleResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteRuleResp) Reset() { *x = DeleteRuleResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_authz_project_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_authz_project_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRuleResp) String() string { @@ -1925,7 +1832,7 @@ func (*DeleteRuleResp) ProtoMessage() {} func (x *DeleteRuleResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_authz_project_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2300,7 +2207,7 @@ func file_interservice_authz_project_proto_rawDescGZIP() []byte { var file_interservice_authz_project_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_interservice_authz_project_proto_msgTypes = make([]protoimpl.MessageInfo, 35) -var file_interservice_authz_project_proto_goTypes = []interface{}{ +var file_interservice_authz_project_proto_goTypes = []any{ (ProjectRuleTypes)(0), // 0: chef.automate.domain.authz.ProjectRuleTypes (ProjectRuleConditionAttributes)(0), // 1: chef.automate.domain.authz.ProjectRuleConditionAttributes (ProjectRuleConditionOperators)(0), // 2: chef.automate.domain.authz.ProjectRuleConditionOperators @@ -2410,416 +2317,6 @@ func file_interservice_authz_project_proto_init() { return } file_interservice_authz_type_proto_init() - if !protoimpl.UnsafeEnabled { - file_interservice_authz_project_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Project); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateProjectReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateProjectResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetProjectReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetProjectResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListProjectsReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListProjectsResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateProjectReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateProjectResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteProjectReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteProjectResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyRulesStartReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyRulesStartResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyRulesCancelReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyRulesCancelResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyRulesStatusReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyRulesStatusResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRulesForAllProjectsReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRulesForAllProjectsResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProjectRules); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProjectRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Condition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRuleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRuleResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRuleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRuleResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRulesReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRulesResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRulesForProjectReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRulesForProjectResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRuleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_authz_project_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRuleResp); 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{ diff --git a/api/interservice/authz/type.pb.go b/api/interservice/authz/type.pb.go index c1158d01783..a1c923f75f3 100644 --- a/api/interservice/authz/type.pb.go +++ b/api/interservice/authz/type.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/authz/type.proto @@ -94,7 +94,7 @@ func file_interservice_authz_type_proto_rawDescGZIP() []byte { } var file_interservice_authz_type_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_interservice_authz_type_proto_goTypes = []interface{}{ +var file_interservice_authz_type_proto_goTypes = []any{ (Type)(0), // 0: chef.automate.domain.authz.Type } var file_interservice_authz_type_proto_depIdxs = []int32{ diff --git a/api/interservice/cds/service/cds.pb.go b/api/interservice/cds/service/cds.pb.go index dda23020069..98fd3d114f3 100644 --- a/api/interservice/cds/service/cds.pb.go +++ b/api/interservice/cds/service/cds.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cds/service/cds.proto @@ -95,7 +95,7 @@ var file_interservice_cds_service_cds_proto_rawDesc = []byte{ 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_interservice_cds_service_cds_proto_goTypes = []interface{}{ +var file_interservice_cds_service_cds_proto_goTypes = []any{ (*version.VersionInfoRequest)(nil), // 0: chef.automate.api.common.version.VersionInfoRequest (*request.ContentItems)(nil), // 1: chef.automate.api.cds.request.ContentItems (*request.InstallContentItem)(nil), // 2: chef.automate.api.cds.request.InstallContentItem diff --git a/api/interservice/cereal/cereal.pb.go b/api/interservice/cereal/cereal.pb.go index 0aa99747e96..6c431a3801f 100644 --- a/api/interservice/cereal/cereal.pb.go +++ b/api/interservice/cereal/cereal.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cereal/cereal.proto @@ -27,23 +27,20 @@ const ( ) type Task struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Parameters []byte `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty" toml:"parameters,omitempty" mapstructure:"parameters,omitempty"` + StartAfter *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_after,json=startAfter,proto3" json:"start_after,omitempty" toml:"start_after,omitempty" mapstructure:"start_after,omitempty"` + Metadata *TaskMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty" toml:"metadata,omitempty" mapstructure:"metadata,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Parameters []byte `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty" toml:"parameters,omitempty" mapstructure:"parameters,omitempty"` - StartAfter *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_after,json=startAfter,proto3" json:"start_after,omitempty" toml:"start_after,omitempty" mapstructure:"start_after,omitempty"` - Metadata *TaskMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty" toml:"metadata,omitempty" mapstructure:"metadata,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Task) Reset() { *x = Task{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Task) String() string { @@ -54,7 +51,7 @@ func (*Task) ProtoMessage() {} func (x *Task) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -98,20 +95,17 @@ func (x *Task) GetMetadata() *TaskMetadata { } type TaskMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EnqueuedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=enqueued_at,json=enqueuedAt,proto3" json:"enqueued_at,omitempty" toml:"enqueued_at,omitempty" mapstructure:"enqueued_at,omitempty"` unknownFields protoimpl.UnknownFields - - EnqueuedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=enqueued_at,json=enqueuedAt,proto3" json:"enqueued_at,omitempty" toml:"enqueued_at,omitempty" mapstructure:"enqueued_at,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TaskMetadata) Reset() { *x = TaskMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TaskMetadata) String() string { @@ -122,7 +116,7 @@ func (*TaskMetadata) ProtoMessage() {} func (x *TaskMetadata) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -145,27 +139,24 @@ func (x *TaskMetadata) GetEnqueuedAt() *timestamppb.Timestamp { } type WorkflowInstance struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` + InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` + WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` + Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + Parameters []byte `protobuf:"bytes,5,opt,name=parameters,proto3" json:"parameters,omitempty" toml:"parameters,omitempty" mapstructure:"parameters,omitempty"` + Payload []byte `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty" toml:"payload,omitempty" mapstructure:"payload,omitempty"` + Result []byte `protobuf:"bytes,7,opt,name=result,proto3" json:"result,omitempty" toml:"result,omitempty" mapstructure:"result,omitempty"` + Err string `protobuf:"bytes,8,opt,name=err,proto3" json:"err,omitempty" toml:"err,omitempty" mapstructure:"err,omitempty"` unknownFields protoimpl.UnknownFields - - Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` - InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` - WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` - Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - Parameters []byte `protobuf:"bytes,5,opt,name=parameters,proto3" json:"parameters,omitempty" toml:"parameters,omitempty" mapstructure:"parameters,omitempty"` - Payload []byte `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty" toml:"payload,omitempty" mapstructure:"payload,omitempty"` - Result []byte `protobuf:"bytes,7,opt,name=result,proto3" json:"result,omitempty" toml:"result,omitempty" mapstructure:"result,omitempty"` - Err string `protobuf:"bytes,8,opt,name=err,proto3" json:"err,omitempty" toml:"err,omitempty" mapstructure:"err,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WorkflowInstance) Reset() { *x = WorkflowInstance{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorkflowInstance) String() string { @@ -176,7 +167,7 @@ func (*WorkflowInstance) ProtoMessage() {} func (x *WorkflowInstance) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -248,24 +239,21 @@ func (x *WorkflowInstance) GetErr() string { } type TaskResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TaskName string `protobuf:"bytes,1,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty" toml:"task_name,omitempty" mapstructure:"task_name,omitempty"` + Parameters []byte `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty" toml:"parameters,omitempty" mapstructure:"parameters,omitempty"` + Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + ErrorText string `protobuf:"bytes,4,opt,name=error_text,json=errorText,proto3" json:"error_text,omitempty" toml:"error_text,omitempty" mapstructure:"error_text,omitempty"` + Result []byte `protobuf:"bytes,5,opt,name=result,proto3" json:"result,omitempty" toml:"result,omitempty" mapstructure:"result,omitempty"` unknownFields protoimpl.UnknownFields - - TaskName string `protobuf:"bytes,1,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty" toml:"task_name,omitempty" mapstructure:"task_name,omitempty"` - Parameters []byte `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty" toml:"parameters,omitempty" mapstructure:"parameters,omitempty"` - Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - ErrorText string `protobuf:"bytes,4,opt,name=error_text,json=errorText,proto3" json:"error_text,omitempty" toml:"error_text,omitempty" mapstructure:"error_text,omitempty"` - Result []byte `protobuf:"bytes,5,opt,name=result,proto3" json:"result,omitempty" toml:"result,omitempty" mapstructure:"result,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TaskResult) Reset() { *x = TaskResult{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TaskResult) String() string { @@ -276,7 +264,7 @@ func (*TaskResult) ProtoMessage() {} func (x *TaskResult) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -327,24 +315,21 @@ func (x *TaskResult) GetResult() []byte { } type WorkflowEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` EnqueuedTaskCount int64 `protobuf:"varint,2,opt,name=enqueued_task_count,json=enqueuedTaskCount,proto3" json:"enqueued_task_count,omitempty" toml:"enqueued_task_count,omitempty" mapstructure:"enqueued_task_count,omitempty"` CompletedTaskCount int64 `protobuf:"varint,3,opt,name=completed_task_count,json=completedTaskCount,proto3" json:"completed_task_count,omitempty" toml:"completed_task_count,omitempty" mapstructure:"completed_task_count,omitempty"` TaskResult *TaskResult `protobuf:"bytes,4,opt,name=task_result,json=taskResult,proto3" json:"task_result,omitempty" toml:"task_result,omitempty" mapstructure:"task_result,omitempty"` EnqueuedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=enqueued_at,json=enqueuedAt,proto3" json:"enqueued_at,omitempty" toml:"enqueued_at,omitempty" mapstructure:"enqueued_at,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WorkflowEvent) Reset() { *x = WorkflowEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorkflowEvent) String() string { @@ -355,7 +340,7 @@ func (*WorkflowEvent) ProtoMessage() {} func (x *WorkflowEvent) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -406,26 +391,23 @@ func (x *WorkflowEvent) GetEnqueuedAt() *timestamppb.Timestamp { } type DequeueWorkflowRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Cmd: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Cmd: // // *DequeueWorkflowRequest_Dequeue_ // *DequeueWorkflowRequest_Continue_ // *DequeueWorkflowRequest_Done_ // *DequeueWorkflowRequest_Fail_ - Cmd isDequeueWorkflowRequest_Cmd `protobuf_oneof:"cmd"` + Cmd isDequeueWorkflowRequest_Cmd `protobuf_oneof:"cmd"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DequeueWorkflowRequest) Reset() { *x = DequeueWorkflowRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueWorkflowRequest) String() string { @@ -436,7 +418,7 @@ func (*DequeueWorkflowRequest) ProtoMessage() {} func (x *DequeueWorkflowRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -451,37 +433,45 @@ func (*DequeueWorkflowRequest) Descriptor() ([]byte, []int) { return file_interservice_cereal_cereal_proto_rawDescGZIP(), []int{5} } -func (m *DequeueWorkflowRequest) GetCmd() isDequeueWorkflowRequest_Cmd { - if m != nil { - return m.Cmd +func (x *DequeueWorkflowRequest) GetCmd() isDequeueWorkflowRequest_Cmd { + if x != nil { + return x.Cmd } return nil } func (x *DequeueWorkflowRequest) GetDequeue() *DequeueWorkflowRequest_Dequeue { - if x, ok := x.GetCmd().(*DequeueWorkflowRequest_Dequeue_); ok { - return x.Dequeue + if x != nil { + if x, ok := x.Cmd.(*DequeueWorkflowRequest_Dequeue_); ok { + return x.Dequeue + } } return nil } func (x *DequeueWorkflowRequest) GetContinue() *DequeueWorkflowRequest_Continue { - if x, ok := x.GetCmd().(*DequeueWorkflowRequest_Continue_); ok { - return x.Continue + if x != nil { + if x, ok := x.Cmd.(*DequeueWorkflowRequest_Continue_); ok { + return x.Continue + } } return nil } func (x *DequeueWorkflowRequest) GetDone() *DequeueWorkflowRequest_Done { - if x, ok := x.GetCmd().(*DequeueWorkflowRequest_Done_); ok { - return x.Done + if x != nil { + if x, ok := x.Cmd.(*DequeueWorkflowRequest_Done_); ok { + return x.Done + } } return nil } func (x *DequeueWorkflowRequest) GetFail() *DequeueWorkflowRequest_Fail { - if x, ok := x.GetCmd().(*DequeueWorkflowRequest_Fail_); ok { - return x.Fail + if x != nil { + if x, ok := x.Cmd.(*DequeueWorkflowRequest_Fail_); ok { + return x.Fail + } } return nil } @@ -515,26 +505,23 @@ func (*DequeueWorkflowRequest_Done_) isDequeueWorkflowRequest_Cmd() {} func (*DequeueWorkflowRequest_Fail_) isDequeueWorkflowRequest_Cmd() {} type DequeueWorkflowChunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Cmd: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Cmd: // // *DequeueWorkflowChunkRequest_Dequeue_ // *DequeueWorkflowChunkRequest_Continue_ // *DequeueWorkflowChunkRequest_Done_ // *DequeueWorkflowChunkRequest_Fail_ - Cmd isDequeueWorkflowChunkRequest_Cmd `protobuf_oneof:"cmd"` + Cmd isDequeueWorkflowChunkRequest_Cmd `protobuf_oneof:"cmd"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DequeueWorkflowChunkRequest) Reset() { *x = DequeueWorkflowChunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueWorkflowChunkRequest) String() string { @@ -545,7 +532,7 @@ func (*DequeueWorkflowChunkRequest) ProtoMessage() {} func (x *DequeueWorkflowChunkRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -560,37 +547,45 @@ func (*DequeueWorkflowChunkRequest) Descriptor() ([]byte, []int) { return file_interservice_cereal_cereal_proto_rawDescGZIP(), []int{6} } -func (m *DequeueWorkflowChunkRequest) GetCmd() isDequeueWorkflowChunkRequest_Cmd { - if m != nil { - return m.Cmd +func (x *DequeueWorkflowChunkRequest) GetCmd() isDequeueWorkflowChunkRequest_Cmd { + if x != nil { + return x.Cmd } return nil } func (x *DequeueWorkflowChunkRequest) GetDequeue() *DequeueWorkflowChunkRequest_Dequeue { - if x, ok := x.GetCmd().(*DequeueWorkflowChunkRequest_Dequeue_); ok { - return x.Dequeue + if x != nil { + if x, ok := x.Cmd.(*DequeueWorkflowChunkRequest_Dequeue_); ok { + return x.Dequeue + } } return nil } func (x *DequeueWorkflowChunkRequest) GetContinue() *DequeueWorkflowChunkRequest_Continue { - if x, ok := x.GetCmd().(*DequeueWorkflowChunkRequest_Continue_); ok { - return x.Continue + if x != nil { + if x, ok := x.Cmd.(*DequeueWorkflowChunkRequest_Continue_); ok { + return x.Continue + } } return nil } func (x *DequeueWorkflowChunkRequest) GetDone() *DequeueWorkflowChunkRequest_Done { - if x, ok := x.GetCmd().(*DequeueWorkflowChunkRequest_Done_); ok { - return x.Done + if x != nil { + if x, ok := x.Cmd.(*DequeueWorkflowChunkRequest_Done_); ok { + return x.Done + } } return nil } func (x *DequeueWorkflowChunkRequest) GetFail() *DequeueWorkflowChunkRequest_Fail { - if x, ok := x.GetCmd().(*DequeueWorkflowChunkRequest_Fail_); ok { - return x.Fail + if x != nil { + if x, ok := x.Cmd.(*DequeueWorkflowChunkRequest_Fail_); ok { + return x.Fail + } } return nil } @@ -624,25 +619,22 @@ func (*DequeueWorkflowChunkRequest_Done_) isDequeueWorkflowChunkRequest_Cmd() {} func (*DequeueWorkflowChunkRequest_Fail_) isDequeueWorkflowChunkRequest_Cmd() {} type DequeueWorkflowResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Cmd: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Cmd: // // *DequeueWorkflowResponse_Dequeue_ // *DequeueWorkflowResponse_Status_ // *DequeueWorkflowResponse_Committed_ - Cmd isDequeueWorkflowResponse_Cmd `protobuf_oneof:"cmd"` + Cmd isDequeueWorkflowResponse_Cmd `protobuf_oneof:"cmd"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DequeueWorkflowResponse) Reset() { *x = DequeueWorkflowResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueWorkflowResponse) String() string { @@ -653,7 +645,7 @@ func (*DequeueWorkflowResponse) ProtoMessage() {} func (x *DequeueWorkflowResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -668,30 +660,36 @@ func (*DequeueWorkflowResponse) Descriptor() ([]byte, []int) { return file_interservice_cereal_cereal_proto_rawDescGZIP(), []int{7} } -func (m *DequeueWorkflowResponse) GetCmd() isDequeueWorkflowResponse_Cmd { - if m != nil { - return m.Cmd +func (x *DequeueWorkflowResponse) GetCmd() isDequeueWorkflowResponse_Cmd { + if x != nil { + return x.Cmd } return nil } func (x *DequeueWorkflowResponse) GetDequeue() *DequeueWorkflowResponse_Dequeue { - if x, ok := x.GetCmd().(*DequeueWorkflowResponse_Dequeue_); ok { - return x.Dequeue + if x != nil { + if x, ok := x.Cmd.(*DequeueWorkflowResponse_Dequeue_); ok { + return x.Dequeue + } } return nil } func (x *DequeueWorkflowResponse) GetStatus() *DequeueWorkflowResponse_Status { - if x, ok := x.GetCmd().(*DequeueWorkflowResponse_Status_); ok { - return x.Status + if x != nil { + if x, ok := x.Cmd.(*DequeueWorkflowResponse_Status_); ok { + return x.Status + } } return nil } func (x *DequeueWorkflowResponse) GetCommitted() *DequeueWorkflowResponse_Committed { - if x, ok := x.GetCmd().(*DequeueWorkflowResponse_Committed_); ok { - return x.Committed + if x != nil { + if x, ok := x.Cmd.(*DequeueWorkflowResponse_Committed_); ok { + return x.Committed + } } return nil } @@ -719,20 +717,17 @@ func (*DequeueWorkflowResponse_Status_) isDequeueWorkflowResponse_Cmd() {} func (*DequeueWorkflowResponse_Committed_) isDequeueWorkflowResponse_Cmd() {} type DequeueWorkflowChunkResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty" toml:"chunk,omitempty" mapstructure:"chunk,omitempty"` unknownFields protoimpl.UnknownFields - - Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty" toml:"chunk,omitempty" mapstructure:"chunk,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DequeueWorkflowChunkResponse) Reset() { *x = DequeueWorkflowChunkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueWorkflowChunkResponse) String() string { @@ -743,7 +738,7 @@ func (*DequeueWorkflowChunkResponse) ProtoMessage() {} func (x *DequeueWorkflowChunkResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -766,23 +761,20 @@ func (x *DequeueWorkflowChunkResponse) GetChunk() []byte { } type EnqueueWorkflowRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` + InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` + WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` + Parameters []byte `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty" toml:"parameters,omitempty" mapstructure:"parameters,omitempty"` unknownFields protoimpl.UnknownFields - - Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` - InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` - WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` - Parameters []byte `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty" toml:"parameters,omitempty" mapstructure:"parameters,omitempty"` + sizeCache protoimpl.SizeCache } func (x *EnqueueWorkflowRequest) Reset() { *x = EnqueueWorkflowRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnqueueWorkflowRequest) String() string { @@ -793,7 +785,7 @@ func (*EnqueueWorkflowRequest) ProtoMessage() {} func (x *EnqueueWorkflowRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -837,18 +829,16 @@ func (x *EnqueueWorkflowRequest) GetParameters() []byte { } type EnqueueWorkflowResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EnqueueWorkflowResponse) Reset() { *x = EnqueueWorkflowResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnqueueWorkflowResponse) String() string { @@ -859,7 +849,7 @@ func (*EnqueueWorkflowResponse) ProtoMessage() {} func (x *EnqueueWorkflowResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -875,22 +865,19 @@ func (*EnqueueWorkflowResponse) Descriptor() ([]byte, []int) { } type CancelWorkflowRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` + InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` + WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` unknownFields protoimpl.UnknownFields - - Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` - InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` - WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CancelWorkflowRequest) Reset() { *x = CancelWorkflowRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CancelWorkflowRequest) String() string { @@ -901,7 +888,7 @@ func (*CancelWorkflowRequest) ProtoMessage() {} func (x *CancelWorkflowRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -938,18 +925,16 @@ func (x *CancelWorkflowRequest) GetWorkflowName() string { } type CancelWorkflowResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CancelWorkflowResponse) Reset() { *x = CancelWorkflowResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CancelWorkflowResponse) String() string { @@ -960,7 +945,7 @@ func (*CancelWorkflowResponse) ProtoMessage() {} func (x *CancelWorkflowResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -976,22 +961,19 @@ func (*CancelWorkflowResponse) Descriptor() ([]byte, []int) { } type KillWorkflowRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` + InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` + WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` unknownFields protoimpl.UnknownFields - - Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` - InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` - WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *KillWorkflowRequest) Reset() { *x = KillWorkflowRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *KillWorkflowRequest) String() string { @@ -1002,7 +984,7 @@ func (*KillWorkflowRequest) ProtoMessage() {} func (x *KillWorkflowRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1039,18 +1021,16 @@ func (x *KillWorkflowRequest) GetWorkflowName() string { } type KillWorkflowResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *KillWorkflowResponse) Reset() { *x = KillWorkflowResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *KillWorkflowResponse) String() string { @@ -1061,7 +1041,7 @@ func (*KillWorkflowResponse) ProtoMessage() {} func (x *KillWorkflowResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1077,25 +1057,22 @@ func (*KillWorkflowResponse) Descriptor() ([]byte, []int) { } type DequeueTaskRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Cmd: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Cmd: // // *DequeueTaskRequest_Dequeue_ // *DequeueTaskRequest_Succeed_ // *DequeueTaskRequest_Fail_ - Cmd isDequeueTaskRequest_Cmd `protobuf_oneof:"cmd"` + Cmd isDequeueTaskRequest_Cmd `protobuf_oneof:"cmd"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DequeueTaskRequest) Reset() { *x = DequeueTaskRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueTaskRequest) String() string { @@ -1106,7 +1083,7 @@ func (*DequeueTaskRequest) ProtoMessage() {} func (x *DequeueTaskRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1121,30 +1098,36 @@ func (*DequeueTaskRequest) Descriptor() ([]byte, []int) { return file_interservice_cereal_cereal_proto_rawDescGZIP(), []int{15} } -func (m *DequeueTaskRequest) GetCmd() isDequeueTaskRequest_Cmd { - if m != nil { - return m.Cmd +func (x *DequeueTaskRequest) GetCmd() isDequeueTaskRequest_Cmd { + if x != nil { + return x.Cmd } return nil } func (x *DequeueTaskRequest) GetDequeue() *DequeueTaskRequest_Dequeue { - if x, ok := x.GetCmd().(*DequeueTaskRequest_Dequeue_); ok { - return x.Dequeue + if x != nil { + if x, ok := x.Cmd.(*DequeueTaskRequest_Dequeue_); ok { + return x.Dequeue + } } return nil } func (x *DequeueTaskRequest) GetSucceed() *DequeueTaskRequest_Succeed { - if x, ok := x.GetCmd().(*DequeueTaskRequest_Succeed_); ok { - return x.Succeed + if x != nil { + if x, ok := x.Cmd.(*DequeueTaskRequest_Succeed_); ok { + return x.Succeed + } } return nil } func (x *DequeueTaskRequest) GetFail() *DequeueTaskRequest_Fail { - if x, ok := x.GetCmd().(*DequeueTaskRequest_Fail_); ok { - return x.Fail + if x != nil { + if x, ok := x.Cmd.(*DequeueTaskRequest_Fail_); ok { + return x.Fail + } } return nil } @@ -1172,25 +1155,22 @@ func (*DequeueTaskRequest_Succeed_) isDequeueTaskRequest_Cmd() {} func (*DequeueTaskRequest_Fail_) isDequeueTaskRequest_Cmd() {} type DequeueTaskResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Cmd: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Cmd: // // *DequeueTaskResponse_Dequeue_ // *DequeueTaskResponse_Cancel_ // *DequeueTaskResponse_Committed_ - Cmd isDequeueTaskResponse_Cmd `protobuf_oneof:"cmd"` + Cmd isDequeueTaskResponse_Cmd `protobuf_oneof:"cmd"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DequeueTaskResponse) Reset() { *x = DequeueTaskResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueTaskResponse) String() string { @@ -1201,7 +1181,7 @@ func (*DequeueTaskResponse) ProtoMessage() {} func (x *DequeueTaskResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1216,30 +1196,36 @@ func (*DequeueTaskResponse) Descriptor() ([]byte, []int) { return file_interservice_cereal_cereal_proto_rawDescGZIP(), []int{16} } -func (m *DequeueTaskResponse) GetCmd() isDequeueTaskResponse_Cmd { - if m != nil { - return m.Cmd +func (x *DequeueTaskResponse) GetCmd() isDequeueTaskResponse_Cmd { + if x != nil { + return x.Cmd } return nil } func (x *DequeueTaskResponse) GetDequeue() *DequeueTaskResponse_Dequeue { - if x, ok := x.GetCmd().(*DequeueTaskResponse_Dequeue_); ok { - return x.Dequeue + if x != nil { + if x, ok := x.Cmd.(*DequeueTaskResponse_Dequeue_); ok { + return x.Dequeue + } } return nil } func (x *DequeueTaskResponse) GetCancel() *DequeueTaskResponse_Cancel { - if x, ok := x.GetCmd().(*DequeueTaskResponse_Cancel_); ok { - return x.Cancel + if x != nil { + if x, ok := x.Cmd.(*DequeueTaskResponse_Cancel_); ok { + return x.Cancel + } } return nil } func (x *DequeueTaskResponse) GetCommitted() *DequeueTaskResponse_Committed { - if x, ok := x.GetCmd().(*DequeueTaskResponse_Committed_); ok { - return x.Committed + if x != nil { + if x, ok := x.Cmd.(*DequeueTaskResponse_Committed_); ok { + return x.Committed + } } return nil } @@ -1267,27 +1253,24 @@ func (*DequeueTaskResponse_Cancel_) isDequeueTaskResponse_Cmd() {} func (*DequeueTaskResponse_Committed_) isDequeueTaskResponse_Cmd() {} type CreateWorkflowScheduleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` + InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` + WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` + Parameters []byte `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty" toml:"parameters,omitempty" mapstructure:"parameters,omitempty"` + Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty" toml:"enabled,omitempty" mapstructure:"enabled,omitempty"` + Recurrence string `protobuf:"bytes,6,opt,name=recurrence,proto3" json:"recurrence,omitempty" toml:"recurrence,omitempty" mapstructure:"recurrence,omitempty"` + Payload []byte `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty" toml:"payload,omitempty" mapstructure:"payload,omitempty"` + NextRunAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=next_run_at,json=nextRunAt,proto3" json:"next_run_at,omitempty" toml:"next_run_at,omitempty" mapstructure:"next_run_at,omitempty"` unknownFields protoimpl.UnknownFields - - Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` - InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` - WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` - Parameters []byte `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty" toml:"parameters,omitempty" mapstructure:"parameters,omitempty"` - Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty" toml:"enabled,omitempty" mapstructure:"enabled,omitempty"` - Recurrence string `protobuf:"bytes,6,opt,name=recurrence,proto3" json:"recurrence,omitempty" toml:"recurrence,omitempty" mapstructure:"recurrence,omitempty"` - Payload []byte `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty" toml:"payload,omitempty" mapstructure:"payload,omitempty"` - NextRunAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=next_run_at,json=nextRunAt,proto3" json:"next_run_at,omitempty" toml:"next_run_at,omitempty" mapstructure:"next_run_at,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateWorkflowScheduleRequest) Reset() { *x = CreateWorkflowScheduleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateWorkflowScheduleRequest) String() string { @@ -1298,7 +1281,7 @@ func (*CreateWorkflowScheduleRequest) ProtoMessage() {} func (x *CreateWorkflowScheduleRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1370,18 +1353,16 @@ func (x *CreateWorkflowScheduleRequest) GetNextRunAt() *timestamppb.Timestamp { } type CreateWorkflowScheduleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateWorkflowScheduleResponse) Reset() { *x = CreateWorkflowScheduleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateWorkflowScheduleResponse) String() string { @@ -1392,7 +1373,7 @@ func (*CreateWorkflowScheduleResponse) ProtoMessage() {} func (x *CreateWorkflowScheduleResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1408,20 +1389,17 @@ func (*CreateWorkflowScheduleResponse) Descriptor() ([]byte, []int) { } type ListWorkflowSchedulesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` unknownFields protoimpl.UnknownFields - - Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListWorkflowSchedulesRequest) Reset() { *x = ListWorkflowSchedulesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListWorkflowSchedulesRequest) String() string { @@ -1432,7 +1410,7 @@ func (*ListWorkflowSchedulesRequest) ProtoMessage() {} func (x *ListWorkflowSchedulesRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1455,10 +1433,7 @@ func (x *ListWorkflowSchedulesRequest) GetDomain() string { } type Schedule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` @@ -1469,15 +1444,15 @@ type Schedule struct { Enabled bool `protobuf:"varint,8,opt,name=enabled,proto3" json:"enabled,omitempty" toml:"enabled,omitempty" mapstructure:"enabled,omitempty"` LastStart *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_start,json=lastStart,proto3" json:"last_start,omitempty" toml:"last_start,omitempty" mapstructure:"last_start,omitempty"` LastEnd *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_end,json=lastEnd,proto3" json:"last_end,omitempty" toml:"last_end,omitempty" mapstructure:"last_end,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Schedule) Reset() { *x = Schedule{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Schedule) String() string { @@ -1488,7 +1463,7 @@ func (*Schedule) ProtoMessage() {} func (x *Schedule) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1574,21 +1549,18 @@ func (x *Schedule) GetLastEnd() *timestamppb.Timestamp { } type ListWorkflowSchedulesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + NumSchedules int32 `protobuf:"varint,1,opt,name=num_schedules,json=numSchedules,proto3" json:"num_schedules,omitempty" toml:"num_schedules,omitempty" mapstructure:"num_schedules,omitempty"` + Schedule *Schedule `protobuf:"bytes,2,opt,name=schedule,proto3" json:"schedule,omitempty" toml:"schedule,omitempty" mapstructure:"schedule,omitempty"` unknownFields protoimpl.UnknownFields - - NumSchedules int32 `protobuf:"varint,1,opt,name=num_schedules,json=numSchedules,proto3" json:"num_schedules,omitempty" toml:"num_schedules,omitempty" mapstructure:"num_schedules,omitempty"` - Schedule *Schedule `protobuf:"bytes,2,opt,name=schedule,proto3" json:"schedule,omitempty" toml:"schedule,omitempty" mapstructure:"schedule,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListWorkflowSchedulesResponse) Reset() { *x = ListWorkflowSchedulesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListWorkflowSchedulesResponse) String() string { @@ -1599,7 +1571,7 @@ func (*ListWorkflowSchedulesResponse) ProtoMessage() {} func (x *ListWorkflowSchedulesResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1629,22 +1601,19 @@ func (x *ListWorkflowSchedulesResponse) GetSchedule() *Schedule { } type GetWorkflowScheduleByNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` + InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` + WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` unknownFields protoimpl.UnknownFields - - Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` - InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` - WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetWorkflowScheduleByNameRequest) Reset() { *x = GetWorkflowScheduleByNameRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetWorkflowScheduleByNameRequest) String() string { @@ -1655,7 +1624,7 @@ func (*GetWorkflowScheduleByNameRequest) ProtoMessage() {} func (x *GetWorkflowScheduleByNameRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1692,20 +1661,17 @@ func (x *GetWorkflowScheduleByNameRequest) GetWorkflowName() string { } type GetWorkflowScheduleByNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Schedule *Schedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty" toml:"schedule,omitempty" mapstructure:"schedule,omitempty"` unknownFields protoimpl.UnknownFields - - Schedule *Schedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty" toml:"schedule,omitempty" mapstructure:"schedule,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetWorkflowScheduleByNameResponse) Reset() { *x = GetWorkflowScheduleByNameResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetWorkflowScheduleByNameResponse) String() string { @@ -1716,7 +1682,7 @@ func (*GetWorkflowScheduleByNameResponse) ProtoMessage() {} func (x *GetWorkflowScheduleByNameResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1739,26 +1705,23 @@ func (x *GetWorkflowScheduleByNameResponse) GetSchedule() *Schedule { } type UpdateWorkflowScheduleByNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` + InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` + WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` + Enabled *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=enabled,proto3" json:"enabled,omitempty" toml:"enabled,omitempty" mapstructure:"enabled,omitempty"` + Parameters *wrapperspb.BytesValue `protobuf:"bytes,5,opt,name=parameters,proto3" json:"parameters,omitempty" toml:"parameters,omitempty" mapstructure:"parameters,omitempty"` + Recurrence *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=recurrence,proto3" json:"recurrence,omitempty" toml:"recurrence,omitempty" mapstructure:"recurrence,omitempty"` + NextRunAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=next_run_at,json=nextRunAt,proto3" json:"next_run_at,omitempty" toml:"next_run_at,omitempty" mapstructure:"next_run_at,omitempty"` unknownFields protoimpl.UnknownFields - - Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` - InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` - WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=enabled,proto3" json:"enabled,omitempty" toml:"enabled,omitempty" mapstructure:"enabled,omitempty"` - Parameters *wrapperspb.BytesValue `protobuf:"bytes,5,opt,name=parameters,proto3" json:"parameters,omitempty" toml:"parameters,omitempty" mapstructure:"parameters,omitempty"` - Recurrence *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=recurrence,proto3" json:"recurrence,omitempty" toml:"recurrence,omitempty" mapstructure:"recurrence,omitempty"` - NextRunAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=next_run_at,json=nextRunAt,proto3" json:"next_run_at,omitempty" toml:"next_run_at,omitempty" mapstructure:"next_run_at,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateWorkflowScheduleByNameRequest) Reset() { *x = UpdateWorkflowScheduleByNameRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateWorkflowScheduleByNameRequest) String() string { @@ -1769,7 +1732,7 @@ func (*UpdateWorkflowScheduleByNameRequest) ProtoMessage() {} func (x *UpdateWorkflowScheduleByNameRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1834,18 +1797,16 @@ func (x *UpdateWorkflowScheduleByNameRequest) GetNextRunAt() *timestamppb.Timest } type UpdateWorkflowScheduleByNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateWorkflowScheduleByNameResponse) Reset() { *x = UpdateWorkflowScheduleByNameResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateWorkflowScheduleByNameResponse) String() string { @@ -1856,7 +1817,7 @@ func (*UpdateWorkflowScheduleByNameResponse) ProtoMessage() {} func (x *UpdateWorkflowScheduleByNameResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1872,22 +1833,19 @@ func (*UpdateWorkflowScheduleByNameResponse) Descriptor() ([]byte, []int) { } type GetWorkflowInstanceByNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` + InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` + WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` unknownFields protoimpl.UnknownFields - - Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` - InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` - WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetWorkflowInstanceByNameRequest) Reset() { *x = GetWorkflowInstanceByNameRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetWorkflowInstanceByNameRequest) String() string { @@ -1898,7 +1856,7 @@ func (*GetWorkflowInstanceByNameRequest) ProtoMessage() {} func (x *GetWorkflowInstanceByNameRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1935,20 +1893,17 @@ func (x *GetWorkflowInstanceByNameRequest) GetWorkflowName() string { } type GetWorkflowInstanceByNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkflowInstance *WorkflowInstance `protobuf:"bytes,1,opt,name=workflow_instance,json=workflowInstance,proto3" json:"workflow_instance,omitempty" toml:"workflow_instance,omitempty" mapstructure:"workflow_instance,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + WorkflowInstance *WorkflowInstance `protobuf:"bytes,1,opt,name=workflow_instance,json=workflowInstance,proto3" json:"workflow_instance,omitempty" toml:"workflow_instance,omitempty" mapstructure:"workflow_instance,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetWorkflowInstanceByNameResponse) Reset() { *x = GetWorkflowInstanceByNameResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetWorkflowInstanceByNameResponse) String() string { @@ -1959,7 +1914,7 @@ func (*GetWorkflowInstanceByNameResponse) ProtoMessage() {} func (x *GetWorkflowInstanceByNameResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1982,23 +1937,20 @@ func (x *GetWorkflowInstanceByNameResponse) GetWorkflowInstance() *WorkflowInsta } type ListWorkflowInstancesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` + WorkflowName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` + InstanceName *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` + IsRunning *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=is_running,json=isRunning,proto3" json:"is_running,omitempty" toml:"is_running,omitempty" mapstructure:"is_running,omitempty"` unknownFields protoimpl.UnknownFields - - Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` - WorkflowName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` - InstanceName *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` - IsRunning *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=is_running,json=isRunning,proto3" json:"is_running,omitempty" toml:"is_running,omitempty" mapstructure:"is_running,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListWorkflowInstancesRequest) Reset() { *x = ListWorkflowInstancesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListWorkflowInstancesRequest) String() string { @@ -2009,7 +1961,7 @@ func (*ListWorkflowInstancesRequest) ProtoMessage() {} func (x *ListWorkflowInstancesRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2053,20 +2005,17 @@ func (x *ListWorkflowInstancesRequest) GetIsRunning() *wrapperspb.BoolValue { } type ListWorkflowInstancesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkflowInstance *WorkflowInstance `protobuf:"bytes,1,opt,name=workflow_instance,json=workflowInstance,proto3" json:"workflow_instance,omitempty" toml:"workflow_instance,omitempty" mapstructure:"workflow_instance,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + WorkflowInstance *WorkflowInstance `protobuf:"bytes,1,opt,name=workflow_instance,json=workflowInstance,proto3" json:"workflow_instance,omitempty" toml:"workflow_instance,omitempty" mapstructure:"workflow_instance,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListWorkflowInstancesResponse) Reset() { *x = ListWorkflowInstancesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListWorkflowInstancesResponse) String() string { @@ -2077,7 +2026,7 @@ func (*ListWorkflowInstancesResponse) ProtoMessage() {} func (x *ListWorkflowInstancesResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2100,21 +2049,18 @@ func (x *ListWorkflowInstancesResponse) GetWorkflowInstance() *WorkflowInstance } type DequeueWorkflowRequest_Dequeue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` + WorkflowNames []string `protobuf:"bytes,2,rep,name=workflow_names,json=workflowNames,proto3" json:"workflow_names,omitempty" toml:"workflow_names,omitempty" mapstructure:"workflow_names,omitempty"` unknownFields protoimpl.UnknownFields - - Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` - WorkflowNames []string `protobuf:"bytes,2,rep,name=workflow_names,json=workflowNames,proto3" json:"workflow_names,omitempty" toml:"workflow_names,omitempty" mapstructure:"workflow_names,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DequeueWorkflowRequest_Dequeue) Reset() { *x = DequeueWorkflowRequest_Dequeue{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueWorkflowRequest_Dequeue) String() string { @@ -2125,7 +2071,7 @@ func (*DequeueWorkflowRequest_Dequeue) ProtoMessage() {} func (x *DequeueWorkflowRequest_Dequeue) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2155,21 +2101,18 @@ func (x *DequeueWorkflowRequest_Dequeue) GetWorkflowNames() []string { } type DequeueWorkflowRequest_Continue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty" toml:"payload,omitempty" mapstructure:"payload,omitempty"` + Tasks []*Task `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks,omitempty" toml:"tasks,omitempty" mapstructure:"tasks,omitempty"` unknownFields protoimpl.UnknownFields - - Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty" toml:"payload,omitempty" mapstructure:"payload,omitempty"` - Tasks []*Task `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks,omitempty" toml:"tasks,omitempty" mapstructure:"tasks,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DequeueWorkflowRequest_Continue) Reset() { *x = DequeueWorkflowRequest_Continue{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueWorkflowRequest_Continue) String() string { @@ -2180,7 +2123,7 @@ func (*DequeueWorkflowRequest_Continue) ProtoMessage() {} func (x *DequeueWorkflowRequest_Continue) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2210,20 +2153,17 @@ func (x *DequeueWorkflowRequest_Continue) GetTasks() []*Task { } type DequeueWorkflowRequest_Fail struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty" toml:"err,omitempty" mapstructure:"err,omitempty"` unknownFields protoimpl.UnknownFields - - Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty" toml:"err,omitempty" mapstructure:"err,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DequeueWorkflowRequest_Fail) Reset() { *x = DequeueWorkflowRequest_Fail{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueWorkflowRequest_Fail) String() string { @@ -2234,7 +2174,7 @@ func (*DequeueWorkflowRequest_Fail) ProtoMessage() {} func (x *DequeueWorkflowRequest_Fail) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2257,20 +2197,17 @@ func (x *DequeueWorkflowRequest_Fail) GetErr() string { } type DequeueWorkflowRequest_Done struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty" toml:"result,omitempty" mapstructure:"result,omitempty"` unknownFields protoimpl.UnknownFields - - Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty" toml:"result,omitempty" mapstructure:"result,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DequeueWorkflowRequest_Done) Reset() { *x = DequeueWorkflowRequest_Done{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueWorkflowRequest_Done) String() string { @@ -2281,7 +2218,7 @@ func (*DequeueWorkflowRequest_Done) ProtoMessage() {} func (x *DequeueWorkflowRequest_Done) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2304,21 +2241,18 @@ func (x *DequeueWorkflowRequest_Done) GetResult() []byte { } type DequeueWorkflowChunkRequest_Dequeue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` + WorkflowNames []string `protobuf:"bytes,2,rep,name=workflow_names,json=workflowNames,proto3" json:"workflow_names,omitempty" toml:"workflow_names,omitempty" mapstructure:"workflow_names,omitempty"` unknownFields protoimpl.UnknownFields - - Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` - WorkflowNames []string `protobuf:"bytes,2,rep,name=workflow_names,json=workflowNames,proto3" json:"workflow_names,omitempty" toml:"workflow_names,omitempty" mapstructure:"workflow_names,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DequeueWorkflowChunkRequest_Dequeue) Reset() { *x = DequeueWorkflowChunkRequest_Dequeue{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueWorkflowChunkRequest_Dequeue) String() string { @@ -2329,7 +2263,7 @@ func (*DequeueWorkflowChunkRequest_Dequeue) ProtoMessage() {} func (x *DequeueWorkflowChunkRequest_Dequeue) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2359,21 +2293,18 @@ func (x *DequeueWorkflowChunkRequest_Dequeue) GetWorkflowNames() []string { } type DequeueWorkflowChunkRequest_Continue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty" toml:"payload,omitempty" mapstructure:"payload,omitempty"` + Tasks []*Task `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks,omitempty" toml:"tasks,omitempty" mapstructure:"tasks,omitempty"` unknownFields protoimpl.UnknownFields - - Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty" toml:"payload,omitempty" mapstructure:"payload,omitempty"` - Tasks []*Task `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks,omitempty" toml:"tasks,omitempty" mapstructure:"tasks,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DequeueWorkflowChunkRequest_Continue) Reset() { *x = DequeueWorkflowChunkRequest_Continue{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueWorkflowChunkRequest_Continue) String() string { @@ -2384,7 +2315,7 @@ func (*DequeueWorkflowChunkRequest_Continue) ProtoMessage() {} func (x *DequeueWorkflowChunkRequest_Continue) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2414,20 +2345,17 @@ func (x *DequeueWorkflowChunkRequest_Continue) GetTasks() []*Task { } type DequeueWorkflowChunkRequest_Fail struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty" toml:"err,omitempty" mapstructure:"err,omitempty"` unknownFields protoimpl.UnknownFields - - Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty" toml:"err,omitempty" mapstructure:"err,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DequeueWorkflowChunkRequest_Fail) Reset() { *x = DequeueWorkflowChunkRequest_Fail{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueWorkflowChunkRequest_Fail) String() string { @@ -2438,7 +2366,7 @@ func (*DequeueWorkflowChunkRequest_Fail) ProtoMessage() {} func (x *DequeueWorkflowChunkRequest_Fail) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2461,20 +2389,17 @@ func (x *DequeueWorkflowChunkRequest_Fail) GetErr() string { } type DequeueWorkflowChunkRequest_Done struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty" toml:"result,omitempty" mapstructure:"result,omitempty"` unknownFields protoimpl.UnknownFields - - Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty" toml:"result,omitempty" mapstructure:"result,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DequeueWorkflowChunkRequest_Done) Reset() { *x = DequeueWorkflowChunkRequest_Done{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueWorkflowChunkRequest_Done) String() string { @@ -2485,7 +2410,7 @@ func (*DequeueWorkflowChunkRequest_Done) ProtoMessage() {} func (x *DequeueWorkflowChunkRequest_Done) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2508,21 +2433,18 @@ func (x *DequeueWorkflowChunkRequest_Done) GetResult() []byte { } type DequeueWorkflowResponse_Dequeue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Instance *WorkflowInstance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty" toml:"instance,omitempty" mapstructure:"instance,omitempty"` + Event *WorkflowEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty" toml:"event,omitempty" mapstructure:"event,omitempty"` unknownFields protoimpl.UnknownFields - - Instance *WorkflowInstance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty" toml:"instance,omitempty" mapstructure:"instance,omitempty"` - Event *WorkflowEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty" toml:"event,omitempty" mapstructure:"event,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DequeueWorkflowResponse_Dequeue) Reset() { *x = DequeueWorkflowResponse_Dequeue{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueWorkflowResponse_Dequeue) String() string { @@ -2533,7 +2455,7 @@ func (*DequeueWorkflowResponse_Dequeue) ProtoMessage() {} func (x *DequeueWorkflowResponse_Dequeue) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2563,20 +2485,17 @@ func (x *DequeueWorkflowResponse_Dequeue) GetEvent() *WorkflowEvent { } type DequeueWorkflowResponse_Status struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty" toml:"err,omitempty" mapstructure:"err,omitempty"` unknownFields protoimpl.UnknownFields - - Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty" toml:"err,omitempty" mapstructure:"err,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DequeueWorkflowResponse_Status) Reset() { *x = DequeueWorkflowResponse_Status{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueWorkflowResponse_Status) String() string { @@ -2587,7 +2506,7 @@ func (*DequeueWorkflowResponse_Status) ProtoMessage() {} func (x *DequeueWorkflowResponse_Status) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2610,18 +2529,16 @@ func (x *DequeueWorkflowResponse_Status) GetErr() string { } type DequeueWorkflowResponse_Committed struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DequeueWorkflowResponse_Committed) Reset() { *x = DequeueWorkflowResponse_Committed{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueWorkflowResponse_Committed) String() string { @@ -2632,7 +2549,7 @@ func (*DequeueWorkflowResponse_Committed) ProtoMessage() {} func (x *DequeueWorkflowResponse_Committed) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2648,21 +2565,18 @@ func (*DequeueWorkflowResponse_Committed) Descriptor() ([]byte, []int) { } type DequeueTaskRequest_Dequeue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` + TaskName string `protobuf:"bytes,2,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty" toml:"task_name,omitempty" mapstructure:"task_name,omitempty"` unknownFields protoimpl.UnknownFields - - Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty" toml:"domain,omitempty" mapstructure:"domain,omitempty"` - TaskName string `protobuf:"bytes,2,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty" toml:"task_name,omitempty" mapstructure:"task_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DequeueTaskRequest_Dequeue) Reset() { *x = DequeueTaskRequest_Dequeue{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueTaskRequest_Dequeue) String() string { @@ -2673,7 +2587,7 @@ func (*DequeueTaskRequest_Dequeue) ProtoMessage() {} func (x *DequeueTaskRequest_Dequeue) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2703,20 +2617,17 @@ func (x *DequeueTaskRequest_Dequeue) GetTaskName() string { } type DequeueTaskRequest_Fail struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty" toml:"error,omitempty" mapstructure:"error,omitempty"` unknownFields protoimpl.UnknownFields - - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty" toml:"error,omitempty" mapstructure:"error,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DequeueTaskRequest_Fail) Reset() { *x = DequeueTaskRequest_Fail{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueTaskRequest_Fail) String() string { @@ -2727,7 +2638,7 @@ func (*DequeueTaskRequest_Fail) ProtoMessage() {} func (x *DequeueTaskRequest_Fail) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2750,20 +2661,17 @@ func (x *DequeueTaskRequest_Fail) GetError() string { } type DequeueTaskRequest_Succeed struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty" toml:"result,omitempty" mapstructure:"result,omitempty"` unknownFields protoimpl.UnknownFields - - Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty" toml:"result,omitempty" mapstructure:"result,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DequeueTaskRequest_Succeed) Reset() { *x = DequeueTaskRequest_Succeed{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueTaskRequest_Succeed) String() string { @@ -2774,7 +2682,7 @@ func (*DequeueTaskRequest_Succeed) ProtoMessage() {} func (x *DequeueTaskRequest_Succeed) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2797,20 +2705,17 @@ func (x *DequeueTaskRequest_Succeed) GetResult() []byte { } type DequeueTaskResponse_Dequeue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty" toml:"task,omitempty" mapstructure:"task,omitempty"` unknownFields protoimpl.UnknownFields - - Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty" toml:"task,omitempty" mapstructure:"task,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DequeueTaskResponse_Dequeue) Reset() { *x = DequeueTaskResponse_Dequeue{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueTaskResponse_Dequeue) String() string { @@ -2821,7 +2726,7 @@ func (*DequeueTaskResponse_Dequeue) ProtoMessage() {} func (x *DequeueTaskResponse_Dequeue) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2844,20 +2749,17 @@ func (x *DequeueTaskResponse_Dequeue) GetTask() *Task { } type DequeueTaskResponse_Cancel struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty" toml:"err,omitempty" mapstructure:"err,omitempty"` unknownFields protoimpl.UnknownFields - - Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty" toml:"err,omitempty" mapstructure:"err,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DequeueTaskResponse_Cancel) Reset() { *x = DequeueTaskResponse_Cancel{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueTaskResponse_Cancel) String() string { @@ -2868,7 +2770,7 @@ func (*DequeueTaskResponse_Cancel) ProtoMessage() {} func (x *DequeueTaskResponse_Cancel) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2891,18 +2793,16 @@ func (x *DequeueTaskResponse_Cancel) GetErr() string { } type DequeueTaskResponse_Committed struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DequeueTaskResponse_Committed) Reset() { *x = DequeueTaskResponse_Committed{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cereal_cereal_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cereal_cereal_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DequeueTaskResponse_Committed) String() string { @@ -2913,7 +2813,7 @@ func (*DequeueTaskResponse_Committed) ProtoMessage() {} func (x *DequeueTaskResponse_Committed) ProtoReflect() protoreflect.Message { mi := &file_interservice_cereal_cereal_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3454,7 +3354,7 @@ func file_interservice_cereal_cereal_proto_rawDescGZIP() []byte { } var file_interservice_cereal_cereal_proto_msgTypes = make([]protoimpl.MessageInfo, 47) -var file_interservice_cereal_cereal_proto_goTypes = []interface{}{ +var file_interservice_cereal_cereal_proto_goTypes = []any{ (*Task)(nil), // 0: chef.automate.infra.cereal.Task (*TaskMetadata)(nil), // 1: chef.automate.infra.cereal.TaskMetadata (*WorkflowInstance)(nil), // 2: chef.automate.infra.cereal.WorkflowInstance @@ -3587,595 +3487,29 @@ func file_interservice_cereal_cereal_proto_init() { if File_interservice_cereal_cereal_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_cereal_cereal_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Task); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TaskMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkflowInstance); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TaskResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkflowEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueWorkflowRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueWorkflowChunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueWorkflowResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueWorkflowChunkResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnqueueWorkflowRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnqueueWorkflowResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CancelWorkflowRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CancelWorkflowResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KillWorkflowRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KillWorkflowResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueTaskRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueTaskResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateWorkflowScheduleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateWorkflowScheduleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListWorkflowSchedulesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Schedule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListWorkflowSchedulesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetWorkflowScheduleByNameRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetWorkflowScheduleByNameResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateWorkflowScheduleByNameRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateWorkflowScheduleByNameResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetWorkflowInstanceByNameRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetWorkflowInstanceByNameResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListWorkflowInstancesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListWorkflowInstancesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueWorkflowRequest_Dequeue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueWorkflowRequest_Continue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueWorkflowRequest_Fail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueWorkflowRequest_Done); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueWorkflowChunkRequest_Dequeue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueWorkflowChunkRequest_Continue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueWorkflowChunkRequest_Fail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueWorkflowChunkRequest_Done); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueWorkflowResponse_Dequeue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueWorkflowResponse_Status); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueWorkflowResponse_Committed); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueTaskRequest_Dequeue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueTaskRequest_Fail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueTaskRequest_Succeed); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueTaskResponse_Dequeue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueTaskResponse_Cancel); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cereal_cereal_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DequeueTaskResponse_Committed); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_interservice_cereal_cereal_proto_msgTypes[5].OneofWrappers = []interface{}{ + file_interservice_cereal_cereal_proto_msgTypes[5].OneofWrappers = []any{ (*DequeueWorkflowRequest_Dequeue_)(nil), (*DequeueWorkflowRequest_Continue_)(nil), (*DequeueWorkflowRequest_Done_)(nil), (*DequeueWorkflowRequest_Fail_)(nil), } - file_interservice_cereal_cereal_proto_msgTypes[6].OneofWrappers = []interface{}{ + file_interservice_cereal_cereal_proto_msgTypes[6].OneofWrappers = []any{ (*DequeueWorkflowChunkRequest_Dequeue_)(nil), (*DequeueWorkflowChunkRequest_Continue_)(nil), (*DequeueWorkflowChunkRequest_Done_)(nil), (*DequeueWorkflowChunkRequest_Fail_)(nil), } - file_interservice_cereal_cereal_proto_msgTypes[7].OneofWrappers = []interface{}{ + file_interservice_cereal_cereal_proto_msgTypes[7].OneofWrappers = []any{ (*DequeueWorkflowResponse_Dequeue_)(nil), (*DequeueWorkflowResponse_Status_)(nil), (*DequeueWorkflowResponse_Committed_)(nil), } - file_interservice_cereal_cereal_proto_msgTypes[15].OneofWrappers = []interface{}{ + file_interservice_cereal_cereal_proto_msgTypes[15].OneofWrappers = []any{ (*DequeueTaskRequest_Dequeue_)(nil), (*DequeueTaskRequest_Succeed_)(nil), (*DequeueTaskRequest_Fail_)(nil), } - file_interservice_cereal_cereal_proto_msgTypes[16].OneofWrappers = []interface{}{ + file_interservice_cereal_cereal_proto_msgTypes[16].OneofWrappers = []any{ (*DequeueTaskResponse_Dequeue_)(nil), (*DequeueTaskResponse_Cancel_)(nil), (*DequeueTaskResponse_Committed_)(nil), diff --git a/api/interservice/cfgmgmt/request/actions.pb.go b/api/interservice/cfgmgmt/request/actions.pb.go index 43032926554..e0a765121cc 100644 --- a/api/interservice/cfgmgmt/request/actions.pb.go +++ b/api/interservice/cfgmgmt/request/actions.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cfgmgmt/request/actions.proto @@ -21,20 +21,17 @@ const ( ) type PolicyRevision struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RevisionId string `protobuf:"bytes,1,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty" toml:"revision_id,omitempty" mapstructure:"revision_id,omitempty"` unknownFields protoimpl.UnknownFields - - RevisionId string `protobuf:"bytes,1,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty" toml:"revision_id,omitempty" mapstructure:"revision_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PolicyRevision) Reset() { *x = PolicyRevision{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_actions_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_actions_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicyRevision) String() string { @@ -45,7 +42,7 @@ func (*PolicyRevision) ProtoMessage() {} func (x *PolicyRevision) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_actions_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -68,27 +65,24 @@ func (x *PolicyRevision) GetRevisionId() string { } type PolicyUpdateAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty" toml:"policy_name,omitempty" mapstructure:"policy_name,omitempty"` - PolicyGroup string `protobuf:"bytes,2,opt,name=policy_group,json=policyGroup,proto3" json:"policy_group,omitempty" toml:"policy_group,omitempty" mapstructure:"policy_group,omitempty"` - PolicyRevisionId string `protobuf:"bytes,3,opt,name=policy_revision_id,json=policyRevisionId,proto3" json:"policy_revision_id,omitempty" toml:"policy_revision_id,omitempty" mapstructure:"policy_revision_id,omitempty"` - ChefServerFqdn string `protobuf:"bytes,4,opt,name=chef_server_fqdn,json=chefServerFqdn,proto3" json:"chef_server_fqdn,omitempty" toml:"chef_server_fqdn,omitempty" mapstructure:"chef_server_fqdn,omitempty"` - ChefServerOrgname string `protobuf:"bytes,5,opt,name=chef_server_orgname,json=chefServerOrgname,proto3" json:"chef_server_orgname,omitempty" toml:"chef_server_orgname,omitempty" mapstructure:"chef_server_orgname,omitempty"` - ChefServerUsername string `protobuf:"bytes,6,opt,name=chef_server_username,json=chefServerUsername,proto3" json:"chef_server_username,omitempty" toml:"chef_server_username,omitempty" mapstructure:"chef_server_username,omitempty"` - PolicyfileContent string `protobuf:"bytes,7,opt,name=policyfile_content,json=policyfileContent,proto3" json:"policyfile_content,omitempty" toml:"policyfile_content,omitempty" mapstructure:"policyfile_content,omitempty"` - Cookbooks []*PolicyCookbookLock `protobuf:"bytes,8,rep,name=cookbooks,proto3" json:"cookbooks,omitempty" toml:"cookbooks,omitempty" mapstructure:"cookbooks,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty" toml:"policy_name,omitempty" mapstructure:"policy_name,omitempty"` + PolicyGroup string `protobuf:"bytes,2,opt,name=policy_group,json=policyGroup,proto3" json:"policy_group,omitempty" toml:"policy_group,omitempty" mapstructure:"policy_group,omitempty"` + PolicyRevisionId string `protobuf:"bytes,3,opt,name=policy_revision_id,json=policyRevisionId,proto3" json:"policy_revision_id,omitempty" toml:"policy_revision_id,omitempty" mapstructure:"policy_revision_id,omitempty"` + ChefServerFqdn string `protobuf:"bytes,4,opt,name=chef_server_fqdn,json=chefServerFqdn,proto3" json:"chef_server_fqdn,omitempty" toml:"chef_server_fqdn,omitempty" mapstructure:"chef_server_fqdn,omitempty"` + ChefServerOrgname string `protobuf:"bytes,5,opt,name=chef_server_orgname,json=chefServerOrgname,proto3" json:"chef_server_orgname,omitempty" toml:"chef_server_orgname,omitempty" mapstructure:"chef_server_orgname,omitempty"` + ChefServerUsername string `protobuf:"bytes,6,opt,name=chef_server_username,json=chefServerUsername,proto3" json:"chef_server_username,omitempty" toml:"chef_server_username,omitempty" mapstructure:"chef_server_username,omitempty"` + PolicyfileContent string `protobuf:"bytes,7,opt,name=policyfile_content,json=policyfileContent,proto3" json:"policyfile_content,omitempty" toml:"policyfile_content,omitempty" mapstructure:"policyfile_content,omitempty"` + Cookbooks []*PolicyCookbookLock `protobuf:"bytes,8,rep,name=cookbooks,proto3" json:"cookbooks,omitempty" toml:"cookbooks,omitempty" mapstructure:"cookbooks,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PolicyUpdateAction) Reset() { *x = PolicyUpdateAction{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_actions_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_actions_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicyUpdateAction) String() string { @@ -99,7 +93,7 @@ func (*PolicyUpdateAction) ProtoMessage() {} func (x *PolicyUpdateAction) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_actions_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -171,21 +165,18 @@ func (x *PolicyUpdateAction) GetCookbooks() []*PolicyCookbookLock { } type PolicyCookbookLock struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + CookbookName string `protobuf:"bytes,1,opt,name=cookbook_name,json=cookbookName,proto3" json:"cookbook_name,omitempty" toml:"cookbook_name,omitempty" mapstructure:"cookbook_name,omitempty"` + PolicyId string `protobuf:"bytes,2,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty" toml:"policy_id,omitempty" mapstructure:"policy_id,omitempty"` unknownFields protoimpl.UnknownFields - - CookbookName string `protobuf:"bytes,1,opt,name=cookbook_name,json=cookbookName,proto3" json:"cookbook_name,omitempty" toml:"cookbook_name,omitempty" mapstructure:"cookbook_name,omitempty"` - PolicyId string `protobuf:"bytes,2,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty" toml:"policy_id,omitempty" mapstructure:"policy_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PolicyCookbookLock) Reset() { *x = PolicyCookbookLock{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_actions_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_actions_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicyCookbookLock) String() string { @@ -196,7 +187,7 @@ func (*PolicyCookbookLock) ProtoMessage() {} func (x *PolicyCookbookLock) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_actions_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -287,7 +278,7 @@ func file_interservice_cfgmgmt_request_actions_proto_rawDescGZIP() []byte { } var file_interservice_cfgmgmt_request_actions_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_interservice_cfgmgmt_request_actions_proto_goTypes = []interface{}{ +var file_interservice_cfgmgmt_request_actions_proto_goTypes = []any{ (*PolicyRevision)(nil), // 0: chef.automate.domain.cfgmgmt.request.PolicyRevision (*PolicyUpdateAction)(nil), // 1: chef.automate.domain.cfgmgmt.request.PolicyUpdateAction (*PolicyCookbookLock)(nil), // 2: chef.automate.domain.cfgmgmt.request.PolicyCookbookLock @@ -306,44 +297,6 @@ func file_interservice_cfgmgmt_request_actions_proto_init() { if File_interservice_cfgmgmt_request_actions_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_cfgmgmt_request_actions_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PolicyRevision); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_request_actions_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PolicyUpdateAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_request_actions_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PolicyCookbookLock); 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{ diff --git a/api/interservice/cfgmgmt/request/inventory_nodes.pb.go b/api/interservice/cfgmgmt/request/inventory_nodes.pb.go index a852a46d0c3..10e926c0946 100644 --- a/api/interservice/cfgmgmt/request/inventory_nodes.pb.go +++ b/api/interservice/cfgmgmt/request/inventory_nodes.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cfgmgmt/request/inventory_nodes.proto @@ -22,26 +22,23 @@ const ( ) type InventoryNodes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` + End *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` + Filter []string `protobuf:"bytes,3,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` + CursorDate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=cursor_date,json=cursorDate,proto3" json:"cursor_date,omitempty" toml:"cursor_date,omitempty" mapstructure:"cursor_date,omitempty"` + CursorId string `protobuf:"bytes,5,opt,name=cursor_id,json=cursorId,proto3" json:"cursor_id,omitempty" toml:"cursor_id,omitempty" mapstructure:"cursor_id,omitempty"` + PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" toml:"page_size,omitempty" mapstructure:"page_size,omitempty"` + Sorting *Sorting `protobuf:"bytes,7,opt,name=sorting,proto3" json:"sorting,omitempty" toml:"sorting,omitempty" mapstructure:"sorting,omitempty"` unknownFields protoimpl.UnknownFields - - Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` - End *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` - Filter []string `protobuf:"bytes,3,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` - CursorDate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=cursor_date,json=cursorDate,proto3" json:"cursor_date,omitempty" toml:"cursor_date,omitempty" mapstructure:"cursor_date,omitempty"` - CursorId string `protobuf:"bytes,5,opt,name=cursor_id,json=cursorId,proto3" json:"cursor_id,omitempty" toml:"cursor_id,omitempty" mapstructure:"cursor_id,omitempty"` - PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" toml:"page_size,omitempty" mapstructure:"page_size,omitempty"` - Sorting *Sorting `protobuf:"bytes,7,opt,name=sorting,proto3" json:"sorting,omitempty" toml:"sorting,omitempty" mapstructure:"sorting,omitempty"` + sizeCache protoimpl.SizeCache } func (x *InventoryNodes) Reset() { *x = InventoryNodes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_inventory_nodes_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_inventory_nodes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InventoryNodes) String() string { @@ -52,7 +49,7 @@ func (*InventoryNodes) ProtoMessage() {} func (x *InventoryNodes) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_inventory_nodes_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -170,7 +167,7 @@ func file_interservice_cfgmgmt_request_inventory_nodes_proto_rawDescGZIP() []byt } var file_interservice_cfgmgmt_request_inventory_nodes_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_interservice_cfgmgmt_request_inventory_nodes_proto_goTypes = []interface{}{ +var file_interservice_cfgmgmt_request_inventory_nodes_proto_goTypes = []any{ (*InventoryNodes)(nil), // 0: chef.automate.domain.cfgmgmt.request.InventoryNodes (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp (*Sorting)(nil), // 2: chef.automate.domain.cfgmgmt.request.Sorting @@ -193,20 +190,6 @@ func file_interservice_cfgmgmt_request_inventory_nodes_proto_init() { return } file_interservice_cfgmgmt_request_parameters_proto_init() - if !protoimpl.UnsafeEnabled { - file_interservice_cfgmgmt_request_inventory_nodes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InventoryNodes); 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{ diff --git a/api/interservice/cfgmgmt/request/node_export.pb.go b/api/interservice/cfgmgmt/request/node_export.pb.go index a7d7678bb24..14930016102 100644 --- a/api/interservice/cfgmgmt/request/node_export.pb.go +++ b/api/interservice/cfgmgmt/request/node_export.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cfgmgmt/request/node_export.proto @@ -22,22 +22,19 @@ const ( ) type NodeExport struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` + Sorting *Sorting `protobuf:"bytes,2,opt,name=sorting,proto3" json:"sorting,omitempty" toml:"sorting,omitempty" mapstructure:"sorting,omitempty"` + OutputType string `protobuf:"bytes,3,opt,name=output_type,json=outputType,proto3" json:"output_type,omitempty" toml:"output_type,omitempty" mapstructure:"output_type,omitempty"` unknownFields protoimpl.UnknownFields - - Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` - Sorting *Sorting `protobuf:"bytes,2,opt,name=sorting,proto3" json:"sorting,omitempty" toml:"sorting,omitempty" mapstructure:"sorting,omitempty"` - OutputType string `protobuf:"bytes,3,opt,name=output_type,json=outputType,proto3" json:"output_type,omitempty" toml:"output_type,omitempty" mapstructure:"output_type,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NodeExport) Reset() { *x = NodeExport{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_node_export_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_node_export_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeExport) String() string { @@ -48,7 +45,7 @@ func (*NodeExport) ProtoMessage() {} func (x *NodeExport) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_node_export_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -85,24 +82,21 @@ func (x *NodeExport) GetOutputType() string { } type ReportExport struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` + OutputType string `protobuf:"bytes,2,opt,name=output_type,json=outputType,proto3" json:"output_type,omitempty" toml:"output_type,omitempty" mapstructure:"output_type,omitempty"` + NodeId string `protobuf:"bytes,3,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` + Start *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` + End *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` unknownFields protoimpl.UnknownFields - - Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` - OutputType string `protobuf:"bytes,2,opt,name=output_type,json=outputType,proto3" json:"output_type,omitempty" toml:"output_type,omitempty" mapstructure:"output_type,omitempty"` - NodeId string `protobuf:"bytes,3,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` - Start *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` - End *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReportExport) Reset() { *x = ReportExport{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_node_export_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_node_export_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportExport) String() string { @@ -113,7 +107,7 @@ func (*ReportExport) ProtoMessage() {} func (x *ReportExport) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_node_export_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -217,7 +211,7 @@ func file_interservice_cfgmgmt_request_node_export_proto_rawDescGZIP() []byte { } var file_interservice_cfgmgmt_request_node_export_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_interservice_cfgmgmt_request_node_export_proto_goTypes = []interface{}{ +var file_interservice_cfgmgmt_request_node_export_proto_goTypes = []any{ (*NodeExport)(nil), // 0: chef.automate.domain.cfgmgmt.request.NodeExport (*ReportExport)(nil), // 1: chef.automate.domain.cfgmgmt.request.ReportExport (*Sorting)(nil), // 2: chef.automate.domain.cfgmgmt.request.Sorting @@ -240,32 +234,6 @@ func file_interservice_cfgmgmt_request_node_export_proto_init() { return } file_interservice_cfgmgmt_request_parameters_proto_init() - if !protoimpl.UnsafeEnabled { - file_interservice_cfgmgmt_request_node_export_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeExport); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_request_node_export_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReportExport); 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{ diff --git a/api/interservice/cfgmgmt/request/nodes.pb.go b/api/interservice/cfgmgmt/request/nodes.pb.go index 8be0ff9a3cb..5d51310a5ea 100644 --- a/api/interservice/cfgmgmt/request/nodes.pb.go +++ b/api/interservice/cfgmgmt/request/nodes.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cfgmgmt/request/nodes.proto @@ -22,22 +22,19 @@ const ( ) type NodeRun struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` + RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty" toml:"run_id,omitempty" mapstructure:"run_id,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` unknownFields protoimpl.UnknownFields - - NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` - RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty" toml:"run_id,omitempty" mapstructure:"run_id,omitempty"` - EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NodeRun) Reset() { *x = NodeRun{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeRun) String() string { @@ -48,7 +45,7 @@ func (*NodeRun) ProtoMessage() {} func (x *NodeRun) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -85,24 +82,21 @@ func (x *NodeRun) GetEndTime() *timestamppb.Timestamp { } type Nodes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` + Pagination *Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty" toml:"pagination,omitempty" mapstructure:"pagination,omitempty"` + Sorting *Sorting `protobuf:"bytes,3,opt,name=sorting,proto3" json:"sorting,omitempty" toml:"sorting,omitempty" mapstructure:"sorting,omitempty"` + Start string `protobuf:"bytes,4,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` + End string `protobuf:"bytes,5,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` unknownFields protoimpl.UnknownFields - - Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` - Pagination *Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty" toml:"pagination,omitempty" mapstructure:"pagination,omitempty"` - Sorting *Sorting `protobuf:"bytes,3,opt,name=sorting,proto3" json:"sorting,omitempty" toml:"sorting,omitempty" mapstructure:"sorting,omitempty"` - Start string `protobuf:"bytes,4,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` - End string `protobuf:"bytes,5,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Nodes) Reset() { *x = Nodes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Nodes) String() string { @@ -113,7 +107,7 @@ func (*Nodes) ProtoMessage() {} func (x *Nodes) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -164,20 +158,17 @@ func (x *Nodes) GetEnd() string { } type Node struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` unknownFields protoimpl.UnknownFields - - NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Node) Reset() { *x = Node{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Node) String() string { @@ -188,7 +179,7 @@ func (*Node) ProtoMessage() {} func (x *Node) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -211,24 +202,21 @@ func (x *Node) GetNodeId() string { } type Runs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` + Filter []string `protobuf:"bytes,2,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` + Pagination *Pagination `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty" toml:"pagination,omitempty" mapstructure:"pagination,omitempty"` + Start string `protobuf:"bytes,4,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` + End string `protobuf:"bytes,5,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` unknownFields protoimpl.UnknownFields - - NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` - Filter []string `protobuf:"bytes,2,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` - Pagination *Pagination `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty" toml:"pagination,omitempty" mapstructure:"pagination,omitempty"` - Start string `protobuf:"bytes,4,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` - End string `protobuf:"bytes,5,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Runs) Reset() { *x = Runs{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Runs) String() string { @@ -239,7 +227,7 @@ func (*Runs) ProtoMessage() {} func (x *Runs) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -290,20 +278,17 @@ func (x *Runs) GetEnd() string { } type MissingNodeDurationCounts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Durations []string `protobuf:"bytes,1,rep,name=durations,proto3" json:"durations,omitempty" toml:"durations,omitempty" mapstructure:"durations,omitempty"` unknownFields protoimpl.UnknownFields - - Durations []string `protobuf:"bytes,1,rep,name=durations,proto3" json:"durations,omitempty" toml:"durations,omitempty" mapstructure:"durations,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MissingNodeDurationCounts) Reset() { *x = MissingNodeDurationCounts{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MissingNodeDurationCounts) String() string { @@ -314,7 +299,7 @@ func (*MissingNodeDurationCounts) ProtoMessage() {} func (x *MissingNodeDurationCounts) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -337,23 +322,20 @@ func (x *MissingNodeDurationCounts) GetDurations() []string { } type NodeMetadataCounts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type []string `protobuf:"bytes,1,rep,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + Filter []string `protobuf:"bytes,2,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` + Start string `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` + End string `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` unknownFields protoimpl.UnknownFields - - Type []string `protobuf:"bytes,1,rep,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` - Filter []string `protobuf:"bytes,2,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` - Start string `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` - End string `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NodeMetadataCounts) Reset() { *x = NodeMetadataCounts{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeMetadataCounts) String() string { @@ -364,7 +346,7 @@ func (*NodeMetadataCounts) ProtoMessage() {} func (x *NodeMetadataCounts) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -408,23 +390,20 @@ func (x *NodeMetadataCounts) GetEnd() string { } type NodeRunsDailyStatusTimeSeries struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node ID of the runs NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` // Number of past days - DaysAgo int32 `protobuf:"varint,2,opt,name=days_ago,json=daysAgo,proto3" json:"days_ago,omitempty" toml:"days_ago,omitempty" mapstructure:"days_ago,omitempty"` + DaysAgo int32 `protobuf:"varint,2,opt,name=days_ago,json=daysAgo,proto3" json:"days_ago,omitempty" toml:"days_ago,omitempty" mapstructure:"days_ago,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeRunsDailyStatusTimeSeries) Reset() { *x = NodeRunsDailyStatusTimeSeries{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeRunsDailyStatusTimeSeries) String() string { @@ -435,7 +414,7 @@ func (*NodeRunsDailyStatusTimeSeries) ProtoMessage() {} func (x *NodeRunsDailyStatusTimeSeries) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_nodes_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -547,7 +526,7 @@ func file_interservice_cfgmgmt_request_nodes_proto_rawDescGZIP() []byte { } var file_interservice_cfgmgmt_request_nodes_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_interservice_cfgmgmt_request_nodes_proto_goTypes = []interface{}{ +var file_interservice_cfgmgmt_request_nodes_proto_goTypes = []any{ (*NodeRun)(nil), // 0: chef.automate.domain.cfgmgmt.request.NodeRun (*Nodes)(nil), // 1: chef.automate.domain.cfgmgmt.request.Nodes (*Node)(nil), // 2: chef.automate.domain.cfgmgmt.request.Node @@ -577,92 +556,6 @@ func file_interservice_cfgmgmt_request_nodes_proto_init() { return } file_interservice_cfgmgmt_request_parameters_proto_init() - if !protoimpl.UnsafeEnabled { - file_interservice_cfgmgmt_request_nodes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeRun); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_request_nodes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Nodes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_request_nodes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Node); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_request_nodes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Runs); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_request_nodes_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MissingNodeDurationCounts); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_request_nodes_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeMetadataCounts); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_request_nodes_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeRunsDailyStatusTimeSeries); 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{ diff --git a/api/interservice/cfgmgmt/request/parameters.pb.go b/api/interservice/cfgmgmt/request/parameters.pb.go index a03243183a0..68a263c0524 100644 --- a/api/interservice/cfgmgmt/request/parameters.pb.go +++ b/api/interservice/cfgmgmt/request/parameters.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cfgmgmt/request/parameters.proto @@ -67,21 +67,18 @@ func (Order) EnumDescriptor() ([]byte, []int) { } type Pagination struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` + Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty" toml:"size,omitempty" mapstructure:"size,omitempty"` unknownFields protoimpl.UnknownFields - - Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` - Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty" toml:"size,omitempty" mapstructure:"size,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Pagination) Reset() { *x = Pagination{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_parameters_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_parameters_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Pagination) String() string { @@ -92,7 +89,7 @@ func (*Pagination) ProtoMessage() {} func (x *Pagination) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_parameters_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -122,21 +119,18 @@ func (x *Pagination) GetSize() int32 { } type Sorting struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty" toml:"field,omitempty" mapstructure:"field,omitempty"` + Order Order `protobuf:"varint,2,opt,name=order,proto3,enum=chef.automate.domain.cfgmgmt.request.Order" json:"order,omitempty" toml:"order,omitempty" mapstructure:"order,omitempty"` unknownFields protoimpl.UnknownFields - - Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty" toml:"field,omitempty" mapstructure:"field,omitempty"` - Order Order `protobuf:"varint,2,opt,name=order,proto3,enum=chef.automate.domain.cfgmgmt.request.Order" json:"order,omitempty" toml:"order,omitempty" mapstructure:"order,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Sorting) Reset() { *x = Sorting{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_parameters_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_parameters_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Sorting) String() string { @@ -147,7 +141,7 @@ func (*Sorting) ProtoMessage() {} func (x *Sorting) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_parameters_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -177,22 +171,19 @@ func (x *Sorting) GetOrder() Order { } type Suggestion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty" toml:"text,omitempty" mapstructure:"text,omitempty"` + Filter []string `protobuf:"bytes,3,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` unknownFields protoimpl.UnknownFields - - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` - Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty" toml:"text,omitempty" mapstructure:"text,omitempty"` - Filter []string `protobuf:"bytes,3,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Suggestion) Reset() { *x = Suggestion{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_parameters_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_parameters_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Suggestion) String() string { @@ -203,7 +194,7 @@ func (*Suggestion) ProtoMessage() {} func (x *Suggestion) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_parameters_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -284,7 +275,7 @@ func file_interservice_cfgmgmt_request_parameters_proto_rawDescGZIP() []byte { var file_interservice_cfgmgmt_request_parameters_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_interservice_cfgmgmt_request_parameters_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_interservice_cfgmgmt_request_parameters_proto_goTypes = []interface{}{ +var file_interservice_cfgmgmt_request_parameters_proto_goTypes = []any{ (Order)(0), // 0: chef.automate.domain.cfgmgmt.request.Order (*Pagination)(nil), // 1: chef.automate.domain.cfgmgmt.request.Pagination (*Sorting)(nil), // 2: chef.automate.domain.cfgmgmt.request.Sorting @@ -304,44 +295,6 @@ func file_interservice_cfgmgmt_request_parameters_proto_init() { if File_interservice_cfgmgmt_request_parameters_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_cfgmgmt_request_parameters_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Pagination); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_request_parameters_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Sorting); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_request_parameters_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Suggestion); 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{ diff --git a/api/interservice/cfgmgmt/request/root.pb.go b/api/interservice/cfgmgmt/request/root.pb.go index 7f138426342..f5797bca287 100644 --- a/api/interservice/cfgmgmt/request/root.pb.go +++ b/api/interservice/cfgmgmt/request/root.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cfgmgmt/request/root.proto @@ -21,18 +21,16 @@ const ( ) type VersionInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *VersionInfo) Reset() { *x = VersionInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_root_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_root_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VersionInfo) String() string { @@ -43,7 +41,7 @@ func (*VersionInfo) ProtoMessage() {} func (x *VersionInfo) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_root_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -59,18 +57,16 @@ func (*VersionInfo) Descriptor() ([]byte, []int) { } type Health struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Health) Reset() { *x = Health{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_root_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_root_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Health) String() string { @@ -81,7 +77,7 @@ func (*Health) ProtoMessage() {} func (x *Health) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_root_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -97,18 +93,16 @@ func (*Health) Descriptor() ([]byte, []int) { } type Organizations struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Organizations) Reset() { *x = Organizations{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_root_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_root_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Organizations) String() string { @@ -119,7 +113,7 @@ func (*Organizations) ProtoMessage() {} func (x *Organizations) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_root_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -135,18 +129,16 @@ func (*Organizations) Descriptor() ([]byte, []int) { } type SourceFQDNS struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SourceFQDNS) Reset() { *x = SourceFQDNS{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_root_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_root_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SourceFQDNS) String() string { @@ -157,7 +149,7 @@ func (*SourceFQDNS) ProtoMessage() {} func (x *SourceFQDNS) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_root_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -203,7 +195,7 @@ func file_interservice_cfgmgmt_request_root_proto_rawDescGZIP() []byte { } var file_interservice_cfgmgmt_request_root_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_interservice_cfgmgmt_request_root_proto_goTypes = []interface{}{ +var file_interservice_cfgmgmt_request_root_proto_goTypes = []any{ (*VersionInfo)(nil), // 0: chef.automate.domain.cfgmgmt.request.VersionInfo (*Health)(nil), // 1: chef.automate.domain.cfgmgmt.request.Health (*Organizations)(nil), // 2: chef.automate.domain.cfgmgmt.request.Organizations @@ -222,56 +214,6 @@ func file_interservice_cfgmgmt_request_root_proto_init() { if File_interservice_cfgmgmt_request_root_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_cfgmgmt_request_root_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VersionInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_request_root_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Health); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_request_root_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Organizations); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_request_root_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SourceFQDNS); 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{ diff --git a/api/interservice/cfgmgmt/request/stats.pb.go b/api/interservice/cfgmgmt/request/stats.pb.go index f9ad7105b65..ef0a4bd88a0 100644 --- a/api/interservice/cfgmgmt/request/stats.pb.go +++ b/api/interservice/cfgmgmt/request/stats.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cfgmgmt/request/stats.proto @@ -21,22 +21,19 @@ const ( ) type NodesCounts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` + Start string `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` + End string `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` unknownFields protoimpl.UnknownFields - - Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` - Start string `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` - End string `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NodesCounts) Reset() { *x = NodesCounts{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_stats_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_stats_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodesCounts) String() string { @@ -47,7 +44,7 @@ func (*NodesCounts) ProtoMessage() {} func (x *NodesCounts) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_stats_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -84,23 +81,20 @@ func (x *NodesCounts) GetEnd() string { } type RunsCounts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` + Start string `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` + End string `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` + NodeId string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` unknownFields protoimpl.UnknownFields - - Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` - Start string `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` - End string `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` - NodeId string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RunsCounts) Reset() { *x = RunsCounts{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_stats_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_stats_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RunsCounts) String() string { @@ -111,7 +105,7 @@ func (*RunsCounts) ProtoMessage() {} func (x *RunsCounts) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_stats_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -155,23 +149,20 @@ func (x *RunsCounts) GetNodeId() string { } type CheckInCountsTimeSeries struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of filters to be applied to the time series. Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty" toml:"filter,omitempty" mapstructure:"filter,omitempty"` // Number of past days to create the time series - DaysAgo int32 `protobuf:"varint,2,opt,name=days_ago,json=daysAgo,proto3" json:"days_ago,omitempty" toml:"days_ago,omitempty" mapstructure:"days_ago,omitempty"` + DaysAgo int32 `protobuf:"varint,2,opt,name=days_ago,json=daysAgo,proto3" json:"days_ago,omitempty" toml:"days_ago,omitempty" mapstructure:"days_ago,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CheckInCountsTimeSeries) Reset() { *x = CheckInCountsTimeSeries{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_stats_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_stats_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CheckInCountsTimeSeries) String() string { @@ -182,7 +173,7 @@ func (*CheckInCountsTimeSeries) ProtoMessage() {} func (x *CheckInCountsTimeSeries) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_stats_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -255,7 +246,7 @@ func file_interservice_cfgmgmt_request_stats_proto_rawDescGZIP() []byte { } var file_interservice_cfgmgmt_request_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_interservice_cfgmgmt_request_stats_proto_goTypes = []interface{}{ +var file_interservice_cfgmgmt_request_stats_proto_goTypes = []any{ (*NodesCounts)(nil), // 0: chef.automate.domain.cfgmgmt.request.NodesCounts (*RunsCounts)(nil), // 1: chef.automate.domain.cfgmgmt.request.RunsCounts (*CheckInCountsTimeSeries)(nil), // 2: chef.automate.domain.cfgmgmt.request.CheckInCountsTimeSeries @@ -273,44 +264,6 @@ func file_interservice_cfgmgmt_request_stats_proto_init() { if File_interservice_cfgmgmt_request_stats_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_cfgmgmt_request_stats_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodesCounts); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_request_stats_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RunsCounts); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_request_stats_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CheckInCountsTimeSeries); 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{ diff --git a/api/interservice/cfgmgmt/request/telemetry.pb.go b/api/interservice/cfgmgmt/request/telemetry.pb.go index ddc006cb1b8..007239e0b5d 100644 --- a/api/interservice/cfgmgmt/request/telemetry.pb.go +++ b/api/interservice/cfgmgmt/request/telemetry.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cfgmgmt/request/telemetry.proto @@ -21,21 +21,18 @@ const ( ) type UpdateTelemetryReportedRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // last client run telemetry reported date LastTelemetryReportedAt string `protobuf:"bytes,1,opt,name=last_telemetry_reported_at,json=lastTelemetryReportedAt,proto3" json:"last_telemetry_reported_at,omitempty" toml:"last_telemetry_reported_at,omitempty" mapstructure:"last_telemetry_reported_at,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateTelemetryReportedRequest) Reset() { *x = UpdateTelemetryReportedRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_telemetry_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_telemetry_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateTelemetryReportedRequest) String() string { @@ -46,7 +43,7 @@ func (*UpdateTelemetryReportedRequest) ProtoMessage() {} func (x *UpdateTelemetryReportedRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_telemetry_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,18 +66,16 @@ func (x *UpdateTelemetryReportedRequest) GetLastTelemetryReportedAt() string { } type GetNodesUsageCountRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetNodesUsageCountRequest) Reset() { *x = GetNodesUsageCountRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_request_telemetry_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_request_telemetry_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetNodesUsageCountRequest) String() string { @@ -91,7 +86,7 @@ func (*GetNodesUsageCountRequest) ProtoMessage() {} func (x *GetNodesUsageCountRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_request_telemetry_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -142,7 +137,7 @@ func file_interservice_cfgmgmt_request_telemetry_proto_rawDescGZIP() []byte { } var file_interservice_cfgmgmt_request_telemetry_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_interservice_cfgmgmt_request_telemetry_proto_goTypes = []interface{}{ +var file_interservice_cfgmgmt_request_telemetry_proto_goTypes = []any{ (*UpdateTelemetryReportedRequest)(nil), // 0: chef.automate.domain.cfgmgmt.request.UpdateTelemetryReportedRequest (*GetNodesUsageCountRequest)(nil), // 1: chef.automate.domain.cfgmgmt.request.GetNodesUsageCountRequest } @@ -159,32 +154,6 @@ func file_interservice_cfgmgmt_request_telemetry_proto_init() { if File_interservice_cfgmgmt_request_telemetry_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_cfgmgmt_request_telemetry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateTelemetryReportedRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_request_telemetry_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetNodesUsageCountRequest); 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{ diff --git a/api/interservice/cfgmgmt/response/actions.pb.go b/api/interservice/cfgmgmt/response/actions.pb.go index b5596fe7772..20edaa251bf 100644 --- a/api/interservice/cfgmgmt/response/actions.pb.go +++ b/api/interservice/cfgmgmt/response/actions.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cfgmgmt/response/actions.proto @@ -21,21 +21,18 @@ const ( ) type PolicyCookbooks struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty" toml:"policy_name,omitempty" mapstructure:"policy_name,omitempty"` + CookbookLocks []*CookbookLock `protobuf:"bytes,2,rep,name=cookbook_locks,json=cookbookLocks,proto3" json:"cookbook_locks,omitempty" toml:"cookbook_locks,omitempty" mapstructure:"cookbook_locks,omitempty"` unknownFields protoimpl.UnknownFields - - PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty" toml:"policy_name,omitempty" mapstructure:"policy_name,omitempty"` - CookbookLocks []*CookbookLock `protobuf:"bytes,2,rep,name=cookbook_locks,json=cookbookLocks,proto3" json:"cookbook_locks,omitempty" toml:"cookbook_locks,omitempty" mapstructure:"cookbook_locks,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PolicyCookbooks) Reset() { *x = PolicyCookbooks{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_actions_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_actions_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicyCookbooks) String() string { @@ -46,7 +43,7 @@ func (*PolicyCookbooks) ProtoMessage() {} func (x *PolicyCookbooks) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_actions_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -76,21 +73,18 @@ func (x *PolicyCookbooks) GetCookbookLocks() []*CookbookLock { } type CookbookLock struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Cookbook string `protobuf:"bytes,1,opt,name=cookbook,proto3" json:"cookbook,omitempty" toml:"cookbook,omitempty" mapstructure:"cookbook,omitempty"` - PolicyIdentifier string `protobuf:"bytes,2,opt,name=policy_identifier,json=policyIdentifier,proto3" json:"policy_identifier,omitempty" toml:"policy_identifier,omitempty" mapstructure:"policy_identifier,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Cookbook string `protobuf:"bytes,1,opt,name=cookbook,proto3" json:"cookbook,omitempty" toml:"cookbook,omitempty" mapstructure:"cookbook,omitempty"` + PolicyIdentifier string `protobuf:"bytes,2,opt,name=policy_identifier,json=policyIdentifier,proto3" json:"policy_identifier,omitempty" toml:"policy_identifier,omitempty" mapstructure:"policy_identifier,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CookbookLock) Reset() { *x = CookbookLock{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_actions_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_actions_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookLock) String() string { @@ -101,7 +95,7 @@ func (*CookbookLock) ProtoMessage() {} func (x *CookbookLock) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_actions_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -131,18 +125,16 @@ func (x *CookbookLock) GetPolicyIdentifier() string { } type PolicyUpdateAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PolicyUpdateAction) Reset() { *x = PolicyUpdateAction{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_actions_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_actions_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicyUpdateAction) String() string { @@ -153,7 +145,7 @@ func (*PolicyUpdateAction) ProtoMessage() {} func (x *PolicyUpdateAction) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_actions_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -212,7 +204,7 @@ func file_interservice_cfgmgmt_response_actions_proto_rawDescGZIP() []byte { } var file_interservice_cfgmgmt_response_actions_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_interservice_cfgmgmt_response_actions_proto_goTypes = []interface{}{ +var file_interservice_cfgmgmt_response_actions_proto_goTypes = []any{ (*PolicyCookbooks)(nil), // 0: chef.automate.domain.cfgmgmt.response.PolicyCookbooks (*CookbookLock)(nil), // 1: chef.automate.domain.cfgmgmt.response.CookbookLock (*PolicyUpdateAction)(nil), // 2: chef.automate.domain.cfgmgmt.response.PolicyUpdateAction @@ -231,44 +223,6 @@ func file_interservice_cfgmgmt_response_actions_proto_init() { if File_interservice_cfgmgmt_response_actions_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_cfgmgmt_response_actions_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PolicyCookbooks); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_actions_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookLock); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_actions_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PolicyUpdateAction); 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{ diff --git a/api/interservice/cfgmgmt/response/inventory_nodes.pb.go b/api/interservice/cfgmgmt/response/inventory_nodes.pb.go index 729ff0bd61f..fc28aba4002 100644 --- a/api/interservice/cfgmgmt/response/inventory_nodes.pb.go +++ b/api/interservice/cfgmgmt/response/inventory_nodes.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cfgmgmt/response/inventory_nodes.proto @@ -22,20 +22,17 @@ const ( ) type InventoryNodes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Nodes []*InventoryNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` unknownFields protoimpl.UnknownFields - - Nodes []*InventoryNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` + sizeCache protoimpl.SizeCache } func (x *InventoryNodes) Reset() { *x = InventoryNodes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_inventory_nodes_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_inventory_nodes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InventoryNodes) String() string { @@ -46,7 +43,7 @@ func (*InventoryNodes) ProtoMessage() {} func (x *InventoryNodes) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_inventory_nodes_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,10 +66,7 @@ func (x *InventoryNodes) GetNodes() []*InventoryNode { } type InventoryNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Checkin *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=checkin,proto3" json:"checkin,omitempty" toml:"checkin,omitempty" mapstructure:"checkin,omitempty"` Organization string `protobuf:"bytes,3,opt,name=organization,proto3" json:"organization,omitempty" toml:"organization,omitempty" mapstructure:"organization,omitempty"` @@ -86,15 +80,15 @@ type InventoryNode struct { Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Fqdn string `protobuf:"bytes,12,opt,name=fqdn,proto3" json:"fqdn,omitempty" toml:"fqdn,omitempty" mapstructure:"fqdn,omitempty"` Ipaddress string `protobuf:"bytes,13,opt,name=ipaddress,proto3" json:"ipaddress,omitempty" toml:"ipaddress,omitempty" mapstructure:"ipaddress,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InventoryNode) Reset() { *x = InventoryNode{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_inventory_nodes_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_inventory_nodes_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InventoryNode) String() string { @@ -105,7 +99,7 @@ func (*InventoryNode) ProtoMessage() {} func (x *InventoryNode) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_inventory_nodes_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -279,7 +273,7 @@ func file_interservice_cfgmgmt_response_inventory_nodes_proto_rawDescGZIP() []by } var file_interservice_cfgmgmt_response_inventory_nodes_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_interservice_cfgmgmt_response_inventory_nodes_proto_goTypes = []interface{}{ +var file_interservice_cfgmgmt_response_inventory_nodes_proto_goTypes = []any{ (*InventoryNodes)(nil), // 0: chef.automate.domain.cfgmgmt.response.InventoryNodes (*InventoryNode)(nil), // 1: chef.automate.domain.cfgmgmt.response.InventoryNode (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp @@ -300,32 +294,6 @@ func file_interservice_cfgmgmt_response_inventory_nodes_proto_init() { if File_interservice_cfgmgmt_response_inventory_nodes_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_cfgmgmt_response_inventory_nodes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InventoryNodes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_inventory_nodes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InventoryNode); 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{ diff --git a/api/interservice/cfgmgmt/response/nodes.pb.go b/api/interservice/cfgmgmt/response/nodes.pb.go index 1fdbef32329..5fccc8f2faf 100644 --- a/api/interservice/cfgmgmt/response/nodes.pb.go +++ b/api/interservice/cfgmgmt/response/nodes.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cfgmgmt/response/nodes.proto @@ -23,32 +23,29 @@ const ( ) type NodeAttribute struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - RunList []string `protobuf:"bytes,3,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty" toml:"run_list,omitempty" mapstructure:"run_list,omitempty"` - ChefEnvironment string `protobuf:"bytes,4,opt,name=chef_environment,json=chefEnvironment,proto3" json:"chef_environment,omitempty" toml:"chef_environment,omitempty" mapstructure:"chef_environment,omitempty"` - Normal string `protobuf:"bytes,5,opt,name=normal,proto3" json:"normal,omitempty" toml:"normal,omitempty" mapstructure:"normal,omitempty"` - Default string `protobuf:"bytes,6,opt,name=default,proto3" json:"default,omitempty" toml:"default,omitempty" mapstructure:"default,omitempty"` - Override string `protobuf:"bytes,7,opt,name=override,proto3" json:"override,omitempty" toml:"override,omitempty" mapstructure:"override,omitempty"` - NormalValueCount int32 `protobuf:"varint,8,opt,name=normal_value_count,json=normalValueCount,proto3" json:"normal_value_count,omitempty" toml:"normal_value_count,omitempty" mapstructure:"normal_value_count,omitempty"` - DefaultValueCount int32 `protobuf:"varint,9,opt,name=default_value_count,json=defaultValueCount,proto3" json:"default_value_count,omitempty" toml:"default_value_count,omitempty" mapstructure:"default_value_count,omitempty"` - OverrideValueCount int32 `protobuf:"varint,10,opt,name=override_value_count,json=overrideValueCount,proto3" json:"override_value_count,omitempty" toml:"override_value_count,omitempty" mapstructure:"override_value_count,omitempty"` - AllValueCount int32 `protobuf:"varint,11,opt,name=all_value_count,json=allValueCount,proto3" json:"all_value_count,omitempty" toml:"all_value_count,omitempty" mapstructure:"all_value_count,omitempty"` - Automatic string `protobuf:"bytes,12,opt,name=automatic,proto3" json:"automatic,omitempty" toml:"automatic,omitempty" mapstructure:"automatic,omitempty"` - AutomaticValueCount int32 `protobuf:"varint,13,opt,name=automatic_value_count,json=automaticValueCount,proto3" json:"automatic_value_count,omitempty" toml:"automatic_value_count,omitempty" mapstructure:"automatic_value_count,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + RunList []string `protobuf:"bytes,3,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty" toml:"run_list,omitempty" mapstructure:"run_list,omitempty"` + ChefEnvironment string `protobuf:"bytes,4,opt,name=chef_environment,json=chefEnvironment,proto3" json:"chef_environment,omitempty" toml:"chef_environment,omitempty" mapstructure:"chef_environment,omitempty"` + Normal string `protobuf:"bytes,5,opt,name=normal,proto3" json:"normal,omitempty" toml:"normal,omitempty" mapstructure:"normal,omitempty"` + Default string `protobuf:"bytes,6,opt,name=default,proto3" json:"default,omitempty" toml:"default,omitempty" mapstructure:"default,omitempty"` + Override string `protobuf:"bytes,7,opt,name=override,proto3" json:"override,omitempty" toml:"override,omitempty" mapstructure:"override,omitempty"` + NormalValueCount int32 `protobuf:"varint,8,opt,name=normal_value_count,json=normalValueCount,proto3" json:"normal_value_count,omitempty" toml:"normal_value_count,omitempty" mapstructure:"normal_value_count,omitempty"` + DefaultValueCount int32 `protobuf:"varint,9,opt,name=default_value_count,json=defaultValueCount,proto3" json:"default_value_count,omitempty" toml:"default_value_count,omitempty" mapstructure:"default_value_count,omitempty"` + OverrideValueCount int32 `protobuf:"varint,10,opt,name=override_value_count,json=overrideValueCount,proto3" json:"override_value_count,omitempty" toml:"override_value_count,omitempty" mapstructure:"override_value_count,omitempty"` + AllValueCount int32 `protobuf:"varint,11,opt,name=all_value_count,json=allValueCount,proto3" json:"all_value_count,omitempty" toml:"all_value_count,omitempty" mapstructure:"all_value_count,omitempty"` + Automatic string `protobuf:"bytes,12,opt,name=automatic,proto3" json:"automatic,omitempty" toml:"automatic,omitempty" mapstructure:"automatic,omitempty"` + AutomaticValueCount int32 `protobuf:"varint,13,opt,name=automatic_value_count,json=automaticValueCount,proto3" json:"automatic_value_count,omitempty" toml:"automatic_value_count,omitempty" mapstructure:"automatic_value_count,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeAttribute) Reset() { *x = NodeAttribute{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeAttribute) String() string { @@ -59,7 +56,7 @@ func (*NodeAttribute) ProtoMessage() {} func (x *NodeAttribute) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -166,23 +163,20 @@ func (x *NodeAttribute) GetAutomaticValueCount() int32 { } type AbridgedConverge struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + StartTime string `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` + EndTime string `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` + Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - StartTime string `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` - EndTime string `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` - Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AbridgedConverge) Reset() { *x = AbridgedConverge{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AbridgedConverge) String() string { @@ -193,7 +187,7 @@ func (*AbridgedConverge) ProtoMessage() {} func (x *AbridgedConverge) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -237,10 +231,7 @@ func (x *AbridgedConverge) GetStatus() string { } type Run struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` NodeName string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty" toml:"node_name,omitempty" mapstructure:"node_name,omitempty"` @@ -291,15 +282,15 @@ type Run struct { KernelVersion string `protobuf:"bytes,46,opt,name=kernel_version,json=kernelVersion,proto3" json:"kernel_version,omitempty" toml:"kernel_version,omitempty" mapstructure:"kernel_version,omitempty"` KernelRelease string `protobuf:"bytes,47,opt,name=kernel_release,json=kernelRelease,proto3" json:"kernel_release,omitempty" toml:"kernel_release,omitempty" mapstructure:"kernel_release,omitempty"` CloudProvider string `protobuf:"bytes,48,opt,name=cloud_provider,json=cloudProvider,proto3" json:"cloud_provider,omitempty" toml:"cloud_provider,omitempty" mapstructure:"cloud_provider,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Run) Reset() { *x = Run{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Run) String() string { @@ -310,7 +301,7 @@ func (*Run) ProtoMessage() {} func (x *Run) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -662,21 +653,18 @@ func (x *Run) GetCloudProvider() string { } type ExpandedRunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + RunList []*RunList `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty" toml:"run_list,omitempty" mapstructure:"run_list,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - RunList []*RunList `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty" toml:"run_list,omitempty" mapstructure:"run_list,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ExpandedRunList) Reset() { *x = ExpandedRunList{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExpandedRunList) String() string { @@ -687,7 +675,7 @@ func (*ExpandedRunList) ProtoMessage() {} func (x *ExpandedRunList) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -717,33 +705,30 @@ func (x *ExpandedRunList) GetRunList() []*RunList { } type Resource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Duration string `protobuf:"bytes,4,opt,name=duration,proto3" json:"duration,omitempty" toml:"duration,omitempty" mapstructure:"duration,omitempty"` - Delta string `protobuf:"bytes,5,opt,name=delta,proto3" json:"delta,omitempty" toml:"delta,omitempty" mapstructure:"delta,omitempty"` - CookbookName string `protobuf:"bytes,6,opt,name=cookbook_name,json=cookbookName,proto3" json:"cookbook_name,omitempty" toml:"cookbook_name,omitempty" mapstructure:"cookbook_name,omitempty"` - CookbookVersion string `protobuf:"bytes,7,opt,name=cookbook_version,json=cookbookVersion,proto3" json:"cookbook_version,omitempty" toml:"cookbook_version,omitempty" mapstructure:"cookbook_version,omitempty"` - Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - RecipeName string `protobuf:"bytes,10,opt,name=recipe_name,json=recipeName,proto3" json:"recipe_name,omitempty" toml:"recipe_name,omitempty" mapstructure:"recipe_name,omitempty"` - Result string `protobuf:"bytes,11,opt,name=result,proto3" json:"result,omitempty" toml:"result,omitempty" mapstructure:"result,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Duration string `protobuf:"bytes,4,opt,name=duration,proto3" json:"duration,omitempty" toml:"duration,omitempty" mapstructure:"duration,omitempty"` + Delta string `protobuf:"bytes,5,opt,name=delta,proto3" json:"delta,omitempty" toml:"delta,omitempty" mapstructure:"delta,omitempty"` + CookbookName string `protobuf:"bytes,6,opt,name=cookbook_name,json=cookbookName,proto3" json:"cookbook_name,omitempty" toml:"cookbook_name,omitempty" mapstructure:"cookbook_name,omitempty"` + CookbookVersion string `protobuf:"bytes,7,opt,name=cookbook_version,json=cookbookVersion,proto3" json:"cookbook_version,omitempty" toml:"cookbook_version,omitempty" mapstructure:"cookbook_version,omitempty"` + Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + RecipeName string `protobuf:"bytes,10,opt,name=recipe_name,json=recipeName,proto3" json:"recipe_name,omitempty" toml:"recipe_name,omitempty" mapstructure:"recipe_name,omitempty"` + Result string `protobuf:"bytes,11,opt,name=result,proto3" json:"result,omitempty" toml:"result,omitempty" mapstructure:"result,omitempty"` // Fields that might be empty Conditional string `protobuf:"bytes,16,opt,name=conditional,proto3" json:"conditional,omitempty" toml:"conditional,omitempty" mapstructure:"conditional,omitempty"` IgnoreFailure bool `protobuf:"varint,17,opt,name=ignore_failure,json=ignoreFailure,proto3" json:"ignore_failure,omitempty" toml:"ignore_failure,omitempty" mapstructure:"ignore_failure,omitempty"` Error *ChefError `protobuf:"bytes,18,opt,name=error,proto3" json:"error,omitempty" toml:"error,omitempty" mapstructure:"error,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Resource) Reset() { *x = Resource{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Resource) String() string { @@ -754,7 +739,7 @@ func (*Resource) ProtoMessage() {} func (x *Resource) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -861,23 +846,20 @@ func (x *Resource) GetError() *ChefError { } type ChefError struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty" toml:"class,omitempty" mapstructure:"class,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` + Backtrace []string `protobuf:"bytes,16,rep,name=backtrace,proto3" json:"backtrace,omitempty" toml:"backtrace,omitempty" mapstructure:"backtrace,omitempty"` + Description *Description `protobuf:"bytes,17,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"` unknownFields protoimpl.UnknownFields - - Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty" toml:"class,omitempty" mapstructure:"class,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` - Backtrace []string `protobuf:"bytes,16,rep,name=backtrace,proto3" json:"backtrace,omitempty" toml:"backtrace,omitempty" mapstructure:"backtrace,omitempty"` - Description *Description `protobuf:"bytes,17,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChefError) Reset() { *x = ChefError{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChefError) String() string { @@ -888,7 +870,7 @@ func (*ChefError) ProtoMessage() {} func (x *ChefError) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -932,24 +914,21 @@ func (x *ChefError) GetDescription() *Description { } type RunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Skipped bool `protobuf:"varint,4,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` + Children []*RunList `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty" toml:"children,omitempty" mapstructure:"children,omitempty"` unknownFields protoimpl.UnknownFields - - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - Skipped bool `protobuf:"varint,4,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` - Children []*RunList `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty" toml:"children,omitempty" mapstructure:"children,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RunList) Reset() { *x = RunList{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RunList) String() string { @@ -960,7 +939,7 @@ func (*RunList) ProtoMessage() {} func (x *RunList) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1011,21 +990,18 @@ func (x *RunList) GetChildren() []*RunList { } type Description struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` + Sections []*structpb.Struct `protobuf:"bytes,2,rep,name=sections,proto3" json:"sections,omitempty" toml:"sections,omitempty" mapstructure:"sections,omitempty"` unknownFields protoimpl.UnknownFields - - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` - Sections []*structpb.Struct `protobuf:"bytes,2,rep,name=sections,proto3" json:"sections,omitempty" toml:"sections,omitempty" mapstructure:"sections,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Description) Reset() { *x = Description{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Description) String() string { @@ -1036,7 +1012,7 @@ func (*Description) ProtoMessage() {} func (x *Description) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1066,22 +1042,19 @@ func (x *Description) GetSections() []*structpb.Struct { } type Deprecation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` + Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty" toml:"location,omitempty" mapstructure:"location,omitempty"` unknownFields protoimpl.UnknownFields - - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` - Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty" toml:"location,omitempty" mapstructure:"location,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Deprecation) Reset() { *x = Deprecation{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Deprecation) String() string { @@ -1092,7 +1065,7 @@ func (*Deprecation) ProtoMessage() {} func (x *Deprecation) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1129,21 +1102,18 @@ func (x *Deprecation) GetLocation() string { } type VersionedCookbook struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + sizeCache protoimpl.SizeCache } func (x *VersionedCookbook) Reset() { *x = VersionedCookbook{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VersionedCookbook) String() string { @@ -1154,7 +1124,7 @@ func (*VersionedCookbook) ProtoMessage() {} func (x *VersionedCookbook) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1184,20 +1154,17 @@ func (x *VersionedCookbook) GetVersion() string { } type MissingNodeDurationCounts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CountedDurations []*CountedDuration `protobuf:"bytes,1,rep,name=counted_durations,json=countedDurations,proto3" json:"counted_durations,omitempty" toml:"counted_durations,omitempty" mapstructure:"counted_durations,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + CountedDurations []*CountedDuration `protobuf:"bytes,1,rep,name=counted_durations,json=countedDurations,proto3" json:"counted_durations,omitempty" toml:"counted_durations,omitempty" mapstructure:"counted_durations,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MissingNodeDurationCounts) Reset() { *x = MissingNodeDurationCounts{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MissingNodeDurationCounts) String() string { @@ -1208,7 +1175,7 @@ func (*MissingNodeDurationCounts) ProtoMessage() {} func (x *MissingNodeDurationCounts) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1231,21 +1198,18 @@ func (x *MissingNodeDurationCounts) GetCountedDurations() []*CountedDuration { } type CountedDuration struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Duration string `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty" toml:"duration,omitempty" mapstructure:"duration,omitempty"` + Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty" toml:"count,omitempty" mapstructure:"count,omitempty"` unknownFields protoimpl.UnknownFields - - Duration string `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty" toml:"duration,omitempty" mapstructure:"duration,omitempty"` - Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty" toml:"count,omitempty" mapstructure:"count,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CountedDuration) Reset() { *x = CountedDuration{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CountedDuration) String() string { @@ -1256,7 +1220,7 @@ func (*CountedDuration) ProtoMessage() {} func (x *CountedDuration) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1286,20 +1250,17 @@ func (x *CountedDuration) GetCount() int32 { } type NodeMetadataCounts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Types []*TypeCount `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty" toml:"types,omitempty" mapstructure:"types,omitempty"` unknownFields protoimpl.UnknownFields - - Types []*TypeCount `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty" toml:"types,omitempty" mapstructure:"types,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NodeMetadataCounts) Reset() { *x = NodeMetadataCounts{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeMetadataCounts) String() string { @@ -1310,7 +1271,7 @@ func (*NodeMetadataCounts) ProtoMessage() {} func (x *NodeMetadataCounts) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1333,21 +1294,18 @@ func (x *NodeMetadataCounts) GetTypes() []*TypeCount { } type TypeCount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Values []*ValueCount `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` + Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` unknownFields protoimpl.UnknownFields - - Values []*ValueCount `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` - Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TypeCount) Reset() { *x = TypeCount{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TypeCount) String() string { @@ -1358,7 +1316,7 @@ func (*TypeCount) ProtoMessage() {} func (x *TypeCount) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1388,21 +1346,18 @@ func (x *TypeCount) GetType() string { } type ValueCount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` + Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty" toml:"count,omitempty" mapstructure:"count,omitempty"` unknownFields protoimpl.UnknownFields - - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` - Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty" toml:"count,omitempty" mapstructure:"count,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ValueCount) Reset() { *x = ValueCount{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValueCount) String() string { @@ -1413,7 +1368,7 @@ func (*ValueCount) ProtoMessage() {} func (x *ValueCount) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1443,20 +1398,17 @@ func (x *ValueCount) GetCount() int32 { } type NodeRunsDailyStatusTimeSeries struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Durations []*RunDurationStatus `protobuf:"bytes,1,rep,name=durations,proto3" json:"durations,omitempty" toml:"durations,omitempty" mapstructure:"durations,omitempty"` unknownFields protoimpl.UnknownFields - - Durations []*RunDurationStatus `protobuf:"bytes,1,rep,name=durations,proto3" json:"durations,omitempty" toml:"durations,omitempty" mapstructure:"durations,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NodeRunsDailyStatusTimeSeries) Reset() { *x = NodeRunsDailyStatusTimeSeries{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeRunsDailyStatusTimeSeries) String() string { @@ -1467,7 +1419,7 @@ func (*NodeRunsDailyStatusTimeSeries) ProtoMessage() {} func (x *NodeRunsDailyStatusTimeSeries) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1490,23 +1442,20 @@ func (x *NodeRunsDailyStatusTimeSeries) GetDurations() []*RunDurationStatus { } type RunDurationStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` + End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` + Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + RunId string `protobuf:"bytes,4,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty" toml:"run_id,omitempty" mapstructure:"run_id,omitempty"` unknownFields protoimpl.UnknownFields - - Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` - End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` - Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - RunId string `protobuf:"bytes,4,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty" toml:"run_id,omitempty" mapstructure:"run_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RunDurationStatus) Reset() { *x = RunDurationStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RunDurationStatus) String() string { @@ -1517,7 +1466,7 @@ func (*RunDurationStatus) ProtoMessage() {} func (x *RunDurationStatus) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_nodes_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1866,7 +1815,7 @@ func file_interservice_cfgmgmt_response_nodes_proto_rawDescGZIP() []byte { } var file_interservice_cfgmgmt_response_nodes_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_interservice_cfgmgmt_response_nodes_proto_goTypes = []interface{}{ +var file_interservice_cfgmgmt_response_nodes_proto_goTypes = []any{ (*NodeAttribute)(nil), // 0: chef.automate.domain.cfgmgmt.response.NodeAttribute (*AbridgedConverge)(nil), // 1: chef.automate.domain.cfgmgmt.response.AbridgedConverge (*Run)(nil), // 2: chef.automate.domain.cfgmgmt.response.Run @@ -1916,212 +1865,6 @@ func file_interservice_cfgmgmt_response_nodes_proto_init() { if File_interservice_cfgmgmt_response_nodes_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_cfgmgmt_response_nodes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeAttribute); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_nodes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AbridgedConverge); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_nodes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Run); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_nodes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExpandedRunList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_nodes_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Resource); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_nodes_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChefError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_nodes_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RunList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_nodes_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Description); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_nodes_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Deprecation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_nodes_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VersionedCookbook); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_nodes_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MissingNodeDurationCounts); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_nodes_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountedDuration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_nodes_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeMetadataCounts); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_nodes_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TypeCount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_nodes_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValueCount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_nodes_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeRunsDailyStatusTimeSeries); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_nodes_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RunDurationStatus); 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{ diff --git a/api/interservice/cfgmgmt/response/root.pb.go b/api/interservice/cfgmgmt/response/root.pb.go index ca3c98a0a4a..ffb0668408c 100644 --- a/api/interservice/cfgmgmt/response/root.pb.go +++ b/api/interservice/cfgmgmt/response/root.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cfgmgmt/response/root.proto @@ -21,23 +21,20 @@ const ( ) type VersionInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Sha string `protobuf:"bytes,3,opt,name=sha,proto3" json:"sha,omitempty" toml:"sha,omitempty" mapstructure:"sha,omitempty"` + Built string `protobuf:"bytes,4,opt,name=built,proto3" json:"built,omitempty" toml:"built,omitempty" mapstructure:"built,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - Sha string `protobuf:"bytes,3,opt,name=sha,proto3" json:"sha,omitempty" toml:"sha,omitempty" mapstructure:"sha,omitempty"` - Built string `protobuf:"bytes,4,opt,name=built,proto3" json:"built,omitempty" toml:"built,omitempty" mapstructure:"built,omitempty"` + sizeCache protoimpl.SizeCache } func (x *VersionInfo) Reset() { *x = VersionInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VersionInfo) String() string { @@ -48,7 +45,7 @@ func (*VersionInfo) ProtoMessage() {} func (x *VersionInfo) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -102,20 +99,17 @@ func (x *VersionInfo) GetBuilt() string { // // @afiune: Here we can add more health information to the response type Health struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Health) Reset() { *x = Health{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Health) String() string { @@ -126,7 +120,7 @@ func (*Health) ProtoMessage() {} func (x *Health) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -149,20 +143,17 @@ func (x *Health) GetStatus() string { } type Organizations struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Organizations []string `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty" toml:"organizations,omitempty" mapstructure:"organizations,omitempty"` unknownFields protoimpl.UnknownFields - - Organizations []string `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty" toml:"organizations,omitempty" mapstructure:"organizations,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Organizations) Reset() { *x = Organizations{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Organizations) String() string { @@ -173,7 +164,7 @@ func (*Organizations) ProtoMessage() {} func (x *Organizations) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -196,20 +187,17 @@ func (x *Organizations) GetOrganizations() []string { } type SourceFQDNS struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SourceFqdns []string `protobuf:"bytes,1,rep,name=source_fqdns,json=sourceFqdns,proto3" json:"source_fqdns,omitempty" toml:"source_fqdns,omitempty" mapstructure:"source_fqdns,omitempty"` unknownFields protoimpl.UnknownFields - - SourceFqdns []string `protobuf:"bytes,1,rep,name=source_fqdns,json=sourceFqdns,proto3" json:"source_fqdns,omitempty" toml:"source_fqdns,omitempty" mapstructure:"source_fqdns,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SourceFQDNS) Reset() { *x = SourceFQDNS{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SourceFQDNS) String() string { @@ -220,7 +208,7 @@ func (*SourceFQDNS) ProtoMessage() {} func (x *SourceFQDNS) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -243,20 +231,17 @@ func (x *SourceFQDNS) GetSourceFqdns() []string { } type ExportData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"` unknownFields protoimpl.UnknownFields - - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ExportData) Reset() { *x = ExportData{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExportData) String() string { @@ -267,7 +252,7 @@ func (*ExportData) ProtoMessage() {} func (x *ExportData) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -290,20 +275,17 @@ func (x *ExportData) GetContent() []byte { } type ReportExportData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"` unknownFields protoimpl.UnknownFields - - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReportExportData) Reset() { *x = ReportExportData{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportExportData) String() string { @@ -314,7 +296,7 @@ func (*ReportExportData) ProtoMessage() {} func (x *ReportExportData) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_root_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -384,7 +366,7 @@ func file_interservice_cfgmgmt_response_root_proto_rawDescGZIP() []byte { } var file_interservice_cfgmgmt_response_root_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_interservice_cfgmgmt_response_root_proto_goTypes = []interface{}{ +var file_interservice_cfgmgmt_response_root_proto_goTypes = []any{ (*VersionInfo)(nil), // 0: chef.automate.domain.cfgmgmt.response.VersionInfo (*Health)(nil), // 1: chef.automate.domain.cfgmgmt.response.Health (*Organizations)(nil), // 2: chef.automate.domain.cfgmgmt.response.Organizations @@ -405,80 +387,6 @@ func file_interservice_cfgmgmt_response_root_proto_init() { if File_interservice_cfgmgmt_response_root_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_cfgmgmt_response_root_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VersionInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_root_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Health); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_root_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Organizations); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_root_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SourceFQDNS); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_root_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExportData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_root_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReportExportData); 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{ diff --git a/api/interservice/cfgmgmt/response/stats.pb.go b/api/interservice/cfgmgmt/response/stats.pb.go index 81e8a8e15c4..7829743e07a 100644 --- a/api/interservice/cfgmgmt/response/stats.pb.go +++ b/api/interservice/cfgmgmt/response/stats.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cfgmgmt/response/stats.proto @@ -21,22 +21,19 @@ const ( ) type RunsCounts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + Success int32 `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty" toml:"success,omitempty" mapstructure:"success,omitempty"` + Failure int32 `protobuf:"varint,3,opt,name=failure,proto3" json:"failure,omitempty" toml:"failure,omitempty" mapstructure:"failure,omitempty"` unknownFields protoimpl.UnknownFields - - Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` - Success int32 `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty" toml:"success,omitempty" mapstructure:"success,omitempty"` - Failure int32 `protobuf:"varint,3,opt,name=failure,proto3" json:"failure,omitempty" toml:"failure,omitempty" mapstructure:"failure,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RunsCounts) Reset() { *x = RunsCounts{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_stats_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_stats_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RunsCounts) String() string { @@ -47,7 +44,7 @@ func (*RunsCounts) ProtoMessage() {} func (x *RunsCounts) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_stats_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -84,23 +81,20 @@ func (x *RunsCounts) GetFailure() int32 { } type NodesCounts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + Success int32 `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty" toml:"success,omitempty" mapstructure:"success,omitempty"` + Failure int32 `protobuf:"varint,3,opt,name=failure,proto3" json:"failure,omitempty" toml:"failure,omitempty" mapstructure:"failure,omitempty"` + Missing int32 `protobuf:"varint,4,opt,name=missing,proto3" json:"missing,omitempty" toml:"missing,omitempty" mapstructure:"missing,omitempty"` unknownFields protoimpl.UnknownFields - - Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` - Success int32 `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty" toml:"success,omitempty" mapstructure:"success,omitempty"` - Failure int32 `protobuf:"varint,3,opt,name=failure,proto3" json:"failure,omitempty" toml:"failure,omitempty" mapstructure:"failure,omitempty"` - Missing int32 `protobuf:"varint,4,opt,name=missing,proto3" json:"missing,omitempty" toml:"missing,omitempty" mapstructure:"missing,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NodesCounts) Reset() { *x = NodesCounts{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_stats_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_stats_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodesCounts) String() string { @@ -111,7 +105,7 @@ func (*NodesCounts) ProtoMessage() {} func (x *NodesCounts) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_stats_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -155,21 +149,18 @@ func (x *NodesCounts) GetMissing() int32 { } type CheckInCountsTimeSeries struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of daily checkin counts - Counts []*CheckInCounts `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty" toml:"counts,omitempty" mapstructure:"counts,omitempty"` + Counts []*CheckInCounts `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty" toml:"counts,omitempty" mapstructure:"counts,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CheckInCountsTimeSeries) Reset() { *x = CheckInCountsTimeSeries{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_stats_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_stats_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CheckInCountsTimeSeries) String() string { @@ -180,7 +171,7 @@ func (*CheckInCountsTimeSeries) ProtoMessage() {} func (x *CheckInCountsTimeSeries) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_stats_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -203,23 +194,20 @@ func (x *CheckInCountsTimeSeries) GetCounts() []*CheckInCounts { } type CheckInCounts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` + End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` + Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty" toml:"count,omitempty" mapstructure:"count,omitempty"` + Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` unknownFields protoimpl.UnknownFields - - Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` - End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` - Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty" toml:"count,omitempty" mapstructure:"count,omitempty"` - Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CheckInCounts) Reset() { *x = CheckInCounts{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_stats_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_stats_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CheckInCounts) String() string { @@ -230,7 +218,7 @@ func (*CheckInCounts) ProtoMessage() {} func (x *CheckInCounts) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_stats_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -327,7 +315,7 @@ func file_interservice_cfgmgmt_response_stats_proto_rawDescGZIP() []byte { } var file_interservice_cfgmgmt_response_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_interservice_cfgmgmt_response_stats_proto_goTypes = []interface{}{ +var file_interservice_cfgmgmt_response_stats_proto_goTypes = []any{ (*RunsCounts)(nil), // 0: chef.automate.domain.cfgmgmt.response.RunsCounts (*NodesCounts)(nil), // 1: chef.automate.domain.cfgmgmt.response.NodesCounts (*CheckInCountsTimeSeries)(nil), // 2: chef.automate.domain.cfgmgmt.response.CheckInCountsTimeSeries @@ -347,56 +335,6 @@ func file_interservice_cfgmgmt_response_stats_proto_init() { if File_interservice_cfgmgmt_response_stats_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_cfgmgmt_response_stats_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RunsCounts); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_stats_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodesCounts); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_stats_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CheckInCountsTimeSeries); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_stats_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CheckInCounts); 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{ diff --git a/api/interservice/cfgmgmt/response/suggestions.pb.go b/api/interservice/cfgmgmt/response/suggestions.pb.go index ddac905817d..38e68aa100d 100644 --- a/api/interservice/cfgmgmt/response/suggestions.pb.go +++ b/api/interservice/cfgmgmt/response/suggestions.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cfgmgmt/response/suggestions.proto @@ -21,21 +21,18 @@ const ( ) type Suggestion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty" toml:"text,omitempty" mapstructure:"text,omitempty"` + Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty" toml:"score,omitempty" mapstructure:"score,omitempty"` unknownFields protoimpl.UnknownFields - - Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty" toml:"text,omitempty" mapstructure:"text,omitempty"` - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty" toml:"score,omitempty" mapstructure:"score,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Suggestion) Reset() { *x = Suggestion{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_suggestions_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_suggestions_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Suggestion) String() string { @@ -46,7 +43,7 @@ func (*Suggestion) ProtoMessage() {} func (x *Suggestion) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_suggestions_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -107,7 +104,7 @@ func file_interservice_cfgmgmt_response_suggestions_proto_rawDescGZIP() []byte { } var file_interservice_cfgmgmt_response_suggestions_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_interservice_cfgmgmt_response_suggestions_proto_goTypes = []interface{}{ +var file_interservice_cfgmgmt_response_suggestions_proto_goTypes = []any{ (*Suggestion)(nil), // 0: chef.automate.domain.cfgmgmt.response.Suggestion } var file_interservice_cfgmgmt_response_suggestions_proto_depIdxs = []int32{ @@ -123,20 +120,6 @@ func file_interservice_cfgmgmt_response_suggestions_proto_init() { if File_interservice_cfgmgmt_response_suggestions_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_cfgmgmt_response_suggestions_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Suggestion); 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{ diff --git a/api/interservice/cfgmgmt/response/telemetry.pb.go b/api/interservice/cfgmgmt/response/telemetry.pb.go index 09a6b7628c4..a82a8e31fda 100644 --- a/api/interservice/cfgmgmt/response/telemetry.pb.go +++ b/api/interservice/cfgmgmt/response/telemetry.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cfgmgmt/response/telemetry.proto @@ -21,18 +21,16 @@ const ( ) type UpdateTelemetryReportedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateTelemetryReportedResponse) Reset() { *x = UpdateTelemetryReportedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_telemetry_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_telemetry_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateTelemetryReportedResponse) String() string { @@ -43,7 +41,7 @@ func (*UpdateTelemetryReportedResponse) ProtoMessage() {} func (x *UpdateTelemetryReportedResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_telemetry_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -59,23 +57,20 @@ func (*UpdateTelemetryReportedResponse) Descriptor() ([]byte, []int) { } type GetNodesUsageCountResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // number of days since telematics was last posted DaysSinceLastPost int64 `protobuf:"varint,1,opt,name=days_since_last_post,json=daysSinceLastPost,proto3" json:"days_since_last_post,omitempty" toml:"days_since_last_post,omitempty" mapstructure:"days_since_last_post,omitempty"` // unique nodes count in a duration - NodeCnt int64 `protobuf:"varint,2,opt,name=node_cnt,json=nodeCnt,proto3" json:"node_cnt,omitempty" toml:"node_cnt,omitempty" mapstructure:"node_cnt,omitempty"` + NodeCnt int64 `protobuf:"varint,2,opt,name=node_cnt,json=nodeCnt,proto3" json:"node_cnt,omitempty" toml:"node_cnt,omitempty" mapstructure:"node_cnt,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetNodesUsageCountResponse) Reset() { *x = GetNodesUsageCountResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_cfgmgmt_response_telemetry_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_cfgmgmt_response_telemetry_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetNodesUsageCountResponse) String() string { @@ -86,7 +81,7 @@ func (*GetNodesUsageCountResponse) ProtoMessage() {} func (x *GetNodesUsageCountResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_cfgmgmt_response_telemetry_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -152,7 +147,7 @@ func file_interservice_cfgmgmt_response_telemetry_proto_rawDescGZIP() []byte { } var file_interservice_cfgmgmt_response_telemetry_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_interservice_cfgmgmt_response_telemetry_proto_goTypes = []interface{}{ +var file_interservice_cfgmgmt_response_telemetry_proto_goTypes = []any{ (*UpdateTelemetryReportedResponse)(nil), // 0: chef.automate.domain.cfgmgmt.response.UpdateTelemetryReportedResponse (*GetNodesUsageCountResponse)(nil), // 1: chef.automate.domain.cfgmgmt.response.GetNodesUsageCountResponse } @@ -169,32 +164,6 @@ func file_interservice_cfgmgmt_response_telemetry_proto_init() { if File_interservice_cfgmgmt_response_telemetry_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_cfgmgmt_response_telemetry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateTelemetryReportedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_cfgmgmt_response_telemetry_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetNodesUsageCountResponse); 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{ diff --git a/api/interservice/cfgmgmt/service/cfgmgmt.pb.go b/api/interservice/cfgmgmt/service/cfgmgmt.pb.go index 14c6c973513..1506e562d9c 100644 --- a/api/interservice/cfgmgmt/service/cfgmgmt.pb.go +++ b/api/interservice/cfgmgmt/service/cfgmgmt.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/cfgmgmt/service/cfgmgmt.proto @@ -315,7 +315,7 @@ var file_interservice_cfgmgmt_service_cfgmgmt_proto_rawDesc = []byte{ 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_interservice_cfgmgmt_service_cfgmgmt_proto_goTypes = []interface{}{ +var file_interservice_cfgmgmt_service_cfgmgmt_proto_goTypes = []any{ (*request.VersionInfo)(nil), // 0: chef.automate.domain.cfgmgmt.request.VersionInfo (*request.Health)(nil), // 1: chef.automate.domain.cfgmgmt.request.Health (*request.NodesCounts)(nil), // 2: chef.automate.domain.cfgmgmt.request.NodesCounts diff --git a/api/interservice/compliance/common/common.pb.go b/api/interservice/compliance/common/common.pb.go index 64f43898521..b20f5dc83d3 100644 --- a/api/interservice/compliance/common/common.pb.go +++ b/api/interservice/compliance/common/common.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/compliance/common/common.proto @@ -21,10 +21,7 @@ const ( ) type Filter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Field to filter on. Key string `protobuf:"bytes,20,opt,name=key,proto3" json:"key,omitempty" toml:"key,omitempty" mapstructure:"key,omitempty"` // Include matches for this filter.(boolean) @@ -32,16 +29,16 @@ type Filter struct { // `false` *excludes* all nodes that match this filter. Exclude bool `protobuf:"varint,22,opt,name=exclude,proto3" json:"exclude,omitempty" toml:"exclude,omitempty" mapstructure:"exclude,omitempty"` // Field values to filter on. - Values []string `protobuf:"bytes,23,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` + Values []string `protobuf:"bytes,23,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Filter) Reset() { *x = Filter{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_common_common_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_common_common_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Filter) String() string { @@ -52,7 +49,7 @@ func (*Filter) ProtoMessage() {} func (x *Filter) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_common_common_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -89,23 +86,20 @@ func (x *Filter) GetValues() []string { } type Kv struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Tag key. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" toml:"key,omitempty" mapstructure:"key,omitempty"` // Tag value. - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Kv) Reset() { *x = Kv{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_common_common_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_common_common_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Kv) String() string { @@ -116,7 +110,7 @@ func (*Kv) ProtoMessage() {} func (x *Kv) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_common_common_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -181,7 +175,7 @@ func file_interservice_compliance_common_common_proto_rawDescGZIP() []byte { } var file_interservice_compliance_common_common_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_interservice_compliance_common_common_proto_goTypes = []interface{}{ +var file_interservice_compliance_common_common_proto_goTypes = []any{ (*Filter)(nil), // 0: chef.automate.domain.compliance.common.Filter (*Kv)(nil), // 1: chef.automate.domain.compliance.common.Kv } @@ -198,32 +192,6 @@ func file_interservice_compliance_common_common_proto_init() { if File_interservice_compliance_common_common_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_compliance_common_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Filter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_common_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Kv); 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{ diff --git a/api/interservice/compliance/ingest/events/compliance/compliance.pb.go b/api/interservice/compliance/ingest/events/compliance/compliance.pb.go index 65332794f0d..04da7360925 100644 --- a/api/interservice/compliance/ingest/events/compliance/compliance.pb.go +++ b/api/interservice/compliance/ingest/events/compliance/compliance.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/compliance/ingest/events/compliance/compliance.proto @@ -23,10 +23,7 @@ const ( ) type Report struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // inspec full json report fields Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` Platform *inspec.Platform `protobuf:"bytes,16,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` @@ -59,15 +56,15 @@ type Report struct { AutomateManagerType string `protobuf:"bytes,42,opt,name=automate_manager_type,json=automateManagerType,proto3" json:"automate_manager_type,omitempty" toml:"automate_manager_type,omitempty" mapstructure:"automate_manager_type,omitempty"` Status string `protobuf:"bytes,43,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` StatusMessage string `protobuf:"bytes,44,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty" toml:"status_message,omitempty" mapstructure:"status_message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Report) Reset() { *x = Report{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_ingest_events_compliance_compliance_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_ingest_events_compliance_compliance_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Report) String() string { @@ -78,7 +75,7 @@ func (*Report) ProtoMessage() {} func (x *Report) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_ingest_events_compliance_compliance_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -416,7 +413,7 @@ func file_interservice_compliance_ingest_events_compliance_compliance_proto_rawD } var file_interservice_compliance_ingest_events_compliance_compliance_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_interservice_compliance_ingest_events_compliance_compliance_proto_goTypes = []interface{}{ +var file_interservice_compliance_ingest_events_compliance_compliance_proto_goTypes = []any{ (*Report)(nil), // 0: chef.automate.domain.compliance.ingest.events.compliance.Report (*inspec.Platform)(nil), // 1: chef.automate.domain.compliance.ingest.events.inspec.Platform (*inspec.Statistics)(nil), // 2: chef.automate.domain.compliance.ingest.events.inspec.Statistics @@ -440,20 +437,6 @@ func file_interservice_compliance_ingest_events_compliance_compliance_proto_init if File_interservice_compliance_ingest_events_compliance_compliance_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_compliance_ingest_events_compliance_compliance_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Report); 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{ diff --git a/api/interservice/compliance/ingest/events/inspec/inspec.pb.go b/api/interservice/compliance/ingest/events/inspec/inspec.pb.go index c45f56c883c..06708b69875 100644 --- a/api/interservice/compliance/ingest/events/inspec/inspec.pb.go +++ b/api/interservice/compliance/ingest/events/inspec/inspec.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/compliance/ingest/events/inspec/inspec.proto @@ -22,26 +22,23 @@ const ( ) type Report struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Platform *Platform `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` + Statistics *Statistics `protobuf:"bytes,3,opt,name=statistics,proto3" json:"statistics,omitempty" toml:"statistics,omitempty" mapstructure:"statistics,omitempty"` + OtherChecks []string `protobuf:"bytes,4,rep,name=other_checks,json=otherChecks,proto3" json:"other_checks,omitempty" toml:"other_checks,omitempty" mapstructure:"other_checks,omitempty"` + Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + StatusMessage string `protobuf:"bytes,6,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty" toml:"status_message,omitempty" mapstructure:"status_message,omitempty"` + Profiles []*Profile `protobuf:"bytes,20,rep,name=profiles,proto3" json:"profiles,omitempty" toml:"profiles,omitempty" mapstructure:"profiles,omitempty"` unknownFields protoimpl.UnknownFields - - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - Platform *Platform `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` - Statistics *Statistics `protobuf:"bytes,3,opt,name=statistics,proto3" json:"statistics,omitempty" toml:"statistics,omitempty" mapstructure:"statistics,omitempty"` - OtherChecks []string `protobuf:"bytes,4,rep,name=other_checks,json=otherChecks,proto3" json:"other_checks,omitempty" toml:"other_checks,omitempty" mapstructure:"other_checks,omitempty"` - Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - StatusMessage string `protobuf:"bytes,6,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty" toml:"status_message,omitempty" mapstructure:"status_message,omitempty"` - Profiles []*Profile `protobuf:"bytes,20,rep,name=profiles,proto3" json:"profiles,omitempty" toml:"profiles,omitempty" mapstructure:"profiles,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Report) Reset() { *x = Report{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Report) String() string { @@ -52,7 +49,7 @@ func (*Report) ProtoMessage() {} func (x *Report) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -117,21 +114,18 @@ func (x *Report) GetProfiles() []*Profile { } type Platform struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Release string `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Release string `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Platform) Reset() { *x = Platform{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Platform) String() string { @@ -142,7 +136,7 @@ func (*Platform) ProtoMessage() {} func (x *Platform) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -172,20 +166,17 @@ func (x *Platform) GetRelease() string { } type Statistics struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Duration float32 `protobuf:"fixed32,1,opt,name=duration,proto3" json:"duration,omitempty" toml:"duration,omitempty" mapstructure:"duration,omitempty"` unknownFields protoimpl.UnknownFields - - Duration float32 `protobuf:"fixed32,1,opt,name=duration,proto3" json:"duration,omitempty" toml:"duration,omitempty" mapstructure:"duration,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Statistics) Reset() { *x = Statistics{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Statistics) String() string { @@ -196,7 +187,7 @@ func (*Statistics) ProtoMessage() {} func (x *Statistics) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -219,37 +210,34 @@ func (x *Statistics) GetDuration() float32 { } type Profile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,20,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Title string `protobuf:"bytes,21,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` - Version string `protobuf:"bytes,22,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - Summary string `protobuf:"bytes,23,opt,name=summary,proto3" json:"summary,omitempty" toml:"summary,omitempty" mapstructure:"summary,omitempty"` - Maintainer string `protobuf:"bytes,24,opt,name=maintainer,proto3" json:"maintainer,omitempty" toml:"maintainer,omitempty" mapstructure:"maintainer,omitempty"` - License string `protobuf:"bytes,25,opt,name=license,proto3" json:"license,omitempty" toml:"license,omitempty" mapstructure:"license,omitempty"` - Copyright string `protobuf:"bytes,26,opt,name=copyright,proto3" json:"copyright,omitempty" toml:"copyright,omitempty" mapstructure:"copyright,omitempty"` - CopyrightEmail string `protobuf:"bytes,27,opt,name=copyright_email,json=copyrightEmail,proto3" json:"copyright_email,omitempty" toml:"copyright_email,omitempty" mapstructure:"copyright_email,omitempty"` - Sha256 string `protobuf:"bytes,28,opt,name=sha256,proto3" json:"sha256,omitempty" toml:"sha256,omitempty" mapstructure:"sha256,omitempty"` - Controls []*Control `protobuf:"bytes,29,rep,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` - Supports []*Support `protobuf:"bytes,30,rep,name=supports,proto3" json:"supports,omitempty" toml:"supports,omitempty" mapstructure:"supports,omitempty"` - Attributes []*Attribute `protobuf:"bytes,31,rep,name=attributes,proto3" json:"attributes,omitempty" toml:"attributes,omitempty" mapstructure:"attributes,omitempty"` - Depends []*Dependency `protobuf:"bytes,32,rep,name=depends,proto3" json:"depends,omitempty" toml:"depends,omitempty" mapstructure:"depends,omitempty"` - Groups []*Group `protobuf:"bytes,33,rep,name=groups,proto3" json:"groups,omitempty" toml:"groups,omitempty" mapstructure:"groups,omitempty"` - ParentProfile string `protobuf:"bytes,34,opt,name=parent_profile,json=parentProfile,proto3" json:"parent_profile,omitempty" toml:"parent_profile,omitempty" mapstructure:"parent_profile,omitempty"` - Status string `protobuf:"bytes,35,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - SkipMessage string `protobuf:"bytes,36,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty" toml:"skip_message,omitempty" mapstructure:"skip_message,omitempty"` - StatusMessage string `protobuf:"bytes,37,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty" toml:"status_message,omitempty" mapstructure:"status_message,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,20,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Title string `protobuf:"bytes,21,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` + Version string `protobuf:"bytes,22,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Summary string `protobuf:"bytes,23,opt,name=summary,proto3" json:"summary,omitempty" toml:"summary,omitempty" mapstructure:"summary,omitempty"` + Maintainer string `protobuf:"bytes,24,opt,name=maintainer,proto3" json:"maintainer,omitempty" toml:"maintainer,omitempty" mapstructure:"maintainer,omitempty"` + License string `protobuf:"bytes,25,opt,name=license,proto3" json:"license,omitempty" toml:"license,omitempty" mapstructure:"license,omitempty"` + Copyright string `protobuf:"bytes,26,opt,name=copyright,proto3" json:"copyright,omitempty" toml:"copyright,omitempty" mapstructure:"copyright,omitempty"` + CopyrightEmail string `protobuf:"bytes,27,opt,name=copyright_email,json=copyrightEmail,proto3" json:"copyright_email,omitempty" toml:"copyright_email,omitempty" mapstructure:"copyright_email,omitempty"` + Sha256 string `protobuf:"bytes,28,opt,name=sha256,proto3" json:"sha256,omitempty" toml:"sha256,omitempty" mapstructure:"sha256,omitempty"` + Controls []*Control `protobuf:"bytes,29,rep,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` + Supports []*Support `protobuf:"bytes,30,rep,name=supports,proto3" json:"supports,omitempty" toml:"supports,omitempty" mapstructure:"supports,omitempty"` + Attributes []*Attribute `protobuf:"bytes,31,rep,name=attributes,proto3" json:"attributes,omitempty" toml:"attributes,omitempty" mapstructure:"attributes,omitempty"` + Depends []*Dependency `protobuf:"bytes,32,rep,name=depends,proto3" json:"depends,omitempty" toml:"depends,omitempty" mapstructure:"depends,omitempty"` + Groups []*Group `protobuf:"bytes,33,rep,name=groups,proto3" json:"groups,omitempty" toml:"groups,omitempty" mapstructure:"groups,omitempty"` + ParentProfile string `protobuf:"bytes,34,opt,name=parent_profile,json=parentProfile,proto3" json:"parent_profile,omitempty" toml:"parent_profile,omitempty" mapstructure:"parent_profile,omitempty"` + Status string `protobuf:"bytes,35,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + SkipMessage string `protobuf:"bytes,36,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty" toml:"skip_message,omitempty" mapstructure:"skip_message,omitempty"` + StatusMessage string `protobuf:"bytes,37,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty" toml:"status_message,omitempty" mapstructure:"status_message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Profile) Reset() { *x = Profile{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile) String() string { @@ -260,7 +248,7 @@ func (*Profile) ProtoMessage() {} func (x *Profile) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -402,31 +390,28 @@ func (x *Profile) GetStatusMessage() string { } type Control struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Impact float32 `protobuf:"fixed32,2,opt,name=impact,proto3" json:"impact,omitempty" toml:"impact,omitempty" mapstructure:"impact,omitempty"` - Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` - Code string `protobuf:"bytes,20,opt,name=code,proto3" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` - Desc string `protobuf:"bytes,21,opt,name=desc,proto3" json:"desc,omitempty" toml:"desc,omitempty" mapstructure:"desc,omitempty"` - SourceLocation *SourceLocation `protobuf:"bytes,22,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty" toml:"source_location,omitempty" mapstructure:"source_location,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Impact float32 `protobuf:"fixed32,2,opt,name=impact,proto3" json:"impact,omitempty" toml:"impact,omitempty" mapstructure:"impact,omitempty"` + Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` + Code string `protobuf:"bytes,20,opt,name=code,proto3" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` + Desc string `protobuf:"bytes,21,opt,name=desc,proto3" json:"desc,omitempty" toml:"desc,omitempty" mapstructure:"desc,omitempty"` + SourceLocation *SourceLocation `protobuf:"bytes,22,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty" toml:"source_location,omitempty" mapstructure:"source_location,omitempty"` // TODO handle raw refs and tags Refs []*structpb.Struct `protobuf:"bytes,23,rep,name=refs,proto3" json:"refs,omitempty" toml:"refs,omitempty" mapstructure:"refs,omitempty"` Tags *structpb.Struct `protobuf:"bytes,24,opt,name=tags,proto3" json:"tags,omitempty" toml:"tags,omitempty" mapstructure:"tags,omitempty"` Results []*Result `protobuf:"bytes,25,rep,name=results,proto3" json:"results,omitempty" toml:"results,omitempty" mapstructure:"results,omitempty"` WaiverData *WaiverData `protobuf:"bytes,26,opt,name=waiver_data,json=waiverData,proto3" json:"waiver_data,omitempty" toml:"waiver_data,omitempty" mapstructure:"waiver_data,omitempty"` RemovedResultsCounts *RemovedResultsCounts `protobuf:"bytes,27,opt,name=removed_results_counts,json=removedResultsCounts,proto3" json:"removed_results_counts,omitempty" toml:"removed_results_counts,omitempty" mapstructure:"removed_results_counts,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Control) Reset() { *x = Control{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Control) String() string { @@ -437,7 +422,7 @@ func (*Control) ProtoMessage() {} func (x *Control) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -530,24 +515,21 @@ func (x *Control) GetRemovedResultsCounts() *RemovedResultsCounts { } type WaiverData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ExpirationDate string `protobuf:"bytes,1,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty" toml:"expiration_date,omitempty" mapstructure:"expiration_date,omitempty"` - Justification string `protobuf:"bytes,2,opt,name=justification,proto3" json:"justification,omitempty" toml:"justification,omitempty" mapstructure:"justification,omitempty"` - Run bool `protobuf:"varint,3,opt,name=run,proto3" json:"run,omitempty" toml:"run,omitempty" mapstructure:"run,omitempty"` - SkippedDueToWaiver bool `protobuf:"varint,4,opt,name=skipped_due_to_waiver,json=skippedDueToWaiver,proto3" json:"skipped_due_to_waiver,omitempty" toml:"skipped_due_to_waiver,omitempty" mapstructure:"skipped_due_to_waiver,omitempty"` - Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ExpirationDate string `protobuf:"bytes,1,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty" toml:"expiration_date,omitempty" mapstructure:"expiration_date,omitempty"` + Justification string `protobuf:"bytes,2,opt,name=justification,proto3" json:"justification,omitempty" toml:"justification,omitempty" mapstructure:"justification,omitempty"` + Run bool `protobuf:"varint,3,opt,name=run,proto3" json:"run,omitempty" toml:"run,omitempty" mapstructure:"run,omitempty"` + SkippedDueToWaiver bool `protobuf:"varint,4,opt,name=skipped_due_to_waiver,json=skippedDueToWaiver,proto3" json:"skipped_due_to_waiver,omitempty" toml:"skipped_due_to_waiver,omitempty" mapstructure:"skipped_due_to_waiver,omitempty"` + Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WaiverData) Reset() { *x = WaiverData{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WaiverData) String() string { @@ -558,7 +540,7 @@ func (*WaiverData) ProtoMessage() {} func (x *WaiverData) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -609,22 +591,19 @@ func (x *WaiverData) GetMessage() string { } type RemovedResultsCounts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Failed int32 `protobuf:"varint,1,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` + Skipped int32 `protobuf:"varint,2,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` + Passed int32 `protobuf:"varint,3,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` unknownFields protoimpl.UnknownFields - - Failed int32 `protobuf:"varint,1,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` - Skipped int32 `protobuf:"varint,2,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` - Passed int32 `protobuf:"varint,3,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RemovedResultsCounts) Reset() { *x = RemovedResultsCounts{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemovedResultsCounts) String() string { @@ -635,7 +614,7 @@ func (*RemovedResultsCounts) ProtoMessage() {} func (x *RemovedResultsCounts) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -672,26 +651,23 @@ func (x *RemovedResultsCounts) GetPassed() int32 { } type Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + CodeDesc string `protobuf:"bytes,2,opt,name=code_desc,json=codeDesc,proto3" json:"code_desc,omitempty" toml:"code_desc,omitempty" mapstructure:"code_desc,omitempty"` + RunTime float32 `protobuf:"fixed32,3,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty" toml:"run_time,omitempty" mapstructure:"run_time,omitempty"` + StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` // For now, use string + Resource string `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty" toml:"resource,omitempty" mapstructure:"resource,omitempty"` + Message string `protobuf:"bytes,20,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` + SkipMessage string `protobuf:"bytes,21,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty" toml:"skip_message,omitempty" mapstructure:"skip_message,omitempty"` unknownFields protoimpl.UnknownFields - - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - CodeDesc string `protobuf:"bytes,2,opt,name=code_desc,json=codeDesc,proto3" json:"code_desc,omitempty" toml:"code_desc,omitempty" mapstructure:"code_desc,omitempty"` - RunTime float32 `protobuf:"fixed32,3,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty" toml:"run_time,omitempty" mapstructure:"run_time,omitempty"` - StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` // For now, use string - Resource string `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty" toml:"resource,omitempty" mapstructure:"resource,omitempty"` - Message string `protobuf:"bytes,20,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` - SkipMessage string `protobuf:"bytes,21,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty" toml:"skip_message,omitempty" mapstructure:"skip_message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Result) Reset() { *x = Result{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Result) String() string { @@ -702,7 +678,7 @@ func (*Result) ProtoMessage() {} func (x *Result) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -767,21 +743,18 @@ func (x *Result) GetSkipMessage() string { } type SourceLocation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty" toml:"ref,omitempty" mapstructure:"ref,omitempty"` + Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty" toml:"line,omitempty" mapstructure:"line,omitempty"` unknownFields protoimpl.UnknownFields - - Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty" toml:"ref,omitempty" mapstructure:"ref,omitempty"` - Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty" toml:"line,omitempty" mapstructure:"line,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SourceLocation) Reset() { *x = SourceLocation{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SourceLocation) String() string { @@ -792,7 +765,7 @@ func (*SourceLocation) ProtoMessage() {} func (x *SourceLocation) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -822,26 +795,23 @@ func (x *SourceLocation) GetLine() int32 { } type Support struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Inspec string `protobuf:"bytes,1,opt,name=inspec,proto3" json:"inspec,omitempty" toml:"inspec,omitempty" mapstructure:"inspec,omitempty"` - OsName string `protobuf:"bytes,2,opt,name=os_name,json=os-name,proto3" json:"os_name,omitempty" toml:"os_name,omitempty" mapstructure:"os_name,omitempty"` - OsFamily string `protobuf:"bytes,3,opt,name=os_family,json=os-family,proto3" json:"os_family,omitempty" toml:"os_family,omitempty" mapstructure:"os_family,omitempty"` - Release string `protobuf:"bytes,4,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` - PlatformName string `protobuf:"bytes,5,opt,name=platform_name,json=platform-name,proto3" json:"platform_name,omitempty" toml:"platform_name,omitempty" mapstructure:"platform_name,omitempty"` - PlatformFamily string `protobuf:"bytes,6,opt,name=platform_family,json=platform-family,proto3" json:"platform_family,omitempty" toml:"platform_family,omitempty" mapstructure:"platform_family,omitempty"` - Platform string `protobuf:"bytes,7,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Inspec string `protobuf:"bytes,1,opt,name=inspec,proto3" json:"inspec,omitempty" toml:"inspec,omitempty" mapstructure:"inspec,omitempty"` + OsName string `protobuf:"bytes,2,opt,name=os_name,json=os-name,proto3" json:"os_name,omitempty" toml:"os_name,omitempty" mapstructure:"os_name,omitempty"` + OsFamily string `protobuf:"bytes,3,opt,name=os_family,json=os-family,proto3" json:"os_family,omitempty" toml:"os_family,omitempty" mapstructure:"os_family,omitempty"` + Release string `protobuf:"bytes,4,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` + PlatformName string `protobuf:"bytes,5,opt,name=platform_name,json=platform-name,proto3" json:"platform_name,omitempty" toml:"platform_name,omitempty" mapstructure:"platform_name,omitempty"` + PlatformFamily string `protobuf:"bytes,6,opt,name=platform_family,json=platform-family,proto3" json:"platform_family,omitempty" toml:"platform_family,omitempty" mapstructure:"platform_family,omitempty"` + Platform string `protobuf:"bytes,7,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Support) Reset() { *x = Support{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Support) String() string { @@ -852,7 +822,7 @@ func (*Support) ProtoMessage() {} func (x *Support) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -919,21 +889,18 @@ func (x *Support) GetPlatform() string { // We can't have options as another message because the default field inside can take any json value(int, string, bool, hash, array) // We get options as a struct and handle the unmarshalling and marshaling in the code type Attribute struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Options *structpb.Struct `protobuf:"bytes,20,opt,name=options,proto3" json:"options,omitempty" toml:"options,omitempty" mapstructure:"options,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Options *structpb.Struct `protobuf:"bytes,20,opt,name=options,proto3" json:"options,omitempty" toml:"options,omitempty" mapstructure:"options,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Attribute) Reset() { *x = Attribute{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Attribute) String() string { @@ -944,7 +911,7 @@ func (*Attribute) ProtoMessage() {} func (x *Attribute) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -974,31 +941,28 @@ func (x *Attribute) GetOptions() *structpb.Struct { } type Dependency struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,21,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Url string `protobuf:"bytes,22,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` + Path string `protobuf:"bytes,23,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"` + Git string `protobuf:"bytes,24,opt,name=git,proto3" json:"git,omitempty" toml:"git,omitempty" mapstructure:"git,omitempty"` + Branch string `protobuf:"bytes,25,opt,name=branch,proto3" json:"branch,omitempty" toml:"branch,omitempty" mapstructure:"branch,omitempty"` + Tag string `protobuf:"bytes,26,opt,name=tag,proto3" json:"tag,omitempty" toml:"tag,omitempty" mapstructure:"tag,omitempty"` + Commit string `protobuf:"bytes,27,opt,name=commit,proto3" json:"commit,omitempty" toml:"commit,omitempty" mapstructure:"commit,omitempty"` + Version string `protobuf:"bytes,28,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Supermarket string `protobuf:"bytes,29,opt,name=supermarket,proto3" json:"supermarket,omitempty" toml:"supermarket,omitempty" mapstructure:"supermarket,omitempty"` + Compliance string `protobuf:"bytes,30,opt,name=compliance,proto3" json:"compliance,omitempty" toml:"compliance,omitempty" mapstructure:"compliance,omitempty"` + Status string `protobuf:"bytes,31,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + SkipMessage string `protobuf:"bytes,32,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty" toml:"skip_message,omitempty" mapstructure:"skip_message,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,21,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Url string `protobuf:"bytes,22,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` - Path string `protobuf:"bytes,23,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"` - Git string `protobuf:"bytes,24,opt,name=git,proto3" json:"git,omitempty" toml:"git,omitempty" mapstructure:"git,omitempty"` - Branch string `protobuf:"bytes,25,opt,name=branch,proto3" json:"branch,omitempty" toml:"branch,omitempty" mapstructure:"branch,omitempty"` - Tag string `protobuf:"bytes,26,opt,name=tag,proto3" json:"tag,omitempty" toml:"tag,omitempty" mapstructure:"tag,omitempty"` - Commit string `protobuf:"bytes,27,opt,name=commit,proto3" json:"commit,omitempty" toml:"commit,omitempty" mapstructure:"commit,omitempty"` - Version string `protobuf:"bytes,28,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - Supermarket string `protobuf:"bytes,29,opt,name=supermarket,proto3" json:"supermarket,omitempty" toml:"supermarket,omitempty" mapstructure:"supermarket,omitempty"` - Compliance string `protobuf:"bytes,30,opt,name=compliance,proto3" json:"compliance,omitempty" toml:"compliance,omitempty" mapstructure:"compliance,omitempty"` - Status string `protobuf:"bytes,31,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - SkipMessage string `protobuf:"bytes,32,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty" toml:"skip_message,omitempty" mapstructure:"skip_message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Dependency) Reset() { *x = Dependency{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Dependency) String() string { @@ -1009,7 +973,7 @@ func (*Dependency) ProtoMessage() {} func (x *Dependency) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1109,22 +1073,19 @@ func (x *Dependency) GetSkipMessage() string { } type Group struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` + Controls []string `protobuf:"bytes,21,rep,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` - Controls []string `protobuf:"bytes,21,rep,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Group) Reset() { *x = Group{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Group) String() string { @@ -1135,7 +1096,7 @@ func (*Group) ProtoMessage() {} func (x *Group) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1407,7 +1368,7 @@ func file_interservice_compliance_ingest_events_inspec_inspec_proto_rawDescGZIP( } var file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_interservice_compliance_ingest_events_inspec_inspec_proto_goTypes = []interface{}{ +var file_interservice_compliance_ingest_events_inspec_inspec_proto_goTypes = []any{ (*Report)(nil), // 0: chef.automate.domain.compliance.ingest.events.inspec.Report (*Platform)(nil), // 1: chef.automate.domain.compliance.ingest.events.inspec.Platform (*Statistics)(nil), // 2: chef.automate.domain.compliance.ingest.events.inspec.Statistics @@ -1451,164 +1412,6 @@ func file_interservice_compliance_ingest_events_inspec_inspec_proto_init() { if File_interservice_compliance_ingest_events_inspec_inspec_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Report); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Platform); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Statistics); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Control); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WaiverData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemovedResultsCounts); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SourceLocation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Support); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Attribute); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Dependency); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_ingest_events_inspec_inspec_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Group); 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{ diff --git a/api/interservice/compliance/ingest/ingest/compliance.pb.go b/api/interservice/compliance/ingest/ingest/compliance.pb.go index 9e7402edbcd..847e9853d3f 100644 --- a/api/interservice/compliance/ingest/ingest/compliance.pb.go +++ b/api/interservice/compliance/ingest/ingest/compliance.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/compliance/ingest/ingest/compliance.proto @@ -30,18 +30,16 @@ const ( ) type ProjectUpdateStatusReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProjectUpdateStatusReq) Reset() { *x = ProjectUpdateStatusReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_ingest_ingest_compliance_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_ingest_ingest_compliance_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProjectUpdateStatusReq) String() string { @@ -52,7 +50,7 @@ func (*ProjectUpdateStatusReq) ProtoMessage() {} func (x *ProjectUpdateStatusReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_ingest_ingest_compliance_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -68,22 +66,19 @@ func (*ProjectUpdateStatusReq) Descriptor() ([]byte, []int) { } type ProjectUpdateStatusResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty" toml:"state,omitempty" mapstructure:"state,omitempty"` EstimatedTimeComplete *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=estimated_time_complete,json=estimatedTimeComplete,proto3" json:"estimated_time_complete,omitempty" toml:"estimated_time_complete,omitempty" mapstructure:"estimated_time_complete,omitempty"` PercentageComplete float32 `protobuf:"fixed32,3,opt,name=percentage_complete,json=percentageComplete,proto3" json:"percentage_complete,omitempty" toml:"percentage_complete,omitempty" mapstructure:"percentage_complete,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProjectUpdateStatusResp) Reset() { *x = ProjectUpdateStatusResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_ingest_ingest_compliance_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_ingest_ingest_compliance_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProjectUpdateStatusResp) String() string { @@ -94,7 +89,7 @@ func (*ProjectUpdateStatusResp) ProtoMessage() {} func (x *ProjectUpdateStatusResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_ingest_ingest_compliance_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -131,20 +126,17 @@ func (x *ProjectUpdateStatusResp) GetPercentageComplete() float32 { } type ReportData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"` unknownFields protoimpl.UnknownFields - - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReportData) Reset() { *x = ReportData{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_ingest_ingest_compliance_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_ingest_ingest_compliance_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportData) String() string { @@ -155,7 +147,7 @@ func (*ReportData) ProtoMessage() {} func (x *ReportData) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_ingest_ingest_compliance_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -263,7 +255,7 @@ func file_interservice_compliance_ingest_ingest_compliance_proto_rawDescGZIP() [ } var file_interservice_compliance_ingest_ingest_compliance_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_interservice_compliance_ingest_ingest_compliance_proto_goTypes = []interface{}{ +var file_interservice_compliance_ingest_ingest_compliance_proto_goTypes = []any{ (*ProjectUpdateStatusReq)(nil), // 0: chef.automate.domain.compliance.ingest.ingest.ProjectUpdateStatusReq (*ProjectUpdateStatusResp)(nil), // 1: chef.automate.domain.compliance.ingest.ingest.ProjectUpdateStatusResp (*ReportData)(nil), // 2: chef.automate.domain.compliance.ingest.ingest.ReportData @@ -292,44 +284,6 @@ func file_interservice_compliance_ingest_ingest_compliance_proto_init() { if File_interservice_compliance_ingest_ingest_compliance_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_compliance_ingest_ingest_compliance_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProjectUpdateStatusReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_ingest_ingest_compliance_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProjectUpdateStatusResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_ingest_ingest_compliance_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReportData); 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{ diff --git a/api/interservice/compliance/jobs/jobs.pb.go b/api/interservice/compliance/jobs/jobs.pb.go index b3501b579d9..920eb436cc7 100644 --- a/api/interservice/compliance/jobs/jobs.pb.go +++ b/api/interservice/compliance/jobs/jobs.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/compliance/jobs/jobs.proto @@ -75,21 +75,18 @@ func (Query_OrderType) EnumDescriptor() ([]byte, []int) { } type GetJobResultByNodeIdRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty" toml:"job_id,omitempty" mapstructure:"job_id,omitempty"` + NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` unknownFields protoimpl.UnknownFields - - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty" toml:"job_id,omitempty" mapstructure:"job_id,omitempty"` - NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetJobResultByNodeIdRequest) Reset() { *x = GetJobResultByNodeIdRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetJobResultByNodeIdRequest) String() string { @@ -100,7 +97,7 @@ func (*GetJobResultByNodeIdRequest) ProtoMessage() {} func (x *GetJobResultByNodeIdRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -130,18 +127,16 @@ func (x *GetJobResultByNodeIdRequest) GetNodeId() string { } type RerunResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RerunResponse) Reset() { *x = RerunResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RerunResponse) String() string { @@ -152,7 +147,7 @@ func (*RerunResponse) ProtoMessage() {} func (x *RerunResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -168,21 +163,18 @@ func (*RerunResponse) Descriptor() ([]byte, []int) { } type Id struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Id) Reset() { *x = Id{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Id) String() string { @@ -193,7 +185,7 @@ func (*Id) ProtoMessage() {} func (x *Id) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -223,21 +215,18 @@ func (x *Id) GetName() string { } type Ids struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" toml:"ids,omitempty" mapstructure:"ids,omitempty"` + IdsWithTime []*IdsWithTime `protobuf:"bytes,2,rep,name=ids_with_time,json=idsWithTime,proto3" json:"ids_with_time,omitempty" toml:"ids_with_time,omitempty" mapstructure:"ids_with_time,omitempty"` unknownFields protoimpl.UnknownFields - - Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" toml:"ids,omitempty" mapstructure:"ids,omitempty"` - IdsWithTime []*IdsWithTime `protobuf:"bytes,2,rep,name=ids_with_time,json=idsWithTime,proto3" json:"ids_with_time,omitempty" toml:"ids_with_time,omitempty" mapstructure:"ids_with_time,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Ids) Reset() { *x = Ids{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Ids) String() string { @@ -248,7 +237,7 @@ func (*Ids) ProtoMessage() {} func (x *Ids) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -278,21 +267,18 @@ func (x *Ids) GetIdsWithTime() []*IdsWithTime { } type IdsWithTime struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IdsWithTime) Reset() { *x = IdsWithTime{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IdsWithTime) String() string { @@ -303,7 +289,7 @@ func (*IdsWithTime) ProtoMessage() {} func (x *IdsWithTime) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -333,20 +319,17 @@ func (x *IdsWithTime) GetEndTime() *timestamppb.Timestamp { } type TimeQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` unknownFields protoimpl.UnknownFields - - StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TimeQuery) Reset() { *x = TimeQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimeQuery) String() string { @@ -357,7 +340,7 @@ func (*TimeQuery) ProtoMessage() {} func (x *TimeQuery) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -380,21 +363,18 @@ func (x *TimeQuery) GetStartTime() *timestamppb.Timestamp { } type ManagerFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ManagerId string `protobuf:"bytes,1,opt,name=manager_id,json=managerId,proto3" json:"manager_id,omitempty" toml:"manager_id,omitempty" mapstructure:"manager_id,omitempty"` + Filters []*common.Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` unknownFields protoimpl.UnknownFields - - ManagerId string `protobuf:"bytes,1,opt,name=manager_id,json=managerId,proto3" json:"manager_id,omitempty" toml:"manager_id,omitempty" mapstructure:"manager_id,omitempty"` - Filters []*common.Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ManagerFilter) Reset() { *x = ManagerFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ManagerFilter) String() string { @@ -405,7 +385,7 @@ func (*ManagerFilter) ProtoMessage() {} func (x *ManagerFilter) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -435,24 +415,21 @@ func (x *ManagerFilter) GetFilters() []*common.Filter { } type Query struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Filters []*common.Filter `protobuf:"bytes,20,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` + Order Query_OrderType `protobuf:"varint,21,opt,name=order,proto3,enum=chef.automate.domain.compliance.jobs.Query_OrderType" json:"order,omitempty" toml:"order,omitempty" mapstructure:"order,omitempty"` + Sort string `protobuf:"bytes,22,opt,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` + Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` + PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty" toml:"per_page,omitempty" mapstructure:"per_page,omitempty"` unknownFields protoimpl.UnknownFields - - Filters []*common.Filter `protobuf:"bytes,20,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` - Order Query_OrderType `protobuf:"varint,21,opt,name=order,proto3,enum=chef.automate.domain.compliance.jobs.Query_OrderType" json:"order,omitempty" toml:"order,omitempty" mapstructure:"order,omitempty"` - Sort string `protobuf:"bytes,22,opt,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` - Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` - PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty" toml:"per_page,omitempty" mapstructure:"per_page,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Query) Reset() { *x = Query{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Query) String() string { @@ -463,7 +440,7 @@ func (*Query) ProtoMessage() {} func (x *Query) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -514,10 +491,7 @@ func (x *Query) GetPerPage() int32 { } type Job struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` @@ -539,15 +513,15 @@ type Job struct { ParentId string `protobuf:"bytes,107,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty" toml:"parent_id,omitempty" mapstructure:"parent_id,omitempty"` JobCount int32 `protobuf:"varint,108,opt,name=job_count,json=jobCount,proto3" json:"job_count,omitempty" toml:"job_count,omitempty" mapstructure:"job_count,omitempty"` Deleted bool `protobuf:"varint,109,opt,name=deleted,proto3" json:"deleted,omitempty" toml:"deleted,omitempty" mapstructure:"deleted,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Job) Reset() { *x = Job{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Job) String() string { @@ -558,7 +532,7 @@ func (*Job) ProtoMessage() {} func (x *Job) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -721,21 +695,18 @@ func (x *Job) GetDeleted() bool { } type Jobs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty" toml:"jobs,omitempty" mapstructure:"jobs,omitempty"` + Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` unknownFields protoimpl.UnknownFields - - Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty" toml:"jobs,omitempty" mapstructure:"jobs,omitempty"` - Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Jobs) Reset() { *x = Jobs{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Jobs) String() string { @@ -746,7 +717,7 @@ func (*Jobs) ProtoMessage() {} func (x *Jobs) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -776,26 +747,23 @@ func (x *Jobs) GetTotal() int32 { } type ResultsRow struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` + ReportId string `protobuf:"bytes,2,opt,name=report_id,json=reportId,proto3" json:"report_id,omitempty" toml:"report_id,omitempty" mapstructure:"report_id,omitempty"` + Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + Result string `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty" toml:"result,omitempty" mapstructure:"result,omitempty"` + JobId string `protobuf:"bytes,5,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty" toml:"job_id,omitempty" mapstructure:"job_id,omitempty"` + StartTime *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` unknownFields protoimpl.UnknownFields - - NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` - ReportId string `protobuf:"bytes,2,opt,name=report_id,json=reportId,proto3" json:"report_id,omitempty" toml:"report_id,omitempty" mapstructure:"report_id,omitempty"` - Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - Result string `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty" toml:"result,omitempty" mapstructure:"result,omitempty"` - JobId string `protobuf:"bytes,5,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty" toml:"job_id,omitempty" mapstructure:"job_id,omitempty"` - StartTime *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` - EndTime *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ResultsRow) Reset() { *x = ResultsRow{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResultsRow) String() string { @@ -806,7 +774,7 @@ func (*ResultsRow) ProtoMessage() {} func (x *ResultsRow) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_jobs_jobs_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1082,7 +1050,7 @@ func file_interservice_compliance_jobs_jobs_proto_rawDescGZIP() []byte { var file_interservice_compliance_jobs_jobs_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_interservice_compliance_jobs_jobs_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_interservice_compliance_jobs_jobs_proto_goTypes = []interface{}{ +var file_interservice_compliance_jobs_jobs_proto_goTypes = []any{ (Query_OrderType)(0), // 0: chef.automate.domain.compliance.jobs.Query.OrderType (*GetJobResultByNodeIdRequest)(nil), // 1: chef.automate.domain.compliance.jobs.GetJobResultByNodeIdRequest (*RerunResponse)(nil), // 2: chef.automate.domain.compliance.jobs.RerunResponse @@ -1144,140 +1112,6 @@ func file_interservice_compliance_jobs_jobs_proto_init() { if File_interservice_compliance_jobs_jobs_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_compliance_jobs_jobs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetJobResultByNodeIdRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_jobs_jobs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RerunResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_jobs_jobs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Id); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_jobs_jobs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Ids); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_jobs_jobs_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdsWithTime); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_jobs_jobs_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_jobs_jobs_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ManagerFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_jobs_jobs_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Query); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_jobs_jobs_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Job); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_jobs_jobs_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Jobs); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_jobs_jobs_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResultsRow); 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{ diff --git a/api/interservice/compliance/profiles/profiles.pb.go b/api/interservice/compliance/profiles/profiles.pb.go index 1cbfd6383d2..7c6006b8737 100644 --- a/api/interservice/compliance/profiles/profiles.pb.go +++ b/api/interservice/compliance/profiles/profiles.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/compliance/profiles/profiles.proto @@ -73,20 +73,17 @@ func (Query_OrderType) EnumDescriptor() ([]byte, []int) { } type Sha256 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Sha256 []string `protobuf:"bytes,1,rep,name=sha256,proto3" json:"sha256,omitempty" toml:"sha256,omitempty" mapstructure:"sha256,omitempty"` unknownFields protoimpl.UnknownFields - - Sha256 []string `protobuf:"bytes,1,rep,name=sha256,proto3" json:"sha256,omitempty" toml:"sha256,omitempty" mapstructure:"sha256,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Sha256) Reset() { *x = Sha256{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Sha256) String() string { @@ -97,7 +94,7 @@ func (*Sha256) ProtoMessage() {} func (x *Sha256) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -120,20 +117,17 @@ func (x *Sha256) GetSha256() []string { } type Missing struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + MissingSha256 []string `protobuf:"bytes,1,rep,name=missing_sha256,json=missingSha256,proto3" json:"missing_sha256,omitempty" toml:"missing_sha256,omitempty" mapstructure:"missing_sha256,omitempty"` unknownFields protoimpl.UnknownFields - - MissingSha256 []string `protobuf:"bytes,1,rep,name=missing_sha256,json=missingSha256,proto3" json:"missing_sha256,omitempty" toml:"missing_sha256,omitempty" mapstructure:"missing_sha256,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Missing) Reset() { *x = Missing{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Missing) String() string { @@ -144,7 +138,7 @@ func (*Missing) ProtoMessage() {} func (x *Missing) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -167,22 +161,19 @@ func (x *Missing) GetMissingSha256() []string { } type ProfilePostRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty" toml:"owner,omitempty" mapstructure:"owner,omitempty"` + Chunk *Chunk `protobuf:"bytes,2,opt,name=chunk,proto3" json:"chunk,omitempty" toml:"chunk,omitempty" mapstructure:"chunk,omitempty"` + Meta *Metadata `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty" toml:"meta,omitempty" mapstructure:"meta,omitempty"` unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty" toml:"owner,omitempty" mapstructure:"owner,omitempty"` - Chunk *Chunk `protobuf:"bytes,2,opt,name=chunk,proto3" json:"chunk,omitempty" toml:"chunk,omitempty" mapstructure:"chunk,omitempty"` - Meta *Metadata `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty" toml:"meta,omitempty" mapstructure:"meta,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProfilePostRequest) Reset() { *x = ProfilePostRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfilePostRequest) String() string { @@ -193,7 +184,7 @@ func (*ProfilePostRequest) ProtoMessage() {} func (x *ProfilePostRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -230,24 +221,21 @@ func (x *ProfilePostRequest) GetMeta() *Metadata { } type Metadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` // The field must be `contentType` in the JSON representation // buf:lint:ignore FIELD_LOWER_SNAKE_CASE - ContentType string `protobuf:"bytes,4,opt,name=contentType,proto3" json:"contentType,omitempty" toml:"contentType,omitempty" mapstructure:"contentType,omitempty"` + ContentType string `protobuf:"bytes,4,opt,name=contentType,proto3" json:"contentType,omitempty" toml:"contentType,omitempty" mapstructure:"contentType,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Metadata) Reset() { *x = Metadata{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Metadata) String() string { @@ -258,7 +246,7 @@ func (*Metadata) ProtoMessage() {} func (x *Metadata) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -295,21 +283,18 @@ func (x *Metadata) GetContentType() string { } type Chunk struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` + Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty" toml:"position,omitempty" mapstructure:"position,omitempty"` unknownFields protoimpl.UnknownFields - - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` - Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty" toml:"position,omitempty" mapstructure:"position,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Chunk) Reset() { *x = Chunk{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Chunk) String() string { @@ -320,7 +305,7 @@ func (*Chunk) ProtoMessage() {} func (x *Chunk) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -350,23 +335,20 @@ func (x *Chunk) GetPosition() int64 { } type ProfileData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" toml:"owner,omitempty" mapstructure:"owner,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" toml:"owner,omitempty" mapstructure:"owner,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProfileData) Reset() { *x = ProfileData{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileData) String() string { @@ -377,7 +359,7 @@ func (*ProfileData) ProtoMessage() {} func (x *ProfileData) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -421,21 +403,18 @@ func (x *ProfileData) GetData() []byte { } type Profiles struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Profiles []*Profile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty" toml:"profiles,omitempty" mapstructure:"profiles,omitempty"` + Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` unknownFields protoimpl.UnknownFields - - Profiles []*Profile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty" toml:"profiles,omitempty" mapstructure:"profiles,omitempty"` - Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Profiles) Reset() { *x = Profiles{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profiles) String() string { @@ -446,7 +425,7 @@ func (*Profiles) ProtoMessage() {} func (x *Profiles) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -476,35 +455,32 @@ func (x *Profiles) GetTotal() int32 { } type Profile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` - Maintainer string `protobuf:"bytes,3,opt,name=maintainer,proto3" json:"maintainer,omitempty" toml:"maintainer,omitempty" mapstructure:"maintainer,omitempty"` - Copyright string `protobuf:"bytes,4,opt,name=copyright,proto3" json:"copyright,omitempty" toml:"copyright,omitempty" mapstructure:"copyright,omitempty"` - CopyrightEmail string `protobuf:"bytes,5,opt,name=copyright_email,json=copyrightEmail,proto3" json:"copyright_email,omitempty" toml:"copyright_email,omitempty" mapstructure:"copyright_email,omitempty"` - License string `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty" toml:"license,omitempty" mapstructure:"license,omitempty"` - Summary string `protobuf:"bytes,7,opt,name=summary,proto3" json:"summary,omitempty" toml:"summary,omitempty" mapstructure:"summary,omitempty"` - Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - Owner string `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty" toml:"owner,omitempty" mapstructure:"owner,omitempty"` - Supports []*Support `protobuf:"bytes,16,rep,name=supports,proto3" json:"supports,omitempty" toml:"supports,omitempty" mapstructure:"supports,omitempty"` - Depends []*Dependency `protobuf:"bytes,17,rep,name=depends,proto3" json:"depends,omitempty" toml:"depends,omitempty" mapstructure:"depends,omitempty"` - Sha256 string `protobuf:"bytes,18,opt,name=sha256,proto3" json:"sha256,omitempty" toml:"sha256,omitempty" mapstructure:"sha256,omitempty"` - Groups []*Group `protobuf:"bytes,19,rep,name=groups,proto3" json:"groups,omitempty" toml:"groups,omitempty" mapstructure:"groups,omitempty"` - Controls []*Control `protobuf:"bytes,20,rep,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` - Attributes []*Attribute `protobuf:"bytes,21,rep,name=attributes,proto3" json:"attributes,omitempty" toml:"attributes,omitempty" mapstructure:"attributes,omitempty"` - LatestVersion string `protobuf:"bytes,22,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty" toml:"latest_version,omitempty" mapstructure:"latest_version,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` + Maintainer string `protobuf:"bytes,3,opt,name=maintainer,proto3" json:"maintainer,omitempty" toml:"maintainer,omitempty" mapstructure:"maintainer,omitempty"` + Copyright string `protobuf:"bytes,4,opt,name=copyright,proto3" json:"copyright,omitempty" toml:"copyright,omitempty" mapstructure:"copyright,omitempty"` + CopyrightEmail string `protobuf:"bytes,5,opt,name=copyright_email,json=copyrightEmail,proto3" json:"copyright_email,omitempty" toml:"copyright_email,omitempty" mapstructure:"copyright_email,omitempty"` + License string `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty" toml:"license,omitempty" mapstructure:"license,omitempty"` + Summary string `protobuf:"bytes,7,opt,name=summary,proto3" json:"summary,omitempty" toml:"summary,omitempty" mapstructure:"summary,omitempty"` + Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Owner string `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty" toml:"owner,omitempty" mapstructure:"owner,omitempty"` + Supports []*Support `protobuf:"bytes,16,rep,name=supports,proto3" json:"supports,omitempty" toml:"supports,omitempty" mapstructure:"supports,omitempty"` + Depends []*Dependency `protobuf:"bytes,17,rep,name=depends,proto3" json:"depends,omitempty" toml:"depends,omitempty" mapstructure:"depends,omitempty"` + Sha256 string `protobuf:"bytes,18,opt,name=sha256,proto3" json:"sha256,omitempty" toml:"sha256,omitempty" mapstructure:"sha256,omitempty"` + Groups []*Group `protobuf:"bytes,19,rep,name=groups,proto3" json:"groups,omitempty" toml:"groups,omitempty" mapstructure:"groups,omitempty"` + Controls []*Control `protobuf:"bytes,20,rep,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` + Attributes []*Attribute `protobuf:"bytes,21,rep,name=attributes,proto3" json:"attributes,omitempty" toml:"attributes,omitempty" mapstructure:"attributes,omitempty"` + LatestVersion string `protobuf:"bytes,22,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty" toml:"latest_version,omitempty" mapstructure:"latest_version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Profile) Reset() { *x = Profile{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile) String() string { @@ -515,7 +491,7 @@ func (*Profile) ProtoMessage() {} func (x *Profile) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -643,22 +619,19 @@ func (x *Profile) GetLatestVersion() string { } type Group struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` + Controls []string `protobuf:"bytes,3,rep,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` - Controls []string `protobuf:"bytes,3,rep,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Group) Reset() { *x = Group{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Group) String() string { @@ -669,7 +642,7 @@ func (*Group) ProtoMessage() {} func (x *Group) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -706,28 +679,25 @@ func (x *Group) GetControls() []string { } type Control struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` - Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty" toml:"desc,omitempty" mapstructure:"desc,omitempty"` - Impact float32 `protobuf:"fixed32,4,opt,name=impact,proto3" json:"impact,omitempty" toml:"impact,omitempty" mapstructure:"impact,omitempty"` - Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` - SourceLocation *SourceLocation `protobuf:"bytes,6,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty" toml:"source_location,omitempty" mapstructure:"source_location,omitempty"` - Results []*Result `protobuf:"bytes,7,rep,name=results,proto3" json:"results,omitempty" toml:"results,omitempty" mapstructure:"results,omitempty"` - Refs []*Ref `protobuf:"bytes,8,rep,name=refs,proto3" json:"refs,omitempty" toml:"refs,omitempty" mapstructure:"refs,omitempty"` - Tags map[string]string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" toml:"tags,omitempty" mapstructure:"tags,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` + Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty" toml:"desc,omitempty" mapstructure:"desc,omitempty"` + Impact float32 `protobuf:"fixed32,4,opt,name=impact,proto3" json:"impact,omitempty" toml:"impact,omitempty" mapstructure:"impact,omitempty"` + Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` + SourceLocation *SourceLocation `protobuf:"bytes,6,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty" toml:"source_location,omitempty" mapstructure:"source_location,omitempty"` + Results []*Result `protobuf:"bytes,7,rep,name=results,proto3" json:"results,omitempty" toml:"results,omitempty" mapstructure:"results,omitempty"` + Refs []*Ref `protobuf:"bytes,8,rep,name=refs,proto3" json:"refs,omitempty" toml:"refs,omitempty" mapstructure:"refs,omitempty"` + Tags map[string]string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" toml:"tags,omitempty" mapstructure:"tags,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Control) Reset() { *x = Control{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Control) String() string { @@ -738,7 +708,7 @@ func (*Control) ProtoMessage() {} func (x *Control) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -817,21 +787,18 @@ func (x *Control) GetTags() map[string]string { } type Ref struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` + Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty" toml:"ref,omitempty" mapstructure:"ref,omitempty"` unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` - Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty" toml:"ref,omitempty" mapstructure:"ref,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Ref) Reset() { *x = Ref{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Ref) String() string { @@ -842,7 +809,7 @@ func (*Ref) ProtoMessage() {} func (x *Ref) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -872,25 +839,22 @@ func (x *Ref) GetRef() string { } type Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + CodeDesc string `protobuf:"bytes,2,opt,name=code_desc,json=codeDesc,proto3" json:"code_desc,omitempty" toml:"code_desc,omitempty" mapstructure:"code_desc,omitempty"` + RunTime float32 `protobuf:"fixed32,3,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty" toml:"run_time,omitempty" mapstructure:"run_time,omitempty"` + StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` + Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` + SkipMessage string `protobuf:"bytes,6,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty" toml:"skip_message,omitempty" mapstructure:"skip_message,omitempty"` unknownFields protoimpl.UnknownFields - - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - CodeDesc string `protobuf:"bytes,2,opt,name=code_desc,json=codeDesc,proto3" json:"code_desc,omitempty" toml:"code_desc,omitempty" mapstructure:"code_desc,omitempty"` - RunTime float32 `protobuf:"fixed32,3,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty" toml:"run_time,omitempty" mapstructure:"run_time,omitempty"` - StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` - Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` - SkipMessage string `protobuf:"bytes,6,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty" toml:"skip_message,omitempty" mapstructure:"skip_message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Result) Reset() { *x = Result{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Result) String() string { @@ -901,7 +865,7 @@ func (*Result) ProtoMessage() {} func (x *Result) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -959,21 +923,18 @@ func (x *Result) GetSkipMessage() string { } type SourceLocation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty" toml:"ref,omitempty" mapstructure:"ref,omitempty"` + Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty" toml:"line,omitempty" mapstructure:"line,omitempty"` unknownFields protoimpl.UnknownFields - - Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty" toml:"ref,omitempty" mapstructure:"ref,omitempty"` - Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty" toml:"line,omitempty" mapstructure:"line,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SourceLocation) Reset() { *x = SourceLocation{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SourceLocation) String() string { @@ -984,7 +945,7 @@ func (*SourceLocation) ProtoMessage() {} func (x *SourceLocation) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1014,21 +975,18 @@ func (x *SourceLocation) GetLine() int32 { } type Attribute struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Options *Option `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty" toml:"options,omitempty" mapstructure:"options,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Options *Option `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty" toml:"options,omitempty" mapstructure:"options,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Attribute) Reset() { *x = Attribute{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Attribute) String() string { @@ -1039,7 +997,7 @@ func (*Attribute) ProtoMessage() {} func (x *Attribute) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1069,21 +1027,18 @@ func (x *Attribute) GetOptions() *Option { } type Option struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"` + Default string `protobuf:"bytes,2,opt,name=default,proto3" json:"default,omitempty" toml:"default,omitempty" mapstructure:"default,omitempty"` unknownFields protoimpl.UnknownFields - - Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"` - Default string `protobuf:"bytes,2,opt,name=default,proto3" json:"default,omitempty" toml:"default,omitempty" mapstructure:"default,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Option) Reset() { *x = Option{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Option) String() string { @@ -1094,7 +1049,7 @@ func (*Option) ProtoMessage() {} func (x *Option) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1124,24 +1079,21 @@ func (x *Option) GetDefault() string { } type Support struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OsName string `protobuf:"bytes,1,opt,name=os_name,json=osName,proto3" json:"os_name,omitempty" toml:"os_name,omitempty" mapstructure:"os_name,omitempty"` + OsFamily string `protobuf:"bytes,2,opt,name=os_family,json=osFamily,proto3" json:"os_family,omitempty" toml:"os_family,omitempty" mapstructure:"os_family,omitempty"` + Release string `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` + InspecVersion string `protobuf:"bytes,4,opt,name=inspec_version,json=inspecVersion,proto3" json:"inspec_version,omitempty" toml:"inspec_version,omitempty" mapstructure:"inspec_version,omitempty"` + Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` unknownFields protoimpl.UnknownFields - - OsName string `protobuf:"bytes,1,opt,name=os_name,json=osName,proto3" json:"os_name,omitempty" toml:"os_name,omitempty" mapstructure:"os_name,omitempty"` - OsFamily string `protobuf:"bytes,2,opt,name=os_family,json=osFamily,proto3" json:"os_family,omitempty" toml:"os_family,omitempty" mapstructure:"os_family,omitempty"` - Release string `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` - InspecVersion string `protobuf:"bytes,4,opt,name=inspec_version,json=inspecVersion,proto3" json:"inspec_version,omitempty" toml:"inspec_version,omitempty" mapstructure:"inspec_version,omitempty"` - Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Support) Reset() { *x = Support{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Support) String() string { @@ -1152,7 +1104,7 @@ func (*Support) ProtoMessage() {} func (x *Support) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1203,30 +1155,27 @@ func (x *Support) GetPlatform() string { } type Dependency struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` + Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"` + Git string `protobuf:"bytes,4,opt,name=git,proto3" json:"git,omitempty" toml:"git,omitempty" mapstructure:"git,omitempty"` + Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty" toml:"branch,omitempty" mapstructure:"branch,omitempty"` + Tag string `protobuf:"bytes,6,opt,name=tag,proto3" json:"tag,omitempty" toml:"tag,omitempty" mapstructure:"tag,omitempty"` + Commit string `protobuf:"bytes,7,opt,name=commit,proto3" json:"commit,omitempty" toml:"commit,omitempty" mapstructure:"commit,omitempty"` + Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Supermarket string `protobuf:"bytes,9,opt,name=supermarket,proto3" json:"supermarket,omitempty" toml:"supermarket,omitempty" mapstructure:"supermarket,omitempty"` + Github string `protobuf:"bytes,10,opt,name=github,proto3" json:"github,omitempty" toml:"github,omitempty" mapstructure:"github,omitempty"` + Compliance string `protobuf:"bytes,11,opt,name=compliance,proto3" json:"compliance,omitempty" toml:"compliance,omitempty" mapstructure:"compliance,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` - Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"` - Git string `protobuf:"bytes,4,opt,name=git,proto3" json:"git,omitempty" toml:"git,omitempty" mapstructure:"git,omitempty"` - Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty" toml:"branch,omitempty" mapstructure:"branch,omitempty"` - Tag string `protobuf:"bytes,6,opt,name=tag,proto3" json:"tag,omitempty" toml:"tag,omitempty" mapstructure:"tag,omitempty"` - Commit string `protobuf:"bytes,7,opt,name=commit,proto3" json:"commit,omitempty" toml:"commit,omitempty" mapstructure:"commit,omitempty"` - Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - Supermarket string `protobuf:"bytes,9,opt,name=supermarket,proto3" json:"supermarket,omitempty" toml:"supermarket,omitempty" mapstructure:"supermarket,omitempty"` - Github string `protobuf:"bytes,10,opt,name=github,proto3" json:"github,omitempty" toml:"github,omitempty" mapstructure:"github,omitempty"` - Compliance string `protobuf:"bytes,11,opt,name=compliance,proto3" json:"compliance,omitempty" toml:"compliance,omitempty" mapstructure:"compliance,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Dependency) Reset() { *x = Dependency{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Dependency) String() string { @@ -1237,7 +1186,7 @@ func (*Dependency) ProtoMessage() {} func (x *Dependency) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1330,22 +1279,19 @@ func (x *Dependency) GetCompliance() string { } type ProfileDetails struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" toml:"owner,omitempty" mapstructure:"owner,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" toml:"owner,omitempty" mapstructure:"owner,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProfileDetails) Reset() { *x = ProfileDetails{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileDetails) String() string { @@ -1356,7 +1302,7 @@ func (*ProfileDetails) ProtoMessage() {} func (x *ProfileDetails) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1393,22 +1339,19 @@ func (x *ProfileDetails) GetVersion() string { } type CheckResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Summary *ResultSummary `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty" toml:"summary,omitempty" mapstructure:"summary,omitempty"` + Errors []*CheckMessage `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty" toml:"errors,omitempty" mapstructure:"errors,omitempty"` + Warnings []*CheckMessage `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty" toml:"warnings,omitempty" mapstructure:"warnings,omitempty"` unknownFields protoimpl.UnknownFields - - Summary *ResultSummary `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty" toml:"summary,omitempty" mapstructure:"summary,omitempty"` - Errors []*CheckMessage `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty" toml:"errors,omitempty" mapstructure:"errors,omitempty"` - Warnings []*CheckMessage `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty" toml:"warnings,omitempty" mapstructure:"warnings,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CheckResult) Reset() { *x = CheckResult{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CheckResult) String() string { @@ -1419,7 +1362,7 @@ func (*CheckResult) ProtoMessage() {} func (x *CheckResult) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1456,23 +1399,20 @@ func (x *CheckResult) GetWarnings() []*CheckMessage { } type ResultSummary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty" toml:"valid,omitempty" mapstructure:"valid,omitempty"` + Timestamp string `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty" toml:"timestamp,omitempty" mapstructure:"timestamp,omitempty"` + Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty" toml:"location,omitempty" mapstructure:"location,omitempty"` + Controls int32 `protobuf:"varint,4,opt,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` unknownFields protoimpl.UnknownFields - - Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty" toml:"valid,omitempty" mapstructure:"valid,omitempty"` - Timestamp string `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty" toml:"timestamp,omitempty" mapstructure:"timestamp,omitempty"` - Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty" toml:"location,omitempty" mapstructure:"location,omitempty"` - Controls int32 `protobuf:"varint,4,opt,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ResultSummary) Reset() { *x = ResultSummary{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResultSummary) String() string { @@ -1483,7 +1423,7 @@ func (*ResultSummary) ProtoMessage() {} func (x *ResultSummary) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1527,24 +1467,21 @@ func (x *ResultSummary) GetControls() int32 { } type CheckMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty" toml:"file,omitempty" mapstructure:"file,omitempty"` + Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty" toml:"line,omitempty" mapstructure:"line,omitempty"` + Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty" toml:"column,omitempty" mapstructure:"column,omitempty"` + ControlId string `protobuf:"bytes,4,opt,name=control_id,json=controlId,proto3" json:"control_id,omitempty" toml:"control_id,omitempty" mapstructure:"control_id,omitempty"` + Msg string `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty" toml:"msg,omitempty" mapstructure:"msg,omitempty"` unknownFields protoimpl.UnknownFields - - File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty" toml:"file,omitempty" mapstructure:"file,omitempty"` - Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty" toml:"line,omitempty" mapstructure:"line,omitempty"` - Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty" toml:"column,omitempty" mapstructure:"column,omitempty"` - ControlId string `protobuf:"bytes,4,opt,name=control_id,json=controlId,proto3" json:"control_id,omitempty" toml:"control_id,omitempty" mapstructure:"control_id,omitempty"` - Msg string `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty" toml:"msg,omitempty" mapstructure:"msg,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CheckMessage) Reset() { *x = CheckMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CheckMessage) String() string { @@ -1555,7 +1492,7 @@ func (*CheckMessage) ProtoMessage() {} func (x *CheckMessage) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1606,21 +1543,18 @@ func (x *CheckMessage) GetMsg() string { } type ListFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Values []string `protobuf:"bytes,20,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` + Type string `protobuf:"bytes,21,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` unknownFields protoimpl.UnknownFields - - Values []string `protobuf:"bytes,20,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` - Type string `protobuf:"bytes,21,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListFilter) Reset() { *x = ListFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListFilter) String() string { @@ -1631,7 +1565,7 @@ func (*ListFilter) ProtoMessage() {} func (x *ListFilter) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1661,27 +1595,24 @@ func (x *ListFilter) GetType() string { } type Query struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Filters []*ListFilter `protobuf:"bytes,20,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` + Order Query_OrderType `protobuf:"varint,21,opt,name=order,proto3,enum=chef.automate.domain.compliance.profiles.Query_OrderType" json:"order,omitempty" toml:"order,omitempty" mapstructure:"order,omitempty"` + Sort string `protobuf:"bytes,22,opt,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` + Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` + PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty" toml:"per_page,omitempty" mapstructure:"per_page,omitempty"` + Owner string `protobuf:"bytes,25,opt,name=owner,proto3" json:"owner,omitempty" toml:"owner,omitempty" mapstructure:"owner,omitempty"` + Name string `protobuf:"bytes,26,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Version string `protobuf:"bytes,27,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` unknownFields protoimpl.UnknownFields - - Filters []*ListFilter `protobuf:"bytes,20,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` - Order Query_OrderType `protobuf:"varint,21,opt,name=order,proto3,enum=chef.automate.domain.compliance.profiles.Query_OrderType" json:"order,omitempty" toml:"order,omitempty" mapstructure:"order,omitempty"` - Sort string `protobuf:"bytes,22,opt,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` - Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` - PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty" toml:"per_page,omitempty" mapstructure:"per_page,omitempty"` - Owner string `protobuf:"bytes,25,opt,name=owner,proto3" json:"owner,omitempty" toml:"owner,omitempty" mapstructure:"owner,omitempty"` - Name string `protobuf:"bytes,26,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Version string `protobuf:"bytes,27,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Query) Reset() { *x = Query{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Query) String() string { @@ -1692,7 +1623,7 @@ func (*Query) ProtoMessage() {} func (x *Query) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_profiles_profiles_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2091,7 +2022,7 @@ func file_interservice_compliance_profiles_profiles_proto_rawDescGZIP() []byte { var file_interservice_compliance_profiles_profiles_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_interservice_compliance_profiles_profiles_proto_msgTypes = make([]protoimpl.MessageInfo, 24) -var file_interservice_compliance_profiles_profiles_proto_goTypes = []interface{}{ +var file_interservice_compliance_profiles_profiles_proto_goTypes = []any{ (Query_OrderType)(0), // 0: chef.automate.domain.compliance.profiles.Query.OrderType (*Sha256)(nil), // 1: chef.automate.domain.compliance.profiles.Sha256 (*Missing)(nil), // 2: chef.automate.domain.compliance.profiles.Missing @@ -2166,284 +2097,6 @@ func file_interservice_compliance_profiles_profiles_proto_init() { if File_interservice_compliance_profiles_profiles_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_compliance_profiles_profiles_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Sha256); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Missing); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfilePostRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Metadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Chunk); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profiles); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Group); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Control); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Ref); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SourceLocation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Attribute); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Option); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Support); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Dependency); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileDetails); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CheckResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResultSummary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CheckMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_profiles_profiles_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Query); 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{ diff --git a/api/interservice/compliance/reporting/reporting.pb.go b/api/interservice/compliance/reporting/reporting.pb.go index 0688d1c92ff..86201ce5058 100644 --- a/api/interservice/compliance/reporting/reporting.pb.go +++ b/api/interservice/compliance/reporting/reporting.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/compliance/reporting/reporting.proto @@ -73,21 +73,18 @@ func (Query_OrderType) EnumDescriptor() ([]byte, []int) { } type ReportContentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Filters []*ListFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Filters []*ListFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReportContentRequest) Reset() { *x = ReportContentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportContentRequest) String() string { @@ -98,7 +95,7 @@ func (*ReportContentRequest) ProtoMessage() {} func (x *ReportContentRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -128,20 +125,17 @@ func (x *ReportContentRequest) GetFilters() []*ListFilter { } type ReportContentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"` unknownFields protoimpl.UnknownFields - - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReportContentResponse) Reset() { *x = ReportContentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportContentResponse) String() string { @@ -152,7 +146,7 @@ func (*ReportContentResponse) ProtoMessage() {} func (x *ReportContentResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -175,20 +169,17 @@ func (x *ReportContentResponse) GetContent() []byte { } type ExportData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"` unknownFields protoimpl.UnknownFields - - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ExportData) Reset() { *x = ExportData{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExportData) String() string { @@ -199,7 +190,7 @@ func (*ExportData) ProtoMessage() {} func (x *ExportData) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -222,20 +213,17 @@ func (x *ExportData) GetContent() []byte { } type Id struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Id) Reset() { *x = Id{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Id) String() string { @@ -246,7 +234,7 @@ func (*Id) ProtoMessage() {} func (x *Id) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -269,26 +257,23 @@ func (x *Id) GetId() string { } type Query struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,18,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Type string `protobuf:"bytes,19,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + Filters []*ListFilter `protobuf:"bytes,20,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` + Order Query_OrderType `protobuf:"varint,21,opt,name=order,proto3,enum=chef.automate.domain.compliance.reporting.Query_OrderType" json:"order,omitempty" toml:"order,omitempty" mapstructure:"order,omitempty"` + Sort string `protobuf:"bytes,22,opt,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` + Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` + PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty" toml:"per_page,omitempty" mapstructure:"per_page,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,18,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Type string `protobuf:"bytes,19,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` - Filters []*ListFilter `protobuf:"bytes,20,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` - Order Query_OrderType `protobuf:"varint,21,opt,name=order,proto3,enum=chef.automate.domain.compliance.reporting.Query_OrderType" json:"order,omitempty" toml:"order,omitempty" mapstructure:"order,omitempty"` - Sort string `protobuf:"bytes,22,opt,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` - Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` - PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty" toml:"per_page,omitempty" mapstructure:"per_page,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Query) Reset() { *x = Query{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Query) String() string { @@ -299,7 +284,7 @@ func (*Query) ProtoMessage() {} func (x *Query) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -364,21 +349,18 @@ func (x *Query) GetPerPage() int32 { } type ListFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Values []string `protobuf:"bytes,20,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` + Type string `protobuf:"bytes,21,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` unknownFields protoimpl.UnknownFields - - Values []string `protobuf:"bytes,20,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` - Type string `protobuf:"bytes,21,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListFilter) Reset() { *x = ListFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListFilter) String() string { @@ -389,7 +371,7 @@ func (*ListFilter) ProtoMessage() {} func (x *ListFilter) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -419,20 +401,17 @@ func (x *ListFilter) GetType() string { } type ListFilters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Filters []*ListFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` unknownFields protoimpl.UnknownFields - - Filters []*ListFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListFilters) Reset() { *x = ListFilters{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListFilters) String() string { @@ -443,7 +422,7 @@ func (*ListFilters) ProtoMessage() {} func (x *ListFilters) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -466,20 +445,17 @@ func (x *ListFilters) GetFilters() []*ListFilter { } type Total struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` unknownFields protoimpl.UnknownFields - - Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Total) Reset() { *x = Total{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Total) String() string { @@ -490,7 +466,7 @@ func (*Total) ProtoMessage() {} func (x *Total) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -513,23 +489,20 @@ func (x *Total) GetTotal() int32 { } type Failed struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty" toml:"minor,omitempty" mapstructure:"minor,omitempty"` + Major int32 `protobuf:"varint,3,opt,name=major,proto3" json:"major,omitempty" toml:"major,omitempty" mapstructure:"major,omitempty"` + Critical int32 `protobuf:"varint,4,opt,name=critical,proto3" json:"critical,omitempty" toml:"critical,omitempty" mapstructure:"critical,omitempty"` unknownFields protoimpl.UnknownFields - - Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` - Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty" toml:"minor,omitempty" mapstructure:"minor,omitempty"` - Major int32 `protobuf:"varint,3,opt,name=major,proto3" json:"major,omitempty" toml:"major,omitempty" mapstructure:"major,omitempty"` - Critical int32 `protobuf:"varint,4,opt,name=critical,proto3" json:"critical,omitempty" toml:"critical,omitempty" mapstructure:"critical,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Failed) Reset() { *x = Failed{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Failed) String() string { @@ -540,7 +513,7 @@ func (*Failed) ProtoMessage() {} func (x *Failed) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -584,24 +557,21 @@ func (x *Failed) GetCritical() int32 { } type ControlSummary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + Passed *Total `protobuf:"bytes,2,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` + Skipped *Total `protobuf:"bytes,3,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` + Failed *Failed `protobuf:"bytes,4,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` + Waived *Total `protobuf:"bytes,5,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` unknownFields protoimpl.UnknownFields - - Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` - Passed *Total `protobuf:"bytes,2,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` - Skipped *Total `protobuf:"bytes,3,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` - Failed *Failed `protobuf:"bytes,4,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` - Waived *Total `protobuf:"bytes,5,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ControlSummary) Reset() { *x = ControlSummary{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ControlSummary) String() string { @@ -612,7 +582,7 @@ func (*ControlSummary) ProtoMessage() {} func (x *ControlSummary) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -663,23 +633,20 @@ func (x *ControlSummary) GetWaived() *Total { } type ControlItemRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty" toml:"text,omitempty" mapstructure:"text,omitempty"` + Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty" toml:"size,omitempty" mapstructure:"size,omitempty"` + PageNumber int32 `protobuf:"varint,3,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty" toml:"page_number,omitempty" mapstructure:"page_number,omitempty"` + Filters []*ListFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` unknownFields protoimpl.UnknownFields - - Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty" toml:"text,omitempty" mapstructure:"text,omitempty"` - Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty" toml:"size,omitempty" mapstructure:"size,omitempty"` - PageNumber int32 `protobuf:"varint,3,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty" toml:"page_number,omitempty" mapstructure:"page_number,omitempty"` - Filters []*ListFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ControlItemRequest) Reset() { *x = ControlItemRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ControlItemRequest) String() string { @@ -690,7 +657,7 @@ func (*ControlItemRequest) ProtoMessage() {} func (x *ControlItemRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -734,23 +701,20 @@ func (x *ControlItemRequest) GetFilters() []*ListFilter { } type WaiverData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WaivedStr string `protobuf:"bytes,1,opt,name=waived_str,json=waivedStr,proto3" json:"waived_str,omitempty" toml:"waived_str,omitempty" mapstructure:"waived_str,omitempty"` - ExpirationDate string `protobuf:"bytes,2,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty" toml:"expiration_date,omitempty" mapstructure:"expiration_date,omitempty"` - Justification string `protobuf:"bytes,3,opt,name=justification,proto3" json:"justification,omitempty" toml:"justification,omitempty" mapstructure:"justification,omitempty"` - WaiverSummary *ControlSummary `protobuf:"bytes,4,opt,name=waiver_summary,json=waiverSummary,proto3" json:"waiver_summary,omitempty" toml:"waiver_summary,omitempty" mapstructure:"waiver_summary,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + WaivedStr string `protobuf:"bytes,1,opt,name=waived_str,json=waivedStr,proto3" json:"waived_str,omitempty" toml:"waived_str,omitempty" mapstructure:"waived_str,omitempty"` + ExpirationDate string `protobuf:"bytes,2,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty" toml:"expiration_date,omitempty" mapstructure:"expiration_date,omitempty"` + Justification string `protobuf:"bytes,3,opt,name=justification,proto3" json:"justification,omitempty" toml:"justification,omitempty" mapstructure:"justification,omitempty"` + WaiverSummary *ControlSummary `protobuf:"bytes,4,opt,name=waiver_summary,json=waiverSummary,proto3" json:"waiver_summary,omitempty" toml:"waiver_summary,omitempty" mapstructure:"waiver_summary,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WaiverData) Reset() { *x = WaiverData{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WaiverData) String() string { @@ -761,7 +725,7 @@ func (*WaiverData) ProtoMessage() {} func (x *WaiverData) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -805,10 +769,7 @@ func (x *WaiverData) GetWaiverSummary() *ControlSummary { } type ControlItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` Profile *ProfileMin `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty" toml:"profile,omitempty" mapstructure:"profile,omitempty"` @@ -816,15 +777,15 @@ type ControlItem struct { EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` ControlSummary *ControlSummary `protobuf:"bytes,6,opt,name=control_summary,json=controlSummary,proto3" json:"control_summary,omitempty" toml:"control_summary,omitempty" mapstructure:"control_summary,omitempty"` Waivers []*WaiverData `protobuf:"bytes,7,rep,name=waivers,proto3" json:"waivers,omitempty" toml:"waivers,omitempty" mapstructure:"waivers,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ControlItem) Reset() { *x = ControlItem{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ControlItem) String() string { @@ -835,7 +796,7 @@ func (*ControlItem) ProtoMessage() {} func (x *ControlItem) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -900,21 +861,18 @@ func (x *ControlItem) GetWaivers() []*WaiverData { } type ControlItems struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ControlItems []*ControlItem `protobuf:"bytes,1,rep,name=control_items,json=controlItems,proto3" json:"control_items,omitempty" toml:"control_items,omitempty" mapstructure:"control_items,omitempty"` - ControlSummaryTotals *ControlSummary `protobuf:"bytes,2,opt,name=control_summary_totals,json=controlSummaryTotals,proto3" json:"control_summary_totals,omitempty" toml:"control_summary_totals,omitempty" mapstructure:"control_summary_totals,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ControlItems []*ControlItem `protobuf:"bytes,1,rep,name=control_items,json=controlItems,proto3" json:"control_items,omitempty" toml:"control_items,omitempty" mapstructure:"control_items,omitempty"` + ControlSummaryTotals *ControlSummary `protobuf:"bytes,2,opt,name=control_summary_totals,json=controlSummaryTotals,proto3" json:"control_summary_totals,omitempty" toml:"control_summary_totals,omitempty" mapstructure:"control_summary_totals,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ControlItems) Reset() { *x = ControlItems{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ControlItems) String() string { @@ -925,7 +883,7 @@ func (*ControlItems) ProtoMessage() {} func (x *ControlItems) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -955,21 +913,18 @@ func (x *ControlItems) GetControlSummaryTotals() *ControlSummary { } type ReportsSummaryLevelOne struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Reports []*ReportSummaryLevelOne `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty" toml:"reports,omitempty" mapstructure:"reports,omitempty"` + Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` unknownFields protoimpl.UnknownFields - - Reports []*ReportSummaryLevelOne `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty" toml:"reports,omitempty" mapstructure:"reports,omitempty"` - Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReportsSummaryLevelOne) Reset() { *x = ReportsSummaryLevelOne{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportsSummaryLevelOne) String() string { @@ -980,7 +935,7 @@ func (*ReportsSummaryLevelOne) ProtoMessage() {} func (x *ReportsSummaryLevelOne) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1010,26 +965,23 @@ func (x *ReportsSummaryLevelOne) GetTotal() int32 { } type ReportSummaryLevelOne struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` + NodeName string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty" toml:"node_name,omitempty" mapstructure:"node_name,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` + Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + Controls *ControlSummary `protobuf:"bytes,6,opt,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` + Ipaddress string `protobuf:"bytes,7,opt,name=ipaddress,proto3" json:"ipaddress,omitempty" toml:"ipaddress,omitempty" mapstructure:"ipaddress,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` - NodeName string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty" toml:"node_name,omitempty" mapstructure:"node_name,omitempty"` - EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` - Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - Controls *ControlSummary `protobuf:"bytes,6,opt,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` - Ipaddress string `protobuf:"bytes,7,opt,name=ipaddress,proto3" json:"ipaddress,omitempty" toml:"ipaddress,omitempty" mapstructure:"ipaddress,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReportSummaryLevelOne) Reset() { *x = ReportSummaryLevelOne{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportSummaryLevelOne) String() string { @@ -1040,7 +992,7 @@ func (*ReportSummaryLevelOne) ProtoMessage() {} func (x *ReportSummaryLevelOne) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1105,21 +1057,18 @@ func (x *ReportSummaryLevelOne) GetIpaddress() string { } type Reports struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Reports []*Report `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty" toml:"reports,omitempty" mapstructure:"reports,omitempty"` + Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` unknownFields protoimpl.UnknownFields - - Reports []*Report `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty" toml:"reports,omitempty" mapstructure:"reports,omitempty"` - Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Reports) Reset() { *x = Reports{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Reports) String() string { @@ -1130,7 +1079,7 @@ func (*Reports) ProtoMessage() {} func (x *Reports) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1160,10 +1109,7 @@ func (x *Reports) GetTotal() int32 { } type Report struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` NodeName string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty" toml:"node_name,omitempty" mapstructure:"node_name,omitempty"` @@ -1184,15 +1130,15 @@ type Report struct { ChefTags []string `protobuf:"bytes,18,rep,name=chef_tags,json=chefTags,proto3" json:"chef_tags,omitempty" toml:"chef_tags,omitempty" mapstructure:"chef_tags,omitempty"` Projects []string `protobuf:"bytes,20,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` StatusMessage string `protobuf:"bytes,21,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty" toml:"status_message,omitempty" mapstructure:"status_message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Report) Reset() { *x = Report{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Report) String() string { @@ -1203,7 +1149,7 @@ func (*Report) ProtoMessage() {} func (x *Report) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1359,10 +1305,7 @@ func (x *Report) GetStatusMessage() string { } type NodeHeaderInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty" toml:"node_name,omitempty" mapstructure:"node_name,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` @@ -1373,15 +1316,15 @@ type NodeHeaderInfo struct { Profiles []*NodeHeaderProfileInfo `protobuf:"bytes,8,rep,name=profiles,proto3" json:"profiles,omitempty" toml:"profiles,omitempty" mapstructure:"profiles,omitempty"` Roles []string `protobuf:"bytes,9,rep,name=roles,proto3" json:"roles,omitempty" toml:"roles,omitempty" mapstructure:"roles,omitempty"` StatusMessage string `protobuf:"bytes,10,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty" toml:"status_message,omitempty" mapstructure:"status_message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeHeaderInfo) Reset() { *x = NodeHeaderInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeHeaderInfo) String() string { @@ -1392,7 +1335,7 @@ func (*NodeHeaderInfo) ProtoMessage() {} func (x *NodeHeaderInfo) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1478,21 +1421,18 @@ func (x *NodeHeaderInfo) GetStatusMessage() string { } type ReportIds struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" toml:"ids,omitempty" mapstructure:"ids,omitempty"` + ReportData []*ReportData `protobuf:"bytes,2,rep,name=report_data,json=reportData,proto3" json:"report_data,omitempty" toml:"report_data,omitempty" mapstructure:"report_data,omitempty"` unknownFields protoimpl.UnknownFields - - Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" toml:"ids,omitempty" mapstructure:"ids,omitempty"` - ReportData []*ReportData `protobuf:"bytes,2,rep,name=report_data,json=reportData,proto3" json:"report_data,omitempty" toml:"report_data,omitempty" mapstructure:"report_data,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReportIds) Reset() { *x = ReportIds{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportIds) String() string { @@ -1503,7 +1443,7 @@ func (*ReportIds) ProtoMessage() {} func (x *ReportIds) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1533,21 +1473,18 @@ func (x *ReportIds) GetReportData() []*ReportData { } type ReportData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReportData) Reset() { *x = ReportData{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportData) String() string { @@ -1558,7 +1495,7 @@ func (*ReportData) ProtoMessage() {} func (x *ReportData) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1588,39 +1525,36 @@ func (x *ReportData) GetEndTime() *timestamppb.Timestamp { } type Profile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` - Maintainer string `protobuf:"bytes,3,opt,name=maintainer,proto3" json:"maintainer,omitempty" toml:"maintainer,omitempty" mapstructure:"maintainer,omitempty"` - Copyright string `protobuf:"bytes,4,opt,name=copyright,proto3" json:"copyright,omitempty" toml:"copyright,omitempty" mapstructure:"copyright,omitempty"` - CopyrightEmail string `protobuf:"bytes,5,opt,name=copyright_email,json=copyrightEmail,proto3" json:"copyright_email,omitempty" toml:"copyright_email,omitempty" mapstructure:"copyright_email,omitempty"` - License string `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty" toml:"license,omitempty" mapstructure:"license,omitempty"` - Summary string `protobuf:"bytes,7,opt,name=summary,proto3" json:"summary,omitempty" toml:"summary,omitempty" mapstructure:"summary,omitempty"` - Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - Owner string `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty" toml:"owner,omitempty" mapstructure:"owner,omitempty"` - Full string `protobuf:"bytes,10,opt,name=full,proto3" json:"full,omitempty" toml:"full,omitempty" mapstructure:"full,omitempty"` - Supports []*Support `protobuf:"bytes,16,rep,name=supports,proto3" json:"supports,omitempty" toml:"supports,omitempty" mapstructure:"supports,omitempty"` - Depends []*Dependency `protobuf:"bytes,17,rep,name=depends,proto3" json:"depends,omitempty" toml:"depends,omitempty" mapstructure:"depends,omitempty"` - Sha256 string `protobuf:"bytes,18,opt,name=sha256,proto3" json:"sha256,omitempty" toml:"sha256,omitempty" mapstructure:"sha256,omitempty"` - Groups []*Group `protobuf:"bytes,19,rep,name=groups,proto3" json:"groups,omitempty" toml:"groups,omitempty" mapstructure:"groups,omitempty"` - Controls []*Control `protobuf:"bytes,20,rep,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` - Attributes []*Attribute `protobuf:"bytes,21,rep,name=attributes,proto3" json:"attributes,omitempty" toml:"attributes,omitempty" mapstructure:"attributes,omitempty"` - LatestVersion string `protobuf:"bytes,22,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty" toml:"latest_version,omitempty" mapstructure:"latest_version,omitempty"` - Status string `protobuf:"bytes,23,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - SkipMessage string `protobuf:"bytes,24,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty" toml:"skip_message,omitempty" mapstructure:"skip_message,omitempty"` - StatusMessage string `protobuf:"bytes,25,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty" toml:"status_message,omitempty" mapstructure:"status_message,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` + Maintainer string `protobuf:"bytes,3,opt,name=maintainer,proto3" json:"maintainer,omitempty" toml:"maintainer,omitempty" mapstructure:"maintainer,omitempty"` + Copyright string `protobuf:"bytes,4,opt,name=copyright,proto3" json:"copyright,omitempty" toml:"copyright,omitempty" mapstructure:"copyright,omitempty"` + CopyrightEmail string `protobuf:"bytes,5,opt,name=copyright_email,json=copyrightEmail,proto3" json:"copyright_email,omitempty" toml:"copyright_email,omitempty" mapstructure:"copyright_email,omitempty"` + License string `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty" toml:"license,omitempty" mapstructure:"license,omitempty"` + Summary string `protobuf:"bytes,7,opt,name=summary,proto3" json:"summary,omitempty" toml:"summary,omitempty" mapstructure:"summary,omitempty"` + Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Owner string `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty" toml:"owner,omitempty" mapstructure:"owner,omitempty"` + Full string `protobuf:"bytes,10,opt,name=full,proto3" json:"full,omitempty" toml:"full,omitempty" mapstructure:"full,omitempty"` + Supports []*Support `protobuf:"bytes,16,rep,name=supports,proto3" json:"supports,omitempty" toml:"supports,omitempty" mapstructure:"supports,omitempty"` + Depends []*Dependency `protobuf:"bytes,17,rep,name=depends,proto3" json:"depends,omitempty" toml:"depends,omitempty" mapstructure:"depends,omitempty"` + Sha256 string `protobuf:"bytes,18,opt,name=sha256,proto3" json:"sha256,omitempty" toml:"sha256,omitempty" mapstructure:"sha256,omitempty"` + Groups []*Group `protobuf:"bytes,19,rep,name=groups,proto3" json:"groups,omitempty" toml:"groups,omitempty" mapstructure:"groups,omitempty"` + Controls []*Control `protobuf:"bytes,20,rep,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` + Attributes []*Attribute `protobuf:"bytes,21,rep,name=attributes,proto3" json:"attributes,omitempty" toml:"attributes,omitempty" mapstructure:"attributes,omitempty"` + LatestVersion string `protobuf:"bytes,22,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty" toml:"latest_version,omitempty" mapstructure:"latest_version,omitempty"` + Status string `protobuf:"bytes,23,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + SkipMessage string `protobuf:"bytes,24,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty" toml:"skip_message,omitempty" mapstructure:"skip_message,omitempty"` + StatusMessage string `protobuf:"bytes,25,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty" toml:"status_message,omitempty" mapstructure:"status_message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Profile) Reset() { *x = Profile{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile) String() string { @@ -1631,7 +1565,7 @@ func (*Profile) ProtoMessage() {} func (x *Profile) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1787,22 +1721,19 @@ func (x *Profile) GetStatusMessage() string { } type NodeHeaderProfileInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + StatusMessage string `protobuf:"bytes,3,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty" toml:"status_message,omitempty" mapstructure:"status_message,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - StatusMessage string `protobuf:"bytes,3,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty" toml:"status_message,omitempty" mapstructure:"status_message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NodeHeaderProfileInfo) Reset() { *x = NodeHeaderProfileInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeHeaderProfileInfo) String() string { @@ -1813,7 +1744,7 @@ func (*NodeHeaderProfileInfo) ProtoMessage() {} func (x *NodeHeaderProfileInfo) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1850,21 +1781,18 @@ func (x *NodeHeaderProfileInfo) GetStatusMessage() string { } type Ref struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` + Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty" toml:"ref,omitempty" mapstructure:"ref,omitempty"` unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` - Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty" toml:"ref,omitempty" mapstructure:"ref,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Ref) Reset() { *x = Ref{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Ref) String() string { @@ -1875,7 +1803,7 @@ func (*Ref) ProtoMessage() {} func (x *Ref) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1905,25 +1833,22 @@ func (x *Ref) GetRef() string { } type Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + CodeDesc string `protobuf:"bytes,2,opt,name=code_desc,json=codeDesc,proto3" json:"code_desc,omitempty" toml:"code_desc,omitempty" mapstructure:"code_desc,omitempty"` + RunTime float32 `protobuf:"fixed32,3,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty" toml:"run_time,omitempty" mapstructure:"run_time,omitempty"` + StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` + Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` + SkipMessage string `protobuf:"bytes,6,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty" toml:"skip_message,omitempty" mapstructure:"skip_message,omitempty"` unknownFields protoimpl.UnknownFields - - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - CodeDesc string `protobuf:"bytes,2,opt,name=code_desc,json=codeDesc,proto3" json:"code_desc,omitempty" toml:"code_desc,omitempty" mapstructure:"code_desc,omitempty"` - RunTime float32 `protobuf:"fixed32,3,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty" toml:"run_time,omitempty" mapstructure:"run_time,omitempty"` - StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` - Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` - SkipMessage string `protobuf:"bytes,6,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty" toml:"skip_message,omitempty" mapstructure:"skip_message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Result) Reset() { *x = Result{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Result) String() string { @@ -1934,7 +1859,7 @@ func (*Result) ProtoMessage() {} func (x *Result) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1992,21 +1917,18 @@ func (x *Result) GetSkipMessage() string { } type SourceLocation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty" toml:"ref,omitempty" mapstructure:"ref,omitempty"` + Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty" toml:"line,omitempty" mapstructure:"line,omitempty"` unknownFields protoimpl.UnknownFields - - Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty" toml:"ref,omitempty" mapstructure:"ref,omitempty"` - Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty" toml:"line,omitempty" mapstructure:"line,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SourceLocation) Reset() { *x = SourceLocation{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SourceLocation) String() string { @@ -2017,7 +1939,7 @@ func (*SourceLocation) ProtoMessage() {} func (x *SourceLocation) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2047,21 +1969,18 @@ func (x *SourceLocation) GetLine() int32 { } type Option struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"` + Default string `protobuf:"bytes,2,opt,name=default,proto3" json:"default,omitempty" toml:"default,omitempty" mapstructure:"default,omitempty"` unknownFields protoimpl.UnknownFields - - Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"` - Default string `protobuf:"bytes,2,opt,name=default,proto3" json:"default,omitempty" toml:"default,omitempty" mapstructure:"default,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Option) Reset() { *x = Option{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Option) String() string { @@ -2072,7 +1991,7 @@ func (*Option) ProtoMessage() {} func (x *Option) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2102,24 +2021,21 @@ func (x *Option) GetDefault() string { } type Support struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OsName string `protobuf:"bytes,1,opt,name=os_name,json=osName,proto3" json:"os_name,omitempty" toml:"os_name,omitempty" mapstructure:"os_name,omitempty"` + OsFamily string `protobuf:"bytes,2,opt,name=os_family,json=osFamily,proto3" json:"os_family,omitempty" toml:"os_family,omitempty" mapstructure:"os_family,omitempty"` + Release string `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` + InspecVersion string `protobuf:"bytes,4,opt,name=inspec_version,json=inspecVersion,proto3" json:"inspec_version,omitempty" toml:"inspec_version,omitempty" mapstructure:"inspec_version,omitempty"` + Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` unknownFields protoimpl.UnknownFields - - OsName string `protobuf:"bytes,1,opt,name=os_name,json=osName,proto3" json:"os_name,omitempty" toml:"os_name,omitempty" mapstructure:"os_name,omitempty"` - OsFamily string `protobuf:"bytes,2,opt,name=os_family,json=osFamily,proto3" json:"os_family,omitempty" toml:"os_family,omitempty" mapstructure:"os_family,omitempty"` - Release string `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` - InspecVersion string `protobuf:"bytes,4,opt,name=inspec_version,json=inspecVersion,proto3" json:"inspec_version,omitempty" toml:"inspec_version,omitempty" mapstructure:"inspec_version,omitempty"` - Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Support) Reset() { *x = Support{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Support) String() string { @@ -2130,7 +2046,7 @@ func (*Support) ProtoMessage() {} func (x *Support) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2181,32 +2097,29 @@ func (x *Support) GetPlatform() string { } type Dependency struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` + Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"` + Git string `protobuf:"bytes,4,opt,name=git,proto3" json:"git,omitempty" toml:"git,omitempty" mapstructure:"git,omitempty"` + Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty" toml:"branch,omitempty" mapstructure:"branch,omitempty"` + Tag string `protobuf:"bytes,6,opt,name=tag,proto3" json:"tag,omitempty" toml:"tag,omitempty" mapstructure:"tag,omitempty"` + Commit string `protobuf:"bytes,7,opt,name=commit,proto3" json:"commit,omitempty" toml:"commit,omitempty" mapstructure:"commit,omitempty"` + Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Supermarket string `protobuf:"bytes,9,opt,name=supermarket,proto3" json:"supermarket,omitempty" toml:"supermarket,omitempty" mapstructure:"supermarket,omitempty"` + Github string `protobuf:"bytes,10,opt,name=github,proto3" json:"github,omitempty" toml:"github,omitempty" mapstructure:"github,omitempty"` + Compliance string `protobuf:"bytes,11,opt,name=compliance,proto3" json:"compliance,omitempty" toml:"compliance,omitempty" mapstructure:"compliance,omitempty"` + Status string `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + SkipMessage string `protobuf:"bytes,13,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty" toml:"skip_message,omitempty" mapstructure:"skip_message,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` - Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"` - Git string `protobuf:"bytes,4,opt,name=git,proto3" json:"git,omitempty" toml:"git,omitempty" mapstructure:"git,omitempty"` - Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty" toml:"branch,omitempty" mapstructure:"branch,omitempty"` - Tag string `protobuf:"bytes,6,opt,name=tag,proto3" json:"tag,omitempty" toml:"tag,omitempty" mapstructure:"tag,omitempty"` - Commit string `protobuf:"bytes,7,opt,name=commit,proto3" json:"commit,omitempty" toml:"commit,omitempty" mapstructure:"commit,omitempty"` - Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - Supermarket string `protobuf:"bytes,9,opt,name=supermarket,proto3" json:"supermarket,omitempty" toml:"supermarket,omitempty" mapstructure:"supermarket,omitempty"` - Github string `protobuf:"bytes,10,opt,name=github,proto3" json:"github,omitempty" toml:"github,omitempty" mapstructure:"github,omitempty"` - Compliance string `protobuf:"bytes,11,opt,name=compliance,proto3" json:"compliance,omitempty" toml:"compliance,omitempty" mapstructure:"compliance,omitempty"` - Status string `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - SkipMessage string `protobuf:"bytes,13,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty" toml:"skip_message,omitempty" mapstructure:"skip_message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Dependency) Reset() { *x = Dependency{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Dependency) String() string { @@ -2217,7 +2130,7 @@ func (*Dependency) ProtoMessage() {} func (x *Dependency) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2324,22 +2237,19 @@ func (x *Dependency) GetSkipMessage() string { } type Group struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` + Controls []string `protobuf:"bytes,3,rep,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` - Controls []string `protobuf:"bytes,3,rep,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Group) Reset() { *x = Group{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Group) String() string { @@ -2350,7 +2260,7 @@ func (*Group) ProtoMessage() {} func (x *Group) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2387,32 +2297,29 @@ func (x *Group) GetControls() []string { } type Control struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` - Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty" toml:"desc,omitempty" mapstructure:"desc,omitempty"` - Impact float32 `protobuf:"fixed32,4,opt,name=impact,proto3" json:"impact,omitempty" toml:"impact,omitempty" mapstructure:"impact,omitempty"` - Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` - SourceLocation *SourceLocation `protobuf:"bytes,6,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty" toml:"source_location,omitempty" mapstructure:"source_location,omitempty"` - Results []*Result `protobuf:"bytes,7,rep,name=results,proto3" json:"results,omitempty" toml:"results,omitempty" mapstructure:"results,omitempty"` - Refs []*Ref `protobuf:"bytes,8,rep,name=refs,proto3" json:"refs,omitempty" toml:"refs,omitempty" mapstructure:"refs,omitempty"` - Tags string `protobuf:"bytes,9,opt,name=tags,proto3" json:"tags,omitempty" toml:"tags,omitempty" mapstructure:"tags,omitempty"` - StringTags map[string]*TagValues `protobuf:"bytes,10,rep,name=string_tags,json=stringTags,proto3" json:"string_tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" toml:"string_tags,omitempty" mapstructure:"string_tags,omitempty"` - WaivedStr string `protobuf:"bytes,11,opt,name=waived_str,json=waivedStr,proto3" json:"waived_str,omitempty" toml:"waived_str,omitempty" mapstructure:"waived_str,omitempty"` - WaiverData *OrigWaiverData `protobuf:"bytes,12,opt,name=waiver_data,json=waiverData,proto3" json:"waiver_data,omitempty" toml:"waiver_data,omitempty" mapstructure:"waiver_data,omitempty"` - RemovedResultsCounts *RemovedResultsCounts `protobuf:"bytes,13,opt,name=removed_results_counts,json=removedResultsCounts,proto3" json:"removed_results_counts,omitempty" toml:"removed_results_counts,omitempty" mapstructure:"removed_results_counts,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` + Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty" toml:"desc,omitempty" mapstructure:"desc,omitempty"` + Impact float32 `protobuf:"fixed32,4,opt,name=impact,proto3" json:"impact,omitempty" toml:"impact,omitempty" mapstructure:"impact,omitempty"` + Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` + SourceLocation *SourceLocation `protobuf:"bytes,6,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty" toml:"source_location,omitempty" mapstructure:"source_location,omitempty"` + Results []*Result `protobuf:"bytes,7,rep,name=results,proto3" json:"results,omitempty" toml:"results,omitempty" mapstructure:"results,omitempty"` + Refs []*Ref `protobuf:"bytes,8,rep,name=refs,proto3" json:"refs,omitempty" toml:"refs,omitempty" mapstructure:"refs,omitempty"` + Tags string `protobuf:"bytes,9,opt,name=tags,proto3" json:"tags,omitempty" toml:"tags,omitempty" mapstructure:"tags,omitempty"` + StringTags map[string]*TagValues `protobuf:"bytes,10,rep,name=string_tags,json=stringTags,proto3" json:"string_tags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" toml:"string_tags,omitempty" mapstructure:"string_tags,omitempty"` + WaivedStr string `protobuf:"bytes,11,opt,name=waived_str,json=waivedStr,proto3" json:"waived_str,omitempty" toml:"waived_str,omitempty" mapstructure:"waived_str,omitempty"` + WaiverData *OrigWaiverData `protobuf:"bytes,12,opt,name=waiver_data,json=waiverData,proto3" json:"waiver_data,omitempty" toml:"waiver_data,omitempty" mapstructure:"waiver_data,omitempty"` + RemovedResultsCounts *RemovedResultsCounts `protobuf:"bytes,13,opt,name=removed_results_counts,json=removedResultsCounts,proto3" json:"removed_results_counts,omitempty" toml:"removed_results_counts,omitempty" mapstructure:"removed_results_counts,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Control) Reset() { *x = Control{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Control) String() string { @@ -2423,7 +2330,7 @@ func (*Control) ProtoMessage() {} func (x *Control) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2532,24 +2439,21 @@ func (x *Control) GetRemovedResultsCounts() *RemovedResultsCounts { // WaiverData as it originally came from the InSpec report // Will supplement this with waived_str to make consumption easier type OrigWaiverData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ExpirationDate string `protobuf:"bytes,1,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty" toml:"expiration_date,omitempty" mapstructure:"expiration_date,omitempty"` - Justification string `protobuf:"bytes,2,opt,name=justification,proto3" json:"justification,omitempty" toml:"justification,omitempty" mapstructure:"justification,omitempty"` - Run bool `protobuf:"varint,3,opt,name=run,proto3" json:"run,omitempty" toml:"run,omitempty" mapstructure:"run,omitempty"` - SkippedDueToWaiver bool `protobuf:"varint,4,opt,name=skipped_due_to_waiver,json=skippedDueToWaiver,proto3" json:"skipped_due_to_waiver,omitempty" toml:"skipped_due_to_waiver,omitempty" mapstructure:"skipped_due_to_waiver,omitempty"` - Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ExpirationDate string `protobuf:"bytes,1,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty" toml:"expiration_date,omitempty" mapstructure:"expiration_date,omitempty"` + Justification string `protobuf:"bytes,2,opt,name=justification,proto3" json:"justification,omitempty" toml:"justification,omitempty" mapstructure:"justification,omitempty"` + Run bool `protobuf:"varint,3,opt,name=run,proto3" json:"run,omitempty" toml:"run,omitempty" mapstructure:"run,omitempty"` + SkippedDueToWaiver bool `protobuf:"varint,4,opt,name=skipped_due_to_waiver,json=skippedDueToWaiver,proto3" json:"skipped_due_to_waiver,omitempty" toml:"skipped_due_to_waiver,omitempty" mapstructure:"skipped_due_to_waiver,omitempty"` + Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OrigWaiverData) Reset() { *x = OrigWaiverData{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OrigWaiverData) String() string { @@ -2560,7 +2464,7 @@ func (*OrigWaiverData) ProtoMessage() {} func (x *OrigWaiverData) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2611,22 +2515,19 @@ func (x *OrigWaiverData) GetMessage() string { } type RemovedResultsCounts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Failed int32 `protobuf:"varint,1,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` + Skipped int32 `protobuf:"varint,2,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` + Passed int32 `protobuf:"varint,3,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` unknownFields protoimpl.UnknownFields - - Failed int32 `protobuf:"varint,1,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` - Skipped int32 `protobuf:"varint,2,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` - Passed int32 `protobuf:"varint,3,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RemovedResultsCounts) Reset() { *x = RemovedResultsCounts{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemovedResultsCounts) String() string { @@ -2637,7 +2538,7 @@ func (*RemovedResultsCounts) ProtoMessage() {} func (x *RemovedResultsCounts) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2674,20 +2575,17 @@ func (x *RemovedResultsCounts) GetPassed() int32 { } type TagValues struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` unknownFields protoimpl.UnknownFields - - Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TagValues) Reset() { *x = TagValues{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TagValues) String() string { @@ -2698,7 +2596,7 @@ func (*TagValues) ProtoMessage() {} func (x *TagValues) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2721,21 +2619,18 @@ func (x *TagValues) GetValues() []string { } type Attribute struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Options *Option `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty" toml:"options,omitempty" mapstructure:"options,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Options *Option `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty" toml:"options,omitempty" mapstructure:"options,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Attribute) Reset() { *x = Attribute{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Attribute) String() string { @@ -2746,7 +2641,7 @@ func (*Attribute) ProtoMessage() {} func (x *Attribute) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2776,22 +2671,19 @@ func (x *Attribute) GetOptions() *Option { } type Platform struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Release string `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` + Full string `protobuf:"bytes,3,opt,name=full,proto3" json:"full,omitempty" toml:"full,omitempty" mapstructure:"full,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Release string `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` - Full string `protobuf:"bytes,3,opt,name=full,proto3" json:"full,omitempty" toml:"full,omitempty" mapstructure:"full,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Platform) Reset() { *x = Platform{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Platform) String() string { @@ -2802,7 +2694,7 @@ func (*Platform) ProtoMessage() {} func (x *Platform) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2839,20 +2731,17 @@ func (x *Platform) GetFull() string { } type Statistics struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Duration float32 `protobuf:"fixed32,1,opt,name=duration,proto3" json:"duration,omitempty" toml:"duration,omitempty" mapstructure:"duration,omitempty"` unknownFields protoimpl.UnknownFields - - Duration float32 `protobuf:"fixed32,1,opt,name=duration,proto3" json:"duration,omitempty" toml:"duration,omitempty" mapstructure:"duration,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Statistics) Reset() { *x = Statistics{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Statistics) String() string { @@ -2863,7 +2752,7 @@ func (*Statistics) ProtoMessage() {} func (x *Statistics) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2886,24 +2775,21 @@ func (x *Statistics) GetDuration() float32 { } type SuggestionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty" toml:"text,omitempty" mapstructure:"text,omitempty"` + Size int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty" toml:"size,omitempty" mapstructure:"size,omitempty"` + Filters []*ListFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` + TypeKey string `protobuf:"bytes,5,opt,name=type_key,json=typeKey,proto3" json:"type_key,omitempty" toml:"type_key,omitempty" mapstructure:"type_key,omitempty"` unknownFields protoimpl.UnknownFields - - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` - Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty" toml:"text,omitempty" mapstructure:"text,omitempty"` - Size int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty" toml:"size,omitempty" mapstructure:"size,omitempty"` - Filters []*ListFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` - TypeKey string `protobuf:"bytes,5,opt,name=type_key,json=typeKey,proto3" json:"type_key,omitempty" toml:"type_key,omitempty" mapstructure:"type_key,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SuggestionRequest) Reset() { *x = SuggestionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SuggestionRequest) String() string { @@ -2914,7 +2800,7 @@ func (*SuggestionRequest) ProtoMessage() {} func (x *SuggestionRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2965,23 +2851,20 @@ func (x *SuggestionRequest) GetTypeKey() string { } type Suggestion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty" toml:"text,omitempty" mapstructure:"text,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty" toml:"score,omitempty" mapstructure:"score,omitempty"` + Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` unknownFields protoimpl.UnknownFields - - Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty" toml:"text,omitempty" mapstructure:"text,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty" toml:"score,omitempty" mapstructure:"score,omitempty"` - Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Suggestion) Reset() { *x = Suggestion{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Suggestion) String() string { @@ -2992,7 +2875,7 @@ func (*Suggestion) ProtoMessage() {} func (x *Suggestion) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3036,20 +2919,17 @@ func (x *Suggestion) GetVersion() string { } type Suggestions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Suggestions []*Suggestion `protobuf:"bytes,1,rep,name=suggestions,proto3" json:"suggestions,omitempty" toml:"suggestions,omitempty" mapstructure:"suggestions,omitempty"` unknownFields protoimpl.UnknownFields - - Suggestions []*Suggestion `protobuf:"bytes,1,rep,name=suggestions,proto3" json:"suggestions,omitempty" toml:"suggestions,omitempty" mapstructure:"suggestions,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Suggestions) Reset() { *x = Suggestions{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Suggestions) String() string { @@ -3060,7 +2940,7 @@ func (*Suggestions) ProtoMessage() {} func (x *Suggestions) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3083,21 +2963,18 @@ func (x *Suggestions) GetSuggestions() []*Suggestion { } type ProfileMins struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Profiles []*ProfileMin `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty" toml:"profiles,omitempty" mapstructure:"profiles,omitempty"` + Counts *ProfileCounts `protobuf:"bytes,2,opt,name=counts,proto3" json:"counts,omitempty" toml:"counts,omitempty" mapstructure:"counts,omitempty"` unknownFields protoimpl.UnknownFields - - Profiles []*ProfileMin `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty" toml:"profiles,omitempty" mapstructure:"profiles,omitempty"` - Counts *ProfileCounts `protobuf:"bytes,2,opt,name=counts,proto3" json:"counts,omitempty" toml:"counts,omitempty" mapstructure:"counts,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProfileMins) Reset() { *x = ProfileMins{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileMins) String() string { @@ -3108,7 +2985,7 @@ func (*ProfileMins) ProtoMessage() {} func (x *ProfileMins) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3138,24 +3015,21 @@ func (x *ProfileMins) GetCounts() *ProfileCounts { } type ProfileCounts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + Failed int32 `protobuf:"varint,2,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` + Skipped int32 `protobuf:"varint,3,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` + Passed int32 `protobuf:"varint,4,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` + Waived int32 `protobuf:"varint,5,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` unknownFields protoimpl.UnknownFields - - Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` - Failed int32 `protobuf:"varint,2,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` - Skipped int32 `protobuf:"varint,3,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` - Passed int32 `protobuf:"varint,4,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` - Waived int32 `protobuf:"varint,5,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProfileCounts) Reset() { *x = ProfileCounts{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileCounts) String() string { @@ -3166,7 +3040,7 @@ func (*ProfileCounts) ProtoMessage() {} func (x *ProfileCounts) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3217,24 +3091,21 @@ func (x *ProfileCounts) GetWaived() int32 { } type ProfileMin struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` + Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` - Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProfileMin) Reset() { *x = ProfileMin{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileMin) String() string { @@ -3245,7 +3116,7 @@ func (*ProfileMin) ProtoMessage() {} func (x *ProfileMin) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3296,26 +3167,23 @@ func (x *ProfileMin) GetStatus() string { } type Node struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Platform *Platform `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` + Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty" toml:"environment,omitempty" mapstructure:"environment,omitempty"` + LatestReport *LatestReportSummary `protobuf:"bytes,8,opt,name=latest_report,json=latestReport,proto3" json:"latest_report,omitempty" toml:"latest_report,omitempty" mapstructure:"latest_report,omitempty"` + Tags []*Kv `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty" toml:"tags,omitempty" mapstructure:"tags,omitempty"` + Profiles []*ProfileMeta `protobuf:"bytes,10,rep,name=profiles,proto3" json:"profiles,omitempty" toml:"profiles,omitempty" mapstructure:"profiles,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Platform *Platform `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` - Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty" toml:"environment,omitempty" mapstructure:"environment,omitempty"` - LatestReport *LatestReportSummary `protobuf:"bytes,8,opt,name=latest_report,json=latestReport,proto3" json:"latest_report,omitempty" toml:"latest_report,omitempty" mapstructure:"latest_report,omitempty"` - Tags []*Kv `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty" toml:"tags,omitempty" mapstructure:"tags,omitempty"` - Profiles []*ProfileMeta `protobuf:"bytes,10,rep,name=profiles,proto3" json:"profiles,omitempty" toml:"profiles,omitempty" mapstructure:"profiles,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Node) Reset() { *x = Node{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Node) String() string { @@ -3326,7 +3194,7 @@ func (*Node) ProtoMessage() {} func (x *Node) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3391,25 +3259,22 @@ func (x *Node) GetProfiles() []*ProfileMeta { } type Nodes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` + Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + TotalPassed int32 `protobuf:"varint,21,opt,name=total_passed,json=totalPassed,proto3" json:"total_passed,omitempty" toml:"total_passed,omitempty" mapstructure:"total_passed,omitempty"` + TotalFailed int32 `protobuf:"varint,22,opt,name=total_failed,json=totalFailed,proto3" json:"total_failed,omitempty" toml:"total_failed,omitempty" mapstructure:"total_failed,omitempty"` + TotalSkipped int32 `protobuf:"varint,23,opt,name=total_skipped,json=totalSkipped,proto3" json:"total_skipped,omitempty" toml:"total_skipped,omitempty" mapstructure:"total_skipped,omitempty"` + TotalWaived int32 `protobuf:"varint,24,opt,name=total_waived,json=totalWaived,proto3" json:"total_waived,omitempty" toml:"total_waived,omitempty" mapstructure:"total_waived,omitempty"` unknownFields protoimpl.UnknownFields - - Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` - Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` - TotalPassed int32 `protobuf:"varint,21,opt,name=total_passed,json=totalPassed,proto3" json:"total_passed,omitempty" toml:"total_passed,omitempty" mapstructure:"total_passed,omitempty"` - TotalFailed int32 `protobuf:"varint,22,opt,name=total_failed,json=totalFailed,proto3" json:"total_failed,omitempty" toml:"total_failed,omitempty" mapstructure:"total_failed,omitempty"` - TotalSkipped int32 `protobuf:"varint,23,opt,name=total_skipped,json=totalSkipped,proto3" json:"total_skipped,omitempty" toml:"total_skipped,omitempty" mapstructure:"total_skipped,omitempty"` - TotalWaived int32 `protobuf:"varint,24,opt,name=total_waived,json=totalWaived,proto3" json:"total_waived,omitempty" toml:"total_waived,omitempty" mapstructure:"total_waived,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Nodes) Reset() { *x = Nodes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Nodes) String() string { @@ -3420,7 +3285,7 @@ func (*Nodes) ProtoMessage() {} func (x *Nodes) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3478,21 +3343,18 @@ func (x *Nodes) GetTotalWaived() int32 { } type Kv struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" toml:"key,omitempty" mapstructure:"key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" toml:"key,omitempty" mapstructure:"key,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Kv) Reset() { *x = Kv{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Kv) String() string { @@ -3503,7 +3365,7 @@ func (*Kv) ProtoMessage() {} func (x *Kv) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3533,23 +3395,20 @@ func (x *Kv) GetValue() string { } type LatestReportSummary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` + Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + Controls *ControlSummary `protobuf:"bytes,4,opt,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` - Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - Controls *ControlSummary `protobuf:"bytes,4,opt,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` + sizeCache protoimpl.SizeCache } func (x *LatestReportSummary) Reset() { *x = LatestReportSummary{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LatestReportSummary) String() string { @@ -3560,7 +3419,7 @@ func (*LatestReportSummary) ProtoMessage() {} func (x *LatestReportSummary) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3604,24 +3463,21 @@ func (x *LatestReportSummary) GetControls() *ControlSummary { } type ProfileMeta struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + Full string `protobuf:"bytes,5,opt,name=full,proto3" json:"full,omitempty" toml:"full,omitempty" mapstructure:"full,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - Full string `protobuf:"bytes,5,opt,name=full,proto3" json:"full,omitempty" toml:"full,omitempty" mapstructure:"full,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProfileMeta) Reset() { *x = ProfileMeta{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileMeta) String() string { @@ -3632,7 +3488,7 @@ func (*ProfileMeta) ProtoMessage() {} func (x *ProfileMeta) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[47] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3683,26 +3539,23 @@ func (x *ProfileMeta) GetFull() string { } type ControlElement struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` + Profile string `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty" toml:"profile,omitempty" mapstructure:"profile,omitempty"` + Impact float32 `protobuf:"fixed32,4,opt,name=impact,proto3" json:"impact,omitempty" toml:"impact,omitempty" mapstructure:"impact,omitempty"` + Results int32 `protobuf:"varint,5,opt,name=results,proto3" json:"results,omitempty" toml:"results,omitempty" mapstructure:"results,omitempty"` + Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + ProfileId string `protobuf:"bytes,7,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty" toml:"profile_id,omitempty" mapstructure:"profile_id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` - Profile string `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty" toml:"profile,omitempty" mapstructure:"profile,omitempty"` - Impact float32 `protobuf:"fixed32,4,opt,name=impact,proto3" json:"impact,omitempty" toml:"impact,omitempty" mapstructure:"impact,omitempty"` - Results int32 `protobuf:"varint,5,opt,name=results,proto3" json:"results,omitempty" toml:"results,omitempty" mapstructure:"results,omitempty"` - Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - ProfileId string `protobuf:"bytes,7,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty" toml:"profile_id,omitempty" mapstructure:"profile_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ControlElement) Reset() { *x = ControlElement{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ControlElement) String() string { @@ -3713,7 +3566,7 @@ func (*ControlElement) ProtoMessage() {} func (x *ControlElement) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[48] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3778,20 +3631,17 @@ func (x *ControlElement) GetProfileId() string { } type ControlElements struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ControlElements []*ControlElement `protobuf:"bytes,1,rep,name=control_elements,json=controlElements,proto3" json:"control_elements,omitempty" toml:"control_elements,omitempty" mapstructure:"control_elements,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ControlElements []*ControlElement `protobuf:"bytes,1,rep,name=control_elements,json=controlElements,proto3" json:"control_elements,omitempty" toml:"control_elements,omitempty" mapstructure:"control_elements,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ControlElements) Reset() { *x = ControlElements{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ControlElements) String() string { @@ -3802,7 +3652,7 @@ func (*ControlElements) ProtoMessage() {} func (x *ControlElements) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[49] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3825,20 +3675,17 @@ func (x *ControlElements) GetControlElements() []*ControlElement { } type CustomReportResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AcknowledgementId string `protobuf:"bytes,1,opt,name=acknowledgement_id,json=acknowledgementId,proto3" json:"acknowledgement_id,omitempty" toml:"acknowledgement_id,omitempty" mapstructure:"acknowledgement_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + AcknowledgementId string `protobuf:"bytes,1,opt,name=acknowledgement_id,json=acknowledgementId,proto3" json:"acknowledgement_id,omitempty" toml:"acknowledgement_id,omitempty" mapstructure:"acknowledgement_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CustomReportResponse) Reset() { *x = CustomReportResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CustomReportResponse) String() string { @@ -3849,7 +3696,7 @@ func (*CustomReportResponse) ProtoMessage() {} func (x *CustomReportResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[50] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3872,20 +3719,17 @@ func (x *CustomReportResponse) GetAcknowledgementId() string { } type ReportListForReportManagerResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Reports []*ReportResponse `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty" toml:"reports,omitempty" mapstructure:"reports,omitempty"` unknownFields protoimpl.UnknownFields - - Reports []*ReportResponse `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty" toml:"reports,omitempty" mapstructure:"reports,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReportListForReportManagerResponse) Reset() { *x = ReportListForReportManagerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportListForReportManagerResponse) String() string { @@ -3896,7 +3740,7 @@ func (*ReportListForReportManagerResponse) ProtoMessage() {} func (x *ReportListForReportManagerResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[51] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3919,21 +3763,18 @@ func (x *ReportListForReportManagerResponse) GetReports() []*ReportResponse { } type ReportResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ReportId string `protobuf:"bytes,1,opt,name=report_id,json=reportId,proto3" json:"report_id,omitempty" toml:"report_id,omitempty" mapstructure:"report_id,omitempty"` + Profiles []*ProfileResponse `protobuf:"bytes,2,rep,name=profiles,proto3" json:"profiles,omitempty" toml:"profiles,omitempty" mapstructure:"profiles,omitempty"` unknownFields protoimpl.UnknownFields - - ReportId string `protobuf:"bytes,1,opt,name=report_id,json=reportId,proto3" json:"report_id,omitempty" toml:"report_id,omitempty" mapstructure:"report_id,omitempty"` - Profiles []*ProfileResponse `protobuf:"bytes,2,rep,name=profiles,proto3" json:"profiles,omitempty" toml:"profiles,omitempty" mapstructure:"profiles,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReportResponse) Reset() { *x = ReportResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportResponse) String() string { @@ -3944,7 +3785,7 @@ func (*ReportResponse) ProtoMessage() {} func (x *ReportResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[52] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3974,21 +3815,18 @@ func (x *ReportResponse) GetProfiles() []*ProfileResponse { } type ProfileResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ProfileId string `protobuf:"bytes,1,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty" toml:"profile_id,omitempty" mapstructure:"profile_id,omitempty"` + Controls []string `protobuf:"bytes,2,rep,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` unknownFields protoimpl.UnknownFields - - ProfileId string `protobuf:"bytes,1,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty" toml:"profile_id,omitempty" mapstructure:"profile_id,omitempty"` - Controls []string `protobuf:"bytes,2,rep,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProfileResponse) Reset() { *x = ProfileResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileResponse) String() string { @@ -3999,7 +3837,7 @@ func (*ProfileResponse) ProtoMessage() {} func (x *ProfileResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[53] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4029,22 +3867,19 @@ func (x *ProfileResponse) GetControls() []string { } type AssetSummary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TotalAssets int32 `protobuf:"varint,1,opt,name=total_assets,json=totalAssets,proto3" json:"total_assets,omitempty" toml:"total_assets,omitempty" mapstructure:"total_assets,omitempty"` + Collected *Collected `protobuf:"bytes,2,opt,name=collected,proto3" json:"collected,omitempty" toml:"collected,omitempty" mapstructure:"collected,omitempty"` + Uncollected *Uncollected `protobuf:"bytes,3,opt,name=uncollected,proto3" json:"uncollected,omitempty" toml:"uncollected,omitempty" mapstructure:"uncollected,omitempty"` unknownFields protoimpl.UnknownFields - - TotalAssets int32 `protobuf:"varint,1,opt,name=total_assets,json=totalAssets,proto3" json:"total_assets,omitempty" toml:"total_assets,omitempty" mapstructure:"total_assets,omitempty"` - Collected *Collected `protobuf:"bytes,2,opt,name=collected,proto3" json:"collected,omitempty" toml:"collected,omitempty" mapstructure:"collected,omitempty"` - Uncollected *Uncollected `protobuf:"bytes,3,opt,name=uncollected,proto3" json:"uncollected,omitempty" toml:"uncollected,omitempty" mapstructure:"uncollected,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AssetSummary) Reset() { *x = AssetSummary{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AssetSummary) String() string { @@ -4055,7 +3890,7 @@ func (*AssetSummary) ProtoMessage() {} func (x *AssetSummary) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[54] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4092,23 +3927,20 @@ func (x *AssetSummary) GetUncollected() *Uncollected { } type Collected struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Passed int32 `protobuf:"varint,1,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` + Failed int32 `protobuf:"varint,2,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` + Skipped int32 `protobuf:"varint,3,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` + Waived int32 `protobuf:"varint,4,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` unknownFields protoimpl.UnknownFields - - Passed int32 `protobuf:"varint,1,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` - Failed int32 `protobuf:"varint,2,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` - Skipped int32 `protobuf:"varint,3,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` - Waived int32 `protobuf:"varint,4,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Collected) Reset() { *x = Collected{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Collected) String() string { @@ -4119,7 +3951,7 @@ func (*Collected) ProtoMessage() {} func (x *Collected) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[55] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4163,21 +3995,18 @@ func (x *Collected) GetWaived() int32 { } type Uncollected struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Unreachable int32 `protobuf:"varint,1,opt,name=unreachable,proto3" json:"unreachable,omitempty" toml:"unreachable,omitempty" mapstructure:"unreachable,omitempty"` + Unreported int32 `protobuf:"varint,2,opt,name=unreported,proto3" json:"unreported,omitempty" toml:"unreported,omitempty" mapstructure:"unreported,omitempty"` unknownFields protoimpl.UnknownFields - - Unreachable int32 `protobuf:"varint,1,opt,name=unreachable,proto3" json:"unreachable,omitempty" toml:"unreachable,omitempty" mapstructure:"unreachable,omitempty"` - Unreported int32 `protobuf:"varint,2,opt,name=unreported,proto3" json:"unreported,omitempty" toml:"unreported,omitempty" mapstructure:"unreported,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Uncollected) Reset() { *x = Uncollected{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Uncollected) String() string { @@ -4188,7 +4017,7 @@ func (*Uncollected) ProtoMessage() {} func (x *Uncollected) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[56] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4218,23 +4047,20 @@ func (x *Uncollected) GetUnreported() int32 { } type Assets struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + NodeUuid string `protobuf:"bytes,1,opt,name=node_uuid,json=nodeUuid,proto3" json:"node_uuid,omitempty" toml:"node_uuid,omitempty" mapstructure:"node_uuid,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + FirstRun string `protobuf:"bytes,3,opt,name=first_run,json=firstRun,proto3" json:"first_run,omitempty" toml:"first_run,omitempty" mapstructure:"first_run,omitempty"` + LastRun string `protobuf:"bytes,4,opt,name=last_run,json=lastRun,proto3" json:"last_run,omitempty" toml:"last_run,omitempty" mapstructure:"last_run,omitempty"` unknownFields protoimpl.UnknownFields - - NodeUuid string `protobuf:"bytes,1,opt,name=node_uuid,json=nodeUuid,proto3" json:"node_uuid,omitempty" toml:"node_uuid,omitempty" mapstructure:"node_uuid,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - FirstRun string `protobuf:"bytes,3,opt,name=first_run,json=firstRun,proto3" json:"first_run,omitempty" toml:"first_run,omitempty" mapstructure:"first_run,omitempty"` - LastRun string `protobuf:"bytes,4,opt,name=last_run,json=lastRun,proto3" json:"last_run,omitempty" toml:"last_run,omitempty" mapstructure:"last_run,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Assets) Reset() { *x = Assets{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Assets) String() string { @@ -4245,7 +4071,7 @@ func (*Assets) ProtoMessage() {} func (x *Assets) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[57] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4289,24 +4115,21 @@ func (x *Assets) GetLastRun() string { } type AssetListRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Filters []*ListFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` + Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty" toml:"size,omitempty" mapstructure:"size,omitempty"` + From int32 `protobuf:"varint,3,opt,name=from,proto3" json:"from,omitempty" toml:"from,omitempty" mapstructure:"from,omitempty"` + Sort string `protobuf:"bytes,4,opt,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` + AssetsType string `protobuf:"bytes,5,opt,name=assets_type,json=assetsType,proto3" json:"assets_type,omitempty" toml:"assets_type,omitempty" mapstructure:"assets_type,omitempty"` unknownFields protoimpl.UnknownFields - - Filters []*ListFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` - Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty" toml:"size,omitempty" mapstructure:"size,omitempty"` - From int32 `protobuf:"varint,3,opt,name=from,proto3" json:"from,omitempty" toml:"from,omitempty" mapstructure:"from,omitempty"` - Sort string `protobuf:"bytes,4,opt,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` - AssetsType string `protobuf:"bytes,5,opt,name=assets_type,json=assetsType,proto3" json:"assets_type,omitempty" toml:"assets_type,omitempty" mapstructure:"assets_type,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AssetListRequest) Reset() { *x = AssetListRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AssetListRequest) String() string { @@ -4317,7 +4140,7 @@ func (*AssetListRequest) ProtoMessage() {} func (x *AssetListRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[58] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4368,20 +4191,17 @@ func (x *AssetListRequest) GetAssetsType() string { } type AssetListResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Assets []*Assets `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty" toml:"assets,omitempty" mapstructure:"assets,omitempty"` unknownFields protoimpl.UnknownFields - - Assets []*Assets `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty" toml:"assets,omitempty" mapstructure:"assets,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AssetListResponse) Reset() { *x = AssetListResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AssetListResponse) String() string { @@ -4392,7 +4212,7 @@ func (*AssetListResponse) ProtoMessage() {} func (x *AssetListResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[59] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4416,21 +4236,18 @@ func (x *AssetListResponse) GetAssets() []*Assets { // ComplianceConfigRequest to update no of days in the config type ComplianceConfigRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // No of days for the config - Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` + Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ComplianceConfigRequest) Reset() { *x = ComplianceConfigRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ComplianceConfigRequest) String() string { @@ -4441,7 +4258,7 @@ func (*ComplianceConfigRequest) ProtoMessage() {} func (x *ComplianceConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[60] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4465,23 +4282,20 @@ func (x *ComplianceConfigRequest) GetValue() int32 { // ComplianceConfigResponse to get the policy name and no of days type ComplianceConfigResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Policy name to get from config PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty" toml:"policy_name,omitempty" mapstructure:"policy_name,omitempty"` // No of days to get for config - Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` + Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ComplianceConfigResponse) Reset() { *x = ComplianceConfigResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[61] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ComplianceConfigResponse) String() string { @@ -4492,7 +4306,7 @@ func (*ComplianceConfigResponse) ProtoMessage() {} func (x *ComplianceConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[61] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4523,18 +4337,16 @@ func (x *ComplianceConfigResponse) GetValue() int32 { // GetAssetConfigRequest to perform GET request type GetAssetConfigRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetAssetConfigRequest) Reset() { *x = GetAssetConfigRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[62] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAssetConfigRequest) String() string { @@ -4545,7 +4357,7 @@ func (*GetAssetConfigRequest) ProtoMessage() {} func (x *GetAssetConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_reporting_reporting_proto_msgTypes[62] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5453,7 +5265,7 @@ func file_interservice_compliance_reporting_reporting_proto_rawDescGZIP() []byte var file_interservice_compliance_reporting_reporting_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_interservice_compliance_reporting_reporting_proto_msgTypes = make([]protoimpl.MessageInfo, 64) -var file_interservice_compliance_reporting_reporting_proto_goTypes = []interface{}{ +var file_interservice_compliance_reporting_reporting_proto_goTypes = []any{ (Query_OrderType)(0), // 0: chef.automate.domain.compliance.reporting.Query.OrderType (*ReportContentRequest)(nil), // 1: chef.automate.domain.compliance.reporting.ReportContentRequest (*ReportContentResponse)(nil), // 2: chef.automate.domain.compliance.reporting.ReportContentResponse @@ -5635,764 +5447,6 @@ func file_interservice_compliance_reporting_reporting_proto_init() { if File_interservice_compliance_reporting_reporting_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_compliance_reporting_reporting_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReportContentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReportContentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExportData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Id); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Query); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListFilters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Total); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Failed); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ControlSummary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ControlItemRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WaiverData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ControlItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ControlItems); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReportsSummaryLevelOne); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReportSummaryLevelOne); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Reports); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Report); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeHeaderInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReportIds); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReportData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeHeaderProfileInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Ref); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SourceLocation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Option); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Support); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Dependency); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Group); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Control); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrigWaiverData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemovedResultsCounts); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TagValues); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Attribute); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Platform); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Statistics); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SuggestionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Suggestion); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Suggestions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileMins); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileCounts); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileMin); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Node); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Nodes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Kv); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LatestReportSummary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileMeta); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ControlElement); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ControlElements); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CustomReportResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReportListForReportManagerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReportResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AssetSummary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Collected); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Uncollected); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Assets); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AssetListRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AssetListResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComplianceConfigRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComplianceConfigResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_reporting_reporting_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAssetConfigRequest); 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{ diff --git a/api/interservice/compliance/stats/stats.pb.go b/api/interservice/compliance/stats/stats.pb.go index 277341ea2dc..1935f57730b 100644 --- a/api/interservice/compliance/stats/stats.pb.go +++ b/api/interservice/compliance/stats/stats.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/compliance/stats/stats.proto @@ -74,21 +74,18 @@ func (Query_OrderType) EnumDescriptor() ([]byte, []int) { } type ListFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Values []string `protobuf:"bytes,20,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` + Type string `protobuf:"bytes,21,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` unknownFields protoimpl.UnknownFields - - Values []string `protobuf:"bytes,20,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` - Type string `protobuf:"bytes,21,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListFilter) Reset() { *x = ListFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListFilter) String() string { @@ -99,7 +96,7 @@ func (*ListFilter) ProtoMessage() {} func (x *ListFilter) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -129,28 +126,25 @@ func (x *ListFilter) GetType() string { } type Query struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,17,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Type string `protobuf:"bytes,19,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + Size int32 `protobuf:"varint,18,opt,name=size,proto3" json:"size,omitempty" toml:"size,omitempty" mapstructure:"size,omitempty"` + Interval int32 `protobuf:"varint,25,opt,name=interval,proto3" json:"interval,omitempty" toml:"interval,omitempty" mapstructure:"interval,omitempty"` + Filters []*ListFilter `protobuf:"bytes,20,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` + Order Query_OrderType `protobuf:"varint,21,opt,name=order,proto3,enum=chef.automate.domain.compliance.stats.Query_OrderType" json:"order,omitempty" toml:"order,omitempty" mapstructure:"order,omitempty"` + Sort string `protobuf:"bytes,22,opt,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` + Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` + PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty" toml:"per_page,omitempty" mapstructure:"per_page,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,17,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Type string `protobuf:"bytes,19,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` - Size int32 `protobuf:"varint,18,opt,name=size,proto3" json:"size,omitempty" toml:"size,omitempty" mapstructure:"size,omitempty"` - Interval int32 `protobuf:"varint,25,opt,name=interval,proto3" json:"interval,omitempty" toml:"interval,omitempty" mapstructure:"interval,omitempty"` - Filters []*ListFilter `protobuf:"bytes,20,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` - Order Query_OrderType `protobuf:"varint,21,opt,name=order,proto3,enum=chef.automate.domain.compliance.stats.Query_OrderType" json:"order,omitempty" toml:"order,omitempty" mapstructure:"order,omitempty"` - Sort string `protobuf:"bytes,22,opt,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` - Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` - PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty" toml:"per_page,omitempty" mapstructure:"per_page,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Query) Reset() { *x = Query{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Query) String() string { @@ -161,7 +155,7 @@ func (*Query) ProtoMessage() {} func (x *Query) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -240,22 +234,19 @@ func (x *Query) GetPerPage() int32 { } type Summary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ControlsSummary *ControlsSummary `protobuf:"bytes,1,opt,name=controls_summary,json=controlsSummary,proto3" json:"controls_summary,omitempty" toml:"controls_summary,omitempty" mapstructure:"controls_summary,omitempty"` - NodeSummary *NodeSummary `protobuf:"bytes,2,opt,name=node_summary,json=nodeSummary,proto3" json:"node_summary,omitempty" toml:"node_summary,omitempty" mapstructure:"node_summary,omitempty"` - ReportSummary *ReportSummary `protobuf:"bytes,3,opt,name=report_summary,json=reportSummary,proto3" json:"report_summary,omitempty" toml:"report_summary,omitempty" mapstructure:"report_summary,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ControlsSummary *ControlsSummary `protobuf:"bytes,1,opt,name=controls_summary,json=controlsSummary,proto3" json:"controls_summary,omitempty" toml:"controls_summary,omitempty" mapstructure:"controls_summary,omitempty"` + NodeSummary *NodeSummary `protobuf:"bytes,2,opt,name=node_summary,json=nodeSummary,proto3" json:"node_summary,omitempty" toml:"node_summary,omitempty" mapstructure:"node_summary,omitempty"` + ReportSummary *ReportSummary `protobuf:"bytes,3,opt,name=report_summary,json=reportSummary,proto3" json:"report_summary,omitempty" toml:"report_summary,omitempty" mapstructure:"report_summary,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Summary) Reset() { *x = Summary{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Summary) String() string { @@ -266,7 +257,7 @@ func (*Summary) ProtoMessage() {} func (x *Summary) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -303,26 +294,23 @@ func (x *Summary) GetReportSummary() *ReportSummary { } type ControlsSummary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Failures int32 `protobuf:"varint,1,opt,name=failures,proto3" json:"failures,omitempty" toml:"failures,omitempty" mapstructure:"failures,omitempty"` + Majors int32 `protobuf:"varint,2,opt,name=majors,proto3" json:"majors,omitempty" toml:"majors,omitempty" mapstructure:"majors,omitempty"` + Minors int32 `protobuf:"varint,3,opt,name=minors,proto3" json:"minors,omitempty" toml:"minors,omitempty" mapstructure:"minors,omitempty"` + Criticals int32 `protobuf:"varint,4,opt,name=criticals,proto3" json:"criticals,omitempty" toml:"criticals,omitempty" mapstructure:"criticals,omitempty"` + Passed int32 `protobuf:"varint,5,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` + Skipped int32 `protobuf:"varint,6,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` + Waived int32 `protobuf:"varint,7,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` unknownFields protoimpl.UnknownFields - - Failures int32 `protobuf:"varint,1,opt,name=failures,proto3" json:"failures,omitempty" toml:"failures,omitempty" mapstructure:"failures,omitempty"` - Majors int32 `protobuf:"varint,2,opt,name=majors,proto3" json:"majors,omitempty" toml:"majors,omitempty" mapstructure:"majors,omitempty"` - Minors int32 `protobuf:"varint,3,opt,name=minors,proto3" json:"minors,omitempty" toml:"minors,omitempty" mapstructure:"minors,omitempty"` - Criticals int32 `protobuf:"varint,4,opt,name=criticals,proto3" json:"criticals,omitempty" toml:"criticals,omitempty" mapstructure:"criticals,omitempty"` - Passed int32 `protobuf:"varint,5,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` - Skipped int32 `protobuf:"varint,6,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` - Waived int32 `protobuf:"varint,7,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ControlsSummary) Reset() { *x = ControlsSummary{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ControlsSummary) String() string { @@ -333,7 +321,7 @@ func (*ControlsSummary) ProtoMessage() {} func (x *ControlsSummary) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -398,26 +386,23 @@ func (x *ControlsSummary) GetWaived() int32 { } type NodeSummary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Compliant int32 `protobuf:"varint,1,opt,name=compliant,proto3" json:"compliant,omitempty" toml:"compliant,omitempty" mapstructure:"compliant,omitempty"` + Skipped int32 `protobuf:"varint,2,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` + Noncompliant int32 `protobuf:"varint,3,opt,name=noncompliant,proto3" json:"noncompliant,omitempty" toml:"noncompliant,omitempty" mapstructure:"noncompliant,omitempty"` + HighRisk int32 `protobuf:"varint,4,opt,name=high_risk,json=highRisk,proto3" json:"high_risk,omitempty" toml:"high_risk,omitempty" mapstructure:"high_risk,omitempty"` + MediumRisk int32 `protobuf:"varint,5,opt,name=medium_risk,json=mediumRisk,proto3" json:"medium_risk,omitempty" toml:"medium_risk,omitempty" mapstructure:"medium_risk,omitempty"` + LowRisk int32 `protobuf:"varint,6,opt,name=low_risk,json=lowRisk,proto3" json:"low_risk,omitempty" toml:"low_risk,omitempty" mapstructure:"low_risk,omitempty"` + Waived int32 `protobuf:"varint,7,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` unknownFields protoimpl.UnknownFields - - Compliant int32 `protobuf:"varint,1,opt,name=compliant,proto3" json:"compliant,omitempty" toml:"compliant,omitempty" mapstructure:"compliant,omitempty"` - Skipped int32 `protobuf:"varint,2,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` - Noncompliant int32 `protobuf:"varint,3,opt,name=noncompliant,proto3" json:"noncompliant,omitempty" toml:"noncompliant,omitempty" mapstructure:"noncompliant,omitempty"` - HighRisk int32 `protobuf:"varint,4,opt,name=high_risk,json=highRisk,proto3" json:"high_risk,omitempty" toml:"high_risk,omitempty" mapstructure:"high_risk,omitempty"` - MediumRisk int32 `protobuf:"varint,5,opt,name=medium_risk,json=mediumRisk,proto3" json:"medium_risk,omitempty" toml:"medium_risk,omitempty" mapstructure:"medium_risk,omitempty"` - LowRisk int32 `protobuf:"varint,6,opt,name=low_risk,json=lowRisk,proto3" json:"low_risk,omitempty" toml:"low_risk,omitempty" mapstructure:"low_risk,omitempty"` - Waived int32 `protobuf:"varint,7,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NodeSummary) Reset() { *x = NodeSummary{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeSummary) String() string { @@ -428,7 +413,7 @@ func (*NodeSummary) ProtoMessage() {} func (x *NodeSummary) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -493,30 +478,27 @@ func (x *NodeSummary) GetWaived() int32 { } type Stats struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // int64 types render into string types when serialized to satisfy all browsers // we don't really need for nodes counts to be int64 as int32 limits us to 2billion nodes which is plenty for now // we are therefore deprecating nodes and favor nodesCnt // // Deprecated: Marked as deprecated in interservice/compliance/stats/stats.proto. - Nodes int64 `protobuf:"varint,1,opt,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` - Platforms int32 `protobuf:"varint,2,opt,name=platforms,proto3" json:"platforms,omitempty" toml:"platforms,omitempty" mapstructure:"platforms,omitempty"` - Environments int32 `protobuf:"varint,3,opt,name=environments,proto3" json:"environments,omitempty" toml:"environments,omitempty" mapstructure:"environments,omitempty"` - Profiles int32 `protobuf:"varint,4,opt,name=profiles,proto3" json:"profiles,omitempty" toml:"profiles,omitempty" mapstructure:"profiles,omitempty"` - NodesCnt int32 `protobuf:"varint,5,opt,name=nodes_cnt,json=nodesCnt,proto3" json:"nodes_cnt,omitempty" toml:"nodes_cnt,omitempty" mapstructure:"nodes_cnt,omitempty"` - Controls int32 `protobuf:"varint,6,opt,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` + Nodes int64 `protobuf:"varint,1,opt,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` + Platforms int32 `protobuf:"varint,2,opt,name=platforms,proto3" json:"platforms,omitempty" toml:"platforms,omitempty" mapstructure:"platforms,omitempty"` + Environments int32 `protobuf:"varint,3,opt,name=environments,proto3" json:"environments,omitempty" toml:"environments,omitempty" mapstructure:"environments,omitempty"` + Profiles int32 `protobuf:"varint,4,opt,name=profiles,proto3" json:"profiles,omitempty" toml:"profiles,omitempty" mapstructure:"profiles,omitempty"` + NodesCnt int32 `protobuf:"varint,5,opt,name=nodes_cnt,json=nodesCnt,proto3" json:"nodes_cnt,omitempty" toml:"nodes_cnt,omitempty" mapstructure:"nodes_cnt,omitempty"` + Controls int32 `protobuf:"varint,6,opt,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Stats) Reset() { *x = Stats{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Stats) String() string { @@ -527,7 +509,7 @@ func (*Stats) ProtoMessage() {} func (x *Stats) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -586,23 +568,20 @@ func (x *Stats) GetControls() int32 { } type ReportSummary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + Duration float64 `protobuf:"fixed64,2,opt,name=duration,proto3" json:"duration,omitempty" toml:"duration,omitempty" mapstructure:"duration,omitempty"` + StartDate string `protobuf:"bytes,3,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty" toml:"start_date,omitempty" mapstructure:"start_date,omitempty"` + Stats *Stats `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty" toml:"stats,omitempty" mapstructure:"stats,omitempty"` unknownFields protoimpl.UnknownFields - - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - Duration float64 `protobuf:"fixed64,2,opt,name=duration,proto3" json:"duration,omitempty" toml:"duration,omitempty" mapstructure:"duration,omitempty"` - StartDate string `protobuf:"bytes,3,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty" toml:"start_date,omitempty" mapstructure:"start_date,omitempty"` - Stats *Stats `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty" toml:"stats,omitempty" mapstructure:"stats,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReportSummary) Reset() { *x = ReportSummary{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportSummary) String() string { @@ -613,7 +592,7 @@ func (*ReportSummary) ProtoMessage() {} func (x *ReportSummary) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -657,24 +636,21 @@ func (x *ReportSummary) GetStats() *Stats { } type Trend struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ReportTime string `protobuf:"bytes,1,opt,name=report_time,json=reportTime,proto3" json:"report_time,omitempty" toml:"report_time,omitempty" mapstructure:"report_time,omitempty"` + Passed int32 `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` + Failed int32 `protobuf:"varint,3,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` + Skipped int32 `protobuf:"varint,4,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` + Waived int32 `protobuf:"varint,5,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` unknownFields protoimpl.UnknownFields - - ReportTime string `protobuf:"bytes,1,opt,name=report_time,json=reportTime,proto3" json:"report_time,omitempty" toml:"report_time,omitempty" mapstructure:"report_time,omitempty"` - Passed int32 `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` - Failed int32 `protobuf:"varint,3,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` - Skipped int32 `protobuf:"varint,4,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` - Waived int32 `protobuf:"varint,5,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Trend) Reset() { *x = Trend{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Trend) String() string { @@ -685,7 +661,7 @@ func (*Trend) ProtoMessage() {} func (x *Trend) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -736,20 +712,17 @@ func (x *Trend) GetWaived() int32 { } type Trends struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Trends []*Trend `protobuf:"bytes,1,rep,name=trends,proto3" json:"trends,omitempty" toml:"trends,omitempty" mapstructure:"trends,omitempty"` unknownFields protoimpl.UnknownFields - - Trends []*Trend `protobuf:"bytes,1,rep,name=trends,proto3" json:"trends,omitempty" toml:"trends,omitempty" mapstructure:"trends,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Trends) Reset() { *x = Trends{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Trends) String() string { @@ -760,7 +733,7 @@ func (*Trends) ProtoMessage() {} func (x *Trends) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -783,22 +756,19 @@ func (x *Trends) GetTrends() []*Trend { } type Profile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ProfileList []*ProfileList `protobuf:"bytes,1,rep,name=profile_list,json=profileList,proto3" json:"profile_list,omitempty" toml:"profile_list,omitempty" mapstructure:"profile_list,omitempty"` - ProfileSummary *ProfileSummary `protobuf:"bytes,2,opt,name=profile_summary,json=profileSummary,proto3" json:"profile_summary,omitempty" toml:"profile_summary,omitempty" mapstructure:"profile_summary,omitempty"` - ControlStats []*ControlStats `protobuf:"bytes,3,rep,name=control_stats,json=controlStats,proto3" json:"control_stats,omitempty" toml:"control_stats,omitempty" mapstructure:"control_stats,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ProfileList []*ProfileList `protobuf:"bytes,1,rep,name=profile_list,json=profileList,proto3" json:"profile_list,omitempty" toml:"profile_list,omitempty" mapstructure:"profile_list,omitempty"` + ProfileSummary *ProfileSummary `protobuf:"bytes,2,opt,name=profile_summary,json=profileSummary,proto3" json:"profile_summary,omitempty" toml:"profile_summary,omitempty" mapstructure:"profile_summary,omitempty"` + ControlStats []*ControlStats `protobuf:"bytes,3,rep,name=control_stats,json=controlStats,proto3" json:"control_stats,omitempty" toml:"control_stats,omitempty" mapstructure:"control_stats,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Profile) Reset() { *x = Profile{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile) String() string { @@ -809,7 +779,7 @@ func (*Profile) ProtoMessage() {} func (x *Profile) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -846,28 +816,25 @@ func (x *Profile) GetControlStats() []*ControlStats { } type ProfileList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Failures int32 `protobuf:"varint,3,opt,name=failures,proto3" json:"failures,omitempty" toml:"failures,omitempty" mapstructure:"failures,omitempty"` + Majors int32 `protobuf:"varint,4,opt,name=majors,proto3" json:"majors,omitempty" toml:"majors,omitempty" mapstructure:"majors,omitempty"` + Minors int32 `protobuf:"varint,5,opt,name=minors,proto3" json:"minors,omitempty" toml:"minors,omitempty" mapstructure:"minors,omitempty"` + Criticals int32 `protobuf:"varint,6,opt,name=criticals,proto3" json:"criticals,omitempty" toml:"criticals,omitempty" mapstructure:"criticals,omitempty"` + Passed int32 `protobuf:"varint,7,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` + Skipped int32 `protobuf:"varint,8,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` + Waived int32 `protobuf:"varint,9,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Failures int32 `protobuf:"varint,3,opt,name=failures,proto3" json:"failures,omitempty" toml:"failures,omitempty" mapstructure:"failures,omitempty"` - Majors int32 `protobuf:"varint,4,opt,name=majors,proto3" json:"majors,omitempty" toml:"majors,omitempty" mapstructure:"majors,omitempty"` - Minors int32 `protobuf:"varint,5,opt,name=minors,proto3" json:"minors,omitempty" toml:"minors,omitempty" mapstructure:"minors,omitempty"` - Criticals int32 `protobuf:"varint,6,opt,name=criticals,proto3" json:"criticals,omitempty" toml:"criticals,omitempty" mapstructure:"criticals,omitempty"` - Passed int32 `protobuf:"varint,7,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` - Skipped int32 `protobuf:"varint,8,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` - Waived int32 `protobuf:"varint,9,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProfileList) Reset() { *x = ProfileList{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileList) String() string { @@ -878,7 +845,7 @@ func (*ProfileList) ProtoMessage() {} func (x *ProfileList) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -957,10 +924,7 @@ func (x *ProfileList) GetWaived() int32 { } type ProfileSummary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` @@ -972,15 +936,15 @@ type ProfileSummary struct { Supports []*Support `protobuf:"bytes,9,rep,name=supports,proto3" json:"supports,omitempty" toml:"supports,omitempty" mapstructure:"supports,omitempty"` Stats *ProfileSummaryStats `protobuf:"bytes,10,opt,name=stats,proto3" json:"stats,omitempty" toml:"stats,omitempty" mapstructure:"stats,omitempty"` Depends []*reporting.Dependency `protobuf:"bytes,11,rep,name=depends,proto3" json:"depends,omitempty" toml:"depends,omitempty" mapstructure:"depends,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProfileSummary) Reset() { *x = ProfileSummary{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileSummary) String() string { @@ -991,7 +955,7 @@ func (*ProfileSummary) ProtoMessage() {} func (x *ProfileSummary) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1084,25 +1048,22 @@ func (x *ProfileSummary) GetDepends() []*reporting.Dependency { } type ProfileSummaryStats struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Failed int32 `protobuf:"varint,1,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` + Passed int32 `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` + Skipped int32 `protobuf:"varint,3,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` + FailedNodes int32 `protobuf:"varint,4,opt,name=failed_nodes,json=failedNodes,proto3" json:"failed_nodes,omitempty" toml:"failed_nodes,omitempty" mapstructure:"failed_nodes,omitempty"` + TotalNodes int32 `protobuf:"varint,5,opt,name=total_nodes,json=totalNodes,proto3" json:"total_nodes,omitempty" toml:"total_nodes,omitempty" mapstructure:"total_nodes,omitempty"` + Waived int32 `protobuf:"varint,6,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` unknownFields protoimpl.UnknownFields - - Failed int32 `protobuf:"varint,1,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` - Passed int32 `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` - Skipped int32 `protobuf:"varint,3,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` - FailedNodes int32 `protobuf:"varint,4,opt,name=failed_nodes,json=failedNodes,proto3" json:"failed_nodes,omitempty" toml:"failed_nodes,omitempty" mapstructure:"failed_nodes,omitempty"` - TotalNodes int32 `protobuf:"varint,5,opt,name=total_nodes,json=totalNodes,proto3" json:"total_nodes,omitempty" toml:"total_nodes,omitempty" mapstructure:"total_nodes,omitempty"` - Waived int32 `protobuf:"varint,6,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProfileSummaryStats) Reset() { *x = ProfileSummaryStats{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileSummaryStats) String() string { @@ -1113,7 +1074,7 @@ func (*ProfileSummaryStats) ProtoMessage() {} func (x *ProfileSummaryStats) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1171,26 +1132,23 @@ func (x *ProfileSummaryStats) GetWaived() int32 { } type ControlStats struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Control string `protobuf:"bytes,1,opt,name=control,proto3" json:"control,omitempty" toml:"control,omitempty" mapstructure:"control,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` + Passed int32 `protobuf:"varint,3,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` + Failed int32 `protobuf:"varint,4,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` + Skipped int32 `protobuf:"varint,5,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` + Impact float32 `protobuf:"fixed32,6,opt,name=impact,proto3" json:"impact,omitempty" toml:"impact,omitempty" mapstructure:"impact,omitempty"` + Waived int32 `protobuf:"varint,7,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` unknownFields protoimpl.UnknownFields - - Control string `protobuf:"bytes,1,opt,name=control,proto3" json:"control,omitempty" toml:"control,omitempty" mapstructure:"control,omitempty"` - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` - Passed int32 `protobuf:"varint,3,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` - Failed int32 `protobuf:"varint,4,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` - Skipped int32 `protobuf:"varint,5,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` - Impact float32 `protobuf:"fixed32,6,opt,name=impact,proto3" json:"impact,omitempty" toml:"impact,omitempty" mapstructure:"impact,omitempty"` - Waived int32 `protobuf:"varint,7,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ControlStats) Reset() { *x = ControlStats{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ControlStats) String() string { @@ -1201,7 +1159,7 @@ func (*ControlStats) ProtoMessage() {} func (x *ControlStats) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1266,26 +1224,23 @@ func (x *ControlStats) GetWaived() int32 { } type Support struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OsName string `protobuf:"bytes,1,opt,name=os_name,json=os-name,proto3" json:"os_name,omitempty" toml:"os_name,omitempty" mapstructure:"os_name,omitempty"` - OsFamily string `protobuf:"bytes,2,opt,name=os_family,json=os-family,proto3" json:"os_family,omitempty" toml:"os_family,omitempty" mapstructure:"os_family,omitempty"` - Release string `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` - InspecVersion string `protobuf:"bytes,4,opt,name=inspec_version,json=inspecVersion,proto3" json:"inspec_version,omitempty" toml:"inspec_version,omitempty" mapstructure:"inspec_version,omitempty"` - PlatformName string `protobuf:"bytes,5,opt,name=platform_name,json=platform-name,proto3" json:"platform_name,omitempty" toml:"platform_name,omitempty" mapstructure:"platform_name,omitempty"` - PlatformFamily string `protobuf:"bytes,6,opt,name=platform_family,json=platform-family,proto3" json:"platform_family,omitempty" toml:"platform_family,omitempty" mapstructure:"platform_family,omitempty"` - Platform string `protobuf:"bytes,7,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OsName string `protobuf:"bytes,1,opt,name=os_name,json=os-name,proto3" json:"os_name,omitempty" toml:"os_name,omitempty" mapstructure:"os_name,omitempty"` + OsFamily string `protobuf:"bytes,2,opt,name=os_family,json=os-family,proto3" json:"os_family,omitempty" toml:"os_family,omitempty" mapstructure:"os_family,omitempty"` + Release string `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` + InspecVersion string `protobuf:"bytes,4,opt,name=inspec_version,json=inspecVersion,proto3" json:"inspec_version,omitempty" toml:"inspec_version,omitempty" mapstructure:"inspec_version,omitempty"` + PlatformName string `protobuf:"bytes,5,opt,name=platform_name,json=platform-name,proto3" json:"platform_name,omitempty" toml:"platform_name,omitempty" mapstructure:"platform_name,omitempty"` + PlatformFamily string `protobuf:"bytes,6,opt,name=platform_family,json=platform-family,proto3" json:"platform_family,omitempty" toml:"platform_family,omitempty" mapstructure:"platform_family,omitempty"` + Platform string `protobuf:"bytes,7,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Support) Reset() { *x = Support{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Support) String() string { @@ -1296,7 +1251,7 @@ func (*Support) ProtoMessage() {} func (x *Support) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1361,23 +1316,20 @@ func (x *Support) GetPlatform() string { } type Failures struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Profiles []*FailureSummary `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty" toml:"profiles,omitempty" mapstructure:"profiles,omitempty"` + Platforms []*FailureSummary `protobuf:"bytes,2,rep,name=platforms,proto3" json:"platforms,omitempty" toml:"platforms,omitempty" mapstructure:"platforms,omitempty"` + Controls []*FailureSummary `protobuf:"bytes,3,rep,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` + Environments []*FailureSummary `protobuf:"bytes,4,rep,name=environments,proto3" json:"environments,omitempty" toml:"environments,omitempty" mapstructure:"environments,omitempty"` unknownFields protoimpl.UnknownFields - - Profiles []*FailureSummary `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty" toml:"profiles,omitempty" mapstructure:"profiles,omitempty"` - Platforms []*FailureSummary `protobuf:"bytes,2,rep,name=platforms,proto3" json:"platforms,omitempty" toml:"platforms,omitempty" mapstructure:"platforms,omitempty"` - Controls []*FailureSummary `protobuf:"bytes,3,rep,name=controls,proto3" json:"controls,omitempty" toml:"controls,omitempty" mapstructure:"controls,omitempty"` - Environments []*FailureSummary `protobuf:"bytes,4,rep,name=environments,proto3" json:"environments,omitempty" toml:"environments,omitempty" mapstructure:"environments,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Failures) Reset() { *x = Failures{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Failures) String() string { @@ -1388,7 +1340,7 @@ func (*Failures) ProtoMessage() {} func (x *Failures) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1432,23 +1384,20 @@ func (x *Failures) GetEnvironments() []*FailureSummary { } type FailureSummary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Failures int32 `protobuf:"varint,2,opt,name=failures,proto3" json:"failures,omitempty" toml:"failures,omitempty" mapstructure:"failures,omitempty"` + Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Profile string `protobuf:"bytes,4,opt,name=profile,proto3" json:"profile,omitempty" toml:"profile,omitempty" mapstructure:"profile,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Failures int32 `protobuf:"varint,2,opt,name=failures,proto3" json:"failures,omitempty" toml:"failures,omitempty" mapstructure:"failures,omitempty"` - Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Profile string `protobuf:"bytes,4,opt,name=profile,proto3" json:"profile,omitempty" toml:"profile,omitempty" mapstructure:"profile,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FailureSummary) Reset() { *x = FailureSummary{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FailureSummary) String() string { @@ -1459,7 +1408,7 @@ func (*FailureSummary) ProtoMessage() {} func (x *FailureSummary) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1503,20 +1452,17 @@ func (x *FailureSummary) GetProfile() string { } type UpdateTelemetryReportedRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LastTelemetryReportedAt string `protobuf:"bytes,1,opt,name=last_telemetry_reported_at,json=lastTelemetryReportedAt,proto3" json:"last_telemetry_reported_at,omitempty" toml:"last_telemetry_reported_at,omitempty" mapstructure:"last_telemetry_reported_at,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + LastTelemetryReportedAt string `protobuf:"bytes,1,opt,name=last_telemetry_reported_at,json=lastTelemetryReportedAt,proto3" json:"last_telemetry_reported_at,omitempty" toml:"last_telemetry_reported_at,omitempty" mapstructure:"last_telemetry_reported_at,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateTelemetryReportedRequest) Reset() { *x = UpdateTelemetryReportedRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateTelemetryReportedRequest) String() string { @@ -1527,7 +1473,7 @@ func (*UpdateTelemetryReportedRequest) ProtoMessage() {} func (x *UpdateTelemetryReportedRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1550,18 +1496,16 @@ func (x *UpdateTelemetryReportedRequest) GetLastTelemetryReportedAt() string { } type UpdateTelemetryReportedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateTelemetryReportedResponse) Reset() { *x = UpdateTelemetryReportedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateTelemetryReportedResponse) String() string { @@ -1572,7 +1516,7 @@ func (*UpdateTelemetryReportedResponse) ProtoMessage() {} func (x *UpdateTelemetryReportedResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1588,18 +1532,16 @@ func (*UpdateTelemetryReportedResponse) Descriptor() ([]byte, []int) { } type GetNodesUsageCountRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetNodesUsageCountRequest) Reset() { *x = GetNodesUsageCountRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetNodesUsageCountRequest) String() string { @@ -1610,7 +1552,7 @@ func (*GetNodesUsageCountRequest) ProtoMessage() {} func (x *GetNodesUsageCountRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1626,21 +1568,18 @@ func (*GetNodesUsageCountRequest) Descriptor() ([]byte, []int) { } type GetNodesUsageCountResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DaysSinceLastPost int64 `protobuf:"varint,1,opt,name=days_since_last_post,json=daysSinceLastPost,proto3" json:"days_since_last_post,omitempty" toml:"days_since_last_post,omitempty" mapstructure:"days_since_last_post,omitempty"` - NodeCnt int64 `protobuf:"varint,2,opt,name=node_cnt,json=nodeCnt,proto3" json:"node_cnt,omitempty" toml:"node_cnt,omitempty" mapstructure:"node_cnt,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + DaysSinceLastPost int64 `protobuf:"varint,1,opt,name=days_since_last_post,json=daysSinceLastPost,proto3" json:"days_since_last_post,omitempty" toml:"days_since_last_post,omitempty" mapstructure:"days_since_last_post,omitempty"` + NodeCnt int64 `protobuf:"varint,2,opt,name=node_cnt,json=nodeCnt,proto3" json:"node_cnt,omitempty" toml:"node_cnt,omitempty" mapstructure:"node_cnt,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetNodesUsageCountResponse) Reset() { *x = GetNodesUsageCountResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_stats_stats_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_stats_stats_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetNodesUsageCountResponse) String() string { @@ -1651,7 +1590,7 @@ func (*GetNodesUsageCountResponse) ProtoMessage() {} func (x *GetNodesUsageCountResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_stats_stats_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2018,7 +1957,7 @@ func file_interservice_compliance_stats_stats_proto_rawDescGZIP() []byte { var file_interservice_compliance_stats_stats_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_interservice_compliance_stats_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 21) -var file_interservice_compliance_stats_stats_proto_goTypes = []interface{}{ +var file_interservice_compliance_stats_stats_proto_goTypes = []any{ (Query_OrderType)(0), // 0: chef.automate.domain.compliance.stats.Query.OrderType (*ListFilter)(nil), // 1: chef.automate.domain.compliance.stats.ListFilter (*Query)(nil), // 2: chef.automate.domain.compliance.stats.Query @@ -2085,260 +2024,6 @@ func file_interservice_compliance_stats_stats_proto_init() { if File_interservice_compliance_stats_stats_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_compliance_stats_stats_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Query); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Summary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ControlsSummary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeSummary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Stats); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReportSummary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Trend); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Trends); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileSummary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileSummaryStats); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ControlStats); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Support); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Failures); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FailureSummary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateTelemetryReportedRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateTelemetryReportedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetNodesUsageCountRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_stats_stats_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetNodesUsageCountResponse); 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{ diff --git a/api/interservice/compliance/status/status.pb.go b/api/interservice/compliance/status/status.pb.go index 225dc5fabb6..939c2b7e098 100644 --- a/api/interservice/compliance/status/status.pb.go +++ b/api/interservice/compliance/status/status.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/compliance/status/status.proto @@ -135,23 +135,20 @@ func (ControlIndexMigrationStatus_Status) EnumDescriptor() ([]byte, []int) { // MigrationStatus message type MigrationStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + Completed int64 `protobuf:"varint,2,opt,name=completed,proto3" json:"completed,omitempty" toml:"completed,omitempty" mapstructure:"completed,omitempty"` + Logs []*LogEntry `protobuf:"bytes,3,rep,name=logs,proto3" json:"logs,omitempty" toml:"logs,omitempty" mapstructure:"logs,omitempty"` + Status MigrationStatus_Status `protobuf:"varint,4,opt,name=status,proto3,enum=chef.automate.domain.compliance.status.MigrationStatus_Status" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` - Completed int64 `protobuf:"varint,2,opt,name=completed,proto3" json:"completed,omitempty" toml:"completed,omitempty" mapstructure:"completed,omitempty"` - Logs []*LogEntry `protobuf:"bytes,3,rep,name=logs,proto3" json:"logs,omitempty" toml:"logs,omitempty" mapstructure:"logs,omitempty"` - Status MigrationStatus_Status `protobuf:"varint,4,opt,name=status,proto3,enum=chef.automate.domain.compliance.status.MigrationStatus_Status" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MigrationStatus) Reset() { *x = MigrationStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_status_status_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_status_status_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MigrationStatus) String() string { @@ -162,7 +159,7 @@ func (*MigrationStatus) ProtoMessage() {} func (x *MigrationStatus) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_status_status_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -206,20 +203,17 @@ func (x *MigrationStatus) GetStatus() MigrationStatus_Status { } type ControlIndexMigrationStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status ControlIndexMigrationStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=chef.automate.domain.compliance.status.ControlIndexMigrationStatus_Status" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Status ControlIndexMigrationStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=chef.automate.domain.compliance.status.ControlIndexMigrationStatus_Status" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ControlIndexMigrationStatus) Reset() { *x = ControlIndexMigrationStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_status_status_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_status_status_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ControlIndexMigrationStatus) String() string { @@ -230,7 +224,7 @@ func (*ControlIndexMigrationStatus) ProtoMessage() {} func (x *ControlIndexMigrationStatus) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_status_status_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -254,22 +248,19 @@ func (x *ControlIndexMigrationStatus) GetStatus() ControlIndexMigrationStatus_St // label is used to differentiate between multiple migrations done by one service type LogEntry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty" toml:"label,omitempty" mapstructure:"label,omitempty"` + Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty" toml:"timestamp,omitempty" mapstructure:"timestamp,omitempty"` + Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty" toml:"text,omitempty" mapstructure:"text,omitempty"` unknownFields protoimpl.UnknownFields - - Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty" toml:"label,omitempty" mapstructure:"label,omitempty"` - Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty" toml:"timestamp,omitempty" mapstructure:"timestamp,omitempty"` - Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty" toml:"text,omitempty" mapstructure:"text,omitempty"` + sizeCache protoimpl.SizeCache } func (x *LogEntry) Reset() { *x = LogEntry{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_status_status_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_status_status_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LogEntry) String() string { @@ -280,7 +271,7 @@ func (*LogEntry) ProtoMessage() {} func (x *LogEntry) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_status_status_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -405,7 +396,7 @@ func file_interservice_compliance_status_status_proto_rawDescGZIP() []byte { var file_interservice_compliance_status_status_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_interservice_compliance_status_status_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_interservice_compliance_status_status_proto_goTypes = []interface{}{ +var file_interservice_compliance_status_status_proto_goTypes = []any{ (MigrationStatus_Status)(0), // 0: chef.automate.domain.compliance.status.MigrationStatus.Status (ControlIndexMigrationStatus_Status)(0), // 1: chef.automate.domain.compliance.status.ControlIndexMigrationStatus.Status (*MigrationStatus)(nil), // 2: chef.automate.domain.compliance.status.MigrationStatus @@ -435,44 +426,6 @@ func file_interservice_compliance_status_status_proto_init() { if File_interservice_compliance_status_status_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_compliance_status_status_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MigrationStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_status_status_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ControlIndexMigrationStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_compliance_status_status_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LogEntry); 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{ diff --git a/api/interservice/compliance/version/version.pb.go b/api/interservice/compliance/version/version.pb.go index ab83003d844..be63e109816 100644 --- a/api/interservice/compliance/version/version.pb.go +++ b/api/interservice/compliance/version/version.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/compliance/version/version.proto @@ -27,24 +27,21 @@ const ( ) type VersionInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Sha string `protobuf:"bytes,3,opt,name=sha,proto3" json:"sha,omitempty" toml:"sha,omitempty" mapstructure:"sha,omitempty"` + Built string `protobuf:"bytes,4,opt,name=built,proto3" json:"built,omitempty" toml:"built,omitempty" mapstructure:"built,omitempty"` + Api string `protobuf:"bytes,5,opt,name=api,proto3" json:"api,omitempty" toml:"api,omitempty" mapstructure:"api,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - Sha string `protobuf:"bytes,3,opt,name=sha,proto3" json:"sha,omitempty" toml:"sha,omitempty" mapstructure:"sha,omitempty"` - Built string `protobuf:"bytes,4,opt,name=built,proto3" json:"built,omitempty" toml:"built,omitempty" mapstructure:"built,omitempty"` - Api string `protobuf:"bytes,5,opt,name=api,proto3" json:"api,omitempty" toml:"api,omitempty" mapstructure:"api,omitempty"` + sizeCache protoimpl.SizeCache } func (x *VersionInfo) Reset() { *x = VersionInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_compliance_version_version_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_compliance_version_version_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VersionInfo) String() string { @@ -55,7 +52,7 @@ func (*VersionInfo) ProtoMessage() {} func (x *VersionInfo) ProtoReflect() protoreflect.Message { mi := &file_interservice_compliance_version_version_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -151,7 +148,7 @@ func file_interservice_compliance_version_version_proto_rawDescGZIP() []byte { } var file_interservice_compliance_version_version_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_interservice_compliance_version_version_proto_goTypes = []interface{}{ +var file_interservice_compliance_version_version_proto_goTypes = []any{ (*VersionInfo)(nil), // 0: chef.automate.domain.compliance.version.VersionInfo (*emptypb.Empty)(nil), // 1: google.protobuf.Empty } @@ -170,20 +167,6 @@ func file_interservice_compliance_version_version_proto_init() { if File_interservice_compliance_version_version_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_compliance_version_version_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VersionInfo); 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{ diff --git a/api/interservice/data_lifecycle/purge.pb.go b/api/interservice/data_lifecycle/purge.pb.go index 78419f71183..fa1a832289a 100644 --- a/api/interservice/data_lifecycle/purge.pb.go +++ b/api/interservice/data_lifecycle/purge.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/data_lifecycle/purge.proto @@ -27,18 +27,16 @@ const ( ) type RunRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RunRequest) Reset() { *x = RunRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RunRequest) String() string { @@ -49,7 +47,7 @@ func (*RunRequest) ProtoMessage() {} func (x *RunRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -65,18 +63,16 @@ func (*RunRequest) Descriptor() ([]byte, []int) { } type RunResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RunResponse) Reset() { *x = RunResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RunResponse) String() string { @@ -87,7 +83,7 @@ func (*RunResponse) ProtoMessage() {} func (x *RunResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -103,22 +99,19 @@ func (*RunResponse) Descriptor() ([]byte, []int) { } type ConfigureRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty" toml:"enabled,omitempty" mapstructure:"enabled,omitempty"` + Recurrence string `protobuf:"bytes,2,opt,name=recurrence,proto3" json:"recurrence,omitempty" toml:"recurrence,omitempty" mapstructure:"recurrence,omitempty"` + PolicyUpdate *PolicyUpdate `protobuf:"bytes,3,opt,name=policy_update,json=policyUpdate,proto3" json:"policy_update,omitempty" toml:"policy_update,omitempty" mapstructure:"policy_update,omitempty"` unknownFields protoimpl.UnknownFields - - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty" toml:"enabled,omitempty" mapstructure:"enabled,omitempty"` - Recurrence string `protobuf:"bytes,2,opt,name=recurrence,proto3" json:"recurrence,omitempty" toml:"recurrence,omitempty" mapstructure:"recurrence,omitempty"` - PolicyUpdate *PolicyUpdate `protobuf:"bytes,3,opt,name=policy_update,json=policyUpdate,proto3" json:"policy_update,omitempty" toml:"policy_update,omitempty" mapstructure:"policy_update,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ConfigureRequest) Reset() { *x = ConfigureRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConfigureRequest) String() string { @@ -129,7 +122,7 @@ func (*ConfigureRequest) ProtoMessage() {} func (x *ConfigureRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -166,18 +159,16 @@ func (x *ConfigureRequest) GetPolicyUpdate() *PolicyUpdate { } type ConfigureResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConfigureResponse) Reset() { *x = ConfigureResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConfigureResponse) String() string { @@ -188,7 +179,7 @@ func (*ConfigureResponse) ProtoMessage() {} func (x *ConfigureResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -204,18 +195,16 @@ func (*ConfigureResponse) Descriptor() ([]byte, []int) { } type ShowRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ShowRequest) Reset() { *x = ShowRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShowRequest) String() string { @@ -226,7 +215,7 @@ func (*ShowRequest) ProtoMessage() {} func (x *ShowRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -242,10 +231,7 @@ func (*ShowRequest) Descriptor() ([]byte, []int) { } type ShowResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty" toml:"instance_name,omitempty" mapstructure:"instance_name,omitempty"` WorkflowName string `protobuf:"bytes,2,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty" toml:"workflow_name,omitempty" mapstructure:"workflow_name,omitempty"` EsPolicies []*data_lifecycle.EsPolicy `protobuf:"bytes,3,rep,name=es_policies,json=esPolicies,proto3" json:"es_policies,omitempty" toml:"es_policies,omitempty" mapstructure:"es_policies,omitempty"` @@ -256,15 +242,15 @@ type ShowResponse struct { Enabled bool `protobuf:"varint,8,opt,name=enabled,proto3" json:"enabled,omitempty" toml:"enabled,omitempty" mapstructure:"enabled,omitempty"` LastStart *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_start,json=lastStart,proto3" json:"last_start,omitempty" toml:"last_start,omitempty" mapstructure:"last_start,omitempty"` LastEnd *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_end,json=lastEnd,proto3" json:"last_end,omitempty" toml:"last_end,omitempty" mapstructure:"last_end,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ShowResponse) Reset() { *x = ShowResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShowResponse) String() string { @@ -275,7 +261,7 @@ func (*ShowResponse) ProtoMessage() {} func (x *ShowResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -361,21 +347,18 @@ func (x *ShowResponse) GetLastEnd() *timestamppb.Timestamp { } type PolicyUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Es []*data_lifecycle.EsPolicyUpdate `protobuf:"bytes,1,rep,name=es,proto3" json:"es,omitempty" toml:"es,omitempty" mapstructure:"es,omitempty"` + Pg []*data_lifecycle.PgPolicyUpdate `protobuf:"bytes,2,rep,name=pg,proto3" json:"pg,omitempty" toml:"pg,omitempty" mapstructure:"pg,omitempty"` unknownFields protoimpl.UnknownFields - - Es []*data_lifecycle.EsPolicyUpdate `protobuf:"bytes,1,rep,name=es,proto3" json:"es,omitempty" toml:"es,omitempty" mapstructure:"es,omitempty"` - Pg []*data_lifecycle.PgPolicyUpdate `protobuf:"bytes,2,rep,name=pg,proto3" json:"pg,omitempty" toml:"pg,omitempty" mapstructure:"pg,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PolicyUpdate) Reset() { *x = PolicyUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicyUpdate) String() string { @@ -386,7 +369,7 @@ func (*PolicyUpdate) ProtoMessage() {} func (x *PolicyUpdate) ProtoReflect() protoreflect.Message { mi := &file_interservice_data_lifecycle_purge_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -529,7 +512,7 @@ func file_interservice_data_lifecycle_purge_proto_rawDescGZIP() []byte { } var file_interservice_data_lifecycle_purge_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_interservice_data_lifecycle_purge_proto_goTypes = []interface{}{ +var file_interservice_data_lifecycle_purge_proto_goTypes = []any{ (*RunRequest)(nil), // 0: chef.automate.infra.data_lifecycle.api.RunRequest (*RunResponse)(nil), // 1: chef.automate.infra.data_lifecycle.api.RunResponse (*ConfigureRequest)(nil), // 2: chef.automate.infra.data_lifecycle.api.ConfigureRequest @@ -571,92 +554,6 @@ func file_interservice_data_lifecycle_purge_proto_init() { if File_interservice_data_lifecycle_purge_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_data_lifecycle_purge_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RunRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_data_lifecycle_purge_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RunResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_data_lifecycle_purge_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigureRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_data_lifecycle_purge_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigureResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_data_lifecycle_purge_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShowRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_data_lifecycle_purge_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShowResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_data_lifecycle_purge_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PolicyUpdate); 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{ diff --git a/api/interservice/deployment/automate_deployment.pb.go b/api/interservice/deployment/automate_deployment.pb.go index 64dda566452..5cf48174c8d 100644 --- a/api/interservice/deployment/automate_deployment.pb.go +++ b/api/interservice/deployment/automate_deployment.pb.go @@ -2,7 +2,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/deployment/automate_deployment.proto @@ -508,20 +508,17 @@ func (A1UpgradeStatusResponse_MigrationStatus) EnumDescriptor() ([]byte, []int) } type ControlIndexUpgradeStatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ControlIndexUpgradeStatusResponse) Reset() { *x = ControlIndexUpgradeStatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ControlIndexUpgradeStatusResponse) String() string { @@ -532,7 +529,7 @@ func (*ControlIndexUpgradeStatusResponse) ProtoMessage() {} func (x *ControlIndexUpgradeStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -555,18 +552,16 @@ func (x *ControlIndexUpgradeStatusResponse) GetStatus() string { } type BootstrapBundleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *BootstrapBundleRequest) Reset() { *x = BootstrapBundleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BootstrapBundleRequest) String() string { @@ -577,7 +572,7 @@ func (*BootstrapBundleRequest) ProtoMessage() {} func (x *BootstrapBundleRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -593,20 +588,17 @@ func (*BootstrapBundleRequest) Descriptor() ([]byte, []int) { } type BootstrapBundleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` unknownFields protoimpl.UnknownFields - - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BootstrapBundleResponse) Reset() { *x = BootstrapBundleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BootstrapBundleResponse) String() string { @@ -617,7 +609,7 @@ func (*BootstrapBundleResponse) ProtoMessage() {} func (x *BootstrapBundleResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -640,20 +632,17 @@ func (x *BootstrapBundleResponse) GetData() []byte { } type GetCLIExecutableRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` unknownFields protoimpl.UnknownFields - - Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetCLIExecutableRequest) Reset() { *x = GetCLIExecutableRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetCLIExecutableRequest) String() string { @@ -664,7 +653,7 @@ func (*GetCLIExecutableRequest) ProtoMessage() {} func (x *GetCLIExecutableRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -687,21 +676,18 @@ func (x *GetCLIExecutableRequest) GetPlatform() string { } type GetCLIExecutableResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` unknownFields protoimpl.UnknownFields - - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetCLIExecutableResponse) Reset() { *x = GetCLIExecutableResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetCLIExecutableResponse) String() string { @@ -712,7 +698,7 @@ func (*GetCLIExecutableResponse) ProtoMessage() {} func (x *GetCLIExecutableResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -742,18 +728,16 @@ func (x *GetCLIExecutableResponse) GetData() []byte { } type NodeInventoryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeInventoryRequest) Reset() { *x = NodeInventoryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeInventoryRequest) String() string { @@ -764,7 +748,7 @@ func (*NodeInventoryRequest) ProtoMessage() {} func (x *NodeInventoryRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -780,20 +764,17 @@ func (*NodeInventoryRequest) Descriptor() ([]byte, []int) { } type NodeInventoryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Nodes []*InventoryNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` unknownFields protoimpl.UnknownFields - - Nodes []*InventoryNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NodeInventoryResponse) Reset() { *x = NodeInventoryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeInventoryResponse) String() string { @@ -804,7 +785,7 @@ func (*NodeInventoryResponse) ProtoMessage() {} func (x *NodeInventoryResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -827,20 +808,17 @@ func (x *NodeInventoryResponse) GetNodes() []*InventoryNode { } type InfrastructureNodeDeleteRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` unknownFields protoimpl.UnknownFields - - NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *InfrastructureNodeDeleteRequest) Reset() { *x = InfrastructureNodeDeleteRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InfrastructureNodeDeleteRequest) String() string { @@ -851,7 +829,7 @@ func (*InfrastructureNodeDeleteRequest) ProtoMessage() {} func (x *InfrastructureNodeDeleteRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -874,18 +852,16 @@ func (x *InfrastructureNodeDeleteRequest) GetNodeId() string { } type InfrastructureNodeDeleteResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InfrastructureNodeDeleteResponse) Reset() { *x = InfrastructureNodeDeleteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InfrastructureNodeDeleteResponse) String() string { @@ -896,7 +872,7 @@ func (*InfrastructureNodeDeleteResponse) ProtoMessage() {} func (x *InfrastructureNodeDeleteResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -912,29 +888,26 @@ func (*InfrastructureNodeDeleteResponse) Descriptor() ([]byte, []int) { } type InventoryNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty" toml:"organization,omitempty" mapstructure:"organization,omitempty"` - Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - PlatformFamily string `protobuf:"bytes,4,opt,name=platform_family,json=platformFamily,proto3" json:"platform_family,omitempty" toml:"platform_family,omitempty" mapstructure:"platform_family,omitempty"` - Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` - PlatformVersion string `protobuf:"bytes,6,opt,name=platform_version,json=platformVersion,proto3" json:"platform_version,omitempty" toml:"platform_version,omitempty" mapstructure:"platform_version,omitempty"` - Checkin string `protobuf:"bytes,7,opt,name=checkin,proto3" json:"checkin,omitempty" toml:"checkin,omitempty" mapstructure:"checkin,omitempty"` - ClientVersion string `protobuf:"bytes,8,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty" toml:"client_version,omitempty" mapstructure:"client_version,omitempty"` - Ec2InstanceId string `protobuf:"bytes,9,opt,name=ec2_instance_id,json=ec2InstanceId,proto3" json:"ec2_instance_id,omitempty" toml:"ec2_instance_id,omitempty" mapstructure:"ec2_instance_id,omitempty"` - Ec2InstanceType string `protobuf:"bytes,10,opt,name=ec2_instance_type,json=ec2InstanceType,proto3" json:"ec2_instance_type,omitempty" toml:"ec2_instance_type,omitempty" mapstructure:"ec2_instance_type,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty" toml:"organization,omitempty" mapstructure:"organization,omitempty"` + Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + PlatformFamily string `protobuf:"bytes,4,opt,name=platform_family,json=platformFamily,proto3" json:"platform_family,omitempty" toml:"platform_family,omitempty" mapstructure:"platform_family,omitempty"` + Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` + PlatformVersion string `protobuf:"bytes,6,opt,name=platform_version,json=platformVersion,proto3" json:"platform_version,omitempty" toml:"platform_version,omitempty" mapstructure:"platform_version,omitempty"` + Checkin string `protobuf:"bytes,7,opt,name=checkin,proto3" json:"checkin,omitempty" toml:"checkin,omitempty" mapstructure:"checkin,omitempty"` + ClientVersion string `protobuf:"bytes,8,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty" toml:"client_version,omitempty" mapstructure:"client_version,omitempty"` + Ec2InstanceId string `protobuf:"bytes,9,opt,name=ec2_instance_id,json=ec2InstanceId,proto3" json:"ec2_instance_id,omitempty" toml:"ec2_instance_id,omitempty" mapstructure:"ec2_instance_id,omitempty"` + Ec2InstanceType string `protobuf:"bytes,10,opt,name=ec2_instance_type,json=ec2InstanceType,proto3" json:"ec2_instance_type,omitempty" toml:"ec2_instance_type,omitempty" mapstructure:"ec2_instance_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InventoryNode) Reset() { *x = InventoryNode{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InventoryNode) String() string { @@ -945,7 +918,7 @@ func (*InventoryNode) ProtoMessage() {} func (x *InventoryNode) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1031,20 +1004,17 @@ func (x *InventoryNode) GetEc2InstanceType() string { } type UsageRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` unknownFields protoimpl.UnknownFields - - StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UsageRequest) Reset() { *x = UsageRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UsageRequest) String() string { @@ -1055,7 +1025,7 @@ func (*UsageRequest) ProtoMessage() {} func (x *UsageRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1078,20 +1048,17 @@ func (x *UsageRequest) GetStartTime() *timestamppb.Timestamp { } type UsageResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Nodes []*NodeUsage `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` unknownFields protoimpl.UnknownFields - - Nodes []*NodeUsage `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UsageResponse) Reset() { *x = UsageResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UsageResponse) String() string { @@ -1102,7 +1069,7 @@ func (*UsageResponse) ProtoMessage() {} func (x *UsageResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1125,24 +1092,21 @@ func (x *UsageResponse) GetNodes() []*NodeUsage { } type NodeUsage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - LastSeen string `protobuf:"bytes,2,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty" toml:"last_seen,omitempty" mapstructure:"last_seen,omitempty"` - LastCcrReceived string `protobuf:"bytes,3,opt,name=last_ccr_received,json=lastCcrReceived,proto3" json:"last_ccr_received,omitempty" toml:"last_ccr_received,omitempty" mapstructure:"last_ccr_received,omitempty"` - CheckinType string `protobuf:"bytes,4,opt,name=checkin_type,json=checkinType,proto3" json:"checkin_type,omitempty" toml:"checkin_type,omitempty" mapstructure:"checkin_type,omitempty"` - Metadata map[string]string `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" toml:"metadata,omitempty" mapstructure:"metadata,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + LastSeen string `protobuf:"bytes,2,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty" toml:"last_seen,omitempty" mapstructure:"last_seen,omitempty"` + LastCcrReceived string `protobuf:"bytes,3,opt,name=last_ccr_received,json=lastCcrReceived,proto3" json:"last_ccr_received,omitempty" toml:"last_ccr_received,omitempty" mapstructure:"last_ccr_received,omitempty"` + CheckinType string `protobuf:"bytes,4,opt,name=checkin_type,json=checkinType,proto3" json:"checkin_type,omitempty" toml:"checkin_type,omitempty" mapstructure:"checkin_type,omitempty"` + Metadata map[string]string `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" toml:"metadata,omitempty" mapstructure:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeUsage) Reset() { *x = NodeUsage{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeUsage) String() string { @@ -1153,7 +1117,7 @@ func (*NodeUsage) ProtoMessage() {} func (x *NodeUsage) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1204,20 +1168,17 @@ func (x *NodeUsage) GetMetadata() map[string]string { } type GenerateAdminTokenRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GenerateAdminTokenRequest) Reset() { *x = GenerateAdminTokenRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GenerateAdminTokenRequest) String() string { @@ -1228,7 +1189,7 @@ func (*GenerateAdminTokenRequest) ProtoMessage() {} func (x *GenerateAdminTokenRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1251,21 +1212,18 @@ func (x *GenerateAdminTokenRequest) GetName() string { } type GenerateAdminTokenResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TokenValue string `protobuf:"bytes,1,opt,name=token_value,json=tokenValue,proto3" json:"token_value,omitempty" toml:"token_value,omitempty" mapstructure:"token_value,omitempty"` + TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty" toml:"token_id,omitempty" mapstructure:"token_id,omitempty"` unknownFields protoimpl.UnknownFields - - TokenValue string `protobuf:"bytes,1,opt,name=token_value,json=tokenValue,proto3" json:"token_value,omitempty" toml:"token_value,omitempty" mapstructure:"token_value,omitempty"` - TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty" toml:"token_id,omitempty" mapstructure:"token_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GenerateAdminTokenResponse) Reset() { *x = GenerateAdminTokenResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GenerateAdminTokenResponse) String() string { @@ -1276,7 +1234,7 @@ func (*GenerateAdminTokenResponse) ProtoMessage() {} func (x *GenerateAdminTokenResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1306,21 +1264,18 @@ func (x *GenerateAdminTokenResponse) GetTokenId() string { } type NewDeploymentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Config *deployment.AutomateConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty" toml:"config,omitempty" mapstructure:"config,omitempty"` PackageOptions *PackageOptions `protobuf:"bytes,2,opt,name=package_options,json=packageOptions,proto3" json:"package_options,omitempty" toml:"package_options,omitempty" mapstructure:"package_options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NewDeploymentRequest) Reset() { *x = NewDeploymentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NewDeploymentRequest) String() string { @@ -1331,7 +1286,7 @@ func (*NewDeploymentRequest) ProtoMessage() {} func (x *NewDeploymentRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1361,20 +1316,17 @@ func (x *NewDeploymentRequest) GetPackageOptions() *PackageOptions { } type ConfigureDeploymentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Config *deployment.AutomateConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty" toml:"config,omitempty" mapstructure:"config,omitempty"` unknownFields protoimpl.UnknownFields - - Config *deployment.AutomateConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty" toml:"config,omitempty" mapstructure:"config,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ConfigureDeploymentRequest) Reset() { *x = ConfigureDeploymentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConfigureDeploymentRequest) String() string { @@ -1385,7 +1337,7 @@ func (*ConfigureDeploymentRequest) ProtoMessage() {} func (x *ConfigureDeploymentRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1408,21 +1360,18 @@ func (x *ConfigureDeploymentRequest) GetConfig() *deployment.AutomateConfig { } type ConfigureDeploymentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + DeploymentId *DeploymentID `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty" toml:"deployment_id,omitempty" mapstructure:"deployment_id,omitempty"` + Config *deployment.AutomateConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty" toml:"config,omitempty" mapstructure:"config,omitempty"` unknownFields protoimpl.UnknownFields - - DeploymentId *DeploymentID `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty" toml:"deployment_id,omitempty" mapstructure:"deployment_id,omitempty"` - Config *deployment.AutomateConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty" toml:"config,omitempty" mapstructure:"config,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ConfigureDeploymentResponse) Reset() { *x = ConfigureDeploymentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConfigureDeploymentResponse) String() string { @@ -1433,7 +1382,7 @@ func (*ConfigureDeploymentResponse) ProtoMessage() {} func (x *ConfigureDeploymentResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1463,21 +1412,18 @@ func (x *ConfigureDeploymentResponse) GetConfig() *deployment.AutomateConfig { } type DeployRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty" toml:"services,omitempty" mapstructure:"services,omitempty"` - UsedBootstrapBundle bool `protobuf:"varint,2,opt,name=used_bootstrap_bundle,json=usedBootstrapBundle,proto3" json:"used_bootstrap_bundle,omitempty" toml:"used_bootstrap_bundle,omitempty" mapstructure:"used_bootstrap_bundle,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty" toml:"services,omitempty" mapstructure:"services,omitempty"` + UsedBootstrapBundle bool `protobuf:"varint,2,opt,name=used_bootstrap_bundle,json=usedBootstrapBundle,proto3" json:"used_bootstrap_bundle,omitempty" toml:"used_bootstrap_bundle,omitempty" mapstructure:"used_bootstrap_bundle,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeployRequest) Reset() { *x = DeployRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployRequest) String() string { @@ -1488,7 +1434,7 @@ func (*DeployRequest) ProtoMessage() {} func (x *DeployRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1518,20 +1464,17 @@ func (x *DeployRequest) GetUsedBootstrapBundle() bool { } type DeployResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty" toml:"task_id,omitempty" mapstructure:"task_id,omitempty"` unknownFields protoimpl.UnknownFields - - TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty" toml:"task_id,omitempty" mapstructure:"task_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeployResponse) Reset() { *x = DeployResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployResponse) String() string { @@ -1542,7 +1485,7 @@ func (*DeployResponse) ProtoMessage() {} func (x *DeployResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1565,21 +1508,18 @@ func (x *DeployResponse) GetTaskId() string { } type DeployStatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + DeploymentId *DeploymentID `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty" toml:"deployment_id,omitempty" mapstructure:"deployment_id,omitempty"` + TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty" toml:"task_id,omitempty" mapstructure:"task_id,omitempty"` unknownFields protoimpl.UnknownFields - - DeploymentId *DeploymentID `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty" toml:"deployment_id,omitempty" mapstructure:"deployment_id,omitempty"` - TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty" toml:"task_id,omitempty" mapstructure:"task_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeployStatusRequest) Reset() { *x = DeployStatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployStatusRequest) String() string { @@ -1590,7 +1530,7 @@ func (*DeployStatusRequest) ProtoMessage() {} func (x *DeployStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1620,20 +1560,17 @@ func (x *DeployStatusRequest) GetTaskId() string { } type RemoveRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty" toml:"services,omitempty" mapstructure:"services,omitempty"` unknownFields protoimpl.UnknownFields - - Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty" toml:"services,omitempty" mapstructure:"services,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RemoveRequest) Reset() { *x = RemoveRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveRequest) String() string { @@ -1644,7 +1581,7 @@ func (*RemoveRequest) ProtoMessage() {} func (x *RemoveRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1667,18 +1604,16 @@ func (x *RemoveRequest) GetServices() []string { } type ManifestVersionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ManifestVersionRequest) Reset() { *x = ManifestVersionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ManifestVersionRequest) String() string { @@ -1689,7 +1624,7 @@ func (*ManifestVersionRequest) ProtoMessage() {} func (x *ManifestVersionRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1705,18 +1640,16 @@ func (*ManifestVersionRequest) Descriptor() ([]byte, []int) { } type PingRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PingRequest) Reset() { *x = PingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PingRequest) String() string { @@ -1727,7 +1660,7 @@ func (*PingRequest) ProtoMessage() {} func (x *PingRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1743,18 +1676,16 @@ func (*PingRequest) Descriptor() ([]byte, []int) { } type PingResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PingResponse) Reset() { *x = PingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PingResponse) String() string { @@ -1765,7 +1696,7 @@ func (*PingResponse) ProtoMessage() {} func (x *PingResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1781,18 +1712,16 @@ func (*PingResponse) Descriptor() ([]byte, []int) { } type DeployIDRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeployIDRequest) Reset() { *x = DeployIDRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployIDRequest) String() string { @@ -1803,7 +1732,7 @@ func (*DeployIDRequest) ProtoMessage() {} func (x *DeployIDRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1819,18 +1748,16 @@ func (*DeployIDRequest) Descriptor() ([]byte, []int) { } type RemoveResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveResponse) Reset() { *x = RemoveResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveResponse) String() string { @@ -1841,7 +1768,7 @@ func (*RemoveResponse) ProtoMessage() {} func (x *RemoveResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1857,18 +1784,16 @@ func (*RemoveResponse) Descriptor() ([]byte, []int) { } type StopRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopRequest) Reset() { *x = StopRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopRequest) String() string { @@ -1879,7 +1804,7 @@ func (*StopRequest) ProtoMessage() {} func (x *StopRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1895,18 +1820,16 @@ func (*StopRequest) Descriptor() ([]byte, []int) { } type StopResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopResponse) Reset() { *x = StopResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopResponse) String() string { @@ -1917,7 +1840,7 @@ func (*StopResponse) ProtoMessage() {} func (x *StopResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1933,18 +1856,16 @@ func (*StopResponse) Descriptor() ([]byte, []int) { } type StopConvergeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopConvergeRequest) Reset() { *x = StopConvergeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopConvergeRequest) String() string { @@ -1955,7 +1876,7 @@ func (*StopConvergeRequest) ProtoMessage() {} func (x *StopConvergeRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1971,18 +1892,16 @@ func (*StopConvergeRequest) Descriptor() ([]byte, []int) { } type StopConvergeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopConvergeResponse) Reset() { *x = StopConvergeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopConvergeResponse) String() string { @@ -1993,7 +1912,7 @@ func (*StopConvergeResponse) ProtoMessage() {} func (x *StopConvergeResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2009,18 +1928,16 @@ func (*StopConvergeResponse) Descriptor() ([]byte, []int) { } type StartConvergeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartConvergeRequest) Reset() { *x = StartConvergeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartConvergeRequest) String() string { @@ -2031,7 +1948,7 @@ func (*StartConvergeRequest) ProtoMessage() {} func (x *StartConvergeRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2047,18 +1964,16 @@ func (*StartConvergeRequest) Descriptor() ([]byte, []int) { } type StartConvergeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartConvergeResponse) Reset() { *x = StartConvergeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartConvergeResponse) String() string { @@ -2069,7 +1984,7 @@ func (*StartConvergeResponse) ProtoMessage() {} func (x *StartConvergeResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2085,18 +2000,16 @@ func (*StartConvergeResponse) Descriptor() ([]byte, []int) { } type ServiceVersionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServiceVersionsRequest) Reset() { *x = ServiceVersionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceVersionsRequest) String() string { @@ -2107,7 +2020,7 @@ func (*ServiceVersionsRequest) ProtoMessage() {} func (x *ServiceVersionsRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2123,18 +2036,16 @@ func (*ServiceVersionsRequest) Descriptor() ([]byte, []int) { } type SystemLogsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SystemLogsRequest) Reset() { *x = SystemLogsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SystemLogsRequest) String() string { @@ -2145,7 +2056,7 @@ func (*SystemLogsRequest) ProtoMessage() {} func (x *SystemLogsRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2161,20 +2072,17 @@ func (*SystemLogsRequest) Descriptor() ([]byte, []int) { } type UpgradeStatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + VersionsPath string `protobuf:"bytes,1,opt,name=versions_path,json=versionsPath,proto3" json:"versions_path,omitempty" toml:"versions_path,omitempty" mapstructure:"versions_path,omitempty"` unknownFields protoimpl.UnknownFields - - VersionsPath string `protobuf:"bytes,1,opt,name=versions_path,json=versionsPath,proto3" json:"versions_path,omitempty" toml:"versions_path,omitempty" mapstructure:"versions_path,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpgradeStatusRequest) Reset() { *x = UpgradeStatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpgradeStatusRequest) String() string { @@ -2185,7 +2093,7 @@ func (*UpgradeStatusRequest) ProtoMessage() {} func (x *UpgradeStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2208,10 +2116,7 @@ func (x *UpgradeStatusRequest) GetVersionsPath() string { } type UpgradeStatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` State UpgradeStatusResponse_UpgradeState `protobuf:"varint,1,opt,name=state,proto3,enum=chef.automate.domain.deployment.UpgradeStatusResponse_UpgradeState" json:"state,omitempty" toml:"state,omitempty" mapstructure:"state,omitempty"` RemainingServices []*UpgradingService `protobuf:"bytes,4,rep,name=remaining_services,json=remainingServices,proto3" json:"remaining_services,omitempty" toml:"remaining_services,omitempty" mapstructure:"remaining_services,omitempty"` // latest_available_version is the version latest version @@ -2233,15 +2138,15 @@ type UpgradeStatusResponse struct { // is_converge_compatable is true in case the upgrade is minor/patch, and upgrading to major with --major flag // and is false, if the next upgrade is major and does not provided --major flag. IsConvergeCompatable bool `protobuf:"varint,9,opt,name=is_converge_compatable,json=isConvergeCompatable,proto3" json:"is_converge_compatable,omitempty" toml:"is_converge_compatable,omitempty" mapstructure:"is_converge_compatable,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpgradeStatusResponse) Reset() { *x = UpgradeStatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpgradeStatusResponse) String() string { @@ -2252,7 +2157,7 @@ func (*UpgradeStatusResponse) ProtoMessage() {} func (x *UpgradeStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2324,18 +2229,16 @@ func (x *UpgradeStatusResponse) GetIsConvergeCompatable() bool { } type SetLogLevelRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetLogLevelRequest) Reset() { *x = SetLogLevelRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetLogLevelRequest) String() string { @@ -2346,7 +2249,7 @@ func (*SetLogLevelRequest) ProtoMessage() {} func (x *SetLogLevelRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2362,18 +2265,16 @@ func (*SetLogLevelRequest) Descriptor() ([]byte, []int) { } type SetLogLevelResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetLogLevelResponse) Reset() { *x = SetLogLevelResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetLogLevelResponse) String() string { @@ -2384,7 +2285,7 @@ func (*SetLogLevelResponse) ProtoMessage() {} func (x *SetLogLevelResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2400,21 +2301,18 @@ func (*SetLogLevelResponse) Descriptor() ([]byte, []int) { } type UpgradingService struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Target *ServiceVersion `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty" toml:"target,omitempty" mapstructure:"target,omitempty"` + Actual *ServiceVersion `protobuf:"bytes,2,opt,name=actual,proto3" json:"actual,omitempty" toml:"actual,omitempty" mapstructure:"actual,omitempty"` unknownFields protoimpl.UnknownFields - - Target *ServiceVersion `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty" toml:"target,omitempty" mapstructure:"target,omitempty"` - Actual *ServiceVersion `protobuf:"bytes,2,opt,name=actual,proto3" json:"actual,omitempty" toml:"actual,omitempty" mapstructure:"actual,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpgradingService) Reset() { *x = UpgradingService{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpgradingService) String() string { @@ -2425,7 +2323,7 @@ func (*UpgradingService) ProtoMessage() {} func (x *UpgradingService) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2455,21 +2353,18 @@ func (x *UpgradingService) GetActual() *ServiceVersion { } type PackageOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OverrideOrigin string `protobuf:"bytes,1,opt,name=override_origin,json=overrideOrigin,proto3" json:"override_origin,omitempty" toml:"override_origin,omitempty" mapstructure:"override_origin,omitempty"` - HartifactsPath string `protobuf:"bytes,2,opt,name=hartifacts_path,json=hartifactsPath,proto3" json:"hartifacts_path,omitempty" toml:"hartifacts_path,omitempty" mapstructure:"hartifacts_path,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OverrideOrigin string `protobuf:"bytes,1,opt,name=override_origin,json=overrideOrigin,proto3" json:"override_origin,omitempty" toml:"override_origin,omitempty" mapstructure:"override_origin,omitempty"` + HartifactsPath string `protobuf:"bytes,2,opt,name=hartifacts_path,json=hartifactsPath,proto3" json:"hartifacts_path,omitempty" toml:"hartifacts_path,omitempty" mapstructure:"hartifacts_path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PackageOptions) Reset() { *x = PackageOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PackageOptions) String() string { @@ -2480,7 +2375,7 @@ func (*PackageOptions) ProtoMessage() {} func (x *PackageOptions) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2510,21 +2405,18 @@ func (x *PackageOptions) GetHartifactsPath() string { } type ConfigureRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` + ConfigToml string `protobuf:"bytes,2,opt,name=config_toml,json=configToml,proto3" json:"config_toml,omitempty" toml:"config_toml,omitempty" mapstructure:"config_toml,omitempty"` unknownFields protoimpl.UnknownFields - - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` - ConfigToml string `protobuf:"bytes,2,opt,name=config_toml,json=configToml,proto3" json:"config_toml,omitempty" toml:"config_toml,omitempty" mapstructure:"config_toml,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ConfigureRequest) Reset() { *x = ConfigureRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConfigureRequest) String() string { @@ -2535,7 +2427,7 @@ func (*ConfigureRequest) ProtoMessage() {} func (x *ConfigureRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2565,22 +2457,19 @@ func (x *ConfigureRequest) GetConfigToml() string { } type DeploymentID struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" toml:"created_at,omitempty" mapstructure:"created_at,omitempty"` + LastAction string `protobuf:"bytes,3,opt,name=last_action,json=lastAction,proto3" json:"last_action,omitempty" toml:"last_action,omitempty" mapstructure:"last_action,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" toml:"created_at,omitempty" mapstructure:"created_at,omitempty"` - LastAction string `protobuf:"bytes,3,opt,name=last_action,json=lastAction,proto3" json:"last_action,omitempty" toml:"last_action,omitempty" mapstructure:"last_action,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeploymentID) Reset() { *x = DeploymentID{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeploymentID) String() string { @@ -2591,7 +2480,7 @@ func (*DeploymentID) ProtoMessage() {} func (x *DeploymentID) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2628,20 +2517,17 @@ func (x *DeploymentID) GetLastAction() string { } type DeploymentStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty" toml:"msg,omitempty" mapstructure:"msg,omitempty"` unknownFields protoimpl.UnknownFields - - Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty" toml:"msg,omitempty" mapstructure:"msg,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeploymentStatus) Reset() { *x = DeploymentStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeploymentStatus) String() string { @@ -2652,7 +2538,7 @@ func (*DeploymentStatus) ProtoMessage() {} func (x *DeploymentStatus) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2675,30 +2561,27 @@ func (x *DeploymentStatus) GetMsg() string { } type DeployEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty" toml:"sequence,omitempty" mapstructure:"sequence,omitempty"` DeploymentId string `protobuf:"bytes,2,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty" toml:"deployment_id,omitempty" mapstructure:"deployment_id,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty" toml:"time,omitempty" mapstructure:"time,omitempty"` - // Types that are assignable to Event: + // Types that are valid to be assigned to Event: // // *DeployEvent_Deploy_ // *DeployEvent_Phase_ // *DeployEvent_PhaseStep_ // *DeployEvent_TaskComplete_ // *DeployEvent_Backup_ - Event isDeployEvent_Event `protobuf_oneof:"event"` + Event isDeployEvent_Event `protobuf_oneof:"event"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeployEvent) Reset() { *x = DeployEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployEvent) String() string { @@ -2709,7 +2592,7 @@ func (*DeployEvent) ProtoMessage() {} func (x *DeployEvent) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2745,44 +2628,54 @@ func (x *DeployEvent) GetTime() *timestamppb.Timestamp { return nil } -func (m *DeployEvent) GetEvent() isDeployEvent_Event { - if m != nil { - return m.Event +func (x *DeployEvent) GetEvent() isDeployEvent_Event { + if x != nil { + return x.Event } return nil } func (x *DeployEvent) GetDeploy() *DeployEvent_Deploy { - if x, ok := x.GetEvent().(*DeployEvent_Deploy_); ok { - return x.Deploy + if x != nil { + if x, ok := x.Event.(*DeployEvent_Deploy_); ok { + return x.Deploy + } } return nil } func (x *DeployEvent) GetPhase() *DeployEvent_Phase { - if x, ok := x.GetEvent().(*DeployEvent_Phase_); ok { - return x.Phase + if x != nil { + if x, ok := x.Event.(*DeployEvent_Phase_); ok { + return x.Phase + } } return nil } func (x *DeployEvent) GetPhaseStep() *DeployEvent_PhaseStep { - if x, ok := x.GetEvent().(*DeployEvent_PhaseStep_); ok { - return x.PhaseStep + if x != nil { + if x, ok := x.Event.(*DeployEvent_PhaseStep_); ok { + return x.PhaseStep + } } return nil } func (x *DeployEvent) GetTaskComplete() *DeployEvent_TaskComplete { - if x, ok := x.GetEvent().(*DeployEvent_TaskComplete_); ok { - return x.TaskComplete + if x != nil { + if x, ok := x.Event.(*DeployEvent_TaskComplete_); ok { + return x.TaskComplete + } } return nil } func (x *DeployEvent) GetBackup() *DeployEvent_Backup { - if x, ok := x.GetEvent().(*DeployEvent_Backup_); ok { - return x.Backup + if x != nil { + if x, ok := x.Event.(*DeployEvent_Backup_); ok { + return x.Backup + } } return nil } @@ -2822,20 +2715,17 @@ func (*DeployEvent_TaskComplete_) isDeployEvent_Event() {} func (*DeployEvent_Backup_) isDeployEvent_Event() {} type LogLine struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Line string `protobuf:"bytes,1,opt,name=line,proto3" json:"line,omitempty" toml:"line,omitempty" mapstructure:"line,omitempty"` unknownFields protoimpl.UnknownFields - - Line string `protobuf:"bytes,1,opt,name=line,proto3" json:"line,omitempty" toml:"line,omitempty" mapstructure:"line,omitempty"` + sizeCache protoimpl.SizeCache } func (x *LogLine) Reset() { *x = LogLine{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LogLine) String() string { @@ -2846,7 +2736,7 @@ func (*LogLine) ProtoMessage() {} func (x *LogLine) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2869,20 +2759,17 @@ func (x *LogLine) GetLine() string { } type SupportBundleConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StagingDir string `protobuf:"bytes,1,opt,name=staging_dir,json=stagingDir,proto3" json:"staging_dir,omitempty" toml:"staging_dir,omitempty" mapstructure:"staging_dir,omitempty"` unknownFields protoimpl.UnknownFields - - StagingDir string `protobuf:"bytes,1,opt,name=staging_dir,json=stagingDir,proto3" json:"staging_dir,omitempty" toml:"staging_dir,omitempty" mapstructure:"staging_dir,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SupportBundleConfig) Reset() { *x = SupportBundleConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SupportBundleConfig) String() string { @@ -2893,7 +2780,7 @@ func (*SupportBundleConfig) ProtoMessage() {} func (x *SupportBundleConfig) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2916,18 +2803,16 @@ func (x *SupportBundleConfig) GetStagingDir() string { } type StatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StatusRequest) Reset() { *x = StatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StatusRequest) String() string { @@ -2938,7 +2823,7 @@ func (*StatusRequest) ProtoMessage() {} func (x *StatusRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[47] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2954,21 +2839,18 @@ func (*StatusRequest) Descriptor() ([]byte, []int) { } type StatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` ServiceStatus *ServiceStatus `protobuf:"bytes,1,opt,name=service_status,json=serviceStatus,proto3" json:"service_status,omitempty" toml:"service_status,omitempty" mapstructure:"service_status,omitempty"` DeploymentConfig *deployment.ConfigRequest `protobuf:"bytes,2,opt,name=deployment_config,json=deploymentConfig,proto3" json:"deployment_config,omitempty" toml:"deployment_config,omitempty" mapstructure:"deployment_config,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StatusResponse) Reset() { *x = StatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StatusResponse) String() string { @@ -2979,7 +2861,7 @@ func (*StatusResponse) ProtoMessage() {} func (x *StatusResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[48] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3009,20 +2891,17 @@ func (x *StatusResponse) GetDeploymentConfig() *deployment.ConfigRequest { } type ServiceVersionsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Services []*ServiceVersion `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty" toml:"services,omitempty" mapstructure:"services,omitempty"` unknownFields protoimpl.UnknownFields - - Services []*ServiceVersion `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty" toml:"services,omitempty" mapstructure:"services,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ServiceVersionsResponse) Reset() { *x = ServiceVersionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceVersionsResponse) String() string { @@ -3033,7 +2912,7 @@ func (*ServiceVersionsResponse) ProtoMessage() {} func (x *ServiceVersionsResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[49] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3056,23 +2935,20 @@ func (x *ServiceVersionsResponse) GetServices() []*ServiceVersion { } type ServiceVersion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Origin string `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty" toml:"origin,omitempty" mapstructure:"origin,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Release string `protobuf:"bytes,4,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Origin string `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty" toml:"origin,omitempty" mapstructure:"origin,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - Release string `protobuf:"bytes,4,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ServiceVersion) Reset() { *x = ServiceVersion{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceVersion) String() string { @@ -3083,7 +2959,7 @@ func (*ServiceVersion) ProtoMessage() {} func (x *ServiceVersion) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[50] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3127,18 +3003,16 @@ func (x *ServiceVersion) GetRelease() string { } type LicenseStatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LicenseStatusRequest) Reset() { *x = LicenseStatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LicenseStatusRequest) String() string { @@ -3149,7 +3023,7 @@ func (*LicenseStatusRequest) ProtoMessage() {} func (x *LicenseStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[51] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3165,10 +3039,7 @@ func (*LicenseStatusRequest) Descriptor() ([]byte, []int) { } type LicenseStatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Set bool `protobuf:"varint,1,opt,name=set,proto3" json:"set,omitempty" toml:"set,omitempty" mapstructure:"set,omitempty"` LicenseId string `protobuf:"bytes,2,opt,name=license_id,json=licenseId,proto3" json:"license_id,omitempty" toml:"license_id,omitempty" mapstructure:"license_id,omitempty"` CustomerName string `protobuf:"bytes,3,opt,name=customer_name,json=customerName,proto3" json:"customer_name,omitempty" toml:"customer_name,omitempty" mapstructure:"customer_name,omitempty"` @@ -3178,15 +3049,15 @@ type LicenseStatusResponse struct { LicenseType string `protobuf:"bytes,7,opt,name=license_type,json=licenseType,proto3" json:"license_type,omitempty" toml:"license_type,omitempty" mapstructure:"license_type,omitempty"` DeploymentAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=deployment_at,json=deploymentAt,proto3" json:"deployment_at,omitempty" toml:"deployment_at,omitempty" mapstructure:"deployment_at,omitempty"` GracePeriod bool `protobuf:"varint,9,opt,name=grace_period,json=gracePeriod,proto3" json:"grace_period,omitempty" toml:"grace_period,omitempty" mapstructure:"grace_period,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LicenseStatusResponse) Reset() { *x = LicenseStatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LicenseStatusResponse) String() string { @@ -3197,7 +3068,7 @@ func (*LicenseStatusResponse) ProtoMessage() {} func (x *LicenseStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[52] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3276,21 +3147,18 @@ func (x *LicenseStatusResponse) GetGracePeriod() bool { } type LicenseApplyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + License string `protobuf:"bytes,1,opt,name=license,proto3" json:"license,omitempty" toml:"license,omitempty" mapstructure:"license,omitempty"` + Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty" toml:"force,omitempty" mapstructure:"force,omitempty"` unknownFields protoimpl.UnknownFields - - License string `protobuf:"bytes,1,opt,name=license,proto3" json:"license,omitempty" toml:"license,omitempty" mapstructure:"license,omitempty"` - Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty" toml:"force,omitempty" mapstructure:"force,omitempty"` + sizeCache protoimpl.SizeCache } func (x *LicenseApplyRequest) Reset() { *x = LicenseApplyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LicenseApplyRequest) String() string { @@ -3301,7 +3169,7 @@ func (*LicenseApplyRequest) ProtoMessage() {} func (x *LicenseApplyRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[53] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3331,22 +3199,19 @@ func (x *LicenseApplyRequest) GetForce() bool { } type LicenseApplyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Updated bool `protobuf:"varint,1,opt,name=updated,proto3" json:"updated,omitempty" toml:"updated,omitempty" mapstructure:"updated,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` + Duplicate bool `protobuf:"varint,3,opt,name=duplicate,proto3" json:"duplicate,omitempty" toml:"duplicate,omitempty" mapstructure:"duplicate,omitempty"` unknownFields protoimpl.UnknownFields - - Updated bool `protobuf:"varint,1,opt,name=updated,proto3" json:"updated,omitempty" toml:"updated,omitempty" mapstructure:"updated,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` - Duplicate bool `protobuf:"varint,3,opt,name=duplicate,proto3" json:"duplicate,omitempty" toml:"duplicate,omitempty" mapstructure:"duplicate,omitempty"` + sizeCache protoimpl.SizeCache } func (x *LicenseApplyResponse) Reset() { *x = LicenseApplyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LicenseApplyResponse) String() string { @@ -3357,7 +3222,7 @@ func (*LicenseApplyResponse) ProtoMessage() {} func (x *LicenseApplyResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[54] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3394,20 +3259,17 @@ func (x *LicenseApplyResponse) GetDuplicate() bool { } type ServiceStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Services []*ServiceState `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty" toml:"services,omitempty" mapstructure:"services,omitempty"` unknownFields protoimpl.UnknownFields - - Services []*ServiceState `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty" toml:"services,omitempty" mapstructure:"services,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ServiceStatus) Reset() { *x = ServiceStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceStatus) String() string { @@ -3418,7 +3280,7 @@ func (*ServiceStatus) ProtoMessage() {} func (x *ServiceStatus) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[55] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3441,23 +3303,20 @@ func (x *ServiceStatus) GetServices() []*ServiceState { } type ServiceState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + State ServiceState_State `protobuf:"varint,2,opt,name=state,proto3,enum=chef.automate.domain.deployment.ServiceState_State" json:"state,omitempty" toml:"state,omitempty" mapstructure:"state,omitempty"` + Pid uint64 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty" toml:"pid,omitempty" mapstructure:"pid,omitempty"` + Uptime uint64 `protobuf:"varint,4,opt,name=uptime,proto3" json:"uptime,omitempty" toml:"uptime,omitempty" mapstructure:"uptime,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - State ServiceState_State `protobuf:"varint,2,opt,name=state,proto3,enum=chef.automate.domain.deployment.ServiceState_State" json:"state,omitempty" toml:"state,omitempty" mapstructure:"state,omitempty"` - Pid uint64 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty" toml:"pid,omitempty" mapstructure:"pid,omitempty"` - Uptime uint64 `protobuf:"varint,4,opt,name=uptime,proto3" json:"uptime,omitempty" toml:"uptime,omitempty" mapstructure:"uptime,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ServiceState) Reset() { *x = ServiceState{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceState) String() string { @@ -3468,7 +3327,7 @@ func (*ServiceState) ProtoMessage() {} func (x *ServiceState) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[56] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3512,23 +3371,20 @@ func (x *ServiceState) GetUptime() uint64 { } type GatherLogsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // log_lines is the number of log lines we will collect from // the system log (journald). A log_size of 0 means collect // all logs. - LogLines uint64 `protobuf:"varint,1,opt,name=log_lines,json=logLines,proto3" json:"log_lines,omitempty" toml:"log_lines,omitempty" mapstructure:"log_lines,omitempty"` + LogLines uint64 `protobuf:"varint,1,opt,name=log_lines,json=logLines,proto3" json:"log_lines,omitempty" toml:"log_lines,omitempty" mapstructure:"log_lines,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GatherLogsRequest) Reset() { *x = GatherLogsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GatherLogsRequest) String() string { @@ -3539,7 +3395,7 @@ func (*GatherLogsRequest) ProtoMessage() {} func (x *GatherLogsRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[57] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3562,22 +3418,19 @@ func (x *GatherLogsRequest) GetLogLines() uint64 { } type GatherLogsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BundleName string `protobuf:"bytes,1,opt,name=bundle_name,json=bundleName,proto3" json:"bundle_name,omitempty" toml:"bundle_name,omitempty" mapstructure:"bundle_name,omitempty"` - BundleChecksum string `protobuf:"bytes,2,opt,name=bundle_checksum,json=bundleChecksum,proto3" json:"bundle_checksum,omitempty" toml:"bundle_checksum,omitempty" mapstructure:"bundle_checksum,omitempty"` - BundleSize int64 `protobuf:"varint,3,opt,name=bundle_size,json=bundleSize,proto3" json:"bundle_size,omitempty" toml:"bundle_size,omitempty" mapstructure:"bundle_size,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + BundleName string `protobuf:"bytes,1,opt,name=bundle_name,json=bundleName,proto3" json:"bundle_name,omitempty" toml:"bundle_name,omitempty" mapstructure:"bundle_name,omitempty"` + BundleChecksum string `protobuf:"bytes,2,opt,name=bundle_checksum,json=bundleChecksum,proto3" json:"bundle_checksum,omitempty" toml:"bundle_checksum,omitempty" mapstructure:"bundle_checksum,omitempty"` + BundleSize int64 `protobuf:"varint,3,opt,name=bundle_size,json=bundleSize,proto3" json:"bundle_size,omitempty" toml:"bundle_size,omitempty" mapstructure:"bundle_size,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GatherLogsResponse) Reset() { *x = GatherLogsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GatherLogsResponse) String() string { @@ -3588,7 +3441,7 @@ func (*GatherLogsResponse) ProtoMessage() {} func (x *GatherLogsResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[58] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3625,20 +3478,17 @@ func (x *GatherLogsResponse) GetBundleSize() int64 { } type GatherLogsDownloadRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + BundleName string `protobuf:"bytes,1,opt,name=bundle_name,json=bundleName,proto3" json:"bundle_name,omitempty" toml:"bundle_name,omitempty" mapstructure:"bundle_name,omitempty"` unknownFields protoimpl.UnknownFields - - BundleName string `protobuf:"bytes,1,opt,name=bundle_name,json=bundleName,proto3" json:"bundle_name,omitempty" toml:"bundle_name,omitempty" mapstructure:"bundle_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GatherLogsDownloadRequest) Reset() { *x = GatherLogsDownloadRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GatherLogsDownloadRequest) String() string { @@ -3649,7 +3499,7 @@ func (*GatherLogsDownloadRequest) ProtoMessage() {} func (x *GatherLogsDownloadRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[59] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3672,20 +3522,17 @@ func (x *GatherLogsDownloadRequest) GetBundleName() string { } type GatherLogsDownloadResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` unknownFields protoimpl.UnknownFields - - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GatherLogsDownloadResponse) Reset() { *x = GatherLogsDownloadResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GatherLogsDownloadResponse) String() string { @@ -3696,7 +3543,7 @@ func (*GatherLogsDownloadResponse) ProtoMessage() {} func (x *GatherLogsDownloadResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[60] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3719,18 +3566,16 @@ func (x *GatherLogsDownloadResponse) GetData() []byte { } type RestartServicesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RestartServicesRequest) Reset() { *x = RestartServicesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[61] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RestartServicesRequest) String() string { @@ -3741,7 +3586,7 @@ func (*RestartServicesRequest) ProtoMessage() {} func (x *RestartServicesRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[61] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3757,20 +3602,17 @@ func (*RestartServicesRequest) Descriptor() ([]byte, []int) { } type RestartServicesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty" toml:"task_id,omitempty" mapstructure:"task_id,omitempty"` unknownFields protoimpl.UnknownFields - - TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty" toml:"task_id,omitempty" mapstructure:"task_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RestartServicesResponse) Reset() { *x = RestartServicesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[62] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RestartServicesResponse) String() string { @@ -3781,7 +3623,7 @@ func (*RestartServicesResponse) ProtoMessage() {} func (x *RestartServicesResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[62] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3805,18 +3647,16 @@ func (x *RestartServicesResponse) GetTaskId() string { // AutomateConfig Messages type GetAutomateConfigRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetAutomateConfigRequest) Reset() { *x = GetAutomateConfigRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[63] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAutomateConfigRequest) String() string { @@ -3827,7 +3667,7 @@ func (*GetAutomateConfigRequest) ProtoMessage() {} func (x *GetAutomateConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[63] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3843,21 +3683,18 @@ func (*GetAutomateConfigRequest) Descriptor() ([]byte, []int) { } type GetAutomateConfigResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Config *deployment.AutomateConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty" toml:"config,omitempty" mapstructure:"config,omitempty"` + Hash uint64 `protobuf:"varint,2,opt,name=hash,proto3" json:"hash,omitempty" toml:"hash,omitempty" mapstructure:"hash,omitempty"` unknownFields protoimpl.UnknownFields - - Config *deployment.AutomateConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty" toml:"config,omitempty" mapstructure:"config,omitempty"` - Hash uint64 `protobuf:"varint,2,opt,name=hash,proto3" json:"hash,omitempty" toml:"hash,omitempty" mapstructure:"hash,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetAutomateConfigResponse) Reset() { *x = GetAutomateConfigResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[64] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAutomateConfigResponse) String() string { @@ -3868,7 +3705,7 @@ func (*GetAutomateConfigResponse) ProtoMessage() {} func (x *GetAutomateConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[64] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3898,21 +3735,18 @@ func (x *GetAutomateConfigResponse) GetHash() uint64 { } type PatchAutomateConfigRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Config *deployment.AutomateConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty" toml:"config,omitempty" mapstructure:"config,omitempty"` + Hash uint64 `protobuf:"varint,2,opt,name=hash,proto3" json:"hash,omitempty" toml:"hash,omitempty" mapstructure:"hash,omitempty"` unknownFields protoimpl.UnknownFields - - Config *deployment.AutomateConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty" toml:"config,omitempty" mapstructure:"config,omitempty"` - Hash uint64 `protobuf:"varint,2,opt,name=hash,proto3" json:"hash,omitempty" toml:"hash,omitempty" mapstructure:"hash,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PatchAutomateConfigRequest) Reset() { *x = PatchAutomateConfigRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[65] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PatchAutomateConfigRequest) String() string { @@ -3923,7 +3757,7 @@ func (*PatchAutomateConfigRequest) ProtoMessage() {} func (x *PatchAutomateConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[65] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3953,20 +3787,17 @@ func (x *PatchAutomateConfigRequest) GetHash() uint64 { } type PatchAutomateConfigResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty" toml:"task_id,omitempty" mapstructure:"task_id,omitempty"` unknownFields protoimpl.UnknownFields - - TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty" toml:"task_id,omitempty" mapstructure:"task_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PatchAutomateConfigResponse) Reset() { *x = PatchAutomateConfigResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[66] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PatchAutomateConfigResponse) String() string { @@ -3977,7 +3808,7 @@ func (*PatchAutomateConfigResponse) ProtoMessage() {} func (x *PatchAutomateConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[66] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4000,20 +3831,17 @@ func (x *PatchAutomateConfigResponse) GetTaskId() string { } type SetAutomateConfigRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Config *deployment.AutomateConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty" toml:"config,omitempty" mapstructure:"config,omitempty"` unknownFields protoimpl.UnknownFields - - Config *deployment.AutomateConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty" toml:"config,omitempty" mapstructure:"config,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SetAutomateConfigRequest) Reset() { *x = SetAutomateConfigRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[67] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetAutomateConfigRequest) String() string { @@ -4024,7 +3852,7 @@ func (*SetAutomateConfigRequest) ProtoMessage() {} func (x *SetAutomateConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[67] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4047,20 +3875,17 @@ func (x *SetAutomateConfigRequest) GetConfig() *deployment.AutomateConfig { } type SetAutomateConfigResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty" toml:"task_id,omitempty" mapstructure:"task_id,omitempty"` unknownFields protoimpl.UnknownFields - - TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty" toml:"task_id,omitempty" mapstructure:"task_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SetAutomateConfigResponse) Reset() { *x = SetAutomateConfigResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[68] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetAutomateConfigResponse) String() string { @@ -4071,7 +3896,7 @@ func (*SetAutomateConfigResponse) ProtoMessage() {} func (x *SetAutomateConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[68] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4094,18 +3919,16 @@ func (x *SetAutomateConfigResponse) GetTaskId() string { } type DumpDBRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DumpDBRequest) Reset() { *x = DumpDBRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[69] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DumpDBRequest) String() string { @@ -4116,7 +3939,7 @@ func (*DumpDBRequest) ProtoMessage() {} func (x *DumpDBRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[69] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4132,20 +3955,17 @@ func (*DumpDBRequest) Descriptor() ([]byte, []int) { } type DumpDBResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` unknownFields protoimpl.UnknownFields - - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DumpDBResponse) Reset() { *x = DumpDBResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[70] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DumpDBResponse) String() string { @@ -4156,7 +3976,7 @@ func (*DumpDBResponse) ProtoMessage() {} func (x *DumpDBResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[70] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4179,22 +3999,19 @@ func (x *DumpDBResponse) GetData() []byte { } type ManifestVersionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BuildTimestamp string `protobuf:"bytes,1,opt,name=build_timestamp,json=buildTimestamp,proto3" json:"build_timestamp,omitempty" toml:"build_timestamp,omitempty" mapstructure:"build_timestamp,omitempty"` - BuildSha string `protobuf:"bytes,2,opt,name=build_sha,json=buildSha,proto3" json:"build_sha,omitempty" toml:"build_sha,omitempty" mapstructure:"build_sha,omitempty"` - CliRelease string `protobuf:"bytes,3,opt,name=cli_release,json=cliRelease,proto3" json:"cli_release,omitempty" toml:"cli_release,omitempty" mapstructure:"cli_release,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + BuildTimestamp string `protobuf:"bytes,1,opt,name=build_timestamp,json=buildTimestamp,proto3" json:"build_timestamp,omitempty" toml:"build_timestamp,omitempty" mapstructure:"build_timestamp,omitempty"` + BuildSha string `protobuf:"bytes,2,opt,name=build_sha,json=buildSha,proto3" json:"build_sha,omitempty" toml:"build_sha,omitempty" mapstructure:"build_sha,omitempty"` + CliRelease string `protobuf:"bytes,3,opt,name=cli_release,json=cliRelease,proto3" json:"cli_release,omitempty" toml:"cli_release,omitempty" mapstructure:"cli_release,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ManifestVersionResponse) Reset() { *x = ManifestVersionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[71] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ManifestVersionResponse) String() string { @@ -4205,7 +4022,7 @@ func (*ManifestVersionResponse) ProtoMessage() {} func (x *ManifestVersionResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[71] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4242,20 +4059,17 @@ func (x *ManifestVersionResponse) GetCliRelease() string { } type DeployIDResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty" toml:"deployment_id,omitempty" mapstructure:"deployment_id,omitempty"` unknownFields protoimpl.UnknownFields - - DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty" toml:"deployment_id,omitempty" mapstructure:"deployment_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeployIDResponse) Reset() { *x = DeployIDResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[72] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployIDResponse) String() string { @@ -4266,7 +4080,7 @@ func (*DeployIDResponse) ProtoMessage() {} func (x *DeployIDResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[72] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4290,21 +4104,18 @@ func (x *DeployIDResponse) GetDeploymentId() string { // Backup messages type BackupTask struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + State BackupTask_BackupState `protobuf:"varint,2,opt,name=state,proto3,enum=chef.automate.domain.deployment.BackupTask_BackupState" json:"state,omitempty" toml:"state,omitempty" mapstructure:"state,omitempty"` unknownFields protoimpl.UnknownFields - - Id *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - State BackupTask_BackupState `protobuf:"varint,2,opt,name=state,proto3,enum=chef.automate.domain.deployment.BackupTask_BackupState" json:"state,omitempty" toml:"state,omitempty" mapstructure:"state,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BackupTask) Reset() { *x = BackupTask{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[73] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BackupTask) String() string { @@ -4315,7 +4126,7 @@ func (*BackupTask) ProtoMessage() {} func (x *BackupTask) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[73] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4345,23 +4156,20 @@ func (x *BackupTask) GetState() BackupTask_BackupState { } type BackupDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Sha256 string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty" toml:"sha256,omitempty" mapstructure:"sha256,omitempty"` + ServerVersion string `protobuf:"bytes,3,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty" toml:"server_version,omitempty" mapstructure:"server_version,omitempty"` + CliVersion string `protobuf:"bytes,4,opt,name=cli_version,json=cliVersion,proto3" json:"cli_version,omitempty" toml:"cli_version,omitempty" mapstructure:"cli_version,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Sha256 string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty" toml:"sha256,omitempty" mapstructure:"sha256,omitempty"` - ServerVersion string `protobuf:"bytes,3,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty" toml:"server_version,omitempty" mapstructure:"server_version,omitempty"` - CliVersion string `protobuf:"bytes,4,opt,name=cli_version,json=cliVersion,proto3" json:"cli_version,omitempty" toml:"cli_version,omitempty" mapstructure:"cli_version,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BackupDescription) Reset() { *x = BackupDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[74] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BackupDescription) String() string { @@ -4372,7 +4180,7 @@ func (*BackupDescription) ProtoMessage() {} func (x *BackupDescription) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[74] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4416,25 +4224,22 @@ func (x *BackupDescription) GetCliVersion() string { } type S3BackupLocation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty" toml:"bucket_name,omitempty" mapstructure:"bucket_name,omitempty"` + BasePath string `protobuf:"bytes,2,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty" toml:"base_path,omitempty" mapstructure:"base_path,omitempty"` + Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty" toml:"endpoint,omitempty" mapstructure:"endpoint,omitempty"` + AccessKey string `protobuf:"bytes,4,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty" toml:"access_key,omitempty" mapstructure:"access_key,omitempty"` + SecretKey string `protobuf:"bytes,5,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty" toml:"secret_key,omitempty" mapstructure:"secret_key,omitempty"` + SessionToken string `protobuf:"bytes,6,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty" toml:"session_token,omitempty" mapstructure:"session_token,omitempty"` unknownFields protoimpl.UnknownFields - - BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty" toml:"bucket_name,omitempty" mapstructure:"bucket_name,omitempty"` - BasePath string `protobuf:"bytes,2,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty" toml:"base_path,omitempty" mapstructure:"base_path,omitempty"` - Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty" toml:"endpoint,omitempty" mapstructure:"endpoint,omitempty"` - AccessKey string `protobuf:"bytes,4,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty" toml:"access_key,omitempty" mapstructure:"access_key,omitempty"` - SecretKey string `protobuf:"bytes,5,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty" toml:"secret_key,omitempty" mapstructure:"secret_key,omitempty"` - SessionToken string `protobuf:"bytes,6,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty" toml:"session_token,omitempty" mapstructure:"session_token,omitempty"` + sizeCache protoimpl.SizeCache } func (x *S3BackupLocation) Reset() { *x = S3BackupLocation{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[75] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *S3BackupLocation) String() string { @@ -4445,7 +4250,7 @@ func (*S3BackupLocation) ProtoMessage() {} func (x *S3BackupLocation) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[75] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4503,22 +4308,19 @@ func (x *S3BackupLocation) GetSessionToken() string { } type GCSBackupLocation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty" toml:"bucket_name,omitempty" mapstructure:"bucket_name,omitempty"` - BasePath string `protobuf:"bytes,2,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty" toml:"base_path,omitempty" mapstructure:"base_path,omitempty"` - GoogleApplicationCredentials string `protobuf:"bytes,3,opt,name=google_application_credentials,json=googleApplicationCredentials,proto3" json:"google_application_credentials,omitempty" toml:"google_application_credentials,omitempty" mapstructure:"google_application_credentials,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty" toml:"bucket_name,omitempty" mapstructure:"bucket_name,omitempty"` + BasePath string `protobuf:"bytes,2,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty" toml:"base_path,omitempty" mapstructure:"base_path,omitempty"` + GoogleApplicationCredentials string `protobuf:"bytes,3,opt,name=google_application_credentials,json=googleApplicationCredentials,proto3" json:"google_application_credentials,omitempty" toml:"google_application_credentials,omitempty" mapstructure:"google_application_credentials,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GCSBackupLocation) Reset() { *x = GCSBackupLocation{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[76] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GCSBackupLocation) String() string { @@ -4529,7 +4331,7 @@ func (*GCSBackupLocation) ProtoMessage() {} func (x *GCSBackupLocation) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[76] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4566,10 +4368,7 @@ func (x *GCSBackupLocation) GetGoogleApplicationCredentials() string { } type BackupRestoreTask struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Backup *BackupTask `protobuf:"bytes,2,opt,name=backup,proto3" json:"backup,omitempty" toml:"backup,omitempty" mapstructure:"backup,omitempty"` // When this gets called the backup directory should exist in the deployment @@ -4593,15 +4392,15 @@ type BackupRestoreTask struct { PatchConfig *deployment.AutomateConfig `protobuf:"bytes,12,opt,name=patch_config,json=patchConfig,proto3" json:"patch_config,omitempty" toml:"patch_config,omitempty" mapstructure:"patch_config,omitempty"` SetConfig *deployment.AutomateConfig `protobuf:"bytes,13,opt,name=set_config,json=setConfig,proto3" json:"set_config,omitempty" toml:"set_config,omitempty" mapstructure:"set_config,omitempty"` GcsBackupLocation *GCSBackupLocation `protobuf:"bytes,14,opt,name=gcs_backup_location,json=gcsBackupLocation,proto3" json:"gcs_backup_location,omitempty" toml:"gcs_backup_location,omitempty" mapstructure:"gcs_backup_location,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *BackupRestoreTask) Reset() { *x = BackupRestoreTask{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[77] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BackupRestoreTask) String() string { @@ -4612,7 +4411,7 @@ func (*BackupRestoreTask) ProtoMessage() {} func (x *BackupRestoreTask) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[77] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4726,21 +4525,18 @@ func (x *BackupRestoreTask) GetGcsBackupLocation() *GCSBackupLocation { } type BackupDeleteTask struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Backups []*BackupTask `protobuf:"bytes,2,rep,name=backups,proto3" json:"backups,omitempty" toml:"backups,omitempty" mapstructure:"backups,omitempty"` unknownFields protoimpl.UnknownFields - - Id *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Backups []*BackupTask `protobuf:"bytes,2,rep,name=backups,proto3" json:"backups,omitempty" toml:"backups,omitempty" mapstructure:"backups,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BackupDeleteTask) Reset() { *x = BackupDeleteTask{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[78] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BackupDeleteTask) String() string { @@ -4751,7 +4547,7 @@ func (*BackupDeleteTask) ProtoMessage() {} func (x *BackupDeleteTask) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[78] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4781,18 +4577,16 @@ func (x *BackupDeleteTask) GetBackups() []*BackupTask { } type CreateBackupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateBackupRequest) Reset() { *x = CreateBackupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[79] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateBackupRequest) String() string { @@ -4803,7 +4597,7 @@ func (*CreateBackupRequest) ProtoMessage() {} func (x *CreateBackupRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[79] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4819,20 +4613,17 @@ func (*CreateBackupRequest) Descriptor() ([]byte, []int) { } type CreateBackupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Backup *BackupTask `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty" toml:"backup,omitempty" mapstructure:"backup,omitempty"` unknownFields protoimpl.UnknownFields - - Backup *BackupTask `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty" toml:"backup,omitempty" mapstructure:"backup,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateBackupResponse) Reset() { *x = CreateBackupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[80] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateBackupResponse) String() string { @@ -4843,7 +4634,7 @@ func (*CreateBackupResponse) ProtoMessage() {} func (x *CreateBackupResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[80] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4866,18 +4657,16 @@ func (x *CreateBackupResponse) GetBackup() *BackupTask { } type ListBackupsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListBackupsRequest) Reset() { *x = ListBackupsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[81] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListBackupsRequest) String() string { @@ -4888,7 +4677,7 @@ func (*ListBackupsRequest) ProtoMessage() {} func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[81] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4904,20 +4693,17 @@ func (*ListBackupsRequest) Descriptor() ([]byte, []int) { } type ListBackupsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Backups []*BackupTask `protobuf:"bytes,2,rep,name=backups,proto3" json:"backups,omitempty" toml:"backups,omitempty" mapstructure:"backups,omitempty"` unknownFields protoimpl.UnknownFields - - Backups []*BackupTask `protobuf:"bytes,2,rep,name=backups,proto3" json:"backups,omitempty" toml:"backups,omitempty" mapstructure:"backups,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListBackupsResponse) Reset() { *x = ListBackupsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[82] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListBackupsResponse) String() string { @@ -4928,7 +4714,7 @@ func (*ListBackupsResponse) ProtoMessage() {} func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[82] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4951,20 +4737,17 @@ func (x *ListBackupsResponse) GetBackups() []*BackupTask { } type ShowBackupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Backup *BackupTask `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty" toml:"backup,omitempty" mapstructure:"backup,omitempty"` unknownFields protoimpl.UnknownFields - - Backup *BackupTask `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty" toml:"backup,omitempty" mapstructure:"backup,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ShowBackupRequest) Reset() { *x = ShowBackupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[83] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShowBackupRequest) String() string { @@ -4975,7 +4758,7 @@ func (*ShowBackupRequest) ProtoMessage() {} func (x *ShowBackupRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[83] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4998,22 +4781,19 @@ func (x *ShowBackupRequest) GetBackup() *BackupTask { } type ShowBackupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` + Backup *BackupTask `protobuf:"bytes,2,opt,name=backup,proto3" json:"backup,omitempty" toml:"backup,omitempty" mapstructure:"backup,omitempty"` + Description *BackupDescription `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"` unknownFields protoimpl.UnknownFields - - Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` - Backup *BackupTask `protobuf:"bytes,2,opt,name=backup,proto3" json:"backup,omitempty" toml:"backup,omitempty" mapstructure:"backup,omitempty"` - Description *BackupDescription `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ShowBackupResponse) Reset() { *x = ShowBackupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[84] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShowBackupResponse) String() string { @@ -5024,7 +4804,7 @@ func (*ShowBackupResponse) ProtoMessage() {} func (x *ShowBackupResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[84] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5061,20 +4841,17 @@ func (x *ShowBackupResponse) GetDescription() *BackupDescription { } type DeleteBackupsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Backups []*BackupTask `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty" toml:"backups,omitempty" mapstructure:"backups,omitempty"` unknownFields protoimpl.UnknownFields - - Backups []*BackupTask `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty" toml:"backups,omitempty" mapstructure:"backups,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteBackupsRequest) Reset() { *x = DeleteBackupsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[85] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteBackupsRequest) String() string { @@ -5085,7 +4862,7 @@ func (*DeleteBackupsRequest) ProtoMessage() {} func (x *DeleteBackupsRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[85] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5108,20 +4885,17 @@ func (x *DeleteBackupsRequest) GetBackups() []*BackupTask { } type DeleteBackupsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Delete *BackupDeleteTask `protobuf:"bytes,1,opt,name=delete,proto3" json:"delete,omitempty" toml:"delete,omitempty" mapstructure:"delete,omitempty"` unknownFields protoimpl.UnknownFields - - Delete *BackupDeleteTask `protobuf:"bytes,1,opt,name=delete,proto3" json:"delete,omitempty" toml:"delete,omitempty" mapstructure:"delete,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteBackupsResponse) Reset() { *x = DeleteBackupsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[86] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[86] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteBackupsResponse) String() string { @@ -5132,7 +4906,7 @@ func (*DeleteBackupsResponse) ProtoMessage() {} func (x *DeleteBackupsResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[86] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5155,18 +4929,16 @@ func (x *DeleteBackupsResponse) GetDelete() *BackupDeleteTask { } type BackupIntegrityShowRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *BackupIntegrityShowRequest) Reset() { *x = BackupIntegrityShowRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[87] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[87] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BackupIntegrityShowRequest) String() string { @@ -5177,7 +4949,7 @@ func (*BackupIntegrityShowRequest) ProtoMessage() {} func (x *BackupIntegrityShowRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[87] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5193,20 +4965,17 @@ func (*BackupIntegrityShowRequest) Descriptor() ([]byte, []int) { } type BackupIntegrityShowResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Snapshots []*SnapshotIntegrity `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty" toml:"snapshots,omitempty" mapstructure:"snapshots,omitempty"` unknownFields protoimpl.UnknownFields - - Snapshots []*SnapshotIntegrity `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty" toml:"snapshots,omitempty" mapstructure:"snapshots,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BackupIntegrityShowResponse) Reset() { *x = BackupIntegrityShowResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[88] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[88] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BackupIntegrityShowResponse) String() string { @@ -5217,7 +4986,7 @@ func (*BackupIntegrityShowResponse) ProtoMessage() {} func (x *BackupIntegrityShowResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[88] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5240,23 +5009,20 @@ func (x *BackupIntegrityShowResponse) GetSnapshots() []*SnapshotIntegrity { } type SnapshotIntegrity struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + LastVerified *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_verified,json=lastVerified,proto3" json:"last_verified,omitempty" toml:"last_verified,omitempty" mapstructure:"last_verified,omitempty"` + Missing []string `protobuf:"bytes,3,rep,name=missing,proto3" json:"missing,omitempty" toml:"missing,omitempty" mapstructure:"missing,omitempty"` + Corrupted bool `protobuf:"varint,4,opt,name=corrupted,proto3" json:"corrupted,omitempty" toml:"corrupted,omitempty" mapstructure:"corrupted,omitempty"` unknownFields protoimpl.UnknownFields - - Id *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - LastVerified *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_verified,json=lastVerified,proto3" json:"last_verified,omitempty" toml:"last_verified,omitempty" mapstructure:"last_verified,omitempty"` - Missing []string `protobuf:"bytes,3,rep,name=missing,proto3" json:"missing,omitempty" toml:"missing,omitempty" mapstructure:"missing,omitempty"` - Corrupted bool `protobuf:"varint,4,opt,name=corrupted,proto3" json:"corrupted,omitempty" toml:"corrupted,omitempty" mapstructure:"corrupted,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SnapshotIntegrity) Reset() { *x = SnapshotIntegrity{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[89] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[89] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SnapshotIntegrity) String() string { @@ -5267,7 +5033,7 @@ func (*SnapshotIntegrity) ProtoMessage() {} func (x *SnapshotIntegrity) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[89] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5311,20 +5077,17 @@ func (x *SnapshotIntegrity) GetCorrupted() bool { } type ValidateBackupIntegrityRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Backups []*BackupTask `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty" toml:"backups,omitempty" mapstructure:"backups,omitempty"` unknownFields protoimpl.UnknownFields - - Backups []*BackupTask `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty" toml:"backups,omitempty" mapstructure:"backups,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ValidateBackupIntegrityRequest) Reset() { *x = ValidateBackupIntegrityRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[90] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[90] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValidateBackupIntegrityRequest) String() string { @@ -5335,7 +5098,7 @@ func (*ValidateBackupIntegrityRequest) ProtoMessage() {} func (x *ValidateBackupIntegrityRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[90] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5358,20 +5121,17 @@ func (x *ValidateBackupIntegrityRequest) GetBackups() []*BackupTask { } type ValidateBackupIntegrityResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Snapshots []*SnapshotIntegrity `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty" toml:"snapshots,omitempty" mapstructure:"snapshots,omitempty"` unknownFields protoimpl.UnknownFields - - Snapshots []*SnapshotIntegrity `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty" toml:"snapshots,omitempty" mapstructure:"snapshots,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ValidateBackupIntegrityResponse) Reset() { - *x = ValidateBackupIntegrityResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[91] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + *x = ValidateBackupIntegrityResponse{} + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[91] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValidateBackupIntegrityResponse) String() string { @@ -5382,7 +5142,7 @@ func (*ValidateBackupIntegrityResponse) ProtoMessage() {} func (x *ValidateBackupIntegrityResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[91] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5405,20 +5165,17 @@ func (x *ValidateBackupIntegrityResponse) GetSnapshots() []*SnapshotIntegrity { } type RestoreBackupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Restore *BackupRestoreTask `protobuf:"bytes,1,opt,name=restore,proto3" json:"restore,omitempty" toml:"restore,omitempty" mapstructure:"restore,omitempty"` unknownFields protoimpl.UnknownFields - - Restore *BackupRestoreTask `protobuf:"bytes,1,opt,name=restore,proto3" json:"restore,omitempty" toml:"restore,omitempty" mapstructure:"restore,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RestoreBackupRequest) Reset() { *x = RestoreBackupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[92] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[92] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RestoreBackupRequest) String() string { @@ -5429,7 +5186,7 @@ func (*RestoreBackupRequest) ProtoMessage() {} func (x *RestoreBackupRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[92] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5452,20 +5209,17 @@ func (x *RestoreBackupRequest) GetRestore() *BackupRestoreTask { } type RestoreBackupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Restore *BackupRestoreTask `protobuf:"bytes,1,opt,name=restore,proto3" json:"restore,omitempty" toml:"restore,omitempty" mapstructure:"restore,omitempty"` unknownFields protoimpl.UnknownFields - - Restore *BackupRestoreTask `protobuf:"bytes,1,opt,name=restore,proto3" json:"restore,omitempty" toml:"restore,omitempty" mapstructure:"restore,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RestoreBackupResponse) Reset() { *x = RestoreBackupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[93] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[93] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RestoreBackupResponse) String() string { @@ -5476,7 +5230,7 @@ func (*RestoreBackupResponse) ProtoMessage() {} func (x *RestoreBackupResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[93] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5499,18 +5253,16 @@ func (x *RestoreBackupResponse) GetRestore() *BackupRestoreTask { } type BackupStatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *BackupStatusRequest) Reset() { *x = BackupStatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[94] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[94] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BackupStatusRequest) String() string { @@ -5521,7 +5273,7 @@ func (*BackupStatusRequest) ProtoMessage() {} func (x *BackupStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[94] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5537,21 +5289,18 @@ func (*BackupStatusRequest) Descriptor() ([]byte, []int) { } type BackupStatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OpType BackupStatusResponse_OperationType `protobuf:"varint,1,opt,name=op_type,json=opType,proto3,enum=chef.automate.domain.deployment.BackupStatusResponse_OperationType" json:"op_type,omitempty" toml:"op_type,omitempty" mapstructure:"op_type,omitempty"` + TaskIds []string `protobuf:"bytes,2,rep,name=task_ids,json=taskIds,proto3" json:"task_ids,omitempty" toml:"task_ids,omitempty" mapstructure:"task_ids,omitempty"` unknownFields protoimpl.UnknownFields - - OpType BackupStatusResponse_OperationType `protobuf:"varint,1,opt,name=op_type,json=opType,proto3,enum=chef.automate.domain.deployment.BackupStatusResponse_OperationType" json:"op_type,omitempty" toml:"op_type,omitempty" mapstructure:"op_type,omitempty"` - TaskIds []string `protobuf:"bytes,2,rep,name=task_ids,json=taskIds,proto3" json:"task_ids,omitempty" toml:"task_ids,omitempty" mapstructure:"task_ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BackupStatusResponse) Reset() { *x = BackupStatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[95] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[95] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BackupStatusResponse) String() string { @@ -5562,7 +5311,7 @@ func (*BackupStatusResponse) ProtoMessage() {} func (x *BackupStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[95] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5592,18 +5341,16 @@ func (x *BackupStatusResponse) GetTaskIds() []string { } type CancelBackupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CancelBackupRequest) Reset() { *x = CancelBackupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[96] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[96] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CancelBackupRequest) String() string { @@ -5614,7 +5361,7 @@ func (*CancelBackupRequest) ProtoMessage() {} func (x *CancelBackupRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[96] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5630,18 +5377,16 @@ func (*CancelBackupRequest) Descriptor() ([]byte, []int) { } type CancelBackupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CancelBackupResponse) Reset() { *x = CancelBackupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[97] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[97] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CancelBackupResponse) String() string { @@ -5652,7 +5397,7 @@ func (*CancelBackupResponse) ProtoMessage() {} func (x *CancelBackupResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[97] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5668,22 +5413,19 @@ func (*CancelBackupResponse) Descriptor() ([]byte, []int) { } type UpgradeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - IsMajorUpgrade bool `protobuf:"varint,2,opt,name=is_major_upgrade,json=isMajorUpgrade,proto3" json:"is_major_upgrade,omitempty" toml:"is_major_upgrade,omitempty" mapstructure:"is_major_upgrade,omitempty"` - VersionsPath string `protobuf:"bytes,3,opt,name=versions_path,json=versionsPath,proto3" json:"versions_path,omitempty" toml:"versions_path,omitempty" mapstructure:"versions_path,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + IsMajorUpgrade bool `protobuf:"varint,2,opt,name=is_major_upgrade,json=isMajorUpgrade,proto3" json:"is_major_upgrade,omitempty" toml:"is_major_upgrade,omitempty" mapstructure:"is_major_upgrade,omitempty"` + VersionsPath string `protobuf:"bytes,3,opt,name=versions_path,json=versionsPath,proto3" json:"versions_path,omitempty" toml:"versions_path,omitempty" mapstructure:"versions_path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpgradeRequest) Reset() { *x = UpgradeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[98] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[98] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpgradeRequest) String() string { @@ -5694,7 +5436,7 @@ func (*UpgradeRequest) ProtoMessage() {} func (x *UpgradeRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[98] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5731,22 +5473,19 @@ func (x *UpgradeRequest) GetVersionsPath() string { } type UpgradeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PreviousVersion string `protobuf:"bytes,1,opt,name=previous_version,json=previousVersion,proto3" json:"previous_version,omitempty" toml:"previous_version,omitempty" mapstructure:"previous_version,omitempty"` - NextVersion string `protobuf:"bytes,2,opt,name=next_version,json=nextVersion,proto3" json:"next_version,omitempty" toml:"next_version,omitempty" mapstructure:"next_version,omitempty"` - TaskId string `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty" toml:"task_id,omitempty" mapstructure:"task_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PreviousVersion string `protobuf:"bytes,1,opt,name=previous_version,json=previousVersion,proto3" json:"previous_version,omitempty" toml:"previous_version,omitempty" mapstructure:"previous_version,omitempty"` + NextVersion string `protobuf:"bytes,2,opt,name=next_version,json=nextVersion,proto3" json:"next_version,omitempty" toml:"next_version,omitempty" mapstructure:"next_version,omitempty"` + TaskId string `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty" toml:"task_id,omitempty" mapstructure:"task_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpgradeResponse) Reset() { *x = UpgradeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[99] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[99] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpgradeResponse) String() string { @@ -5757,7 +5496,7 @@ func (*UpgradeResponse) ProtoMessage() {} func (x *UpgradeResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[99] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5794,22 +5533,19 @@ func (x *UpgradeResponse) GetTaskId() string { } type ValidatedUpgradeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CurrentVersion string `protobuf:"bytes,1,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty" toml:"current_version,omitempty" mapstructure:"current_version,omitempty"` - TargetVersion string `protobuf:"bytes,2,opt,name=target_version,json=targetVersion,proto3" json:"target_version,omitempty" toml:"target_version,omitempty" mapstructure:"target_version,omitempty"` - TargetMajor string `protobuf:"bytes,3,opt,name=target_major,json=targetMajor,proto3" json:"target_major,omitempty" toml:"target_major,omitempty" mapstructure:"target_major,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + CurrentVersion string `protobuf:"bytes,1,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty" toml:"current_version,omitempty" mapstructure:"current_version,omitempty"` + TargetVersion string `protobuf:"bytes,2,opt,name=target_version,json=targetVersion,proto3" json:"target_version,omitempty" toml:"target_version,omitempty" mapstructure:"target_version,omitempty"` + TargetMajor string `protobuf:"bytes,3,opt,name=target_major,json=targetMajor,proto3" json:"target_major,omitempty" toml:"target_major,omitempty" mapstructure:"target_major,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ValidatedUpgradeResponse) Reset() { *x = ValidatedUpgradeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[100] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[100] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValidatedUpgradeResponse) String() string { @@ -5820,7 +5556,7 @@ func (*ValidatedUpgradeResponse) ProtoMessage() {} func (x *ValidatedUpgradeResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[100] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5857,18 +5593,16 @@ func (x *ValidatedUpgradeResponse) GetTargetMajor() string { } type CurrentReleaseManifestRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CurrentReleaseManifestRequest) Reset() { *x = CurrentReleaseManifestRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[101] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[101] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CurrentReleaseManifestRequest) String() string { @@ -5879,7 +5613,7 @@ func (*CurrentReleaseManifestRequest) ProtoMessage() {} func (x *CurrentReleaseManifestRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[101] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5895,20 +5629,17 @@ func (*CurrentReleaseManifestRequest) Descriptor() ([]byte, []int) { } type ReleaseManifest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Json []byte `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty" toml:"json,omitempty" mapstructure:"json,omitempty"` unknownFields protoimpl.UnknownFields - - Json []byte `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty" toml:"json,omitempty" mapstructure:"json,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReleaseManifest) Reset() { *x = ReleaseManifest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[102] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[102] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReleaseManifest) String() string { @@ -5919,7 +5650,7 @@ func (*ReleaseManifest) ProtoMessage() {} func (x *ReleaseManifest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[102] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5942,18 +5673,16 @@ func (x *ReleaseManifest) GetJson() []byte { } type A1UpgradeStatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *A1UpgradeStatusRequest) Reset() { *x = A1UpgradeStatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[103] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[103] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *A1UpgradeStatusRequest) String() string { @@ -5964,7 +5693,7 @@ func (*A1UpgradeStatusRequest) ProtoMessage() {} func (x *A1UpgradeStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[103] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5980,21 +5709,18 @@ func (*A1UpgradeStatusRequest) Descriptor() ([]byte, []int) { } type A1UpgradeStatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` OverallStatus A1UpgradeStatusResponse_MigrationStatus `protobuf:"varint,1,opt,name=overall_status,json=overallStatus,proto3,enum=chef.automate.domain.deployment.A1UpgradeStatusResponse_MigrationStatus" json:"overall_status,omitempty" toml:"overall_status,omitempty" mapstructure:"overall_status,omitempty"` ServiceStatuses []*A1UpgradeStatusResponse_ServiceMigrationStatus `protobuf:"bytes,2,rep,name=service_statuses,json=serviceStatuses,proto3" json:"service_statuses,omitempty" toml:"service_statuses,omitempty" mapstructure:"service_statuses,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *A1UpgradeStatusResponse) Reset() { *x = A1UpgradeStatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[104] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[104] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *A1UpgradeStatusResponse) String() string { @@ -6005,7 +5731,7 @@ func (*A1UpgradeStatusResponse) ProtoMessage() {} func (x *A1UpgradeStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[104] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6035,20 +5761,17 @@ func (x *A1UpgradeStatusResponse) GetServiceStatuses() []*A1UpgradeStatusRespons } type DeployEvent_Deploy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status DeployEvent_Status `protobuf:"varint,1,opt,name=status,proto3,enum=chef.automate.domain.deployment.DeployEvent_Status" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Status DeployEvent_Status `protobuf:"varint,1,opt,name=status,proto3,enum=chef.automate.domain.deployment.DeployEvent_Status" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeployEvent_Deploy) Reset() { *x = DeployEvent_Deploy{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[106] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[106] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployEvent_Deploy) String() string { @@ -6059,7 +5782,7 @@ func (*DeployEvent_Deploy) ProtoMessage() {} func (x *DeployEvent_Deploy) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[106] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6082,21 +5805,18 @@ func (x *DeployEvent_Deploy) GetStatus() DeployEvent_Status { } type DeployEvent_Phase struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PhaseId DeployEvent_PhaseID `protobuf:"varint,1,opt,name=phase_id,json=phaseId,proto3,enum=chef.automate.domain.deployment.DeployEvent_PhaseID" json:"phase_id,omitempty" toml:"phase_id,omitempty" mapstructure:"phase_id,omitempty"` + Status DeployEvent_Status `protobuf:"varint,2,opt,name=status,proto3,enum=chef.automate.domain.deployment.DeployEvent_Status" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` unknownFields protoimpl.UnknownFields - - PhaseId DeployEvent_PhaseID `protobuf:"varint,1,opt,name=phase_id,json=phaseId,proto3,enum=chef.automate.domain.deployment.DeployEvent_PhaseID" json:"phase_id,omitempty" toml:"phase_id,omitempty" mapstructure:"phase_id,omitempty"` - Status DeployEvent_Status `protobuf:"varint,2,opt,name=status,proto3,enum=chef.automate.domain.deployment.DeployEvent_Status" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeployEvent_Phase) Reset() { *x = DeployEvent_Phase{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[107] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[107] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployEvent_Phase) String() string { @@ -6107,7 +5827,7 @@ func (*DeployEvent_Phase) ProtoMessage() {} func (x *DeployEvent_Phase) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[107] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6137,24 +5857,21 @@ func (x *DeployEvent_Phase) GetStatus() DeployEvent_Status { } type DeployEvent_PhaseStep struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PhaseId DeployEvent_PhaseID `protobuf:"varint,1,opt,name=phase_id,json=phaseId,proto3,enum=chef.automate.domain.deployment.DeployEvent_PhaseID" json:"phase_id,omitempty" toml:"phase_id,omitempty" mapstructure:"phase_id,omitempty"` - StepName string `protobuf:"bytes,2,opt,name=step_name,json=stepName,proto3" json:"step_name,omitempty" toml:"step_name,omitempty" mapstructure:"step_name,omitempty"` - Status DeployEvent_Status `protobuf:"varint,3,opt,name=status,proto3,enum=chef.automate.domain.deployment.DeployEvent_Status" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PhaseId DeployEvent_PhaseID `protobuf:"varint,1,opt,name=phase_id,json=phaseId,proto3,enum=chef.automate.domain.deployment.DeployEvent_PhaseID" json:"phase_id,omitempty" toml:"phase_id,omitempty" mapstructure:"phase_id,omitempty"` + StepName string `protobuf:"bytes,2,opt,name=step_name,json=stepName,proto3" json:"step_name,omitempty" toml:"step_name,omitempty" mapstructure:"step_name,omitempty"` + Status DeployEvent_Status `protobuf:"varint,3,opt,name=status,proto3,enum=chef.automate.domain.deployment.DeployEvent_Status" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` // string description = 4; - Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty" toml:"error,omitempty" mapstructure:"error,omitempty"` + Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty" toml:"error,omitempty" mapstructure:"error,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeployEvent_PhaseStep) Reset() { *x = DeployEvent_PhaseStep{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[108] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[108] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployEvent_PhaseStep) String() string { @@ -6165,7 +5882,7 @@ func (*DeployEvent_PhaseStep) ProtoMessage() {} func (x *DeployEvent_PhaseStep) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[108] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6209,22 +5926,19 @@ func (x *DeployEvent_PhaseStep) GetError() string { } type DeployEvent_Backup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status DeployEvent_Status `protobuf:"varint,1,opt,name=status,proto3,enum=chef.automate.domain.deployment.DeployEvent_Status" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + Operations []*DeployEvent_Backup_Operation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty" toml:"operations,omitempty" mapstructure:"operations,omitempty"` + Description *BackupDescription `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"` unknownFields protoimpl.UnknownFields - - Status DeployEvent_Status `protobuf:"varint,1,opt,name=status,proto3,enum=chef.automate.domain.deployment.DeployEvent_Status" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - Operations []*DeployEvent_Backup_Operation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty" toml:"operations,omitempty" mapstructure:"operations,omitempty"` - Description *BackupDescription `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeployEvent_Backup) Reset() { *x = DeployEvent_Backup{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[109] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[109] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployEvent_Backup) String() string { @@ -6235,7 +5949,7 @@ func (*DeployEvent_Backup) ProtoMessage() {} func (x *DeployEvent_Backup) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[109] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6274,18 +5988,16 @@ func (x *DeployEvent_Backup) GetDescription() *BackupDescription { // TaskComplete is used internally to manage event streams, it is not // sent over the wire. type DeployEvent_TaskComplete struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeployEvent_TaskComplete) Reset() { *x = DeployEvent_TaskComplete{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[110] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[110] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployEvent_TaskComplete) String() string { @@ -6296,7 +6008,7 @@ func (*DeployEvent_TaskComplete) ProtoMessage() {} func (x *DeployEvent_TaskComplete) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[110] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6312,25 +6024,22 @@ func (*DeployEvent_TaskComplete) Descriptor() ([]byte, []int) { } type DeployEvent_Backup_Operation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Status DeployEvent_Status `protobuf:"varint,1,opt,name=status,proto3,enum=chef.automate.domain.deployment.DeployEvent_Status" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty" toml:"error,omitempty" mapstructure:"error,omitempty"` SyncProgress float64 `protobuf:"fixed64,5,opt,name=sync_progress,json=syncProgress,proto3" json:"sync_progress,omitempty" toml:"sync_progress,omitempty" mapstructure:"sync_progress,omitempty"` AsyncProgress float64 `protobuf:"fixed64,6,opt,name=async_progress,json=asyncProgress,proto3" json:"async_progress,omitempty" toml:"async_progress,omitempty" mapstructure:"async_progress,omitempty"` Type DeployEvent_Backup_Operation_Type `protobuf:"varint,7,opt,name=type,proto3,enum=chef.automate.domain.deployment.DeployEvent_Backup_Operation_Type" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeployEvent_Backup_Operation) Reset() { *x = DeployEvent_Backup_Operation{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[111] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[111] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployEvent_Backup_Operation) String() string { @@ -6341,7 +6050,7 @@ func (*DeployEvent_Backup_Operation) ProtoMessage() {} func (x *DeployEvent_Backup_Operation) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[111] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6399,10 +6108,7 @@ func (x *DeployEvent_Backup_Operation) GetType() DeployEvent_Backup_Operation_Ty } type A1UpgradeStatusResponse_ServiceMigrationStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` Status A1UpgradeStatusResponse_MigrationStatus `protobuf:"varint,2,opt,name=status,proto3,enum=chef.automate.domain.deployment.A1UpgradeStatusResponse_MigrationStatus" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` Progress int32 `protobuf:"varint,3,opt,name=progress,proto3" json:"progress,omitempty" toml:"progress,omitempty" mapstructure:"progress,omitempty"` @@ -6410,16 +6116,16 @@ type A1UpgradeStatusResponse_ServiceMigrationStatus struct { // message. In the case of an in-progress migration, // may contain information about what the service is // doing. - Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty" toml:"info,omitempty" mapstructure:"info,omitempty"` + Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty" toml:"info,omitempty" mapstructure:"info,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *A1UpgradeStatusResponse_ServiceMigrationStatus) Reset() { *x = A1UpgradeStatusResponse_ServiceMigrationStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[112] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[112] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *A1UpgradeStatusResponse_ServiceMigrationStatus) String() string { @@ -6430,7 +6136,7 @@ func (*A1UpgradeStatusResponse_ServiceMigrationStatus) ProtoMessage() {} func (x *A1UpgradeStatusResponse_ServiceMigrationStatus) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_automate_deployment_proto_msgTypes[112] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7688,7 +7394,7 @@ func file_interservice_deployment_automate_deployment_proto_rawDescGZIP() []byte var file_interservice_deployment_automate_deployment_proto_enumTypes = make([]protoimpl.EnumInfo, 8) var file_interservice_deployment_automate_deployment_proto_msgTypes = make([]protoimpl.MessageInfo, 113) -var file_interservice_deployment_automate_deployment_proto_goTypes = []interface{}{ +var file_interservice_deployment_automate_deployment_proto_goTypes = []any{ (UpgradeStatusResponse_UpgradeState)(0), // 0: chef.automate.domain.deployment.UpgradeStatusResponse.UpgradeState (DeployEvent_Status)(0), // 1: chef.automate.domain.deployment.DeployEvent.Status (DeployEvent_PhaseID)(0), // 2: chef.automate.domain.deployment.DeployEvent.PhaseID @@ -7996,1353 +7702,7 @@ func file_interservice_deployment_automate_deployment_proto_init() { if File_interservice_deployment_automate_deployment_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_deployment_automate_deployment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ControlIndexUpgradeStatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BootstrapBundleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BootstrapBundleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCLIExecutableRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCLIExecutableResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeInventoryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeInventoryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InfrastructureNodeDeleteRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InfrastructureNodeDeleteResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InventoryNode); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UsageRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UsageResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeUsage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GenerateAdminTokenRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GenerateAdminTokenResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewDeploymentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigureDeploymentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigureDeploymentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployStatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ManifestVersionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PingResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployIDRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopConvergeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopConvergeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartConvergeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartConvergeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceVersionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SystemLogsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpgradeStatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpgradeStatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetLogLevelRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetLogLevelResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpgradingService); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PackageOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigureRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeploymentID); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeploymentStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LogLine); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SupportBundleConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceVersionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceVersion); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LicenseStatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LicenseStatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LicenseApplyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LicenseApplyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GatherLogsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GatherLogsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GatherLogsDownloadRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GatherLogsDownloadResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RestartServicesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RestartServicesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAutomateConfigRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAutomateConfigResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PatchAutomateConfigRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PatchAutomateConfigResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetAutomateConfigRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetAutomateConfigResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DumpDBRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DumpDBResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ManifestVersionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployIDResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackupTask); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackupDescription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*S3BackupLocation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GCSBackupLocation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackupRestoreTask); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackupDeleteTask); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateBackupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateBackupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListBackupsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListBackupsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShowBackupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShowBackupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteBackupsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteBackupsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackupIntegrityShowRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackupIntegrityShowResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SnapshotIntegrity); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidateBackupIntegrityRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidateBackupIntegrityResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RestoreBackupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RestoreBackupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackupStatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackupStatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CancelBackupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CancelBackupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpgradeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpgradeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatedUpgradeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CurrentReleaseManifestRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReleaseManifest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*A1UpgradeStatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*A1UpgradeStatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployEvent_Deploy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployEvent_Phase); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployEvent_PhaseStep); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployEvent_Backup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployEvent_TaskComplete); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployEvent_Backup_Operation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*A1UpgradeStatusResponse_ServiceMigrationStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_interservice_deployment_automate_deployment_proto_msgTypes[44].OneofWrappers = []interface{}{ + file_interservice_deployment_automate_deployment_proto_msgTypes[44].OneofWrappers = []any{ (*DeployEvent_Deploy_)(nil), (*DeployEvent_Phase_)(nil), (*DeployEvent_PhaseStep_)(nil), diff --git a/api/interservice/deployment/certificate_authority.pb.go b/api/interservice/deployment/certificate_authority.pb.go index 18e40fd2ce1..6ee2a58f485 100644 --- a/api/interservice/deployment/certificate_authority.pb.go +++ b/api/interservice/deployment/certificate_authority.pb.go @@ -2,7 +2,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/deployment/certificate_authority.proto @@ -27,18 +27,16 @@ const ( ) type RootCertRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RootCertRequest) Reset() { *x = RootCertRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_certificate_authority_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_certificate_authority_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RootCertRequest) String() string { @@ -49,7 +47,7 @@ func (*RootCertRequest) ProtoMessage() {} func (x *RootCertRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_certificate_authority_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -65,20 +63,17 @@ func (*RootCertRequest) Descriptor() ([]byte, []int) { } type RootCertResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Cert string `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty" toml:"cert,omitempty" mapstructure:"cert,omitempty"` unknownFields protoimpl.UnknownFields - - Cert string `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty" toml:"cert,omitempty" mapstructure:"cert,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RootCertResponse) Reset() { *x = RootCertResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_certificate_authority_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_certificate_authority_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RootCertResponse) String() string { @@ -89,7 +84,7 @@ func (*RootCertResponse) ProtoMessage() {} func (x *RootCertResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_certificate_authority_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -112,18 +107,16 @@ func (x *RootCertResponse) GetCert() string { } type RegenerateRootRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RegenerateRootRequest) Reset() { *x = RegenerateRootRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_certificate_authority_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_certificate_authority_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegenerateRootRequest) String() string { @@ -134,7 +127,7 @@ func (*RegenerateRootRequest) ProtoMessage() {} func (x *RegenerateRootRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_certificate_authority_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -150,18 +143,16 @@ func (*RegenerateRootRequest) Descriptor() ([]byte, []int) { } type RegenerateRootResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RegenerateRootResponse) Reset() { *x = RegenerateRootResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_deployment_certificate_authority_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_deployment_certificate_authority_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegenerateRootResponse) String() string { @@ -172,7 +163,7 @@ func (*RegenerateRootResponse) ProtoMessage() {} func (x *RegenerateRootResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_deployment_certificate_authority_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -239,7 +230,7 @@ func file_interservice_deployment_certificate_authority_proto_rawDescGZIP() []by } var file_interservice_deployment_certificate_authority_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_interservice_deployment_certificate_authority_proto_goTypes = []interface{}{ +var file_interservice_deployment_certificate_authority_proto_goTypes = []any{ (*RootCertRequest)(nil), // 0: chef.automate.domain.deployment.RootCertRequest (*RootCertResponse)(nil), // 1: chef.automate.domain.deployment.RootCertResponse (*RegenerateRootRequest)(nil), // 2: chef.automate.domain.deployment.RegenerateRootRequest @@ -262,56 +253,6 @@ func file_interservice_deployment_certificate_authority_proto_init() { if File_interservice_deployment_certificate_authority_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_deployment_certificate_authority_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RootCertRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_certificate_authority_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RootCertResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_certificate_authority_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RegenerateRootRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_deployment_certificate_authority_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RegenerateRootResponse); 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{ diff --git a/api/interservice/es_sidecar/service.pb.go b/api/interservice/es_sidecar/service.pb.go index 2704b135a1a..b0cfca805a9 100644 --- a/api/interservice/es_sidecar/service.pb.go +++ b/api/interservice/es_sidecar/service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/es_sidecar/service.proto @@ -78,10 +78,7 @@ func (SnapshotState) EnumDescriptor() ([]byte, []int) { } type PurgeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // request identifier Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // index to purge from for Document delete; index base name for time series delete. @@ -95,15 +92,15 @@ type PurgeRequest struct { // the default field, end_time. Values for this field come from client purge policies. // If this field is empty, purge defaults to end_time. CustomPurgeField string `protobuf:"bytes,5,opt,name=custom_purge_field,json=customPurgeField,proto3" json:"custom_purge_field,omitempty" toml:"custom_purge_field,omitempty" mapstructure:"custom_purge_field,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PurgeRequest) Reset() { *x = PurgeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PurgeRequest) String() string { @@ -114,7 +111,7 @@ func (*PurgeRequest) ProtoMessage() {} func (x *PurgeRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -165,22 +162,19 @@ func (x *PurgeRequest) GetCustomPurgeField() string { } type PurgeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty" toml:"success,omitempty" mapstructure:"success,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` + Failures []*PurgeResponse_Failure `protobuf:"bytes,3,rep,name=failures,proto3" json:"failures,omitempty" toml:"failures,omitempty" mapstructure:"failures,omitempty"` unknownFields protoimpl.UnknownFields - - Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty" toml:"success,omitempty" mapstructure:"success,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` - Failures []*PurgeResponse_Failure `protobuf:"bytes,3,rep,name=failures,proto3" json:"failures,omitempty" toml:"failures,omitempty" mapstructure:"failures,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PurgeResponse) Reset() { *x = PurgeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PurgeResponse) String() string { @@ -191,7 +185,7 @@ func (*PurgeResponse) ProtoMessage() {} func (x *PurgeResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -228,20 +222,17 @@ func (x *PurgeResponse) GetFailures() []*PurgeResponse_Failure { } type VersionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` unknownFields protoimpl.UnknownFields - - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + sizeCache protoimpl.SizeCache } func (x *VersionResponse) Reset() { *x = VersionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VersionResponse) String() string { @@ -252,7 +243,7 @@ func (*VersionResponse) ProtoMessage() {} func (x *VersionResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -275,20 +266,17 @@ func (x *VersionResponse) GetVersion() string { } type CreateRepositoryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` unknownFields protoimpl.UnknownFields - - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateRepositoryRequest) Reset() { *x = CreateRepositoryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRepositoryRequest) String() string { @@ -299,7 +287,7 @@ func (*CreateRepositoryRequest) ProtoMessage() {} func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -322,18 +310,16 @@ func (x *CreateRepositoryRequest) GetServiceName() string { } type CreateRepositoryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateRepositoryResponse) Reset() { *x = CreateRepositoryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRepositoryResponse) String() string { @@ -344,7 +330,7 @@ func (*CreateRepositoryResponse) ProtoMessage() {} func (x *CreateRepositoryResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -360,20 +346,17 @@ func (*CreateRepositoryResponse) Descriptor() ([]byte, []int) { } type ConvergeRepositorySettingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` unknownFields protoimpl.UnknownFields - - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ConvergeRepositorySettingsRequest) Reset() { *x = ConvergeRepositorySettingsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConvergeRepositorySettingsRequest) String() string { @@ -384,7 +367,7 @@ func (*ConvergeRepositorySettingsRequest) ProtoMessage() {} func (x *ConvergeRepositorySettingsRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -407,18 +390,16 @@ func (x *ConvergeRepositorySettingsRequest) GetServiceName() string { } type ConvergeRepositorySettingsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConvergeRepositorySettingsResponse) Reset() { *x = ConvergeRepositorySettingsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConvergeRepositorySettingsResponse) String() string { @@ -429,7 +410,7 @@ func (*ConvergeRepositorySettingsResponse) ProtoMessage() {} func (x *ConvergeRepositorySettingsResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -445,20 +426,17 @@ func (*ConvergeRepositorySettingsResponse) Descriptor() ([]byte, []int) { } type RemoveRepositoryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` unknownFields protoimpl.UnknownFields - - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RemoveRepositoryRequest) Reset() { *x = RemoveRepositoryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveRepositoryRequest) String() string { @@ -469,7 +447,7 @@ func (*RemoveRepositoryRequest) ProtoMessage() {} func (x *RemoveRepositoryRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -492,18 +470,16 @@ func (x *RemoveRepositoryRequest) GetServiceName() string { } type RemoveRepositoryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveRepositoryResponse) Reset() { *x = RemoveRepositoryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveRepositoryResponse) String() string { @@ -514,7 +490,7 @@ func (*RemoveRepositoryResponse) ProtoMessage() {} func (x *RemoveRepositoryResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -530,22 +506,19 @@ func (*RemoveRepositoryResponse) Descriptor() ([]byte, []int) { } type CreateSnapshotRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` - MultiIndexSpecification string `protobuf:"bytes,2,opt,name=multi_index_specification,json=multiIndexSpecification,proto3" json:"multi_index_specification,omitempty" toml:"multi_index_specification,omitempty" mapstructure:"multi_index_specification,omitempty"` - BackupId string `protobuf:"bytes,3,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty" toml:"backup_id,omitempty" mapstructure:"backup_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` + MultiIndexSpecification string `protobuf:"bytes,2,opt,name=multi_index_specification,json=multiIndexSpecification,proto3" json:"multi_index_specification,omitempty" toml:"multi_index_specification,omitempty" mapstructure:"multi_index_specification,omitempty"` + BackupId string `protobuf:"bytes,3,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty" toml:"backup_id,omitempty" mapstructure:"backup_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateSnapshotRequest) Reset() { *x = CreateSnapshotRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSnapshotRequest) String() string { @@ -556,7 +529,7 @@ func (*CreateSnapshotRequest) ProtoMessage() {} func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -593,18 +566,16 @@ func (x *CreateSnapshotRequest) GetBackupId() string { } type CreateSnapshotResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateSnapshotResponse) Reset() { *x = CreateSnapshotResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSnapshotResponse) String() string { @@ -615,7 +586,7 @@ func (*CreateSnapshotResponse) ProtoMessage() {} func (x *CreateSnapshotResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -631,21 +602,18 @@ func (*CreateSnapshotResponse) Descriptor() ([]byte, []int) { } type CreateSnapshotStatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` + BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty" toml:"backup_id,omitempty" mapstructure:"backup_id,omitempty"` unknownFields protoimpl.UnknownFields - - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` - BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty" toml:"backup_id,omitempty" mapstructure:"backup_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateSnapshotStatusRequest) Reset() { *x = CreateSnapshotStatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSnapshotStatusRequest) String() string { @@ -656,7 +624,7 @@ func (*CreateSnapshotStatusRequest) ProtoMessage() {} func (x *CreateSnapshotStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -686,22 +654,19 @@ func (x *CreateSnapshotStatusRequest) GetBackupId() string { } type CreateSnapshotStatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SnapshotState SnapshotState `protobuf:"varint,1,opt,name=snapshot_state,json=snapshotState,proto3,enum=chef.automate.infra.es_sidecar.SnapshotState" json:"snapshot_state,omitempty" toml:"snapshot_state,omitempty" mapstructure:"snapshot_state,omitempty"` - ProgressPercentage float64 `protobuf:"fixed64,2,opt,name=progress_percentage,json=progressPercentage,proto3" json:"progress_percentage,omitempty" toml:"progress_percentage,omitempty" mapstructure:"progress_percentage,omitempty"` - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SnapshotState SnapshotState `protobuf:"varint,1,opt,name=snapshot_state,json=snapshotState,proto3,enum=chef.automate.infra.es_sidecar.SnapshotState" json:"snapshot_state,omitempty" toml:"snapshot_state,omitempty" mapstructure:"snapshot_state,omitempty"` + ProgressPercentage float64 `protobuf:"fixed64,2,opt,name=progress_percentage,json=progressPercentage,proto3" json:"progress_percentage,omitempty" toml:"progress_percentage,omitempty" mapstructure:"progress_percentage,omitempty"` + Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateSnapshotStatusResponse) Reset() { *x = CreateSnapshotStatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSnapshotStatusResponse) String() string { @@ -712,7 +677,7 @@ func (*CreateSnapshotStatusResponse) ProtoMessage() {} func (x *CreateSnapshotStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -749,21 +714,18 @@ func (x *CreateSnapshotStatusResponse) GetMessage() string { } type RestoreSnapshotRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` + BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty" toml:"backup_id,omitempty" mapstructure:"backup_id,omitempty"` unknownFields protoimpl.UnknownFields - - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` - BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty" toml:"backup_id,omitempty" mapstructure:"backup_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RestoreSnapshotRequest) Reset() { *x = RestoreSnapshotRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RestoreSnapshotRequest) String() string { @@ -774,7 +736,7 @@ func (*RestoreSnapshotRequest) ProtoMessage() {} func (x *RestoreSnapshotRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -804,18 +766,16 @@ func (x *RestoreSnapshotRequest) GetBackupId() string { } type RestoreSnapshotResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RestoreSnapshotResponse) Reset() { *x = RestoreSnapshotResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RestoreSnapshotResponse) String() string { @@ -826,7 +786,7 @@ func (*RestoreSnapshotResponse) ProtoMessage() {} func (x *RestoreSnapshotResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -842,21 +802,18 @@ func (*RestoreSnapshotResponse) Descriptor() ([]byte, []int) { } type RestoreSnapshotStatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` + BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty" toml:"backup_id,omitempty" mapstructure:"backup_id,omitempty"` unknownFields protoimpl.UnknownFields - - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` - BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty" toml:"backup_id,omitempty" mapstructure:"backup_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RestoreSnapshotStatusRequest) Reset() { *x = RestoreSnapshotStatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RestoreSnapshotStatusRequest) String() string { @@ -867,7 +824,7 @@ func (*RestoreSnapshotStatusRequest) ProtoMessage() {} func (x *RestoreSnapshotStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -897,22 +854,19 @@ func (x *RestoreSnapshotStatusRequest) GetBackupId() string { } type RestoreSnapshotStatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SnapshotState SnapshotState `protobuf:"varint,1,opt,name=snapshot_state,json=snapshotState,proto3,enum=chef.automate.infra.es_sidecar.SnapshotState" json:"snapshot_state,omitempty" toml:"snapshot_state,omitempty" mapstructure:"snapshot_state,omitempty"` - ProgressPercentage float64 `protobuf:"fixed64,2,opt,name=progress_percentage,json=progressPercentage,proto3" json:"progress_percentage,omitempty" toml:"progress_percentage,omitempty" mapstructure:"progress_percentage,omitempty"` - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SnapshotState SnapshotState `protobuf:"varint,1,opt,name=snapshot_state,json=snapshotState,proto3,enum=chef.automate.infra.es_sidecar.SnapshotState" json:"snapshot_state,omitempty" toml:"snapshot_state,omitempty" mapstructure:"snapshot_state,omitempty"` + ProgressPercentage float64 `protobuf:"fixed64,2,opt,name=progress_percentage,json=progressPercentage,proto3" json:"progress_percentage,omitempty" toml:"progress_percentage,omitempty" mapstructure:"progress_percentage,omitempty"` + Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RestoreSnapshotStatusResponse) Reset() { *x = RestoreSnapshotStatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RestoreSnapshotStatusResponse) String() string { @@ -923,7 +877,7 @@ func (*RestoreSnapshotStatusResponse) ProtoMessage() {} func (x *RestoreSnapshotStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -960,21 +914,18 @@ func (x *RestoreSnapshotStatusResponse) GetMessage() string { } type DeleteSnapshotRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` + BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty" toml:"backup_id,omitempty" mapstructure:"backup_id,omitempty"` unknownFields protoimpl.UnknownFields - - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" toml:"service_name,omitempty" mapstructure:"service_name,omitempty"` - BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty" toml:"backup_id,omitempty" mapstructure:"backup_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteSnapshotRequest) Reset() { *x = DeleteSnapshotRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteSnapshotRequest) String() string { @@ -985,7 +936,7 @@ func (*DeleteSnapshotRequest) ProtoMessage() {} func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1015,18 +966,16 @@ func (x *DeleteSnapshotRequest) GetBackupId() string { } type DeleteSnapshotResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteSnapshotResponse) Reset() { *x = DeleteSnapshotResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteSnapshotResponse) String() string { @@ -1037,7 +986,7 @@ func (*DeleteSnapshotResponse) ProtoMessage() {} func (x *DeleteSnapshotResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1053,21 +1002,18 @@ func (*DeleteSnapshotResponse) Descriptor() ([]byte, []int) { } type PurgeResponse_Failure struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // doc id or index name + Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` // document unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // doc id or index name - Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` // document + sizeCache protoimpl.SizeCache } func (x *PurgeResponse_Failure) Reset() { *x = PurgeResponse_Failure{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_es_sidecar_service_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_es_sidecar_service_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PurgeResponse_Failure) String() string { @@ -1078,7 +1024,7 @@ func (*PurgeResponse_Failure) ProtoMessage() {} func (x *PurgeResponse_Failure) ProtoReflect() protoreflect.Message { mi := &file_interservice_es_sidecar_service_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1341,7 +1287,7 @@ func file_interservice_es_sidecar_service_proto_rawDescGZIP() []byte { var file_interservice_es_sidecar_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_interservice_es_sidecar_service_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_interservice_es_sidecar_service_proto_goTypes = []interface{}{ +var file_interservice_es_sidecar_service_proto_goTypes = []any{ (SnapshotState)(0), // 0: chef.automate.infra.es_sidecar.SnapshotState (*PurgeRequest)(nil), // 1: chef.automate.infra.es_sidecar.PurgeRequest (*PurgeResponse)(nil), // 2: chef.automate.infra.es_sidecar.PurgeResponse @@ -1403,248 +1349,6 @@ func file_interservice_es_sidecar_service_proto_init() { if File_interservice_es_sidecar_service_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_es_sidecar_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PurgeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PurgeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VersionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRepositoryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRepositoryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConvergeRepositorySettingsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConvergeRepositorySettingsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveRepositoryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveRepositoryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSnapshotRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSnapshotResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSnapshotStatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSnapshotStatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RestoreSnapshotRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RestoreSnapshotResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RestoreSnapshotStatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RestoreSnapshotStatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteSnapshotRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteSnapshotResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_es_sidecar_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PurgeResponse_Failure); 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{ diff --git a/api/interservice/event/event.pb.go b/api/interservice/event/event.pb.go index 25c0e60fc20..f15987f1bb5 100644 --- a/api/interservice/event/event.pb.go +++ b/api/interservice/event/event.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/event/event.proto @@ -27,20 +27,17 @@ const ( ) type EventType struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *EventType) Reset() { *x = EventType{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_event_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_event_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EventType) String() string { @@ -51,7 +48,7 @@ func (*EventType) ProtoMessage() {} func (x *EventType) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_event_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -74,23 +71,20 @@ func (x *EventType) GetName() string { } type Producer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + ProducerName string `protobuf:"bytes,2,opt,name=producer_name,json=producerName,proto3" json:"producer_name,omitempty" toml:"producer_name,omitempty" mapstructure:"producer_name,omitempty"` + ProducerType string `protobuf:"bytes,3,opt,name=producer_type,json=producerType,proto3" json:"producer_type,omitempty" toml:"producer_type,omitempty" mapstructure:"producer_type,omitempty"` + Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty" toml:"tags,omitempty" mapstructure:"tags,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - ProducerName string `protobuf:"bytes,2,opt,name=producer_name,json=producerName,proto3" json:"producer_name,omitempty" toml:"producer_name,omitempty" mapstructure:"producer_name,omitempty"` - ProducerType string `protobuf:"bytes,3,opt,name=producer_type,json=producerType,proto3" json:"producer_type,omitempty" toml:"producer_type,omitempty" mapstructure:"producer_type,omitempty"` - Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty" toml:"tags,omitempty" mapstructure:"tags,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Producer) Reset() { *x = Producer{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_event_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_event_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Producer) String() string { @@ -101,7 +95,7 @@ func (*Producer) ProtoMessage() {} func (x *Producer) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_event_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -145,22 +139,19 @@ func (x *Producer) GetTags() []string { } type Actor struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + ObjectType string `protobuf:"bytes,2,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty" toml:"object_type,omitempty" mapstructure:"object_type,omitempty"` + DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" toml:"display_name,omitempty" mapstructure:"display_name,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - ObjectType string `protobuf:"bytes,2,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty" toml:"object_type,omitempty" mapstructure:"object_type,omitempty"` - DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" toml:"display_name,omitempty" mapstructure:"display_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Actor) Reset() { *x = Actor{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_event_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_event_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Actor) String() string { @@ -171,7 +162,7 @@ func (*Actor) ProtoMessage() {} func (x *Actor) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_event_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -208,22 +199,19 @@ func (x *Actor) GetDisplayName() string { } type Object struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + ObjectType string `protobuf:"bytes,2,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty" toml:"object_type,omitempty" mapstructure:"object_type,omitempty"` + DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" toml:"display_name,omitempty" mapstructure:"display_name,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - ObjectType string `protobuf:"bytes,2,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty" toml:"object_type,omitempty" mapstructure:"object_type,omitempty"` - DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" toml:"display_name,omitempty" mapstructure:"display_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Object) Reset() { *x = Object{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_event_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_event_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Object) String() string { @@ -234,7 +222,7 @@ func (*Object) ProtoMessage() {} func (x *Object) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_event_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -271,22 +259,19 @@ func (x *Object) GetDisplayName() string { } type Target struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + ObjectType string `protobuf:"bytes,2,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty" toml:"object_type,omitempty" mapstructure:"object_type,omitempty"` + DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" toml:"display_name,omitempty" mapstructure:"display_name,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - ObjectType string `protobuf:"bytes,2,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty" toml:"object_type,omitempty" mapstructure:"object_type,omitempty"` - DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" toml:"display_name,omitempty" mapstructure:"display_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Target) Reset() { *x = Target{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_event_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_event_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Target) String() string { @@ -297,7 +282,7 @@ func (*Target) ProtoMessage() {} func (x *Target) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_event_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -334,30 +319,27 @@ func (x *Target) GetDisplayName() string { } type EventMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty" toml:"event_id,omitempty" mapstructure:"event_id,omitempty"` + Type *EventType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + Producer *Producer `protobuf:"bytes,3,opt,name=producer,proto3" json:"producer,omitempty" toml:"producer,omitempty" mapstructure:"producer,omitempty"` + Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty" toml:"tags,omitempty" mapstructure:"tags,omitempty"` + Published *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=published,proto3" json:"published,omitempty" toml:"published,omitempty" mapstructure:"published,omitempty"` + Actor *Actor `protobuf:"bytes,6,opt,name=actor,proto3" json:"actor,omitempty" toml:"actor,omitempty" mapstructure:"actor,omitempty"` + Verb string `protobuf:"bytes,7,opt,name=verb,proto3" json:"verb,omitempty" toml:"verb,omitempty" mapstructure:"verb,omitempty"` + Object *Object `protobuf:"bytes,8,opt,name=object,proto3" json:"object,omitempty" toml:"object,omitempty" mapstructure:"object,omitempty"` + Target *Target `protobuf:"bytes,9,opt,name=target,proto3" json:"target,omitempty" toml:"target,omitempty" mapstructure:"target,omitempty"` + Data *structpb.Struct `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` + Projects []string `protobuf:"bytes,11,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty" toml:"event_id,omitempty" mapstructure:"event_id,omitempty"` - Type *EventType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` - Producer *Producer `protobuf:"bytes,3,opt,name=producer,proto3" json:"producer,omitempty" toml:"producer,omitempty" mapstructure:"producer,omitempty"` - Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty" toml:"tags,omitempty" mapstructure:"tags,omitempty"` - Published *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=published,proto3" json:"published,omitempty" toml:"published,omitempty" mapstructure:"published,omitempty"` - Actor *Actor `protobuf:"bytes,6,opt,name=actor,proto3" json:"actor,omitempty" toml:"actor,omitempty" mapstructure:"actor,omitempty"` - Verb string `protobuf:"bytes,7,opt,name=verb,proto3" json:"verb,omitempty" toml:"verb,omitempty" mapstructure:"verb,omitempty"` - Object *Object `protobuf:"bytes,8,opt,name=object,proto3" json:"object,omitempty" toml:"object,omitempty" mapstructure:"object,omitempty"` - Target *Target `protobuf:"bytes,9,opt,name=target,proto3" json:"target,omitempty" toml:"target,omitempty" mapstructure:"target,omitempty"` - Data *structpb.Struct `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` - Projects []string `protobuf:"bytes,11,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *EventMsg) Reset() { *x = EventMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_event_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_event_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EventMsg) String() string { @@ -368,7 +350,7 @@ func (*EventMsg) ProtoMessage() {} func (x *EventMsg) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_event_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -461,20 +443,17 @@ func (x *EventMsg) GetProjects() []string { } type EventResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty" toml:"success,omitempty" mapstructure:"success,omitempty"` unknownFields protoimpl.UnknownFields - - Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty" toml:"success,omitempty" mapstructure:"success,omitempty"` + sizeCache protoimpl.SizeCache } func (x *EventResponse) Reset() { *x = EventResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_event_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_event_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EventResponse) String() string { @@ -485,7 +464,7 @@ func (*EventResponse) ProtoMessage() {} func (x *EventResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_event_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -508,20 +487,17 @@ func (x *EventResponse) GetSuccess() bool { } type PublishRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Msg *EventMsg `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty" toml:"msg,omitempty" mapstructure:"msg,omitempty"` unknownFields protoimpl.UnknownFields - - Msg *EventMsg `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty" toml:"msg,omitempty" mapstructure:"msg,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PublishRequest) Reset() { *x = PublishRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_event_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_event_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PublishRequest) String() string { @@ -532,7 +508,7 @@ func (*PublishRequest) ProtoMessage() {} func (x *PublishRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_event_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -555,20 +531,17 @@ func (x *PublishRequest) GetMsg() *EventMsg { } type PublishResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty" toml:"success,omitempty" mapstructure:"success,omitempty"` unknownFields protoimpl.UnknownFields - - Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty" toml:"success,omitempty" mapstructure:"success,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PublishResponse) Reset() { *x = PublishResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_event_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_event_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PublishResponse) String() string { @@ -579,7 +552,7 @@ func (*PublishResponse) ProtoMessage() {} func (x *PublishResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_event_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -602,18 +575,16 @@ func (x *PublishResponse) GetSuccess() bool { } type SubscribeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SubscribeRequest) Reset() { *x = SubscribeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_event_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_event_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscribeRequest) String() string { @@ -624,7 +595,7 @@ func (*SubscribeRequest) ProtoMessage() {} func (x *SubscribeRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_event_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -640,18 +611,16 @@ func (*SubscribeRequest) Descriptor() ([]byte, []int) { } type SubscribeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SubscribeResponse) Reset() { *x = SubscribeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_event_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_event_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscribeResponse) String() string { @@ -662,7 +631,7 @@ func (*SubscribeResponse) ProtoMessage() {} func (x *SubscribeResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_event_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -678,18 +647,16 @@ func (*SubscribeResponse) Descriptor() ([]byte, []int) { } type StartRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartRequest) Reset() { *x = StartRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_event_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_event_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartRequest) String() string { @@ -700,7 +667,7 @@ func (*StartRequest) ProtoMessage() {} func (x *StartRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_event_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -716,18 +683,16 @@ func (*StartRequest) Descriptor() ([]byte, []int) { } type StartResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartResponse) Reset() { *x = StartResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_event_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_event_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartResponse) String() string { @@ -738,7 +703,7 @@ func (*StartResponse) ProtoMessage() {} func (x *StartResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_event_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -754,18 +719,16 @@ func (*StartResponse) Descriptor() ([]byte, []int) { } type StopRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopRequest) Reset() { *x = StopRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_event_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_event_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopRequest) String() string { @@ -776,7 +739,7 @@ func (*StopRequest) ProtoMessage() {} func (x *StopRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_event_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -792,18 +755,16 @@ func (*StopRequest) Descriptor() ([]byte, []int) { } type StopResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopResponse) Reset() { *x = StopResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_event_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_event_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopResponse) String() string { @@ -814,7 +775,7 @@ func (*StopResponse) ProtoMessage() {} func (x *StopResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_event_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -964,7 +925,7 @@ func file_interservice_event_event_proto_rawDescGZIP() []byte { } var file_interservice_event_event_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_interservice_event_event_proto_goTypes = []interface{}{ +var file_interservice_event_event_proto_goTypes = []any{ (*EventType)(nil), // 0: chef.automate.domain.event.api.EventType (*Producer)(nil), // 1: chef.automate.domain.event.api.Producer (*Actor)(nil), // 2: chef.automate.domain.event.api.Actor @@ -1012,188 +973,6 @@ func file_interservice_event_event_proto_init() { if File_interservice_event_event_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_event_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_event_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Producer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_event_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Actor); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_event_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Object); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_event_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Target); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_event_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_event_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_event_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PublishRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_event_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PublishResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_event_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubscribeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_event_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubscribeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_event_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_event_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_event_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_event_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopResponse); 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{ diff --git a/api/interservice/event_feed/event_feed.pb.go b/api/interservice/event_feed/event_feed.pb.go index a5348847c09..585310c3d8e 100644 --- a/api/interservice/event_feed/event_feed.pb.go +++ b/api/interservice/event_feed/event_feed.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/event_feed/event_feed.proto @@ -31,28 +31,25 @@ const ( ) type FeedRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" toml:"user_id,omitempty" mapstructure:"user_id,omitempty"` + Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty" toml:"size,omitempty" mapstructure:"size,omitempty"` + Start int64 `protobuf:"varint,4,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` + End int64 `protobuf:"varint,5,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` + Before int64 `protobuf:"varint,6,opt,name=before,proto3" json:"before,omitempty" toml:"before,omitempty" mapstructure:"before,omitempty"` + After int64 `protobuf:"varint,7,opt,name=after,proto3" json:"after,omitempty" toml:"after,omitempty" mapstructure:"after,omitempty"` + Sort []string `protobuf:"bytes,8,rep,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` + Filters []string `protobuf:"bytes,9,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` + Cursor string `protobuf:"bytes,10,opt,name=cursor,proto3" json:"cursor,omitempty" toml:"cursor,omitempty" mapstructure:"cursor,omitempty"` unknownFields protoimpl.UnknownFields - - UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" toml:"user_id,omitempty" mapstructure:"user_id,omitempty"` - Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty" toml:"size,omitempty" mapstructure:"size,omitempty"` - Start int64 `protobuf:"varint,4,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` - End int64 `protobuf:"varint,5,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` - Before int64 `protobuf:"varint,6,opt,name=before,proto3" json:"before,omitempty" toml:"before,omitempty" mapstructure:"before,omitempty"` - After int64 `protobuf:"varint,7,opt,name=after,proto3" json:"after,omitempty" toml:"after,omitempty" mapstructure:"after,omitempty"` - Sort []string `protobuf:"bytes,8,rep,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` - Filters []string `protobuf:"bytes,9,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` - Cursor string `protobuf:"bytes,10,opt,name=cursor,proto3" json:"cursor,omitempty" toml:"cursor,omitempty" mapstructure:"cursor,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FeedRequest) Reset() { *x = FeedRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_feed_event_feed_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_feed_event_feed_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FeedRequest) String() string { @@ -63,7 +60,7 @@ func (*FeedRequest) ProtoMessage() {} func (x *FeedRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_feed_event_feed_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -142,21 +139,18 @@ func (x *FeedRequest) GetCursor() string { } type FeedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + FeedEntries []*FeedEntry `protobuf:"bytes,1,rep,name=feed_entries,json=feedEntries,proto3" json:"feed_entries,omitempty" toml:"feed_entries,omitempty" mapstructure:"feed_entries,omitempty"` + TotalEntries int64 `protobuf:"varint,2,opt,name=total_entries,json=totalEntries,proto3" json:"total_entries,omitempty" toml:"total_entries,omitempty" mapstructure:"total_entries,omitempty"` unknownFields protoimpl.UnknownFields - - FeedEntries []*FeedEntry `protobuf:"bytes,1,rep,name=feed_entries,json=feedEntries,proto3" json:"feed_entries,omitempty" toml:"feed_entries,omitempty" mapstructure:"feed_entries,omitempty"` - TotalEntries int64 `protobuf:"varint,2,opt,name=total_entries,json=totalEntries,proto3" json:"total_entries,omitempty" toml:"total_entries,omitempty" mapstructure:"total_entries,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FeedResponse) Reset() { *x = FeedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_feed_event_feed_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_feed_event_feed_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FeedResponse) String() string { @@ -167,7 +161,7 @@ func (*FeedResponse) ProtoMessage() {} func (x *FeedResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_feed_event_feed_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -197,10 +191,7 @@ func (x *FeedResponse) GetTotalEntries() int64 { } type FeedEntry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` EventType string `protobuf:"bytes,2,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty" toml:"event_type,omitempty" mapstructure:"event_type,omitempty"` FeedType string `protobuf:"bytes,3,opt,name=feed_type,json=feedType,proto3" json:"feed_type,omitempty" toml:"feed_type,omitempty" mapstructure:"feed_type,omitempty"` @@ -217,15 +208,15 @@ type FeedEntry struct { ChefOrganization string `protobuf:"bytes,13,opt,name=chef_organization,json=chefOrganization,proto3" json:"chef_organization,omitempty" toml:"chef_organization,omitempty" mapstructure:"chef_organization,omitempty"` // Event's Chef Infra Server ChefInfraServer string `protobuf:"bytes,14,opt,name=chef_infra_server,json=chefInfraServer,proto3" json:"chef_infra_server,omitempty" toml:"chef_infra_server,omitempty" mapstructure:"chef_infra_server,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FeedEntry) Reset() { *x = FeedEntry{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_feed_event_feed_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_feed_event_feed_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FeedEntry) String() string { @@ -236,7 +227,7 @@ func (*FeedEntry) ProtoMessage() {} func (x *FeedEntry) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_feed_event_feed_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -350,21 +341,18 @@ func (x *FeedEntry) GetChefInfraServer() string { } type Parent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Parent) Reset() { *x = Parent{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_feed_event_feed_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_feed_event_feed_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Parent) String() string { @@ -375,7 +363,7 @@ func (*Parent) ProtoMessage() {} func (x *Parent) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_feed_event_feed_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -405,23 +393,20 @@ func (x *Parent) GetName() string { } type Producer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + ObjectType string `protobuf:"bytes,3,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty" toml:"object_type,omitempty" mapstructure:"object_type,omitempty"` + PTags []string `protobuf:"bytes,4,rep,name=p_tags,json=pTags,proto3" json:"p_tags,omitempty" toml:"p_tags,omitempty" mapstructure:"p_tags,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - ObjectType string `protobuf:"bytes,3,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty" toml:"object_type,omitempty" mapstructure:"object_type,omitempty"` - PTags []string `protobuf:"bytes,4,rep,name=p_tags,json=pTags,proto3" json:"p_tags,omitempty" toml:"p_tags,omitempty" mapstructure:"p_tags,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Producer) Reset() { *x = Producer{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_feed_event_feed_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_feed_event_feed_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Producer) String() string { @@ -432,7 +417,7 @@ func (*Producer) ProtoMessage() {} func (x *Producer) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_feed_event_feed_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -476,22 +461,19 @@ func (x *Producer) GetPTags() []string { } type Actor struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + ObjectType string `protobuf:"bytes,3,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty" toml:"object_type,omitempty" mapstructure:"object_type,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - ObjectType string `protobuf:"bytes,3,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty" toml:"object_type,omitempty" mapstructure:"object_type,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Actor) Reset() { *x = Actor{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_feed_event_feed_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_feed_event_feed_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Actor) String() string { @@ -502,7 +484,7 @@ func (*Actor) ProtoMessage() {} func (x *Actor) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_feed_event_feed_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -539,22 +521,19 @@ func (x *Actor) GetObjectType() string { } type Object struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + ObjectType string `protobuf:"bytes,3,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty" toml:"object_type,omitempty" mapstructure:"object_type,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - ObjectType string `protobuf:"bytes,3,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty" toml:"object_type,omitempty" mapstructure:"object_type,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Object) Reset() { *x = Object{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_feed_event_feed_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_feed_event_feed_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Object) String() string { @@ -565,7 +544,7 @@ func (*Object) ProtoMessage() {} func (x *Object) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_feed_event_feed_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -602,22 +581,19 @@ func (x *Object) GetObjectType() string { } type Target struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + ObjectType string `protobuf:"bytes,3,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty" toml:"object_type,omitempty" mapstructure:"object_type,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - ObjectType string `protobuf:"bytes,3,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty" toml:"object_type,omitempty" mapstructure:"object_type,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Target) Reset() { *x = Target{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_feed_event_feed_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_feed_event_feed_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Target) String() string { @@ -628,7 +604,7 @@ func (*Target) ProtoMessage() {} func (x *Target) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_feed_event_feed_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -665,26 +641,23 @@ func (x *Target) GetObjectType() string { } type FeedSummaryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` + End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` + Size int32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty" toml:"size,omitempty" mapstructure:"size,omitempty"` + From int32 `protobuf:"varint,5,opt,name=from,proto3" json:"from,omitempty" toml:"from,omitempty" mapstructure:"from,omitempty"` + StartAfter string `protobuf:"bytes,6,opt,name=start_after,json=startAfter,proto3" json:"start_after,omitempty" toml:"start_after,omitempty" mapstructure:"start_after,omitempty"` + Filters []string `protobuf:"bytes,7,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` + CountCategory string `protobuf:"bytes,9,opt,name=count_category,json=countCategory,proto3" json:"count_category,omitempty" toml:"count_category,omitempty" mapstructure:"count_category,omitempty"` unknownFields protoimpl.UnknownFields - - Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` - End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` - Size int32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty" toml:"size,omitempty" mapstructure:"size,omitempty"` - From int32 `protobuf:"varint,5,opt,name=from,proto3" json:"from,omitempty" toml:"from,omitempty" mapstructure:"from,omitempty"` - StartAfter string `protobuf:"bytes,6,opt,name=start_after,json=startAfter,proto3" json:"start_after,omitempty" toml:"start_after,omitempty" mapstructure:"start_after,omitempty"` - Filters []string `protobuf:"bytes,7,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` - CountCategory string `protobuf:"bytes,9,opt,name=count_category,json=countCategory,proto3" json:"count_category,omitempty" toml:"count_category,omitempty" mapstructure:"count_category,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FeedSummaryRequest) Reset() { *x = FeedSummaryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_feed_event_feed_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_feed_event_feed_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FeedSummaryRequest) String() string { @@ -695,7 +668,7 @@ func (*FeedSummaryRequest) ProtoMessage() {} func (x *FeedSummaryRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_feed_event_feed_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -760,21 +733,18 @@ func (x *FeedSummaryRequest) GetCountCategory() string { } type FeedSummaryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TotalEntries int64 `protobuf:"varint,1,opt,name=total_entries,json=totalEntries,proto3" json:"total_entries,omitempty" toml:"total_entries,omitempty" mapstructure:"total_entries,omitempty"` + EntryCounts []*EntryCount `protobuf:"bytes,2,rep,name=entry_counts,json=entryCounts,proto3" json:"entry_counts,omitempty" toml:"entry_counts,omitempty" mapstructure:"entry_counts,omitempty"` unknownFields protoimpl.UnknownFields - - TotalEntries int64 `protobuf:"varint,1,opt,name=total_entries,json=totalEntries,proto3" json:"total_entries,omitempty" toml:"total_entries,omitempty" mapstructure:"total_entries,omitempty"` - EntryCounts []*EntryCount `protobuf:"bytes,2,rep,name=entry_counts,json=entryCounts,proto3" json:"entry_counts,omitempty" toml:"entry_counts,omitempty" mapstructure:"entry_counts,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FeedSummaryResponse) Reset() { *x = FeedSummaryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_feed_event_feed_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_feed_event_feed_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FeedSummaryResponse) String() string { @@ -785,7 +755,7 @@ func (*FeedSummaryResponse) ProtoMessage() {} func (x *FeedSummaryResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_feed_event_feed_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -815,21 +785,18 @@ func (x *FeedSummaryResponse) GetEntryCounts() []*EntryCount { } type EntryCount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty" toml:"category,omitempty" mapstructure:"category,omitempty"` + Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty" toml:"count,omitempty" mapstructure:"count,omitempty"` unknownFields protoimpl.UnknownFields - - Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty" toml:"category,omitempty" mapstructure:"category,omitempty"` - Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty" toml:"count,omitempty" mapstructure:"count,omitempty"` + sizeCache protoimpl.SizeCache } func (x *EntryCount) Reset() { *x = EntryCount{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_feed_event_feed_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_feed_event_feed_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EntryCount) String() string { @@ -840,7 +807,7 @@ func (*EntryCount) ProtoMessage() {} func (x *EntryCount) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_feed_event_feed_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -870,24 +837,21 @@ func (x *EntryCount) GetCount() int64 { } type FeedTimelineRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` + End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` + Timezone string `protobuf:"bytes,3,opt,name=timezone,proto3" json:"timezone,omitempty" toml:"timezone,omitempty" mapstructure:"timezone,omitempty"` + Interval int32 `protobuf:"varint,4,opt,name=interval,proto3" json:"interval,omitempty" toml:"interval,omitempty" mapstructure:"interval,omitempty"` + Filters []string `protobuf:"bytes,5,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` unknownFields protoimpl.UnknownFields - - Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` - End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` - Timezone string `protobuf:"bytes,3,opt,name=timezone,proto3" json:"timezone,omitempty" toml:"timezone,omitempty" mapstructure:"timezone,omitempty"` - Interval int32 `protobuf:"varint,4,opt,name=interval,proto3" json:"interval,omitempty" toml:"interval,omitempty" mapstructure:"interval,omitempty"` - Filters []string `protobuf:"bytes,5,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FeedTimelineRequest) Reset() { *x = FeedTimelineRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_feed_event_feed_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_feed_event_feed_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FeedTimelineRequest) String() string { @@ -898,7 +862,7 @@ func (*FeedTimelineRequest) ProtoMessage() {} func (x *FeedTimelineRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_feed_event_feed_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -949,23 +913,20 @@ func (x *FeedTimelineRequest) GetFilters() []string { } type FeedTimelineResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` + End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` + Interval int32 `protobuf:"varint,3,opt,name=interval,proto3" json:"interval,omitempty" toml:"interval,omitempty" mapstructure:"interval,omitempty"` + ActionLines []*ActionLine `protobuf:"bytes,4,rep,name=action_lines,json=actionLines,proto3" json:"action_lines,omitempty" toml:"action_lines,omitempty" mapstructure:"action_lines,omitempty"` unknownFields protoimpl.UnknownFields - - Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` - End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` - Interval int32 `protobuf:"varint,3,opt,name=interval,proto3" json:"interval,omitempty" toml:"interval,omitempty" mapstructure:"interval,omitempty"` - ActionLines []*ActionLine `protobuf:"bytes,4,rep,name=action_lines,json=actionLines,proto3" json:"action_lines,omitempty" toml:"action_lines,omitempty" mapstructure:"action_lines,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FeedTimelineResponse) Reset() { *x = FeedTimelineResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_feed_event_feed_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_feed_event_feed_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FeedTimelineResponse) String() string { @@ -976,7 +937,7 @@ func (*FeedTimelineResponse) ProtoMessage() {} func (x *FeedTimelineResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_feed_event_feed_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1020,21 +981,18 @@ func (x *FeedTimelineResponse) GetActionLines() []*ActionLine { } type ActionLine struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"` + Slots []*Timeslot `protobuf:"bytes,2,rep,name=slots,proto3" json:"slots,omitempty" toml:"slots,omitempty" mapstructure:"slots,omitempty"` unknownFields protoimpl.UnknownFields - - Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"` - Slots []*Timeslot `protobuf:"bytes,2,rep,name=slots,proto3" json:"slots,omitempty" toml:"slots,omitempty" mapstructure:"slots,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ActionLine) Reset() { *x = ActionLine{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_feed_event_feed_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_feed_event_feed_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ActionLine) String() string { @@ -1045,7 +1003,7 @@ func (*ActionLine) ProtoMessage() {} func (x *ActionLine) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_feed_event_feed_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1075,20 +1033,17 @@ func (x *ActionLine) GetSlots() []*Timeslot { } type Timeslot struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Counts []*EntryCount `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty" toml:"counts,omitempty" mapstructure:"counts,omitempty"` unknownFields protoimpl.UnknownFields - - Counts []*EntryCount `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty" toml:"counts,omitempty" mapstructure:"counts,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Timeslot) Reset() { *x = Timeslot{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_feed_event_feed_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_feed_event_feed_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Timeslot) String() string { @@ -1099,7 +1054,7 @@ func (*Timeslot) ProtoMessage() {} func (x *Timeslot) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_feed_event_feed_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1122,21 +1077,18 @@ func (x *Timeslot) GetCounts() []*EntryCount { } type EventExportResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Exported reports in JSON or CSV. - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"` + Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EventExportResponse) Reset() { *x = EventExportResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_feed_event_feed_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_feed_event_feed_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EventExportResponse) String() string { @@ -1147,7 +1099,7 @@ func (*EventExportResponse) ProtoMessage() {} func (x *EventExportResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_feed_event_feed_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1170,10 +1122,7 @@ func (x *EventExportResponse) GetContent() []byte { } type EventExportRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // JSON or CSV OutputType string `protobuf:"bytes,1,opt,name=output_type,json=outputType,proto3" json:"output_type,omitempty" toml:"output_type,omitempty" mapstructure:"output_type,omitempty"` // Filters to be applied to the request. @@ -1183,16 +1132,16 @@ type EventExportRequest struct { // Latest events to return. End int64 `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` // Order the results should be returned in. - Order query.SortOrder `protobuf:"varint,5,opt,name=order,proto3,enum=chef.automate.api.common.query.SortOrder" json:"order,omitempty" toml:"order,omitempty" mapstructure:"order,omitempty"` + Order query.SortOrder `protobuf:"varint,5,opt,name=order,proto3,enum=chef.automate.api.common.query.SortOrder" json:"order,omitempty" toml:"order,omitempty" mapstructure:"order,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EventExportRequest) Reset() { *x = EventExportRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_event_feed_event_feed_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_event_feed_event_feed_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EventExportRequest) String() string { @@ -1203,7 +1152,7 @@ func (*EventExportRequest) ProtoMessage() {} func (x *EventExportRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_event_feed_event_feed_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1497,7 +1446,7 @@ func file_interservice_event_feed_event_feed_proto_rawDescGZIP() []byte { } var file_interservice_event_feed_event_feed_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_interservice_event_feed_event_feed_proto_goTypes = []interface{}{ +var file_interservice_event_feed_event_feed_proto_goTypes = []any{ (*FeedRequest)(nil), // 0: chef.automate.domain.event_feed.api.FeedRequest (*FeedResponse)(nil), // 1: chef.automate.domain.event_feed.api.FeedResponse (*FeedEntry)(nil), // 2: chef.automate.domain.event_feed.api.FeedEntry @@ -1556,212 +1505,6 @@ func file_interservice_event_feed_event_feed_proto_init() { if File_interservice_event_feed_event_feed_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_event_feed_event_feed_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FeedRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_feed_event_feed_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FeedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_feed_event_feed_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FeedEntry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_feed_event_feed_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Parent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_feed_event_feed_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Producer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_feed_event_feed_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Actor); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_feed_event_feed_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Object); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_feed_event_feed_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Target); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_feed_event_feed_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FeedSummaryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_feed_event_feed_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FeedSummaryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_feed_event_feed_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EntryCount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_feed_event_feed_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FeedTimelineRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_feed_event_feed_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FeedTimelineResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_feed_event_feed_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActionLine); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_feed_event_feed_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Timeslot); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_feed_event_feed_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventExportResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_event_feed_event_feed_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventExportRequest); 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{ diff --git a/api/interservice/id_token/id_token.pb.go b/api/interservice/id_token/id_token.pb.go index 02cbaa8eec9..b271e50bb41 100644 --- a/api/interservice/id_token/id_token.pb.go +++ b/api/interservice/id_token/id_token.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/id_token/id_token.proto @@ -25,21 +25,18 @@ const ( ) type ValidateIdTokenRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // id_token - Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty" toml:"token,omitempty" mapstructure:"token,omitempty"` + Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty" toml:"token,omitempty" mapstructure:"token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ValidateIdTokenRequest) Reset() { *x = ValidateIdTokenRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_id_token_id_token_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_id_token_id_token_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValidateIdTokenRequest) String() string { @@ -50,7 +47,7 @@ func (*ValidateIdTokenRequest) ProtoMessage() {} func (x *ValidateIdTokenRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_id_token_id_token_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -73,20 +70,17 @@ func (x *ValidateIdTokenRequest) GetToken() string { } type ValidateIdTokenResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + IsInvalid bool `protobuf:"varint,1,opt,name=is_invalid,json=isInvalid,proto3" json:"is_invalid,omitempty" toml:"is_invalid,omitempty" mapstructure:"is_invalid,omitempty"` unknownFields protoimpl.UnknownFields - - IsInvalid bool `protobuf:"varint,1,opt,name=is_invalid,json=isInvalid,proto3" json:"is_invalid,omitempty" toml:"is_invalid,omitempty" mapstructure:"is_invalid,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ValidateIdTokenResponse) Reset() { *x = ValidateIdTokenResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_id_token_id_token_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_id_token_id_token_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValidateIdTokenResponse) String() string { @@ -97,7 +91,7 @@ func (*ValidateIdTokenResponse) ProtoMessage() {} func (x *ValidateIdTokenResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_id_token_id_token_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -162,7 +156,7 @@ func file_interservice_id_token_id_token_proto_rawDescGZIP() []byte { } var file_interservice_id_token_id_token_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_interservice_id_token_id_token_proto_goTypes = []interface{}{ +var file_interservice_id_token_id_token_proto_goTypes = []any{ (*ValidateIdTokenRequest)(nil), // 0: chef.automate.domain.id_token.ValidateIdTokenRequest (*ValidateIdTokenResponse)(nil), // 1: chef.automate.domain.id_token.ValidateIdTokenResponse } @@ -181,32 +175,6 @@ func file_interservice_id_token_id_token_proto_init() { if File_interservice_id_token_id_token_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_id_token_id_token_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidateIdTokenRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_id_token_id_token_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidateIdTokenResponse); 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{ diff --git a/api/interservice/infra_proxy/request/clients.pb.go b/api/interservice/infra_proxy/request/clients.pb.go index a8bc887de59..232928cbd1b 100644 --- a/api/interservice/infra_proxy/request/clients.pb.go +++ b/api/interservice/infra_proxy/request/clients.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/request/clients.proto @@ -21,25 +21,22 @@ const ( ) type Clients struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // Clients search query. - SearchQuery *SearchQuery `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty" toml:"search_query,omitempty" mapstructure:"search_query,omitempty"` + SearchQuery *SearchQuery `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty" toml:"search_query,omitempty" mapstructure:"search_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Clients) Reset() { *x = Clients{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_clients_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_clients_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Clients) String() string { @@ -50,7 +47,7 @@ func (*Clients) ProtoMessage() {} func (x *Clients) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_clients_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,25 +84,22 @@ func (x *Clients) GetSearchQuery() *SearchQuery { } type Client struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // Client name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Client) Reset() { *x = Client{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_clients_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_clients_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Client) String() string { @@ -116,7 +110,7 @@ func (*Client) ProtoMessage() {} func (x *Client) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_clients_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -153,10 +147,7 @@ func (x *Client) GetName() string { } type CreateClient struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. @@ -166,16 +157,16 @@ type CreateClient struct { // Boolean indicates client type is validator or not. Validator bool `protobuf:"varint,4,opt,name=validator,proto3" json:"validator,omitempty" toml:"validator,omitempty" mapstructure:"validator,omitempty"` // Boolean indicates whether it's required to create a key or not. - CreateKey bool `protobuf:"varint,5,opt,name=create_key,json=createKey,proto3" json:"create_key,omitempty" toml:"create_key,omitempty" mapstructure:"create_key,omitempty"` + CreateKey bool `protobuf:"varint,5,opt,name=create_key,json=createKey,proto3" json:"create_key,omitempty" toml:"create_key,omitempty" mapstructure:"create_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateClient) Reset() { *x = CreateClient{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_clients_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_clients_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateClient) String() string { @@ -186,7 +177,7 @@ func (*CreateClient) ProtoMessage() {} func (x *CreateClient) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_clients_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -237,10 +228,7 @@ func (x *CreateClient) GetCreateKey() bool { } type ClientKey struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. @@ -248,16 +236,16 @@ type ClientKey struct { // Client name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Client key name. - Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty" toml:"key,omitempty" mapstructure:"key,omitempty"` + Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty" toml:"key,omitempty" mapstructure:"key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ClientKey) Reset() { *x = ClientKey{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_clients_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_clients_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ClientKey) String() string { @@ -268,7 +256,7 @@ func (*ClientKey) ProtoMessage() {} func (x *ClientKey) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_clients_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -373,7 +361,7 @@ func file_interservice_infra_proxy_request_clients_proto_rawDescGZIP() []byte { } var file_interservice_infra_proxy_request_clients_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_interservice_infra_proxy_request_clients_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_request_clients_proto_goTypes = []any{ (*Clients)(nil), // 0: chef.automate.domain.infra_proxy.request.Clients (*Client)(nil), // 1: chef.automate.domain.infra_proxy.request.Client (*CreateClient)(nil), // 2: chef.automate.domain.infra_proxy.request.CreateClient @@ -395,56 +383,6 @@ func file_interservice_infra_proxy_request_clients_proto_init() { return } file_interservice_infra_proxy_request_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_request_clients_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Clients); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_clients_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Client); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_clients_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateClient); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_clients_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientKey); 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{ diff --git a/api/interservice/infra_proxy/request/common.pb.go b/api/interservice/infra_proxy/request/common.pb.go index c7b1e986f85..7ae011d9dec 100644 --- a/api/interservice/infra_proxy/request/common.pb.go +++ b/api/interservice/infra_proxy/request/common.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/request/common.proto @@ -21,25 +21,22 @@ const ( ) type SearchQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The search query used to identify a list of items. Q string `protobuf:"bytes,1,opt,name=q,proto3" json:"q,omitempty" toml:"q,omitempty" mapstructure:"q,omitempty"` // Starting page for the results. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` // The number of results on each page. - PerPage int32 `protobuf:"varint,3,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty" toml:"per_page,omitempty" mapstructure:"per_page,omitempty"` + PerPage int32 `protobuf:"varint,3,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty" toml:"per_page,omitempty" mapstructure:"per_page,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchQuery) Reset() { *x = SearchQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_common_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_common_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SearchQuery) String() string { @@ -50,7 +47,7 @@ func (*SearchQuery) ProtoMessage() {} func (x *SearchQuery) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_common_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -119,7 +116,7 @@ func file_interservice_infra_proxy_request_common_proto_rawDescGZIP() []byte { } var file_interservice_infra_proxy_request_common_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_interservice_infra_proxy_request_common_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_request_common_proto_goTypes = []any{ (*SearchQuery)(nil), // 0: chef.automate.domain.infra_proxy.request.SearchQuery } var file_interservice_infra_proxy_request_common_proto_depIdxs = []int32{ @@ -135,20 +132,6 @@ func file_interservice_infra_proxy_request_common_proto_init() { if File_interservice_infra_proxy_request_common_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_request_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SearchQuery); 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{ diff --git a/api/interservice/infra_proxy/request/cookbooks.pb.go b/api/interservice/infra_proxy/request/cookbooks.pb.go index f33c1b98539..a53b10e829d 100644 --- a/api/interservice/infra_proxy/request/cookbooks.pb.go +++ b/api/interservice/infra_proxy/request/cookbooks.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/request/cookbooks.proto @@ -21,23 +21,20 @@ const ( ) type Cookbooks struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the Org. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // ID of the Server - ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` + ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Cookbooks) Reset() { *x = Cookbooks{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_cookbooks_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_cookbooks_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Cookbooks) String() string { @@ -48,7 +45,7 @@ func (*Cookbooks) ProtoMessage() {} func (x *Cookbooks) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_cookbooks_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -78,25 +75,22 @@ func (x *Cookbooks) GetServerId() string { } type CookbookVersions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the Org. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // ID of the Server. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // Name of the cookbook. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CookbookVersions) Reset() { *x = CookbookVersions{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_cookbooks_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_cookbooks_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookVersions) String() string { @@ -107,7 +101,7 @@ func (*CookbookVersions) ProtoMessage() {} func (x *CookbookVersions) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_cookbooks_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -144,10 +138,7 @@ func (x *CookbookVersions) GetName() string { } type Cookbook struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the Org. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // ID of the Server. @@ -155,16 +146,16 @@ type Cookbook struct { // Name of the cookbook. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Version of the cookbook. - Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Cookbook) Reset() { *x = Cookbook{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_cookbooks_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_cookbooks_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Cookbook) String() string { @@ -175,7 +166,7 @@ func (*Cookbook) ProtoMessage() {} func (x *Cookbook) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_cookbooks_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -219,10 +210,7 @@ func (x *Cookbook) GetVersion() string { } type CookbookFileContent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the org. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // ID of the server. @@ -232,16 +220,16 @@ type CookbookFileContent struct { // Version of the cookbook. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` // Cookbook data file URL. - Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` + Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CookbookFileContent) Reset() { *x = CookbookFileContent{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_cookbooks_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_cookbooks_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookFileContent) String() string { @@ -252,7 +240,7 @@ func (*CookbookFileContent) ProtoMessage() {} func (x *CookbookFileContent) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_cookbooks_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -356,7 +344,7 @@ func file_interservice_infra_proxy_request_cookbooks_proto_rawDescGZIP() []byte } var file_interservice_infra_proxy_request_cookbooks_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_interservice_infra_proxy_request_cookbooks_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_request_cookbooks_proto_goTypes = []any{ (*Cookbooks)(nil), // 0: chef.automate.domain.infra_proxy.request.Cookbooks (*CookbookVersions)(nil), // 1: chef.automate.domain.infra_proxy.request.CookbookVersions (*Cookbook)(nil), // 2: chef.automate.domain.infra_proxy.request.Cookbook @@ -375,56 +363,6 @@ func file_interservice_infra_proxy_request_cookbooks_proto_init() { if File_interservice_infra_proxy_request_cookbooks_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_request_cookbooks_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Cookbooks); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_cookbooks_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookVersions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_cookbooks_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Cookbook); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_cookbooks_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookFileContent); 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{ diff --git a/api/interservice/infra_proxy/request/databags.pb.go b/api/interservice/infra_proxy/request/databags.pb.go index 3b8444236ed..f760292e012 100644 --- a/api/interservice/infra_proxy/request/databags.pb.go +++ b/api/interservice/infra_proxy/request/databags.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/request/databags.proto @@ -22,23 +22,20 @@ const ( ) type DataBags struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. - ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` + ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBags) Reset() { *x = DataBags{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBags) String() string { @@ -49,7 +46,7 @@ func (*DataBags) ProtoMessage() {} func (x *DataBags) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -79,25 +76,22 @@ func (x *DataBags) GetServerId() string { } type DataBag struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // Data bag name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBag) Reset() { *x = DataBag{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBag) String() string { @@ -108,7 +102,7 @@ func (*DataBag) ProtoMessage() {} func (x *DataBag) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -145,10 +139,7 @@ func (x *DataBag) GetName() string { } type DataBagItems struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. @@ -156,16 +147,16 @@ type DataBagItems struct { // Data bag name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Items search query. - SearchQuery *SearchQuery `protobuf:"bytes,4,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty" toml:"search_query,omitempty" mapstructure:"search_query,omitempty"` + SearchQuery *SearchQuery `protobuf:"bytes,4,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty" toml:"search_query,omitempty" mapstructure:"search_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBagItems) Reset() { *x = DataBagItems{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBagItems) String() string { @@ -176,7 +167,7 @@ func (*DataBagItems) ProtoMessage() {} func (x *DataBagItems) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -220,10 +211,7 @@ func (x *DataBagItems) GetSearchQuery() *SearchQuery { } type DataBagItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. @@ -231,16 +219,16 @@ type DataBagItem struct { // Data bag name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Data bag item name. - Item string `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty" toml:"item,omitempty" mapstructure:"item,omitempty"` + Item string `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty" toml:"item,omitempty" mapstructure:"item,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBagItem) Reset() { *x = DataBagItem{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBagItem) String() string { @@ -251,7 +239,7 @@ func (*DataBagItem) ProtoMessage() {} func (x *DataBagItem) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -295,25 +283,22 @@ func (x *DataBagItem) GetItem() string { } type CreateDataBag struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // Data bag name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateDataBag) Reset() { *x = CreateDataBag{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDataBag) String() string { @@ -324,7 +309,7 @@ func (*CreateDataBag) ProtoMessage() {} func (x *CreateDataBag) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -361,10 +346,7 @@ func (x *CreateDataBag) GetName() string { } type CreateDataBagItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. @@ -372,16 +354,16 @@ type CreateDataBagItem struct { // Data bag name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Data bag item JSON data. - Data *structpb.Struct `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` + Data *structpb.Struct `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateDataBagItem) Reset() { *x = CreateDataBagItem{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDataBagItem) String() string { @@ -392,7 +374,7 @@ func (*CreateDataBagItem) ProtoMessage() {} func (x *CreateDataBagItem) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -436,10 +418,7 @@ func (x *CreateDataBagItem) GetData() *structpb.Struct { } type UpdateDataBagItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. @@ -449,16 +428,16 @@ type UpdateDataBagItem struct { // Data bag item ID. ItemId string `protobuf:"bytes,4,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty" toml:"item_id,omitempty" mapstructure:"item_id,omitempty"` // Data bag item JSON data. - Data *structpb.Struct `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` + Data *structpb.Struct `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateDataBagItem) Reset() { *x = UpdateDataBagItem{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateDataBagItem) String() string { @@ -469,7 +448,7 @@ func (*UpdateDataBagItem) ProtoMessage() {} func (x *UpdateDataBagItem) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_databags_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -604,7 +583,7 @@ func file_interservice_infra_proxy_request_databags_proto_rawDescGZIP() []byte { } var file_interservice_infra_proxy_request_databags_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_interservice_infra_proxy_request_databags_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_request_databags_proto_goTypes = []any{ (*DataBags)(nil), // 0: chef.automate.domain.infra_proxy.request.DataBags (*DataBag)(nil), // 1: chef.automate.domain.infra_proxy.request.DataBag (*DataBagItems)(nil), // 2: chef.automate.domain.infra_proxy.request.DataBagItems @@ -632,92 +611,6 @@ func file_interservice_infra_proxy_request_databags_proto_init() { return } file_interservice_infra_proxy_request_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_request_databags_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBags); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_databags_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBag); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_databags_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBagItems); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_databags_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBagItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_databags_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDataBag); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_databags_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDataBagItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_databags_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateDataBagItem); 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{ diff --git a/api/interservice/infra_proxy/request/environments.pb.go b/api/interservice/infra_proxy/request/environments.pb.go index ddaa9f802e8..1ef7a7e9e62 100644 --- a/api/interservice/infra_proxy/request/environments.pb.go +++ b/api/interservice/infra_proxy/request/environments.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/request/environments.proto @@ -22,25 +22,22 @@ const ( ) type Environments struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // Environments search query. - SearchQuery *SearchQuery `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty" toml:"search_query,omitempty" mapstructure:"search_query,omitempty"` + SearchQuery *SearchQuery `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty" toml:"search_query,omitempty" mapstructure:"search_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Environments) Reset() { *x = Environments{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_environments_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_environments_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Environments) String() string { @@ -51,7 +48,7 @@ func (*Environments) ProtoMessage() {} func (x *Environments) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_environments_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -88,25 +85,22 @@ func (x *Environments) GetSearchQuery() *SearchQuery { } type Environment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // Environment name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Environment) Reset() { *x = Environment{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_environments_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_environments_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Environment) String() string { @@ -117,7 +111,7 @@ func (*Environment) ProtoMessage() {} func (x *Environment) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_environments_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -154,10 +148,7 @@ func (x *Environment) GetName() string { } type CreateEnvironment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. @@ -169,20 +160,20 @@ type CreateEnvironment struct { // Class name. JsonClass string `protobuf:"bytes,5,opt,name=json_class,json=jsonClass,proto3" json:"json_class,omitempty" toml:"json_class,omitempty" mapstructure:"json_class,omitempty"` // Environment versioned cookbooks constraints. - CookbookVersions map[string]string `protobuf:"bytes,6,rep,name=cookbook_versions,json=cookbookVersions,proto3" json:"cookbook_versions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" toml:"cookbook_versions,omitempty" mapstructure:"cookbook_versions,omitempty"` + CookbookVersions map[string]string `protobuf:"bytes,6,rep,name=cookbook_versions,json=cookbookVersions,proto3" json:"cookbook_versions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" toml:"cookbook_versions,omitempty" mapstructure:"cookbook_versions,omitempty"` // Environment default attributes JSON. DefaultAttributes *structpb.Struct `protobuf:"bytes,7,opt,name=default_attributes,json=defaultAttributes,proto3" json:"default_attributes,omitempty" toml:"default_attributes,omitempty" mapstructure:"default_attributes,omitempty"` // Environment override attributes JSON. OverrideAttributes *structpb.Struct `protobuf:"bytes,8,opt,name=override_attributes,json=overrideAttributes,proto3" json:"override_attributes,omitempty" toml:"override_attributes,omitempty" mapstructure:"override_attributes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateEnvironment) Reset() { *x = CreateEnvironment{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_environments_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_environments_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateEnvironment) String() string { @@ -193,7 +184,7 @@ func (*CreateEnvironment) ProtoMessage() {} func (x *CreateEnvironment) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_environments_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -265,10 +256,7 @@ func (x *CreateEnvironment) GetOverrideAttributes() *structpb.Struct { } type UpdateEnvironment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. @@ -280,20 +268,20 @@ type UpdateEnvironment struct { // Class name. JsonClass string `protobuf:"bytes,5,opt,name=json_class,json=jsonClass,proto3" json:"json_class,omitempty" toml:"json_class,omitempty" mapstructure:"json_class,omitempty"` // Environment versioned cookbooks constraints. - CookbookVersions map[string]string `protobuf:"bytes,6,rep,name=cookbook_versions,json=cookbookVersions,proto3" json:"cookbook_versions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" toml:"cookbook_versions,omitempty" mapstructure:"cookbook_versions,omitempty"` + CookbookVersions map[string]string `protobuf:"bytes,6,rep,name=cookbook_versions,json=cookbookVersions,proto3" json:"cookbook_versions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" toml:"cookbook_versions,omitempty" mapstructure:"cookbook_versions,omitempty"` // Environment default attributes JSON. DefaultAttributes *structpb.Struct `protobuf:"bytes,7,opt,name=default_attributes,json=defaultAttributes,proto3" json:"default_attributes,omitempty" toml:"default_attributes,omitempty" mapstructure:"default_attributes,omitempty"` // Environment override attributes JSON. OverrideAttributes *structpb.Struct `protobuf:"bytes,8,opt,name=override_attributes,json=overrideAttributes,proto3" json:"override_attributes,omitempty" toml:"override_attributes,omitempty" mapstructure:"override_attributes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateEnvironment) Reset() { *x = UpdateEnvironment{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_environments_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_environments_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateEnvironment) String() string { @@ -304,7 +292,7 @@ func (*UpdateEnvironment) ProtoMessage() {} func (x *UpdateEnvironment) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_environments_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -487,7 +475,7 @@ func file_interservice_infra_proxy_request_environments_proto_rawDescGZIP() []by } var file_interservice_infra_proxy_request_environments_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_interservice_infra_proxy_request_environments_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_request_environments_proto_goTypes = []any{ (*Environments)(nil), // 0: chef.automate.domain.infra_proxy.request.Environments (*Environment)(nil), // 1: chef.automate.domain.infra_proxy.request.Environment (*CreateEnvironment)(nil), // 2: chef.automate.domain.infra_proxy.request.CreateEnvironment @@ -518,56 +506,6 @@ func file_interservice_infra_proxy_request_environments_proto_init() { return } file_interservice_infra_proxy_request_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_request_environments_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Environments); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_environments_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Environment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_environments_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateEnvironment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_environments_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateEnvironment); 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{ diff --git a/api/interservice/infra_proxy/request/nodes.pb.go b/api/interservice/infra_proxy/request/nodes.pb.go index 40c76e00b09..fa1d5e749c3 100644 --- a/api/interservice/infra_proxy/request/nodes.pb.go +++ b/api/interservice/infra_proxy/request/nodes.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/request/nodes.proto @@ -22,25 +22,22 @@ const ( ) type Nodes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // Nodes search query. - SearchQuery *SearchQuery `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty" toml:"search_query,omitempty" mapstructure:"search_query,omitempty"` + SearchQuery *SearchQuery `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty" toml:"search_query,omitempty" mapstructure:"search_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Nodes) Reset() { *x = Nodes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Nodes) String() string { @@ -51,7 +48,7 @@ func (*Nodes) ProtoMessage() {} func (x *Nodes) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -88,25 +85,22 @@ func (x *Nodes) GetSearchQuery() *SearchQuery { } type Node struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // Node name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Node) Reset() { *x = Node{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Node) String() string { @@ -117,7 +111,7 @@ func (*Node) ProtoMessage() {} func (x *Node) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -154,10 +148,7 @@ func (x *Node) GetName() string { } type NodeDetails struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. @@ -180,15 +171,15 @@ type NodeDetails struct { NormalAttributes *structpb.Struct `protobuf:"bytes,10,opt,name=normal_attributes,json=normalAttributes,proto3" json:"normal_attributes,omitempty" toml:"normal_attributes,omitempty" mapstructure:"normal_attributes,omitempty"` // Node override attributes JSON. OverrideAttributes *structpb.Struct `protobuf:"bytes,11,opt,name=override_attributes,json=overrideAttributes,proto3" json:"override_attributes,omitempty" toml:"override_attributes,omitempty" mapstructure:"override_attributes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeDetails) Reset() { *x = NodeDetails{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeDetails) String() string { @@ -199,7 +190,7 @@ func (*NodeDetails) ProtoMessage() {} func (x *NodeDetails) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -292,10 +283,7 @@ func (x *NodeDetails) GetOverrideAttributes() *structpb.Struct { } type UpdateNodeTags struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. @@ -305,16 +293,16 @@ type UpdateNodeTags struct { // Node tags action (e.g. 'add', 'delete', 'set'). Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"` // Node tags. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty" toml:"tags,omitempty" mapstructure:"tags,omitempty"` + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty" toml:"tags,omitempty" mapstructure:"tags,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateNodeTags) Reset() { *x = UpdateNodeTags{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateNodeTags) String() string { @@ -325,7 +313,7 @@ func (*UpdateNodeTags) ProtoMessage() {} func (x *UpdateNodeTags) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -376,10 +364,7 @@ func (x *UpdateNodeTags) GetTags() []string { } type UpdateNodeEnvironment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. @@ -387,16 +372,16 @@ type UpdateNodeEnvironment struct { // Node name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Node environment name. - Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty" toml:"environment,omitempty" mapstructure:"environment,omitempty"` + Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty" toml:"environment,omitempty" mapstructure:"environment,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateNodeEnvironment) Reset() { *x = UpdateNodeEnvironment{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateNodeEnvironment) String() string { @@ -407,7 +392,7 @@ func (*UpdateNodeEnvironment) ProtoMessage() {} func (x *UpdateNodeEnvironment) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -451,10 +436,7 @@ func (x *UpdateNodeEnvironment) GetEnvironment() string { } type UpdateNodeAttributes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. @@ -462,16 +444,16 @@ type UpdateNodeAttributes struct { // Node name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Node attributes JSON. - Attributes *structpb.Struct `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty" toml:"attributes,omitempty" mapstructure:"attributes,omitempty"` + Attributes *structpb.Struct `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty" toml:"attributes,omitempty" mapstructure:"attributes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateNodeAttributes) Reset() { *x = UpdateNodeAttributes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateNodeAttributes) String() string { @@ -482,7 +464,7 @@ func (*UpdateNodeAttributes) ProtoMessage() {} func (x *UpdateNodeAttributes) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -526,10 +508,7 @@ func (x *UpdateNodeAttributes) GetAttributes() *structpb.Struct { } type NodeExpandedRunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. @@ -537,16 +516,16 @@ type NodeExpandedRunList struct { // Node name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Node environment. - Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty" toml:"environment,omitempty" mapstructure:"environment,omitempty"` + Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty" toml:"environment,omitempty" mapstructure:"environment,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeExpandedRunList) Reset() { *x = NodeExpandedRunList{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeExpandedRunList) String() string { @@ -557,7 +536,7 @@ func (*NodeExpandedRunList) ProtoMessage() {} func (x *NodeExpandedRunList) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_nodes_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -714,7 +693,7 @@ func file_interservice_infra_proxy_request_nodes_proto_rawDescGZIP() []byte { } var file_interservice_infra_proxy_request_nodes_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_interservice_infra_proxy_request_nodes_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_request_nodes_proto_goTypes = []any{ (*Nodes)(nil), // 0: chef.automate.domain.infra_proxy.request.Nodes (*Node)(nil), // 1: chef.automate.domain.infra_proxy.request.Node (*NodeDetails)(nil), // 2: chef.automate.domain.infra_proxy.request.NodeDetails @@ -745,92 +724,6 @@ func file_interservice_infra_proxy_request_nodes_proto_init() { return } file_interservice_infra_proxy_request_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_request_nodes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Nodes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_nodes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Node); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_nodes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeDetails); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_nodes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateNodeTags); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_nodes_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateNodeEnvironment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_nodes_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateNodeAttributes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_nodes_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeExpandedRunList); 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{ diff --git a/api/interservice/infra_proxy/request/orgs.pb.go b/api/interservice/infra_proxy/request/orgs.pb.go index c9226407af7..d41dbef278d 100644 --- a/api/interservice/infra_proxy/request/orgs.pb.go +++ b/api/interservice/infra_proxy/request/orgs.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/request/orgs.proto @@ -21,10 +21,7 @@ const ( ) type CreateOrg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // Chef organization name. @@ -36,16 +33,16 @@ type CreateOrg struct { // Chef Infra Server ID. ServerId string `protobuf:"bytes,5,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // List of projects this chef organization belongs to. May be empty. - Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateOrg) Reset() { *x = CreateOrg{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateOrg) String() string { @@ -56,7 +53,7 @@ func (*CreateOrg) ProtoMessage() {} func (x *CreateOrg) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -114,10 +111,7 @@ func (x *CreateOrg) GetProjects() []string { } type UpdateOrg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // Chef organization name. @@ -127,16 +121,16 @@ type UpdateOrg struct { // Chef Infra Server ID. ServerId string `protobuf:"bytes,4,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // List of projects this chef organization belongs to. May be empty. - Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateOrg) Reset() { *x = UpdateOrg{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateOrg) String() string { @@ -147,7 +141,7 @@ func (*UpdateOrg) ProtoMessage() {} func (x *UpdateOrg) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -198,23 +192,20 @@ func (x *UpdateOrg) GetProjects() []string { } type DeleteOrg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // Chef Infra Server ID. - ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` + ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteOrg) Reset() { *x = DeleteOrg{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteOrg) String() string { @@ -225,7 +216,7 @@ func (*DeleteOrg) ProtoMessage() {} func (x *DeleteOrg) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -255,21 +246,18 @@ func (x *DeleteOrg) GetServerId() string { } type GetOrgs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server ID. - ServerId string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` + ServerId string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrgs) Reset() { *x = GetOrgs{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrgs) String() string { @@ -280,7 +268,7 @@ func (*GetOrgs) ProtoMessage() {} func (x *GetOrgs) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -303,23 +291,20 @@ func (x *GetOrgs) GetServerId() string { } type GetOrg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // Chef Infra Server ID. - ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` + ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrg) Reset() { *x = GetOrg{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrg) String() string { @@ -330,7 +315,7 @@ func (*GetOrg) ProtoMessage() {} func (x *GetOrg) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -360,25 +345,22 @@ func (x *GetOrg) GetServerId() string { } type ResetOrgAdminKey struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // Chef organization admin key. - AdminKey string `protobuf:"bytes,3,opt,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty" toml:"admin_key,omitempty" mapstructure:"admin_key,omitempty"` + AdminKey string `protobuf:"bytes,3,opt,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty" toml:"admin_key,omitempty" mapstructure:"admin_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ResetOrgAdminKey) Reset() { *x = ResetOrgAdminKey{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetOrgAdminKey) String() string { @@ -389,7 +371,7 @@ func (*ResetOrgAdminKey) ProtoMessage() {} func (x *ResetOrgAdminKey) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_orgs_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -488,7 +470,7 @@ func file_interservice_infra_proxy_request_orgs_proto_rawDescGZIP() []byte { } var file_interservice_infra_proxy_request_orgs_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_interservice_infra_proxy_request_orgs_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_request_orgs_proto_goTypes = []any{ (*CreateOrg)(nil), // 0: chef.automate.domain.infra_proxy.request.CreateOrg (*UpdateOrg)(nil), // 1: chef.automate.domain.infra_proxy.request.UpdateOrg (*DeleteOrg)(nil), // 2: chef.automate.domain.infra_proxy.request.DeleteOrg @@ -509,80 +491,6 @@ func file_interservice_infra_proxy_request_orgs_proto_init() { if File_interservice_infra_proxy_request_orgs_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_request_orgs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateOrg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_orgs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateOrg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_orgs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteOrg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_orgs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrgs); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_orgs_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_orgs_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetOrgAdminKey); 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{ diff --git a/api/interservice/infra_proxy/request/policyfiles.pb.go b/api/interservice/infra_proxy/request/policyfiles.pb.go index d077c18bb38..313e161d0fe 100644 --- a/api/interservice/infra_proxy/request/policyfiles.pb.go +++ b/api/interservice/infra_proxy/request/policyfiles.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/request/policyfiles.proto @@ -22,23 +22,20 @@ const ( ) type Policyfiles struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. - ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` + ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Policyfiles) Reset() { *x = Policyfiles{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Policyfiles) String() string { @@ -49,7 +46,7 @@ func (*Policyfiles) ProtoMessage() {} func (x *Policyfiles) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -79,10 +76,7 @@ func (x *Policyfiles) GetServerId() string { } type Policyfile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. @@ -90,16 +84,16 @@ type Policyfile struct { // Policyfile name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Policyfile revision ID. - RevisionId string `protobuf:"bytes,4,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty" toml:"revision_id,omitempty" mapstructure:"revision_id,omitempty"` + RevisionId string `protobuf:"bytes,4,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty" toml:"revision_id,omitempty" mapstructure:"revision_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Policyfile) Reset() { *x = Policyfile{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Policyfile) String() string { @@ -110,7 +104,7 @@ func (*Policyfile) ProtoMessage() {} func (x *Policyfile) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -154,25 +148,22 @@ func (x *Policyfile) GetRevisionId() string { } type DeletePolicyfile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // Policyfile name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeletePolicyfile) Reset() { *x = DeletePolicyfile{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeletePolicyfile) String() string { @@ -183,7 +174,7 @@ func (*DeletePolicyfile) ProtoMessage() {} func (x *DeletePolicyfile) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -220,25 +211,22 @@ func (x *DeletePolicyfile) GetName() string { } type PolicyfileRevisions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // Policyfile name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PolicyfileRevisions) Reset() { *x = PolicyfileRevisions{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicyfileRevisions) String() string { @@ -249,7 +237,7 @@ func (*PolicyfileRevisions) ProtoMessage() {} func (x *PolicyfileRevisions) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -286,25 +274,22 @@ func (x *PolicyfileRevisions) GetName() string { } type Policygroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // Policygroup name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Policygroup) Reset() { *x = Policygroup{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Policygroup) String() string { @@ -315,7 +300,7 @@ func (*Policygroup) ProtoMessage() {} func (x *Policygroup) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -412,7 +397,7 @@ func file_interservice_infra_proxy_request_policyfiles_proto_rawDescGZIP() []byt } var file_interservice_infra_proxy_request_policyfiles_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_interservice_infra_proxy_request_policyfiles_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_request_policyfiles_proto_goTypes = []any{ (*Policyfiles)(nil), // 0: chef.automate.domain.infra_proxy.request.Policyfiles (*Policyfile)(nil), // 1: chef.automate.domain.infra_proxy.request.Policyfile (*DeletePolicyfile)(nil), // 2: chef.automate.domain.infra_proxy.request.DeletePolicyfile @@ -432,68 +417,6 @@ func file_interservice_infra_proxy_request_policyfiles_proto_init() { if File_interservice_infra_proxy_request_policyfiles_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Policyfiles); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Policyfile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeletePolicyfile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PolicyfileRevisions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_policyfiles_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Policygroup); 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{ diff --git a/api/interservice/infra_proxy/request/roles.pb.go b/api/interservice/infra_proxy/request/roles.pb.go index 4fdd2eea373..46ced47d9a3 100644 --- a/api/interservice/infra_proxy/request/roles.pb.go +++ b/api/interservice/infra_proxy/request/roles.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/request/roles.proto @@ -22,25 +22,22 @@ const ( ) type Roles struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // Roles search query. - SearchQuery *SearchQuery `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty" toml:"search_query,omitempty" mapstructure:"search_query,omitempty"` + SearchQuery *SearchQuery `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty" toml:"search_query,omitempty" mapstructure:"search_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Roles) Reset() { *x = Roles{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Roles) String() string { @@ -51,7 +48,7 @@ func (*Roles) ProtoMessage() {} func (x *Roles) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -88,25 +85,22 @@ func (x *Roles) GetSearchQuery() *SearchQuery { } type Role struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // Role name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Role) Reset() { *x = Role{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Role) String() string { @@ -117,7 +111,7 @@ func (*Role) ProtoMessage() {} func (x *Role) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -154,10 +148,7 @@ func (x *Role) GetName() string { } type CreateRole struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. @@ -173,16 +164,16 @@ type CreateRole struct { // Role run list. RunList []string `protobuf:"bytes,7,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty" toml:"run_list,omitempty" mapstructure:"run_list,omitempty"` // Environment based run list. - EnvRunLists []*EnvRunList `protobuf:"bytes,8,rep,name=env_run_lists,json=envRunLists,proto3" json:"env_run_lists,omitempty" toml:"env_run_lists,omitempty" mapstructure:"env_run_lists,omitempty"` + EnvRunLists []*EnvRunList `protobuf:"bytes,8,rep,name=env_run_lists,json=envRunLists,proto3" json:"env_run_lists,omitempty" toml:"env_run_lists,omitempty" mapstructure:"env_run_lists,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateRole) Reset() { *x = CreateRole{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRole) String() string { @@ -193,7 +184,7 @@ func (*CreateRole) ProtoMessage() {} func (x *CreateRole) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -265,10 +256,7 @@ func (x *CreateRole) GetEnvRunLists() []*EnvRunList { } type UpdateRole struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. @@ -284,16 +272,16 @@ type UpdateRole struct { // Role run list. RunList []string `protobuf:"bytes,7,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty" toml:"run_list,omitempty" mapstructure:"run_list,omitempty"` // Environment based run list. - EnvRunLists []*EnvRunList `protobuf:"bytes,8,rep,name=env_run_lists,json=envRunLists,proto3" json:"env_run_lists,omitempty" toml:"env_run_lists,omitempty" mapstructure:"env_run_lists,omitempty"` + EnvRunLists []*EnvRunList `protobuf:"bytes,8,rep,name=env_run_lists,json=envRunLists,proto3" json:"env_run_lists,omitempty" toml:"env_run_lists,omitempty" mapstructure:"env_run_lists,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateRole) Reset() { *x = UpdateRole{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRole) String() string { @@ -304,7 +292,7 @@ func (*UpdateRole) ProtoMessage() {} func (x *UpdateRole) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -376,23 +364,20 @@ func (x *UpdateRole) GetEnvRunLists() []*EnvRunList { } type EnvRunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Environment name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Role run list. - RunList []string `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty" toml:"run_list,omitempty" mapstructure:"run_list,omitempty"` + RunList []string `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty" toml:"run_list,omitempty" mapstructure:"run_list,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EnvRunList) Reset() { *x = EnvRunList{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnvRunList) String() string { @@ -403,7 +388,7 @@ func (*EnvRunList) ProtoMessage() {} func (x *EnvRunList) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -433,10 +418,7 @@ func (x *EnvRunList) GetRunList() []string { } type ExpandedRunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. @@ -444,16 +426,16 @@ type ExpandedRunList struct { // Role name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Role environment. - Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty" toml:"environment,omitempty" mapstructure:"environment,omitempty"` + Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty" toml:"environment,omitempty" mapstructure:"environment,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ExpandedRunList) Reset() { *x = ExpandedRunList{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExpandedRunList) String() string { @@ -464,7 +446,7 @@ func (*ExpandedRunList) ProtoMessage() {} func (x *ExpandedRunList) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_roles_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -614,7 +596,7 @@ func file_interservice_infra_proxy_request_roles_proto_rawDescGZIP() []byte { } var file_interservice_infra_proxy_request_roles_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_interservice_infra_proxy_request_roles_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_request_roles_proto_goTypes = []any{ (*Roles)(nil), // 0: chef.automate.domain.infra_proxy.request.Roles (*Role)(nil), // 1: chef.automate.domain.infra_proxy.request.Role (*CreateRole)(nil), // 2: chef.automate.domain.infra_proxy.request.CreateRole @@ -645,80 +627,6 @@ func file_interservice_infra_proxy_request_roles_proto_init() { return } file_interservice_infra_proxy_request_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_request_roles_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Roles); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_roles_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Role); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_roles_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRole); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_roles_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRole); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_roles_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnvRunList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_roles_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExpandedRunList); 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{ diff --git a/api/interservice/infra_proxy/request/servers.pb.go b/api/interservice/infra_proxy/request/servers.pb.go index 421a53f2b52..b56dd8cac64 100644 --- a/api/interservice/infra_proxy/request/servers.pb.go +++ b/api/interservice/infra_proxy/request/servers.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/request/servers.proto @@ -21,10 +21,7 @@ const ( ) type CreateServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // Chef Infra Server name. @@ -32,16 +29,16 @@ type CreateServer struct { // Chef Infra Server FQDN. Fqdn string `protobuf:"bytes,3,opt,name=fqdn,proto3" json:"fqdn,omitempty" toml:"fqdn,omitempty" mapstructure:"fqdn,omitempty"` // Chef Infra Server IP address. - IpAddress string `protobuf:"bytes,4,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty" toml:"ip_address,omitempty" mapstructure:"ip_address,omitempty"` + IpAddress string `protobuf:"bytes,4,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty" toml:"ip_address,omitempty" mapstructure:"ip_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateServer) Reset() { *x = CreateServer{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateServer) String() string { @@ -52,7 +49,7 @@ func (*CreateServer) ProtoMessage() {} func (x *CreateServer) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -96,10 +93,7 @@ func (x *CreateServer) GetIpAddress() string { } type UpdateServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // Chef Infra Server name. @@ -107,16 +101,16 @@ type UpdateServer struct { // Chef Infra Server FQDN. Fqdn string `protobuf:"bytes,3,opt,name=fqdn,proto3" json:"fqdn,omitempty" toml:"fqdn,omitempty" mapstructure:"fqdn,omitempty"` // Chef Infra Server IP address. - IpAddress string `protobuf:"bytes,4,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty" toml:"ip_address,omitempty" mapstructure:"ip_address,omitempty"` + IpAddress string `protobuf:"bytes,4,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty" toml:"ip_address,omitempty" mapstructure:"ip_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateServer) Reset() { *x = UpdateServer{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateServer) String() string { @@ -127,7 +121,7 @@ func (*UpdateServer) ProtoMessage() {} func (x *UpdateServer) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -171,21 +165,18 @@ func (x *UpdateServer) GetIpAddress() string { } type DeleteServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server ID. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteServer) Reset() { *x = DeleteServer{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteServer) String() string { @@ -196,7 +187,7 @@ func (*DeleteServer) ProtoMessage() {} func (x *DeleteServer) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -219,18 +210,16 @@ func (x *DeleteServer) GetId() string { } type GetServers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetServers) Reset() { *x = GetServers{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetServers) String() string { @@ -241,7 +230,7 @@ func (*GetServers) ProtoMessage() {} func (x *GetServers) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -257,21 +246,18 @@ func (*GetServers) Descriptor() ([]byte, []int) { } type GetServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server ID. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetServer) Reset() { *x = GetServer{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetServer) String() string { @@ -282,7 +268,7 @@ func (*GetServer) ProtoMessage() {} func (x *GetServer) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -305,23 +291,20 @@ func (x *GetServer) GetId() string { } type GetServerStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server FQDN Fqdn string `protobuf:"bytes,1,opt,name=fqdn,proto3" json:"fqdn,omitempty" toml:"fqdn,omitempty" mapstructure:"fqdn,omitempty"` // Chef Infra Server IP Address. - IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty" toml:"ip_address,omitempty" mapstructure:"ip_address,omitempty"` + IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty" toml:"ip_address,omitempty" mapstructure:"ip_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetServerStatus) Reset() { *x = GetServerStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetServerStatus) String() string { @@ -332,7 +315,7 @@ func (*GetServerStatus) ProtoMessage() {} func (x *GetServerStatus) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_servers_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -412,7 +395,7 @@ func file_interservice_infra_proxy_request_servers_proto_rawDescGZIP() []byte { } var file_interservice_infra_proxy_request_servers_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_interservice_infra_proxy_request_servers_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_request_servers_proto_goTypes = []any{ (*CreateServer)(nil), // 0: chef.automate.domain.infra_proxy.request.CreateServer (*UpdateServer)(nil), // 1: chef.automate.domain.infra_proxy.request.UpdateServer (*DeleteServer)(nil), // 2: chef.automate.domain.infra_proxy.request.DeleteServer @@ -433,80 +416,6 @@ func file_interservice_infra_proxy_request_servers_proto_init() { if File_interservice_infra_proxy_request_servers_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_request_servers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_servers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_servers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_servers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServers); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_servers_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_servers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServerStatus); 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{ diff --git a/api/interservice/infra_proxy/request/users.pb.go b/api/interservice/infra_proxy/request/users.pb.go index 208b9adc025..da41f744d97 100644 --- a/api/interservice/infra_proxy/request/users.pb.go +++ b/api/interservice/infra_proxy/request/users.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/request/users.proto @@ -21,23 +21,20 @@ const ( ) type OrgUsers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Organization ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"` // Chef Infra Server ID. - ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` + ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OrgUsers) Reset() { *x = OrgUsers{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_users_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_users_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OrgUsers) String() string { @@ -48,7 +45,7 @@ func (*OrgUsers) ProtoMessage() {} func (x *OrgUsers) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_users_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -78,25 +75,22 @@ func (x *OrgUsers) GetServerId() string { } type ServerUsers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server ID. ServerId string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // Chef Infra server admin name. AdminName string `protobuf:"bytes,2,opt,name=admin_name,json=adminName,proto3" json:"admin_name,omitempty" toml:"admin_name,omitempty" mapstructure:"admin_name,omitempty"` // Chef Infra server admin key. - AdminKey string `protobuf:"bytes,3,opt,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty" toml:"admin_key,omitempty" mapstructure:"admin_key,omitempty"` + AdminKey string `protobuf:"bytes,3,opt,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty" toml:"admin_key,omitempty" mapstructure:"admin_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServerUsers) Reset() { *x = ServerUsers{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_request_users_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_request_users_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServerUsers) String() string { @@ -107,7 +101,7 @@ func (*ServerUsers) ProtoMessage() {} func (x *ServerUsers) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_request_users_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -182,7 +176,7 @@ func file_interservice_infra_proxy_request_users_proto_rawDescGZIP() []byte { } var file_interservice_infra_proxy_request_users_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_interservice_infra_proxy_request_users_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_request_users_proto_goTypes = []any{ (*OrgUsers)(nil), // 0: chef.automate.domain.infra_proxy.request.OrgUsers (*ServerUsers)(nil), // 1: chef.automate.domain.infra_proxy.request.ServerUsers } @@ -199,32 +193,6 @@ func file_interservice_infra_proxy_request_users_proto_init() { if File_interservice_infra_proxy_request_users_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_request_users_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrgUsers); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_request_users_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServerUsers); 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{ diff --git a/api/interservice/infra_proxy/response/clients.pb.go b/api/interservice/infra_proxy/response/clients.pb.go index 403282466d5..d7432479a44 100644 --- a/api/interservice/infra_proxy/response/clients.pb.go +++ b/api/interservice/infra_proxy/response/clients.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/response/clients.proto @@ -21,25 +21,22 @@ const ( ) type Clients struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Client list. Clients []*ClientListItem `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty" toml:"clients,omitempty" mapstructure:"clients,omitempty"` // Starting page for the results. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` // Total number of records. - Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Clients) Reset() { *x = Clients{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Clients) String() string { @@ -50,7 +47,7 @@ func (*Clients) ProtoMessage() {} func (x *Clients) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,23 +84,20 @@ func (x *Clients) GetTotal() int32 { } type ClientListItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Client name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Boolean indicates client type is validator or not. - Validator bool `protobuf:"varint,2,opt,name=validator,proto3" json:"validator,omitempty" toml:"validator,omitempty" mapstructure:"validator,omitempty"` + Validator bool `protobuf:"varint,2,opt,name=validator,proto3" json:"validator,omitempty" toml:"validator,omitempty" mapstructure:"validator,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ClientListItem) Reset() { *x = ClientListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ClientListItem) String() string { @@ -114,7 +108,7 @@ func (*ClientListItem) ProtoMessage() {} func (x *ClientListItem) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -144,10 +138,7 @@ func (x *ClientListItem) GetValidator() bool { } type Client struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Client name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Client name return by Chef Infra Server API. @@ -161,16 +152,16 @@ type Client struct { // Chef object type. ChefType string `protobuf:"bytes,6,opt,name=chef_type,json=chefType,proto3" json:"chef_type,omitempty" toml:"chef_type,omitempty" mapstructure:"chef_type,omitempty"` // Client key detail. - ClientKey *ClientAccessKey `protobuf:"bytes,7,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty" toml:"client_key,omitempty" mapstructure:"client_key,omitempty"` + ClientKey *ClientAccessKey `protobuf:"bytes,7,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty" toml:"client_key,omitempty" mapstructure:"client_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Client) Reset() { *x = Client{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Client) String() string { @@ -181,7 +172,7 @@ func (*Client) ProtoMessage() {} func (x *Client) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -246,23 +237,20 @@ func (x *Client) GetClientKey() *ClientAccessKey { } type CreateClient struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Client name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Client key detail. - ClientKey *ClientKey `protobuf:"bytes,2,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty" toml:"client_key,omitempty" mapstructure:"client_key,omitempty"` + ClientKey *ClientKey `protobuf:"bytes,2,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty" toml:"client_key,omitempty" mapstructure:"client_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateClient) Reset() { *x = CreateClient{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateClient) String() string { @@ -273,7 +261,7 @@ func (*CreateClient) ProtoMessage() {} func (x *CreateClient) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -303,23 +291,20 @@ func (x *CreateClient) GetClientKey() *ClientKey { } type ResetClient struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Client name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Client key detail. - ClientKey *ClientKey `protobuf:"bytes,2,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty" toml:"client_key,omitempty" mapstructure:"client_key,omitempty"` + ClientKey *ClientKey `protobuf:"bytes,2,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty" toml:"client_key,omitempty" mapstructure:"client_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ResetClient) Reset() { *x = ResetClient{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetClient) String() string { @@ -330,7 +315,7 @@ func (*ResetClient) ProtoMessage() {} func (x *ResetClient) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -360,10 +345,7 @@ func (x *ResetClient) GetClientKey() *ClientKey { } type ClientKey struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Client key name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Client public key. @@ -371,16 +353,16 @@ type ClientKey struct { // Client key expiration date string. ExpirationDate string `protobuf:"bytes,3,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty" toml:"expiration_date,omitempty" mapstructure:"expiration_date,omitempty"` // Client private key. - PrivateKey string `protobuf:"bytes,4,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty" toml:"private_key,omitempty" mapstructure:"private_key,omitempty"` + PrivateKey string `protobuf:"bytes,4,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty" toml:"private_key,omitempty" mapstructure:"private_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ClientKey) Reset() { *x = ClientKey{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ClientKey) String() string { @@ -391,7 +373,7 @@ func (*ClientKey) ProtoMessage() {} func (x *ClientKey) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -435,25 +417,22 @@ func (x *ClientKey) GetPrivateKey() string { } type ClientAccessKey struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Client key name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Client public key. PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" toml:"public_key,omitempty" mapstructure:"public_key,omitempty"` // Client key expiration date string. ExpirationDate string `protobuf:"bytes,3,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty" toml:"expiration_date,omitempty" mapstructure:"expiration_date,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ClientAccessKey) Reset() { *x = ClientAccessKey{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ClientAccessKey) String() string { @@ -464,7 +443,7 @@ func (*ClientAccessKey) ProtoMessage() {} func (x *ClientAccessKey) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_clients_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -589,7 +568,7 @@ func file_interservice_infra_proxy_response_clients_proto_rawDescGZIP() []byte { } var file_interservice_infra_proxy_response_clients_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_interservice_infra_proxy_response_clients_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_response_clients_proto_goTypes = []any{ (*Clients)(nil), // 0: chef.automate.domain.infra_proxy.response.Clients (*ClientListItem)(nil), // 1: chef.automate.domain.infra_proxy.response.ClientListItem (*Client)(nil), // 2: chef.automate.domain.infra_proxy.response.Client @@ -615,92 +594,6 @@ func file_interservice_infra_proxy_response_clients_proto_init() { if File_interservice_infra_proxy_response_clients_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_response_clients_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Clients); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_clients_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_clients_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Client); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_clients_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateClient); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_clients_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetClient); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_clients_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientKey); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_clients_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientAccessKey); 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{ diff --git a/api/interservice/infra_proxy/response/common.pb.go b/api/interservice/infra_proxy/response/common.pb.go index 1dfc22d8f85..63d5f14c23a 100644 --- a/api/interservice/infra_proxy/response/common.pb.go +++ b/api/interservice/infra_proxy/response/common.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/response/common.proto @@ -21,10 +21,7 @@ const ( ) type RunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Run list item type (e.g. 'recipe'). Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` // Run list item name. @@ -38,16 +35,16 @@ type RunList struct { // Run list error Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty" toml:"error,omitempty" mapstructure:"error,omitempty"` // List of the run list. - Children []*RunList `protobuf:"bytes,7,rep,name=children,proto3" json:"children,omitempty" toml:"children,omitempty" mapstructure:"children,omitempty"` + Children []*RunList `protobuf:"bytes,7,rep,name=children,proto3" json:"children,omitempty" toml:"children,omitempty" mapstructure:"children,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RunList) Reset() { *x = RunList{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_common_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_common_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RunList) String() string { @@ -58,7 +55,7 @@ func (*RunList) ProtoMessage() {} func (x *RunList) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_common_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -165,7 +162,7 @@ func file_interservice_infra_proxy_response_common_proto_rawDescGZIP() []byte { } var file_interservice_infra_proxy_response_common_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_interservice_infra_proxy_response_common_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_response_common_proto_goTypes = []any{ (*RunList)(nil), // 0: chef.automate.domain.infra_proxy.response.RunList } var file_interservice_infra_proxy_response_common_proto_depIdxs = []int32{ @@ -182,20 +179,6 @@ func file_interservice_infra_proxy_response_common_proto_init() { if File_interservice_infra_proxy_response_common_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_response_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RunList); 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{ diff --git a/api/interservice/infra_proxy/response/cookbooks.pb.go b/api/interservice/infra_proxy/response/cookbooks.pb.go index 562772666eb..e5a6dc09236 100644 --- a/api/interservice/infra_proxy/response/cookbooks.pb.go +++ b/api/interservice/infra_proxy/response/cookbooks.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/response/cookbooks.proto @@ -21,21 +21,18 @@ const ( ) type Cookbooks struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of cookbooks with name and version. - Cookbooks []*CookbookVersion `protobuf:"bytes,1,rep,name=cookbooks,proto3" json:"cookbooks,omitempty" toml:"cookbooks,omitempty" mapstructure:"cookbooks,omitempty"` + Cookbooks []*CookbookVersion `protobuf:"bytes,1,rep,name=cookbooks,proto3" json:"cookbooks,omitempty" toml:"cookbooks,omitempty" mapstructure:"cookbooks,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Cookbooks) Reset() { *x = Cookbooks{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Cookbooks) String() string { @@ -46,7 +43,7 @@ func (*Cookbooks) ProtoMessage() {} func (x *Cookbooks) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,23 +66,20 @@ func (x *Cookbooks) GetCookbooks() []*CookbookVersion { } type CookbookVersions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name of the cookbook. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // List of all versions available for cookbook. - Versions []string `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty" toml:"versions,omitempty" mapstructure:"versions,omitempty"` + Versions []string `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty" toml:"versions,omitempty" mapstructure:"versions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CookbookVersions) Reset() { *x = CookbookVersions{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookVersions) String() string { @@ -96,7 +90,7 @@ func (*CookbookVersions) ProtoMessage() {} func (x *CookbookVersions) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -126,21 +120,18 @@ func (x *CookbookVersions) GetVersions() []string { } type CookbookFileContent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Cookbook data file content. - Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"` + Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CookbookFileContent) Reset() { *x = CookbookFileContent{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookFileContent) String() string { @@ -151,7 +142,7 @@ func (*CookbookFileContent) ProtoMessage() {} func (x *CookbookFileContent) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -174,23 +165,20 @@ func (x *CookbookFileContent) GetContent() string { } type CookbookVersion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name of the cookbook. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Version of the cookbook. - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CookbookVersion) Reset() { *x = CookbookVersion{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookVersion) String() string { @@ -201,7 +189,7 @@ func (*CookbookVersion) ProtoMessage() {} func (x *CookbookVersion) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -231,36 +219,33 @@ func (x *CookbookVersion) GetVersion() string { } type Cookbook struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + CookbookName string `protobuf:"bytes,1,opt,name=cookbook_name,json=cookbookName,proto3" json:"cookbook_name,omitempty" toml:"cookbook_name,omitempty" mapstructure:"cookbook_name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + ChefType string `protobuf:"bytes,4,opt,name=chef_type,json=chefType,proto3" json:"chef_type,omitempty" toml:"chef_type,omitempty" mapstructure:"chef_type,omitempty"` + Frozen bool `protobuf:"varint,5,opt,name=frozen,proto3" json:"frozen,omitempty" toml:"frozen,omitempty" mapstructure:"frozen,omitempty"` + JsonClass string `protobuf:"bytes,6,opt,name=json_class,json=jsonClass,proto3" json:"json_class,omitempty" toml:"json_class,omitempty" mapstructure:"json_class,omitempty"` + Files []*CookbookItem `protobuf:"bytes,7,rep,name=files,proto3" json:"files,omitempty" toml:"files,omitempty" mapstructure:"files,omitempty"` + Templates []*CookbookItem `protobuf:"bytes,8,rep,name=templates,proto3" json:"templates,omitempty" toml:"templates,omitempty" mapstructure:"templates,omitempty"` + Attributes []*CookbookItem `protobuf:"bytes,9,rep,name=attributes,proto3" json:"attributes,omitempty" toml:"attributes,omitempty" mapstructure:"attributes,omitempty"` + Recipes []*CookbookItem `protobuf:"bytes,10,rep,name=recipes,proto3" json:"recipes,omitempty" toml:"recipes,omitempty" mapstructure:"recipes,omitempty"` + Definitions []*CookbookItem `protobuf:"bytes,11,rep,name=definitions,proto3" json:"definitions,omitempty" toml:"definitions,omitempty" mapstructure:"definitions,omitempty"` + Libraries []*CookbookItem `protobuf:"bytes,12,rep,name=libraries,proto3" json:"libraries,omitempty" toml:"libraries,omitempty" mapstructure:"libraries,omitempty"` + Providers []*CookbookItem `protobuf:"bytes,13,rep,name=providers,proto3" json:"providers,omitempty" toml:"providers,omitempty" mapstructure:"providers,omitempty"` + Resources []*CookbookItem `protobuf:"bytes,14,rep,name=resources,proto3" json:"resources,omitempty" toml:"resources,omitempty" mapstructure:"resources,omitempty"` + RootFiles []*CookbookItem `protobuf:"bytes,15,rep,name=root_files,json=rootFiles,proto3" json:"root_files,omitempty" toml:"root_files,omitempty" mapstructure:"root_files,omitempty"` + Metadata *CookbookMeta `protobuf:"bytes,16,opt,name=metadata,proto3" json:"metadata,omitempty" toml:"metadata,omitempty" mapstructure:"metadata,omitempty"` + Access *CookbookAccess `protobuf:"bytes,17,opt,name=access,proto3" json:"access,omitempty" toml:"access,omitempty" mapstructure:"access,omitempty"` unknownFields protoimpl.UnknownFields - - CookbookName string `protobuf:"bytes,1,opt,name=cookbook_name,json=cookbookName,proto3" json:"cookbook_name,omitempty" toml:"cookbook_name,omitempty" mapstructure:"cookbook_name,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - ChefType string `protobuf:"bytes,4,opt,name=chef_type,json=chefType,proto3" json:"chef_type,omitempty" toml:"chef_type,omitempty" mapstructure:"chef_type,omitempty"` - Frozen bool `protobuf:"varint,5,opt,name=frozen,proto3" json:"frozen,omitempty" toml:"frozen,omitempty" mapstructure:"frozen,omitempty"` - JsonClass string `protobuf:"bytes,6,opt,name=json_class,json=jsonClass,proto3" json:"json_class,omitempty" toml:"json_class,omitempty" mapstructure:"json_class,omitempty"` - Files []*CookbookItem `protobuf:"bytes,7,rep,name=files,proto3" json:"files,omitempty" toml:"files,omitempty" mapstructure:"files,omitempty"` - Templates []*CookbookItem `protobuf:"bytes,8,rep,name=templates,proto3" json:"templates,omitempty" toml:"templates,omitempty" mapstructure:"templates,omitempty"` - Attributes []*CookbookItem `protobuf:"bytes,9,rep,name=attributes,proto3" json:"attributes,omitempty" toml:"attributes,omitempty" mapstructure:"attributes,omitempty"` - Recipes []*CookbookItem `protobuf:"bytes,10,rep,name=recipes,proto3" json:"recipes,omitempty" toml:"recipes,omitempty" mapstructure:"recipes,omitempty"` - Definitions []*CookbookItem `protobuf:"bytes,11,rep,name=definitions,proto3" json:"definitions,omitempty" toml:"definitions,omitempty" mapstructure:"definitions,omitempty"` - Libraries []*CookbookItem `protobuf:"bytes,12,rep,name=libraries,proto3" json:"libraries,omitempty" toml:"libraries,omitempty" mapstructure:"libraries,omitempty"` - Providers []*CookbookItem `protobuf:"bytes,13,rep,name=providers,proto3" json:"providers,omitempty" toml:"providers,omitempty" mapstructure:"providers,omitempty"` - Resources []*CookbookItem `protobuf:"bytes,14,rep,name=resources,proto3" json:"resources,omitempty" toml:"resources,omitempty" mapstructure:"resources,omitempty"` - RootFiles []*CookbookItem `protobuf:"bytes,15,rep,name=root_files,json=rootFiles,proto3" json:"root_files,omitempty" toml:"root_files,omitempty" mapstructure:"root_files,omitempty"` - Metadata *CookbookMeta `protobuf:"bytes,16,opt,name=metadata,proto3" json:"metadata,omitempty" toml:"metadata,omitempty" mapstructure:"metadata,omitempty"` - Access *CookbookAccess `protobuf:"bytes,17,opt,name=access,proto3" json:"access,omitempty" toml:"access,omitempty" mapstructure:"access,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Cookbook) Reset() { *x = Cookbook{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Cookbook) String() string { @@ -271,7 +256,7 @@ func (*Cookbook) ProtoMessage() {} func (x *Cookbook) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -406,24 +391,21 @@ func (x *Cookbook) GetAccess() *CookbookAccess { } type CookbookItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Checksum string `protobuf:"bytes,4,opt,name=checksum,proto3" json:"checksum,omitempty" toml:"checksum,omitempty" mapstructure:"checksum,omitempty"` + Specificity string `protobuf:"bytes,5,opt,name=specificity,proto3" json:"specificity,omitempty" toml:"specificity,omitempty" mapstructure:"specificity,omitempty"` unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Checksum string `protobuf:"bytes,4,opt,name=checksum,proto3" json:"checksum,omitempty" toml:"checksum,omitempty" mapstructure:"checksum,omitempty"` - Specificity string `protobuf:"bytes,5,opt,name=specificity,proto3" json:"specificity,omitempty" toml:"specificity,omitempty" mapstructure:"specificity,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CookbookItem) Reset() { *x = CookbookItem{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookItem) String() string { @@ -434,7 +416,7 @@ func (*CookbookItem) ProtoMessage() {} func (x *CookbookItem) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -485,26 +467,23 @@ func (x *CookbookItem) GetSpecificity() string { } type CookbookMeta struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"` - LongDescription string `protobuf:"bytes,4,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty" toml:"long_description,omitempty" mapstructure:"long_description,omitempty"` - Maintainer string `protobuf:"bytes,5,opt,name=maintainer,proto3" json:"maintainer,omitempty" toml:"maintainer,omitempty" mapstructure:"maintainer,omitempty"` - MaintainerEmail string `protobuf:"bytes,6,opt,name=maintainer_email,json=maintainerEmail,proto3" json:"maintainer_email,omitempty" toml:"maintainer_email,omitempty" mapstructure:"maintainer_email,omitempty"` - License string `protobuf:"bytes,7,opt,name=license,proto3" json:"license,omitempty" toml:"license,omitempty" mapstructure:"license,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"` + LongDescription string `protobuf:"bytes,4,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty" toml:"long_description,omitempty" mapstructure:"long_description,omitempty"` + Maintainer string `protobuf:"bytes,5,opt,name=maintainer,proto3" json:"maintainer,omitempty" toml:"maintainer,omitempty" mapstructure:"maintainer,omitempty"` + MaintainerEmail string `protobuf:"bytes,6,opt,name=maintainer_email,json=maintainerEmail,proto3" json:"maintainer_email,omitempty" toml:"maintainer_email,omitempty" mapstructure:"maintainer_email,omitempty"` + License string `protobuf:"bytes,7,opt,name=license,proto3" json:"license,omitempty" toml:"license,omitempty" mapstructure:"license,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CookbookMeta) Reset() { *x = CookbookMeta{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookMeta) String() string { @@ -515,7 +494,7 @@ func (*CookbookMeta) ProtoMessage() {} func (x *CookbookMeta) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -580,24 +559,21 @@ func (x *CookbookMeta) GetLicense() string { } type CookbookAccess struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty" toml:"read,omitempty" mapstructure:"read,omitempty"` + Create bool `protobuf:"varint,2,opt,name=create,proto3" json:"create,omitempty" toml:"create,omitempty" mapstructure:"create,omitempty"` + Grant bool `protobuf:"varint,3,opt,name=grant,proto3" json:"grant,omitempty" toml:"grant,omitempty" mapstructure:"grant,omitempty"` + Update bool `protobuf:"varint,4,opt,name=update,proto3" json:"update,omitempty" toml:"update,omitempty" mapstructure:"update,omitempty"` + Delete bool `protobuf:"varint,5,opt,name=delete,proto3" json:"delete,omitempty" toml:"delete,omitempty" mapstructure:"delete,omitempty"` unknownFields protoimpl.UnknownFields - - Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty" toml:"read,omitempty" mapstructure:"read,omitempty"` - Create bool `protobuf:"varint,2,opt,name=create,proto3" json:"create,omitempty" toml:"create,omitempty" mapstructure:"create,omitempty"` - Grant bool `protobuf:"varint,3,opt,name=grant,proto3" json:"grant,omitempty" toml:"grant,omitempty" mapstructure:"grant,omitempty"` - Update bool `protobuf:"varint,4,opt,name=update,proto3" json:"update,omitempty" toml:"update,omitempty" mapstructure:"update,omitempty"` - Delete bool `protobuf:"varint,5,opt,name=delete,proto3" json:"delete,omitempty" toml:"delete,omitempty" mapstructure:"delete,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CookbookAccess) Reset() { *x = CookbookAccess{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookAccess) String() string { @@ -608,7 +584,7 @@ func (*CookbookAccess) ProtoMessage() {} func (x *CookbookAccess) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -807,7 +783,7 @@ func file_interservice_infra_proxy_response_cookbooks_proto_rawDescGZIP() []byte } var file_interservice_infra_proxy_response_cookbooks_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_interservice_infra_proxy_response_cookbooks_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_response_cookbooks_proto_goTypes = []any{ (*Cookbooks)(nil), // 0: chef.automate.domain.infra_proxy.response.Cookbooks (*CookbookVersions)(nil), // 1: chef.automate.domain.infra_proxy.response.CookbookVersions (*CookbookFileContent)(nil), // 2: chef.automate.domain.infra_proxy.response.CookbookFileContent @@ -842,104 +818,6 @@ func file_interservice_infra_proxy_response_cookbooks_proto_init() { if File_interservice_infra_proxy_response_cookbooks_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Cookbooks); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookVersions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookFileContent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookVersion); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Cookbook); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookMeta); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_cookbooks_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookAccess); 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{ diff --git a/api/interservice/infra_proxy/response/databags.pb.go b/api/interservice/infra_proxy/response/databags.pb.go index e0d118e7d02..2e8c3b794cd 100644 --- a/api/interservice/infra_proxy/response/databags.pb.go +++ b/api/interservice/infra_proxy/response/databags.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/response/databags.proto @@ -21,21 +21,18 @@ const ( ) type DataBags struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Data bags list. - DataBags []*DataBagListItem `protobuf:"bytes,1,rep,name=data_bags,json=dataBags,proto3" json:"data_bags,omitempty" toml:"data_bags,omitempty" mapstructure:"data_bags,omitempty"` + DataBags []*DataBagListItem `protobuf:"bytes,1,rep,name=data_bags,json=dataBags,proto3" json:"data_bags,omitempty" toml:"data_bags,omitempty" mapstructure:"data_bags,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBags) Reset() { *x = DataBags{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBags) String() string { @@ -46,7 +43,7 @@ func (*DataBags) ProtoMessage() {} func (x *DataBags) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,10 +66,7 @@ func (x *DataBags) GetDataBags() []*DataBagListItem { } type DataBagItems struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Data bag name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Data bags item list. @@ -80,16 +74,16 @@ type DataBagItems struct { // Starting page for the results. Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` // Total number of records. - Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBagItems) Reset() { *x = DataBagItems{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBagItems) String() string { @@ -100,7 +94,7 @@ func (*DataBagItems) ProtoMessage() {} func (x *DataBagItems) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -144,21 +138,18 @@ func (x *DataBagItems) GetTotal() int32 { } type DataBagListItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Data bag item name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBagListItem) Reset() { *x = DataBagListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBagListItem) String() string { @@ -169,7 +160,7 @@ func (*DataBagListItem) ProtoMessage() {} func (x *DataBagListItem) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -192,25 +183,22 @@ func (x *DataBagListItem) GetName() string { } type DataBagItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Data bag name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Data bag item ID. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // Stringified json of data bag item. - Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` + Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBagItem) Reset() { *x = DataBagItem{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBagItem) String() string { @@ -221,7 +209,7 @@ func (*DataBagItem) ProtoMessage() {} func (x *DataBagItem) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -258,21 +246,18 @@ func (x *DataBagItem) GetData() string { } type DataBag struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Data bag name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataBag) Reset() { *x = DataBag{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataBag) String() string { @@ -283,7 +268,7 @@ func (*DataBag) ProtoMessage() {} func (x *DataBag) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -306,21 +291,18 @@ func (x *DataBag) GetName() string { } type CreateDataBag struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Data bag name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateDataBag) Reset() { *x = CreateDataBag{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDataBag) String() string { @@ -331,7 +313,7 @@ func (*CreateDataBag) ProtoMessage() {} func (x *CreateDataBag) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -354,23 +336,20 @@ func (x *CreateDataBag) GetName() string { } type CreateDataBagItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Data bag name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Data bag item ID. - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateDataBagItem) Reset() { *x = CreateDataBagItem{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDataBagItem) String() string { @@ -381,7 +360,7 @@ func (*CreateDataBagItem) ProtoMessage() {} func (x *CreateDataBagItem) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -411,23 +390,20 @@ func (x *CreateDataBagItem) GetId() string { } type UpdateDataBagItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Data bag name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Data bag item ID. - ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty" toml:"item_id,omitempty" mapstructure:"item_id,omitempty"` + ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty" toml:"item_id,omitempty" mapstructure:"item_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateDataBagItem) Reset() { *x = UpdateDataBagItem{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateDataBagItem) String() string { @@ -438,7 +414,7 @@ func (*UpdateDataBagItem) ProtoMessage() {} func (x *UpdateDataBagItem) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_databags_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -531,7 +507,7 @@ func file_interservice_infra_proxy_response_databags_proto_rawDescGZIP() []byte } var file_interservice_infra_proxy_response_databags_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_interservice_infra_proxy_response_databags_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_response_databags_proto_goTypes = []any{ (*DataBags)(nil), // 0: chef.automate.domain.infra_proxy.response.DataBags (*DataBagItems)(nil), // 1: chef.automate.domain.infra_proxy.response.DataBagItems (*DataBagListItem)(nil), // 2: chef.automate.domain.infra_proxy.response.DataBagListItem @@ -556,104 +532,6 @@ func file_interservice_infra_proxy_response_databags_proto_init() { if File_interservice_infra_proxy_response_databags_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_response_databags_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBags); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_databags_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBagItems); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_databags_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBagListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_databags_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBagItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_databags_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataBag); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_databags_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDataBag); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_databags_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDataBagItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_databags_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateDataBagItem); 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{ diff --git a/api/interservice/infra_proxy/response/environments.pb.go b/api/interservice/infra_proxy/response/environments.pb.go index 570abe91af5..6d8a568db4e 100644 --- a/api/interservice/infra_proxy/response/environments.pb.go +++ b/api/interservice/infra_proxy/response/environments.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/response/environments.proto @@ -21,25 +21,22 @@ const ( ) type Environments struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Environments list. Environments []*EnvironmentListItem `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty" toml:"environments,omitempty" mapstructure:"environments,omitempty"` // Starting page for the results. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` // Total number of records. - Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Environments) Reset() { *x = Environments{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_environments_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_environments_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Environments) String() string { @@ -50,7 +47,7 @@ func (*Environments) ProtoMessage() {} func (x *Environments) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_environments_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,23 +84,20 @@ func (x *Environments) GetTotal() int32 { } type EnvironmentListItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Environment name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Environment description. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EnvironmentListItem) Reset() { *x = EnvironmentListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_environments_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_environments_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnvironmentListItem) String() string { @@ -114,7 +108,7 @@ func (*EnvironmentListItem) ProtoMessage() {} func (x *EnvironmentListItem) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_environments_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -144,10 +138,7 @@ func (x *EnvironmentListItem) GetDescription() string { } type Environment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Environment name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Chef object type. @@ -157,20 +148,20 @@ type Environment struct { // Environment JSON class. JsonClass string `protobuf:"bytes,4,opt,name=json_class,json=jsonClass,proto3" json:"json_class,omitempty" toml:"json_class,omitempty" mapstructure:"json_class,omitempty"` // Environment versined cookbooks constraints. - CookbookVersions map[string]string `protobuf:"bytes,5,rep,name=cookbook_versions,json=cookbookVersions,proto3" json:"cookbook_versions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" toml:"cookbook_versions,omitempty" mapstructure:"cookbook_versions,omitempty"` + CookbookVersions map[string]string `protobuf:"bytes,5,rep,name=cookbook_versions,json=cookbookVersions,proto3" json:"cookbook_versions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" toml:"cookbook_versions,omitempty" mapstructure:"cookbook_versions,omitempty"` // Environment default attributes JSON. DefaultAttributes string `protobuf:"bytes,6,opt,name=default_attributes,json=defaultAttributes,proto3" json:"default_attributes,omitempty" toml:"default_attributes,omitempty" mapstructure:"default_attributes,omitempty"` // Environment override attributes JSON. OverrideAttributes string `protobuf:"bytes,7,opt,name=override_attributes,json=overrideAttributes,proto3" json:"override_attributes,omitempty" toml:"override_attributes,omitempty" mapstructure:"override_attributes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Environment) Reset() { *x = Environment{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_environments_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_environments_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Environment) String() string { @@ -181,7 +172,7 @@ func (*Environment) ProtoMessage() {} func (x *Environment) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_environments_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -246,21 +237,18 @@ func (x *Environment) GetOverrideAttributes() string { } type EnvironmentRecipesList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Environment recipes list. - Recipes []string `protobuf:"bytes,1,rep,name=recipes,proto3" json:"recipes,omitempty" toml:"recipes,omitempty" mapstructure:"recipes,omitempty"` + Recipes []string `protobuf:"bytes,1,rep,name=recipes,proto3" json:"recipes,omitempty" toml:"recipes,omitempty" mapstructure:"recipes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EnvironmentRecipesList) Reset() { *x = EnvironmentRecipesList{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_environments_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_environments_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnvironmentRecipesList) String() string { @@ -271,7 +259,7 @@ func (*EnvironmentRecipesList) ProtoMessage() {} func (x *EnvironmentRecipesList) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_environments_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -366,7 +354,7 @@ func file_interservice_infra_proxy_response_environments_proto_rawDescGZIP() []b } var file_interservice_infra_proxy_response_environments_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_interservice_infra_proxy_response_environments_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_response_environments_proto_goTypes = []any{ (*Environments)(nil), // 0: chef.automate.domain.infra_proxy.response.Environments (*EnvironmentListItem)(nil), // 1: chef.automate.domain.infra_proxy.response.EnvironmentListItem (*Environment)(nil), // 2: chef.automate.domain.infra_proxy.response.Environment @@ -388,56 +376,6 @@ func file_interservice_infra_proxy_response_environments_proto_init() { if File_interservice_infra_proxy_response_environments_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_response_environments_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Environments); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_environments_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnvironmentListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_environments_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Environment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_environments_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnvironmentRecipesList); 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{ diff --git a/api/interservice/infra_proxy/response/nodes.pb.go b/api/interservice/infra_proxy/response/nodes.pb.go index 726d96a2192..b5e96e1b423 100644 --- a/api/interservice/infra_proxy/response/nodes.pb.go +++ b/api/interservice/infra_proxy/response/nodes.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/response/nodes.proto @@ -21,25 +21,22 @@ const ( ) type Nodes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node list. Nodes []*NodeAttribute `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` // Starting page for the results. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` // Total number of records. - Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Nodes) Reset() { *x = Nodes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Nodes) String() string { @@ -50,7 +47,7 @@ func (*Nodes) ProtoMessage() {} func (x *Nodes) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,10 +84,7 @@ func (x *Nodes) GetTotal() int32 { } type NodeAttribute struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // Node name. @@ -108,16 +102,16 @@ type NodeAttribute struct { // Node FQDN. Fqdn string `protobuf:"bytes,8,opt,name=fqdn,proto3" json:"fqdn,omitempty" toml:"fqdn,omitempty" mapstructure:"fqdn,omitempty"` // Node IP address. - IpAddress string `protobuf:"bytes,9,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty" toml:"ip_address,omitempty" mapstructure:"ip_address,omitempty"` + IpAddress string `protobuf:"bytes,9,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty" toml:"ip_address,omitempty" mapstructure:"ip_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeAttribute) Reset() { *x = NodeAttribute{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeAttribute) String() string { @@ -128,7 +122,7 @@ func (*NodeAttribute) ProtoMessage() {} func (x *NodeAttribute) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -207,21 +201,18 @@ func (x *NodeAttribute) GetIpAddress() string { } type DeleteNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteNode) Reset() { *x = DeleteNode{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteNode) String() string { @@ -232,7 +223,7 @@ func (*DeleteNode) ProtoMessage() {} func (x *DeleteNode) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -255,10 +246,7 @@ func (x *DeleteNode) GetName() string { } type Node struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node ID. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` // Node name. @@ -281,15 +269,15 @@ type Node struct { NormalAttributes string `protobuf:"bytes,10,opt,name=normal_attributes,json=normalAttributes,proto3" json:"normal_attributes,omitempty" toml:"normal_attributes,omitempty" mapstructure:"normal_attributes,omitempty"` // Node override attributes JSON. OverrideAttributes string `protobuf:"bytes,11,opt,name=override_attributes,json=overrideAttributes,proto3" json:"override_attributes,omitempty" toml:"override_attributes,omitempty" mapstructure:"override_attributes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Node) Reset() { *x = Node{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Node) String() string { @@ -300,7 +288,7 @@ func (*Node) ProtoMessage() {} func (x *Node) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -393,21 +381,18 @@ func (x *Node) GetOverrideAttributes() string { } type UpdateNodeTags struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node tags. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty" toml:"tags,omitempty" mapstructure:"tags,omitempty"` + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty" toml:"tags,omitempty" mapstructure:"tags,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateNodeTags) Reset() { *x = UpdateNodeTags{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateNodeTags) String() string { @@ -418,7 +403,7 @@ func (*UpdateNodeTags) ProtoMessage() {} func (x *UpdateNodeTags) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -441,23 +426,20 @@ func (x *UpdateNodeTags) GetTags() []string { } type UpdateNodeEnvironment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Node environment name. - Environment string `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty" toml:"environment,omitempty" mapstructure:"environment,omitempty"` + Environment string `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty" toml:"environment,omitempty" mapstructure:"environment,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateNodeEnvironment) Reset() { *x = UpdateNodeEnvironment{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateNodeEnvironment) String() string { @@ -468,7 +450,7 @@ func (*UpdateNodeEnvironment) ProtoMessage() {} func (x *UpdateNodeEnvironment) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -498,23 +480,20 @@ func (x *UpdateNodeEnvironment) GetEnvironment() string { } type UpdateNodeAttributes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Node attributes JSON. - Attributes string `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty" toml:"attributes,omitempty" mapstructure:"attributes,omitempty"` + Attributes string `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty" toml:"attributes,omitempty" mapstructure:"attributes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateNodeAttributes) Reset() { *x = UpdateNodeAttributes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateNodeAttributes) String() string { @@ -525,7 +504,7 @@ func (*UpdateNodeAttributes) ProtoMessage() {} func (x *UpdateNodeAttributes) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -555,23 +534,20 @@ func (x *UpdateNodeAttributes) GetAttributes() string { } type NodeExpandedRunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the run list collection. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // List of the run list. - RunList []*RunList `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty" toml:"run_list,omitempty" mapstructure:"run_list,omitempty"` + RunList []*RunList `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty" toml:"run_list,omitempty" mapstructure:"run_list,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeExpandedRunList) Reset() { *x = NodeExpandedRunList{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeExpandedRunList) String() string { @@ -582,7 +558,7 @@ func (*NodeExpandedRunList) ProtoMessage() {} func (x *NodeExpandedRunList) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_nodes_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -713,7 +689,7 @@ func file_interservice_infra_proxy_response_nodes_proto_rawDescGZIP() []byte { } var file_interservice_infra_proxy_response_nodes_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_interservice_infra_proxy_response_nodes_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_response_nodes_proto_goTypes = []any{ (*Nodes)(nil), // 0: chef.automate.domain.infra_proxy.response.Nodes (*NodeAttribute)(nil), // 1: chef.automate.domain.infra_proxy.response.NodeAttribute (*DeleteNode)(nil), // 2: chef.automate.domain.infra_proxy.response.DeleteNode @@ -740,104 +716,6 @@ func file_interservice_infra_proxy_response_nodes_proto_init() { return } file_interservice_infra_proxy_response_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_response_nodes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Nodes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_nodes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeAttribute); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_nodes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteNode); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_nodes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Node); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_nodes_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateNodeTags); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_nodes_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateNodeEnvironment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_nodes_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateNodeAttributes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_nodes_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeExpandedRunList); 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{ diff --git a/api/interservice/infra_proxy/response/orgs.pb.go b/api/interservice/infra_proxy/response/orgs.pb.go index 303a0d1d67c..82555c3061c 100644 --- a/api/interservice/infra_proxy/response/orgs.pb.go +++ b/api/interservice/infra_proxy/response/orgs.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/response/orgs.proto @@ -21,21 +21,18 @@ const ( ) type CreateOrg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization. - Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty" toml:"org,omitempty" mapstructure:"org,omitempty"` + Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty" toml:"org,omitempty" mapstructure:"org,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateOrg) Reset() { *x = CreateOrg{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateOrg) String() string { @@ -46,7 +43,7 @@ func (*CreateOrg) ProtoMessage() {} func (x *CreateOrg) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,21 +66,18 @@ func (x *CreateOrg) GetOrg() *Org { } type DeleteOrg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization. - Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty" toml:"org,omitempty" mapstructure:"org,omitempty"` + Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty" toml:"org,omitempty" mapstructure:"org,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteOrg) Reset() { *x = DeleteOrg{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteOrg) String() string { @@ -94,7 +88,7 @@ func (*DeleteOrg) ProtoMessage() {} func (x *DeleteOrg) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -117,21 +111,18 @@ func (x *DeleteOrg) GetOrg() *Org { } type UpdateOrg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization. - Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty" toml:"org,omitempty" mapstructure:"org,omitempty"` + Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty" toml:"org,omitempty" mapstructure:"org,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateOrg) Reset() { *x = UpdateOrg{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateOrg) String() string { @@ -142,7 +133,7 @@ func (*UpdateOrg) ProtoMessage() {} func (x *UpdateOrg) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -165,21 +156,18 @@ func (x *UpdateOrg) GetOrg() *Org { } type GetOrgs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization list. - Orgs []*Org `protobuf:"bytes,1,rep,name=orgs,proto3" json:"orgs,omitempty" toml:"orgs,omitempty" mapstructure:"orgs,omitempty"` + Orgs []*Org `protobuf:"bytes,1,rep,name=orgs,proto3" json:"orgs,omitempty" toml:"orgs,omitempty" mapstructure:"orgs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrgs) Reset() { *x = GetOrgs{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrgs) String() string { @@ -190,7 +178,7 @@ func (*GetOrgs) ProtoMessage() {} func (x *GetOrgs) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -213,21 +201,18 @@ func (x *GetOrgs) GetOrgs() []*Org { } type GetOrg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization. - Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty" toml:"org,omitempty" mapstructure:"org,omitempty"` + Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty" toml:"org,omitempty" mapstructure:"org,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrg) Reset() { *x = GetOrg{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrg) String() string { @@ -238,7 +223,7 @@ func (*GetOrg) ProtoMessage() {} func (x *GetOrg) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -261,10 +246,7 @@ func (x *GetOrg) GetOrg() *Org { } type Org struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // Chef organization name. @@ -276,16 +258,16 @@ type Org struct { // Chef Infra Server ID. ServerId string `protobuf:"bytes,5,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"` // List of projects this chef organization belongs to. May be empty. - Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Org) Reset() { *x = Org{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Org) String() string { @@ -296,7 +278,7 @@ func (*Org) ProtoMessage() {} func (x *Org) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -354,21 +336,18 @@ func (x *Org) GetProjects() []string { } type ResetOrgAdminKey struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef organization. - Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty" toml:"org,omitempty" mapstructure:"org,omitempty"` + Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty" toml:"org,omitempty" mapstructure:"org,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ResetOrgAdminKey) Reset() { *x = ResetOrgAdminKey{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetOrgAdminKey) String() string { @@ -379,7 +358,7 @@ func (*ResetOrgAdminKey) ProtoMessage() {} func (x *ResetOrgAdminKey) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_orgs_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -470,7 +449,7 @@ func file_interservice_infra_proxy_response_orgs_proto_rawDescGZIP() []byte { } var file_interservice_infra_proxy_response_orgs_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_interservice_infra_proxy_response_orgs_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_response_orgs_proto_goTypes = []any{ (*CreateOrg)(nil), // 0: chef.automate.domain.infra_proxy.response.CreateOrg (*DeleteOrg)(nil), // 1: chef.automate.domain.infra_proxy.response.DeleteOrg (*UpdateOrg)(nil), // 2: chef.automate.domain.infra_proxy.response.UpdateOrg @@ -498,92 +477,6 @@ func file_interservice_infra_proxy_response_orgs_proto_init() { if File_interservice_infra_proxy_response_orgs_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_response_orgs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateOrg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_orgs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteOrg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_orgs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateOrg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_orgs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrgs); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_orgs_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_orgs_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Org); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_orgs_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetOrgAdminKey); 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{ diff --git a/api/interservice/infra_proxy/response/policyfiles.pb.go b/api/interservice/infra_proxy/response/policyfiles.pb.go index eadb8f46aaa..0b3f3eb8e4a 100644 --- a/api/interservice/infra_proxy/response/policyfiles.pb.go +++ b/api/interservice/infra_proxy/response/policyfiles.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/response/policyfiles.proto @@ -21,21 +21,18 @@ const ( ) type Policyfiles struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Policyfiles list. - Policies []*PolicyfileListItem `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty" toml:"policies,omitempty" mapstructure:"policies,omitempty"` + Policies []*PolicyfileListItem `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty" toml:"policies,omitempty" mapstructure:"policies,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Policyfiles) Reset() { *x = Policyfiles{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Policyfiles) String() string { @@ -46,7 +43,7 @@ func (*Policyfiles) ProtoMessage() {} func (x *Policyfiles) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,25 +66,22 @@ func (x *Policyfiles) GetPolicies() []*PolicyfileListItem { } type PolicyfileListItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Policyfile name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Policyfile revision ID. RevisionId string `protobuf:"bytes,3,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty" toml:"revision_id,omitempty" mapstructure:"revision_id,omitempty"` // Policyfile policy group. - PolicyGroup string `protobuf:"bytes,2,opt,name=policy_group,json=policyGroup,proto3" json:"policy_group,omitempty" toml:"policy_group,omitempty" mapstructure:"policy_group,omitempty"` + PolicyGroup string `protobuf:"bytes,2,opt,name=policy_group,json=policyGroup,proto3" json:"policy_group,omitempty" toml:"policy_group,omitempty" mapstructure:"policy_group,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PolicyfileListItem) Reset() { *x = PolicyfileListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicyfileListItem) String() string { @@ -98,7 +92,7 @@ func (*PolicyfileListItem) ProtoMessage() {} func (x *PolicyfileListItem) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -135,10 +129,7 @@ func (x *PolicyfileListItem) GetPolicyGroup() string { } type Policyfile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Policyfile name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Policy group name. @@ -161,15 +152,15 @@ type Policyfile struct { ExpandedRunList []*ExpandedRunList `protobuf:"bytes,10,rep,name=expanded_run_list,json=expandedRunList,proto3" json:"expanded_run_list,omitempty" toml:"expanded_run_list,omitempty" mapstructure:"expanded_run_list,omitempty"` // Solution Dependencies versions. SolutionDependecies []*SolutionDependencies `protobuf:"bytes,11,rep,name=solution_dependecies,json=solutionDependecies,proto3" json:"solution_dependecies,omitempty" toml:"solution_dependecies,omitempty" mapstructure:"solution_dependecies,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Policyfile) Reset() { *x = Policyfile{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Policyfile) String() string { @@ -180,7 +171,7 @@ func (*Policyfile) ProtoMessage() {} func (x *Policyfile) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -273,25 +264,22 @@ func (x *Policyfile) GetSolutionDependecies() []*SolutionDependencies { } type SolutionDependencies struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // cookbook name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // cookbook version. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` // cookbook dependencies - Dependencies []*DepedenciesData `protobuf:"bytes,3,rep,name=dependencies,proto3" json:"dependencies,omitempty" toml:"dependencies,omitempty" mapstructure:"dependencies,omitempty"` + Dependencies []*DepedenciesData `protobuf:"bytes,3,rep,name=dependencies,proto3" json:"dependencies,omitempty" toml:"dependencies,omitempty" mapstructure:"dependencies,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SolutionDependencies) Reset() { *x = SolutionDependencies{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SolutionDependencies) String() string { @@ -302,7 +290,7 @@ func (*SolutionDependencies) ProtoMessage() {} func (x *SolutionDependencies) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -339,23 +327,20 @@ func (x *SolutionDependencies) GetDependencies() []*DepedenciesData { } type DepedenciesData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // cookbook name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // cookbook version. - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DepedenciesData) Reset() { *x = DepedenciesData{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DepedenciesData) String() string { @@ -366,7 +351,7 @@ func (*DepedenciesData) ProtoMessage() {} func (x *DepedenciesData) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -396,25 +381,22 @@ func (x *DepedenciesData) GetVersion() string { } type IncludedPolicyLock struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Included policyfile name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Included policyfile revision ID. RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty" toml:"revision_id,omitempty" mapstructure:"revision_id,omitempty"` // Included policyfile source options. SourceOptions *SourceOptions `protobuf:"bytes,3,opt,name=source_options,json=sourceOptions,proto3" json:"source_options,omitempty" toml:"source_options,omitempty" mapstructure:"source_options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IncludedPolicyLock) Reset() { *x = IncludedPolicyLock{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IncludedPolicyLock) String() string { @@ -425,7 +407,7 @@ func (*IncludedPolicyLock) ProtoMessage() {} func (x *IncludedPolicyLock) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -462,10 +444,7 @@ func (x *IncludedPolicyLock) GetSourceOptions() *SourceOptions { } type CookbookLock struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Cookbook name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Cookbook version. @@ -482,15 +461,15 @@ type CookbookLock struct { ScmDetail *SCMDetail `protobuf:"bytes,7,opt,name=scm_detail,json=scmDetail,proto3" json:"scm_detail,omitempty" toml:"scm_detail,omitempty" mapstructure:"scm_detail,omitempty"` // Cookbook source path. SourceOptions *SourceOptions `protobuf:"bytes,8,opt,name=source_options,json=sourceOptions,proto3" json:"source_options,omitempty" toml:"source_options,omitempty" mapstructure:"source_options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CookbookLock) Reset() { *x = CookbookLock{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CookbookLock) String() string { @@ -501,7 +480,7 @@ func (*CookbookLock) ProtoMessage() {} func (x *CookbookLock) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -573,10 +552,7 @@ func (x *CookbookLock) GetSourceOptions() *SourceOptions { } type SCMDetail struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // SCM name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // SCM remote location. @@ -589,15 +565,15 @@ type SCMDetail struct { Published bool `protobuf:"varint,5,opt,name=published,proto3" json:"published,omitempty" toml:"published,omitempty" mapstructure:"published,omitempty"` // Synchronized remote branches list. SynchronizedRemoteBranches []string `protobuf:"bytes,6,rep,name=synchronized_remote_branches,json=synchronizedRemoteBranches,proto3" json:"synchronized_remote_branches,omitempty" toml:"synchronized_remote_branches,omitempty" mapstructure:"synchronized_remote_branches,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SCMDetail) Reset() { *x = SCMDetail{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SCMDetail) String() string { @@ -608,7 +584,7 @@ func (*SCMDetail) ProtoMessage() {} func (x *SCMDetail) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -666,21 +642,18 @@ func (x *SCMDetail) GetSynchronizedRemoteBranches() []string { } type SourceOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Source options path. - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SourceOptions) Reset() { *x = SourceOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SourceOptions) String() string { @@ -691,7 +664,7 @@ func (*SourceOptions) ProtoMessage() {} func (x *SourceOptions) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -714,23 +687,20 @@ func (x *SourceOptions) GetPath() string { } type NamedRunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Run-list name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Run-list associated with the policy. - RunList []string `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty" toml:"run_list,omitempty" mapstructure:"run_list,omitempty"` + RunList []string `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty" toml:"run_list,omitempty" mapstructure:"run_list,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NamedRunList) Reset() { *x = NamedRunList{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NamedRunList) String() string { @@ -741,7 +711,7 @@ func (*NamedRunList) ProtoMessage() {} func (x *NamedRunList) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -771,21 +741,18 @@ func (x *NamedRunList) GetRunList() []string { } type DeletePolicyfile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Policyfile name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeletePolicyfile) Reset() { *x = DeletePolicyfile{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeletePolicyfile) String() string { @@ -796,7 +763,7 @@ func (*DeletePolicyfile) ProtoMessage() {} func (x *DeletePolicyfile) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -819,21 +786,18 @@ func (x *DeletePolicyfile) GetName() string { } type PolicyfileRevisions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Policyfile revisions. - Revisions []*PolicyfileRevision `protobuf:"bytes,1,rep,name=revisions,proto3" json:"revisions,omitempty" toml:"revisions,omitempty" mapstructure:"revisions,omitempty"` + Revisions []*PolicyfileRevision `protobuf:"bytes,1,rep,name=revisions,proto3" json:"revisions,omitempty" toml:"revisions,omitempty" mapstructure:"revisions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PolicyfileRevisions) Reset() { *x = PolicyfileRevisions{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicyfileRevisions) String() string { @@ -844,7 +808,7 @@ func (*PolicyfileRevisions) ProtoMessage() {} func (x *PolicyfileRevisions) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -867,21 +831,18 @@ func (x *PolicyfileRevisions) GetRevisions() []*PolicyfileRevision { } type PolicyfileRevision struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // policyfile revision - RevisionId string `protobuf:"bytes,1,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty" toml:"revision_id,omitempty" mapstructure:"revision_id,omitempty"` + RevisionId string `protobuf:"bytes,1,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty" toml:"revision_id,omitempty" mapstructure:"revision_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PolicyfileRevision) Reset() { *x = PolicyfileRevision{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicyfileRevision) String() string { @@ -892,7 +853,7 @@ func (*PolicyfileRevision) ProtoMessage() {} func (x *PolicyfileRevision) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -915,25 +876,22 @@ func (x *PolicyfileRevision) GetRevisionId() string { } type Policygroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Policygroup name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Policygroup policyfiles. Policies []*GroupPolicy `protobuf:"bytes,2,rep,name=policies,proto3" json:"policies,omitempty" toml:"policies,omitempty" mapstructure:"policies,omitempty"` // policygroup uri. - Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty" toml:"uri,omitempty" mapstructure:"uri,omitempty"` + Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty" toml:"uri,omitempty" mapstructure:"uri,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Policygroup) Reset() { *x = Policygroup{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Policygroup) String() string { @@ -944,7 +902,7 @@ func (*Policygroup) ProtoMessage() {} func (x *Policygroup) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -981,23 +939,20 @@ func (x *Policygroup) GetUri() string { } type GroupPolicy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Policyfile name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Policyfile Revision ID. - RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty" toml:"revision_id,omitempty" mapstructure:"revision_id,omitempty"` + RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty" toml:"revision_id,omitempty" mapstructure:"revision_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GroupPolicy) Reset() { *x = GroupPolicy{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GroupPolicy) String() string { @@ -1008,7 +963,7 @@ func (*GroupPolicy) ProtoMessage() {} func (x *GroupPolicy) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1225,7 +1180,7 @@ func file_interservice_infra_proxy_response_policyfiles_proto_rawDescGZIP() []by } var file_interservice_infra_proxy_response_policyfiles_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_interservice_infra_proxy_response_policyfiles_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_response_policyfiles_proto_goTypes = []any{ (*Policyfiles)(nil), // 0: chef.automate.domain.infra_proxy.response.Policyfiles (*PolicyfileListItem)(nil), // 1: chef.automate.domain.infra_proxy.response.PolicyfileListItem (*Policyfile)(nil), // 2: chef.automate.domain.infra_proxy.response.Policyfile @@ -1269,188 +1224,6 @@ func file_interservice_infra_proxy_response_policyfiles_proto_init() { return } file_interservice_infra_proxy_response_roles_proto_init() - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Policyfiles); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PolicyfileListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Policyfile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SolutionDependencies); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DepedenciesData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IncludedPolicyLock); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CookbookLock); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SCMDetail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SourceOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NamedRunList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeletePolicyfile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PolicyfileRevisions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PolicyfileRevision); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Policygroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_policyfiles_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GroupPolicy); 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{ diff --git a/api/interservice/infra_proxy/response/roles.pb.go b/api/interservice/infra_proxy/response/roles.pb.go index 9b7b9d15928..e3349aa5f11 100644 --- a/api/interservice/infra_proxy/response/roles.pb.go +++ b/api/interservice/infra_proxy/response/roles.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/response/roles.proto @@ -21,25 +21,22 @@ const ( ) type Roles struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of the roles item. Roles []*RoleListItem `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty" toml:"roles,omitempty" mapstructure:"roles,omitempty"` // Starting page for the results. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` // Total number of records. - Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Roles) Reset() { *x = Roles{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_roles_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_roles_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Roles) String() string { @@ -50,7 +47,7 @@ func (*Roles) ProtoMessage() {} func (x *Roles) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_roles_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,25 +84,22 @@ func (x *Roles) GetTotal() int32 { } type RoleListItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name of the role. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Desscription of the role. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"` // Environment for the role. - Environments []string `protobuf:"bytes,3,rep,name=environments,proto3" json:"environments,omitempty" toml:"environments,omitempty" mapstructure:"environments,omitempty"` + Environments []string `protobuf:"bytes,3,rep,name=environments,proto3" json:"environments,omitempty" toml:"environments,omitempty" mapstructure:"environments,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RoleListItem) Reset() { *x = RoleListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_roles_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_roles_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoleListItem) String() string { @@ -116,7 +110,7 @@ func (*RoleListItem) ProtoMessage() {} func (x *RoleListItem) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_roles_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -153,10 +147,7 @@ func (x *RoleListItem) GetEnvironments() []string { } type Role struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name of the role. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Type of the chef object. @@ -170,16 +161,16 @@ type Role struct { // Json class name. JsonClass string `protobuf:"bytes,6,opt,name=json_class,json=jsonClass,proto3" json:"json_class,omitempty" toml:"json_class,omitempty" mapstructure:"json_class,omitempty"` // Run list for the role. - RunList []string `protobuf:"bytes,7,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty" toml:"run_list,omitempty" mapstructure:"run_list,omitempty"` + RunList []string `protobuf:"bytes,7,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty" toml:"run_list,omitempty" mapstructure:"run_list,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Role) Reset() { *x = Role{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_roles_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_roles_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Role) String() string { @@ -190,7 +181,7 @@ func (*Role) ProtoMessage() {} func (x *Role) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_roles_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -255,23 +246,20 @@ func (x *Role) GetRunList() []string { } type ExpandedRunList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID of the run list collection. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // List of the run list. - RunList []*RunList `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty" toml:"run_list,omitempty" mapstructure:"run_list,omitempty"` + RunList []*RunList `protobuf:"bytes,2,rep,name=run_list,json=runList,proto3" json:"run_list,omitempty" toml:"run_list,omitempty" mapstructure:"run_list,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ExpandedRunList) Reset() { *x = ExpandedRunList{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_roles_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_roles_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExpandedRunList) String() string { @@ -282,7 +270,7 @@ func (*ExpandedRunList) ProtoMessage() {} func (x *ExpandedRunList) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_roles_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -312,21 +300,18 @@ func (x *ExpandedRunList) GetRunList() []*RunList { } type RoleEnvironments struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Role environment list. - Environments []string `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty" toml:"environments,omitempty" mapstructure:"environments,omitempty"` + Environments []string `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty" toml:"environments,omitempty" mapstructure:"environments,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RoleEnvironments) Reset() { *x = RoleEnvironments{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_roles_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_roles_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoleEnvironments) String() string { @@ -337,7 +322,7 @@ func (*RoleEnvironments) ProtoMessage() {} func (x *RoleEnvironments) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_roles_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -432,7 +417,7 @@ func file_interservice_infra_proxy_response_roles_proto_rawDescGZIP() []byte { } var file_interservice_infra_proxy_response_roles_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_interservice_infra_proxy_response_roles_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_response_roles_proto_goTypes = []any{ (*Roles)(nil), // 0: chef.automate.domain.infra_proxy.response.Roles (*RoleListItem)(nil), // 1: chef.automate.domain.infra_proxy.response.RoleListItem (*Role)(nil), // 2: chef.automate.domain.infra_proxy.response.Role @@ -456,68 +441,6 @@ func file_interservice_infra_proxy_response_roles_proto_init() { return } file_interservice_infra_proxy_response_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_response_roles_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Roles); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_roles_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoleListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_roles_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Role); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_roles_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExpandedRunList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_roles_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoleEnvironments); 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{ diff --git a/api/interservice/infra_proxy/response/servers.pb.go b/api/interservice/infra_proxy/response/servers.pb.go index ab4bef2608a..501e21f1a93 100644 --- a/api/interservice/infra_proxy/response/servers.pb.go +++ b/api/interservice/infra_proxy/response/servers.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/response/servers.proto @@ -21,21 +21,18 @@ const ( ) type CreateServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server. - Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty" toml:"server,omitempty" mapstructure:"server,omitempty"` + Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty" toml:"server,omitempty" mapstructure:"server,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateServer) Reset() { *x = CreateServer{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateServer) String() string { @@ -46,7 +43,7 @@ func (*CreateServer) ProtoMessage() {} func (x *CreateServer) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,21 +66,18 @@ func (x *CreateServer) GetServer() *Server { } type DeleteServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server. - Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty" toml:"server,omitempty" mapstructure:"server,omitempty"` + Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty" toml:"server,omitempty" mapstructure:"server,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteServer) Reset() { *x = DeleteServer{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteServer) String() string { @@ -94,7 +88,7 @@ func (*DeleteServer) ProtoMessage() {} func (x *DeleteServer) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -117,21 +111,18 @@ func (x *DeleteServer) GetServer() *Server { } type UpdateServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server. - Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty" toml:"server,omitempty" mapstructure:"server,omitempty"` + Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty" toml:"server,omitempty" mapstructure:"server,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateServer) Reset() { *x = UpdateServer{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateServer) String() string { @@ -142,7 +133,7 @@ func (*UpdateServer) ProtoMessage() {} func (x *UpdateServer) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -165,21 +156,18 @@ func (x *UpdateServer) GetServer() *Server { } type GetServers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of Chef Infra Servers. - Servers []*Server `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty" toml:"servers,omitempty" mapstructure:"servers,omitempty"` + Servers []*Server `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty" toml:"servers,omitempty" mapstructure:"servers,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetServers) Reset() { *x = GetServers{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetServers) String() string { @@ -190,7 +178,7 @@ func (*GetServers) ProtoMessage() {} func (x *GetServers) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -213,21 +201,18 @@ func (x *GetServers) GetServers() []*Server { } type GetServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server. - Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty" toml:"server,omitempty" mapstructure:"server,omitempty"` + Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty" toml:"server,omitempty" mapstructure:"server,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetServer) Reset() { *x = GetServer{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetServer) String() string { @@ -238,7 +223,7 @@ func (*GetServer) ProtoMessage() {} func (x *GetServer) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -261,10 +246,7 @@ func (x *GetServer) GetServer() *Server { } type Server struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Infra Server ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // Chef Infra Server name. @@ -274,16 +256,16 @@ type Server struct { // Chef Infra Server IP address. IpAddress string `protobuf:"bytes,5,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty" toml:"ip_address,omitempty" mapstructure:"ip_address,omitempty"` // Chef organizations count associated with Chef Infra Server. - OrgsCount int32 `protobuf:"varint,6,opt,name=orgs_count,json=orgsCount,proto3" json:"orgs_count,omitempty" toml:"orgs_count,omitempty" mapstructure:"orgs_count,omitempty"` + OrgsCount int32 `protobuf:"varint,6,opt,name=orgs_count,json=orgsCount,proto3" json:"orgs_count,omitempty" toml:"orgs_count,omitempty" mapstructure:"orgs_count,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Server) Reset() { *x = Server{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Server) String() string { @@ -294,7 +276,7 @@ func (*Server) ProtoMessage() {} func (x *Server) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -345,25 +327,22 @@ func (x *Server) GetOrgsCount() int32 { } type GetServerStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Chef Server Status Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` // Chef Server Upstream - Upstreams map[string]string `protobuf:"bytes,2,rep,name=upstreams,proto3" json:"upstreams,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" toml:"upstreams,omitempty" mapstructure:"upstreams,omitempty"` + Upstreams map[string]string `protobuf:"bytes,2,rep,name=upstreams,proto3" json:"upstreams,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" toml:"upstreams,omitempty" mapstructure:"upstreams,omitempty"` // Chef Server Keygem - Keygen map[string]int32 `protobuf:"bytes,3,rep,name=keygen,proto3" json:"keygen,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3" toml:"keygen,omitempty" mapstructure:"keygen,omitempty"` + Keygen map[string]int32 `protobuf:"bytes,3,rep,name=keygen,proto3" json:"keygen,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value" toml:"keygen,omitempty" mapstructure:"keygen,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetServerStatus) Reset() { *x = GetServerStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetServerStatus) String() string { @@ -374,7 +353,7 @@ func (*GetServerStatus) ProtoMessage() {} func (x *GetServerStatus) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_servers_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -498,7 +477,7 @@ func file_interservice_infra_proxy_response_servers_proto_rawDescGZIP() []byte { } var file_interservice_infra_proxy_response_servers_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_interservice_infra_proxy_response_servers_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_response_servers_proto_goTypes = []any{ (*CreateServer)(nil), // 0: chef.automate.domain.infra_proxy.response.CreateServer (*DeleteServer)(nil), // 1: chef.automate.domain.infra_proxy.response.DeleteServer (*UpdateServer)(nil), // 2: chef.automate.domain.infra_proxy.response.UpdateServer @@ -529,92 +508,6 @@ func file_interservice_infra_proxy_response_servers_proto_init() { if File_interservice_infra_proxy_response_servers_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_response_servers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_servers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_servers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_servers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServers); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_servers_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_servers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Server); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_servers_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServerStatus); 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{ diff --git a/api/interservice/infra_proxy/response/users.pb.go b/api/interservice/infra_proxy/response/users.pb.go index 9eb6f088258..bb2e4e01404 100644 --- a/api/interservice/infra_proxy/response/users.pb.go +++ b/api/interservice/infra_proxy/response/users.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/response/users.proto @@ -21,21 +21,18 @@ const ( ) type OrgUsers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Users list - Users []*UsersListItem `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty" toml:"users,omitempty" mapstructure:"users,omitempty"` + Users []*UsersListItem `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty" toml:"users,omitempty" mapstructure:"users,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OrgUsers) Reset() { *x = OrgUsers{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_users_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_users_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OrgUsers) String() string { @@ -46,7 +43,7 @@ func (*OrgUsers) ProtoMessage() {} func (x *OrgUsers) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_users_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,10 +66,7 @@ func (x *OrgUsers) GetUsers() []*UsersListItem { } type UsersListItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // User username Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty" toml:"username,omitempty" mapstructure:"username,omitempty"` // User first name @@ -80,16 +74,16 @@ type UsersListItem struct { // User Last name LastName string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty" toml:"last_name,omitempty" mapstructure:"last_name,omitempty"` // User email - Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty" toml:"email,omitempty" mapstructure:"email,omitempty"` + Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty" toml:"email,omitempty" mapstructure:"email,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UsersListItem) Reset() { *x = UsersListItem{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_users_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_users_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UsersListItem) String() string { @@ -100,7 +94,7 @@ func (*UsersListItem) ProtoMessage() {} func (x *UsersListItem) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_users_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -144,21 +138,18 @@ func (x *UsersListItem) GetEmail() string { } type ServerUsers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Users list - Users []*UsersListItem `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty" toml:"users,omitempty" mapstructure:"users,omitempty"` + Users []*UsersListItem `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty" toml:"users,omitempty" mapstructure:"users,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServerUsers) Reset() { *x = ServerUsers{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_infra_proxy_response_users_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_infra_proxy_response_users_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServerUsers) String() string { @@ -169,7 +160,7 @@ func (*ServerUsers) ProtoMessage() {} func (x *ServerUsers) ProtoReflect() protoreflect.Message { mi := &file_interservice_infra_proxy_response_users_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -239,7 +230,7 @@ func file_interservice_infra_proxy_response_users_proto_rawDescGZIP() []byte { } var file_interservice_infra_proxy_response_users_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_interservice_infra_proxy_response_users_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_response_users_proto_goTypes = []any{ (*OrgUsers)(nil), // 0: chef.automate.domain.infra_proxy.response.OrgUsers (*UsersListItem)(nil), // 1: chef.automate.domain.infra_proxy.response.UsersListItem (*ServerUsers)(nil), // 2: chef.automate.domain.infra_proxy.response.ServerUsers @@ -259,44 +250,6 @@ func file_interservice_infra_proxy_response_users_proto_init() { if File_interservice_infra_proxy_response_users_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_infra_proxy_response_users_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrgUsers); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_users_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UsersListItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_infra_proxy_response_users_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServerUsers); 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{ diff --git a/api/interservice/infra_proxy/service/infra_proxy.pb.go b/api/interservice/infra_proxy/service/infra_proxy.pb.go index b319ee12746..77bbfd14f18 100644 --- a/api/interservice/infra_proxy/service/infra_proxy.pb.go +++ b/api/interservice/infra_proxy/service/infra_proxy.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/infra_proxy/service/infra_proxy.proto @@ -578,7 +578,7 @@ var file_interservice_infra_proxy_service_infra_proxy_proto_rawDesc = []byte{ 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_interservice_infra_proxy_service_infra_proxy_proto_goTypes = []interface{}{ +var file_interservice_infra_proxy_service_infra_proxy_proto_goTypes = []any{ (*request.CreateServer)(nil), // 0: chef.automate.domain.infra_proxy.request.CreateServer (*request.DeleteServer)(nil), // 1: chef.automate.domain.infra_proxy.request.DeleteServer (*request.UpdateServer)(nil), // 2: chef.automate.domain.infra_proxy.request.UpdateServer diff --git a/api/interservice/ingest/automate_event.pb.go b/api/interservice/ingest/automate_event.pb.go index f8a019992f1..c8724ed4913 100644 --- a/api/interservice/ingest/automate_event.pb.go +++ b/api/interservice/ingest/automate_event.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/ingest/automate_event.proto @@ -27,18 +27,16 @@ const ( ) type ProjectUpdateStatusReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProjectUpdateStatusReq) Reset() { *x = ProjectUpdateStatusReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_automate_event_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_automate_event_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProjectUpdateStatusReq) String() string { @@ -49,7 +47,7 @@ func (*ProjectUpdateStatusReq) ProtoMessage() {} func (x *ProjectUpdateStatusReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_automate_event_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -65,22 +63,19 @@ func (*ProjectUpdateStatusReq) Descriptor() ([]byte, []int) { } type ProjectUpdateStatusResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty" toml:"state,omitempty" mapstructure:"state,omitempty"` EstimatedTimeComplete *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=estimated_time_complete,json=estimatedTimeComplete,proto3" json:"estimated_time_complete,omitempty" toml:"estimated_time_complete,omitempty" mapstructure:"estimated_time_complete,omitempty"` PercentageComplete float32 `protobuf:"fixed32,3,opt,name=percentage_complete,json=percentageComplete,proto3" json:"percentage_complete,omitempty" toml:"percentage_complete,omitempty" mapstructure:"percentage_complete,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProjectUpdateStatusResp) Reset() { *x = ProjectUpdateStatusResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_automate_event_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_automate_event_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProjectUpdateStatusResp) String() string { @@ -91,7 +86,7 @@ func (*ProjectUpdateStatusResp) ProtoMessage() {} func (x *ProjectUpdateStatusResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_automate_event_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -187,7 +182,7 @@ func file_interservice_ingest_automate_event_proto_rawDescGZIP() []byte { } var file_interservice_ingest_automate_event_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_interservice_ingest_automate_event_proto_goTypes = []interface{}{ +var file_interservice_ingest_automate_event_proto_goTypes = []any{ (*ProjectUpdateStatusReq)(nil), // 0: chef.automate.domain.ingest.ProjectUpdateStatusReq (*ProjectUpdateStatusResp)(nil), // 1: chef.automate.domain.ingest.ProjectUpdateStatusResp (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp @@ -212,32 +207,6 @@ func file_interservice_ingest_automate_event_proto_init() { if File_interservice_ingest_automate_event_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_ingest_automate_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProjectUpdateStatusReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_automate_event_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProjectUpdateStatusResp); 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{ diff --git a/api/interservice/ingest/chef.pb.go b/api/interservice/ingest/chef.pb.go index df2178e346c..a82104940d1 100644 --- a/api/interservice/ingest/chef.pb.go +++ b/api/interservice/ingest/chef.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/ingest/chef.proto @@ -35,23 +35,20 @@ const ( // * Semantic version // * Git SHA type Version struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + Built string `protobuf:"bytes,1,opt,name=built,proto3" json:"built,omitempty" toml:"built,omitempty" mapstructure:"built,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Sha string `protobuf:"bytes,4,opt,name=sha,proto3" json:"sha,omitempty" toml:"sha,omitempty" mapstructure:"sha,omitempty"` unknownFields protoimpl.UnknownFields - - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` - Built string `protobuf:"bytes,1,opt,name=built,proto3" json:"built,omitempty" toml:"built,omitempty" mapstructure:"built,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Sha string `protobuf:"bytes,4,opt,name=sha,proto3" json:"sha,omitempty" toml:"sha,omitempty" mapstructure:"sha,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Version) Reset() { *x = Version{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_chef_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_chef_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Version) String() string { @@ -62,7 +59,7 @@ func (*Version) ProtoMessage() {} func (x *Version) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_chef_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -106,18 +103,16 @@ func (x *Version) GetSha() string { } type VersionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *VersionRequest) Reset() { *x = VersionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_chef_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_chef_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VersionRequest) String() string { @@ -128,7 +123,7 @@ func (*VersionRequest) ProtoMessage() {} func (x *VersionRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_chef_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -253,7 +248,7 @@ func file_interservice_ingest_chef_proto_rawDescGZIP() []byte { } var file_interservice_ingest_chef_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_interservice_ingest_chef_proto_goTypes = []interface{}{ +var file_interservice_ingest_chef_proto_goTypes = []any{ (*Version)(nil), // 0: chef.automate.domain.ingest.Version (*VersionRequest)(nil), // 1: chef.automate.domain.ingest.VersionRequest (*request.Run)(nil), // 2: chef.automate.api.ingest.request.Run @@ -292,32 +287,6 @@ func file_interservice_ingest_chef_proto_init() { if File_interservice_ingest_chef_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_ingest_chef_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Version); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_chef_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VersionRequest); 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{ diff --git a/api/interservice/ingest/job_scheduler.pb.go b/api/interservice/ingest/job_scheduler.pb.go index 73ff621fed4..ca8f587a2d2 100644 --- a/api/interservice/ingest/job_scheduler.pb.go +++ b/api/interservice/ingest/job_scheduler.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/ingest/job_scheduler.proto @@ -27,13 +27,10 @@ const ( // JobSettings - The job settings message to configure any scheduler job type JobSettings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Every string `protobuf:"bytes,1,opt,name=every,proto3" json:"every,omitempty" toml:"every,omitempty" mapstructure:"every,omitempty"` // accepts '1h30m', '1m', '2h30m', ... - Threshold string `protobuf:"bytes,3,opt,name=threshold,proto3" json:"threshold,omitempty" toml:"threshold,omitempty" mapstructure:"threshold,omitempty"` - Running bool `protobuf:"varint,4,opt,name=running,proto3" json:"running,omitempty" toml:"running,omitempty" mapstructure:"running,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Every string `protobuf:"bytes,1,opt,name=every,proto3" json:"every,omitempty" toml:"every,omitempty" mapstructure:"every,omitempty"` // accepts '1h30m', '1m', '2h30m', ... + Threshold string `protobuf:"bytes,3,opt,name=threshold,proto3" json:"threshold,omitempty" toml:"threshold,omitempty" mapstructure:"threshold,omitempty"` + Running bool `protobuf:"varint,4,opt,name=running,proto3" json:"running,omitempty" toml:"running,omitempty" mapstructure:"running,omitempty"` // recurrence rules are how underlying cereal workflow schedules are stored // and executed. 'every' was the scheduler format that was used in the // previous scheduler implementation and is still supported, though they @@ -41,16 +38,16 @@ type JobSettings struct { // the schedule recurrence. // When the UI is moved to the data_lifecycle top level api, which uses // recurrence, we can probably deprecate or remove every support. - Recurrence string `protobuf:"bytes,5,opt,name=recurrence,proto3" json:"recurrence,omitempty" toml:"recurrence,omitempty" mapstructure:"recurrence,omitempty"` + Recurrence string `protobuf:"bytes,5,opt,name=recurrence,proto3" json:"recurrence,omitempty" toml:"recurrence,omitempty" mapstructure:"recurrence,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *JobSettings) Reset() { *x = JobSettings{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobSettings) String() string { @@ -61,7 +58,7 @@ func (*JobSettings) ProtoMessage() {} func (x *JobSettings) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -105,21 +102,18 @@ func (x *JobSettings) GetRecurrence() string { } type JobSchedulerStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Running bool `protobuf:"varint,1,opt,name=running,proto3" json:"running,omitempty" toml:"running,omitempty" mapstructure:"running,omitempty"` + Jobs []*Job `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty" toml:"jobs,omitempty" mapstructure:"jobs,omitempty"` unknownFields protoimpl.UnknownFields - - Running bool `protobuf:"varint,1,opt,name=running,proto3" json:"running,omitempty" toml:"running,omitempty" mapstructure:"running,omitempty"` - Jobs []*Job `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty" toml:"jobs,omitempty" mapstructure:"jobs,omitempty"` + sizeCache protoimpl.SizeCache } func (x *JobSchedulerStatus) Reset() { *x = JobSchedulerStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobSchedulerStatus) String() string { @@ -130,7 +124,7 @@ func (*JobSchedulerStatus) ProtoMessage() {} func (x *JobSchedulerStatus) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -160,28 +154,25 @@ func (x *JobSchedulerStatus) GetJobs() []*Job { } type Job struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Running bool `protobuf:"varint,1,opt,name=running,proto3" json:"running,omitempty" toml:"running,omitempty" mapstructure:"running,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Every string `protobuf:"bytes,3,opt,name=every,proto3" json:"every,omitempty" toml:"every,omitempty" mapstructure:"every,omitempty"` + LastRun string `protobuf:"bytes,4,opt,name=last_run,json=lastRun,proto3" json:"last_run,omitempty" toml:"last_run,omitempty" mapstructure:"last_run,omitempty"` + NextRun string `protobuf:"bytes,5,opt,name=next_run,json=nextRun,proto3" json:"next_run,omitempty" toml:"next_run,omitempty" mapstructure:"next_run,omitempty"` + LastElapsed string `protobuf:"bytes,6,opt,name=last_elapsed,json=lastElapsed,proto3" json:"last_elapsed,omitempty" toml:"last_elapsed,omitempty" mapstructure:"last_elapsed,omitempty"` + StartedOn string `protobuf:"bytes,7,opt,name=started_on,json=startedOn,proto3" json:"started_on,omitempty" toml:"started_on,omitempty" mapstructure:"started_on,omitempty"` + Threshold string `protobuf:"bytes,8,opt,name=threshold,proto3" json:"threshold,omitempty" toml:"threshold,omitempty" mapstructure:"threshold,omitempty"` + Recurrence string `protobuf:"bytes,9,opt,name=recurrence,proto3" json:"recurrence,omitempty" toml:"recurrence,omitempty" mapstructure:"recurrence,omitempty"` unknownFields protoimpl.UnknownFields - - Running bool `protobuf:"varint,1,opt,name=running,proto3" json:"running,omitempty" toml:"running,omitempty" mapstructure:"running,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Every string `protobuf:"bytes,3,opt,name=every,proto3" json:"every,omitempty" toml:"every,omitempty" mapstructure:"every,omitempty"` - LastRun string `protobuf:"bytes,4,opt,name=last_run,json=lastRun,proto3" json:"last_run,omitempty" toml:"last_run,omitempty" mapstructure:"last_run,omitempty"` - NextRun string `protobuf:"bytes,5,opt,name=next_run,json=nextRun,proto3" json:"next_run,omitempty" toml:"next_run,omitempty" mapstructure:"next_run,omitempty"` - LastElapsed string `protobuf:"bytes,6,opt,name=last_elapsed,json=lastElapsed,proto3" json:"last_elapsed,omitempty" toml:"last_elapsed,omitempty" mapstructure:"last_elapsed,omitempty"` - StartedOn string `protobuf:"bytes,7,opt,name=started_on,json=startedOn,proto3" json:"started_on,omitempty" toml:"started_on,omitempty" mapstructure:"started_on,omitempty"` - Threshold string `protobuf:"bytes,8,opt,name=threshold,proto3" json:"threshold,omitempty" toml:"threshold,omitempty" mapstructure:"threshold,omitempty"` - Recurrence string `protobuf:"bytes,9,opt,name=recurrence,proto3" json:"recurrence,omitempty" toml:"recurrence,omitempty" mapstructure:"recurrence,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Job) Reset() { *x = Job{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Job) String() string { @@ -192,7 +183,7 @@ func (*Job) ProtoMessage() {} func (x *Job) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -271,18 +262,16 @@ func (x *Job) GetRecurrence() string { } type JobSchedulerStatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *JobSchedulerStatusRequest) Reset() { *x = JobSchedulerStatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobSchedulerStatusRequest) String() string { @@ -293,7 +282,7 @@ func (*JobSchedulerStatusRequest) ProtoMessage() {} func (x *JobSchedulerStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -309,18 +298,16 @@ func (*JobSchedulerStatusRequest) Descriptor() ([]byte, []int) { } type StopJobSchedulerRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopJobSchedulerRequest) Reset() { *x = StopJobSchedulerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopJobSchedulerRequest) String() string { @@ -331,7 +318,7 @@ func (*StopJobSchedulerRequest) ProtoMessage() {} func (x *StopJobSchedulerRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -347,18 +334,16 @@ func (*StopJobSchedulerRequest) Descriptor() ([]byte, []int) { } type StopJobSchedulerResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopJobSchedulerResponse) Reset() { *x = StopJobSchedulerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopJobSchedulerResponse) String() string { @@ -369,7 +354,7 @@ func (*StopJobSchedulerResponse) ProtoMessage() {} func (x *StopJobSchedulerResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -385,18 +370,16 @@ func (*StopJobSchedulerResponse) Descriptor() ([]byte, []int) { } type StartJobSchedulerRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartJobSchedulerRequest) Reset() { *x = StartJobSchedulerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartJobSchedulerRequest) String() string { @@ -407,7 +390,7 @@ func (*StartJobSchedulerRequest) ProtoMessage() {} func (x *StartJobSchedulerRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -423,18 +406,16 @@ func (*StartJobSchedulerRequest) Descriptor() ([]byte, []int) { } type StartJobSchedulerResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartJobSchedulerResponse) Reset() { *x = StartJobSchedulerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartJobSchedulerResponse) String() string { @@ -445,7 +426,7 @@ func (*StartJobSchedulerResponse) ProtoMessage() {} func (x *StartJobSchedulerResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -462,18 +443,16 @@ func (*StartJobSchedulerResponse) Descriptor() ([]byte, []int) { // NodesMissingScheduler type MarkNodesMissingRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MarkNodesMissingRequest) Reset() { *x = MarkNodesMissingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarkNodesMissingRequest) String() string { @@ -484,7 +463,7 @@ func (*MarkNodesMissingRequest) ProtoMessage() {} func (x *MarkNodesMissingRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -500,18 +479,16 @@ func (*MarkNodesMissingRequest) Descriptor() ([]byte, []int) { } type MarkNodesMissingResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MarkNodesMissingResponse) Reset() { *x = MarkNodesMissingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarkNodesMissingResponse) String() string { @@ -522,7 +499,7 @@ func (*MarkNodesMissingResponse) ProtoMessage() {} func (x *MarkNodesMissingResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -538,18 +515,16 @@ func (*MarkNodesMissingResponse) Descriptor() ([]byte, []int) { } type ConfigureNodesMissingSchedulerResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConfigureNodesMissingSchedulerResponse) Reset() { *x = ConfigureNodesMissingSchedulerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConfigureNodesMissingSchedulerResponse) String() string { @@ -560,7 +535,7 @@ func (*ConfigureNodesMissingSchedulerResponse) ProtoMessage() {} func (x *ConfigureNodesMissingSchedulerResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -576,18 +551,16 @@ func (*ConfigureNodesMissingSchedulerResponse) Descriptor() ([]byte, []int) { } type StartNodesMissingSchedulerRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartNodesMissingSchedulerRequest) Reset() { *x = StartNodesMissingSchedulerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartNodesMissingSchedulerRequest) String() string { @@ -598,7 +571,7 @@ func (*StartNodesMissingSchedulerRequest) ProtoMessage() {} func (x *StartNodesMissingSchedulerRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -614,18 +587,16 @@ func (*StartNodesMissingSchedulerRequest) Descriptor() ([]byte, []int) { } type StartNodesMissingSchedulerResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartNodesMissingSchedulerResponse) Reset() { *x = StartNodesMissingSchedulerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartNodesMissingSchedulerResponse) String() string { @@ -636,7 +607,7 @@ func (*StartNodesMissingSchedulerResponse) ProtoMessage() {} func (x *StartNodesMissingSchedulerResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -652,18 +623,16 @@ func (*StartNodesMissingSchedulerResponse) Descriptor() ([]byte, []int) { } type StopNodesMissingSchedulerRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopNodesMissingSchedulerRequest) Reset() { *x = StopNodesMissingSchedulerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopNodesMissingSchedulerRequest) String() string { @@ -674,7 +643,7 @@ func (*StopNodesMissingSchedulerRequest) ProtoMessage() {} func (x *StopNodesMissingSchedulerRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -690,18 +659,16 @@ func (*StopNodesMissingSchedulerRequest) Descriptor() ([]byte, []int) { } type StopNodesMissingSchedulerResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopNodesMissingSchedulerResponse) Reset() { *x = StopNodesMissingSchedulerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopNodesMissingSchedulerResponse) String() string { @@ -712,7 +679,7 @@ func (*StopNodesMissingSchedulerResponse) ProtoMessage() {} func (x *StopNodesMissingSchedulerResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -729,18 +696,16 @@ func (*StopNodesMissingSchedulerResponse) Descriptor() ([]byte, []int) { // DeleteNodesScheduler type DeleteMarkedNodesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteMarkedNodesRequest) Reset() { *x = DeleteMarkedNodesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteMarkedNodesRequest) String() string { @@ -751,7 +716,7 @@ func (*DeleteMarkedNodesRequest) ProtoMessage() {} func (x *DeleteMarkedNodesRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -767,18 +732,16 @@ func (*DeleteMarkedNodesRequest) Descriptor() ([]byte, []int) { } type DeleteMarkedNodesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteMarkedNodesResponse) Reset() { *x = DeleteMarkedNodesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteMarkedNodesResponse) String() string { @@ -789,7 +752,7 @@ func (*DeleteMarkedNodesResponse) ProtoMessage() {} func (x *DeleteMarkedNodesResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -805,18 +768,16 @@ func (*DeleteMarkedNodesResponse) Descriptor() ([]byte, []int) { } type StartDeleteNodesSchedulerRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartDeleteNodesSchedulerRequest) Reset() { *x = StartDeleteNodesSchedulerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartDeleteNodesSchedulerRequest) String() string { @@ -827,7 +788,7 @@ func (*StartDeleteNodesSchedulerRequest) ProtoMessage() {} func (x *StartDeleteNodesSchedulerRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -843,18 +804,16 @@ func (*StartDeleteNodesSchedulerRequest) Descriptor() ([]byte, []int) { } type StartDeleteNodesSchedulerResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartDeleteNodesSchedulerResponse) Reset() { *x = StartDeleteNodesSchedulerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartDeleteNodesSchedulerResponse) String() string { @@ -865,7 +824,7 @@ func (*StartDeleteNodesSchedulerResponse) ProtoMessage() {} func (x *StartDeleteNodesSchedulerResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -881,18 +840,16 @@ func (*StartDeleteNodesSchedulerResponse) Descriptor() ([]byte, []int) { } type StopDeleteNodesSchedulerRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopDeleteNodesSchedulerRequest) Reset() { *x = StopDeleteNodesSchedulerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopDeleteNodesSchedulerRequest) String() string { @@ -903,7 +860,7 @@ func (*StopDeleteNodesSchedulerRequest) ProtoMessage() {} func (x *StopDeleteNodesSchedulerRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -919,18 +876,16 @@ func (*StopDeleteNodesSchedulerRequest) Descriptor() ([]byte, []int) { } type StopDeleteNodesSchedulerResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopDeleteNodesSchedulerResponse) Reset() { *x = StopDeleteNodesSchedulerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopDeleteNodesSchedulerResponse) String() string { @@ -941,7 +896,7 @@ func (*StopDeleteNodesSchedulerResponse) ProtoMessage() {} func (x *StopDeleteNodesSchedulerResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -957,18 +912,16 @@ func (*StopDeleteNodesSchedulerResponse) Descriptor() ([]byte, []int) { } type ConfigureDeleteNodesSchedulerResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConfigureDeleteNodesSchedulerResponse) Reset() { *x = ConfigureDeleteNodesSchedulerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConfigureDeleteNodesSchedulerResponse) String() string { @@ -979,7 +932,7 @@ func (*ConfigureDeleteNodesSchedulerResponse) ProtoMessage() {} func (x *ConfigureDeleteNodesSchedulerResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -995,18 +948,16 @@ func (*ConfigureDeleteNodesSchedulerResponse) Descriptor() ([]byte, []int) { } type MarkMissingNodesForDeletionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MarkMissingNodesForDeletionRequest) Reset() { *x = MarkMissingNodesForDeletionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarkMissingNodesForDeletionRequest) String() string { @@ -1017,7 +968,7 @@ func (*MarkMissingNodesForDeletionRequest) ProtoMessage() {} func (x *MarkMissingNodesForDeletionRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1034,18 +985,16 @@ func (*MarkMissingNodesForDeletionRequest) Descriptor() ([]byte, []int) { // MissingNodesForDeletionScheduler type MarkMissingNodesForDeletionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MarkMissingNodesForDeletionResponse) Reset() { *x = MarkMissingNodesForDeletionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarkMissingNodesForDeletionResponse) String() string { @@ -1056,7 +1005,7 @@ func (*MarkMissingNodesForDeletionResponse) ProtoMessage() {} func (x *MarkMissingNodesForDeletionResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1072,18 +1021,16 @@ func (*MarkMissingNodesForDeletionResponse) Descriptor() ([]byte, []int) { } type ConfigureMissingNodesForDeletionSchedulerResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConfigureMissingNodesForDeletionSchedulerResponse) Reset() { *x = ConfigureMissingNodesForDeletionSchedulerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConfigureMissingNodesForDeletionSchedulerResponse) String() string { @@ -1094,7 +1041,7 @@ func (*ConfigureMissingNodesForDeletionSchedulerResponse) ProtoMessage() {} func (x *ConfigureMissingNodesForDeletionSchedulerResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1110,18 +1057,16 @@ func (*ConfigureMissingNodesForDeletionSchedulerResponse) Descriptor() ([]byte, } type StartMissingNodesForDeletionSchedulerRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMissingNodesForDeletionSchedulerRequest) Reset() { *x = StartMissingNodesForDeletionSchedulerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartMissingNodesForDeletionSchedulerRequest) String() string { @@ -1132,7 +1077,7 @@ func (*StartMissingNodesForDeletionSchedulerRequest) ProtoMessage() {} func (x *StartMissingNodesForDeletionSchedulerRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1148,18 +1093,16 @@ func (*StartMissingNodesForDeletionSchedulerRequest) Descriptor() ([]byte, []int } type StartMissingNodesForDeletionSchedulerResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMissingNodesForDeletionSchedulerResponse) Reset() { *x = StartMissingNodesForDeletionSchedulerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartMissingNodesForDeletionSchedulerResponse) String() string { @@ -1170,7 +1113,7 @@ func (*StartMissingNodesForDeletionSchedulerResponse) ProtoMessage() {} func (x *StartMissingNodesForDeletionSchedulerResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1186,18 +1129,16 @@ func (*StartMissingNodesForDeletionSchedulerResponse) Descriptor() ([]byte, []in } type StopMissingNodesForDeletionSchedulerRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopMissingNodesForDeletionSchedulerRequest) Reset() { *x = StopMissingNodesForDeletionSchedulerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopMissingNodesForDeletionSchedulerRequest) String() string { @@ -1208,7 +1149,7 @@ func (*StopMissingNodesForDeletionSchedulerRequest) ProtoMessage() {} func (x *StopMissingNodesForDeletionSchedulerRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1224,18 +1165,16 @@ func (*StopMissingNodesForDeletionSchedulerRequest) Descriptor() ([]byte, []int) } type StopMissingNodesForDeletionSchedulerResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopMissingNodesForDeletionSchedulerResponse) Reset() { *x = StopMissingNodesForDeletionSchedulerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopMissingNodesForDeletionSchedulerResponse) String() string { @@ -1246,7 +1185,7 @@ func (*StopMissingNodesForDeletionSchedulerResponse) ProtoMessage() {} func (x *StopMissingNodesForDeletionSchedulerResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_job_scheduler_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1532,7 +1471,7 @@ func file_interservice_ingest_job_scheduler_proto_rawDescGZIP() []byte { } var file_interservice_ingest_job_scheduler_proto_msgTypes = make([]protoimpl.MessageInfo, 29) -var file_interservice_ingest_job_scheduler_proto_goTypes = []interface{}{ +var file_interservice_ingest_job_scheduler_proto_goTypes = []any{ (*JobSettings)(nil), // 0: chef.automate.domain.ingest.JobSettings (*JobSchedulerStatus)(nil), // 1: chef.automate.domain.ingest.JobSchedulerStatus (*Job)(nil), // 2: chef.automate.domain.ingest.Job @@ -1603,356 +1542,6 @@ func file_interservice_ingest_job_scheduler_proto_init() { if File_interservice_ingest_job_scheduler_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_ingest_job_scheduler_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JobSettings); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JobSchedulerStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Job); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JobSchedulerStatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopJobSchedulerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopJobSchedulerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartJobSchedulerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartJobSchedulerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkNodesMissingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkNodesMissingResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigureNodesMissingSchedulerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartNodesMissingSchedulerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartNodesMissingSchedulerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopNodesMissingSchedulerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopNodesMissingSchedulerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteMarkedNodesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteMarkedNodesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartDeleteNodesSchedulerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartDeleteNodesSchedulerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopDeleteNodesSchedulerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopDeleteNodesSchedulerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigureDeleteNodesSchedulerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkMissingNodesForDeletionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkMissingNodesForDeletionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigureMissingNodesForDeletionSchedulerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartMissingNodesForDeletionSchedulerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartMissingNodesForDeletionSchedulerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopMissingNodesForDeletionSchedulerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_job_scheduler_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopMissingNodesForDeletionSchedulerResponse); 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{ diff --git a/api/interservice/ingest/status.pb.go b/api/interservice/ingest/status.pb.go index 55e8812c5b0..aba4d7e1917 100644 --- a/api/interservice/ingest/status.pb.go +++ b/api/interservice/ingest/status.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/ingest/status.proto @@ -36,20 +36,17 @@ const ( // // @afiune: Here we can add more health information to the response type Health struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Health) Reset() { *x = Health{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_status_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_status_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Health) String() string { @@ -60,7 +57,7 @@ func (*Health) ProtoMessage() {} func (x *Health) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_status_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -84,23 +81,20 @@ func (x *Health) GetStatus() string { // Migration message type MigrationStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + Completed int64 `protobuf:"varint,2,opt,name=completed,proto3" json:"completed,omitempty" toml:"completed,omitempty" mapstructure:"completed,omitempty"` + Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + Finished bool `protobuf:"varint,4,opt,name=finished,proto3" json:"finished,omitempty" toml:"finished,omitempty" mapstructure:"finished,omitempty"` unknownFields protoimpl.UnknownFields - - Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` - Completed int64 `protobuf:"varint,2,opt,name=completed,proto3" json:"completed,omitempty" toml:"completed,omitempty" mapstructure:"completed,omitempty"` - Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - Finished bool `protobuf:"varint,4,opt,name=finished,proto3" json:"finished,omitempty" toml:"finished,omitempty" mapstructure:"finished,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MigrationStatus) Reset() { *x = MigrationStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_status_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_status_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MigrationStatus) String() string { @@ -111,7 +105,7 @@ func (*MigrationStatus) ProtoMessage() {} func (x *MigrationStatus) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_status_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -156,21 +150,18 @@ func (x *MigrationStatus) GetFinished() bool { // Metrics message type Metrics struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Uptime float64 `protobuf:"fixed64,5,opt,name=uptime,proto3" json:"uptime,omitempty" toml:"uptime,omitempty" mapstructure:"uptime,omitempty"` + Pipeline *PipelineMetrics `protobuf:"bytes,6,opt,name=pipeline,proto3" json:"pipeline,omitempty" toml:"pipeline,omitempty" mapstructure:"pipeline,omitempty"` unknownFields protoimpl.UnknownFields - - Uptime float64 `protobuf:"fixed64,5,opt,name=uptime,proto3" json:"uptime,omitempty" toml:"uptime,omitempty" mapstructure:"uptime,omitempty"` - Pipeline *PipelineMetrics `protobuf:"bytes,6,opt,name=pipeline,proto3" json:"pipeline,omitempty" toml:"pipeline,omitempty" mapstructure:"pipeline,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Metrics) Reset() { *x = Metrics{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_status_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_status_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Metrics) String() string { @@ -181,7 +172,7 @@ func (*Metrics) ProtoMessage() {} func (x *Metrics) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_status_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -211,21 +202,18 @@ func (x *Metrics) GetPipeline() *PipelineMetrics { } type PipelineMetrics struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TotalRunMessages int64 `protobuf:"varint,5,opt,name=total_run_messages,json=totalRunMessages,proto3" json:"total_run_messages,omitempty" toml:"total_run_messages,omitempty" mapstructure:"total_run_messages,omitempty"` - TotalActionMessages int64 `protobuf:"varint,6,opt,name=total_action_messages,json=totalActionMessages,proto3" json:"total_action_messages,omitempty" toml:"total_action_messages,omitempty" mapstructure:"total_action_messages,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + TotalRunMessages int64 `protobuf:"varint,5,opt,name=total_run_messages,json=totalRunMessages,proto3" json:"total_run_messages,omitempty" toml:"total_run_messages,omitempty" mapstructure:"total_run_messages,omitempty"` + TotalActionMessages int64 `protobuf:"varint,6,opt,name=total_action_messages,json=totalActionMessages,proto3" json:"total_action_messages,omitempty" toml:"total_action_messages,omitempty" mapstructure:"total_action_messages,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PipelineMetrics) Reset() { *x = PipelineMetrics{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_status_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_status_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PipelineMetrics) String() string { @@ -236,7 +224,7 @@ func (*PipelineMetrics) ProtoMessage() {} func (x *PipelineMetrics) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_status_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -266,18 +254,16 @@ func (x *PipelineMetrics) GetTotalActionMessages() int64 { } type HealthRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *HealthRequest) Reset() { *x = HealthRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_status_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_status_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HealthRequest) String() string { @@ -288,7 +274,7 @@ func (*HealthRequest) ProtoMessage() {} func (x *HealthRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_status_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -304,18 +290,16 @@ func (*HealthRequest) Descriptor() ([]byte, []int) { } type MetricsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricsRequest) Reset() { *x = MetricsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_status_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_status_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsRequest) String() string { @@ -326,7 +310,7 @@ func (*MetricsRequest) ProtoMessage() {} func (x *MetricsRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_status_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -342,18 +326,16 @@ func (*MetricsRequest) Descriptor() ([]byte, []int) { } type MigrationStatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MigrationStatusRequest) Reset() { *x = MigrationStatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_ingest_status_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_ingest_status_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MigrationStatusRequest) String() string { @@ -364,7 +346,7 @@ func (*MigrationStatusRequest) ProtoMessage() {} func (x *MigrationStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_ingest_status_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -459,7 +441,7 @@ func file_interservice_ingest_status_proto_rawDescGZIP() []byte { } var file_interservice_ingest_status_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_interservice_ingest_status_proto_goTypes = []interface{}{ +var file_interservice_ingest_status_proto_goTypes = []any{ (*Health)(nil), // 0: chef.automate.domain.ingest.Health (*MigrationStatus)(nil), // 1: chef.automate.domain.ingest.MigrationStatus (*Metrics)(nil), // 2: chef.automate.domain.ingest.Metrics @@ -488,92 +470,6 @@ func file_interservice_ingest_status_proto_init() { if File_interservice_ingest_status_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_ingest_status_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Health); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_status_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MigrationStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_status_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Metrics); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_status_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PipelineMetrics); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_status_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HealthRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_status_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_ingest_status_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MigrationStatusRequest); 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{ diff --git a/api/interservice/license_control/license_control.pb.go b/api/interservice/license_control/license_control.pb.go index c74378c1ed8..6358f8e8391 100644 --- a/api/interservice/license_control/license_control.pb.go +++ b/api/interservice/license_control/license_control.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/license_control/license_control.proto @@ -27,18 +27,16 @@ const ( ) type LicenseRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LicenseRequest) Reset() { *x = LicenseRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_license_control_license_control_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_license_control_license_control_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LicenseRequest) String() string { @@ -49,7 +47,7 @@ func (*LicenseRequest) ProtoMessage() {} func (x *LicenseRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_license_control_license_control_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -65,20 +63,17 @@ func (*LicenseRequest) Descriptor() ([]byte, []int) { } type LicenseResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + License *license.License `protobuf:"bytes,1,opt,name=license,proto3" json:"license,omitempty" toml:"license,omitempty" mapstructure:"license,omitempty"` unknownFields protoimpl.UnknownFields - - License *license.License `protobuf:"bytes,1,opt,name=license,proto3" json:"license,omitempty" toml:"license,omitempty" mapstructure:"license,omitempty"` + sizeCache protoimpl.SizeCache } func (x *LicenseResponse) Reset() { *x = LicenseResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_license_control_license_control_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_license_control_license_control_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LicenseResponse) String() string { @@ -89,7 +84,7 @@ func (*LicenseResponse) ProtoMessage() {} func (x *LicenseResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_license_control_license_control_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -112,18 +107,16 @@ func (x *LicenseResponse) GetLicense() *license.License { } type PolicyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PolicyRequest) Reset() { *x = PolicyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_license_control_license_control_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_license_control_license_control_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicyRequest) String() string { @@ -134,7 +127,7 @@ func (*PolicyRequest) ProtoMessage() {} func (x *PolicyRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_license_control_license_control_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -150,20 +143,17 @@ func (*PolicyRequest) Descriptor() ([]byte, []int) { } type PolicyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty" toml:"policy,omitempty" mapstructure:"policy,omitempty"` unknownFields protoimpl.UnknownFields - - Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty" toml:"policy,omitempty" mapstructure:"policy,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PolicyResponse) Reset() { *x = PolicyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_license_control_license_control_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_license_control_license_control_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicyResponse) String() string { @@ -174,7 +164,7 @@ func (*PolicyResponse) ProtoMessage() {} func (x *PolicyResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_license_control_license_control_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -197,24 +187,21 @@ func (x *PolicyResponse) GetPolicy() *Policy { } type Policy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + LicenseId string `protobuf:"bytes,1,opt,name=license_id,json=licenseId,proto3" json:"license_id,omitempty" toml:"license_id,omitempty" mapstructure:"license_id,omitempty"` + Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty" toml:"valid,omitempty" mapstructure:"valid,omitempty"` + Capabilities []*Capability `protobuf:"bytes,3,rep,name=capabilities,proto3" json:"capabilities,omitempty" toml:"capabilities,omitempty" mapstructure:"capabilities,omitempty"` + Rules map[string]string `protobuf:"bytes,4,rep,name=rules,proto3" json:"rules,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" toml:"rules,omitempty" mapstructure:"rules,omitempty"` + ConfiguredAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=configured_at,json=configuredAt,proto3" json:"configured_at,omitempty" toml:"configured_at,omitempty" mapstructure:"configured_at,omitempty"` unknownFields protoimpl.UnknownFields - - LicenseId string `protobuf:"bytes,1,opt,name=license_id,json=licenseId,proto3" json:"license_id,omitempty" toml:"license_id,omitempty" mapstructure:"license_id,omitempty"` - Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty" toml:"valid,omitempty" mapstructure:"valid,omitempty"` - Capabilities []*Capability `protobuf:"bytes,3,rep,name=capabilities,proto3" json:"capabilities,omitempty" toml:"capabilities,omitempty" mapstructure:"capabilities,omitempty"` - Rules map[string]string `protobuf:"bytes,4,rep,name=rules,proto3" json:"rules,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" toml:"rules,omitempty" mapstructure:"rules,omitempty"` - ConfiguredAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=configured_at,json=configuredAt,proto3" json:"configured_at,omitempty" toml:"configured_at,omitempty" mapstructure:"configured_at,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Policy) Reset() { *x = Policy{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_license_control_license_control_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_license_control_license_control_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Policy) String() string { @@ -225,7 +212,7 @@ func (*Policy) ProtoMessage() {} func (x *Policy) ProtoReflect() protoreflect.Message { mi := &file_interservice_license_control_license_control_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -276,24 +263,21 @@ func (x *Policy) GetConfiguredAt() *timestamppb.Timestamp { } type Capability struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // ComplianceReporting + Measure string `protobuf:"bytes,2,opt,name=measure,proto3" json:"measure,omitempty" toml:"measure,omitempty" mapstructure:"measure,omitempty"` // nodes + Limit int64 `protobuf:"zigzag64,3,opt,name=limit,proto3" json:"limit,omitempty" toml:"limit,omitempty" mapstructure:"limit,omitempty"` // 50 + Start *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` // date capability becomes active + End *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` // date capability is no longer active unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // ComplianceReporting - Measure string `protobuf:"bytes,2,opt,name=measure,proto3" json:"measure,omitempty" toml:"measure,omitempty" mapstructure:"measure,omitempty"` // nodes - Limit int64 `protobuf:"zigzag64,3,opt,name=limit,proto3" json:"limit,omitempty" toml:"limit,omitempty" mapstructure:"limit,omitempty"` // 50 - Start *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` // date capability becomes active - End *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` // date capability is no longer active + sizeCache protoimpl.SizeCache } func (x *Capability) Reset() { *x = Capability{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_license_control_license_control_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_license_control_license_control_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Capability) String() string { @@ -304,7 +288,7 @@ func (*Capability) ProtoMessage() {} func (x *Capability) ProtoReflect() protoreflect.Message { mi := &file_interservice_license_control_license_control_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -355,18 +339,16 @@ func (x *Capability) GetEnd() *timestamppb.Timestamp { } type StatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StatusRequest) Reset() { *x = StatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_license_control_license_control_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_license_control_license_control_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StatusRequest) String() string { @@ -377,7 +359,7 @@ func (*StatusRequest) ProtoMessage() {} func (x *StatusRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_license_control_license_control_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -393,10 +375,7 @@ func (*StatusRequest) Descriptor() ([]byte, []int) { } type StatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` LicenseId string `protobuf:"bytes,1,opt,name=license_id,json=licenseId,proto3" json:"license_id,omitempty" toml:"license_id,omitempty" mapstructure:"license_id,omitempty"` ConfiguredAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=configured_at,json=configuredAt,proto3" json:"configured_at,omitempty" toml:"configured_at,omitempty" mapstructure:"configured_at,omitempty"` LicensedPeriod *DateRange `protobuf:"bytes,3,opt,name=licensed_period,json=licensedPeriod,proto3" json:"licensed_period,omitempty" toml:"licensed_period,omitempty" mapstructure:"licensed_period,omitempty"` @@ -406,15 +385,15 @@ type StatusResponse struct { LicenseType string `protobuf:"bytes,7,opt,name=license_type,json=licenseType,proto3" json:"license_type,omitempty" toml:"license_type,omitempty" mapstructure:"license_type,omitempty"` DeploymentAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=deployment_at,json=deploymentAt,proto3" json:"deployment_at,omitempty" toml:"deployment_at,omitempty" mapstructure:"deployment_at,omitempty"` GracePeriod bool `protobuf:"varint,9,opt,name=grace_period,json=gracePeriod,proto3" json:"grace_period,omitempty" toml:"grace_period,omitempty" mapstructure:"grace_period,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StatusResponse) Reset() { *x = StatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_license_control_license_control_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_license_control_license_control_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StatusResponse) String() string { @@ -425,7 +404,7 @@ func (*StatusResponse) ProtoMessage() {} func (x *StatusResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_license_control_license_control_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -504,21 +483,18 @@ func (x *StatusResponse) GetGracePeriod() bool { } type DateRange struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` + End *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` unknownFields protoimpl.UnknownFields - - Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty" toml:"start,omitempty" mapstructure:"start,omitempty"` - End *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty" toml:"end,omitempty" mapstructure:"end,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DateRange) Reset() { *x = DateRange{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_license_control_license_control_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_license_control_license_control_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DateRange) String() string { @@ -529,7 +505,7 @@ func (*DateRange) ProtoMessage() {} func (x *DateRange) ProtoReflect() protoreflect.Message { mi := &file_interservice_license_control_license_control_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -559,21 +535,18 @@ func (x *DateRange) GetEnd() *timestamppb.Timestamp { } type UpdateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + LicenseData string `protobuf:"bytes,1,opt,name=license_data,json=licenseData,proto3" json:"license_data,omitempty" toml:"license_data,omitempty" mapstructure:"license_data,omitempty"` + Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty" toml:"force,omitempty" mapstructure:"force,omitempty"` unknownFields protoimpl.UnknownFields - - LicenseData string `protobuf:"bytes,1,opt,name=license_data,json=licenseData,proto3" json:"license_data,omitempty" toml:"license_data,omitempty" mapstructure:"license_data,omitempty"` - Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty" toml:"force,omitempty" mapstructure:"force,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateRequest) Reset() { *x = UpdateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_license_control_license_control_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_license_control_license_control_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRequest) String() string { @@ -584,7 +557,7 @@ func (*UpdateRequest) ProtoMessage() {} func (x *UpdateRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_license_control_license_control_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -614,22 +587,19 @@ func (x *UpdateRequest) GetForce() bool { } type UpdateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Updated bool `protobuf:"varint,1,opt,name=updated,proto3" json:"updated,omitempty" toml:"updated,omitempty" mapstructure:"updated,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` + Duplicate bool `protobuf:"varint,3,opt,name=duplicate,proto3" json:"duplicate,omitempty" toml:"duplicate,omitempty" mapstructure:"duplicate,omitempty"` unknownFields protoimpl.UnknownFields - - Updated bool `protobuf:"varint,1,opt,name=updated,proto3" json:"updated,omitempty" toml:"updated,omitempty" mapstructure:"updated,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` - Duplicate bool `protobuf:"varint,3,opt,name=duplicate,proto3" json:"duplicate,omitempty" toml:"duplicate,omitempty" mapstructure:"duplicate,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateResponse) Reset() { *x = UpdateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_license_control_license_control_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_license_control_license_control_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateResponse) String() string { @@ -640,7 +610,7 @@ func (*UpdateResponse) ProtoMessage() {} func (x *UpdateResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_license_control_license_control_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -677,18 +647,16 @@ func (x *UpdateResponse) GetDuplicate() bool { } type TelemetryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TelemetryRequest) Reset() { *x = TelemetryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_license_control_license_control_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_license_control_license_control_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TelemetryRequest) String() string { @@ -699,7 +667,7 @@ func (*TelemetryRequest) ProtoMessage() {} func (x *TelemetryRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_license_control_license_control_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -715,21 +683,18 @@ func (*TelemetryRequest) Descriptor() ([]byte, []int) { } type TelemetryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TelemetryEnabled bool `protobuf:"varint,1,opt,name=telemetry_enabled,json=telemetryEnabled,proto3" json:"telemetry_enabled,omitempty" toml:"telemetry_enabled,omitempty" mapstructure:"telemetry_enabled,omitempty"` - TelemetryUrl string `protobuf:"bytes,2,opt,name=telemetry_url,json=telemetryUrl,proto3" json:"telemetry_url,omitempty" toml:"telemetry_url,omitempty" mapstructure:"telemetry_url,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + TelemetryEnabled bool `protobuf:"varint,1,opt,name=telemetry_enabled,json=telemetryEnabled,proto3" json:"telemetry_enabled,omitempty" toml:"telemetry_enabled,omitempty" mapstructure:"telemetry_enabled,omitempty"` + TelemetryUrl string `protobuf:"bytes,2,opt,name=telemetry_url,json=telemetryUrl,proto3" json:"telemetry_url,omitempty" toml:"telemetry_url,omitempty" mapstructure:"telemetry_url,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TelemetryResponse) Reset() { *x = TelemetryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_license_control_license_control_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_license_control_license_control_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TelemetryResponse) String() string { @@ -740,7 +705,7 @@ func (*TelemetryResponse) ProtoMessage() {} func (x *TelemetryResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_license_control_license_control_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -770,18 +735,16 @@ func (x *TelemetryResponse) GetTelemetryUrl() string { } type GetDeploymentIDRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetDeploymentIDRequest) Reset() { *x = GetDeploymentIDRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_license_control_license_control_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_license_control_license_control_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeploymentIDRequest) String() string { @@ -792,7 +755,7 @@ func (*GetDeploymentIDRequest) ProtoMessage() {} func (x *GetDeploymentIDRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_license_control_license_control_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -808,22 +771,19 @@ func (*GetDeploymentIDRequest) Descriptor() ([]byte, []int) { } type GetDeploymentIDResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty" toml:"deployment_id,omitempty" mapstructure:"deployment_id,omitempty"` DeploymentType string `protobuf:"bytes,2,opt,name=deployment_type,json=deploymentType,proto3" json:"deployment_type,omitempty" toml:"deployment_type,omitempty" mapstructure:"deployment_type,omitempty"` DeploymentAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=deployment_at,json=deploymentAt,proto3" json:"deployment_at,omitempty" toml:"deployment_at,omitempty" mapstructure:"deployment_at,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetDeploymentIDResponse) Reset() { *x = GetDeploymentIDResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_license_control_license_control_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_license_control_license_control_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeploymentIDResponse) String() string { @@ -834,7 +794,7 @@ func (*GetDeploymentIDResponse) ProtoMessage() {} func (x *GetDeploymentIDResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_license_control_license_control_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1062,7 +1022,7 @@ func file_interservice_license_control_license_control_proto_rawDescGZIP() []byt } var file_interservice_license_control_license_control_proto_msgTypes = make([]protoimpl.MessageInfo, 16) -var file_interservice_license_control_license_control_proto_goTypes = []interface{}{ +var file_interservice_license_control_license_control_proto_goTypes = []any{ (*LicenseRequest)(nil), // 0: chef.automate.domain.license_control.LicenseRequest (*LicenseResponse)(nil), // 1: chef.automate.domain.license_control.LicenseResponse (*PolicyRequest)(nil), // 2: chef.automate.domain.license_control.PolicyRequest @@ -1120,188 +1080,6 @@ func file_interservice_license_control_license_control_proto_init() { if File_interservice_license_control_license_control_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_license_control_license_control_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LicenseRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_license_control_license_control_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LicenseResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_license_control_license_control_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PolicyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_license_control_license_control_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PolicyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_license_control_license_control_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Policy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_license_control_license_control_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Capability); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_license_control_license_control_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_license_control_license_control_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_license_control_license_control_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DateRange); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_license_control_license_control_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_license_control_license_control_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_license_control_license_control_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TelemetryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_license_control_license_control_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TelemetryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_license_control_license_control_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeploymentIDRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_license_control_license_control_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDeploymentIDResponse); 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{ diff --git a/api/interservice/local_user/users.pb.go b/api/interservice/local_user/users.pb.go index e8b4a94f25b..0e9595f8db8 100644 --- a/api/interservice/local_user/users.pb.go +++ b/api/interservice/local_user/users.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/local_user/users.proto @@ -27,20 +27,17 @@ const ( ) type Email struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty" toml:"email,omitempty" mapstructure:"email,omitempty"` // forbid empty strings; unknownFields protoimpl.UnknownFields - - Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty" toml:"email,omitempty" mapstructure:"email,omitempty"` // forbid empty strings; + sizeCache protoimpl.SizeCache } func (x *Email) Reset() { *x = Email{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_local_user_users_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_local_user_users_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Email) String() string { @@ -51,7 +48,7 @@ func (*Email) ProtoMessage() {} func (x *Email) ProtoReflect() protoreflect.Message { mi := &file_interservice_local_user_users_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -74,18 +71,16 @@ func (x *Email) GetEmail() string { } type GetUsersReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetUsersReq) Reset() { *x = GetUsersReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_local_user_users_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_local_user_users_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUsersReq) String() string { @@ -96,7 +91,7 @@ func (*GetUsersReq) ProtoMessage() {} func (x *GetUsersReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_local_user_users_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -112,22 +107,19 @@ func (*GetUsersReq) Descriptor() ([]byte, []int) { } type User struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty" toml:"email,omitempty" mapstructure:"email,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty" toml:"email,omitempty" mapstructure:"email,omitempty"` + sizeCache protoimpl.SizeCache } func (x *User) Reset() { *x = User{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_local_user_users_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_local_user_users_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *User) String() string { @@ -138,7 +130,7 @@ func (*User) ProtoMessage() {} func (x *User) ProtoReflect() protoreflect.Message { mi := &file_interservice_local_user_users_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -175,11 +167,8 @@ func (x *User) GetEmail() string { } type CreateUserReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // forbid empty strings Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Note: we're explicitly more strict than email (RFC 1034), although PGV @@ -188,16 +177,16 @@ type CreateUserReq struct { // [(validate.rules).string.email = true]; Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty" toml:"email,omitempty" mapstructure:"email,omitempty"` // Note: password validation happens in the service's handler - Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty" toml:"password,omitempty" mapstructure:"password,omitempty"` + Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty" toml:"password,omitempty" mapstructure:"password,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateUserReq) Reset() { *x = CreateUserReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_local_user_users_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_local_user_users_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateUserReq) String() string { @@ -208,7 +197,7 @@ func (*CreateUserReq) ProtoMessage() {} func (x *CreateUserReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_local_user_users_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -252,10 +241,7 @@ func (x *CreateUserReq) GetPassword() string { } type UpdateUserReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // TODO (tc) Unfortunately ID is not returned by Dex in UpdatePassword. // We currently have ID being returned as part of our update contract // for the gateway API. The only way we are currently populating that @@ -278,16 +264,16 @@ type UpdateUserReq struct { Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty" toml:"email,omitempty" mapstructure:"email,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Note: for UpdateUserReq, the password is optional - Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty" toml:"password,omitempty" mapstructure:"password,omitempty"` + Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty" toml:"password,omitempty" mapstructure:"password,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateUserReq) Reset() { *x = UpdateUserReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_local_user_users_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_local_user_users_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateUserReq) String() string { @@ -298,7 +284,7 @@ func (*UpdateUserReq) ProtoMessage() {} func (x *UpdateUserReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_local_user_users_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -343,26 +329,23 @@ func (x *UpdateUserReq) GetPassword() string { // See UpdateUserReq for other relevant comments. type UpdateSelfReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty" toml:"email,omitempty" mapstructure:"email,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty" toml:"email,omitempty" mapstructure:"email,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` // Note: for UpdateSelfReq, the password and previous_password are optional, // but if passed, they must both be passed. Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty" toml:"password,omitempty" mapstructure:"password,omitempty"` PreviousPassword string `protobuf:"bytes,5,opt,name=previous_password,json=previousPassword,proto3" json:"previous_password,omitempty" toml:"previous_password,omitempty" mapstructure:"previous_password,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateSelfReq) Reset() { *x = UpdateSelfReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_local_user_users_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_local_user_users_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSelfReq) String() string { @@ -373,7 +356,7 @@ func (*UpdateSelfReq) ProtoMessage() {} func (x *UpdateSelfReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_local_user_users_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -424,18 +407,16 @@ func (x *UpdateSelfReq) GetPreviousPassword() string { } type DeleteUserResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteUserResp) Reset() { *x = DeleteUserResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_local_user_users_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_local_user_users_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteUserResp) String() string { @@ -446,7 +427,7 @@ func (*DeleteUserResp) ProtoMessage() {} func (x *DeleteUserResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_local_user_users_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -462,20 +443,17 @@ func (*DeleteUserResp) Descriptor() ([]byte, []int) { } type Users struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Users map[string]*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" toml:"users,omitempty" mapstructure:"users,omitempty"` unknownFields protoimpl.UnknownFields - - Users map[string]*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" toml:"users,omitempty" mapstructure:"users,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Users) Reset() { *x = Users{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_local_user_users_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_local_user_users_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Users) String() string { @@ -486,7 +464,7 @@ func (*Users) ProtoMessage() {} func (x *Users) ProtoReflect() protoreflect.Message { mi := &file_interservice_local_user_users_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -626,7 +604,7 @@ func file_interservice_local_user_users_proto_rawDescGZIP() []byte { } var file_interservice_local_user_users_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_interservice_local_user_users_proto_goTypes = []interface{}{ +var file_interservice_local_user_users_proto_goTypes = []any{ (*Email)(nil), // 0: chef.automate.domain.local_user.Email (*GetUsersReq)(nil), // 1: chef.automate.domain.local_user.GetUsersReq (*User)(nil), // 2: chef.automate.domain.local_user.User @@ -664,104 +642,6 @@ func file_interservice_local_user_users_proto_init() { if File_interservice_local_user_users_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_local_user_users_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Email); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_local_user_users_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUsersReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_local_user_users_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*User); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_local_user_users_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateUserReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_local_user_users_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateUserReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_local_user_users_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSelfReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_local_user_users_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteUserResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_local_user_users_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Users); 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{ diff --git a/api/interservice/nodemanager/manager/manager.pb.go b/api/interservice/nodemanager/manager/manager.pb.go index 571585063cb..af559adbe22 100644 --- a/api/interservice/nodemanager/manager/manager.pb.go +++ b/api/interservice/nodemanager/manager/manager.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/nodemanager/manager/manager.proto @@ -128,20 +128,17 @@ func (Query_OrderType) EnumDescriptor() ([]byte, []int) { } type Id struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Id) Reset() { *x = Id{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Id) String() string { @@ -152,7 +149,7 @@ func (*Id) ProtoMessage() {} func (x *Id) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -175,20 +172,17 @@ func (x *Id) GetId() string { } type Ids struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ids []*Id `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" toml:"ids,omitempty" mapstructure:"ids,omitempty"` unknownFields protoimpl.UnknownFields - - Ids []*Id `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" toml:"ids,omitempty" mapstructure:"ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Ids) Reset() { *x = Ids{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Ids) String() string { @@ -199,7 +193,7 @@ func (*Ids) ProtoMessage() {} func (x *Ids) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -222,18 +216,16 @@ func (x *Ids) GetIds() []*Id { } type ChangeNodeStateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeNodeStateResponse) Reset() { *x = ChangeNodeStateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChangeNodeStateResponse) String() string { @@ -244,7 +236,7 @@ func (*ChangeNodeStateResponse) ProtoMessage() {} func (x *ChangeNodeStateResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -260,18 +252,16 @@ func (*ChangeNodeStateResponse) Descriptor() ([]byte, []int) { } type ProcessNodeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProcessNodeResponse) Reset() { *x = ProcessNodeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProcessNodeResponse) String() string { @@ -282,7 +272,7 @@ func (*ProcessNodeResponse) ProtoMessage() {} func (x *ProcessNodeResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -298,21 +288,18 @@ func (*ProcessNodeResponse) Descriptor() ([]byte, []int) { } type NodeState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + State NodeState_State `protobuf:"varint,2,opt,name=state,proto3,enum=chef.automate.domain.nodemanager.manager.NodeState_State" json:"state,omitempty" toml:"state,omitempty" mapstructure:"state,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - State NodeState_State `protobuf:"varint,2,opt,name=state,proto3,enum=chef.automate.domain.nodemanager.manager.NodeState_State" json:"state,omitempty" toml:"state,omitempty" mapstructure:"state,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NodeState) Reset() { *x = NodeState{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeState) String() string { @@ -323,7 +310,7 @@ func (*NodeState) ProtoMessage() {} func (x *NodeState) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -353,24 +340,21 @@ func (x *NodeState) GetState() NodeState_State { } type Query struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + FilterMap []*common.Filter `protobuf:"bytes,25,rep,name=filter_map,json=filterMap,proto3" json:"filter_map,omitempty" toml:"filter_map,omitempty" mapstructure:"filter_map,omitempty"` + Order Query_OrderType `protobuf:"varint,21,opt,name=order,proto3,enum=chef.automate.domain.nodemanager.manager.Query_OrderType" json:"order,omitempty" toml:"order,omitempty" mapstructure:"order,omitempty"` + Sort string `protobuf:"bytes,22,opt,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` + Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` + PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty" toml:"per_page,omitempty" mapstructure:"per_page,omitempty"` unknownFields protoimpl.UnknownFields - - FilterMap []*common.Filter `protobuf:"bytes,25,rep,name=filter_map,json=filterMap,proto3" json:"filter_map,omitempty" toml:"filter_map,omitempty" mapstructure:"filter_map,omitempty"` - Order Query_OrderType `protobuf:"varint,21,opt,name=order,proto3,enum=chef.automate.domain.nodemanager.manager.Query_OrderType" json:"order,omitempty" toml:"order,omitempty" mapstructure:"order,omitempty"` - Sort string `protobuf:"bytes,22,opt,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` - Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` - PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty" toml:"per_page,omitempty" mapstructure:"per_page,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Query) Reset() { *x = Query{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Query) String() string { @@ -381,7 +365,7 @@ func (*Query) ProtoMessage() {} func (x *Query) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -432,10 +416,7 @@ func (x *Query) GetPerPage() int32 { } type NodeMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" toml:"uuid,omitempty" mapstructure:"uuid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` PlatformName string `protobuf:"bytes,3,opt,name=platform_name,json=platformName,proto3" json:"platform_name,omitempty" toml:"platform_name,omitempty" mapstructure:"platform_name,omitempty"` @@ -452,15 +433,15 @@ type NodeMetadata struct { Projects []string `protobuf:"bytes,14,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` ManagerId string `protobuf:"bytes,15,opt,name=manager_id,json=managerId,proto3" json:"manager_id,omitempty" toml:"manager_id,omitempty" mapstructure:"manager_id,omitempty"` ManagerType string `protobuf:"bytes,16,opt,name=manager_type,json=managerType,proto3" json:"manager_type,omitempty" toml:"manager_type,omitempty" mapstructure:"manager_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeMetadata) Reset() { *x = NodeMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeMetadata) String() string { @@ -471,7 +452,7 @@ func (*NodeMetadata) ProtoMessage() {} func (x *NodeMetadata) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -599,20 +580,17 @@ func (x *NodeMetadata) GetManagerType() string { } type Fields struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" toml:"fields,omitempty" mapstructure:"fields,omitempty"` unknownFields protoimpl.UnknownFields - - Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" toml:"fields,omitempty" mapstructure:"fields,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Fields) Reset() { *x = Fields{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fields) String() string { @@ -623,7 +601,7 @@ func (*Fields) ProtoMessage() {} func (x *Fields) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -646,22 +624,19 @@ func (x *Fields) GetFields() []string { } type FieldQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Query *Query `protobuf:"bytes,20,opt,name=query,proto3" json:"query,omitempty" toml:"query,omitempty" mapstructure:"query,omitempty"` + Field string `protobuf:"bytes,21,opt,name=field,proto3" json:"field,omitempty" toml:"field,omitempty" mapstructure:"field,omitempty"` + NodeManagerId string `protobuf:"bytes,22,opt,name=node_manager_id,json=nodeManagerId,proto3" json:"node_manager_id,omitempty" toml:"node_manager_id,omitempty" mapstructure:"node_manager_id,omitempty"` unknownFields protoimpl.UnknownFields - - Query *Query `protobuf:"bytes,20,opt,name=query,proto3" json:"query,omitempty" toml:"query,omitempty" mapstructure:"query,omitempty"` - Field string `protobuf:"bytes,21,opt,name=field,proto3" json:"field,omitempty" toml:"field,omitempty" mapstructure:"field,omitempty"` - NodeManagerId string `protobuf:"bytes,22,opt,name=node_manager_id,json=nodeManagerId,proto3" json:"node_manager_id,omitempty" toml:"node_manager_id,omitempty" mapstructure:"node_manager_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FieldQuery) Reset() { *x = FieldQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FieldQuery) String() string { @@ -672,7 +647,7 @@ func (*FieldQuery) ProtoMessage() {} func (x *FieldQuery) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -709,21 +684,18 @@ func (x *FieldQuery) GetNodeManagerId() string { } type Nodes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Nodes []string `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` + Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` unknownFields protoimpl.UnknownFields - - Nodes []string `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` - Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Nodes) Reset() { *x = Nodes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Nodes) String() string { @@ -734,7 +706,7 @@ func (*Nodes) ProtoMessage() {} func (x *Nodes) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -764,21 +736,18 @@ func (x *Nodes) GetTotal() int32 { } type NodeQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Query *Query `protobuf:"bytes,20,opt,name=query,proto3" json:"query,omitempty" toml:"query,omitempty" mapstructure:"query,omitempty"` + NodeManagerId string `protobuf:"bytes,21,opt,name=node_manager_id,json=nodeManagerId,proto3" json:"node_manager_id,omitempty" toml:"node_manager_id,omitempty" mapstructure:"node_manager_id,omitempty"` unknownFields protoimpl.UnknownFields - - Query *Query `protobuf:"bytes,20,opt,name=query,proto3" json:"query,omitempty" toml:"query,omitempty" mapstructure:"query,omitempty"` - NodeManagerId string `protobuf:"bytes,21,opt,name=node_manager_id,json=nodeManagerId,proto3" json:"node_manager_id,omitempty" toml:"node_manager_id,omitempty" mapstructure:"node_manager_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NodeQuery) Reset() { *x = NodeQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeQuery) String() string { @@ -789,7 +758,7 @@ func (*NodeQuery) ProtoMessage() {} func (x *NodeQuery) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -819,20 +788,17 @@ func (x *NodeQuery) GetNodeManagerId() string { } type Credentials struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Credentials string `protobuf:"bytes,20,opt,name=credentials,proto3" json:"credentials,omitempty" toml:"credentials,omitempty" mapstructure:"credentials,omitempty"` unknownFields protoimpl.UnknownFields - - Credentials string `protobuf:"bytes,20,opt,name=credentials,proto3" json:"credentials,omitempty" toml:"credentials,omitempty" mapstructure:"credentials,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Credentials) Reset() { *x = Credentials{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Credentials) String() string { @@ -843,7 +809,7 @@ func (*Credentials) ProtoMessage() {} func (x *Credentials) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -866,10 +832,7 @@ func (x *Credentials) GetCredentials() string { } type NodeManager struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` @@ -880,15 +843,15 @@ type NodeManager struct { DateAdded *timestamppb.Timestamp `protobuf:"bytes,25,opt,name=date_added,json=dateAdded,proto3" json:"date_added,omitempty" toml:"date_added,omitempty" mapstructure:"date_added,omitempty"` CredentialData []*common.Kv `protobuf:"bytes,26,rep,name=credential_data,json=credentialData,proto3" json:"credential_data,omitempty" toml:"credential_data,omitempty" mapstructure:"credential_data,omitempty"` AccountAlias string `protobuf:"bytes,27,opt,name=account_alias,json=accountAlias,proto3" json:"account_alias,omitempty" toml:"account_alias,omitempty" mapstructure:"account_alias,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeManager) Reset() { *x = NodeManager{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeManager) String() string { @@ -899,7 +862,7 @@ func (*NodeManager) ProtoMessage() {} func (x *NodeManager) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -985,22 +948,19 @@ func (x *NodeManager) GetAccountAlias() string { } type CredentialsByTags struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TagKey string `protobuf:"bytes,20,opt,name=tag_key,json=tagKey,proto3" json:"tag_key,omitempty" toml:"tag_key,omitempty" mapstructure:"tag_key,omitempty"` + TagValue string `protobuf:"bytes,21,opt,name=tag_value,json=tagValue,proto3" json:"tag_value,omitempty" toml:"tag_value,omitempty" mapstructure:"tag_value,omitempty"` + CredentialIds []string `protobuf:"bytes,22,rep,name=credential_ids,json=credentialIds,proto3" json:"credential_ids,omitempty" toml:"credential_ids,omitempty" mapstructure:"credential_ids,omitempty"` unknownFields protoimpl.UnknownFields - - TagKey string `protobuf:"bytes,20,opt,name=tag_key,json=tagKey,proto3" json:"tag_key,omitempty" toml:"tag_key,omitempty" mapstructure:"tag_key,omitempty"` - TagValue string `protobuf:"bytes,21,opt,name=tag_value,json=tagValue,proto3" json:"tag_value,omitempty" toml:"tag_value,omitempty" mapstructure:"tag_value,omitempty"` - CredentialIds []string `protobuf:"bytes,22,rep,name=credential_ids,json=credentialIds,proto3" json:"credential_ids,omitempty" toml:"credential_ids,omitempty" mapstructure:"credential_ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CredentialsByTags) Reset() { *x = CredentialsByTags{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CredentialsByTags) String() string { @@ -1011,7 +971,7 @@ func (*CredentialsByTags) ProtoMessage() {} func (x *CredentialsByTags) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1048,21 +1008,18 @@ func (x *CredentialsByTags) GetCredentialIds() []string { } type NodeManagers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Managers []*NodeManager `protobuf:"bytes,1,rep,name=managers,proto3" json:"managers,omitempty" toml:"managers,omitempty" mapstructure:"managers,omitempty"` + Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` unknownFields protoimpl.UnknownFields - - Managers []*NodeManager `protobuf:"bytes,1,rep,name=managers,proto3" json:"managers,omitempty" toml:"managers,omitempty" mapstructure:"managers,omitempty"` - Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NodeManagers) Reset() { *x = NodeManagers{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeManagers) String() string { @@ -1073,7 +1030,7 @@ func (*NodeManagers) ProtoMessage() {} func (x *NodeManagers) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1103,20 +1060,17 @@ func (x *NodeManagers) GetTotal() int32 { } type ManagerNodes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Nodes []*ManagerNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` unknownFields protoimpl.UnknownFields - - Nodes []*ManagerNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ManagerNodes) Reset() { *x = ManagerNodes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ManagerNodes) String() string { @@ -1127,7 +1081,7 @@ func (*ManagerNodes) ProtoMessage() {} func (x *ManagerNodes) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1150,15 +1104,12 @@ func (x *ManagerNodes) GetNodes() []*ManagerNode { } type ManagerNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty" toml:"host,omitempty" mapstructure:"host,omitempty"` - PublicIp string `protobuf:"bytes,3,opt,name=public_ip,json=publicIp,proto3" json:"public_ip,omitempty" toml:"public_ip,omitempty" mapstructure:"public_ip,omitempty"` - Tags []*common.Kv `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty" toml:"tags,omitempty" mapstructure:"tags,omitempty"` - Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty" toml:"host,omitempty" mapstructure:"host,omitempty"` + PublicIp string `protobuf:"bytes,3,opt,name=public_ip,json=publicIp,proto3" json:"public_ip,omitempty" toml:"public_ip,omitempty" mapstructure:"public_ip,omitempty"` + Tags []*common.Kv `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty" toml:"tags,omitempty" mapstructure:"tags,omitempty"` + Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` // should all these be tags?? Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty" toml:"region,omitempty" mapstructure:"region,omitempty"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` @@ -1166,15 +1117,15 @@ type ManagerNode struct { Uuid string `protobuf:"bytes,9,opt,name=uuid,proto3" json:"uuid,omitempty" toml:"uuid,omitempty" mapstructure:"uuid,omitempty"` MachineIdentifier string `protobuf:"bytes,10,opt,name=machine_identifier,json=machineIdentifier,proto3" json:"machine_identifier,omitempty" toml:"machine_identifier,omitempty" mapstructure:"machine_identifier,omitempty"` Group string `protobuf:"bytes,11,opt,name=group,proto3" json:"group,omitempty" toml:"group,omitempty" mapstructure:"group,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ManagerNode) Reset() { *x = ManagerNode{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ManagerNode) String() string { @@ -1185,7 +1136,7 @@ func (*ManagerNode) ProtoMessage() {} func (x *ManagerNode) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_manager_manager_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1610,7 +1561,7 @@ func file_interservice_nodemanager_manager_manager_proto_rawDescGZIP() []byte { var file_interservice_nodemanager_manager_manager_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_interservice_nodemanager_manager_manager_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_interservice_nodemanager_manager_manager_proto_goTypes = []interface{}{ +var file_interservice_nodemanager_manager_manager_proto_goTypes = []any{ (NodeState_State)(0), // 0: chef.automate.domain.nodemanager.manager.NodeState.State (Query_OrderType)(0), // 1: chef.automate.domain.nodemanager.manager.Query.OrderType (*Id)(nil), // 2: chef.automate.domain.nodemanager.manager.Id @@ -1700,212 +1651,6 @@ func file_interservice_nodemanager_manager_manager_proto_init() { if File_interservice_nodemanager_manager_manager_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_nodemanager_manager_manager_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Id); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_manager_manager_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Ids); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_manager_manager_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangeNodeStateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_manager_manager_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProcessNodeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_manager_manager_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_manager_manager_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Query); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_manager_manager_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_manager_manager_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fields); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_manager_manager_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FieldQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_manager_manager_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Nodes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_manager_manager_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_manager_manager_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Credentials); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_manager_manager_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeManager); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_manager_manager_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CredentialsByTags); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_manager_manager_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeManagers); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_manager_manager_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ManagerNodes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_manager_manager_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ManagerNode); 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{ diff --git a/api/interservice/nodemanager/nodes/nodes.pb.go b/api/interservice/nodemanager/nodes/nodes.pb.go index 38edf765f40..3d3f0f3e815 100644 --- a/api/interservice/nodemanager/nodes/nodes.pb.go +++ b/api/interservice/nodemanager/nodes/nodes.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/nodemanager/nodes/nodes.proto @@ -127,21 +127,18 @@ func (LastContactData_Status) EnumDescriptor() ([]byte, []int) { } type NodeError struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` - ConnectionError string `protobuf:"bytes,2,opt,name=connection_error,json=connectionError,proto3" json:"connection_error,omitempty" toml:"connection_error,omitempty" mapstructure:"connection_error,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` + ConnectionError string `protobuf:"bytes,2,opt,name=connection_error,json=connectionError,proto3" json:"connection_error,omitempty" toml:"connection_error,omitempty" mapstructure:"connection_error,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeError) Reset() { *x = NodeError{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeError) String() string { @@ -152,7 +149,7 @@ func (*NodeError) ProtoMessage() {} func (x *NodeError) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -182,10 +179,7 @@ func (x *NodeError) GetConnectionError() string { } type NodeDetectJobInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` PlatformName string `protobuf:"bytes,2,opt,name=platform_name,json=platformName,proto3" json:"platform_name,omitempty" toml:"platform_name,omitempty" mapstructure:"platform_name,omitempty"` PlatformRelease string `protobuf:"bytes,3,opt,name=platform_release,json=platformRelease,proto3" json:"platform_release,omitempty" toml:"platform_release,omitempty" mapstructure:"platform_release,omitempty"` @@ -196,15 +190,15 @@ type NodeDetectJobInfo struct { JobType string `protobuf:"bytes,8,opt,name=job_type,json=jobType,proto3" json:"job_type,omitempty" toml:"job_type,omitempty" mapstructure:"job_type,omitempty"` NodeName string `protobuf:"bytes,9,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty" toml:"node_name,omitempty" mapstructure:"node_name,omitempty"` ManagerId string `protobuf:"bytes,10,opt,name=manager_id,json=managerId,proto3" json:"manager_id,omitempty" toml:"manager_id,omitempty" mapstructure:"manager_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeDetectJobInfo) Reset() { *x = NodeDetectJobInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeDetectJobInfo) String() string { @@ -215,7 +209,7 @@ func (*NodeDetectJobInfo) ProtoMessage() {} func (x *NodeDetectJobInfo) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -301,18 +295,16 @@ func (x *NodeDetectJobInfo) GetManagerId() string { } type RerunResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RerunResponse) Reset() { *x = RerunResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RerunResponse) String() string { @@ -323,7 +315,7 @@ func (*RerunResponse) ProtoMessage() {} func (x *RerunResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -339,20 +331,17 @@ func (*RerunResponse) Descriptor() ([]byte, []int) { } type Ids struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" toml:"ids,omitempty" mapstructure:"ids,omitempty"` unknownFields protoimpl.UnknownFields - - Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" toml:"ids,omitempty" mapstructure:"ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Ids) Reset() { *x = Ids{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Ids) String() string { @@ -363,7 +352,7 @@ func (*Ids) ProtoMessage() {} func (x *Ids) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -386,20 +375,17 @@ func (x *Ids) GetIds() []string { } type Id struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Id) Reset() { *x = Id{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Id) String() string { @@ -410,7 +396,7 @@ func (*Id) ProtoMessage() {} func (x *Id) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -433,24 +419,21 @@ func (x *Id) GetId() string { } type Query struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Filters []*common.Filter `protobuf:"bytes,20,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` + Order Query_OrderType `protobuf:"varint,21,opt,name=order,proto3,enum=chef.automate.domain.nodemanager.nodes.Query_OrderType" json:"order,omitempty" toml:"order,omitempty" mapstructure:"order,omitempty"` + Sort string `protobuf:"bytes,22,opt,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` + Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` + PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty" toml:"per_page,omitempty" mapstructure:"per_page,omitempty"` unknownFields protoimpl.UnknownFields - - Filters []*common.Filter `protobuf:"bytes,20,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` - Order Query_OrderType `protobuf:"varint,21,opt,name=order,proto3,enum=chef.automate.domain.nodemanager.nodes.Query_OrderType" json:"order,omitempty" toml:"order,omitempty" mapstructure:"order,omitempty"` - Sort string `protobuf:"bytes,22,opt,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` - Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` - PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty" toml:"per_page,omitempty" mapstructure:"per_page,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Query) Reset() { *x = Query{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Query) String() string { @@ -461,7 +444,7 @@ func (*Query) ProtoMessage() {} func (x *Query) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -512,40 +495,37 @@ func (x *Query) GetPerPage() int32 { } type TargetConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Secrets []string `protobuf:"bytes,20,rep,name=secrets,proto3" json:"secrets,omitempty" toml:"secrets,omitempty" mapstructure:"secrets,omitempty"` - Format string `protobuf:"bytes,21,opt,name=format,proto3" json:"format,omitempty" toml:"format,omitempty" mapstructure:"format,omitempty"` - Backend string `protobuf:"bytes,22,opt,name=backend,proto3" json:"backend,omitempty" toml:"backend,omitempty" mapstructure:"backend,omitempty"` - Host string `protobuf:"bytes,23,opt,name=host,proto3" json:"host,omitempty" toml:"host,omitempty" mapstructure:"host,omitempty"` - Port int32 `protobuf:"varint,24,opt,name=port,proto3" json:"port,omitempty" toml:"port,omitempty" mapstructure:"port,omitempty"` - Path string `protobuf:"bytes,25,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"` - Sudo bool `protobuf:"varint,26,opt,name=sudo,proto3" json:"sudo,omitempty" toml:"sudo,omitempty" mapstructure:"sudo,omitempty"` - Ssl bool `protobuf:"varint,27,opt,name=ssl,proto3" json:"ssl,omitempty" toml:"ssl,omitempty" mapstructure:"ssl,omitempty"` - SelfSigned bool `protobuf:"varint,28,opt,name=self_signed,json=selfSigned,proto3" json:"self_signed,omitempty" toml:"self_signed,omitempty" mapstructure:"self_signed,omitempty"` - User string `protobuf:"bytes,29,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` - Password string `protobuf:"bytes,30,opt,name=password,proto3" json:"password,omitempty" toml:"password,omitempty" mapstructure:"password,omitempty"` - KeyFiles []string `protobuf:"bytes,31,rep,name=key_files,json=keyFiles,proto3" json:"key_files,omitempty" toml:"key_files,omitempty" mapstructure:"key_files,omitempty"` - SudoPassword string `protobuf:"bytes,32,opt,name=sudo_password,json=sudoPassword,proto3" json:"sudo_password,omitempty" toml:"sudo_password,omitempty" mapstructure:"sudo_password,omitempty"` - SudoOptions string `protobuf:"bytes,33,opt,name=sudo_options,json=sudoOptions,proto3" json:"sudo_options,omitempty" toml:"sudo_options,omitempty" mapstructure:"sudo_options,omitempty"` - Region string `protobuf:"bytes,34,opt,name=region,proto3" json:"region,omitempty" toml:"region,omitempty" mapstructure:"region,omitempty"` - SubscriptionId string `protobuf:"bytes,35,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty" toml:"subscription_id,omitempty" mapstructure:"subscription_id,omitempty"` - AwsUser string `protobuf:"bytes,36,opt,name=aws_user,json=awsUser,proto3" json:"aws_user,omitempty" toml:"aws_user,omitempty" mapstructure:"aws_user,omitempty"` - AwsPassword string `protobuf:"bytes,37,opt,name=aws_password,json=awsPassword,proto3" json:"aws_password,omitempty" toml:"aws_password,omitempty" mapstructure:"aws_password,omitempty"` - SecretsArr []*NodeSecrets `protobuf:"bytes,38,rep,name=secrets_arr,json=secretsArr,proto3" json:"secrets_arr,omitempty" toml:"secrets_arr,omitempty" mapstructure:"secrets_arr,omitempty"` - GcpCredsJson string `protobuf:"bytes,39,opt,name=gcp_creds_json,json=gcpCredsJson,proto3" json:"gcp_creds_json,omitempty" toml:"gcp_creds_json,omitempty" mapstructure:"gcp_creds_json,omitempty"` - Hosts []string `protobuf:"bytes,40,rep,name=hosts,proto3" json:"hosts,omitempty" toml:"hosts,omitempty" mapstructure:"hosts,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Secrets []string `protobuf:"bytes,20,rep,name=secrets,proto3" json:"secrets,omitempty" toml:"secrets,omitempty" mapstructure:"secrets,omitempty"` + Format string `protobuf:"bytes,21,opt,name=format,proto3" json:"format,omitempty" toml:"format,omitempty" mapstructure:"format,omitempty"` + Backend string `protobuf:"bytes,22,opt,name=backend,proto3" json:"backend,omitempty" toml:"backend,omitempty" mapstructure:"backend,omitempty"` + Host string `protobuf:"bytes,23,opt,name=host,proto3" json:"host,omitempty" toml:"host,omitempty" mapstructure:"host,omitempty"` + Port int32 `protobuf:"varint,24,opt,name=port,proto3" json:"port,omitempty" toml:"port,omitempty" mapstructure:"port,omitempty"` + Path string `protobuf:"bytes,25,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"` + Sudo bool `protobuf:"varint,26,opt,name=sudo,proto3" json:"sudo,omitempty" toml:"sudo,omitempty" mapstructure:"sudo,omitempty"` + Ssl bool `protobuf:"varint,27,opt,name=ssl,proto3" json:"ssl,omitempty" toml:"ssl,omitempty" mapstructure:"ssl,omitempty"` + SelfSigned bool `protobuf:"varint,28,opt,name=self_signed,json=selfSigned,proto3" json:"self_signed,omitempty" toml:"self_signed,omitempty" mapstructure:"self_signed,omitempty"` + User string `protobuf:"bytes,29,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` + Password string `protobuf:"bytes,30,opt,name=password,proto3" json:"password,omitempty" toml:"password,omitempty" mapstructure:"password,omitempty"` + KeyFiles []string `protobuf:"bytes,31,rep,name=key_files,json=keyFiles,proto3" json:"key_files,omitempty" toml:"key_files,omitempty" mapstructure:"key_files,omitempty"` + SudoPassword string `protobuf:"bytes,32,opt,name=sudo_password,json=sudoPassword,proto3" json:"sudo_password,omitempty" toml:"sudo_password,omitempty" mapstructure:"sudo_password,omitempty"` + SudoOptions string `protobuf:"bytes,33,opt,name=sudo_options,json=sudoOptions,proto3" json:"sudo_options,omitempty" toml:"sudo_options,omitempty" mapstructure:"sudo_options,omitempty"` + Region string `protobuf:"bytes,34,opt,name=region,proto3" json:"region,omitempty" toml:"region,omitempty" mapstructure:"region,omitempty"` + SubscriptionId string `protobuf:"bytes,35,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty" toml:"subscription_id,omitempty" mapstructure:"subscription_id,omitempty"` + AwsUser string `protobuf:"bytes,36,opt,name=aws_user,json=awsUser,proto3" json:"aws_user,omitempty" toml:"aws_user,omitempty" mapstructure:"aws_user,omitempty"` + AwsPassword string `protobuf:"bytes,37,opt,name=aws_password,json=awsPassword,proto3" json:"aws_password,omitempty" toml:"aws_password,omitempty" mapstructure:"aws_password,omitempty"` + SecretsArr []*NodeSecrets `protobuf:"bytes,38,rep,name=secrets_arr,json=secretsArr,proto3" json:"secrets_arr,omitempty" toml:"secrets_arr,omitempty" mapstructure:"secrets_arr,omitempty"` + GcpCredsJson string `protobuf:"bytes,39,opt,name=gcp_creds_json,json=gcpCredsJson,proto3" json:"gcp_creds_json,omitempty" toml:"gcp_creds_json,omitempty" mapstructure:"gcp_creds_json,omitempty"` + Hosts []string `protobuf:"bytes,40,rep,name=hosts,proto3" json:"hosts,omitempty" toml:"hosts,omitempty" mapstructure:"hosts,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TargetConfig) Reset() { *x = TargetConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TargetConfig) String() string { @@ -556,7 +536,7 @@ func (*TargetConfig) ProtoMessage() {} func (x *TargetConfig) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -722,29 +702,26 @@ func (x *TargetConfig) GetHosts() []string { // that needs to be addressed; it will involve some refactoring that i'm afraid // will bloat the current change i am working on, so leaving that for another day type NodeSecrets struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` - Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty" toml:"password,omitempty" mapstructure:"password,omitempty"` - KeyFiles []string `protobuf:"bytes,3,rep,name=key_files,json=keyFiles,proto3" json:"key_files,omitempty" toml:"key_files,omitempty" mapstructure:"key_files,omitempty"` - SudoPassword string `protobuf:"bytes,4,opt,name=sudo_password,json=sudoPassword,proto3" json:"sudo_password,omitempty" toml:"sudo_password,omitempty" mapstructure:"sudo_password,omitempty"` - SudoOptions string `protobuf:"bytes,5,opt,name=sudo_options,json=sudoOptions,proto3" json:"sudo_options,omitempty" toml:"sudo_options,omitempty" mapstructure:"sudo_options,omitempty"` - AwsUser string `protobuf:"bytes,6,opt,name=aws_user,json=awsUser,proto3" json:"aws_user,omitempty" toml:"aws_user,omitempty" mapstructure:"aws_user,omitempty"` - AwsPassword string `protobuf:"bytes,7,opt,name=aws_password,json=awsPassword,proto3" json:"aws_password,omitempty" toml:"aws_password,omitempty" mapstructure:"aws_password,omitempty"` - AzureClientId string `protobuf:"bytes,8,opt,name=azure_client_id,json=azureClientId,proto3" json:"azure_client_id,omitempty" toml:"azure_client_id,omitempty" mapstructure:"azure_client_id,omitempty"` - AzureClientSecret string `protobuf:"bytes,9,opt,name=azure_client_secret,json=azureClientSecret,proto3" json:"azure_client_secret,omitempty" toml:"azure_client_secret,omitempty" mapstructure:"azure_client_secret,omitempty"` - AzureTenantId string `protobuf:"bytes,10,opt,name=azure_tenant_id,json=azureTenantId,proto3" json:"azure_tenant_id,omitempty" toml:"azure_tenant_id,omitempty" mapstructure:"azure_tenant_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` + Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty" toml:"password,omitempty" mapstructure:"password,omitempty"` + KeyFiles []string `protobuf:"bytes,3,rep,name=key_files,json=keyFiles,proto3" json:"key_files,omitempty" toml:"key_files,omitempty" mapstructure:"key_files,omitempty"` + SudoPassword string `protobuf:"bytes,4,opt,name=sudo_password,json=sudoPassword,proto3" json:"sudo_password,omitempty" toml:"sudo_password,omitempty" mapstructure:"sudo_password,omitempty"` + SudoOptions string `protobuf:"bytes,5,opt,name=sudo_options,json=sudoOptions,proto3" json:"sudo_options,omitempty" toml:"sudo_options,omitempty" mapstructure:"sudo_options,omitempty"` + AwsUser string `protobuf:"bytes,6,opt,name=aws_user,json=awsUser,proto3" json:"aws_user,omitempty" toml:"aws_user,omitempty" mapstructure:"aws_user,omitempty"` + AwsPassword string `protobuf:"bytes,7,opt,name=aws_password,json=awsPassword,proto3" json:"aws_password,omitempty" toml:"aws_password,omitempty" mapstructure:"aws_password,omitempty"` + AzureClientId string `protobuf:"bytes,8,opt,name=azure_client_id,json=azureClientId,proto3" json:"azure_client_id,omitempty" toml:"azure_client_id,omitempty" mapstructure:"azure_client_id,omitempty"` + AzureClientSecret string `protobuf:"bytes,9,opt,name=azure_client_secret,json=azureClientSecret,proto3" json:"azure_client_secret,omitempty" toml:"azure_client_secret,omitempty" mapstructure:"azure_client_secret,omitempty"` + AzureTenantId string `protobuf:"bytes,10,opt,name=azure_tenant_id,json=azureTenantId,proto3" json:"azure_tenant_id,omitempty" toml:"azure_tenant_id,omitempty" mapstructure:"azure_tenant_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeSecrets) Reset() { *x = NodeSecrets{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeSecrets) String() string { @@ -755,7 +732,7 @@ func (*NodeSecrets) ProtoMessage() {} func (x *NodeSecrets) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -841,10 +818,7 @@ func (x *NodeSecrets) GetAzureTenantId() string { } type Node struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty" toml:"platform,omitempty" mapstructure:"platform,omitempty"` @@ -864,15 +838,15 @@ type Node struct { ScanData *LastContactData `protobuf:"bytes,30,opt,name=scan_data,json=scanData,proto3" json:"scan_data,omitempty" toml:"scan_data,omitempty" mapstructure:"scan_data,omitempty"` ProjectsData []*ProjectsData `protobuf:"bytes,31,rep,name=projects_data,json=projectsData,proto3" json:"projects_data,omitempty" toml:"projects_data,omitempty" mapstructure:"projects_data,omitempty"` CloudInfo *CloudInfo `protobuf:"bytes,32,opt,name=cloud_info,json=cloudInfo,proto3" json:"cloud_info,omitempty" toml:"cloud_info,omitempty" mapstructure:"cloud_info,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Node) Reset() { *x = Node{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Node) String() string { @@ -883,7 +857,7 @@ func (*Node) ProtoMessage() {} func (x *Node) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1032,22 +1006,19 @@ func (x *Node) GetCloudInfo() *CloudInfo { } type CloudInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SourceId string `protobuf:"bytes,1,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty" toml:"source_id,omitempty" mapstructure:"source_id,omitempty"` - SourceRegion string `protobuf:"bytes,2,opt,name=source_region,json=sourceRegion,proto3" json:"source_region,omitempty" toml:"source_region,omitempty" mapstructure:"source_region,omitempty"` - SourceAccountId string `protobuf:"bytes,3,opt,name=source_account_id,json=sourceAccountId,proto3" json:"source_account_id,omitempty" toml:"source_account_id,omitempty" mapstructure:"source_account_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SourceId string `protobuf:"bytes,1,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty" toml:"source_id,omitempty" mapstructure:"source_id,omitempty"` + SourceRegion string `protobuf:"bytes,2,opt,name=source_region,json=sourceRegion,proto3" json:"source_region,omitempty" toml:"source_region,omitempty" mapstructure:"source_region,omitempty"` + SourceAccountId string `protobuf:"bytes,3,opt,name=source_account_id,json=sourceAccountId,proto3" json:"source_account_id,omitempty" toml:"source_account_id,omitempty" mapstructure:"source_account_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CloudInfo) Reset() { *x = CloudInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CloudInfo) String() string { @@ -1058,7 +1029,7 @@ func (*CloudInfo) ProtoMessage() {} func (x *CloudInfo) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1095,21 +1066,18 @@ func (x *CloudInfo) GetSourceAccountId() string { } type ProjectsData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" toml:"key,omitempty" mapstructure:"key,omitempty"` + Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" toml:"key,omitempty" mapstructure:"key,omitempty"` - Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProjectsData) Reset() { *x = ProjectsData{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProjectsData) String() string { @@ -1120,7 +1088,7 @@ func (*ProjectsData) ProtoMessage() {} func (x *ProjectsData) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1150,23 +1118,20 @@ func (x *ProjectsData) GetValues() []string { } type LastContactData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // run id or report id Status LastContactData_Status `protobuf:"varint,2,opt,name=status,proto3,enum=chef.automate.domain.nodemanager.nodes.LastContactData_Status" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` PenultimateStatus LastContactData_Status `protobuf:"varint,3,opt,name=penultimate_status,json=penultimateStatus,proto3,enum=chef.automate.domain.nodemanager.nodes.LastContactData_Status" json:"penultimate_status,omitempty" toml:"penultimate_status,omitempty" mapstructure:"penultimate_status,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LastContactData) Reset() { *x = LastContactData{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LastContactData) String() string { @@ -1177,7 +1142,7 @@ func (*LastContactData) ProtoMessage() {} func (x *LastContactData) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1221,24 +1186,21 @@ func (x *LastContactData) GetEndTime() *timestamppb.Timestamp { } type Nodes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` - Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` - TotalUnreachable int32 `protobuf:"varint,21,opt,name=total_unreachable,json=totalUnreachable,proto3" json:"total_unreachable,omitempty" toml:"total_unreachable,omitempty" mapstructure:"total_unreachable,omitempty"` - TotalReachable int32 `protobuf:"varint,22,opt,name=total_reachable,json=totalReachable,proto3" json:"total_reachable,omitempty" toml:"total_reachable,omitempty" mapstructure:"total_reachable,omitempty"` - TotalUnknown int32 `protobuf:"varint,23,opt,name=total_unknown,json=totalUnknown,proto3" json:"total_unknown,omitempty" toml:"total_unknown,omitempty" mapstructure:"total_unknown,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` + Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` + TotalUnreachable int32 `protobuf:"varint,21,opt,name=total_unreachable,json=totalUnreachable,proto3" json:"total_unreachable,omitempty" toml:"total_unreachable,omitempty" mapstructure:"total_unreachable,omitempty"` + TotalReachable int32 `protobuf:"varint,22,opt,name=total_reachable,json=totalReachable,proto3" json:"total_reachable,omitempty" toml:"total_reachable,omitempty" mapstructure:"total_reachable,omitempty"` + TotalUnknown int32 `protobuf:"varint,23,opt,name=total_unknown,json=totalUnknown,proto3" json:"total_unknown,omitempty" toml:"total_unknown,omitempty" mapstructure:"total_unknown,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Nodes) Reset() { *x = Nodes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Nodes) String() string { @@ -1249,7 +1211,7 @@ func (*Nodes) ProtoMessage() {} func (x *Nodes) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1300,26 +1262,23 @@ func (x *Nodes) GetTotalUnknown() int32 { } type ResultsRow struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` + ReportId string `protobuf:"bytes,2,opt,name=report_id,json=reportId,proto3" json:"report_id,omitempty" toml:"report_id,omitempty" mapstructure:"report_id,omitempty"` + Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + Result string `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty" toml:"result,omitempty" mapstructure:"result,omitempty"` + JobId string `protobuf:"bytes,5,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty" toml:"job_id,omitempty" mapstructure:"job_id,omitempty"` + StartTime *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` unknownFields protoimpl.UnknownFields - - NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` - ReportId string `protobuf:"bytes,2,opt,name=report_id,json=reportId,proto3" json:"report_id,omitempty" toml:"report_id,omitempty" mapstructure:"report_id,omitempty"` - Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - Result string `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty" toml:"result,omitempty" mapstructure:"result,omitempty"` - JobId string `protobuf:"bytes,5,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty" toml:"job_id,omitempty" mapstructure:"job_id,omitempty"` - StartTime *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` - EndTime *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ResultsRow) Reset() { *x = ResultsRow{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResultsRow) String() string { @@ -1330,7 +1289,7 @@ func (*ResultsRow) ProtoMessage() {} func (x *ResultsRow) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1395,20 +1354,17 @@ func (x *ResultsRow) GetEndTime() *timestamppb.Timestamp { } type BulkDeleteResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty" toml:"names,omitempty" mapstructure:"names,omitempty"` unknownFields protoimpl.UnknownFields - - Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty" toml:"names,omitempty" mapstructure:"names,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BulkDeleteResponse) Reset() { *x = BulkDeleteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BulkDeleteResponse) String() string { @@ -1419,7 +1375,7 @@ func (*BulkDeleteResponse) ProtoMessage() {} func (x *BulkDeleteResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_nodemanager_nodes_nodes_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1781,7 +1737,7 @@ func file_interservice_nodemanager_nodes_nodes_proto_rawDescGZIP() []byte { var file_interservice_nodemanager_nodes_nodes_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_interservice_nodemanager_nodes_nodes_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_interservice_nodemanager_nodes_nodes_proto_goTypes = []interface{}{ +var file_interservice_nodemanager_nodes_nodes_proto_goTypes = []any{ (Query_OrderType)(0), // 0: chef.automate.domain.nodemanager.nodes.Query.OrderType (LastContactData_Status)(0), // 1: chef.automate.domain.nodemanager.nodes.LastContactData.Status (*NodeError)(nil), // 2: chef.automate.domain.nodemanager.nodes.NodeError @@ -1855,188 +1811,6 @@ func file_interservice_nodemanager_nodes_nodes_proto_init() { if File_interservice_nodemanager_nodes_nodes_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_nodemanager_nodes_nodes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_nodes_nodes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeDetectJobInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_nodes_nodes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RerunResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_nodes_nodes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Ids); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_nodes_nodes_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Id); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_nodes_nodes_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Query); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_nodes_nodes_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TargetConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_nodes_nodes_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeSecrets); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_nodes_nodes_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Node); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_nodes_nodes_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CloudInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_nodes_nodes_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProjectsData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_nodes_nodes_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LastContactData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_nodes_nodes_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Nodes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_nodes_nodes_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResultsRow); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_nodemanager_nodes_nodes_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BulkDeleteResponse); 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{ diff --git a/api/interservice/notifications/service/events.pb.go b/api/interservice/notifications/service/events.pb.go index bbb390c6b56..b816b603f11 100644 --- a/api/interservice/notifications/service/events.pb.go +++ b/api/interservice/notifications/service/events.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/notifications/service/events.proto @@ -21,23 +21,20 @@ const ( ) type ExceptionInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty" toml:"class,omitempty" mapstructure:"class,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` + Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty" toml:"msg,omitempty" mapstructure:"msg,omitempty"` + Backtrace []string `protobuf:"bytes,4,rep,name=backtrace,proto3" json:"backtrace,omitempty" toml:"backtrace,omitempty" mapstructure:"backtrace,omitempty"` unknownFields protoimpl.UnknownFields - - Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty" toml:"class,omitempty" mapstructure:"class,omitempty"` - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` - Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty" toml:"msg,omitempty" mapstructure:"msg,omitempty"` - Backtrace []string `protobuf:"bytes,4,rep,name=backtrace,proto3" json:"backtrace,omitempty" toml:"backtrace,omitempty" mapstructure:"backtrace,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ExceptionInfo) Reset() { *x = ExceptionInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExceptionInfo) String() string { @@ -48,7 +45,7 @@ func (*ExceptionInfo) ProtoMessage() {} func (x *ExceptionInfo) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -92,21 +89,18 @@ func (x *ExceptionInfo) GetBacktrace() []string { } type TimeInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StartTime string `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` + EndTime string `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` unknownFields protoimpl.UnknownFields - - StartTime string `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` - EndTime string `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TimeInfo) Reset() { *x = TimeInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimeInfo) String() string { @@ -117,7 +111,7 @@ func (*TimeInfo) ProtoMessage() {} func (x *TimeInfo) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -147,10 +141,7 @@ func (x *TimeInfo) GetEndTime() string { } type Profile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` @@ -164,15 +155,15 @@ type Profile struct { Attributes []*Profile_Attribute `protobuf:"bytes,11,rep,name=attributes,proto3" json:"attributes,omitempty" toml:"attributes,omitempty" mapstructure:"attributes,omitempty"` FailedControls []*Profile_Control `protobuf:"bytes,12,rep,name=failed_controls,json=failedControls,proto3" json:"failed_controls,omitempty" toml:"failed_controls,omitempty" mapstructure:"failed_controls,omitempty"` Stats *Profile_ControlTotals `protobuf:"bytes,13,opt,name=stats,proto3" json:"stats,omitempty" toml:"stats,omitempty" mapstructure:"stats,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Profile) Reset() { *x = Profile{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile) String() string { @@ -183,7 +174,7 @@ func (*Profile) ProtoMessage() {} func (x *Profile) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -290,21 +281,18 @@ func (x *Profile) GetStats() *Profile_ControlTotals { } type SourceLocation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty" toml:"ref,omitempty" mapstructure:"ref,omitempty"` + Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty" toml:"line,omitempty" mapstructure:"line,omitempty"` unknownFields protoimpl.UnknownFields - - Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty" toml:"ref,omitempty" mapstructure:"ref,omitempty"` - Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty" toml:"line,omitempty" mapstructure:"line,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SourceLocation) Reset() { *x = SourceLocation{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SourceLocation) String() string { @@ -315,7 +303,7 @@ func (*SourceLocation) ProtoMessage() {} func (x *SourceLocation) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -345,21 +333,18 @@ func (x *SourceLocation) GetLine() int32 { } type Refs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty" toml:"uri,omitempty" mapstructure:"uri,omitempty"` + Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` unknownFields protoimpl.UnknownFields - - Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty" toml:"uri,omitempty" mapstructure:"uri,omitempty"` - Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Refs) Reset() { *x = Refs{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Refs) String() string { @@ -370,7 +355,7 @@ func (*Refs) ProtoMessage() {} func (x *Refs) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -400,25 +385,22 @@ func (x *Refs) GetUrl() string { } type PlatformSupport struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Inspec string `protobuf:"bytes,1,opt,name=inspec,proto3" json:"inspec,omitempty" toml:"inspec,omitempty" mapstructure:"inspec,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Inspec string `protobuf:"bytes,1,opt,name=inspec,proto3" json:"inspec,omitempty" toml:"inspec,omitempty" mapstructure:"inspec,omitempty"` // TODO: this needs to be os-name in json OsName string `protobuf:"bytes,2,opt,name=os_name,json=osName,proto3" json:"os_name,omitempty" toml:"os_name,omitempty" mapstructure:"os_name,omitempty"` // TODO: this needs to be os-family in json - OsFamily string `protobuf:"bytes,3,opt,name=os_family,json=osFamily,proto3" json:"os_family,omitempty" toml:"os_family,omitempty" mapstructure:"os_family,omitempty"` - Release string `protobuf:"bytes,4,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` + OsFamily string `protobuf:"bytes,3,opt,name=os_family,json=osFamily,proto3" json:"os_family,omitempty" toml:"os_family,omitempty" mapstructure:"os_family,omitempty"` + Release string `protobuf:"bytes,4,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PlatformSupport) Reset() { *x = PlatformSupport{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlatformSupport) String() string { @@ -429,7 +411,7 @@ func (*PlatformSupport) ProtoMessage() {} func (x *PlatformSupport) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -473,25 +455,22 @@ func (x *PlatformSupport) GetRelease() string { } type ComplianceSuccess struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + ComplianceUrl string `protobuf:"bytes,2,opt,name=compliance_url,json=complianceUrl,proto3" json:"compliance_url,omitempty" toml:"compliance_url,omitempty" mapstructure:"compliance_url,omitempty"` + NodeName string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty" toml:"node_name,omitempty" mapstructure:"node_name,omitempty"` + NodeId string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` + EndTime string `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` + Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty" toml:"timestamp,omitempty" mapstructure:"timestamp,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - ComplianceUrl string `protobuf:"bytes,2,opt,name=compliance_url,json=complianceUrl,proto3" json:"compliance_url,omitempty" toml:"compliance_url,omitempty" mapstructure:"compliance_url,omitempty"` - NodeName string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty" toml:"node_name,omitempty" mapstructure:"node_name,omitempty"` - NodeId string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" toml:"node_id,omitempty" mapstructure:"node_id,omitempty"` - EndTime string `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` - Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty" toml:"timestamp,omitempty" mapstructure:"timestamp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ComplianceSuccess) Reset() { *x = ComplianceSuccess{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ComplianceSuccess) String() string { @@ -502,7 +481,7 @@ func (*ComplianceSuccess) ProtoMessage() {} func (x *ComplianceSuccess) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -560,10 +539,7 @@ func (x *ComplianceSuccess) GetTimestamp() string { } type ComplianceFailure struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` ComplianceUrl string `protobuf:"bytes,2,opt,name=compliance_url,json=complianceUrl,proto3" json:"compliance_url,omitempty" toml:"compliance_url,omitempty" mapstructure:"compliance_url,omitempty"` NodeName string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty" toml:"node_name,omitempty" mapstructure:"node_name,omitempty"` @@ -573,15 +549,15 @@ type ComplianceFailure struct { FailedProfiles []*Profile `protobuf:"bytes,7,rep,name=failed_profiles,json=failedProfiles,proto3" json:"failed_profiles,omitempty" toml:"failed_profiles,omitempty" mapstructure:"failed_profiles,omitempty"` EndTime string `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" toml:"end_time,omitempty" mapstructure:"end_time,omitempty"` Timestamp string `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty" toml:"timestamp,omitempty" mapstructure:"timestamp,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ComplianceFailure) Reset() { *x = ComplianceFailure{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ComplianceFailure) String() string { @@ -592,7 +568,7 @@ func (*ComplianceFailure) ProtoMessage() {} func (x *ComplianceFailure) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -671,28 +647,25 @@ func (x *ComplianceFailure) GetTimestamp() string { } type CCRFailure struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty" toml:"run_id,omitempty" mapstructure:"run_id,omitempty"` + NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty" toml:"node_name,omitempty" mapstructure:"node_name,omitempty"` + NodeUrl string `protobuf:"bytes,3,opt,name=node_url,json=nodeUrl,proto3" json:"node_url,omitempty" toml:"node_url,omitempty" mapstructure:"node_url,omitempty"` + RunUrl string `protobuf:"bytes,4,opt,name=run_url,json=runUrl,proto3" json:"run_url,omitempty" toml:"run_url,omitempty" mapstructure:"run_url,omitempty"` + Cookbook string `protobuf:"bytes,5,opt,name=cookbook,proto3" json:"cookbook,omitempty" toml:"cookbook,omitempty" mapstructure:"cookbook,omitempty"` + Recipe string `protobuf:"bytes,6,opt,name=recipe,proto3" json:"recipe,omitempty" toml:"recipe,omitempty" mapstructure:"recipe,omitempty"` + Time *TimeInfo `protobuf:"bytes,7,opt,name=time,proto3" json:"time,omitempty" toml:"time,omitempty" mapstructure:"time,omitempty"` + Exception *ExceptionInfo `protobuf:"bytes,8,opt,name=exception,proto3" json:"exception,omitempty" toml:"exception,omitempty" mapstructure:"exception,omitempty"` + Timestamp string `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty" toml:"timestamp,omitempty" mapstructure:"timestamp,omitempty"` unknownFields protoimpl.UnknownFields - - RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty" toml:"run_id,omitempty" mapstructure:"run_id,omitempty"` - NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty" toml:"node_name,omitempty" mapstructure:"node_name,omitempty"` - NodeUrl string `protobuf:"bytes,3,opt,name=node_url,json=nodeUrl,proto3" json:"node_url,omitempty" toml:"node_url,omitempty" mapstructure:"node_url,omitempty"` - RunUrl string `protobuf:"bytes,4,opt,name=run_url,json=runUrl,proto3" json:"run_url,omitempty" toml:"run_url,omitempty" mapstructure:"run_url,omitempty"` - Cookbook string `protobuf:"bytes,5,opt,name=cookbook,proto3" json:"cookbook,omitempty" toml:"cookbook,omitempty" mapstructure:"cookbook,omitempty"` - Recipe string `protobuf:"bytes,6,opt,name=recipe,proto3" json:"recipe,omitempty" toml:"recipe,omitempty" mapstructure:"recipe,omitempty"` - Time *TimeInfo `protobuf:"bytes,7,opt,name=time,proto3" json:"time,omitempty" toml:"time,omitempty" mapstructure:"time,omitempty"` - Exception *ExceptionInfo `protobuf:"bytes,8,opt,name=exception,proto3" json:"exception,omitempty" toml:"exception,omitempty" mapstructure:"exception,omitempty"` - Timestamp string `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty" toml:"timestamp,omitempty" mapstructure:"timestamp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CCRFailure) Reset() { *x = CCRFailure{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CCRFailure) String() string { @@ -703,7 +676,7 @@ func (*CCRFailure) ProtoMessage() {} func (x *CCRFailure) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -782,25 +755,22 @@ func (x *CCRFailure) GetTimestamp() string { } type CCRSuccess struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty" toml:"run_id,omitempty" mapstructure:"run_id,omitempty"` - NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty" toml:"node_name,omitempty" mapstructure:"node_name,omitempty"` - RunUrl string `protobuf:"bytes,3,opt,name=run_url,json=runUrl,proto3" json:"run_url,omitempty" toml:"run_url,omitempty" mapstructure:"run_url,omitempty"` - Time *TimeInfo `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty" toml:"time,omitempty" mapstructure:"time,omitempty"` - UpdatedResourceCount int32 `protobuf:"varint,5,opt,name=updated_resource_count,json=updatedResourceCount,proto3" json:"updated_resource_count,omitempty" toml:"updated_resource_count,omitempty" mapstructure:"updated_resource_count,omitempty"` - Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty" toml:"timestamp,omitempty" mapstructure:"timestamp,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty" toml:"run_id,omitempty" mapstructure:"run_id,omitempty"` + NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty" toml:"node_name,omitempty" mapstructure:"node_name,omitempty"` + RunUrl string `protobuf:"bytes,3,opt,name=run_url,json=runUrl,proto3" json:"run_url,omitempty" toml:"run_url,omitempty" mapstructure:"run_url,omitempty"` + Time *TimeInfo `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty" toml:"time,omitempty" mapstructure:"time,omitempty"` + UpdatedResourceCount int32 `protobuf:"varint,5,opt,name=updated_resource_count,json=updatedResourceCount,proto3" json:"updated_resource_count,omitempty" toml:"updated_resource_count,omitempty" mapstructure:"updated_resource_count,omitempty"` + Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty" toml:"timestamp,omitempty" mapstructure:"timestamp,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CCRSuccess) Reset() { *x = CCRSuccess{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CCRSuccess) String() string { @@ -811,7 +781,7 @@ func (*CCRSuccess) ProtoMessage() {} func (x *CCRSuccess) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -869,18 +839,16 @@ func (x *CCRSuccess) GetTimestamp() string { } type Response struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Response) Reset() { *x = Response{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Response) String() string { @@ -891,7 +859,7 @@ func (*Response) ProtoMessage() {} func (x *Response) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -907,27 +875,24 @@ func (*Response) Descriptor() ([]byte, []int) { } type Event struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - // Types that are assignable to Event: + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + // Types that are valid to be assigned to Event: // // *Event_CCRSuccess // *Event_CCRFailure // *Event_ComplianceSuccess // *Event_ComplianceFailure - Event isEvent_Event `protobuf_oneof:"event"` + Event isEvent_Event `protobuf_oneof:"event"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Event) Reset() { *x = Event{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Event) String() string { @@ -938,7 +903,7 @@ func (*Event) ProtoMessage() {} func (x *Event) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -960,37 +925,45 @@ func (x *Event) GetId() string { return "" } -func (m *Event) GetEvent() isEvent_Event { - if m != nil { - return m.Event +func (x *Event) GetEvent() isEvent_Event { + if x != nil { + return x.Event } return nil } func (x *Event) GetCCRSuccess() *CCRSuccess { - if x, ok := x.GetEvent().(*Event_CCRSuccess); ok { - return x.CCRSuccess + if x != nil { + if x, ok := x.Event.(*Event_CCRSuccess); ok { + return x.CCRSuccess + } } return nil } func (x *Event) GetCCRFailure() *CCRFailure { - if x, ok := x.GetEvent().(*Event_CCRFailure); ok { - return x.CCRFailure + if x != nil { + if x, ok := x.Event.(*Event_CCRFailure); ok { + return x.CCRFailure + } } return nil } func (x *Event) GetComplianceSuccess() *ComplianceSuccess { - if x, ok := x.GetEvent().(*Event_ComplianceSuccess); ok { - return x.ComplianceSuccess + if x != nil { + if x, ok := x.Event.(*Event_ComplianceSuccess); ok { + return x.ComplianceSuccess + } } return nil } func (x *Event) GetComplianceFailure() *ComplianceFailure { - if x, ok := x.GetEvent().(*Event_ComplianceFailure); ok { - return x.ComplianceFailure + if x != nil { + if x, ok := x.Event.(*Event_ComplianceFailure); ok { + return x.ComplianceFailure + } } return nil } @@ -1024,10 +997,7 @@ func (*Event_ComplianceSuccess) isEvent_Event() {} func (*Event_ComplianceFailure) isEvent_Event() {} type Profile_Control struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Impact float32 `protobuf:"fixed32,2,opt,name=impact,proto3" json:"impact,omitempty" toml:"impact,omitempty" mapstructure:"impact,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` @@ -1037,15 +1007,15 @@ type Profile_Control struct { Refs []*Refs `protobuf:"bytes,7,rep,name=refs,proto3" json:"refs,omitempty" toml:"refs,omitempty" mapstructure:"refs,omitempty"` FailedResults []*Profile_Control_Result `protobuf:"bytes,9,rep,name=failed_results,json=failedResults,proto3" json:"failed_results,omitempty" toml:"failed_results,omitempty" mapstructure:"failed_results,omitempty"` Stats *Profile_Control_ResultTotals `protobuf:"bytes,10,opt,name=stats,proto3" json:"stats,omitempty" toml:"stats,omitempty" mapstructure:"stats,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Profile_Control) Reset() { *x = Profile_Control{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile_Control) String() string { @@ -1056,7 +1026,7 @@ func (*Profile_Control) ProtoMessage() {} func (x *Profile_Control) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1135,21 +1105,18 @@ func (x *Profile_Control) GetStats() *Profile_Control_ResultTotals { } type Profile_Attribute struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Options *Profile_Attribute_Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty" toml:"options,omitempty" mapstructure:"options,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Options *Profile_Attribute_Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty" toml:"options,omitempty" mapstructure:"options,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Profile_Attribute) Reset() { *x = Profile_Attribute{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile_Attribute) String() string { @@ -1160,7 +1127,7 @@ func (*Profile_Attribute) ProtoMessage() {} func (x *Profile_Attribute) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1190,10 +1157,7 @@ func (x *Profile_Attribute) GetOptions() *Profile_Attribute_Options { } type Profile_ControlTotals struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The number of controls in the profile NumTests int32 `protobuf:"varint,1,opt,name=num_tests,json=numTests,proto3" json:"num_tests,omitempty" toml:"num_tests,omitempty" mapstructure:"num_tests,omitempty"` // The number of controls that failed @@ -1202,15 +1166,15 @@ type Profile_ControlTotals struct { NumSkippedTests int32 `protobuf:"varint,3,opt,name=num_skipped_tests,json=numSkippedTests,proto3" json:"num_skipped_tests,omitempty" toml:"num_skipped_tests,omitempty" mapstructure:"num_skipped_tests,omitempty"` // The number of controls that passed NumPassedTests int32 `protobuf:"varint,4,opt,name=num_passed_tests,json=numPassedTests,proto3" json:"num_passed_tests,omitempty" toml:"num_passed_tests,omitempty" mapstructure:"num_passed_tests,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Profile_ControlTotals) Reset() { *x = Profile_ControlTotals{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile_ControlTotals) String() string { @@ -1221,7 +1185,7 @@ func (*Profile_ControlTotals) ProtoMessage() {} func (x *Profile_ControlTotals) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1265,25 +1229,22 @@ func (x *Profile_ControlTotals) GetNumPassedTests() int32 { } type Profile_Control_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` + CodeDesc string `protobuf:"bytes,2,opt,name=code_desc,json=codeDesc,proto3" json:"code_desc,omitempty" toml:"code_desc,omitempty" mapstructure:"code_desc,omitempty"` + RunTime float32 `protobuf:"fixed32,3,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty" toml:"run_time,omitempty" mapstructure:"run_time,omitempty"` + StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` + Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` + SkipMessage string `protobuf:"bytes,6,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty" toml:"skip_message,omitempty" mapstructure:"skip_message,omitempty"` unknownFields protoimpl.UnknownFields - - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` - CodeDesc string `protobuf:"bytes,2,opt,name=code_desc,json=codeDesc,proto3" json:"code_desc,omitempty" toml:"code_desc,omitempty" mapstructure:"code_desc,omitempty"` - RunTime float32 `protobuf:"fixed32,3,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty" toml:"run_time,omitempty" mapstructure:"run_time,omitempty"` - StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" toml:"start_time,omitempty" mapstructure:"start_time,omitempty"` - Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` - SkipMessage string `protobuf:"bytes,6,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty" toml:"skip_message,omitempty" mapstructure:"skip_message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Profile_Control_Result) Reset() { *x = Profile_Control_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile_Control_Result) String() string { @@ -1294,7 +1255,7 @@ func (*Profile_Control_Result) ProtoMessage() {} func (x *Profile_Control_Result) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1352,23 +1313,20 @@ func (x *Profile_Control_Result) GetSkipMessage() string { } type Profile_Control_ResultTotals struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - NumTests int32 `protobuf:"varint,1,opt,name=num_tests,json=numTests,proto3" json:"num_tests,omitempty" toml:"num_tests,omitempty" mapstructure:"num_tests,omitempty"` - NumFailedTests int32 `protobuf:"varint,2,opt,name=num_failed_tests,json=numFailedTests,proto3" json:"num_failed_tests,omitempty" toml:"num_failed_tests,omitempty" mapstructure:"num_failed_tests,omitempty"` - NumSkippedTests int32 `protobuf:"varint,3,opt,name=num_skipped_tests,json=numSkippedTests,proto3" json:"num_skipped_tests,omitempty" toml:"num_skipped_tests,omitempty" mapstructure:"num_skipped_tests,omitempty"` - NumPassedTests int32 `protobuf:"varint,4,opt,name=num_passed_tests,json=numPassedTests,proto3" json:"num_passed_tests,omitempty" toml:"num_passed_tests,omitempty" mapstructure:"num_passed_tests,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + NumTests int32 `protobuf:"varint,1,opt,name=num_tests,json=numTests,proto3" json:"num_tests,omitempty" toml:"num_tests,omitempty" mapstructure:"num_tests,omitempty"` + NumFailedTests int32 `protobuf:"varint,2,opt,name=num_failed_tests,json=numFailedTests,proto3" json:"num_failed_tests,omitempty" toml:"num_failed_tests,omitempty" mapstructure:"num_failed_tests,omitempty"` + NumSkippedTests int32 `protobuf:"varint,3,opt,name=num_skipped_tests,json=numSkippedTests,proto3" json:"num_skipped_tests,omitempty" toml:"num_skipped_tests,omitempty" mapstructure:"num_skipped_tests,omitempty"` + NumPassedTests int32 `protobuf:"varint,4,opt,name=num_passed_tests,json=numPassedTests,proto3" json:"num_passed_tests,omitempty" toml:"num_passed_tests,omitempty" mapstructure:"num_passed_tests,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Profile_Control_ResultTotals) Reset() { *x = Profile_Control_ResultTotals{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile_Control_ResultTotals) String() string { @@ -1379,7 +1337,7 @@ func (*Profile_Control_ResultTotals) ProtoMessage() {} func (x *Profile_Control_ResultTotals) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1423,20 +1381,17 @@ func (x *Profile_Control_ResultTotals) GetNumPassedTests() int32 { } type Profile_Attribute_Options struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"` unknownFields protoimpl.UnknownFields - - Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty" toml:"description,omitempty" mapstructure:"description,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Profile_Attribute_Options) Reset() { *x = Profile_Attribute_Options{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile_Attribute_Options) String() string { @@ -1447,7 +1402,7 @@ func (*Profile_Attribute_Options) ProtoMessage() {} func (x *Profile_Attribute_Options) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1470,24 +1425,21 @@ func (x *Profile_Attribute_Options) GetDescription() string { } type ComplianceFailure_ControlTotals struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Skipped int32 `protobuf:"varint,1,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` - Passed int32 `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` - Failed int32 `protobuf:"varint,3,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` - Critical int32 `protobuf:"varint,4,opt,name=critical,proto3" json:"critical,omitempty" toml:"critical,omitempty" mapstructure:"critical,omitempty"` - CriticalFailed int32 `protobuf:"varint,5,opt,name=critical_failed,json=criticalFailed,proto3" json:"critical_failed,omitempty" toml:"critical_failed,omitempty" mapstructure:"critical_failed,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Skipped int32 `protobuf:"varint,1,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"` + Passed int32 `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` + Failed int32 `protobuf:"varint,3,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` + Critical int32 `protobuf:"varint,4,opt,name=critical,proto3" json:"critical,omitempty" toml:"critical,omitempty" mapstructure:"critical,omitempty"` + CriticalFailed int32 `protobuf:"varint,5,opt,name=critical_failed,json=criticalFailed,proto3" json:"critical_failed,omitempty" toml:"critical_failed,omitempty" mapstructure:"critical_failed,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ComplianceFailure_ControlTotals) Reset() { *x = ComplianceFailure_ControlTotals{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_events_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_events_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ComplianceFailure_ControlTotals) String() string { @@ -1498,7 +1450,7 @@ func (*ComplianceFailure_ControlTotals) ProtoMessage() {} func (x *ComplianceFailure_ControlTotals) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_events_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1832,7 +1784,7 @@ func file_interservice_notifications_service_events_proto_rawDescGZIP() []byte { } var file_interservice_notifications_service_events_proto_msgTypes = make([]protoimpl.MessageInfo, 19) -var file_interservice_notifications_service_events_proto_goTypes = []interface{}{ +var file_interservice_notifications_service_events_proto_goTypes = []any{ (*ExceptionInfo)(nil), // 0: chef.automate.domain.notifications.service.ExceptionInfo (*TimeInfo)(nil), // 1: chef.automate.domain.notifications.service.TimeInfo (*Profile)(nil), // 2: chef.automate.domain.notifications.service.Profile @@ -1884,237 +1836,7 @@ func file_interservice_notifications_service_events_proto_init() { if File_interservice_notifications_service_events_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_notifications_service_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExceptionInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SourceLocation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Refs); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlatformSupport); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComplianceSuccess); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComplianceFailure); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CCRFailure); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CCRSuccess); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Response); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Event); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile_Control); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile_Attribute); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile_ControlTotals); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile_Control_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile_Control_ResultTotals); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile_Attribute_Options); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_events_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComplianceFailure_ControlTotals); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_interservice_notifications_service_events_proto_msgTypes[11].OneofWrappers = []interface{}{ + file_interservice_notifications_service_events_proto_msgTypes[11].OneofWrappers = []any{ (*Event_CCRSuccess)(nil), (*Event_CCRFailure)(nil), (*Event_ComplianceSuccess)(nil), diff --git a/api/interservice/notifications/service/health.pb.go b/api/interservice/notifications/service/health.pb.go index 403e3512b1b..6705d9ac7f0 100644 --- a/api/interservice/notifications/service/health.pb.go +++ b/api/interservice/notifications/service/health.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/notifications/service/health.proto @@ -21,18 +21,16 @@ const ( ) type VersionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *VersionRequest) Reset() { *x = VersionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_health_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_health_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VersionRequest) String() string { @@ -43,7 +41,7 @@ func (*VersionRequest) ProtoMessage() {} func (x *VersionRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_health_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -59,20 +57,17 @@ func (*VersionRequest) Descriptor() ([]byte, []int) { } type VersionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` unknownFields protoimpl.UnknownFields - - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` + sizeCache protoimpl.SizeCache } func (x *VersionResponse) Reset() { *x = VersionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_health_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_health_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VersionResponse) String() string { @@ -83,7 +78,7 @@ func (*VersionResponse) ProtoMessage() {} func (x *VersionResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_health_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -138,7 +133,7 @@ func file_interservice_notifications_service_health_proto_rawDescGZIP() []byte { } var file_interservice_notifications_service_health_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_interservice_notifications_service_health_proto_goTypes = []interface{}{ +var file_interservice_notifications_service_health_proto_goTypes = []any{ (*VersionRequest)(nil), // 0: chef.automate.domain.notifications.service.VersionRequest (*VersionResponse)(nil), // 1: chef.automate.domain.notifications.service.VersionResponse } @@ -155,32 +150,6 @@ func file_interservice_notifications_service_health_proto_init() { if File_interservice_notifications_service_health_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_notifications_service_health_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VersionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_health_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VersionResponse); 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{ diff --git a/api/interservice/notifications/service/rules.pb.go b/api/interservice/notifications/service/rules.pb.go index c58266a6c6f..c29bf4f553c 100644 --- a/api/interservice/notifications/service/rules.pb.go +++ b/api/interservice/notifications/service/rules.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/notifications/service/rules.proto @@ -388,18 +388,16 @@ func (RuleListResponse_Code) EnumDescriptor() ([]byte, []int) { // Rules management messages and responses // // type Empty struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Empty) Reset() { *x = Empty{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_rules_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_rules_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Empty) String() string { @@ -410,7 +408,7 @@ func (*Empty) ProtoMessage() {} func (x *Empty) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_rules_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -426,20 +424,17 @@ func (*Empty) Descriptor() ([]byte, []int) { } type SlackAlert struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SlackAlert) Reset() { *x = SlackAlert{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_rules_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_rules_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SlackAlert) String() string { @@ -450,7 +445,7 @@ func (*SlackAlert) ProtoMessage() {} func (x *SlackAlert) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_rules_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -473,20 +468,17 @@ func (x *SlackAlert) GetUrl() string { } type WebhookAlert struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WebhookAlert) Reset() { *x = WebhookAlert{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_rules_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_rules_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WebhookAlert) String() string { @@ -497,7 +489,7 @@ func (*WebhookAlert) ProtoMessage() {} func (x *WebhookAlert) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_rules_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -520,22 +512,19 @@ func (x *WebhookAlert) GetUrl() string { } type ServiceNowAlert struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` - SecretId string `protobuf:"bytes,2,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty" toml:"secret_id,omitempty" mapstructure:"secret_id,omitempty"` - CriticalControlsOnly bool `protobuf:"varint,3,opt,name=critical_controls_only,json=criticalControlsOnly,proto3" json:"critical_controls_only,omitempty" toml:"critical_controls_only,omitempty" mapstructure:"critical_controls_only,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` + SecretId string `protobuf:"bytes,2,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty" toml:"secret_id,omitempty" mapstructure:"secret_id,omitempty"` + CriticalControlsOnly bool `protobuf:"varint,3,opt,name=critical_controls_only,json=criticalControlsOnly,proto3" json:"critical_controls_only,omitempty" toml:"critical_controls_only,omitempty" mapstructure:"critical_controls_only,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServiceNowAlert) Reset() { *x = ServiceNowAlert{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_rules_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_rules_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceNowAlert) String() string { @@ -546,7 +535,7 @@ func (*ServiceNowAlert) ProtoMessage() {} func (x *ServiceNowAlert) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_rules_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -583,28 +572,25 @@ func (x *ServiceNowAlert) GetCriticalControlsOnly() bool { } type Rule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Event Rule_Event `protobuf:"varint,3,opt,name=event,proto3,enum=chef.automate.domain.notifications.service.Rule_Event" json:"event,omitempty" toml:"event,omitempty" mapstructure:"event,omitempty"` - // Types that are assignable to Action: + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Event Rule_Event `protobuf:"varint,3,opt,name=event,proto3,enum=chef.automate.domain.notifications.service.Rule_Event" json:"event,omitempty" toml:"event,omitempty" mapstructure:"event,omitempty"` + // Types that are valid to be assigned to Action: // // *Rule_SlackAlert // *Rule_WebhookAlert // *Rule_ServiceNowAlert - Action isRule_Action `protobuf_oneof:"action"` + Action isRule_Action `protobuf_oneof:"action"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Rule) Reset() { *x = Rule{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_rules_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_rules_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Rule) String() string { @@ -615,7 +601,7 @@ func (*Rule) ProtoMessage() {} func (x *Rule) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_rules_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -651,30 +637,36 @@ func (x *Rule) GetEvent() Rule_Event { return Rule_CCRFailure } -func (m *Rule) GetAction() isRule_Action { - if m != nil { - return m.Action +func (x *Rule) GetAction() isRule_Action { + if x != nil { + return x.Action } return nil } func (x *Rule) GetSlackAlert() *SlackAlert { - if x, ok := x.GetAction().(*Rule_SlackAlert); ok { - return x.SlackAlert + if x != nil { + if x, ok := x.Action.(*Rule_SlackAlert); ok { + return x.SlackAlert + } } return nil } func (x *Rule) GetWebhookAlert() *WebhookAlert { - if x, ok := x.GetAction().(*Rule_WebhookAlert); ok { - return x.WebhookAlert + if x != nil { + if x, ok := x.Action.(*Rule_WebhookAlert); ok { + return x.WebhookAlert + } } return nil } func (x *Rule) GetServiceNowAlert() *ServiceNowAlert { - if x, ok := x.GetAction().(*Rule_ServiceNowAlert); ok { - return x.ServiceNowAlert + if x != nil { + if x, ok := x.Action.(*Rule_ServiceNowAlert); ok { + return x.ServiceNowAlert + } } return nil } @@ -702,21 +694,18 @@ func (*Rule_WebhookAlert) isRule_Action() {} func (*Rule_ServiceNowAlert) isRule_Action() {} type UsernamePassword struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty" toml:"username,omitempty" mapstructure:"username,omitempty"` + Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty" toml:"password,omitempty" mapstructure:"password,omitempty"` unknownFields protoimpl.UnknownFields - - Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty" toml:"username,omitempty" mapstructure:"username,omitempty"` - Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty" toml:"password,omitempty" mapstructure:"password,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UsernamePassword) Reset() { *x = UsernamePassword{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_rules_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_rules_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UsernamePassword) String() string { @@ -727,7 +716,7 @@ func (*UsernamePassword) ProtoMessage() {} func (x *UsernamePassword) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_rules_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -757,20 +746,17 @@ func (x *UsernamePassword) GetPassword() string { } type SecretId struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SecretId) Reset() { *x = SecretId{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_rules_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_rules_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SecretId) String() string { @@ -781,7 +767,7 @@ func (*SecretId) ProtoMessage() {} func (x *SecretId) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_rules_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -804,26 +790,23 @@ func (x *SecretId) GetId() string { } type URLValidationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` - // Types that are assignable to Credentials: + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` + // Types that are valid to be assigned to Credentials: // // *URLValidationRequest_UsernamePassword // *URLValidationRequest_SecretId // *URLValidationRequest_None - Credentials isURLValidationRequest_Credentials `protobuf_oneof:"credentials"` + Credentials isURLValidationRequest_Credentials `protobuf_oneof:"credentials"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *URLValidationRequest) Reset() { *x = URLValidationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_rules_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_rules_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *URLValidationRequest) String() string { @@ -834,7 +817,7 @@ func (*URLValidationRequest) ProtoMessage() {} func (x *URLValidationRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_rules_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -856,30 +839,36 @@ func (x *URLValidationRequest) GetUrl() string { return "" } -func (m *URLValidationRequest) GetCredentials() isURLValidationRequest_Credentials { - if m != nil { - return m.Credentials +func (x *URLValidationRequest) GetCredentials() isURLValidationRequest_Credentials { + if x != nil { + return x.Credentials } return nil } func (x *URLValidationRequest) GetUsernamePassword() *UsernamePassword { - if x, ok := x.GetCredentials().(*URLValidationRequest_UsernamePassword); ok { - return x.UsernamePassword + if x != nil { + if x, ok := x.Credentials.(*URLValidationRequest_UsernamePassword); ok { + return x.UsernamePassword + } } return nil } func (x *URLValidationRequest) GetSecretId() *SecretId { - if x, ok := x.GetCredentials().(*URLValidationRequest_SecretId); ok { - return x.SecretId + if x != nil { + if x, ok := x.Credentials.(*URLValidationRequest_SecretId); ok { + return x.SecretId + } } return nil } func (x *URLValidationRequest) GetNone() *Empty { - if x, ok := x.GetCredentials().(*URLValidationRequest_None); ok { - return x.None + if x != nil { + if x, ok := x.Credentials.(*URLValidationRequest_None); ok { + return x.None + } } return nil } @@ -907,21 +896,18 @@ func (*URLValidationRequest_SecretId) isURLValidationRequest_Credentials() {} func (*URLValidationRequest_None) isURLValidationRequest_Credentials() {} type URLValidationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code URLValidationResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=chef.automate.domain.notifications.service.URLValidationResponse_Code" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` + Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty" toml:"messages,omitempty" mapstructure:"messages,omitempty"` // unused but kept for consistency with other Rule api responses. unknownFields protoimpl.UnknownFields - - Code URLValidationResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=chef.automate.domain.notifications.service.URLValidationResponse_Code" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` - Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty" toml:"messages,omitempty" mapstructure:"messages,omitempty"` // unused but kept for consistency with other Rule api responses. + sizeCache protoimpl.SizeCache } func (x *URLValidationResponse) Reset() { *x = URLValidationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_rules_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_rules_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *URLValidationResponse) String() string { @@ -932,7 +918,7 @@ func (*URLValidationResponse) ProtoMessage() {} func (x *URLValidationResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_rules_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -962,20 +948,17 @@ func (x *URLValidationResponse) GetMessages() []string { } type RuleIdentifier struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleIdentifier) Reset() { *x = RuleIdentifier{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_rules_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_rules_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleIdentifier) String() string { @@ -986,7 +969,7 @@ func (*RuleIdentifier) ProtoMessage() {} func (x *RuleIdentifier) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_rules_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1009,21 +992,18 @@ func (x *RuleIdentifier) GetId() string { } type RuleUpdateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code RuleUpdateResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=chef.automate.domain.notifications.service.RuleUpdateResponse_Code" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` + Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty" toml:"messages,omitempty" mapstructure:"messages,omitempty"` unknownFields protoimpl.UnknownFields - - Code RuleUpdateResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=chef.automate.domain.notifications.service.RuleUpdateResponse_Code" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` - Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty" toml:"messages,omitempty" mapstructure:"messages,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleUpdateResponse) Reset() { *x = RuleUpdateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_rules_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_rules_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleUpdateResponse) String() string { @@ -1034,7 +1014,7 @@ func (*RuleUpdateResponse) ProtoMessage() {} func (x *RuleUpdateResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_rules_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1064,21 +1044,18 @@ func (x *RuleUpdateResponse) GetMessages() []string { } type RuleDeleteResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code RuleDeleteResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=chef.automate.domain.notifications.service.RuleDeleteResponse_Code" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` + Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty" toml:"messages,omitempty" mapstructure:"messages,omitempty"` unknownFields protoimpl.UnknownFields - - Code RuleDeleteResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=chef.automate.domain.notifications.service.RuleDeleteResponse_Code" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` - Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty" toml:"messages,omitempty" mapstructure:"messages,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleDeleteResponse) Reset() { *x = RuleDeleteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_rules_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_rules_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleDeleteResponse) String() string { @@ -1089,7 +1066,7 @@ func (*RuleDeleteResponse) ProtoMessage() {} func (x *RuleDeleteResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_rules_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1119,23 +1096,20 @@ func (x *RuleDeleteResponse) GetMessages() []string { } type RuleAddResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code RuleAddResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=chef.automate.domain.notifications.service.RuleAddResponse_Code" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` + Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty" toml:"messages,omitempty" mapstructure:"messages,omitempty"` + Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Rule *Rule `protobuf:"bytes,4,opt,name=rule,proto3" json:"rule,omitempty" toml:"rule,omitempty" mapstructure:"rule,omitempty"` unknownFields protoimpl.UnknownFields - - Code RuleAddResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=chef.automate.domain.notifications.service.RuleAddResponse_Code" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` - Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty" toml:"messages,omitempty" mapstructure:"messages,omitempty"` - Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Rule *Rule `protobuf:"bytes,4,opt,name=rule,proto3" json:"rule,omitempty" toml:"rule,omitempty" mapstructure:"rule,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleAddResponse) Reset() { *x = RuleAddResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_rules_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_rules_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleAddResponse) String() string { @@ -1146,7 +1120,7 @@ func (*RuleAddResponse) ProtoMessage() {} func (x *RuleAddResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_rules_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1190,22 +1164,19 @@ func (x *RuleAddResponse) GetRule() *Rule { } type RuleGetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code RuleGetResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=chef.automate.domain.notifications.service.RuleGetResponse_Code" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` + Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty" toml:"messages,omitempty" mapstructure:"messages,omitempty"` + Rule *Rule `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty" toml:"rule,omitempty" mapstructure:"rule,omitempty"` unknownFields protoimpl.UnknownFields - - Code RuleGetResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=chef.automate.domain.notifications.service.RuleGetResponse_Code" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` - Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty" toml:"messages,omitempty" mapstructure:"messages,omitempty"` - Rule *Rule `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty" toml:"rule,omitempty" mapstructure:"rule,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleGetResponse) Reset() { *x = RuleGetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_rules_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_rules_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleGetResponse) String() string { @@ -1216,7 +1187,7 @@ func (*RuleGetResponse) ProtoMessage() {} func (x *RuleGetResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_rules_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1253,22 +1224,19 @@ func (x *RuleGetResponse) GetRule() *Rule { } type RuleListResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code RuleListResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=chef.automate.domain.notifications.service.RuleListResponse_Code" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` + Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty" toml:"messages,omitempty" mapstructure:"messages,omitempty"` + Rules []*Rule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty" toml:"rules,omitempty" mapstructure:"rules,omitempty"` unknownFields protoimpl.UnknownFields - - Code RuleListResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=chef.automate.domain.notifications.service.RuleListResponse_Code" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` - Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty" toml:"messages,omitempty" mapstructure:"messages,omitempty"` - Rules []*Rule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty" toml:"rules,omitempty" mapstructure:"rules,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleListResponse) Reset() { *x = RuleListResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_notifications_service_rules_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_notifications_service_rules_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleListResponse) String() string { @@ -1279,7 +1247,7 @@ func (*RuleListResponse) ProtoMessage() {} func (x *RuleListResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_notifications_service_rules_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1512,7 +1480,7 @@ func file_interservice_notifications_service_rules_proto_rawDescGZIP() []byte { var file_interservice_notifications_service_rules_proto_enumTypes = make([]protoimpl.EnumInfo, 7) var file_interservice_notifications_service_rules_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_interservice_notifications_service_rules_proto_goTypes = []interface{}{ +var file_interservice_notifications_service_rules_proto_goTypes = []any{ (Rule_Event)(0), // 0: chef.automate.domain.notifications.service.Rule.Event (URLValidationResponse_Code)(0), // 1: chef.automate.domain.notifications.service.URLValidationResponse.Code (RuleUpdateResponse_Code)(0), // 2: chef.automate.domain.notifications.service.RuleUpdateResponse.Code @@ -1565,194 +1533,12 @@ func file_interservice_notifications_service_rules_proto_init() { if File_interservice_notifications_service_rules_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_notifications_service_rules_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Empty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_rules_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SlackAlert); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_rules_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebhookAlert); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_rules_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceNowAlert); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_rules_proto_msgTypes[4].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_interservice_notifications_service_rules_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UsernamePassword); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_rules_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SecretId); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_rules_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*URLValidationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_rules_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*URLValidationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_rules_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleIdentifier); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_rules_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleUpdateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_rules_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleDeleteResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_rules_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleAddResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_rules_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleGetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_notifications_service_rules_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleListResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_interservice_notifications_service_rules_proto_msgTypes[4].OneofWrappers = []interface{}{ + file_interservice_notifications_service_rules_proto_msgTypes[4].OneofWrappers = []any{ (*Rule_SlackAlert)(nil), (*Rule_WebhookAlert)(nil), (*Rule_ServiceNowAlert)(nil), } - file_interservice_notifications_service_rules_proto_msgTypes[7].OneofWrappers = []interface{}{ + file_interservice_notifications_service_rules_proto_msgTypes[7].OneofWrappers = []any{ (*URLValidationRequest_UsernamePassword)(nil), (*URLValidationRequest_SecretId)(nil), (*URLValidationRequest_None)(nil), diff --git a/api/interservice/notifications/service/server.pb.go b/api/interservice/notifications/service/server.pb.go index 14be4c35944..2c6e61e860b 100644 --- a/api/interservice/notifications/service/server.pb.go +++ b/api/interservice/notifications/service/server.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/notifications/service/server.proto @@ -115,7 +115,7 @@ var file_interservice_notifications_service_server_proto_rawDesc = []byte{ 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_interservice_notifications_service_server_proto_goTypes = []interface{}{ +var file_interservice_notifications_service_server_proto_goTypes = []any{ (*Event)(nil), // 0: chef.automate.domain.notifications.service.Event (*Rule)(nil), // 1: chef.automate.domain.notifications.service.Rule (*RuleIdentifier)(nil), // 2: chef.automate.domain.notifications.service.RuleIdentifier diff --git a/api/interservice/pg_sidecar/service.pb.go b/api/interservice/pg_sidecar/service.pb.go index 30adc7798b6..f4fda66a177 100644 --- a/api/interservice/pg_sidecar/service.pb.go +++ b/api/interservice/pg_sidecar/service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/pg_sidecar/service.proto @@ -68,20 +68,17 @@ func (ErrorDetails_Codes) EnumDescriptor() ([]byte, []int) { } type ErrorDetails struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code ErrorDetails_Codes `protobuf:"varint,20,opt,name=code,proto3,enum=chef.automate.infra.pg_sidecar.ErrorDetails_Codes" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` unknownFields protoimpl.UnknownFields - - Code ErrorDetails_Codes `protobuf:"varint,20,opt,name=code,proto3,enum=chef.automate.infra.pg_sidecar.ErrorDetails_Codes" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ErrorDetails) Reset() { *x = ErrorDetails{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ErrorDetails) String() string { @@ -92,7 +89,7 @@ func (*ErrorDetails) ProtoMessage() {} func (x *ErrorDetails) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -115,25 +112,22 @@ func (x *ErrorDetails) GetCode() ErrorDetails_Codes { } type MigrateTablesReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FromDb string `protobuf:"bytes,20,opt,name=from_db,json=fromDb,proto3" json:"from_db,omitempty" toml:"from_db,omitempty" mapstructure:"from_db,omitempty"` - ToDb string `protobuf:"bytes,21,opt,name=to_db,json=toDb,proto3" json:"to_db,omitempty" toml:"to_db,omitempty" mapstructure:"to_db,omitempty"` - Table []string `protobuf:"bytes,22,rep,name=table,proto3" json:"table,omitempty" toml:"table,omitempty" mapstructure:"table,omitempty"` - ImportUser string `protobuf:"bytes,23,opt,name=import_user,json=importUser,proto3" json:"import_user,omitempty" toml:"import_user,omitempty" mapstructure:"import_user,omitempty"` - FailIfSrcDbMissing bool `protobuf:"varint,24,opt,name=fail_if_src_db_missing,json=failIfSrcDbMissing,proto3" json:"fail_if_src_db_missing,omitempty" toml:"fail_if_src_db_missing,omitempty" mapstructure:"fail_if_src_db_missing,omitempty"` - SkipDbCreate bool `protobuf:"varint,25,opt,name=skip_db_create,json=skipDbCreate,proto3" json:"skip_db_create,omitempty" toml:"skip_db_create,omitempty" mapstructure:"skip_db_create,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + FromDb string `protobuf:"bytes,20,opt,name=from_db,json=fromDb,proto3" json:"from_db,omitempty" toml:"from_db,omitempty" mapstructure:"from_db,omitempty"` + ToDb string `protobuf:"bytes,21,opt,name=to_db,json=toDb,proto3" json:"to_db,omitempty" toml:"to_db,omitempty" mapstructure:"to_db,omitempty"` + Table []string `protobuf:"bytes,22,rep,name=table,proto3" json:"table,omitempty" toml:"table,omitempty" mapstructure:"table,omitempty"` + ImportUser string `protobuf:"bytes,23,opt,name=import_user,json=importUser,proto3" json:"import_user,omitempty" toml:"import_user,omitempty" mapstructure:"import_user,omitempty"` + FailIfSrcDbMissing bool `protobuf:"varint,24,opt,name=fail_if_src_db_missing,json=failIfSrcDbMissing,proto3" json:"fail_if_src_db_missing,omitempty" toml:"fail_if_src_db_missing,omitempty" mapstructure:"fail_if_src_db_missing,omitempty"` + SkipDbCreate bool `protobuf:"varint,25,opt,name=skip_db_create,json=skipDbCreate,proto3" json:"skip_db_create,omitempty" toml:"skip_db_create,omitempty" mapstructure:"skip_db_create,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MigrateTablesReq) Reset() { *x = MigrateTablesReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MigrateTablesReq) String() string { @@ -144,7 +138,7 @@ func (*MigrateTablesReq) ProtoMessage() {} func (x *MigrateTablesReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -202,18 +196,16 @@ func (x *MigrateTablesReq) GetSkipDbCreate() bool { } type MigrateTablesRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MigrateTablesRes) Reset() { *x = MigrateTablesRes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MigrateTablesRes) String() string { @@ -224,7 +216,7 @@ func (*MigrateTablesRes) ProtoMessage() {} func (x *MigrateTablesRes) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -240,21 +232,18 @@ func (*MigrateTablesRes) Descriptor() ([]byte, []int) { } type RenameDBReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + FromDb string `protobuf:"bytes,20,opt,name=from_db,json=fromDb,proto3" json:"from_db,omitempty" toml:"from_db,omitempty" mapstructure:"from_db,omitempty"` + ToDb string `protobuf:"bytes,21,opt,name=to_db,json=toDb,proto3" json:"to_db,omitempty" toml:"to_db,omitempty" mapstructure:"to_db,omitempty"` unknownFields protoimpl.UnknownFields - - FromDb string `protobuf:"bytes,20,opt,name=from_db,json=fromDb,proto3" json:"from_db,omitempty" toml:"from_db,omitempty" mapstructure:"from_db,omitempty"` - ToDb string `protobuf:"bytes,21,opt,name=to_db,json=toDb,proto3" json:"to_db,omitempty" toml:"to_db,omitempty" mapstructure:"to_db,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RenameDBReq) Reset() { *x = RenameDBReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RenameDBReq) String() string { @@ -265,7 +254,7 @@ func (*RenameDBReq) ProtoMessage() {} func (x *RenameDBReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -295,18 +284,16 @@ func (x *RenameDBReq) GetToDb() string { } type RenameDBRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RenameDBRes) Reset() { *x = RenameDBRes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RenameDBRes) String() string { @@ -317,7 +304,7 @@ func (*RenameDBRes) ProtoMessage() {} func (x *RenameDBRes) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -333,21 +320,18 @@ func (*RenameDBRes) Descriptor() ([]byte, []int) { } type CreateDBReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Db string `protobuf:"bytes,20,opt,name=db,proto3" json:"db,omitempty" toml:"db,omitempty" mapstructure:"db,omitempty"` + User string `protobuf:"bytes,21,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` unknownFields protoimpl.UnknownFields - - Db string `protobuf:"bytes,20,opt,name=db,proto3" json:"db,omitempty" toml:"db,omitempty" mapstructure:"db,omitempty"` - User string `protobuf:"bytes,21,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateDBReq) Reset() { *x = CreateDBReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDBReq) String() string { @@ -358,7 +342,7 @@ func (*CreateDBReq) ProtoMessage() {} func (x *CreateDBReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -388,18 +372,16 @@ func (x *CreateDBReq) GetUser() string { } type CreateDBRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateDBRes) Reset() { *x = CreateDBRes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDBRes) String() string { @@ -410,7 +392,7 @@ func (*CreateDBRes) ProtoMessage() {} func (x *CreateDBRes) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -426,21 +408,18 @@ func (*CreateDBRes) Descriptor() ([]byte, []int) { } type CreateExtensionReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Db string `protobuf:"bytes,20,opt,name=db,proto3" json:"db,omitempty" toml:"db,omitempty" mapstructure:"db,omitempty"` + Ext string `protobuf:"bytes,21,opt,name=ext,proto3" json:"ext,omitempty" toml:"ext,omitempty" mapstructure:"ext,omitempty"` unknownFields protoimpl.UnknownFields - - Db string `protobuf:"bytes,20,opt,name=db,proto3" json:"db,omitempty" toml:"db,omitempty" mapstructure:"db,omitempty"` - Ext string `protobuf:"bytes,21,opt,name=ext,proto3" json:"ext,omitempty" toml:"ext,omitempty" mapstructure:"ext,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateExtensionReq) Reset() { *x = CreateExtensionReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateExtensionReq) String() string { @@ -451,7 +430,7 @@ func (*CreateExtensionReq) ProtoMessage() {} func (x *CreateExtensionReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -481,18 +460,16 @@ func (x *CreateExtensionReq) GetExt() string { } type CreateExtensionRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateExtensionRes) Reset() { *x = CreateExtensionRes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateExtensionRes) String() string { @@ -503,7 +480,7 @@ func (*CreateExtensionRes) ProtoMessage() {} func (x *CreateExtensionRes) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -519,22 +496,19 @@ func (*CreateExtensionRes) Descriptor() ([]byte, []int) { } type DeploySqitchReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Db string `protobuf:"bytes,20,opt,name=db,proto3" json:"db,omitempty" toml:"db,omitempty" mapstructure:"db,omitempty"` + Dir string `protobuf:"bytes,21,opt,name=dir,proto3" json:"dir,omitempty" toml:"dir,omitempty" mapstructure:"dir,omitempty"` + User string `protobuf:"bytes,22,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` unknownFields protoimpl.UnknownFields - - Db string `protobuf:"bytes,20,opt,name=db,proto3" json:"db,omitempty" toml:"db,omitempty" mapstructure:"db,omitempty"` - Dir string `protobuf:"bytes,21,opt,name=dir,proto3" json:"dir,omitempty" toml:"dir,omitempty" mapstructure:"dir,omitempty"` - User string `protobuf:"bytes,22,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeploySqitchReq) Reset() { *x = DeploySqitchReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeploySqitchReq) String() string { @@ -545,7 +519,7 @@ func (*DeploySqitchReq) ProtoMessage() {} func (x *DeploySqitchReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -582,18 +556,16 @@ func (x *DeploySqitchReq) GetUser() string { } type DeploySqitchRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeploySqitchRes) Reset() { *x = DeploySqitchRes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeploySqitchRes) String() string { @@ -604,7 +576,7 @@ func (*DeploySqitchRes) ProtoMessage() {} func (x *DeploySqitchRes) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -620,21 +592,18 @@ func (*DeploySqitchRes) Descriptor() ([]byte, []int) { } type SetPublicSchemaRoleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Role string `protobuf:"bytes,20,opt,name=role,proto3" json:"role,omitempty" toml:"role,omitempty" mapstructure:"role,omitempty"` + Db string `protobuf:"bytes,21,opt,name=db,proto3" json:"db,omitempty" toml:"db,omitempty" mapstructure:"db,omitempty"` unknownFields protoimpl.UnknownFields - - Role string `protobuf:"bytes,20,opt,name=role,proto3" json:"role,omitempty" toml:"role,omitempty" mapstructure:"role,omitempty"` - Db string `protobuf:"bytes,21,opt,name=db,proto3" json:"db,omitempty" toml:"db,omitempty" mapstructure:"db,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SetPublicSchemaRoleReq) Reset() { *x = SetPublicSchemaRoleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetPublicSchemaRoleReq) String() string { @@ -645,7 +614,7 @@ func (*SetPublicSchemaRoleReq) ProtoMessage() {} func (x *SetPublicSchemaRoleReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -675,18 +644,16 @@ func (x *SetPublicSchemaRoleReq) GetDb() string { } type SetPublicSchemaRoleRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetPublicSchemaRoleRes) Reset() { *x = SetPublicSchemaRoleRes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetPublicSchemaRoleRes) String() string { @@ -697,7 +664,7 @@ func (*SetPublicSchemaRoleRes) ProtoMessage() {} func (x *SetPublicSchemaRoleRes) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -713,21 +680,18 @@ func (*SetPublicSchemaRoleRes) Descriptor() ([]byte, []int) { } type AlterRoleReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Role string `protobuf:"bytes,20,opt,name=role,proto3" json:"role,omitempty" toml:"role,omitempty" mapstructure:"role,omitempty"` + With *AlterRoleReq_Options `protobuf:"bytes,21,opt,name=with,proto3" json:"with,omitempty" toml:"with,omitempty" mapstructure:"with,omitempty"` unknownFields protoimpl.UnknownFields - - Role string `protobuf:"bytes,20,opt,name=role,proto3" json:"role,omitempty" toml:"role,omitempty" mapstructure:"role,omitempty"` - With *AlterRoleReq_Options `protobuf:"bytes,21,opt,name=with,proto3" json:"with,omitempty" toml:"with,omitempty" mapstructure:"with,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AlterRoleReq) Reset() { *x = AlterRoleReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AlterRoleReq) String() string { @@ -738,7 +702,7 @@ func (*AlterRoleReq) ProtoMessage() {} func (x *AlterRoleReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -768,18 +732,16 @@ func (x *AlterRoleReq) GetWith() *AlterRoleReq_Options { } type AlterRoleRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AlterRoleRes) Reset() { *x = AlterRoleRes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AlterRoleRes) String() string { @@ -790,7 +752,7 @@ func (*AlterRoleRes) ProtoMessage() {} func (x *AlterRoleRes) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -806,22 +768,19 @@ func (*AlterRoleRes) Descriptor() ([]byte, []int) { } type DropTablesReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Db string `protobuf:"bytes,20,opt,name=db,proto3" json:"db,omitempty" toml:"db,omitempty" mapstructure:"db,omitempty"` + Tables []string `protobuf:"bytes,21,rep,name=tables,proto3" json:"tables,omitempty" toml:"tables,omitempty" mapstructure:"tables,omitempty"` + Cascade bool `protobuf:"varint,22,opt,name=cascade,proto3" json:"cascade,omitempty" toml:"cascade,omitempty" mapstructure:"cascade,omitempty"` unknownFields protoimpl.UnknownFields - - Db string `protobuf:"bytes,20,opt,name=db,proto3" json:"db,omitempty" toml:"db,omitempty" mapstructure:"db,omitempty"` - Tables []string `protobuf:"bytes,21,rep,name=tables,proto3" json:"tables,omitempty" toml:"tables,omitempty" mapstructure:"tables,omitempty"` - Cascade bool `protobuf:"varint,22,opt,name=cascade,proto3" json:"cascade,omitempty" toml:"cascade,omitempty" mapstructure:"cascade,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DropTablesReq) Reset() { *x = DropTablesReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DropTablesReq) String() string { @@ -832,7 +791,7 @@ func (*DropTablesReq) ProtoMessage() {} func (x *DropTablesReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -869,18 +828,16 @@ func (x *DropTablesReq) GetCascade() bool { } type DropTablesRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DropTablesRes) Reset() { *x = DropTablesRes{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DropTablesRes) String() string { @@ -891,7 +848,7 @@ func (*DropTablesRes) ProtoMessage() {} func (x *DropTablesRes) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -907,10 +864,7 @@ func (*DropTablesRes) Descriptor() ([]byte, []int) { } type AlterRoleReq_Options struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Superuser bool `protobuf:"varint,20,opt,name=superuser,proto3" json:"superuser,omitempty" toml:"superuser,omitempty" mapstructure:"superuser,omitempty"` Nosuperuser bool `protobuf:"varint,21,opt,name=nosuperuser,proto3" json:"nosuperuser,omitempty" toml:"nosuperuser,omitempty" mapstructure:"nosuperuser,omitempty"` Createdb bool `protobuf:"varint,22,opt,name=createdb,proto3" json:"createdb,omitempty" toml:"createdb,omitempty" mapstructure:"createdb,omitempty"` @@ -925,15 +879,15 @@ type AlterRoleReq_Options struct { Noreplication bool `protobuf:"varint,31,opt,name=noreplication,proto3" json:"noreplication,omitempty" toml:"noreplication,omitempty" mapstructure:"noreplication,omitempty"` ConnectionLimit int64 `protobuf:"varint,32,opt,name=connection_limit,json=connectionLimit,proto3" json:"connection_limit,omitempty" toml:"connection_limit,omitempty" mapstructure:"connection_limit,omitempty"` Password *AlterRoleReq_Password `protobuf:"bytes,33,opt,name=password,proto3" json:"password,omitempty" toml:"password,omitempty" mapstructure:"password,omitempty"` // TODO: Add VALID UNTIL with a timestamp + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AlterRoleReq_Options) Reset() { *x = AlterRoleReq_Options{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AlterRoleReq_Options) String() string { @@ -944,7 +898,7 @@ func (*AlterRoleReq_Options) ProtoMessage() {} func (x *AlterRoleReq_Options) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1058,21 +1012,18 @@ func (x *AlterRoleReq_Options) GetPassword() *AlterRoleReq_Password { } type AlterRoleReq_Password struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Value string `protobuf:"bytes,20,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` + Unencrypted bool `protobuf:"varint,21,opt,name=unencrypted,proto3" json:"unencrypted,omitempty" toml:"unencrypted,omitempty" mapstructure:"unencrypted,omitempty"` // default to encrypted unknownFields protoimpl.UnknownFields - - Value string `protobuf:"bytes,20,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` - Unencrypted bool `protobuf:"varint,21,opt,name=unencrypted,proto3" json:"unencrypted,omitempty" toml:"unencrypted,omitempty" mapstructure:"unencrypted,omitempty"` // default to encrypted + sizeCache protoimpl.SizeCache } func (x *AlterRoleReq_Password) Reset() { *x = AlterRoleReq_Password{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_pg_sidecar_service_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_pg_sidecar_service_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AlterRoleReq_Password) String() string { @@ -1083,7 +1034,7 @@ func (*AlterRoleReq_Password) ProtoMessage() {} func (x *AlterRoleReq_Password) ProtoReflect() protoreflect.Message { mi := &file_interservice_pg_sidecar_service_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1297,7 +1248,7 @@ func file_interservice_pg_sidecar_service_proto_rawDescGZIP() []byte { var file_interservice_pg_sidecar_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_interservice_pg_sidecar_service_proto_msgTypes = make([]protoimpl.MessageInfo, 19) -var file_interservice_pg_sidecar_service_proto_goTypes = []interface{}{ +var file_interservice_pg_sidecar_service_proto_goTypes = []any{ (ErrorDetails_Codes)(0), // 0: chef.automate.infra.pg_sidecar.ErrorDetails.Codes (*ErrorDetails)(nil), // 1: chef.automate.infra.pg_sidecar.ErrorDetails (*MigrateTablesReq)(nil), // 2: chef.automate.infra.pg_sidecar.MigrateTablesReq @@ -1351,236 +1302,6 @@ func file_interservice_pg_sidecar_service_proto_init() { if File_interservice_pg_sidecar_service_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_pg_sidecar_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ErrorDetails); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MigrateTablesReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MigrateTablesRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameDBReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameDBRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDBReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDBRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateExtensionReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateExtensionRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeploySqitchReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeploySqitchRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetPublicSchemaRoleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetPublicSchemaRoleRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlterRoleReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlterRoleRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DropTablesReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DropTablesRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlterRoleReq_Options); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_pg_sidecar_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlterRoleReq_Password); 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{ diff --git a/api/interservice/report_manager/report_manager.pb.go b/api/interservice/report_manager/report_manager.pb.go index c3324d8d01f..f7c59659208 100644 --- a/api/interservice/report_manager/report_manager.pb.go +++ b/api/interservice/report_manager/report_manager.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/report_manager/report_manager.proto @@ -27,21 +27,18 @@ const ( ) type ListFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` + Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` unknownFields protoimpl.UnknownFields - - Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` - Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListFilter) Reset() { *x = ListFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_report_manager_report_manager_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_report_manager_report_manager_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListFilter) String() string { @@ -52,7 +49,7 @@ func (*ListFilter) ProtoMessage() {} func (x *ListFilter) ProtoReflect() protoreflect.Message { mi := &file_interservice_report_manager_report_manager_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -82,20 +79,17 @@ func (x *ListFilter) GetType() string { } type StoreReportRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"` unknownFields protoimpl.UnknownFields - - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" toml:"content,omitempty" mapstructure:"content,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StoreReportRequest) Reset() { *x = StoreReportRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_report_manager_report_manager_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_report_manager_report_manager_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StoreReportRequest) String() string { @@ -106,7 +100,7 @@ func (*StoreReportRequest) ProtoMessage() {} func (x *StoreReportRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_report_manager_report_manager_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -129,22 +123,19 @@ func (x *StoreReportRequest) GetContent() []byte { } type CustomReportRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RequestorId string `protobuf:"bytes,1,opt,name=requestor_id,json=requestorId,proto3" json:"requestor_id,omitempty" toml:"requestor_id,omitempty" mapstructure:"requestor_id,omitempty"` + ReportType string `protobuf:"bytes,2,opt,name=report_type,json=reportType,proto3" json:"report_type,omitempty" toml:"report_type,omitempty" mapstructure:"report_type,omitempty"` + Filters []*ListFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` unknownFields protoimpl.UnknownFields - - RequestorId string `protobuf:"bytes,1,opt,name=requestor_id,json=requestorId,proto3" json:"requestor_id,omitempty" toml:"requestor_id,omitempty" mapstructure:"requestor_id,omitempty"` - ReportType string `protobuf:"bytes,2,opt,name=report_type,json=reportType,proto3" json:"report_type,omitempty" toml:"report_type,omitempty" mapstructure:"report_type,omitempty"` - Filters []*ListFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty" toml:"filters,omitempty" mapstructure:"filters,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CustomReportRequest) Reset() { *x = CustomReportRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_report_manager_report_manager_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_report_manager_report_manager_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CustomReportRequest) String() string { @@ -155,7 +146,7 @@ func (*CustomReportRequest) ProtoMessage() {} func (x *CustomReportRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_report_manager_report_manager_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -192,20 +183,17 @@ func (x *CustomReportRequest) GetFilters() []*ListFilter { } type CustomReportResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AcknowledgementId string `protobuf:"bytes,1,opt,name=acknowledgement_id,json=acknowledgementId,proto3" json:"acknowledgement_id,omitempty" toml:"acknowledgement_id,omitempty" mapstructure:"acknowledgement_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + AcknowledgementId string `protobuf:"bytes,1,opt,name=acknowledgement_id,json=acknowledgementId,proto3" json:"acknowledgement_id,omitempty" toml:"acknowledgement_id,omitempty" mapstructure:"acknowledgement_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CustomReportResponse) Reset() { *x = CustomReportResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_report_manager_report_manager_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_report_manager_report_manager_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CustomReportResponse) String() string { @@ -216,7 +204,7 @@ func (*CustomReportResponse) ProtoMessage() {} func (x *CustomReportResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_report_manager_report_manager_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -239,20 +227,17 @@ func (x *CustomReportResponse) GetAcknowledgementId() string { } type AllStatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RequestorId string `protobuf:"bytes,1,opt,name=requestor_id,json=requestorId,proto3" json:"requestor_id,omitempty" toml:"requestor_id,omitempty" mapstructure:"requestor_id,omitempty"` unknownFields protoimpl.UnknownFields - - RequestorId string `protobuf:"bytes,1,opt,name=requestor_id,json=requestorId,proto3" json:"requestor_id,omitempty" toml:"requestor_id,omitempty" mapstructure:"requestor_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AllStatusRequest) Reset() { *x = AllStatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_report_manager_report_manager_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_report_manager_report_manager_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AllStatusRequest) String() string { @@ -263,7 +248,7 @@ func (*AllStatusRequest) ProtoMessage() {} func (x *AllStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_report_manager_report_manager_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -286,20 +271,17 @@ func (x *AllStatusRequest) GetRequestorId() string { } type AllStatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Data []*StatusResponse `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` unknownFields protoimpl.UnknownFields - - Data []*StatusResponse `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AllStatusResponse) Reset() { *x = AllStatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_report_manager_report_manager_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_report_manager_report_manager_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AllStatusResponse) String() string { @@ -310,7 +292,7 @@ func (*AllStatusResponse) ProtoMessage() {} func (x *AllStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_report_manager_report_manager_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -333,10 +315,7 @@ func (x *AllStatusResponse) GetData() []*StatusResponse { } type StatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` AcknowledgementId string `protobuf:"bytes,1,opt,name=acknowledgement_id,json=acknowledgementId,proto3" json:"acknowledgement_id,omitempty" toml:"acknowledgement_id,omitempty" mapstructure:"acknowledgement_id,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` ReportSize int64 `protobuf:"varint,3,opt,name=report_size,json=reportSize,proto3" json:"report_size,omitempty" toml:"report_size,omitempty" mapstructure:"report_size,omitempty"` @@ -345,15 +324,15 @@ type StatusResponse struct { EndedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty" toml:"ended_at,omitempty" mapstructure:"ended_at,omitempty"` Duration string `protobuf:"bytes,7,opt,name=duration,proto3" json:"duration,omitempty" toml:"duration,omitempty" mapstructure:"duration,omitempty"` ReportType string `protobuf:"bytes,8,opt,name=report_type,json=reportType,proto3" json:"report_type,omitempty" toml:"report_type,omitempty" mapstructure:"report_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StatusResponse) Reset() { *x = StatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_report_manager_report_manager_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_report_manager_report_manager_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StatusResponse) String() string { @@ -364,7 +343,7 @@ func (*StatusResponse) ProtoMessage() {} func (x *StatusResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_report_manager_report_manager_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -436,21 +415,18 @@ func (x *StatusResponse) GetReportType() string { } type GetPresignedURLRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + RequestorId string `protobuf:"bytes,2,opt,name=requestor_id,json=requestorId,proto3" json:"requestor_id,omitempty" toml:"requestor_id,omitempty" mapstructure:"requestor_id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - RequestorId string `protobuf:"bytes,2,opt,name=requestor_id,json=requestorId,proto3" json:"requestor_id,omitempty" toml:"requestor_id,omitempty" mapstructure:"requestor_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetPresignedURLRequest) Reset() { *x = GetPresignedURLRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_report_manager_report_manager_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_report_manager_report_manager_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPresignedURLRequest) String() string { @@ -461,7 +437,7 @@ func (*GetPresignedURLRequest) ProtoMessage() {} func (x *GetPresignedURLRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_report_manager_report_manager_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -491,24 +467,21 @@ func (x *GetPresignedURLRequest) GetRequestorId() string { } type GetPresignedURLResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` + ReportType string `protobuf:"bytes,2,opt,name=report_type,json=reportType,proto3" json:"report_type,omitempty" toml:"report_type,omitempty" mapstructure:"report_type,omitempty"` + ReportSize int64 `protobuf:"varint,3,opt,name=report_size,json=reportSize,proto3" json:"report_size,omitempty" toml:"report_size,omitempty" mapstructure:"report_size,omitempty"` + EnabledSsl bool `protobuf:"varint,4,opt,name=enabled_ssl,json=enabledSsl,proto3" json:"enabled_ssl,omitempty" toml:"enabled_ssl,omitempty" mapstructure:"enabled_ssl,omitempty"` + ClientCert string `protobuf:"bytes,5,opt,name=client_cert,json=clientCert,proto3" json:"client_cert,omitempty" toml:"client_cert,omitempty" mapstructure:"client_cert,omitempty"` unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` - ReportType string `protobuf:"bytes,2,opt,name=report_type,json=reportType,proto3" json:"report_type,omitempty" toml:"report_type,omitempty" mapstructure:"report_type,omitempty"` - ReportSize int64 `protobuf:"varint,3,opt,name=report_size,json=reportSize,proto3" json:"report_size,omitempty" toml:"report_size,omitempty" mapstructure:"report_size,omitempty"` - EnabledSsl bool `protobuf:"varint,4,opt,name=enabled_ssl,json=enabledSsl,proto3" json:"enabled_ssl,omitempty" toml:"enabled_ssl,omitempty" mapstructure:"enabled_ssl,omitempty"` - ClientCert string `protobuf:"bytes,5,opt,name=client_cert,json=clientCert,proto3" json:"client_cert,omitempty" toml:"client_cert,omitempty" mapstructure:"client_cert,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetPresignedURLResponse) Reset() { *x = GetPresignedURLResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_report_manager_report_manager_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_report_manager_report_manager_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPresignedURLResponse) String() string { @@ -519,7 +492,7 @@ func (*GetPresignedURLResponse) ProtoMessage() {} func (x *GetPresignedURLResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_report_manager_report_manager_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -708,7 +681,7 @@ func file_interservice_report_manager_report_manager_proto_rawDescGZIP() []byte } var file_interservice_report_manager_report_manager_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_interservice_report_manager_report_manager_proto_goTypes = []interface{}{ +var file_interservice_report_manager_report_manager_proto_goTypes = []any{ (*ListFilter)(nil), // 0: chef.automate.domain.report_manager.service.ListFilter (*StoreReportRequest)(nil), // 1: chef.automate.domain.report_manager.service.StoreReportRequest (*CustomReportRequest)(nil), // 2: chef.automate.domain.report_manager.service.CustomReportRequest @@ -746,116 +719,6 @@ func file_interservice_report_manager_report_manager_proto_init() { if File_interservice_report_manager_report_manager_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_report_manager_report_manager_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_report_manager_report_manager_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StoreReportRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_report_manager_report_manager_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CustomReportRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_report_manager_report_manager_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CustomReportResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_report_manager_report_manager_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AllStatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_report_manager_report_manager_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AllStatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_report_manager_report_manager_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_report_manager_report_manager_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPresignedURLRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_report_manager_report_manager_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPresignedURLResponse); 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{ diff --git a/api/interservice/teams/teams.pb.go b/api/interservice/teams/teams.pb.go index 310ce4bc289..85e754f97f2 100644 --- a/api/interservice/teams/teams.pb.go +++ b/api/interservice/teams/teams.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/teams/teams.proto @@ -28,22 +28,19 @@ const ( ) type Team struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Team) Reset() { *x = Team{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Team) String() string { @@ -54,7 +51,7 @@ func (*Team) ProtoMessage() {} func (x *Team) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -91,22 +88,19 @@ func (x *Team) GetProjects() []string { } type GetTeamReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // TODO (tc): We can't make this more restrictive until we migrate // existing IDs post-GA. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetTeamReq) Reset() { *x = GetTeamReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTeamReq) String() string { @@ -117,7 +111,7 @@ func (*GetTeamReq) ProtoMessage() {} func (x *GetTeamReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -140,20 +134,17 @@ func (x *GetTeamReq) GetId() string { } type GetTeamResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty" toml:"team,omitempty" mapstructure:"team,omitempty"` unknownFields protoimpl.UnknownFields - - Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty" toml:"team,omitempty" mapstructure:"team,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetTeamResp) Reset() { *x = GetTeamResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTeamResp) String() string { @@ -164,7 +155,7 @@ func (*GetTeamResp) ProtoMessage() {} func (x *GetTeamResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -187,18 +178,16 @@ func (x *GetTeamResp) GetTeam() *Team { } type ListTeamsReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListTeamsReq) Reset() { *x = ListTeamsReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListTeamsReq) String() string { @@ -209,7 +198,7 @@ func (*ListTeamsReq) ProtoMessage() {} func (x *ListTeamsReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -225,20 +214,17 @@ func (*ListTeamsReq) Descriptor() ([]byte, []int) { } type ListTeamsResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Teams []*Team `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty" toml:"teams,omitempty" mapstructure:"teams,omitempty"` unknownFields protoimpl.UnknownFields - - Teams []*Team `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty" toml:"teams,omitempty" mapstructure:"teams,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListTeamsResp) Reset() { *x = ListTeamsResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListTeamsResp) String() string { @@ -249,7 +235,7 @@ func (*ListTeamsResp) ProtoMessage() {} func (x *ListTeamsResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -272,24 +258,21 @@ func (x *ListTeamsResp) GetTeams() []*Team { } type UpdateTeamReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // TODO (tc): We can't make this more restrictive until we migrate // existing IDs post-GA. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateTeamReq) Reset() { *x = UpdateTeamReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateTeamReq) String() string { @@ -300,7 +283,7 @@ func (*UpdateTeamReq) ProtoMessage() {} func (x *UpdateTeamReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -337,20 +320,17 @@ func (x *UpdateTeamReq) GetProjects() []string { } type UpdateTeamResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty" toml:"team,omitempty" mapstructure:"team,omitempty"` unknownFields protoimpl.UnknownFields - - Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty" toml:"team,omitempty" mapstructure:"team,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateTeamResp) Reset() { *x = UpdateTeamResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateTeamResp) String() string { @@ -361,7 +341,7 @@ func (*UpdateTeamResp) ProtoMessage() {} func (x *UpdateTeamResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -384,22 +364,19 @@ func (x *UpdateTeamResp) GetTeam() *Team { } type DeleteTeamReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // TODO (tc): We can't make this more restrictive until we migrate // existing IDs post-GA. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteTeamReq) Reset() { *x = DeleteTeamReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteTeamReq) String() string { @@ -410,7 +387,7 @@ func (*DeleteTeamReq) ProtoMessage() {} func (x *DeleteTeamReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -433,20 +410,17 @@ func (x *DeleteTeamReq) GetId() string { } type DeleteTeamResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty" toml:"team,omitempty" mapstructure:"team,omitempty"` unknownFields protoimpl.UnknownFields - - Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty" toml:"team,omitempty" mapstructure:"team,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteTeamResp) Reset() { *x = DeleteTeamResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteTeamResp) String() string { @@ -457,7 +431,7 @@ func (*DeleteTeamResp) ProtoMessage() {} func (x *DeleteTeamResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -480,22 +454,19 @@ func (x *DeleteTeamResp) GetTeam() *Team { } type CreateTeamReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty" toml:"projects,omitempty" mapstructure:"projects,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateTeamReq) Reset() { *x = CreateTeamReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateTeamReq) String() string { @@ -506,7 +477,7 @@ func (*CreateTeamReq) ProtoMessage() {} func (x *CreateTeamReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -543,20 +514,17 @@ func (x *CreateTeamReq) GetProjects() []string { } type CreateTeamResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty" toml:"team,omitempty" mapstructure:"team,omitempty"` unknownFields protoimpl.UnknownFields - - Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty" toml:"team,omitempty" mapstructure:"team,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateTeamResp) Reset() { *x = CreateTeamResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateTeamResp) String() string { @@ -567,7 +535,7 @@ func (*CreateTeamResp) ProtoMessage() {} func (x *CreateTeamResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -590,24 +558,21 @@ func (x *CreateTeamResp) GetTeam() *Team { } type AddTeamMembersReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // TODO (tc): We can't make this more restrictive until we migrate // existing IDs post-GA. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // However, this regex works for V1 and V2 User IDs. - UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty" toml:"user_ids,omitempty" mapstructure:"user_ids,omitempty"` + UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty" toml:"user_ids,omitempty" mapstructure:"user_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddTeamMembersReq) Reset() { *x = AddTeamMembersReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddTeamMembersReq) String() string { @@ -618,7 +583,7 @@ func (*AddTeamMembersReq) ProtoMessage() {} func (x *AddTeamMembersReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -648,20 +613,17 @@ func (x *AddTeamMembersReq) GetUserIds() []string { } type AddTeamMembersResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty" toml:"user_ids,omitempty" mapstructure:"user_ids,omitempty"` unknownFields protoimpl.UnknownFields - - UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty" toml:"user_ids,omitempty" mapstructure:"user_ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddTeamMembersResp) Reset() { *x = AddTeamMembersResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddTeamMembersResp) String() string { @@ -672,7 +634,7 @@ func (*AddTeamMembersResp) ProtoMessage() {} func (x *AddTeamMembersResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -695,24 +657,21 @@ func (x *AddTeamMembersResp) GetUserIds() []string { } type RemoveTeamMembersReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // TODO (tc): We can't make this more restrictive until we migrate // existing IDs post-GA. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // However, this regex works for V1 and V2 User IDs. - UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty" toml:"user_ids,omitempty" mapstructure:"user_ids,omitempty"` + UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty" toml:"user_ids,omitempty" mapstructure:"user_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveTeamMembersReq) Reset() { *x = RemoveTeamMembersReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveTeamMembersReq) String() string { @@ -723,7 +682,7 @@ func (*RemoveTeamMembersReq) ProtoMessage() {} func (x *RemoveTeamMembersReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -753,20 +712,17 @@ func (x *RemoveTeamMembersReq) GetUserIds() []string { } type RemoveTeamMembersResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty" toml:"user_ids,omitempty" mapstructure:"user_ids,omitempty"` unknownFields protoimpl.UnknownFields - - UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty" toml:"user_ids,omitempty" mapstructure:"user_ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RemoveTeamMembersResp) Reset() { *x = RemoveTeamMembersResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveTeamMembersResp) String() string { @@ -777,7 +733,7 @@ func (*RemoveTeamMembersResp) ProtoMessage() {} func (x *RemoveTeamMembersResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -800,20 +756,17 @@ func (x *RemoveTeamMembersResp) GetUserIds() []string { } type GetTeamsForMemberReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" toml:"user_id,omitempty" mapstructure:"user_id,omitempty"` unknownFields protoimpl.UnknownFields - - UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" toml:"user_id,omitempty" mapstructure:"user_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetTeamsForMemberReq) Reset() { *x = GetTeamsForMemberReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTeamsForMemberReq) String() string { @@ -824,7 +777,7 @@ func (*GetTeamsForMemberReq) ProtoMessage() {} func (x *GetTeamsForMemberReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -847,20 +800,17 @@ func (x *GetTeamsForMemberReq) GetUserId() string { } type GetTeamsForMemberResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Teams []*Team `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty" toml:"teams,omitempty" mapstructure:"teams,omitempty"` unknownFields protoimpl.UnknownFields - - Teams []*Team `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty" toml:"teams,omitempty" mapstructure:"teams,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetTeamsForMemberResp) Reset() { *x = GetTeamsForMemberResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTeamsForMemberResp) String() string { @@ -871,7 +821,7 @@ func (*GetTeamsForMemberResp) ProtoMessage() {} func (x *GetTeamsForMemberResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -894,22 +844,19 @@ func (x *GetTeamsForMemberResp) GetTeams() []*Team { } type GetTeamMembershipReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // TODO (tc): We can't make this more restrictive until we migrate // existing IDs post-GA. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetTeamMembershipReq) Reset() { *x = GetTeamMembershipReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTeamMembershipReq) String() string { @@ -920,7 +867,7 @@ func (*GetTeamMembershipReq) ProtoMessage() {} func (x *GetTeamMembershipReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -943,20 +890,17 @@ func (x *GetTeamMembershipReq) GetId() string { } type GetTeamMembershipResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty" toml:"user_ids,omitempty" mapstructure:"user_ids,omitempty"` unknownFields protoimpl.UnknownFields - - UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty" toml:"user_ids,omitempty" mapstructure:"user_ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetTeamMembershipResp) Reset() { *x = GetTeamMembershipResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTeamMembershipResp) String() string { @@ -967,7 +911,7 @@ func (*GetTeamMembershipResp) ProtoMessage() {} func (x *GetTeamMembershipResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -990,18 +934,16 @@ func (x *GetTeamMembershipResp) GetUserIds() []string { } type UpgradeToV2Req struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpgradeToV2Req) Reset() { *x = UpgradeToV2Req{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpgradeToV2Req) String() string { @@ -1012,7 +954,7 @@ func (*UpgradeToV2Req) ProtoMessage() {} func (x *UpgradeToV2Req) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1028,18 +970,16 @@ func (*UpgradeToV2Req) Descriptor() ([]byte, []int) { } type UpgradeToV2Resp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpgradeToV2Resp) Reset() { *x = UpgradeToV2Resp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpgradeToV2Resp) String() string { @@ -1050,7 +990,7 @@ func (*UpgradeToV2Resp) ProtoMessage() {} func (x *UpgradeToV2Resp) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1066,18 +1006,16 @@ func (*UpgradeToV2Resp) Descriptor() ([]byte, []int) { } type ResetToV1Req struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ResetToV1Req) Reset() { *x = ResetToV1Req{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetToV1Req) String() string { @@ -1088,7 +1026,7 @@ func (*ResetToV1Req) ProtoMessage() {} func (x *ResetToV1Req) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1104,18 +1042,16 @@ func (*ResetToV1Req) Descriptor() ([]byte, []int) { } type ResetToV1Resp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ResetToV1Resp) Reset() { *x = ResetToV1Resp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetToV1Resp) String() string { @@ -1126,7 +1062,7 @@ func (*ResetToV1Resp) ProtoMessage() {} func (x *ResetToV1Resp) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1142,20 +1078,17 @@ func (*ResetToV1Resp) Descriptor() ([]byte, []int) { } type PurgeUserMembershipReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" toml:"user_id,omitempty" mapstructure:"user_id,omitempty"` unknownFields protoimpl.UnknownFields - - UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" toml:"user_id,omitempty" mapstructure:"user_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PurgeUserMembershipReq) Reset() { *x = PurgeUserMembershipReq{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PurgeUserMembershipReq) String() string { @@ -1166,7 +1099,7 @@ func (*PurgeUserMembershipReq) ProtoMessage() {} func (x *PurgeUserMembershipReq) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1189,20 +1122,17 @@ func (x *PurgeUserMembershipReq) GetUserId() string { } type PurgeUserMembershipResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" toml:"ids,omitempty" mapstructure:"ids,omitempty"` unknownFields protoimpl.UnknownFields - - Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" toml:"ids,omitempty" mapstructure:"ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PurgeUserMembershipResp) Reset() { *x = PurgeUserMembershipResp{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_teams_teams_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_teams_teams_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PurgeUserMembershipResp) String() string { @@ -1213,7 +1143,7 @@ func (*PurgeUserMembershipResp) ProtoMessage() {} func (x *PurgeUserMembershipResp) ProtoReflect() protoreflect.Message { mi := &file_interservice_teams_teams_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1442,7 +1372,7 @@ func file_interservice_teams_teams_proto_rawDescGZIP() []byte { } var file_interservice_teams_teams_proto_msgTypes = make([]protoimpl.MessageInfo, 25) -var file_interservice_teams_teams_proto_goTypes = []interface{}{ +var file_interservice_teams_teams_proto_goTypes = []any{ (*Team)(nil), // 0: chef.automate.domain.teams.Team (*GetTeamReq)(nil), // 1: chef.automate.domain.teams.GetTeamReq (*GetTeamResp)(nil), // 2: chef.automate.domain.teams.GetTeamResp @@ -1512,308 +1442,6 @@ func file_interservice_teams_teams_proto_init() { if File_interservice_teams_teams_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_teams_teams_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Team); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTeamsReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTeamsResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateTeamReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateTeamResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTeamReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTeamResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateTeamReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateTeamResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTeamMembersReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTeamMembersResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveTeamMembersReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveTeamMembersResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamsForMemberReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamsForMemberResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamMembershipReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamMembershipResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpgradeToV2Req); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpgradeToV2Resp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetToV1Req); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetToV1Resp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PurgeUserMembershipReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_teams_teams_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PurgeUserMembershipResp); 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{ diff --git a/api/interservice/user_settings/user_settings.pb.go b/api/interservice/user_settings/user_settings.pb.go index 93366c16678..2b8c5d132cd 100644 --- a/api/interservice/user_settings/user_settings.pb.go +++ b/api/interservice/user_settings/user_settings.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: interservice/user_settings/user_settings.proto @@ -26,21 +26,18 @@ const ( ) type User struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Connector string `protobuf:"bytes,2,opt,name=connector,proto3" json:"connector,omitempty" toml:"connector,omitempty" mapstructure:"connector,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Connector string `protobuf:"bytes,2,opt,name=connector,proto3" json:"connector,omitempty" toml:"connector,omitempty" mapstructure:"connector,omitempty"` + sizeCache protoimpl.SizeCache } func (x *User) Reset() { *x = User{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_user_settings_user_settings_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_user_settings_user_settings_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *User) String() string { @@ -51,7 +48,7 @@ func (*User) ProtoMessage() {} func (x *User) ProtoReflect() protoreflect.Message { mi := &file_interservice_user_settings_user_settings_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -81,20 +78,17 @@ func (x *User) GetConnector() string { } type GetUserSettingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` unknownFields protoimpl.UnknownFields - - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetUserSettingsRequest) Reset() { *x = GetUserSettingsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_user_settings_user_settings_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_user_settings_user_settings_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserSettingsRequest) String() string { @@ -105,7 +99,7 @@ func (*GetUserSettingsRequest) ProtoMessage() {} func (x *GetUserSettingsRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_user_settings_user_settings_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -128,21 +122,18 @@ func (x *GetUserSettingsRequest) GetUser() *User { } type PutUserSettingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` + Settings map[string]*UserSettingValue `protobuf:"bytes,2,rep,name=settings,proto3" json:"settings,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" toml:"settings,omitempty" mapstructure:"settings,omitempty"` unknownFields protoimpl.UnknownFields - - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` - Settings map[string]*UserSettingValue `protobuf:"bytes,2,rep,name=settings,proto3" json:"settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" toml:"settings,omitempty" mapstructure:"settings,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PutUserSettingsRequest) Reset() { *x = PutUserSettingsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_user_settings_user_settings_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_user_settings_user_settings_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PutUserSettingsRequest) String() string { @@ -153,7 +144,7 @@ func (*PutUserSettingsRequest) ProtoMessage() {} func (x *PutUserSettingsRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_user_settings_user_settings_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -183,20 +174,17 @@ func (x *PutUserSettingsRequest) GetSettings() map[string]*UserSettingValue { } type DeleteUserSettingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` unknownFields protoimpl.UnknownFields - - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteUserSettingsRequest) Reset() { *x = DeleteUserSettingsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_user_settings_user_settings_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_user_settings_user_settings_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteUserSettingsRequest) String() string { @@ -207,7 +195,7 @@ func (*DeleteUserSettingsRequest) ProtoMessage() {} func (x *DeleteUserSettingsRequest) ProtoReflect() protoreflect.Message { mi := &file_interservice_user_settings_user_settings_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -230,21 +218,18 @@ func (x *DeleteUserSettingsRequest) GetUser() *User { } type GetUserSettingsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` + Settings map[string]*UserSettingValue `protobuf:"bytes,2,rep,name=settings,proto3" json:"settings,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" toml:"settings,omitempty" mapstructure:"settings,omitempty"` unknownFields protoimpl.UnknownFields - - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` - Settings map[string]*UserSettingValue `protobuf:"bytes,2,rep,name=settings,proto3" json:"settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" toml:"settings,omitempty" mapstructure:"settings,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetUserSettingsResponse) Reset() { *x = GetUserSettingsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_user_settings_user_settings_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_user_settings_user_settings_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserSettingsResponse) String() string { @@ -255,7 +240,7 @@ func (*GetUserSettingsResponse) ProtoMessage() {} func (x *GetUserSettingsResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_user_settings_user_settings_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -285,20 +270,17 @@ func (x *GetUserSettingsResponse) GetSettings() map[string]*UserSettingValue { } type PutUserSettingsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` unknownFields protoimpl.UnknownFields - - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PutUserSettingsResponse) Reset() { *x = PutUserSettingsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_user_settings_user_settings_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_user_settings_user_settings_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PutUserSettingsResponse) String() string { @@ -309,7 +291,7 @@ func (*PutUserSettingsResponse) ProtoMessage() {} func (x *PutUserSettingsResponse) ProtoReflect() protoreflect.Message { mi := &file_interservice_user_settings_user_settings_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -332,23 +314,20 @@ func (x *PutUserSettingsResponse) GetUser() *User { } type UserSettingValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + DefaultValue string `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty" toml:"default_value,omitempty" mapstructure:"default_value,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` + Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty" toml:"enabled,omitempty" mapstructure:"enabled,omitempty"` + ValidValues []string `protobuf:"bytes,4,rep,name=valid_values,json=validValues,proto3" json:"valid_values,omitempty" toml:"valid_values,omitempty" mapstructure:"valid_values,omitempty"` unknownFields protoimpl.UnknownFields - - DefaultValue string `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty" toml:"default_value,omitempty" mapstructure:"default_value,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"` - Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty" toml:"enabled,omitempty" mapstructure:"enabled,omitempty"` - ValidValues []string `protobuf:"bytes,4,rep,name=valid_values,json=validValues,proto3" json:"valid_values,omitempty" toml:"valid_values,omitempty" mapstructure:"valid_values,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UserSettingValue) Reset() { *x = UserSettingValue{} - if protoimpl.UnsafeEnabled { - mi := &file_interservice_user_settings_user_settings_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_interservice_user_settings_user_settings_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UserSettingValue) String() string { @@ -359,7 +338,7 @@ func (*UserSettingValue) ProtoMessage() {} func (x *UserSettingValue) ProtoReflect() protoreflect.Message { mi := &file_interservice_user_settings_user_settings_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -533,7 +512,7 @@ func file_interservice_user_settings_user_settings_proto_rawDescGZIP() []byte { } var file_interservice_user_settings_user_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_interservice_user_settings_user_settings_proto_goTypes = []interface{}{ +var file_interservice_user_settings_user_settings_proto_goTypes = []any{ (*User)(nil), // 0: chef.automate.domain.user_settings.service.User (*GetUserSettingsRequest)(nil), // 1: chef.automate.domain.user_settings.service.GetUserSettingsRequest (*PutUserSettingsRequest)(nil), // 2: chef.automate.domain.user_settings.service.PutUserSettingsRequest @@ -573,92 +552,6 @@ func file_interservice_user_settings_user_settings_proto_init() { if File_interservice_user_settings_user_settings_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_interservice_user_settings_user_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*User); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_user_settings_user_settings_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserSettingsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_user_settings_user_settings_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutUserSettingsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_user_settings_user_settings_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteUserSettingsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_user_settings_user_settings_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserSettingsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_user_settings_user_settings_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutUserSettingsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_interservice_user_settings_user_settings_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserSettingValue); 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{ diff --git a/buf.yaml b/buf.yaml index 513ba1008a1..622a37664df 100644 --- a/buf.yaml +++ b/buf.yaml @@ -1,470 +1,2139 @@ -################################################################################ -# Protocol Buffers Linter Configuration -################################################################################ -# -# This file configures the `buf` tool, you run buf's linter as `buf check lint`, or -# use `lint_all_protobuf_components` in the habitat studio. -# -# ## References: -# -# - Style Guide: https://buf.build/docs/style-guide/ -# - Docs for individual checkers: https://buf.build/docs/lint-checkers -# - Config docs: https://buf.build/docs/lint-configuration -# -# ## Rationale For Exceptions -# -# We've adopted linting for protobufs for the same reason we have it for other -# kinds of code: avoid dangerous legal constructions, encourage consistent -# style, etc. -# -# This linter was adopted only after Automate was a mature product with -# compatibility constraints. Automate uses protocol buffers to generate the -# external REST API along with gRPC client and server code, the configuration -# data structures exposed to end users, &etc. Thus, some portions of the -# protocol buffer codebase are constrained to remain compatible: -# - At the protobuf message level -# - At the JSON representation level -# - At the JSON generation/consumption level (e.g., golang struct tags) -# - At the generated code level -# To maintain compatibility at all of these layers, we must keep some of the -# protobuf code as-is, in violation of the style guide. This applies broadly to -# all of the pre-existing code in api/external, some API code in -# components/automate-gateway, the configuration protobufs, and a handful of -# special cases. Unless noted otherwise, the style guide exceptions configured -# here are intended only to cover older code. Follow the style guide whenever -# you can do so without breaking things. - -build: - roots: - - api - - components - - lib - - protovendor/github.com/googleapis/googleapis - - protovendor/github.com/grpc-ecosystem/grpc-gateway - - protovendor/github.com/envoyproxy/protoc-gen-validate - excludes: - - components/notifications-service/ - - components/automate-grpc/protoc-gen-policy/testdata - - protovendor/github.com/googleapis/googleapis/google/api/expr - - protovendor/github.com/googleapis/googleapis/google/api/servicecontrol - - protovendor/github.com/googleapis/googleapis/google/api/servicemanagement - - protovendor/github.com/envoyproxy/protoc-gen-validate/license - - protovendor/github.com/envoyproxy/protoc-gen-validate/java/ - - protovendor/github.com/grpc-ecosystem/grpc-gateway/third_party - - protovendor/github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb -lint: - allow_comment_ignores: true - use: - - DEFAULT - except: - # This linter requires your proto package names to end with .v1 or similar. - # Adopting this for existing code would break anyone using our protos - - PACKAGE_VERSION_SUFFIX - # buf wants you to use a file hierarchy that matches your proto package - # names, but this is difficult and probably breaking to adopt now - - PACKAGE_SAME_DIRECTORY - - PACKAGE_DIRECTORY_MATCH - ignore_only: - SERVICE_SUFFIX: - # TODO: [notifications rewrite] - this violation can be addressed once - # the golang rewrite of notifications is completed - - interservice/notifications/service/server.proto - # The automate-cli accesses the `Deployment` service directly; making - # changes to it makes the CLI unable to install older versions of - # Automate, which is breaking. - - interservice/deployment/automate_deployment.proto - # The automate-cli diagnostics accesses the `Purge` service directly; making - # changes to it makes upgrade tests fail. This is less breaking, but hard - # to change. - - interservice/data_lifecycle/purge.proto - # /api/ - - external/cds/cds.proto - - external/cfgmgmt/cfgmgmt.proto - - external/data_lifecycle/data_lifecycle.proto - - external/iam/v2/introspect.proto - - external/iam/v2/policy.proto - - external/iam/v2/rules.proto - - external/iam/v2/teams.proto - - external/iam/v2/tokens.proto - - external/iam/v2/users.proto - - external/infra_proxy/infra_proxy.proto - - external/ingest/chef.proto - - external/ingest/job_scheduler.proto - # /components/ - - automate-gateway/api/deployment/deployment.proto - - automate-gateway/api/event_feed/event_feed.proto - - automate-gateway/api/gateway/gateway.proto - - automate-gateway/api/legacy/legacy.proto - - automate-gateway/api/license/license.proto - - automate-gateway/api/notifications/notifications.proto - - automate-gateway/api/telemetry/telemetry.proto - # /lib/ - - grpc/debug/debug_api/debug.proto - RPC_REQUEST_STANDARD_NAME: - # TODO: [notifications rewrite] - this violation can be addressed once - # the golang rewrite of notifications is completed - - interservice/notifications/service/server.proto - # /api/ - - external/applications/applications.proto - - external/cds/cds.proto - - external/cfgmgmt/cfgmgmt.proto - - external/compliance/profiles/profiles.proto - - external/compliance/reporting/reporting.proto - - external/compliance/reporting/stats/stats.proto - - external/compliance/scanner/jobs/jobs.proto - - external/data_feed/data_feed.proto - - external/iam/v2/introspect.proto - - external/iam/v2/policy.proto - - external/iam/v2/rules.proto - - external/iam/v2/teams.proto - - external/iam/v2/tokens.proto - - external/iam/v2/users.proto - - external/infra_proxy/infra_proxy.proto - - external/ingest/chef.proto - - external/ingest/job_scheduler.proto - - external/nodes/manager/manager.proto - - external/nodes/nodes.proto - - external/secrets/secrets.proto - - external/user_settings/user_settings.proto - - external/report_manager/report_manager.proto - # deployment interservice is exposed to automate-cli, we treat it like an external API - - interservice/deployment/automate_deployment.proto - # These interservice protos could be changed but the churn is very large: - - interservice/authn/tokens.proto - - interservice/authz/authz.proto - - interservice/authz/policy.proto - - interservice/authz/project.proto - - interservice/cds/service/cds.proto - - interservice/cfgmgmt/service/cfgmgmt.proto - - interservice/compliance/ingest/ingest/compliance.proto - - interservice/compliance/jobs/jobs.proto - - interservice/compliance/profiles/profiles.proto - - interservice/compliance/reporting/reporting.proto - - interservice/compliance/stats/stats.proto - - interservice/compliance/status/status.proto - - interservice/compliance/version/version.proto - - interservice/deployment/certificate_authority.proto - - interservice/es_sidecar/service.proto - - interservice/event_feed/event_feed.proto - - interservice/id_token/id_token.proto - - interservice/infra_proxy/service/infra_proxy.proto - - interservice/ingest/automate_event.proto - - interservice/ingest/chef.proto - - interservice/ingest/job_scheduler.proto - - interservice/ingest/status.proto - - interservice/local_user/users.proto - - interservice/nodemanager/manager/manager.proto - - interservice/nodemanager/nodes/nodes.proto - - interservice/pg_sidecar/service.proto - - interservice/teams/teams.proto - - interservice/user_settings/user_settings.proto - - interservice/report_manager/report_manager.proto - # /components/ - - automate-gateway/api/deployment/deployment.proto - - automate-gateway/api/event_feed/event_feed.proto - - automate-gateway/api/gateway/gateway.proto - - automate-gateway/api/legacy/legacy.proto - - automate-gateway/api/license/license.proto - - automate-gateway/api/notifications/notifications.proto - - automate-gateway/api/telemetry/telemetry.proto - # /lib/ - - grpc/debug/debug_api/debug.proto - RPC_RESPONSE_STANDARD_NAME: - # TODO: [notifications rewrite] - this violation can be addressed once - # the golang rewrite of notifications is completed - - interservice/notifications/service/server.proto - # /api/ - - external/applications/applications.proto - - external/cds/cds.proto - - external/cfgmgmt/cfgmgmt.proto - - external/compliance/profiles/profiles.proto - - external/compliance/reporting/reporting.proto - - external/compliance/reporting/stats/stats.proto - - external/compliance/scanner/jobs/jobs.proto - - external/data_feed/data_feed.proto - - external/iam/v2/introspect.proto - - external/iam/v2/policy.proto - - external/iam/v2/rules.proto - - external/iam/v2/teams.proto - - external/iam/v2/tokens.proto - - external/iam/v2/users.proto - - external/infra_proxy/infra_proxy.proto - - external/ingest/chef.proto - - external/ingest/job_scheduler.proto - - external/nodes/manager/manager.proto - - external/nodes/nodes.proto - - external/secrets/secrets.proto - - external/user_settings/user_settings.proto - - external/report_manager/report_manager.proto - # deployment interservice is exposed to automate-cli, we treat it like an external API - - interservice/deployment/automate_deployment.proto - # These interservice protos could be changed but the churn is very large: - - interservice/authn/tokens.proto - - interservice/authz/authz.proto - - interservice/authz/policy.proto - - interservice/authz/project.proto - - interservice/cds/service/cds.proto - - interservice/cfgmgmt/service/cfgmgmt.proto - - interservice/compliance/ingest/ingest/compliance.proto - - interservice/compliance/jobs/jobs.proto - - interservice/compliance/profiles/profiles.proto - - interservice/compliance/reporting/reporting.proto - - interservice/compliance/stats/stats.proto - - interservice/compliance/status/status.proto - - interservice/compliance/version/version.proto - - interservice/deployment/certificate_authority.proto - - interservice/es_sidecar/service.proto - - interservice/event_feed/event_feed.proto - - interservice/infra_proxy/service/infra_proxy.proto - - interservice/ingest/automate_event.proto - - interservice/ingest/chef.proto - - interservice/ingest/job_scheduler.proto - - interservice/ingest/status.proto - - interservice/local_user/users.proto - - interservice/nodemanager/manager/manager.proto - - interservice/nodemanager/nodes/nodes.proto - - interservice/pg_sidecar/service.proto - - interservice/teams/teams.proto - - interservice/user_settings/user_settings.proto - - interservice/report_manager/report_manager.proto - # /components/ - - automate-gateway/api/deployment/deployment.proto - - automate-gateway/api/event_feed/event_feed.proto - - automate-gateway/api/gateway/gateway.proto - - automate-gateway/api/legacy/legacy.proto - - automate-gateway/api/license/license.proto - - automate-gateway/api/notifications/notifications.proto - - automate-gateway/api/telemetry/telemetry.proto - # /lib/ - - grpc/debug/debug_api/debug.proto - RPC_REQUEST_RESPONSE_UNIQUE: - # TODO: [notifications rewrite] - this violation can be addressed once - # the golang rewrite of notifications is completed - - interservice/notifications/service/server.proto - # /api/ - - external/applications/applications.proto - - external/cds/cds.proto - - external/cfgmgmt/cfgmgmt.proto - - external/compliance/profiles/profiles.proto - - external/compliance/reporting/reporting.proto - - external/compliance/reporting/stats/stats.proto - - external/compliance/scanner/jobs/jobs.proto - - external/data_feed/data_feed.proto - - external/iam/v2/introspect.proto - - external/iam/v2/policy.proto - - external/iam/v2/rules.proto - - external/iam/v2/teams.proto - - external/iam/v2/tokens.proto - - external/iam/v2/users.proto - - external/infra_proxy/infra_proxy.proto - - external/ingest/chef.proto - - external/ingest/job_scheduler.proto - - external/nodes/manager/manager.proto - - external/nodes/nodes.proto - - external/secrets/secrets.proto - - external/user_settings/user_settings.proto - - external/report_manager/report_manager.proto - # deployment interservice is exposed to automate-cli, we treat it like an external API - - interservice/deployment/automate_deployment.proto - # These interservice protos could be changed but the churn is very large: - - interservice/authn/tokens.proto - - interservice/authz/authz.proto - - interservice/authz/policy.proto - - interservice/authz/project.proto - - interservice/cds/service/cds.proto - - interservice/cfgmgmt/service/cfgmgmt.proto - - interservice/compliance/ingest/ingest/compliance.proto - - interservice/compliance/jobs/jobs.proto - - interservice/compliance/profiles/profiles.proto - - interservice/compliance/reporting/reporting.proto - - interservice/compliance/stats/stats.proto - - interservice/compliance/status/status.proto - - interservice/compliance/version/version.proto - - interservice/deployment/certificate_authority.proto - - interservice/es_sidecar/service.proto - - interservice/event_feed/event_feed.proto - - interservice/infra_proxy/service/infra_proxy.proto - - interservice/ingest/automate_event.proto - - interservice/ingest/chef.proto - - interservice/ingest/job_scheduler.proto - - interservice/ingest/status.proto - - interservice/local_user/users.proto - - interservice/nodemanager/manager/manager.proto - - interservice/nodemanager/nodes/nodes.proto - - interservice/pg_sidecar/service.proto - - interservice/teams/teams.proto - - interservice/user_settings/user_settings.proto - - interservice/report_manager/report_manager.proto - # /components/ - - automate-gateway/api/deployment/deployment.proto - - automate-gateway/api/event_feed/event_feed.proto - - automate-gateway/api/gateway/gateway.proto - - automate-gateway/api/legacy/legacy.proto - - automate-gateway/api/license/license.proto - - automate-gateway/api/notifications/notifications.proto - - automate-gateway/api/telemetry/telemetry.proto - # /lib/ - - grpc/debug/debug_api/debug.proto - PACKAGE_SAME_GO_PACKAGE: - # /api/ - - external/iam/v2 - - config - - interservice/authz - - interservice/authn - - interservice/cereal - - interservice/deployment - - interservice/es_sidecar - - interservice/ingest - - interservice/license_control - - interservice/local_user - - interservice/pg_sidecar - - interservice/teams - # /components/ - - automate-gateway/api/gateway - - automate-grpc/protoc-gen-a2-config/api/a2conf - FIELD_LOWER_SNAKE_CASE: - # TODO: [notifications rewrite] - this violation can be addressed once - # the golang rewrite of notifications is completed - - interservice/notifications/service/events.proto - - interservice/notifications/service/rules.proto - - external/infra_proxy/response/policyfiles.proto - # /component/ - - automate-gateway/api/notifications/notifications.proto - - automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto - ENUM_VALUE_UPPER_SNAKE_CASE: - # TODO: [notifications rewrite] - this violation can be addressed once - # the golang rewrite of notifications is completed - - interservice/notifications/service/rules.proto - - automate-gateway/api/notifications/notifications.proto - ENUM_VALUE_PREFIX: - # TODO: [notifications rewrite] - this violation can be addressed once - # the golang rewrite of notifications is completed - - interservice/notifications/service/rules.proto - # /api/ - - external/applications/applications.proto - - external/common/query/parameters.proto - - external/compliance/profiles/profiles.proto - - external/compliance/reporting/reporting.proto - - external/compliance/reporting/stats/stats.proto - - external/compliance/scanner/jobs/jobs.proto - - external/iam/v2/common/policy.proto - - external/iam/v2/common/rules.proto - - external/nodes/manager/manager.proto - - external/nodes/nodes.proto - - external/secrets/secrets.proto - - external/user_settings/user_settings.proto - - external/report_manager/report_manager.proto - # deployment interservice is exposed to automate-cli, we treat it like an external API - - interservice/deployment/automate_deployment.proto - # Used to parse external JSON: - - interservice/compliance/profiles/profiles.proto - - interservice/compliance/jobs/jobs.proto - - interservice/compliance/reporting/reporting.proto - # The following interservice proto APIs could (should?) be updated to - # follow the style guide, but the churn impact is large. - - interservice/authz/policy.proto - - interservice/authz/project.proto - - interservice/authz/type.proto - - interservice/cfgmgmt/request/parameters.proto - - interservice/compliance/stats/stats.proto - - interservice/compliance/status/status.proto - - interservice/es_sidecar/service.proto - - interservice/nodemanager/manager/manager.proto - - interservice/nodemanager/nodes/nodes.proto - - interservice/pg_sidecar/service.proto - - interservice/user_settings/user_settings.proto - - interservice/report_manager/report_manager.proto - # /components/ - - automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto - - automate-gateway/api/notifications/notifications.proto - # /lib/ - - grpc/debug/debug_api/debug.proto - ENUM_ZERO_VALUE_SUFFIX: - # TODO: [notifications rewrite] - this violation can be addressed once - # the golang rewrite of notifications is completed - - interservice/notifications/service/events.proto - - interservice/notifications/service/rules.proto - # /api/ - - external/applications/applications.proto - - external/common/query/parameters.proto - - external/compliance/profiles/profiles.proto - - external/compliance/reporting/reporting.proto - - external/compliance/reporting/stats/stats.proto - - external/compliance/scanner/jobs/jobs.proto - - external/iam/v2/common/policy.proto - - external/iam/v2/common/rules.proto - - external/nodes/manager/manager.proto - - external/nodes/nodes.proto - - external/secrets/secrets.proto - - external/user_settings/user_settings.proto - - external/report_manager/report_manager.proto - # deployment protos are used by the CLI and can't be changed - - interservice/authz/policy.proto - # compliance protos used to parse external JSON: - - interservice/compliance/jobs/jobs.proto - - interservice/compliance/profiles/profiles.proto - - interservice/compliance/reporting/reporting.proto - # These could be changed - - interservice/authz/project.proto - - interservice/authz/type.proto - - interservice/cfgmgmt/request/parameters.proto - - interservice/compliance/stats/stats.proto - - interservice/compliance/status/status.proto - - interservice/deployment/automate_deployment.proto - - interservice/es_sidecar/service.proto - - interservice/nodemanager/manager/manager.proto - - interservice/nodemanager/nodes/nodes.proto - - interservice/pg_sidecar/service.proto - - interservice/user_settings/user_settings.proto - - interservice/report_manager/report_manager.proto - # /components/ - - automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto - - automate-gateway/api/notifications/notifications.proto - # /lib/ - - grpc/debug/debug_api/debug.proto - MESSAGE_PASCAL_CASE: - - config/dex/config_request.proto - PACKAGE_DEFINED: - - automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto - ignore: - - protoc-gen-swagger # grpc gateway - - internal # grpc gateway - - grafeas # googleapis - - google # googleapis - - validate # envoyproxy/protoc-gen-validate - - gogoproto # envoyproxy/protoc-gen-validate - - external/habitat/event.proto # this file is owned by habitat and copied here -breaking: - use: - - FILE - except: - # This linter requires your proto package names to end with .v1 or similar. - # Adopting this for existing code would break anyone using our protos - - FILE_NO_DELETE - ignore: - # Changes to interservice APIs are okay until (if ever) we support clusters - # of interconnected internal services that would not upgrade in unison - - interservice - # If you NEED to make just one change to something else and have consensus - # it's the best/least bad option, you can add it here and remove it in a - # later PR: - # - external/oops/oops.proto - - external/infra_proxy/request/nodes.proto - - external/infra_proxy/response/nodes.proto - - external/infra_proxy/infra_proxy.proto - - external/infra_proxy/request/roles.proto - - external/infra_proxy/response/roles.proto - - external/compliance/reporting/reporting.proto - - config/ui/config_request.proto - - external/compliance/reporting/stats/stats.proto - - config/compliance/config_request.proto - - config/postgresql/config_request.proto - # elasticsearch to opensearch movemnt changes - - config/es_sidecar/config_request.proto - - config/deployment/automate_config.proto - - config/deployment/config_request.proto - - config/workflow_nginx/config_request.proto - - config/workflow_server/config_request.proto - - config/workflow_nginx/config_request.proto - - config/workflow_server/config_request.proto - - protovendor/github.com/envoyproxy/protoc-gen-validate/validate/validate.proto \ No newline at end of file +version: v2 +modules: + - path: api + lint: + use: + - DEFAULT + except: + - ENUM_FIRST_VALUE_ZERO + - FIELD_NOT_REQUIRED + - IMPORT_USED + - PACKAGE_DIRECTORY_MATCH + - PACKAGE_NO_IMPORT_CYCLE + - PACKAGE_SAME_DIRECTORY + - PACKAGE_VERSION_SUFFIX + - PROTOVALIDATE + - SYNTAX_SPECIFIED + ignore: + - api/external/habitat/event.proto + - api/gogoproto + - api/google + - api/grafeas + - api/internal + - api/protoc-gen-swagger + - api/validate + ignore_only: + ENUM_VALUE_PREFIX: + - api/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - api/automate-gateway/api/notifications/notifications.proto + - api/external/applications/applications.proto + - api/external/common/query/parameters.proto + - api/external/compliance/profiles/profiles.proto + - api/external/compliance/reporting/reporting.proto + - api/external/compliance/reporting/stats/stats.proto + - api/external/compliance/scanner/jobs/jobs.proto + - api/external/iam/v2/common/policy.proto + - api/external/iam/v2/common/rules.proto + - api/external/nodes/manager/manager.proto + - api/external/nodes/nodes.proto + - api/external/report_manager/report_manager.proto + - api/external/secrets/secrets.proto + - api/external/user_settings/user_settings.proto + - api/grpc/debug/debug_api/debug.proto + - api/interservice/authz/policy.proto + - api/interservice/authz/project.proto + - api/interservice/authz/type.proto + - api/interservice/cfgmgmt/request/parameters.proto + - api/interservice/compliance/jobs/jobs.proto + - api/interservice/compliance/profiles/profiles.proto + - api/interservice/compliance/reporting/reporting.proto + - api/interservice/compliance/stats/stats.proto + - api/interservice/compliance/status/status.proto + - api/interservice/deployment/automate_deployment.proto + - api/interservice/es_sidecar/service.proto + - api/interservice/nodemanager/manager/manager.proto + - api/interservice/nodemanager/nodes/nodes.proto + - api/interservice/notifications/service/rules.proto + - api/interservice/pg_sidecar/service.proto + - api/interservice/report_manager/report_manager.proto + - api/interservice/user_settings/user_settings.proto + ENUM_VALUE_UPPER_SNAKE_CASE: + - api/automate-gateway/api/notifications/notifications.proto + - api/interservice/notifications/service/rules.proto + ENUM_ZERO_VALUE_SUFFIX: + - api/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - api/automate-gateway/api/notifications/notifications.proto + - api/external/applications/applications.proto + - api/external/common/query/parameters.proto + - api/external/compliance/profiles/profiles.proto + - api/external/compliance/reporting/reporting.proto + - api/external/compliance/reporting/stats/stats.proto + - api/external/compliance/scanner/jobs/jobs.proto + - api/external/iam/v2/common/policy.proto + - api/external/iam/v2/common/rules.proto + - api/external/nodes/manager/manager.proto + - api/external/nodes/nodes.proto + - api/external/report_manager/report_manager.proto + - api/external/secrets/secrets.proto + - api/external/user_settings/user_settings.proto + - api/grpc/debug/debug_api/debug.proto + - api/interservice/authz/policy.proto + - api/interservice/authz/project.proto + - api/interservice/authz/type.proto + - api/interservice/cfgmgmt/request/parameters.proto + - api/interservice/compliance/jobs/jobs.proto + - api/interservice/compliance/profiles/profiles.proto + - api/interservice/compliance/reporting/reporting.proto + - api/interservice/compliance/stats/stats.proto + - api/interservice/compliance/status/status.proto + - api/interservice/deployment/automate_deployment.proto + - api/interservice/es_sidecar/service.proto + - api/interservice/nodemanager/manager/manager.proto + - api/interservice/nodemanager/nodes/nodes.proto + - api/interservice/notifications/service/events.proto + - api/interservice/notifications/service/rules.proto + - api/interservice/pg_sidecar/service.proto + - api/interservice/report_manager/report_manager.proto + - api/interservice/user_settings/user_settings.proto + FIELD_LOWER_SNAKE_CASE: + - api/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - api/automate-gateway/api/notifications/notifications.proto + - api/external/infra_proxy/response/policyfiles.proto + - api/interservice/notifications/service/events.proto + - api/interservice/notifications/service/rules.proto + MESSAGE_PASCAL_CASE: + - api/config/dex/config_request.proto + PACKAGE_DEFINED: + - api/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + PACKAGE_SAME_GO_PACKAGE: + - api/automate-gateway/api/gateway + - api/automate-grpc/protoc-gen-a2-config/api/a2conf + - api/config + - api/external/iam/v2 + - api/interservice/authn + - api/interservice/authz + - api/interservice/cereal + - api/interservice/deployment + - api/interservice/es_sidecar + - api/interservice/ingest + - api/interservice/license_control + - api/interservice/local_user + - api/interservice/pg_sidecar + - api/interservice/teams + RPC_REQUEST_RESPONSE_UNIQUE: + - api/automate-gateway/api/deployment/deployment.proto + - api/automate-gateway/api/event_feed/event_feed.proto + - api/automate-gateway/api/gateway/gateway.proto + - api/automate-gateway/api/legacy/legacy.proto + - api/automate-gateway/api/license/license.proto + - api/automate-gateway/api/notifications/notifications.proto + - api/automate-gateway/api/telemetry/telemetry.proto + - api/external/applications/applications.proto + - api/external/cds/cds.proto + - api/external/cfgmgmt/cfgmgmt.proto + - api/external/compliance/profiles/profiles.proto + - api/external/compliance/reporting/reporting.proto + - api/external/compliance/reporting/stats/stats.proto + - api/external/compliance/scanner/jobs/jobs.proto + - api/external/data_feed/data_feed.proto + - api/external/iam/v2/introspect.proto + - api/external/iam/v2/policy.proto + - api/external/iam/v2/rules.proto + - api/external/iam/v2/teams.proto + - api/external/iam/v2/tokens.proto + - api/external/iam/v2/users.proto + - api/external/infra_proxy/infra_proxy.proto + - api/external/ingest/chef.proto + - api/external/ingest/job_scheduler.proto + - api/external/nodes/manager/manager.proto + - api/external/nodes/nodes.proto + - api/external/report_manager/report_manager.proto + - api/external/secrets/secrets.proto + - api/external/user_settings/user_settings.proto + - api/grpc/debug/debug_api/debug.proto + - api/interservice/authn/tokens.proto + - api/interservice/authz/authz.proto + - api/interservice/authz/policy.proto + - api/interservice/authz/project.proto + - api/interservice/cds/service/cds.proto + - api/interservice/cfgmgmt/service/cfgmgmt.proto + - api/interservice/compliance/ingest/ingest/compliance.proto + - api/interservice/compliance/jobs/jobs.proto + - api/interservice/compliance/profiles/profiles.proto + - api/interservice/compliance/reporting/reporting.proto + - api/interservice/compliance/stats/stats.proto + - api/interservice/compliance/status/status.proto + - api/interservice/compliance/version/version.proto + - api/interservice/deployment/automate_deployment.proto + - api/interservice/deployment/certificate_authority.proto + - api/interservice/es_sidecar/service.proto + - api/interservice/event_feed/event_feed.proto + - api/interservice/infra_proxy/service/infra_proxy.proto + - api/interservice/ingest/automate_event.proto + - api/interservice/ingest/chef.proto + - api/interservice/ingest/job_scheduler.proto + - api/interservice/ingest/status.proto + - api/interservice/local_user/users.proto + - api/interservice/nodemanager/manager/manager.proto + - api/interservice/nodemanager/nodes/nodes.proto + - api/interservice/notifications/service/server.proto + - api/interservice/pg_sidecar/service.proto + - api/interservice/report_manager/report_manager.proto + - api/interservice/teams/teams.proto + - api/interservice/user_settings/user_settings.proto + RPC_REQUEST_STANDARD_NAME: + - api/automate-gateway/api/deployment/deployment.proto + - api/automate-gateway/api/event_feed/event_feed.proto + - api/automate-gateway/api/gateway/gateway.proto + - api/automate-gateway/api/legacy/legacy.proto + - api/automate-gateway/api/license/license.proto + - api/automate-gateway/api/notifications/notifications.proto + - api/automate-gateway/api/telemetry/telemetry.proto + - api/external/applications/applications.proto + - api/external/cds/cds.proto + - api/external/cfgmgmt/cfgmgmt.proto + - api/external/compliance/profiles/profiles.proto + - api/external/compliance/reporting/reporting.proto + - api/external/compliance/reporting/stats/stats.proto + - api/external/compliance/scanner/jobs/jobs.proto + - api/external/data_feed/data_feed.proto + - api/external/iam/v2/introspect.proto + - api/external/iam/v2/policy.proto + - api/external/iam/v2/rules.proto + - api/external/iam/v2/teams.proto + - api/external/iam/v2/tokens.proto + - api/external/iam/v2/users.proto + - api/external/infra_proxy/infra_proxy.proto + - api/external/ingest/chef.proto + - api/external/ingest/job_scheduler.proto + - api/external/nodes/manager/manager.proto + - api/external/nodes/nodes.proto + - api/external/report_manager/report_manager.proto + - api/external/secrets/secrets.proto + - api/external/user_settings/user_settings.proto + - api/grpc/debug/debug_api/debug.proto + - api/interservice/authn/tokens.proto + - api/interservice/authz/authz.proto + - api/interservice/authz/policy.proto + - api/interservice/authz/project.proto + - api/interservice/cds/service/cds.proto + - api/interservice/cfgmgmt/service/cfgmgmt.proto + - api/interservice/compliance/ingest/ingest/compliance.proto + - api/interservice/compliance/jobs/jobs.proto + - api/interservice/compliance/profiles/profiles.proto + - api/interservice/compliance/reporting/reporting.proto + - api/interservice/compliance/stats/stats.proto + - api/interservice/compliance/status/status.proto + - api/interservice/compliance/version/version.proto + - api/interservice/deployment/automate_deployment.proto + - api/interservice/deployment/certificate_authority.proto + - api/interservice/es_sidecar/service.proto + - api/interservice/event_feed/event_feed.proto + - api/interservice/id_token/id_token.proto + - api/interservice/infra_proxy/service/infra_proxy.proto + - api/interservice/ingest/automate_event.proto + - api/interservice/ingest/chef.proto + - api/interservice/ingest/job_scheduler.proto + - api/interservice/ingest/status.proto + - api/interservice/local_user/users.proto + - api/interservice/nodemanager/manager/manager.proto + - api/interservice/nodemanager/nodes/nodes.proto + - api/interservice/notifications/service/server.proto + - api/interservice/pg_sidecar/service.proto + - api/interservice/report_manager/report_manager.proto + - api/interservice/teams/teams.proto + - api/interservice/user_settings/user_settings.proto + RPC_RESPONSE_STANDARD_NAME: + - api/automate-gateway/api/deployment/deployment.proto + - api/automate-gateway/api/event_feed/event_feed.proto + - api/automate-gateway/api/gateway/gateway.proto + - api/automate-gateway/api/legacy/legacy.proto + - api/automate-gateway/api/license/license.proto + - api/automate-gateway/api/notifications/notifications.proto + - api/automate-gateway/api/telemetry/telemetry.proto + - api/external/applications/applications.proto + - api/external/cds/cds.proto + - api/external/cfgmgmt/cfgmgmt.proto + - api/external/compliance/profiles/profiles.proto + - api/external/compliance/reporting/reporting.proto + - api/external/compliance/reporting/stats/stats.proto + - api/external/compliance/scanner/jobs/jobs.proto + - api/external/data_feed/data_feed.proto + - api/external/iam/v2/introspect.proto + - api/external/iam/v2/policy.proto + - api/external/iam/v2/rules.proto + - api/external/iam/v2/teams.proto + - api/external/iam/v2/tokens.proto + - api/external/iam/v2/users.proto + - api/external/infra_proxy/infra_proxy.proto + - api/external/ingest/chef.proto + - api/external/ingest/job_scheduler.proto + - api/external/nodes/manager/manager.proto + - api/external/nodes/nodes.proto + - api/external/report_manager/report_manager.proto + - api/external/secrets/secrets.proto + - api/external/user_settings/user_settings.proto + - api/grpc/debug/debug_api/debug.proto + - api/interservice/authn/tokens.proto + - api/interservice/authz/authz.proto + - api/interservice/authz/policy.proto + - api/interservice/authz/project.proto + - api/interservice/cds/service/cds.proto + - api/interservice/cfgmgmt/service/cfgmgmt.proto + - api/interservice/compliance/ingest/ingest/compliance.proto + - api/interservice/compliance/jobs/jobs.proto + - api/interservice/compliance/profiles/profiles.proto + - api/interservice/compliance/reporting/reporting.proto + - api/interservice/compliance/stats/stats.proto + - api/interservice/compliance/status/status.proto + - api/interservice/compliance/version/version.proto + - api/interservice/deployment/automate_deployment.proto + - api/interservice/deployment/certificate_authority.proto + - api/interservice/es_sidecar/service.proto + - api/interservice/event_feed/event_feed.proto + - api/interservice/infra_proxy/service/infra_proxy.proto + - api/interservice/ingest/automate_event.proto + - api/interservice/ingest/chef.proto + - api/interservice/ingest/job_scheduler.proto + - api/interservice/ingest/status.proto + - api/interservice/local_user/users.proto + - api/interservice/nodemanager/manager/manager.proto + - api/interservice/nodemanager/nodes/nodes.proto + - api/interservice/notifications/service/server.proto + - api/interservice/pg_sidecar/service.proto + - api/interservice/report_manager/report_manager.proto + - api/interservice/teams/teams.proto + - api/interservice/user_settings/user_settings.proto + SERVICE_SUFFIX: + - api/automate-gateway/api/deployment/deployment.proto + - api/automate-gateway/api/event_feed/event_feed.proto + - api/automate-gateway/api/gateway/gateway.proto + - api/automate-gateway/api/legacy/legacy.proto + - api/automate-gateway/api/license/license.proto + - api/automate-gateway/api/notifications/notifications.proto + - api/automate-gateway/api/telemetry/telemetry.proto + - api/external/cds/cds.proto + - api/external/cfgmgmt/cfgmgmt.proto + - api/external/data_lifecycle/data_lifecycle.proto + - api/external/iam/v2/introspect.proto + - api/external/iam/v2/policy.proto + - api/external/iam/v2/rules.proto + - api/external/iam/v2/teams.proto + - api/external/iam/v2/tokens.proto + - api/external/iam/v2/users.proto + - api/external/infra_proxy/infra_proxy.proto + - api/external/ingest/chef.proto + - api/external/ingest/job_scheduler.proto + - api/grpc/debug/debug_api/debug.proto + - api/interservice/data_lifecycle/purge.proto + - api/interservice/deployment/automate_deployment.proto + - api/interservice/notifications/service/server.proto + breaking: + use: + - FILE + except: + - EXTENSION_NO_DELETE + - FIELD_SAME_DEFAULT + - FILE_NO_DELETE + ignore: + - api/config/compliance/config_request.proto + - api/config/deployment/automate_config.proto + - api/config/deployment/config_request.proto + - api/config/es_sidecar/config_request.proto + - api/config/postgresql/config_request.proto + - api/config/ui/config_request.proto + - api/config/workflow_nginx/config_request.proto + - api/config/workflow_server/config_request.proto + - api/external/compliance/reporting/reporting.proto + - api/external/compliance/reporting/stats/stats.proto + - api/external/infra_proxy/infra_proxy.proto + - api/external/infra_proxy/request/nodes.proto + - api/external/infra_proxy/request/roles.proto + - api/external/infra_proxy/response/nodes.proto + - api/external/infra_proxy/response/roles.proto + - api/interservice + - api/protovendor/github.com/envoyproxy/protoc-gen-validate/validate/validate.proto + - path: components + excludes: + - components/automate-grpc/protoc-gen-policy/testdata + - components/notifications-service + lint: + use: + - DEFAULT + except: + - ENUM_FIRST_VALUE_ZERO + - FIELD_NOT_REQUIRED + - IMPORT_USED + - PACKAGE_DIRECTORY_MATCH + - PACKAGE_NO_IMPORT_CYCLE + - PACKAGE_SAME_DIRECTORY + - PACKAGE_VERSION_SUFFIX + - PROTOVALIDATE + - SYNTAX_SPECIFIED + ignore: + - components/external/habitat/event.proto + - components/gogoproto + - components/google + - components/grafeas + - components/internal + - components/protoc-gen-swagger + - components/validate + ignore_only: + ENUM_VALUE_PREFIX: + - components/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - components/automate-gateway/api/notifications/notifications.proto + - components/external/applications/applications.proto + - components/external/common/query/parameters.proto + - components/external/compliance/profiles/profiles.proto + - components/external/compliance/reporting/reporting.proto + - components/external/compliance/reporting/stats/stats.proto + - components/external/compliance/scanner/jobs/jobs.proto + - components/external/iam/v2/common/policy.proto + - components/external/iam/v2/common/rules.proto + - components/external/nodes/manager/manager.proto + - components/external/nodes/nodes.proto + - components/external/report_manager/report_manager.proto + - components/external/secrets/secrets.proto + - components/external/user_settings/user_settings.proto + - components/grpc/debug/debug_api/debug.proto + - components/interservice/authz/policy.proto + - components/interservice/authz/project.proto + - components/interservice/authz/type.proto + - components/interservice/cfgmgmt/request/parameters.proto + - components/interservice/compliance/jobs/jobs.proto + - components/interservice/compliance/profiles/profiles.proto + - components/interservice/compliance/reporting/reporting.proto + - components/interservice/compliance/stats/stats.proto + - components/interservice/compliance/status/status.proto + - components/interservice/deployment/automate_deployment.proto + - components/interservice/es_sidecar/service.proto + - components/interservice/nodemanager/manager/manager.proto + - components/interservice/nodemanager/nodes/nodes.proto + - components/interservice/notifications/service/rules.proto + - components/interservice/pg_sidecar/service.proto + - components/interservice/report_manager/report_manager.proto + - components/interservice/user_settings/user_settings.proto + ENUM_VALUE_UPPER_SNAKE_CASE: + - components/automate-gateway/api/notifications/notifications.proto + - components/interservice/notifications/service/rules.proto + ENUM_ZERO_VALUE_SUFFIX: + - components/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - components/automate-gateway/api/notifications/notifications.proto + - components/external/applications/applications.proto + - components/external/common/query/parameters.proto + - components/external/compliance/profiles/profiles.proto + - components/external/compliance/reporting/reporting.proto + - components/external/compliance/reporting/stats/stats.proto + - components/external/compliance/scanner/jobs/jobs.proto + - components/external/iam/v2/common/policy.proto + - components/external/iam/v2/common/rules.proto + - components/external/nodes/manager/manager.proto + - components/external/nodes/nodes.proto + - components/external/report_manager/report_manager.proto + - components/external/secrets/secrets.proto + - components/external/user_settings/user_settings.proto + - components/grpc/debug/debug_api/debug.proto + - components/interservice/authz/policy.proto + - components/interservice/authz/project.proto + - components/interservice/authz/type.proto + - components/interservice/cfgmgmt/request/parameters.proto + - components/interservice/compliance/jobs/jobs.proto + - components/interservice/compliance/profiles/profiles.proto + - components/interservice/compliance/reporting/reporting.proto + - components/interservice/compliance/stats/stats.proto + - components/interservice/compliance/status/status.proto + - components/interservice/deployment/automate_deployment.proto + - components/interservice/es_sidecar/service.proto + - components/interservice/nodemanager/manager/manager.proto + - components/interservice/nodemanager/nodes/nodes.proto + - components/interservice/notifications/service/events.proto + - components/interservice/notifications/service/rules.proto + - components/interservice/pg_sidecar/service.proto + - components/interservice/report_manager/report_manager.proto + - components/interservice/user_settings/user_settings.proto + FIELD_LOWER_SNAKE_CASE: + - components/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - components/automate-gateway/api/notifications/notifications.proto + - components/external/infra_proxy/response/policyfiles.proto + - components/interservice/notifications/service/events.proto + - components/interservice/notifications/service/rules.proto + MESSAGE_PASCAL_CASE: + - components/config/dex/config_request.proto + PACKAGE_DEFINED: + - components/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + PACKAGE_SAME_GO_PACKAGE: + - components/automate-gateway/api/gateway + - components/automate-grpc/protoc-gen-a2-config/api/a2conf + - components/config + - components/external/iam/v2 + - components/interservice/authn + - components/interservice/authz + - components/interservice/cereal + - components/interservice/deployment + - components/interservice/es_sidecar + - components/interservice/ingest + - components/interservice/license_control + - components/interservice/local_user + - components/interservice/pg_sidecar + - components/interservice/teams + RPC_REQUEST_RESPONSE_UNIQUE: + - components/automate-gateway/api/deployment/deployment.proto + - components/automate-gateway/api/event_feed/event_feed.proto + - components/automate-gateway/api/gateway/gateway.proto + - components/automate-gateway/api/legacy/legacy.proto + - components/automate-gateway/api/license/license.proto + - components/automate-gateway/api/notifications/notifications.proto + - components/automate-gateway/api/telemetry/telemetry.proto + - components/external/applications/applications.proto + - components/external/cds/cds.proto + - components/external/cfgmgmt/cfgmgmt.proto + - components/external/compliance/profiles/profiles.proto + - components/external/compliance/reporting/reporting.proto + - components/external/compliance/reporting/stats/stats.proto + - components/external/compliance/scanner/jobs/jobs.proto + - components/external/data_feed/data_feed.proto + - components/external/iam/v2/introspect.proto + - components/external/iam/v2/policy.proto + - components/external/iam/v2/rules.proto + - components/external/iam/v2/teams.proto + - components/external/iam/v2/tokens.proto + - components/external/iam/v2/users.proto + - components/external/infra_proxy/infra_proxy.proto + - components/external/ingest/chef.proto + - components/external/ingest/job_scheduler.proto + - components/external/nodes/manager/manager.proto + - components/external/nodes/nodes.proto + - components/external/report_manager/report_manager.proto + - components/external/secrets/secrets.proto + - components/external/user_settings/user_settings.proto + - components/grpc/debug/debug_api/debug.proto + - components/interservice/authn/tokens.proto + - components/interservice/authz/authz.proto + - components/interservice/authz/policy.proto + - components/interservice/authz/project.proto + - components/interservice/cds/service/cds.proto + - components/interservice/cfgmgmt/service/cfgmgmt.proto + - components/interservice/compliance/ingest/ingest/compliance.proto + - components/interservice/compliance/jobs/jobs.proto + - components/interservice/compliance/profiles/profiles.proto + - components/interservice/compliance/reporting/reporting.proto + - components/interservice/compliance/stats/stats.proto + - components/interservice/compliance/status/status.proto + - components/interservice/compliance/version/version.proto + - components/interservice/deployment/automate_deployment.proto + - components/interservice/deployment/certificate_authority.proto + - components/interservice/es_sidecar/service.proto + - components/interservice/event_feed/event_feed.proto + - components/interservice/infra_proxy/service/infra_proxy.proto + - components/interservice/ingest/automate_event.proto + - components/interservice/ingest/chef.proto + - components/interservice/ingest/job_scheduler.proto + - components/interservice/ingest/status.proto + - components/interservice/local_user/users.proto + - components/interservice/nodemanager/manager/manager.proto + - components/interservice/nodemanager/nodes/nodes.proto + - components/interservice/notifications/service/server.proto + - components/interservice/pg_sidecar/service.proto + - components/interservice/report_manager/report_manager.proto + - components/interservice/teams/teams.proto + - components/interservice/user_settings/user_settings.proto + RPC_REQUEST_STANDARD_NAME: + - components/automate-gateway/api/deployment/deployment.proto + - components/automate-gateway/api/event_feed/event_feed.proto + - components/automate-gateway/api/gateway/gateway.proto + - components/automate-gateway/api/legacy/legacy.proto + - components/automate-gateway/api/license/license.proto + - components/automate-gateway/api/notifications/notifications.proto + - components/automate-gateway/api/telemetry/telemetry.proto + - components/external/applications/applications.proto + - components/external/cds/cds.proto + - components/external/cfgmgmt/cfgmgmt.proto + - components/external/compliance/profiles/profiles.proto + - components/external/compliance/reporting/reporting.proto + - components/external/compliance/reporting/stats/stats.proto + - components/external/compliance/scanner/jobs/jobs.proto + - components/external/data_feed/data_feed.proto + - components/external/iam/v2/introspect.proto + - components/external/iam/v2/policy.proto + - components/external/iam/v2/rules.proto + - components/external/iam/v2/teams.proto + - components/external/iam/v2/tokens.proto + - components/external/iam/v2/users.proto + - components/external/infra_proxy/infra_proxy.proto + - components/external/ingest/chef.proto + - components/external/ingest/job_scheduler.proto + - components/external/nodes/manager/manager.proto + - components/external/nodes/nodes.proto + - components/external/report_manager/report_manager.proto + - components/external/secrets/secrets.proto + - components/external/user_settings/user_settings.proto + - components/grpc/debug/debug_api/debug.proto + - components/interservice/authn/tokens.proto + - components/interservice/authz/authz.proto + - components/interservice/authz/policy.proto + - components/interservice/authz/project.proto + - components/interservice/cds/service/cds.proto + - components/interservice/cfgmgmt/service/cfgmgmt.proto + - components/interservice/compliance/ingest/ingest/compliance.proto + - components/interservice/compliance/jobs/jobs.proto + - components/interservice/compliance/profiles/profiles.proto + - components/interservice/compliance/reporting/reporting.proto + - components/interservice/compliance/stats/stats.proto + - components/interservice/compliance/status/status.proto + - components/interservice/compliance/version/version.proto + - components/interservice/deployment/automate_deployment.proto + - components/interservice/deployment/certificate_authority.proto + - components/interservice/es_sidecar/service.proto + - components/interservice/event_feed/event_feed.proto + - components/interservice/id_token/id_token.proto + - components/interservice/infra_proxy/service/infra_proxy.proto + - components/interservice/ingest/automate_event.proto + - components/interservice/ingest/chef.proto + - components/interservice/ingest/job_scheduler.proto + - components/interservice/ingest/status.proto + - components/interservice/local_user/users.proto + - components/interservice/nodemanager/manager/manager.proto + - components/interservice/nodemanager/nodes/nodes.proto + - components/interservice/notifications/service/server.proto + - components/interservice/pg_sidecar/service.proto + - components/interservice/report_manager/report_manager.proto + - components/interservice/teams/teams.proto + - components/interservice/user_settings/user_settings.proto + RPC_RESPONSE_STANDARD_NAME: + - components/automate-gateway/api/deployment/deployment.proto + - components/automate-gateway/api/event_feed/event_feed.proto + - components/automate-gateway/api/gateway/gateway.proto + - components/automate-gateway/api/legacy/legacy.proto + - components/automate-gateway/api/license/license.proto + - components/automate-gateway/api/notifications/notifications.proto + - components/automate-gateway/api/telemetry/telemetry.proto + - components/external/applications/applications.proto + - components/external/cds/cds.proto + - components/external/cfgmgmt/cfgmgmt.proto + - components/external/compliance/profiles/profiles.proto + - components/external/compliance/reporting/reporting.proto + - components/external/compliance/reporting/stats/stats.proto + - components/external/compliance/scanner/jobs/jobs.proto + - components/external/data_feed/data_feed.proto + - components/external/iam/v2/introspect.proto + - components/external/iam/v2/policy.proto + - components/external/iam/v2/rules.proto + - components/external/iam/v2/teams.proto + - components/external/iam/v2/tokens.proto + - components/external/iam/v2/users.proto + - components/external/infra_proxy/infra_proxy.proto + - components/external/ingest/chef.proto + - components/external/ingest/job_scheduler.proto + - components/external/nodes/manager/manager.proto + - components/external/nodes/nodes.proto + - components/external/report_manager/report_manager.proto + - components/external/secrets/secrets.proto + - components/external/user_settings/user_settings.proto + - components/grpc/debug/debug_api/debug.proto + - components/interservice/authn/tokens.proto + - components/interservice/authz/authz.proto + - components/interservice/authz/policy.proto + - components/interservice/authz/project.proto + - components/interservice/cds/service/cds.proto + - components/interservice/cfgmgmt/service/cfgmgmt.proto + - components/interservice/compliance/ingest/ingest/compliance.proto + - components/interservice/compliance/jobs/jobs.proto + - components/interservice/compliance/profiles/profiles.proto + - components/interservice/compliance/reporting/reporting.proto + - components/interservice/compliance/stats/stats.proto + - components/interservice/compliance/status/status.proto + - components/interservice/compliance/version/version.proto + - components/interservice/deployment/automate_deployment.proto + - components/interservice/deployment/certificate_authority.proto + - components/interservice/es_sidecar/service.proto + - components/interservice/event_feed/event_feed.proto + - components/interservice/infra_proxy/service/infra_proxy.proto + - components/interservice/ingest/automate_event.proto + - components/interservice/ingest/chef.proto + - components/interservice/ingest/job_scheduler.proto + - components/interservice/ingest/status.proto + - components/interservice/local_user/users.proto + - components/interservice/nodemanager/manager/manager.proto + - components/interservice/nodemanager/nodes/nodes.proto + - components/interservice/notifications/service/server.proto + - components/interservice/pg_sidecar/service.proto + - components/interservice/report_manager/report_manager.proto + - components/interservice/teams/teams.proto + - components/interservice/user_settings/user_settings.proto + SERVICE_SUFFIX: + - components/automate-gateway/api/deployment/deployment.proto + - components/automate-gateway/api/event_feed/event_feed.proto + - components/automate-gateway/api/gateway/gateway.proto + - components/automate-gateway/api/legacy/legacy.proto + - components/automate-gateway/api/license/license.proto + - components/automate-gateway/api/notifications/notifications.proto + - components/automate-gateway/api/telemetry/telemetry.proto + - components/external/cds/cds.proto + - components/external/cfgmgmt/cfgmgmt.proto + - components/external/data_lifecycle/data_lifecycle.proto + - components/external/iam/v2/introspect.proto + - components/external/iam/v2/policy.proto + - components/external/iam/v2/rules.proto + - components/external/iam/v2/teams.proto + - components/external/iam/v2/tokens.proto + - components/external/iam/v2/users.proto + - components/external/infra_proxy/infra_proxy.proto + - components/external/ingest/chef.proto + - components/external/ingest/job_scheduler.proto + - components/grpc/debug/debug_api/debug.proto + - components/interservice/data_lifecycle/purge.proto + - components/interservice/deployment/automate_deployment.proto + - components/interservice/notifications/service/server.proto + breaking: + use: + - FILE + except: + - EXTENSION_NO_DELETE + - FIELD_SAME_DEFAULT + - FILE_NO_DELETE + ignore: + - components/config/compliance/config_request.proto + - components/config/deployment/automate_config.proto + - components/config/deployment/config_request.proto + - components/config/es_sidecar/config_request.proto + - components/config/postgresql/config_request.proto + - components/config/ui/config_request.proto + - components/config/workflow_nginx/config_request.proto + - components/config/workflow_server/config_request.proto + - components/external/compliance/reporting/reporting.proto + - components/external/compliance/reporting/stats/stats.proto + - components/external/infra_proxy/infra_proxy.proto + - components/external/infra_proxy/request/nodes.proto + - components/external/infra_proxy/request/roles.proto + - components/external/infra_proxy/response/nodes.proto + - components/external/infra_proxy/response/roles.proto + - components/interservice + - components/protovendor/github.com/envoyproxy/protoc-gen-validate/validate/validate.proto + - path: lib + lint: + use: + - DEFAULT + except: + - ENUM_FIRST_VALUE_ZERO + - FIELD_NOT_REQUIRED + - IMPORT_USED + - PACKAGE_DIRECTORY_MATCH + - PACKAGE_NO_IMPORT_CYCLE + - PACKAGE_SAME_DIRECTORY + - PACKAGE_VERSION_SUFFIX + - PROTOVALIDATE + - SYNTAX_SPECIFIED + ignore: + - lib/external/habitat/event.proto + - lib/gogoproto + - lib/google + - lib/grafeas + - lib/internal + - lib/protoc-gen-swagger + - lib/validate + ignore_only: + ENUM_VALUE_PREFIX: + - lib/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - lib/automate-gateway/api/notifications/notifications.proto + - lib/external/applications/applications.proto + - lib/external/common/query/parameters.proto + - lib/external/compliance/profiles/profiles.proto + - lib/external/compliance/reporting/reporting.proto + - lib/external/compliance/reporting/stats/stats.proto + - lib/external/compliance/scanner/jobs/jobs.proto + - lib/external/iam/v2/common/policy.proto + - lib/external/iam/v2/common/rules.proto + - lib/external/nodes/manager/manager.proto + - lib/external/nodes/nodes.proto + - lib/external/report_manager/report_manager.proto + - lib/external/secrets/secrets.proto + - lib/external/user_settings/user_settings.proto + - lib/grpc/debug/debug_api/debug.proto + - lib/interservice/authz/policy.proto + - lib/interservice/authz/project.proto + - lib/interservice/authz/type.proto + - lib/interservice/cfgmgmt/request/parameters.proto + - lib/interservice/compliance/jobs/jobs.proto + - lib/interservice/compliance/profiles/profiles.proto + - lib/interservice/compliance/reporting/reporting.proto + - lib/interservice/compliance/stats/stats.proto + - lib/interservice/compliance/status/status.proto + - lib/interservice/deployment/automate_deployment.proto + - lib/interservice/es_sidecar/service.proto + - lib/interservice/nodemanager/manager/manager.proto + - lib/interservice/nodemanager/nodes/nodes.proto + - lib/interservice/notifications/service/rules.proto + - lib/interservice/pg_sidecar/service.proto + - lib/interservice/report_manager/report_manager.proto + - lib/interservice/user_settings/user_settings.proto + ENUM_VALUE_UPPER_SNAKE_CASE: + - lib/automate-gateway/api/notifications/notifications.proto + - lib/interservice/notifications/service/rules.proto + ENUM_ZERO_VALUE_SUFFIX: + - lib/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - lib/automate-gateway/api/notifications/notifications.proto + - lib/external/applications/applications.proto + - lib/external/common/query/parameters.proto + - lib/external/compliance/profiles/profiles.proto + - lib/external/compliance/reporting/reporting.proto + - lib/external/compliance/reporting/stats/stats.proto + - lib/external/compliance/scanner/jobs/jobs.proto + - lib/external/iam/v2/common/policy.proto + - lib/external/iam/v2/common/rules.proto + - lib/external/nodes/manager/manager.proto + - lib/external/nodes/nodes.proto + - lib/external/report_manager/report_manager.proto + - lib/external/secrets/secrets.proto + - lib/external/user_settings/user_settings.proto + - lib/grpc/debug/debug_api/debug.proto + - lib/interservice/authz/policy.proto + - lib/interservice/authz/project.proto + - lib/interservice/authz/type.proto + - lib/interservice/cfgmgmt/request/parameters.proto + - lib/interservice/compliance/jobs/jobs.proto + - lib/interservice/compliance/profiles/profiles.proto + - lib/interservice/compliance/reporting/reporting.proto + - lib/interservice/compliance/stats/stats.proto + - lib/interservice/compliance/status/status.proto + - lib/interservice/deployment/automate_deployment.proto + - lib/interservice/es_sidecar/service.proto + - lib/interservice/nodemanager/manager/manager.proto + - lib/interservice/nodemanager/nodes/nodes.proto + - lib/interservice/notifications/service/events.proto + - lib/interservice/notifications/service/rules.proto + - lib/interservice/pg_sidecar/service.proto + - lib/interservice/report_manager/report_manager.proto + - lib/interservice/user_settings/user_settings.proto + FIELD_LOWER_SNAKE_CASE: + - lib/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - lib/automate-gateway/api/notifications/notifications.proto + - lib/external/infra_proxy/response/policyfiles.proto + - lib/interservice/notifications/service/events.proto + - lib/interservice/notifications/service/rules.proto + MESSAGE_PASCAL_CASE: + - lib/config/dex/config_request.proto + PACKAGE_DEFINED: + - lib/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + PACKAGE_SAME_GO_PACKAGE: + - lib/automate-gateway/api/gateway + - lib/automate-grpc/protoc-gen-a2-config/api/a2conf + - lib/config + - lib/external/iam/v2 + - lib/interservice/authn + - lib/interservice/authz + - lib/interservice/cereal + - lib/interservice/deployment + - lib/interservice/es_sidecar + - lib/interservice/ingest + - lib/interservice/license_control + - lib/interservice/local_user + - lib/interservice/pg_sidecar + - lib/interservice/teams + RPC_REQUEST_RESPONSE_UNIQUE: + - lib/automate-gateway/api/deployment/deployment.proto + - lib/automate-gateway/api/event_feed/event_feed.proto + - lib/automate-gateway/api/gateway/gateway.proto + - lib/automate-gateway/api/legacy/legacy.proto + - lib/automate-gateway/api/license/license.proto + - lib/automate-gateway/api/notifications/notifications.proto + - lib/automate-gateway/api/telemetry/telemetry.proto + - lib/external/applications/applications.proto + - lib/external/cds/cds.proto + - lib/external/cfgmgmt/cfgmgmt.proto + - lib/external/compliance/profiles/profiles.proto + - lib/external/compliance/reporting/reporting.proto + - lib/external/compliance/reporting/stats/stats.proto + - lib/external/compliance/scanner/jobs/jobs.proto + - lib/external/data_feed/data_feed.proto + - lib/external/iam/v2/introspect.proto + - lib/external/iam/v2/policy.proto + - lib/external/iam/v2/rules.proto + - lib/external/iam/v2/teams.proto + - lib/external/iam/v2/tokens.proto + - lib/external/iam/v2/users.proto + - lib/external/infra_proxy/infra_proxy.proto + - lib/external/ingest/chef.proto + - lib/external/ingest/job_scheduler.proto + - lib/external/nodes/manager/manager.proto + - lib/external/nodes/nodes.proto + - lib/external/report_manager/report_manager.proto + - lib/external/secrets/secrets.proto + - lib/external/user_settings/user_settings.proto + - lib/grpc/debug/debug_api/debug.proto + - lib/interservice/authn/tokens.proto + - lib/interservice/authz/authz.proto + - lib/interservice/authz/policy.proto + - lib/interservice/authz/project.proto + - lib/interservice/cds/service/cds.proto + - lib/interservice/cfgmgmt/service/cfgmgmt.proto + - lib/interservice/compliance/ingest/ingest/compliance.proto + - lib/interservice/compliance/jobs/jobs.proto + - lib/interservice/compliance/profiles/profiles.proto + - lib/interservice/compliance/reporting/reporting.proto + - lib/interservice/compliance/stats/stats.proto + - lib/interservice/compliance/status/status.proto + - lib/interservice/compliance/version/version.proto + - lib/interservice/deployment/automate_deployment.proto + - lib/interservice/deployment/certificate_authority.proto + - lib/interservice/es_sidecar/service.proto + - lib/interservice/event_feed/event_feed.proto + - lib/interservice/infra_proxy/service/infra_proxy.proto + - lib/interservice/ingest/automate_event.proto + - lib/interservice/ingest/chef.proto + - lib/interservice/ingest/job_scheduler.proto + - lib/interservice/ingest/status.proto + - lib/interservice/local_user/users.proto + - lib/interservice/nodemanager/manager/manager.proto + - lib/interservice/nodemanager/nodes/nodes.proto + - lib/interservice/notifications/service/server.proto + - lib/interservice/pg_sidecar/service.proto + - lib/interservice/report_manager/report_manager.proto + - lib/interservice/teams/teams.proto + - lib/interservice/user_settings/user_settings.proto + RPC_REQUEST_STANDARD_NAME: + - lib/automate-gateway/api/deployment/deployment.proto + - lib/automate-gateway/api/event_feed/event_feed.proto + - lib/automate-gateway/api/gateway/gateway.proto + - lib/automate-gateway/api/legacy/legacy.proto + - lib/automate-gateway/api/license/license.proto + - lib/automate-gateway/api/notifications/notifications.proto + - lib/automate-gateway/api/telemetry/telemetry.proto + - lib/external/applications/applications.proto + - lib/external/cds/cds.proto + - lib/external/cfgmgmt/cfgmgmt.proto + - lib/external/compliance/profiles/profiles.proto + - lib/external/compliance/reporting/reporting.proto + - lib/external/compliance/reporting/stats/stats.proto + - lib/external/compliance/scanner/jobs/jobs.proto + - lib/external/data_feed/data_feed.proto + - lib/external/iam/v2/introspect.proto + - lib/external/iam/v2/policy.proto + - lib/external/iam/v2/rules.proto + - lib/external/iam/v2/teams.proto + - lib/external/iam/v2/tokens.proto + - lib/external/iam/v2/users.proto + - lib/external/infra_proxy/infra_proxy.proto + - lib/external/ingest/chef.proto + - lib/external/ingest/job_scheduler.proto + - lib/external/nodes/manager/manager.proto + - lib/external/nodes/nodes.proto + - lib/external/report_manager/report_manager.proto + - lib/external/secrets/secrets.proto + - lib/external/user_settings/user_settings.proto + - lib/grpc/debug/debug_api/debug.proto + - lib/interservice/authn/tokens.proto + - lib/interservice/authz/authz.proto + - lib/interservice/authz/policy.proto + - lib/interservice/authz/project.proto + - lib/interservice/cds/service/cds.proto + - lib/interservice/cfgmgmt/service/cfgmgmt.proto + - lib/interservice/compliance/ingest/ingest/compliance.proto + - lib/interservice/compliance/jobs/jobs.proto + - lib/interservice/compliance/profiles/profiles.proto + - lib/interservice/compliance/reporting/reporting.proto + - lib/interservice/compliance/stats/stats.proto + - lib/interservice/compliance/status/status.proto + - lib/interservice/compliance/version/version.proto + - lib/interservice/deployment/automate_deployment.proto + - lib/interservice/deployment/certificate_authority.proto + - lib/interservice/es_sidecar/service.proto + - lib/interservice/event_feed/event_feed.proto + - lib/interservice/id_token/id_token.proto + - lib/interservice/infra_proxy/service/infra_proxy.proto + - lib/interservice/ingest/automate_event.proto + - lib/interservice/ingest/chef.proto + - lib/interservice/ingest/job_scheduler.proto + - lib/interservice/ingest/status.proto + - lib/interservice/local_user/users.proto + - lib/interservice/nodemanager/manager/manager.proto + - lib/interservice/nodemanager/nodes/nodes.proto + - lib/interservice/notifications/service/server.proto + - lib/interservice/pg_sidecar/service.proto + - lib/interservice/report_manager/report_manager.proto + - lib/interservice/teams/teams.proto + - lib/interservice/user_settings/user_settings.proto + RPC_RESPONSE_STANDARD_NAME: + - lib/automate-gateway/api/deployment/deployment.proto + - lib/automate-gateway/api/event_feed/event_feed.proto + - lib/automate-gateway/api/gateway/gateway.proto + - lib/automate-gateway/api/legacy/legacy.proto + - lib/automate-gateway/api/license/license.proto + - lib/automate-gateway/api/notifications/notifications.proto + - lib/automate-gateway/api/telemetry/telemetry.proto + - lib/external/applications/applications.proto + - lib/external/cds/cds.proto + - lib/external/cfgmgmt/cfgmgmt.proto + - lib/external/compliance/profiles/profiles.proto + - lib/external/compliance/reporting/reporting.proto + - lib/external/compliance/reporting/stats/stats.proto + - lib/external/compliance/scanner/jobs/jobs.proto + - lib/external/data_feed/data_feed.proto + - lib/external/iam/v2/introspect.proto + - lib/external/iam/v2/policy.proto + - lib/external/iam/v2/rules.proto + - lib/external/iam/v2/teams.proto + - lib/external/iam/v2/tokens.proto + - lib/external/iam/v2/users.proto + - lib/external/infra_proxy/infra_proxy.proto + - lib/external/ingest/chef.proto + - lib/external/ingest/job_scheduler.proto + - lib/external/nodes/manager/manager.proto + - lib/external/nodes/nodes.proto + - lib/external/report_manager/report_manager.proto + - lib/external/secrets/secrets.proto + - lib/external/user_settings/user_settings.proto + - lib/grpc/debug/debug_api/debug.proto + - lib/interservice/authn/tokens.proto + - lib/interservice/authz/authz.proto + - lib/interservice/authz/policy.proto + - lib/interservice/authz/project.proto + - lib/interservice/cds/service/cds.proto + - lib/interservice/cfgmgmt/service/cfgmgmt.proto + - lib/interservice/compliance/ingest/ingest/compliance.proto + - lib/interservice/compliance/jobs/jobs.proto + - lib/interservice/compliance/profiles/profiles.proto + - lib/interservice/compliance/reporting/reporting.proto + - lib/interservice/compliance/stats/stats.proto + - lib/interservice/compliance/status/status.proto + - lib/interservice/compliance/version/version.proto + - lib/interservice/deployment/automate_deployment.proto + - lib/interservice/deployment/certificate_authority.proto + - lib/interservice/es_sidecar/service.proto + - lib/interservice/event_feed/event_feed.proto + - lib/interservice/infra_proxy/service/infra_proxy.proto + - lib/interservice/ingest/automate_event.proto + - lib/interservice/ingest/chef.proto + - lib/interservice/ingest/job_scheduler.proto + - lib/interservice/ingest/status.proto + - lib/interservice/local_user/users.proto + - lib/interservice/nodemanager/manager/manager.proto + - lib/interservice/nodemanager/nodes/nodes.proto + - lib/interservice/notifications/service/server.proto + - lib/interservice/pg_sidecar/service.proto + - lib/interservice/report_manager/report_manager.proto + - lib/interservice/teams/teams.proto + - lib/interservice/user_settings/user_settings.proto + SERVICE_SUFFIX: + - lib/automate-gateway/api/deployment/deployment.proto + - lib/automate-gateway/api/event_feed/event_feed.proto + - lib/automate-gateway/api/gateway/gateway.proto + - lib/automate-gateway/api/legacy/legacy.proto + - lib/automate-gateway/api/license/license.proto + - lib/automate-gateway/api/notifications/notifications.proto + - lib/automate-gateway/api/telemetry/telemetry.proto + - lib/external/cds/cds.proto + - lib/external/cfgmgmt/cfgmgmt.proto + - lib/external/data_lifecycle/data_lifecycle.proto + - lib/external/iam/v2/introspect.proto + - lib/external/iam/v2/policy.proto + - lib/external/iam/v2/rules.proto + - lib/external/iam/v2/teams.proto + - lib/external/iam/v2/tokens.proto + - lib/external/iam/v2/users.proto + - lib/external/infra_proxy/infra_proxy.proto + - lib/external/ingest/chef.proto + - lib/external/ingest/job_scheduler.proto + - lib/grpc/debug/debug_api/debug.proto + - lib/interservice/data_lifecycle/purge.proto + - lib/interservice/deployment/automate_deployment.proto + - lib/interservice/notifications/service/server.proto + breaking: + use: + - FILE + except: + - EXTENSION_NO_DELETE + - FIELD_SAME_DEFAULT + - FILE_NO_DELETE + ignore: + - lib/config/compliance/config_request.proto + - lib/config/deployment/automate_config.proto + - lib/config/deployment/config_request.proto + - lib/config/es_sidecar/config_request.proto + - lib/config/postgresql/config_request.proto + - lib/config/ui/config_request.proto + - lib/config/workflow_nginx/config_request.proto + - lib/config/workflow_server/config_request.proto + - lib/external/compliance/reporting/reporting.proto + - lib/external/compliance/reporting/stats/stats.proto + - lib/external/infra_proxy/infra_proxy.proto + - lib/external/infra_proxy/request/nodes.proto + - lib/external/infra_proxy/request/roles.proto + - lib/external/infra_proxy/response/nodes.proto + - lib/external/infra_proxy/response/roles.proto + - lib/interservice + - lib/protovendor/github.com/envoyproxy/protoc-gen-validate/validate/validate.proto + - path: protovendor/github.com/envoyproxy/protoc-gen-validate + excludes: + - protovendor/github.com/envoyproxy/protoc-gen-validate/java + - protovendor/github.com/envoyproxy/protoc-gen-validate/license + lint: + use: + - DEFAULT + except: + - ENUM_FIRST_VALUE_ZERO + - FIELD_NOT_REQUIRED + - IMPORT_USED + - PACKAGE_DIRECTORY_MATCH + - PACKAGE_NO_IMPORT_CYCLE + - PACKAGE_SAME_DIRECTORY + - PACKAGE_VERSION_SUFFIX + - PROTOVALIDATE + - SYNTAX_SPECIFIED + ignore: + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/habitat/event.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/gogoproto + - protovendor/github.com/envoyproxy/protoc-gen-validate/google + - protovendor/github.com/envoyproxy/protoc-gen-validate/grafeas + - protovendor/github.com/envoyproxy/protoc-gen-validate/internal + - protovendor/github.com/envoyproxy/protoc-gen-validate/protoc-gen-swagger + - protovendor/github.com/envoyproxy/protoc-gen-validate/validate + ignore_only: + ENUM_VALUE_PREFIX: + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/applications/applications.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/common/query/parameters.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/profiles/profiles.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/reporting/reporting.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/scanner/jobs/jobs.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/common/policy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/common/rules.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/nodes/manager/manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/nodes/nodes.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/report_manager/report_manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/secrets/secrets.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/user_settings/user_settings.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/grpc/debug/debug_api/debug.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authz/policy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authz/project.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authz/type.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/cfgmgmt/request/parameters.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/jobs/jobs.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/profiles/profiles.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/reporting/reporting.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/stats/stats.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/status/status.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/deployment/automate_deployment.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/es_sidecar/service.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/nodemanager/manager/manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/nodemanager/nodes/nodes.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/notifications/service/rules.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/pg_sidecar/service.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/report_manager/report_manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/user_settings/user_settings.proto + ENUM_VALUE_UPPER_SNAKE_CASE: + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/notifications/service/rules.proto + ENUM_ZERO_VALUE_SUFFIX: + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/applications/applications.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/common/query/parameters.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/profiles/profiles.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/reporting/reporting.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/scanner/jobs/jobs.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/common/policy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/common/rules.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/nodes/manager/manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/nodes/nodes.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/report_manager/report_manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/secrets/secrets.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/user_settings/user_settings.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/grpc/debug/debug_api/debug.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authz/policy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authz/project.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authz/type.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/cfgmgmt/request/parameters.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/jobs/jobs.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/profiles/profiles.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/reporting/reporting.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/stats/stats.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/status/status.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/deployment/automate_deployment.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/es_sidecar/service.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/nodemanager/manager/manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/nodemanager/nodes/nodes.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/notifications/service/events.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/notifications/service/rules.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/pg_sidecar/service.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/report_manager/report_manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/user_settings/user_settings.proto + FIELD_LOWER_SNAKE_CASE: + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/infra_proxy/response/policyfiles.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/notifications/service/events.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/notifications/service/rules.proto + MESSAGE_PASCAL_CASE: + - protovendor/github.com/envoyproxy/protoc-gen-validate/config/dex/config_request.proto + PACKAGE_DEFINED: + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + PACKAGE_SAME_GO_PACKAGE: + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/gateway + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-grpc/protoc-gen-a2-config/api/a2conf + - protovendor/github.com/envoyproxy/protoc-gen-validate/config + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2 + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authn + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authz + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/cereal + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/deployment + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/es_sidecar + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/ingest + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/license_control + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/local_user + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/pg_sidecar + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/teams + RPC_REQUEST_RESPONSE_UNIQUE: + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/deployment/deployment.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/event_feed/event_feed.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/gateway/gateway.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/legacy/legacy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/license/license.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/telemetry/telemetry.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/applications/applications.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/cds/cds.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/cfgmgmt/cfgmgmt.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/profiles/profiles.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/reporting/reporting.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/scanner/jobs/jobs.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/data_feed/data_feed.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/introspect.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/policy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/rules.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/teams.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/tokens.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/users.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/infra_proxy/infra_proxy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/ingest/chef.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/ingest/job_scheduler.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/nodes/manager/manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/nodes/nodes.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/report_manager/report_manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/secrets/secrets.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/user_settings/user_settings.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/grpc/debug/debug_api/debug.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authn/tokens.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authz/authz.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authz/policy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authz/project.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/cds/service/cds.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/cfgmgmt/service/cfgmgmt.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/ingest/ingest/compliance.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/jobs/jobs.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/profiles/profiles.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/reporting/reporting.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/stats/stats.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/status/status.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/version/version.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/deployment/automate_deployment.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/deployment/certificate_authority.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/es_sidecar/service.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/event_feed/event_feed.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/infra_proxy/service/infra_proxy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/ingest/automate_event.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/ingest/chef.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/ingest/job_scheduler.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/ingest/status.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/local_user/users.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/nodemanager/manager/manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/nodemanager/nodes/nodes.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/notifications/service/server.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/pg_sidecar/service.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/report_manager/report_manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/teams/teams.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/user_settings/user_settings.proto + RPC_REQUEST_STANDARD_NAME: + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/deployment/deployment.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/event_feed/event_feed.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/gateway/gateway.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/legacy/legacy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/license/license.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/telemetry/telemetry.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/applications/applications.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/cds/cds.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/cfgmgmt/cfgmgmt.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/profiles/profiles.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/reporting/reporting.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/scanner/jobs/jobs.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/data_feed/data_feed.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/introspect.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/policy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/rules.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/teams.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/tokens.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/users.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/infra_proxy/infra_proxy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/ingest/chef.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/ingest/job_scheduler.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/nodes/manager/manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/nodes/nodes.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/report_manager/report_manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/secrets/secrets.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/user_settings/user_settings.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/grpc/debug/debug_api/debug.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authn/tokens.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authz/authz.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authz/policy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authz/project.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/cds/service/cds.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/cfgmgmt/service/cfgmgmt.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/ingest/ingest/compliance.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/jobs/jobs.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/profiles/profiles.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/reporting/reporting.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/stats/stats.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/status/status.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/version/version.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/deployment/automate_deployment.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/deployment/certificate_authority.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/es_sidecar/service.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/event_feed/event_feed.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/id_token/id_token.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/infra_proxy/service/infra_proxy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/ingest/automate_event.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/ingest/chef.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/ingest/job_scheduler.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/ingest/status.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/local_user/users.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/nodemanager/manager/manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/nodemanager/nodes/nodes.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/notifications/service/server.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/pg_sidecar/service.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/report_manager/report_manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/teams/teams.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/user_settings/user_settings.proto + RPC_RESPONSE_STANDARD_NAME: + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/deployment/deployment.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/event_feed/event_feed.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/gateway/gateway.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/legacy/legacy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/license/license.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/telemetry/telemetry.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/applications/applications.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/cds/cds.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/cfgmgmt/cfgmgmt.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/profiles/profiles.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/reporting/reporting.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/scanner/jobs/jobs.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/data_feed/data_feed.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/introspect.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/policy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/rules.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/teams.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/tokens.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/users.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/infra_proxy/infra_proxy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/ingest/chef.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/ingest/job_scheduler.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/nodes/manager/manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/nodes/nodes.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/report_manager/report_manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/secrets/secrets.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/user_settings/user_settings.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/grpc/debug/debug_api/debug.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authn/tokens.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authz/authz.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authz/policy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/authz/project.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/cds/service/cds.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/cfgmgmt/service/cfgmgmt.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/ingest/ingest/compliance.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/jobs/jobs.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/profiles/profiles.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/reporting/reporting.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/stats/stats.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/status/status.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/compliance/version/version.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/deployment/automate_deployment.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/deployment/certificate_authority.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/es_sidecar/service.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/event_feed/event_feed.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/infra_proxy/service/infra_proxy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/ingest/automate_event.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/ingest/chef.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/ingest/job_scheduler.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/ingest/status.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/local_user/users.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/nodemanager/manager/manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/nodemanager/nodes/nodes.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/notifications/service/server.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/pg_sidecar/service.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/report_manager/report_manager.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/teams/teams.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/user_settings/user_settings.proto + SERVICE_SUFFIX: + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/deployment/deployment.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/event_feed/event_feed.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/gateway/gateway.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/legacy/legacy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/license/license.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/automate-gateway/api/telemetry/telemetry.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/cds/cds.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/cfgmgmt/cfgmgmt.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/data_lifecycle/data_lifecycle.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/introspect.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/policy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/rules.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/teams.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/tokens.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/iam/v2/users.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/infra_proxy/infra_proxy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/ingest/chef.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/ingest/job_scheduler.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/grpc/debug/debug_api/debug.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/data_lifecycle/purge.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/deployment/automate_deployment.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice/notifications/service/server.proto + breaking: + use: + - FILE + except: + - EXTENSION_NO_DELETE + - FIELD_SAME_DEFAULT + - FILE_NO_DELETE + ignore: + - protovendor/github.com/envoyproxy/protoc-gen-validate/config/compliance/config_request.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/config/deployment/automate_config.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/config/deployment/config_request.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/config/es_sidecar/config_request.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/config/postgresql/config_request.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/config/ui/config_request.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/config/workflow_nginx/config_request.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/config/workflow_server/config_request.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/reporting/reporting.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/infra_proxy/infra_proxy.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/infra_proxy/request/nodes.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/infra_proxy/request/roles.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/infra_proxy/response/nodes.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/external/infra_proxy/response/roles.proto + - protovendor/github.com/envoyproxy/protoc-gen-validate/interservice + - protovendor/github.com/envoyproxy/protoc-gen-validate/protovendor/github.com/envoyproxy/protoc-gen-validate/validate/validate.proto + - path: protovendor/github.com/googleapis/googleapis + excludes: + - protovendor/github.com/googleapis/googleapis/google/api/expr + - protovendor/github.com/googleapis/googleapis/google/api/servicecontrol + - protovendor/github.com/googleapis/googleapis/google/api/servicemanagement + lint: + use: + - DEFAULT + except: + - ENUM_FIRST_VALUE_ZERO + - FIELD_NOT_REQUIRED + - IMPORT_USED + - PACKAGE_DIRECTORY_MATCH + - PACKAGE_NO_IMPORT_CYCLE + - PACKAGE_SAME_DIRECTORY + - PACKAGE_VERSION_SUFFIX + - PROTOVALIDATE + - SYNTAX_SPECIFIED + ignore: + - protovendor/github.com/googleapis/googleapis/external/habitat/event.proto + - protovendor/github.com/googleapis/googleapis/gogoproto + - protovendor/github.com/googleapis/googleapis/google + - protovendor/github.com/googleapis/googleapis/grafeas + - protovendor/github.com/googleapis/googleapis/internal + - protovendor/github.com/googleapis/googleapis/protoc-gen-swagger + - protovendor/github.com/googleapis/googleapis/validate + ignore_only: + ENUM_VALUE_PREFIX: + - protovendor/github.com/googleapis/googleapis/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/googleapis/googleapis/external/applications/applications.proto + - protovendor/github.com/googleapis/googleapis/external/common/query/parameters.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/profiles/profiles.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/reporting/reporting.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/scanner/jobs/jobs.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/common/policy.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/common/rules.proto + - protovendor/github.com/googleapis/googleapis/external/nodes/manager/manager.proto + - protovendor/github.com/googleapis/googleapis/external/nodes/nodes.proto + - protovendor/github.com/googleapis/googleapis/external/report_manager/report_manager.proto + - protovendor/github.com/googleapis/googleapis/external/secrets/secrets.proto + - protovendor/github.com/googleapis/googleapis/external/user_settings/user_settings.proto + - protovendor/github.com/googleapis/googleapis/grpc/debug/debug_api/debug.proto + - protovendor/github.com/googleapis/googleapis/interservice/authz/policy.proto + - protovendor/github.com/googleapis/googleapis/interservice/authz/project.proto + - protovendor/github.com/googleapis/googleapis/interservice/authz/type.proto + - protovendor/github.com/googleapis/googleapis/interservice/cfgmgmt/request/parameters.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/jobs/jobs.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/profiles/profiles.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/reporting/reporting.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/stats/stats.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/status/status.proto + - protovendor/github.com/googleapis/googleapis/interservice/deployment/automate_deployment.proto + - protovendor/github.com/googleapis/googleapis/interservice/es_sidecar/service.proto + - protovendor/github.com/googleapis/googleapis/interservice/nodemanager/manager/manager.proto + - protovendor/github.com/googleapis/googleapis/interservice/nodemanager/nodes/nodes.proto + - protovendor/github.com/googleapis/googleapis/interservice/notifications/service/rules.proto + - protovendor/github.com/googleapis/googleapis/interservice/pg_sidecar/service.proto + - protovendor/github.com/googleapis/googleapis/interservice/report_manager/report_manager.proto + - protovendor/github.com/googleapis/googleapis/interservice/user_settings/user_settings.proto + ENUM_VALUE_UPPER_SNAKE_CASE: + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/googleapis/googleapis/interservice/notifications/service/rules.proto + ENUM_ZERO_VALUE_SUFFIX: + - protovendor/github.com/googleapis/googleapis/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/googleapis/googleapis/external/applications/applications.proto + - protovendor/github.com/googleapis/googleapis/external/common/query/parameters.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/profiles/profiles.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/reporting/reporting.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/scanner/jobs/jobs.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/common/policy.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/common/rules.proto + - protovendor/github.com/googleapis/googleapis/external/nodes/manager/manager.proto + - protovendor/github.com/googleapis/googleapis/external/nodes/nodes.proto + - protovendor/github.com/googleapis/googleapis/external/report_manager/report_manager.proto + - protovendor/github.com/googleapis/googleapis/external/secrets/secrets.proto + - protovendor/github.com/googleapis/googleapis/external/user_settings/user_settings.proto + - protovendor/github.com/googleapis/googleapis/grpc/debug/debug_api/debug.proto + - protovendor/github.com/googleapis/googleapis/interservice/authz/policy.proto + - protovendor/github.com/googleapis/googleapis/interservice/authz/project.proto + - protovendor/github.com/googleapis/googleapis/interservice/authz/type.proto + - protovendor/github.com/googleapis/googleapis/interservice/cfgmgmt/request/parameters.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/jobs/jobs.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/profiles/profiles.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/reporting/reporting.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/stats/stats.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/status/status.proto + - protovendor/github.com/googleapis/googleapis/interservice/deployment/automate_deployment.proto + - protovendor/github.com/googleapis/googleapis/interservice/es_sidecar/service.proto + - protovendor/github.com/googleapis/googleapis/interservice/nodemanager/manager/manager.proto + - protovendor/github.com/googleapis/googleapis/interservice/nodemanager/nodes/nodes.proto + - protovendor/github.com/googleapis/googleapis/interservice/notifications/service/events.proto + - protovendor/github.com/googleapis/googleapis/interservice/notifications/service/rules.proto + - protovendor/github.com/googleapis/googleapis/interservice/pg_sidecar/service.proto + - protovendor/github.com/googleapis/googleapis/interservice/report_manager/report_manager.proto + - protovendor/github.com/googleapis/googleapis/interservice/user_settings/user_settings.proto + FIELD_LOWER_SNAKE_CASE: + - protovendor/github.com/googleapis/googleapis/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/googleapis/googleapis/external/infra_proxy/response/policyfiles.proto + - protovendor/github.com/googleapis/googleapis/interservice/notifications/service/events.proto + - protovendor/github.com/googleapis/googleapis/interservice/notifications/service/rules.proto + MESSAGE_PASCAL_CASE: + - protovendor/github.com/googleapis/googleapis/config/dex/config_request.proto + PACKAGE_DEFINED: + - protovendor/github.com/googleapis/googleapis/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + PACKAGE_SAME_GO_PACKAGE: + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/gateway + - protovendor/github.com/googleapis/googleapis/automate-grpc/protoc-gen-a2-config/api/a2conf + - protovendor/github.com/googleapis/googleapis/config + - protovendor/github.com/googleapis/googleapis/external/iam/v2 + - protovendor/github.com/googleapis/googleapis/interservice/authn + - protovendor/github.com/googleapis/googleapis/interservice/authz + - protovendor/github.com/googleapis/googleapis/interservice/cereal + - protovendor/github.com/googleapis/googleapis/interservice/deployment + - protovendor/github.com/googleapis/googleapis/interservice/es_sidecar + - protovendor/github.com/googleapis/googleapis/interservice/ingest + - protovendor/github.com/googleapis/googleapis/interservice/license_control + - protovendor/github.com/googleapis/googleapis/interservice/local_user + - protovendor/github.com/googleapis/googleapis/interservice/pg_sidecar + - protovendor/github.com/googleapis/googleapis/interservice/teams + RPC_REQUEST_RESPONSE_UNIQUE: + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/deployment/deployment.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/event_feed/event_feed.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/gateway/gateway.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/legacy/legacy.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/license/license.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/telemetry/telemetry.proto + - protovendor/github.com/googleapis/googleapis/external/applications/applications.proto + - protovendor/github.com/googleapis/googleapis/external/cds/cds.proto + - protovendor/github.com/googleapis/googleapis/external/cfgmgmt/cfgmgmt.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/profiles/profiles.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/reporting/reporting.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/scanner/jobs/jobs.proto + - protovendor/github.com/googleapis/googleapis/external/data_feed/data_feed.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/introspect.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/policy.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/rules.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/teams.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/tokens.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/users.proto + - protovendor/github.com/googleapis/googleapis/external/infra_proxy/infra_proxy.proto + - protovendor/github.com/googleapis/googleapis/external/ingest/chef.proto + - protovendor/github.com/googleapis/googleapis/external/ingest/job_scheduler.proto + - protovendor/github.com/googleapis/googleapis/external/nodes/manager/manager.proto + - protovendor/github.com/googleapis/googleapis/external/nodes/nodes.proto + - protovendor/github.com/googleapis/googleapis/external/report_manager/report_manager.proto + - protovendor/github.com/googleapis/googleapis/external/secrets/secrets.proto + - protovendor/github.com/googleapis/googleapis/external/user_settings/user_settings.proto + - protovendor/github.com/googleapis/googleapis/grpc/debug/debug_api/debug.proto + - protovendor/github.com/googleapis/googleapis/interservice/authn/tokens.proto + - protovendor/github.com/googleapis/googleapis/interservice/authz/authz.proto + - protovendor/github.com/googleapis/googleapis/interservice/authz/policy.proto + - protovendor/github.com/googleapis/googleapis/interservice/authz/project.proto + - protovendor/github.com/googleapis/googleapis/interservice/cds/service/cds.proto + - protovendor/github.com/googleapis/googleapis/interservice/cfgmgmt/service/cfgmgmt.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/ingest/ingest/compliance.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/jobs/jobs.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/profiles/profiles.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/reporting/reporting.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/stats/stats.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/status/status.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/version/version.proto + - protovendor/github.com/googleapis/googleapis/interservice/deployment/automate_deployment.proto + - protovendor/github.com/googleapis/googleapis/interservice/deployment/certificate_authority.proto + - protovendor/github.com/googleapis/googleapis/interservice/es_sidecar/service.proto + - protovendor/github.com/googleapis/googleapis/interservice/event_feed/event_feed.proto + - protovendor/github.com/googleapis/googleapis/interservice/infra_proxy/service/infra_proxy.proto + - protovendor/github.com/googleapis/googleapis/interservice/ingest/automate_event.proto + - protovendor/github.com/googleapis/googleapis/interservice/ingest/chef.proto + - protovendor/github.com/googleapis/googleapis/interservice/ingest/job_scheduler.proto + - protovendor/github.com/googleapis/googleapis/interservice/ingest/status.proto + - protovendor/github.com/googleapis/googleapis/interservice/local_user/users.proto + - protovendor/github.com/googleapis/googleapis/interservice/nodemanager/manager/manager.proto + - protovendor/github.com/googleapis/googleapis/interservice/nodemanager/nodes/nodes.proto + - protovendor/github.com/googleapis/googleapis/interservice/notifications/service/server.proto + - protovendor/github.com/googleapis/googleapis/interservice/pg_sidecar/service.proto + - protovendor/github.com/googleapis/googleapis/interservice/report_manager/report_manager.proto + - protovendor/github.com/googleapis/googleapis/interservice/teams/teams.proto + - protovendor/github.com/googleapis/googleapis/interservice/user_settings/user_settings.proto + RPC_REQUEST_STANDARD_NAME: + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/deployment/deployment.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/event_feed/event_feed.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/gateway/gateway.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/legacy/legacy.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/license/license.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/telemetry/telemetry.proto + - protovendor/github.com/googleapis/googleapis/external/applications/applications.proto + - protovendor/github.com/googleapis/googleapis/external/cds/cds.proto + - protovendor/github.com/googleapis/googleapis/external/cfgmgmt/cfgmgmt.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/profiles/profiles.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/reporting/reporting.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/scanner/jobs/jobs.proto + - protovendor/github.com/googleapis/googleapis/external/data_feed/data_feed.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/introspect.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/policy.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/rules.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/teams.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/tokens.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/users.proto + - protovendor/github.com/googleapis/googleapis/external/infra_proxy/infra_proxy.proto + - protovendor/github.com/googleapis/googleapis/external/ingest/chef.proto + - protovendor/github.com/googleapis/googleapis/external/ingest/job_scheduler.proto + - protovendor/github.com/googleapis/googleapis/external/nodes/manager/manager.proto + - protovendor/github.com/googleapis/googleapis/external/nodes/nodes.proto + - protovendor/github.com/googleapis/googleapis/external/report_manager/report_manager.proto + - protovendor/github.com/googleapis/googleapis/external/secrets/secrets.proto + - protovendor/github.com/googleapis/googleapis/external/user_settings/user_settings.proto + - protovendor/github.com/googleapis/googleapis/grpc/debug/debug_api/debug.proto + - protovendor/github.com/googleapis/googleapis/interservice/authn/tokens.proto + - protovendor/github.com/googleapis/googleapis/interservice/authz/authz.proto + - protovendor/github.com/googleapis/googleapis/interservice/authz/policy.proto + - protovendor/github.com/googleapis/googleapis/interservice/authz/project.proto + - protovendor/github.com/googleapis/googleapis/interservice/cds/service/cds.proto + - protovendor/github.com/googleapis/googleapis/interservice/cfgmgmt/service/cfgmgmt.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/ingest/ingest/compliance.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/jobs/jobs.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/profiles/profiles.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/reporting/reporting.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/stats/stats.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/status/status.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/version/version.proto + - protovendor/github.com/googleapis/googleapis/interservice/deployment/automate_deployment.proto + - protovendor/github.com/googleapis/googleapis/interservice/deployment/certificate_authority.proto + - protovendor/github.com/googleapis/googleapis/interservice/es_sidecar/service.proto + - protovendor/github.com/googleapis/googleapis/interservice/event_feed/event_feed.proto + - protovendor/github.com/googleapis/googleapis/interservice/id_token/id_token.proto + - protovendor/github.com/googleapis/googleapis/interservice/infra_proxy/service/infra_proxy.proto + - protovendor/github.com/googleapis/googleapis/interservice/ingest/automate_event.proto + - protovendor/github.com/googleapis/googleapis/interservice/ingest/chef.proto + - protovendor/github.com/googleapis/googleapis/interservice/ingest/job_scheduler.proto + - protovendor/github.com/googleapis/googleapis/interservice/ingest/status.proto + - protovendor/github.com/googleapis/googleapis/interservice/local_user/users.proto + - protovendor/github.com/googleapis/googleapis/interservice/nodemanager/manager/manager.proto + - protovendor/github.com/googleapis/googleapis/interservice/nodemanager/nodes/nodes.proto + - protovendor/github.com/googleapis/googleapis/interservice/notifications/service/server.proto + - protovendor/github.com/googleapis/googleapis/interservice/pg_sidecar/service.proto + - protovendor/github.com/googleapis/googleapis/interservice/report_manager/report_manager.proto + - protovendor/github.com/googleapis/googleapis/interservice/teams/teams.proto + - protovendor/github.com/googleapis/googleapis/interservice/user_settings/user_settings.proto + RPC_RESPONSE_STANDARD_NAME: + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/deployment/deployment.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/event_feed/event_feed.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/gateway/gateway.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/legacy/legacy.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/license/license.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/telemetry/telemetry.proto + - protovendor/github.com/googleapis/googleapis/external/applications/applications.proto + - protovendor/github.com/googleapis/googleapis/external/cds/cds.proto + - protovendor/github.com/googleapis/googleapis/external/cfgmgmt/cfgmgmt.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/profiles/profiles.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/reporting/reporting.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/scanner/jobs/jobs.proto + - protovendor/github.com/googleapis/googleapis/external/data_feed/data_feed.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/introspect.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/policy.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/rules.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/teams.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/tokens.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/users.proto + - protovendor/github.com/googleapis/googleapis/external/infra_proxy/infra_proxy.proto + - protovendor/github.com/googleapis/googleapis/external/ingest/chef.proto + - protovendor/github.com/googleapis/googleapis/external/ingest/job_scheduler.proto + - protovendor/github.com/googleapis/googleapis/external/nodes/manager/manager.proto + - protovendor/github.com/googleapis/googleapis/external/nodes/nodes.proto + - protovendor/github.com/googleapis/googleapis/external/report_manager/report_manager.proto + - protovendor/github.com/googleapis/googleapis/external/secrets/secrets.proto + - protovendor/github.com/googleapis/googleapis/external/user_settings/user_settings.proto + - protovendor/github.com/googleapis/googleapis/grpc/debug/debug_api/debug.proto + - protovendor/github.com/googleapis/googleapis/interservice/authn/tokens.proto + - protovendor/github.com/googleapis/googleapis/interservice/authz/authz.proto + - protovendor/github.com/googleapis/googleapis/interservice/authz/policy.proto + - protovendor/github.com/googleapis/googleapis/interservice/authz/project.proto + - protovendor/github.com/googleapis/googleapis/interservice/cds/service/cds.proto + - protovendor/github.com/googleapis/googleapis/interservice/cfgmgmt/service/cfgmgmt.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/ingest/ingest/compliance.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/jobs/jobs.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/profiles/profiles.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/reporting/reporting.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/stats/stats.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/status/status.proto + - protovendor/github.com/googleapis/googleapis/interservice/compliance/version/version.proto + - protovendor/github.com/googleapis/googleapis/interservice/deployment/automate_deployment.proto + - protovendor/github.com/googleapis/googleapis/interservice/deployment/certificate_authority.proto + - protovendor/github.com/googleapis/googleapis/interservice/es_sidecar/service.proto + - protovendor/github.com/googleapis/googleapis/interservice/event_feed/event_feed.proto + - protovendor/github.com/googleapis/googleapis/interservice/infra_proxy/service/infra_proxy.proto + - protovendor/github.com/googleapis/googleapis/interservice/ingest/automate_event.proto + - protovendor/github.com/googleapis/googleapis/interservice/ingest/chef.proto + - protovendor/github.com/googleapis/googleapis/interservice/ingest/job_scheduler.proto + - protovendor/github.com/googleapis/googleapis/interservice/ingest/status.proto + - protovendor/github.com/googleapis/googleapis/interservice/local_user/users.proto + - protovendor/github.com/googleapis/googleapis/interservice/nodemanager/manager/manager.proto + - protovendor/github.com/googleapis/googleapis/interservice/nodemanager/nodes/nodes.proto + - protovendor/github.com/googleapis/googleapis/interservice/notifications/service/server.proto + - protovendor/github.com/googleapis/googleapis/interservice/pg_sidecar/service.proto + - protovendor/github.com/googleapis/googleapis/interservice/report_manager/report_manager.proto + - protovendor/github.com/googleapis/googleapis/interservice/teams/teams.proto + - protovendor/github.com/googleapis/googleapis/interservice/user_settings/user_settings.proto + SERVICE_SUFFIX: + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/deployment/deployment.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/event_feed/event_feed.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/gateway/gateway.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/legacy/legacy.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/license/license.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/googleapis/googleapis/automate-gateway/api/telemetry/telemetry.proto + - protovendor/github.com/googleapis/googleapis/external/cds/cds.proto + - protovendor/github.com/googleapis/googleapis/external/cfgmgmt/cfgmgmt.proto + - protovendor/github.com/googleapis/googleapis/external/data_lifecycle/data_lifecycle.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/introspect.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/policy.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/rules.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/teams.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/tokens.proto + - protovendor/github.com/googleapis/googleapis/external/iam/v2/users.proto + - protovendor/github.com/googleapis/googleapis/external/infra_proxy/infra_proxy.proto + - protovendor/github.com/googleapis/googleapis/external/ingest/chef.proto + - protovendor/github.com/googleapis/googleapis/external/ingest/job_scheduler.proto + - protovendor/github.com/googleapis/googleapis/grpc/debug/debug_api/debug.proto + - protovendor/github.com/googleapis/googleapis/interservice/data_lifecycle/purge.proto + - protovendor/github.com/googleapis/googleapis/interservice/deployment/automate_deployment.proto + - protovendor/github.com/googleapis/googleapis/interservice/notifications/service/server.proto + breaking: + use: + - FILE + except: + - EXTENSION_NO_DELETE + - FIELD_SAME_DEFAULT + - FILE_NO_DELETE + ignore: + - protovendor/github.com/googleapis/googleapis/config/compliance/config_request.proto + - protovendor/github.com/googleapis/googleapis/config/deployment/automate_config.proto + - protovendor/github.com/googleapis/googleapis/config/deployment/config_request.proto + - protovendor/github.com/googleapis/googleapis/config/es_sidecar/config_request.proto + - protovendor/github.com/googleapis/googleapis/config/postgresql/config_request.proto + - protovendor/github.com/googleapis/googleapis/config/ui/config_request.proto + - protovendor/github.com/googleapis/googleapis/config/workflow_nginx/config_request.proto + - protovendor/github.com/googleapis/googleapis/config/workflow_server/config_request.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/reporting/reporting.proto + - protovendor/github.com/googleapis/googleapis/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/googleapis/googleapis/external/infra_proxy/infra_proxy.proto + - protovendor/github.com/googleapis/googleapis/external/infra_proxy/request/nodes.proto + - protovendor/github.com/googleapis/googleapis/external/infra_proxy/request/roles.proto + - protovendor/github.com/googleapis/googleapis/external/infra_proxy/response/nodes.proto + - protovendor/github.com/googleapis/googleapis/external/infra_proxy/response/roles.proto + - protovendor/github.com/googleapis/googleapis/interservice + - protovendor/github.com/googleapis/googleapis/protovendor/github.com/envoyproxy/protoc-gen-validate/validate/validate.proto + - path: protovendor/github.com/grpc-ecosystem/grpc-gateway + excludes: + - protovendor/github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb + - protovendor/github.com/grpc-ecosystem/grpc-gateway/third_party + lint: + use: + - DEFAULT + except: + - ENUM_FIRST_VALUE_ZERO + - FIELD_NOT_REQUIRED + - IMPORT_USED + - PACKAGE_DIRECTORY_MATCH + - PACKAGE_NO_IMPORT_CYCLE + - PACKAGE_SAME_DIRECTORY + - PACKAGE_VERSION_SUFFIX + - PROTOVALIDATE + - SYNTAX_SPECIFIED + ignore: + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/habitat/event.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/gogoproto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/google + - protovendor/github.com/grpc-ecosystem/grpc-gateway/grafeas + - protovendor/github.com/grpc-ecosystem/grpc-gateway/internal + - protovendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger + - protovendor/github.com/grpc-ecosystem/grpc-gateway/validate + ignore_only: + ENUM_VALUE_PREFIX: + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/applications/applications.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/common/query/parameters.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/profiles/profiles.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/reporting/reporting.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/scanner/jobs/jobs.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/common/policy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/common/rules.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/nodes/manager/manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/nodes/nodes.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/report_manager/report_manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/secrets/secrets.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/user_settings/user_settings.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/grpc/debug/debug_api/debug.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authz/policy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authz/project.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authz/type.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/cfgmgmt/request/parameters.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/jobs/jobs.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/profiles/profiles.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/reporting/reporting.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/stats/stats.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/status/status.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/deployment/automate_deployment.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/es_sidecar/service.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/nodemanager/manager/manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/nodemanager/nodes/nodes.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/notifications/service/rules.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/pg_sidecar/service.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/report_manager/report_manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/user_settings/user_settings.proto + ENUM_VALUE_UPPER_SNAKE_CASE: + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/notifications/service/rules.proto + ENUM_ZERO_VALUE_SUFFIX: + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/applications/applications.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/common/query/parameters.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/profiles/profiles.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/reporting/reporting.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/scanner/jobs/jobs.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/common/policy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/common/rules.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/nodes/manager/manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/nodes/nodes.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/report_manager/report_manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/secrets/secrets.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/user_settings/user_settings.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/grpc/debug/debug_api/debug.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authz/policy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authz/project.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authz/type.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/cfgmgmt/request/parameters.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/jobs/jobs.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/profiles/profiles.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/reporting/reporting.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/stats/stats.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/status/status.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/deployment/automate_deployment.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/es_sidecar/service.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/nodemanager/manager/manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/nodemanager/nodes/nodes.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/notifications/service/events.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/notifications/service/rules.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/pg_sidecar/service.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/report_manager/report_manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/user_settings/user_settings.proto + FIELD_LOWER_SNAKE_CASE: + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/infra_proxy/response/policyfiles.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/notifications/service/events.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/notifications/service/rules.proto + MESSAGE_PASCAL_CASE: + - protovendor/github.com/grpc-ecosystem/grpc-gateway/config/dex/config_request.proto + PACKAGE_DEFINED: + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto + PACKAGE_SAME_GO_PACKAGE: + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/gateway + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-grpc/protoc-gen-a2-config/api/a2conf + - protovendor/github.com/grpc-ecosystem/grpc-gateway/config + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2 + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authn + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authz + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/cereal + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/deployment + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/es_sidecar + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/ingest + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/license_control + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/local_user + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/pg_sidecar + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/teams + RPC_REQUEST_RESPONSE_UNIQUE: + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/deployment/deployment.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/event_feed/event_feed.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/gateway/gateway.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/legacy/legacy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/license/license.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/telemetry/telemetry.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/applications/applications.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/cds/cds.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/cfgmgmt/cfgmgmt.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/profiles/profiles.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/reporting/reporting.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/scanner/jobs/jobs.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/data_feed/data_feed.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/introspect.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/policy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/rules.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/teams.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/tokens.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/users.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/infra_proxy/infra_proxy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/ingest/chef.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/ingest/job_scheduler.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/nodes/manager/manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/nodes/nodes.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/report_manager/report_manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/secrets/secrets.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/user_settings/user_settings.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/grpc/debug/debug_api/debug.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authn/tokens.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authz/authz.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authz/policy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authz/project.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/cds/service/cds.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/cfgmgmt/service/cfgmgmt.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/ingest/ingest/compliance.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/jobs/jobs.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/profiles/profiles.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/reporting/reporting.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/stats/stats.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/status/status.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/version/version.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/deployment/automate_deployment.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/deployment/certificate_authority.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/es_sidecar/service.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/event_feed/event_feed.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/infra_proxy/service/infra_proxy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/ingest/automate_event.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/ingest/chef.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/ingest/job_scheduler.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/ingest/status.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/local_user/users.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/nodemanager/manager/manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/nodemanager/nodes/nodes.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/notifications/service/server.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/pg_sidecar/service.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/report_manager/report_manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/teams/teams.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/user_settings/user_settings.proto + RPC_REQUEST_STANDARD_NAME: + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/deployment/deployment.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/event_feed/event_feed.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/gateway/gateway.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/legacy/legacy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/license/license.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/telemetry/telemetry.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/applications/applications.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/cds/cds.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/cfgmgmt/cfgmgmt.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/profiles/profiles.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/reporting/reporting.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/scanner/jobs/jobs.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/data_feed/data_feed.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/introspect.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/policy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/rules.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/teams.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/tokens.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/users.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/infra_proxy/infra_proxy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/ingest/chef.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/ingest/job_scheduler.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/nodes/manager/manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/nodes/nodes.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/report_manager/report_manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/secrets/secrets.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/user_settings/user_settings.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/grpc/debug/debug_api/debug.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authn/tokens.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authz/authz.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authz/policy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authz/project.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/cds/service/cds.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/cfgmgmt/service/cfgmgmt.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/ingest/ingest/compliance.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/jobs/jobs.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/profiles/profiles.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/reporting/reporting.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/stats/stats.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/status/status.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/version/version.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/deployment/automate_deployment.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/deployment/certificate_authority.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/es_sidecar/service.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/event_feed/event_feed.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/id_token/id_token.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/infra_proxy/service/infra_proxy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/ingest/automate_event.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/ingest/chef.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/ingest/job_scheduler.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/ingest/status.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/local_user/users.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/nodemanager/manager/manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/nodemanager/nodes/nodes.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/notifications/service/server.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/pg_sidecar/service.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/report_manager/report_manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/teams/teams.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/user_settings/user_settings.proto + RPC_RESPONSE_STANDARD_NAME: + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/deployment/deployment.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/event_feed/event_feed.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/gateway/gateway.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/legacy/legacy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/license/license.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/telemetry/telemetry.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/applications/applications.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/cds/cds.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/cfgmgmt/cfgmgmt.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/profiles/profiles.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/reporting/reporting.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/scanner/jobs/jobs.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/data_feed/data_feed.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/introspect.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/policy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/rules.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/teams.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/tokens.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/users.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/infra_proxy/infra_proxy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/ingest/chef.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/ingest/job_scheduler.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/nodes/manager/manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/nodes/nodes.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/report_manager/report_manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/secrets/secrets.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/user_settings/user_settings.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/grpc/debug/debug_api/debug.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authn/tokens.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authz/authz.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authz/policy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/authz/project.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/cds/service/cds.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/cfgmgmt/service/cfgmgmt.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/ingest/ingest/compliance.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/jobs/jobs.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/profiles/profiles.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/reporting/reporting.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/stats/stats.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/status/status.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/compliance/version/version.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/deployment/automate_deployment.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/deployment/certificate_authority.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/es_sidecar/service.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/event_feed/event_feed.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/infra_proxy/service/infra_proxy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/ingest/automate_event.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/ingest/chef.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/ingest/job_scheduler.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/ingest/status.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/local_user/users.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/nodemanager/manager/manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/nodemanager/nodes/nodes.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/notifications/service/server.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/pg_sidecar/service.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/report_manager/report_manager.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/teams/teams.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/user_settings/user_settings.proto + SERVICE_SUFFIX: + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/deployment/deployment.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/event_feed/event_feed.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/gateway/gateway.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/legacy/legacy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/license/license.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/notifications/notifications.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/automate-gateway/api/telemetry/telemetry.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/cds/cds.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/cfgmgmt/cfgmgmt.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/data_lifecycle/data_lifecycle.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/introspect.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/policy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/rules.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/teams.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/tokens.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/iam/v2/users.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/infra_proxy/infra_proxy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/ingest/chef.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/ingest/job_scheduler.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/grpc/debug/debug_api/debug.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/data_lifecycle/purge.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/deployment/automate_deployment.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice/notifications/service/server.proto + breaking: + use: + - FILE + except: + - EXTENSION_NO_DELETE + - FIELD_SAME_DEFAULT + - FILE_NO_DELETE + ignore: + - protovendor/github.com/grpc-ecosystem/grpc-gateway/config/compliance/config_request.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/config/deployment/automate_config.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/config/deployment/config_request.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/config/es_sidecar/config_request.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/config/postgresql/config_request.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/config/ui/config_request.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/config/workflow_nginx/config_request.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/config/workflow_server/config_request.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/reporting/reporting.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/compliance/reporting/stats/stats.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/infra_proxy/infra_proxy.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/infra_proxy/request/nodes.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/infra_proxy/request/roles.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/infra_proxy/response/nodes.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/external/infra_proxy/response/roles.proto + - protovendor/github.com/grpc-ecosystem/grpc-gateway/interservice + - protovendor/github.com/grpc-ecosystem/grpc-gateway/protovendor/github.com/envoyproxy/protoc-gen-validate/validate/validate.proto +# - path: vendor/buf.build/go/protoyaml/internal/proto +# lint: +# disallow_comment_ignores: true +# - path: vendor/connectrpc.com/otelconnect/internal/proto +# lint: +# disallow_comment_ignores: true diff --git a/components/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.pb.go b/components/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.pb.go index 1877dff0ecc..c1579ce2e46 100644 --- a/components/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.pb.go +++ b/components/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: components/automate-deployment/pkg/persistence/boltdb/internal/v1/schema/v1.proto @@ -120,25 +120,22 @@ func (Service_InstallType) EnumDescriptor() ([]byte, []int) { } type Deployment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" toml:"created_at,omitempty" mapstructure:"created_at,omitempty"` LastAction string `protobuf:"bytes,3,opt,name=last_action,json=lastAction,proto3" json:"last_action,omitempty" toml:"last_action,omitempty" mapstructure:"last_action,omitempty"` Deployed bool `protobuf:"varint,4,opt,name=deployed,proto3" json:"deployed,omitempty" toml:"deployed,omitempty" mapstructure:"deployed,omitempty"` Services []*Service `protobuf:"bytes,5,rep,name=services,proto3" json:"services,omitempty" toml:"services,omitempty" mapstructure:"services,omitempty"` CurrentReleaseManifest *ReleaseManifest `protobuf:"bytes,6,opt,name=current_release_manifest,json=currentReleaseManifest,proto3" json:"current_release_manifest,omitempty" toml:"current_release_manifest,omitempty" mapstructure:"current_release_manifest,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Deployment) Reset() { *x = Deployment{} - if protoimpl.UnsafeEnabled { - mi := &file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Deployment) String() string { @@ -149,7 +146,7 @@ func (*Deployment) ProtoMessage() {} func (x *Deployment) ProtoReflect() protoreflect.Message { mi := &file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -207,23 +204,20 @@ func (x *Deployment) GetCurrentReleaseManifest() *ReleaseManifest { } type ReleaseManifest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Build string `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty" toml:"build,omitempty" mapstructure:"build,omitempty"` + BuildSHA string `protobuf:"bytes,2,opt,name=buildSHA,proto3" json:"buildSHA,omitempty" toml:"buildSHA,omitempty" mapstructure:"buildSHA,omitempty"` + Packages []string `protobuf:"bytes,3,rep,name=packages,proto3" json:"packages,omitempty" toml:"packages,omitempty" mapstructure:"packages,omitempty"` + Harts []*Hart `protobuf:"bytes,4,rep,name=harts,proto3" json:"harts,omitempty" toml:"harts,omitempty" mapstructure:"harts,omitempty"` unknownFields protoimpl.UnknownFields - - Build string `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty" toml:"build,omitempty" mapstructure:"build,omitempty"` - BuildSHA string `protobuf:"bytes,2,opt,name=buildSHA,proto3" json:"buildSHA,omitempty" toml:"buildSHA,omitempty" mapstructure:"buildSHA,omitempty"` - Packages []string `protobuf:"bytes,3,rep,name=packages,proto3" json:"packages,omitempty" toml:"packages,omitempty" mapstructure:"packages,omitempty"` - Harts []*Hart `protobuf:"bytes,4,rep,name=harts,proto3" json:"harts,omitempty" toml:"harts,omitempty" mapstructure:"harts,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReleaseManifest) Reset() { *x = ReleaseManifest{} - if protoimpl.UnsafeEnabled { - mi := &file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReleaseManifest) String() string { @@ -234,7 +228,7 @@ func (*ReleaseManifest) ProtoMessage() {} func (x *ReleaseManifest) ProtoReflect() protoreflect.Message { mi := &file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -278,22 +272,19 @@ func (x *ReleaseManifest) GetHarts() []*Hart { } type Hart struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty" toml:"origin,omitempty" mapstructure:"origin,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` + Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"` unknownFields protoimpl.UnknownFields - - Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty" toml:"origin,omitempty" mapstructure:"origin,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` - Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Hart) Reset() { *x = Hart{} - if protoimpl.UnsafeEnabled { - mi := &file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Hart) String() string { @@ -304,7 +295,7 @@ func (*Hart) ProtoMessage() {} func (x *Hart) ProtoReflect() protoreflect.Message { mi := &file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -341,10 +332,7 @@ func (x *Hart) GetPath() string { } type Service struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty" toml:"origin,omitempty" mapstructure:"origin,omitempty"` OriginalOrigin string `protobuf:"bytes,2,opt,name=original_origin,json=originalOrigin,proto3" json:"original_origin,omitempty" toml:"original_origin,omitempty" mapstructure:"original_origin,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` @@ -353,15 +341,15 @@ type Service struct { DeploymentState Service_DeploymentState `protobuf:"varint,8,opt,name=deployment_state,json=deploymentState,proto3,enum=Service_DeploymentState" json:"deployment_state,omitempty" toml:"deployment_state,omitempty" mapstructure:"deployment_state,omitempty"` SslKey string `protobuf:"bytes,9,opt,name=ssl_key,json=sslKey,proto3" json:"ssl_key,omitempty" toml:"ssl_key,omitempty" mapstructure:"ssl_key,omitempty"` SslCert string `protobuf:"bytes,10,opt,name=ssl_cert,json=sslCert,proto3" json:"ssl_cert,omitempty" toml:"ssl_cert,omitempty" mapstructure:"ssl_cert,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Service) Reset() { *x = Service{} - if protoimpl.UnsafeEnabled { - mi := &file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Service) String() string { @@ -372,7 +360,7 @@ func (*Service) ProtoMessage() {} func (x *Service) ProtoReflect() protoreflect.Message { mi := &file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -532,7 +520,7 @@ func file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_sche var file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_goTypes = []interface{}{ +var file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_goTypes = []any{ (Service_DeploymentState)(0), // 0: Service.DeploymentState (Service_InstallType)(0), // 1: Service.InstallType (*Deployment)(nil), // 2: Deployment @@ -562,56 +550,6 @@ func file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_sche if File_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Deployment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReleaseManifest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Hart); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_components_automate_deployment_pkg_persistence_boltdb_internal_v1_schema_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Service); 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{ diff --git a/components/automate-gateway/api/deployment/deployment.pb.go b/components/automate-gateway/api/deployment/deployment.pb.go index a2de6d3f3b9..a84b4cb62c3 100644 --- a/components/automate-gateway/api/deployment/deployment.pb.go +++ b/components/automate-gateway/api/deployment/deployment.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: automate-gateway/api/deployment/deployment.proto @@ -32,20 +32,17 @@ const ( // The manifest version constructed with: // * build_timestamp type Version struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BuildTimestamp string `protobuf:"bytes,1,opt,name=build_timestamp,json=buildTimestamp,proto3" json:"build_timestamp,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + BuildTimestamp string `protobuf:"bytes,1,opt,name=build_timestamp,json=buildTimestamp,proto3" json:"build_timestamp,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Version) Reset() { *x = Version{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_deployment_deployment_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_deployment_deployment_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Version) String() string { @@ -56,7 +53,7 @@ func (*Version) ProtoMessage() {} func (x *Version) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_deployment_deployment_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -79,18 +76,16 @@ func (x *Version) GetBuildTimestamp() string { } type ServiceVersionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServiceVersionsRequest) Reset() { *x = ServiceVersionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_deployment_deployment_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_deployment_deployment_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceVersionsRequest) String() string { @@ -101,7 +96,7 @@ func (*ServiceVersionsRequest) ProtoMessage() {} func (x *ServiceVersionsRequest) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_deployment_deployment_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -117,20 +112,17 @@ func (*ServiceVersionsRequest) Descriptor() ([]byte, []int) { } type ServiceVersionsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Services []*ServiceVersion `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` unknownFields protoimpl.UnknownFields - - Services []*ServiceVersion `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ServiceVersionsResponse) Reset() { *x = ServiceVersionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_deployment_deployment_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_deployment_deployment_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceVersionsResponse) String() string { @@ -141,7 +133,7 @@ func (*ServiceVersionsResponse) ProtoMessage() {} func (x *ServiceVersionsResponse) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_deployment_deployment_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -164,23 +156,20 @@ func (x *ServiceVersionsResponse) GetServices() []*ServiceVersion { } type ServiceVersion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Origin string `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + Release string `protobuf:"bytes,4,opt,name=release,proto3" json:"release,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Origin string `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - Release string `protobuf:"bytes,4,opt,name=release,proto3" json:"release,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ServiceVersion) Reset() { *x = ServiceVersion{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_deployment_deployment_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_deployment_deployment_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceVersion) String() string { @@ -191,7 +180,7 @@ func (*ServiceVersion) ProtoMessage() {} func (x *ServiceVersion) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_deployment_deployment_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -312,7 +301,7 @@ func file_automate_gateway_api_deployment_deployment_proto_rawDescGZIP() []byte } var file_automate_gateway_api_deployment_deployment_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_automate_gateway_api_deployment_deployment_proto_goTypes = []interface{}{ +var file_automate_gateway_api_deployment_deployment_proto_goTypes = []any{ (*Version)(nil), // 0: chef.automate.api.deployment.Version (*ServiceVersionsRequest)(nil), // 1: chef.automate.api.deployment.ServiceVersionsRequest (*ServiceVersionsResponse)(nil), // 2: chef.automate.api.deployment.ServiceVersionsResponse @@ -337,56 +326,6 @@ func file_automate_gateway_api_deployment_deployment_proto_init() { if File_automate_gateway_api_deployment_deployment_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_automate_gateway_api_deployment_deployment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Version); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_deployment_deployment_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceVersionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_deployment_deployment_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceVersionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_deployment_deployment_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceVersion); 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{ diff --git a/components/automate-gateway/api/gateway/gateway.pb.go b/components/automate-gateway/api/gateway/gateway.pb.go index 6776ae0d148..d08a0c1d62b 100644 --- a/components/automate-gateway/api/gateway/gateway.pb.go +++ b/components/automate-gateway/api/gateway/gateway.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: automate-gateway/api/gateway/gateway.proto @@ -35,23 +35,20 @@ const ( // * Semantic version // * Git SHA type Version struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Built string `protobuf:"bytes,1,opt,name=built,proto3" json:"built,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Sha string `protobuf:"bytes,4,opt,name=sha,proto3" json:"sha,omitempty"` unknownFields protoimpl.UnknownFields - - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Built string `protobuf:"bytes,1,opt,name=built,proto3" json:"built,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Sha string `protobuf:"bytes,4,opt,name=sha,proto3" json:"sha,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Version) Reset() { *x = Version{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_gateway_gateway_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_gateway_gateway_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Version) String() string { @@ -62,7 +59,7 @@ func (*Version) ProtoMessage() {} func (x *Version) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_gateway_gateway_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -116,20 +113,17 @@ func (x *Version) GetSha() string { // // @afiune: Here we can add more health information to the response type Health struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Health) Reset() { *x = Health{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_gateway_gateway_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_gateway_gateway_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Health) String() string { @@ -140,7 +134,7 @@ func (*Health) ProtoMessage() {} func (x *Health) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_gateway_gateway_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -223,7 +217,7 @@ func file_automate_gateway_api_gateway_gateway_proto_rawDescGZIP() []byte { } var file_automate_gateway_api_gateway_gateway_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_automate_gateway_api_gateway_gateway_proto_goTypes = []interface{}{ +var file_automate_gateway_api_gateway_gateway_proto_goTypes = []any{ (*Version)(nil), // 0: chef.automate.api.Version (*Health)(nil), // 1: chef.automate.api.Health (*emptypb.Empty)(nil), // 2: google.protobuf.Empty @@ -245,32 +239,6 @@ func file_automate_gateway_api_gateway_gateway_proto_init() { if File_automate_gateway_api_gateway_gateway_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_automate_gateway_api_gateway_gateway_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Version); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_gateway_gateway_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Health); 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{ diff --git a/components/automate-gateway/api/legacy/legacy.pb.go b/components/automate-gateway/api/legacy/legacy.pb.go index b94f697cfb6..175c98c3308 100644 --- a/components/automate-gateway/api/legacy/legacy.pb.go +++ b/components/automate-gateway/api/legacy/legacy.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: automate-gateway/api/legacy/legacy.proto @@ -28,20 +28,17 @@ const ( ) type StatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StatusResponse) Reset() { *x = StatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_legacy_legacy_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_legacy_legacy_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StatusResponse) String() string { @@ -52,7 +49,7 @@ func (*StatusResponse) ProtoMessage() {} func (x *StatusResponse) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_legacy_legacy_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -122,7 +119,7 @@ func file_automate_gateway_api_legacy_legacy_proto_rawDescGZIP() []byte { } var file_automate_gateway_api_legacy_legacy_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_automate_gateway_api_legacy_legacy_proto_goTypes = []interface{}{ +var file_automate_gateway_api_legacy_legacy_proto_goTypes = []any{ (*StatusResponse)(nil), // 0: chef.automate.api.legacy.StatusResponse (*emptypb.Empty)(nil), // 1: google.protobuf.Empty } @@ -141,20 +138,6 @@ func file_automate_gateway_api_legacy_legacy_proto_init() { if File_automate_gateway_api_legacy_legacy_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_automate_gateway_api_legacy_legacy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StatusResponse); 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{ diff --git a/components/automate-gateway/api/license/license.pb.go b/components/automate-gateway/api/license/license.pb.go index c7c702bebe2..abdd0d3d646 100644 --- a/components/automate-gateway/api/license/license.pb.go +++ b/components/automate-gateway/api/license/license.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: automate-gateway/api/license/license.proto @@ -28,20 +28,17 @@ const ( ) type ApplyLicenseReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + License string `protobuf:"bytes,1,opt,name=license,proto3" json:"license,omitempty"` unknownFields protoimpl.UnknownFields - - License string `protobuf:"bytes,1,opt,name=license,proto3" json:"license,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ApplyLicenseReq) Reset() { *x = ApplyLicenseReq{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_license_license_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_license_license_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApplyLicenseReq) String() string { @@ -52,7 +49,7 @@ func (*ApplyLicenseReq) ProtoMessage() {} func (x *ApplyLicenseReq) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_license_license_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -75,20 +72,17 @@ func (x *ApplyLicenseReq) GetLicense() string { } type ApplyLicenseResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status *GetStatusResp `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Status *GetStatusResp `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ApplyLicenseResp) Reset() { *x = ApplyLicenseResp{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_license_license_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_license_license_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApplyLicenseResp) String() string { @@ -99,7 +93,7 @@ func (*ApplyLicenseResp) ProtoMessage() {} func (x *ApplyLicenseResp) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_license_license_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -122,18 +116,16 @@ func (x *ApplyLicenseResp) GetStatus() *GetStatusResp { } type GetStatusReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetStatusReq) Reset() { *x = GetStatusReq{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_license_license_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_license_license_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetStatusReq) String() string { @@ -144,7 +136,7 @@ func (*GetStatusReq) ProtoMessage() {} func (x *GetStatusReq) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_license_license_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -160,25 +152,22 @@ func (*GetStatusReq) Descriptor() ([]byte, []int) { } type GetStatusResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` LicenseId string `protobuf:"bytes,1,opt,name=license_id,json=licenseId,proto3" json:"license_id,omitempty"` ConfiguredAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=configured_at,json=configuredAt,proto3" json:"configured_at,omitempty"` LicensedPeriod *GetStatusResp_DateRange `protobuf:"bytes,3,opt,name=licensed_period,json=licensedPeriod,proto3" json:"licensed_period,omitempty"` CustomerName string `protobuf:"bytes,4,opt,name=customer_name,json=customerName,proto3" json:"customer_name,omitempty"` GracePeriod bool `protobuf:"varint,5,opt,name=grace_period,json=gracePeriod,proto3" json:"grace_period,omitempty"` LicenseType string `protobuf:"bytes,6,opt,name=license_type,json=licenseType,proto3" json:"license_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetStatusResp) Reset() { *x = GetStatusResp{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_license_license_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_license_license_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetStatusResp) String() string { @@ -189,7 +178,7 @@ func (*GetStatusResp) ProtoMessage() {} func (x *GetStatusResp) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_license_license_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -247,23 +236,20 @@ func (x *GetStatusResp) GetLicenseType() string { } type RequestLicenseReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + FirstName string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` + LastName string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` + Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` + GdprAgree bool `protobuf:"varint,4,opt,name=gdpr_agree,json=gdprAgree,proto3" json:"gdpr_agree,omitempty"` unknownFields protoimpl.UnknownFields - - FirstName string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` - LastName string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` - Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` - GdprAgree bool `protobuf:"varint,4,opt,name=gdpr_agree,json=gdprAgree,proto3" json:"gdpr_agree,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RequestLicenseReq) Reset() { *x = RequestLicenseReq{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_license_license_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_license_license_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequestLicenseReq) String() string { @@ -274,7 +260,7 @@ func (*RequestLicenseReq) ProtoMessage() {} func (x *RequestLicenseReq) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_license_license_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -318,22 +304,19 @@ func (x *RequestLicenseReq) GetGdprAgree() bool { } type RequestLicenseResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Deprecated: Marked as deprecated in automate-gateway/api/license/license.proto. - License string `protobuf:"bytes,1,opt,name=license,proto3" json:"license,omitempty"` - Status *GetStatusResp `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + License string `protobuf:"bytes,1,opt,name=license,proto3" json:"license,omitempty"` + Status *GetStatusResp `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RequestLicenseResp) Reset() { *x = RequestLicenseResp{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_license_license_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_license_license_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequestLicenseResp) String() string { @@ -344,7 +327,7 @@ func (*RequestLicenseResp) ProtoMessage() {} func (x *RequestLicenseResp) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_license_license_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -375,21 +358,18 @@ func (x *RequestLicenseResp) GetStatus() *GetStatusResp { } type GetStatusResp_DateRange struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` + End *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` unknownFields protoimpl.UnknownFields - - Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` - End *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetStatusResp_DateRange) Reset() { *x = GetStatusResp_DateRange{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_license_license_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_license_license_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetStatusResp_DateRange) String() string { @@ -400,7 +380,7 @@ func (*GetStatusResp_DateRange) ProtoMessage() {} func (x *GetStatusResp_DateRange) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_license_license_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -549,7 +529,7 @@ func file_automate_gateway_api_license_license_proto_rawDescGZIP() []byte { } var file_automate_gateway_api_license_license_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_automate_gateway_api_license_license_proto_goTypes = []interface{}{ +var file_automate_gateway_api_license_license_proto_goTypes = []any{ (*ApplyLicenseReq)(nil), // 0: chef.automate.api.license.ApplyLicenseReq (*ApplyLicenseResp)(nil), // 1: chef.automate.api.license.ApplyLicenseResp (*GetStatusReq)(nil), // 2: chef.automate.api.license.GetStatusReq @@ -584,92 +564,6 @@ func file_automate_gateway_api_license_license_proto_init() { if File_automate_gateway_api_license_license_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_automate_gateway_api_license_license_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyLicenseReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_license_license_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyLicenseResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_license_license_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetStatusReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_license_license_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetStatusResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_license_license_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestLicenseReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_license_license_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestLicenseResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_license_license_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetStatusResp_DateRange); 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{ diff --git a/components/automate-gateway/api/notifications/notifications.pb.go b/components/automate-gateway/api/notifications/notifications.pb.go index 1826caad0e1..dd02034c17e 100644 --- a/components/automate-gateway/api/notifications/notifications.pb.go +++ b/components/automate-gateway/api/notifications/notifications.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: automate-gateway/api/notifications/notifications.proto @@ -81,20 +81,17 @@ func (Rule_Event) EnumDescriptor() ([]byte, []int) { } type SlackAlert struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SlackAlert) Reset() { *x = SlackAlert{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SlackAlert) String() string { @@ -105,7 +102,7 @@ func (*SlackAlert) ProtoMessage() {} func (x *SlackAlert) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -128,20 +125,17 @@ func (x *SlackAlert) GetUrl() string { } type WebhookAlert struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WebhookAlert) Reset() { *x = WebhookAlert{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WebhookAlert) String() string { @@ -152,7 +146,7 @@ func (*WebhookAlert) ProtoMessage() {} func (x *WebhookAlert) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -175,22 +169,19 @@ func (x *WebhookAlert) GetUrl() string { } type ServiceNowAlert struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - SecretId string `protobuf:"bytes,2,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` - CriticalControlsOnly bool `protobuf:"varint,3,opt,name=critical_controls_only,json=criticalControlsOnly,proto3" json:"critical_controls_only,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + SecretId string `protobuf:"bytes,2,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` + CriticalControlsOnly bool `protobuf:"varint,3,opt,name=critical_controls_only,json=criticalControlsOnly,proto3" json:"critical_controls_only,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServiceNowAlert) Reset() { *x = ServiceNowAlert{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceNowAlert) String() string { @@ -201,7 +192,7 @@ func (*ServiceNowAlert) ProtoMessage() {} func (x *ServiceNowAlert) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -238,28 +229,25 @@ func (x *ServiceNowAlert) GetCriticalControlsOnly() bool { } type Rule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Event Rule_Event `protobuf:"varint,3,opt,name=event,proto3,enum=chef.automate.api.notifications.Rule_Event" json:"event,omitempty"` - // Types that are assignable to Action: + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Event Rule_Event `protobuf:"varint,3,opt,name=event,proto3,enum=chef.automate.api.notifications.Rule_Event" json:"event,omitempty"` + // Types that are valid to be assigned to Action: // // *Rule_SlackAlert // *Rule_WebhookAlert // *Rule_ServiceNowAlert - Action isRule_Action `protobuf_oneof:"action"` + Action isRule_Action `protobuf_oneof:"action"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Rule) Reset() { *x = Rule{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Rule) String() string { @@ -270,7 +258,7 @@ func (*Rule) ProtoMessage() {} func (x *Rule) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -306,30 +294,36 @@ func (x *Rule) GetEvent() Rule_Event { return Rule_CCRFailure } -func (m *Rule) GetAction() isRule_Action { - if m != nil { - return m.Action +func (x *Rule) GetAction() isRule_Action { + if x != nil { + return x.Action } return nil } func (x *Rule) GetSlackAlert() *SlackAlert { - if x, ok := x.GetAction().(*Rule_SlackAlert); ok { - return x.SlackAlert + if x != nil { + if x, ok := x.Action.(*Rule_SlackAlert); ok { + return x.SlackAlert + } } return nil } func (x *Rule) GetWebhookAlert() *WebhookAlert { - if x, ok := x.GetAction().(*Rule_WebhookAlert); ok { - return x.WebhookAlert + if x != nil { + if x, ok := x.Action.(*Rule_WebhookAlert); ok { + return x.WebhookAlert + } } return nil } func (x *Rule) GetServiceNowAlert() *ServiceNowAlert { - if x, ok := x.GetAction().(*Rule_ServiceNowAlert); ok { - return x.ServiceNowAlert + if x != nil { + if x, ok := x.Action.(*Rule_ServiceNowAlert); ok { + return x.ServiceNowAlert + } } return nil } @@ -357,20 +351,17 @@ func (*Rule_WebhookAlert) isRule_Action() {} func (*Rule_ServiceNowAlert) isRule_Action() {} type RuleIdentifier struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleIdentifier) Reset() { *x = RuleIdentifier{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleIdentifier) String() string { @@ -381,7 +372,7 @@ func (*RuleIdentifier) ProtoMessage() {} func (x *RuleIdentifier) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -404,21 +395,18 @@ func (x *RuleIdentifier) GetId() string { } type RuleUpdateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Rule *Rule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` + Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Rule *Rule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` - Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleUpdateRequest) Reset() { *x = RuleUpdateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleUpdateRequest) String() string { @@ -429,7 +417,7 @@ func (*RuleUpdateRequest) ProtoMessage() {} func (x *RuleUpdateRequest) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -459,18 +447,16 @@ func (x *RuleUpdateRequest) GetId() string { } type RuleListRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RuleListRequest) Reset() { *x = RuleListRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleListRequest) String() string { @@ -481,7 +467,7 @@ func (*RuleListRequest) ProtoMessage() {} func (x *RuleListRequest) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -497,20 +483,17 @@ func (*RuleListRequest) Descriptor() ([]byte, []int) { } type RuleUpdateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` unknownFields protoimpl.UnknownFields - - Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleUpdateResponse) Reset() { *x = RuleUpdateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleUpdateResponse) String() string { @@ -521,7 +504,7 @@ func (*RuleUpdateResponse) ProtoMessage() {} func (x *RuleUpdateResponse) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -544,20 +527,17 @@ func (x *RuleUpdateResponse) GetMessages() []string { } type RuleDeleteResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` unknownFields protoimpl.UnknownFields - - Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleDeleteResponse) Reset() { *x = RuleDeleteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleDeleteResponse) String() string { @@ -568,7 +548,7 @@ func (*RuleDeleteResponse) ProtoMessage() {} func (x *RuleDeleteResponse) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -591,20 +571,17 @@ func (x *RuleDeleteResponse) GetMessages() []string { } type RuleAddRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Rule *Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` unknownFields protoimpl.UnknownFields - - Rule *Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleAddRequest) Reset() { *x = RuleAddRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleAddRequest) String() string { @@ -615,7 +592,7 @@ func (*RuleAddRequest) ProtoMessage() {} func (x *RuleAddRequest) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -638,23 +615,20 @@ func (x *RuleAddRequest) GetRule() *Rule { } type RuleAddResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Rule *Rule `protobuf:"bytes,4,opt,name=rule,proto3" json:"rule,omitempty"` unknownFields protoimpl.UnknownFields - - Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Rule *Rule `protobuf:"bytes,4,opt,name=rule,proto3" json:"rule,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleAddResponse) Reset() { *x = RuleAddResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleAddResponse) String() string { @@ -665,7 +639,7 @@ func (*RuleAddResponse) ProtoMessage() {} func (x *RuleAddResponse) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -709,21 +683,18 @@ func (x *RuleAddResponse) GetRule() *Rule { } type RuleGetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` + Rule *Rule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` unknownFields protoimpl.UnknownFields - - Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - Rule *Rule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleGetResponse) Reset() { *x = RuleGetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleGetResponse) String() string { @@ -734,7 +705,7 @@ func (*RuleGetResponse) ProtoMessage() {} func (x *RuleGetResponse) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -764,21 +735,18 @@ func (x *RuleGetResponse) GetRule() *Rule { } type RuleListResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` + Rules []*Rule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` unknownFields protoimpl.UnknownFields - - Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - Rules []*Rule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleListResponse) Reset() { *x = RuleListResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleListResponse) String() string { @@ -789,7 +757,7 @@ func (*RuleListResponse) ProtoMessage() {} func (x *RuleListResponse) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -819,18 +787,16 @@ func (x *RuleListResponse) GetRules() []*Rule { } type VersionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *VersionRequest) Reset() { *x = VersionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VersionRequest) String() string { @@ -841,7 +807,7 @@ func (*VersionRequest) ProtoMessage() {} func (x *VersionRequest) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -857,20 +823,17 @@ func (*VersionRequest) Descriptor() ([]byte, []int) { } type VersionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` unknownFields protoimpl.UnknownFields - - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + sizeCache protoimpl.SizeCache } func (x *VersionResponse) Reset() { *x = VersionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VersionResponse) String() string { @@ -881,7 +844,7 @@ func (*VersionResponse) ProtoMessage() {} func (x *VersionResponse) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -904,21 +867,18 @@ func (x *VersionResponse) GetVersion() string { } type UsernamePassword struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` + Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` unknownFields protoimpl.UnknownFields - - Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` - Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UsernamePassword) Reset() { *x = UsernamePassword{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UsernamePassword) String() string { @@ -929,7 +889,7 @@ func (*UsernamePassword) ProtoMessage() {} func (x *UsernamePassword) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -959,20 +919,17 @@ func (x *UsernamePassword) GetPassword() string { } type SecretId struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SecretId) Reset() { *x = SecretId{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SecretId) String() string { @@ -983,7 +940,7 @@ func (*SecretId) ProtoMessage() {} func (x *SecretId) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1006,18 +963,16 @@ func (x *SecretId) GetId() string { } type Empty struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Empty) Reset() { *x = Empty{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Empty) String() string { @@ -1028,7 +983,7 @@ func (*Empty) ProtoMessage() {} func (x *Empty) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1044,26 +999,23 @@ func (*Empty) Descriptor() ([]byte, []int) { } type URLValidationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // Types that are assignable to Credentials: + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + // Types that are valid to be assigned to Credentials: // // *URLValidationRequest_UsernamePassword // *URLValidationRequest_SecretId // *URLValidationRequest_None - Credentials isURLValidationRequest_Credentials `protobuf_oneof:"credentials"` + Credentials isURLValidationRequest_Credentials `protobuf_oneof:"credentials"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *URLValidationRequest) Reset() { *x = URLValidationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *URLValidationRequest) String() string { @@ -1074,7 +1026,7 @@ func (*URLValidationRequest) ProtoMessage() {} func (x *URLValidationRequest) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1096,30 +1048,36 @@ func (x *URLValidationRequest) GetUrl() string { return "" } -func (m *URLValidationRequest) GetCredentials() isURLValidationRequest_Credentials { - if m != nil { - return m.Credentials +func (x *URLValidationRequest) GetCredentials() isURLValidationRequest_Credentials { + if x != nil { + return x.Credentials } return nil } func (x *URLValidationRequest) GetUsernamePassword() *UsernamePassword { - if x, ok := x.GetCredentials().(*URLValidationRequest_UsernamePassword); ok { - return x.UsernamePassword + if x != nil { + if x, ok := x.Credentials.(*URLValidationRequest_UsernamePassword); ok { + return x.UsernamePassword + } } return nil } func (x *URLValidationRequest) GetSecretId() *SecretId { - if x, ok := x.GetCredentials().(*URLValidationRequest_SecretId); ok { - return x.SecretId + if x != nil { + if x, ok := x.Credentials.(*URLValidationRequest_SecretId); ok { + return x.SecretId + } } return nil } func (x *URLValidationRequest) GetNone() *Empty { - if x, ok := x.GetCredentials().(*URLValidationRequest_None); ok { - return x.None + if x != nil { + if x, ok := x.Credentials.(*URLValidationRequest_None); ok { + return x.None + } } return nil } @@ -1147,18 +1105,16 @@ func (*URLValidationRequest_SecretId) isURLValidationRequest_Credentials() {} func (*URLValidationRequest_None) isURLValidationRequest_Credentials() {} type URLValidationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *URLValidationResponse) Reset() { *x = URLValidationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *URLValidationResponse) String() string { @@ -1169,7 +1125,7 @@ func (*URLValidationResponse) ProtoMessage() {} func (x *URLValidationResponse) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_notifications_notifications_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1430,7 +1386,7 @@ func file_automate_gateway_api_notifications_notifications_proto_rawDescGZIP() [ var file_automate_gateway_api_notifications_notifications_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_automate_gateway_api_notifications_notifications_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_automate_gateway_api_notifications_notifications_proto_goTypes = []interface{}{ +var file_automate_gateway_api_notifications_notifications_proto_goTypes = []any{ (Rule_Event)(0), // 0: chef.automate.api.notifications.Rule.Event (*SlackAlert)(nil), // 1: chef.automate.api.notifications.SlackAlert (*WebhookAlert)(nil), // 2: chef.automate.api.notifications.WebhookAlert @@ -1492,254 +1448,12 @@ func file_automate_gateway_api_notifications_notifications_proto_init() { if File_automate_gateway_api_notifications_notifications_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_automate_gateway_api_notifications_notifications_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SlackAlert); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebhookAlert); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceNowAlert); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[3].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_automate_gateway_api_notifications_notifications_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleIdentifier); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleUpdateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleListRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleUpdateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleDeleteResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleAddRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleAddResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleGetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleListResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VersionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VersionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UsernamePassword); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SecretId); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Empty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*URLValidationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*URLValidationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[3].OneofWrappers = []interface{}{ + file_automate_gateway_api_notifications_notifications_proto_msgTypes[3].OneofWrappers = []any{ (*Rule_SlackAlert)(nil), (*Rule_WebhookAlert)(nil), (*Rule_ServiceNowAlert)(nil), } - file_automate_gateway_api_notifications_notifications_proto_msgTypes[18].OneofWrappers = []interface{}{ + file_automate_gateway_api_notifications_notifications_proto_msgTypes[18].OneofWrappers = []any{ (*URLValidationRequest_UsernamePassword)(nil), (*URLValidationRequest_SecretId)(nil), (*URLValidationRequest_None)(nil), diff --git a/components/automate-gateway/api/telemetry/telemetry.pb.go b/components/automate-gateway/api/telemetry/telemetry.pb.go index 6e1ec1d55c6..ba38bc69f0c 100644 --- a/components/automate-gateway/api/telemetry/telemetry.pb.go +++ b/components/automate-gateway/api/telemetry/telemetry.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: automate-gateway/api/telemetry/telemetry.proto @@ -27,18 +27,16 @@ const ( ) type TelemetryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TelemetryRequest) Reset() { *x = TelemetryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_telemetry_telemetry_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_telemetry_telemetry_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TelemetryRequest) String() string { @@ -49,7 +47,7 @@ func (*TelemetryRequest) ProtoMessage() {} func (x *TelemetryRequest) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_telemetry_telemetry_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -65,28 +63,25 @@ func (*TelemetryRequest) Descriptor() ([]byte, []int) { } type TelemetryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LicenseId string `protobuf:"bytes,1,opt,name=license_id,json=licenseId,proto3" json:"license_id,omitempty"` - CustomerName string `protobuf:"bytes,4,opt,name=customer_name,json=customerName,proto3" json:"customer_name,omitempty"` - CustomerId string `protobuf:"bytes,5,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` - LicenseType string `protobuf:"bytes,6,opt,name=license_type,json=licenseType,proto3" json:"license_type,omitempty"` - TelemetryEnabled bool `protobuf:"varint,7,opt,name=telemetry_enabled,json=telemetryEnabled,proto3" json:"telemetry_enabled,omitempty"` - TelemetryUrl string `protobuf:"bytes,8,opt,name=telemetry_url,json=telemetryUrl,proto3" json:"telemetry_url,omitempty"` - MaxNodes int64 `protobuf:"varint,9,opt,name=max_nodes,json=maxNodes,proto3" json:"max_nodes,omitempty"` - DeploymentId string `protobuf:"bytes,10,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` - DeploymentType string `protobuf:"bytes,11,opt,name=deployment_type,json=deploymentType,proto3" json:"deployment_type,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + LicenseId string `protobuf:"bytes,1,opt,name=license_id,json=licenseId,proto3" json:"license_id,omitempty"` + CustomerName string `protobuf:"bytes,4,opt,name=customer_name,json=customerName,proto3" json:"customer_name,omitempty"` + CustomerId string `protobuf:"bytes,5,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` + LicenseType string `protobuf:"bytes,6,opt,name=license_type,json=licenseType,proto3" json:"license_type,omitempty"` + TelemetryEnabled bool `protobuf:"varint,7,opt,name=telemetry_enabled,json=telemetryEnabled,proto3" json:"telemetry_enabled,omitempty"` + TelemetryUrl string `protobuf:"bytes,8,opt,name=telemetry_url,json=telemetryUrl,proto3" json:"telemetry_url,omitempty"` + MaxNodes int64 `protobuf:"varint,9,opt,name=max_nodes,json=maxNodes,proto3" json:"max_nodes,omitempty"` + DeploymentId string `protobuf:"bytes,10,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` + DeploymentType string `protobuf:"bytes,11,opt,name=deployment_type,json=deploymentType,proto3" json:"deployment_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TelemetryResponse) Reset() { *x = TelemetryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_gateway_api_telemetry_telemetry_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_gateway_api_telemetry_telemetry_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TelemetryResponse) String() string { @@ -97,7 +92,7 @@ func (*TelemetryResponse) ProtoMessage() {} func (x *TelemetryResponse) ProtoReflect() protoreflect.Message { mi := &file_automate_gateway_api_telemetry_telemetry_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -244,7 +239,7 @@ func file_automate_gateway_api_telemetry_telemetry_proto_rawDescGZIP() []byte { } var file_automate_gateway_api_telemetry_telemetry_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_automate_gateway_api_telemetry_telemetry_proto_goTypes = []interface{}{ +var file_automate_gateway_api_telemetry_telemetry_proto_goTypes = []any{ (*TelemetryRequest)(nil), // 0: chef.automate.api.telemetry.TelemetryRequest (*TelemetryResponse)(nil), // 1: chef.automate.api.telemetry.TelemetryResponse } @@ -263,32 +258,6 @@ func file_automate_gateway_api_telemetry_telemetry_proto_init() { if File_automate_gateway_api_telemetry_telemetry_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_automate_gateway_api_telemetry_telemetry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TelemetryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_automate_gateway_api_telemetry_telemetry_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TelemetryResponse); 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{ diff --git a/components/automate-grpc/protoc-gen-a2-config/api/a2conf/annotations.pb.go b/components/automate-grpc/protoc-gen-a2-config/api/a2conf/annotations.pb.go index 20d5ffad388..4472126e9e9 100644 --- a/components/automate-grpc/protoc-gen-a2-config/api/a2conf/annotations.pb.go +++ b/components/automate-grpc/protoc-gen-a2-config/api/a2conf/annotations.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: automate-grpc/protoc-gen-a2-config/api/a2conf/annotations.proto @@ -22,20 +22,17 @@ const ( ) type ServiceConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ServiceConfig) Reset() { *x = ServiceConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceConfig) String() string { @@ -46,7 +43,7 @@ func (*ServiceConfig) ProtoMessage() {} func (x *ServiceConfig) ProtoReflect() protoreflect.Message { mi := &file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -167,7 +164,7 @@ func file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_rawDes } var file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_goTypes = []interface{}{ +var file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_goTypes = []any{ (*ServiceConfig)(nil), // 0: chef.automate.api.ServiceConfig (*descriptorpb.FieldOptions)(nil), // 1: google.protobuf.FieldOptions (*descriptorpb.MessageOptions)(nil), // 2: google.protobuf.MessageOptions @@ -195,20 +192,6 @@ func file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_init() } file_automate_grpc_protoc_gen_a2_config_api_a2conf_port_proto_init() file_automate_grpc_protoc_gen_a2_config_api_a2conf_secret_proto_init() - if !protoimpl.UnsafeEnabled { - file_automate_grpc_protoc_gen_a2_config_api_a2conf_annotations_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceConfig); 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{ diff --git a/components/automate-grpc/protoc-gen-a2-config/api/a2conf/port.pb.go b/components/automate-grpc/protoc-gen-a2-config/api/a2conf/port.pb.go index e3c2f908fb9..f57de97ff33 100644 --- a/components/automate-grpc/protoc-gen-a2-config/api/a2conf/port.pb.go +++ b/components/automate-grpc/protoc-gen-a2-config/api/a2conf/port.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: automate-grpc/protoc-gen-a2-config/api/a2conf/port.proto @@ -21,22 +21,19 @@ const ( ) type Port struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Default int32 `protobuf:"varint,2,opt,name=default,proto3" json:"default,omitempty"` + Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Default int32 `protobuf:"varint,2,opt,name=default,proto3" json:"default,omitempty"` - Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Port) Reset() { *x = Port{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_grpc_protoc_gen_a2_config_api_a2conf_port_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_grpc_protoc_gen_a2_config_api_a2conf_port_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Port) String() string { @@ -47,7 +44,7 @@ func (*Port) ProtoMessage() {} func (x *Port) ProtoReflect() protoreflect.Message { mi := &file_automate_grpc_protoc_gen_a2_config_api_a2conf_port_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -117,7 +114,7 @@ func file_automate_grpc_protoc_gen_a2_config_api_a2conf_port_proto_rawDescGZIP() } var file_automate_grpc_protoc_gen_a2_config_api_a2conf_port_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_automate_grpc_protoc_gen_a2_config_api_a2conf_port_proto_goTypes = []interface{}{ +var file_automate_grpc_protoc_gen_a2_config_api_a2conf_port_proto_goTypes = []any{ (*Port)(nil), // 0: chef.automate.api.Port } var file_automate_grpc_protoc_gen_a2_config_api_a2conf_port_proto_depIdxs = []int32{ @@ -133,20 +130,6 @@ func file_automate_grpc_protoc_gen_a2_config_api_a2conf_port_proto_init() { if File_automate_grpc_protoc_gen_a2_config_api_a2conf_port_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_automate_grpc_protoc_gen_a2_config_api_a2conf_port_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Port); 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{ diff --git a/components/automate-grpc/protoc-gen-a2-config/api/a2conf/secret.pb.go b/components/automate-grpc/protoc-gen-a2-config/api/a2conf/secret.pb.go index 4a8fb263078..1ce7be01b99 100644 --- a/components/automate-grpc/protoc-gen-a2-config/api/a2conf/secret.pb.go +++ b/components/automate-grpc/protoc-gen-a2-config/api/a2conf/secret.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: automate-grpc/protoc-gen-a2-config/api/a2conf/secret.proto @@ -21,20 +21,17 @@ const ( ) type Secret struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Secret) Reset() { *x = Secret{} - if protoimpl.UnsafeEnabled { - mi := &file_automate_grpc_protoc_gen_a2_config_api_a2conf_secret_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_automate_grpc_protoc_gen_a2_config_api_a2conf_secret_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Secret) String() string { @@ -45,7 +42,7 @@ func (*Secret) ProtoMessage() {} func (x *Secret) ProtoReflect() protoreflect.Message { mi := &file_automate_grpc_protoc_gen_a2_config_api_a2conf_secret_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -98,7 +95,7 @@ func file_automate_grpc_protoc_gen_a2_config_api_a2conf_secret_proto_rawDescGZIP } var file_automate_grpc_protoc_gen_a2_config_api_a2conf_secret_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_automate_grpc_protoc_gen_a2_config_api_a2conf_secret_proto_goTypes = []interface{}{ +var file_automate_grpc_protoc_gen_a2_config_api_a2conf_secret_proto_goTypes = []any{ (*Secret)(nil), // 0: chef.automate.api.Secret } var file_automate_grpc_protoc_gen_a2_config_api_a2conf_secret_proto_depIdxs = []int32{ @@ -114,20 +111,6 @@ func file_automate_grpc_protoc_gen_a2_config_api_a2conf_secret_proto_init() { if File_automate_grpc_protoc_gen_a2_config_api_a2conf_secret_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_automate_grpc_protoc_gen_a2_config_api_a2conf_secret_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Secret); 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{ diff --git a/components/notifications-client/api/health.pb.go b/components/notifications-client/api/health.pb.go index 4d8cb72419f..5126099b411 100644 --- a/components/notifications-client/api/health.pb.go +++ b/components/notifications-client/api/health.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: health.proto @@ -21,18 +21,16 @@ const ( ) type VersionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *VersionRequest) Reset() { *x = VersionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_health_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_health_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VersionRequest) String() string { @@ -43,7 +41,7 @@ func (*VersionRequest) ProtoMessage() {} func (x *VersionRequest) ProtoReflect() protoreflect.Message { mi := &file_health_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -59,20 +57,17 @@ func (*VersionRequest) Descriptor() ([]byte, []int) { } type VersionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` unknownFields protoimpl.UnknownFields - - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + sizeCache protoimpl.SizeCache } func (x *VersionResponse) Reset() { *x = VersionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_health_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_health_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VersionResponse) String() string { @@ -83,7 +78,7 @@ func (*VersionResponse) ProtoMessage() {} func (x *VersionResponse) ProtoReflect() protoreflect.Message { mi := &file_health_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -130,7 +125,7 @@ func file_health_proto_rawDescGZIP() []byte { } var file_health_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_health_proto_goTypes = []interface{}{ +var file_health_proto_goTypes = []any{ (*VersionRequest)(nil), // 0: notifications.VersionRequest (*VersionResponse)(nil), // 1: notifications.VersionResponse } @@ -147,32 +142,6 @@ func file_health_proto_init() { if File_health_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_health_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VersionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_health_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VersionResponse); 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{ diff --git a/components/notifications-client/api/notifications.pb.go b/components/notifications-client/api/notifications.pb.go index 564c82d86e0..ec172e74e87 100644 --- a/components/notifications-client/api/notifications.pb.go +++ b/components/notifications-client/api/notifications.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: notifications.proto @@ -21,23 +21,20 @@ const ( ) type ExceptionInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` + Backtrace []string `protobuf:"bytes,4,rep,name=backtrace,proto3" json:"backtrace,omitempty"` unknownFields protoimpl.UnknownFields - - Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"` - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` - Backtrace []string `protobuf:"bytes,4,rep,name=backtrace,proto3" json:"backtrace,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ExceptionInfo) Reset() { *x = ExceptionInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExceptionInfo) String() string { @@ -48,7 +45,7 @@ func (*ExceptionInfo) ProtoMessage() {} func (x *ExceptionInfo) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -92,21 +89,18 @@ func (x *ExceptionInfo) GetBacktrace() []string { } type TimeInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StartTime string `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime string `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` unknownFields protoimpl.UnknownFields - - StartTime string `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - EndTime string `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TimeInfo) Reset() { *x = TimeInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimeInfo) String() string { @@ -117,7 +111,7 @@ func (*TimeInfo) ProtoMessage() {} func (x *TimeInfo) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -147,10 +141,7 @@ func (x *TimeInfo) GetEndTime() string { } type Profile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` @@ -164,15 +155,15 @@ type Profile struct { Attributes []*Profile_Attribute `protobuf:"bytes,11,rep,name=attributes,proto3" json:"attributes,omitempty"` FailedControls []*Profile_Control `protobuf:"bytes,12,rep,name=failed_controls,json=failedControls,proto3" json:"failed_controls,omitempty"` Stats *Profile_ControlTotals `protobuf:"bytes,13,opt,name=stats,proto3" json:"stats,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Profile) Reset() { *x = Profile{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile) String() string { @@ -183,7 +174,7 @@ func (*Profile) ProtoMessage() {} func (x *Profile) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -290,21 +281,18 @@ func (x *Profile) GetStats() *Profile_ControlTotals { } type SourceLocation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` + Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` unknownFields protoimpl.UnknownFields - - Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` - Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SourceLocation) Reset() { *x = SourceLocation{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SourceLocation) String() string { @@ -315,7 +303,7 @@ func (*SourceLocation) ProtoMessage() {} func (x *SourceLocation) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -345,21 +333,18 @@ func (x *SourceLocation) GetLine() int32 { } type Refs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` + Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` unknownFields protoimpl.UnknownFields - - Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` - Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Refs) Reset() { *x = Refs{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Refs) String() string { @@ -370,7 +355,7 @@ func (*Refs) ProtoMessage() {} func (x *Refs) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -400,25 +385,22 @@ func (x *Refs) GetUrl() string { } type PlatformSupport struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Inspec string `protobuf:"bytes,1,opt,name=inspec,proto3" json:"inspec,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Inspec string `protobuf:"bytes,1,opt,name=inspec,proto3" json:"inspec,omitempty"` // TODO: this needs to be os-name in json OsName string `protobuf:"bytes,2,opt,name=os_name,json=osName,proto3" json:"os_name,omitempty"` // TODO: this needs to be os-family in json - OsFamily string `protobuf:"bytes,3,opt,name=os_family,json=osFamily,proto3" json:"os_family,omitempty"` - Release string `protobuf:"bytes,4,opt,name=release,proto3" json:"release,omitempty"` + OsFamily string `protobuf:"bytes,3,opt,name=os_family,json=osFamily,proto3" json:"os_family,omitempty"` + Release string `protobuf:"bytes,4,opt,name=release,proto3" json:"release,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PlatformSupport) Reset() { *x = PlatformSupport{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlatformSupport) String() string { @@ -429,7 +411,7 @@ func (*PlatformSupport) ProtoMessage() {} func (x *PlatformSupport) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -473,25 +455,22 @@ func (x *PlatformSupport) GetRelease() string { } type ComplianceSuccess struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + ComplianceUrl string `protobuf:"bytes,2,opt,name=compliance_url,json=complianceUrl,proto3" json:"compliance_url,omitempty"` + NodeName string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` + NodeId string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` + EndTime string `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - ComplianceUrl string `protobuf:"bytes,2,opt,name=compliance_url,json=complianceUrl,proto3" json:"compliance_url,omitempty"` - NodeName string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` - NodeId string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` - EndTime string `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ComplianceSuccess) Reset() { *x = ComplianceSuccess{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ComplianceSuccess) String() string { @@ -502,7 +481,7 @@ func (*ComplianceSuccess) ProtoMessage() {} func (x *ComplianceSuccess) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -560,10 +539,7 @@ func (x *ComplianceSuccess) GetTimestamp() string { } type ComplianceFailure struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ComplianceUrl string `protobuf:"bytes,2,opt,name=compliance_url,json=complianceUrl,proto3" json:"compliance_url,omitempty"` NodeName string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` @@ -573,15 +549,15 @@ type ComplianceFailure struct { FailedProfiles []*Profile `protobuf:"bytes,7,rep,name=failed_profiles,json=failedProfiles,proto3" json:"failed_profiles,omitempty"` EndTime string `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Timestamp string `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ComplianceFailure) Reset() { *x = ComplianceFailure{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ComplianceFailure) String() string { @@ -592,7 +568,7 @@ func (*ComplianceFailure) ProtoMessage() {} func (x *ComplianceFailure) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -671,28 +647,25 @@ func (x *ComplianceFailure) GetTimestamp() string { } type CCRFailure struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` + NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` + NodeUrl string `protobuf:"bytes,3,opt,name=node_url,json=nodeUrl,proto3" json:"node_url,omitempty"` + RunUrl string `protobuf:"bytes,4,opt,name=run_url,json=runUrl,proto3" json:"run_url,omitempty"` + Cookbook string `protobuf:"bytes,5,opt,name=cookbook,proto3" json:"cookbook,omitempty"` + Recipe string `protobuf:"bytes,6,opt,name=recipe,proto3" json:"recipe,omitempty"` + Time *TimeInfo `protobuf:"bytes,7,opt,name=time,proto3" json:"time,omitempty"` + Exception *ExceptionInfo `protobuf:"bytes,8,opt,name=exception,proto3" json:"exception,omitempty"` + Timestamp string `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` unknownFields protoimpl.UnknownFields - - RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` - NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` - NodeUrl string `protobuf:"bytes,3,opt,name=node_url,json=nodeUrl,proto3" json:"node_url,omitempty"` - RunUrl string `protobuf:"bytes,4,opt,name=run_url,json=runUrl,proto3" json:"run_url,omitempty"` - Cookbook string `protobuf:"bytes,5,opt,name=cookbook,proto3" json:"cookbook,omitempty"` - Recipe string `protobuf:"bytes,6,opt,name=recipe,proto3" json:"recipe,omitempty"` - Time *TimeInfo `protobuf:"bytes,7,opt,name=time,proto3" json:"time,omitempty"` - Exception *ExceptionInfo `protobuf:"bytes,8,opt,name=exception,proto3" json:"exception,omitempty"` - Timestamp string `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CCRFailure) Reset() { *x = CCRFailure{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CCRFailure) String() string { @@ -703,7 +676,7 @@ func (*CCRFailure) ProtoMessage() {} func (x *CCRFailure) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -782,25 +755,22 @@ func (x *CCRFailure) GetTimestamp() string { } type CCRSuccess struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` - NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` - RunUrl string `protobuf:"bytes,3,opt,name=run_url,json=runUrl,proto3" json:"run_url,omitempty"` - Time *TimeInfo `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"` - UpdatedResourceCount int32 `protobuf:"varint,5,opt,name=updated_resource_count,json=updatedResourceCount,proto3" json:"updated_resource_count,omitempty"` - Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` + NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` + RunUrl string `protobuf:"bytes,3,opt,name=run_url,json=runUrl,proto3" json:"run_url,omitempty"` + Time *TimeInfo `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"` + UpdatedResourceCount int32 `protobuf:"varint,5,opt,name=updated_resource_count,json=updatedResourceCount,proto3" json:"updated_resource_count,omitempty"` + Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CCRSuccess) Reset() { *x = CCRSuccess{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CCRSuccess) String() string { @@ -811,7 +781,7 @@ func (*CCRSuccess) ProtoMessage() {} func (x *CCRSuccess) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -869,18 +839,16 @@ func (x *CCRSuccess) GetTimestamp() string { } type Response struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Response) Reset() { *x = Response{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Response) String() string { @@ -891,7 +859,7 @@ func (*Response) ProtoMessage() {} func (x *Response) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -907,27 +875,24 @@ func (*Response) Descriptor() ([]byte, []int) { } type Event struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Types that are assignable to Event: + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // Types that are valid to be assigned to Event: // // *Event_CCRSuccess // *Event_CCRFailure // *Event_ComplianceSuccess // *Event_ComplianceFailure - Event isEvent_Event `protobuf_oneof:"event"` + Event isEvent_Event `protobuf_oneof:"event"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Event) Reset() { *x = Event{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Event) String() string { @@ -938,7 +903,7 @@ func (*Event) ProtoMessage() {} func (x *Event) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -960,37 +925,45 @@ func (x *Event) GetId() string { return "" } -func (m *Event) GetEvent() isEvent_Event { - if m != nil { - return m.Event +func (x *Event) GetEvent() isEvent_Event { + if x != nil { + return x.Event } return nil } func (x *Event) GetCCRSuccess() *CCRSuccess { - if x, ok := x.GetEvent().(*Event_CCRSuccess); ok { - return x.CCRSuccess + if x != nil { + if x, ok := x.Event.(*Event_CCRSuccess); ok { + return x.CCRSuccess + } } return nil } func (x *Event) GetCCRFailure() *CCRFailure { - if x, ok := x.GetEvent().(*Event_CCRFailure); ok { - return x.CCRFailure + if x != nil { + if x, ok := x.Event.(*Event_CCRFailure); ok { + return x.CCRFailure + } } return nil } func (x *Event) GetComplianceSuccess() *ComplianceSuccess { - if x, ok := x.GetEvent().(*Event_ComplianceSuccess); ok { - return x.ComplianceSuccess + if x != nil { + if x, ok := x.Event.(*Event_ComplianceSuccess); ok { + return x.ComplianceSuccess + } } return nil } func (x *Event) GetComplianceFailure() *ComplianceFailure { - if x, ok := x.GetEvent().(*Event_ComplianceFailure); ok { - return x.ComplianceFailure + if x != nil { + if x, ok := x.Event.(*Event_ComplianceFailure); ok { + return x.ComplianceFailure + } } return nil } @@ -1024,10 +997,7 @@ func (*Event_ComplianceSuccess) isEvent_Event() {} func (*Event_ComplianceFailure) isEvent_Event() {} type Profile_Control struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Impact float32 `protobuf:"fixed32,2,opt,name=impact,proto3" json:"impact,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` @@ -1037,15 +1007,15 @@ type Profile_Control struct { Refs []*Refs `protobuf:"bytes,7,rep,name=refs,proto3" json:"refs,omitempty"` FailedResults []*Profile_Control_Result `protobuf:"bytes,9,rep,name=failed_results,json=failedResults,proto3" json:"failed_results,omitempty"` Stats *Profile_Control_ResultTotals `protobuf:"bytes,10,opt,name=stats,proto3" json:"stats,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Profile_Control) Reset() { *x = Profile_Control{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile_Control) String() string { @@ -1056,7 +1026,7 @@ func (*Profile_Control) ProtoMessage() {} func (x *Profile_Control) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1135,21 +1105,18 @@ func (x *Profile_Control) GetStats() *Profile_Control_ResultTotals { } type Profile_Attribute struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Options *Profile_Attribute_Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Options *Profile_Attribute_Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Profile_Attribute) Reset() { *x = Profile_Attribute{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile_Attribute) String() string { @@ -1160,7 +1127,7 @@ func (*Profile_Attribute) ProtoMessage() {} func (x *Profile_Attribute) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1190,10 +1157,7 @@ func (x *Profile_Attribute) GetOptions() *Profile_Attribute_Options { } type Profile_ControlTotals struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The number of controls in the profile NumTests int32 `protobuf:"varint,1,opt,name=num_tests,json=numTests,proto3" json:"num_tests,omitempty"` // The number of controls that failed @@ -1202,15 +1166,15 @@ type Profile_ControlTotals struct { NumSkippedTests int32 `protobuf:"varint,3,opt,name=num_skipped_tests,json=numSkippedTests,proto3" json:"num_skipped_tests,omitempty"` // The number of controls that passed NumPassedTests int32 `protobuf:"varint,4,opt,name=num_passed_tests,json=numPassedTests,proto3" json:"num_passed_tests,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Profile_ControlTotals) Reset() { *x = Profile_ControlTotals{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile_ControlTotals) String() string { @@ -1221,7 +1185,7 @@ func (*Profile_ControlTotals) ProtoMessage() {} func (x *Profile_ControlTotals) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1265,25 +1229,22 @@ func (x *Profile_ControlTotals) GetNumPassedTests() int32 { } type Profile_Control_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + CodeDesc string `protobuf:"bytes,2,opt,name=code_desc,json=codeDesc,proto3" json:"code_desc,omitempty"` + RunTime float32 `protobuf:"fixed32,3,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"` + StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` + SkipMessage string `protobuf:"bytes,6,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty"` unknownFields protoimpl.UnknownFields - - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - CodeDesc string `protobuf:"bytes,2,opt,name=code_desc,json=codeDesc,proto3" json:"code_desc,omitempty"` - RunTime float32 `protobuf:"fixed32,3,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"` - StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` - SkipMessage string `protobuf:"bytes,6,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Profile_Control_Result) Reset() { *x = Profile_Control_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile_Control_Result) String() string { @@ -1294,7 +1255,7 @@ func (*Profile_Control_Result) ProtoMessage() {} func (x *Profile_Control_Result) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1352,23 +1313,20 @@ func (x *Profile_Control_Result) GetSkipMessage() string { } type Profile_Control_ResultTotals struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - NumTests int32 `protobuf:"varint,1,opt,name=num_tests,json=numTests,proto3" json:"num_tests,omitempty"` - NumFailedTests int32 `protobuf:"varint,2,opt,name=num_failed_tests,json=numFailedTests,proto3" json:"num_failed_tests,omitempty"` - NumSkippedTests int32 `protobuf:"varint,3,opt,name=num_skipped_tests,json=numSkippedTests,proto3" json:"num_skipped_tests,omitempty"` - NumPassedTests int32 `protobuf:"varint,4,opt,name=num_passed_tests,json=numPassedTests,proto3" json:"num_passed_tests,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + NumTests int32 `protobuf:"varint,1,opt,name=num_tests,json=numTests,proto3" json:"num_tests,omitempty"` + NumFailedTests int32 `protobuf:"varint,2,opt,name=num_failed_tests,json=numFailedTests,proto3" json:"num_failed_tests,omitempty"` + NumSkippedTests int32 `protobuf:"varint,3,opt,name=num_skipped_tests,json=numSkippedTests,proto3" json:"num_skipped_tests,omitempty"` + NumPassedTests int32 `protobuf:"varint,4,opt,name=num_passed_tests,json=numPassedTests,proto3" json:"num_passed_tests,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Profile_Control_ResultTotals) Reset() { *x = Profile_Control_ResultTotals{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile_Control_ResultTotals) String() string { @@ -1379,7 +1337,7 @@ func (*Profile_Control_ResultTotals) ProtoMessage() {} func (x *Profile_Control_ResultTotals) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1423,20 +1381,17 @@ func (x *Profile_Control_ResultTotals) GetNumPassedTests() int32 { } type Profile_Attribute_Options struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` unknownFields protoimpl.UnknownFields - - Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Profile_Attribute_Options) Reset() { *x = Profile_Attribute_Options{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile_Attribute_Options) String() string { @@ -1447,7 +1402,7 @@ func (*Profile_Attribute_Options) ProtoMessage() {} func (x *Profile_Attribute_Options) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1470,24 +1425,21 @@ func (x *Profile_Attribute_Options) GetDescription() string { } type ComplianceFailure_ControlTotals struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Skipped int32 `protobuf:"varint,1,opt,name=skipped,proto3" json:"skipped,omitempty"` - Passed int32 `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty"` - Failed int32 `protobuf:"varint,3,opt,name=failed,proto3" json:"failed,omitempty"` - Critical int32 `protobuf:"varint,4,opt,name=critical,proto3" json:"critical,omitempty"` - CriticalFailed int32 `protobuf:"varint,5,opt,name=critical_failed,json=criticalFailed,proto3" json:"critical_failed,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Skipped int32 `protobuf:"varint,1,opt,name=skipped,proto3" json:"skipped,omitempty"` + Passed int32 `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty"` + Failed int32 `protobuf:"varint,3,opt,name=failed,proto3" json:"failed,omitempty"` + Critical int32 `protobuf:"varint,4,opt,name=critical,proto3" json:"critical,omitempty"` + CriticalFailed int32 `protobuf:"varint,5,opt,name=critical_failed,json=criticalFailed,proto3" json:"critical_failed,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ComplianceFailure_ControlTotals) Reset() { *x = ComplianceFailure_ControlTotals{} - if protoimpl.UnsafeEnabled { - mi := &file_notifications_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_notifications_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ComplianceFailure_ControlTotals) String() string { @@ -1498,7 +1450,7 @@ func (*ComplianceFailure_ControlTotals) ProtoMessage() {} func (x *ComplianceFailure_ControlTotals) ProtoReflect() protoreflect.Message { mi := &file_notifications_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1793,7 +1745,7 @@ func file_notifications_proto_rawDescGZIP() []byte { } var file_notifications_proto_msgTypes = make([]protoimpl.MessageInfo, 19) -var file_notifications_proto_goTypes = []interface{}{ +var file_notifications_proto_goTypes = []any{ (*ExceptionInfo)(nil), // 0: notifications.ExceptionInfo (*TimeInfo)(nil), // 1: notifications.TimeInfo (*Profile)(nil), // 2: notifications.Profile @@ -1845,237 +1797,7 @@ func file_notifications_proto_init() { if File_notifications_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_notifications_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExceptionInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SourceLocation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Refs); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlatformSupport); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComplianceSuccess); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComplianceFailure); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CCRFailure); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CCRSuccess); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Response); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Event); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile_Control); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile_Attribute); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile_ControlTotals); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile_Control_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile_Control_ResultTotals); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Profile_Attribute_Options); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_notifications_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComplianceFailure_ControlTotals); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_notifications_proto_msgTypes[11].OneofWrappers = []interface{}{ + file_notifications_proto_msgTypes[11].OneofWrappers = []any{ (*Event_CCRSuccess)(nil), (*Event_CCRFailure)(nil), (*Event_ComplianceSuccess)(nil), diff --git a/components/notifications-client/api/rules.pb.go b/components/notifications-client/api/rules.pb.go index e1baa235747..fac3aa81a75 100644 --- a/components/notifications-client/api/rules.pb.go +++ b/components/notifications-client/api/rules.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: rules.proto @@ -385,18 +385,16 @@ func (RuleListResponse_Code) EnumDescriptor() ([]byte, []int) { } type Empty struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Empty) Reset() { *x = Empty{} - if protoimpl.UnsafeEnabled { - mi := &file_rules_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rules_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Empty) String() string { @@ -407,7 +405,7 @@ func (*Empty) ProtoMessage() {} func (x *Empty) ProtoReflect() protoreflect.Message { mi := &file_rules_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -423,20 +421,17 @@ func (*Empty) Descriptor() ([]byte, []int) { } type SlackAlert struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SlackAlert) Reset() { *x = SlackAlert{} - if protoimpl.UnsafeEnabled { - mi := &file_rules_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rules_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SlackAlert) String() string { @@ -447,7 +442,7 @@ func (*SlackAlert) ProtoMessage() {} func (x *SlackAlert) ProtoReflect() protoreflect.Message { mi := &file_rules_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -470,20 +465,17 @@ func (x *SlackAlert) GetUrl() string { } type WebhookAlert struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WebhookAlert) Reset() { *x = WebhookAlert{} - if protoimpl.UnsafeEnabled { - mi := &file_rules_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rules_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WebhookAlert) String() string { @@ -494,7 +486,7 @@ func (*WebhookAlert) ProtoMessage() {} func (x *WebhookAlert) ProtoReflect() protoreflect.Message { mi := &file_rules_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -517,22 +509,19 @@ func (x *WebhookAlert) GetUrl() string { } type ServiceNowAlert struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - SecretId string `protobuf:"bytes,2,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` - CriticalControlsOnly bool `protobuf:"varint,3,opt,name=critical_controls_only,json=criticalControlsOnly,proto3" json:"critical_controls_only,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + SecretId string `protobuf:"bytes,2,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` + CriticalControlsOnly bool `protobuf:"varint,3,opt,name=critical_controls_only,json=criticalControlsOnly,proto3" json:"critical_controls_only,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServiceNowAlert) Reset() { *x = ServiceNowAlert{} - if protoimpl.UnsafeEnabled { - mi := &file_rules_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rules_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceNowAlert) String() string { @@ -543,7 +532,7 @@ func (*ServiceNowAlert) ProtoMessage() {} func (x *ServiceNowAlert) ProtoReflect() protoreflect.Message { mi := &file_rules_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -580,28 +569,25 @@ func (x *ServiceNowAlert) GetCriticalControlsOnly() bool { } type Rule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Event Rule_Event `protobuf:"varint,3,opt,name=event,proto3,enum=notifications.Rule_Event" json:"event,omitempty"` - // Types that are assignable to Action: + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Event Rule_Event `protobuf:"varint,3,opt,name=event,proto3,enum=notifications.Rule_Event" json:"event,omitempty"` + // Types that are valid to be assigned to Action: // // *Rule_SlackAlert // *Rule_WebhookAlert // *Rule_ServiceNowAlert - Action isRule_Action `protobuf_oneof:"action"` + Action isRule_Action `protobuf_oneof:"action"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Rule) Reset() { *x = Rule{} - if protoimpl.UnsafeEnabled { - mi := &file_rules_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rules_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Rule) String() string { @@ -612,7 +598,7 @@ func (*Rule) ProtoMessage() {} func (x *Rule) ProtoReflect() protoreflect.Message { mi := &file_rules_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -648,30 +634,36 @@ func (x *Rule) GetEvent() Rule_Event { return Rule_CCRFailure } -func (m *Rule) GetAction() isRule_Action { - if m != nil { - return m.Action +func (x *Rule) GetAction() isRule_Action { + if x != nil { + return x.Action } return nil } func (x *Rule) GetSlackAlert() *SlackAlert { - if x, ok := x.GetAction().(*Rule_SlackAlert); ok { - return x.SlackAlert + if x != nil { + if x, ok := x.Action.(*Rule_SlackAlert); ok { + return x.SlackAlert + } } return nil } func (x *Rule) GetWebhookAlert() *WebhookAlert { - if x, ok := x.GetAction().(*Rule_WebhookAlert); ok { - return x.WebhookAlert + if x != nil { + if x, ok := x.Action.(*Rule_WebhookAlert); ok { + return x.WebhookAlert + } } return nil } func (x *Rule) GetServiceNowAlert() *ServiceNowAlert { - if x, ok := x.GetAction().(*Rule_ServiceNowAlert); ok { - return x.ServiceNowAlert + if x != nil { + if x, ok := x.Action.(*Rule_ServiceNowAlert); ok { + return x.ServiceNowAlert + } } return nil } @@ -699,21 +691,18 @@ func (*Rule_WebhookAlert) isRule_Action() {} func (*Rule_ServiceNowAlert) isRule_Action() {} type UsernamePassword struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` + Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` unknownFields protoimpl.UnknownFields - - Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` - Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UsernamePassword) Reset() { *x = UsernamePassword{} - if protoimpl.UnsafeEnabled { - mi := &file_rules_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rules_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UsernamePassword) String() string { @@ -724,7 +713,7 @@ func (*UsernamePassword) ProtoMessage() {} func (x *UsernamePassword) ProtoReflect() protoreflect.Message { mi := &file_rules_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -754,20 +743,17 @@ func (x *UsernamePassword) GetPassword() string { } type SecretId struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SecretId) Reset() { *x = SecretId{} - if protoimpl.UnsafeEnabled { - mi := &file_rules_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rules_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SecretId) String() string { @@ -778,7 +764,7 @@ func (*SecretId) ProtoMessage() {} func (x *SecretId) ProtoReflect() protoreflect.Message { mi := &file_rules_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -801,26 +787,23 @@ func (x *SecretId) GetId() string { } type URLValidationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // Types that are assignable to Credentials: + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + // Types that are valid to be assigned to Credentials: // // *URLValidationRequest_UsernamePassword // *URLValidationRequest_SecretId // *URLValidationRequest_None - Credentials isURLValidationRequest_Credentials `protobuf_oneof:"credentials"` + Credentials isURLValidationRequest_Credentials `protobuf_oneof:"credentials"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *URLValidationRequest) Reset() { *x = URLValidationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rules_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rules_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *URLValidationRequest) String() string { @@ -831,7 +814,7 @@ func (*URLValidationRequest) ProtoMessage() {} func (x *URLValidationRequest) ProtoReflect() protoreflect.Message { mi := &file_rules_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -853,30 +836,36 @@ func (x *URLValidationRequest) GetUrl() string { return "" } -func (m *URLValidationRequest) GetCredentials() isURLValidationRequest_Credentials { - if m != nil { - return m.Credentials +func (x *URLValidationRequest) GetCredentials() isURLValidationRequest_Credentials { + if x != nil { + return x.Credentials } return nil } func (x *URLValidationRequest) GetUsernamePassword() *UsernamePassword { - if x, ok := x.GetCredentials().(*URLValidationRequest_UsernamePassword); ok { - return x.UsernamePassword + if x != nil { + if x, ok := x.Credentials.(*URLValidationRequest_UsernamePassword); ok { + return x.UsernamePassword + } } return nil } func (x *URLValidationRequest) GetSecretId() *SecretId { - if x, ok := x.GetCredentials().(*URLValidationRequest_SecretId); ok { - return x.SecretId + if x != nil { + if x, ok := x.Credentials.(*URLValidationRequest_SecretId); ok { + return x.SecretId + } } return nil } func (x *URLValidationRequest) GetNone() *Empty { - if x, ok := x.GetCredentials().(*URLValidationRequest_None); ok { - return x.None + if x != nil { + if x, ok := x.Credentials.(*URLValidationRequest_None); ok { + return x.None + } } return nil } @@ -904,21 +893,18 @@ func (*URLValidationRequest_SecretId) isURLValidationRequest_Credentials() {} func (*URLValidationRequest_None) isURLValidationRequest_Credentials() {} type URLValidationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code URLValidationResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.URLValidationResponse_Code" json:"code,omitempty"` + Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` // unused but kept for consistency with other Rule api responses. unknownFields protoimpl.UnknownFields - - Code URLValidationResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.URLValidationResponse_Code" json:"code,omitempty"` - Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` // unused but kept for consistency with other Rule api responses. + sizeCache protoimpl.SizeCache } func (x *URLValidationResponse) Reset() { *x = URLValidationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rules_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rules_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *URLValidationResponse) String() string { @@ -929,7 +915,7 @@ func (*URLValidationResponse) ProtoMessage() {} func (x *URLValidationResponse) ProtoReflect() protoreflect.Message { mi := &file_rules_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -959,20 +945,17 @@ func (x *URLValidationResponse) GetMessages() []string { } type RuleIdentifier struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleIdentifier) Reset() { *x = RuleIdentifier{} - if protoimpl.UnsafeEnabled { - mi := &file_rules_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rules_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleIdentifier) String() string { @@ -983,7 +966,7 @@ func (*RuleIdentifier) ProtoMessage() {} func (x *RuleIdentifier) ProtoReflect() protoreflect.Message { mi := &file_rules_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1006,21 +989,18 @@ func (x *RuleIdentifier) GetId() string { } type RuleUpdateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code RuleUpdateResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.RuleUpdateResponse_Code" json:"code,omitempty"` + Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` unknownFields protoimpl.UnknownFields - - Code RuleUpdateResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.RuleUpdateResponse_Code" json:"code,omitempty"` - Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleUpdateResponse) Reset() { *x = RuleUpdateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rules_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rules_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleUpdateResponse) String() string { @@ -1031,7 +1011,7 @@ func (*RuleUpdateResponse) ProtoMessage() {} func (x *RuleUpdateResponse) ProtoReflect() protoreflect.Message { mi := &file_rules_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1061,21 +1041,18 @@ func (x *RuleUpdateResponse) GetMessages() []string { } type RuleDeleteResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code RuleDeleteResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.RuleDeleteResponse_Code" json:"code,omitempty"` + Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` unknownFields protoimpl.UnknownFields - - Code RuleDeleteResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.RuleDeleteResponse_Code" json:"code,omitempty"` - Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleDeleteResponse) Reset() { *x = RuleDeleteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rules_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rules_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleDeleteResponse) String() string { @@ -1086,7 +1063,7 @@ func (*RuleDeleteResponse) ProtoMessage() {} func (x *RuleDeleteResponse) ProtoReflect() protoreflect.Message { mi := &file_rules_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1116,23 +1093,20 @@ func (x *RuleDeleteResponse) GetMessages() []string { } type RuleAddResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code RuleAddResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.RuleAddResponse_Code" json:"code,omitempty"` + Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` + Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` + Rule *Rule `protobuf:"bytes,4,opt,name=rule,proto3" json:"rule,omitempty"` unknownFields protoimpl.UnknownFields - - Code RuleAddResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.RuleAddResponse_Code" json:"code,omitempty"` - Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` - Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` - Rule *Rule `protobuf:"bytes,4,opt,name=rule,proto3" json:"rule,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleAddResponse) Reset() { *x = RuleAddResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rules_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rules_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleAddResponse) String() string { @@ -1143,7 +1117,7 @@ func (*RuleAddResponse) ProtoMessage() {} func (x *RuleAddResponse) ProtoReflect() protoreflect.Message { mi := &file_rules_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1187,22 +1161,19 @@ func (x *RuleAddResponse) GetRule() *Rule { } type RuleGetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code RuleGetResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.RuleGetResponse_Code" json:"code,omitempty"` + Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` + Rule *Rule `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty"` unknownFields protoimpl.UnknownFields - - Code RuleGetResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.RuleGetResponse_Code" json:"code,omitempty"` - Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` - Rule *Rule `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleGetResponse) Reset() { *x = RuleGetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rules_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rules_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleGetResponse) String() string { @@ -1213,7 +1184,7 @@ func (*RuleGetResponse) ProtoMessage() {} func (x *RuleGetResponse) ProtoReflect() protoreflect.Message { mi := &file_rules_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1250,22 +1221,19 @@ func (x *RuleGetResponse) GetRule() *Rule { } type RuleListResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code RuleListResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.RuleListResponse_Code" json:"code,omitempty"` + Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` + Rules []*Rule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` unknownFields protoimpl.UnknownFields - - Code RuleListResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.RuleListResponse_Code" json:"code,omitempty"` - Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` - Rules []*Rule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RuleListResponse) Reset() { *x = RuleListResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rules_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rules_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RuleListResponse) String() string { @@ -1276,7 +1244,7 @@ func (*RuleListResponse) ProtoMessage() {} func (x *RuleListResponse) ProtoReflect() protoreflect.Message { mi := &file_rules_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1473,7 +1441,7 @@ func file_rules_proto_rawDescGZIP() []byte { var file_rules_proto_enumTypes = make([]protoimpl.EnumInfo, 7) var file_rules_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_rules_proto_goTypes = []interface{}{ +var file_rules_proto_goTypes = []any{ (Rule_Event)(0), // 0: notifications.Rule.Event (URLValidationResponse_Code)(0), // 1: notifications.URLValidationResponse.Code (RuleUpdateResponse_Code)(0), // 2: notifications.RuleUpdateResponse.Code @@ -1526,194 +1494,12 @@ func file_rules_proto_init() { if File_rules_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_rules_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Empty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rules_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SlackAlert); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rules_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebhookAlert); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rules_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceNowAlert); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rules_proto_msgTypes[4].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_rules_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UsernamePassword); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rules_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SecretId); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rules_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*URLValidationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rules_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*URLValidationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rules_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleIdentifier); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rules_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleUpdateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rules_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleDeleteResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rules_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleAddResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rules_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleGetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rules_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleListResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_rules_proto_msgTypes[4].OneofWrappers = []interface{}{ + file_rules_proto_msgTypes[4].OneofWrappers = []any{ (*Rule_SlackAlert)(nil), (*Rule_WebhookAlert)(nil), (*Rule_ServiceNowAlert)(nil), } - file_rules_proto_msgTypes[7].OneofWrappers = []interface{}{ + file_rules_proto_msgTypes[7].OneofWrappers = []any{ (*URLValidationRequest_UsernamePassword)(nil), (*URLValidationRequest_SecretId)(nil), (*URLValidationRequest_None)(nil), diff --git a/components/notifications-client/api/server.pb.go b/components/notifications-client/api/server.pb.go index 37557e32fe1..3397d3e906f 100644 --- a/components/notifications-client/api/server.pb.go +++ b/components/notifications-client/api/server.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: server.proto @@ -72,7 +72,7 @@ var file_server_proto_rawDesc = []byte{ 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_server_proto_goTypes = []interface{}{ +var file_server_proto_goTypes = []any{ (*Event)(nil), // 0: notifications.Event (*Rule)(nil), // 1: notifications.Rule (*RuleIdentifier)(nil), // 2: notifications.RuleIdentifier diff --git a/go.mod b/go.mod index 269b0d04554..aa0d16a1fde 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/chef/automate -go 1.22 +go 1.22.0 + +toolchain go1.22.5 require ( github.com/Azure/azure-sdk-for-go v68.0.0+incompatible @@ -22,7 +24,7 @@ require ( github.com/ckaznocha/protoc-gen-lint v0.2.1 github.com/coreos/go-oidc v2.2.1+incompatible github.com/dave/jennifer v1.7.0 - github.com/envoyproxy/protoc-gen-validate v1.0.2 + github.com/envoyproxy/protoc-gen-validate v1.1.0 github.com/fatih/color v1.17.0 github.com/ghodss/yaml v1.0.1-0.20180503022059-e9ed3c6dfb39 github.com/go-chef/chef v0.30.1 @@ -32,7 +34,6 @@ require ( github.com/gofrs/uuid v4.4.0+incompatible github.com/golang-migrate/migrate v3.5.4+incompatible github.com/golang/mock v1.6.0 - github.com/golang/protobuf v1.5.3 github.com/google/go-cmp v0.6.0 github.com/google/uuid v1.6.0 github.com/gorilla/mux v1.8.1 @@ -56,10 +57,10 @@ require ( github.com/mitchellh/mapstructure v1.5.0 github.com/muesli/crunchy v0.4.0 github.com/nats-io/nats-streaming-server v0.24.6 - github.com/nats-io/nats.go v1.28.0 + github.com/nats-io/nats.go v1.31.0 github.com/nats-io/stan.go v0.10.2 github.com/olivere/elastic/v7 v7.0.28 - github.com/open-policy-agent/opa v0.59.0 + github.com/open-policy-agent/opa v0.68.0 github.com/opentracing/opentracing-go v1.2.0 github.com/patrickmn/go-cache v2.1.0+incompatible github.com/pelletier/go-toml v1.9.5 @@ -68,15 +69,15 @@ require ( github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 github.com/poy/onpar v0.0.0-20190519213022-ee068f8ea4d1 // indirect github.com/pquerna/cachecontrol v0.2.0 // indirect - github.com/prometheus/client_golang v1.16.0 + github.com/prometheus/client_golang v1.20.2 github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect github.com/russellhaering/goxmldsig v1.1.1 // indirect github.com/schollz/closestmatch v2.1.1-0.20170908204616-19d3b334fdfc+incompatible github.com/sirupsen/logrus v1.9.3 github.com/spf13/cobra v1.8.1 github.com/spf13/pflag v1.0.5 - github.com/spf13/viper v1.7.0 - github.com/stretchr/testify v1.9.0 + github.com/spf13/viper v1.18.2 + github.com/stretchr/testify v1.10.0 github.com/teambition/rrule-go v1.8.2 github.com/uber/jaeger-client-go v2.30.0+incompatible github.com/zclconf/go-cty v1.15.0 @@ -85,14 +86,14 @@ require ( go.uber.org/zap v1.27.0 gocloud.dev v0.22.0 golang.org/x/crypto v0.31.0 - golang.org/x/oauth2 v0.22.0 + golang.org/x/oauth2 v0.23.0 golang.org/x/perf v0.0.0-20190823172224-ecb187b06eb0 golang.org/x/text v0.21.0 - google.golang.org/api v0.126.0 - google.golang.org/genproto v0.0.0-20230822172742-b8732ec3820d // indirect - google.golang.org/grpc v1.59.0 + google.golang.org/api v0.155.0 + google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 // indirect + google.golang.org/grpc v1.69.2 google.golang.org/grpc/examples v0.0.0-20220413171549-7567a5d96538 - google.golang.org/protobuf v1.31.0 + google.golang.org/protobuf v1.36.0 gopkg.in/cheggaaa/pb.v1 v1.0.28 gopkg.in/robfig/cron.v2 v2.0.0-20150107220207-be2e0b0deed5 gopkg.in/segmentio/analytics-go.v3 v3.1.0 @@ -103,78 +104,145 @@ require ( require ( github.com/ansrivas/fiberprometheus/v2 v2.6.0 github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 - github.com/bufbuild/buf v0.29.0 + github.com/bufbuild/buf v1.48.0 github.com/chef/automate/api/external v0.0.0-20240828051912-8c022fa4f66b github.com/dexidp/dex v2.35.0+incompatible github.com/dexidp/dex/api/v2 v2.0.0 github.com/gofiber/fiber/v2 v2.52.5 github.com/gofiber/utils v1.1.0 github.com/golang-jwt/jwt v3.2.2+incompatible + github.com/golang/protobuf v1.5.4 github.com/hashicorp/go-version v1.7.0 github.com/prashantv/gostub v1.1.0 github.com/shirou/gopsutil v3.21.11+incompatible go.uber.org/automaxprocs v1.5.3 - google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d - google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d + google.golang.org/genproto/googleapis/api v0.0.0-20241219192143-6b3ec007d9bb + google.golang.org/genproto/googleapis/rpc v0.0.0-20241219192143-6b3ec007d9bb ) require ( - github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect - github.com/felixge/fgprof v0.9.4 // indirect + github.com/felixge/fgprof v0.9.5 // indirect github.com/gofiber/adaptor/v2 v2.1.31 // indirect - github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8 // indirect - github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect + github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad // indirect github.com/moby/docker-image-spec v1.3.1 // indirect - github.com/spf13/jwalterweatherman v1.0.0 // indirect go.opencensus.io v0.24.0 // indirect - golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect - google.golang.org/appengine v1.6.7 // indirect ) require ( - cloud.google.com/go/compute/metadata v0.5.0 // indirect - cloud.google.com/go/iam v1.1.1 // indirect + buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.36.0-20241031151143-70f632351282.1 // indirect + buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.0-20241127180247-a33202765966.1 // indirect + buf.build/gen/go/bufbuild/registry/connectrpc/go v1.17.0-20241210175624-28487aef65cd.1 // indirect + buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.36.0-20241210175624-28487aef65cd.1 // indirect + buf.build/gen/go/pluginrpc/pluginrpc/protocolbuffers/go v1.36.0-20241007202033-cf42259fcbfc.1 // indirect + buf.build/go/bufplugin v0.6.0 // indirect + buf.build/go/protoyaml v0.3.1 // indirect + buf.build/go/spdx v0.2.0 // indirect + cel.dev/expr v0.19.1 // indirect + cloud.google.com/go/compute/metadata v0.5.2 // indirect + cloud.google.com/go/iam v1.1.5 // indirect + connectrpc.com/connect v1.17.0 // indirect + connectrpc.com/otelconnect v0.7.1 // indirect + github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect github.com/HdrHistogram/hdrhistogram-go v1.1.2 // indirect + github.com/Microsoft/hcsshim v0.12.9 // indirect github.com/agnivade/levenshtein v1.1.1 // indirect + github.com/antlr4-go/antlr/v4 v4.13.1 // indirect github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect + github.com/bufbuild/protocompile v0.14.1 // indirect + github.com/bufbuild/protoplugin v0.0.0-20240911180120-7bb73e41a54a // indirect + github.com/bufbuild/protovalidate-go v0.8.0 // indirect github.com/chzyer/readline v1.5.1 // indirect + github.com/containerd/cgroups/v3 v3.0.5 // indirect + github.com/containerd/containerd v1.7.24 // indirect + github.com/containerd/continuity v0.4.5 // indirect + github.com/containerd/errdefs v1.0.0 // indirect + github.com/containerd/errdefs/pkg v0.3.0 // indirect + github.com/containerd/log v0.1.0 // indirect + github.com/containerd/platforms v0.2.1 // indirect + github.com/containerd/stargz-snapshotter/estargz v0.16.3 // indirect + github.com/containerd/ttrpc v1.2.6 // indirect + github.com/containerd/typeurl/v2 v2.2.3 // indirect + github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect github.com/distribution/reference v0.6.0 // indirect + github.com/docker/cli v27.4.1+incompatible // indirect + github.com/docker/distribution v2.8.3+incompatible // indirect + github.com/docker/docker-credential-helpers v0.8.2 // indirect + github.com/go-chi/chi/v5 v5.2.0 // indirect github.com/go-ini/ini v1.67.0 // indirect github.com/go-logr/logr v1.4.2 // indirect github.com/go-logr/stdr v1.2.2 // indirect + github.com/go-task/slim-sprig/v3 v3.0.0 // indirect github.com/goccy/go-json v0.10.3 // indirect - github.com/google/s2a-go v0.1.4 // indirect + github.com/gofrs/flock v0.12.1 // indirect + github.com/google/cel-go v0.22.1 // indirect + github.com/google/go-containerregistry v0.20.2 // indirect + github.com/google/s2a-go v0.1.7 // indirect github.com/googleapis/enterprise-certificate-proxy v0.3.3 // indirect github.com/hashicorp/go-msgpack v1.1.5 // indirect github.com/hashicorp/go-msgpack/v2 v2.1.1 // indirect + github.com/jdx/go-netrc v1.0.0 // indirect github.com/klauspost/cpuid/v2 v2.2.8 // indirect - github.com/lyft/protoc-gen-star/v2 v2.0.3 // indirect + github.com/lyft/protoc-gen-star/v2 v2.0.4-0.20230330145011-496ad1ac90a4 // indirect github.com/mattermost/xml-roundtrip-validator v0.0.0-20201204154048-1a8688af4cf1 // indirect github.com/minio/highwayhash v1.0.3 // indirect + github.com/moby/locker v1.0.1 // indirect github.com/moby/patternmatcher v0.6.0 // indirect + github.com/moby/sys/mount v0.3.4 // indirect + github.com/moby/sys/mountinfo v0.7.2 // indirect github.com/moby/sys/sequential v0.6.0 // indirect github.com/moby/sys/user v0.3.0 // indirect github.com/moby/sys/userns v0.1.0 // indirect + github.com/moby/term v0.5.0 // indirect + github.com/morikuni/aec v1.0.0 // indirect + github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/nats-io/jwt/v2 v2.5.8 // indirect github.com/oklog/ulid v1.3.1 // indirect - github.com/rogpeppe/go-internal v1.12.0 // indirect + github.com/onsi/ginkgo/v2 v2.22.0 // indirect + github.com/opencontainers/go-digest v1.0.0 // indirect + github.com/opencontainers/image-spec v1.1.0 // indirect + github.com/opencontainers/runtime-spec v1.2.0 // indirect + github.com/pelletier/go-toml/v2 v2.1.0 // indirect + github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect + github.com/quic-go/qpack v0.5.1 // indirect + github.com/quic-go/quic-go v0.48.2 // indirect + github.com/rogpeppe/go-internal v1.13.1 // indirect + github.com/rs/cors v1.11.1 // indirect + github.com/russross/blackfriday/v2 v2.1.0 // indirect + github.com/sagikazarmark/locafero v0.4.0 // indirect + github.com/sagikazarmark/slog-shim v0.1.0 // indirect + github.com/segmentio/asm v1.2.0 // indirect + github.com/segmentio/encoding v0.4.1 // indirect + github.com/sourcegraph/conc v0.3.0 // indirect + github.com/stoewer/go-strcase v1.3.0 // indirect github.com/tchap/go-patricia/v2 v2.3.1 // indirect + github.com/tetratelabs/wazero v1.8.2 // indirect + github.com/vbatts/tar-split v0.11.6 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect + go.lsp.dev/jsonrpc2 v0.10.0 // indirect + go.lsp.dev/pkg v0.0.0-20210717090340-384b27a52fb2 // indirect + go.lsp.dev/protocol v0.12.0 // indirect + go.lsp.dev/uri v0.3.0 // indirect go.mongodb.org/mongo-driver v1.16.1 // indirect - go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 // indirect - go.opentelemetry.io/otel v1.29.0 // indirect - go.opentelemetry.io/otel/metric v1.29.0 // indirect - go.opentelemetry.io/otel/sdk v1.29.0 // indirect - go.opentelemetry.io/otel/trace v1.29.0 // indirect + go.opentelemetry.io/auto/sdk v1.1.0 // indirect + go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1 // indirect + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 // indirect + go.opentelemetry.io/otel v1.33.0 // indirect + go.opentelemetry.io/otel/metric v1.33.0 // indirect + go.opentelemetry.io/otel/sdk v1.31.0 // indirect + go.opentelemetry.io/otel/trace v1.33.0 // indirect + go.uber.org/mock v0.5.0 // indirect + go.uber.org/zap/exp v0.3.0 // indirect + golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 // indirect golang.org/x/sync v0.10.0 // indirect golang.org/x/time v0.6.0 // indirect + pluginrpc.com/pluginrpc v0.5.0 // indirect sigs.k8s.io/yaml v1.4.0 // indirect ) require ( - cloud.google.com/go v0.110.7 // indirect - cloud.google.com/go/storage v1.30.1 + cloud.google.com/go v0.112.0 // indirect + cloud.google.com/go/storage v1.36.0 github.com/Azure/go-autorest v14.2.0+incompatible // indirect github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 // indirect github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect @@ -183,7 +251,7 @@ require ( github.com/Azure/go-autorest/logger v0.2.1 // indirect github.com/Azure/go-autorest/tracing v0.6.0 // indirect github.com/Masterminds/semver/v3 v3.3.0 - github.com/Microsoft/go-winio v0.6.1 // indirect + github.com/Microsoft/go-winio v0.6.2 // indirect github.com/OneOfOne/xxhash v1.2.8 // indirect github.com/agext/levenshtein v1.2.3 // indirect github.com/andybalholm/brotli v1.1.0 // indirect @@ -194,7 +262,7 @@ require ( github.com/cosiner/argv v0.0.0-20170225145430-13bacc38a0a5 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/dimchansky/utfbom v1.1.1 // indirect - github.com/docker/docker v27.1.2+incompatible // indirect + github.com/docker/docker v27.4.1+incompatible // indirect github.com/docker/go-connections v0.5.0 // indirect github.com/docker/go-units v0.5.0 // indirect github.com/dustin/go-humanize v1.0.1 // indirect @@ -206,10 +274,10 @@ require ( github.com/gobwas/glob v0.2.3 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang-jwt/jwt/v4 v4.5.1 // indirect - github.com/golang/glog v1.2.1 // indirect - github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect + github.com/golang/glog v1.2.2 // indirect + github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect github.com/google/wire v0.5.0 // indirect - github.com/googleapis/gax-go/v2 v2.11.0 // indirect + github.com/googleapis/gax-go/v2 v2.12.0 // indirect github.com/gorilla/handlers v1.4.2 // indirect github.com/hashicorp/go-hclog v1.6.3 // indirect github.com/hashicorp/go-immutable-radix v1.3.1 // indirect @@ -221,7 +289,7 @@ require ( github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/jonboulle/clockwork v0.2.2 // indirect github.com/josharian/intern v1.0.0 // indirect - github.com/klauspost/compress v1.17.9 // indirect + github.com/klauspost/compress v1.17.11 // indirect github.com/klauspost/pgzip v1.2.6 // indirect github.com/kr/pretty v0.3.1 // indirect github.com/kr/text v0.2.0 // indirect @@ -240,13 +308,13 @@ require ( github.com/nats-io/nuid v1.0.1 // indirect github.com/peterh/liner v1.2.2 // indirect github.com/pkg/profile v1.7.0 // indirect - github.com/prometheus/client_model v0.3.0 // indirect - github.com/prometheus/common v0.42.0 // indirect + github.com/prometheus/client_model v0.6.1 // indirect + github.com/prometheus/common v0.55.0 // indirect github.com/prometheus/procfs v0.15.1 // indirect github.com/rivo/uniseg v0.4.7 // indirect github.com/rs/xid v1.6.0 // indirect github.com/segmentio/backo-go v1.1.0 // indirect - github.com/spf13/afero v1.10.0 // indirect + github.com/spf13/afero v1.11.0 // indirect github.com/spf13/cast v1.7.0 // indirect github.com/stretchr/objx v0.5.2 // indirect github.com/subosito/gotenv v1.6.0 // indirect @@ -265,11 +333,11 @@ require ( // go.opencensus.io v0.24.0 // indirect go.starlark.net v0.0.0-20190702223751-32f345186213 // indirect golang.org/x/arch v0.0.0-20171004143515-077ac972c2e4 // indirect - golang.org/x/mod v0.17.0 // indirect + golang.org/x/mod v0.22.0 // indirect golang.org/x/net v0.33.0 // indirect golang.org/x/sys v0.28.0 // indirect golang.org/x/term v0.27.0 // indirect - golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect + golang.org/x/tools v0.28.0 // indirect golang.org/x/xerrors v0.0.0-20240716161551-93cc26a95ae9 // indirect gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d // indirect gopkg.in/fsnotify.v1 v1.4.7 // indirect diff --git a/go.sum b/go.sum index b6932520272..7ee79ac3361 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,22 @@ bazil.org/fuse v0.0.0-20180421153158-65cc252bf669/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= +buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.36.0-20241031151143-70f632351282.1 h1:FXEFgDFrBYuXjn3twNRo/t80qSbdKmkfZSgR2JGTuyk= +buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.36.0-20241031151143-70f632351282.1/go.mod h1:/bPD5uslGsdRKBeVavIK7D7yr+3ISI0OoyUOkokSJTA= +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.0-20241127180247-a33202765966.1 h1:ntAj16eF7AtUyzOOAFk5gvbAO52QmUKPKk7GmsIEORo= +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.0-20241127180247-a33202765966.1/go.mod h1:AxRT+qTj5PJCz2nyQzsR/qxAcveW5USRhJTt/edTO5w= +buf.build/gen/go/bufbuild/registry/connectrpc/go v1.17.0-20241210175624-28487aef65cd.1 h1:x8cCitPNXODGzWbfApZMFc4ALtRe5LZJmTdAkNqk62A= +buf.build/gen/go/bufbuild/registry/connectrpc/go v1.17.0-20241210175624-28487aef65cd.1/go.mod h1:kDOQd1sZ0wRp33hvCTQeaz9KprnHNfJ+a8dcIQ/6+0k= +buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.36.0-20241210175624-28487aef65cd.1 h1:NOuNS+nCp3xc4CALIC7sNz7irT63UMcYAfofrxurUfE= +buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.36.0-20241210175624-28487aef65cd.1/go.mod h1:NeX3YCZgM9E/wNp9e3g/9u5bu8/OPntr7K0ygUlgrDE= +buf.build/gen/go/pluginrpc/pluginrpc/protocolbuffers/go v1.36.0-20241007202033-cf42259fcbfc.1 h1:HuK77NuzllXrJNgB+lAtnG2dKrB7WAjd9QQ+n0zTQHc= +buf.build/gen/go/pluginrpc/pluginrpc/protocolbuffers/go v1.36.0-20241007202033-cf42259fcbfc.1/go.mod h1:BLQCnWbu3tZcKQfbU1f5ysbRk55FDFwOvjlyzN+uLXg= +buf.build/go/bufplugin v0.6.0 h1:3lhoh+0z+IUPS3ZajTPn/27LaLIkero2BDVnV7yXD1s= +buf.build/go/bufplugin v0.6.0/go.mod h1:hWCjxxv24xdR6F5pNlQavZV2oo0J3uF4Ff1XEoyV6vU= +buf.build/go/protoyaml v0.3.1 h1:ucyzE7DRnjX+mQ6AH4JzN0Kg50ByHHu+yrSKbgQn2D4= +buf.build/go/protoyaml v0.3.1/go.mod h1:0TzNpFQDXhwbkXb/ajLvxIijqbve+vMQvWY/b3/Dzxg= +buf.build/go/spdx v0.2.0 h1:IItqM0/cMxvFJJumcBuP8NrsIzMs/UYjp/6WSpq8LTw= +buf.build/go/spdx v0.2.0/go.mod h1:bXdwQFem9Si3nsbNy8aJKGPoaPi5DKwdeEp5/ArZ6w8= +cel.dev/expr v0.19.1 h1:NciYrtDRIR0lNCnH1LFJegdjspNx9fI59O7TWcua/W4= +cel.dev/expr v0.19.1/go.mod h1:MrpN08Q+lEBs+bGYdLxxHkZoUSsCp0nSKTs0nTymJgw= cloud.google.com/go v0.0.0-20170206221025-ce650573d812/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= 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= @@ -6,7 +24,6 @@ cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSR cloud.google.com/go v0.39.0/go.mod h1:rVLT6fkc8chs9sfPtFc1SBH6em7n+ZoXaG+87tDISts= 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.44.3/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= @@ -19,24 +36,21 @@ cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOY cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= cloud.google.com/go v0.66.0/go.mod h1:dgqGAjKCDxyhGTtC9dAREQGUJpkceNm1yt590Qno0Ko= cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= -cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= -cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= -cloud.google.com/go v0.110.7 h1:rJyC7nWRg2jWGZ4wSJ5nY65GTdYJkg0cd/uXb+ACI6o= -cloud.google.com/go v0.110.7/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= +cloud.google.com/go v0.112.0 h1:tpFCD7hpHFlQ8yPwT3x+QeXqc2T6+n6T+hmABHfDUSM= +cloud.google.com/go v0.112.0/go.mod h1:3jEEVwZ/MHU4djK5t5RHuKOA/GbLddgTdVubX1qnPD4= 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/compute/metadata v0.5.0 h1:Zr0eK8JbFv6+Wi4ilXAR8FJ3wyNdpxHKJNPos6LTZOY= -cloud.google.com/go/compute/metadata v0.5.0/go.mod h1:aHnloV2TPI38yx4s9+wAZhHykWvVCfu7hQbF+9CWoiY= +cloud.google.com/go/compute/metadata v0.5.2 h1:UxK4uu/Tn+I3p2dYWTfiX4wva7aYlKixAHn3fyqngqo= +cloud.google.com/go/compute/metadata v0.5.2/go.mod h1:C66sj2AluDcIqakBq/M8lw8/ybHgOZqin2obFxa/E5k= 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/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= cloud.google.com/go/firestore v1.4.0/go.mod h1:NjjGEnxCS3CAKYp+vmALu20QzcqasGodQp48WxJGAYc= -cloud.google.com/go/iam v1.1.1 h1:lW7fzj15aVIXYHREOqjRBV9PsH0Z6u8Y46a1YGvQP4Y= -cloud.google.com/go/iam v1.1.1/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= +cloud.google.com/go/iam v1.1.5 h1:1jTsCu4bcsNsE4iiqNT5SHwrDRCfRmIaaaVFhRveTJI= +cloud.google.com/go/iam v1.1.5/go.mod h1:rB6P/Ic3mykPbFio+vo7403drjlgvoWfYpJhMXEbzv8= 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= @@ -48,13 +62,18 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl 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= cloud.google.com/go/storage v1.12.0/go.mod h1:fFLk2dp2oAhDz8QFKwqrjdJvxSp/W2g7nillojlL5Ho= -cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= -cloud.google.com/go/storage v1.30.1 h1:uOdMxAs8HExqBlnLtnQyP0YkvbiDpdGShGKtx6U/oNM= -cloud.google.com/go/storage v1.30.1/go.mod h1:NfxhC0UJE1aXSx7CIIbCf7y9HKT7BiccwkR7+P7gN8E= +cloud.google.com/go/storage v1.36.0 h1:P0mOkAcaJxhCTvAkMhxMfrTKiNcub4YmmPBtlhAyTr8= +cloud.google.com/go/storage v1.36.0/go.mod h1:M6M/3V/D3KpzMTJyPOR/HU6n2Si5QdaXYEsng2xgOs8= +connectrpc.com/connect v1.17.0 h1:W0ZqMhtVzn9Zhn2yATuUokDLO5N+gIuBWMOnsQrfmZk= +connectrpc.com/connect v1.17.0/go.mod h1:0292hj1rnx8oFrStN7cB4jjVBeqs+Yx5yDIC2prWDO8= +connectrpc.com/otelconnect v0.7.1 h1:scO5pOb0i4yUE66CnNrHeK1x51yq0bE0ehPg6WvzXJY= +connectrpc.com/otelconnect v0.7.1/go.mod h1:dh3bFgHBTb2bkqGCeVVOtHJreSns7uu9wwL2Tbz17ms= contrib.go.opencensus.io/exporter/aws v0.0.0-20200617204711-c478e41e60e9/go.mod h1:uu1P0UCM/6RbsMrgPa98ll8ZcHM858i/AD06a9aLRCA= contrib.go.opencensus.io/exporter/stackdriver v0.13.4/go.mod h1:aXENhDJ1Y4lIg4EUaVTwzvYETVNZk10Pu26tevFKLUc= contrib.go.opencensus.io/integrations/ocsql v0.1.7/go.mod h1:8DsSdjz3F+APR+0z0WkU1aRorQCFfRxvqjUUPMbF3fE= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 h1:bvDV9vkmnHYOMsOr4WLk+Vo07yKIzd94sVoIqshQ4bU= +github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24/go.mod h1:8o94RPi1/7XTJvwPpRSzSUedZrtlirdB3r9Z20bi2f8= github.com/Azure/azure-amqp-common-go/v3 v3.0.1/go.mod h1:PBIGdzcO1teYoufTKMcGibdKaYZv4avS+O6LNIp8bq0= github.com/Azure/azure-amqp-common-go/v3 v3.1.0/go.mod h1:PBIGdzcO1teYoufTKMcGibdKaYZv4avS+O6LNIp8bq0= github.com/Azure/azure-pipeline-go v0.2.3 h1:7U9HBg1JFK3jHl5qmo4CTZKFTVgMwdFHMVtCdfBE21U= @@ -69,6 +88,8 @@ github.com/Azure/azure-storage-blob-go v0.13.0/go.mod h1:pA9kNqtjUeQF2zOSu4s//nU github.com/Azure/go-amqp v0.13.0/go.mod h1:qj+o8xPCz9tMSbQ83Vp8boHahuRDl5mkNHyt1xlxUTs= github.com/Azure/go-amqp v0.13.1/go.mod h1:qj+o8xPCz9tMSbQ83Vp8boHahuRDl5mkNHyt1xlxUTs= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= +github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25UVaW/CKtUDjefjrs0SPonmDGUVOYP0= +github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= github.com/Azure/go-autorest/autorest v0.11.3/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= @@ -127,10 +148,11 @@ github.com/Masterminds/squirrel v1.5.4 h1:uUcX/aBc8O7Fg9kaISIUsHXdKuqehiXAMQTYX8 github.com/Masterminds/squirrel v1.5.4/go.mod h1:NNaOrjSoIDfDA40n7sr2tPNZRfjzjA400rg+riTZj10= github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= -github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= -github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= +github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY= +github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= github.com/Microsoft/hcsshim v0.8.7/go.mod h1:OHd7sQqRFrYd3RmSgbgji+ctCwkbq2wbEYNSzOYtcBQ= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= +github.com/Microsoft/hcsshim v0.12.9 h1:2zJy5KA+l0loz1HzEGqyNnjd3fyZA31ZBCGKacp6lLg= +github.com/Microsoft/hcsshim v0.12.9/go.mod h1:fJ0gkFAna6ukt0bLdKB8djt4XIJhF/vEPuoIWYVvZ8Y= github.com/OneOfOne/xxhash v1.2.8 h1:31czK/TI9sNkxIKfaUfGlU47BAxQ0ztGgd9vPyqimf8= github.com/OneOfOne/xxhash v1.2.8/go.mod h1:eZbhyaAYD41SGSSsnmcpxVoRiQ/MPUTjUdIIOT9Um7Q= github.com/aclements/go-gg v0.0.0-20170118225347-6dbb4e4fefb0/go.mod h1:55qNq4vcpkIuHowELi5C8e+1yUHtoLoOUR9QU5j7Tes= @@ -153,17 +175,16 @@ github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer5 github.com/ansrivas/fiberprometheus/v2 v2.6.0 h1:QUaaKxil/N5IM1R19k6jsmFEJMfa4O3qtnDkiF+zxUc= github.com/ansrivas/fiberprometheus/v2 v2.6.0/go.mod h1:hivZjKkqX04PPbMZNi9iGB0AQ90iN6RmKERiX1TdgTA= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/antlr4-go/antlr/v4 v4.13.1 h1:SqQKkuVZ+zWkMMNkjy5FZe5mr5WURWnlpmOuzYWrPrQ= +github.com/antlr4-go/antlr/v4 v4.13.1/go.mod h1:GKmUxMtwp6ZgGwZSva4eWPC5mS6vUAmOABFgjdkM7Nw= github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew1u1fNQOlOtuGxQY= github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4= github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0 h1:jfIu9sQUG6Ig+0+Ap1h4unLjW6YQJpKZVmUzxsD4E/Q= github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0/go.mod h1:t2tdKJDJF9BV14lnkjHmOQgcvEKgtqs5a1N3LNdJhGE= -github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= -github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= github.com/armon/go-metrics v0.0.0-20190430140413-ec5e00d3c878/go.mod h1:3AMJUQhVx52RsWOnlkpikZr01T/yAVN2gn0861vByNg= github.com/armon/go-metrics v0.4.1 h1:hR91U9KYmb6bLBYLQjyM+3j+rcd/UhE+G78SFnF8gJA= github.com/armon/go-metrics v0.4.1/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4= -github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 h1:DklsrG3dyBCFEj5IhUbnKptjxatkF07cF2ak3yi77so= github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= @@ -180,10 +201,7 @@ github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24 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/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d h1:xDfNPAt8lFiC1UJrqV3uuy861HCTo708pDMbjHHdCas= -github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ00z/TKoufEY6K/a0k6AhaJrQKdFe6OfVXsa4= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= github.com/blang/semver v3.1.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= @@ -193,8 +211,14 @@ github.com/boltdb/bolt v1.3.2-0.20171120010307-9da317453632 h1:5cBPp9mZiSPzQ3mQA github.com/boltdb/bolt v1.3.2-0.20171120010307-9da317453632/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps= github.com/briandowns/spinner v0.0.0-20180123222039-b3ed21e9d3b2 h1:in2sy9EUvc/vYQSiLUdeuwfbbkBmxeqyf/3XRor0AA8= github.com/briandowns/spinner v0.0.0-20180123222039-b3ed21e9d3b2/go.mod h1:hw/JEQBIE+c/BLI4aKM8UU8v+ZqrD3h7HC27kKt8JQU= -github.com/bufbuild/buf v0.29.0 h1:4H7m9SW5JaNCf8CUFMZiRAHvimUEU5w8GpKs3wnQt+s= -github.com/bufbuild/buf v0.29.0/go.mod h1:ukzHJo2ZzZlUHGmyPzwMEjn01DIIZwub+kia5NX5vJE= +github.com/bufbuild/buf v1.48.0 h1:JiA1Ynz6DE/MBDcEsFvWNoaPhnjaSdLzKH00/5SWomg= +github.com/bufbuild/buf v1.48.0/go.mod h1:lHjK93s3FLn6GOec0f2uqFeREhfL0Qw5dvZ3eipclD8= +github.com/bufbuild/protocompile v0.14.1 h1:iA73zAf/fyljNjQKwYzUHD6AD4R8KMasmwa/FBatYVw= +github.com/bufbuild/protocompile v0.14.1/go.mod h1:ppVdAIhbr2H8asPk6k4pY7t9zB1OU5DoEw9xY/FUi1c= +github.com/bufbuild/protoplugin v0.0.0-20240911180120-7bb73e41a54a h1:l3RhVoG0RtC61h6TVWnkniGj4TgBebuyPQRdleFAmTg= +github.com/bufbuild/protoplugin v0.0.0-20240911180120-7bb73e41a54a/go.mod h1:c5D8gWRIZ2HLWO3gXYTtUfw/hbJyD8xikv2ooPxnklQ= +github.com/bufbuild/protovalidate-go v0.8.0 h1:Xs3kCLCJ4tQiogJ0iOXm+ClKw/KviW3nLAryCGW2I3Y= +github.com/bufbuild/protovalidate-go v0.8.0/go.mod h1:JPWZInGm2y2NBg3vKDKdDIkvDjyLv31J3hLH5GIFc/Q= github.com/buger/goterm v1.0.4 h1:Z9YvGmOih81P0FbVtEYTFF6YsSgxSUKEhf/f9bTMXbY= github.com/buger/goterm v1.0.4/go.mod h1:HiFWV3xnkolgrBV3mY8m0X0Pumt4zg4QhbdOzQtB8tE= github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs= @@ -203,8 +227,8 @@ github.com/bytecodealliance/wasmtime-go/v3 v3.0.2 h1:3uZCA/BLTIu+DqCfguByNMJa2HV github.com/bytecodealliance/wasmtime-go/v3 v3.0.2/go.mod h1:RnUjnIXxEJcL6BgCvNyzCCRzZcxCgsZCi+RNlvYor5Q= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= -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/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8= +github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= @@ -235,24 +259,38 @@ github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDk github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78 h1:QVw89YDxXxEe+l8gU8ETbOasdwEV+avkR75ZzsVV9WI= +github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78/go.mod h1:W+zGtBO5Y1IgJhy4+A9GOqVhqLpfZi+vwmdNXUehLA8= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= github.com/containerd/cgroups v0.0.0-20190919134610-bf292b21730f/go.mod h1:OApqhQ4XNSNC13gXIwDjhOQxjWa/NxkwZXJ1EvqT0ko= +github.com/containerd/cgroups/v3 v3.0.5 h1:44na7Ud+VwyE7LIoJ8JTNQOa549a8543BmzaJHo6Bzo= +github.com/containerd/cgroups/v3 v3.0.5/go.mod h1:SA5DLYnXO8pTGYiAHXz94qvLQTKfVM5GEVisn4jpins= github.com/containerd/console v0.0.0-20180822173158-c12b1e7919c1/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw= github.com/containerd/containerd v1.3.0-beta.2.0.20190828155532-0293cbd26c69/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.7.24 h1:zxszGrGjrra1yYJW/6rhm9cJ1ZQ8rkKBR48brqsa7nA= +github.com/containerd/containerd v1.7.24/go.mod h1:7QUzfURqZWCZV7RLNEn1XjUCQLEf0bkaK4GjUaZehxw= github.com/containerd/continuity v0.0.0-20190426062206-aaeac12a7ffc/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= +github.com/containerd/continuity v0.4.5 h1:ZRoN1sXq9u7V6QoHMcVWGhOwDFqZ4B9i5H6un1Wh0x4= +github.com/containerd/continuity v0.4.5/go.mod h1:/lNJvtJKUQStBzpVQ1+rasXO1LAWtUQssk28EZvJ3nE= +github.com/containerd/errdefs v1.0.0 h1:tg5yIfIlQIrxYtu9ajqY42W3lpS19XqdxRQeEwYG8PI= +github.com/containerd/errdefs v1.0.0/go.mod h1:+YBYIdtsnF4Iw6nWZhJcqGSg/dwvV7tyJ/kCkyJ2k+M= +github.com/containerd/errdefs/pkg v0.3.0 h1:9IKJ06FvyNlexW690DXuQNx2KA2cUJXx151Xdx3ZPPE= +github.com/containerd/errdefs/pkg v0.3.0/go.mod h1:NJw6s9HwNuRhnjJhM7pylWwMyAkmCQvQ4GpJHEqRLVk= github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= github.com/containerd/go-runc v0.0.0-20180907222934-5a6d9f37cfa3/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I= github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo= +github.com/containerd/platforms v0.2.1 h1:zvwtM3rz2YHPQsF2CHYM8+KtB5dvhISiXh5ZpSBQv6A= +github.com/containerd/platforms v0.2.1/go.mod h1:XHCb+2/hzowdiut9rkudds9bE5yJ7npe7dG/wG+uFPw= +github.com/containerd/stargz-snapshotter/estargz v0.16.3 h1:7evrXtoh1mSbGj/pfRccTampEyKpjpOnS3CyiV1Ebr8= +github.com/containerd/stargz-snapshotter/estargz v0.16.3/go.mod h1:uyr4BfYfOj3G9WBVE8cOlQmXAbPN9VEQpBBeJIuOipU= github.com/containerd/ttrpc v0.0.0-20190828154514-0e0f228740de/go.mod h1:PvCDdDGpgqzQIzDW1TphrGLssLDZp2GuS+X5DkEJB8o= +github.com/containerd/ttrpc v1.2.6 h1:zG+Kn5EZ6MUYCS1t2Hmt2J4tMVaLSFEJVOraDQwNPC4= +github.com/containerd/ttrpc v1.2.6/go.mod h1:YCXHsb32f+Sq5/72xHubdiJRQY9inL4a4ZQrAbN1q9o= github.com/containerd/typeurl v0.0.0-20180627222232-a93fcdb778cd/go.mod h1:Cm3kwCdlkCfMSHURc+r6fwoGH6/F1hH3S4sg0rLFWPc= -github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= +github.com/containerd/typeurl/v2 v2.2.3 h1:yNA/94zxWdvYACdYO8zofhrTVuQY73fFU1y++dYSw40= +github.com/containerd/typeurl/v2 v2.2.3/go.mod h1:95ljDnPfD3bAbDJRugOiShd/DlAAsxGtUBhJxIn7SCk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= github.com/coreos/go-oidc v2.2.1+incompatible h1:mh48q/BqXqgjVHpy2ZY7WnWAbenxRjsz9N1i1YxjHAk= github.com/coreos/go-oidc v2.2.1+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= @@ -267,10 +305,13 @@ github.com/cosiner/argv v0.0.0-20170225145430-13bacc38a0a5 h1:rIXlvz2IWiupMFlC45 github.com/cosiner/argv v0.0.0-20170225145430-13bacc38a0a5/go.mod h1:p/NrK5tF6ICIly4qwEDsf6VDirFiWWz0FenfYBwJaKQ= github.com/cpuguy83/go-md2man v1.0.8/go.mod h1:N6JayAiVKtlHSnuTCeuLSQVs75hb8q+dYQLjr7cDsKY= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= -github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.6 h1:XJtiaUW6dEEqVuZiMTn1ldk455QWwEIsMIJlo5vtkx0= +github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY= +github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/ctdk/goiardi v0.11.10 h1:IB/3Afl1pC2Q4KGwzmhHPAoJfe8VtU51wZ2V0QkvsL0= github.com/ctdk/goiardi v0.11.10/go.mod h1:Pr6Cj6Wsahw45myttaOEZeZ0LE7p1qzWmzgsBISkrNI= github.com/dave/jennifer v1.7.0 h1:uRbSBH9UTS64yXbh4FrMHfgfY762RD+C7bUPKODpSJE= @@ -290,7 +331,6 @@ github.com/dgraph-io/badger/v3 v3.2103.5/go.mod h1:4MPiseMeDQ3FNCYwRbbcBOGJLf5js github.com/dgraph-io/ristretto v0.1.1 h1:6CWw5tJNgpegArSHpNHJKldNeq03FQCwYvfMVWajOK8= github.com/dgraph-io/ristretto v0.1.1/go.mod h1:S1GPSBCYCIhmVNfcth17y2zZtQT6wzkzgwUve0VDWWA= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= github.com/dgryski/trifles v0.0.0-20200323201526-dd97f9abfb48 h1:fRzb/w+pyskVMQ+UbP35JkH8yB7MYb4q/qhBarqZE6g= github.com/dgryski/trifles v0.0.0-20200323201526-dd97f9abfb48/go.mod h1:if7Fbed8SFyPtHLHbg49SI7NAdJiC5WIA09pe59rfAA= github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8= @@ -298,10 +338,16 @@ github.com/dimchansky/utfbom v1.1.1 h1:vV6w1AhK4VMnhBno/TPVCoK9U/LP0PkLCS9tbxHdi github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE= github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk= github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E= +github.com/docker/cli v27.4.1+incompatible h1:VzPiUlRJ/xh+otB75gva3r05isHMo5wXDfPRi5/b4hI= +github.com/docker/cli v27.4.1+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= +github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk= +github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= github.com/docker/docker v0.7.3-0.20190506211059-b20a14b54661/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v27.1.2+incompatible h1:AhGzR1xaQIy53qCkxARaFluI00WPGtXn0AJuoQsVYTY= -github.com/docker/docker v27.1.2+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v27.4.1+incompatible h1:ZJvcY7gfwHn1JF48PfbyXg7Jyt9ZCWDW+GGXOIxEwp4= +github.com/docker/docker v27.4.1+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker-credential-helpers v0.8.2 h1:bX3YxiGzFP5sOXWc3bTPEXdEaZSeVMrFgOr3T+zrFAo= +github.com/docker/docker-credential-helpers v0.8.2/go.mod h1:P3ci7E3lwkZg6XiHdRKft1KckHiO9a2rNtyFbZ/ry9M= github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c= github.com/docker/go-connections v0.5.0/go.mod h1:ov60Kzw0kKElRwhNs9UlUHAE/F9Fe6GLaXnqyDdmEXc= @@ -317,17 +363,16 @@ github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.m github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/envoyproxy/protoc-gen-validate v1.0.2 h1:QkIBuU5k+x7/QXPvPPnWXWlCdaBFApVqftFV6k087DA= -github.com/envoyproxy/protoc-gen-validate v1.0.2/go.mod h1:GpiZQP3dDbg4JouG/NNS7QWXpgx6x8QiMKdmN72jogE= +github.com/envoyproxy/protoc-gen-validate v1.1.0 h1:tntQDh69XqOCOZsDz0lVJQez/2L6Uu2PdjCQwWCJ3bM= +github.com/envoyproxy/protoc-gen-validate v1.1.0/go.mod h1:sXRDRVmzEbkM7CVcM06s9shE/m23dg3wzjl0UWqJ2q4= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/color v1.17.0 h1:GlRw1BRJxkpqUCBKzKOw098ed57fEsKeNjpTe3cSjK4= github.com/fatih/color v1.17.0/go.mod h1:YZ7TlrGPkiz6ku9fK3TLD/pl3CpsiFyu8N92HLgmosI= github.com/felixge/fgprof v0.9.3/go.mod h1:RdbpDgzqYVh/T9fPELJyV7EYJuHB55UTEULNun8eiPw= -github.com/felixge/fgprof v0.9.4 h1:ocDNwMFlnA0NU0zSB3I52xkO4sFXk80VK9lXjLClu88= -github.com/felixge/fgprof v0.9.4/go.mod h1:yKl+ERSa++RYOs32d8K6WEXCB4uXdLls4ZaZPpayhMM= +github.com/felixge/fgprof v0.9.5 h1:8+vR6yu2vvSKn08urWyEuxx75NWPEvybbkBirEpsbVY= +github.com/felixge/fgprof v0.9.5/go.mod h1:yKl+ERSa++RYOs32d8K6WEXCB4uXdLls4ZaZPpayhMM= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= @@ -335,8 +380,8 @@ github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/ github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= -github.com/foxcpp/go-mockdns v1.0.0 h1:7jBqxd3WDWwi/6WhDvacvH1XsN3rOLXyHM1uhvIx6FI= -github.com/foxcpp/go-mockdns v1.0.0/go.mod h1:lgRN6+KxQBawyIghpnl5CezHFGS9VLzvtVlwxvzXTQ4= +github.com/foxcpp/go-mockdns v1.1.0 h1:jI0rD8M0wuYAxL7r/ynTrCQQq0BVqfB99Vgk7DlmewI= +github.com/foxcpp/go-mockdns v1.1.0/go.mod h1:IhLeSFGed3mJIAXPH2aiRQB+kqz7oqu8ld2qVbOu7Wk= github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= @@ -352,6 +397,8 @@ github.com/globalsign/mgo v0.0.0-20180905125535-1ca0a4f7cbcb/go.mod h1:xkRDCp4j0 github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q= github.com/go-chef/chef v0.30.1 h1:yvOSijEBWAQtRbBPj9hz1atEJUU6HckPc7AaEyZXnLg= github.com/go-chef/chef v0.30.1/go.mod h1:7RU1oCrRErTrkmIszkhJ9vHw7Bv2hZ1Vv1C1qKj01fc= +github.com/go-chi/chi/v5 v5.2.0 h1:Aj1EtB0qR2Rdo2dG4O94RIU35w2lvQSj6BRA4+qwFL0= +github.com/go-chi/chi/v5 v5.2.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/go-delve/delve v1.3.1 h1:LI0X4aAE0N7ay8uR48aMJ6GNTxamIpcxi1THjwJjenI= github.com/go-delve/delve v1.3.1/go.mod h1:LLw6qJfIsRK9WcwV2IRRqsdlgrqzOeuGrQOCOIhDpt8= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= @@ -395,6 +442,8 @@ github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LB github.com/go-sql-driver/mysql v1.6.0 h1:BCTh4TKNUYmOmMUcQ3IipzF5prigylS7XXjEkfCHuOE= github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI= +github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8= github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68= github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= @@ -418,7 +467,8 @@ github.com/gofiber/fiber/v2 v2.52.5 h1:tWoP1MJQjGEe4GB5TUGOi7P2E0ZMMRx5ZTG4rT+yG github.com/gofiber/fiber/v2 v2.52.5/go.mod h1:KEOE+cXMhXG0zHc9d8+E38hoX+ZN7bhOtgeF2oT6jrQ= github.com/gofiber/utils v1.1.0 h1:vdEBpn7AzIUJRhe+CiTOJdUcTg4Q9RK+pEa0KPbLdrM= github.com/gofiber/utils v1.1.0/go.mod h1:poZpsnhBykfnY1Mc0KeEa6mSHrS3dV0+oBWyeQmb2e0= -github.com/gofrs/uuid v3.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gofrs/flock v0.12.1 h1:MTLVXXHf8ekldpJk3AKicLij9MdwOWkZ+a/jHHZby9E= +github.com/gofrs/flock v0.12.1/go.mod h1:9zxTsyu5xtJ9DK+1tFZyibEV7y3uwDxPPfbxeeHCoD0= 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= @@ -438,15 +488,14 @@ github.com/golang-migrate/migrate v3.5.4+incompatible/go.mod h1:IsVUlFN5puWOmXrq github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.2.1 h1:OptwRhECazUx5ix5TTWC3EZhsZEHWcYWY4FQHTIubm4= -github.com/golang/glog v1.2.1/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= +github.com/golang/glog v1.2.2 h1:1+mZ9upx1Dh6FmUTFR1naJ77miKiXgALjWOZ3NVFPmY= +github.com/golang/glog v1.2.2/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 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/groupcache v0.0.0-20241129210726-2c02b8208cf8 h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ= +github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8/go.mod h1:wcDNUvekVysuuOpQKo3191zZyTpiI6se1N1ULghS0sw= 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= @@ -473,8 +522,8 @@ github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/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/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/gonum/blas v0.0.0-20181208220705-f22b278b28ac/go.mod h1:P32wAyui1PQ58Oce/KYkOqQv8cVw1zAapXOl+dRFGbc= @@ -484,6 +533,8 @@ github.com/gonum/lapack v0.0.0-20181123203213-e4cdc5a0bff9/go.mod h1:XA3DeT6rxh2 github.com/gonum/matrix v0.0.0-20181209220409-c518dec07be9/go.mod h1:0EXg4mc1CNP0HCqCz+K4ts155PXIlUywf0wqN+GfPZw= 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/cel-go v0.22.1 h1:AfVXx3chM2qwoSbM7Da8g8hX8OVSkBFwX+rz2+PcK40= +github.com/google/cel-go v0.22.1/go.mod h1:BuznPXXfQDpXKWQ9sPW3TzlAJN5zzFe+i9tIs0yC4s8= github.com/google/flatbuffers v1.12.1 h1:MVlul7pQNoDzWRLTw5imwYsl+usrS1TXG2H4jg6ImGw= github.com/google/flatbuffers v1.12.1/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= @@ -502,6 +553,8 @@ github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= 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/go-containerregistry v0.20.2 h1:B1wPJ1SN/S7pB+ZAimcciVD+r+yV/l/DSArMxlbwseo= +github.com/google/go-containerregistry v0.20.2/go.mod h1:z38EKdKh4h7IP2gSfUUqEvalZBqs6AoLeWfUy34nQC8= github.com/google/go-replayers/grpcreplay v1.0.0 h1:B5kVOzJ1hBgnevTgIWhSTatQ3608yu/2NnU0Ta1d0kY= github.com/google/go-replayers/grpcreplay v1.0.0/go.mod h1:8Ig2Idjpr6gifRd6pNVggX6TC1Zw6Jx74AKp7QNH2QE= github.com/google/go-replayers/httpreplay v0.1.2 h1:HCfx+dQzwN9XbGTHF8qJ+67WN8glL9FTWV5rraCJ/jU= @@ -523,15 +576,13 @@ github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hf github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200905233945-acf8798be1f7/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20211214055906-6f57359322fd/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg= github.com/google/pprof v0.0.0-20240227163752-401108e1b7e7/go.mod h1:czg5+yv1E0ZGTi6S6vVK1mke0fV+FaUhNGcd6VRS9Ik= -github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8 h1:FKHo8hFI3A+7w0aUQuYXQ+6EN5stWmeY/AZqtM8xk9k= -github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8/go.mod h1:K1liHPHnj73Fdn/EKuT8nrFqBihUSKXoLYU0BuatOYo= +github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad h1:a6HEuzUHeKH6hwfN/ZoQgRgVIWFJljSWa/zetS2WTvg= +github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/s2a-go v0.1.4 h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc= -github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= +github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= +github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= github.com/google/subcommands v1.0.1/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -547,10 +598,8 @@ github.com/googleapis/enterprise-certificate-proxy v0.3.3/go.mod h1:YKe7cfqYXjKG github.com/googleapis/gax-go v0.0.0-20161107002406-da06d194a00e/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY= 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/googleapis/gax-go/v2 v2.11.0 h1:9V9PWXEsWnPpQhu/PeQIkS4eGzMlTLGgt80cUUI8Ki4= -github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= -github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= -github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= +github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas= +github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= github.com/gordonklaus/ineffassign v0.0.0-20200309095847-7953dde2c7bf/go.mod h1:cuNKsD1zp2v6XfE/orVX2QE1LC+i254ceGcVeDT3pTU= github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= github.com/gorilla/handlers v1.4.2 h1:0QniY0USkHQ1RGCLfKxeNHK9bkDHGRYGNDFBCS+YARg= @@ -562,27 +611,20 @@ github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWS github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= 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/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 h1:YBftPWNWd4WwGqtY2yeZL2ef8rHAxPBD8KFhJpmcqms= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0/go.mod h1:YN5jB8ie0yfIUg6VvR9Kz84aCaG7AsGZnLjhHbUqwPg= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= -github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= -github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/errwrap v1.0.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-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/go-hclog v0.9.1/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= @@ -592,26 +634,19 @@ github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVH 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/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-msgpack v0.5.5/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-msgpack v1.1.5 h1:9byZdVjKTe5mce63pRVNP1L7UAmdHOTEMGehn6KvJWs= github.com/hashicorp/go-msgpack v1.1.5/go.mod h1:gWVc3sv/wbDmR3rQsj1CAktEZzoz1YNK9NfGLXJ69/4= github.com/hashicorp/go-msgpack/v2 v2.1.1 h1:xQEY9yB2wnHitoSzk/B9UjXWRQ67QKu5AOm8aFp8N3I= github.com/hashicorp/go-msgpack/v2 v2.1.1/go.mod h1:upybraOAblm4S7rx0+jeNy+CWWhzywQsSRV5033mMu4= github.com/hashicorp/go-multierror v0.0.0-20161216184304-ed905158d874/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I= -github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= github.com/hashicorp/go-retryablehttp v0.7.2 h1:AcYqCvkpalPnPF2pn0KamgwamS42TqUDDYFRKq/RAd0= github.com/hashicorp/go-retryablehttp v0.7.2/go.mod h1:Jy/gPYAdjqffZ/yFGCFV2doI5wjtH1ewM9u8iYVjtX8= -github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= -github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= -github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= +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/go-uuid v1.0.1 h1:fv1ep09latC32wFoVwnqcnKJGnMSdBanPczbHAYm1BE= -github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY= github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= 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 v1.0.2 h1:dV3g9Z/unq5DpblPpw+Oqcv4dU/1omnb4Ok8iPY6p1c= @@ -620,13 +655,9 @@ github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/hcl/v2 v2.22.0 h1:hkZ3nCtqeJsDhPRFz5EA9iwcG1hNWGePOTw6oyul12M= github.com/hashicorp/hcl/v2 v2.22.0/go.mod h1:62ZYHrXgPoX8xBnzl8QzbWq4dyDsDtfCRgIq1rbJEvA= -github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= -github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= -github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= github.com/hashicorp/raft v1.3.9/go.mod h1:4Ak7FSPnuvmb0GV6vgIAJ4vYT4bek9bb6Q+7HVbyzqM= github.com/hashicorp/raft v1.6.0 h1:tkIAORZy2GbJ2Trp5eUSggLXDPOJLXC+JJLNMMqtgtM= github.com/hashicorp/raft v1.6.0/go.mod h1:Xil5pDgeGwRWuX4uPUmwa+7Vagg4N804dz6mhNi6S7o= -github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/iancoleman/strcase v0.3.0 h1:nTXanmYxhfFAMjZL34Ov6gkzEsSJZ5DbhxWjvSASxEI= @@ -642,11 +673,14 @@ github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2 github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jaswdr/faker v1.0.2 h1:3iRZztCC4oU67i67qGcyhIxeKgHQQH/iCifJOj3uOSI= github.com/jaswdr/faker v1.0.2/go.mod h1:9S4x1SRPC3m+iLgZTx2HZ0/R1/B0hwuL8uvOAiuJNtg= +github.com/jdx/go-netrc v1.0.0 h1:QbLMLyCZGj0NA8glAhxUpf1zDg6cxnWgMBbjq40W0gQ= +github.com/jdx/go-netrc v1.0.0/go.mod h1:Gh9eFQJnoTNIRHXl2j5bJXA1u84hQWJWgGh569zF3v8= github.com/jedib0t/go-pretty/v5 v5.0.2-alpha h1:rRYHSFWZ3egaMVREb5NgN17UanLMWM2s7EhG3u/1Yy4= github.com/jedib0t/go-pretty/v5 v5.0.2-alpha/go.mod h1:DAKhNY3KVw+n6uMJ+WIzEs2XHfuQpMu2taSsKOXbTBw= -github.com/jhump/protoreflect v1.7.1-0.20200723220026-11eaaf73e0ec/go.mod h1:D8nEtk+lKr8kMTMiLayswAtSSeHYDaRYk9r78Cy11mM= github.com/jhump/protoreflect v1.10.3 h1:8ogeubpKh2TiulA0apmGlW5YAH4U1Vi4TINIP+gpNfQ= github.com/jhump/protoreflect v1.10.3/go.mod h1:7GcYQDdMU/O/BBrl/cX6PNHpXh6cenjd8pneu5yW7Tg= +github.com/jhump/protoreflect/v2 v2.0.0-beta.2 h1:qZU+rEZUOYTz1Bnhi3xbwn+VxdXkLVeEpAeZzVXLY88= +github.com/jhump/protoreflect/v2 v2.0.0-beta.2/go.mod h1:4tnOYkB/mq7QTyS3YKtVtNrJv4Psqout8HA1U+hZtgM= github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= @@ -669,7 +703,6 @@ github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/ 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/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= 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/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= @@ -679,16 +712,14 @@ github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvW 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/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.11.2/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.11.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.14.4/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU= -github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA= -github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw= +github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc= +github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0= github.com/klauspost/cpuid/v2 v2.0.1/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= github.com/klauspost/cpuid/v2 v2.2.8 h1:+StwCXwm9PdpiEkPyzBXIy+M9KUb4ODm0Zarf1kS5BM= github.com/klauspost/cpuid/v2 v2.2.8/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= -github.com/klauspost/pgzip v1.2.5/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= github.com/klauspost/pgzip v1.2.6 h1:8RXeL5crjEUFnR2/Sn6GJNWtSQ3Dk8pq4CL3jvdDyjU= github.com/klauspost/pgzip v1.2.6/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= @@ -722,10 +753,9 @@ github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw= github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/lyft/protoc-gen-star v0.6.2 h1:DgqBrh0Q/JGHXDZjJaYCWKD/EXLczxplIC0JeElY2iU= github.com/lyft/protoc-gen-star v0.6.2/go.mod h1:M0b1EfeJR3f8E3YHKFr9KXWjAB4mrKn6Rm6PPEuJlI0= -github.com/lyft/protoc-gen-star/v2 v2.0.3 h1:/3+/2sWyXeMLzKd1bX+ixWKgEMsULrIivpDsuaF441o= -github.com/lyft/protoc-gen-star/v2 v2.0.3/go.mod h1:amey7yeodaJhXSbf/TlLvWiqQfLOSpEk//mLlc+axEk= +github.com/lyft/protoc-gen-star/v2 v2.0.4-0.20230330145011-496ad1ac90a4 h1:sIXJOMrYnQZJu7OB7ANSF4MYri2fTEGIsRLz6LwI4xE= +github.com/lyft/protoc-gen-star/v2 v2.0.4-0.20230330145011-496ad1ac90a4/go.mod h1:amey7yeodaJhXSbf/TlLvWiqQfLOSpEk//mLlc+axEk= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= @@ -765,11 +795,8 @@ github.com/mattn/go-sqlite3 v0.0.0-20161215041557-2d44decb4941/go.mod h1:FPy6Kqz github.com/mattn/go-sqlite3 v1.11.0 h1:LDdKkqtYlom37fkvqs8rMPFKAMe8+SgjbwZ6ex1/A/Q= github.com/mattn/go-sqlite3 v1.11.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= 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.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= -github.com/miekg/dns v1.1.43 h1:JKfpVSCB84vrAmHzyrsxB5NAr5kLoMXZArPSw7Qlgyg= -github.com/miekg/dns v1.1.43/go.mod h1:+evo5L0630/F6ca/Z9+GAqzhjGyn8/c+TBaOyfEl0V4= +github.com/miekg/dns v1.1.57 h1:Jzi7ApEIzwEPLHWRcafCN9LZSBbqQpxjt/wpgvg7wcM= +github.com/miekg/dns v1.1.57/go.mod h1:uqRjCRUuEAA6qsOiJvDd+CFo/vW+y5WR6SNmHE55hZk= github.com/minio/highwayhash v1.0.2/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLTk+kldvVxY= github.com/minio/highwayhash v1.0.3 h1:kbnuUMoHYyVl7szWjSxJnxw11k2U709jqFPPmIUyD6Q= github.com/minio/highwayhash v1.0.3/go.mod h1:GGYsuwP/fPD6Y9hMiXuapVvlIUEhFhMTh0rxU3ik1LQ= @@ -777,16 +804,10 @@ github.com/minio/md5-simd v1.1.2 h1:Gdi1DZK69+ZVMoNHRXJyNcxrMA4dSxoYHZSQbirFg34= github.com/minio/md5-simd v1.1.2/go.mod h1:MzdKDxYpY2BT9XQFocsiZf/NKVtR7nkE4RoEpN+20RM= github.com/minio/minio-go/v7 v7.0.72 h1:ZSbxs2BfJensLyHdVOgHv+pfmvxYraaUy07ER04dWnA= github.com/minio/minio-go/v7 v7.0.72/go.mod h1:4yBA8v80xGA30cfM3fz0DKYMXunWl/AV/6tWEs9ryzo= -github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= -github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= -github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= -github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= -github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.3.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.4.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= @@ -794,22 +815,34 @@ github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyua github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/moby/docker-image-spec v1.3.1 h1:jMKff3w6PgbfSa69GfNg+zN/XLhfXJGnEx3Nl2EsFP0= github.com/moby/docker-image-spec v1.3.1/go.mod h1:eKmb5VW8vQEh/BAr2yvVNvuiJuY6UIocYsFu/DxxRpo= +github.com/moby/locker v1.0.1 h1:fOXqR41zeveg4fFODix+1Ch4mj/gT0NE1XJbp/epuBg= +github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc= github.com/moby/patternmatcher v0.6.0 h1:GmP9lR19aU5GqSSFko+5pRqHi+Ohk1O69aFiKkVGiPk= github.com/moby/patternmatcher v0.6.0/go.mod h1:hDPoyOpDY7OrrMDLaYoY3hf52gNCR/YOUYxkhApJIxc= +github.com/moby/sys/mount v0.3.4 h1:yn5jq4STPztkkzSKpZkLcmjue+bZJ0u2AuQY1iNI1Ww= +github.com/moby/sys/mount v0.3.4/go.mod h1:KcQJMbQdJHPlq5lcYT+/CjatWM4PuxKe+XLSVS4J6Os= +github.com/moby/sys/mountinfo v0.7.2 h1:1shs6aH5s4o5H2zQLn796ADW1wMrIwHsyJ2v9KouLrg= +github.com/moby/sys/mountinfo v0.7.2/go.mod h1:1YOa8w8Ih7uW0wALDUgT1dTTSBrZ+HiBLGws92L2RU4= github.com/moby/sys/sequential v0.6.0 h1:qrx7XFUd/5DxtqcoH1h438hF5TmOvzC/lspjy7zgvCU= github.com/moby/sys/sequential v0.6.0/go.mod h1:uyv8EUTrca5PnDsdMGXhZe6CCe8U/UiTWd+lL+7b/Ko= github.com/moby/sys/user v0.3.0 h1:9ni5DlcW5an3SvRSx4MouotOygvzaXbaSrc/wGDFWPo= github.com/moby/sys/user v0.3.0/go.mod h1:bG+tYYYJgaMtRKgEmuueC0hJEAZWwtIbZTB+85uoHjs= github.com/moby/sys/userns v0.1.0 h1:tVLXkFOxVu9A64/yh59slHVv9ahO9UIev4JZusOLG/g= github.com/moby/sys/userns v0.1.0/go.mod h1:IHUYgu/kao6N8YZlp9Cf444ySSvCmDlmzUcYfDHOl28= +github.com/moby/term v0.5.0 h1:xt8Q1nalod/v7BqbG21f8mQPqH+xAaC9C3N3wfWbVP0= +github.com/moby/term v0.5.0/go.mod h1:8FzsFHVUBGZdbDsJw/ot+X+d5HLUbvklYLJ9uGfcI3Y= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= 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/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= +github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A= +github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/muesli/crunchy v0.4.0 h1:qdiml8gywULHBsztiSAf6rrE6EyuNasNKZ104mAaahM= github.com/muesli/crunchy v0.4.0/go.mod h1:9k4x6xdSbb7WwtAVy0iDjaiDjIk6Wa5AgUIqp+HqOpU= +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/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/nats-io/jwt/v2 v2.2.1-0.20220330180145-442af02fd36a/go.mod h1:0tqz9Hlu6bCBFLWAASKhE5vUA4c24L9KPUUgvwumE/k= @@ -823,8 +856,8 @@ github.com/nats-io/nats-streaming-server v0.24.6/go.mod h1:tdKXltY3XLeBJ21sHiZia github.com/nats-io/nats.go v1.13.0/go.mod h1:BPko4oXsySz4aSWeFgOHLZs3G4Jq4ZAyE6/zMCxRT6w= github.com/nats-io/nats.go v1.14.0/go.mod h1:BPko4oXsySz4aSWeFgOHLZs3G4Jq4ZAyE6/zMCxRT6w= github.com/nats-io/nats.go v1.15.0/go.mod h1:BPko4oXsySz4aSWeFgOHLZs3G4Jq4ZAyE6/zMCxRT6w= -github.com/nats-io/nats.go v1.28.0 h1:Th4G6zdsz2d0OqXdfzKLClo6bOfoI/b1kInhRtFIy5c= -github.com/nats-io/nats.go v1.28.0/go.mod h1:XpbWUlOElGwTYbMR7imivs7jJj9GtK7ypv321Wp6pjc= +github.com/nats-io/nats.go v1.31.0 h1:/WFBHEc/dOKBF6qf1TZhrdEfTmOZ5JzdJ+Y3m6Y/p7E= +github.com/nats-io/nats.go v1.31.0/go.mod h1:di3Bm5MLsoB4Bx61CBTsxuarI36WbhAwOm8QrW39+i8= github.com/nats-io/nkeys v0.3.0/go.mod h1:gvUNGjVcM2IPr5rCsRsC6Wb3Hr2CQAm08dsxtV6A5y4= github.com/nats-io/nkeys v0.4.7 h1:RwNJbbIdYCoClSDNY7QVKZlyb/wfT6ugvFCiKy6vDvI= github.com/nats-io/nkeys v0.4.7/go.mod h1:kqXRgRDPlGy7nGaEDMuYzmiJCIAAWDK0IMBtDmGD0nc= @@ -842,26 +875,33 @@ github.com/olivere/elastic/v7 v7.0.28/go.mod h1:DzHQoqd6YqSuvF1lk/fR4cW4FNUNzSD5 github.com/onsi/ginkgo v1.4.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo/v2 v2.22.0 h1:Yed107/8DjTr0lKCNt7Dn8yQ6ybuDRQoMGrNFKzMfHg= +github.com/onsi/ginkgo/v2 v2.22.0/go.mod h1:7Du3c42kxCUegi0IImZ1wUQzMBVecgIHjR1C+NkhLQo= github.com/onsi/gomega v1.3.0/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/open-policy-agent/opa v0.59.0 h1:1WFU/KUhJAr3qatm0Lf8Ea5jp10ZmlE2M07oaLiHypg= -github.com/open-policy-agent/opa v0.59.0/go.mod h1:rdJSkEc4oQ+0074/3Fsgno5bkPsYxTjU5aLNmMujIvI= +github.com/onsi/gomega v1.34.2 h1:pNCwDkzrsv7MS9kpaQvVb1aVLahQXyJ/Tv5oAZMI3i8= +github.com/onsi/gomega v1.34.2/go.mod h1:v1xfxRgk0KIsG+QOdm7p8UosrOzPYRo60fd3B/1Dukc= +github.com/open-policy-agent/opa v0.68.0 h1:Jl3U2vXRjwk7JrHmS19U3HZO5qxQRinQbJ2eCJYSqJQ= +github.com/open-policy-agent/opa v0.68.0/go.mod h1:5E5SvaPwTpwt2WM177I9Z3eT7qUpmOGjk1ZdHs+TZ4w= github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/opencontainers/image-spec v1.1.0-rc5 h1:Ygwkfw9bpDvs+c9E34SdgGOj41dX/cbdlwvlWt0pnFI= -github.com/opencontainers/image-spec v1.1.0-rc5/go.mod h1:X4pATf0uXsnn3g5aiGIsVnJBR4mxhKzfwmvK/B2NTm8= +github.com/opencontainers/image-spec v1.1.0 h1:8SG7/vwALn54lVB/0yZ/MMwhFrPYtpEHQb2IpWsCzug= +github.com/opencontainers/image-spec v1.1.0/go.mod h1:W4s4sFTMaBeK1BQLXbG4AdM2szdn85PY75RI83NrTrM= github.com/opencontainers/runc v0.0.0-20190115041553-12f6a991201f/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-spec v1.2.0 h1:z97+pHb3uELt/yiAWD691HNHQIF07bE7dzrbT927iTk= +github.com/opencontainers/runtime-spec v1.2.0/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/runtime-tools v0.0.0-20181011054405-1d69bd0f9c39/go.mod h1:r3f7wjNzSs2extwzU3Y+6pKfobzPh+kKFJ3ofN+3nfs= +github.com/opencontainers/selinux v1.11.0 h1:+5Zbo97w3Lbmb3PeqQtpmTkMwsW5nRI3YaLpt7tQ7oU= +github.com/opencontainers/selinux v1.11.0/go.mod h1:E5dMC3VPuVvVHDYmi78qvhJp8+M586T4DlDRYpFkyec= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs= github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= github.com/orisano/pixelmatch v0.0.0-20220722002657-fb0b55479cde/go.mod h1:nZgzbfBr3hhjoZnS66nKrHmduYNpc34ny7RK4z5/HM0= -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/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc= @@ -869,12 +909,16 @@ github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTK github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= +github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4= +github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/peterbourgon/mergemap v0.0.1 h1:5/brtSACv34REV0xoYjPQ8JXZnx3nurGt6WInLRwqX4= github.com/peterbourgon/mergemap v0.0.1/go.mod h1:jQyRpOpE/KbvPc0VKXjAqctYglwUO5W6zAcGcFfbvlo= github.com/peterh/liner v0.0.0-20170317030525-88609521dc4b/go.mod h1:xIteQHvHuaLYG9IFj6mSxM0fCKrs34IrEQUhOYuGPHc= github.com/peterh/liner v1.2.2 h1:aJ4AOodmL+JxOZZEL2u9iJf8omNRpqHc/EbrK+3mAXw= github.com/peterh/liner v1.2.2/go.mod h1:xFwJyiKIXJZUKItq5dGHZSTBRAuG/CpeNpWLyiNRNwI= github.com/philhofer/fwd v1.1.1/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= +github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c h1:+mdjkGKdHQG3305AYmdv1U2eRNDiU2ErMBj1gwrq8eQ= +github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c/go.mod h1:7rwL4CYBLnjLxUqIJNnCWiEdr3bn6IUYi15bNlnbCCU= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -882,15 +926,12 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/profile v0.0.0-20170413231811-06b906832ed0/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= -github.com/pkg/profile v1.5.0/go.mod h1:qBsxPvzyUincmltOk6iyRVxHYg4adc0OFOv72ZdLa18= github.com/pkg/profile v1.7.0 h1:hnbDkaNWPCLMO9wGLdBFTIZvzDrDfBM2072E1S9gJkA= github.com/pkg/profile v1.7.0/go.mod h1:8Uer0jas47ZQMJ7VD+OHknK4YDY07LPUC6dEvqDjvNo= github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= -github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/poy/onpar v0.0.0-20190519213022-ee068f8ea4d1 h1:oL4IBbcqwhhNWh31bjOX8C/OCy0zs9906d/VUru+bqg= github.com/poy/onpar v0.0.0-20190519213022-ee068f8ea4d1/go.mod h1:nSbFQvMj97ZyhFRSJYtut+msi4sOY6zJDGCdSc+/rZU= github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= @@ -900,35 +941,32 @@ github.com/prashantv/gostub v1.1.0 h1:BTyx3RfQjRHnUWaGF9oQos79AlQ5k8WNktv7VGvVH4 github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.2/go.mod h1:OsXs2jCmiKlQ1lTBmv21f2mNfw4xf/QclQDMrYNZzcM= -github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= 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.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= github.com/prometheus/client_golang v1.14.0/go.mod h1:8vpkKitgIVNcqrRBWh1C4TIUQgYNtG/XQE4E/Zae36Y= -github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8= -github.com/prometheus/client_golang v1.16.0/go.mod h1:Zsulrv/L9oM40tJ7T815tM89lFEugiJ9HzIqaAx4LKc= +github.com/prometheus/client_golang v1.20.2 h1:5ctymQzZlyOON1666svgwn3s6IKWgfbjsejTMiXIyjg= +github.com/prometheus/client_golang v1.20.2/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= 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.3.0 h1:UBgGFHqYdG/TPFD1B1ogZywDqEkwp3fBMvqdiQ7Xew4= github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= -github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= +github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= +github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= 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.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= -github.com/prometheus/common v0.42.0 h1:EKsfXEYo4JpWMHH5cg+KOUWeuJSov1Id8zGR8eeI1YM= -github.com/prometheus/common v0.42.0/go.mod h1:xBwqVerjNdUDjgODMpudtOMwlOwf2SaTr1yjz4b7Zbc= +github.com/prometheus/common v0.55.0 h1:KEi6DK7lXW/m7Ig5i47x0vRzuBsHuvJdi5ee6Y3G1dc= +github.com/prometheus/common v0.55.0/go.mod h1:2SECS4xJG1kd8XF9IcM1gMX6510RAEL65zxzNImwdc8= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.5/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= @@ -938,7 +976,10 @@ github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0uaxHdg830/4= github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc= github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= -github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= +github.com/quic-go/qpack v0.5.1 h1:giqksBPnT/HDtZ6VhtFKgoLOWmlyo9Ei6u9PqzIMbhI= +github.com/quic-go/qpack v0.5.1/go.mod h1:+PC4XFrEskIVkcLzpEkbLqq1uCoxPhQuvK5rH1ZgaEg= +github.com/quic-go/quic-go v0.48.2 h1:wsKXZPeGWpMpCGSWqOcqpW2wZYic/8T3aqiOID0/KWE= +github.com/quic-go/quic-go v0.48.2/go.mod h1:yBgs3rWBOADpga7F+jJsb6Ybg1LSYiQvwWlLX+/6HMs= github.com/r3labs/diff v0.0.0-20191120142937-b4ed99a31f5a h1:2v4Ipjxa3sh+xn6GvtgrMub2ci4ZLQMvTaYIba2lfdc= github.com/r3labs/diff v0.0.0-20191120142937-b4ed99a31f5a/go.mod h1:ozniNEFS3j1qCwHKdvraMn1WJOsUxHd7lYfukEIS4cs= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM= @@ -952,8 +993,10 @@ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= -github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= -github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= +github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII= +github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o= +github.com/rs/cors v1.11.1 h1:eU3gRzXLRK57F5rKMGMZURNdIG4EoAmX8k94r9wXWHA= +github.com/rs/cors v1.11.1/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/xid v1.6.0 h1:fV591PaemRlL6JfRxGDEPl69wICngIQ3shQtzfy2gxU= github.com/rs/xid v1.6.0/go.mod h1:7XoLgs4eV+QndskICGsho+ADou8ySMSjJKDIan90Nz0= github.com/russellhaering/goxmldsig v1.1.0/go.mod h1:QK8GhXPB3+AfuCrfo0oRISa9NfzeCpWmxeGnqEpDF9o= @@ -961,21 +1004,26 @@ github.com/russellhaering/goxmldsig v1.1.1 h1:vI0r2osGF1A9PLvsGdPUAGwEIrKa4Pj5se github.com/russellhaering/goxmldsig v1.1.1/go.mod h1:gM4MDENBQf7M+V824SGfyIUVFWydB7n0KkEubVJl+Tw= github.com/russross/blackfriday v0.0.0-20180428102519-11635eb403ff/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= -github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= +github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6keLGt6kNQ= +github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4= +github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= +github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww= github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/savsgio/dictpool v0.0.0-20221023140959-7bf2e61cea94/go.mod h1:90zrgN3D/WJsDd1iXHT96alCoN2KJo6/4x1DZC3wZs8= github.com/savsgio/gotils v0.0.0-20220530130905-52f3993e8d6d/go.mod h1:Gy+0tqhJvgGlqnTF8CVGP0AaGRjwBtXs/a5PA0Y3+A4= github.com/schollz/closestmatch v2.1.1-0.20170908204616-19d3b334fdfc+incompatible h1:1FhtJltOydnEqlp1QZ6CQY4vYt/Gs2citvRZ+4ua7xQ= github.com/schollz/closestmatch v2.1.1-0.20170908204616-19d3b334fdfc+incompatible/go.mod h1:RtP1ddjLong6gTkbtmuhtR2uUrrJOpYzYRvbcPAid+g= -github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= +github.com/segmentio/asm v1.2.0 h1:9BQrFxC+YOHJlTlHGkTrFWf59nbL3XnCoFLTwDCI7ys= +github.com/segmentio/asm v1.2.0/go.mod h1:BqMnlJP91P8d+4ibuonYZw9mfnzI9HfxselHZr5aAcs= github.com/segmentio/backo-go v1.1.0 h1:cJIfHQUdmLsd8t9IXqf5J8SdrOMn9vMa7cIvOavHAhc= github.com/segmentio/backo-go v1.1.0/go.mod h1:ckenwdf+v/qbyhVdNPWHnqh2YdJBED1O9cidYyM5J18= +github.com/segmentio/encoding v0.4.1 h1:KLGaLSW0jrmhB58Nn4+98spfvPvmo4Ci1P/WIQ9wn7w= +github.com/segmentio/encoding v0.4.1/go.mod h1:/d03Cd8PoaDeceuhUUUQWjU0KhWjrmYrWPgtJHYZSnI= github.com/shirou/gopsutil v3.21.11+incompatible h1:+1+c1VGhc88SSonWP6foOcLhvnKlUeu/erjjvaPEYiI= github.com/shirou/gopsutil v3.21.11+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= -github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v0.0.0-20180523074243-ea8897e79973/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= @@ -983,27 +1031,24 @@ github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6Mwd github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/assertions v1.1.1/go.mod h1:tcbTF8ujkAEcZ8TElKY+i30BzYlVhC/LOxJk7iOWnoo= github.com/smartystreets/go-aws-auth v0.0.0-20180515143844-0c1422d1fdb9/go.mod h1:SnhjPscd9TpLiy1LpzGSKh3bXCfxxXuqd9xmQJy3slM= -github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/smartystreets/gunit v1.4.2/go.mod h1:ZjM1ozSIMJlAz/ay4SG8PeKF00ckUp+zMHZXV9/bvak= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= +github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= +github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4= -github.com/spf13/afero v1.10.0 h1:EaGW2JJh15aKOejeuJ+wpFSHnbd7GE6Wvp3TsNhb6LY= -github.com/spf13/afero v1.10.0/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= +github.com/spf13/afero v1.11.0 h1:WJQKhtpdm3v2IzqG8VMqrr6Rf3UYpEF239Jy9wNepM8= +github.com/spf13/afero v1.11.0/go.mod h1:GH9Y3pIexgf1MTIWtNGyogA5MwRIDXGUr+hbWNoBjkY= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.7.0 h1:ntdiHjuueXFgm5nzDRdOS4yfT43P5Fnud6DH50rz/7w= github.com/spf13/cast v1.7.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= github.com/spf13/cobra v0.0.0-20170417170307-b6cb39589372/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= -github.com/spf13/cobra v1.0.1-0.20201006035406-b97b5ead31f7/go.mod h1:yk5b0mALVusDL5fMM6Rd1wgnoO5jUPhwsQ6LQAJTidQ= github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM= github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y= -github.com/spf13/jwalterweatherman v1.0.0 h1:XHEdyB+EcvlqZamSM4ZOMGlc93t6AcsBEu9Gc1vn7yk= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/pflag v0.0.0-20170417173400-9e4c21054fa1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= @@ -1011,8 +1056,10 @@ github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnIn github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= -github.com/spf13/viper v1.7.0 h1:xVKxvI7ouOI5I+U9s2eeiUfMaWBVoXA3AWskkrqK0VM= -github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= +github.com/spf13/viper v1.18.2 h1:LUXCnvUvSM6FXAsj6nnfc8Q2tp1dIgUfY9Kc8GsSOiQ= +github.com/spf13/viper v1.18.2/go.mod h1:EKmWIqdnk5lOcmR72yw6hS+8OPYcwD0jteitLMVB+yk= +github.com/stoewer/go-strcase v1.3.0 h1:g0eASXYtp+yvN9fK8sH94oCIk0fau9uV1/ZdJ0AVEzs= +github.com/stoewer/go-strcase v1.3.0/go.mod h1:fAH5hQ5pehh+j3nZfvwdk2RgEgQjAoM8wodgtPmh1xo= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= @@ -1031,9 +1078,9 @@ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1F github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -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/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= +github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= @@ -1043,6 +1090,8 @@ github.com/teambition/rrule-go v1.8.2 h1:lIjpjvWTj9fFUZCmuoVDrKVOtdiyzbzc93qTmRV github.com/teambition/rrule-go v1.8.2/go.mod h1:Ieq5AbrKGciP1V//Wq8ktsTXwSwJHDD5mD/wLBGl3p4= github.com/testcontainers/testcontainers-go v0.0.9 h1:mwvFz+FkuQMqQ9oLkG4cVzPsZTRmrCo2NcaerJNaptA= github.com/testcontainers/testcontainers-go v0.0.9/go.mod h1:0Qe9qqjNZgxHzzdHPWwmQ2D49FFO7920hLdJ4yUJXJI= +github.com/tetratelabs/wazero v1.8.2 h1:yIgLR/b2bN31bjxwXHD8a3d+BogigR952csSDdLYEv4= +github.com/tetratelabs/wazero v1.8.2/go.mod h1:yAI0XTsMBhREkM/YDAK/zNou3GoiAce1P6+rp/wQhjs= github.com/tinylib/msgp v1.1.6/go.mod h1:75BAfg2hauQhs3qedfdDZmWAPcFMAvJE5b9rGOMufyw= github.com/tklauser/go-sysconf v0.3.14 h1:g5vzr9iPFFz24v2KZXs/pvpvh8/V9Fw6vQK5ZZb78yU= github.com/tklauser/go-sysconf v0.3.14/go.mod h1:1ym4lWMLUOhuBOPGtRcJm7tEGX4SCYNEEEtghGG/8uY= @@ -1068,6 +1117,8 @@ github.com/valyala/fasthttp v1.54.0 h1:cCL+ZZR3z3HPLMVfEYVUMtJqVaui0+gu7Lx63unHw github.com/valyala/fasthttp v1.54.0/go.mod h1:6dt4/8olwq9QARP/TDuPmWyWcl4byhpvTJ4AAtcz+QM= github.com/valyala/tcplisten v1.0.0 h1:rBHj/Xf+E1tRGZyWIWwJDiRY0zc1Js+CV5DqwacVSA8= github.com/valyala/tcplisten v1.0.0/go.mod h1:T0xQ8SeCZGxckz9qRXTfG43PvQ/mcWh7FwZEA7Ioqkc= +github.com/vbatts/tar-split v0.11.6 h1:4SjTW5+PU11n6fZenf2IPoV8/tz3AaYHMWjf23envGs= +github.com/vbatts/tar-split v0.11.6/go.mod h1:dqKNtesIOr2j2Qv3W/cHjnvk9I8+G7oAkFDFN6TCBEI= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb h1:zGWFAtiMcyryUHoUjUJX0/lt1H2+i2Ka2n+D3DImSNo= github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= @@ -1097,12 +1148,19 @@ github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6 github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940/go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM= github.com/ziutek/mymysql v1.5.4 h1:GB0qdRGsTwQSBVYuVShFBKaXSnSnYYC2d9knnE1LHFs= github.com/ziutek/mymysql v1.5.4/go.mod h1:LMSpPZ6DbqWFxNCHW77HeMg9I646SAhApZ/wKdgO/C0= -go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= go.etcd.io/bbolt v1.3.11 h1:yGEzV1wPz2yVCLsD8ZAiGHhHVlczyC9d1rP43/VCRJ0= go.etcd.io/bbolt v1.3.11/go.mod h1:dksAq7YMXoljX0xu6VF5DMZGbhYYoLUalEiSySYAS4I= go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= +go.lsp.dev/jsonrpc2 v0.10.0 h1:Pr/YcXJoEOTMc/b6OTmcR1DPJ3mSWl/SWiU1Cct6VmI= +go.lsp.dev/jsonrpc2 v0.10.0/go.mod h1:fmEzIdXPi/rf6d4uFcayi8HpFP1nBF99ERP1htC72Ac= +go.lsp.dev/pkg v0.0.0-20210717090340-384b27a52fb2 h1:hCzQgh6UcwbKgNSRurYWSqh8MufqRRPODRBblutn4TE= +go.lsp.dev/pkg v0.0.0-20210717090340-384b27a52fb2/go.mod h1:gtSHRuYfbCT0qnbLnovpie/WEmqyJ7T4n6VXiFMBtcw= +go.lsp.dev/protocol v0.12.0 h1:tNprUI9klQW5FAFVM4Sa+AbPFuVQByWhP1ttNUAjIWg= +go.lsp.dev/protocol v0.12.0/go.mod h1:Qb11/HgZQ72qQbeyPfJbu3hZBH23s1sr4st8czGeDMQ= +go.lsp.dev/uri v0.3.0 h1:KcZJmh6nFIBeJzTugn5JTU6OOyG0lDOo3R9KwTxTYbo= +go.lsp.dev/uri v0.3.0/go.mod h1:P5sbO1IQR+qySTWOCnhnK7phBx+W3zbLqSMDJNTw88I= go.mongodb.org/mongo-driver v1.16.1 h1:rIVLL3q0IHM39dvE+z2ulZLp9ENZKThVfuvN/IiN4l8= go.mongodb.org/mongo-driver v1.16.1/go.mod h1:oB6AhJQvFQL4LEHyXi6aJzQJtBiTQHiAd83l0GdFaiw= go.opencensus.io v0.15.0/go.mod h1:UffZAU+4sDEINUGP/B7UfBBkq4fqLu9zXAX7ke6CHW0= @@ -1115,28 +1173,34 @@ go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 h1:TT4fX+nBOA/+LUkobKGW1ydGcn+G3vRw9+g5HwCphpk= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0/go.mod h1:L7UH0GbB0p47T4Rri3uHjbpCFYrVrwc1I25QhNPiGK8= -go.opentelemetry.io/otel v1.29.0 h1:PdomN/Al4q/lN6iBJEN3AwPvUiHPMlt93c8bqTG5Llw= -go.opentelemetry.io/otel v1.29.0/go.mod h1:N/WtXPs1CNCUEx+Agz5uouwCba+i+bJGFicT8SR4NP8= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.21.0 h1:cl5P5/GIfFh4t6xyruOgJP5QiA1pw4fYYdv6nc6CBWw= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.21.0/go.mod h1:zgBdWWAu7oEEMC06MMKc5NLbA/1YDXV1sMpSqEeLQLg= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.21.0 h1:tIqheXEFWAZ7O8A7m+J0aPTmpJN3YQ7qetUAdkkkKpk= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.21.0/go.mod h1:nUeKExfxAQVbiVFn32YXpXZZHZ61Cc3s3Rn1pDBGAb0= -go.opentelemetry.io/otel/metric v1.29.0 h1:vPf/HFWTNkPu1aYeIsc98l4ktOQaL6LeSoeV2g+8YLc= -go.opentelemetry.io/otel/metric v1.29.0/go.mod h1:auu/QWieFVWx+DmQOUMgj0F8LHWdgalxXqvp7BII/W8= -go.opentelemetry.io/otel/sdk v1.29.0 h1:vkqKjk7gwhS8VaWb0POZKmIEDimRCMsopNYnriHyryo= -go.opentelemetry.io/otel/sdk v1.29.0/go.mod h1:pM8Dx5WKnvxLCb+8lG1PRNIDxu9g9b9g59Qr7hfAAok= -go.opentelemetry.io/otel/trace v1.29.0 h1:J/8ZNK4XgR7a21DZUAsbF8pZ5Jcw1VhACmnYt39JTi4= -go.opentelemetry.io/otel/trace v1.29.0/go.mod h1:eHl3w0sp3paPkYstJOmAimxhiFXPg+MMTlEh3nsQgWQ= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -go.opentelemetry.io/proto/otlp v1.0.0 h1:T0TX0tmXU8a3CbNXzEKGeU5mIVOdf0oykP+u2lIVU/I= -go.opentelemetry.io/proto/otlp v1.0.0/go.mod h1:Sy6pihPLfYHkr3NkUbEhGHFhINUSI/v80hjKIs5JXpM= +go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA= +go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1 h1:SpGay3w+nEwMpfVnbqOLH5gY52/foP8RE8UzTZ1pdSE= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1/go.mod h1:4UoMYEZOC0yN/sPGH76KPkkU7zgiEWYWL9vwmbnTJPE= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 h1:yd02MEjBdJkG3uabWP9apV+OuWRIXGDuJEUJbOHmCFU= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0/go.mod h1:umTcuxiv1n/s/S6/c2AT/g2CQ7u5C59sHDNmfSwgz7Q= +go.opentelemetry.io/otel v1.33.0 h1:/FerN9bax5LoK51X/sI0SVYrjSE0/yUL7DpxW4K3FWw= +go.opentelemetry.io/otel v1.33.0/go.mod h1:SUUkR6csvUQl+yjReHu5uM3EtVV7MBm5FHKRlNx4I8I= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0 h1:3Q/xZUyC1BBkualc9ROb4G8qkH90LXEIICcs5zv1OYY= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0/go.mod h1:s75jGIWA9OfCMzF0xr+ZgfrB5FEbbV7UuYo32ahUiFI= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.28.0 h1:R3X6ZXmNPRR8ul6i3WgFURCHzaXjHdm0karRG/+dj3s= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.28.0/go.mod h1:QWFXnDavXWwMx2EEcZsf3yxgEKAqsxQ+Syjp+seyInw= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.19.0 h1:IeMeyr1aBvBiPVYihXIaeIZba6b8E1bYp7lbdxK8CQg= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.19.0/go.mod h1:oVdCUtjq9MK9BlS7TtucsQwUcXcymNiEDjgDD2jMtZU= +go.opentelemetry.io/otel/metric v1.33.0 h1:r+JOocAyeRVXD8lZpjdQjzMadVZp2M4WmQ+5WtEnklQ= +go.opentelemetry.io/otel/metric v1.33.0/go.mod h1:L9+Fyctbp6HFTddIxClbQkjtubW6O9QS3Ann/M82u6M= +go.opentelemetry.io/otel/sdk v1.31.0 h1:xLY3abVHYZ5HSfOg3l2E5LUj2Cwva5Y7yGxnSW9H5Gk= +go.opentelemetry.io/otel/sdk v1.31.0/go.mod h1:TfRbMdhvxIIr/B2N2LQW2S5v9m3gOQ/08KsbbO5BPT0= +go.opentelemetry.io/otel/sdk/metric v1.31.0 h1:i9hxxLJF/9kkvfHppyLL55aW7iIJz4JjxTeYusH7zMc= +go.opentelemetry.io/otel/sdk/metric v1.31.0/go.mod h1:CRInTMVvNhUKgSAMbKyTMxqOBC0zgyxzW55lZzX43Y8= +go.opentelemetry.io/otel/trace v1.33.0 h1:cCJuF7LRjUFso9LPnEAHJDB2pqzp+hbO8eu1qqW2d/s= +go.opentelemetry.io/otel/trace v1.33.0/go.mod h1:uIcdVUZMpTAmz0tI1z04GoVSezK37CbGV4fr1f2nBck= +go.opentelemetry.io/proto/otlp v1.3.1 h1:TrMUixzpM0yuc/znrFTP9MMRh8trP93mkCiDVeXrui0= +go.opentelemetry.io/proto/otlp v1.3.1/go.mod h1:0X1WI4de4ZsLrrJNLAQbFeLCm3T7yBkR0XqQ7niQU+8= go.starlark.net v0.0.0-20190702223751-32f345186213 h1:lkYv5AKwvvduv5XWP6szk/bvvgO6aDeUujhZQXIFTes= go.starlark.net v0.0.0-20190702223751-32f345186213/go.mod h1:c1/X6cHgvdXj6pUlmWKMkuqRnW4K8x2vwt6JAaaircg= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= 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= @@ -1145,24 +1209,24 @@ go.uber.org/automaxprocs v1.5.3/go.mod h1:eRbA25aqJrxAbsLO0xy5jVwPt7FQnRgjW+efnw go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= +go.uber.org/mock v0.5.0 h1:KAMbZvZPyBPWgD14IrIQ38QCyjwpvVVV6K/bHl1IwQU= +go.uber.org/mock v0.5.0/go.mod h1:ge71pBPLYDk7QIi1LupWxdAykm7KIEFchiOqd6z7qMM= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.16.0/go.mod h1:MA8QOfq0BHJwdXa996Y4dYkAqRKB8/1K1QMMZVaNZjQ= go.uber.org/zap v1.18.1/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8= go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= +go.uber.org/zap/exp v0.3.0 h1:6JYzdifzYkGmTdRR59oYH+Ng7k49H9qVpWwNSsGJj3U= +go.uber.org/zap/exp v0.3.0/go.mod h1:5I384qq7XGxYyByIhHm6jg5CHkGY0nsTfbDLgDDlgJQ= gocloud.dev v0.22.0 h1:psFb4EJ+bF9bjns7XR3n3tMMMB1LNs97YURcyh4oVWM= gocloud.dev v0.22.0/go.mod h1:z3jKIQ0Es9LALVZFQ3wOvwqAsSLq1R5c/2RdmghDucw= golang.org/x/arch v0.0.0-20171004143515-077ac972c2e4 h1:TP7YcWHbnFq4v8/3wM2JwgM0SRRtsYJ7Z6Oj0arz2bs= golang.org/x/arch v0.0.0-20171004143515-077ac972c2e4/go.mod h1:cYlCBUl1MsqxdiKgmc4uh7TxZfWSFLOGSRR090WDxt8= golang.org/x/crypto v0.0.0-20180614174826-fd5f17ee7299/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/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-20190325154230-a5d413f7728c/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= @@ -1174,13 +1238,10 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201203163018-be400aefbc4c/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20210314154223-e6e6c4f2bb5b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= @@ -1200,6 +1261,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0 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/exp v0.0.0-20241217172543-b2144cdd0a67 h1:1UoZQm6f0P/ZO0w1Ri+f+ifG/gXhegadRdwBIXEFWDo= +golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67/go.mod h1:qj5a5QZpwLU2NLQudwIN5koi3beDhSAlJwa67PuM98c= golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= 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= @@ -1213,9 +1276,6 @@ golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHl 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/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/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= @@ -1225,17 +1285,15 @@ golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzB 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.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4= +golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= golang.org/x/net v0.0.0-20180112015858-5ccada7d0a7b/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 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-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/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-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1272,8 +1330,6 @@ golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwY golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/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-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= 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= @@ -1296,12 +1352,10 @@ golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4Iltr golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201203001011-0b49973bad19/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= -golang.org/x/oauth2 v0.22.0 h1:BzDx2FehcG7jJwgWLELCdmLuxk2i+x9UDpSiss2u0ZA= -golang.org/x/oauth2 v0.22.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= +golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs= +golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/perf v0.0.0-20190823172224-ecb187b06eb0 h1:XVNr5OG/4YUQ0tpM6hnNSkWNLlqqc/2ib3+bW3B8WMo= golang.org/x/perf v0.0.0-20190823172224-ecb187b06eb0/go.mod h1:FrqOtQDO3iMDVUtw5nNTDFpR1HUCGh00M3kj2wiSzLQ= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1322,11 +1376,9 @@ golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ= golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180117170059-2c42eef0765b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180816055513-1c9583448a9c/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 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-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/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-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1375,21 +1427,17 @@ golang.org/x/sys v0.0.0-20200828194041-157a740278f4/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201029080932-201ba4db2418/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201202213521-69691e467435/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210331175145-43e1dd70ce54/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/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-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1431,7 +1479,6 @@ golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= @@ -1457,7 +1504,6 @@ golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3 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-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190422233926-fe54fb35175b/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190424220101-1e8e1cfdf96b/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= @@ -1470,10 +1516,7 @@ golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191010075000-0337d82405ff/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-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/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-20191112195655-aa38f8e97acc/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-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -1511,16 +1554,12 @@ golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201202200335-bef1c476418a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201203202102-a1a1cbeaa516/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg= -golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= +golang.org/x/tools v0.28.0 h1:WuB6qZ4RPCQo5aP3WdKZS7i595EdWqWR8vqJTlwTVK8= +golang.org/x/tools v0.28.0/go.mod h1:dcIOrVd3mfQKTgrDVQHqCPMWy6lnhfhtX3hLXYVLfRw= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1554,9 +1593,8 @@ google.golang.org/api v0.31.0/go.mod h1:CL+9IBCa2WWU6gRuBWaKqGWLFFwbEUXkfeMkHLQW google.golang.org/api v0.32.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= -google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= -google.golang.org/api v0.126.0 h1:q4GJq+cAdMAC7XP7njvQ4tvohGLiSlytuL4BQxbIZ+o= -google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= +google.golang.org/api v0.155.0 h1:vBmGhCYs0djJttDNynWo44zosHlPvHmA0XiN2zP2DtA= +google.golang.org/api v0.155.0/go.mod h1:GI5qK5f40kCpHfPn6+YzGAByIKWv8ujFnmoWm7Igduk= 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= @@ -1564,9 +1602,7 @@ google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww google.golang.org/appengine v1.6.2/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/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= 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= @@ -1605,22 +1641,16 @@ google.golang.org/genproto v0.0.0-20200831141814-d751682dd103/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200914193844-75d14daec038/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200921151605-7abf4a1a14d5/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201030142918-24207fddd1c3/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201203001206-6486ece9c497/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20230822172742-b8732ec3820d h1:VBu5YqKPv6XiJ199exd8Br+Aetz+o08F+PLMnwJQHAY= -google.golang.org/genproto v0.0.0-20230822172742-b8732ec3820d/go.mod h1:yZTlhN0tQnXo3h00fuXNCxJdLdIdnVFVBaRJ5LWBbw4= -google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d h1:DoPTO70H+bcDXcd39vOqb2viZxgqeBeSGtZ55yZU4/Q= -google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d/go.mod h1:KjSP20unUpOx5kyQUFa7k4OJg0qeJ7DEZflGDu2p6Bk= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d h1:uvYuEyMHKNt+lT4K3bN6fGswmK8qSvcreM3BwjDh+y4= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M= +google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 h1:KAeGQVN3M9nD0/bQXnr/ClcEMJ968gUXJQ9pwfSynuQ= +google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80/go.mod h1:cc8bqMqtv9gMOr0zHg2Vzff5ULhhL2IXP4sbcn32Dro= +google.golang.org/genproto/googleapis/api v0.0.0-20241219192143-6b3ec007d9bb h1:B7GIB7sr443wZ/EAEl7VZjmh1V6qzkt5V+RYcUYtS1U= +google.golang.org/genproto/googleapis/api v0.0.0-20241219192143-6b3ec007d9bb/go.mod h1:E5//3O5ZIG2l71Xnt+P/CYUY8Bxs8E7WMoZ9tlcMbAY= +google.golang.org/genproto/googleapis/rpc v0.0.0-20241219192143-6b3ec007d9bb h1:3oy2tynMOP1QbTC0MsNNAV+Se8M2Bd0A5+x1QHyw+pI= +google.golang.org/genproto/googleapis/rpc v0.0.0-20241219192143-6b3ec007d9bb/go.mod h1:lcTa1sDdWEIHMWlITnIczmw5w60CF9ffkb8Z+DVmmjA= google.golang.org/grpc v0.0.0-20170208002647-2a6bf6142e96/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= -google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= @@ -1641,11 +1671,9 @@ google.golang.org/grpc v1.32.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= -google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= -google.golang.org/grpc v1.59.0 h1:Z5Iec2pjwb+LEOqzpB2MR12/eKFhDPhuqW91O+4bwUk= -google.golang.org/grpc v1.59.0/go.mod h1:aUPDwccQo6OTjy7Hct4AfBPD1GptF4fyUjIkQ9YtF98= +google.golang.org/grpc v1.69.2 h1:U3S9QEtbXC0bYNvRtcoklF3xGtLViumSYxWykJS+7AU= +google.golang.org/grpc v1.69.2/go.mod h1:vyjdE6jLBI76dgpDojsFGNaHlxdjXN9ghpnd2o7JGZ4= google.golang.org/grpc/examples v0.0.0-20220413171549-7567a5d96538 h1:mNawcnXL0hY8s9xmO4ePM0B8WWoT7QtkZa7/8MCETdQ= google.golang.org/grpc/examples v0.0.0-20220413171549-7567a5d96538/go.mod h1:gxndsbNG1n4TZcHGgsYEfVGnTxqfEdfiDv6/DADXX9o= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= @@ -1663,8 +1691,8 @@ google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp0 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.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= -google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.36.0 h1:mjIs9gYtt56AzC4ZaffQuh88TZurBGhIJMBZGSxNerQ= +google.golang.org/protobuf v1.36.0/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d h1:TxyelI5cVkbREznMhfzycHdkp5cLA7DpE+GKjSslYhM= @@ -1682,7 +1710,6 @@ gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2/go.mod h1:Xk6kEKp8OKb+X14hQBKWaSkCsqBpgog8nAV2xsGOxlo= -gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/ldap.v2 v2.5.1 h1:wiu0okdNfjlBzg6UWvd1Hn8Y+Ux17/u/4nlk4CQr6tU= @@ -1709,12 +1736,14 @@ 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.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools v0.0.0-20181223230014-1083505acf35/go.mod h1:R//lfYlUuTOTfblYI3lGoAAAebUdzjvbmQsuB7Ykd90= +gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= +gotest.tools/v3 v3.0.3 h1:4AuOwCGf4lLR9u3YOe2awrHygurzhO/HeQ6laiA6Sx0= +gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 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= @@ -1725,6 +1754,8 @@ honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9 honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= k8s.io/kubernetes v1.13.0/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk= nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= +pluginrpc.com/pluginrpc v0.5.0 h1:tOQj2D35hOmvHyPu8e7ohW2/QvAnEtKscy2IJYWQ2yo= +pluginrpc.com/pluginrpc v0.5.0/go.mod h1:UNWZ941hcVAoOZUn8YZsMmOZBzbUjQa3XMns8RQLp9o= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= diff --git a/lib/grpc/debug/debug_api/debug.pb.go b/lib/grpc/debug/debug_api/debug.pb.go index 8b0806d6d5a..ffa988fbdc0 100644 --- a/lib/grpc/debug/debug_api/debug.pb.go +++ b/lib/grpc/debug/debug_api/debug.pb.go @@ -2,7 +2,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: grpc/debug/debug_api/debug.proto @@ -84,20 +84,17 @@ func (SetLogLevelRequest_Level) EnumDescriptor() ([]byte, []int) { } type Chunk struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"` unknownFields protoimpl.UnknownFields - - Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Chunk) Reset() { *x = Chunk{} - if protoimpl.UnsafeEnabled { - mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Chunk) String() string { @@ -108,7 +105,7 @@ func (*Chunk) ProtoMessage() {} func (x *Chunk) ProtoReflect() protoreflect.Message { mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -131,20 +128,17 @@ func (x *Chunk) GetChunk() []byte { } type TraceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"` unknownFields protoimpl.UnknownFields - - Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TraceRequest) Reset() { *x = TraceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TraceRequest) String() string { @@ -155,7 +149,7 @@ func (*TraceRequest) ProtoMessage() {} func (x *TraceRequest) ProtoReflect() protoreflect.Message { mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -178,22 +172,19 @@ func (x *TraceRequest) GetDuration() *durationpb.Duration { } type ProfileRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ProfileName string `protobuf:"bytes,1,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"` + SampleRate int64 `protobuf:"varint,2,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"` + Duration *durationpb.Duration `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"` unknownFields protoimpl.UnknownFields - - ProfileName string `protobuf:"bytes,1,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"` - SampleRate int64 `protobuf:"varint,2,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"` - Duration *durationpb.Duration `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProfileRequest) Reset() { *x = ProfileRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileRequest) String() string { @@ -204,7 +195,7 @@ func (*ProfileRequest) ProtoMessage() {} func (x *ProfileRequest) ProtoReflect() protoreflect.Message { mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -241,20 +232,17 @@ func (x *ProfileRequest) GetDuration() *durationpb.Duration { } type SetLogLevelRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Level SetLogLevelRequest_Level `protobuf:"varint,1,opt,name=level,proto3,enum=chef.automate.api.debug.SetLogLevelRequest_Level" json:"level,omitempty"` unknownFields protoimpl.UnknownFields - - Level SetLogLevelRequest_Level `protobuf:"varint,1,opt,name=level,proto3,enum=chef.automate.api.debug.SetLogLevelRequest_Level" json:"level,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SetLogLevelRequest) Reset() { *x = SetLogLevelRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetLogLevelRequest) String() string { @@ -265,7 +253,7 @@ func (*SetLogLevelRequest) ProtoMessage() {} func (x *SetLogLevelRequest) ProtoReflect() protoreflect.Message { mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -288,18 +276,16 @@ func (x *SetLogLevelRequest) GetLevel() SetLogLevelRequest_Level { } type SetLogLevelResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetLogLevelResponse) Reset() { *x = SetLogLevelResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetLogLevelResponse) String() string { @@ -310,7 +296,7 @@ func (*SetLogLevelResponse) ProtoMessage() {} func (x *SetLogLevelResponse) ProtoReflect() protoreflect.Message { mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -326,18 +312,16 @@ func (*SetLogLevelResponse) Descriptor() ([]byte, []int) { } type VersionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *VersionRequest) Reset() { *x = VersionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VersionRequest) String() string { @@ -348,7 +332,7 @@ func (*VersionRequest) ProtoMessage() {} func (x *VersionRequest) ProtoReflect() protoreflect.Message { mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -364,22 +348,19 @@ func (*VersionRequest) Descriptor() ([]byte, []int) { } type VersionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + GitRef string `protobuf:"bytes,2,opt,name=git_ref,json=gitRef,proto3" json:"git_ref,omitempty"` + GoVersion string `protobuf:"bytes,3,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"` unknownFields protoimpl.UnknownFields - - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - GitRef string `protobuf:"bytes,2,opt,name=git_ref,json=gitRef,proto3" json:"git_ref,omitempty"` - GoVersion string `protobuf:"bytes,3,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"` + sizeCache protoimpl.SizeCache } func (x *VersionResponse) Reset() { *x = VersionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VersionResponse) String() string { @@ -390,7 +371,7 @@ func (*VersionResponse) ProtoMessage() {} func (x *VersionResponse) ProtoReflect() protoreflect.Message { mi := &file_grpc_debug_debug_api_debug_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -523,7 +504,7 @@ func file_grpc_debug_debug_api_debug_proto_rawDescGZIP() []byte { var file_grpc_debug_debug_api_debug_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_grpc_debug_debug_api_debug_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_grpc_debug_debug_api_debug_proto_goTypes = []interface{}{ +var file_grpc_debug_debug_api_debug_proto_goTypes = []any{ (SetLogLevelRequest_Level)(0), // 0: chef.automate.api.debug.SetLogLevelRequest.Level (*Chunk)(nil), // 1: chef.automate.api.debug.Chunk (*TraceRequest)(nil), // 2: chef.automate.api.debug.TraceRequest @@ -558,92 +539,6 @@ func file_grpc_debug_debug_api_debug_proto_init() { if File_grpc_debug_debug_api_debug_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_grpc_debug_debug_api_debug_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Chunk); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_grpc_debug_debug_api_debug_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TraceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_grpc_debug_debug_api_debug_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProfileRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_grpc_debug_debug_api_debug_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetLogLevelRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_grpc_debug_debug_api_debug_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetLogLevelResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_grpc_debug_debug_api_debug_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VersionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_grpc_debug_debug_api_debug_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VersionResponse); 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{ diff --git a/lib/license/license.pb.go b/lib/license/license.pb.go index 71e8822501c..ab3e3a6dc23 100644 --- a/lib/license/license.pb.go +++ b/lib/license/license.pb.go @@ -10,7 +10,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.36.0 // protoc v3.19.0 // source: lib/license/license.proto @@ -32,10 +32,7 @@ const ( ) type License struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique ID for this license; defaults to auto-generated Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // License version Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // commercial, eval, developer, partner @@ -46,15 +43,15 @@ type License struct { CustomerId string `protobuf:"bytes,4,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` CustomerIdVersion string `protobuf:"bytes,25,opt,name=customer_id_version,json=customerIdVersion,proto3" json:"customer_id_version,omitempty"` Entitlements []*Entitlement `protobuf:"bytes,5,rep,name=entitlements,proto3" json:"entitlements,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *License) Reset() { *x = License{} - if protoimpl.UnsafeEnabled { - mi := &file_lib_license_license_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_lib_license_license_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *License) String() string { @@ -65,7 +62,7 @@ func (*License) ProtoMessage() {} func (x *License) ProtoReflect() protoreflect.Message { mi := &file_lib_license_license_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -151,24 +148,21 @@ func (x *License) GetEntitlements() []*Entitlement { } type Entitlement struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // ReticulateSplines + Measure string `protobuf:"bytes,2,opt,name=measure,proto3" json:"measure,omitempty"` // nodes + Limit int64 `protobuf:"zigzag64,3,opt,name=limit,proto3" json:"limit,omitempty"` // 10 + Start *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=start,proto3" json:"start,omitempty"` // date the entitlement becomes active + End *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=end,proto3" json:"end,omitempty"` // last date the entitlement is active unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // ReticulateSplines - Measure string `protobuf:"bytes,2,opt,name=measure,proto3" json:"measure,omitempty"` // nodes - Limit int64 `protobuf:"zigzag64,3,opt,name=limit,proto3" json:"limit,omitempty"` // 10 - Start *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=start,proto3" json:"start,omitempty"` // date the entitlement becomes active - End *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=end,proto3" json:"end,omitempty"` // last date the entitlement is active + sizeCache protoimpl.SizeCache } func (x *Entitlement) Reset() { *x = Entitlement{} - if protoimpl.UnsafeEnabled { - mi := &file_lib_license_license_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_lib_license_license_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Entitlement) String() string { @@ -179,7 +173,7 @@ func (*Entitlement) ProtoMessage() {} func (x *Entitlement) ProtoReflect() protoreflect.Message { mi := &file_lib_license_license_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -289,7 +283,7 @@ func file_lib_license_license_proto_rawDescGZIP() []byte { } var file_lib_license_license_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_lib_license_license_proto_goTypes = []interface{}{ +var file_lib_license_license_proto_goTypes = []any{ (*License)(nil), // 0: license.License (*Entitlement)(nil), // 1: license.Entitlement (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp @@ -311,32 +305,6 @@ func file_lib_license_license_proto_init() { if File_lib_license_license_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_lib_license_license_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*License); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_lib_license_license_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Entitlement); 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{ diff --git a/vendor.go b/vendor.go index e5430d8545e..2c4fdfa1771 100644 --- a/vendor.go +++ b/vendor.go @@ -8,8 +8,8 @@ package main import ( _ "github.com/bufbuild/buf/cmd/buf" - _ "github.com/bufbuild/buf/cmd/protoc-gen-buf-check-breaking" - _ "github.com/bufbuild/buf/cmd/protoc-gen-buf-check-lint" + _ "github.com/bufbuild/buf/cmd/protoc-gen-buf-breaking" + _ "github.com/bufbuild/buf/cmd/protoc-gen-buf-lint" _ "github.com/ckaznocha/protoc-gen-lint" _ "github.com/envoyproxy/protoc-gen-validate" _ "github.com/go-delve/delve/cmd/dlv"