mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 11:08:10 +00:00
protobuf: rebuild protos with protobuf 1.36 (#29229)
Signed-off-by: Ryan Cragun <me@ryan.ec>
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: builtin/logical/pki/metadata.proto
|
// source: builtin/logical/pki/metadata.proto
|
||||||
|
|
||||||
@@ -25,14 +25,13 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type CertificateMetadata struct {
|
type CertificateMetadata struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
IssuerId string `protobuf:"bytes,1,opt,name=issuer_id,json=issuerId,proto3" json:"issuer_id,omitempty"`
|
IssuerId string `protobuf:"bytes,1,opt,name=issuer_id,json=issuerId,proto3" json:"issuer_id,omitempty"`
|
||||||
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
|
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
|
||||||
Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
|
Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
|
||||||
ClientMetadata []byte `protobuf:"bytes,4,opt,name=client_metadata,json=clientMetadata,proto3,oneof" json:"client_metadata,omitempty"`
|
ClientMetadata []byte `protobuf:"bytes,4,opt,name=client_metadata,json=clientMetadata,proto3,oneof" json:"client_metadata,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CertificateMetadata) Reset() {
|
func (x *CertificateMetadata) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: helper/forwarding/types.proto
|
// source: helper/forwarding/types.proto
|
||||||
|
|
||||||
@@ -24,20 +24,19 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Request struct {
|
type Request struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// Not used right now but reserving in case it turns out that streaming
|
// Not used right now but reserving in case it turns out that streaming
|
||||||
// makes things more economical on the gRPC side
|
// 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"`
|
Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
|
||||||
Url *URL `protobuf:"bytes,3,opt,name=url,proto3" json:"url,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"`
|
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" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
Body []byte `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
|
Body []byte `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
|
||||||
Host string `protobuf:"bytes,6,opt,name=host,proto3" json:"host,omitempty"`
|
Host string `protobuf:"bytes,6,opt,name=host,proto3" json:"host,omitempty"`
|
||||||
RemoteAddr string `protobuf:"bytes,7,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"`
|
RemoteAddr string `protobuf:"bytes,7,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"`
|
||||||
PeerCertificates [][]byte `protobuf:"bytes,8,rep,name=peer_certificates,json=peerCertificates,proto3" json:"peer_certificates,omitempty"`
|
PeerCertificates [][]byte `protobuf:"bytes,8,rep,name=peer_certificates,json=peerCertificates,proto3" json:"peer_certificates,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Request) Reset() {
|
func (x *Request) Reset() {
|
||||||
@@ -120,12 +119,9 @@ func (x *Request) GetPeerCertificates() [][]byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type URL struct {
|
type URL struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Scheme string `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
Opaque string `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
|
||||||
|
|
||||||
Scheme string `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty"`
|
|
||||||
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
|
// This isn't needed now but might be in the future, so we'll skip the
|
||||||
// number to keep the ordering in net/url
|
// number to keep the ordering in net/url
|
||||||
// UserInfo user = 3;
|
// UserInfo user = 3;
|
||||||
@@ -134,8 +130,10 @@ type URL struct {
|
|||||||
RawPath string `protobuf:"bytes,6,opt,name=raw_path,json=rawPath,proto3" json:"raw_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
|
// 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"`
|
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"`
|
Fragment string `protobuf:"bytes,9,opt,name=fragment,proto3" json:"fragment,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *URL) Reset() {
|
func (x *URL) Reset() {
|
||||||
@@ -218,11 +216,10 @@ func (x *URL) GetFragment() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type HeaderEntry struct {
|
type HeaderEntry struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *HeaderEntry) Reset() {
|
func (x *HeaderEntry) Reset() {
|
||||||
@@ -263,10 +260,7 @@ func (x *HeaderEntry) GetValues() []string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Response struct {
|
type Response struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// Not used right now but reserving in case it turns out that streaming
|
// Not used right now but reserving in case it turns out that streaming
|
||||||
// makes things more economical on the gRPC side
|
// makes things more economical on the gRPC side
|
||||||
// uint64 id = 1;
|
// uint64 id = 1;
|
||||||
@@ -274,8 +268,10 @@ type Response struct {
|
|||||||
Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,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
|
// Added in 0.6.2 to ensure that the content-type is set appropriately, as
|
||||||
// well as any other information
|
// well as any other information
|
||||||
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"`
|
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" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
LastRemoteWal uint64 `protobuf:"varint,5,opt,name=last_remote_wal,json=lastRemoteWal,proto3" json:"last_remote_wal,omitempty"`
|
LastRemoteWal uint64 `protobuf:"varint,5,opt,name=last_remote_wal,json=lastRemoteWal,proto3" json:"last_remote_wal,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Response) Reset() {
|
func (x *Response) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: helper/identity/mfa/types.proto
|
// source: helper/identity/mfa/types.proto
|
||||||
|
|
||||||
@@ -28,10 +28,7 @@ const (
|
|||||||
// Configuration information differs by type. Handler of each type should know
|
// Configuration information differs by type. Handler of each type should know
|
||||||
// what to expect from the Config field.
|
// what to expect from the Config field.
|
||||||
type Config struct {
|
type Config struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" sentinel:"-"`
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" sentinel:"-"`
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
@@ -44,7 +41,7 @@ type Config struct {
|
|||||||
UsernameFormat string `protobuf:"bytes,5,opt,name=username_format,json=usernameFormat,proto3" json:"username_format,omitempty" sentinel:"-"`
|
UsernameFormat string `protobuf:"bytes,5,opt,name=username_format,json=usernameFormat,proto3" json:"username_format,omitempty" sentinel:"-"`
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
//
|
//
|
||||||
// Types that are assignable to Config:
|
// Types that are valid to be assigned to Config:
|
||||||
//
|
//
|
||||||
// *Config_TOTPConfig
|
// *Config_TOTPConfig
|
||||||
// *Config_OktaConfig
|
// *Config_OktaConfig
|
||||||
@@ -52,7 +49,9 @@ type Config struct {
|
|||||||
// *Config_PingIDConfig
|
// *Config_PingIDConfig
|
||||||
Config isConfig_Config `protobuf_oneof:"config" sentinel:"-"`
|
Config isConfig_Config `protobuf_oneof:"config" sentinel:"-"`
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
NamespaceID string `protobuf:"bytes,10,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty" sentinel:"-"`
|
NamespaceID string `protobuf:"bytes,10,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty" sentinel:"-"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Config) Reset() {
|
func (x *Config) Reset() {
|
||||||
@@ -120,37 +119,45 @@ func (x *Config) GetUsernameFormat() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Config) GetConfig() isConfig_Config {
|
func (x *Config) GetConfig() isConfig_Config {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Config
|
return x.Config
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Config) GetTOTPConfig() *TOTPConfig {
|
func (x *Config) GetTOTPConfig() *TOTPConfig {
|
||||||
if x, ok := x.GetConfig().(*Config_TOTPConfig); ok {
|
if x != nil {
|
||||||
return x.TOTPConfig
|
if x, ok := x.Config.(*Config_TOTPConfig); ok {
|
||||||
|
return x.TOTPConfig
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Config) GetOktaConfig() *OktaConfig {
|
func (x *Config) GetOktaConfig() *OktaConfig {
|
||||||
if x, ok := x.GetConfig().(*Config_OktaConfig); ok {
|
if x != nil {
|
||||||
return x.OktaConfig
|
if x, ok := x.Config.(*Config_OktaConfig); ok {
|
||||||
|
return x.OktaConfig
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Config) GetDuoConfig() *DuoConfig {
|
func (x *Config) GetDuoConfig() *DuoConfig {
|
||||||
if x, ok := x.GetConfig().(*Config_DuoConfig); ok {
|
if x != nil {
|
||||||
return x.DuoConfig
|
if x, ok := x.Config.(*Config_DuoConfig); ok {
|
||||||
|
return x.DuoConfig
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Config) GetPingIDConfig() *PingIDConfig {
|
func (x *Config) GetPingIDConfig() *PingIDConfig {
|
||||||
if x, ok := x.GetConfig().(*Config_PingIDConfig); ok {
|
if x != nil {
|
||||||
return x.PingIDConfig
|
if x, ok := x.Config.(*Config_PingIDConfig); ok {
|
||||||
|
return x.PingIDConfig
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@@ -196,10 +203,7 @@ func (*Config_PingIDConfig) isConfig_Config() {}
|
|||||||
// by the information stored in the entity and not from the values in the
|
// by the information stored in the entity and not from the values in the
|
||||||
// configuration.
|
// configuration.
|
||||||
type TOTPConfig struct {
|
type TOTPConfig struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty" sentinel:"-"`
|
Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty" sentinel:"-"`
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
@@ -216,6 +220,8 @@ type TOTPConfig struct {
|
|||||||
QRSize int32 `protobuf:"varint,7,opt,name=qr_size,json=qrSize,proto3" json:"qr_size,omitempty" sentinel:"-"`
|
QRSize int32 `protobuf:"varint,7,opt,name=qr_size,json=qrSize,proto3" json:"qr_size,omitempty" sentinel:"-"`
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
MaxValidationAttempts uint32 `protobuf:"varint,8,opt,name=max_validation_attempts,json=maxValidationAttempts,proto3" json:"max_validation_attempts,omitempty" sentinel:"-"`
|
MaxValidationAttempts uint32 `protobuf:"varint,8,opt,name=max_validation_attempts,json=maxValidationAttempts,proto3" json:"max_validation_attempts,omitempty" sentinel:"-"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TOTPConfig) Reset() {
|
func (x *TOTPConfig) Reset() {
|
||||||
@@ -307,10 +313,7 @@ func (x *TOTPConfig) GetMaxValidationAttempts() uint32 {
|
|||||||
// DuoConfig represents the configuration information required to perform
|
// DuoConfig represents the configuration information required to perform
|
||||||
// Duo authentication.
|
// Duo authentication.
|
||||||
type DuoConfig struct {
|
type DuoConfig struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
IntegrationKey string `protobuf:"bytes,1,opt,name=integration_key,json=integrationKey,proto3" json:"integration_key,omitempty" sentinel:"-"`
|
IntegrationKey string `protobuf:"bytes,1,opt,name=integration_key,json=integrationKey,proto3" json:"integration_key,omitempty" sentinel:"-"`
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
@@ -320,7 +323,9 @@ type DuoConfig struct {
|
|||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
PushInfo string `protobuf:"bytes,4,opt,name=push_info,json=pushInfo,proto3" json:"push_info,omitempty" sentinel:"-"`
|
PushInfo string `protobuf:"bytes,4,opt,name=push_info,json=pushInfo,proto3" json:"push_info,omitempty" sentinel:"-"`
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
UsePasscode bool `protobuf:"varint,5,opt,name=use_passcode,json=usePasscode,proto3" json:"use_passcode,omitempty" sentinel:"-"`
|
UsePasscode bool `protobuf:"varint,5,opt,name=use_passcode,json=usePasscode,proto3" json:"use_passcode,omitempty" sentinel:"-"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DuoConfig) Reset() {
|
func (x *DuoConfig) Reset() {
|
||||||
@@ -391,10 +396,7 @@ func (x *DuoConfig) GetUsePasscode() bool {
|
|||||||
// OktaConfig contains Okta configuration parameters required to perform Okta
|
// OktaConfig contains Okta configuration parameters required to perform Okta
|
||||||
// authentication.
|
// authentication.
|
||||||
type OktaConfig struct {
|
type OktaConfig struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
OrgName string `protobuf:"bytes,1,opt,name=org_name,json=orgName,proto3" json:"org_name,omitempty" sentinel:"-"`
|
OrgName string `protobuf:"bytes,1,opt,name=org_name,json=orgName,proto3" json:"org_name,omitempty" sentinel:"-"`
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
@@ -404,7 +406,9 @@ type OktaConfig struct {
|
|||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
BaseURL string `protobuf:"bytes,4,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty" sentinel:"-"`
|
BaseURL string `protobuf:"bytes,4,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty" sentinel:"-"`
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
PrimaryEmail bool `protobuf:"varint,5,opt,name=primary_email,json=primaryEmail,proto3" json:"primary_email,omitempty" sentinel:"-"`
|
PrimaryEmail bool `protobuf:"varint,5,opt,name=primary_email,json=primaryEmail,proto3" json:"primary_email,omitempty" sentinel:"-"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *OktaConfig) Reset() {
|
func (x *OktaConfig) Reset() {
|
||||||
@@ -474,10 +478,7 @@ func (x *OktaConfig) GetPrimaryEmail() bool {
|
|||||||
|
|
||||||
// PingIDConfig contains PingID configuration information
|
// PingIDConfig contains PingID configuration information
|
||||||
type PingIDConfig struct {
|
type PingIDConfig struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
UseBase64Key string `protobuf:"bytes,1,opt,name=use_base64_key,json=useBase64Key,proto3" json:"use_base64_key,omitempty" sentinel:"-"`
|
UseBase64Key string `protobuf:"bytes,1,opt,name=use_base64_key,json=useBase64Key,proto3" json:"use_base64_key,omitempty" sentinel:"-"`
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
@@ -492,6 +493,8 @@ type PingIDConfig struct {
|
|||||||
AdminURL string `protobuf:"bytes,6,opt,name=admin_url,json=adminUrl,proto3" json:"admin_url,omitempty" sentinel:"-"`
|
AdminURL string `protobuf:"bytes,6,opt,name=admin_url,json=adminUrl,proto3" json:"admin_url,omitempty" sentinel:"-"`
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
AuthenticatorURL string `protobuf:"bytes,7,opt,name=authenticator_url,json=authenticatorUrl,proto3" json:"authenticator_url,omitempty" sentinel:"-"`
|
AuthenticatorURL string `protobuf:"bytes,7,opt,name=authenticator_url,json=authenticatorUrl,proto3" json:"authenticator_url,omitempty" sentinel:"-"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PingIDConfig) Reset() {
|
func (x *PingIDConfig) Reset() {
|
||||||
@@ -576,16 +579,15 @@ func (x *PingIDConfig) GetAuthenticatorURL() string {
|
|||||||
// Secret represents all the types of secrets which the entity can hold.
|
// Secret represents all the types of secrets which the entity can hold.
|
||||||
// Each MFA type should add a secret type to the oneof block in this message.
|
// Each MFA type should add a secret type to the oneof block in this message.
|
||||||
type Secret struct {
|
type Secret struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
MethodName string `protobuf:"bytes,1,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty" sentinel:"-"`
|
MethodName string `protobuf:"bytes,1,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty" sentinel:"-"`
|
||||||
// Types that are assignable to Value:
|
// Types that are valid to be assigned to Value:
|
||||||
//
|
//
|
||||||
// *Secret_TOTPSecret
|
// *Secret_TOTPSecret
|
||||||
Value isSecret_Value `protobuf_oneof:"value"`
|
Value isSecret_Value `protobuf_oneof:"value"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Secret) Reset() {
|
func (x *Secret) Reset() {
|
||||||
@@ -625,16 +627,18 @@ func (x *Secret) GetMethodName() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Secret) GetValue() isSecret_Value {
|
func (x *Secret) GetValue() isSecret_Value {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Value
|
return x.Value
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Secret) GetTOTPSecret() *TOTPSecret {
|
func (x *Secret) GetTOTPSecret() *TOTPSecret {
|
||||||
if x, ok := x.GetValue().(*Secret_TOTPSecret); ok {
|
if x != nil {
|
||||||
return x.TOTPSecret
|
if x, ok := x.Value.(*Secret_TOTPSecret); ok {
|
||||||
|
return x.TOTPSecret
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@@ -654,10 +658,7 @@ func (*Secret_TOTPSecret) isSecret_Value() {}
|
|||||||
// particular MFA method. This information is used to validate the MFA
|
// particular MFA method. This information is used to validate the MFA
|
||||||
// credential supplied over the API during request time.
|
// credential supplied over the API during request time.
|
||||||
type TOTPSecret struct {
|
type TOTPSecret struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty" sentinel:"-"`
|
Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty" sentinel:"-"`
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
@@ -674,7 +675,9 @@ type TOTPSecret struct {
|
|||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
AccountName string `protobuf:"bytes,8,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty" sentinel:"-"`
|
AccountName string `protobuf:"bytes,8,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty" sentinel:"-"`
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
Key string `protobuf:"bytes,9,opt,name=key,proto3" json:"key,omitempty" sentinel:"-"`
|
Key string `protobuf:"bytes,9,opt,name=key,proto3" json:"key,omitempty" sentinel:"-"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TOTPSecret) Reset() {
|
func (x *TOTPSecret) Reset() {
|
||||||
@@ -766,18 +769,17 @@ func (x *TOTPSecret) GetKey() string {
|
|||||||
// MFAEnforcementConfig is what the user provides to the
|
// MFAEnforcementConfig is what the user provides to the
|
||||||
// mfa/login_enforcement endpoint.
|
// mfa/login_enforcement endpoint.
|
||||||
type MFAEnforcementConfig struct {
|
type MFAEnforcementConfig struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
NamespaceID string `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
||||||
|
MFAMethodIDs []string `protobuf:"bytes,3,rep,name=mfa_method_ids,json=mfaMethodIds,proto3" json:"mfa_method_ids,omitempty"`
|
||||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
AuthMethodAccessors []string `protobuf:"bytes,4,rep,name=auth_method_accessors,json=authMethodAccessors,proto3" json:"auth_method_accessors,omitempty"`
|
||||||
NamespaceID string `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
AuthMethodTypes []string `protobuf:"bytes,5,rep,name=auth_method_types,json=authMethodTypes,proto3" json:"auth_method_types,omitempty"`
|
||||||
MFAMethodIDs []string `protobuf:"bytes,3,rep,name=mfa_method_ids,json=mfaMethodIds,proto3" json:"mfa_method_ids,omitempty"`
|
IdentityGroupIds []string `protobuf:"bytes,6,rep,name=identity_group_ids,json=identityGroupIds,proto3" json:"identity_group_ids,omitempty"`
|
||||||
AuthMethodAccessors []string `protobuf:"bytes,4,rep,name=auth_method_accessors,json=authMethodAccessors,proto3" json:"auth_method_accessors,omitempty"`
|
IdentityEntityIDs []string `protobuf:"bytes,7,rep,name=identity_entity_ids,json=identityEntityIds,proto3" json:"identity_entity_ids,omitempty"`
|
||||||
AuthMethodTypes []string `protobuf:"bytes,5,rep,name=auth_method_types,json=authMethodTypes,proto3" json:"auth_method_types,omitempty"`
|
ID string `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
IdentityGroupIds []string `protobuf:"bytes,6,rep,name=identity_group_ids,json=identityGroupIds,proto3" json:"identity_group_ids,omitempty"`
|
unknownFields protoimpl.UnknownFields
|
||||||
IdentityEntityIDs []string `protobuf:"bytes,7,rep,name=identity_entity_ids,json=identityEntityIds,proto3" json:"identity_entity_ids,omitempty"`
|
sizeCache protoimpl.SizeCache
|
||||||
ID string `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MFAEnforcementConfig) Reset() {
|
func (x *MFAEnforcementConfig) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: helper/identity/types.proto
|
// source: helper/identity/types.proto
|
||||||
|
|
||||||
@@ -27,10 +27,7 @@ const (
|
|||||||
|
|
||||||
// Group represents an identity group.
|
// Group represents an identity group.
|
||||||
type Group struct {
|
type Group struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// ID is the unique identifier for this group
|
// ID is the unique identifier for this group
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" sentinel:"-"`
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" sentinel:"-"`
|
||||||
@@ -51,7 +48,7 @@ type Group struct {
|
|||||||
MemberEntityIDs []string `protobuf:"bytes,5,rep,name=member_entity_ids,json=memberEntityIDs,proto3" json:"member_entity_ids,omitempty" sentinel:"-"`
|
MemberEntityIDs []string `protobuf:"bytes,5,rep,name=member_entity_ids,json=memberEntityIDs,proto3" json:"member_entity_ids,omitempty" sentinel:"-"`
|
||||||
// Metadata represents the custom data tied with this group
|
// Metadata represents the custom data tied with this group
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
Metadata map[string]string `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" sentinel:"-"`
|
Metadata map[string]string `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" sentinel:"-"`
|
||||||
// CreationTime is the time at which this group was created
|
// CreationTime is the time at which this group was created
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
CreationTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty" sentinel:"-"`
|
CreationTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty" sentinel:"-"`
|
||||||
@@ -81,7 +78,9 @@ type Group struct {
|
|||||||
// belongs to. Do not return this value over the API when reading the
|
// belongs to. Do not return this value over the API when reading the
|
||||||
// group.
|
// group.
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
NamespaceID string `protobuf:"bytes,13,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty" sentinel:"-"`
|
NamespaceID string `protobuf:"bytes,13,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty" sentinel:"-"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Group) Reset() {
|
func (x *Group) Reset() {
|
||||||
@@ -208,11 +207,10 @@ func (x *Group) GetNamespaceID() string {
|
|||||||
// LocalAliases holds the aliases belonging to an entity that are local to the
|
// LocalAliases holds the aliases belonging to an entity that are local to the
|
||||||
// cluster.
|
// cluster.
|
||||||
type LocalAliases struct {
|
type LocalAliases struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Aliases []*Alias `protobuf:"bytes,1,rep,name=aliases,proto3" json:"aliases,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Aliases []*Alias `protobuf:"bytes,1,rep,name=aliases,proto3" json:"aliases,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *LocalAliases) Reset() {
|
func (x *LocalAliases) Reset() {
|
||||||
@@ -255,10 +253,7 @@ func (x *LocalAliases) GetAliases() []*Alias {
|
|||||||
// Entity represents an entity that gets persisted and indexed.
|
// Entity represents an entity that gets persisted and indexed.
|
||||||
// Entity is fundamentally composed of zero or many aliases.
|
// Entity is fundamentally composed of zero or many aliases.
|
||||||
type Entity struct {
|
type Entity struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// Aliases are the identities that this entity is made of. This can be
|
// Aliases are the identities that this entity is made of. This can be
|
||||||
// empty as well to favor being able to create the entity first and then
|
// empty as well to favor being able to create the entity first and then
|
||||||
// incrementally adding aliases.
|
// incrementally adding aliases.
|
||||||
@@ -281,7 +276,7 @@ type Entity struct {
|
|||||||
// on this explicit metadata. This enables virtual groupings of entities
|
// on this explicit metadata. This enables virtual groupings of entities
|
||||||
// based on its metadata.
|
// based on its metadata.
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" sentinel:"-"`
|
Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" sentinel:"-"`
|
||||||
// CreationTime is the time at which this entity is first created.
|
// CreationTime is the time at which this entity is first created.
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
CreationTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty" sentinel:"-"`
|
CreationTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty" sentinel:"-"`
|
||||||
@@ -307,7 +302,7 @@ type Entity struct {
|
|||||||
// MFASecrets holds the MFA secrets indexed by the identifier of the MFA
|
// MFASecrets holds the MFA secrets indexed by the identifier of the MFA
|
||||||
// method configuration.
|
// method configuration.
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
MFASecrets map[string]*mfa.Secret `protobuf:"bytes,10,rep,name=mfa_secrets,json=mfaSecrets,proto3" json:"mfa_secrets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" sentinel:"-"`
|
MFASecrets map[string]*mfa.Secret `protobuf:"bytes,10,rep,name=mfa_secrets,json=mfaSecrets,proto3" json:"mfa_secrets,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" sentinel:"-"`
|
||||||
// Disabled indicates whether tokens associated with the account should not
|
// Disabled indicates whether tokens associated with the account should not
|
||||||
// be able to be used
|
// be able to be used
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
@@ -316,7 +311,9 @@ type Entity struct {
|
|||||||
// belongs to. Do not return this value over the API when reading the
|
// belongs to. Do not return this value over the API when reading the
|
||||||
// entity.
|
// entity.
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
NamespaceID string `protobuf:"bytes,12,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty" sentinel:"-"`
|
NamespaceID string `protobuf:"bytes,12,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty" sentinel:"-"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Entity) Reset() {
|
func (x *Entity) Reset() {
|
||||||
@@ -437,10 +434,7 @@ func (x *Entity) GetNamespaceID() string {
|
|||||||
// entity object in storage and also represents in an in-memory index of an
|
// entity object in storage and also represents in an in-memory index of an
|
||||||
// alias object.
|
// alias object.
|
||||||
type Alias struct {
|
type Alias struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// ID is the unique identifier that represents this alias
|
// ID is the unique identifier that represents this alias
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" sentinel:"-"`
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" sentinel:"-"`
|
||||||
@@ -464,7 +458,7 @@ type Alias struct {
|
|||||||
// which enables virtual grouping of aliases. Aliases will be indexed
|
// which enables virtual grouping of aliases. Aliases will be indexed
|
||||||
// against their metadata.
|
// against their metadata.
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
Metadata map[string]string `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" sentinel:"-"`
|
Metadata map[string]string `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" sentinel:"-"`
|
||||||
// Name is the identifier of this alias in its authentication source.
|
// Name is the identifier of this alias in its authentication source.
|
||||||
// This does not uniquely identify an alias in Vault. This in conjunction
|
// This does not uniquely identify an alias in Vault. This in conjunction
|
||||||
// with MountAccessor form to be the factors that represent an alias in a
|
// with MountAccessor form to be the factors that represent an alias in a
|
||||||
@@ -489,7 +483,7 @@ type Alias struct {
|
|||||||
NamespaceID string `protobuf:"bytes,11,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty" sentinel:"-"`
|
NamespaceID string `protobuf:"bytes,11,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty" sentinel:"-"`
|
||||||
// Custom Metadata represents the custom data tied to this alias
|
// Custom Metadata represents the custom data tied to this alias
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
CustomMetadata map[string]string `protobuf:"bytes,12,rep,name=custom_metadata,json=customMetadata,proto3" json:"custom_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" sentinel:"-"`
|
CustomMetadata map[string]string `protobuf:"bytes,12,rep,name=custom_metadata,json=customMetadata,proto3" json:"custom_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value" sentinel:"-"`
|
||||||
// Local indicates if the alias only belongs to the cluster where it was
|
// Local indicates if the alias only belongs to the cluster where it was
|
||||||
// created. If true, the alias will be stored in a location that is ignored by
|
// created. If true, the alias will be stored in a location that is ignored by
|
||||||
// the performance replication subsystem.
|
// the performance replication subsystem.
|
||||||
@@ -500,6 +494,8 @@ type Alias struct {
|
|||||||
// during invalidation of local aliases in performance standbys.
|
// during invalidation of local aliases in performance standbys.
|
||||||
// @inject_tag: sentinel:"-"
|
// @inject_tag: sentinel:"-"
|
||||||
LocalBucketKey string `protobuf:"bytes,14,opt,name=local_bucket_key,json=localBucketKey,proto3" json:"local_bucket_key,omitempty" sentinel:"-"`
|
LocalBucketKey string `protobuf:"bytes,14,opt,name=local_bucket_key,json=localBucketKey,proto3" json:"local_bucket_key,omitempty" sentinel:"-"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Alias) Reset() {
|
func (x *Alias) Reset() {
|
||||||
@@ -632,20 +628,19 @@ func (x *Alias) GetLocalBucketKey() string {
|
|||||||
|
|
||||||
// Deprecated. Retained for backwards compatibility.
|
// Deprecated. Retained for backwards compatibility.
|
||||||
type EntityStorageEntry struct {
|
type EntityStorageEntry struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Personas []*PersonaIndexEntry `protobuf:"bytes,1,rep,name=personas,proto3" json:"personas,omitempty"`
|
Personas []*PersonaIndexEntry `protobuf:"bytes,1,rep,name=personas,proto3" json:"personas,omitempty"`
|
||||||
ID string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
ID string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
CreationTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
|
CreationTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
|
||||||
LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
|
LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
|
||||||
MergedEntityIDs []string `protobuf:"bytes,7,rep,name=merged_entity_ids,json=mergedEntityIDs,proto3" json:"merged_entity_ids,omitempty"`
|
MergedEntityIDs []string `protobuf:"bytes,7,rep,name=merged_entity_ids,json=mergedEntityIDs,proto3" json:"merged_entity_ids,omitempty"`
|
||||||
Policies []string `protobuf:"bytes,8,rep,name=policies,proto3" json:"policies,omitempty"`
|
Policies []string `protobuf:"bytes,8,rep,name=policies,proto3" json:"policies,omitempty"`
|
||||||
BucketKeyHash string `protobuf:"bytes,9,opt,name=bucket_key_hash,json=bucketKeyHash,proto3" json:"bucket_key_hash,omitempty"`
|
BucketKeyHash string `protobuf:"bytes,9,opt,name=bucket_key_hash,json=bucketKeyHash,proto3" json:"bucket_key_hash,omitempty"`
|
||||||
MFASecrets map[string]*mfa.Secret `protobuf:"bytes,10,rep,name=mfa_secrets,json=mfaSecrets,proto3" json:"mfa_secrets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
MFASecrets map[string]*mfa.Secret `protobuf:"bytes,10,rep,name=mfa_secrets,json=mfaSecrets,proto3" json:"mfa_secrets,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EntityStorageEntry) Reset() {
|
func (x *EntityStorageEntry) Reset() {
|
||||||
@@ -750,20 +745,19 @@ func (x *EntityStorageEntry) GetMFASecrets() map[string]*mfa.Secret {
|
|||||||
|
|
||||||
// Deprecated. Retained for backwards compatibility.
|
// Deprecated. Retained for backwards compatibility.
|
||||||
type PersonaIndexEntry struct {
|
type PersonaIndexEntry struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
EntityID string `protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
|
EntityID string `protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
|
||||||
MountType string `protobuf:"bytes,3,opt,name=mount_type,json=mountType,proto3" json:"mount_type,omitempty"`
|
MountType string `protobuf:"bytes,3,opt,name=mount_type,json=mountType,proto3" json:"mount_type,omitempty"`
|
||||||
MountAccessor string `protobuf:"bytes,4,opt,name=mount_accessor,json=mountAccessor,proto3" json:"mount_accessor,omitempty"`
|
MountAccessor string `protobuf:"bytes,4,opt,name=mount_accessor,json=mountAccessor,proto3" json:"mount_accessor,omitempty"`
|
||||||
MountPath string `protobuf:"bytes,5,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
|
MountPath string `protobuf:"bytes,5,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
|
||||||
Metadata map[string]string `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
Metadata map[string]string `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
|
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
CreationTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
|
CreationTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
|
||||||
LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
|
LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
|
||||||
MergedFromEntityIDs []string `protobuf:"bytes,10,rep,name=merged_from_entity_ids,json=mergedFromEntityIDs,proto3" json:"merged_from_entity_ids,omitempty"`
|
MergedFromEntityIDs []string `protobuf:"bytes,10,rep,name=merged_from_entity_ids,json=mergedFromEntityIDs,proto3" json:"merged_from_entity_ids,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PersonaIndexEntry) Reset() {
|
func (x *PersonaIndexEntry) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: helper/storagepacker/types.proto
|
// source: helper/storagepacker/types.proto
|
||||||
|
|
||||||
@@ -26,10 +26,7 @@ const (
|
|||||||
|
|
||||||
// Item represents an entry that gets inserted into the storage packer
|
// Item represents an entry that gets inserted into the storage packer
|
||||||
type Item struct {
|
type Item struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// ID must be provided by the caller; the same value, if used with GetItem,
|
// ID must be provided by the caller; the same value, if used with GetItem,
|
||||||
// can be used to fetch the item. However, when iterating through a bucket,
|
// can be used to fetch the item. However, when iterating through a bucket,
|
||||||
// this ID will be an internal ID. In other words, outside of the use-case
|
// this ID will be an internal ID. In other words, outside of the use-case
|
||||||
@@ -37,7 +34,9 @@ type Item struct {
|
|||||||
// consistent with what they passed in.
|
// consistent with what they passed in.
|
||||||
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
// message is the contents of the item
|
// message is the contents of the item
|
||||||
Message *anypb.Any `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
Message *anypb.Any `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Item) Reset() {
|
func (x *Item) Reset() {
|
||||||
@@ -91,16 +90,15 @@ func (x *Item) GetMessage() *anypb.Any {
|
|||||||
// to become independent buckets. Hence, this can grow infinitely in terms of
|
// to become independent buckets. Hence, this can grow infinitely in terms of
|
||||||
// storage space for items that get inserted.
|
// storage space for items that get inserted.
|
||||||
type Bucket struct {
|
type Bucket struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// Key is the storage path where the bucket gets stored
|
// Key is the storage path where the bucket gets stored
|
||||||
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||||||
// Items holds the items contained within this bucket. Used by v1.
|
// Items holds the items contained within this bucket. Used by v1.
|
||||||
Items []*Item `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
|
Items []*Item `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
|
||||||
// ItemMap stores a mapping of item ID to message. Used by v2.
|
// ItemMap stores a mapping of item ID to message. Used by v2.
|
||||||
ItemMap map[string]*anypb.Any `protobuf:"bytes,3,rep,name=item_map,json=itemMap,proto3" json:"item_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
ItemMap map[string]*anypb.Any `protobuf:"bytes,3,rep,name=item_map,json=itemMap,proto3" json:"item_map,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Bucket) Reset() {
|
func (x *Bucket) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: physical/raft/types.proto
|
// source: physical/raft/types.proto
|
||||||
|
|
||||||
@@ -24,10 +24,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type LogOperation struct {
|
type LogOperation struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// OpType is the Operation type
|
// OpType is the Operation type
|
||||||
OpType uint32 `protobuf:"varint,1,opt,name=op_type,json=opType,proto3" json:"op_type,omitempty"`
|
OpType uint32 `protobuf:"varint,1,opt,name=op_type,json=opType,proto3" json:"op_type,omitempty"`
|
||||||
// Flags is an opaque value, currently unused. Reserved.
|
// Flags is an opaque value, currently unused. Reserved.
|
||||||
@@ -35,7 +32,9 @@ type LogOperation struct {
|
|||||||
// Key that is being affected
|
// Key that is being affected
|
||||||
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
|
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
|
||||||
// Value is optional, corresponds to the key
|
// Value is optional, corresponds to the key
|
||||||
Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
|
Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *LogOperation) Reset() {
|
func (x *LogOperation) Reset() {
|
||||||
@@ -97,11 +96,10 @@ func (x *LogOperation) GetValue() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type LogData struct {
|
type LogData struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Operations []*LogOperation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Operations []*LogOperation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *LogData) Reset() {
|
func (x *LogData) Reset() {
|
||||||
@@ -142,12 +140,11 @@ func (x *LogData) GetOperations() []*LogOperation {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type IndexValue struct {
|
type IndexValue struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Term uint64 `protobuf:"varint,1,opt,name=term,proto3" json:"term,omitempty"`
|
||||||
|
Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Term uint64 `protobuf:"varint,1,opt,name=term,proto3" json:"term,omitempty"`
|
|
||||||
Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *IndexValue) Reset() {
|
func (x *IndexValue) Reset() {
|
||||||
@@ -195,13 +192,12 @@ func (x *IndexValue) GetIndex() uint64 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Server struct {
|
type Server struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Suffrage int32 `protobuf:"varint,1,opt,name=suffrage,proto3" json:"suffrage,omitempty"`
|
||||||
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
|
Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Suffrage int32 `protobuf:"varint,1,opt,name=suffrage,proto3" json:"suffrage,omitempty"`
|
|
||||||
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
||||||
Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Server) Reset() {
|
func (x *Server) Reset() {
|
||||||
@@ -256,12 +252,11 @@ func (x *Server) GetAddress() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ConfigurationValue struct {
|
type ConfigurationValue struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
|
||||||
|
Servers []*Server `protobuf:"bytes,2,rep,name=servers,proto3" json:"servers,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
|
|
||||||
Servers []*Server `protobuf:"bytes,2,rep,name=servers,proto3" json:"servers,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ConfigurationValue) Reset() {
|
func (x *ConfigurationValue) Reset() {
|
||||||
@@ -309,11 +304,10 @@ func (x *ConfigurationValue) GetServers() []*Server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type LocalNodeConfigValue struct {
|
type LocalNodeConfigValue struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
DesiredSuffrage string `protobuf:"bytes,1,opt,name=desired_suffrage,json=desiredSuffrage,proto3" json:"desired_suffrage,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
DesiredSuffrage string `protobuf:"bytes,1,opt,name=desired_suffrage,json=desiredSuffrage,proto3" json:"desired_suffrage,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *LocalNodeConfigValue) Reset() {
|
func (x *LocalNodeConfigValue) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: sdk/database/dbplugin/database.proto
|
// source: sdk/database/dbplugin/database.proto
|
||||||
|
|
||||||
@@ -26,12 +26,11 @@ const (
|
|||||||
|
|
||||||
// Deprecated: Marked as deprecated in sdk/database/dbplugin/database.proto.
|
// Deprecated: Marked as deprecated in sdk/database/dbplugin/database.proto.
|
||||||
type InitializeRequest struct {
|
type InitializeRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
VerifyConnection bool `protobuf:"varint,2,opt,name=verify_connection,json=verifyConnection,proto3" json:"verify_connection,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
|
sizeCache protoimpl.SizeCache
|
||||||
VerifyConnection bool `protobuf:"varint,2,opt,name=verify_connection,json=verifyConnection,proto3" json:"verify_connection,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *InitializeRequest) Reset() {
|
func (x *InitializeRequest) Reset() {
|
||||||
@@ -79,12 +78,11 @@ func (x *InitializeRequest) GetVerifyConnection() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type InitRequest struct {
|
type InitRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
VerifyConnection bool `protobuf:"varint,2,opt,name=verify_connection,json=verifyConnection,proto3" json:"verify_connection,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
|
sizeCache protoimpl.SizeCache
|
||||||
VerifyConnection bool `protobuf:"varint,2,opt,name=verify_connection,json=verifyConnection,proto3" json:"verify_connection,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *InitRequest) Reset() {
|
func (x *InitRequest) Reset() {
|
||||||
@@ -132,13 +130,12 @@ func (x *InitRequest) GetVerifyConnection() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type CreateUserRequest struct {
|
type CreateUserRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Statements *Statements `protobuf:"bytes,1,opt,name=statements,proto3" json:"statements,omitempty"`
|
Statements *Statements `protobuf:"bytes,1,opt,name=statements,proto3" json:"statements,omitempty"`
|
||||||
UsernameConfig *UsernameConfig `protobuf:"bytes,2,opt,name=username_config,json=usernameConfig,proto3" json:"username_config,omitempty"`
|
UsernameConfig *UsernameConfig `protobuf:"bytes,2,opt,name=username_config,json=usernameConfig,proto3" json:"username_config,omitempty"`
|
||||||
Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
|
Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CreateUserRequest) Reset() {
|
func (x *CreateUserRequest) Reset() {
|
||||||
@@ -193,13 +190,12 @@ func (x *CreateUserRequest) GetExpiration() *timestamppb.Timestamp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RenewUserRequest struct {
|
type RenewUserRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Statements *Statements `protobuf:"bytes,1,opt,name=statements,proto3" json:"statements,omitempty"`
|
||||||
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
||||||
|
Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Statements *Statements `protobuf:"bytes,1,opt,name=statements,proto3" json:"statements,omitempty"`
|
|
||||||
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
||||||
Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RenewUserRequest) Reset() {
|
func (x *RenewUserRequest) Reset() {
|
||||||
@@ -254,12 +250,11 @@ func (x *RenewUserRequest) GetExpiration() *timestamppb.Timestamp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RevokeUserRequest struct {
|
type RevokeUserRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Statements *Statements `protobuf:"bytes,1,opt,name=statements,proto3" json:"statements,omitempty"`
|
||||||
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Statements *Statements `protobuf:"bytes,1,opt,name=statements,proto3" json:"statements,omitempty"`
|
|
||||||
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RevokeUserRequest) Reset() {
|
func (x *RevokeUserRequest) Reset() {
|
||||||
@@ -307,11 +302,10 @@ func (x *RevokeUserRequest) GetUsername() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RotateRootCredentialsRequest struct {
|
type RotateRootCredentialsRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Statements []string `protobuf:"bytes,1,rep,name=statements,proto3" json:"statements,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Statements []string `protobuf:"bytes,1,rep,name=statements,proto3" json:"statements,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RotateRootCredentialsRequest) Reset() {
|
func (x *RotateRootCredentialsRequest) Reset() {
|
||||||
@@ -352,10 +346,7 @@ func (x *RotateRootCredentialsRequest) GetStatements() []string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Statements struct {
|
type Statements struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// DEPRECATED, will be removed in 0.12
|
// DEPRECATED, will be removed in 0.12
|
||||||
//
|
//
|
||||||
// Deprecated: Marked as deprecated in sdk/database/dbplugin/database.proto.
|
// Deprecated: Marked as deprecated in sdk/database/dbplugin/database.proto.
|
||||||
@@ -377,6 +368,8 @@ type Statements struct {
|
|||||||
Rollback []string `protobuf:"bytes,7,rep,name=rollback,proto3" json:"rollback,omitempty"`
|
Rollback []string `protobuf:"bytes,7,rep,name=rollback,proto3" json:"rollback,omitempty"`
|
||||||
Renewal []string `protobuf:"bytes,8,rep,name=renewal,proto3" json:"renewal,omitempty"`
|
Renewal []string `protobuf:"bytes,8,rep,name=renewal,proto3" json:"renewal,omitempty"`
|
||||||
Rotation []string `protobuf:"bytes,9,rep,name=rotation,proto3" json:"rotation,omitempty"`
|
Rotation []string `protobuf:"bytes,9,rep,name=rotation,proto3" json:"rotation,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Statements) Reset() {
|
func (x *Statements) Reset() {
|
||||||
@@ -477,12 +470,11 @@ func (x *Statements) GetRotation() []string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type UsernameConfig struct {
|
type UsernameConfig struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
DisplayName string `protobuf:"bytes,1,opt,name=DisplayName,proto3" json:"DisplayName,omitempty"`
|
||||||
|
RoleName string `protobuf:"bytes,2,opt,name=RoleName,proto3" json:"RoleName,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
DisplayName string `protobuf:"bytes,1,opt,name=DisplayName,proto3" json:"DisplayName,omitempty"`
|
|
||||||
RoleName string `protobuf:"bytes,2,opt,name=RoleName,proto3" json:"RoleName,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UsernameConfig) Reset() {
|
func (x *UsernameConfig) Reset() {
|
||||||
@@ -530,11 +522,10 @@ func (x *UsernameConfig) GetRoleName() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type InitResponse struct {
|
type InitResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *InitResponse) Reset() {
|
func (x *InitResponse) Reset() {
|
||||||
@@ -575,12 +566,11 @@ func (x *InitResponse) GetConfig() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type CreateUserResponse struct {
|
type CreateUserResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
||||||
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
||||||
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CreateUserResponse) Reset() {
|
func (x *CreateUserResponse) Reset() {
|
||||||
@@ -628,11 +618,10 @@ func (x *CreateUserResponse) GetPassword() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type TypeResponse struct {
|
type TypeResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TypeResponse) Reset() {
|
func (x *TypeResponse) Reset() {
|
||||||
@@ -673,11 +662,10 @@ func (x *TypeResponse) GetType() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RotateRootCredentialsResponse struct {
|
type RotateRootCredentialsResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RotateRootCredentialsResponse) Reset() {
|
func (x *RotateRootCredentialsResponse) Reset() {
|
||||||
@@ -718,9 +706,9 @@ func (x *RotateRootCredentialsResponse) GetConfig() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Empty struct {
|
type Empty struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Empty) Reset() {
|
func (x *Empty) Reset() {
|
||||||
@@ -754,11 +742,10 @@ func (*Empty) Descriptor() ([]byte, []int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type GenerateCredentialsResponse struct {
|
type GenerateCredentialsResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GenerateCredentialsResponse) Reset() {
|
func (x *GenerateCredentialsResponse) Reset() {
|
||||||
@@ -799,13 +786,12 @@ func (x *GenerateCredentialsResponse) GetPassword() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type StaticUserConfig struct {
|
type StaticUserConfig struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
||||||
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
||||||
|
Create bool `protobuf:"varint,3,opt,name=create,proto3" json:"create,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
||||||
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
||||||
Create bool `protobuf:"varint,3,opt,name=create,proto3" json:"create,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StaticUserConfig) Reset() {
|
func (x *StaticUserConfig) Reset() {
|
||||||
@@ -860,12 +846,11 @@ func (x *StaticUserConfig) GetCreate() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type SetCredentialsRequest struct {
|
type SetCredentialsRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Statements *Statements `protobuf:"bytes,1,opt,name=statements,proto3" json:"statements,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
StaticUserConfig *StaticUserConfig `protobuf:"bytes,2,opt,name=static_user_config,json=staticUserConfig,proto3" json:"static_user_config,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
Statements *Statements `protobuf:"bytes,1,opt,name=statements,proto3" json:"statements,omitempty"`
|
sizeCache protoimpl.SizeCache
|
||||||
StaticUserConfig *StaticUserConfig `protobuf:"bytes,2,opt,name=static_user_config,json=staticUserConfig,proto3" json:"static_user_config,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetCredentialsRequest) Reset() {
|
func (x *SetCredentialsRequest) Reset() {
|
||||||
@@ -913,12 +898,11 @@ func (x *SetCredentialsRequest) GetStaticUserConfig() *StaticUserConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type SetCredentialsResponse struct {
|
type SetCredentialsResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
||||||
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
||||||
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetCredentialsResponse) Reset() {
|
func (x *SetCredentialsResponse) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: sdk/database/dbplugin/v5/proto/database.proto
|
// source: sdk/database/dbplugin/v5/proto/database.proto
|
||||||
|
|
||||||
@@ -29,12 +29,11 @@ const (
|
|||||||
// Initialize()
|
// Initialize()
|
||||||
// ///////////////
|
// ///////////////
|
||||||
type InitializeRequest struct {
|
type InitializeRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
ConfigData *structpb.Struct `protobuf:"bytes,1,opt,name=config_data,json=configData,proto3" json:"config_data,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
VerifyConnection bool `protobuf:"varint,2,opt,name=verify_connection,json=verifyConnection,proto3" json:"verify_connection,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
ConfigData *structpb.Struct `protobuf:"bytes,1,opt,name=config_data,json=configData,proto3" json:"config_data,omitempty"`
|
sizeCache protoimpl.SizeCache
|
||||||
VerifyConnection bool `protobuf:"varint,2,opt,name=verify_connection,json=verifyConnection,proto3" json:"verify_connection,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *InitializeRequest) Reset() {
|
func (x *InitializeRequest) Reset() {
|
||||||
@@ -82,11 +81,10 @@ func (x *InitializeRequest) GetVerifyConnection() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type InitializeResponse struct {
|
type InitializeResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
ConfigData *structpb.Struct `protobuf:"bytes,1,opt,name=config_data,json=configData,proto3" json:"config_data,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
ConfigData *structpb.Struct `protobuf:"bytes,1,opt,name=config_data,json=configData,proto3" json:"config_data,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *InitializeResponse) Reset() {
|
func (x *InitializeResponse) Reset() {
|
||||||
@@ -127,10 +125,7 @@ func (x *InitializeResponse) GetConfigData() *structpb.Struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type NewUserRequest struct {
|
type NewUserRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
UsernameConfig *UsernameConfig `protobuf:"bytes,1,opt,name=username_config,json=usernameConfig,proto3" json:"username_config,omitempty"`
|
UsernameConfig *UsernameConfig `protobuf:"bytes,1,opt,name=username_config,json=usernameConfig,proto3" json:"username_config,omitempty"`
|
||||||
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
||||||
Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
|
Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
|
||||||
@@ -139,6 +134,8 @@ type NewUserRequest struct {
|
|||||||
CredentialType int32 `protobuf:"varint,6,opt,name=credential_type,json=credentialType,proto3" json:"credential_type,omitempty"`
|
CredentialType int32 `protobuf:"varint,6,opt,name=credential_type,json=credentialType,proto3" json:"credential_type,omitempty"`
|
||||||
PublicKey []byte `protobuf:"bytes,7,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
PublicKey []byte `protobuf:"bytes,7,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
||||||
Subject string `protobuf:"bytes,8,opt,name=subject,proto3" json:"subject,omitempty"`
|
Subject string `protobuf:"bytes,8,opt,name=subject,proto3" json:"subject,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *NewUserRequest) Reset() {
|
func (x *NewUserRequest) Reset() {
|
||||||
@@ -228,12 +225,11 @@ func (x *NewUserRequest) GetSubject() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type UsernameConfig struct {
|
type UsernameConfig struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
||||||
|
RoleName string `protobuf:"bytes,2,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
||||||
RoleName string `protobuf:"bytes,2,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UsernameConfig) Reset() {
|
func (x *UsernameConfig) Reset() {
|
||||||
@@ -281,11 +277,10 @@ func (x *UsernameConfig) GetRoleName() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type NewUserResponse struct {
|
type NewUserResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *NewUserResponse) Reset() {
|
func (x *NewUserResponse) Reset() {
|
||||||
@@ -329,16 +324,15 @@ func (x *NewUserResponse) GetUsername() string {
|
|||||||
// UpdateUser()
|
// UpdateUser()
|
||||||
// ///////////////
|
// ///////////////
|
||||||
type UpdateUserRequest struct {
|
type UpdateUserRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
Password *ChangePassword `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
||||||
|
Expiration *ChangeExpiration `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
|
||||||
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
PublicKey *ChangePublicKey `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
||||||
Password *ChangePassword `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
CredentialType int32 `protobuf:"varint,5,opt,name=credential_type,json=credentialType,proto3" json:"credential_type,omitempty"`
|
||||||
Expiration *ChangeExpiration `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
|
SelfManagedPassword string `protobuf:"bytes,6,opt,name=self_managed_password,json=selfManagedPassword,proto3" json:"self_managed_password,omitempty"`
|
||||||
PublicKey *ChangePublicKey `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
unknownFields protoimpl.UnknownFields
|
||||||
CredentialType int32 `protobuf:"varint,5,opt,name=credential_type,json=credentialType,proto3" json:"credential_type,omitempty"`
|
sizeCache protoimpl.SizeCache
|
||||||
SelfManagedPassword string `protobuf:"bytes,6,opt,name=self_managed_password,json=selfManagedPassword,proto3" json:"self_managed_password,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UpdateUserRequest) Reset() {
|
func (x *UpdateUserRequest) Reset() {
|
||||||
@@ -414,12 +408,11 @@ func (x *UpdateUserRequest) GetSelfManagedPassword() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ChangePassword struct {
|
type ChangePassword struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
NewPassword string `protobuf:"bytes,1,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
|
||||||
|
Statements *Statements `protobuf:"bytes,2,opt,name=statements,proto3" json:"statements,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
NewPassword string `protobuf:"bytes,1,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
|
|
||||||
Statements *Statements `protobuf:"bytes,2,opt,name=statements,proto3" json:"statements,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ChangePassword) Reset() {
|
func (x *ChangePassword) Reset() {
|
||||||
@@ -467,12 +460,11 @@ func (x *ChangePassword) GetStatements() *Statements {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ChangePublicKey struct {
|
type ChangePublicKey struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
NewPublicKey []byte `protobuf:"bytes,1,opt,name=new_public_key,json=newPublicKey,proto3" json:"new_public_key,omitempty"`
|
||||||
|
Statements *Statements `protobuf:"bytes,2,opt,name=statements,proto3" json:"statements,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
NewPublicKey []byte `protobuf:"bytes,1,opt,name=new_public_key,json=newPublicKey,proto3" json:"new_public_key,omitempty"`
|
|
||||||
Statements *Statements `protobuf:"bytes,2,opt,name=statements,proto3" json:"statements,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ChangePublicKey) Reset() {
|
func (x *ChangePublicKey) Reset() {
|
||||||
@@ -520,12 +512,11 @@ func (x *ChangePublicKey) GetStatements() *Statements {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ChangeExpiration struct {
|
type ChangeExpiration struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
NewExpiration *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=new_expiration,json=newExpiration,proto3" json:"new_expiration,omitempty"`
|
NewExpiration *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=new_expiration,json=newExpiration,proto3" json:"new_expiration,omitempty"`
|
||||||
Statements *Statements `protobuf:"bytes,2,opt,name=statements,proto3" json:"statements,omitempty"`
|
Statements *Statements `protobuf:"bytes,2,opt,name=statements,proto3" json:"statements,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ChangeExpiration) Reset() {
|
func (x *ChangeExpiration) Reset() {
|
||||||
@@ -573,9 +564,9 @@ func (x *ChangeExpiration) GetStatements() *Statements {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type UpdateUserResponse struct {
|
type UpdateUserResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UpdateUserResponse) Reset() {
|
func (x *UpdateUserResponse) Reset() {
|
||||||
@@ -612,12 +603,11 @@ func (*UpdateUserResponse) Descriptor() ([]byte, []int) {
|
|||||||
// DeleteUser()
|
// DeleteUser()
|
||||||
// ///////////////
|
// ///////////////
|
||||||
type DeleteUserRequest struct {
|
type DeleteUserRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
||||||
|
Statements *Statements `protobuf:"bytes,2,opt,name=statements,proto3" json:"statements,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
||||||
Statements *Statements `protobuf:"bytes,2,opt,name=statements,proto3" json:"statements,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeleteUserRequest) Reset() {
|
func (x *DeleteUserRequest) Reset() {
|
||||||
@@ -665,9 +655,9 @@ func (x *DeleteUserRequest) GetStatements() *Statements {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type DeleteUserResponse struct {
|
type DeleteUserResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeleteUserResponse) Reset() {
|
func (x *DeleteUserResponse) Reset() {
|
||||||
@@ -704,11 +694,10 @@ func (*DeleteUserResponse) Descriptor() ([]byte, []int) {
|
|||||||
// Type()
|
// Type()
|
||||||
// ///////////////
|
// ///////////////
|
||||||
type TypeResponse struct {
|
type TypeResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TypeResponse) Reset() {
|
func (x *TypeResponse) Reset() {
|
||||||
@@ -752,11 +741,10 @@ func (x *TypeResponse) GetType() string {
|
|||||||
// General purpose
|
// General purpose
|
||||||
// ///////////////
|
// ///////////////
|
||||||
type Statements struct {
|
type Statements struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Commands []string `protobuf:"bytes,1,rep,name=Commands,proto3" json:"Commands,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Commands []string `protobuf:"bytes,1,rep,name=Commands,proto3" json:"Commands,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Statements) Reset() {
|
func (x *Statements) Reset() {
|
||||||
@@ -797,9 +785,9 @@ func (x *Statements) GetCommands() []string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Empty struct {
|
type Empty struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Empty) Reset() {
|
func (x *Empty) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: sdk/helper/clientcountutil/generation/generate_data.proto
|
// source: sdk/helper/clientcountutil/generation/generate_data.proto
|
||||||
|
|
||||||
@@ -82,12 +82,11 @@ func (WriteOptions) EnumDescriptor() ([]byte, []int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ActivityLogMockInput struct {
|
type ActivityLogMockInput struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Write []WriteOptions `protobuf:"varint,1,rep,packed,name=write,proto3,enum=generation.WriteOptions" json:"write,omitempty"`
|
||||||
|
Data []*Data `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Write []WriteOptions `protobuf:"varint,1,rep,packed,name=write,proto3,enum=generation.WriteOptions" json:"write,omitempty"`
|
|
||||||
Data []*Data `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ActivityLogMockInput) Reset() {
|
func (x *ActivityLogMockInput) Reset() {
|
||||||
@@ -135,16 +134,13 @@ func (x *ActivityLogMockInput) GetData() []*Data {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Data struct {
|
type Data struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
// Types that are valid to be assigned to Month:
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// Types that are assignable to Month:
|
|
||||||
//
|
//
|
||||||
// *Data_CurrentMonth
|
// *Data_CurrentMonth
|
||||||
// *Data_MonthsAgo
|
// *Data_MonthsAgo
|
||||||
Month isData_Month `protobuf_oneof:"month"`
|
Month isData_Month `protobuf_oneof:"month"`
|
||||||
// Types that are assignable to Clients:
|
// Types that are valid to be assigned to Clients:
|
||||||
//
|
//
|
||||||
// *Data_All
|
// *Data_All
|
||||||
// *Data_Segments
|
// *Data_Segments
|
||||||
@@ -152,6 +148,8 @@ type Data struct {
|
|||||||
EmptySegmentIndexes []int32 `protobuf:"varint,5,rep,packed,name=empty_segment_indexes,json=emptySegmentIndexes,proto3" json:"empty_segment_indexes,omitempty"`
|
EmptySegmentIndexes []int32 `protobuf:"varint,5,rep,packed,name=empty_segment_indexes,json=emptySegmentIndexes,proto3" json:"empty_segment_indexes,omitempty"`
|
||||||
SkipSegmentIndexes []int32 `protobuf:"varint,6,rep,packed,name=skip_segment_indexes,json=skipSegmentIndexes,proto3" json:"skip_segment_indexes,omitempty"`
|
SkipSegmentIndexes []int32 `protobuf:"varint,6,rep,packed,name=skip_segment_indexes,json=skipSegmentIndexes,proto3" json:"skip_segment_indexes,omitempty"`
|
||||||
NumSegments int32 `protobuf:"varint,7,opt,name=num_segments,json=numSegments,proto3" json:"num_segments,omitempty"`
|
NumSegments int32 `protobuf:"varint,7,opt,name=num_segments,json=numSegments,proto3" json:"num_segments,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Data) Reset() {
|
func (x *Data) Reset() {
|
||||||
@@ -184,44 +182,52 @@ func (*Data) Descriptor() ([]byte, []int) {
|
|||||||
return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP(), []int{1}
|
return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP(), []int{1}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Data) GetMonth() isData_Month {
|
func (x *Data) GetMonth() isData_Month {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Month
|
return x.Month
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Data) GetCurrentMonth() bool {
|
func (x *Data) GetCurrentMonth() bool {
|
||||||
if x, ok := x.GetMonth().(*Data_CurrentMonth); ok {
|
if x != nil {
|
||||||
return x.CurrentMonth
|
if x, ok := x.Month.(*Data_CurrentMonth); ok {
|
||||||
|
return x.CurrentMonth
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Data) GetMonthsAgo() int32 {
|
func (x *Data) GetMonthsAgo() int32 {
|
||||||
if x, ok := x.GetMonth().(*Data_MonthsAgo); ok {
|
if x != nil {
|
||||||
return x.MonthsAgo
|
if x, ok := x.Month.(*Data_MonthsAgo); ok {
|
||||||
|
return x.MonthsAgo
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Data) GetClients() isData_Clients {
|
func (x *Data) GetClients() isData_Clients {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Clients
|
return x.Clients
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Data) GetAll() *Clients {
|
func (x *Data) GetAll() *Clients {
|
||||||
if x, ok := x.GetClients().(*Data_All); ok {
|
if x != nil {
|
||||||
return x.All
|
if x, ok := x.Clients.(*Data_All); ok {
|
||||||
|
return x.All
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Data) GetSegments() *Segments {
|
func (x *Data) GetSegments() *Segments {
|
||||||
if x, ok := x.GetClients().(*Data_Segments); ok {
|
if x != nil {
|
||||||
return x.Segments
|
if x, ok := x.Clients.(*Data_Segments); ok {
|
||||||
|
return x.Segments
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@@ -280,11 +286,10 @@ func (*Data_All) isData_Clients() {}
|
|||||||
func (*Data_Segments) isData_Clients() {}
|
func (*Data_Segments) isData_Clients() {}
|
||||||
|
|
||||||
type Segments struct {
|
type Segments struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Segments []*Segment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Segments []*Segment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Segments) Reset() {
|
func (x *Segments) Reset() {
|
||||||
@@ -325,12 +330,11 @@ func (x *Segments) GetSegments() []*Segment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Segment struct {
|
type Segment struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
SegmentIndex *int32 `protobuf:"varint,1,opt,name=segment_index,json=segmentIndex,proto3,oneof" json:"segment_index,omitempty"`
|
||||||
|
Clients *Clients `protobuf:"bytes,2,opt,name=clients,proto3" json:"clients,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
SegmentIndex *int32 `protobuf:"varint,1,opt,name=segment_index,json=segmentIndex,proto3,oneof" json:"segment_index,omitempty"`
|
|
||||||
Clients *Clients `protobuf:"bytes,2,opt,name=clients,proto3" json:"clients,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Segment) Reset() {
|
func (x *Segment) Reset() {
|
||||||
@@ -378,11 +382,10 @@ func (x *Segment) GetClients() *Clients {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Clients struct {
|
type Clients struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Clients []*Client `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Clients []*Client `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Clients) Reset() {
|
func (x *Clients) Reset() {
|
||||||
@@ -423,17 +426,16 @@ func (x *Clients) GetClients() []*Client {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Client struct {
|
type Client struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
|
||||||
|
Repeated bool `protobuf:"varint,3,opt,name=repeated,proto3" json:"repeated,omitempty"`
|
||||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
RepeatedFromMonth int32 `protobuf:"varint,4,opt,name=repeated_from_month,json=repeatedFromMonth,proto3" json:"repeated_from_month,omitempty"`
|
||||||
Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
|
Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
||||||
Repeated bool `protobuf:"varint,3,opt,name=repeated,proto3" json:"repeated,omitempty"`
|
Mount string `protobuf:"bytes,6,opt,name=mount,proto3" json:"mount,omitempty"`
|
||||||
RepeatedFromMonth int32 `protobuf:"varint,4,opt,name=repeated_from_month,json=repeatedFromMonth,proto3" json:"repeated_from_month,omitempty"`
|
ClientType string `protobuf:"bytes,7,opt,name=client_type,json=clientType,proto3" json:"client_type,omitempty"`
|
||||||
Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
unknownFields protoimpl.UnknownFields
|
||||||
Mount string `protobuf:"bytes,6,opt,name=mount,proto3" json:"mount,omitempty"`
|
sizeCache protoimpl.SizeCache
|
||||||
ClientType string `protobuf:"bytes,7,opt,name=client_type,json=clientType,proto3" json:"client_type,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Client) Reset() {
|
func (x *Client) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: sdk/helper/pluginutil/multiplexing.proto
|
// source: sdk/helper/pluginutil/multiplexing.proto
|
||||||
|
|
||||||
@@ -24,9 +24,9 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type MultiplexingSupportRequest struct {
|
type MultiplexingSupportRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MultiplexingSupportRequest) Reset() {
|
func (x *MultiplexingSupportRequest) Reset() {
|
||||||
@@ -60,11 +60,10 @@ func (*MultiplexingSupportRequest) Descriptor() ([]byte, []int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type MultiplexingSupportResponse struct {
|
type MultiplexingSupportResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Supported bool `protobuf:"varint,1,opt,name=supported,proto3" json:"supported,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Supported bool `protobuf:"varint,1,opt,name=supported,proto3" json:"supported,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MultiplexingSupportResponse) Reset() {
|
func (x *MultiplexingSupportResponse) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: sdk/logical/event.proto
|
// source: sdk/logical/event.proto
|
||||||
|
|
||||||
@@ -26,10 +26,7 @@ const (
|
|||||||
|
|
||||||
// EventPluginInfo contains data related to the plugin that generated an event.
|
// EventPluginInfo contains data related to the plugin that generated an event.
|
||||||
type EventPluginInfo struct {
|
type EventPluginInfo struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// The type of plugin this event originated from, i.e., "auth" or "secrets.
|
// The type of plugin this event originated from, i.e., "auth" or "secrets.
|
||||||
MountClass string `protobuf:"bytes,1,opt,name=mount_class,json=mountClass,proto3" json:"mount_class,omitempty"`
|
MountClass string `protobuf:"bytes,1,opt,name=mount_class,json=mountClass,proto3" json:"mount_class,omitempty"`
|
||||||
// Unique ID of the mount entry, e.g., "kv_957bb7d8"
|
// Unique ID of the mount entry, e.g., "kv_957bb7d8"
|
||||||
@@ -41,7 +38,9 @@ type EventPluginInfo struct {
|
|||||||
// Plugin version of the plugin this event originated from, e.g., "v0.13.3+builtin"
|
// Plugin version of the plugin this event originated from, e.g., "v0.13.3+builtin"
|
||||||
PluginVersion string `protobuf:"bytes,5,opt,name=plugin_version,json=pluginVersion,proto3" json:"plugin_version,omitempty"`
|
PluginVersion string `protobuf:"bytes,5,opt,name=plugin_version,json=pluginVersion,proto3" json:"plugin_version,omitempty"`
|
||||||
// Mount version that this event originated from, i.e., if KVv2, then "2". Usually empty.
|
// Mount version that this event originated from, i.e., if KVv2, then "2". Usually empty.
|
||||||
Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
|
Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EventPluginInfo) Reset() {
|
func (x *EventPluginInfo) Reset() {
|
||||||
@@ -118,10 +117,7 @@ func (x *EventPluginInfo) GetVersion() string {
|
|||||||
|
|
||||||
// EventData contains event data in a CloudEvents container.
|
// EventData contains event data in a CloudEvents container.
|
||||||
type EventData struct {
|
type EventData struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// ID identifies the event. It is required. The combination of
|
// ID identifies the event. It is required. The combination of
|
||||||
// CloudEvents Source (i.e., Vault cluster) + ID must be unique.
|
// CloudEvents Source (i.e., Vault cluster) + ID must be unique.
|
||||||
// Events with the same Source + ID can be assumed to be duplicates
|
// Events with the same Source + ID can be assumed to be duplicates
|
||||||
@@ -135,7 +131,9 @@ type EventData struct {
|
|||||||
// Any IDs that the event relates to, i.e., UUIDs, paths.
|
// Any IDs that the event relates to, i.e., UUIDs, paths.
|
||||||
EntityIds []string `protobuf:"bytes,3,rep,name=entity_ids,json=entityIds,proto3" json:"entity_ids,omitempty"`
|
EntityIds []string `protobuf:"bytes,3,rep,name=entity_ids,json=entityIds,proto3" json:"entity_ids,omitempty"`
|
||||||
// Human-readable note.
|
// Human-readable note.
|
||||||
Note string `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"`
|
Note string `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EventData) Reset() {
|
func (x *EventData) Reset() {
|
||||||
@@ -199,15 +197,14 @@ func (x *EventData) GetNote() string {
|
|||||||
// EventReceived is used to consume events and includes additional metadata regarding
|
// EventReceived is used to consume events and includes additional metadata regarding
|
||||||
// the event type and plugin information.
|
// the event type and plugin information.
|
||||||
type EventReceived struct {
|
type EventReceived struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Event *EventData `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Event *EventData `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
|
|
||||||
// namespace path
|
// namespace path
|
||||||
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
||||||
EventType string `protobuf:"bytes,3,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
|
EventType string `protobuf:"bytes,3,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
|
||||||
PluginInfo *EventPluginInfo `protobuf:"bytes,4,opt,name=plugin_info,json=pluginInfo,proto3" json:"plugin_info,omitempty"`
|
PluginInfo *EventPluginInfo `protobuf:"bytes,4,opt,name=plugin_info,json=pluginInfo,proto3" json:"plugin_info,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EventReceived) Reset() {
|
func (x *EventReceived) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: sdk/logical/identity.proto
|
// source: sdk/logical/identity.proto
|
||||||
|
|
||||||
@@ -24,10 +24,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Entity struct {
|
type Entity struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// ID is the unique identifier for the entity
|
// ID is the unique identifier for the entity
|
||||||
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
||||||
// Name is the human-friendly unique identifier for the entity
|
// Name is the human-friendly unique identifier for the entity
|
||||||
@@ -35,12 +32,14 @@ type Entity struct {
|
|||||||
// Aliases contains thhe alias mappings for the given entity
|
// Aliases contains thhe alias mappings for the given entity
|
||||||
Aliases []*Alias `protobuf:"bytes,3,rep,name=aliases,proto3" json:"aliases,omitempty"`
|
Aliases []*Alias `protobuf:"bytes,3,rep,name=aliases,proto3" json:"aliases,omitempty"`
|
||||||
// Metadata represents the custom data tied to this entity
|
// Metadata represents the custom data tied to this entity
|
||||||
Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
// Disabled is true if the entity is disabled.
|
// Disabled is true if the entity is disabled.
|
||||||
Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"`
|
Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"`
|
||||||
// NamespaceID is the identifier of the namespace to which this entity
|
// NamespaceID is the identifier of the namespace to which this entity
|
||||||
// belongs to.
|
// belongs to.
|
||||||
NamespaceID string `protobuf:"bytes,6,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
NamespaceID string `protobuf:"bytes,6,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Entity) Reset() {
|
func (x *Entity) Reset() {
|
||||||
@@ -116,10 +115,7 @@ func (x *Entity) GetNamespaceID() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Alias struct {
|
type Alias struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// MountType is the backend mount's type to which this identity belongs
|
// MountType is the backend mount's type to which this identity belongs
|
||||||
MountType string `protobuf:"bytes,1,opt,name=mount_type,json=mountType,proto3" json:"mount_type,omitempty"`
|
MountType string `protobuf:"bytes,1,opt,name=mount_type,json=mountType,proto3" json:"mount_type,omitempty"`
|
||||||
// MountAccessor is the identifier of the mount entry to which this
|
// MountAccessor is the identifier of the mount entry to which this
|
||||||
@@ -133,18 +129,20 @@ type Alias struct {
|
|||||||
// a significant performance impact at scale. See the SDK's
|
// a significant performance impact at scale. See the SDK's
|
||||||
// "aliasmetadata" package for a helper that eases and standardizes
|
// "aliasmetadata" package for a helper that eases and standardizes
|
||||||
// using this safely.
|
// using this safely.
|
||||||
Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
// ID is the unique identifier for the alias
|
// ID is the unique identifier for the alias
|
||||||
ID string `protobuf:"bytes,5,opt,name=ID,proto3" json:"ID,omitempty"`
|
ID string `protobuf:"bytes,5,opt,name=ID,proto3" json:"ID,omitempty"`
|
||||||
// NamespaceID is the identifier of the namespace to which this alias
|
// NamespaceID is the identifier of the namespace to which this alias
|
||||||
// belongs.
|
// belongs.
|
||||||
NamespaceID string `protobuf:"bytes,6,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
NamespaceID string `protobuf:"bytes,6,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
||||||
// Custom Metadata represents the custom data tied to this alias
|
// Custom Metadata represents the custom data tied to this alias
|
||||||
CustomMetadata map[string]string `protobuf:"bytes,7,rep,name=custom_metadata,json=customMetadata,proto3" json:"custom_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
CustomMetadata map[string]string `protobuf:"bytes,7,rep,name=custom_metadata,json=customMetadata,proto3" json:"custom_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
// Local indicates if the alias only belongs to the cluster where it was
|
// Local indicates if the alias only belongs to the cluster where it was
|
||||||
// created. If true, the alias will be stored in a location that are ignored
|
// created. If true, the alias will be stored in a location that are ignored
|
||||||
// by the performance replication subsystem.
|
// by the performance replication subsystem.
|
||||||
Local bool `protobuf:"varint,8,opt,name=local,proto3" json:"local,omitempty"`
|
Local bool `protobuf:"varint,8,opt,name=local,proto3" json:"local,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Alias) Reset() {
|
func (x *Alias) Reset() {
|
||||||
@@ -234,19 +232,18 @@ func (x *Alias) GetLocal() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Group struct {
|
type Group struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// ID is the unique identifier for the group
|
// ID is the unique identifier for the group
|
||||||
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
||||||
// Name is the human-friendly unique identifier for the group
|
// Name is the human-friendly unique identifier for the group
|
||||||
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
// Metadata represents the custom data tied to this group
|
// Metadata represents the custom data tied to this group
|
||||||
Metadata map[string]string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
Metadata map[string]string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
// NamespaceID is the identifier of the namespace to which this group
|
// NamespaceID is the identifier of the namespace to which this group
|
||||||
// belongs to.
|
// belongs to.
|
||||||
NamespaceID string `protobuf:"bytes,4,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
NamespaceID string `protobuf:"bytes,4,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Group) Reset() {
|
func (x *Group) Reset() {
|
||||||
@@ -308,14 +305,13 @@ func (x *Group) GetNamespaceID() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type MFAMethodID struct {
|
type MFAMethodID struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||||
|
ID string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
|
UsesPasscode bool `protobuf:"varint,3,opt,name=uses_passcode,json=usesPasscode,proto3" json:"uses_passcode,omitempty"`
|
||||||
|
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
||||||
ID string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
||||||
UsesPasscode bool `protobuf:"varint,3,opt,name=uses_passcode,json=usesPasscode,proto3" json:"uses_passcode,omitempty"`
|
|
||||||
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MFAMethodID) Reset() {
|
func (x *MFAMethodID) Reset() {
|
||||||
@@ -377,11 +373,10 @@ func (x *MFAMethodID) GetName() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type MFAConstraintAny struct {
|
type MFAConstraintAny struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Any []*MFAMethodID `protobuf:"bytes,1,rep,name=any,proto3" json:"any,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Any []*MFAMethodID `protobuf:"bytes,1,rep,name=any,proto3" json:"any,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MFAConstraintAny) Reset() {
|
func (x *MFAConstraintAny) Reset() {
|
||||||
@@ -422,12 +417,11 @@ func (x *MFAConstraintAny) GetAny() []*MFAMethodID {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type MFARequirement struct {
|
type MFARequirement struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
MFARequestID string `protobuf:"bytes,1,opt,name=mfa_request_id,json=mfaRequestId,proto3" json:"mfa_request_id,omitempty"`
|
MFARequestID string `protobuf:"bytes,1,opt,name=mfa_request_id,json=mfaRequestId,proto3" json:"mfa_request_id,omitempty"`
|
||||||
MFAConstraints map[string]*MFAConstraintAny `protobuf:"bytes,2,rep,name=mfa_constraints,json=mfaConstraints,proto3" json:"mfa_constraints,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
MFAConstraints map[string]*MFAConstraintAny `protobuf:"bytes,2,rep,name=mfa_constraints,json=mfaConstraints,proto3" json:"mfa_constraints,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MFARequirement) Reset() {
|
func (x *MFARequirement) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: sdk/logical/plugin.proto
|
// source: sdk/logical/plugin.proto
|
||||||
|
|
||||||
@@ -25,10 +25,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type PluginEnvironment struct {
|
type PluginEnvironment struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// VaultVersion is the version of the Vault server
|
// VaultVersion is the version of the Vault server
|
||||||
VaultVersion string `protobuf:"bytes,1,opt,name=vault_version,json=vaultVersion,proto3" json:"vault_version,omitempty"`
|
VaultVersion string `protobuf:"bytes,1,opt,name=vault_version,json=vaultVersion,proto3" json:"vault_version,omitempty"`
|
||||||
// VaultVersionPrerelease is the prerelease information of the Vault server
|
// VaultVersionPrerelease is the prerelease information of the Vault server
|
||||||
@@ -37,6 +34,8 @@ type PluginEnvironment struct {
|
|||||||
VaultVersionMetadata string `protobuf:"bytes,3,opt,name=vault_version_metadata,json=vaultVersionMetadata,proto3" json:"vault_version_metadata,omitempty"`
|
VaultVersionMetadata string `protobuf:"bytes,3,opt,name=vault_version_metadata,json=vaultVersionMetadata,proto3" json:"vault_version_metadata,omitempty"`
|
||||||
// VaultBuildDate is the build date of the Vault server
|
// VaultBuildDate is the build date of the Vault server
|
||||||
VaultBuildDate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=vault_build_date,json=vaultBuildDate,proto3" json:"vault_build_date,omitempty"`
|
VaultBuildDate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=vault_build_date,json=vaultBuildDate,proto3" json:"vault_build_date,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PluginEnvironment) Reset() {
|
func (x *PluginEnvironment) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: sdk/logical/version.proto
|
// source: sdk/logical/version.proto
|
||||||
|
|
||||||
@@ -24,9 +24,9 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Empty struct {
|
type Empty struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Empty) Reset() {
|
func (x *Empty) Reset() {
|
||||||
@@ -61,11 +61,10 @@ func (*Empty) Descriptor() ([]byte, []int) {
|
|||||||
|
|
||||||
// VersionReply is the reply for the Version method.
|
// VersionReply is the reply for the Version method.
|
||||||
type VersionReply struct {
|
type VersionReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
PluginVersion string `protobuf:"bytes,1,opt,name=plugin_version,json=pluginVersion,proto3" json:"plugin_version,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
PluginVersion string `protobuf:"bytes,1,opt,name=plugin_version,json=pluginVersion,proto3" json:"plugin_version,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *VersionReply) Reset() {
|
func (x *VersionReply) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: sdk/plugin/pb/backend.proto
|
// source: sdk/plugin/pb/backend.proto
|
||||||
|
|
||||||
@@ -26,9 +26,9 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Empty struct {
|
type Empty struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Empty) Reset() {
|
func (x *Empty) Reset() {
|
||||||
@@ -62,11 +62,10 @@ func (*Empty) Descriptor() ([]byte, []int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Header struct {
|
type Header struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Header []string `protobuf:"bytes,1,rep,name=header,proto3" json:"header,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Header []string `protobuf:"bytes,1,rep,name=header,proto3" json:"header,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Header) Reset() {
|
func (x *Header) Reset() {
|
||||||
@@ -107,10 +106,7 @@ func (x *Header) GetHeader() []string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ProtoError struct {
|
type ProtoError struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// Error type can be one of:
|
// Error type can be one of:
|
||||||
// ErrTypeUnknown uint32 = iota
|
// ErrTypeUnknown uint32 = iota
|
||||||
// ErrTypeUserError
|
// ErrTypeUserError
|
||||||
@@ -123,9 +119,11 @@ type ProtoError struct {
|
|||||||
// ErrTypePermissionDenied
|
// ErrTypePermissionDenied
|
||||||
// ErrTypeMultiAuthzPending
|
// ErrTypeMultiAuthzPending
|
||||||
// ErrTypeUnrecoverable
|
// ErrTypeUnrecoverable
|
||||||
ErrType uint32 `protobuf:"varint,1,opt,name=err_type,json=errType,proto3" json:"err_type,omitempty"`
|
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"`
|
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"`
|
ErrCode int64 `protobuf:"varint,3,opt,name=err_code,json=errCode,proto3" json:"err_code,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ProtoError) Reset() {
|
func (x *ProtoError) Reset() {
|
||||||
@@ -181,10 +179,7 @@ func (x *ProtoError) GetErrCode() int64 {
|
|||||||
|
|
||||||
// Paths is the structure of special paths that is used for SpecialPaths.
|
// Paths is the structure of special paths that is used for SpecialPaths.
|
||||||
type Paths struct {
|
type Paths struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// Root are the paths that require a root token to access
|
// Root are the paths that require a root token to access
|
||||||
Root []string `protobuf:"bytes,1,rep,name=root,proto3" json:"root,omitempty"`
|
Root []string `protobuf:"bytes,1,rep,name=root,proto3" json:"root,omitempty"`
|
||||||
// Unauthenticated are the paths that can be accessed without any auth.
|
// Unauthenticated are the paths that can be accessed without any auth.
|
||||||
@@ -209,7 +204,9 @@ type Paths struct {
|
|||||||
// Limited paths are storage paths that require special-case request limiting.
|
// Limited paths are storage paths that require special-case request limiting.
|
||||||
//
|
//
|
||||||
// See note in /sdk/logical/logical.go.
|
// See note in /sdk/logical/logical.go.
|
||||||
Limited []string `protobuf:"bytes,7,rep,name=limited,proto3" json:"limited,omitempty"`
|
Limited []string `protobuf:"bytes,7,rep,name=limited,proto3" json:"limited,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Paths) Reset() {
|
func (x *Paths) Reset() {
|
||||||
@@ -292,10 +289,7 @@ func (x *Paths) GetLimited() []string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Request struct {
|
type Request struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// ID is the uuid associated with each request
|
// ID is the uuid associated with each request
|
||||||
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
// If set, the name given to the replication secondary where this request
|
// If set, the name given to the replication secondary where this request
|
||||||
@@ -319,7 +313,7 @@ type Request struct {
|
|||||||
// Headers will contain the http headers from the request. This value will
|
// 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
|
// be used in the audit broker to ensure we are auditing only the allowed
|
||||||
// headers.
|
// headers.
|
||||||
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"`
|
Headers map[string]*Header `protobuf:"bytes,8,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
// ClientToken is provided to the core so that the identity
|
// ClientToken is provided to the core so that the identity
|
||||||
// can be verified and ACLs applied. This value is passed
|
// can be verified and ACLs applied. This value is passed
|
||||||
// through to the logical backends but after being salted and
|
// through to the logical backends but after being salted and
|
||||||
@@ -361,7 +355,9 @@ type Request struct {
|
|||||||
// Connection will be non-nil only for credential providers to
|
// Connection will be non-nil only for credential providers to
|
||||||
// inspect the connection information and potentially use it for
|
// inspect the connection information and potentially use it for
|
||||||
// authentication/protection.
|
// authentication/protection.
|
||||||
Connection *Connection `protobuf:"bytes,20,opt,name=connection,proto3" json:"connection,omitempty"`
|
Connection *Connection `protobuf:"bytes,20,opt,name=connection,proto3" json:"connection,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Request) Reset() {
|
func (x *Request) Reset() {
|
||||||
@@ -535,11 +531,8 @@ func (x *Request) GetConnection() *Connection {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Auth struct {
|
type Auth struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
LeaseOptions *LeaseOptions `protobuf:"bytes,1,opt,name=lease_options,json=leaseOptions,proto3" json:"lease_options,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
LeaseOptions *LeaseOptions `protobuf:"bytes,1,opt,name=lease_options,json=leaseOptions,proto3" json:"lease_options,omitempty"`
|
|
||||||
// InternalData is a JSON object that is stored with the auth struct.
|
// InternalData is a JSON object that is stored with the auth struct.
|
||||||
// This will be sent back during a Renew/Revoke for storing internal data
|
// This will be sent back during a Renew/Revoke for storing internal data
|
||||||
// used for those operations.
|
// used for those operations.
|
||||||
@@ -557,7 +550,7 @@ type Auth struct {
|
|||||||
// Metadata is used to attach arbitrary string-type metadata to
|
// Metadata is used to attach arbitrary string-type metadata to
|
||||||
// an authenticated user. This metadata will be outputted into the
|
// an authenticated user. This metadata will be outputted into the
|
||||||
// audit log.
|
// audit log.
|
||||||
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"`
|
Metadata map[string]string `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
// ClientToken is the token that is generated for the authentication.
|
// ClientToken is the token that is generated for the authentication.
|
||||||
// This will be filled in by Vault core when an auth structure is
|
// This will be filled in by Vault core when an auth structure is
|
||||||
// returned. Setting this manually will have no effect.
|
// returned. Setting this manually will have no effect.
|
||||||
@@ -599,6 +592,8 @@ type Auth struct {
|
|||||||
TokenType uint32 `protobuf:"varint,17,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
|
TokenType uint32 `protobuf:"varint,17,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
|
||||||
// Whether the default policy should be added automatically by core
|
// Whether the default policy should be added automatically by core
|
||||||
NoDefaultPolicy bool `protobuf:"varint,18,opt,name=no_default_policy,json=noDefaultPolicy,proto3" json:"no_default_policy,omitempty"`
|
NoDefaultPolicy bool `protobuf:"varint,18,opt,name=no_default_policy,json=noDefaultPolicy,proto3" json:"no_default_policy,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Auth) Reset() {
|
func (x *Auth) Reset() {
|
||||||
@@ -758,32 +753,31 @@ func (x *Auth) GetNoDefaultPolicy() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type TokenEntry struct {
|
type TokenEntry struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
Accessor string `protobuf:"bytes,2,opt,name=accessor,proto3" json:"accessor,omitempty"`
|
||||||
|
Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
|
||||||
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
Policies []string `protobuf:"bytes,4,rep,name=policies,proto3" json:"policies,omitempty"`
|
||||||
Accessor string `protobuf:"bytes,2,opt,name=accessor,proto3" json:"accessor,omitempty"`
|
Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
|
||||||
Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
|
Meta map[string]string `protobuf:"bytes,6,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
Policies []string `protobuf:"bytes,4,rep,name=policies,proto3" json:"policies,omitempty"`
|
DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
||||||
Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
|
NumUses int64 `protobuf:"varint,8,opt,name=num_uses,json=numUses,proto3" json:"num_uses,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"`
|
CreationTime int64 `protobuf:"varint,9,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
|
||||||
DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
TTL int64 `protobuf:"varint,10,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
||||||
NumUses int64 `protobuf:"varint,8,opt,name=num_uses,json=numUses,proto3" json:"num_uses,omitempty"`
|
ExplicitMaxTTL int64 `protobuf:"varint,11,opt,name=explicit_max_ttl,json=explicitMaxTtl,proto3" json:"explicit_max_ttl,omitempty"`
|
||||||
CreationTime int64 `protobuf:"varint,9,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
|
Role string `protobuf:"bytes,12,opt,name=role,proto3" json:"role,omitempty"`
|
||||||
TTL int64 `protobuf:"varint,10,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
Period int64 `protobuf:"varint,13,opt,name=period,proto3" json:"period,omitempty"`
|
||||||
ExplicitMaxTTL int64 `protobuf:"varint,11,opt,name=explicit_max_ttl,json=explicitMaxTtl,proto3" json:"explicit_max_ttl,omitempty"`
|
EntityID string `protobuf:"bytes,14,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
|
||||||
Role string `protobuf:"bytes,12,opt,name=role,proto3" json:"role,omitempty"`
|
BoundCIDRs []string `protobuf:"bytes,15,rep,name=bound_cidrs,json=boundCidrs,proto3" json:"bound_cidrs,omitempty"`
|
||||||
Period int64 `protobuf:"varint,13,opt,name=period,proto3" json:"period,omitempty"`
|
NamespaceID string `protobuf:"bytes,16,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
||||||
EntityID string `protobuf:"bytes,14,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
|
CubbyholeID string `protobuf:"bytes,17,opt,name=cubbyhole_id,json=cubbyholeId,proto3" json:"cubbyhole_id,omitempty"`
|
||||||
BoundCIDRs []string `protobuf:"bytes,15,rep,name=bound_cidrs,json=boundCidrs,proto3" json:"bound_cidrs,omitempty"`
|
Type uint32 `protobuf:"varint,18,opt,name=type,proto3" json:"type,omitempty"`
|
||||||
NamespaceID string `protobuf:"bytes,16,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,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" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
CubbyholeID string `protobuf:"bytes,17,opt,name=cubbyhole_id,json=cubbyholeId,proto3" json:"cubbyhole_id,omitempty"`
|
InlinePolicy string `protobuf:"bytes,20,opt,name=inline_policy,json=inlinePolicy,proto3" json:"inline_policy,omitempty"`
|
||||||
Type uint32 `protobuf:"varint,18,opt,name=type,proto3" json:"type,omitempty"`
|
NoIdentityPolicies bool `protobuf:"varint,21,opt,name=no_identity_policies,json=noIdentityPolicies,proto3" json:"no_identity_policies,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"`
|
ExternalID string `protobuf:"bytes,22,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
|
||||||
InlinePolicy string `protobuf:"bytes,20,opt,name=inline_policy,json=inlinePolicy,proto3" json:"inline_policy,omitempty"`
|
unknownFields protoimpl.UnknownFields
|
||||||
NoIdentityPolicies bool `protobuf:"varint,21,opt,name=no_identity_policies,json=noIdentityPolicies,proto3" json:"no_identity_policies,omitempty"`
|
sizeCache protoimpl.SizeCache
|
||||||
ExternalID string `protobuf:"bytes,22,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TokenEntry) Reset() {
|
func (x *TokenEntry) Reset() {
|
||||||
@@ -971,15 +965,14 @@ func (x *TokenEntry) GetExternalID() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type LeaseOptions struct {
|
type LeaseOptions struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
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"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
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"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *LeaseOptions) Reset() {
|
func (x *LeaseOptions) Reset() {
|
||||||
@@ -1048,11 +1041,8 @@ func (x *LeaseOptions) GetMaxTTL() int64 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Secret struct {
|
type Secret struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
LeaseOptions *LeaseOptions `protobuf:"bytes,1,opt,name=lease_options,json=leaseOptions,proto3" json:"lease_options,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
LeaseOptions *LeaseOptions `protobuf:"bytes,1,opt,name=lease_options,json=leaseOptions,proto3" json:"lease_options,omitempty"`
|
|
||||||
// InternalData is a JSON object that is stored with the secret.
|
// InternalData is a JSON object that is stored with the secret.
|
||||||
// This will be sent back during a Renew/Revoke for storing internal data
|
// This will be sent back during a Renew/Revoke for storing internal data
|
||||||
// used for those operations.
|
// used for those operations.
|
||||||
@@ -1060,7 +1050,9 @@ type Secret struct {
|
|||||||
// LeaseID is the ID returned to the user to manage this secret.
|
// LeaseID is the ID returned to the user to manage this secret.
|
||||||
// This is generated by Vault core. Any set value will be ignored.
|
// This is generated by Vault core. Any set value will be ignored.
|
||||||
// For requests, this will always be blank.
|
// For requests, this will always be blank.
|
||||||
LeaseID string `protobuf:"bytes,3,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
|
LeaseID string `protobuf:"bytes,3,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Secret) Reset() {
|
func (x *Secret) Reset() {
|
||||||
@@ -1115,10 +1107,7 @@ func (x *Secret) GetLeaseID() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Response struct {
|
type Response struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// Secret, if not nil, denotes that this response represents a secret.
|
// Secret, if not nil, denotes that this response represents a secret.
|
||||||
Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
|
Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
|
||||||
// Auth, if not nil, contains the authentication information for
|
// Auth, if not nil, contains the authentication information for
|
||||||
@@ -1142,10 +1131,12 @@ type Response struct {
|
|||||||
// Headers will contain the http headers from the response. This value will
|
// 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
|
// be used in the audit broker to ensure we are auditing only the allowed
|
||||||
// headers.
|
// headers.
|
||||||
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"`
|
Headers map[string]*Header `protobuf:"bytes,7,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
// MountType, if non-empty, provides some information about what kind
|
// MountType, if non-empty, provides some information about what kind
|
||||||
// of mount this secret came from.
|
// of mount this secret came from.
|
||||||
MountType string `protobuf:"bytes,8,opt,name=mount_type,json=mountType,proto3" json:"mount_type,omitempty"`
|
MountType string `protobuf:"bytes,8,opt,name=mount_type,json=mountType,proto3" json:"mount_type,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Response) Reset() {
|
func (x *Response) Reset() {
|
||||||
@@ -1235,10 +1226,7 @@ func (x *Response) GetMountType() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ResponseWrapInfo struct {
|
type ResponseWrapInfo struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// Setting to non-zero specifies that the response should be wrapped.
|
// Setting to non-zero specifies that the response should be wrapped.
|
||||||
// Specifies the desired TTL of the wrapping token.
|
// Specifies the desired TTL of the wrapping token.
|
||||||
TTL int64 `protobuf:"varint,1,opt,name=TTL,proto3" json:"TTL,omitempty"`
|
TTL int64 `protobuf:"varint,1,opt,name=TTL,proto3" json:"TTL,omitempty"`
|
||||||
@@ -1261,7 +1249,9 @@ type ResponseWrapInfo struct {
|
|||||||
// the wrapped response.
|
// the wrapped response.
|
||||||
CreationPath string `protobuf:"bytes,8,opt,name=creation_path,json=creationPath,proto3" json:"creation_path,omitempty"`
|
CreationPath string `protobuf:"bytes,8,opt,name=creation_path,json=creationPath,proto3" json:"creation_path,omitempty"`
|
||||||
// Controls seal wrapping behavior downstream for specific use cases
|
// Controls seal wrapping behavior downstream for specific use cases
|
||||||
SealWrap bool `protobuf:"varint,9,opt,name=seal_wrap,json=sealWrap,proto3" json:"seal_wrap,omitempty"`
|
SealWrap bool `protobuf:"varint,9,opt,name=seal_wrap,json=sealWrap,proto3" json:"seal_wrap,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ResponseWrapInfo) Reset() {
|
func (x *ResponseWrapInfo) Reset() {
|
||||||
@@ -1358,10 +1348,7 @@ func (x *ResponseWrapInfo) GetSealWrap() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RequestWrapInfo struct {
|
type RequestWrapInfo struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// Setting to non-zero specifies that the response should be wrapped.
|
// Setting to non-zero specifies that the response should be wrapped.
|
||||||
// Specifies the desired TTL of the wrapping token.
|
// Specifies the desired TTL of the wrapping token.
|
||||||
TTL int64 `protobuf:"varint,1,opt,name=TTL,proto3" json:"TTL,omitempty"`
|
TTL int64 `protobuf:"varint,1,opt,name=TTL,proto3" json:"TTL,omitempty"`
|
||||||
@@ -1370,7 +1357,9 @@ type RequestWrapInfo struct {
|
|||||||
Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
|
Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
|
||||||
// A flag to conforming backends that data for a given request should be
|
// A flag to conforming backends that data for a given request should be
|
||||||
// seal wrapped
|
// seal wrapped
|
||||||
SealWrap bool `protobuf:"varint,3,opt,name=seal_wrap,json=sealWrap,proto3" json:"seal_wrap,omitempty"`
|
SealWrap bool `protobuf:"varint,3,opt,name=seal_wrap,json=sealWrap,proto3" json:"seal_wrap,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RequestWrapInfo) Reset() {
|
func (x *RequestWrapInfo) Reset() {
|
||||||
@@ -1426,12 +1415,11 @@ func (x *RequestWrapInfo) GetSealWrap() bool {
|
|||||||
|
|
||||||
// HandleRequestArgs is the args for HandleRequest method.
|
// HandleRequestArgs is the args for HandleRequest method.
|
||||||
type HandleRequestArgs struct {
|
type HandleRequestArgs struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
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"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
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"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *HandleRequestArgs) Reset() {
|
func (x *HandleRequestArgs) Reset() {
|
||||||
@@ -1480,12 +1468,11 @@ func (x *HandleRequestArgs) GetRequest() *Request {
|
|||||||
|
|
||||||
// HandleRequestReply is the reply for HandleRequest method.
|
// HandleRequestReply is the reply for HandleRequest method.
|
||||||
type HandleRequestReply struct {
|
type HandleRequestReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Response *Response `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
|
||||||
|
Err *ProtoError `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Response *Response `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
|
|
||||||
Err *ProtoError `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *HandleRequestReply) Reset() {
|
func (x *HandleRequestReply) Reset() {
|
||||||
@@ -1534,9 +1521,9 @@ func (x *HandleRequestReply) GetErr() *ProtoError {
|
|||||||
|
|
||||||
// InitializeArgs is the args for Initialize method.
|
// InitializeArgs is the args for Initialize method.
|
||||||
type InitializeArgs struct {
|
type InitializeArgs struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *InitializeArgs) Reset() {
|
func (x *InitializeArgs) Reset() {
|
||||||
@@ -1571,11 +1558,10 @@ func (*InitializeArgs) Descriptor() ([]byte, []int) {
|
|||||||
|
|
||||||
// InitializeReply is the reply for Initialize method.
|
// InitializeReply is the reply for Initialize method.
|
||||||
type InitializeReply struct {
|
type InitializeReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Err *ProtoError `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Err *ProtoError `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *InitializeReply) Reset() {
|
func (x *InitializeReply) Reset() {
|
||||||
@@ -1617,11 +1603,10 @@ func (x *InitializeReply) GetErr() *ProtoError {
|
|||||||
|
|
||||||
// SpecialPathsReply is the reply for SpecialPaths method.
|
// SpecialPathsReply is the reply for SpecialPaths method.
|
||||||
type SpecialPathsReply struct {
|
type SpecialPathsReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Paths *Paths `protobuf:"bytes,1,opt,name=paths,proto3" json:"paths,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Paths *Paths `protobuf:"bytes,1,opt,name=paths,proto3" json:"paths,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SpecialPathsReply) Reset() {
|
func (x *SpecialPathsReply) Reset() {
|
||||||
@@ -1663,12 +1648,11 @@ func (x *SpecialPathsReply) GetPaths() *Paths {
|
|||||||
|
|
||||||
// HandleExistenceCheckArgs is the args for HandleExistenceCheck method.
|
// HandleExistenceCheckArgs is the args for HandleExistenceCheck method.
|
||||||
type HandleExistenceCheckArgs struct {
|
type HandleExistenceCheckArgs struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
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"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
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"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *HandleExistenceCheckArgs) Reset() {
|
func (x *HandleExistenceCheckArgs) Reset() {
|
||||||
@@ -1717,13 +1701,12 @@ func (x *HandleExistenceCheckArgs) GetRequest() *Request {
|
|||||||
|
|
||||||
// HandleExistenceCheckReply is the reply for HandleExistenceCheck method.
|
// HandleExistenceCheckReply is the reply for HandleExistenceCheck method.
|
||||||
type HandleExistenceCheckReply struct {
|
type HandleExistenceCheckReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
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"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
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"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *HandleExistenceCheckReply) Reset() {
|
func (x *HandleExistenceCheckReply) Reset() {
|
||||||
@@ -1779,13 +1762,12 @@ func (x *HandleExistenceCheckReply) GetErr() *ProtoError {
|
|||||||
|
|
||||||
// SetupArgs is the args for Setup method.
|
// SetupArgs is the args for Setup method.
|
||||||
type SetupArgs struct {
|
type SetupArgs struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
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" protobuf_val:"bytes,2,opt,name=value"`
|
||||||
|
BackendUUID string `protobuf:"bytes,3,opt,name=backendUUID,proto3" json:"backendUUID,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
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"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetupArgs) Reset() {
|
func (x *SetupArgs) Reset() {
|
||||||
@@ -1841,11 +1823,10 @@ func (x *SetupArgs) GetBackendUUID() string {
|
|||||||
|
|
||||||
// SetupReply is the reply for Setup method.
|
// SetupReply is the reply for Setup method.
|
||||||
type SetupReply struct {
|
type SetupReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetupReply) Reset() {
|
func (x *SetupReply) Reset() {
|
||||||
@@ -1887,11 +1868,10 @@ func (x *SetupReply) GetErr() string {
|
|||||||
|
|
||||||
// TypeReply is the reply for the Type method.
|
// TypeReply is the reply for the Type method.
|
||||||
type TypeReply struct {
|
type TypeReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TypeReply) Reset() {
|
func (x *TypeReply) Reset() {
|
||||||
@@ -1932,11 +1912,10 @@ func (x *TypeReply) GetType() uint32 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type InvalidateKeyArgs struct {
|
type InvalidateKeyArgs struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *InvalidateKeyArgs) Reset() {
|
func (x *InvalidateKeyArgs) Reset() {
|
||||||
@@ -1977,13 +1956,12 @@ func (x *InvalidateKeyArgs) GetKey() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type StorageEntry struct {
|
type StorageEntry struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
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"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
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"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StorageEntry) Reset() {
|
func (x *StorageEntry) Reset() {
|
||||||
@@ -2038,11 +2016,10 @@ func (x *StorageEntry) GetSealWrap() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type StorageListArgs struct {
|
type StorageListArgs struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StorageListArgs) Reset() {
|
func (x *StorageListArgs) Reset() {
|
||||||
@@ -2083,12 +2060,11 @@ func (x *StorageListArgs) GetPrefix() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type StorageListReply struct {
|
type StorageListReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
|
||||||
|
Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
|
|
||||||
Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StorageListReply) Reset() {
|
func (x *StorageListReply) Reset() {
|
||||||
@@ -2136,11 +2112,10 @@ func (x *StorageListReply) GetErr() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type StorageGetArgs struct {
|
type StorageGetArgs struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StorageGetArgs) Reset() {
|
func (x *StorageGetArgs) Reset() {
|
||||||
@@ -2181,12 +2156,11 @@ func (x *StorageGetArgs) GetKey() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type StorageGetReply struct {
|
type StorageGetReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Entry *StorageEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
|
||||||
|
Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Entry *StorageEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
|
|
||||||
Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StorageGetReply) Reset() {
|
func (x *StorageGetReply) Reset() {
|
||||||
@@ -2234,11 +2208,10 @@ func (x *StorageGetReply) GetErr() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type StoragePutArgs struct {
|
type StoragePutArgs struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Entry *StorageEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Entry *StorageEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StoragePutArgs) Reset() {
|
func (x *StoragePutArgs) Reset() {
|
||||||
@@ -2279,11 +2252,10 @@ func (x *StoragePutArgs) GetEntry() *StorageEntry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type StoragePutReply struct {
|
type StoragePutReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StoragePutReply) Reset() {
|
func (x *StoragePutReply) Reset() {
|
||||||
@@ -2324,11 +2296,10 @@ func (x *StoragePutReply) GetErr() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type StorageDeleteArgs struct {
|
type StorageDeleteArgs struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StorageDeleteArgs) Reset() {
|
func (x *StorageDeleteArgs) Reset() {
|
||||||
@@ -2369,11 +2340,10 @@ func (x *StorageDeleteArgs) GetKey() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type StorageDeleteReply struct {
|
type StorageDeleteReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StorageDeleteReply) Reset() {
|
func (x *StorageDeleteReply) Reset() {
|
||||||
@@ -2414,11 +2384,10 @@ func (x *StorageDeleteReply) GetErr() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type TTLReply struct {
|
type TTLReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
TTL int64 `protobuf:"varint,1,opt,name=TTL,proto3" json:"TTL,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
TTL int64 `protobuf:"varint,1,opt,name=TTL,proto3" json:"TTL,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TTLReply) Reset() {
|
func (x *TTLReply) Reset() {
|
||||||
@@ -2459,11 +2428,10 @@ func (x *TTLReply) GetTTL() int64 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type TaintedReply struct {
|
type TaintedReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Tainted bool `protobuf:"varint,1,opt,name=tainted,proto3" json:"tainted,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Tainted bool `protobuf:"varint,1,opt,name=tainted,proto3" json:"tainted,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TaintedReply) Reset() {
|
func (x *TaintedReply) Reset() {
|
||||||
@@ -2504,11 +2472,10 @@ func (x *TaintedReply) GetTainted() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type CachingDisabledReply struct {
|
type CachingDisabledReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CachingDisabledReply) Reset() {
|
func (x *CachingDisabledReply) Reset() {
|
||||||
@@ -2549,11 +2516,10 @@ func (x *CachingDisabledReply) GetDisabled() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ReplicationStateReply struct {
|
type ReplicationStateReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
State int32 `protobuf:"varint,1,opt,name=state,proto3" json:"state,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
State int32 `protobuf:"varint,1,opt,name=state,proto3" json:"state,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ReplicationStateReply) Reset() {
|
func (x *ReplicationStateReply) Reset() {
|
||||||
@@ -2594,13 +2560,12 @@ func (x *ReplicationStateReply) GetState() int32 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ResponseWrapDataArgs struct {
|
type ResponseWrapDataArgs struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
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"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
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"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ResponseWrapDataArgs) Reset() {
|
func (x *ResponseWrapDataArgs) Reset() {
|
||||||
@@ -2655,12 +2620,11 @@ func (x *ResponseWrapDataArgs) GetJWT() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ResponseWrapDataReply struct {
|
type ResponseWrapDataReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
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"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
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"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ResponseWrapDataReply) Reset() {
|
func (x *ResponseWrapDataReply) Reset() {
|
||||||
@@ -2708,11 +2672,10 @@ func (x *ResponseWrapDataReply) GetErr() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type MlockEnabledReply struct {
|
type MlockEnabledReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MlockEnabledReply) Reset() {
|
func (x *MlockEnabledReply) Reset() {
|
||||||
@@ -2753,11 +2716,10 @@ func (x *MlockEnabledReply) GetEnabled() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type LocalMountReply struct {
|
type LocalMountReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Local bool `protobuf:"varint,1,opt,name=local,proto3" json:"local,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Local bool `protobuf:"varint,1,opt,name=local,proto3" json:"local,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *LocalMountReply) Reset() {
|
func (x *LocalMountReply) Reset() {
|
||||||
@@ -2798,11 +2760,10 @@ func (x *LocalMountReply) GetLocal() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type EntityInfoArgs struct {
|
type EntityInfoArgs struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
EntityID string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
EntityID string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EntityInfoArgs) Reset() {
|
func (x *EntityInfoArgs) Reset() {
|
||||||
@@ -2843,12 +2804,11 @@ func (x *EntityInfoArgs) GetEntityID() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type EntityInfoReply struct {
|
type EntityInfoReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
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"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
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"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EntityInfoReply) Reset() {
|
func (x *EntityInfoReply) Reset() {
|
||||||
@@ -2896,12 +2856,11 @@ func (x *EntityInfoReply) GetErr() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type GroupsForEntityReply struct {
|
type GroupsForEntityReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
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"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
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"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupsForEntityReply) Reset() {
|
func (x *GroupsForEntityReply) Reset() {
|
||||||
@@ -2949,12 +2908,11 @@ func (x *GroupsForEntityReply) GetErr() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type PluginEnvReply struct {
|
type PluginEnvReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
PluginEnvironment *logical.PluginEnvironment `protobuf:"bytes,1,opt,name=plugin_environment,json=pluginEnvironment,proto3" json:"plugin_environment,omitempty"`
|
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"`
|
Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PluginEnvReply) Reset() {
|
func (x *PluginEnvReply) Reset() {
|
||||||
@@ -3002,11 +2960,10 @@ func (x *PluginEnvReply) GetErr() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type GeneratePasswordFromPolicyRequest struct {
|
type GeneratePasswordFromPolicyRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GeneratePasswordFromPolicyRequest) Reset() {
|
func (x *GeneratePasswordFromPolicyRequest) Reset() {
|
||||||
@@ -3047,11 +3004,10 @@ func (x *GeneratePasswordFromPolicyRequest) GetPolicyName() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type GeneratePasswordFromPolicyReply struct {
|
type GeneratePasswordFromPolicyReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GeneratePasswordFromPolicyReply) Reset() {
|
func (x *GeneratePasswordFromPolicyReply) Reset() {
|
||||||
@@ -3092,13 +3048,12 @@ func (x *GeneratePasswordFromPolicyReply) GetPassword() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ClusterInfoReply struct {
|
type ClusterInfoReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
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"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
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() {
|
func (x *ClusterInfoReply) Reset() {
|
||||||
@@ -3153,12 +3108,11 @@ func (x *ClusterInfoReply) GetErr() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type GenerateIdentityTokenRequest struct {
|
type GenerateIdentityTokenRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Audience string `protobuf:"bytes,1,opt,name=audience,proto3" json:"audience,omitempty"`
|
||||||
|
TTL int64 `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Audience string `protobuf:"bytes,1,opt,name=audience,proto3" json:"audience,omitempty"`
|
|
||||||
TTL int64 `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GenerateIdentityTokenRequest) Reset() {
|
func (x *GenerateIdentityTokenRequest) Reset() {
|
||||||
@@ -3206,12 +3160,11 @@ func (x *GenerateIdentityTokenRequest) GetTTL() int64 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type GenerateIdentityTokenResponse struct {
|
type GenerateIdentityTokenResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
||||||
|
TTL int64 `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
||||||
TTL int64 `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GenerateIdentityTokenResponse) Reset() {
|
func (x *GenerateIdentityTokenResponse) Reset() {
|
||||||
@@ -3259,10 +3212,7 @@ func (x *GenerateIdentityTokenResponse) GetTTL() int64 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Connection struct {
|
type Connection struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// RemoteAddr is the network address that sent the request.
|
// RemoteAddr is the network address that sent the request.
|
||||||
RemoteAddr string `protobuf:"bytes,1,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"`
|
RemoteAddr string `protobuf:"bytes,1,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"`
|
||||||
// RemotePort is the network port that sent the request.
|
// RemotePort is the network port that sent the request.
|
||||||
@@ -3270,6 +3220,8 @@ type Connection struct {
|
|||||||
// ConnectionState is the marshalled tls.ConnectionState from the original
|
// ConnectionState is the marshalled tls.ConnectionState from the original
|
||||||
// request
|
// request
|
||||||
ConnectionState *ConnectionState `protobuf:"bytes,2,opt,name=connection_state,json=connectionState,proto3" json:"connection_state,omitempty"`
|
ConnectionState *ConnectionState `protobuf:"bytes,2,opt,name=connection_state,json=connectionState,proto3" json:"connection_state,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Connection) Reset() {
|
func (x *Connection) Reset() {
|
||||||
@@ -3324,22 +3276,21 @@ func (x *Connection) GetConnectionState() *ConnectionState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ConnectionState struct {
|
type ConnectionState struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
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"`
|
||||||
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
CipherSuite uint32 `protobuf:"varint,4,opt,name=cipher_suite,json=cipherSuite,proto3" json:"cipher_suite,omitempty"`
|
||||||
HandshakeComplete bool `protobuf:"varint,2,opt,name=handshake_complete,json=handshakeComplete,proto3" json:"handshake_complete,omitempty"`
|
NegotiatedProtocol string `protobuf:"bytes,5,opt,name=negotiated_protocol,json=negotiatedProtocol,proto3" json:"negotiated_protocol,omitempty"`
|
||||||
DidResume bool `protobuf:"varint,3,opt,name=did_resume,json=didResume,proto3" json:"did_resume,omitempty"`
|
NegotiatedProtocolIsMutual bool `protobuf:"varint,6,opt,name=negotiated_protocol_is_mutual,json=negotiatedProtocolIsMutual,proto3" json:"negotiated_protocol_is_mutual,omitempty"`
|
||||||
CipherSuite uint32 `protobuf:"varint,4,opt,name=cipher_suite,json=cipherSuite,proto3" json:"cipher_suite,omitempty"`
|
ServerName string `protobuf:"bytes,7,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
|
||||||
NegotiatedProtocol string `protobuf:"bytes,5,opt,name=negotiated_protocol,json=negotiatedProtocol,proto3" json:"negotiated_protocol,omitempty"`
|
PeerCertificates *CertificateChain `protobuf:"bytes,8,opt,name=peer_certificates,json=peerCertificates,proto3" json:"peer_certificates,omitempty"`
|
||||||
NegotiatedProtocolIsMutual bool `protobuf:"varint,6,opt,name=negotiated_protocol_is_mutual,json=negotiatedProtocolIsMutual,proto3" json:"negotiated_protocol_is_mutual,omitempty"`
|
VerifiedChains []*CertificateChain `protobuf:"bytes,9,rep,name=verified_chains,json=verifiedChains,proto3" json:"verified_chains,omitempty"`
|
||||||
ServerName string `protobuf:"bytes,7,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
|
SignedCertificateTimestamps [][]byte `protobuf:"bytes,10,rep,name=signed_certificate_timestamps,json=signedCertificateTimestamps,proto3" json:"signed_certificate_timestamps,omitempty"`
|
||||||
PeerCertificates *CertificateChain `protobuf:"bytes,8,opt,name=peer_certificates,json=peerCertificates,proto3" json:"peer_certificates,omitempty"`
|
OcspResponse []byte `protobuf:"bytes,11,opt,name=ocsp_response,json=ocspResponse,proto3" json:"ocsp_response,omitempty"`
|
||||||
VerifiedChains []*CertificateChain `protobuf:"bytes,9,rep,name=verified_chains,json=verifiedChains,proto3" json:"verified_chains,omitempty"`
|
TlsUnique []byte `protobuf:"bytes,12,opt,name=tls_unique,json=tlsUnique,proto3" json:"tls_unique,omitempty"`
|
||||||
SignedCertificateTimestamps [][]byte `protobuf:"bytes,10,rep,name=signed_certificate_timestamps,json=signedCertificateTimestamps,proto3" json:"signed_certificate_timestamps,omitempty"`
|
unknownFields protoimpl.UnknownFields
|
||||||
OcspResponse []byte `protobuf:"bytes,11,opt,name=ocsp_response,json=ocspResponse,proto3" json:"ocsp_response,omitempty"`
|
sizeCache protoimpl.SizeCache
|
||||||
TlsUnique []byte `protobuf:"bytes,12,opt,name=tls_unique,json=tlsUnique,proto3" json:"tls_unique,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ConnectionState) Reset() {
|
func (x *ConnectionState) Reset() {
|
||||||
@@ -3457,11 +3408,10 @@ func (x *ConnectionState) GetTlsUnique() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Certificate struct {
|
type Certificate struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Asn1Data []byte `protobuf:"bytes,1,opt,name=asn1_data,json=asn1Data,proto3" json:"asn1_data,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Asn1Data []byte `protobuf:"bytes,1,opt,name=asn1_data,json=asn1Data,proto3" json:"asn1_data,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Certificate) Reset() {
|
func (x *Certificate) Reset() {
|
||||||
@@ -3502,11 +3452,10 @@ func (x *Certificate) GetAsn1Data() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type CertificateChain struct {
|
type CertificateChain struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Certificates []*Certificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Certificates []*Certificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CertificateChain) Reset() {
|
func (x *CertificateChain) Reset() {
|
||||||
@@ -3547,12 +3496,11 @@ func (x *CertificateChain) GetCertificates() []*Certificate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type SendEventRequest struct {
|
type SendEventRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
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"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
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() {
|
func (x *SendEventRequest) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: vault/activity/activity_log.proto
|
// source: vault/activity/activity_log.proto
|
||||||
|
|
||||||
@@ -27,12 +27,9 @@ const (
|
|||||||
// can store clients associated with entities or nonEntity clients, and really
|
// can store clients associated with entities or nonEntity clients, and really
|
||||||
// is a ClientRecord, not specifically an EntityRecord.
|
// is a ClientRecord, not specifically an EntityRecord.
|
||||||
type EntityRecord struct {
|
type EntityRecord struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
ClientID string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
NamespaceID string `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
||||||
|
|
||||||
ClientID string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
|
||||||
NamespaceID string `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
|
||||||
// using the Timestamp type would cost us an extra
|
// using the Timestamp type would cost us an extra
|
||||||
// 4 bytes per record to store nanoseconds.
|
// 4 bytes per record to store nanoseconds.
|
||||||
Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
||||||
@@ -44,7 +41,9 @@ type EntityRecord struct {
|
|||||||
MountAccessor string `protobuf:"bytes,5,opt,name=mount_accessor,json=mountAccessor,proto3" json:"mount_accessor,omitempty"`
|
MountAccessor string `protobuf:"bytes,5,opt,name=mount_accessor,json=mountAccessor,proto3" json:"mount_accessor,omitempty"`
|
||||||
// client_type identifies the source of the entity record (entity,
|
// client_type identifies the source of the entity record (entity,
|
||||||
// non-entity, acme, etc.)
|
// non-entity, acme, etc.)
|
||||||
ClientType string `protobuf:"bytes,6,opt,name=client_type,json=clientType,proto3" json:"client_type,omitempty"`
|
ClientType string `protobuf:"bytes,6,opt,name=client_type,json=clientType,proto3" json:"client_type,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EntityRecord) Reset() {
|
func (x *EntityRecord) Reset() {
|
||||||
@@ -120,10 +119,7 @@ func (x *EntityRecord) GetClientType() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type LogFragment struct {
|
type LogFragment struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// hostname (or node ID?) where the fragment originated,
|
// hostname (or node ID?) where the fragment originated,
|
||||||
// used for debugging.
|
// used for debugging.
|
||||||
OriginatingNode string `protobuf:"bytes,1,opt,name=originating_node,json=originatingNode,proto3" json:"originating_node,omitempty"`
|
OriginatingNode string `protobuf:"bytes,1,opt,name=originating_node,json=originatingNode,proto3" json:"originating_node,omitempty"`
|
||||||
@@ -131,10 +127,12 @@ type LogFragment struct {
|
|||||||
Clients []*EntityRecord `protobuf:"bytes,2,rep,name=clients,proto3" json:"clients,omitempty"`
|
Clients []*EntityRecord `protobuf:"bytes,2,rep,name=clients,proto3" json:"clients,omitempty"`
|
||||||
// token counts not yet in a log segment,
|
// token counts not yet in a log segment,
|
||||||
// indexed by namespace ID
|
// indexed by namespace ID
|
||||||
NonEntityTokens map[string]uint64 `protobuf:"bytes,3,rep,name=non_entity_tokens,json=nonEntityTokens,proto3" json:"non_entity_tokens,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
NonEntityTokens map[string]uint64 `protobuf:"bytes,3,rep,name=non_entity_tokens,json=nonEntityTokens,proto3" json:"non_entity_tokens,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
||||||
// the cluster id that this fragment originated from
|
// the cluster id that this fragment originated from
|
||||||
// this is used when a fragment is sent from a secondary
|
// this is used when a fragment is sent from a secondary
|
||||||
OriginatingCluster string `protobuf:"bytes,4,opt,name=originating_cluster,json=originatingCluster,proto3" json:"originating_cluster,omitempty"`
|
OriginatingCluster string `protobuf:"bytes,4,opt,name=originating_cluster,json=originatingCluster,proto3" json:"originating_cluster,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *LogFragment) Reset() {
|
func (x *LogFragment) Reset() {
|
||||||
@@ -198,11 +196,10 @@ func (x *LogFragment) GetOriginatingCluster() string {
|
|||||||
// This activity log stores records for both clients with entities
|
// This activity log stores records for both clients with entities
|
||||||
// and clients without entities
|
// and clients without entities
|
||||||
type EntityActivityLog struct {
|
type EntityActivityLog struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Clients []*EntityRecord `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Clients []*EntityRecord `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EntityActivityLog) Reset() {
|
func (x *EntityActivityLog) Reset() {
|
||||||
@@ -243,11 +240,10 @@ func (x *EntityActivityLog) GetClients() []*EntityRecord {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type TokenCount struct {
|
type TokenCount struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
CountByNamespaceID map[string]uint64 `protobuf:"bytes,1,rep,name=count_by_namespace_id,json=countByNamespaceId,proto3" json:"count_by_namespace_id,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
CountByNamespaceID map[string]uint64 `protobuf:"bytes,1,rep,name=count_by_namespace_id,json=countByNamespaceId,proto3" json:"count_by_namespace_id,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TokenCount) Reset() {
|
func (x *TokenCount) Reset() {
|
||||||
@@ -288,9 +284,9 @@ func (x *TokenCount) GetCountByNamespaceID() map[string]uint64 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type LogFragmentResponse struct {
|
type LogFragmentResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *LogFragmentResponse) Reset() {
|
func (x *LogFragmentResponse) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: vault/hcp_link/proto/link_control/link_control.proto
|
// source: vault/hcp_link/proto/link_control/link_control.proto
|
||||||
|
|
||||||
@@ -24,9 +24,9 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type PurgePolicyRequest struct {
|
type PurgePolicyRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PurgePolicyRequest) Reset() {
|
func (x *PurgePolicyRequest) Reset() {
|
||||||
@@ -60,9 +60,9 @@ func (*PurgePolicyRequest) Descriptor() ([]byte, []int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type PurgePolicyResponse struct {
|
type PurgePolicyResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PurgePolicyResponse) Reset() {
|
func (x *PurgePolicyResponse) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: vault/hcp_link/proto/meta/meta.proto
|
// source: vault/hcp_link/proto/meta/meta.proto
|
||||||
|
|
||||||
@@ -24,9 +24,9 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type ListNamespacesRequest struct {
|
type ListNamespacesRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListNamespacesRequest) Reset() {
|
func (x *ListNamespacesRequest) Reset() {
|
||||||
@@ -60,11 +60,10 @@ func (*ListNamespacesRequest) Descriptor() ([]byte, []int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ListNamespacesResponse struct {
|
type ListNamespacesResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Paths []string `protobuf:"bytes,1,rep,name=Paths,proto3" json:"Paths,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Paths []string `protobuf:"bytes,1,rep,name=Paths,proto3" json:"Paths,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListNamespacesResponse) Reset() {
|
func (x *ListNamespacesResponse) Reset() {
|
||||||
@@ -105,9 +104,9 @@ func (x *ListNamespacesResponse) GetPaths() []string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ListMountsRequest struct {
|
type ListMountsRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListMountsRequest) Reset() {
|
func (x *ListMountsRequest) Reset() {
|
||||||
@@ -141,13 +140,12 @@ func (*ListMountsRequest) Descriptor() ([]byte, []int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Mount struct {
|
type Mount struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
|
||||||
|
Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`
|
||||||
|
Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
|
|
||||||
Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`
|
|
||||||
Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Mount) Reset() {
|
func (x *Mount) Reset() {
|
||||||
@@ -202,11 +200,10 @@ func (x *Mount) GetDescription() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ListMountsResponse struct {
|
type ListMountsResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Mounts []*Mount `protobuf:"bytes,1,rep,name=Mounts,proto3" json:"Mounts,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Mounts []*Mount `protobuf:"bytes,1,rep,name=Mounts,proto3" json:"Mounts,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListMountsResponse) Reset() {
|
func (x *ListMountsResponse) Reset() {
|
||||||
@@ -247,9 +244,9 @@ func (x *ListMountsResponse) GetMounts() []*Mount {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ListAuthsRequest struct {
|
type ListAuthsRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListAuthsRequest) Reset() {
|
func (x *ListAuthsRequest) Reset() {
|
||||||
@@ -283,13 +280,12 @@ func (*ListAuthsRequest) Descriptor() ([]byte, []int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Auth struct {
|
type Auth struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
|
||||||
|
Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`
|
||||||
|
Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
|
|
||||||
Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`
|
|
||||||
Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Auth) Reset() {
|
func (x *Auth) Reset() {
|
||||||
@@ -344,11 +340,10 @@ func (x *Auth) GetDescription() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ListAuthResponse struct {
|
type ListAuthResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Auths []*Auth `protobuf:"bytes,1,rep,name=Auths,proto3" json:"Auths,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Auths []*Auth `protobuf:"bytes,1,rep,name=Auths,proto3" json:"Auths,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ListAuthResponse) Reset() {
|
func (x *ListAuthResponse) Reset() {
|
||||||
@@ -389,9 +384,9 @@ func (x *ListAuthResponse) GetAuths() []*Auth {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type GetClusterStatusRequest struct {
|
type GetClusterStatusRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetClusterStatusRequest) Reset() {
|
func (x *GetClusterStatusRequest) Reset() {
|
||||||
@@ -425,11 +420,10 @@ func (*GetClusterStatusRequest) Descriptor() ([]byte, []int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type HANode struct {
|
type HANode struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Hostname string `protobuf:"bytes,1,opt,name=Hostname,proto3" json:"Hostname,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Hostname string `protobuf:"bytes,1,opt,name=Hostname,proto3" json:"Hostname,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *HANode) Reset() {
|
func (x *HANode) Reset() {
|
||||||
@@ -470,12 +464,11 @@ func (x *HANode) GetHostname() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type HAStatus struct {
|
type HAStatus struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Enabled bool `protobuf:"varint,1,opt,name=Enabled,proto3" json:"Enabled,omitempty"`
|
||||||
|
Nodes []*HANode `protobuf:"bytes,2,rep,name=Nodes,proto3" json:"Nodes,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Enabled bool `protobuf:"varint,1,opt,name=Enabled,proto3" json:"Enabled,omitempty"`
|
|
||||||
Nodes []*HANode `protobuf:"bytes,2,rep,name=Nodes,proto3" json:"Nodes,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *HAStatus) Reset() {
|
func (x *HAStatus) Reset() {
|
||||||
@@ -523,10 +516,7 @@ func (x *HAStatus) GetNodes() []*HANode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RaftServer struct {
|
type RaftServer struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// NodeID is the name of the server
|
// NodeID is the name of the server
|
||||||
NodeID string `protobuf:"bytes,1,opt,name=NodeID,proto3" json:"NodeID,omitempty"`
|
NodeID string `protobuf:"bytes,1,opt,name=NodeID,proto3" json:"NodeID,omitempty"`
|
||||||
// Address is the IP:port of the server, used for Raft communications
|
// Address is the IP:port of the server, used for Raft communications
|
||||||
@@ -537,7 +527,9 @@ type RaftServer struct {
|
|||||||
ProtocolVersion string `protobuf:"bytes,4,opt,name=ProtocolVersion,proto3" json:"ProtocolVersion,omitempty"`
|
ProtocolVersion string `protobuf:"bytes,4,opt,name=ProtocolVersion,proto3" json:"ProtocolVersion,omitempty"`
|
||||||
// Voter is true if this server has a vote in the cluster. This might
|
// Voter is true if this server has a vote in the cluster. This might
|
||||||
// be false if the server is staging and still coming online.
|
// be false if the server is staging and still coming online.
|
||||||
Voter bool `protobuf:"varint,5,opt,name=Voter,proto3" json:"Voter,omitempty"`
|
Voter bool `protobuf:"varint,5,opt,name=Voter,proto3" json:"Voter,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RaftServer) Reset() {
|
func (x *RaftServer) Reset() {
|
||||||
@@ -606,11 +598,10 @@ func (x *RaftServer) GetVoter() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RaftConfiguration struct {
|
type RaftConfiguration struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Servers []*RaftServer `protobuf:"bytes,1,rep,name=Servers,proto3" json:"Servers,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Servers []*RaftServer `protobuf:"bytes,1,rep,name=Servers,proto3" json:"Servers,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RaftConfiguration) Reset() {
|
func (x *RaftConfiguration) Reset() {
|
||||||
@@ -651,12 +642,11 @@ func (x *RaftConfiguration) GetServers() []*RaftServer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type AutopilotServer struct {
|
type AutopilotServer struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
||||||
|
Healthy bool `protobuf:"varint,2,opt,name=Healthy,proto3" json:"Healthy,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
||||||
Healthy bool `protobuf:"varint,2,opt,name=Healthy,proto3" json:"Healthy,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AutopilotServer) Reset() {
|
func (x *AutopilotServer) Reset() {
|
||||||
@@ -704,12 +694,11 @@ func (x *AutopilotServer) GetHealthy() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type AutopilotStatus struct {
|
type AutopilotStatus struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Healthy bool `protobuf:"varint,1,opt,name=Healthy,proto3" json:"Healthy,omitempty"`
|
||||||
|
Servers []*AutopilotServer `protobuf:"bytes,2,rep,name=Servers,proto3" json:"Servers,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Healthy bool `protobuf:"varint,1,opt,name=Healthy,proto3" json:"Healthy,omitempty"`
|
|
||||||
Servers []*AutopilotServer `protobuf:"bytes,2,rep,name=Servers,proto3" json:"Servers,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AutopilotStatus) Reset() {
|
func (x *AutopilotStatus) Reset() {
|
||||||
@@ -757,13 +746,12 @@ func (x *AutopilotStatus) GetServers() []*AutopilotServer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RaftStatus struct {
|
type RaftStatus struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
RaftConfiguration *RaftConfiguration `protobuf:"bytes,1,opt,name=RaftConfiguration,proto3" json:"RaftConfiguration,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
AutopilotStatus *AutopilotStatus `protobuf:"bytes,2,opt,name=AutopilotStatus,proto3" json:"AutopilotStatus,omitempty"`
|
||||||
|
QuorumWarning string `protobuf:"bytes,3,opt,name=QuorumWarning,proto3" json:"QuorumWarning,omitempty"`
|
||||||
RaftConfiguration *RaftConfiguration `protobuf:"bytes,1,opt,name=RaftConfiguration,proto3" json:"RaftConfiguration,omitempty"`
|
unknownFields protoimpl.UnknownFields
|
||||||
AutopilotStatus *AutopilotStatus `protobuf:"bytes,2,opt,name=AutopilotStatus,proto3" json:"AutopilotStatus,omitempty"`
|
sizeCache protoimpl.SizeCache
|
||||||
QuorumWarning string `protobuf:"bytes,3,opt,name=QuorumWarning,proto3" json:"QuorumWarning,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RaftStatus) Reset() {
|
func (x *RaftStatus) Reset() {
|
||||||
@@ -818,15 +806,14 @@ func (x *RaftStatus) GetQuorumWarning() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type GetClusterStatusResponse struct {
|
type GetClusterStatusResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
ClusterID string `protobuf:"bytes,1,opt,name=ClusterID,proto3" json:"ClusterID,omitempty"`
|
||||||
|
HAStatus *HAStatus `protobuf:"bytes,2,opt,name=HAStatus,proto3" json:"HAStatus,omitempty"`
|
||||||
|
RaftStatus *RaftStatus `protobuf:"bytes,3,opt,name=RaftStatus,proto3" json:"RaftStatus,omitempty"`
|
||||||
|
StorageType string `protobuf:"bytes,4,opt,name=StorageType,proto3" json:"StorageType,omitempty"`
|
||||||
|
ClusterName string `protobuf:"bytes,5,opt,name=ClusterName,proto3" json:"ClusterName,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
ClusterID string `protobuf:"bytes,1,opt,name=ClusterID,proto3" json:"ClusterID,omitempty"`
|
|
||||||
HAStatus *HAStatus `protobuf:"bytes,2,opt,name=HAStatus,proto3" json:"HAStatus,omitempty"`
|
|
||||||
RaftStatus *RaftStatus `protobuf:"bytes,3,opt,name=RaftStatus,proto3" json:"RaftStatus,omitempty"`
|
|
||||||
StorageType string `protobuf:"bytes,4,opt,name=StorageType,proto3" json:"StorageType,omitempty"`
|
|
||||||
ClusterName string `protobuf:"bytes,5,opt,name=ClusterName,proto3" json:"ClusterName,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetClusterStatusResponse) Reset() {
|
func (x *GetClusterStatusResponse) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: vault/hcp_link/proto/node_status/status.proto
|
// source: vault/hcp_link/proto/node_status/status.proto
|
||||||
|
|
||||||
@@ -84,11 +84,10 @@ func (LogLevel) EnumDescriptor() ([]byte, []int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RaftStatus struct {
|
type RaftStatus struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
IsVoter bool `protobuf:"varint,1,opt,name=IsVoter,proto3" json:"IsVoter,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
IsVoter bool `protobuf:"varint,1,opt,name=IsVoter,proto3" json:"IsVoter,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RaftStatus) Reset() {
|
func (x *RaftStatus) Reset() {
|
||||||
@@ -129,10 +128,7 @@ func (x *RaftStatus) GetIsVoter() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type LinkedClusterNodeStatusResponse struct {
|
type LinkedClusterNodeStatusResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
|
Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
|
||||||
Initialized bool `protobuf:"varint,2,opt,name=Initialized,proto3" json:"Initialized,omitempty"`
|
Initialized bool `protobuf:"varint,2,opt,name=Initialized,proto3" json:"Initialized,omitempty"`
|
||||||
Sealed bool `protobuf:"varint,3,opt,name=Sealed,proto3" json:"Sealed,omitempty"`
|
Sealed bool `protobuf:"varint,3,opt,name=Sealed,proto3" json:"Sealed,omitempty"`
|
||||||
@@ -155,6 +151,8 @@ type LinkedClusterNodeStatusResponse struct {
|
|||||||
LogLevel LogLevel `protobuf:"varint,20,opt,name=LogLevel,proto3,enum=hashicorp.vault.hcp_link.node_status.LogLevel" json:"LogLevel,omitempty"`
|
LogLevel LogLevel `protobuf:"varint,20,opt,name=LogLevel,proto3,enum=hashicorp.vault.hcp_link.node_status.LogLevel" json:"LogLevel,omitempty"`
|
||||||
ActiveTime *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=ActiveTime,proto3" json:"ActiveTime,omitempty"`
|
ActiveTime *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=ActiveTime,proto3" json:"ActiveTime,omitempty"`
|
||||||
RaftStatus *RaftStatus `protobuf:"bytes,22,opt,name=RaftStatus,proto3" json:"RaftStatus,omitempty"`
|
RaftStatus *RaftStatus `protobuf:"bytes,22,opt,name=RaftStatus,proto3" json:"RaftStatus,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *LinkedClusterNodeStatusResponse) Reset() {
|
func (x *LinkedClusterNodeStatusResponse) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: vault/request_forwarding_service.proto
|
// source: vault/request_forwarding_service.proto
|
||||||
|
|
||||||
@@ -27,11 +27,8 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type EchoRequest struct {
|
type EchoRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
||||||
// ClusterAddr is used to send up a standby node's address to the active
|
// ClusterAddr is used to send up a standby node's address to the active
|
||||||
// node upon heartbeat
|
// node upon heartbeat
|
||||||
ClusterAddr string `protobuf:"bytes,2,opt,name=cluster_addr,json=clusterAddr,proto3" json:"cluster_addr,omitempty"`
|
ClusterAddr string `protobuf:"bytes,2,opt,name=cluster_addr,json=clusterAddr,proto3" json:"cluster_addr,omitempty"`
|
||||||
@@ -52,6 +49,8 @@ type EchoRequest struct {
|
|||||||
// clock_skew_millis is the server time minus the local time
|
// clock_skew_millis is the server time minus the local time
|
||||||
ClockSkewMillis int64 `protobuf:"varint,14,opt,name=clock_skew_millis,json=clockSkewMillis,proto3" json:"clock_skew_millis,omitempty"`
|
ClockSkewMillis int64 `protobuf:"varint,14,opt,name=clock_skew_millis,json=clockSkewMillis,proto3" json:"clock_skew_millis,omitempty"`
|
||||||
ReplicationPrimaryCanaryAgeMillis int64 `protobuf:"varint,15,opt,name=replication_primary_canary_age_millis,json=replicationPrimaryCanaryAgeMillis,proto3" json:"replication_primary_canary_age_millis,omitempty"`
|
ReplicationPrimaryCanaryAgeMillis int64 `protobuf:"varint,15,opt,name=replication_primary_canary_age_millis,json=replicationPrimaryCanaryAgeMillis,proto3" json:"replication_primary_canary_age_millis,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EchoRequest) Reset() {
|
func (x *EchoRequest) Reset() {
|
||||||
@@ -190,18 +189,17 @@ func (x *EchoRequest) GetReplicationPrimaryCanaryAgeMillis() int64 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type EchoReply struct {
|
type EchoReply struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
ClusterAddrs []string `protobuf:"bytes,2,rep,name=cluster_addrs,json=clusterAddrs,proto3" json:"cluster_addrs,omitempty"`
|
||||||
|
ReplicationState uint32 `protobuf:"varint,3,opt,name=replication_state,json=replicationState,proto3" json:"replication_state,omitempty"`
|
||||||
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
RaftAppliedIndex uint64 `protobuf:"varint,4,opt,name=raft_applied_index,json=raftAppliedIndex,proto3" json:"raft_applied_index,omitempty"`
|
||||||
ClusterAddrs []string `protobuf:"bytes,2,rep,name=cluster_addrs,json=clusterAddrs,proto3" json:"cluster_addrs,omitempty"`
|
RaftNodeID string `protobuf:"bytes,5,opt,name=raft_node_id,json=raftNodeId,proto3" json:"raft_node_id,omitempty"`
|
||||||
ReplicationState uint32 `protobuf:"varint,3,opt,name=replication_state,json=replicationState,proto3" json:"replication_state,omitempty"`
|
NodeInfo *NodeInformation `protobuf:"bytes,6,opt,name=node_info,json=nodeInfo,proto3" json:"node_info,omitempty"`
|
||||||
RaftAppliedIndex uint64 `protobuf:"varint,4,opt,name=raft_applied_index,json=raftAppliedIndex,proto3" json:"raft_applied_index,omitempty"`
|
|
||||||
RaftNodeID string `protobuf:"bytes,5,opt,name=raft_node_id,json=raftNodeId,proto3" json:"raft_node_id,omitempty"`
|
|
||||||
NodeInfo *NodeInformation `protobuf:"bytes,6,opt,name=node_info,json=nodeInfo,proto3" json:"node_info,omitempty"`
|
|
||||||
// now is the time on the server
|
// now is the time on the server
|
||||||
Now *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=now,proto3" json:"now,omitempty"`
|
Now *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=now,proto3" json:"now,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *EchoReply) Reset() {
|
func (x *EchoReply) Reset() {
|
||||||
@@ -284,16 +282,15 @@ func (x *EchoReply) GetNow() *timestamppb.Timestamp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type NodeInformation struct {
|
type NodeInformation struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
ClusterAddr string `protobuf:"bytes,1,opt,name=cluster_addr,json=clusterAddr,proto3" json:"cluster_addr,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
ApiAddr string `protobuf:"bytes,2,opt,name=api_addr,json=apiAddr,proto3" json:"api_addr,omitempty"`
|
||||||
|
Mode string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
|
||||||
ClusterAddr string `protobuf:"bytes,1,opt,name=cluster_addr,json=clusterAddr,proto3" json:"cluster_addr,omitempty"`
|
NodeID string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
|
||||||
ApiAddr string `protobuf:"bytes,2,opt,name=api_addr,json=apiAddr,proto3" json:"api_addr,omitempty"`
|
ReplicationState uint32 `protobuf:"varint,5,opt,name=replication_state,json=replicationState,proto3" json:"replication_state,omitempty"`
|
||||||
Mode string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
|
Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"`
|
||||||
NodeID string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
|
unknownFields protoimpl.UnknownFields
|
||||||
ReplicationState uint32 `protobuf:"varint,5,opt,name=replication_state,json=replicationState,proto3" json:"replication_state,omitempty"`
|
sizeCache protoimpl.SizeCache
|
||||||
Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *NodeInformation) Reset() {
|
func (x *NodeInformation) Reset() {
|
||||||
@@ -369,14 +366,13 @@ func (x *NodeInformation) GetHostname() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ClientKey struct {
|
type ClientKey struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||||
|
X []byte `protobuf:"bytes,2,opt,name=x,proto3" json:"x,omitempty"`
|
||||||
|
Y []byte `protobuf:"bytes,3,opt,name=y,proto3" json:"y,omitempty"`
|
||||||
|
D []byte `protobuf:"bytes,4,opt,name=d,proto3" json:"d,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
||||||
X []byte `protobuf:"bytes,2,opt,name=x,proto3" json:"x,omitempty"`
|
|
||||||
Y []byte `protobuf:"bytes,3,opt,name=y,proto3" json:"y,omitempty"`
|
|
||||||
D []byte `protobuf:"bytes,4,opt,name=d,proto3" json:"d,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ClientKey) Reset() {
|
func (x *ClientKey) Reset() {
|
||||||
@@ -438,9 +434,9 @@ func (x *ClientKey) GetD() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type PerfStandbyElectionInput struct {
|
type PerfStandbyElectionInput struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PerfStandbyElectionInput) Reset() {
|
func (x *PerfStandbyElectionInput) Reset() {
|
||||||
@@ -474,16 +470,15 @@ func (*PerfStandbyElectionInput) Descriptor() ([]byte, []int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type PerfStandbyElectionResponse struct {
|
type PerfStandbyElectionResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
ClusterID string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
||||||
|
PrimaryClusterAddr string `protobuf:"bytes,3,opt,name=primary_cluster_addr,json=primaryClusterAddr,proto3" json:"primary_cluster_addr,omitempty"`
|
||||||
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
CaCert []byte `protobuf:"bytes,4,opt,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"`
|
||||||
ClusterID string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
ClientCert []byte `protobuf:"bytes,5,opt,name=client_cert,json=clientCert,proto3" json:"client_cert,omitempty"`
|
||||||
PrimaryClusterAddr string `protobuf:"bytes,3,opt,name=primary_cluster_addr,json=primaryClusterAddr,proto3" json:"primary_cluster_addr,omitempty"`
|
ClientKey *ClientKey `protobuf:"bytes,6,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
|
||||||
CaCert []byte `protobuf:"bytes,4,opt,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"`
|
unknownFields protoimpl.UnknownFields
|
||||||
ClientCert []byte `protobuf:"bytes,5,opt,name=client_cert,json=clientCert,proto3" json:"client_cert,omitempty"`
|
sizeCache protoimpl.SizeCache
|
||||||
ClientKey *ClientKey `protobuf:"bytes,6,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PerfStandbyElectionResponse) Reset() {
|
func (x *PerfStandbyElectionResponse) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: vault/seal/multi_wrap_value.proto
|
// source: vault/seal/multi_wrap_value.proto
|
||||||
|
|
||||||
@@ -26,14 +26,13 @@ const (
|
|||||||
|
|
||||||
// MultiWrapValue can be used to keep track of different encryptions of a value.
|
// MultiWrapValue can be used to keep track of different encryptions of a value.
|
||||||
type MultiWrapValue struct {
|
type MultiWrapValue struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
// Generation is used to keep track of when the MultiWrapValue was generated.
|
// Generation is used to keep track of when the MultiWrapValue was generated.
|
||||||
Generation uint64 `protobuf:"varint,1,opt,name=generation,proto3" json:"generation,omitempty"`
|
Generation uint64 `protobuf:"varint,1,opt,name=generation,proto3" json:"generation,omitempty"`
|
||||||
// Slots has a BlobInfo for each key used to encrypt the value.
|
// Slots has a BlobInfo for each key used to encrypt the value.
|
||||||
Slots []*v2.BlobInfo `protobuf:"bytes,2,rep,name=slots,proto3" json:"slots,omitempty"`
|
Slots []*v2.BlobInfo `protobuf:"bytes,2,rep,name=slots,proto3" json:"slots,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MultiWrapValue) Reset() {
|
func (x *MultiWrapValue) Reset() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.35.2
|
// protoc-gen-go v1.36.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: vault/tokens/token.proto
|
// source: vault/tokens/token.proto
|
||||||
|
|
||||||
@@ -25,13 +25,12 @@ const (
|
|||||||
|
|
||||||
// SignedToken
|
// SignedToken
|
||||||
type SignedToken struct {
|
type SignedToken struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
TokenVersion uint64 `protobuf:"varint,1,opt,name=token_version,json=tokenVersion,proto3" json:"token_version,omitempty"` // always 1 for now
|
||||||
|
Hmac []byte `protobuf:"bytes,2,opt,name=hmac,proto3" json:"hmac,omitempty"` // HMAC of token
|
||||||
|
Token []byte `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // protobuf-marshalled Token message
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
TokenVersion uint64 `protobuf:"varint,1,opt,name=token_version,json=tokenVersion,proto3" json:"token_version,omitempty"` // always 1 for now
|
|
||||||
Hmac []byte `protobuf:"bytes,2,opt,name=hmac,proto3" json:"hmac,omitempty"` // HMAC of token
|
|
||||||
Token []byte `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // protobuf-marshalled Token message
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SignedToken) Reset() {
|
func (x *SignedToken) Reset() {
|
||||||
@@ -86,13 +85,12 @@ func (x *SignedToken) GetToken() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Token struct {
|
type Token struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
sizeCache protoimpl.SizeCache
|
Random string `protobuf:"bytes,1,opt,name=random,proto3" json:"random,omitempty"` // unencoded equiv of former $randbase62
|
||||||
|
LocalIndex uint64 `protobuf:"varint,2,opt,name=local_index,json=localIndex,proto3" json:"local_index,omitempty"` // required storage state to have this token
|
||||||
|
IndexEpoch uint32 `protobuf:"varint,3,opt,name=index_epoch,json=indexEpoch,proto3" json:"index_epoch,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
Random string `protobuf:"bytes,1,opt,name=random,proto3" json:"random,omitempty"` // unencoded equiv of former $randbase62
|
|
||||||
LocalIndex uint64 `protobuf:"varint,2,opt,name=local_index,json=localIndex,proto3" json:"local_index,omitempty"` // required storage state to have this token
|
|
||||||
IndexEpoch uint32 `protobuf:"varint,3,opt,name=index_epoch,json=indexEpoch,proto3" json:"index_epoch,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Token) Reset() {
|
func (x *Token) Reset() {
|
||||||
|
|||||||
Reference in New Issue
Block a user