| 1 |
/* |
| 2 |
Copyright The Kubernetes Authors. |
| 3 |
|
| 4 |
Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 |
you may not use this file except in compliance with the License. |
| 6 |
You may obtain a copy of the License at |
| 7 |
|
| 8 |
http://www.apache.org/licenses/LICENSE-2.0 |
| 9 |
|
| 10 |
Unless required by applicable law or agreed to in writing, software |
| 11 |
distributed under the License is distributed on an "AS IS" BASIS, |
| 12 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 |
See the License for the specific language governing permissions and |
| 14 |
limitations under the License. |
| 15 |
*/ |
| 16 |
|
| 17 |
// |
| 18 |
//Copyright 2018 The Kubernetes Authors. |
| 19 |
// |
| 20 |
//Licensed under the Apache License, Version 2.0 (the "License"); |
| 21 |
//you may not use this file except in compliance with the License. |
| 22 |
//You may obtain a copy of the License at |
| 23 |
// |
| 24 |
//http://www.apache.org/licenses/LICENSE-2.0 |
| 25 |
// |
| 26 |
//Unless required by applicable law or agreed to in writing, software |
| 27 |
//distributed under the License is distributed on an "AS IS" BASIS, |
| 28 |
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 29 |
//See the License for the specific language governing permissions and |
| 30 |
//limitations under the License. |
| 31 |
|
| 32 |
// To regenerate api.pb.go run `hack/update-codegen.sh protobindings` |
| 33 |
|
| 34 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 35 |
// versions: |
| 36 |
// protoc-gen-go v1.36.4 |
| 37 |
// protoc v4.23.4 |
| 38 |
// staging/src/k8s.io/kms/apis/v1beta1/api.proto is a deprecated file. |
| 39 |
|
| 40 |
package v1beta1 |
| 41 |
|
| 42 |
import ( |
| 43 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 44 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 45 |
reflect "reflect" |
| 46 |
sync "sync" |
| 47 |
unsafe "unsafe" |
| 48 |
) |
| 49 |
|
| 50 |
const ( |
| 51 |
// Verify that this generated code is sufficiently up-to-date. |
| 52 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 53 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 54 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 55 |
) |
| 56 |
|
| 57 |
// Deprecated: KMSv1 is deprecated in v1.28 and will only receive security updates going forward. Use KMSv2 instead. |
| 58 |
// |
| 59 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 60 |
type VersionRequest struct { |
| 61 |
state protoimpl.MessageState `protogen:"open.v1"` |
| 62 |
// Version of the KMS plugin API. |
| 63 |
// |
| 64 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 65 |
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| 66 |
unknownFields protoimpl.UnknownFields |
| 67 |
sizeCache protoimpl.SizeCache |
| 68 |
} |
| 69 |
|
| 70 |
func (x *VersionRequest) Reset() { |
| 71 |
*x = VersionRequest{} |
| 72 |
mi := &file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_msgTypes[0] |
| 73 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 74 |
ms.StoreMessageInfo(mi) |
| 75 |
} |
| 76 |
|
| 77 |
func (x *VersionRequest) String() string { |
| 78 |
return protoimpl.X.MessageStringOf(x) |
| 79 |
} |
| 80 |
|
| 81 |
func (*VersionRequest) ProtoMessage() {} |
| 82 |
|
| 83 |
func (x *VersionRequest) ProtoReflect() protoreflect.Message { |
| 84 |
mi := &file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_msgTypes[0] |
| 85 |
if x != nil { |
| 86 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 87 |
if ms.LoadMessageInfo() == nil { |
| 88 |
ms.StoreMessageInfo(mi) |
| 89 |
} |
| 90 |
return ms |
| 91 |
} |
| 92 |
return mi.MessageOf(x) |
| 93 |
} |
| 94 |
|
| 95 |
// Deprecated: Use VersionRequest.ProtoReflect.Descriptor instead. |
| 96 |
func (*VersionRequest) Descriptor() ([]byte, []int) { |
| 97 |
return file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_rawDescGZIP(), []int{0} |
| 98 |
} |
| 99 |
|
| 100 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 101 |
func (x *VersionRequest) GetVersion() string { |
| 102 |
if x != nil { |
| 103 |
return x.Version |
| 104 |
} |
| 105 |
return "" |
| 106 |
} |
| 107 |
|
| 108 |
// Deprecated: KMSv1 is deprecated in v1.28 and will only receive security updates going forward. Use KMSv2 instead. |
| 109 |
// |
| 110 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 111 |
type VersionResponse struct { |
| 112 |
state protoimpl.MessageState `protogen:"open.v1"` |
| 113 |
// Version of the KMS plugin API. |
| 114 |
// |
| 115 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 116 |
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| 117 |
// Name of the KMS provider. |
| 118 |
// |
| 119 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 120 |
RuntimeName string `protobuf:"bytes,2,opt,name=runtime_name,json=runtimeName,proto3" json:"runtime_name,omitempty"` |
| 121 |
// Version of the KMS provider. The string must be semver-compatible. |
| 122 |
// |
| 123 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 124 |
RuntimeVersion string `protobuf:"bytes,3,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"` |
| 125 |
unknownFields protoimpl.UnknownFields |
| 126 |
sizeCache protoimpl.SizeCache |
| 127 |
} |
| 128 |
|
| 129 |
func (x *VersionResponse) Reset() { |
| 130 |
*x = VersionResponse{} |
| 131 |
mi := &file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_msgTypes[1] |
| 132 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 133 |
ms.StoreMessageInfo(mi) |
| 134 |
} |
| 135 |
|
| 136 |
func (x *VersionResponse) String() string { |
| 137 |
return protoimpl.X.MessageStringOf(x) |
| 138 |
} |
| 139 |
|
| 140 |
func (*VersionResponse) ProtoMessage() {} |
| 141 |
|
| 142 |
func (x *VersionResponse) ProtoReflect() protoreflect.Message { |
| 143 |
mi := &file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_msgTypes[1] |
| 144 |
if x != nil { |
| 145 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 146 |
if ms.LoadMessageInfo() == nil { |
| 147 |
ms.StoreMessageInfo(mi) |
| 148 |
} |
| 149 |
return ms |
| 150 |
} |
| 151 |
return mi.MessageOf(x) |
| 152 |
} |
| 153 |
|
| 154 |
// Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead. |
| 155 |
func (*VersionResponse) Descriptor() ([]byte, []int) { |
| 156 |
return file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_rawDescGZIP(), []int{1} |
| 157 |
} |
| 158 |
|
| 159 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 160 |
func (x *VersionResponse) GetVersion() string { |
| 161 |
if x != nil { |
| 162 |
return x.Version |
| 163 |
} |
| 164 |
return "" |
| 165 |
} |
| 166 |
|
| 167 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 168 |
func (x *VersionResponse) GetRuntimeName() string { |
| 169 |
if x != nil { |
| 170 |
return x.RuntimeName |
| 171 |
} |
| 172 |
return "" |
| 173 |
} |
| 174 |
|
| 175 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 176 |
func (x *VersionResponse) GetRuntimeVersion() string { |
| 177 |
if x != nil { |
| 178 |
return x.RuntimeVersion |
| 179 |
} |
| 180 |
return "" |
| 181 |
} |
| 182 |
|
| 183 |
// Deprecated: KMSv1 is deprecated in v1.28 and will only receive security updates going forward. Use KMSv2 instead. |
| 184 |
// |
| 185 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 186 |
type DecryptRequest struct { |
| 187 |
state protoimpl.MessageState `protogen:"open.v1"` |
| 188 |
// Version of the KMS plugin API. |
| 189 |
// |
| 190 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 191 |
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| 192 |
// The data to be decrypted. |
| 193 |
// |
| 194 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 195 |
Cipher []byte `protobuf:"bytes,2,opt,name=cipher,proto3" json:"cipher,omitempty"` |
| 196 |
unknownFields protoimpl.UnknownFields |
| 197 |
sizeCache protoimpl.SizeCache |
| 198 |
} |
| 199 |
|
| 200 |
func (x *DecryptRequest) Reset() { |
| 201 |
*x = DecryptRequest{} |
| 202 |
mi := &file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_msgTypes[2] |
| 203 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 204 |
ms.StoreMessageInfo(mi) |
| 205 |
} |
| 206 |
|
| 207 |
func (x *DecryptRequest) String() string { |
| 208 |
return protoimpl.X.MessageStringOf(x) |
| 209 |
} |
| 210 |
|
| 211 |
func (*DecryptRequest) ProtoMessage() {} |
| 212 |
|
| 213 |
func (x *DecryptRequest) ProtoReflect() protoreflect.Message { |
| 214 |
mi := &file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_msgTypes[2] |
| 215 |
if x != nil { |
| 216 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 217 |
if ms.LoadMessageInfo() == nil { |
| 218 |
ms.StoreMessageInfo(mi) |
| 219 |
} |
| 220 |
return ms |
| 221 |
} |
| 222 |
return mi.MessageOf(x) |
| 223 |
} |
| 224 |
|
| 225 |
// Deprecated: Use DecryptRequest.ProtoReflect.Descriptor instead. |
| 226 |
func (*DecryptRequest) Descriptor() ([]byte, []int) { |
| 227 |
return file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_rawDescGZIP(), []int{2} |
| 228 |
} |
| 229 |
|
| 230 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 231 |
func (x *DecryptRequest) GetVersion() string { |
| 232 |
if x != nil { |
| 233 |
return x.Version |
| 234 |
} |
| 235 |
return "" |
| 236 |
} |
| 237 |
|
| 238 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 239 |
func (x *DecryptRequest) GetCipher() []byte { |
| 240 |
if x != nil { |
| 241 |
return x.Cipher |
| 242 |
} |
| 243 |
return nil |
| 244 |
} |
| 245 |
|
| 246 |
// Deprecated: KMSv1 is deprecated in v1.28 and will only receive security updates going forward. Use KMSv2 instead. |
| 247 |
// |
| 248 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 249 |
type DecryptResponse struct { |
| 250 |
state protoimpl.MessageState `protogen:"open.v1"` |
| 251 |
// The decrypted data. |
| 252 |
// |
| 253 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 254 |
Plain []byte `protobuf:"bytes,1,opt,name=plain,proto3" json:"plain,omitempty"` |
| 255 |
unknownFields protoimpl.UnknownFields |
| 256 |
sizeCache protoimpl.SizeCache |
| 257 |
} |
| 258 |
|
| 259 |
func (x *DecryptResponse) Reset() { |
| 260 |
*x = DecryptResponse{} |
| 261 |
mi := &file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_msgTypes[3] |
| 262 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 263 |
ms.StoreMessageInfo(mi) |
| 264 |
} |
| 265 |
|
| 266 |
func (x *DecryptResponse) String() string { |
| 267 |
return protoimpl.X.MessageStringOf(x) |
| 268 |
} |
| 269 |
|
| 270 |
func (*DecryptResponse) ProtoMessage() {} |
| 271 |
|
| 272 |
func (x *DecryptResponse) ProtoReflect() protoreflect.Message { |
| 273 |
mi := &file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_msgTypes[3] |
| 274 |
if x != nil { |
| 275 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 276 |
if ms.LoadMessageInfo() == nil { |
| 277 |
ms.StoreMessageInfo(mi) |
| 278 |
} |
| 279 |
return ms |
| 280 |
} |
| 281 |
return mi.MessageOf(x) |
| 282 |
} |
| 283 |
|
| 284 |
// Deprecated: Use DecryptResponse.ProtoReflect.Descriptor instead. |
| 285 |
func (*DecryptResponse) Descriptor() ([]byte, []int) { |
| 286 |
return file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_rawDescGZIP(), []int{3} |
| 287 |
} |
| 288 |
|
| 289 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 290 |
func (x *DecryptResponse) GetPlain() []byte { |
| 291 |
if x != nil { |
| 292 |
return x.Plain |
| 293 |
} |
| 294 |
return nil |
| 295 |
} |
| 296 |
|
| 297 |
// Deprecated: KMSv1 is deprecated in v1.28 and will only receive security updates going forward. Use KMSv2 instead. |
| 298 |
// |
| 299 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 300 |
type EncryptRequest struct { |
| 301 |
state protoimpl.MessageState `protogen:"open.v1"` |
| 302 |
// Version of the KMS plugin API. |
| 303 |
// |
| 304 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 305 |
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| 306 |
// The data to be encrypted. |
| 307 |
// |
| 308 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 309 |
Plain []byte `protobuf:"bytes,2,opt,name=plain,proto3" json:"plain,omitempty"` |
| 310 |
unknownFields protoimpl.UnknownFields |
| 311 |
sizeCache protoimpl.SizeCache |
| 312 |
} |
| 313 |
|
| 314 |
func (x *EncryptRequest) Reset() { |
| 315 |
*x = EncryptRequest{} |
| 316 |
mi := &file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_msgTypes[4] |
| 317 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 318 |
ms.StoreMessageInfo(mi) |
| 319 |
} |
| 320 |
|
| 321 |
func (x *EncryptRequest) String() string { |
| 322 |
return protoimpl.X.MessageStringOf(x) |
| 323 |
} |
| 324 |
|
| 325 |
func (*EncryptRequest) ProtoMessage() {} |
| 326 |
|
| 327 |
func (x *EncryptRequest) ProtoReflect() protoreflect.Message { |
| 328 |
mi := &file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_msgTypes[4] |
| 329 |
if x != nil { |
| 330 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 331 |
if ms.LoadMessageInfo() == nil { |
| 332 |
ms.StoreMessageInfo(mi) |
| 333 |
} |
| 334 |
return ms |
| 335 |
} |
| 336 |
return mi.MessageOf(x) |
| 337 |
} |
| 338 |
|
| 339 |
// Deprecated: Use EncryptRequest.ProtoReflect.Descriptor instead. |
| 340 |
func (*EncryptRequest) Descriptor() ([]byte, []int) { |
| 341 |
return file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_rawDescGZIP(), []int{4} |
| 342 |
} |
| 343 |
|
| 344 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 345 |
func (x *EncryptRequest) GetVersion() string { |
| 346 |
if x != nil { |
| 347 |
return x.Version |
| 348 |
} |
| 349 |
return "" |
| 350 |
} |
| 351 |
|
| 352 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 353 |
func (x *EncryptRequest) GetPlain() []byte { |
| 354 |
if x != nil { |
| 355 |
return x.Plain |
| 356 |
} |
| 357 |
return nil |
| 358 |
} |
| 359 |
|
| 360 |
// Deprecated: KMSv1 is deprecated in v1.28 and will only receive security updates going forward. Use KMSv2 instead. |
| 361 |
// |
| 362 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 363 |
type EncryptResponse struct { |
| 364 |
state protoimpl.MessageState `protogen:"open.v1"` |
| 365 |
// The encrypted data. |
| 366 |
// |
| 367 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 368 |
Cipher []byte `protobuf:"bytes,1,opt,name=cipher,proto3" json:"cipher,omitempty"` |
| 369 |
unknownFields protoimpl.UnknownFields |
| 370 |
sizeCache protoimpl.SizeCache |
| 371 |
} |
| 372 |
|
| 373 |
func (x *EncryptResponse) Reset() { |
| 374 |
*x = EncryptResponse{} |
| 375 |
mi := &file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_msgTypes[5] |
| 376 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 377 |
ms.StoreMessageInfo(mi) |
| 378 |
} |
| 379 |
|
| 380 |
func (x *EncryptResponse) String() string { |
| 381 |
return protoimpl.X.MessageStringOf(x) |
| 382 |
} |
| 383 |
|
| 384 |
func (*EncryptResponse) ProtoMessage() {} |
| 385 |
|
| 386 |
func (x *EncryptResponse) ProtoReflect() protoreflect.Message { |
| 387 |
mi := &file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_msgTypes[5] |
| 388 |
if x != nil { |
| 389 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 390 |
if ms.LoadMessageInfo() == nil { |
| 391 |
ms.StoreMessageInfo(mi) |
| 392 |
} |
| 393 |
return ms |
| 394 |
} |
| 395 |
return mi.MessageOf(x) |
| 396 |
} |
| 397 |
|
| 398 |
// Deprecated: Use EncryptResponse.ProtoReflect.Descriptor instead. |
| 399 |
func (*EncryptResponse) Descriptor() ([]byte, []int) { |
| 400 |
return file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_rawDescGZIP(), []int{5} |
| 401 |
} |
| 402 |
|
| 403 |
// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated. |
| 404 |
func (x *EncryptResponse) GetCipher() []byte { |
| 405 |
if x != nil { |
| 406 |
return x.Cipher |
| 407 |
} |
| 408 |
return nil |
| 409 |
} |
| 410 |
|
| 411 |
var File_staging_src_k8s_io_kms_apis_v1beta1_api_proto protoreflect.FileDescriptor |
| 412 |
|
| 413 |
var file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_rawDesc = string([]byte{ |
| 414 |
0x0a, 0x2d, 0x73, 0x74, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x72, 0x63, 0x2f, 0x6b, 0x38, |
| 415 |
0x73, 0x2e, 0x69, 0x6f, 0x2f, 0x6b, 0x6d, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, |
| 416 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, |
| 417 |
0x07, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x22, 0x2a, 0x0a, 0x0e, 0x56, 0x65, 0x72, 0x73, |
| 418 |
0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, |
| 419 |
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, |
| 420 |
0x73, 0x69, 0x6f, 0x6e, 0x22, 0x77, 0x0a, 0x0f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, |
| 421 |
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, |
| 422 |
0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, |
| 423 |
0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, |
| 424 |
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, |
| 425 |
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, |
| 426 |
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, |
| 427 |
0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x42, 0x0a, |
| 428 |
0x0e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, |
| 429 |
0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 430 |
0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x69, 0x70, |
| 431 |
0x68, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x69, 0x70, 0x68, 0x65, |
| 432 |
0x72, 0x22, 0x27, 0x0a, 0x0f, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, |
| 433 |
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, |
| 434 |
0x01, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x22, 0x40, 0x0a, 0x0e, 0x45, 0x6e, |
| 435 |
0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, |
| 436 |
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, |
| 437 |
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x18, |
| 438 |
0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x22, 0x29, 0x0a, 0x0f, |
| 439 |
0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, |
| 440 |
0x16, 0x0a, 0x06, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, |
| 441 |
0x06, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x32, 0xd6, 0x01, 0x0a, 0x14, 0x4b, 0x65, 0x79, 0x4d, |
| 442 |
0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, |
| 443 |
0x12, 0x3e, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x2e, 0x76, 0x31, |
| 444 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, |
| 445 |
0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, |
| 446 |
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, |
| 447 |
0x12, 0x3e, 0x0a, 0x07, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x12, 0x17, 0x2e, 0x76, 0x31, |
| 448 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x71, |
| 449 |
0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, |
| 450 |
0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, |
| 451 |
0x12, 0x3e, 0x0a, 0x07, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x12, 0x17, 0x2e, 0x76, 0x31, |
| 452 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x71, |
| 453 |
0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, |
| 454 |
0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, |
| 455 |
0x42, 0x1c, 0x5a, 0x17, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2f, 0x6b, 0x6d, 0x73, 0x2f, 0x61, |
| 456 |
0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xb8, 0x01, 0x01, 0x62, 0x06, |
| 457 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 458 |
}) |
| 459 |
|
| 460 |
var ( |
| 461 |
file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_rawDescOnce sync.Once |
| 462 |
file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_rawDescData []byte |
| 463 |
) |
| 464 |
|
| 465 |
func file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_rawDescGZIP() []byte { |
| 466 |
file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_rawDescOnce.Do(func() { |
| 467 |
file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_rawDesc), len(file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_rawDesc))) |
| 468 |
}) |
| 469 |
return file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_rawDescData |
| 470 |
} |
| 471 |
|
| 472 |
var file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 6) |
| 473 |
var file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_goTypes = []any{ |
| 474 |
(*VersionRequest)(nil), // 0: v1beta1.VersionRequest |
| 475 |
(*VersionResponse)(nil), // 1: v1beta1.VersionResponse |
| 476 |
(*DecryptRequest)(nil), // 2: v1beta1.DecryptRequest |
| 477 |
(*DecryptResponse)(nil), // 3: v1beta1.DecryptResponse |
| 478 |
(*EncryptRequest)(nil), // 4: v1beta1.EncryptRequest |
| 479 |
(*EncryptResponse)(nil), // 5: v1beta1.EncryptResponse |
| 480 |
} |
| 481 |
var file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_depIdxs = []int32{ |
| 482 |
0, // 0: v1beta1.KeyManagementService.Version:input_type -> v1beta1.VersionRequest |
| 483 |
2, // 1: v1beta1.KeyManagementService.Decrypt:input_type -> v1beta1.DecryptRequest |
| 484 |
4, // 2: v1beta1.KeyManagementService.Encrypt:input_type -> v1beta1.EncryptRequest |
| 485 |
1, // 3: v1beta1.KeyManagementService.Version:output_type -> v1beta1.VersionResponse |
| 486 |
3, // 4: v1beta1.KeyManagementService.Decrypt:output_type -> v1beta1.DecryptResponse |
| 487 |
5, // 5: v1beta1.KeyManagementService.Encrypt:output_type -> v1beta1.EncryptResponse |
| 488 |
3, // [3:6] is the sub-list for method output_type |
| 489 |
0, // [0:3] is the sub-list for method input_type |
| 490 |
0, // [0:0] is the sub-list for extension type_name |
| 491 |
0, // [0:0] is the sub-list for extension extendee |
| 492 |
0, // [0:0] is the sub-list for field type_name |
| 493 |
} |
| 494 |
|
| 495 |
func init() { file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_init() } |
| 496 |
func file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_init() { |
| 497 |
if File_staging_src_k8s_io_kms_apis_v1beta1_api_proto != nil { |
| 498 |
return |
| 499 |
} |
| 500 |
type x struct{} |
| 501 |
out := protoimpl.TypeBuilder{ |
| 502 |
File: protoimpl.DescBuilder{ |
| 503 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 504 |
RawDescriptor: unsafe.Slice(unsafe.StringData(file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_rawDesc), len(file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_rawDesc)), |
| 505 |
NumEnums: 0, |
| 506 |
NumMessages: 6, |
| 507 |
NumExtensions: 0, |
| 508 |
NumServices: 1, |
| 509 |
}, |
| 510 |
GoTypes: file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_goTypes, |
| 511 |
DependencyIndexes: file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_depIdxs, |
| 512 |
MessageInfos: file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_msgTypes, |
| 513 |
}.Build() |
| 514 |
File_staging_src_k8s_io_kms_apis_v1beta1_api_proto = out.File |
| 515 |
file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_goTypes = nil |
| 516 |
file_staging_src_k8s_io_kms_apis_v1beta1_api_proto_depIdxs = nil |
| 517 |
} |