From 46b1db4eae1d24bc65b9ec0acff42114d389e2c9 Mon Sep 17 00:00:00 2001 From: Hamza El-Saawy <84944216+helsaawy@users.noreply.github.com> Date: Tue, 18 Jun 2024 13:50:26 -0400 Subject: [PATCH] Omnibus dependency update (#2166) Dependebot PRs: - hcsshim/2140 - hcsshim/2145 - hcsshim/2146 - hcsshim/2149 - hcsshim/2153 - hcsshim/2154 - hcsshim/2159 - hcsshim/2161 - hcsshim/2174 - hcsshim/2175 - hcsshim/2176 Update protobuf files. `google.golang.org/grpc v1.64.0` deprecated `Dial[Context]` and `WithBlock`. Replacing either is non-trivial, and left for a future PR. Update dependabot file to ignore patch updates: they rarely provide bug fixes and increase repo churn. Signed-off-by: Hamza El-Saawy (cherry picked from commit 75428d123ada3f341e1c55e13e738a92d11cbfd6) Signed-off-by: Kirtana Ashok --- .github/dependabot.yml | 4 +- .github/workflows/ci.yml | 2 +- .../options/runhcs.pb.go | 10 +-- .../stats/stats.pb.go | 26 +++--- internal/computeagent/computeagent.pb.go | 28 +++--- internal/extendedtask/extendedtask.pb.go | 10 +-- .../ncproxyttrpc/networkconfigproxy.pb.go | 18 ++-- internal/shimdiag/shimdiag.pb.go | 30 +++---- internal/vmservice/vmservice.pb.go | 70 +++++++-------- .../ncproxygrpc/v0/networkconfigproxy.pb.go | 60 ++++++------- .../v0/networkconfigproxy_grpc.pb.go | 44 ++++++---- .../ncproxygrpc/v1/networkconfigproxy.pb.go | 86 +++++++++---------- .../v1/networkconfigproxy_grpc.pb.go | 44 ++++++---- pkg/ncproxy/nodenetsvc/v0/nodenetsvc.pb.go | 26 +++--- .../nodenetsvc/v0/nodenetsvc_grpc.pb.go | 20 +++-- pkg/ncproxy/nodenetsvc/v1/nodenetsvc.pb.go | 26 +++--- .../nodenetsvc/v1/nodenetsvc_grpc.pb.go | 20 +++-- 17 files changed, 279 insertions(+), 245 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9b8ae6b9ab..f8ffcd3eea 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -15,6 +15,9 @@ updates: # only do patch updates for containerd and co: don't bump anything else - dependency-name: "github.com/containerd/*" update-types: ["version-update:semver-major", "version-update:semver-minor"] + # ignore patch version increment updates to avoid churn + - dependency-name: "*" + update-types: ["version-update:semver-patch"] # allow more PRs to clear queue faster open-pull-requests-limit: 10 @@ -30,7 +33,6 @@ updates: ignore: # keep containerd and related dependencies in sync with the shim/the root repo - dependency-name: "github.com/containerd/*" - # ignore patch version increment updates in test; they shouldn't be critical - dependency-name: "*" update-types: ["version-update:semver-patch"] open-pull-requests-limit: 5 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index acaa7f3b7e..2932ad1600 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,7 +80,7 @@ jobs: - name: Install protoc shell: powershell run: | - gh release download -R protocolbuffers/protobuf -p 'protoc-*-win32.zip' -O protoc.zip 'v23.2' + gh release download -R protocolbuffers/protobuf -p 'protoc-*-win32.zip' -O protoc.zip 'v26.0' if ( $LASTEXITCODE ) { Write-Output '::error::Could not download protoc.' exit $LASTEXITCODE diff --git a/cmd/containerd-shim-runhcs-v1/options/runhcs.pb.go b/cmd/containerd-shim-runhcs-v1/options/runhcs.pb.go index 48b609abee..db7f9fb227 100644 --- a/cmd/containerd-shim-runhcs-v1/options/runhcs.pb.go +++ b/cmd/containerd-shim-runhcs-v1/options/runhcs.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 -// protoc v4.23.2 +// protoc-gen-go v1.34.2 +// protoc v5.26.0 // source: github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options/runhcs.proto package options @@ -616,7 +616,7 @@ func file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_options_run var file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_options_runhcs_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_options_runhcs_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_options_runhcs_proto_goTypes = []interface{}{ +var file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_options_runhcs_proto_goTypes = []any{ (Options_DebugType)(0), // 0: containerd.runhcs.v1.Options.DebugType (Options_SandboxIsolation)(0), // 1: containerd.runhcs.v1.Options.SandboxIsolation (*Options)(nil), // 2: containerd.runhcs.v1.Options @@ -644,7 +644,7 @@ func file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_options_run return } if !protoimpl.UnsafeEnabled { - file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_options_runhcs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_options_runhcs_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Options); i { case 0: return &v.state @@ -656,7 +656,7 @@ func file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_options_run return nil } } - file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_options_runhcs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_options_runhcs_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ProcessDetails); i { case 0: return &v.state diff --git a/cmd/containerd-shim-runhcs-v1/stats/stats.pb.go b/cmd/containerd-shim-runhcs-v1/stats/stats.pb.go index 8fe11c07e1..c1b62d8b42 100644 --- a/cmd/containerd-shim-runhcs-v1/stats/stats.pb.go +++ b/cmd/containerd-shim-runhcs-v1/stats/stats.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 -// protoc v4.23.2 +// protoc-gen-go v1.34.2 +// protoc v5.26.0 // source: github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/stats/stats.proto package stats @@ -827,7 +827,7 @@ func file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats } var file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_goTypes = []interface{}{ +var file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_goTypes = []any{ (*Statistics)(nil), // 0: containerd.runhcs.stats.v1.Statistics (*WindowsContainerStatistics)(nil), // 1: containerd.runhcs.stats.v1.WindowsContainerStatistics (*WindowsContainerProcessorStatistics)(nil), // 2: containerd.runhcs.stats.v1.WindowsContainerProcessorStatistics @@ -865,7 +865,7 @@ func file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats return } if !protoimpl.UnsafeEnabled { - file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Statistics); i { case 0: return &v.state @@ -877,7 +877,7 @@ func file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats return nil } } - file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*WindowsContainerStatistics); i { case 0: return &v.state @@ -889,7 +889,7 @@ func file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats return nil } } - file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*WindowsContainerProcessorStatistics); i { case 0: return &v.state @@ -901,7 +901,7 @@ func file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats return nil } } - file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*WindowsContainerMemoryStatistics); i { case 0: return &v.state @@ -913,7 +913,7 @@ func file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats return nil } } - file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*WindowsContainerStorageStatistics); i { case 0: return &v.state @@ -925,7 +925,7 @@ func file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats return nil } } - file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*VirtualMachineStatistics); i { case 0: return &v.state @@ -937,7 +937,7 @@ func file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats return nil } } - file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*VirtualMachineProcessorStatistics); i { case 0: return &v.state @@ -949,7 +949,7 @@ func file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats return nil } } - file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*VirtualMachineMemoryStatistics); i { case 0: return &v.state @@ -961,7 +961,7 @@ func file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats return nil } } - file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*VirtualMachineMemory); i { case 0: return &v.state @@ -974,7 +974,7 @@ func file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats } } } - file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[0].OneofWrappers = []any{ (*Statistics_Windows)(nil), (*Statistics_Linux)(nil), } diff --git a/internal/computeagent/computeagent.pb.go b/internal/computeagent/computeagent.pb.go index 02dbfb25a5..c5fad5b56a 100644 --- a/internal/computeagent/computeagent.pb.go +++ b/internal/computeagent/computeagent.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 -// protoc v4.23.2 +// protoc-gen-go v1.34.2 +// protoc v5.26.0 // source: github.com/Microsoft/hcsshim/internal/computeagent/computeagent.proto package computeagent @@ -725,7 +725,7 @@ func file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_ } var file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_goTypes = []interface{}{ +var file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_goTypes = []any{ (*AssignPCIInternalRequest)(nil), // 0: AssignPCIInternalRequest (*AssignPCIInternalResponse)(nil), // 1: AssignPCIInternalResponse (*RemovePCIInternalRequest)(nil), // 2: RemovePCIInternalRequest @@ -767,7 +767,7 @@ func file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_ return } if !protoimpl.UnsafeEnabled { - file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*AssignPCIInternalRequest); i { case 0: return &v.state @@ -779,7 +779,7 @@ func file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_ return nil } } - file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*AssignPCIInternalResponse); i { case 0: return &v.state @@ -791,7 +791,7 @@ func file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_ return nil } } - file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*RemovePCIInternalRequest); i { case 0: return &v.state @@ -803,7 +803,7 @@ func file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_ return nil } } - file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*RemovePCIInternalResponse); i { case 0: return &v.state @@ -815,7 +815,7 @@ func file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_ return nil } } - file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*AddNICInternalRequest); i { case 0: return &v.state @@ -827,7 +827,7 @@ func file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_ return nil } } - file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*AddNICInternalResponse); i { case 0: return &v.state @@ -839,7 +839,7 @@ func file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_ return nil } } - file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ModifyNICInternalRequest); i { case 0: return &v.state @@ -851,7 +851,7 @@ func file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_ return nil } } - file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*ModifyNICInternalResponse); i { case 0: return &v.state @@ -863,7 +863,7 @@ func file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_ return nil } } - file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*DeleteNICInternalRequest); i { case 0: return &v.state @@ -875,7 +875,7 @@ func file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_ return nil } } - file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*DeleteNICInternalResponse); i { case 0: return &v.state @@ -887,7 +887,7 @@ func file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_ return nil } } - file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*IovSettings); i { case 0: return &v.state diff --git a/internal/extendedtask/extendedtask.pb.go b/internal/extendedtask/extendedtask.pb.go index e168b42ae1..93e6a3a509 100644 --- a/internal/extendedtask/extendedtask.pb.go +++ b/internal/extendedtask/extendedtask.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 -// protoc v4.23.2 +// protoc-gen-go v1.34.2 +// protoc v5.26.0 // source: github.com/Microsoft/hcsshim/internal/extendedtask/extendedtask.proto package extendedtask @@ -154,7 +154,7 @@ func file_github_com_Microsoft_hcsshim_internal_extendedtask_extendedtask_proto_ } var file_github_com_Microsoft_hcsshim_internal_extendedtask_extendedtask_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_github_com_Microsoft_hcsshim_internal_extendedtask_extendedtask_proto_goTypes = []interface{}{ +var file_github_com_Microsoft_hcsshim_internal_extendedtask_extendedtask_proto_goTypes = []any{ (*ComputeProcessorInfoRequest)(nil), // 0: ComputeProcessorInfoRequest (*ComputeProcessorInfoResponse)(nil), // 1: ComputeProcessorInfoResponse } @@ -174,7 +174,7 @@ func file_github_com_Microsoft_hcsshim_internal_extendedtask_extendedtask_proto_ return } if !protoimpl.UnsafeEnabled { - file_github_com_Microsoft_hcsshim_internal_extendedtask_extendedtask_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_extendedtask_extendedtask_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*ComputeProcessorInfoRequest); i { case 0: return &v.state @@ -186,7 +186,7 @@ func file_github_com_Microsoft_hcsshim_internal_extendedtask_extendedtask_proto_ return nil } } - file_github_com_Microsoft_hcsshim_internal_extendedtask_extendedtask_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_extendedtask_extendedtask_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ComputeProcessorInfoResponse); i { case 0: return &v.state diff --git a/internal/ncproxyttrpc/networkconfigproxy.pb.go b/internal/ncproxyttrpc/networkconfigproxy.pb.go index da96a2c14a..0880368459 100644 --- a/internal/ncproxyttrpc/networkconfigproxy.pb.go +++ b/internal/ncproxyttrpc/networkconfigproxy.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 -// protoc v4.23.2 +// protoc-gen-go v1.34.2 +// protoc v5.26.0 // source: github.com/Microsoft/hcsshim/internal/ncproxyttrpc/networkconfigproxy.proto package ncproxyttrpc @@ -413,7 +413,7 @@ func file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_ var file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_proto_goTypes = []interface{}{ +var file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_proto_goTypes = []any{ (RequestTypeInternal)(0), // 0: RequestTypeInternal (*RegisterComputeAgentRequest)(nil), // 1: RegisterComputeAgentRequest (*RegisterComputeAgentResponse)(nil), // 2: RegisterComputeAgentResponse @@ -443,7 +443,7 @@ func file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_ return } if !protoimpl.UnsafeEnabled { - file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*RegisterComputeAgentRequest); i { case 0: return &v.state @@ -455,7 +455,7 @@ func file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_ return nil } } - file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*RegisterComputeAgentResponse); i { case 0: return &v.state @@ -467,7 +467,7 @@ func file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_ return nil } } - file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*UnregisterComputeAgentRequest); i { case 0: return &v.state @@ -479,7 +479,7 @@ func file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_ return nil } } - file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*UnregisterComputeAgentResponse); i { case 0: return &v.state @@ -491,7 +491,7 @@ func file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_ return nil } } - file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ConfigureNetworkingInternalRequest); i { case 0: return &v.state @@ -503,7 +503,7 @@ func file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_ return nil } } - file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ConfigureNetworkingInternalResponse); i { case 0: return &v.state diff --git a/internal/shimdiag/shimdiag.pb.go b/internal/shimdiag/shimdiag.pb.go index e518910c50..8579b7d2e6 100644 --- a/internal/shimdiag/shimdiag.pb.go +++ b/internal/shimdiag/shimdiag.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 -// protoc v4.23.2 +// protoc-gen-go v1.34.2 +// protoc v5.26.0 // source: github.com/Microsoft/hcsshim/internal/shimdiag/shimdiag.proto package shimdiag @@ -742,7 +742,7 @@ func file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_rawDescG } var file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes = make([]protoimpl.MessageInfo, 12) -var file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_goTypes = []interface{}{ +var file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_goTypes = []any{ (*ExecProcessRequest)(nil), // 0: containerd.runhcs.v1.diag.ExecProcessRequest (*ExecProcessResponse)(nil), // 1: containerd.runhcs.v1.diag.ExecProcessResponse (*StacksRequest)(nil), // 2: containerd.runhcs.v1.diag.StacksRequest @@ -782,7 +782,7 @@ func file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*ExecProcessRequest); i { case 0: return &v.state @@ -794,7 +794,7 @@ func file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_init() { return nil } } - file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ExecProcessResponse); i { case 0: return &v.state @@ -806,7 +806,7 @@ func file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_init() { return nil } } - file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*StacksRequest); i { case 0: return &v.state @@ -818,7 +818,7 @@ func file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_init() { return nil } } - file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*StacksResponse); i { case 0: return &v.state @@ -830,7 +830,7 @@ func file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_init() { return nil } } - file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ShareRequest); i { case 0: return &v.state @@ -842,7 +842,7 @@ func file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_init() { return nil } } - file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ShareResponse); i { case 0: return &v.state @@ -854,7 +854,7 @@ func file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_init() { return nil } } - file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*PidRequest); i { case 0: return &v.state @@ -866,7 +866,7 @@ func file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_init() { return nil } } - file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*PidResponse); i { case 0: return &v.state @@ -878,7 +878,7 @@ func file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_init() { return nil } } - file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*TasksRequest); i { case 0: return &v.state @@ -890,7 +890,7 @@ func file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_init() { return nil } } - file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*Task); i { case 0: return &v.state @@ -902,7 +902,7 @@ func file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_init() { return nil } } - file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*Exec); i { case 0: return &v.state @@ -914,7 +914,7 @@ func file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_init() { return nil } } - file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*TasksResponse); i { case 0: return &v.state diff --git a/internal/vmservice/vmservice.pb.go b/internal/vmservice/vmservice.pb.go index 745c6bdc6f..10728c2038 100644 --- a/internal/vmservice/vmservice.pb.go +++ b/internal/vmservice/vmservice.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 -// protoc v4.23.2 +// protoc-gen-go v1.34.2 +// protoc v5.26.0 // source: github.com/Microsoft/hcsshim/internal/vmservice/vmservice.proto package vmservice @@ -2590,7 +2590,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_rawDes var file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_enumTypes = make([]protoimpl.EnumInfo, 5) var file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes = make([]protoimpl.MessageInfo, 30) -var file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_goTypes = []interface{}{ +var file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_goTypes = []any{ (ModifyType)(0), // 0: vmservice.ModifyType (DiskType)(0), // 1: vmservice.DiskType (PropertiesVMRequest_PropertiesType)(0), // 2: vmservice.PropertiesVMRequest.PropertiesType @@ -2699,7 +2699,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return } if !protoimpl.UnsafeEnabled { - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*DirectBoot); i { case 0: return &v.state @@ -2711,7 +2711,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*UEFI); i { case 0: return &v.state @@ -2723,7 +2723,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*MemoryConfig); i { case 0: return &v.state @@ -2735,7 +2735,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ProcessorConfig); i { case 0: return &v.state @@ -2747,7 +2747,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*DevicesConfig); i { case 0: return &v.state @@ -2759,7 +2759,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*VMConfig); i { case 0: return &v.state @@ -2771,7 +2771,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*WindowsOptions); i { case 0: return &v.state @@ -2783,7 +2783,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*SerialConfig); i { case 0: return &v.state @@ -2795,7 +2795,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*CreateVMRequest); i { case 0: return &v.state @@ -2807,7 +2807,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*InspectVMRequest); i { case 0: return &v.state @@ -2819,7 +2819,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*InspectVMResponse); i { case 0: return &v.state @@ -2831,7 +2831,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*MemoryStats); i { case 0: return &v.state @@ -2843,7 +2843,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*ProcessorStats); i { case 0: return &v.state @@ -2855,7 +2855,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*PropertiesVMRequest); i { case 0: return &v.state @@ -2867,7 +2867,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*PropertiesVMResponse); i { case 0: return &v.state @@ -2879,7 +2879,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*CapabilitiesVMResponse); i { case 0: return &v.state @@ -2891,7 +2891,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*HVSocketListen); i { case 0: return &v.state @@ -2903,7 +2903,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*VSockListen); i { case 0: return &v.state @@ -2915,7 +2915,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*VMSocketRequest); i { case 0: return &v.state @@ -2927,7 +2927,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*SCSIDisk); i { case 0: return &v.state @@ -2939,7 +2939,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*VPMEMDisk); i { case 0: return &v.state @@ -2951,7 +2951,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*NICConfig); i { case 0: return &v.state @@ -2963,7 +2963,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*WindowsPCIDevice); i { case 0: return &v.state @@ -2975,7 +2975,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*ModifyMemoryRequest); i { case 0: return &v.state @@ -2987,7 +2987,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*ModifyProcessorRequest); i { case 0: return &v.state @@ -2999,7 +2999,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*ModifyProcessorConfigRequest); i { case 0: return &v.state @@ -3011,7 +3011,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*ModifyResourceRequest); i { case 0: return &v.state @@ -3023,7 +3023,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*SerialConfig_Config); i { case 0: return &v.state @@ -3035,7 +3035,7 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() return nil } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*CapabilitiesVMResponse_SupportedResource); i { case 0: return &v.state @@ -3048,15 +3048,15 @@ func file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_init() } } } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[5].OneofWrappers = []interface{}{ + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[5].OneofWrappers = []any{ (*VMConfig_DirectBoot)(nil), (*VMConfig_Uefi)(nil), } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[18].OneofWrappers = []interface{}{ + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[18].OneofWrappers = []any{ (*VMSocketRequest_HvsocketList)(nil), (*VMSocketRequest_VsockListen)(nil), } - file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[26].OneofWrappers = []interface{}{ + file_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto_msgTypes[26].OneofWrappers = []any{ (*ModifyResourceRequest_Processor)(nil), (*ModifyResourceRequest_ProcessorConfig)(nil), (*ModifyResourceRequest_Memory)(nil), diff --git a/pkg/ncproxy/ncproxygrpc/v0/networkconfigproxy.pb.go b/pkg/ncproxy/ncproxygrpc/v0/networkconfigproxy.pb.go index de2bce3fc5..47930aab7a 100644 --- a/pkg/ncproxy/ncproxygrpc/v0/networkconfigproxy.pb.go +++ b/pkg/ncproxy/ncproxygrpc/v0/networkconfigproxy.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 -// protoc v4.23.2 +// protoc-gen-go v1.34.2 +// protoc v5.26.0 // github.com/Microsoft/hcsshim/pkg/ncproxy/ncproxygrpc/v0/networkconfigproxy.proto is a deprecated file. package v0 @@ -1943,7 +1943,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp var file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes = make([]protoimpl.MessageInfo, 27) -var file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_goTypes = []interface{}{ +var file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_goTypes = []any{ (CreateNetworkRequest_NetworkMode)(0), // 0: ncproxygrpc.CreateNetworkRequest.NetworkMode (CreateNetworkRequest_IpamType)(0), // 1: ncproxygrpc.CreateNetworkRequest.IpamType (*AddNICRequest)(nil), // 2: ncproxygrpc.AddNICRequest @@ -2023,7 +2023,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return } if !protoimpl.UnsafeEnabled { - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*AddNICRequest); i { case 0: return &v.state @@ -2035,7 +2035,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*AddNICResponse); i { case 0: return &v.state @@ -2047,7 +2047,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ModifyNICRequest); i { case 0: return &v.state @@ -2059,7 +2059,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ModifyNICResponse); i { case 0: return &v.state @@ -2071,7 +2071,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*DeleteNICRequest); i { case 0: return &v.state @@ -2083,7 +2083,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*DeleteNICResponse); i { case 0: return &v.state @@ -2095,7 +2095,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*CreateNetworkRequest); i { case 0: return &v.state @@ -2107,7 +2107,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*CreateNetworkResponse); i { case 0: return &v.state @@ -2119,7 +2119,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*PortNameEndpointPolicySetting); i { case 0: return &v.state @@ -2131,7 +2131,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*IovEndpointPolicySetting); i { case 0: return &v.state @@ -2143,7 +2143,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*DnsSetting); i { case 0: return &v.state @@ -2155,7 +2155,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*CreateEndpointRequest); i { case 0: return &v.state @@ -2167,7 +2167,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*CreateEndpointResponse); i { case 0: return &v.state @@ -2179,7 +2179,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*AddEndpointRequest); i { case 0: return &v.state @@ -2191,7 +2191,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*AddEndpointResponse); i { case 0: return &v.state @@ -2203,7 +2203,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*DeleteEndpointRequest); i { case 0: return &v.state @@ -2215,7 +2215,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*DeleteEndpointResponse); i { case 0: return &v.state @@ -2227,7 +2227,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*DeleteNetworkRequest); i { case 0: return &v.state @@ -2239,7 +2239,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*DeleteNetworkResponse); i { case 0: return &v.state @@ -2251,7 +2251,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*GetEndpointRequest); i { case 0: return &v.state @@ -2263,7 +2263,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*GetEndpointResponse); i { case 0: return &v.state @@ -2275,7 +2275,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*GetNetworkRequest); i { case 0: return &v.state @@ -2287,7 +2287,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*GetNetworkResponse); i { case 0: return &v.state @@ -2299,7 +2299,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*GetEndpointsRequest); i { case 0: return &v.state @@ -2311,7 +2311,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*GetEndpointsResponse); i { case 0: return &v.state @@ -2323,7 +2323,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*GetNetworksRequest); i { case 0: return &v.state @@ -2335,7 +2335,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v0_networkconfigproxy_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*GetNetworksResponse); i { case 0: return &v.state diff --git a/pkg/ncproxy/ncproxygrpc/v0/networkconfigproxy_grpc.pb.go b/pkg/ncproxy/ncproxygrpc/v0/networkconfigproxy_grpc.pb.go index 5196f7a00e..3eb49466d1 100644 --- a/pkg/ncproxy/ncproxygrpc/v0/networkconfigproxy_grpc.pb.go +++ b/pkg/ncproxy/ncproxygrpc/v0/networkconfigproxy_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.23.2 +// - protoc-gen-go-grpc v1.4.0 +// - protoc v5.26.0 // github.com/Microsoft/hcsshim/pkg/ncproxy/ncproxygrpc/v0/networkconfigproxy.proto is a deprecated file. package v0 @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( NetworkConfigProxy_AddNIC_FullMethodName = "/ncproxygrpc.NetworkConfigProxy/AddNIC" @@ -60,8 +60,9 @@ func NewNetworkConfigProxyClient(cc grpc.ClientConnInterface) NetworkConfigProxy } func (c *networkConfigProxyClient) AddNIC(ctx context.Context, in *AddNICRequest, opts ...grpc.CallOption) (*AddNICResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AddNICResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_AddNIC_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_AddNIC_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -69,8 +70,9 @@ func (c *networkConfigProxyClient) AddNIC(ctx context.Context, in *AddNICRequest } func (c *networkConfigProxyClient) ModifyNIC(ctx context.Context, in *ModifyNICRequest, opts ...grpc.CallOption) (*ModifyNICResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ModifyNICResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_ModifyNIC_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_ModifyNIC_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -78,8 +80,9 @@ func (c *networkConfigProxyClient) ModifyNIC(ctx context.Context, in *ModifyNICR } func (c *networkConfigProxyClient) DeleteNIC(ctx context.Context, in *DeleteNICRequest, opts ...grpc.CallOption) (*DeleteNICResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteNICResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_DeleteNIC_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_DeleteNIC_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -87,8 +90,9 @@ func (c *networkConfigProxyClient) DeleteNIC(ctx context.Context, in *DeleteNICR } func (c *networkConfigProxyClient) CreateNetwork(ctx context.Context, in *CreateNetworkRequest, opts ...grpc.CallOption) (*CreateNetworkResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateNetworkResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_CreateNetwork_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_CreateNetwork_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -96,8 +100,9 @@ func (c *networkConfigProxyClient) CreateNetwork(ctx context.Context, in *Create } func (c *networkConfigProxyClient) CreateEndpoint(ctx context.Context, in *CreateEndpointRequest, opts ...grpc.CallOption) (*CreateEndpointResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateEndpointResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_CreateEndpoint_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_CreateEndpoint_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -105,8 +110,9 @@ func (c *networkConfigProxyClient) CreateEndpoint(ctx context.Context, in *Creat } func (c *networkConfigProxyClient) AddEndpoint(ctx context.Context, in *AddEndpointRequest, opts ...grpc.CallOption) (*AddEndpointResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AddEndpointResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_AddEndpoint_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_AddEndpoint_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -114,8 +120,9 @@ func (c *networkConfigProxyClient) AddEndpoint(ctx context.Context, in *AddEndpo } func (c *networkConfigProxyClient) DeleteEndpoint(ctx context.Context, in *DeleteEndpointRequest, opts ...grpc.CallOption) (*DeleteEndpointResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteEndpointResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_DeleteEndpoint_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_DeleteEndpoint_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -123,8 +130,9 @@ func (c *networkConfigProxyClient) DeleteEndpoint(ctx context.Context, in *Delet } func (c *networkConfigProxyClient) DeleteNetwork(ctx context.Context, in *DeleteNetworkRequest, opts ...grpc.CallOption) (*DeleteNetworkResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteNetworkResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_DeleteNetwork_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_DeleteNetwork_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -132,8 +140,9 @@ func (c *networkConfigProxyClient) DeleteNetwork(ctx context.Context, in *Delete } func (c *networkConfigProxyClient) GetEndpoint(ctx context.Context, in *GetEndpointRequest, opts ...grpc.CallOption) (*GetEndpointResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetEndpointResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_GetEndpoint_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_GetEndpoint_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -141,8 +150,9 @@ func (c *networkConfigProxyClient) GetEndpoint(ctx context.Context, in *GetEndpo } func (c *networkConfigProxyClient) GetNetwork(ctx context.Context, in *GetNetworkRequest, opts ...grpc.CallOption) (*GetNetworkResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetNetworkResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_GetNetwork_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_GetNetwork_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -150,8 +160,9 @@ func (c *networkConfigProxyClient) GetNetwork(ctx context.Context, in *GetNetwor } func (c *networkConfigProxyClient) GetEndpoints(ctx context.Context, in *GetEndpointsRequest, opts ...grpc.CallOption) (*GetEndpointsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetEndpointsResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_GetEndpoints_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_GetEndpoints_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -159,8 +170,9 @@ func (c *networkConfigProxyClient) GetEndpoints(ctx context.Context, in *GetEndp } func (c *networkConfigProxyClient) GetNetworks(ctx context.Context, in *GetNetworksRequest, opts ...grpc.CallOption) (*GetNetworksResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetNetworksResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_GetNetworks_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_GetNetworks_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } diff --git a/pkg/ncproxy/ncproxygrpc/v1/networkconfigproxy.pb.go b/pkg/ncproxy/ncproxygrpc/v1/networkconfigproxy.pb.go index e72f5be1f3..9d463dd79e 100644 --- a/pkg/ncproxy/ncproxygrpc/v1/networkconfigproxy.pb.go +++ b/pkg/ncproxy/ncproxygrpc/v1/networkconfigproxy.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 -// protoc v4.23.2 +// protoc-gen-go v1.34.2 +// protoc v5.26.0 // source: github.com/Microsoft/hcsshim/pkg/ncproxy/ncproxygrpc/v1/networkconfigproxy.proto package v1 @@ -2608,7 +2608,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp var file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes = make([]protoimpl.MessageInfo, 37) -var file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_goTypes = []interface{}{ +var file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_goTypes = []any{ (HostComputeNetworkSettings_NetworkMode)(0), // 0: ncproxygrpc.v1.HostComputeNetworkSettings.NetworkMode (HostComputeNetworkSettings_IpamType)(0), // 1: ncproxygrpc.v1.HostComputeNetworkSettings.IpamType (*AddNICRequest)(nil), // 2: ncproxygrpc.v1.AddNICRequest @@ -2710,7 +2710,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return } if !protoimpl.UnsafeEnabled { - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*AddNICRequest); i { case 0: return &v.state @@ -2722,7 +2722,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*AddNICResponse); i { case 0: return &v.state @@ -2734,7 +2734,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ModifyNICRequest); i { case 0: return &v.state @@ -2746,7 +2746,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ModifyNICResponse); i { case 0: return &v.state @@ -2758,7 +2758,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*DeleteNICRequest); i { case 0: return &v.state @@ -2770,7 +2770,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*DeleteNICResponse); i { case 0: return &v.state @@ -2782,7 +2782,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*CreateNetworkRequest); i { case 0: return &v.state @@ -2794,7 +2794,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*Network); i { case 0: return &v.state @@ -2806,7 +2806,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*NCProxyNetworkSettings); i { case 0: return &v.state @@ -2818,7 +2818,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*HostComputeNetworkSettings); i { case 0: return &v.state @@ -2830,7 +2830,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*CreateNetworkResponse); i { case 0: return &v.state @@ -2842,7 +2842,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*PortNameEndpointPolicySetting); i { case 0: return &v.state @@ -2854,7 +2854,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*IovEndpointPolicySetting); i { case 0: return &v.state @@ -2866,7 +2866,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*DnsSetting); i { case 0: return &v.state @@ -2878,7 +2878,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*CreateEndpointRequest); i { case 0: return &v.state @@ -2890,7 +2890,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*EndpointSettings); i { case 0: return &v.state @@ -2902,7 +2902,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*HcnEndpointResponse); i { case 0: return &v.state @@ -2914,7 +2914,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*HcnEndpointSettings); i { case 0: return &v.state @@ -2926,7 +2926,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*HcnEndpointPolicies); i { case 0: return &v.state @@ -2938,7 +2938,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*NCProxyEndpointSettings); i { case 0: return &v.state @@ -2950,7 +2950,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*PCIDeviceDetails); i { case 0: return &v.state @@ -2962,7 +2962,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*CreateEndpointResponse); i { case 0: return &v.state @@ -2974,7 +2974,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*AddEndpointRequest); i { case 0: return &v.state @@ -2986,7 +2986,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*AddEndpointResponse); i { case 0: return &v.state @@ -2998,7 +2998,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*DeleteEndpointRequest); i { case 0: return &v.state @@ -3010,7 +3010,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*DeleteEndpointResponse); i { case 0: return &v.state @@ -3022,7 +3022,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*DeleteNetworkRequest); i { case 0: return &v.state @@ -3034,7 +3034,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*DeleteNetworkResponse); i { case 0: return &v.state @@ -3046,7 +3046,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*GetEndpointRequest); i { case 0: return &v.state @@ -3058,7 +3058,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*GetEndpointResponse); i { case 0: return &v.state @@ -3070,7 +3070,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*GetNetworkRequest); i { case 0: return &v.state @@ -3082,7 +3082,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*GetNetworkResponse); i { case 0: return &v.state @@ -3094,7 +3094,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*MacRange); i { case 0: return &v.state @@ -3106,7 +3106,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[33].Exporter = func(v any, i int) any { switch v := v.(*GetEndpointsRequest); i { case 0: return &v.state @@ -3118,7 +3118,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[34].Exporter = func(v any, i int) any { switch v := v.(*GetEndpointsResponse); i { case 0: return &v.state @@ -3130,7 +3130,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[35].Exporter = func(v any, i int) any { switch v := v.(*GetNetworksRequest); i { case 0: return &v.state @@ -3142,7 +3142,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[36].Exporter = func(v any, i int) any { switch v := v.(*GetNetworksResponse); i { case 0: return &v.state @@ -3155,15 +3155,15 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigp } } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[7].OneofWrappers = []interface{}{ + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[7].OneofWrappers = []any{ (*Network_HcnNetwork)(nil), (*Network_NcproxyNetwork)(nil), } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[15].OneofWrappers = []interface{}{ + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[15].OneofWrappers = []any{ (*EndpointSettings_HcnEndpoint)(nil), (*EndpointSettings_NcproxyEndpoint)(nil), } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[19].OneofWrappers = []interface{}{ + file_github_com_Microsoft_hcsshim_pkg_ncproxy_ncproxygrpc_v1_networkconfigproxy_proto_msgTypes[19].OneofWrappers = []any{ (*NCProxyEndpointSettings_PciDeviceDetails)(nil), } type x struct{} diff --git a/pkg/ncproxy/ncproxygrpc/v1/networkconfigproxy_grpc.pb.go b/pkg/ncproxy/ncproxygrpc/v1/networkconfigproxy_grpc.pb.go index 8656f685d5..3e6b279eb4 100644 --- a/pkg/ncproxy/ncproxygrpc/v1/networkconfigproxy_grpc.pb.go +++ b/pkg/ncproxy/ncproxygrpc/v1/networkconfigproxy_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.23.2 +// - protoc-gen-go-grpc v1.4.0 +// - protoc v5.26.0 // source: github.com/Microsoft/hcsshim/pkg/ncproxy/ncproxygrpc/v1/networkconfigproxy.proto package v1 @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( NetworkConfigProxy_AddNIC_FullMethodName = "/ncproxygrpc.v1.NetworkConfigProxy/AddNIC" @@ -60,8 +60,9 @@ func NewNetworkConfigProxyClient(cc grpc.ClientConnInterface) NetworkConfigProxy } func (c *networkConfigProxyClient) AddNIC(ctx context.Context, in *AddNICRequest, opts ...grpc.CallOption) (*AddNICResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AddNICResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_AddNIC_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_AddNIC_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -69,8 +70,9 @@ func (c *networkConfigProxyClient) AddNIC(ctx context.Context, in *AddNICRequest } func (c *networkConfigProxyClient) ModifyNIC(ctx context.Context, in *ModifyNICRequest, opts ...grpc.CallOption) (*ModifyNICResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ModifyNICResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_ModifyNIC_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_ModifyNIC_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -78,8 +80,9 @@ func (c *networkConfigProxyClient) ModifyNIC(ctx context.Context, in *ModifyNICR } func (c *networkConfigProxyClient) DeleteNIC(ctx context.Context, in *DeleteNICRequest, opts ...grpc.CallOption) (*DeleteNICResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteNICResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_DeleteNIC_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_DeleteNIC_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -87,8 +90,9 @@ func (c *networkConfigProxyClient) DeleteNIC(ctx context.Context, in *DeleteNICR } func (c *networkConfigProxyClient) CreateNetwork(ctx context.Context, in *CreateNetworkRequest, opts ...grpc.CallOption) (*CreateNetworkResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateNetworkResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_CreateNetwork_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_CreateNetwork_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -96,8 +100,9 @@ func (c *networkConfigProxyClient) CreateNetwork(ctx context.Context, in *Create } func (c *networkConfigProxyClient) CreateEndpoint(ctx context.Context, in *CreateEndpointRequest, opts ...grpc.CallOption) (*CreateEndpointResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateEndpointResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_CreateEndpoint_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_CreateEndpoint_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -105,8 +110,9 @@ func (c *networkConfigProxyClient) CreateEndpoint(ctx context.Context, in *Creat } func (c *networkConfigProxyClient) AddEndpoint(ctx context.Context, in *AddEndpointRequest, opts ...grpc.CallOption) (*AddEndpointResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AddEndpointResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_AddEndpoint_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_AddEndpoint_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -114,8 +120,9 @@ func (c *networkConfigProxyClient) AddEndpoint(ctx context.Context, in *AddEndpo } func (c *networkConfigProxyClient) DeleteEndpoint(ctx context.Context, in *DeleteEndpointRequest, opts ...grpc.CallOption) (*DeleteEndpointResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteEndpointResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_DeleteEndpoint_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_DeleteEndpoint_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -123,8 +130,9 @@ func (c *networkConfigProxyClient) DeleteEndpoint(ctx context.Context, in *Delet } func (c *networkConfigProxyClient) DeleteNetwork(ctx context.Context, in *DeleteNetworkRequest, opts ...grpc.CallOption) (*DeleteNetworkResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteNetworkResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_DeleteNetwork_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_DeleteNetwork_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -132,8 +140,9 @@ func (c *networkConfigProxyClient) DeleteNetwork(ctx context.Context, in *Delete } func (c *networkConfigProxyClient) GetEndpoint(ctx context.Context, in *GetEndpointRequest, opts ...grpc.CallOption) (*GetEndpointResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetEndpointResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_GetEndpoint_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_GetEndpoint_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -141,8 +150,9 @@ func (c *networkConfigProxyClient) GetEndpoint(ctx context.Context, in *GetEndpo } func (c *networkConfigProxyClient) GetNetwork(ctx context.Context, in *GetNetworkRequest, opts ...grpc.CallOption) (*GetNetworkResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetNetworkResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_GetNetwork_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_GetNetwork_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -150,8 +160,9 @@ func (c *networkConfigProxyClient) GetNetwork(ctx context.Context, in *GetNetwor } func (c *networkConfigProxyClient) GetEndpoints(ctx context.Context, in *GetEndpointsRequest, opts ...grpc.CallOption) (*GetEndpointsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetEndpointsResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_GetEndpoints_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_GetEndpoints_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -159,8 +170,9 @@ func (c *networkConfigProxyClient) GetEndpoints(ctx context.Context, in *GetEndp } func (c *networkConfigProxyClient) GetNetworks(ctx context.Context, in *GetNetworksRequest, opts ...grpc.CallOption) (*GetNetworksResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetNetworksResponse) - err := c.cc.Invoke(ctx, NetworkConfigProxy_GetNetworks_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NetworkConfigProxy_GetNetworks_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } diff --git a/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.pb.go b/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.pb.go index cc73d24f21..c6c6746232 100644 --- a/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.pb.go +++ b/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 -// protoc v4.23.2 +// protoc-gen-go v1.34.2 +// protoc v5.26.0 // github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is a deprecated file. package v0 @@ -797,7 +797,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_prot var file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_goTypes = []interface{}{ +var file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_goTypes = []any{ (RequestType)(0), // 0: azure.nodenetworkservice.RequestType (*ConfigureNetworkingRequest)(nil), // 1: azure.nodenetworkservice.ConfigureNetworkingRequest (*ConfigureNetworkingResponse)(nil), // 2: azure.nodenetworkservice.ConfigureNetworkingResponse @@ -836,7 +836,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_prot return } if !protoimpl.UnsafeEnabled { - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*ConfigureNetworkingRequest); i { case 0: return &v.state @@ -848,7 +848,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ConfigureNetworkingResponse); i { case 0: return &v.state @@ -860,7 +860,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*PingNodeNetworkServiceRequest); i { case 0: return &v.state @@ -872,7 +872,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*PingNodeNetworkServiceResponse); i { case 0: return &v.state @@ -884,7 +884,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ConfigureContainerNetworkingRequest); i { case 0: return &v.state @@ -896,7 +896,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ConfigureContainerNetworkingResponse); i { case 0: return &v.state @@ -908,7 +908,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ContainerIPAddress); i { case 0: return &v.state @@ -920,7 +920,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*ContainerNetworkInterface); i { case 0: return &v.state @@ -932,7 +932,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*GetHostLocalIpAddressRequest); i { case 0: return &v.state @@ -944,7 +944,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v0_nodenetsvc_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*GetHostLocalIpAddressResponse); i { case 0: return &v.state diff --git a/pkg/ncproxy/nodenetsvc/v0/nodenetsvc_grpc.pb.go b/pkg/ncproxy/nodenetsvc/v0/nodenetsvc_grpc.pb.go index cd7c6d9d04..32d4e56c4b 100644 --- a/pkg/ncproxy/nodenetsvc/v0/nodenetsvc_grpc.pb.go +++ b/pkg/ncproxy/nodenetsvc/v0/nodenetsvc_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.23.2 +// - protoc-gen-go-grpc v1.4.0 +// - protoc v5.26.0 // github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is a deprecated file. package v0 @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( NodeNetworkService_ConfigureNetworking_FullMethodName = "/azure.nodenetworkservice.NodeNetworkService/ConfigureNetworking" @@ -44,8 +44,9 @@ func NewNodeNetworkServiceClient(cc grpc.ClientConnInterface) NodeNetworkService } func (c *nodeNetworkServiceClient) ConfigureNetworking(ctx context.Context, in *ConfigureNetworkingRequest, opts ...grpc.CallOption) (*ConfigureNetworkingResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ConfigureNetworkingResponse) - err := c.cc.Invoke(ctx, NodeNetworkService_ConfigureNetworking_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NodeNetworkService_ConfigureNetworking_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -53,8 +54,9 @@ func (c *nodeNetworkServiceClient) ConfigureNetworking(ctx context.Context, in * } func (c *nodeNetworkServiceClient) ConfigureContainerNetworking(ctx context.Context, in *ConfigureContainerNetworkingRequest, opts ...grpc.CallOption) (*ConfigureContainerNetworkingResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ConfigureContainerNetworkingResponse) - err := c.cc.Invoke(ctx, NodeNetworkService_ConfigureContainerNetworking_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NodeNetworkService_ConfigureContainerNetworking_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -62,8 +64,9 @@ func (c *nodeNetworkServiceClient) ConfigureContainerNetworking(ctx context.Cont } func (c *nodeNetworkServiceClient) PingNodeNetworkService(ctx context.Context, in *PingNodeNetworkServiceRequest, opts ...grpc.CallOption) (*PingNodeNetworkServiceResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(PingNodeNetworkServiceResponse) - err := c.cc.Invoke(ctx, NodeNetworkService_PingNodeNetworkService_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NodeNetworkService_PingNodeNetworkService_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -71,8 +74,9 @@ func (c *nodeNetworkServiceClient) PingNodeNetworkService(ctx context.Context, i } func (c *nodeNetworkServiceClient) GetHostLocalIpAddress(ctx context.Context, in *GetHostLocalIpAddressRequest, opts ...grpc.CallOption) (*GetHostLocalIpAddressResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetHostLocalIpAddressResponse) - err := c.cc.Invoke(ctx, NodeNetworkService_GetHostLocalIpAddress_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NodeNetworkService_GetHostLocalIpAddress_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } diff --git a/pkg/ncproxy/nodenetsvc/v1/nodenetsvc.pb.go b/pkg/ncproxy/nodenetsvc/v1/nodenetsvc.pb.go index f521fca8e5..92a1fa61b9 100644 --- a/pkg/ncproxy/nodenetsvc/v1/nodenetsvc.pb.go +++ b/pkg/ncproxy/nodenetsvc/v1/nodenetsvc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 -// protoc v4.23.2 +// protoc-gen-go v1.34.2 +// protoc v5.26.0 // source: github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v1/nodenetsvc.proto package v1 @@ -731,7 +731,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_prot var file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_goTypes = []interface{}{ +var file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_goTypes = []any{ (RequestType)(0), // 0: nodenetsvc.v1.RequestType (*ConfigureNetworkingRequest)(nil), // 1: nodenetsvc.v1.ConfigureNetworkingRequest (*ConfigureNetworkingResponse)(nil), // 2: nodenetsvc.v1.ConfigureNetworkingResponse @@ -770,7 +770,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_prot return } if !protoimpl.UnsafeEnabled { - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*ConfigureNetworkingRequest); i { case 0: return &v.state @@ -782,7 +782,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ConfigureNetworkingResponse); i { case 0: return &v.state @@ -794,7 +794,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*PingNodeNetworkServiceRequest); i { case 0: return &v.state @@ -806,7 +806,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*PingNodeNetworkServiceResponse); i { case 0: return &v.state @@ -818,7 +818,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ConfigureContainerNetworkingRequest); i { case 0: return &v.state @@ -830,7 +830,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ConfigureContainerNetworkingResponse); i { case 0: return &v.state @@ -842,7 +842,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ContainerIPAddress); i { case 0: return &v.state @@ -854,7 +854,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*ContainerNetworkInterface); i { case 0: return &v.state @@ -866,7 +866,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*GetHostLocalIpAddressRequest); i { case 0: return &v.state @@ -878,7 +878,7 @@ func file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_prot return nil } } - file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*GetHostLocalIpAddressResponse); i { case 0: return &v.state diff --git a/pkg/ncproxy/nodenetsvc/v1/nodenetsvc_grpc.pb.go b/pkg/ncproxy/nodenetsvc/v1/nodenetsvc_grpc.pb.go index 4169ad169d..e071624b17 100644 --- a/pkg/ncproxy/nodenetsvc/v1/nodenetsvc_grpc.pb.go +++ b/pkg/ncproxy/nodenetsvc/v1/nodenetsvc_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.23.2 +// - protoc-gen-go-grpc v1.4.0 +// - protoc v5.26.0 // source: github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v1/nodenetsvc.proto package v1 @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( NodeNetworkService_ConfigureNetworking_FullMethodName = "/nodenetsvc.v1.NodeNetworkService/ConfigureNetworking" @@ -44,8 +44,9 @@ func NewNodeNetworkServiceClient(cc grpc.ClientConnInterface) NodeNetworkService } func (c *nodeNetworkServiceClient) ConfigureNetworking(ctx context.Context, in *ConfigureNetworkingRequest, opts ...grpc.CallOption) (*ConfigureNetworkingResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ConfigureNetworkingResponse) - err := c.cc.Invoke(ctx, NodeNetworkService_ConfigureNetworking_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NodeNetworkService_ConfigureNetworking_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -53,8 +54,9 @@ func (c *nodeNetworkServiceClient) ConfigureNetworking(ctx context.Context, in * } func (c *nodeNetworkServiceClient) ConfigureContainerNetworking(ctx context.Context, in *ConfigureContainerNetworkingRequest, opts ...grpc.CallOption) (*ConfigureContainerNetworkingResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ConfigureContainerNetworkingResponse) - err := c.cc.Invoke(ctx, NodeNetworkService_ConfigureContainerNetworking_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NodeNetworkService_ConfigureContainerNetworking_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -62,8 +64,9 @@ func (c *nodeNetworkServiceClient) ConfigureContainerNetworking(ctx context.Cont } func (c *nodeNetworkServiceClient) PingNodeNetworkService(ctx context.Context, in *PingNodeNetworkServiceRequest, opts ...grpc.CallOption) (*PingNodeNetworkServiceResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(PingNodeNetworkServiceResponse) - err := c.cc.Invoke(ctx, NodeNetworkService_PingNodeNetworkService_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NodeNetworkService_PingNodeNetworkService_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -71,8 +74,9 @@ func (c *nodeNetworkServiceClient) PingNodeNetworkService(ctx context.Context, i } func (c *nodeNetworkServiceClient) GetHostLocalIpAddress(ctx context.Context, in *GetHostLocalIpAddressRequest, opts ...grpc.CallOption) (*GetHostLocalIpAddressResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetHostLocalIpAddressResponse) - err := c.cc.Invoke(ctx, NodeNetworkService_GetHostLocalIpAddress_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NodeNetworkService_GetHostLocalIpAddress_FullMethodName, in, out, cOpts...) if err != nil { return nil, err }