2018-01-18 21:49:20 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
2020-05-14 22:45:10 +00:00
|
|
|
// versions:
|
2022-09-19 20:45:44 +00:00
|
|
|
// protoc-gen-go v1.28.1
|
2023-01-24 19:00:27 +00:00
|
|
|
// protoc v3.21.12
|
2019-04-12 21:54:35 +00:00
|
|
|
// source: sdk/plugin/pb/backend.proto
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2018-09-22 21:58:39 +00:00
|
|
|
package pb
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2018-09-22 21:58:39 +00:00
|
|
|
import (
|
2019-04-12 21:54:35 +00:00
|
|
|
logical "github.com/hashicorp/vault/sdk/logical"
|
2020-05-14 22:45:10 +00:00
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
2021-05-03 23:56:06 +00:00
|
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
2020-05-14 22:45:10 +00:00
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
2018-01-18 21:49:20 +00:00
|
|
|
)
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
const (
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
)
|
2018-01-18 21:49:20 +00:00
|
|
|
|
|
|
|
type Empty struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Empty) Reset() {
|
|
|
|
*x = Empty{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Empty) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (*Empty) ProtoMessage() {}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Empty) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[0]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use Empty.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Empty) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{0}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
type Header struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Header []string `protobuf:"bytes,1,rep,name=header,proto3" json:"header,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *Header) Reset() {
|
|
|
|
*x = Header{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *Header) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*Header) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Header) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[1]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use Header.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Header) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Header) GetHeader() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Header
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProtoError struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2018-02-15 22:20:50 +00:00
|
|
|
// Error type can be one of:
|
|
|
|
// ErrTypeUnknown uint32 = iota
|
|
|
|
// ErrTypeUserError
|
|
|
|
// ErrTypeInternalError
|
|
|
|
// ErrTypeCodedError
|
|
|
|
// ErrTypeStatusBadRequest
|
|
|
|
// ErrTypeUnsupportedOperation
|
|
|
|
// ErrTypeUnsupportedPath
|
|
|
|
// ErrTypeInvalidRequest
|
|
|
|
// ErrTypePermissionDenied
|
|
|
|
// ErrTypeMultiAuthzPending
|
2021-05-03 23:56:06 +00:00
|
|
|
// ErrTypeUnrecoverable
|
2021-09-30 01:25:15 +00:00
|
|
|
ErrType uint32 `protobuf:"varint,1,opt,name=err_type,json=errType,proto3" json:"err_type,omitempty"`
|
|
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
|
|
|
|
ErrCode int64 `protobuf:"varint,3,opt,name=err_code,json=errCode,proto3" json:"err_code,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ProtoError) Reset() {
|
|
|
|
*x = ProtoError{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ProtoError) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*ProtoError) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ProtoError) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[2]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use ProtoError.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ProtoError) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{2}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ProtoError) GetErrType() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.ErrType
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ProtoError) GetErrMsg() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ErrMsg
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ProtoError) GetErrCode() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.ErrCode
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
// Paths is the structure of special paths that is used for SpecialPaths.
|
|
|
|
type Paths struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2018-01-18 21:49:20 +00:00
|
|
|
// Root are the paths that require a root token to access
|
2021-09-30 01:25:15 +00:00
|
|
|
Root []string `protobuf:"bytes,1,rep,name=root,proto3" json:"root,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Unauthenticated are the paths that can be accessed without any auth.
|
2021-09-30 01:25:15 +00:00
|
|
|
Unauthenticated []string `protobuf:"bytes,2,rep,name=unauthenticated,proto3" json:"unauthenticated,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// LocalStorage are paths (prefixes) that are local to this instance; this
|
|
|
|
// indicates that these paths should not be replicated
|
2021-09-30 01:25:15 +00:00
|
|
|
LocalStorage []string `protobuf:"bytes,3,rep,name=local_storage,json=localStorage,proto3" json:"local_storage,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// SealWrapStorage are storage paths that, when using a capable seal,
|
|
|
|
// should be seal wrapped with extra encryption. It is exact matching
|
|
|
|
// unless it ends with '/' in which case it will be treated as a prefix.
|
2021-09-30 01:25:15 +00:00
|
|
|
SealWrapStorage []string `protobuf:"bytes,4,rep,name=seal_wrap_storage,json=sealWrapStorage,proto3" json:"seal_wrap_storage,omitempty"`
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
// WriteForwardedStorage are storage paths that, when running on a PR
|
|
|
|
// Secondary cluster, cause a GRPC call up to the PR Primary cluster's
|
|
|
|
// active node to handle storage.Put(...) and storage.Delete(...) events.
|
|
|
|
//
|
|
|
|
// See extended note in /sdk/logical/logical.go.
|
|
|
|
WriteForwardedStorage []string `protobuf:"bytes,5,rep,name=write_forwarded_storage,json=writeForwardedStorage,proto3" json:"write_forwarded_storage,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Paths) Reset() {
|
|
|
|
*x = Paths{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[3]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Paths) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*Paths) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Paths) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[3]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use Paths.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Paths) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{3}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Paths) GetRoot() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Root
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Paths) GetUnauthenticated() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Unauthenticated
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Paths) GetLocalStorage() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.LocalStorage
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Paths) GetSealWrapStorage() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.SealWrapStorage
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
func (x *Paths) GetWriteForwardedStorage() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.WriteForwardedStorage
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-01-18 21:49:20 +00:00
|
|
|
type Request struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2018-01-18 21:49:20 +00:00
|
|
|
// ID is the uuid associated with each request
|
2021-09-30 01:25:15 +00:00
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// If set, the name given to the replication secondary where this request
|
|
|
|
// originated
|
2021-09-30 01:25:15 +00:00
|
|
|
ReplicationCluster string `protobuf:"bytes,2,opt,name=ReplicationCluster,proto3" json:"ReplicationCluster,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Operation is the requested operation type
|
2021-09-30 01:25:15 +00:00
|
|
|
Operation string `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Path is the part of the request path not consumed by the
|
|
|
|
// routing. As an example, if the original request path is "prod/aws/foo"
|
|
|
|
// and the AWS logical backend is mounted at "prod/aws/", then the
|
|
|
|
// final path is "foo" since the mount prefix is trimmed.
|
2021-09-30 01:25:15 +00:00
|
|
|
Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
|
2018-01-26 01:19:27 +00:00
|
|
|
// Request data is a JSON object that must have keys with string type.
|
2021-09-30 01:25:15 +00:00
|
|
|
Data string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Secret will be non-nil only for Revoke and Renew operations
|
|
|
|
// to represent the secret that was returned prior.
|
2021-09-30 01:25:15 +00:00
|
|
|
Secret *Secret `protobuf:"bytes,6,opt,name=secret,proto3" json:"secret,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Auth will be non-nil only for Renew operations
|
|
|
|
// to represent the auth that was returned prior.
|
2021-09-30 01:25:15 +00:00
|
|
|
Auth *Auth `protobuf:"bytes,7,opt,name=auth,proto3" json:"auth,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Headers will contain the http headers from the request. This value will
|
|
|
|
// be used in the audit broker to ensure we are auditing only the allowed
|
|
|
|
// headers.
|
2021-09-30 01:25:15 +00:00
|
|
|
Headers map[string]*Header `protobuf:"bytes,8,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// ClientToken is provided to the core so that the identity
|
|
|
|
// can be verified and ACLs applied. This value is passed
|
|
|
|
// through to the logical backends but after being salted and
|
|
|
|
// hashed.
|
2021-09-30 01:25:15 +00:00
|
|
|
ClientToken string `protobuf:"bytes,9,opt,name=client_token,json=clientToken,proto3" json:"client_token,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// ClientTokenAccessor is provided to the core so that the it can get
|
|
|
|
// logged as part of request audit logging.
|
2021-09-30 01:25:15 +00:00
|
|
|
ClientTokenAccessor string `protobuf:"bytes,10,opt,name=client_token_accessor,json=clientTokenAccessor,proto3" json:"client_token_accessor,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// DisplayName is provided to the logical backend to help associate
|
|
|
|
// dynamic secrets with the source entity. This is not a sensitive
|
|
|
|
// name, but is useful for operators.
|
2021-09-30 01:25:15 +00:00
|
|
|
DisplayName string `protobuf:"bytes,11,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// MountPoint is provided so that a logical backend can generate
|
|
|
|
// paths relative to itself. The `Path` is effectively the client
|
|
|
|
// request path with the MountPoint trimmed off.
|
2021-09-30 01:25:15 +00:00
|
|
|
MountPoint string `protobuf:"bytes,12,opt,name=mount_point,json=mountPoint,proto3" json:"mount_point,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// MountType is provided so that a logical backend can make decisions
|
|
|
|
// based on the specific mount type (e.g., if a mount type has different
|
|
|
|
// aliases, generating different defaults depending on the alias)
|
2021-09-30 01:25:15 +00:00
|
|
|
MountType string `protobuf:"bytes,13,opt,name=mount_type,json=mountType,proto3" json:"mount_type,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// MountAccessor is provided so that identities returned by the authentication
|
|
|
|
// backends can be tied to the mount it belongs to.
|
2021-09-30 01:25:15 +00:00
|
|
|
MountAccessor string `protobuf:"bytes,14,opt,name=mount_accessor,json=mountAccessor,proto3" json:"mount_accessor,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// WrapInfo contains requested response wrapping parameters
|
2021-09-30 01:25:15 +00:00
|
|
|
WrapInfo *RequestWrapInfo `protobuf:"bytes,15,opt,name=wrap_info,json=wrapInfo,proto3" json:"wrap_info,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// ClientTokenRemainingUses represents the allowed number of uses left on the
|
|
|
|
// token supplied
|
2021-09-30 01:25:15 +00:00
|
|
|
ClientTokenRemainingUses int64 `protobuf:"varint,16,opt,name=client_token_remaining_uses,json=clientTokenRemainingUses,proto3" json:"client_token_remaining_uses,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// EntityID is the identity of the caller extracted out of the token used
|
|
|
|
// to make this request
|
2021-09-30 01:25:15 +00:00
|
|
|
EntityID string `protobuf:"bytes,17,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// PolicyOverride indicates that the requestor wishes to override
|
|
|
|
// soft-mandatory Sentinel policies
|
2021-09-30 01:25:15 +00:00
|
|
|
PolicyOverride bool `protobuf:"varint,18,opt,name=policy_override,json=policyOverride,proto3" json:"policy_override,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Whether the request is unauthenticated, as in, had no client token
|
|
|
|
// attached. Useful in some situations where the client token is not made
|
|
|
|
// accessible.
|
2021-09-30 01:25:15 +00:00
|
|
|
Unauthenticated bool `protobuf:"varint,19,opt,name=unauthenticated,proto3" json:"unauthenticated,omitempty"`
|
2018-02-17 01:41:01 +00:00
|
|
|
// Connection will be non-nil only for credential providers to
|
|
|
|
// inspect the connection information and potentially use it for
|
|
|
|
// authentication/protection.
|
2021-09-30 01:25:15 +00:00
|
|
|
Connection *Connection `protobuf:"bytes,20,opt,name=connection,proto3" json:"connection,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) Reset() {
|
|
|
|
*x = Request{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[4]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*Request) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Request) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[4]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use Request.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Request) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{4}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ID
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetReplicationCluster() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ReplicationCluster
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetOperation() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Operation
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetPath() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Path
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetData() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Data
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
2018-01-23 01:56:34 +00:00
|
|
|
return ""
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetSecret() *Secret {
|
|
|
|
if x != nil {
|
|
|
|
return x.Secret
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetAuth() *Auth {
|
|
|
|
if x != nil {
|
|
|
|
return x.Auth
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetHeaders() map[string]*Header {
|
|
|
|
if x != nil {
|
|
|
|
return x.Headers
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetClientToken() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ClientToken
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetClientTokenAccessor() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ClientTokenAccessor
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetDisplayName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.DisplayName
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetMountPoint() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MountPoint
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetMountType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MountType
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetMountAccessor() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MountAccessor
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetWrapInfo() *RequestWrapInfo {
|
|
|
|
if x != nil {
|
|
|
|
return x.WrapInfo
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetClientTokenRemainingUses() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.ClientTokenRemainingUses
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetEntityID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.EntityID
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetPolicyOverride() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.PolicyOverride
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetUnauthenticated() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Unauthenticated
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Request) GetConnection() *Connection {
|
|
|
|
if x != nil {
|
|
|
|
return x.Connection
|
2018-02-17 01:41:01 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-01-18 21:49:20 +00:00
|
|
|
type Auth struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
LeaseOptions *LeaseOptions `protobuf:"bytes,1,opt,name=lease_options,json=leaseOptions,proto3" json:"lease_options,omitempty"`
|
2018-01-26 01:19:27 +00:00
|
|
|
// InternalData is a JSON object that is stored with the auth struct.
|
2018-01-18 21:49:20 +00:00
|
|
|
// This will be sent back during a Renew/Revoke for storing internal data
|
|
|
|
// used for those operations.
|
2021-09-30 01:25:15 +00:00
|
|
|
InternalData string `protobuf:"bytes,2,opt,name=internal_data,json=internalData,proto3" json:"internal_data,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// DisplayName is a non-security sensitive identifier that is
|
|
|
|
// applicable to this Auth. It is used for logging and prefixing
|
|
|
|
// of dynamic secrets. For example, DisplayName may be "armon" for
|
|
|
|
// the github credential backend. If the client token is used to
|
|
|
|
// generate a SQL credential, the user may be "github-armon-uuid".
|
|
|
|
// This is to help identify the source without using audit tables.
|
2021-09-30 01:25:15 +00:00
|
|
|
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Policies is the list of policies that the authenticated user
|
|
|
|
// is associated with.
|
2021-09-30 01:25:15 +00:00
|
|
|
Policies []string `protobuf:"bytes,4,rep,name=policies,proto3" json:"policies,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Metadata is used to attach arbitrary string-type metadata to
|
|
|
|
// an authenticated user. This metadata will be outputted into the
|
|
|
|
// audit log.
|
2021-09-30 01:25:15 +00:00
|
|
|
Metadata map[string]string `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// ClientToken is the token that is generated for the authentication.
|
|
|
|
// This will be filled in by Vault core when an auth structure is
|
|
|
|
// returned. Setting this manually will have no effect.
|
2021-09-30 01:25:15 +00:00
|
|
|
ClientToken string `protobuf:"bytes,6,opt,name=client_token,json=clientToken,proto3" json:"client_token,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Accessor is the identifier for the ClientToken. This can be used
|
|
|
|
// to perform management functionalities (especially revocation) when
|
|
|
|
// ClientToken in the audit logs are obfuscated. Accessor can be used
|
|
|
|
// to revoke a ClientToken and to lookup the capabilities of the ClientToken,
|
|
|
|
// both without actually knowing the ClientToken.
|
2021-09-30 01:25:15 +00:00
|
|
|
Accessor string `protobuf:"bytes,7,opt,name=accessor,proto3" json:"accessor,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Period indicates that the token generated using this Auth object
|
|
|
|
// should never expire. The token should be renewed within the duration
|
|
|
|
// specified by this period.
|
2021-09-30 01:25:15 +00:00
|
|
|
Period int64 `protobuf:"varint,8,opt,name=period,proto3" json:"period,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Number of allowed uses of the issued token
|
2021-09-30 01:25:15 +00:00
|
|
|
NumUses int64 `protobuf:"varint,9,opt,name=num_uses,json=numUses,proto3" json:"num_uses,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// EntityID is the identifier of the entity in identity store to which the
|
|
|
|
// identity of the authenticating client belongs to.
|
2021-09-30 01:25:15 +00:00
|
|
|
EntityID string `protobuf:"bytes,10,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Alias is the information about the authenticated client returned by
|
|
|
|
// the auth backend
|
2021-09-30 01:25:15 +00:00
|
|
|
Alias *logical.Alias `protobuf:"bytes,11,opt,name=alias,proto3" json:"alias,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// GroupAliases are the informational mappings of external groups which an
|
|
|
|
// authenticated user belongs to. This is used to check if there are
|
|
|
|
// mappings groups for the group aliases in identity store. For all the
|
|
|
|
// matching groups, the entity ID of the user will be added.
|
2021-09-30 01:25:15 +00:00
|
|
|
GroupAliases []*logical.Alias `protobuf:"bytes,12,rep,name=group_aliases,json=groupAliases,proto3" json:"group_aliases,omitempty"`
|
2018-05-09 22:39:55 +00:00
|
|
|
// If set, restricts usage of the certificates to client IPs falling within
|
|
|
|
// the range of the specified CIDR(s).
|
2021-09-30 01:25:15 +00:00
|
|
|
BoundCIDRs []string `protobuf:"bytes,13,rep,name=bound_cidrs,json=boundCidrs,proto3" json:"bound_cidrs,omitempty"`
|
2018-09-18 03:03:00 +00:00
|
|
|
// TokenPolicies and IdentityPolicies break down the list in Policies to
|
|
|
|
// help determine where a policy was sourced
|
2021-09-30 01:25:15 +00:00
|
|
|
TokenPolicies []string `protobuf:"bytes,14,rep,name=token_policies,json=tokenPolicies,proto3" json:"token_policies,omitempty"`
|
|
|
|
IdentityPolicies []string `protobuf:"bytes,15,rep,name=identity_policies,json=identityPolicies,proto3" json:"identity_policies,omitempty"`
|
2018-09-22 21:58:39 +00:00
|
|
|
// Explicit maximum lifetime for the token. Unlike normal TTLs, the maximum
|
|
|
|
// TTL is a hard limit and cannot be exceeded, also counts for periodic tokens.
|
2021-09-30 01:25:15 +00:00
|
|
|
ExplicitMaxTTL int64 `protobuf:"varint,16,opt,name=explicit_max_ttl,json=explicitMaxTtl,proto3" json:"explicit_max_ttl,omitempty"`
|
2018-10-15 16:56:24 +00:00
|
|
|
// TokenType is the type of token being requested
|
2021-09-30 01:25:15 +00:00
|
|
|
TokenType uint32 `protobuf:"varint,17,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
|
2019-06-14 14:17:04 +00:00
|
|
|
// Whether the default policy should be added automatically by core
|
2021-09-30 01:25:15 +00:00
|
|
|
NoDefaultPolicy bool `protobuf:"varint,18,opt,name=no_default_policy,json=noDefaultPolicy,proto3" json:"no_default_policy,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) Reset() {
|
|
|
|
*x = Auth{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[5]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*Auth) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Auth) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[5]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use Auth.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Auth) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{5}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetLeaseOptions() *LeaseOptions {
|
|
|
|
if x != nil {
|
|
|
|
return x.LeaseOptions
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetInternalData() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.InternalData
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
2018-01-23 01:56:34 +00:00
|
|
|
return ""
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetDisplayName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.DisplayName
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetPolicies() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Policies
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetMetadata() map[string]string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Metadata
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetClientToken() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ClientToken
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetAccessor() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Accessor
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetPeriod() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Period
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetNumUses() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.NumUses
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetEntityID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.EntityID
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetAlias() *logical.Alias {
|
|
|
|
if x != nil {
|
|
|
|
return x.Alias
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetGroupAliases() []*logical.Alias {
|
|
|
|
if x != nil {
|
|
|
|
return x.GroupAliases
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetBoundCIDRs() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.BoundCIDRs
|
2018-05-09 22:39:55 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetTokenPolicies() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.TokenPolicies
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetIdentityPolicies() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.IdentityPolicies
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetExplicitMaxTTL() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.ExplicitMaxTTL
|
2018-09-22 21:58:39 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetTokenType() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.TokenType
|
2018-10-15 16:56:24 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Auth) GetNoDefaultPolicy() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.NoDefaultPolicy
|
2019-06-14 14:17:04 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2018-09-18 03:03:00 +00:00
|
|
|
type TokenEntry struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-10-07 17:36:22 +00:00
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Accessor string `protobuf:"bytes,2,opt,name=accessor,proto3" json:"accessor,omitempty"`
|
|
|
|
Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
|
|
|
|
Policies []string `protobuf:"bytes,4,rep,name=policies,proto3" json:"policies,omitempty"`
|
|
|
|
Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
|
|
|
|
Meta map[string]string `protobuf:"bytes,6,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
|
|
NumUses int64 `protobuf:"varint,8,opt,name=num_uses,json=numUses,proto3" json:"num_uses,omitempty"`
|
|
|
|
CreationTime int64 `protobuf:"varint,9,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
|
|
|
|
TTL int64 `protobuf:"varint,10,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
|
|
ExplicitMaxTTL int64 `protobuf:"varint,11,opt,name=explicit_max_ttl,json=explicitMaxTtl,proto3" json:"explicit_max_ttl,omitempty"`
|
|
|
|
Role string `protobuf:"bytes,12,opt,name=role,proto3" json:"role,omitempty"`
|
|
|
|
Period int64 `protobuf:"varint,13,opt,name=period,proto3" json:"period,omitempty"`
|
|
|
|
EntityID string `protobuf:"bytes,14,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
|
|
|
|
BoundCIDRs []string `protobuf:"bytes,15,rep,name=bound_cidrs,json=boundCidrs,proto3" json:"bound_cidrs,omitempty"`
|
|
|
|
NamespaceID string `protobuf:"bytes,16,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
|
|
|
CubbyholeID string `protobuf:"bytes,17,opt,name=cubbyhole_id,json=cubbyholeId,proto3" json:"cubbyhole_id,omitempty"`
|
|
|
|
Type uint32 `protobuf:"varint,18,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
InternalMeta map[string]string `protobuf:"bytes,19,rep,name=internal_meta,json=internalMeta,proto3" json:"internal_meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
InlinePolicy string `protobuf:"bytes,20,opt,name=inline_policy,json=inlinePolicy,proto3" json:"inline_policy,omitempty"`
|
|
|
|
NoIdentityPolicies bool `protobuf:"varint,21,opt,name=no_identity_policies,json=noIdentityPolicies,proto3" json:"no_identity_policies,omitempty"`
|
2023-01-24 19:00:27 +00:00
|
|
|
ExternalID string `protobuf:"bytes,22,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
|
2020-05-14 22:45:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TokenEntry) Reset() {
|
|
|
|
*x = TokenEntry{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[6]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TokenEntry) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*TokenEntry) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *TokenEntry) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[6]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use TokenEntry.ProtoReflect.Descriptor instead.
|
2018-09-18 03:03:00 +00:00
|
|
|
func (*TokenEntry) Descriptor() ([]byte, []int) {
|
2020-05-14 22:45:10 +00:00
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{6}
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ID
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetAccessor() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Accessor
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetParent() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Parent
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetPolicies() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Policies
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetPath() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Path
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetMeta() map[string]string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Meta
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetDisplayName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.DisplayName
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetNumUses() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.NumUses
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetCreationTime() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.CreationTime
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetTTL() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.TTL
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetExplicitMaxTTL() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.ExplicitMaxTTL
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetRole() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Role
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetPeriod() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Period
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetEntityID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.EntityID
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetBoundCIDRs() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.BoundCIDRs
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetNamespaceID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.NamespaceID
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetCubbyholeID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.CubbyholeID
|
2018-09-18 03:03:00 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TokenEntry) GetType() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Type
|
2018-10-15 16:56:24 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-10-07 17:36:22 +00:00
|
|
|
func (x *TokenEntry) GetInternalMeta() map[string]string {
|
|
|
|
if x != nil {
|
|
|
|
return x.InternalMeta
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TokenEntry) GetInlinePolicy() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.InlinePolicy
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TokenEntry) GetNoIdentityPolicies() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.NoIdentityPolicies
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2023-01-24 19:00:27 +00:00
|
|
|
func (x *TokenEntry) GetExternalID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ExternalID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2018-01-18 21:49:20 +00:00
|
|
|
type LeaseOptions struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
TTL int64 `protobuf:"varint,1,opt,name=TTL,proto3" json:"TTL,omitempty"`
|
|
|
|
Renewable bool `protobuf:"varint,2,opt,name=renewable,proto3" json:"renewable,omitempty"`
|
|
|
|
Increment int64 `protobuf:"varint,3,opt,name=increment,proto3" json:"increment,omitempty"`
|
|
|
|
IssueTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=issue_time,json=issueTime,proto3" json:"issue_time,omitempty"`
|
|
|
|
MaxTTL int64 `protobuf:"varint,5,opt,name=MaxTTL,proto3" json:"MaxTTL,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *LeaseOptions) Reset() {
|
|
|
|
*x = LeaseOptions{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[7]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *LeaseOptions) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*LeaseOptions) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *LeaseOptions) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[7]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use LeaseOptions.ProtoReflect.Descriptor instead.
|
|
|
|
func (*LeaseOptions) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{7}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *LeaseOptions) GetTTL() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.TTL
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *LeaseOptions) GetRenewable() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Renewable
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *LeaseOptions) GetIncrement() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Increment
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-05-03 23:56:06 +00:00
|
|
|
func (x *LeaseOptions) GetIssueTime() *timestamppb.Timestamp {
|
2020-05-14 22:45:10 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.IssueTime
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *LeaseOptions) GetMaxTTL() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.MaxTTL
|
2018-04-03 16:20:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2018-01-18 21:49:20 +00:00
|
|
|
type Secret struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
LeaseOptions *LeaseOptions `protobuf:"bytes,1,opt,name=lease_options,json=leaseOptions,proto3" json:"lease_options,omitempty"`
|
2018-01-26 01:19:27 +00:00
|
|
|
// InternalData is a JSON object that is stored with the secret.
|
2018-01-18 21:49:20 +00:00
|
|
|
// This will be sent back during a Renew/Revoke for storing internal data
|
|
|
|
// used for those operations.
|
2021-09-30 01:25:15 +00:00
|
|
|
InternalData string `protobuf:"bytes,2,opt,name=internal_data,json=internalData,proto3" json:"internal_data,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// LeaseID is the ID returned to the user to manage this secret.
|
|
|
|
// This is generated by Vault core. Any set value will be ignored.
|
|
|
|
// For requests, this will always be blank.
|
2021-09-30 01:25:15 +00:00
|
|
|
LeaseID string `protobuf:"bytes,3,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Secret) Reset() {
|
|
|
|
*x = Secret{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[8]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Secret) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*Secret) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Secret) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[8]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use Secret.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Secret) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{8}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Secret) GetLeaseOptions() *LeaseOptions {
|
|
|
|
if x != nil {
|
|
|
|
return x.LeaseOptions
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Secret) GetInternalData() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.InternalData
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
2018-01-23 01:56:34 +00:00
|
|
|
return ""
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Secret) GetLeaseID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.LeaseID
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type Response struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2018-01-18 21:49:20 +00:00
|
|
|
// Secret, if not nil, denotes that this response represents a secret.
|
2021-09-30 01:25:15 +00:00
|
|
|
Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Auth, if not nil, contains the authentication information for
|
|
|
|
// this response. This is only checked and means something for
|
|
|
|
// credential backends.
|
2021-09-30 01:25:15 +00:00
|
|
|
Auth *Auth `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
|
2018-01-26 01:19:27 +00:00
|
|
|
// Response data is a JSON object that must have string keys. For
|
2018-01-18 21:49:20 +00:00
|
|
|
// secrets, this data is sent down to the user as-is. To store internal
|
|
|
|
// data that you don't want the user to see, store it in
|
|
|
|
// Secret.InternalData.
|
2021-09-30 01:25:15 +00:00
|
|
|
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Redirect is an HTTP URL to redirect to for further authentication.
|
|
|
|
// This is only valid for credential backends. This will be blanked
|
|
|
|
// for any logical backend and ignored.
|
2021-09-30 01:25:15 +00:00
|
|
|
Redirect string `protobuf:"bytes,4,opt,name=redirect,proto3" json:"redirect,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Warnings allow operations or backends to return warnings in response
|
|
|
|
// to user actions without failing the action outright.
|
2021-09-30 01:25:15 +00:00
|
|
|
Warnings []string `protobuf:"bytes,5,rep,name=warnings,proto3" json:"warnings,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Information for wrapping the response in a cubbyhole
|
2021-09-30 01:25:15 +00:00
|
|
|
WrapInfo *ResponseWrapInfo `protobuf:"bytes,6,opt,name=wrap_info,json=wrapInfo,proto3" json:"wrap_info,omitempty"`
|
2019-02-05 21:02:15 +00:00
|
|
|
// Headers will contain the http headers from the response. This value will
|
|
|
|
// be used in the audit broker to ensure we are auditing only the allowed
|
|
|
|
// headers.
|
2021-09-30 01:25:15 +00:00
|
|
|
Headers map[string]*Header `protobuf:"bytes,7,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Response) Reset() {
|
|
|
|
*x = Response{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[9]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Response) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*Response) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Response) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[9]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use Response.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Response) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{9}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Response) GetSecret() *Secret {
|
|
|
|
if x != nil {
|
|
|
|
return x.Secret
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Response) GetAuth() *Auth {
|
|
|
|
if x != nil {
|
|
|
|
return x.Auth
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Response) GetData() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Data
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
2018-01-23 01:56:34 +00:00
|
|
|
return ""
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Response) GetRedirect() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Redirect
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Response) GetWarnings() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Warnings
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Response) GetWrapInfo() *ResponseWrapInfo {
|
|
|
|
if x != nil {
|
|
|
|
return x.WrapInfo
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Response) GetHeaders() map[string]*Header {
|
|
|
|
if x != nil {
|
|
|
|
return x.Headers
|
2019-02-05 21:02:15 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-01-18 21:49:20 +00:00
|
|
|
type ResponseWrapInfo struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2018-01-18 21:49:20 +00:00
|
|
|
// Setting to non-zero specifies that the response should be wrapped.
|
|
|
|
// Specifies the desired TTL of the wrapping token.
|
2021-09-30 01:25:15 +00:00
|
|
|
TTL int64 `protobuf:"varint,1,opt,name=TTL,proto3" json:"TTL,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// The token containing the wrapped response
|
2021-09-30 01:25:15 +00:00
|
|
|
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// The token accessor for the wrapped response token
|
2021-09-30 01:25:15 +00:00
|
|
|
Accessor string `protobuf:"bytes,3,opt,name=accessor,proto3" json:"accessor,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// The creation time. This can be used with the TTL to figure out an
|
|
|
|
// expected expiration.
|
2021-09-30 01:25:15 +00:00
|
|
|
CreationTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// If the contained response is the output of a token creation call, the
|
|
|
|
// created token's accessor will be accessible here
|
2021-09-30 01:25:15 +00:00
|
|
|
WrappedAccessor string `protobuf:"bytes,5,opt,name=wrapped_accessor,json=wrappedAccessor,proto3" json:"wrapped_accessor,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// WrappedEntityID is the entity identifier of the caller who initiated the
|
|
|
|
// wrapping request
|
2021-09-30 01:25:15 +00:00
|
|
|
WrappedEntityID string `protobuf:"bytes,6,opt,name=wrapped_entity_id,json=wrappedEntityID,proto3" json:"wrapped_entity_id,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// The format to use. This doesn't get returned, it's only internal.
|
2021-09-30 01:25:15 +00:00
|
|
|
Format string `protobuf:"bytes,7,opt,name=format,proto3" json:"format,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// CreationPath is the original request path that was used to create
|
|
|
|
// the wrapped response.
|
2021-09-30 01:25:15 +00:00
|
|
|
CreationPath string `protobuf:"bytes,8,opt,name=creation_path,json=creationPath,proto3" json:"creation_path,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// Controls seal wrapping behavior downstream for specific use cases
|
2021-09-30 01:25:15 +00:00
|
|
|
SealWrap bool `protobuf:"varint,9,opt,name=seal_wrap,json=sealWrap,proto3" json:"seal_wrap,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ResponseWrapInfo) Reset() {
|
|
|
|
*x = ResponseWrapInfo{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[10]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ResponseWrapInfo) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*ResponseWrapInfo) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ResponseWrapInfo) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[10]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use ResponseWrapInfo.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ResponseWrapInfo) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{10}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ResponseWrapInfo) GetTTL() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.TTL
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ResponseWrapInfo) GetToken() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Token
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ResponseWrapInfo) GetAccessor() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Accessor
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-03 23:56:06 +00:00
|
|
|
func (x *ResponseWrapInfo) GetCreationTime() *timestamppb.Timestamp {
|
2020-05-14 22:45:10 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.CreationTime
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ResponseWrapInfo) GetWrappedAccessor() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.WrappedAccessor
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ResponseWrapInfo) GetWrappedEntityID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.WrappedEntityID
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ResponseWrapInfo) GetFormat() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Format
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ResponseWrapInfo) GetCreationPath() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.CreationPath
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ResponseWrapInfo) GetSealWrap() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.SealWrap
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
type RequestWrapInfo struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2018-01-18 21:49:20 +00:00
|
|
|
// Setting to non-zero specifies that the response should be wrapped.
|
|
|
|
// Specifies the desired TTL of the wrapping token.
|
2021-09-30 01:25:15 +00:00
|
|
|
TTL int64 `protobuf:"varint,1,opt,name=TTL,proto3" json:"TTL,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// The format to use for the wrapped response; if not specified it's a bare
|
|
|
|
// token
|
2021-09-30 01:25:15 +00:00
|
|
|
Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
// A flag to conforming backends that data for a given request should be
|
|
|
|
// seal wrapped
|
2021-09-30 01:25:15 +00:00
|
|
|
SealWrap bool `protobuf:"varint,3,opt,name=seal_wrap,json=sealWrap,proto3" json:"seal_wrap,omitempty"`
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *RequestWrapInfo) Reset() {
|
|
|
|
*x = RequestWrapInfo{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[11]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *RequestWrapInfo) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*RequestWrapInfo) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *RequestWrapInfo) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[11]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use RequestWrapInfo.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RequestWrapInfo) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{11}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *RequestWrapInfo) GetTTL() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.TTL
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *RequestWrapInfo) GetFormat() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Format
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *RequestWrapInfo) GetSealWrap() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.SealWrap
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
// HandleRequestArgs is the args for HandleRequest method.
|
|
|
|
type HandleRequestArgs struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
StorageID uint32 `protobuf:"varint,1,opt,name=storage_id,json=storageId,proto3" json:"storage_id,omitempty"`
|
|
|
|
Request *Request `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *HandleRequestArgs) Reset() {
|
|
|
|
*x = HandleRequestArgs{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[12]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *HandleRequestArgs) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*HandleRequestArgs) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *HandleRequestArgs) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[12]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use HandleRequestArgs.ProtoReflect.Descriptor instead.
|
|
|
|
func (*HandleRequestArgs) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{12}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *HandleRequestArgs) GetStorageID() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.StorageID
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *HandleRequestArgs) GetRequest() *Request {
|
|
|
|
if x != nil {
|
|
|
|
return x.Request
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// HandleRequestReply is the reply for HandleRequest method.
|
|
|
|
type HandleRequestReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Response *Response `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
|
|
|
|
Err *ProtoError `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *HandleRequestReply) Reset() {
|
|
|
|
*x = HandleRequestReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[13]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *HandleRequestReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*HandleRequestReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *HandleRequestReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[13]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use HandleRequestReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*HandleRequestReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{13}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *HandleRequestReply) GetResponse() *Response {
|
|
|
|
if x != nil {
|
|
|
|
return x.Response
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *HandleRequestReply) GetErr() *ProtoError {
|
|
|
|
if x != nil {
|
|
|
|
return x.Err
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-05 23:55:40 +00:00
|
|
|
// InitializeArgs is the args for Initialize method.
|
|
|
|
type InitializeArgs struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2019-07-05 23:55:40 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *InitializeArgs) Reset() {
|
|
|
|
*x = InitializeArgs{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[14]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2019-07-05 23:55:40 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *InitializeArgs) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2019-07-05 23:55:40 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*InitializeArgs) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *InitializeArgs) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[14]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2019-07-05 23:55:40 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use InitializeArgs.ProtoReflect.Descriptor instead.
|
|
|
|
func (*InitializeArgs) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{14}
|
|
|
|
}
|
2019-07-05 23:55:40 +00:00
|
|
|
|
|
|
|
// InitializeReply is the reply for Initialize method.
|
|
|
|
type InitializeReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2019-07-05 23:55:40 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Err *ProtoError `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
|
2019-07-05 23:55:40 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *InitializeReply) Reset() {
|
|
|
|
*x = InitializeReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[15]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2019-07-05 23:55:40 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *InitializeReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2019-07-05 23:55:40 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*InitializeReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *InitializeReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[15]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2019-07-05 23:55:40 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use InitializeReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*InitializeReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{15}
|
|
|
|
}
|
2019-07-05 23:55:40 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *InitializeReply) GetErr() *ProtoError {
|
|
|
|
if x != nil {
|
|
|
|
return x.Err
|
2019-07-05 23:55:40 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-01-18 21:49:20 +00:00
|
|
|
// SpecialPathsReply is the reply for SpecialPaths method.
|
|
|
|
type SpecialPathsReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-03 19:38:53 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Paths *Paths `protobuf:"bytes,1,opt,name=paths,proto3" json:"paths,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *SpecialPathsReply) Reset() {
|
|
|
|
*x = SpecialPathsReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[16]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *SpecialPathsReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*SpecialPathsReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SpecialPathsReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[16]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use SpecialPathsReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SpecialPathsReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{16}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *SpecialPathsReply) GetPaths() *Paths {
|
|
|
|
if x != nil {
|
|
|
|
return x.Paths
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// HandleExistenceCheckArgs is the args for HandleExistenceCheck method.
|
|
|
|
type HandleExistenceCheckArgs struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
StorageID uint32 `protobuf:"varint,1,opt,name=storage_id,json=storageId,proto3" json:"storage_id,omitempty"`
|
|
|
|
Request *Request `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *HandleExistenceCheckArgs) Reset() {
|
|
|
|
*x = HandleExistenceCheckArgs{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[17]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *HandleExistenceCheckArgs) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*HandleExistenceCheckArgs) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *HandleExistenceCheckArgs) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[17]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use HandleExistenceCheckArgs.ProtoReflect.Descriptor instead.
|
|
|
|
func (*HandleExistenceCheckArgs) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{17}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *HandleExistenceCheckArgs) GetStorageID() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.StorageID
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *HandleExistenceCheckArgs) GetRequest() *Request {
|
|
|
|
if x != nil {
|
|
|
|
return x.Request
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// HandleExistenceCheckReply is the reply for HandleExistenceCheck method.
|
|
|
|
type HandleExistenceCheckReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-03 19:38:53 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
CheckFound bool `protobuf:"varint,1,opt,name=check_found,json=checkFound,proto3" json:"check_found,omitempty"`
|
|
|
|
Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"`
|
|
|
|
Err *ProtoError `protobuf:"bytes,3,opt,name=err,proto3" json:"err,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *HandleExistenceCheckReply) Reset() {
|
|
|
|
*x = HandleExistenceCheckReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[18]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *HandleExistenceCheckReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*HandleExistenceCheckReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *HandleExistenceCheckReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[18]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use HandleExistenceCheckReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*HandleExistenceCheckReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{18}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *HandleExistenceCheckReply) GetCheckFound() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.CheckFound
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *HandleExistenceCheckReply) GetExists() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Exists
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *HandleExistenceCheckReply) GetErr() *ProtoError {
|
|
|
|
if x != nil {
|
|
|
|
return x.Err
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// SetupArgs is the args for Setup method.
|
|
|
|
type SetupArgs struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
BrokerID uint32 `protobuf:"varint,1,opt,name=broker_id,json=brokerId,proto3" json:"broker_id,omitempty"`
|
|
|
|
Config map[string]string `protobuf:"bytes,2,rep,name=Config,proto3" json:"Config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
BackendUUID string `protobuf:"bytes,3,opt,name=backendUUID,proto3" json:"backendUUID,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *SetupArgs) Reset() {
|
|
|
|
*x = SetupArgs{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[19]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *SetupArgs) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*SetupArgs) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SetupArgs) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[19]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use SetupArgs.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SetupArgs) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{19}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *SetupArgs) GetBrokerID() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.BrokerID
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *SetupArgs) GetConfig() map[string]string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Config
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *SetupArgs) GetBackendUUID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.BackendUUID
|
2018-03-21 19:04:27 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2018-01-18 21:49:20 +00:00
|
|
|
// SetupReply is the reply for Setup method.
|
|
|
|
type SetupReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-03 19:38:53 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *SetupReply) Reset() {
|
|
|
|
*x = SetupReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[20]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *SetupReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*SetupReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SetupReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[20]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use SetupReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SetupReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{20}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *SetupReply) GetErr() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Err
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
// TypeReply is the reply for the Type method.
|
|
|
|
type TypeReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-03 19:38:53 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TypeReply) Reset() {
|
|
|
|
*x = TypeReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[21]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *TypeReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*TypeReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *TypeReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[21]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use TypeReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*TypeReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{21}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TypeReply) GetType() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Type
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type InvalidateKeyArgs struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *InvalidateKeyArgs) Reset() {
|
|
|
|
*x = InvalidateKeyArgs{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[22]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *InvalidateKeyArgs) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*InvalidateKeyArgs) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *InvalidateKeyArgs) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[22]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use InvalidateKeyArgs.ProtoReflect.Descriptor instead.
|
|
|
|
func (*InvalidateKeyArgs) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{22}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *InvalidateKeyArgs) GetKey() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Key
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type StorageEntry struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-03 19:38:53 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
|
|
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
|
SealWrap bool `protobuf:"varint,3,opt,name=seal_wrap,json=sealWrap,proto3" json:"seal_wrap,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageEntry) Reset() {
|
|
|
|
*x = StorageEntry{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[23]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *StorageEntry) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*StorageEntry) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *StorageEntry) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[23]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use StorageEntry.ProtoReflect.Descriptor instead.
|
|
|
|
func (*StorageEntry) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{23}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageEntry) GetKey() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Key
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageEntry) GetValue() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.Value
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageEntry) GetSealWrap() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.SealWrap
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
type StorageListArgs struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageListArgs) Reset() {
|
|
|
|
*x = StorageListArgs{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[24]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *StorageListArgs) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*StorageListArgs) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *StorageListArgs) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[24]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use StorageListArgs.ProtoReflect.Descriptor instead.
|
|
|
|
func (*StorageListArgs) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{24}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageListArgs) GetPrefix() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Prefix
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type StorageListReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
|
|
|
|
Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageListReply) Reset() {
|
|
|
|
*x = StorageListReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[25]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *StorageListReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*StorageListReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *StorageListReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[25]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use StorageListReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*StorageListReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{25}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageListReply) GetKeys() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Keys
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageListReply) GetErr() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Err
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type StorageGetArgs struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-03 19:38:53 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageGetArgs) Reset() {
|
|
|
|
*x = StorageGetArgs{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[26]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *StorageGetArgs) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*StorageGetArgs) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *StorageGetArgs) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[26]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use StorageGetArgs.ProtoReflect.Descriptor instead.
|
|
|
|
func (*StorageGetArgs) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{26}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageGetArgs) GetKey() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Key
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type StorageGetReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Entry *StorageEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
|
|
|
|
Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageGetReply) Reset() {
|
|
|
|
*x = StorageGetReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[27]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *StorageGetReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*StorageGetReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *StorageGetReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[27]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use StorageGetReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*StorageGetReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{27}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageGetReply) GetEntry() *StorageEntry {
|
|
|
|
if x != nil {
|
|
|
|
return x.Entry
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageGetReply) GetErr() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Err
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type StoragePutArgs struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Entry *StorageEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StoragePutArgs) Reset() {
|
|
|
|
*x = StoragePutArgs{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[28]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *StoragePutArgs) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*StoragePutArgs) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *StoragePutArgs) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[28]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use StoragePutArgs.ProtoReflect.Descriptor instead.
|
|
|
|
func (*StoragePutArgs) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{28}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StoragePutArgs) GetEntry() *StorageEntry {
|
|
|
|
if x != nil {
|
|
|
|
return x.Entry
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type StoragePutReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-03 19:38:53 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StoragePutReply) Reset() {
|
|
|
|
*x = StoragePutReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[29]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *StoragePutReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*StoragePutReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *StoragePutReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[29]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use StoragePutReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*StoragePutReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{29}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StoragePutReply) GetErr() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Err
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type StorageDeleteArgs struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-03 19:38:53 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageDeleteArgs) Reset() {
|
|
|
|
*x = StorageDeleteArgs{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[30]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *StorageDeleteArgs) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*StorageDeleteArgs) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *StorageDeleteArgs) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[30]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use StorageDeleteArgs.ProtoReflect.Descriptor instead.
|
|
|
|
func (*StorageDeleteArgs) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{30}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageDeleteArgs) GetKey() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Key
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type StorageDeleteReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-03 19:38:53 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageDeleteReply) Reset() {
|
|
|
|
*x = StorageDeleteReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[31]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *StorageDeleteReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*StorageDeleteReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *StorageDeleteReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[31]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use StorageDeleteReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*StorageDeleteReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{31}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *StorageDeleteReply) GetErr() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Err
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type TTLReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-03 17:19:39 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
TTL int64 `protobuf:"varint,1,opt,name=TTL,proto3" json:"TTL,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TTLReply) Reset() {
|
|
|
|
*x = TTLReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[32]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *TTLReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*TTLReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *TTLReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[32]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use TTLReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*TTLReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{32}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TTLReply) GetTTL() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.TTL
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type TaintedReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-03 19:38:53 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Tainted bool `protobuf:"varint,1,opt,name=tainted,proto3" json:"tainted,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TaintedReply) Reset() {
|
|
|
|
*x = TaintedReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[33]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *TaintedReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*TaintedReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *TaintedReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[33]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use TaintedReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*TaintedReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{33}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *TaintedReply) GetTainted() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Tainted
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
type CachingDisabledReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-03 19:38:53 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *CachingDisabledReply) Reset() {
|
|
|
|
*x = CachingDisabledReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[34]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *CachingDisabledReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*CachingDisabledReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *CachingDisabledReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[34]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use CachingDisabledReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*CachingDisabledReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{34}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *CachingDisabledReply) GetDisabled() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Disabled
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
type ReplicationStateReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
State int32 `protobuf:"varint,1,opt,name=state,proto3" json:"state,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ReplicationStateReply) Reset() {
|
|
|
|
*x = ReplicationStateReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[35]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *ReplicationStateReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*ReplicationStateReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ReplicationStateReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[35]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use ReplicationStateReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ReplicationStateReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{35}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ReplicationStateReply) GetState() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.State
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResponseWrapDataArgs struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-03 19:38:53 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
|
|
|
TTL int64 `protobuf:"varint,2,opt,name=TTL,proto3" json:"TTL,omitempty"`
|
|
|
|
JWT bool `protobuf:"varint,3,opt,name=JWT,proto3" json:"JWT,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ResponseWrapDataArgs) Reset() {
|
|
|
|
*x = ResponseWrapDataArgs{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[36]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *ResponseWrapDataArgs) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*ResponseWrapDataArgs) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ResponseWrapDataArgs) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[36]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use ResponseWrapDataArgs.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ResponseWrapDataArgs) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{36}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ResponseWrapDataArgs) GetData() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Data
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
2018-01-23 01:56:34 +00:00
|
|
|
return ""
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ResponseWrapDataArgs) GetTTL() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.TTL
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ResponseWrapDataArgs) GetJWT() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.JWT
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResponseWrapDataReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-03 19:38:53 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
WrapInfo *ResponseWrapInfo `protobuf:"bytes,1,opt,name=wrap_info,json=wrapInfo,proto3" json:"wrap_info,omitempty"`
|
|
|
|
Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ResponseWrapDataReply) Reset() {
|
|
|
|
*x = ResponseWrapDataReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[37]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *ResponseWrapDataReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*ResponseWrapDataReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ResponseWrapDataReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[37]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use ResponseWrapDataReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ResponseWrapDataReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{37}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ResponseWrapDataReply) GetWrapInfo() *ResponseWrapInfo {
|
|
|
|
if x != nil {
|
|
|
|
return x.WrapInfo
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *ResponseWrapDataReply) GetErr() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Err
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type MlockEnabledReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-03 19:38:53 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *MlockEnabledReply) Reset() {
|
|
|
|
*x = MlockEnabledReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[38]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *MlockEnabledReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*MlockEnabledReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *MlockEnabledReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[38]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use MlockEnabledReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*MlockEnabledReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{38}
|
|
|
|
}
|
2018-01-18 21:49:20 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *MlockEnabledReply) GetEnabled() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Enabled
|
2018-01-18 21:49:20 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2018-02-02 23:17:12 +00:00
|
|
|
type LocalMountReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-05-03 19:38:53 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Local bool `protobuf:"varint,1,opt,name=local,proto3" json:"local,omitempty"`
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *LocalMountReply) Reset() {
|
|
|
|
*x = LocalMountReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[39]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *LocalMountReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*LocalMountReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *LocalMountReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[39]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-02-02 23:17:12 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use LocalMountReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*LocalMountReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{39}
|
|
|
|
}
|
2018-02-02 23:17:12 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *LocalMountReply) GetLocal() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Local
|
2018-02-02 23:17:12 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2018-06-04 00:48:12 +00:00
|
|
|
type EntityInfoArgs struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-06-04 00:48:12 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
EntityID string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *EntityInfoArgs) Reset() {
|
|
|
|
*x = EntityInfoArgs{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[40]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *EntityInfoArgs) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*EntityInfoArgs) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *EntityInfoArgs) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[40]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use EntityInfoArgs.ProtoReflect.Descriptor instead.
|
|
|
|
func (*EntityInfoArgs) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{40}
|
|
|
|
}
|
2018-06-04 00:48:12 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *EntityInfoArgs) GetEntityID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.EntityID
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type EntityInfoReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-06-04 00:48:12 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Entity *logical.Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
|
|
|
|
Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *EntityInfoReply) Reset() {
|
|
|
|
*x = EntityInfoReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[41]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *EntityInfoReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*EntityInfoReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *EntityInfoReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[41]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use EntityInfoReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*EntityInfoReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{41}
|
|
|
|
}
|
2018-06-04 00:48:12 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *EntityInfoReply) GetEntity() *logical.Entity {
|
|
|
|
if x != nil {
|
|
|
|
return x.Entity
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *EntityInfoReply) GetErr() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Err
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-01-06 18:16:52 +00:00
|
|
|
type GroupsForEntityReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2020-01-06 18:16:52 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Groups []*logical.Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
|
|
|
|
Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
|
2020-01-06 18:16:52 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *GroupsForEntityReply) Reset() {
|
|
|
|
*x = GroupsForEntityReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[42]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2020-01-06 18:16:52 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *GroupsForEntityReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-01-06 18:16:52 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*GroupsForEntityReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *GroupsForEntityReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[42]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2020-01-06 18:16:52 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use GroupsForEntityReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GroupsForEntityReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{42}
|
|
|
|
}
|
2020-01-06 18:16:52 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *GroupsForEntityReply) GetGroups() []*logical.Group {
|
|
|
|
if x != nil {
|
|
|
|
return x.Groups
|
2020-01-06 18:16:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *GroupsForEntityReply) GetErr() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Err
|
2020-01-06 18:16:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2018-08-03 16:32:17 +00:00
|
|
|
type PluginEnvReply struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-08-03 16:32:17 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
PluginEnvironment *logical.PluginEnvironment `protobuf:"bytes,1,opt,name=plugin_environment,json=pluginEnvironment,proto3" json:"plugin_environment,omitempty"`
|
|
|
|
Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
|
2018-08-03 16:32:17 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *PluginEnvReply) Reset() {
|
|
|
|
*x = PluginEnvReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[43]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-08-03 16:32:17 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (x *PluginEnvReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-08-03 16:32:17 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*PluginEnvReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *PluginEnvReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[43]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-08-03 16:32:17 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use PluginEnvReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*PluginEnvReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{43}
|
|
|
|
}
|
2018-08-03 16:32:17 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *PluginEnvReply) GetPluginEnvironment() *logical.PluginEnvironment {
|
|
|
|
if x != nil {
|
|
|
|
return x.PluginEnvironment
|
2018-08-03 16:32:17 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *PluginEnvReply) GetErr() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Err
|
2018-08-03 16:32:17 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-27 18:28:00 +00:00
|
|
|
type GeneratePasswordFromPolicyRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"`
|
2020-05-27 18:28:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GeneratePasswordFromPolicyRequest) Reset() {
|
|
|
|
*x = GeneratePasswordFromPolicyRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[44]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GeneratePasswordFromPolicyRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*GeneratePasswordFromPolicyRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *GeneratePasswordFromPolicyRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[44]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use GeneratePasswordFromPolicyRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GeneratePasswordFromPolicyRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{44}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GeneratePasswordFromPolicyRequest) GetPolicyName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.PolicyName
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type GeneratePasswordFromPolicyReply struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
|
2020-05-27 18:28:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GeneratePasswordFromPolicyReply) Reset() {
|
|
|
|
*x = GeneratePasswordFromPolicyReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[45]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GeneratePasswordFromPolicyReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*GeneratePasswordFromPolicyReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *GeneratePasswordFromPolicyReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[45]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use GeneratePasswordFromPolicyReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GeneratePasswordFromPolicyReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{45}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GeneratePasswordFromPolicyReply) GetPassword() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Password
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
type ClusterInfoReply struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
|
|
|
|
ClusterID string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
|
|
|
Err string `protobuf:"bytes,3,opt,name=err,proto3" json:"err,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ClusterInfoReply) Reset() {
|
|
|
|
*x = ClusterInfoReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[46]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ClusterInfoReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*ClusterInfoReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ClusterInfoReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[46]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use ClusterInfoReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ClusterInfoReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{46}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ClusterInfoReply) GetClusterName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ClusterName
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ClusterInfoReply) GetClusterID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ClusterID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ClusterInfoReply) GetErr() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Err
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2018-02-17 01:41:01 +00:00
|
|
|
type Connection struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2018-02-17 01:41:01 +00:00
|
|
|
// RemoteAddr is the network address that sent the request.
|
2021-10-07 17:36:22 +00:00
|
|
|
RemoteAddr string `protobuf:"bytes,1,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"`
|
Add remote_port in the audit logs when it is available (#12790)
* Add remote_port in the audit logs when it is available
The `request.remote_port` field is now present in the audit log when it
is available:
```
{
"time": "2021-10-10T13:53:51.760039Z",
"type": "response",
"auth": {
"client_token": "hmac-sha256:1304aab0ac65747684e1b58248cc16715fa8f558f8d27e90fcbcb213220c0edf",
"accessor": "hmac-sha256:f8cf0601dadd19aac84f205ded44c62898e3746a42108a51105a92ccc39baa43",
"display_name": "root",
"policies": [
"root"
],
"token_policies": [
"root"
],
"token_type": "service",
"token_issue_time": "2021-10-10T15:53:44+02:00"
},
"request": {
"id": "829c04a1-0352-2d9d-9bc9-00b928d33df5",
"operation": "update",
"mount_type": "system",
"client_token": "hmac-sha256:1304aab0ac65747684e1b58248cc16715fa8f558f8d27e90fcbcb213220c0edf",
"client_token_accessor": "hmac-sha256:f8cf0601dadd19aac84f205ded44c62898e3746a42108a51105a92ccc39baa43",
"namespace": {
"id": "root"
},
"path": "sys/audit/file",
"data": {
"description": "hmac-sha256:321a1d105f8c6fd62be4f34c4da4f0e6d1cdee9eb2ff4af0b59e1410950fe86b",
"local": false,
"options": {
"file_path": "hmac-sha256:2421b5bf8dab1f9775b2e6e66e58d7bca99ab729f3f311782fda50717eee55b3"
},
"type": "hmac-sha256:30dff9607b4087e3ae6808b4a3aa395b1fc064e467748c55c25ddf0e9b150fcc"
},
"remote_address": "127.0.0.1",
"remote_port": 54798
},
"response": {
"mount_type": "system"
}
}
```
Closes https://github.com/hashicorp/vault/issues/7716
* Add changelog entry
* Empty commit to trigger CI
* Add test and explicit error handling
* Change temporary file pattern in test
2022-01-26 23:47:15 +00:00
|
|
|
// RemotePort is the network port that sent the request.
|
|
|
|
RemotePort int32 `protobuf:"varint,3,opt,name=remote_port,json=remotePort,proto3" json:"remote_port,omitempty"`
|
2021-10-07 12:06:09 +00:00
|
|
|
// ConnectionState is the marshalled tls.ConnectionState from the original
|
|
|
|
// request
|
2021-10-07 17:36:22 +00:00
|
|
|
ConnectionState *ConnectionState `protobuf:"bytes,2,opt,name=connection_state,json=connectionState,proto3" json:"connection_state,omitempty"`
|
2018-02-17 01:41:01 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Connection) Reset() {
|
|
|
|
*x = Connection{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[47]
|
2020-05-14 22:45:10 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Connection) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*Connection) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Connection) ProtoReflect() protoreflect.Message {
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[47]
|
2020-05-14 22:45:10 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2018-05-03 19:38:53 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use Connection.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Connection) Descriptor() ([]byte, []int) {
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{47}
|
2020-05-14 22:45:10 +00:00
|
|
|
}
|
2018-02-17 01:41:01 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Connection) GetRemoteAddr() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.RemoteAddr
|
2018-02-17 01:41:01 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
Add remote_port in the audit logs when it is available (#12790)
* Add remote_port in the audit logs when it is available
The `request.remote_port` field is now present in the audit log when it
is available:
```
{
"time": "2021-10-10T13:53:51.760039Z",
"type": "response",
"auth": {
"client_token": "hmac-sha256:1304aab0ac65747684e1b58248cc16715fa8f558f8d27e90fcbcb213220c0edf",
"accessor": "hmac-sha256:f8cf0601dadd19aac84f205ded44c62898e3746a42108a51105a92ccc39baa43",
"display_name": "root",
"policies": [
"root"
],
"token_policies": [
"root"
],
"token_type": "service",
"token_issue_time": "2021-10-10T15:53:44+02:00"
},
"request": {
"id": "829c04a1-0352-2d9d-9bc9-00b928d33df5",
"operation": "update",
"mount_type": "system",
"client_token": "hmac-sha256:1304aab0ac65747684e1b58248cc16715fa8f558f8d27e90fcbcb213220c0edf",
"client_token_accessor": "hmac-sha256:f8cf0601dadd19aac84f205ded44c62898e3746a42108a51105a92ccc39baa43",
"namespace": {
"id": "root"
},
"path": "sys/audit/file",
"data": {
"description": "hmac-sha256:321a1d105f8c6fd62be4f34c4da4f0e6d1cdee9eb2ff4af0b59e1410950fe86b",
"local": false,
"options": {
"file_path": "hmac-sha256:2421b5bf8dab1f9775b2e6e66e58d7bca99ab729f3f311782fda50717eee55b3"
},
"type": "hmac-sha256:30dff9607b4087e3ae6808b4a3aa395b1fc064e467748c55c25ddf0e9b150fcc"
},
"remote_address": "127.0.0.1",
"remote_port": 54798
},
"response": {
"mount_type": "system"
}
}
```
Closes https://github.com/hashicorp/vault/issues/7716
* Add changelog entry
* Empty commit to trigger CI
* Add test and explicit error handling
* Change temporary file pattern in test
2022-01-26 23:47:15 +00:00
|
|
|
func (x *Connection) GetRemotePort() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.RemotePort
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-10-07 12:06:09 +00:00
|
|
|
func (x *Connection) GetConnectionState() *ConnectionState {
|
|
|
|
if x != nil {
|
|
|
|
return x.ConnectionState
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ConnectionState struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-10-07 17:36:22 +00:00
|
|
|
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
HandshakeComplete bool `protobuf:"varint,2,opt,name=handshake_complete,json=handshakeComplete,proto3" json:"handshake_complete,omitempty"`
|
|
|
|
DidResume bool `protobuf:"varint,3,opt,name=did_resume,json=didResume,proto3" json:"did_resume,omitempty"`
|
|
|
|
CipherSuite uint32 `protobuf:"varint,4,opt,name=cipher_suite,json=cipherSuite,proto3" json:"cipher_suite,omitempty"`
|
|
|
|
NegotiatedProtocol string `protobuf:"bytes,5,opt,name=negotiated_protocol,json=negotiatedProtocol,proto3" json:"negotiated_protocol,omitempty"`
|
|
|
|
NegotiatedProtocolIsMutual bool `protobuf:"varint,6,opt,name=negotiated_protocol_is_mutual,json=negotiatedProtocolIsMutual,proto3" json:"negotiated_protocol_is_mutual,omitempty"`
|
|
|
|
ServerName string `protobuf:"bytes,7,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
|
|
|
|
PeerCertificates *CertificateChain `protobuf:"bytes,8,opt,name=peer_certificates,json=peerCertificates,proto3" json:"peer_certificates,omitempty"`
|
|
|
|
VerifiedChains []*CertificateChain `protobuf:"bytes,9,rep,name=verified_chains,json=verifiedChains,proto3" json:"verified_chains,omitempty"`
|
|
|
|
SignedCertificateTimestamps [][]byte `protobuf:"bytes,10,rep,name=signed_certificate_timestamps,json=signedCertificateTimestamps,proto3" json:"signed_certificate_timestamps,omitempty"`
|
|
|
|
OcspResponse []byte `protobuf:"bytes,11,opt,name=ocsp_response,json=ocspResponse,proto3" json:"ocsp_response,omitempty"`
|
|
|
|
TlsUnique []byte `protobuf:"bytes,12,opt,name=tls_unique,json=tlsUnique,proto3" json:"tls_unique,omitempty"`
|
2021-10-07 12:06:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ConnectionState) Reset() {
|
|
|
|
*x = ConnectionState{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[48]
|
2021-10-07 12:06:09 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ConnectionState) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*ConnectionState) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ConnectionState) ProtoReflect() protoreflect.Message {
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[48]
|
2021-10-07 12:06:09 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use ConnectionState.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ConnectionState) Descriptor() ([]byte, []int) {
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{48}
|
2021-10-07 12:06:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ConnectionState) GetVersion() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Version
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ConnectionState) GetHandshakeComplete() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.HandshakeComplete
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ConnectionState) GetDidResume() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.DidResume
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ConnectionState) GetCipherSuite() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.CipherSuite
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ConnectionState) GetNegotiatedProtocol() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.NegotiatedProtocol
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ConnectionState) GetNegotiatedProtocolIsMutual() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.NegotiatedProtocolIsMutual
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ConnectionState) GetServerName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ServerName
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ConnectionState) GetPeerCertificates() *CertificateChain {
|
|
|
|
if x != nil {
|
|
|
|
return x.PeerCertificates
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ConnectionState) GetVerifiedChains() []*CertificateChain {
|
|
|
|
if x != nil {
|
|
|
|
return x.VerifiedChains
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ConnectionState) GetSignedCertificateTimestamps() [][]byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.SignedCertificateTimestamps
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ConnectionState) GetOcspResponse() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.OcspResponse
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ConnectionState) GetTlsUnique() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.TlsUnique
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Certificate struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-10-07 17:36:22 +00:00
|
|
|
Asn1Data []byte `protobuf:"bytes,1,opt,name=asn1_data,json=asn1Data,proto3" json:"asn1_data,omitempty"`
|
2021-10-07 12:06:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Certificate) Reset() {
|
|
|
|
*x = Certificate{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[49]
|
2021-10-07 12:06:09 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Certificate) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*Certificate) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Certificate) ProtoReflect() protoreflect.Message {
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[49]
|
2021-10-07 12:06:09 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Certificate) Descriptor() ([]byte, []int) {
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{49}
|
2021-10-07 12:06:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Certificate) GetAsn1Data() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.Asn1Data
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type CertificateChain struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-10-07 17:36:22 +00:00
|
|
|
Certificates []*Certificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"`
|
2021-10-07 12:06:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *CertificateChain) Reset() {
|
|
|
|
*x = CertificateChain{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[50]
|
2021-10-07 12:06:09 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *CertificateChain) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*CertificateChain) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *CertificateChain) ProtoReflect() protoreflect.Message {
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[50]
|
2021-10-07 12:06:09 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use CertificateChain.ProtoReflect.Descriptor instead.
|
|
|
|
func (*CertificateChain) Descriptor() ([]byte, []int) {
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{50}
|
2021-10-07 12:06:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *CertificateChain) GetCertificates() []*Certificate {
|
|
|
|
if x != nil {
|
|
|
|
return x.Certificates
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-02-03 21:24:16 +00:00
|
|
|
type SendEventRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
EventType string `protobuf:"bytes,1,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
|
|
|
|
Event *logical.EventData `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SendEventRequest) Reset() {
|
|
|
|
*x = SendEventRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[51]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SendEventRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SendEventRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SendEventRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_plugin_pb_backend_proto_msgTypes[51]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use SendEventRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SendEventRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescGZIP(), []int{51}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SendEventRequest) GetEventType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.EventType
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SendEventRequest) GetEvent() *logical.EventData {
|
|
|
|
if x != nil {
|
|
|
|
return x.Event
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
var File_sdk_plugin_pb_backend_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_sdk_plugin_pb_backend_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x1b, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x70, 0x62, 0x2f,
|
|
|
|
0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70,
|
|
|
|
0x62, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
|
|
0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
|
2023-02-03 21:24:16 +00:00
|
|
|
0x74, 0x6f, 0x1a, 0x17, 0x73, 0x64, 0x6b, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x2f,
|
|
|
|
0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x73, 0x64, 0x6b,
|
|
|
|
0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
|
|
|
0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x73, 0x64, 0x6b, 0x2f, 0x6c, 0x6f, 0x67,
|
|
|
|
0x69, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
0x6f, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x20, 0x0a, 0x06, 0x48, 0x65,
|
|
|
|
0x61, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01,
|
|
|
|
0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x5b, 0x0a, 0x0a,
|
|
|
|
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x72,
|
|
|
|
0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x72,
|
|
|
|
0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x5f, 0x6d, 0x73, 0x67,
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x19,
|
|
|
|
0x0a, 0x08, 0x65, 0x72, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x22, 0xce, 0x01, 0x0a, 0x05, 0x50, 0x61,
|
|
|
|
0x74, 0x68, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28,
|
|
|
|
0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x75, 0x6e, 0x61, 0x75, 0x74,
|
|
|
|
0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
|
|
|
|
0x52, 0x0f, 0x75, 0x6e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65,
|
|
|
|
0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61,
|
|
|
|
0x67, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x53,
|
|
|
|
0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x65, 0x61, 0x6c, 0x5f, 0x77,
|
|
|
|
0x72, 0x61, 0x70, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28,
|
|
|
|
0x09, 0x52, 0x0f, 0x73, 0x65, 0x61, 0x6c, 0x57, 0x72, 0x61, 0x70, 0x53, 0x74, 0x6f, 0x72, 0x61,
|
|
|
|
0x67, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x77,
|
|
|
|
0x61, 0x72, 0x64, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20,
|
|
|
|
0x03, 0x28, 0x09, 0x52, 0x15, 0x77, 0x72, 0x69, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72,
|
|
|
|
0x64, 0x65, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x22, 0xbf, 0x06, 0x0a, 0x07, 0x52,
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63,
|
|
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x12, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43,
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
|
|
|
|
0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61,
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
|
|
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x06,
|
|
|
|
0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70,
|
|
|
|
0x62, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74,
|
|
|
|
0x12, 0x1c, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08,
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x12, 0x32,
|
|
|
|
0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
|
|
0x18, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61,
|
|
|
|
0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65,
|
|
|
|
0x72, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x6b,
|
|
|
|
0x65, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
|
|
|
|
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x32, 0x0a, 0x15, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f,
|
|
|
|
0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x18, 0x0a,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65,
|
|
|
|
0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73,
|
|
|
|
0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
|
|
|
|
0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1d, 0x0a,
|
|
|
|
0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e,
|
|
|
|
0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x18, 0x0e,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73,
|
|
|
|
0x73, 0x6f, 0x72, 0x12, 0x30, 0x0a, 0x09, 0x77, 0x72, 0x61, 0x70, 0x5f, 0x69, 0x6e, 0x66, 0x6f,
|
|
|
|
0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
0x65, 0x73, 0x74, 0x57, 0x72, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x77, 0x72, 0x61,
|
|
|
|
0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x1b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f,
|
|
|
|
0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f,
|
|
|
|
0x75, 0x73, 0x65, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x63, 0x6c, 0x69, 0x65,
|
|
|
|
0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67,
|
|
|
|
0x55, 0x73, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69,
|
|
|
|
0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49,
|
|
|
|
0x64, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x6f, 0x76, 0x65, 0x72,
|
|
|
|
0x72, 0x69, 0x64, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x70, 0x6f, 0x6c, 0x69,
|
|
|
|
0x63, 0x79, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x75, 0x6e,
|
|
|
|
0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x13, 0x20,
|
|
|
|
0x01, 0x28, 0x08, 0x52, 0x0f, 0x75, 0x6e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63,
|
|
|
|
0x61, 0x74, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69,
|
|
|
|
0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f,
|
|
|
|
0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x46, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45,
|
|
|
|
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65,
|
|
|
|
0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe6, 0x05, 0x0a,
|
|
|
|
0x04, 0x41, 0x75, 0x74, 0x68, 0x12, 0x35, 0x0a, 0x0d, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x6f,
|
2023-01-24 19:00:27 +00:00
|
|
|
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70,
|
|
|
|
0x62, 0x2e, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0c,
|
|
|
|
0x6c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0d,
|
|
|
|
0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74,
|
2023-02-03 21:24:16 +00:00
|
|
|
0x61, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d,
|
|
|
|
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
|
|
|
|
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
|
|
|
|
0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
|
|
|
|
0x12, 0x32, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x03,
|
|
|
|
0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x2e, 0x4d, 0x65, 0x74,
|
|
|
|
0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61,
|
|
|
|
0x64, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74,
|
|
|
|
0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x69, 0x65,
|
|
|
|
0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x65, 0x73,
|
|
|
|
0x73, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x63, 0x63, 0x65, 0x73,
|
|
|
|
0x73, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x08, 0x20,
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6e,
|
|
|
|
0x75, 0x6d, 0x5f, 0x75, 0x73, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6e,
|
|
|
|
0x75, 0x6d, 0x55, 0x73, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
|
|
|
|
0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
|
|
|
0x79, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x0b, 0x20, 0x01,
|
|
|
|
0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x2e, 0x41, 0x6c, 0x69,
|
|
|
|
0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x33, 0x0a, 0x0d, 0x67, 0x72, 0x6f,
|
|
|
|
0x75, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b,
|
|
|
|
0x32, 0x0e, 0x2e, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73,
|
|
|
|
0x52, 0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x1f,
|
|
|
|
0x0a, 0x0b, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x63, 0x69, 0x64, 0x72, 0x73, 0x18, 0x0d, 0x20,
|
|
|
|
0x03, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x69, 0x64, 0x72, 0x73, 0x12,
|
|
|
|
0x25, 0x0a, 0x0e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65,
|
|
|
|
0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x6f,
|
|
|
|
0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
|
|
|
0x74, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28,
|
|
|
|
0x09, 0x52, 0x10, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63,
|
|
|
|
0x69, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x65, 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x5f,
|
|
|
|
0x6d, 0x61, 0x78, 0x5f, 0x74, 0x74, 0x6c, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65,
|
|
|
|
0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x4d, 0x61, 0x78, 0x54, 0x74, 0x6c, 0x12, 0x1d, 0x0a,
|
|
|
|
0x0a, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28,
|
|
|
|
0x0d, 0x52, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11,
|
|
|
|
0x6e, 0x6f, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63,
|
|
|
|
0x79, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x6e, 0x6f, 0x44, 0x65, 0x66, 0x61, 0x75,
|
|
|
|
0x6c, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61,
|
|
|
|
0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
|
|
|
|
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
|
|
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xca, 0x06, 0x0a, 0x0a, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x45,
|
|
|
|
0x6e, 0x74, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72,
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72,
|
|
|
|
0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x6c, 0x69,
|
|
|
|
0x63, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69,
|
|
|
|
0x63, 0x69, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2c, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61,
|
|
|
|
0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x6b, 0x65,
|
|
|
|
0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
|
|
0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
|
|
|
|
0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69,
|
|
|
|
0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x75, 0x6d,
|
|
|
|
0x5f, 0x75, 0x73, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6e, 0x75, 0x6d,
|
|
|
|
0x55, 0x73, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x63, 0x72, 0x65,
|
|
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c,
|
|
|
|
0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x12, 0x28, 0x0a, 0x10, 0x65,
|
|
|
|
0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x74, 0x6c, 0x18,
|
|
|
|
0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x4d,
|
|
|
|
0x61, 0x78, 0x54, 0x74, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x0c, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x65, 0x72,
|
|
|
|
0x69, 0x6f, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f,
|
|
|
|
0x64, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f,
|
|
|
|
0x0a, 0x0b, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x63, 0x69, 0x64, 0x72, 0x73, 0x18, 0x0f, 0x20,
|
|
|
|
0x03, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x69, 0x64, 0x72, 0x73, 0x12,
|
|
|
|
0x21, 0x0a, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18,
|
|
|
|
0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
|
|
|
|
0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x62, 0x62, 0x79, 0x68, 0x6f, 0x6c, 0x65, 0x5f,
|
|
|
|
0x69, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x75, 0x62, 0x62, 0x79, 0x68,
|
|
|
|
0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x12, 0x20,
|
|
|
|
0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x69, 0x6e, 0x74,
|
|
|
|
0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b,
|
|
|
|
0x32, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
|
|
0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74,
|
|
|
|
0x72, 0x79, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x61,
|
|
|
|
0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63,
|
|
|
|
0x79, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50,
|
|
|
|
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x30, 0x0a, 0x14, 0x6e, 0x6f, 0x5f, 0x69, 0x64, 0x65, 0x6e,
|
|
|
|
0x74, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x15, 0x20,
|
|
|
|
0x01, 0x28, 0x08, 0x52, 0x12, 0x6e, 0x6f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50,
|
|
|
|
0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72,
|
|
|
|
0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78,
|
|
|
|
0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x1a, 0x37, 0x0a, 0x09, 0x4d, 0x65, 0x74, 0x61,
|
|
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
|
|
|
|
0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x74,
|
|
|
|
0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
|
|
|
|
0x38, 0x01, 0x22, 0xaf, 0x01, 0x0a, 0x0c, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69,
|
|
|
|
0x6f, 0x6e, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x54, 0x54, 0x4c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
0x52, 0x03, 0x54, 0x54, 0x4c, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x62,
|
|
|
|
0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61,
|
|
|
|
0x62, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74,
|
|
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e,
|
|
|
|
0x74, 0x12, 0x39, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
|
|
|
|
0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
|
|
|
0x70, 0x52, 0x09, 0x69, 0x73, 0x73, 0x75, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06,
|
|
|
|
0x4d, 0x61, 0x78, 0x54, 0x54, 0x4c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x4d, 0x61,
|
|
|
|
0x78, 0x54, 0x54, 0x4c, 0x22, 0x7f, 0x0a, 0x06, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x35,
|
|
|
|
0x0a, 0x0d, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x65, 0x61, 0x73, 0x65,
|
|
|
|
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0c, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x70,
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61,
|
|
|
|
0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e,
|
|
|
|
0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65,
|
|
|
|
0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x65,
|
|
|
|
0x61, 0x73, 0x65, 0x49, 0x64, 0x22, 0xc8, 0x02, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
0x73, 0x65, 0x12, 0x22, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x06,
|
|
|
|
0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x02,
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x04,
|
|
|
|
0x61, 0x75, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x64, 0x69,
|
|
|
|
0x72, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x64, 0x69,
|
|
|
|
0x72, 0x65, 0x63, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73,
|
|
|
|
0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73,
|
|
|
|
0x12, 0x31, 0x0a, 0x09, 0x77, 0x72, 0x61, 0x70, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20,
|
2023-01-24 19:00:27 +00:00
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
0x65, 0x57, 0x72, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x77, 0x72, 0x61, 0x70, 0x49,
|
2023-02-03 21:24:16 +00:00
|
|
|
0x6e, 0x66, 0x6f, 0x12, 0x33, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x07,
|
|
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
0x73, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
|
|
|
0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x46, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64,
|
|
|
|
0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x05, 0x76, 0x61,
|
|
|
|
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x48,
|
|
|
|
0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
|
|
|
|
0x22, 0xc8, 0x02, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x57, 0x72, 0x61,
|
|
|
|
0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x54, 0x54, 0x4c, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x03, 0x52, 0x03, 0x54, 0x54, 0x4c, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1a, 0x0a,
|
|
|
|
0x08, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x08, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x72, 0x65,
|
|
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
|
|
0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x63, 0x72,
|
|
|
|
0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x77, 0x72,
|
|
|
|
0x61, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x18, 0x05,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x64, 0x41, 0x63, 0x63,
|
|
|
|
0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x64,
|
|
|
|
0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x0f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49,
|
|
|
|
0x64, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65,
|
|
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1b,
|
|
|
|
0x0a, 0x09, 0x73, 0x65, 0x61, 0x6c, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28,
|
|
|
|
0x08, 0x52, 0x08, 0x73, 0x65, 0x61, 0x6c, 0x57, 0x72, 0x61, 0x70, 0x22, 0x58, 0x0a, 0x0f, 0x52,
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x57, 0x72, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10,
|
|
|
|
0x0a, 0x03, 0x54, 0x54, 0x4c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x54, 0x54, 0x4c,
|
|
|
|
0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x61, 0x6c,
|
|
|
|
0x5f, 0x77, 0x72, 0x61, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x61,
|
|
|
|
0x6c, 0x57, 0x72, 0x61, 0x70, 0x22, 0x59, 0x0a, 0x11, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52,
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x72, 0x67, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74,
|
|
|
|
0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09,
|
|
|
|
0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x07, 0x72, 0x65, 0x71,
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
0x22, 0x60, 0x0a, 0x12, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x28, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65,
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
0x12, 0x20, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e,
|
|
|
|
0x70, 0x62, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x03, 0x65,
|
|
|
|
0x72, 0x72, 0x22, 0x10, 0x0a, 0x0e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65,
|
|
|
|
0x41, 0x72, 0x67, 0x73, 0x22, 0x33, 0x0a, 0x0f, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69,
|
|
|
|
0x7a, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x20, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x45,
|
|
|
|
0x72, 0x72, 0x6f, 0x72, 0x52, 0x03, 0x65, 0x72, 0x72, 0x22, 0x34, 0x0a, 0x11, 0x53, 0x70, 0x65,
|
|
|
|
0x63, 0x69, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1f,
|
|
|
|
0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e,
|
|
|
|
0x70, 0x62, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x22,
|
|
|
|
0x60, 0x0a, 0x18, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x6e,
|
|
|
|
0x63, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x72, 0x67, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73,
|
|
|
|
0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
|
|
0x09, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x07, 0x72, 0x65,
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62,
|
|
|
|
0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
0x74, 0x22, 0x76, 0x0a, 0x19, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74,
|
|
|
|
0x65, 0x6e, 0x63, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1f,
|
|
|
|
0x0a, 0x0b, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x08, 0x52, 0x0a, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x12,
|
|
|
|
0x16, 0x0a, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
|
0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x20, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x03,
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x45,
|
|
|
|
0x72, 0x72, 0x6f, 0x72, 0x52, 0x03, 0x65, 0x72, 0x72, 0x22, 0xb8, 0x01, 0x0a, 0x09, 0x53, 0x65,
|
|
|
|
0x74, 0x75, 0x70, 0x41, 0x72, 0x67, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x72, 0x6f, 0x6b, 0x65,
|
|
|
|
0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x62, 0x72, 0x6f, 0x6b,
|
|
|
|
0x65, 0x72, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02,
|
|
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x75, 0x70, 0x41,
|
|
|
|
0x72, 0x67, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
|
|
|
0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x61, 0x63, 0x6b, 0x65,
|
|
|
|
0x6e, 0x64, 0x55, 0x55, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x61,
|
|
|
|
0x63, 0x6b, 0x65, 0x6e, 0x64, 0x55, 0x55, 0x49, 0x44, 0x1a, 0x39, 0x0a, 0x0b, 0x43, 0x6f, 0x6e,
|
|
|
|
0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
|
|
|
|
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
|
|
0x3a, 0x02, 0x38, 0x01, 0x22, 0x1e, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x75, 0x70, 0x52, 0x65, 0x70,
|
|
|
|
0x6c, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x03, 0x65, 0x72, 0x72, 0x22, 0x1f, 0x0a, 0x09, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x70, 0x6c,
|
|
|
|
0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
|
|
0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x25, 0x0a, 0x11, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64,
|
|
|
|
0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x41, 0x72, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
|
|
|
|
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x53, 0x0a, 0x0c,
|
|
|
|
0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
|
|
|
|
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
|
|
|
|
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76,
|
|
|
|
0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x61, 0x6c, 0x5f, 0x77, 0x72, 0x61,
|
|
|
|
0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x61, 0x6c, 0x57, 0x72, 0x61,
|
|
|
|
0x70, 0x22, 0x29, 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74,
|
|
|
|
0x41, 0x72, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x22, 0x38, 0x0a, 0x10,
|
|
|
|
0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79,
|
|
|
|
0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04,
|
|
|
|
0x6b, 0x65, 0x79, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x03, 0x65, 0x72, 0x72, 0x22, 0x22, 0x0a, 0x0e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
|
|
|
|
0x65, 0x47, 0x65, 0x74, 0x41, 0x72, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x4b, 0x0a, 0x0f, 0x53, 0x74,
|
|
|
|
0x6f, 0x72, 0x61, 0x67, 0x65, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x26, 0x0a,
|
|
|
|
0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70,
|
|
|
|
0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05,
|
|
|
|
0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x03, 0x65, 0x72, 0x72, 0x22, 0x38, 0x0a, 0x0e, 0x53, 0x74, 0x6f, 0x72, 0x61,
|
|
|
|
0x67, 0x65, 0x50, 0x75, 0x74, 0x41, 0x72, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x05, 0x65, 0x6e, 0x74,
|
|
|
|
0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74,
|
|
|
|
0x6f, 0x72, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72,
|
|
|
|
0x79, 0x22, 0x23, 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x75, 0x74, 0x52,
|
|
|
|
0x65, 0x70, 0x6c, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x03, 0x65, 0x72, 0x72, 0x22, 0x25, 0x0a, 0x11, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
|
|
|
|
0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x72, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
|
|
|
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x26, 0x0a,
|
|
|
|
0x12, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65,
|
|
|
|
0x70, 0x6c, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x03, 0x65, 0x72, 0x72, 0x22, 0x1c, 0x0a, 0x08, 0x54, 0x54, 0x4c, 0x52, 0x65, 0x70, 0x6c,
|
|
|
|
0x79, 0x12, 0x10, 0x0a, 0x03, 0x54, 0x54, 0x4c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03,
|
|
|
|
0x54, 0x54, 0x4c, 0x22, 0x28, 0x0a, 0x0c, 0x54, 0x61, 0x69, 0x6e, 0x74, 0x65, 0x64, 0x52, 0x65,
|
|
|
|
0x70, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x69, 0x6e, 0x74, 0x65, 0x64, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x74, 0x61, 0x69, 0x6e, 0x74, 0x65, 0x64, 0x22, 0x32, 0x0a,
|
|
|
|
0x14, 0x43, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
|
|
0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65,
|
|
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65,
|
|
|
|
0x64, 0x22, 0x2d, 0x0a, 0x15, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74,
|
|
|
|
0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
|
|
|
|
0x22, 0x4e, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x57, 0x72, 0x61, 0x70,
|
|
|
|
0x44, 0x61, 0x74, 0x61, 0x41, 0x72, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03,
|
|
|
|
0x54, 0x54, 0x4c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x54, 0x54, 0x4c, 0x12, 0x10,
|
|
|
|
0x0a, 0x03, 0x4a, 0x57, 0x54, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x4a, 0x57, 0x54,
|
|
|
|
0x22, 0x5c, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x57, 0x72, 0x61, 0x70,
|
|
|
|
0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x31, 0x0a, 0x09, 0x77, 0x72, 0x61,
|
|
|
|
0x70, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70,
|
|
|
|
0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x57, 0x72, 0x61, 0x70, 0x49, 0x6e,
|
|
|
|
0x66, 0x6f, 0x52, 0x08, 0x77, 0x72, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03,
|
|
|
|
0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, 0x72, 0x72, 0x22, 0x2d,
|
|
|
|
0x0a, 0x11, 0x4d, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65,
|
|
|
|
0x70, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x27, 0x0a,
|
|
|
|
0x0f, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79,
|
|
|
|
0x12, 0x14, 0x0a, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
|
0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x22, 0x2d, 0x0a, 0x0e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79,
|
|
|
|
0x49, 0x6e, 0x66, 0x6f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69,
|
|
|
|
0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x74,
|
|
|
|
0x69, 0x74, 0x79, 0x49, 0x64, 0x22, 0x4c, 0x0a, 0x0f, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49,
|
|
|
|
0x6e, 0x66, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x27, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x69,
|
|
|
|
0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x6f, 0x67, 0x69, 0x63,
|
|
|
|
0x61, 0x6c, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
|
|
|
0x79, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
|
|
|
|
0x65, 0x72, 0x72, 0x22, 0x50, 0x0a, 0x14, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x46, 0x6f, 0x72,
|
|
|
|
0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x26, 0x0a, 0x06, 0x67,
|
|
|
|
0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6f,
|
|
|
|
0x67, 0x69, 0x63, 0x61, 0x6c, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f,
|
|
|
|
0x75, 0x70, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x03, 0x65, 0x72, 0x72, 0x22, 0x6d, 0x0a, 0x0e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x45,
|
|
|
|
0x6e, 0x76, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x49, 0x0a, 0x12, 0x70, 0x6c, 0x75, 0x67, 0x69,
|
|
|
|
0x6e, 0x5f, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x2e, 0x50, 0x6c,
|
|
|
|
0x75, 0x67, 0x69, 0x6e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52,
|
|
|
|
0x11, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65,
|
|
|
|
0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x03, 0x65, 0x72, 0x72, 0x22, 0x44, 0x0a, 0x21, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
|
|
|
|
0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, 0x6c, 0x69,
|
|
|
|
0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6f, 0x6c,
|
|
|
|
0x69, 0x63, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
|
|
|
0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3d, 0x0a, 0x1f, 0x47, 0x65,
|
|
|
|
0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x46, 0x72,
|
|
|
|
0x6f, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1a, 0x0a,
|
|
|
|
0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x66, 0x0a, 0x10, 0x43, 0x6c, 0x75,
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x21, 0x0a,
|
|
|
|
0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65,
|
|
|
|
0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12,
|
|
|
|
0x10, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, 0x72,
|
|
|
|
0x72, 0x22, 0x8e, 0x01, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18,
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64,
|
|
|
|
0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74,
|
|
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x6f,
|
|
|
|
0x72, 0x74, 0x12, 0x3e, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70,
|
|
|
|
0x62, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
0x65, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61,
|
|
|
|
0x74, 0x65, 0x22, 0xbb, 0x04, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
|
|
|
|
0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
|
|
|
0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
|
|
|
0x12, 0x2d, 0x0a, 0x12, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x5f, 0x63, 0x6f,
|
|
|
|
0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x68, 0x61,
|
|
|
|
0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12,
|
|
|
|
0x1d, 0x0a, 0x0a, 0x64, 0x69, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x18, 0x03, 0x20,
|
|
|
|
0x01, 0x28, 0x08, 0x52, 0x09, 0x64, 0x69, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x12, 0x21,
|
|
|
|
0x0a, 0x0c, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x73, 0x75, 0x69, 0x74, 0x65, 0x18, 0x04,
|
|
|
|
0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x53, 0x75, 0x69, 0x74,
|
|
|
|
0x65, 0x12, 0x2f, 0x0a, 0x13, 0x6e, 0x65, 0x67, 0x6f, 0x74, 0x69, 0x61, 0x74, 0x65, 0x64, 0x5f,
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12,
|
|
|
|
0x6e, 0x65, 0x67, 0x6f, 0x74, 0x69, 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63,
|
|
|
|
0x6f, 0x6c, 0x12, 0x41, 0x0a, 0x1d, 0x6e, 0x65, 0x67, 0x6f, 0x74, 0x69, 0x61, 0x74, 0x65, 0x64,
|
|
|
|
0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5f, 0x69, 0x73, 0x5f, 0x6d, 0x75, 0x74,
|
|
|
|
0x75, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x6e, 0x65, 0x67, 0x6f, 0x74,
|
|
|
|
0x69, 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x49, 0x73, 0x4d,
|
|
|
|
0x75, 0x74, 0x75, 0x61, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f,
|
|
|
|
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76,
|
|
|
|
0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x11, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x63,
|
|
|
|
0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28,
|
|
|
|
0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
|
|
|
|
0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52, 0x10, 0x70, 0x65, 0x65, 0x72, 0x43, 0x65, 0x72,
|
|
|
|
0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0f, 0x76, 0x65, 0x72,
|
|
|
|
0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03,
|
|
|
|
0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63,
|
|
|
|
0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52, 0x0e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69,
|
|
|
|
0x65, 0x64, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x42, 0x0a, 0x1d, 0x73, 0x69, 0x67, 0x6e,
|
|
|
|
0x65, 0x64, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x74,
|
|
|
|
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0c, 0x52,
|
|
|
|
0x1b, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
|
|
|
|
0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x12, 0x23, 0x0a, 0x0d,
|
|
|
|
0x6f, 0x63, 0x73, 0x70, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x0b, 0x20,
|
|
|
|
0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x63, 0x73, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6c, 0x73, 0x5f, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x18,
|
|
|
|
0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6c, 0x73, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65,
|
|
|
|
0x22, 0x2a, 0x0a, 0x0b, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12,
|
|
|
|
0x1b, 0x0a, 0x09, 0x61, 0x73, 0x6e, 0x31, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x0c, 0x52, 0x08, 0x61, 0x73, 0x6e, 0x31, 0x44, 0x61, 0x74, 0x61, 0x22, 0x47, 0x0a, 0x10,
|
|
|
|
0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e,
|
|
|
|
0x12, 0x33, 0x0a, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73,
|
|
|
|
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x65, 0x72, 0x74,
|
|
|
|
0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69,
|
|
|
|
0x63, 0x61, 0x74, 0x65, 0x73, 0x22, 0x5b, 0x0a, 0x10, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x76, 0x65,
|
|
|
|
0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x76, 0x65,
|
|
|
|
0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65,
|
|
|
|
0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e,
|
|
|
|
0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61,
|
|
|
|
0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x65, 0x76, 0x65,
|
|
|
|
0x6e, 0x74, 0x32, 0xa5, 0x03, 0x0a, 0x07, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x3e,
|
|
|
|
0x0a, 0x0d, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
|
0x15, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
0x73, 0x74, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x61, 0x6e, 0x64,
|
|
|
|
0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x30,
|
|
|
|
0x0a, 0x0c, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x09,
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x53,
|
|
|
|
0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79,
|
|
|
|
0x12, 0x53, 0x0a, 0x14, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65,
|
|
|
|
0x6e, 0x63, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x61,
|
2023-01-24 19:00:27 +00:00
|
|
|
0x6e, 0x64, 0x6c, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x68, 0x65,
|
2023-02-03 21:24:16 +00:00
|
|
|
0x63, 0x6b, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x61, 0x6e, 0x64,
|
|
|
|
0x6c, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b,
|
|
|
|
0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1f, 0x0a, 0x07, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70,
|
|
|
|
0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x09, 0x2e, 0x70, 0x62,
|
|
|
|
0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x31, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69,
|
|
|
|
0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6e, 0x76,
|
|
|
|
0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x09,
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x53, 0x65, 0x74,
|
|
|
|
0x75, 0x70, 0x12, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x75, 0x70, 0x41, 0x72, 0x67,
|
|
|
|
0x73, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x75, 0x70, 0x52, 0x65, 0x70, 0x6c,
|
|
|
|
0x79, 0x12, 0x35, 0x0a, 0x0a, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x12,
|
|
|
|
0x12, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x41,
|
|
|
|
0x72, 0x67, 0x73, 0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c,
|
|
|
|
0x69, 0x7a, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x20, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65,
|
|
|
|
0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x0d, 0x2e, 0x70, 0x62,
|
|
|
|
0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x32, 0xd5, 0x01, 0x0a, 0x07, 0x53,
|
|
|
|
0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x31, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x13,
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x41,
|
|
|
|
0x72, 0x67, 0x73, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
|
|
|
|
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2e, 0x0a, 0x03, 0x47, 0x65, 0x74,
|
|
|
|
0x12, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x47, 0x65, 0x74,
|
|
|
|
0x41, 0x72, 0x67, 0x73, 0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
|
|
|
|
0x65, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2e, 0x0a, 0x03, 0x50, 0x75, 0x74,
|
|
|
|
0x12, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x75, 0x74,
|
|
|
|
0x41, 0x72, 0x67, 0x73, 0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
|
|
|
|
0x65, 0x50, 0x75, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x37, 0x0a, 0x06, 0x44, 0x65, 0x6c,
|
|
|
|
0x65, 0x74, 0x65, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
|
|
|
|
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x70,
|
|
|
|
0x6c, 0x79, 0x32, 0xe1, 0x05, 0x0a, 0x0a, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x56, 0x69, 0x65,
|
|
|
|
0x77, 0x12, 0x2a, 0x0a, 0x0f, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4c, 0x65, 0x61, 0x73,
|
|
|
|
0x65, 0x54, 0x54, 0x4c, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a,
|
|
|
|
0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x54, 0x54, 0x4c, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x26, 0x0a,
|
|
|
|
0x0b, 0x4d, 0x61, 0x78, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x54, 0x54, 0x4c, 0x12, 0x09, 0x2e, 0x70,
|
|
|
|
0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x54, 0x54, 0x4c,
|
|
|
|
0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x26, 0x0a, 0x07, 0x54, 0x61, 0x69, 0x6e, 0x74, 0x65, 0x64,
|
|
|
|
0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x10, 0x2e, 0x70, 0x62,
|
|
|
|
0x2e, 0x54, 0x61, 0x69, 0x6e, 0x74, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x36, 0x0a,
|
|
|
|
0x0f, 0x43, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
|
|
0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x18, 0x2e, 0x70, 0x62,
|
|
|
|
0x2e, 0x43, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
|
|
0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x38, 0x0a, 0x10, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61,
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45,
|
|
|
|
0x6d, 0x70, 0x74, 0x79, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63,
|
|
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12,
|
|
|
|
0x47, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x57, 0x72, 0x61, 0x70, 0x44,
|
|
|
|
0x61, 0x74, 0x61, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
0x65, 0x57, 0x72, 0x61, 0x70, 0x44, 0x61, 0x74, 0x61, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x19, 0x2e,
|
2023-01-24 19:00:27 +00:00
|
|
|
0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x57, 0x72, 0x61, 0x70, 0x44,
|
2023-02-03 21:24:16 +00:00
|
|
|
0x61, 0x74, 0x61, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x30, 0x0a, 0x0c, 0x4d, 0x6c, 0x6f, 0x63,
|
|
|
|
0x6b, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d,
|
|
|
|
0x70, 0x74, 0x79, 0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x6e,
|
|
|
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2c, 0x0a, 0x0a, 0x4c, 0x6f,
|
|
|
|
0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d,
|
|
|
|
0x70, 0x74, 0x79, 0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f,
|
|
|
|
0x75, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x35, 0x0a, 0x0a, 0x45, 0x6e, 0x74, 0x69,
|
|
|
|
0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6e, 0x74, 0x69,
|
|
|
|
0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12,
|
|
|
|
0x2a, 0x0a, 0x09, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x45, 0x6e, 0x76, 0x12, 0x09, 0x2e, 0x70,
|
|
|
|
0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x6c, 0x75,
|
|
|
|
0x67, 0x69, 0x6e, 0x45, 0x6e, 0x76, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3f, 0x0a, 0x0f, 0x47,
|
|
|
|
0x72, 0x6f, 0x75, 0x70, 0x73, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x12,
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x41, 0x72,
|
|
|
|
0x67, 0x73, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x46, 0x6f,
|
|
|
|
0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x68, 0x0a, 0x1a,
|
|
|
|
0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64,
|
|
|
|
0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64,
|
|
|
|
0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x50,
|
|
|
|
0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63,
|
|
|
|
0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2e, 0x0a, 0x0b, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
|
|
|
|
0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66,
|
|
|
|
0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x32, 0x36, 0x0a, 0x06, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73,
|
|
|
|
0x12, 0x2c, 0x0a, 0x09, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x2e,
|
|
|
|
0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
0x65, 0x73, 0x74, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x2a,
|
|
|
|
0x5a, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x61, 0x73,
|
|
|
|
0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x73, 0x64, 0x6b,
|
|
|
|
0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
0x6f, 0x33,
|
2020-05-14 22:45:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
file_sdk_plugin_pb_backend_proto_rawDescOnce sync.Once
|
|
|
|
file_sdk_plugin_pb_backend_proto_rawDescData = file_sdk_plugin_pb_backend_proto_rawDesc
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_sdk_plugin_pb_backend_proto_rawDescGZIP() []byte {
|
|
|
|
file_sdk_plugin_pb_backend_proto_rawDescOnce.Do(func() {
|
|
|
|
file_sdk_plugin_pb_backend_proto_rawDescData = protoimpl.X.CompressGZIP(file_sdk_plugin_pb_backend_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_sdk_plugin_pb_backend_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
2023-02-03 21:24:16 +00:00
|
|
|
var file_sdk_plugin_pb_backend_proto_msgTypes = make([]protoimpl.MessageInfo, 58)
|
2020-05-14 22:45:10 +00:00
|
|
|
var file_sdk_plugin_pb_backend_proto_goTypes = []interface{}{
|
2020-05-27 18:28:00 +00:00
|
|
|
(*Empty)(nil), // 0: pb.Empty
|
|
|
|
(*Header)(nil), // 1: pb.Header
|
|
|
|
(*ProtoError)(nil), // 2: pb.ProtoError
|
|
|
|
(*Paths)(nil), // 3: pb.Paths
|
|
|
|
(*Request)(nil), // 4: pb.Request
|
|
|
|
(*Auth)(nil), // 5: pb.Auth
|
|
|
|
(*TokenEntry)(nil), // 6: pb.TokenEntry
|
|
|
|
(*LeaseOptions)(nil), // 7: pb.LeaseOptions
|
|
|
|
(*Secret)(nil), // 8: pb.Secret
|
|
|
|
(*Response)(nil), // 9: pb.Response
|
|
|
|
(*ResponseWrapInfo)(nil), // 10: pb.ResponseWrapInfo
|
|
|
|
(*RequestWrapInfo)(nil), // 11: pb.RequestWrapInfo
|
|
|
|
(*HandleRequestArgs)(nil), // 12: pb.HandleRequestArgs
|
|
|
|
(*HandleRequestReply)(nil), // 13: pb.HandleRequestReply
|
|
|
|
(*InitializeArgs)(nil), // 14: pb.InitializeArgs
|
|
|
|
(*InitializeReply)(nil), // 15: pb.InitializeReply
|
|
|
|
(*SpecialPathsReply)(nil), // 16: pb.SpecialPathsReply
|
|
|
|
(*HandleExistenceCheckArgs)(nil), // 17: pb.HandleExistenceCheckArgs
|
|
|
|
(*HandleExistenceCheckReply)(nil), // 18: pb.HandleExistenceCheckReply
|
|
|
|
(*SetupArgs)(nil), // 19: pb.SetupArgs
|
|
|
|
(*SetupReply)(nil), // 20: pb.SetupReply
|
|
|
|
(*TypeReply)(nil), // 21: pb.TypeReply
|
|
|
|
(*InvalidateKeyArgs)(nil), // 22: pb.InvalidateKeyArgs
|
|
|
|
(*StorageEntry)(nil), // 23: pb.StorageEntry
|
|
|
|
(*StorageListArgs)(nil), // 24: pb.StorageListArgs
|
|
|
|
(*StorageListReply)(nil), // 25: pb.StorageListReply
|
|
|
|
(*StorageGetArgs)(nil), // 26: pb.StorageGetArgs
|
|
|
|
(*StorageGetReply)(nil), // 27: pb.StorageGetReply
|
|
|
|
(*StoragePutArgs)(nil), // 28: pb.StoragePutArgs
|
|
|
|
(*StoragePutReply)(nil), // 29: pb.StoragePutReply
|
|
|
|
(*StorageDeleteArgs)(nil), // 30: pb.StorageDeleteArgs
|
|
|
|
(*StorageDeleteReply)(nil), // 31: pb.StorageDeleteReply
|
|
|
|
(*TTLReply)(nil), // 32: pb.TTLReply
|
|
|
|
(*TaintedReply)(nil), // 33: pb.TaintedReply
|
|
|
|
(*CachingDisabledReply)(nil), // 34: pb.CachingDisabledReply
|
|
|
|
(*ReplicationStateReply)(nil), // 35: pb.ReplicationStateReply
|
|
|
|
(*ResponseWrapDataArgs)(nil), // 36: pb.ResponseWrapDataArgs
|
|
|
|
(*ResponseWrapDataReply)(nil), // 37: pb.ResponseWrapDataReply
|
|
|
|
(*MlockEnabledReply)(nil), // 38: pb.MlockEnabledReply
|
|
|
|
(*LocalMountReply)(nil), // 39: pb.LocalMountReply
|
|
|
|
(*EntityInfoArgs)(nil), // 40: pb.EntityInfoArgs
|
|
|
|
(*EntityInfoReply)(nil), // 41: pb.EntityInfoReply
|
|
|
|
(*GroupsForEntityReply)(nil), // 42: pb.GroupsForEntityReply
|
|
|
|
(*PluginEnvReply)(nil), // 43: pb.PluginEnvReply
|
|
|
|
(*GeneratePasswordFromPolicyRequest)(nil), // 44: pb.GeneratePasswordFromPolicyRequest
|
|
|
|
(*GeneratePasswordFromPolicyReply)(nil), // 45: pb.GeneratePasswordFromPolicyReply
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
(*ClusterInfoReply)(nil), // 46: pb.ClusterInfoReply
|
|
|
|
(*Connection)(nil), // 47: pb.Connection
|
|
|
|
(*ConnectionState)(nil), // 48: pb.ConnectionState
|
|
|
|
(*Certificate)(nil), // 49: pb.Certificate
|
|
|
|
(*CertificateChain)(nil), // 50: pb.CertificateChain
|
2023-02-03 21:24:16 +00:00
|
|
|
(*SendEventRequest)(nil), // 51: pb.SendEventRequest
|
|
|
|
nil, // 52: pb.Request.HeadersEntry
|
|
|
|
nil, // 53: pb.Auth.MetadataEntry
|
|
|
|
nil, // 54: pb.TokenEntry.MetaEntry
|
|
|
|
nil, // 55: pb.TokenEntry.InternalMetaEntry
|
|
|
|
nil, // 56: pb.Response.HeadersEntry
|
|
|
|
nil, // 57: pb.SetupArgs.ConfigEntry
|
|
|
|
(*logical.Alias)(nil), // 58: logical.Alias
|
|
|
|
(*timestamppb.Timestamp)(nil), // 59: google.protobuf.Timestamp
|
|
|
|
(*logical.Entity)(nil), // 60: logical.Entity
|
|
|
|
(*logical.Group)(nil), // 61: logical.Group
|
|
|
|
(*logical.PluginEnvironment)(nil), // 62: logical.PluginEnvironment
|
|
|
|
(*logical.EventData)(nil), // 63: logical.EventData
|
2020-05-14 22:45:10 +00:00
|
|
|
}
|
|
|
|
var file_sdk_plugin_pb_backend_proto_depIDxs = []int32{
|
|
|
|
8, // 0: pb.Request.secret:type_name -> pb.Secret
|
|
|
|
5, // 1: pb.Request.auth:type_name -> pb.Auth
|
2023-02-03 21:24:16 +00:00
|
|
|
52, // 2: pb.Request.headers:type_name -> pb.Request.HeadersEntry
|
2020-05-14 22:45:10 +00:00
|
|
|
11, // 3: pb.Request.wrap_info:type_name -> pb.RequestWrapInfo
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
47, // 4: pb.Request.connection:type_name -> pb.Connection
|
2020-05-14 22:45:10 +00:00
|
|
|
7, // 5: pb.Auth.lease_options:type_name -> pb.LeaseOptions
|
2023-02-03 21:24:16 +00:00
|
|
|
53, // 6: pb.Auth.metadata:type_name -> pb.Auth.MetadataEntry
|
|
|
|
58, // 7: pb.Auth.alias:type_name -> logical.Alias
|
|
|
|
58, // 8: pb.Auth.group_aliases:type_name -> logical.Alias
|
|
|
|
54, // 9: pb.TokenEntry.meta:type_name -> pb.TokenEntry.MetaEntry
|
|
|
|
55, // 10: pb.TokenEntry.internal_meta:type_name -> pb.TokenEntry.InternalMetaEntry
|
|
|
|
59, // 11: pb.LeaseOptions.issue_time:type_name -> google.protobuf.Timestamp
|
2021-10-07 17:36:22 +00:00
|
|
|
7, // 12: pb.Secret.lease_options:type_name -> pb.LeaseOptions
|
|
|
|
8, // 13: pb.Response.secret:type_name -> pb.Secret
|
|
|
|
5, // 14: pb.Response.auth:type_name -> pb.Auth
|
|
|
|
10, // 15: pb.Response.wrap_info:type_name -> pb.ResponseWrapInfo
|
2023-02-03 21:24:16 +00:00
|
|
|
56, // 16: pb.Response.headers:type_name -> pb.Response.HeadersEntry
|
|
|
|
59, // 17: pb.ResponseWrapInfo.creation_time:type_name -> google.protobuf.Timestamp
|
2021-10-07 17:36:22 +00:00
|
|
|
4, // 18: pb.HandleRequestArgs.request:type_name -> pb.Request
|
|
|
|
9, // 19: pb.HandleRequestReply.response:type_name -> pb.Response
|
|
|
|
2, // 20: pb.HandleRequestReply.err:type_name -> pb.ProtoError
|
|
|
|
2, // 21: pb.InitializeReply.err:type_name -> pb.ProtoError
|
|
|
|
3, // 22: pb.SpecialPathsReply.paths:type_name -> pb.Paths
|
|
|
|
4, // 23: pb.HandleExistenceCheckArgs.request:type_name -> pb.Request
|
|
|
|
2, // 24: pb.HandleExistenceCheckReply.err:type_name -> pb.ProtoError
|
2023-02-03 21:24:16 +00:00
|
|
|
57, // 25: pb.SetupArgs.Config:type_name -> pb.SetupArgs.ConfigEntry
|
2021-10-07 17:36:22 +00:00
|
|
|
23, // 26: pb.StorageGetReply.entry:type_name -> pb.StorageEntry
|
|
|
|
23, // 27: pb.StoragePutArgs.entry:type_name -> pb.StorageEntry
|
|
|
|
10, // 28: pb.ResponseWrapDataReply.wrap_info:type_name -> pb.ResponseWrapInfo
|
2023-02-03 21:24:16 +00:00
|
|
|
60, // 29: pb.EntityInfoReply.entity:type_name -> logical.Entity
|
|
|
|
61, // 30: pb.GroupsForEntityReply.groups:type_name -> logical.Group
|
|
|
|
62, // 31: pb.PluginEnvReply.plugin_environment:type_name -> logical.PluginEnvironment
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
48, // 32: pb.Connection.connection_state:type_name -> pb.ConnectionState
|
|
|
|
50, // 33: pb.ConnectionState.peer_certificates:type_name -> pb.CertificateChain
|
|
|
|
50, // 34: pb.ConnectionState.verified_chains:type_name -> pb.CertificateChain
|
|
|
|
49, // 35: pb.CertificateChain.certificates:type_name -> pb.Certificate
|
2023-02-03 21:24:16 +00:00
|
|
|
63, // 36: pb.SendEventRequest.event:type_name -> logical.EventData
|
|
|
|
1, // 37: pb.Request.HeadersEntry.value:type_name -> pb.Header
|
|
|
|
1, // 38: pb.Response.HeadersEntry.value:type_name -> pb.Header
|
|
|
|
12, // 39: pb.Backend.HandleRequest:input_type -> pb.HandleRequestArgs
|
|
|
|
0, // 40: pb.Backend.SpecialPaths:input_type -> pb.Empty
|
|
|
|
17, // 41: pb.Backend.HandleExistenceCheck:input_type -> pb.HandleExistenceCheckArgs
|
|
|
|
0, // 42: pb.Backend.Cleanup:input_type -> pb.Empty
|
|
|
|
22, // 43: pb.Backend.InvalidateKey:input_type -> pb.InvalidateKeyArgs
|
|
|
|
19, // 44: pb.Backend.Setup:input_type -> pb.SetupArgs
|
|
|
|
14, // 45: pb.Backend.Initialize:input_type -> pb.InitializeArgs
|
|
|
|
0, // 46: pb.Backend.Type:input_type -> pb.Empty
|
|
|
|
24, // 47: pb.Storage.List:input_type -> pb.StorageListArgs
|
|
|
|
26, // 48: pb.Storage.Get:input_type -> pb.StorageGetArgs
|
|
|
|
28, // 49: pb.Storage.Put:input_type -> pb.StoragePutArgs
|
|
|
|
30, // 50: pb.Storage.Delete:input_type -> pb.StorageDeleteArgs
|
|
|
|
0, // 51: pb.SystemView.DefaultLeaseTTL:input_type -> pb.Empty
|
|
|
|
0, // 52: pb.SystemView.MaxLeaseTTL:input_type -> pb.Empty
|
|
|
|
0, // 53: pb.SystemView.Tainted:input_type -> pb.Empty
|
|
|
|
0, // 54: pb.SystemView.CachingDisabled:input_type -> pb.Empty
|
|
|
|
0, // 55: pb.SystemView.ReplicationState:input_type -> pb.Empty
|
|
|
|
36, // 56: pb.SystemView.ResponseWrapData:input_type -> pb.ResponseWrapDataArgs
|
|
|
|
0, // 57: pb.SystemView.MlockEnabled:input_type -> pb.Empty
|
|
|
|
0, // 58: pb.SystemView.LocalMount:input_type -> pb.Empty
|
|
|
|
40, // 59: pb.SystemView.EntityInfo:input_type -> pb.EntityInfoArgs
|
|
|
|
0, // 60: pb.SystemView.PluginEnv:input_type -> pb.Empty
|
|
|
|
40, // 61: pb.SystemView.GroupsForEntity:input_type -> pb.EntityInfoArgs
|
|
|
|
44, // 62: pb.SystemView.GeneratePasswordFromPolicy:input_type -> pb.GeneratePasswordFromPolicyRequest
|
|
|
|
0, // 63: pb.SystemView.ClusterInfo:input_type -> pb.Empty
|
|
|
|
51, // 64: pb.Events.SendEvent:input_type -> pb.SendEventRequest
|
|
|
|
13, // 65: pb.Backend.HandleRequest:output_type -> pb.HandleRequestReply
|
|
|
|
16, // 66: pb.Backend.SpecialPaths:output_type -> pb.SpecialPathsReply
|
|
|
|
18, // 67: pb.Backend.HandleExistenceCheck:output_type -> pb.HandleExistenceCheckReply
|
|
|
|
0, // 68: pb.Backend.Cleanup:output_type -> pb.Empty
|
|
|
|
0, // 69: pb.Backend.InvalidateKey:output_type -> pb.Empty
|
|
|
|
20, // 70: pb.Backend.Setup:output_type -> pb.SetupReply
|
|
|
|
15, // 71: pb.Backend.Initialize:output_type -> pb.InitializeReply
|
|
|
|
21, // 72: pb.Backend.Type:output_type -> pb.TypeReply
|
|
|
|
25, // 73: pb.Storage.List:output_type -> pb.StorageListReply
|
|
|
|
27, // 74: pb.Storage.Get:output_type -> pb.StorageGetReply
|
|
|
|
29, // 75: pb.Storage.Put:output_type -> pb.StoragePutReply
|
|
|
|
31, // 76: pb.Storage.Delete:output_type -> pb.StorageDeleteReply
|
|
|
|
32, // 77: pb.SystemView.DefaultLeaseTTL:output_type -> pb.TTLReply
|
|
|
|
32, // 78: pb.SystemView.MaxLeaseTTL:output_type -> pb.TTLReply
|
|
|
|
33, // 79: pb.SystemView.Tainted:output_type -> pb.TaintedReply
|
|
|
|
34, // 80: pb.SystemView.CachingDisabled:output_type -> pb.CachingDisabledReply
|
|
|
|
35, // 81: pb.SystemView.ReplicationState:output_type -> pb.ReplicationStateReply
|
|
|
|
37, // 82: pb.SystemView.ResponseWrapData:output_type -> pb.ResponseWrapDataReply
|
|
|
|
38, // 83: pb.SystemView.MlockEnabled:output_type -> pb.MlockEnabledReply
|
|
|
|
39, // 84: pb.SystemView.LocalMount:output_type -> pb.LocalMountReply
|
|
|
|
41, // 85: pb.SystemView.EntityInfo:output_type -> pb.EntityInfoReply
|
|
|
|
43, // 86: pb.SystemView.PluginEnv:output_type -> pb.PluginEnvReply
|
|
|
|
42, // 87: pb.SystemView.GroupsForEntity:output_type -> pb.GroupsForEntityReply
|
|
|
|
45, // 88: pb.SystemView.GeneratePasswordFromPolicy:output_type -> pb.GeneratePasswordFromPolicyReply
|
|
|
|
46, // 89: pb.SystemView.ClusterInfo:output_type -> pb.ClusterInfoReply
|
|
|
|
0, // 90: pb.Events.SendEvent:output_type -> pb.Empty
|
|
|
|
65, // [65:91] is the sub-list for method output_type
|
|
|
|
39, // [39:65] is the sub-list for method input_type
|
|
|
|
39, // [39:39] is the sub-list for extension type_name
|
|
|
|
39, // [39:39] is the sub-list for extension extendee
|
|
|
|
0, // [0:39] is the sub-list for field type_name
|
2020-05-14 22:45:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_sdk_plugin_pb_backend_proto_init() }
|
|
|
|
func file_sdk_plugin_pb_backend_proto_init() {
|
|
|
|
if File_sdk_plugin_pb_backend_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Empty); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Header); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*ProtoError); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Paths); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Request); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Auth); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*TokenEntry); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*LeaseOptions); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Secret); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Response); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*ResponseWrapInfo); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*RequestWrapInfo); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*HandleRequestArgs); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*HandleRequestReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*InitializeArgs); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*InitializeReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*SpecialPathsReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*HandleExistenceCheckArgs); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*HandleExistenceCheckReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*SetupArgs); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*SetupReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*TypeReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*InvalidateKeyArgs); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*StorageEntry); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*StorageListArgs); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*StorageListReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*StorageGetArgs); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*StorageGetReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*StoragePutArgs); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*StoragePutReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*StorageDeleteArgs); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*StorageDeleteReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*TTLReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*TaintedReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*CachingDisabledReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*ReplicationStateReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*ResponseWrapDataArgs); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*ResponseWrapDataReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*MlockEnabledReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*LocalMountReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*EntityInfoArgs); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*EntityInfoReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*GroupsForEntityReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*PluginEnvReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
|
2020-05-27 18:28:00 +00:00
|
|
|
switch v := v.(*GeneratePasswordFromPolicyRequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*GeneratePasswordFromPolicyReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
switch v := v.(*ClusterInfoReply); i {
|
2020-05-14 22:45:10 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2021-10-07 12:06:09 +00:00
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
switch v := v.(*Connection); i {
|
2021-10-07 12:06:09 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
switch v := v.(*ConnectionState); i {
|
2021-10-07 12:06:09 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {
|
Add path based primary write forwarding (PBPWF) - OSS (#18735)
* Add WriteForwardedStorage to sdk's plugin, logical in OSS
This should allow backends to specify paths to forward write
(storage.Put(...) and storage.Delete(...)) operations for.
Notably, these semantics are subject to change and shouldn't yet be
relied on.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Collect paths for write forwarding in OSS
This adds a path manager to Core, allowing tracking across all Vault
versions of paths which could use write forwarding if available. In
particular, even on OSS offerings, we'll need to template {{clusterId}}
into the paths, in the event of later upgrading to Enterprise. If we
didn't, we'd end up writing paths which will no longer be accessible
post-migration, due to write forwarding now replacing the sentinel with
the actual cluster identifier.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add forwarded writer implementation to OSS
Here, for paths given to us, we determine if we need to do cluster
translation and perform local writing. This is the OSS variant.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Wire up mount-specific request forwarding in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Clarify that state lock needs to be held to call HAState in OSS
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Move cluster sentinel constant to sdk/logical
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Expose ClusterID to Plugins via SystemView
This will let plugins learn what the Cluster's ID is, without having to
resort to hacks like writing a random string to its cluster-prefixed
namespace and then reading it once it has replicated.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Add GRPC ClusterID implementation
For any external plugins which wish to use it.
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-01-20 21:36:18 +00:00
|
|
|
switch v := v.(*Certificate); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} {
|
2021-10-07 12:06:09 +00:00
|
|
|
switch v := v.(*CertificateChain); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-02-03 21:24:16 +00:00
|
|
|
file_sdk_plugin_pb_backend_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*SendEventRequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_sdk_plugin_pb_backend_proto_rawDesc,
|
|
|
|
NumEnums: 0,
|
2023-02-03 21:24:16 +00:00
|
|
|
NumMessages: 58,
|
2020-05-14 22:45:10 +00:00
|
|
|
NumExtensions: 0,
|
2023-02-03 21:24:16 +00:00
|
|
|
NumServices: 4,
|
2020-05-14 22:45:10 +00:00
|
|
|
},
|
|
|
|
GoTypes: file_sdk_plugin_pb_backend_proto_goTypes,
|
|
|
|
DependencyIndexes: file_sdk_plugin_pb_backend_proto_depIDxs,
|
|
|
|
MessageInfos: file_sdk_plugin_pb_backend_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_sdk_plugin_pb_backend_proto = out.File
|
|
|
|
file_sdk_plugin_pb_backend_proto_rawDesc = nil
|
|
|
|
file_sdk_plugin_pb_backend_proto_goTypes = nil
|
|
|
|
file_sdk_plugin_pb_backend_proto_depIDxs = nil
|
2019-02-05 21:02:15 +00:00
|
|
|
}
|