From c157322cf0b32d7ff80a2e8cff976af38fc002f5 Mon Sep 17 00:00:00 2001 From: Ilja Rotar Date: Mon, 8 Dec 2025 16:32:16 +0100 Subject: [PATCH 1/3] Add event service --- doc/index.html | 275 +++++++++++++ go/client/client.go | 11 + go/metalstack/infra/v2/event.pb.go | 377 ++++++++++++++++++ .../infra/v2/infrav2connect/event.connect.go | 114 ++++++ go/permissions/servicepermissions.go | 1 + go/tests/mock_clients.go | 9 + go/tests/mocks/client/Adminv2.go | 46 +++ .../v2/infrav2connect/EventServiceClient.go | 107 +++++ .../v2/infrav2connect/EventServiceHandler.go | 107 +++++ proto/metalstack/infra/v2/event.proto | 65 +++ python/metalstack/client/client.py | 4 + python/metalstack/infra/v2/event_connect.py | 119 ++++++ python/metalstack/infra/v2/event_pb2.py | 76 ++++ python/metalstack/infra/v2/event_pb2.pyi | 71 ++++ 14 files changed, 1382 insertions(+) create mode 100644 go/metalstack/infra/v2/event.pb.go create mode 100644 go/metalstack/infra/v2/infrav2connect/event.connect.go create mode 100644 go/tests/mocks/metalstack/infra/v2/infrav2connect/EventServiceClient.go create mode 100644 go/tests/mocks/metalstack/infra/v2/infrav2connect/EventServiceHandler.go create mode 100644 proto/metalstack/infra/v2/event.proto create mode 100644 python/metalstack/infra/v2/event_connect.py create mode 100644 python/metalstack/infra/v2/event_pb2.py create mode 100644 python/metalstack/infra/v2/event_pb2.pyi diff --git a/doc/index.html b/doc/index.html index 3d127898..5a9f0233 100644 --- a/doc/index.html +++ b/doc/index.html @@ -1945,6 +1945,41 @@

Table of Contents

+
  • + metalstack/infra/v2/event.proto + +
  • + +
  • metalstack/infra/v2/switch.proto