mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
running make proto (#17106)
This commit is contained in:
@@ -27,7 +27,7 @@ type Request struct {
|
||||
|
||||
// Not used right now but reserving in case it turns out that streaming
|
||||
// makes things more economical on the gRPC side
|
||||
//uint64 id = 1;
|
||||
// uint64 id = 1;
|
||||
Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
|
||||
Url *URL `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
|
||||
HeaderEntries map[string]*HeaderEntry `protobuf:"bytes,4,rep,name=header_entries,json=headerEntries,proto3" json:"header_entries,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
@@ -127,12 +127,12 @@ type URL struct {
|
||||
Opaque string `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
|
||||
// This isn't needed now but might be in the future, so we'll skip the
|
||||
// number to keep the ordering in net/url
|
||||
//UserInfo user = 3;
|
||||
// UserInfo user = 3;
|
||||
Host string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"`
|
||||
Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
|
||||
RawPath string `protobuf:"bytes,6,opt,name=raw_path,json=rawPath,proto3" json:"raw_path,omitempty"`
|
||||
// This also isn't needed right now, but we'll reserve the number
|
||||
//bool force_query = 7;
|
||||
// bool force_query = 7;
|
||||
RawQuery string `protobuf:"bytes,8,opt,name=raw_query,json=rawQuery,proto3" json:"raw_query,omitempty"`
|
||||
Fragment string `protobuf:"bytes,9,opt,name=fragment,proto3" json:"fragment,omitempty"`
|
||||
}
|
||||
@@ -272,7 +272,7 @@ type Response struct {
|
||||
|
||||
// Not used right now but reserving in case it turns out that streaming
|
||||
// makes things more economical on the gRPC side
|
||||
//uint64 id = 1;
|
||||
// uint64 id = 1;
|
||||
StatusCode uint32 `protobuf:"varint,2,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
|
||||
Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
|
||||
// Added in 0.6.2 to ensure that the content-type is set appropriately, as
|
||||
|
||||
@@ -42,6 +42,7 @@ type Config struct {
|
||||
// @inject_tag: sentinel:"-"
|
||||
//
|
||||
// Types that are assignable to Config:
|
||||
//
|
||||
// *Config_TOTPConfig
|
||||
// *Config_OktaConfig
|
||||
// *Config_DuoConfig
|
||||
@@ -589,6 +590,7 @@ type Secret struct {
|
||||
// @inject_tag: sentinel:"-"
|
||||
MethodName string `protobuf:"bytes,1,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty" sentinel:"-"`
|
||||
// Types that are assignable to Value:
|
||||
//
|
||||
// *Secret_TOTPSecret
|
||||
Value isSecret_Value `protobuf_oneof:"value"`
|
||||
}
|
||||
|
||||
@@ -22,9 +22,9 @@ const (
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
/////////////////
|
||||
// ///////////////
|
||||
// Initialize()
|
||||
/////////////////
|
||||
// ///////////////
|
||||
type InitializeRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -324,9 +324,9 @@ func (x *NewUserResponse) GetUsername() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
/////////////////
|
||||
// ///////////////
|
||||
// UpdateUser()
|
||||
/////////////////
|
||||
// ///////////////
|
||||
type UpdateUserRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -609,9 +609,9 @@ func (*UpdateUserResponse) Descriptor() ([]byte, []int) {
|
||||
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
/////////////////
|
||||
// ///////////////
|
||||
// DeleteUser()
|
||||
/////////////////
|
||||
// ///////////////
|
||||
type DeleteUserRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -705,9 +705,9 @@ func (*DeleteUserResponse) Descriptor() ([]byte, []int) {
|
||||
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
/////////////////
|
||||
// ///////////////
|
||||
// Type()
|
||||
/////////////////
|
||||
// ///////////////
|
||||
type TypeResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -755,9 +755,9 @@ func (x *TypeResponse) GetType() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
/////////////////
|
||||
// ///////////////
|
||||
// General purpose
|
||||
/////////////////
|
||||
// ///////////////
|
||||
type Statements struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
|
||||
Reference in New Issue
Block a user