MCPcopy
hub / github.com/kubernetes/kubernetes / EncryptRequest

Struct EncryptRequest

staging/src/k8s.io/kms/apis/v1beta1/api.pb.go:300–312  ·  view source on GitHub ↗

Deprecated: KMSv1 is deprecated in v1.28 and will only receive security updates going forward. Use KMSv2 instead. Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated.

Source from the content-addressed store, hash-verified

298//
299// Deprecated: The entire proto file staging/src/k8s.io/kms/apis/v1beta1/api.proto is marked as deprecated.
300type 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
314func (x *EncryptRequest) Reset() {
315 *x = EncryptRequest{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected