| 1 | // Copyright 2024 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 aliasgen. DO NOT EDIT. |
| 16 | |
| 17 | // Package gateway aliases all exported identifiers in package |
| 18 | // "cloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb". |
| 19 | // |
| 20 | // Deprecated: Please use types in: cloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb. |
| 21 | // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 | // for more details. |
| 23 | package gateway |
| 24 | |
| 25 | import ( |
| 26 | src "cloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb" |
| 27 | grpc "google.golang.org/grpc" |
| 28 | ) |
| 29 | |
| 30 | // Deprecated: Please use consts in: cloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb |
| 31 | const ( |
| 32 | GenerateCredentialsRequest_OPERATING_SYSTEM_UNSPECIFIED = src.GenerateCredentialsRequest_OPERATING_SYSTEM_UNSPECIFIED |
| 33 | GenerateCredentialsRequest_OPERATING_SYSTEM_WINDOWS = src.GenerateCredentialsRequest_OPERATING_SYSTEM_WINDOWS |
| 34 | ) |
| 35 | |
| 36 | // Deprecated: Please use vars in: cloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb |
| 37 | var ( |
| 38 | File_google_cloud_gkeconnect_gateway_v1beta1_control_proto = src.File_google_cloud_gkeconnect_gateway_v1beta1_control_proto |
| 39 | GenerateCredentialsRequest_OperatingSystem_name = src.GenerateCredentialsRequest_OperatingSystem_name |
| 40 | GenerateCredentialsRequest_OperatingSystem_value = src.GenerateCredentialsRequest_OperatingSystem_value |
| 41 | ) |
| 42 | |
| 43 | // GatewayControlClient is the client API for GatewayControl service. For |
| 44 | // semantics around ctx use and closing/ending streaming RPCs, please refer to |
| 45 | // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 46 | // |
| 47 | // Deprecated: Please use types in: cloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb |
| 48 | type GatewayControlClient = src.GatewayControlClient |
| 49 | |
| 50 | // GatewayControlServer is the server API for GatewayControl service. |
| 51 | // |
| 52 | // Deprecated: Please use types in: cloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb |
| 53 | type GatewayControlServer = src.GatewayControlServer |
| 54 | |
| 55 | // A request for connection information for a particular membership. |
| 56 | // |
| 57 | // Deprecated: Please use types in: cloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb |
| 58 | type GenerateCredentialsRequest = src.GenerateCredentialsRequest |
| 59 | |
| 60 | // Operating systems requiring specialized kubeconfigs. |
| 61 | // |
| 62 | // Deprecated: Please use types in: cloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb |
| 63 | type GenerateCredentialsRequest_OperatingSystem = src.GenerateCredentialsRequest_OperatingSystem |
| 64 | |
| 65 | // Connection information for a particular membership. |
| 66 | // |
| 67 | // Deprecated: Please use types in: cloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb |
| 68 | type GenerateCredentialsResponse = src.GenerateCredentialsResponse |
| 69 | |
| 70 | // UnimplementedGatewayControlServer can be embedded to have forward |
| 71 | // compatible implementations. |
| 72 | // |
| 73 | // Deprecated: Please use types in: cloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb |
| 74 | type UnimplementedGatewayControlServer = src.UnimplementedGatewayControlServer |
| 75 | |
| 76 | // Deprecated: Please use funcs in: cloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb |
| 77 | func NewGatewayControlClient(cc grpc.ClientConnInterface) GatewayControlClient { |
| 78 | return src.NewGatewayControlClient(cc) |
| 79 | } |
| 80 | |
| 81 | // Deprecated: Please use funcs in: cloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb |
| 82 | func RegisterGatewayControlServer(s *grpc.Server, srv GatewayControlServer) { |
| 83 | src.RegisterGatewayControlServer(s, srv) |
| 84 | } |