Chore: make protobuf (#90282)

This commit is contained in:
Ryan McKinley
2024-07-10 19:19:21 +03:00
committed by GitHub
parent 2cf3a4d9ee
commit 2bb66209ca
8 changed files with 100 additions and 91 deletions
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.3.0
// - protoc-gen-go-grpc v1.4.0
// - protoc (unknown)
// source: sanitizer.proto
@@ -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 (
Sanitizer_Sanitize_FullMethodName = "/pluginextensionv2.Sanitizer/Sanitize"
@@ -38,8 +38,9 @@ func NewSanitizerClient(cc grpc.ClientConnInterface) SanitizerClient {
}
func (c *sanitizerClient) Sanitize(ctx context.Context, in *SanitizeRequest, opts ...grpc.CallOption) (*SanitizeResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(SanitizeResponse)
err := c.cc.Invoke(ctx, Sanitizer_Sanitize_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, Sanitizer_Sanitize_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}