| 1 |
// Copyright 2025 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go-grpc. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// - protoc-gen-go-grpc v1.3.0 |
| 18 |
// - protoc v4.25.7 |
| 19 |
// source: google/cloud/networkservices/v1/network_services.proto |
| 20 |
|
| 21 |
package networkservicespb |
| 22 |
|
| 23 |
import ( |
| 24 |
longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" |
| 25 |
context "context" |
| 26 |
grpc "google.golang.org/grpc" |
| 27 |
codes "google.golang.org/grpc/codes" |
| 28 |
status "google.golang.org/grpc/status" |
| 29 |
) |
| 30 |
|
| 31 |
// This is a compile-time assertion to ensure that this generated file |
| 32 |
// is compatible with the grpc package it is being compiled against. |
| 33 |
// Requires gRPC-Go v1.32.0 or later. |
| 34 |
const _ = grpc.SupportPackageIsVersion7 |
| 35 |
|
| 36 |
const ( |
| 37 |
NetworkServices_ListEndpointPolicies_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListEndpointPolicies" |
| 38 |
NetworkServices_GetEndpointPolicy_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetEndpointPolicy" |
| 39 |
NetworkServices_CreateEndpointPolicy_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateEndpointPolicy" |
| 40 |
NetworkServices_UpdateEndpointPolicy_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateEndpointPolicy" |
| 41 |
NetworkServices_DeleteEndpointPolicy_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteEndpointPolicy" |
| 42 |
NetworkServices_ListWasmPluginVersions_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListWasmPluginVersions" |
| 43 |
NetworkServices_GetWasmPluginVersion_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetWasmPluginVersion" |
| 44 |
NetworkServices_CreateWasmPluginVersion_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateWasmPluginVersion" |
| 45 |
NetworkServices_DeleteWasmPluginVersion_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteWasmPluginVersion" |
| 46 |
NetworkServices_ListWasmPlugins_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListWasmPlugins" |
| 47 |
NetworkServices_GetWasmPlugin_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetWasmPlugin" |
| 48 |
NetworkServices_CreateWasmPlugin_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateWasmPlugin" |
| 49 |
NetworkServices_UpdateWasmPlugin_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateWasmPlugin" |
| 50 |
NetworkServices_DeleteWasmPlugin_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteWasmPlugin" |
| 51 |
NetworkServices_ListGateways_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListGateways" |
| 52 |
NetworkServices_GetGateway_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetGateway" |
| 53 |
NetworkServices_CreateGateway_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateGateway" |
| 54 |
NetworkServices_UpdateGateway_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateGateway" |
| 55 |
NetworkServices_DeleteGateway_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteGateway" |
| 56 |
NetworkServices_ListGrpcRoutes_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListGrpcRoutes" |
| 57 |
NetworkServices_GetGrpcRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetGrpcRoute" |
| 58 |
NetworkServices_CreateGrpcRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateGrpcRoute" |
| 59 |
NetworkServices_UpdateGrpcRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateGrpcRoute" |
| 60 |
NetworkServices_DeleteGrpcRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteGrpcRoute" |
| 61 |
NetworkServices_ListHttpRoutes_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListHttpRoutes" |
| 62 |
NetworkServices_GetHttpRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetHttpRoute" |
| 63 |
NetworkServices_CreateHttpRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateHttpRoute" |
| 64 |
NetworkServices_UpdateHttpRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateHttpRoute" |
| 65 |
NetworkServices_DeleteHttpRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteHttpRoute" |
| 66 |
NetworkServices_ListTcpRoutes_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListTcpRoutes" |
| 67 |
NetworkServices_GetTcpRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetTcpRoute" |
| 68 |
NetworkServices_CreateTcpRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateTcpRoute" |
| 69 |
NetworkServices_UpdateTcpRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateTcpRoute" |
| 70 |
NetworkServices_DeleteTcpRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteTcpRoute" |
| 71 |
NetworkServices_ListTlsRoutes_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListTlsRoutes" |
| 72 |
NetworkServices_GetTlsRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetTlsRoute" |
| 73 |
NetworkServices_CreateTlsRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateTlsRoute" |
| 74 |
NetworkServices_UpdateTlsRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateTlsRoute" |
| 75 |
NetworkServices_DeleteTlsRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteTlsRoute" |
| 76 |
NetworkServices_ListServiceBindings_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListServiceBindings" |
| 77 |
NetworkServices_GetServiceBinding_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetServiceBinding" |
| 78 |
NetworkServices_CreateServiceBinding_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateServiceBinding" |
| 79 |
NetworkServices_UpdateServiceBinding_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateServiceBinding" |
| 80 |
NetworkServices_DeleteServiceBinding_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteServiceBinding" |
| 81 |
NetworkServices_ListMeshes_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListMeshes" |
| 82 |
NetworkServices_GetMesh_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetMesh" |
| 83 |
NetworkServices_CreateMesh_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateMesh" |
| 84 |
NetworkServices_UpdateMesh_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateMesh" |
| 85 |
NetworkServices_DeleteMesh_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteMesh" |
| 86 |
NetworkServices_ListServiceLbPolicies_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListServiceLbPolicies" |
| 87 |
NetworkServices_GetServiceLbPolicy_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetServiceLbPolicy" |
| 88 |
NetworkServices_CreateServiceLbPolicy_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateServiceLbPolicy" |
| 89 |
NetworkServices_UpdateServiceLbPolicy_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateServiceLbPolicy" |
| 90 |
NetworkServices_DeleteServiceLbPolicy_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteServiceLbPolicy" |
| 91 |
NetworkServices_GetGatewayRouteView_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetGatewayRouteView" |
| 92 |
NetworkServices_GetMeshRouteView_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetMeshRouteView" |
| 93 |
NetworkServices_ListGatewayRouteViews_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListGatewayRouteViews" |
| 94 |
NetworkServices_ListMeshRouteViews_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListMeshRouteViews" |
| 95 |
) |
| 96 |
|
| 97 |
// NetworkServicesClient is the client API for NetworkServices service. |
| 98 |
// |
| 99 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. |
| 100 |
type NetworkServicesClient interface { |
| 101 |
// Lists EndpointPolicies in a given project and location. |
| 102 |
ListEndpointPolicies(ctx context.Context, in *ListEndpointPoliciesRequest, opts ...grpc.CallOption) (*ListEndpointPoliciesResponse, error) |
| 103 |
// Gets details of a single EndpointPolicy. |
| 104 |
GetEndpointPolicy(ctx context.Context, in *GetEndpointPolicyRequest, opts ...grpc.CallOption) (*EndpointPolicy, error) |
| 105 |
// Creates a new EndpointPolicy in a given project and location. |
| 106 |
CreateEndpointPolicy(ctx context.Context, in *CreateEndpointPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 107 |
// Updates the parameters of a single EndpointPolicy. |
| 108 |
UpdateEndpointPolicy(ctx context.Context, in *UpdateEndpointPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 109 |
// Deletes a single EndpointPolicy. |
| 110 |
DeleteEndpointPolicy(ctx context.Context, in *DeleteEndpointPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 111 |
// Lists `WasmPluginVersion` resources in a given project and |
| 112 |
// location. |
| 113 |
ListWasmPluginVersions(ctx context.Context, in *ListWasmPluginVersionsRequest, opts ...grpc.CallOption) (*ListWasmPluginVersionsResponse, error) |
| 114 |
// Gets details of the specified `WasmPluginVersion` resource. |
| 115 |
GetWasmPluginVersion(ctx context.Context, in *GetWasmPluginVersionRequest, opts ...grpc.CallOption) (*WasmPluginVersion, error) |
| 116 |
// Creates a new `WasmPluginVersion` resource in a given project |
| 117 |
// and location. |
| 118 |
CreateWasmPluginVersion(ctx context.Context, in *CreateWasmPluginVersionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 119 |
// Deletes the specified `WasmPluginVersion` resource. |
| 120 |
DeleteWasmPluginVersion(ctx context.Context, in *DeleteWasmPluginVersionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 121 |
// Lists `WasmPlugin` resources in a given project and |
| 122 |
// location. |
| 123 |
ListWasmPlugins(ctx context.Context, in *ListWasmPluginsRequest, opts ...grpc.CallOption) (*ListWasmPluginsResponse, error) |
| 124 |
// Gets details of the specified `WasmPlugin` resource. |
| 125 |
GetWasmPlugin(ctx context.Context, in *GetWasmPluginRequest, opts ...grpc.CallOption) (*WasmPlugin, error) |
| 126 |
// Creates a new `WasmPlugin` resource in a given project |
| 127 |
// and location. |
| 128 |
CreateWasmPlugin(ctx context.Context, in *CreateWasmPluginRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 129 |
// Updates the parameters of the specified `WasmPlugin` resource. |
| 130 |
UpdateWasmPlugin(ctx context.Context, in *UpdateWasmPluginRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 131 |
// Deletes the specified `WasmPlugin` resource. |
| 132 |
DeleteWasmPlugin(ctx context.Context, in *DeleteWasmPluginRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 133 |
// Lists Gateways in a given project and location. |
| 134 |
ListGateways(ctx context.Context, in *ListGatewaysRequest, opts ...grpc.CallOption) (*ListGatewaysResponse, error) |
| 135 |
// Gets details of a single Gateway. |
| 136 |
GetGateway(ctx context.Context, in *GetGatewayRequest, opts ...grpc.CallOption) (*Gateway, error) |
| 137 |
// Creates a new Gateway in a given project and location. |
| 138 |
CreateGateway(ctx context.Context, in *CreateGatewayRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 139 |
// Updates the parameters of a single Gateway. |
| 140 |
UpdateGateway(ctx context.Context, in *UpdateGatewayRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 141 |
// Deletes a single Gateway. |
| 142 |
DeleteGateway(ctx context.Context, in *DeleteGatewayRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 143 |
// Lists GrpcRoutes in a given project and location. |
| 144 |
ListGrpcRoutes(ctx context.Context, in *ListGrpcRoutesRequest, opts ...grpc.CallOption) (*ListGrpcRoutesResponse, error) |
| 145 |
// Gets details of a single GrpcRoute. |
| 146 |
GetGrpcRoute(ctx context.Context, in *GetGrpcRouteRequest, opts ...grpc.CallOption) (*GrpcRoute, error) |
| 147 |
// Creates a new GrpcRoute in a given project and location. |
| 148 |
CreateGrpcRoute(ctx context.Context, in *CreateGrpcRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 149 |
// Updates the parameters of a single GrpcRoute. |
| 150 |
UpdateGrpcRoute(ctx context.Context, in *UpdateGrpcRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 151 |
// Deletes a single GrpcRoute. |
| 152 |
DeleteGrpcRoute(ctx context.Context, in *DeleteGrpcRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 153 |
// Lists HttpRoute in a given project and location. |
| 154 |
ListHttpRoutes(ctx context.Context, in *ListHttpRoutesRequest, opts ...grpc.CallOption) (*ListHttpRoutesResponse, error) |
| 155 |
// Gets details of a single HttpRoute. |
| 156 |
GetHttpRoute(ctx context.Context, in *GetHttpRouteRequest, opts ...grpc.CallOption) (*HttpRoute, error) |
| 157 |
// Creates a new HttpRoute in a given project and location. |
| 158 |
CreateHttpRoute(ctx context.Context, in *CreateHttpRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 159 |
// Updates the parameters of a single HttpRoute. |
| 160 |
UpdateHttpRoute(ctx context.Context, in *UpdateHttpRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 161 |
// Deletes a single HttpRoute. |
| 162 |
DeleteHttpRoute(ctx context.Context, in *DeleteHttpRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 163 |
// Lists TcpRoute in a given project and location. |
| 164 |
ListTcpRoutes(ctx context.Context, in *ListTcpRoutesRequest, opts ...grpc.CallOption) (*ListTcpRoutesResponse, error) |
| 165 |
// Gets details of a single TcpRoute. |
| 166 |
GetTcpRoute(ctx context.Context, in *GetTcpRouteRequest, opts ...grpc.CallOption) (*TcpRoute, error) |
| 167 |
// Creates a new TcpRoute in a given project and location. |
| 168 |
CreateTcpRoute(ctx context.Context, in *CreateTcpRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 169 |
// Updates the parameters of a single TcpRoute. |
| 170 |
UpdateTcpRoute(ctx context.Context, in *UpdateTcpRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 171 |
// Deletes a single TcpRoute. |
| 172 |
DeleteTcpRoute(ctx context.Context, in *DeleteTcpRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 173 |
// Lists TlsRoute in a given project and location. |
| 174 |
ListTlsRoutes(ctx context.Context, in *ListTlsRoutesRequest, opts ...grpc.CallOption) (*ListTlsRoutesResponse, error) |
| 175 |
// Gets details of a single TlsRoute. |
| 176 |
GetTlsRoute(ctx context.Context, in *GetTlsRouteRequest, opts ...grpc.CallOption) (*TlsRoute, error) |
| 177 |
// Creates a new TlsRoute in a given project and location. |
| 178 |
CreateTlsRoute(ctx context.Context, in *CreateTlsRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 179 |
// Updates the parameters of a single TlsRoute. |
| 180 |
UpdateTlsRoute(ctx context.Context, in *UpdateTlsRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 181 |
// Deletes a single TlsRoute. |
| 182 |
DeleteTlsRoute(ctx context.Context, in *DeleteTlsRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 183 |
// Lists ServiceBinding in a given project and location. |
| 184 |
ListServiceBindings(ctx context.Context, in *ListServiceBindingsRequest, opts ...grpc.CallOption) (*ListServiceBindingsResponse, error) |
| 185 |
// Gets details of a single ServiceBinding. |
| 186 |
GetServiceBinding(ctx context.Context, in *GetServiceBindingRequest, opts ...grpc.CallOption) (*ServiceBinding, error) |
| 187 |
// Creates a new ServiceBinding in a given project and location. |
| 188 |
CreateServiceBinding(ctx context.Context, in *CreateServiceBindingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 189 |
// Updates the parameters of a single ServiceBinding. |
| 190 |
UpdateServiceBinding(ctx context.Context, in *UpdateServiceBindingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 191 |
// Deletes a single ServiceBinding. |
| 192 |
DeleteServiceBinding(ctx context.Context, in *DeleteServiceBindingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 193 |
// Lists Meshes in a given project and location. |
| 194 |
ListMeshes(ctx context.Context, in *ListMeshesRequest, opts ...grpc.CallOption) (*ListMeshesResponse, error) |
| 195 |
// Gets details of a single Mesh. |
| 196 |
GetMesh(ctx context.Context, in *GetMeshRequest, opts ...grpc.CallOption) (*Mesh, error) |
| 197 |
// Creates a new Mesh in a given project and location. |
| 198 |
CreateMesh(ctx context.Context, in *CreateMeshRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 199 |
// Updates the parameters of a single Mesh. |
| 200 |
UpdateMesh(ctx context.Context, in *UpdateMeshRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 201 |
// Deletes a single Mesh. |
| 202 |
DeleteMesh(ctx context.Context, in *DeleteMeshRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 203 |
// Lists ServiceLbPolicies in a given project and location. |
| 204 |
ListServiceLbPolicies(ctx context.Context, in *ListServiceLbPoliciesRequest, opts ...grpc.CallOption) (*ListServiceLbPoliciesResponse, error) |
| 205 |
// Gets details of a single ServiceLbPolicy. |
| 206 |
GetServiceLbPolicy(ctx context.Context, in *GetServiceLbPolicyRequest, opts ...grpc.CallOption) (*ServiceLbPolicy, error) |
| 207 |
// Creates a new ServiceLbPolicy in a given project and location. |
| 208 |
CreateServiceLbPolicy(ctx context.Context, in *CreateServiceLbPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 209 |
// Updates the parameters of a single ServiceLbPolicy. |
| 210 |
UpdateServiceLbPolicy(ctx context.Context, in *UpdateServiceLbPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 211 |
// Deletes a single ServiceLbPolicy. |
| 212 |
DeleteServiceLbPolicy(ctx context.Context, in *DeleteServiceLbPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 213 |
// Get a single RouteView of a Gateway. |
| 214 |
GetGatewayRouteView(ctx context.Context, in *GetGatewayRouteViewRequest, opts ...grpc.CallOption) (*GatewayRouteView, error) |
| 215 |
// Get a single RouteView of a Mesh. |
| 216 |
GetMeshRouteView(ctx context.Context, in *GetMeshRouteViewRequest, opts ...grpc.CallOption) (*MeshRouteView, error) |
| 217 |
// Lists RouteViews |
| 218 |
ListGatewayRouteViews(ctx context.Context, in *ListGatewayRouteViewsRequest, opts ...grpc.CallOption) (*ListGatewayRouteViewsResponse, error) |
| 219 |
// Lists RouteViews |
| 220 |
ListMeshRouteViews(ctx context.Context, in *ListMeshRouteViewsRequest, opts ...grpc.CallOption) (*ListMeshRouteViewsResponse, error) |
| 221 |
} |
| 222 |
|
| 223 |
type networkServicesClient struct { |
| 224 |
cc grpc.ClientConnInterface |
| 225 |
} |
| 226 |
|
| 227 |
func NewNetworkServicesClient(cc grpc.ClientConnInterface) NetworkServicesClient { |
| 228 |
return &networkServicesClient{cc} |
| 229 |
} |
| 230 |
|
| 231 |
func (c *networkServicesClient) ListEndpointPolicies(ctx context.Context, in *ListEndpointPoliciesRequest, opts ...grpc.CallOption) (*ListEndpointPoliciesResponse, error) { |
| 232 |
out := new(ListEndpointPoliciesResponse) |
| 233 |
err := c.cc.Invoke(ctx, NetworkServices_ListEndpointPolicies_FullMethodName, in, out, opts...) |
| 234 |
if err != nil { |
| 235 |
return nil, err |
| 236 |
} |
| 237 |
return out, nil |
| 238 |
} |
| 239 |
|
| 240 |
func (c *networkServicesClient) GetEndpointPolicy(ctx context.Context, in *GetEndpointPolicyRequest, opts ...grpc.CallOption) (*EndpointPolicy, error) { |
| 241 |
out := new(EndpointPolicy) |
| 242 |
err := c.cc.Invoke(ctx, NetworkServices_GetEndpointPolicy_FullMethodName, in, out, opts...) |
| 243 |
if err != nil { |
| 244 |
return nil, err |
| 245 |
} |
| 246 |
return out, nil |
| 247 |
} |
| 248 |
|
| 249 |
func (c *networkServicesClient) CreateEndpointPolicy(ctx context.Context, in *CreateEndpointPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 250 |
out := new(longrunningpb.Operation) |
| 251 |
err := c.cc.Invoke(ctx, NetworkServices_CreateEndpointPolicy_FullMethodName, in, out, opts...) |
| 252 |
if err != nil { |
| 253 |
return nil, err |
| 254 |
} |
| 255 |
return out, nil |
| 256 |
} |
| 257 |
|
| 258 |
func (c *networkServicesClient) UpdateEndpointPolicy(ctx context.Context, in *UpdateEndpointPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 259 |
out := new(longrunningpb.Operation) |
| 260 |
err := c.cc.Invoke(ctx, NetworkServices_UpdateEndpointPolicy_FullMethodName, in, out, opts...) |
| 261 |
if err != nil { |
| 262 |
return nil, err |
| 263 |
} |
| 264 |
return out, nil |
| 265 |
} |
| 266 |
|
| 267 |
func (c *networkServicesClient) DeleteEndpointPolicy(ctx context.Context, in *DeleteEndpointPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 268 |
out := new(longrunningpb.Operation) |
| 269 |
err := c.cc.Invoke(ctx, NetworkServices_DeleteEndpointPolicy_FullMethodName, in, out, opts...) |
| 270 |
if err != nil { |
| 271 |
return nil, err |
| 272 |
} |
| 273 |
return out, nil |
| 274 |
} |
| 275 |
|
| 276 |
func (c *networkServicesClient) ListWasmPluginVersions(ctx context.Context, in *ListWasmPluginVersionsRequest, opts ...grpc.CallOption) (*ListWasmPluginVersionsResponse, error) { |
| 277 |
out := new(ListWasmPluginVersionsResponse) |
| 278 |
err := c.cc.Invoke(ctx, NetworkServices_ListWasmPluginVersions_FullMethodName, in, out, opts...) |
| 279 |
if err != nil { |
| 280 |
return nil, err |
| 281 |
} |
| 282 |
return out, nil |
| 283 |
} |
| 284 |
|
| 285 |
func (c *networkServicesClient) GetWasmPluginVersion(ctx context.Context, in *GetWasmPluginVersionRequest, opts ...grpc.CallOption) (*WasmPluginVersion, error) { |
| 286 |
out := new(WasmPluginVersion) |
| 287 |
err := c.cc.Invoke(ctx, NetworkServices_GetWasmPluginVersion_FullMethodName, in, out, opts...) |
| 288 |
if err != nil { |
| 289 |
return nil, err |
| 290 |
} |
| 291 |
return out, nil |
| 292 |
} |
| 293 |
|
| 294 |
func (c *networkServicesClient) CreateWasmPluginVersion(ctx context.Context, in *CreateWasmPluginVersionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 295 |
out := new(longrunningpb.Operation) |
| 296 |
err := c.cc.Invoke(ctx, NetworkServices_CreateWasmPluginVersion_FullMethodName, in, out, opts...) |
| 297 |
if err != nil { |
| 298 |
return nil, err |
| 299 |
} |
| 300 |
return out, nil |
| 301 |
} |
| 302 |
|
| 303 |
func (c *networkServicesClient) DeleteWasmPluginVersion(ctx context.Context, in *DeleteWasmPluginVersionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 304 |
out := new(longrunningpb.Operation) |
| 305 |
err := c.cc.Invoke(ctx, NetworkServices_DeleteWasmPluginVersion_FullMethodName, in, out, opts...) |
| 306 |
if err != nil { |
| 307 |
return nil, err |
| 308 |
} |
| 309 |
return out, nil |
| 310 |
} |
| 311 |
|
| 312 |
func (c *networkServicesClient) ListWasmPlugins(ctx context.Context, in *ListWasmPluginsRequest, opts ...grpc.CallOption) (*ListWasmPluginsResponse, error) { |
| 313 |
out := new(ListWasmPluginsResponse) |
| 314 |
err := c.cc.Invoke(ctx, NetworkServices_ListWasmPlugins_FullMethodName, in, out, opts...) |
| 315 |
if err != nil { |
| 316 |
return nil, err |
| 317 |
} |
| 318 |
return out, nil |
| 319 |
} |
| 320 |
|
| 321 |
func (c *networkServicesClient) GetWasmPlugin(ctx context.Context, in *GetWasmPluginRequest, opts ...grpc.CallOption) (*WasmPlugin, error) { |
| 322 |
out := new(WasmPlugin) |
| 323 |
err := c.cc.Invoke(ctx, NetworkServices_GetWasmPlugin_FullMethodName, in, out, opts...) |
| 324 |
if err != nil { |
| 325 |
return nil, err |
| 326 |
} |
| 327 |
return out, nil |
| 328 |
} |
| 329 |
|
| 330 |
func (c *networkServicesClient) CreateWasmPlugin(ctx context.Context, in *CreateWasmPluginRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 331 |
out := new(longrunningpb.Operation) |
| 332 |
err := c.cc.Invoke(ctx, NetworkServices_CreateWasmPlugin_FullMethodName, in, out, opts...) |
| 333 |
if err != nil { |
| 334 |
return nil, err |
| 335 |
} |
| 336 |
return out, nil |
| 337 |
} |
| 338 |
|
| 339 |
func (c *networkServicesClient) UpdateWasmPlugin(ctx context.Context, in *UpdateWasmPluginRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 340 |
out := new(longrunningpb.Operation) |
| 341 |
err := c.cc.Invoke(ctx, NetworkServices_UpdateWasmPlugin_FullMethodName, in, out, opts...) |
| 342 |
if err != nil { |
| 343 |
return nil, err |
| 344 |
} |
| 345 |
return out, nil |
| 346 |
} |
| 347 |
|
| 348 |
func (c *networkServicesClient) DeleteWasmPlugin(ctx context.Context, in *DeleteWasmPluginRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 349 |
out := new(longrunningpb.Operation) |
| 350 |
err := c.cc.Invoke(ctx, NetworkServices_DeleteWasmPlugin_FullMethodName, in, out, opts...) |
| 351 |
if err != nil { |
| 352 |
return nil, err |
| 353 |
} |
| 354 |
return out, nil |
| 355 |
} |
| 356 |
|
| 357 |
func (c *networkServicesClient) ListGateways(ctx context.Context, in *ListGatewaysRequest, opts ...grpc.CallOption) (*ListGatewaysResponse, error) { |
| 358 |
out := new(ListGatewaysResponse) |
| 359 |
err := c.cc.Invoke(ctx, NetworkServices_ListGateways_FullMethodName, in, out, opts...) |
| 360 |
if err != nil { |
| 361 |
return nil, err |
| 362 |
} |
| 363 |
return out, nil |
| 364 |
} |
| 365 |
|
| 366 |
func (c *networkServicesClient) GetGateway(ctx context.Context, in *GetGatewayRequest, opts ...grpc.CallOption) (*Gateway, error) { |
| 367 |
out := new(Gateway) |
| 368 |
err := c.cc.Invoke(ctx, NetworkServices_GetGateway_FullMethodName, in, out, opts...) |
| 369 |
if err != nil { |
| 370 |
return nil, err |
| 371 |
} |
| 372 |
return out, nil |
| 373 |
} |
| 374 |
|
| 375 |
func (c *networkServicesClient) CreateGateway(ctx context.Context, in *CreateGatewayRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 376 |
out := new(longrunningpb.Operation) |
| 377 |
err := c.cc.Invoke(ctx, NetworkServices_CreateGateway_FullMethodName, in, out, opts...) |
| 378 |
if err != nil { |
| 379 |
return nil, err |
| 380 |
} |
| 381 |
return out, nil |
| 382 |
} |
| 383 |
|
| 384 |
func (c *networkServicesClient) UpdateGateway(ctx context.Context, in *UpdateGatewayRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 385 |
out := new(longrunningpb.Operation) |
| 386 |
err := c.cc.Invoke(ctx, NetworkServices_UpdateGateway_FullMethodName, in, out, opts...) |
| 387 |
if err != nil { |
| 388 |
return nil, err |
| 389 |
} |
| 390 |
return out, nil |
| 391 |
} |
| 392 |
|
| 393 |
func (c *networkServicesClient) DeleteGateway(ctx context.Context, in *DeleteGatewayRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 394 |
out := new(longrunningpb.Operation) |
| 395 |
err := c.cc.Invoke(ctx, NetworkServices_DeleteGateway_FullMethodName, in, out, opts...) |
| 396 |
if err != nil { |
| 397 |
return nil, err |
| 398 |
} |
| 399 |
return out, nil |
| 400 |
} |
| 401 |
|
| 402 |
func (c *networkServicesClient) ListGrpcRoutes(ctx context.Context, in *ListGrpcRoutesRequest, opts ...grpc.CallOption) (*ListGrpcRoutesResponse, error) { |
| 403 |
out := new(ListGrpcRoutesResponse) |
| 404 |
err := c.cc.Invoke(ctx, NetworkServices_ListGrpcRoutes_FullMethodName, in, out, opts...) |
| 405 |
if err != nil { |
| 406 |
return nil, err |
| 407 |
} |
| 408 |
return out, nil |
| 409 |
} |
| 410 |
|
| 411 |
func (c *networkServicesClient) GetGrpcRoute(ctx context.Context, in *GetGrpcRouteRequest, opts ...grpc.CallOption) (*GrpcRoute, error) { |
| 412 |
out := new(GrpcRoute) |
| 413 |
err := c.cc.Invoke(ctx, NetworkServices_GetGrpcRoute_FullMethodName, in, out, opts...) |
| 414 |
if err != nil { |
| 415 |
return nil, err |
| 416 |
} |
| 417 |
return out, nil |
| 418 |
} |
| 419 |
|
| 420 |
func (c *networkServicesClient) CreateGrpcRoute(ctx context.Context, in *CreateGrpcRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 421 |
out := new(longrunningpb.Operation) |
| 422 |
err := c.cc.Invoke(ctx, NetworkServices_CreateGrpcRoute_FullMethodName, in, out, opts...) |
| 423 |
if err != nil { |
| 424 |
return nil, err |
| 425 |
} |
| 426 |
return out, nil |
| 427 |
} |
| 428 |
|
| 429 |
func (c *networkServicesClient) UpdateGrpcRoute(ctx context.Context, in *UpdateGrpcRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 430 |
out := new(longrunningpb.Operation) |
| 431 |
err := c.cc.Invoke(ctx, NetworkServices_UpdateGrpcRoute_FullMethodName, in, out, opts...) |
| 432 |
if err != nil { |
| 433 |
return nil, err |
| 434 |
} |
| 435 |
return out, nil |
| 436 |
} |
| 437 |
|
| 438 |
func (c *networkServicesClient) DeleteGrpcRoute(ctx context.Context, in *DeleteGrpcRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 439 |
out := new(longrunningpb.Operation) |
| 440 |
err := c.cc.Invoke(ctx, NetworkServices_DeleteGrpcRoute_FullMethodName, in, out, opts...) |
| 441 |
if err != nil { |
| 442 |
return nil, err |
| 443 |
} |
| 444 |
return out, nil |
| 445 |
} |
| 446 |
|
| 447 |
func (c *networkServicesClient) ListHttpRoutes(ctx context.Context, in *ListHttpRoutesRequest, opts ...grpc.CallOption) (*ListHttpRoutesResponse, error) { |
| 448 |
out := new(ListHttpRoutesResponse) |
| 449 |
err := c.cc.Invoke(ctx, NetworkServices_ListHttpRoutes_FullMethodName, in, out, opts...) |
| 450 |
if err != nil { |
| 451 |
return nil, err |
| 452 |
} |
| 453 |
return out, nil |
| 454 |
} |
| 455 |
|
| 456 |
func (c *networkServicesClient) GetHttpRoute(ctx context.Context, in *GetHttpRouteRequest, opts ...grpc.CallOption) (*HttpRoute, error) { |
| 457 |
out := new(HttpRoute) |
| 458 |
err := c.cc.Invoke(ctx, NetworkServices_GetHttpRoute_FullMethodName, in, out, opts...) |
| 459 |
if err != nil { |
| 460 |
return nil, err |
| 461 |
} |
| 462 |
return out, nil |
| 463 |
} |
| 464 |
|
| 465 |
func (c *networkServicesClient) CreateHttpRoute(ctx context.Context, in *CreateHttpRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 466 |
out := new(longrunningpb.Operation) |
| 467 |
err := c.cc.Invoke(ctx, NetworkServices_CreateHttpRoute_FullMethodName, in, out, opts...) |
| 468 |
if err != nil { |
| 469 |
return nil, err |
| 470 |
} |
| 471 |
return out, nil |
| 472 |
} |
| 473 |
|
| 474 |
func (c *networkServicesClient) UpdateHttpRoute(ctx context.Context, in *UpdateHttpRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 475 |
out := new(longrunningpb.Operation) |
| 476 |
err := c.cc.Invoke(ctx, NetworkServices_UpdateHttpRoute_FullMethodName, in, out, opts...) |
| 477 |
if err != nil { |
| 478 |
return nil, err |
| 479 |
} |
| 480 |
return out, nil |
| 481 |
} |
| 482 |
|
| 483 |
func (c *networkServicesClient) DeleteHttpRoute(ctx context.Context, in *DeleteHttpRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 484 |
out := new(longrunningpb.Operation) |
| 485 |
err := c.cc.Invoke(ctx, NetworkServices_DeleteHttpRoute_FullMethodName, in, out, opts...) |
| 486 |
if err != nil { |
| 487 |
return nil, err |
| 488 |
} |
| 489 |
return out, nil |
| 490 |
} |
| 491 |
|
| 492 |
func (c *networkServicesClient) ListTcpRoutes(ctx context.Context, in *ListTcpRoutesRequest, opts ...grpc.CallOption) (*ListTcpRoutesResponse, error) { |
| 493 |
out := new(ListTcpRoutesResponse) |
| 494 |
err := c.cc.Invoke(ctx, NetworkServices_ListTcpRoutes_FullMethodName, in, out, opts...) |
| 495 |
if err != nil { |
| 496 |
return nil, err |
| 497 |
} |
| 498 |
return out, nil |
| 499 |
} |
| 500 |
|
| 501 |
func (c *networkServicesClient) GetTcpRoute(ctx context.Context, in *GetTcpRouteRequest, opts ...grpc.CallOption) (*TcpRoute, error) { |
| 502 |
out := new(TcpRoute) |
| 503 |
err := c.cc.Invoke(ctx, NetworkServices_GetTcpRoute_FullMethodName, in, out, opts...) |
| 504 |
if err != nil { |
| 505 |
return nil, err |
| 506 |
} |
| 507 |
return out, nil |
| 508 |
} |
| 509 |
|
| 510 |
func (c *networkServicesClient) CreateTcpRoute(ctx context.Context, in *CreateTcpRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 511 |
out := new(longrunningpb.Operation) |
| 512 |
err := c.cc.Invoke(ctx, NetworkServices_CreateTcpRoute_FullMethodName, in, out, opts...) |
| 513 |
if err != nil { |
| 514 |
return nil, err |
| 515 |
} |
| 516 |
return out, nil |
| 517 |
} |
| 518 |
|
| 519 |
func (c *networkServicesClient) UpdateTcpRoute(ctx context.Context, in *UpdateTcpRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 520 |
out := new(longrunningpb.Operation) |
| 521 |
err := c.cc.Invoke(ctx, NetworkServices_UpdateTcpRoute_FullMethodName, in, out, opts...) |
| 522 |
if err != nil { |
| 523 |
return nil, err |
| 524 |
} |
| 525 |
return out, nil |
| 526 |
} |
| 527 |
|
| 528 |
func (c *networkServicesClient) DeleteTcpRoute(ctx context.Context, in *DeleteTcpRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 529 |
out := new(longrunningpb.Operation) |
| 530 |
err := c.cc.Invoke(ctx, NetworkServices_DeleteTcpRoute_FullMethodName, in, out, opts...) |
| 531 |
if err != nil { |
| 532 |
return nil, err |
| 533 |
} |
| 534 |
return out, nil |
| 535 |
} |
| 536 |
|
| 537 |
func (c *networkServicesClient) ListTlsRoutes(ctx context.Context, in *ListTlsRoutesRequest, opts ...grpc.CallOption) (*ListTlsRoutesResponse, error) { |
| 538 |
out := new(ListTlsRoutesResponse) |
| 539 |
err := c.cc.Invoke(ctx, NetworkServices_ListTlsRoutes_FullMethodName, in, out, opts...) |
| 540 |
if err != nil { |
| 541 |
return nil, err |
| 542 |
} |
| 543 |
return out, nil |
| 544 |
} |
| 545 |
|
| 546 |
func (c *networkServicesClient) GetTlsRoute(ctx context.Context, in *GetTlsRouteRequest, opts ...grpc.CallOption) (*TlsRoute, error) { |
| 547 |
out := new(TlsRoute) |
| 548 |
err := c.cc.Invoke(ctx, NetworkServices_GetTlsRoute_FullMethodName, in, out, opts...) |
| 549 |
if err != nil { |
| 550 |
return nil, err |
| 551 |
} |
| 552 |
return out, nil |
| 553 |
} |
| 554 |
|
| 555 |
func (c *networkServicesClient) CreateTlsRoute(ctx context.Context, in *CreateTlsRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 556 |
out := new(longrunningpb.Operation) |
| 557 |
err := c.cc.Invoke(ctx, NetworkServices_CreateTlsRoute_FullMethodName, in, out, opts...) |
| 558 |
if err != nil { |
| 559 |
return nil, err |
| 560 |
} |
| 561 |
return out, nil |
| 562 |
} |
| 563 |
|
| 564 |
func (c *networkServicesClient) UpdateTlsRoute(ctx context.Context, in *UpdateTlsRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 565 |
out := new(longrunningpb.Operation) |
| 566 |
err := c.cc.Invoke(ctx, NetworkServices_UpdateTlsRoute_FullMethodName, in, out, opts...) |
| 567 |
if err != nil { |
| 568 |
return nil, err |
| 569 |
} |
| 570 |
return out, nil |
| 571 |
} |
| 572 |
|
| 573 |
func (c *networkServicesClient) DeleteTlsRoute(ctx context.Context, in *DeleteTlsRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 574 |
out := new(longrunningpb.Operation) |
| 575 |
err := c.cc.Invoke(ctx, NetworkServices_DeleteTlsRoute_FullMethodName, in, out, opts...) |
| 576 |
if err != nil { |
| 577 |
return nil, err |
| 578 |
} |
| 579 |
return out, nil |
| 580 |
} |
| 581 |
|
| 582 |
func (c *networkServicesClient) ListServiceBindings(ctx context.Context, in *ListServiceBindingsRequest, opts ...grpc.CallOption) (*ListServiceBindingsResponse, error) { |
| 583 |
out := new(ListServiceBindingsResponse) |
| 584 |
err := c.cc.Invoke(ctx, NetworkServices_ListServiceBindings_FullMethodName, in, out, opts...) |
| 585 |
if err != nil { |
| 586 |
return nil, err |
| 587 |
} |
| 588 |
return out, nil |
| 589 |
} |
| 590 |
|
| 591 |
func (c *networkServicesClient) GetServiceBinding(ctx context.Context, in *GetServiceBindingRequest, opts ...grpc.CallOption) (*ServiceBinding, error) { |
| 592 |
out := new(ServiceBinding) |
| 593 |
err := c.cc.Invoke(ctx, NetworkServices_GetServiceBinding_FullMethodName, in, out, opts...) |
| 594 |
if err != nil { |
| 595 |
return nil, err |
| 596 |
} |
| 597 |
return out, nil |
| 598 |
} |
| 599 |
|
| 600 |
func (c *networkServicesClient) CreateServiceBinding(ctx context.Context, in *CreateServiceBindingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 601 |
out := new(longrunningpb.Operation) |
| 602 |
err := c.cc.Invoke(ctx, NetworkServices_CreateServiceBinding_FullMethodName, in, out, opts...) |
| 603 |
if err != nil { |
| 604 |
return nil, err |
| 605 |
} |
| 606 |
return out, nil |
| 607 |
} |
| 608 |
|
| 609 |
func (c *networkServicesClient) UpdateServiceBinding(ctx context.Context, in *UpdateServiceBindingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 610 |
out := new(longrunningpb.Operation) |
| 611 |
err := c.cc.Invoke(ctx, NetworkServices_UpdateServiceBinding_FullMethodName, in, out, opts...) |
| 612 |
if err != nil { |
| 613 |
return nil, err |
| 614 |
} |
| 615 |
return out, nil |
| 616 |
} |
| 617 |
|
| 618 |
func (c *networkServicesClient) DeleteServiceBinding(ctx context.Context, in *DeleteServiceBindingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 619 |
out := new(longrunningpb.Operation) |
| 620 |
err := c.cc.Invoke(ctx, NetworkServices_DeleteServiceBinding_FullMethodName, in, out, opts...) |
| 621 |
if err != nil { |
| 622 |
return nil, err |
| 623 |
} |
| 624 |
return out, nil |
| 625 |
} |
| 626 |
|
| 627 |
func (c *networkServicesClient) ListMeshes(ctx context.Context, in *ListMeshesRequest, opts ...grpc.CallOption) (*ListMeshesResponse, error) { |
| 628 |
out := new(ListMeshesResponse) |
| 629 |
err := c.cc.Invoke(ctx, NetworkServices_ListMeshes_FullMethodName, in, out, opts...) |
| 630 |
if err != nil { |
| 631 |
return nil, err |
| 632 |
} |
| 633 |
return out, nil |
| 634 |
} |
| 635 |
|
| 636 |
func (c *networkServicesClient) GetMesh(ctx context.Context, in *GetMeshRequest, opts ...grpc.CallOption) (*Mesh, error) { |
| 637 |
out := new(Mesh) |
| 638 |
err := c.cc.Invoke(ctx, NetworkServices_GetMesh_FullMethodName, in, out, opts...) |
| 639 |
if err != nil { |
| 640 |
return nil, err |
| 641 |
} |
| 642 |
return out, nil |
| 643 |
} |
| 644 |
|
| 645 |
func (c *networkServicesClient) CreateMesh(ctx context.Context, in *CreateMeshRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 646 |
out := new(longrunningpb.Operation) |
| 647 |
err := c.cc.Invoke(ctx, NetworkServices_CreateMesh_FullMethodName, in, out, opts...) |
| 648 |
if err != nil { |
| 649 |
return nil, err |
| 650 |
} |
| 651 |
return out, nil |
| 652 |
} |
| 653 |
|
| 654 |
func (c *networkServicesClient) UpdateMesh(ctx context.Context, in *UpdateMeshRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 655 |
out := new(longrunningpb.Operation) |
| 656 |
err := c.cc.Invoke(ctx, NetworkServices_UpdateMesh_FullMethodName, in, out, opts...) |
| 657 |
if err != nil { |
| 658 |
return nil, err |
| 659 |
} |
| 660 |
return out, nil |
| 661 |
} |
| 662 |
|
| 663 |
func (c *networkServicesClient) DeleteMesh(ctx context.Context, in *DeleteMeshRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 664 |
out := new(longrunningpb.Operation) |
| 665 |
err := c.cc.Invoke(ctx, NetworkServices_DeleteMesh_FullMethodName, in, out, opts...) |
| 666 |
if err != nil { |
| 667 |
return nil, err |
| 668 |
} |
| 669 |
return out, nil |
| 670 |
} |
| 671 |
|
| 672 |
func (c *networkServicesClient) ListServiceLbPolicies(ctx context.Context, in *ListServiceLbPoliciesRequest, opts ...grpc.CallOption) (*ListServiceLbPoliciesResponse, error) { |
| 673 |
out := new(ListServiceLbPoliciesResponse) |
| 674 |
err := c.cc.Invoke(ctx, NetworkServices_ListServiceLbPolicies_FullMethodName, in, out, opts...) |
| 675 |
if err != nil { |
| 676 |
return nil, err |
| 677 |
} |
| 678 |
return out, nil |
| 679 |
} |
| 680 |
|
| 681 |
func (c *networkServicesClient) GetServiceLbPolicy(ctx context.Context, in *GetServiceLbPolicyRequest, opts ...grpc.CallOption) (*ServiceLbPolicy, error) { |
| 682 |
out := new(ServiceLbPolicy) |
| 683 |
err := c.cc.Invoke(ctx, NetworkServices_GetServiceLbPolicy_FullMethodName, in, out, opts...) |
| 684 |
if err != nil { |
| 685 |
return nil, err |
| 686 |
} |
| 687 |
return out, nil |
| 688 |
} |
| 689 |
|
| 690 |
func (c *networkServicesClient) CreateServiceLbPolicy(ctx context.Context, in *CreateServiceLbPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 691 |
out := new(longrunningpb.Operation) |
| 692 |
err := c.cc.Invoke(ctx, NetworkServices_CreateServiceLbPolicy_FullMethodName, in, out, opts...) |
| 693 |
if err != nil { |
| 694 |
return nil, err |
| 695 |
} |
| 696 |
return out, nil |
| 697 |
} |
| 698 |
|
| 699 |
func (c *networkServicesClient) UpdateServiceLbPolicy(ctx context.Context, in *UpdateServiceLbPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 700 |
out := new(longrunningpb.Operation) |
| 701 |
err := c.cc.Invoke(ctx, NetworkServices_UpdateServiceLbPolicy_FullMethodName, in, out, opts...) |
| 702 |
if err != nil { |
| 703 |
return nil, err |
| 704 |
} |
| 705 |
return out, nil |
| 706 |
} |
| 707 |
|
| 708 |
func (c *networkServicesClient) DeleteServiceLbPolicy(ctx context.Context, in *DeleteServiceLbPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 709 |
out := new(longrunningpb.Operation) |
| 710 |
err := c.cc.Invoke(ctx, NetworkServices_DeleteServiceLbPolicy_FullMethodName, in, out, opts...) |
| 711 |
if err != nil { |
| 712 |
return nil, err |
| 713 |
} |
| 714 |
return out, nil |
| 715 |
} |
| 716 |
|
| 717 |
func (c *networkServicesClient) GetGatewayRouteView(ctx context.Context, in *GetGatewayRouteViewRequest, opts ...grpc.CallOption) (*GatewayRouteView, error) { |
| 718 |
out := new(GatewayRouteView) |
| 719 |
err := c.cc.Invoke(ctx, NetworkServices_GetGatewayRouteView_FullMethodName, in, out, opts...) |
| 720 |
if err != nil { |
| 721 |
return nil, err |
| 722 |
} |
| 723 |
return out, nil |
| 724 |
} |
| 725 |
|
| 726 |
func (c *networkServicesClient) GetMeshRouteView(ctx context.Context, in *GetMeshRouteViewRequest, opts ...grpc.CallOption) (*MeshRouteView, error) { |
| 727 |
out := new(MeshRouteView) |
| 728 |
err := c.cc.Invoke(ctx, NetworkServices_GetMeshRouteView_FullMethodName, in, out, opts...) |
| 729 |
if err != nil { |
| 730 |
return nil, err |
| 731 |
} |
| 732 |
return out, nil |
| 733 |
} |
| 734 |
|
| 735 |
func (c *networkServicesClient) ListGatewayRouteViews(ctx context.Context, in *ListGatewayRouteViewsRequest, opts ...grpc.CallOption) (*ListGatewayRouteViewsResponse, error) { |
| 736 |
out := new(ListGatewayRouteViewsResponse) |
| 737 |
err := c.cc.Invoke(ctx, NetworkServices_ListGatewayRouteViews_FullMethodName, in, out, opts...) |
| 738 |
if err != nil { |
| 739 |
return nil, err |
| 740 |
} |
| 741 |
return out, nil |
| 742 |
} |
| 743 |
|
| 744 |
func (c *networkServicesClient) ListMeshRouteViews(ctx context.Context, in *ListMeshRouteViewsRequest, opts ...grpc.CallOption) (*ListMeshRouteViewsResponse, error) { |
| 745 |
out := new(ListMeshRouteViewsResponse) |
| 746 |
err := c.cc.Invoke(ctx, NetworkServices_ListMeshRouteViews_FullMethodName, in, out, opts...) |
| 747 |
if err != nil { |
| 748 |
return nil, err |
| 749 |
} |
| 750 |
return out, nil |
| 751 |
} |
| 752 |
|
| 753 |
// NetworkServicesServer is the server API for NetworkServices service. |
| 754 |
// All implementations should embed UnimplementedNetworkServicesServer |
| 755 |
// for forward compatibility |
| 756 |
type NetworkServicesServer interface { |
| 757 |
// Lists EndpointPolicies in a given project and location. |
| 758 |
ListEndpointPolicies(context.Context, *ListEndpointPoliciesRequest) (*ListEndpointPoliciesResponse, error) |
| 759 |
// Gets details of a single EndpointPolicy. |
| 760 |
GetEndpointPolicy(context.Context, *GetEndpointPolicyRequest) (*EndpointPolicy, error) |
| 761 |
// Creates a new EndpointPolicy in a given project and location. |
| 762 |
CreateEndpointPolicy(context.Context, *CreateEndpointPolicyRequest) (*longrunningpb.Operation, error) |
| 763 |
// Updates the parameters of a single EndpointPolicy. |
| 764 |
UpdateEndpointPolicy(context.Context, *UpdateEndpointPolicyRequest) (*longrunningpb.Operation, error) |
| 765 |
// Deletes a single EndpointPolicy. |
| 766 |
DeleteEndpointPolicy(context.Context, *DeleteEndpointPolicyRequest) (*longrunningpb.Operation, error) |
| 767 |
// Lists `WasmPluginVersion` resources in a given project and |
| 768 |
// location. |
| 769 |
ListWasmPluginVersions(context.Context, *ListWasmPluginVersionsRequest) (*ListWasmPluginVersionsResponse, error) |
| 770 |
// Gets details of the specified `WasmPluginVersion` resource. |
| 771 |
GetWasmPluginVersion(context.Context, *GetWasmPluginVersionRequest) (*WasmPluginVersion, error) |
| 772 |
// Creates a new `WasmPluginVersion` resource in a given project |
| 773 |
// and location. |
| 774 |
CreateWasmPluginVersion(context.Context, *CreateWasmPluginVersionRequest) (*longrunningpb.Operation, error) |
| 775 |
// Deletes the specified `WasmPluginVersion` resource. |
| 776 |
DeleteWasmPluginVersion(context.Context, *DeleteWasmPluginVersionRequest) (*longrunningpb.Operation, error) |
| 777 |
// Lists `WasmPlugin` resources in a given project and |
| 778 |
// location. |
| 779 |
ListWasmPlugins(context.Context, *ListWasmPluginsRequest) (*ListWasmPluginsResponse, error) |
| 780 |
// Gets details of the specified `WasmPlugin` resource. |
| 781 |
GetWasmPlugin(context.Context, *GetWasmPluginRequest) (*WasmPlugin, error) |
| 782 |
// Creates a new `WasmPlugin` resource in a given project |
| 783 |
// and location. |
| 784 |
CreateWasmPlugin(context.Context, *CreateWasmPluginRequest) (*longrunningpb.Operation, error) |
| 785 |
// Updates the parameters of the specified `WasmPlugin` resource. |
| 786 |
UpdateWasmPlugin(context.Context, *UpdateWasmPluginRequest) (*longrunningpb.Operation, error) |
| 787 |
// Deletes the specified `WasmPlugin` resource. |
| 788 |
DeleteWasmPlugin(context.Context, *DeleteWasmPluginRequest) (*longrunningpb.Operation, error) |
| 789 |
// Lists Gateways in a given project and location. |
| 790 |
ListGateways(context.Context, *ListGatewaysRequest) (*ListGatewaysResponse, error) |
| 791 |
// Gets details of a single Gateway. |
| 792 |
GetGateway(context.Context, *GetGatewayRequest) (*Gateway, error) |
| 793 |
// Creates a new Gateway in a given project and location. |
| 794 |
CreateGateway(context.Context, *CreateGatewayRequest) (*longrunningpb.Operation, error) |
| 795 |
// Updates the parameters of a single Gateway. |
| 796 |
UpdateGateway(context.Context, *UpdateGatewayRequest) (*longrunningpb.Operation, error) |
| 797 |
// Deletes a single Gateway. |
| 798 |
DeleteGateway(context.Context, *DeleteGatewayRequest) (*longrunningpb.Operation, error) |
| 799 |
// Lists GrpcRoutes in a given project and location. |
| 800 |
ListGrpcRoutes(context.Context, *ListGrpcRoutesRequest) (*ListGrpcRoutesResponse, error) |
| 801 |
// Gets details of a single GrpcRoute. |
| 802 |
GetGrpcRoute(context.Context, *GetGrpcRouteRequest) (*GrpcRoute, error) |
| 803 |
// Creates a new GrpcRoute in a given project and location. |
| 804 |
CreateGrpcRoute(context.Context, *CreateGrpcRouteRequest) (*longrunningpb.Operation, error) |
| 805 |
// Updates the parameters of a single GrpcRoute. |
| 806 |
UpdateGrpcRoute(context.Context, *UpdateGrpcRouteRequest) (*longrunningpb.Operation, error) |
| 807 |
// Deletes a single GrpcRoute. |
| 808 |
DeleteGrpcRoute(context.Context, *DeleteGrpcRouteRequest) (*longrunningpb.Operation, error) |
| 809 |
// Lists HttpRoute in a given project and location. |
| 810 |
ListHttpRoutes(context.Context, *ListHttpRoutesRequest) (*ListHttpRoutesResponse, error) |
| 811 |
// Gets details of a single HttpRoute. |
| 812 |
GetHttpRoute(context.Context, *GetHttpRouteRequest) (*HttpRoute, error) |
| 813 |
// Creates a new HttpRoute in a given project and location. |
| 814 |
CreateHttpRoute(context.Context, *CreateHttpRouteRequest) (*longrunningpb.Operation, error) |
| 815 |
// Updates the parameters of a single HttpRoute. |
| 816 |
UpdateHttpRoute(context.Context, *UpdateHttpRouteRequest) (*longrunningpb.Operation, error) |
| 817 |
// Deletes a single HttpRoute. |
| 818 |
DeleteHttpRoute(context.Context, *DeleteHttpRouteRequest) (*longrunningpb.Operation, error) |
| 819 |
// Lists TcpRoute in a given project and location. |
| 820 |
ListTcpRoutes(context.Context, *ListTcpRoutesRequest) (*ListTcpRoutesResponse, error) |
| 821 |
// Gets details of a single TcpRoute. |
| 822 |
GetTcpRoute(context.Context, *GetTcpRouteRequest) (*TcpRoute, error) |
| 823 |
// Creates a new TcpRoute in a given project and location. |
| 824 |
CreateTcpRoute(context.Context, *CreateTcpRouteRequest) (*longrunningpb.Operation, error) |
| 825 |
// Updates the parameters of a single TcpRoute. |
| 826 |
UpdateTcpRoute(context.Context, *UpdateTcpRouteRequest) (*longrunningpb.Operation, error) |
| 827 |
// Deletes a single TcpRoute. |
| 828 |
DeleteTcpRoute(context.Context, *DeleteTcpRouteRequest) (*longrunningpb.Operation, error) |
| 829 |
// Lists TlsRoute in a given project and location. |
| 830 |
ListTlsRoutes(context.Context, *ListTlsRoutesRequest) (*ListTlsRoutesResponse, error) |
| 831 |
// Gets details of a single TlsRoute. |
| 832 |
GetTlsRoute(context.Context, *GetTlsRouteRequest) (*TlsRoute, error) |
| 833 |
// Creates a new TlsRoute in a given project and location. |
| 834 |
CreateTlsRoute(context.Context, *CreateTlsRouteRequest) (*longrunningpb.Operation, error) |
| 835 |
// Updates the parameters of a single TlsRoute. |
| 836 |
UpdateTlsRoute(context.Context, *UpdateTlsRouteRequest) (*longrunningpb.Operation, error) |
| 837 |
// Deletes a single TlsRoute. |
| 838 |
DeleteTlsRoute(context.Context, *DeleteTlsRouteRequest) (*longrunningpb.Operation, error) |
| 839 |
// Lists ServiceBinding in a given project and location. |
| 840 |
ListServiceBindings(context.Context, *ListServiceBindingsRequest) (*ListServiceBindingsResponse, error) |
| 841 |
// Gets details of a single ServiceBinding. |
| 842 |
GetServiceBinding(context.Context, *GetServiceBindingRequest) (*ServiceBinding, error) |
| 843 |
// Creates a new ServiceBinding in a given project and location. |
| 844 |
CreateServiceBinding(context.Context, *CreateServiceBindingRequest) (*longrunningpb.Operation, error) |
| 845 |
// Updates the parameters of a single ServiceBinding. |
| 846 |
UpdateServiceBinding(context.Context, *UpdateServiceBindingRequest) (*longrunningpb.Operation, error) |
| 847 |
// Deletes a single ServiceBinding. |
| 848 |
DeleteServiceBinding(context.Context, *DeleteServiceBindingRequest) (*longrunningpb.Operation, error) |
| 849 |
// Lists Meshes in a given project and location. |
| 850 |
ListMeshes(context.Context, *ListMeshesRequest) (*ListMeshesResponse, error) |
| 851 |
// Gets details of a single Mesh. |
| 852 |
GetMesh(context.Context, *GetMeshRequest) (*Mesh, error) |
| 853 |
// Creates a new Mesh in a given project and location. |
| 854 |
CreateMesh(context.Context, *CreateMeshRequest) (*longrunningpb.Operation, error) |
| 855 |
// Updates the parameters of a single Mesh. |
| 856 |
UpdateMesh(context.Context, *UpdateMeshRequest) (*longrunningpb.Operation, error) |
| 857 |
// Deletes a single Mesh. |
| 858 |
DeleteMesh(context.Context, *DeleteMeshRequest) (*longrunningpb.Operation, error) |
| 859 |
// Lists ServiceLbPolicies in a given project and location. |
| 860 |
ListServiceLbPolicies(context.Context, *ListServiceLbPoliciesRequest) (*ListServiceLbPoliciesResponse, error) |
| 861 |
// Gets details of a single ServiceLbPolicy. |
| 862 |
GetServiceLbPolicy(context.Context, *GetServiceLbPolicyRequest) (*ServiceLbPolicy, error) |
| 863 |
// Creates a new ServiceLbPolicy in a given project and location. |
| 864 |
CreateServiceLbPolicy(context.Context, *CreateServiceLbPolicyRequest) (*longrunningpb.Operation, error) |
| 865 |
// Updates the parameters of a single ServiceLbPolicy. |
| 866 |
UpdateServiceLbPolicy(context.Context, *UpdateServiceLbPolicyRequest) (*longrunningpb.Operation, error) |
| 867 |
// Deletes a single ServiceLbPolicy. |
| 868 |
DeleteServiceLbPolicy(context.Context, *DeleteServiceLbPolicyRequest) (*longrunningpb.Operation, error) |
| 869 |
// Get a single RouteView of a Gateway. |
| 870 |
GetGatewayRouteView(context.Context, *GetGatewayRouteViewRequest) (*GatewayRouteView, error) |
| 871 |
// Get a single RouteView of a Mesh. |
| 872 |
GetMeshRouteView(context.Context, *GetMeshRouteViewRequest) (*MeshRouteView, error) |
| 873 |
// Lists RouteViews |
| 874 |
ListGatewayRouteViews(context.Context, *ListGatewayRouteViewsRequest) (*ListGatewayRouteViewsResponse, error) |
| 875 |
// Lists RouteViews |
| 876 |
ListMeshRouteViews(context.Context, *ListMeshRouteViewsRequest) (*ListMeshRouteViewsResponse, error) |
| 877 |
} |
| 878 |
|
| 879 |
// UnimplementedNetworkServicesServer should be embedded to have forward compatible implementations. |
| 880 |
type UnimplementedNetworkServicesServer struct { |
| 881 |
} |
| 882 |
|
| 883 |
func (UnimplementedNetworkServicesServer) ListEndpointPolicies(context.Context, *ListEndpointPoliciesRequest) (*ListEndpointPoliciesResponse, error) { |
| 884 |
return nil, status.Errorf(codes.Unimplemented, "method ListEndpointPolicies not implemented") |
| 885 |
} |
| 886 |
func (UnimplementedNetworkServicesServer) GetEndpointPolicy(context.Context, *GetEndpointPolicyRequest) (*EndpointPolicy, error) { |
| 887 |
return nil, status.Errorf(codes.Unimplemented, "method GetEndpointPolicy not implemented") |
| 888 |
} |
| 889 |
func (UnimplementedNetworkServicesServer) CreateEndpointPolicy(context.Context, *CreateEndpointPolicyRequest) (*longrunningpb.Operation, error) { |
| 890 |
return nil, status.Errorf(codes.Unimplemented, "method CreateEndpointPolicy not implemented") |
| 891 |
} |
| 892 |
func (UnimplementedNetworkServicesServer) UpdateEndpointPolicy(context.Context, *UpdateEndpointPolicyRequest) (*longrunningpb.Operation, error) { |
| 893 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateEndpointPolicy not implemented") |
| 894 |
} |
| 895 |
func (UnimplementedNetworkServicesServer) DeleteEndpointPolicy(context.Context, *DeleteEndpointPolicyRequest) (*longrunningpb.Operation, error) { |
| 896 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteEndpointPolicy not implemented") |
| 897 |
} |
| 898 |
func (UnimplementedNetworkServicesServer) ListWasmPluginVersions(context.Context, *ListWasmPluginVersionsRequest) (*ListWasmPluginVersionsResponse, error) { |
| 899 |
return nil, status.Errorf(codes.Unimplemented, "method ListWasmPluginVersions not implemented") |
| 900 |
} |
| 901 |
func (UnimplementedNetworkServicesServer) GetWasmPluginVersion(context.Context, *GetWasmPluginVersionRequest) (*WasmPluginVersion, error) { |
| 902 |
return nil, status.Errorf(codes.Unimplemented, "method GetWasmPluginVersion not implemented") |
| 903 |
} |
| 904 |
func (UnimplementedNetworkServicesServer) CreateWasmPluginVersion(context.Context, *CreateWasmPluginVersionRequest) (*longrunningpb.Operation, error) { |
| 905 |
return nil, status.Errorf(codes.Unimplemented, "method CreateWasmPluginVersion not implemented") |
| 906 |
} |
| 907 |
func (UnimplementedNetworkServicesServer) DeleteWasmPluginVersion(context.Context, *DeleteWasmPluginVersionRequest) (*longrunningpb.Operation, error) { |
| 908 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteWasmPluginVersion not implemented") |
| 909 |
} |
| 910 |
func (UnimplementedNetworkServicesServer) ListWasmPlugins(context.Context, *ListWasmPluginsRequest) (*ListWasmPluginsResponse, error) { |
| 911 |
return nil, status.Errorf(codes.Unimplemented, "method ListWasmPlugins not implemented") |
| 912 |
} |
| 913 |
func (UnimplementedNetworkServicesServer) GetWasmPlugin(context.Context, *GetWasmPluginRequest) (*WasmPlugin, error) { |
| 914 |
return nil, status.Errorf(codes.Unimplemented, "method GetWasmPlugin not implemented") |
| 915 |
} |
| 916 |
func (UnimplementedNetworkServicesServer) CreateWasmPlugin(context.Context, *CreateWasmPluginRequest) (*longrunningpb.Operation, error) { |
| 917 |
return nil, status.Errorf(codes.Unimplemented, "method CreateWasmPlugin not implemented") |
| 918 |
} |
| 919 |
func (UnimplementedNetworkServicesServer) UpdateWasmPlugin(context.Context, *UpdateWasmPluginRequest) (*longrunningpb.Operation, error) { |
| 920 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateWasmPlugin not implemented") |
| 921 |
} |
| 922 |
func (UnimplementedNetworkServicesServer) DeleteWasmPlugin(context.Context, *DeleteWasmPluginRequest) (*longrunningpb.Operation, error) { |
| 923 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteWasmPlugin not implemented") |
| 924 |
} |
| 925 |
func (UnimplementedNetworkServicesServer) ListGateways(context.Context, *ListGatewaysRequest) (*ListGatewaysResponse, error) { |
| 926 |
return nil, status.Errorf(codes.Unimplemented, "method ListGateways not implemented") |
| 927 |
} |
| 928 |
func (UnimplementedNetworkServicesServer) GetGateway(context.Context, *GetGatewayRequest) (*Gateway, error) { |
| 929 |
return nil, status.Errorf(codes.Unimplemented, "method GetGateway not implemented") |
| 930 |
} |
| 931 |
func (UnimplementedNetworkServicesServer) CreateGateway(context.Context, *CreateGatewayRequest) (*longrunningpb.Operation, error) { |
| 932 |
return nil, status.Errorf(codes.Unimplemented, "method CreateGateway not implemented") |
| 933 |
} |
| 934 |
func (UnimplementedNetworkServicesServer) UpdateGateway(context.Context, *UpdateGatewayRequest) (*longrunningpb.Operation, error) { |
| 935 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateGateway not implemented") |
| 936 |
} |
| 937 |
func (UnimplementedNetworkServicesServer) DeleteGateway(context.Context, *DeleteGatewayRequest) (*longrunningpb.Operation, error) { |
| 938 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteGateway not implemented") |
| 939 |
} |
| 940 |
func (UnimplementedNetworkServicesServer) ListGrpcRoutes(context.Context, *ListGrpcRoutesRequest) (*ListGrpcRoutesResponse, error) { |
| 941 |
return nil, status.Errorf(codes.Unimplemented, "method ListGrpcRoutes not implemented") |
| 942 |
} |
| 943 |
func (UnimplementedNetworkServicesServer) GetGrpcRoute(context.Context, *GetGrpcRouteRequest) (*GrpcRoute, error) { |
| 944 |
return nil, status.Errorf(codes.Unimplemented, "method GetGrpcRoute not implemented") |
| 945 |
} |
| 946 |
func (UnimplementedNetworkServicesServer) CreateGrpcRoute(context.Context, *CreateGrpcRouteRequest) (*longrunningpb.Operation, error) { |
| 947 |
return nil, status.Errorf(codes.Unimplemented, "method CreateGrpcRoute not implemented") |
| 948 |
} |
| 949 |
func (UnimplementedNetworkServicesServer) UpdateGrpcRoute(context.Context, *UpdateGrpcRouteRequest) (*longrunningpb.Operation, error) { |
| 950 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateGrpcRoute not implemented") |
| 951 |
} |
| 952 |
func (UnimplementedNetworkServicesServer) DeleteGrpcRoute(context.Context, *DeleteGrpcRouteRequest) (*longrunningpb.Operation, error) { |
| 953 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteGrpcRoute not implemented") |
| 954 |
} |
| 955 |
func (UnimplementedNetworkServicesServer) ListHttpRoutes(context.Context, *ListHttpRoutesRequest) (*ListHttpRoutesResponse, error) { |
| 956 |
return nil, status.Errorf(codes.Unimplemented, "method ListHttpRoutes not implemented") |
| 957 |
} |
| 958 |
func (UnimplementedNetworkServicesServer) GetHttpRoute(context.Context, *GetHttpRouteRequest) (*HttpRoute, error) { |
| 959 |
return nil, status.Errorf(codes.Unimplemented, "method GetHttpRoute not implemented") |
| 960 |
} |
| 961 |
func (UnimplementedNetworkServicesServer) CreateHttpRoute(context.Context, *CreateHttpRouteRequest) (*longrunningpb.Operation, error) { |
| 962 |
return nil, status.Errorf(codes.Unimplemented, "method CreateHttpRoute not implemented") |
| 963 |
} |
| 964 |
func (UnimplementedNetworkServicesServer) UpdateHttpRoute(context.Context, *UpdateHttpRouteRequest) (*longrunningpb.Operation, error) { |
| 965 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateHttpRoute not implemented") |
| 966 |
} |
| 967 |
func (UnimplementedNetworkServicesServer) DeleteHttpRoute(context.Context, *DeleteHttpRouteRequest) (*longrunningpb.Operation, error) { |
| 968 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteHttpRoute not implemented") |
| 969 |
} |
| 970 |
func (UnimplementedNetworkServicesServer) ListTcpRoutes(context.Context, *ListTcpRoutesRequest) (*ListTcpRoutesResponse, error) { |
| 971 |
return nil, status.Errorf(codes.Unimplemented, "method ListTcpRoutes not implemented") |
| 972 |
} |
| 973 |
func (UnimplementedNetworkServicesServer) GetTcpRoute(context.Context, *GetTcpRouteRequest) (*TcpRoute, error) { |
| 974 |
return nil, status.Errorf(codes.Unimplemented, "method GetTcpRoute not implemented") |
| 975 |
} |
| 976 |
func (UnimplementedNetworkServicesServer) CreateTcpRoute(context.Context, *CreateTcpRouteRequest) (*longrunningpb.Operation, error) { |
| 977 |
return nil, status.Errorf(codes.Unimplemented, "method CreateTcpRoute not implemented") |
| 978 |
} |
| 979 |
func (UnimplementedNetworkServicesServer) UpdateTcpRoute(context.Context, *UpdateTcpRouteRequest) (*longrunningpb.Operation, error) { |
| 980 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateTcpRoute not implemented") |
| 981 |
} |
| 982 |
func (UnimplementedNetworkServicesServer) DeleteTcpRoute(context.Context, *DeleteTcpRouteRequest) (*longrunningpb.Operation, error) { |
| 983 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteTcpRoute not implemented") |
| 984 |
} |
| 985 |
func (UnimplementedNetworkServicesServer) ListTlsRoutes(context.Context, *ListTlsRoutesRequest) (*ListTlsRoutesResponse, error) { |
| 986 |
return nil, status.Errorf(codes.Unimplemented, "method ListTlsRoutes not implemented") |
| 987 |
} |
| 988 |
func (UnimplementedNetworkServicesServer) GetTlsRoute(context.Context, *GetTlsRouteRequest) (*TlsRoute, error) { |
| 989 |
return nil, status.Errorf(codes.Unimplemented, "method GetTlsRoute not implemented") |
| 990 |
} |
| 991 |
func (UnimplementedNetworkServicesServer) CreateTlsRoute(context.Context, *CreateTlsRouteRequest) (*longrunningpb.Operation, error) { |
| 992 |
return nil, status.Errorf(codes.Unimplemented, "method CreateTlsRoute not implemented") |
| 993 |
} |
| 994 |
func (UnimplementedNetworkServicesServer) UpdateTlsRoute(context.Context, *UpdateTlsRouteRequest) (*longrunningpb.Operation, error) { |
| 995 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateTlsRoute not implemented") |
| 996 |
} |
| 997 |
func (UnimplementedNetworkServicesServer) DeleteTlsRoute(context.Context, *DeleteTlsRouteRequest) (*longrunningpb.Operation, error) { |
| 998 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteTlsRoute not implemented") |
| 999 |
} |
| 1000 |
func (UnimplementedNetworkServicesServer) ListServiceBindings(context.Context, *ListServiceBindingsRequest) (*ListServiceBindingsResponse, error) { |
| 1001 |
return nil, status.Errorf(codes.Unimplemented, "method ListServiceBindings not implemented") |
| 1002 |
} |
| 1003 |
func (UnimplementedNetworkServicesServer) GetServiceBinding(context.Context, *GetServiceBindingRequest) (*ServiceBinding, error) { |
| 1004 |
return nil, status.Errorf(codes.Unimplemented, "method GetServiceBinding not implemented") |
| 1005 |
} |
| 1006 |
func (UnimplementedNetworkServicesServer) CreateServiceBinding(context.Context, *CreateServiceBindingRequest) (*longrunningpb.Operation, error) { |
| 1007 |
return nil, status.Errorf(codes.Unimplemented, "method CreateServiceBinding not implemented") |
| 1008 |
} |
| 1009 |
func (UnimplementedNetworkServicesServer) UpdateServiceBinding(context.Context, *UpdateServiceBindingRequest) (*longrunningpb.Operation, error) { |
| 1010 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateServiceBinding not implemented") |
| 1011 |
} |
| 1012 |
func (UnimplementedNetworkServicesServer) DeleteServiceBinding(context.Context, *DeleteServiceBindingRequest) (*longrunningpb.Operation, error) { |
| 1013 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteServiceBinding not implemented") |
| 1014 |
} |
| 1015 |
func (UnimplementedNetworkServicesServer) ListMeshes(context.Context, *ListMeshesRequest) (*ListMeshesResponse, error) { |
| 1016 |
return nil, status.Errorf(codes.Unimplemented, "method ListMeshes not implemented") |
| 1017 |
} |
| 1018 |
func (UnimplementedNetworkServicesServer) GetMesh(context.Context, *GetMeshRequest) (*Mesh, error) { |
| 1019 |
return nil, status.Errorf(codes.Unimplemented, "method GetMesh not implemented") |
| 1020 |
} |
| 1021 |
func (UnimplementedNetworkServicesServer) CreateMesh(context.Context, *CreateMeshRequest) (*longrunningpb.Operation, error) { |
| 1022 |
return nil, status.Errorf(codes.Unimplemented, "method CreateMesh not implemented") |
| 1023 |
} |
| 1024 |
func (UnimplementedNetworkServicesServer) UpdateMesh(context.Context, *UpdateMeshRequest) (*longrunningpb.Operation, error) { |
| 1025 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateMesh not implemented") |
| 1026 |
} |
| 1027 |
func (UnimplementedNetworkServicesServer) DeleteMesh(context.Context, *DeleteMeshRequest) (*longrunningpb.Operation, error) { |
| 1028 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteMesh not implemented") |
| 1029 |
} |
| 1030 |
func (UnimplementedNetworkServicesServer) ListServiceLbPolicies(context.Context, *ListServiceLbPoliciesRequest) (*ListServiceLbPoliciesResponse, error) { |
| 1031 |
return nil, status.Errorf(codes.Unimplemented, "method ListServiceLbPolicies not implemented") |
| 1032 |
} |
| 1033 |
func (UnimplementedNetworkServicesServer) GetServiceLbPolicy(context.Context, *GetServiceLbPolicyRequest) (*ServiceLbPolicy, error) { |
| 1034 |
return nil, status.Errorf(codes.Unimplemented, "method GetServiceLbPolicy not implemented") |
| 1035 |
} |
| 1036 |
func (UnimplementedNetworkServicesServer) CreateServiceLbPolicy(context.Context, *CreateServiceLbPolicyRequest) (*longrunningpb.Operation, error) { |
| 1037 |
return nil, status.Errorf(codes.Unimplemented, "method CreateServiceLbPolicy not implemented") |
| 1038 |
} |
| 1039 |
func (UnimplementedNetworkServicesServer) UpdateServiceLbPolicy(context.Context, *UpdateServiceLbPolicyRequest) (*longrunningpb.Operation, error) { |
| 1040 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateServiceLbPolicy not implemented") |
| 1041 |
} |
| 1042 |
func (UnimplementedNetworkServicesServer) DeleteServiceLbPolicy(context.Context, *DeleteServiceLbPolicyRequest) (*longrunningpb.Operation, error) { |
| 1043 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteServiceLbPolicy not implemented") |
| 1044 |
} |
| 1045 |
func (UnimplementedNetworkServicesServer) GetGatewayRouteView(context.Context, *GetGatewayRouteViewRequest) (*GatewayRouteView, error) { |
| 1046 |
return nil, status.Errorf(codes.Unimplemented, "method GetGatewayRouteView not implemented") |
| 1047 |
} |
| 1048 |
func (UnimplementedNetworkServicesServer) GetMeshRouteView(context.Context, *GetMeshRouteViewRequest) (*MeshRouteView, error) { |
| 1049 |
return nil, status.Errorf(codes.Unimplemented, "method GetMeshRouteView not implemented") |
| 1050 |
} |
| 1051 |
func (UnimplementedNetworkServicesServer) ListGatewayRouteViews(context.Context, *ListGatewayRouteViewsRequest) (*ListGatewayRouteViewsResponse, error) { |
| 1052 |
return nil, status.Errorf(codes.Unimplemented, "method ListGatewayRouteViews not implemented") |
| 1053 |
} |
| 1054 |
func (UnimplementedNetworkServicesServer) ListMeshRouteViews(context.Context, *ListMeshRouteViewsRequest) (*ListMeshRouteViewsResponse, error) { |
| 1055 |
return nil, status.Errorf(codes.Unimplemented, "method ListMeshRouteViews not implemented") |
| 1056 |
} |
| 1057 |
|
| 1058 |
// UnsafeNetworkServicesServer may be embedded to opt out of forward compatibility for this service. |
| 1059 |
// Use of this interface is not recommended, as added methods to NetworkServicesServer will |
| 1060 |
// result in compilation errors. |
| 1061 |
type UnsafeNetworkServicesServer interface { |
| 1062 |
mustEmbedUnimplementedNetworkServicesServer() |
| 1063 |
} |
| 1064 |
|
| 1065 |
func RegisterNetworkServicesServer(s grpc.ServiceRegistrar, srv NetworkServicesServer) { |
| 1066 |
s.RegisterService(&NetworkServices_ServiceDesc, srv) |
| 1067 |
} |
| 1068 |
|
| 1069 |
func _NetworkServices_ListEndpointPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1070 |
in := new(ListEndpointPoliciesRequest) |
| 1071 |
if err := dec(in); err != nil { |
| 1072 |
return nil, err |
| 1073 |
} |
| 1074 |
if interceptor == nil { |
| 1075 |
return srv.(NetworkServicesServer).ListEndpointPolicies(ctx, in) |
| 1076 |
} |
| 1077 |
info := &grpc.UnaryServerInfo{ |
| 1078 |
Server: srv, |
| 1079 |
FullMethod: NetworkServices_ListEndpointPolicies_FullMethodName, |
| 1080 |
} |
| 1081 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1082 |
return srv.(NetworkServicesServer).ListEndpointPolicies(ctx, req.(*ListEndpointPoliciesRequest)) |
| 1083 |
} |
| 1084 |
return interceptor(ctx, in, info, handler) |
| 1085 |
} |
| 1086 |
|
| 1087 |
func _NetworkServices_GetEndpointPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1088 |
in := new(GetEndpointPolicyRequest) |
| 1089 |
if err := dec(in); err != nil { |
| 1090 |
return nil, err |
| 1091 |
} |
| 1092 |
if interceptor == nil { |
| 1093 |
return srv.(NetworkServicesServer).GetEndpointPolicy(ctx, in) |
| 1094 |
} |
| 1095 |
info := &grpc.UnaryServerInfo{ |
| 1096 |
Server: srv, |
| 1097 |
FullMethod: NetworkServices_GetEndpointPolicy_FullMethodName, |
| 1098 |
} |
| 1099 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1100 |
return srv.(NetworkServicesServer).GetEndpointPolicy(ctx, req.(*GetEndpointPolicyRequest)) |
| 1101 |
} |
| 1102 |
return interceptor(ctx, in, info, handler) |
| 1103 |
} |
| 1104 |
|
| 1105 |
func _NetworkServices_CreateEndpointPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1106 |
in := new(CreateEndpointPolicyRequest) |
| 1107 |
if err := dec(in); err != nil { |
| 1108 |
return nil, err |
| 1109 |
} |
| 1110 |
if interceptor == nil { |
| 1111 |
return srv.(NetworkServicesServer).CreateEndpointPolicy(ctx, in) |
| 1112 |
} |
| 1113 |
info := &grpc.UnaryServerInfo{ |
| 1114 |
Server: srv, |
| 1115 |
FullMethod: NetworkServices_CreateEndpointPolicy_FullMethodName, |
| 1116 |
} |
| 1117 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1118 |
return srv.(NetworkServicesServer).CreateEndpointPolicy(ctx, req.(*CreateEndpointPolicyRequest)) |
| 1119 |
} |
| 1120 |
return interceptor(ctx, in, info, handler) |
| 1121 |
} |
| 1122 |
|
| 1123 |
func _NetworkServices_UpdateEndpointPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1124 |
in := new(UpdateEndpointPolicyRequest) |
| 1125 |
if err := dec(in); err != nil { |
| 1126 |
return nil, err |
| 1127 |
} |
| 1128 |
if interceptor == nil { |
| 1129 |
return srv.(NetworkServicesServer).UpdateEndpointPolicy(ctx, in) |
| 1130 |
} |
| 1131 |
info := &grpc.UnaryServerInfo{ |
| 1132 |
Server: srv, |
| 1133 |
FullMethod: NetworkServices_UpdateEndpointPolicy_FullMethodName, |
| 1134 |
} |
| 1135 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1136 |
return srv.(NetworkServicesServer).UpdateEndpointPolicy(ctx, req.(*UpdateEndpointPolicyRequest)) |
| 1137 |
} |
| 1138 |
return interceptor(ctx, in, info, handler) |
| 1139 |
} |
| 1140 |
|
| 1141 |
func _NetworkServices_DeleteEndpointPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1142 |
in := new(DeleteEndpointPolicyRequest) |
| 1143 |
if err := dec(in); err != nil { |
| 1144 |
return nil, err |
| 1145 |
} |
| 1146 |
if interceptor == nil { |
| 1147 |
return srv.(NetworkServicesServer).DeleteEndpointPolicy(ctx, in) |
| 1148 |
} |
| 1149 |
info := &grpc.UnaryServerInfo{ |
| 1150 |
Server: srv, |
| 1151 |
FullMethod: NetworkServices_DeleteEndpointPolicy_FullMethodName, |
| 1152 |
} |
| 1153 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1154 |
return srv.(NetworkServicesServer).DeleteEndpointPolicy(ctx, req.(*DeleteEndpointPolicyRequest)) |
| 1155 |
} |
| 1156 |
return interceptor(ctx, in, info, handler) |
| 1157 |
} |
| 1158 |
|
| 1159 |
func _NetworkServices_ListWasmPluginVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1160 |
in := new(ListWasmPluginVersionsRequest) |
| 1161 |
if err := dec(in); err != nil { |
| 1162 |
return nil, err |
| 1163 |
} |
| 1164 |
if interceptor == nil { |
| 1165 |
return srv.(NetworkServicesServer).ListWasmPluginVersions(ctx, in) |
| 1166 |
} |
| 1167 |
info := &grpc.UnaryServerInfo{ |
| 1168 |
Server: srv, |
| 1169 |
FullMethod: NetworkServices_ListWasmPluginVersions_FullMethodName, |
| 1170 |
} |
| 1171 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1172 |
return srv.(NetworkServicesServer).ListWasmPluginVersions(ctx, req.(*ListWasmPluginVersionsRequest)) |
| 1173 |
} |
| 1174 |
return interceptor(ctx, in, info, handler) |
| 1175 |
} |
| 1176 |
|
| 1177 |
func _NetworkServices_GetWasmPluginVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1178 |
in := new(GetWasmPluginVersionRequest) |
| 1179 |
if err := dec(in); err != nil { |
| 1180 |
return nil, err |
| 1181 |
} |
| 1182 |
if interceptor == nil { |
| 1183 |
return srv.(NetworkServicesServer).GetWasmPluginVersion(ctx, in) |
| 1184 |
} |
| 1185 |
info := &grpc.UnaryServerInfo{ |
| 1186 |
Server: srv, |
| 1187 |
FullMethod: NetworkServices_GetWasmPluginVersion_FullMethodName, |
| 1188 |
} |
| 1189 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1190 |
return srv.(NetworkServicesServer).GetWasmPluginVersion(ctx, req.(*GetWasmPluginVersionRequest)) |
| 1191 |
} |
| 1192 |
return interceptor(ctx, in, info, handler) |
| 1193 |
} |
| 1194 |
|
| 1195 |
func _NetworkServices_CreateWasmPluginVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1196 |
in := new(CreateWasmPluginVersionRequest) |
| 1197 |
if err := dec(in); err != nil { |
| 1198 |
return nil, err |
| 1199 |
} |
| 1200 |
if interceptor == nil { |
| 1201 |
return srv.(NetworkServicesServer).CreateWasmPluginVersion(ctx, in) |
| 1202 |
} |
| 1203 |
info := &grpc.UnaryServerInfo{ |
| 1204 |
Server: srv, |
| 1205 |
FullMethod: NetworkServices_CreateWasmPluginVersion_FullMethodName, |
| 1206 |
} |
| 1207 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1208 |
return srv.(NetworkServicesServer).CreateWasmPluginVersion(ctx, req.(*CreateWasmPluginVersionRequest)) |
| 1209 |
} |
| 1210 |
return interceptor(ctx, in, info, handler) |
| 1211 |
} |
| 1212 |
|
| 1213 |
func _NetworkServices_DeleteWasmPluginVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1214 |
in := new(DeleteWasmPluginVersionRequest) |
| 1215 |
if err := dec(in); err != nil { |
| 1216 |
return nil, err |
| 1217 |
} |
| 1218 |
if interceptor == nil { |
| 1219 |
return srv.(NetworkServicesServer).DeleteWasmPluginVersion(ctx, in) |
| 1220 |
} |
| 1221 |
info := &grpc.UnaryServerInfo{ |
| 1222 |
Server: srv, |
| 1223 |
FullMethod: NetworkServices_DeleteWasmPluginVersion_FullMethodName, |
| 1224 |
} |
| 1225 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1226 |
return srv.(NetworkServicesServer).DeleteWasmPluginVersion(ctx, req.(*DeleteWasmPluginVersionRequest)) |
| 1227 |
} |
| 1228 |
return interceptor(ctx, in, info, handler) |
| 1229 |
} |
| 1230 |
|
| 1231 |
func _NetworkServices_ListWasmPlugins_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1232 |
in := new(ListWasmPluginsRequest) |
| 1233 |
if err := dec(in); err != nil { |
| 1234 |
return nil, err |
| 1235 |
} |
| 1236 |
if interceptor == nil { |
| 1237 |
return srv.(NetworkServicesServer).ListWasmPlugins(ctx, in) |
| 1238 |
} |
| 1239 |
info := &grpc.UnaryServerInfo{ |
| 1240 |
Server: srv, |
| 1241 |
FullMethod: NetworkServices_ListWasmPlugins_FullMethodName, |
| 1242 |
} |
| 1243 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1244 |
return srv.(NetworkServicesServer).ListWasmPlugins(ctx, req.(*ListWasmPluginsRequest)) |
| 1245 |
} |
| 1246 |
return interceptor(ctx, in, info, handler) |
| 1247 |
} |
| 1248 |
|
| 1249 |
func _NetworkServices_GetWasmPlugin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1250 |
in := new(GetWasmPluginRequest) |
| 1251 |
if err := dec(in); err != nil { |
| 1252 |
return nil, err |
| 1253 |
} |
| 1254 |
if interceptor == nil { |
| 1255 |
return srv.(NetworkServicesServer).GetWasmPlugin(ctx, in) |
| 1256 |
} |
| 1257 |
info := &grpc.UnaryServerInfo{ |
| 1258 |
Server: srv, |
| 1259 |
FullMethod: NetworkServices_GetWasmPlugin_FullMethodName, |
| 1260 |
} |
| 1261 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1262 |
return srv.(NetworkServicesServer).GetWasmPlugin(ctx, req.(*GetWasmPluginRequest)) |
| 1263 |
} |
| 1264 |
return interceptor(ctx, in, info, handler) |
| 1265 |
} |
| 1266 |
|
| 1267 |
func _NetworkServices_CreateWasmPlugin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1268 |
in := new(CreateWasmPluginRequest) |
| 1269 |
if err := dec(in); err != nil { |
| 1270 |
return nil, err |
| 1271 |
} |
| 1272 |
if interceptor == nil { |
| 1273 |
return srv.(NetworkServicesServer).CreateWasmPlugin(ctx, in) |
| 1274 |
} |
| 1275 |
info := &grpc.UnaryServerInfo{ |
| 1276 |
Server: srv, |
| 1277 |
FullMethod: NetworkServices_CreateWasmPlugin_FullMethodName, |
| 1278 |
} |
| 1279 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1280 |
return srv.(NetworkServicesServer).CreateWasmPlugin(ctx, req.(*CreateWasmPluginRequest)) |
| 1281 |
} |
| 1282 |
return interceptor(ctx, in, info, handler) |
| 1283 |
} |
| 1284 |
|
| 1285 |
func _NetworkServices_UpdateWasmPlugin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1286 |
in := new(UpdateWasmPluginRequest) |
| 1287 |
if err := dec(in); err != nil { |
| 1288 |
return nil, err |
| 1289 |
} |
| 1290 |
if interceptor == nil { |
| 1291 |
return srv.(NetworkServicesServer).UpdateWasmPlugin(ctx, in) |
| 1292 |
} |
| 1293 |
info := &grpc.UnaryServerInfo{ |
| 1294 |
Server: srv, |
| 1295 |
FullMethod: NetworkServices_UpdateWasmPlugin_FullMethodName, |
| 1296 |
} |
| 1297 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1298 |
return srv.(NetworkServicesServer).UpdateWasmPlugin(ctx, req.(*UpdateWasmPluginRequest)) |
| 1299 |
} |
| 1300 |
return interceptor(ctx, in, info, handler) |
| 1301 |
} |
| 1302 |
|
| 1303 |
func _NetworkServices_DeleteWasmPlugin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1304 |
in := new(DeleteWasmPluginRequest) |
| 1305 |
if err := dec(in); err != nil { |
| 1306 |
return nil, err |
| 1307 |
} |
| 1308 |
if interceptor == nil { |
| 1309 |
return srv.(NetworkServicesServer).DeleteWasmPlugin(ctx, in) |
| 1310 |
} |
| 1311 |
info := &grpc.UnaryServerInfo{ |
| 1312 |
Server: srv, |
| 1313 |
FullMethod: NetworkServices_DeleteWasmPlugin_FullMethodName, |
| 1314 |
} |
| 1315 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1316 |
return srv.(NetworkServicesServer).DeleteWasmPlugin(ctx, req.(*DeleteWasmPluginRequest)) |
| 1317 |
} |
| 1318 |
return interceptor(ctx, in, info, handler) |
| 1319 |
} |
| 1320 |
|
| 1321 |
func _NetworkServices_ListGateways_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1322 |
in := new(ListGatewaysRequest) |
| 1323 |
if err := dec(in); err != nil { |
| 1324 |
return nil, err |
| 1325 |
} |
| 1326 |
if interceptor == nil { |
| 1327 |
return srv.(NetworkServicesServer).ListGateways(ctx, in) |
| 1328 |
} |
| 1329 |
info := &grpc.UnaryServerInfo{ |
| 1330 |
Server: srv, |
| 1331 |
FullMethod: NetworkServices_ListGateways_FullMethodName, |
| 1332 |
} |
| 1333 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1334 |
return srv.(NetworkServicesServer).ListGateways(ctx, req.(*ListGatewaysRequest)) |
| 1335 |
} |
| 1336 |
return interceptor(ctx, in, info, handler) |
| 1337 |
} |
| 1338 |
|
| 1339 |
func _NetworkServices_GetGateway_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1340 |
in := new(GetGatewayRequest) |
| 1341 |
if err := dec(in); err != nil { |
| 1342 |
return nil, err |
| 1343 |
} |
| 1344 |
if interceptor == nil { |
| 1345 |
return srv.(NetworkServicesServer).GetGateway(ctx, in) |
| 1346 |
} |
| 1347 |
info := &grpc.UnaryServerInfo{ |
| 1348 |
Server: srv, |
| 1349 |
FullMethod: NetworkServices_GetGateway_FullMethodName, |
| 1350 |
} |
| 1351 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1352 |
return srv.(NetworkServicesServer).GetGateway(ctx, req.(*GetGatewayRequest)) |
| 1353 |
} |
| 1354 |
return interceptor(ctx, in, info, handler) |
| 1355 |
} |
| 1356 |
|
| 1357 |
func _NetworkServices_CreateGateway_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1358 |
in := new(CreateGatewayRequest) |
| 1359 |
if err := dec(in); err != nil { |
| 1360 |
return nil, err |
| 1361 |
} |
| 1362 |
if interceptor == nil { |
| 1363 |
return srv.(NetworkServicesServer).CreateGateway(ctx, in) |
| 1364 |
} |
| 1365 |
info := &grpc.UnaryServerInfo{ |
| 1366 |
Server: srv, |
| 1367 |
FullMethod: NetworkServices_CreateGateway_FullMethodName, |
| 1368 |
} |
| 1369 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1370 |
return srv.(NetworkServicesServer).CreateGateway(ctx, req.(*CreateGatewayRequest)) |
| 1371 |
} |
| 1372 |
return interceptor(ctx, in, info, handler) |
| 1373 |
} |
| 1374 |
|
| 1375 |
func _NetworkServices_UpdateGateway_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1376 |
in := new(UpdateGatewayRequest) |
| 1377 |
if err := dec(in); err != nil { |
| 1378 |
return nil, err |
| 1379 |
} |
| 1380 |
if interceptor == nil { |
| 1381 |
return srv.(NetworkServicesServer).UpdateGateway(ctx, in) |
| 1382 |
} |
| 1383 |
info := &grpc.UnaryServerInfo{ |
| 1384 |
Server: srv, |
| 1385 |
FullMethod: NetworkServices_UpdateGateway_FullMethodName, |
| 1386 |
} |
| 1387 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1388 |
return srv.(NetworkServicesServer).UpdateGateway(ctx, req.(*UpdateGatewayRequest)) |
| 1389 |
} |
| 1390 |
return interceptor(ctx, in, info, handler) |
| 1391 |
} |
| 1392 |
|
| 1393 |
func _NetworkServices_DeleteGateway_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1394 |
in := new(DeleteGatewayRequest) |
| 1395 |
if err := dec(in); err != nil { |
| 1396 |
return nil, err |
| 1397 |
} |
| 1398 |
if interceptor == nil { |
| 1399 |
return srv.(NetworkServicesServer).DeleteGateway(ctx, in) |
| 1400 |
} |
| 1401 |
info := &grpc.UnaryServerInfo{ |
| 1402 |
Server: srv, |
| 1403 |
FullMethod: NetworkServices_DeleteGateway_FullMethodName, |
| 1404 |
} |
| 1405 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1406 |
return srv.(NetworkServicesServer).DeleteGateway(ctx, req.(*DeleteGatewayRequest)) |
| 1407 |
} |
| 1408 |
return interceptor(ctx, in, info, handler) |
| 1409 |
} |
| 1410 |
|
| 1411 |
func _NetworkServices_ListGrpcRoutes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1412 |
in := new(ListGrpcRoutesRequest) |
| 1413 |
if err := dec(in); err != nil { |
| 1414 |
return nil, err |
| 1415 |
} |
| 1416 |
if interceptor == nil { |
| 1417 |
return srv.(NetworkServicesServer).ListGrpcRoutes(ctx, in) |
| 1418 |
} |
| 1419 |
info := &grpc.UnaryServerInfo{ |
| 1420 |
Server: srv, |
| 1421 |
FullMethod: NetworkServices_ListGrpcRoutes_FullMethodName, |
| 1422 |
} |
| 1423 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1424 |
return srv.(NetworkServicesServer).ListGrpcRoutes(ctx, req.(*ListGrpcRoutesRequest)) |
| 1425 |
} |
| 1426 |
return interceptor(ctx, in, info, handler) |
| 1427 |
} |
| 1428 |
|
| 1429 |
func _NetworkServices_GetGrpcRoute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1430 |
in := new(GetGrpcRouteRequest) |
| 1431 |
if err := dec(in); err != nil { |
| 1432 |
return nil, err |
| 1433 |
} |
| 1434 |
if interceptor == nil { |
| 1435 |
return srv.(NetworkServicesServer).GetGrpcRoute(ctx, in) |
| 1436 |
} |
| 1437 |
info := &grpc.UnaryServerInfo{ |
| 1438 |
Server: srv, |
| 1439 |
FullMethod: NetworkServices_GetGrpcRoute_FullMethodName, |
| 1440 |
} |
| 1441 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1442 |
return srv.(NetworkServicesServer).GetGrpcRoute(ctx, req.(*GetGrpcRouteRequest)) |
| 1443 |
} |
| 1444 |
return interceptor(ctx, in, info, handler) |
| 1445 |
} |
| 1446 |
|
| 1447 |
func _NetworkServices_CreateGrpcRoute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1448 |
in := new(CreateGrpcRouteRequest) |
| 1449 |
if err := dec(in); err != nil { |
| 1450 |
return nil, err |
| 1451 |
} |
| 1452 |
if interceptor == nil { |
| 1453 |
return srv.(NetworkServicesServer).CreateGrpcRoute(ctx, in) |
| 1454 |
} |
| 1455 |
info := &grpc.UnaryServerInfo{ |
| 1456 |
Server: srv, |
| 1457 |
FullMethod: NetworkServices_CreateGrpcRoute_FullMethodName, |
| 1458 |
} |
| 1459 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1460 |
return srv.(NetworkServicesServer).CreateGrpcRoute(ctx, req.(*CreateGrpcRouteRequest)) |
| 1461 |
} |
| 1462 |
return interceptor(ctx, in, info, handler) |
| 1463 |
} |
| 1464 |
|
| 1465 |
func _NetworkServices_UpdateGrpcRoute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1466 |
in := new(UpdateGrpcRouteRequest) |
| 1467 |
if err := dec(in); err != nil { |
| 1468 |
return nil, err |
| 1469 |
} |
| 1470 |
if interceptor == nil { |
| 1471 |
return srv.(NetworkServicesServer).UpdateGrpcRoute(ctx, in) |
| 1472 |
} |
| 1473 |
info := &grpc.UnaryServerInfo{ |
| 1474 |
Server: srv, |
| 1475 |
FullMethod: NetworkServices_UpdateGrpcRoute_FullMethodName, |
| 1476 |
} |
| 1477 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1478 |
return srv.(NetworkServicesServer).UpdateGrpcRoute(ctx, req.(*UpdateGrpcRouteRequest)) |
| 1479 |
} |
| 1480 |
return interceptor(ctx, in, info, handler) |
| 1481 |
} |
| 1482 |
|
| 1483 |
func _NetworkServices_DeleteGrpcRoute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1484 |
in := new(DeleteGrpcRouteRequest) |
| 1485 |
if err := dec(in); err != nil { |
| 1486 |
return nil, err |
| 1487 |
} |
| 1488 |
if interceptor == nil { |
| 1489 |
return srv.(NetworkServicesServer).DeleteGrpcRoute(ctx, in) |
| 1490 |
} |
| 1491 |
info := &grpc.UnaryServerInfo{ |
| 1492 |
Server: srv, |
| 1493 |
FullMethod: NetworkServices_DeleteGrpcRoute_FullMethodName, |
| 1494 |
} |
| 1495 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1496 |
return srv.(NetworkServicesServer).DeleteGrpcRoute(ctx, req.(*DeleteGrpcRouteRequest)) |
| 1497 |
} |
| 1498 |
return interceptor(ctx, in, info, handler) |
| 1499 |
} |
| 1500 |
|
| 1501 |
func _NetworkServices_ListHttpRoutes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1502 |
in := new(ListHttpRoutesRequest) |
| 1503 |
if err := dec(in); err != nil { |
| 1504 |
return nil, err |
| 1505 |
} |
| 1506 |
if interceptor == nil { |
| 1507 |
return srv.(NetworkServicesServer).ListHttpRoutes(ctx, in) |
| 1508 |
} |
| 1509 |
info := &grpc.UnaryServerInfo{ |
| 1510 |
Server: srv, |
| 1511 |
FullMethod: NetworkServices_ListHttpRoutes_FullMethodName, |
| 1512 |
} |
| 1513 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1514 |
return srv.(NetworkServicesServer).ListHttpRoutes(ctx, req.(*ListHttpRoutesRequest)) |
| 1515 |
} |
| 1516 |
return interceptor(ctx, in, info, handler) |
| 1517 |
} |
| 1518 |
|
| 1519 |
func _NetworkServices_GetHttpRoute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1520 |
in := new(GetHttpRouteRequest) |
| 1521 |
if err := dec(in); err != nil { |
| 1522 |
return nil, err |
| 1523 |
} |
| 1524 |
if interceptor == nil { |
| 1525 |
return srv.(NetworkServicesServer).GetHttpRoute(ctx, in) |
| 1526 |
} |
| 1527 |
info := &grpc.UnaryServerInfo{ |
| 1528 |
Server: srv, |
| 1529 |
FullMethod: NetworkServices_GetHttpRoute_FullMethodName, |
| 1530 |
} |
| 1531 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1532 |
return srv.(NetworkServicesServer).GetHttpRoute(ctx, req.(*GetHttpRouteRequest)) |
| 1533 |
} |
| 1534 |
return interceptor(ctx, in, info, handler) |
| 1535 |
} |
| 1536 |
|
| 1537 |
func _NetworkServices_CreateHttpRoute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1538 |
in := new(CreateHttpRouteRequest) |
| 1539 |
if err := dec(in); err != nil { |
| 1540 |
return nil, err |
| 1541 |
} |
| 1542 |
if interceptor == nil { |
| 1543 |
return srv.(NetworkServicesServer).CreateHttpRoute(ctx, in) |
| 1544 |
} |
| 1545 |
info := &grpc.UnaryServerInfo{ |
| 1546 |
Server: srv, |
| 1547 |
FullMethod: NetworkServices_CreateHttpRoute_FullMethodName, |
| 1548 |
} |
| 1549 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1550 |
return srv.(NetworkServicesServer).CreateHttpRoute(ctx, req.(*CreateHttpRouteRequest)) |
| 1551 |
} |
| 1552 |
return interceptor(ctx, in, info, handler) |
| 1553 |
} |
| 1554 |
|
| 1555 |
func _NetworkServices_UpdateHttpRoute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1556 |
in := new(UpdateHttpRouteRequest) |
| 1557 |
if err := dec(in); err != nil { |
| 1558 |
return nil, err |
| 1559 |
} |
| 1560 |
if interceptor == nil { |
| 1561 |
return srv.(NetworkServicesServer).UpdateHttpRoute(ctx, in) |
| 1562 |
} |
| 1563 |
info := &grpc.UnaryServerInfo{ |
| 1564 |
Server: srv, |
| 1565 |
FullMethod: NetworkServices_UpdateHttpRoute_FullMethodName, |
| 1566 |
} |
| 1567 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1568 |
return srv.(NetworkServicesServer).UpdateHttpRoute(ctx, req.(*UpdateHttpRouteRequest)) |
| 1569 |
} |
| 1570 |
return interceptor(ctx, in, info, handler) |
| 1571 |
} |
| 1572 |
|
| 1573 |
func _NetworkServices_DeleteHttpRoute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1574 |
in := new(DeleteHttpRouteRequest) |
| 1575 |
if err := dec(in); err != nil { |
| 1576 |
return nil, err |
| 1577 |
} |
| 1578 |
if interceptor == nil { |
| 1579 |
return srv.(NetworkServicesServer).DeleteHttpRoute(ctx, in) |
| 1580 |
} |
| 1581 |
info := &grpc.UnaryServerInfo{ |
| 1582 |
Server: srv, |
| 1583 |
FullMethod: NetworkServices_DeleteHttpRoute_FullMethodName, |
| 1584 |
} |
| 1585 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1586 |
return srv.(NetworkServicesServer).DeleteHttpRoute(ctx, req.(*DeleteHttpRouteRequest)) |
| 1587 |
} |
| 1588 |
return interceptor(ctx, in, info, handler) |
| 1589 |
} |
| 1590 |
|
| 1591 |
func _NetworkServices_ListTcpRoutes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1592 |
in := new(ListTcpRoutesRequest) |
| 1593 |
if err := dec(in); err != nil { |
| 1594 |
return nil, err |
| 1595 |
} |
| 1596 |
if interceptor == nil { |
| 1597 |
return srv.(NetworkServicesServer).ListTcpRoutes(ctx, in) |
| 1598 |
} |
| 1599 |
info := &grpc.UnaryServerInfo{ |
| 1600 |
Server: srv, |
| 1601 |
FullMethod: NetworkServices_ListTcpRoutes_FullMethodName, |
| 1602 |
} |
| 1603 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1604 |
return srv.(NetworkServicesServer).ListTcpRoutes(ctx, req.(*ListTcpRoutesRequest)) |
| 1605 |
} |
| 1606 |
return interceptor(ctx, in, info, handler) |
| 1607 |
} |
| 1608 |
|
| 1609 |
func _NetworkServices_GetTcpRoute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1610 |
in := new(GetTcpRouteRequest) |
| 1611 |
if err := dec(in); err != nil { |
| 1612 |
return nil, err |
| 1613 |
} |
| 1614 |
if interceptor == nil { |
| 1615 |
return srv.(NetworkServicesServer).GetTcpRoute(ctx, in) |
| 1616 |
} |
| 1617 |
info := &grpc.UnaryServerInfo{ |
| 1618 |
Server: srv, |
| 1619 |
FullMethod: NetworkServices_GetTcpRoute_FullMethodName, |
| 1620 |
} |
| 1621 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1622 |
return srv.(NetworkServicesServer).GetTcpRoute(ctx, req.(*GetTcpRouteRequest)) |
| 1623 |
} |
| 1624 |
return interceptor(ctx, in, info, handler) |
| 1625 |
} |
| 1626 |
|
| 1627 |
func _NetworkServices_CreateTcpRoute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1628 |
in := new(CreateTcpRouteRequest) |
| 1629 |
if err := dec(in); err != nil { |
| 1630 |
return nil, err |
| 1631 |
} |
| 1632 |
if interceptor == nil { |
| 1633 |
return srv.(NetworkServicesServer).CreateTcpRoute(ctx, in) |
| 1634 |
} |
| 1635 |
info := &grpc.UnaryServerInfo{ |
| 1636 |
Server: srv, |
| 1637 |
FullMethod: NetworkServices_CreateTcpRoute_FullMethodName, |
| 1638 |
} |
| 1639 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1640 |
return srv.(NetworkServicesServer).CreateTcpRoute(ctx, req.(*CreateTcpRouteRequest)) |
| 1641 |
} |
| 1642 |
return interceptor(ctx, in, info, handler) |
| 1643 |
} |
| 1644 |
|
| 1645 |
func _NetworkServices_UpdateTcpRoute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1646 |
in := new(UpdateTcpRouteRequest) |
| 1647 |
if err := dec(in); err != nil { |
| 1648 |
return nil, err |
| 1649 |
} |
| 1650 |
if interceptor == nil { |
| 1651 |
return srv.(NetworkServicesServer).UpdateTcpRoute(ctx, in) |
| 1652 |
} |
| 1653 |
info := &grpc.UnaryServerInfo{ |
| 1654 |
Server: srv, |
| 1655 |
FullMethod: NetworkServices_UpdateTcpRoute_FullMethodName, |
| 1656 |
} |
| 1657 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1658 |
return srv.(NetworkServicesServer).UpdateTcpRoute(ctx, req.(*UpdateTcpRouteRequest)) |
| 1659 |
} |
| 1660 |
return interceptor(ctx, in, info, handler) |
| 1661 |
} |
| 1662 |
|
| 1663 |
func _NetworkServices_DeleteTcpRoute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1664 |
in := new(DeleteTcpRouteRequest) |
| 1665 |
if err := dec(in); err != nil { |
| 1666 |
return nil, err |
| 1667 |
} |
| 1668 |
if interceptor == nil { |
| 1669 |
return srv.(NetworkServicesServer).DeleteTcpRoute(ctx, in) |
| 1670 |
} |
| 1671 |
info := &grpc.UnaryServerInfo{ |
| 1672 |
Server: srv, |
| 1673 |
FullMethod: NetworkServices_DeleteTcpRoute_FullMethodName, |
| 1674 |
} |
| 1675 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1676 |
return srv.(NetworkServicesServer).DeleteTcpRoute(ctx, req.(*DeleteTcpRouteRequest)) |
| 1677 |
} |
| 1678 |
return interceptor(ctx, in, info, handler) |
| 1679 |
} |
| 1680 |
|
| 1681 |
func _NetworkServices_ListTlsRoutes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1682 |
in := new(ListTlsRoutesRequest) |
| 1683 |
if err := dec(in); err != nil { |
| 1684 |
return nil, err |
| 1685 |
} |
| 1686 |
if interceptor == nil { |
| 1687 |
return srv.(NetworkServicesServer).ListTlsRoutes(ctx, in) |
| 1688 |
} |
| 1689 |
info := &grpc.UnaryServerInfo{ |
| 1690 |
Server: srv, |
| 1691 |
FullMethod: NetworkServices_ListTlsRoutes_FullMethodName, |
| 1692 |
} |
| 1693 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1694 |
return srv.(NetworkServicesServer).ListTlsRoutes(ctx, req.(*ListTlsRoutesRequest)) |
| 1695 |
} |
| 1696 |
return interceptor(ctx, in, info, handler) |
| 1697 |
} |
| 1698 |
|
| 1699 |
func _NetworkServices_GetTlsRoute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1700 |
in := new(GetTlsRouteRequest) |
| 1701 |
if err := dec(in); err != nil { |
| 1702 |
return nil, err |
| 1703 |
} |
| 1704 |
if interceptor == nil { |
| 1705 |
return srv.(NetworkServicesServer).GetTlsRoute(ctx, in) |
| 1706 |
} |
| 1707 |
info := &grpc.UnaryServerInfo{ |
| 1708 |
Server: srv, |
| 1709 |
FullMethod: NetworkServices_GetTlsRoute_FullMethodName, |
| 1710 |
} |
| 1711 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1712 |
return srv.(NetworkServicesServer).GetTlsRoute(ctx, req.(*GetTlsRouteRequest)) |
| 1713 |
} |
| 1714 |
return interceptor(ctx, in, info, handler) |
| 1715 |
} |
| 1716 |
|
| 1717 |
func _NetworkServices_CreateTlsRoute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1718 |
in := new(CreateTlsRouteRequest) |
| 1719 |
if err := dec(in); err != nil { |
| 1720 |
return nil, err |
| 1721 |
} |
| 1722 |
if interceptor == nil { |
| 1723 |
return srv.(NetworkServicesServer).CreateTlsRoute(ctx, in) |
| 1724 |
} |
| 1725 |
info := &grpc.UnaryServerInfo{ |
| 1726 |
Server: srv, |
| 1727 |
FullMethod: NetworkServices_CreateTlsRoute_FullMethodName, |
| 1728 |
} |
| 1729 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1730 |
return srv.(NetworkServicesServer).CreateTlsRoute(ctx, req.(*CreateTlsRouteRequest)) |
| 1731 |
} |
| 1732 |
return interceptor(ctx, in, info, handler) |
| 1733 |
} |
| 1734 |
|
| 1735 |
func _NetworkServices_UpdateTlsRoute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1736 |
in := new(UpdateTlsRouteRequest) |
| 1737 |
if err := dec(in); err != nil { |
| 1738 |
return nil, err |
| 1739 |
} |
| 1740 |
if interceptor == nil { |
| 1741 |
return srv.(NetworkServicesServer).UpdateTlsRoute(ctx, in) |
| 1742 |
} |
| 1743 |
info := &grpc.UnaryServerInfo{ |
| 1744 |
Server: srv, |
| 1745 |
FullMethod: NetworkServices_UpdateTlsRoute_FullMethodName, |
| 1746 |
} |
| 1747 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1748 |
return srv.(NetworkServicesServer).UpdateTlsRoute(ctx, req.(*UpdateTlsRouteRequest)) |
| 1749 |
} |
| 1750 |
return interceptor(ctx, in, info, handler) |
| 1751 |
} |
| 1752 |
|
| 1753 |
func _NetworkServices_DeleteTlsRoute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1754 |
in := new(DeleteTlsRouteRequest) |
| 1755 |
if err := dec(in); err != nil { |
| 1756 |
return nil, err |
| 1757 |
} |
| 1758 |
if interceptor == nil { |
| 1759 |
return srv.(NetworkServicesServer).DeleteTlsRoute(ctx, in) |
| 1760 |
} |
| 1761 |
info := &grpc.UnaryServerInfo{ |
| 1762 |
Server: srv, |
| 1763 |
FullMethod: NetworkServices_DeleteTlsRoute_FullMethodName, |
| 1764 |
} |
| 1765 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1766 |
return srv.(NetworkServicesServer).DeleteTlsRoute(ctx, req.(*DeleteTlsRouteRequest)) |
| 1767 |
} |
| 1768 |
return interceptor(ctx, in, info, handler) |
| 1769 |
} |
| 1770 |
|
| 1771 |
func _NetworkServices_ListServiceBindings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1772 |
in := new(ListServiceBindingsRequest) |
| 1773 |
if err := dec(in); err != nil { |
| 1774 |
return nil, err |
| 1775 |
} |
| 1776 |
if interceptor == nil { |
| 1777 |
return srv.(NetworkServicesServer).ListServiceBindings(ctx, in) |
| 1778 |
} |
| 1779 |
info := &grpc.UnaryServerInfo{ |
| 1780 |
Server: srv, |
| 1781 |
FullMethod: NetworkServices_ListServiceBindings_FullMethodName, |
| 1782 |
} |
| 1783 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1784 |
return srv.(NetworkServicesServer).ListServiceBindings(ctx, req.(*ListServiceBindingsRequest)) |
| 1785 |
} |
| 1786 |
return interceptor(ctx, in, info, handler) |
| 1787 |
} |
| 1788 |
|
| 1789 |
func _NetworkServices_GetServiceBinding_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1790 |
in := new(GetServiceBindingRequest) |
| 1791 |
if err := dec(in); err != nil { |
| 1792 |
return nil, err |
| 1793 |
} |
| 1794 |
if interceptor == nil { |
| 1795 |
return srv.(NetworkServicesServer).GetServiceBinding(ctx, in) |
| 1796 |
} |
| 1797 |
info := &grpc.UnaryServerInfo{ |
| 1798 |
Server: srv, |
| 1799 |
FullMethod: NetworkServices_GetServiceBinding_FullMethodName, |
| 1800 |
} |
| 1801 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1802 |
return srv.(NetworkServicesServer).GetServiceBinding(ctx, req.(*GetServiceBindingRequest)) |
| 1803 |
} |
| 1804 |
return interceptor(ctx, in, info, handler) |
| 1805 |
} |
| 1806 |
|
| 1807 |
func _NetworkServices_CreateServiceBinding_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1808 |
in := new(CreateServiceBindingRequest) |
| 1809 |
if err := dec(in); err != nil { |
| 1810 |
return nil, err |
| 1811 |
} |
| 1812 |
if interceptor == nil { |
| 1813 |
return srv.(NetworkServicesServer).CreateServiceBinding(ctx, in) |
| 1814 |
} |
| 1815 |
info := &grpc.UnaryServerInfo{ |
| 1816 |
Server: srv, |
| 1817 |
FullMethod: NetworkServices_CreateServiceBinding_FullMethodName, |
| 1818 |
} |
| 1819 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1820 |
return srv.(NetworkServicesServer).CreateServiceBinding(ctx, req.(*CreateServiceBindingRequest)) |
| 1821 |
} |
| 1822 |
return interceptor(ctx, in, info, handler) |
| 1823 |
} |
| 1824 |
|
| 1825 |
func _NetworkServices_UpdateServiceBinding_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1826 |
in := new(UpdateServiceBindingRequest) |
| 1827 |
if err := dec(in); err != nil { |
| 1828 |
return nil, err |
| 1829 |
} |
| 1830 |
if interceptor == nil { |
| 1831 |
return srv.(NetworkServicesServer).UpdateServiceBinding(ctx, in) |
| 1832 |
} |
| 1833 |
info := &grpc.UnaryServerInfo{ |
| 1834 |
Server: srv, |
| 1835 |
FullMethod: NetworkServices_UpdateServiceBinding_FullMethodName, |
| 1836 |
} |
| 1837 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1838 |
return srv.(NetworkServicesServer).UpdateServiceBinding(ctx, req.(*UpdateServiceBindingRequest)) |
| 1839 |
} |
| 1840 |
return interceptor(ctx, in, info, handler) |
| 1841 |
} |
| 1842 |
|
| 1843 |
func _NetworkServices_DeleteServiceBinding_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1844 |
in := new(DeleteServiceBindingRequest) |
| 1845 |
if err := dec(in); err != nil { |
| 1846 |
return nil, err |
| 1847 |
} |
| 1848 |
if interceptor == nil { |
| 1849 |
return srv.(NetworkServicesServer).DeleteServiceBinding(ctx, in) |
| 1850 |
} |
| 1851 |
info := &grpc.UnaryServerInfo{ |
| 1852 |
Server: srv, |
| 1853 |
FullMethod: NetworkServices_DeleteServiceBinding_FullMethodName, |
| 1854 |
} |
| 1855 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1856 |
return srv.(NetworkServicesServer).DeleteServiceBinding(ctx, req.(*DeleteServiceBindingRequest)) |
| 1857 |
} |
| 1858 |
return interceptor(ctx, in, info, handler) |
| 1859 |
} |
| 1860 |
|
| 1861 |
func _NetworkServices_ListMeshes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1862 |
in := new(ListMeshesRequest) |
| 1863 |
if err := dec(in); err != nil { |
| 1864 |
return nil, err |
| 1865 |
} |
| 1866 |
if interceptor == nil { |
| 1867 |
return srv.(NetworkServicesServer).ListMeshes(ctx, in) |
| 1868 |
} |
| 1869 |
info := &grpc.UnaryServerInfo{ |
| 1870 |
Server: srv, |
| 1871 |
FullMethod: NetworkServices_ListMeshes_FullMethodName, |
| 1872 |
} |
| 1873 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1874 |
return srv.(NetworkServicesServer).ListMeshes(ctx, req.(*ListMeshesRequest)) |
| 1875 |
} |
| 1876 |
return interceptor(ctx, in, info, handler) |
| 1877 |
} |
| 1878 |
|
| 1879 |
func _NetworkServices_GetMesh_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1880 |
in := new(GetMeshRequest) |
| 1881 |
if err := dec(in); err != nil { |
| 1882 |
return nil, err |
| 1883 |
} |
| 1884 |
if interceptor == nil { |
| 1885 |
return srv.(NetworkServicesServer).GetMesh(ctx, in) |
| 1886 |
} |
| 1887 |
info := &grpc.UnaryServerInfo{ |
| 1888 |
Server: srv, |
| 1889 |
FullMethod: NetworkServices_GetMesh_FullMethodName, |
| 1890 |
} |
| 1891 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1892 |
return srv.(NetworkServicesServer).GetMesh(ctx, req.(*GetMeshRequest)) |
| 1893 |
} |
| 1894 |
return interceptor(ctx, in, info, handler) |
| 1895 |
} |
| 1896 |
|
| 1897 |
func _NetworkServices_CreateMesh_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1898 |
in := new(CreateMeshRequest) |
| 1899 |
if err := dec(in); err != nil { |
| 1900 |
return nil, err |
| 1901 |
} |
| 1902 |
if interceptor == nil { |
| 1903 |
return srv.(NetworkServicesServer).CreateMesh(ctx, in) |
| 1904 |
} |
| 1905 |
info := &grpc.UnaryServerInfo{ |
| 1906 |
Server: srv, |
| 1907 |
FullMethod: NetworkServices_CreateMesh_FullMethodName, |
| 1908 |
} |
| 1909 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1910 |
return srv.(NetworkServicesServer).CreateMesh(ctx, req.(*CreateMeshRequest)) |
| 1911 |
} |
| 1912 |
return interceptor(ctx, in, info, handler) |
| 1913 |
} |
| 1914 |
|
| 1915 |
func _NetworkServices_UpdateMesh_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1916 |
in := new(UpdateMeshRequest) |
| 1917 |
if err := dec(in); err != nil { |
| 1918 |
return nil, err |
| 1919 |
} |
| 1920 |
if interceptor == nil { |
| 1921 |
return srv.(NetworkServicesServer).UpdateMesh(ctx, in) |
| 1922 |
} |
| 1923 |
info := &grpc.UnaryServerInfo{ |
| 1924 |
Server: srv, |
| 1925 |
FullMethod: NetworkServices_UpdateMesh_FullMethodName, |
| 1926 |
} |
| 1927 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1928 |
return srv.(NetworkServicesServer).UpdateMesh(ctx, req.(*UpdateMeshRequest)) |
| 1929 |
} |
| 1930 |
return interceptor(ctx, in, info, handler) |
| 1931 |
} |
| 1932 |
|
| 1933 |
func _NetworkServices_DeleteMesh_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1934 |
in := new(DeleteMeshRequest) |
| 1935 |
if err := dec(in); err != nil { |
| 1936 |
return nil, err |
| 1937 |
} |
| 1938 |
if interceptor == nil { |
| 1939 |
return srv.(NetworkServicesServer).DeleteMesh(ctx, in) |
| 1940 |
} |
| 1941 |
info := &grpc.UnaryServerInfo{ |
| 1942 |
Server: srv, |
| 1943 |
FullMethod: NetworkServices_DeleteMesh_FullMethodName, |
| 1944 |
} |
| 1945 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1946 |
return srv.(NetworkServicesServer).DeleteMesh(ctx, req.(*DeleteMeshRequest)) |
| 1947 |
} |
| 1948 |
return interceptor(ctx, in, info, handler) |
| 1949 |
} |
| 1950 |
|
| 1951 |
func _NetworkServices_ListServiceLbPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1952 |
in := new(ListServiceLbPoliciesRequest) |
| 1953 |
if err := dec(in); err != nil { |
| 1954 |
return nil, err |
| 1955 |
} |
| 1956 |
if interceptor == nil { |
| 1957 |
return srv.(NetworkServicesServer).ListServiceLbPolicies(ctx, in) |
| 1958 |
} |
| 1959 |
info := &grpc.UnaryServerInfo{ |
| 1960 |
Server: srv, |
| 1961 |
FullMethod: NetworkServices_ListServiceLbPolicies_FullMethodName, |
| 1962 |
} |
| 1963 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1964 |
return srv.(NetworkServicesServer).ListServiceLbPolicies(ctx, req.(*ListServiceLbPoliciesRequest)) |
| 1965 |
} |
| 1966 |
return interceptor(ctx, in, info, handler) |
| 1967 |
} |
| 1968 |
|
| 1969 |
func _NetworkServices_GetServiceLbPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1970 |
in := new(GetServiceLbPolicyRequest) |
| 1971 |
if err := dec(in); err != nil { |
| 1972 |
return nil, err |
| 1973 |
} |
| 1974 |
if interceptor == nil { |
| 1975 |
return srv.(NetworkServicesServer).GetServiceLbPolicy(ctx, in) |
| 1976 |
} |
| 1977 |
info := &grpc.UnaryServerInfo{ |
| 1978 |
Server: srv, |
| 1979 |
FullMethod: NetworkServices_GetServiceLbPolicy_FullMethodName, |
| 1980 |
} |
| 1981 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1982 |
return srv.(NetworkServicesServer).GetServiceLbPolicy(ctx, req.(*GetServiceLbPolicyRequest)) |
| 1983 |
} |
| 1984 |
return interceptor(ctx, in, info, handler) |
| 1985 |
} |
| 1986 |
|
| 1987 |
func _NetworkServices_CreateServiceLbPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1988 |
in := new(CreateServiceLbPolicyRequest) |
| 1989 |
if err := dec(in); err != nil { |
| 1990 |
return nil, err |
| 1991 |
} |
| 1992 |
if interceptor == nil { |
| 1993 |
return srv.(NetworkServicesServer).CreateServiceLbPolicy(ctx, in) |
| 1994 |
} |
| 1995 |
info := &grpc.UnaryServerInfo{ |
| 1996 |
Server: srv, |
| 1997 |
FullMethod: NetworkServices_CreateServiceLbPolicy_FullMethodName, |
| 1998 |
} |
| 1999 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2000 |
return srv.(NetworkServicesServer).CreateServiceLbPolicy(ctx, req.(*CreateServiceLbPolicyRequest)) |
| 2001 |
} |
| 2002 |
return interceptor(ctx, in, info, handler) |
| 2003 |
} |
| 2004 |
|
| 2005 |
func _NetworkServices_UpdateServiceLbPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2006 |
in := new(UpdateServiceLbPolicyRequest) |
| 2007 |
if err := dec(in); err != nil { |
| 2008 |
return nil, err |
| 2009 |
} |
| 2010 |
if interceptor == nil { |
| 2011 |
return srv.(NetworkServicesServer).UpdateServiceLbPolicy(ctx, in) |
| 2012 |
} |
| 2013 |
info := &grpc.UnaryServerInfo{ |
| 2014 |
Server: srv, |
| 2015 |
FullMethod: NetworkServices_UpdateServiceLbPolicy_FullMethodName, |
| 2016 |
} |
| 2017 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2018 |
return srv.(NetworkServicesServer).UpdateServiceLbPolicy(ctx, req.(*UpdateServiceLbPolicyRequest)) |
| 2019 |
} |
| 2020 |
return interceptor(ctx, in, info, handler) |
| 2021 |
} |
| 2022 |
|
| 2023 |
func _NetworkServices_DeleteServiceLbPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2024 |
in := new(DeleteServiceLbPolicyRequest) |
| 2025 |
if err := dec(in); err != nil { |
| 2026 |
return nil, err |
| 2027 |
} |
| 2028 |
if interceptor == nil { |
| 2029 |
return srv.(NetworkServicesServer).DeleteServiceLbPolicy(ctx, in) |
| 2030 |
} |
| 2031 |
info := &grpc.UnaryServerInfo{ |
| 2032 |
Server: srv, |
| 2033 |
FullMethod: NetworkServices_DeleteServiceLbPolicy_FullMethodName, |
| 2034 |
} |
| 2035 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2036 |
return srv.(NetworkServicesServer).DeleteServiceLbPolicy(ctx, req.(*DeleteServiceLbPolicyRequest)) |
| 2037 |
} |
| 2038 |
return interceptor(ctx, in, info, handler) |
| 2039 |
} |
| 2040 |
|
| 2041 |
func _NetworkServices_GetGatewayRouteView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2042 |
in := new(GetGatewayRouteViewRequest) |
| 2043 |
if err := dec(in); err != nil { |
| 2044 |
return nil, err |
| 2045 |
} |
| 2046 |
if interceptor == nil { |
| 2047 |
return srv.(NetworkServicesServer).GetGatewayRouteView(ctx, in) |
| 2048 |
} |
| 2049 |
info := &grpc.UnaryServerInfo{ |
| 2050 |
Server: srv, |
| 2051 |
FullMethod: NetworkServices_GetGatewayRouteView_FullMethodName, |
| 2052 |
} |
| 2053 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2054 |
return srv.(NetworkServicesServer).GetGatewayRouteView(ctx, req.(*GetGatewayRouteViewRequest)) |
| 2055 |
} |
| 2056 |
return interceptor(ctx, in, info, handler) |
| 2057 |
} |
| 2058 |
|
| 2059 |
func _NetworkServices_GetMeshRouteView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2060 |
in := new(GetMeshRouteViewRequest) |
| 2061 |
if err := dec(in); err != nil { |
| 2062 |
return nil, err |
| 2063 |
} |
| 2064 |
if interceptor == nil { |
| 2065 |
return srv.(NetworkServicesServer).GetMeshRouteView(ctx, in) |
| 2066 |
} |
| 2067 |
info := &grpc.UnaryServerInfo{ |
| 2068 |
Server: srv, |
| 2069 |
FullMethod: NetworkServices_GetMeshRouteView_FullMethodName, |
| 2070 |
} |
| 2071 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2072 |
return srv.(NetworkServicesServer).GetMeshRouteView(ctx, req.(*GetMeshRouteViewRequest)) |
| 2073 |
} |
| 2074 |
return interceptor(ctx, in, info, handler) |
| 2075 |
} |
| 2076 |
|
| 2077 |
func _NetworkServices_ListGatewayRouteViews_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2078 |
in := new(ListGatewayRouteViewsRequest) |
| 2079 |
if err := dec(in); err != nil { |
| 2080 |
return nil, err |
| 2081 |
} |
| 2082 |
if interceptor == nil { |
| 2083 |
return srv.(NetworkServicesServer).ListGatewayRouteViews(ctx, in) |
| 2084 |
} |
| 2085 |
info := &grpc.UnaryServerInfo{ |
| 2086 |
Server: srv, |
| 2087 |
FullMethod: NetworkServices_ListGatewayRouteViews_FullMethodName, |
| 2088 |
} |
| 2089 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2090 |
return srv.(NetworkServicesServer).ListGatewayRouteViews(ctx, req.(*ListGatewayRouteViewsRequest)) |
| 2091 |
} |
| 2092 |
return interceptor(ctx, in, info, handler) |
| 2093 |
} |
| 2094 |
|
| 2095 |
func _NetworkServices_ListMeshRouteViews_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2096 |
in := new(ListMeshRouteViewsRequest) |
| 2097 |
if err := dec(in); err != nil { |
| 2098 |
return nil, err |
| 2099 |
} |
| 2100 |
if interceptor == nil { |
| 2101 |
return srv.(NetworkServicesServer).ListMeshRouteViews(ctx, in) |
| 2102 |
} |
| 2103 |
info := &grpc.UnaryServerInfo{ |
| 2104 |
Server: srv, |
| 2105 |
FullMethod: NetworkServices_ListMeshRouteViews_FullMethodName, |
| 2106 |
} |
| 2107 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2108 |
return srv.(NetworkServicesServer).ListMeshRouteViews(ctx, req.(*ListMeshRouteViewsRequest)) |
| 2109 |
} |
| 2110 |
return interceptor(ctx, in, info, handler) |
| 2111 |
} |
| 2112 |
|
| 2113 |
// NetworkServices_ServiceDesc is the grpc.ServiceDesc for NetworkServices service. |
| 2114 |
// It's only intended for direct use with grpc.RegisterService, |
| 2115 |
// and not to be introspected or modified (even as a copy) |
| 2116 |
var NetworkServices_ServiceDesc = grpc.ServiceDesc{ |
| 2117 |
ServiceName: "google.cloud.networkservices.v1.NetworkServices", |
| 2118 |
HandlerType: (*NetworkServicesServer)(nil), |
| 2119 |
Methods: []grpc.MethodDesc{ |
| 2120 |
{ |
| 2121 |
MethodName: "ListEndpointPolicies", |
| 2122 |
Handler: _NetworkServices_ListEndpointPolicies_Handler, |
| 2123 |
}, |
| 2124 |
{ |
| 2125 |
MethodName: "GetEndpointPolicy", |
| 2126 |
Handler: _NetworkServices_GetEndpointPolicy_Handler, |
| 2127 |
}, |
| 2128 |
{ |
| 2129 |
MethodName: "CreateEndpointPolicy", |
| 2130 |
Handler: _NetworkServices_CreateEndpointPolicy_Handler, |
| 2131 |
}, |
| 2132 |
{ |
| 2133 |
MethodName: "UpdateEndpointPolicy", |
| 2134 |
Handler: _NetworkServices_UpdateEndpointPolicy_Handler, |
| 2135 |
}, |
| 2136 |
{ |
| 2137 |
MethodName: "DeleteEndpointPolicy", |
| 2138 |
Handler: _NetworkServices_DeleteEndpointPolicy_Handler, |
| 2139 |
}, |
| 2140 |
{ |
| 2141 |
MethodName: "ListWasmPluginVersions", |
| 2142 |
Handler: _NetworkServices_ListWasmPluginVersions_Handler, |
| 2143 |
}, |
| 2144 |
{ |
| 2145 |
MethodName: "GetWasmPluginVersion", |
| 2146 |
Handler: _NetworkServices_GetWasmPluginVersion_Handler, |
| 2147 |
}, |
| 2148 |
{ |
| 2149 |
MethodName: "CreateWasmPluginVersion", |
| 2150 |
Handler: _NetworkServices_CreateWasmPluginVersion_Handler, |
| 2151 |
}, |
| 2152 |
{ |
| 2153 |
MethodName: "DeleteWasmPluginVersion", |
| 2154 |
Handler: _NetworkServices_DeleteWasmPluginVersion_Handler, |
| 2155 |
}, |
| 2156 |
{ |
| 2157 |
MethodName: "ListWasmPlugins", |
| 2158 |
Handler: _NetworkServices_ListWasmPlugins_Handler, |
| 2159 |
}, |
| 2160 |
{ |
| 2161 |
MethodName: "GetWasmPlugin", |
| 2162 |
Handler: _NetworkServices_GetWasmPlugin_Handler, |
| 2163 |
}, |
| 2164 |
{ |
| 2165 |
MethodName: "CreateWasmPlugin", |
| 2166 |
Handler: _NetworkServices_CreateWasmPlugin_Handler, |
| 2167 |
}, |
| 2168 |
{ |
| 2169 |
MethodName: "UpdateWasmPlugin", |
| 2170 |
Handler: _NetworkServices_UpdateWasmPlugin_Handler, |
| 2171 |
}, |
| 2172 |
{ |
| 2173 |
MethodName: "DeleteWasmPlugin", |
| 2174 |
Handler: _NetworkServices_DeleteWasmPlugin_Handler, |
| 2175 |
}, |
| 2176 |
{ |
| 2177 |
MethodName: "ListGateways", |
| 2178 |
Handler: _NetworkServices_ListGateways_Handler, |
| 2179 |
}, |
| 2180 |
{ |
| 2181 |
MethodName: "GetGateway", |
| 2182 |
Handler: _NetworkServices_GetGateway_Handler, |
| 2183 |
}, |
| 2184 |
{ |
| 2185 |
MethodName: "CreateGateway", |
| 2186 |
Handler: _NetworkServices_CreateGateway_Handler, |
| 2187 |
}, |
| 2188 |
{ |
| 2189 |
MethodName: "UpdateGateway", |
| 2190 |
Handler: _NetworkServices_UpdateGateway_Handler, |
| 2191 |
}, |
| 2192 |
{ |
| 2193 |
MethodName: "DeleteGateway", |
| 2194 |
Handler: _NetworkServices_DeleteGateway_Handler, |
| 2195 |
}, |
| 2196 |
{ |
| 2197 |
MethodName: "ListGrpcRoutes", |
| 2198 |
Handler: _NetworkServices_ListGrpcRoutes_Handler, |
| 2199 |
}, |
| 2200 |
{ |
| 2201 |
MethodName: "GetGrpcRoute", |
| 2202 |
Handler: _NetworkServices_GetGrpcRoute_Handler, |
| 2203 |
}, |
| 2204 |
{ |
| 2205 |
MethodName: "CreateGrpcRoute", |
| 2206 |
Handler: _NetworkServices_CreateGrpcRoute_Handler, |
| 2207 |
}, |
| 2208 |
{ |
| 2209 |
MethodName: "UpdateGrpcRoute", |
| 2210 |
Handler: _NetworkServices_UpdateGrpcRoute_Handler, |
| 2211 |
}, |
| 2212 |
{ |
| 2213 |
MethodName: "DeleteGrpcRoute", |
| 2214 |
Handler: _NetworkServices_DeleteGrpcRoute_Handler, |
| 2215 |
}, |
| 2216 |
{ |
| 2217 |
MethodName: "ListHttpRoutes", |
| 2218 |
Handler: _NetworkServices_ListHttpRoutes_Handler, |
| 2219 |
}, |
| 2220 |
{ |
| 2221 |
MethodName: "GetHttpRoute", |
| 2222 |
Handler: _NetworkServices_GetHttpRoute_Handler, |
| 2223 |
}, |
| 2224 |
{ |
| 2225 |
MethodName: "CreateHttpRoute", |
| 2226 |
Handler: _NetworkServices_CreateHttpRoute_Handler, |
| 2227 |
}, |
| 2228 |
{ |
| 2229 |
MethodName: "UpdateHttpRoute", |
| 2230 |
Handler: _NetworkServices_UpdateHttpRoute_Handler, |
| 2231 |
}, |
| 2232 |
{ |
| 2233 |
MethodName: "DeleteHttpRoute", |
| 2234 |
Handler: _NetworkServices_DeleteHttpRoute_Handler, |
| 2235 |
}, |
| 2236 |
{ |
| 2237 |
MethodName: "ListTcpRoutes", |
| 2238 |
Handler: _NetworkServices_ListTcpRoutes_Handler, |
| 2239 |
}, |
| 2240 |
{ |
| 2241 |
MethodName: "GetTcpRoute", |
| 2242 |
Handler: _NetworkServices_GetTcpRoute_Handler, |
| 2243 |
}, |
| 2244 |
{ |
| 2245 |
MethodName: "CreateTcpRoute", |
| 2246 |
Handler: _NetworkServices_CreateTcpRoute_Handler, |
| 2247 |
}, |
| 2248 |
{ |
| 2249 |
MethodName: "UpdateTcpRoute", |
| 2250 |
Handler: _NetworkServices_UpdateTcpRoute_Handler, |
| 2251 |
}, |
| 2252 |
{ |
| 2253 |
MethodName: "DeleteTcpRoute", |
| 2254 |
Handler: _NetworkServices_DeleteTcpRoute_Handler, |
| 2255 |
}, |
| 2256 |
{ |
| 2257 |
MethodName: "ListTlsRoutes", |
| 2258 |
Handler: _NetworkServices_ListTlsRoutes_Handler, |
| 2259 |
}, |
| 2260 |
{ |
| 2261 |
MethodName: "GetTlsRoute", |
| 2262 |
Handler: _NetworkServices_GetTlsRoute_Handler, |
| 2263 |
}, |
| 2264 |
{ |
| 2265 |
MethodName: "CreateTlsRoute", |
| 2266 |
Handler: _NetworkServices_CreateTlsRoute_Handler, |
| 2267 |
}, |
| 2268 |
{ |
| 2269 |
MethodName: "UpdateTlsRoute", |
| 2270 |
Handler: _NetworkServices_UpdateTlsRoute_Handler, |
| 2271 |
}, |
| 2272 |
{ |
| 2273 |
MethodName: "DeleteTlsRoute", |
| 2274 |
Handler: _NetworkServices_DeleteTlsRoute_Handler, |
| 2275 |
}, |
| 2276 |
{ |
| 2277 |
MethodName: "ListServiceBindings", |
| 2278 |
Handler: _NetworkServices_ListServiceBindings_Handler, |
| 2279 |
}, |
| 2280 |
{ |
| 2281 |
MethodName: "GetServiceBinding", |
| 2282 |
Handler: _NetworkServices_GetServiceBinding_Handler, |
| 2283 |
}, |
| 2284 |
{ |
| 2285 |
MethodName: "CreateServiceBinding", |
| 2286 |
Handler: _NetworkServices_CreateServiceBinding_Handler, |
| 2287 |
}, |
| 2288 |
{ |
| 2289 |
MethodName: "UpdateServiceBinding", |
| 2290 |
Handler: _NetworkServices_UpdateServiceBinding_Handler, |
| 2291 |
}, |
| 2292 |
{ |
| 2293 |
MethodName: "DeleteServiceBinding", |
| 2294 |
Handler: _NetworkServices_DeleteServiceBinding_Handler, |
| 2295 |
}, |
| 2296 |
{ |
| 2297 |
MethodName: "ListMeshes", |
| 2298 |
Handler: _NetworkServices_ListMeshes_Handler, |
| 2299 |
}, |
| 2300 |
{ |
| 2301 |
MethodName: "GetMesh", |
| 2302 |
Handler: _NetworkServices_GetMesh_Handler, |
| 2303 |
}, |
| 2304 |
{ |
| 2305 |
MethodName: "CreateMesh", |
| 2306 |
Handler: _NetworkServices_CreateMesh_Handler, |
| 2307 |
}, |
| 2308 |
{ |
| 2309 |
MethodName: "UpdateMesh", |
| 2310 |
Handler: _NetworkServices_UpdateMesh_Handler, |
| 2311 |
}, |
| 2312 |
{ |
| 2313 |
MethodName: "DeleteMesh", |
| 2314 |
Handler: _NetworkServices_DeleteMesh_Handler, |
| 2315 |
}, |
| 2316 |
{ |
| 2317 |
MethodName: "ListServiceLbPolicies", |
| 2318 |
Handler: _NetworkServices_ListServiceLbPolicies_Handler, |
| 2319 |
}, |
| 2320 |
{ |
| 2321 |
MethodName: "GetServiceLbPolicy", |
| 2322 |
Handler: _NetworkServices_GetServiceLbPolicy_Handler, |
| 2323 |
}, |
| 2324 |
{ |
| 2325 |
MethodName: "CreateServiceLbPolicy", |
| 2326 |
Handler: _NetworkServices_CreateServiceLbPolicy_Handler, |
| 2327 |
}, |
| 2328 |
{ |
| 2329 |
MethodName: "UpdateServiceLbPolicy", |
| 2330 |
Handler: _NetworkServices_UpdateServiceLbPolicy_Handler, |
| 2331 |
}, |
| 2332 |
{ |
| 2333 |
MethodName: "DeleteServiceLbPolicy", |
| 2334 |
Handler: _NetworkServices_DeleteServiceLbPolicy_Handler, |
| 2335 |
}, |
| 2336 |
{ |
| 2337 |
MethodName: "GetGatewayRouteView", |
| 2338 |
Handler: _NetworkServices_GetGatewayRouteView_Handler, |
| 2339 |
}, |
| 2340 |
{ |
| 2341 |
MethodName: "GetMeshRouteView", |
| 2342 |
Handler: _NetworkServices_GetMeshRouteView_Handler, |
| 2343 |
}, |
| 2344 |
{ |
| 2345 |
MethodName: "ListGatewayRouteViews", |
| 2346 |
Handler: _NetworkServices_ListGatewayRouteViews_Handler, |
| 2347 |
}, |
| 2348 |
{ |
| 2349 |
MethodName: "ListMeshRouteViews", |
| 2350 |
Handler: _NetworkServices_ListMeshRouteViews_Handler, |
| 2351 |
}, |
| 2352 |
}, |
| 2353 |
Streams: []grpc.StreamDesc{}, |
| 2354 |
Metadata: "google/cloud/networkservices/v1/network_services.proto", |
| 2355 |
} |