Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDatabaseServer(s grpc.ServiceRegistrar, srv DatabaseServer)
- type ChangeExpiration
- func (*ChangeExpiration) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeExpiration) GetNewExpiration() *timestamppb.Timestamp
- func (x *ChangeExpiration) GetStatements() *Statements
- func (*ChangeExpiration) ProtoMessage()
- func (x *ChangeExpiration) ProtoReflect() protoreflect.Message
- func (x *ChangeExpiration) Reset()
- func (x *ChangeExpiration) String() string
- type ChangePassword
- func (*ChangePassword) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePassword) GetNewPassword() string
- func (x *ChangePassword) GetStatements() *Statements
- func (*ChangePassword) ProtoMessage()
- func (x *ChangePassword) ProtoReflect() protoreflect.Message
- func (x *ChangePassword) Reset()
- func (x *ChangePassword) String() string
- type ChangePublicKey
- func (*ChangePublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePublicKey) GetNewPublicKey() []byte
- func (x *ChangePublicKey) GetStatements() *Statements
- func (*ChangePublicKey) ProtoMessage()
- func (x *ChangePublicKey) ProtoReflect() protoreflect.Message
- func (x *ChangePublicKey) Reset()
- func (x *ChangePublicKey) String() string
- type DatabaseClient
- type DatabaseServer
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetStatements() *Statements
- func (x *DeleteUserRequest) GetUsername() string
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- type DeleteUserResponse
- type Empty
- type InitializeRequest
- func (*InitializeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeRequest) GetConfigData() *structpb.Struct
- func (x *InitializeRequest) GetVerifyConnection() bool
- func (*InitializeRequest) ProtoMessage()
- func (x *InitializeRequest) ProtoReflect() protoreflect.Message
- func (x *InitializeRequest) Reset()
- func (x *InitializeRequest) String() string
- type InitializeResponse
- func (*InitializeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeResponse) GetConfigData() *structpb.Struct
- func (*InitializeResponse) ProtoMessage()
- func (x *InitializeResponse) ProtoReflect() protoreflect.Message
- func (x *InitializeResponse) Reset()
- func (x *InitializeResponse) String() string
- type NewUserRequest
- func (*NewUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewUserRequest) GetCredentialType() int32
- func (x *NewUserRequest) GetExpiration() *timestamppb.Timestamp
- func (x *NewUserRequest) GetPassword() string
- func (x *NewUserRequest) GetPublicKey() []byte
- func (x *NewUserRequest) GetRollbackStatements() *Statements
- func (x *NewUserRequest) GetStatements() *Statements
- func (x *NewUserRequest) GetSubject() string
- func (x *NewUserRequest) GetUsernameConfig() *UsernameConfig
- func (*NewUserRequest) ProtoMessage()
- func (x *NewUserRequest) ProtoReflect() protoreflect.Message
- func (x *NewUserRequest) Reset()
- func (x *NewUserRequest) String() string
- type NewUserResponse
- type Statements
- type TypeResponse
- type UnimplementedDatabaseServer
- func (UnimplementedDatabaseServer) Close(context.Context, *Empty) (*Empty, error)
- func (UnimplementedDatabaseServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
- func (UnimplementedDatabaseServer) Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error)
- func (UnimplementedDatabaseServer) NewUser(context.Context, *NewUserRequest) (*NewUserResponse, error)
- func (UnimplementedDatabaseServer) Type(context.Context, *Empty) (*TypeResponse, error)
- func (UnimplementedDatabaseServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
- type UnsafeDatabaseServer
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetCredentialType() int32
- func (x *UpdateUserRequest) GetExpiration() *ChangeExpiration
- func (x *UpdateUserRequest) GetPassword() *ChangePassword
- func (x *UpdateUserRequest) GetPublicKey() *ChangePublicKey
- func (x *UpdateUserRequest) GetUsername() string
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- type UpdateUserResponse
- type UsernameConfig
- func (*UsernameConfig) Descriptor() ([]byte, []int)deprecated
- func (x *UsernameConfig) GetDisplayName() string
- func (x *UsernameConfig) GetRoleName() string
- func (*UsernameConfig) ProtoMessage()
- func (x *UsernameConfig) ProtoReflect() protoreflect.Message
- func (x *UsernameConfig) Reset()
- func (x *UsernameConfig) String() string
Constants ¶
const ( Database_Initialize_FullMethodName = "/dbplugin.v5.Database/Initialize" Database_NewUser_FullMethodName = "/dbplugin.v5.Database/NewUser" Database_UpdateUser_FullMethodName = "/dbplugin.v5.Database/UpdateUser" Database_DeleteUser_FullMethodName = "/dbplugin.v5.Database/DeleteUser" Database_Type_FullMethodName = "/dbplugin.v5.Database/Type" Database_Close_FullMethodName = "/dbplugin.v5.Database/Close" )
Variables ¶
var Database_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dbplugin.v5.Database", HandlerType: (*DatabaseServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Initialize", Handler: _Database_Initialize_Handler, }, { MethodName: "NewUser", Handler: _Database_NewUser_Handler, }, { MethodName: "UpdateUser", Handler: _Database_UpdateUser_Handler, }, { MethodName: "DeleteUser", Handler: _Database_DeleteUser_Handler, }, { MethodName: "Type", Handler: _Database_Type_Handler, }, { MethodName: "Close", Handler: _Database_Close_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sdk/database/dbplugin/v5/proto/database.proto", }
Database_ServiceDesc is the grpc.ServiceDesc for Database service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_sdk_database_dbplugin_v5_proto_database_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDatabaseServer ¶
func RegisterDatabaseServer(s grpc.ServiceRegistrar, srv DatabaseServer)
Types ¶
type ChangeExpiration ¶
type ChangeExpiration struct { 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"` // contains filtered or unexported fields }
func (*ChangeExpiration) Descriptor
deprecated
func (*ChangeExpiration) Descriptor() ([]byte, []int)
Deprecated: Use ChangeExpiration.ProtoReflect.Descriptor instead.
func (*ChangeExpiration) GetNewExpiration ¶
func (x *ChangeExpiration) GetNewExpiration() *timestamppb.Timestamp
func (*ChangeExpiration) GetStatements ¶
func (x *ChangeExpiration) GetStatements() *Statements
func (*ChangeExpiration) ProtoMessage ¶
func (*ChangeExpiration) ProtoMessage()
func (*ChangeExpiration) ProtoReflect ¶
func (x *ChangeExpiration) ProtoReflect() protoreflect.Message
func (*ChangeExpiration) Reset ¶
func (x *ChangeExpiration) Reset()
func (*ChangeExpiration) String ¶
func (x *ChangeExpiration) String() string
type ChangePassword ¶
type ChangePassword struct { 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"` // contains filtered or unexported fields }
func (*ChangePassword) Descriptor
deprecated
func (*ChangePassword) Descriptor() ([]byte, []int)
Deprecated: Use ChangePassword.ProtoReflect.Descriptor instead.
func (*ChangePassword) GetNewPassword ¶
func (x *ChangePassword) GetNewPassword() string
func (*ChangePassword) GetStatements ¶
func (x *ChangePassword) GetStatements() *Statements
func (*ChangePassword) ProtoMessage ¶
func (*ChangePassword) ProtoMessage()
func (*ChangePassword) ProtoReflect ¶
func (x *ChangePassword) ProtoReflect() protoreflect.Message
func (*ChangePassword) Reset ¶
func (x *ChangePassword) Reset()
func (*ChangePassword) String ¶
func (x *ChangePassword) String() string
type ChangePublicKey ¶ added in v0.5.0
type ChangePublicKey struct { 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"` // contains filtered or unexported fields }
func (*ChangePublicKey) Descriptor
deprecated
added in
v0.5.0
func (*ChangePublicKey) Descriptor() ([]byte, []int)
Deprecated: Use ChangePublicKey.ProtoReflect.Descriptor instead.
func (*ChangePublicKey) GetNewPublicKey ¶ added in v0.5.0
func (x *ChangePublicKey) GetNewPublicKey() []byte
func (*ChangePublicKey) GetStatements ¶ added in v0.5.0
func (x *ChangePublicKey) GetStatements() *Statements
func (*ChangePublicKey) ProtoMessage ¶ added in v0.5.0
func (*ChangePublicKey) ProtoMessage()
func (*ChangePublicKey) ProtoReflect ¶ added in v0.5.0
func (x *ChangePublicKey) ProtoReflect() protoreflect.Message
func (*ChangePublicKey) Reset ¶ added in v0.5.0
func (x *ChangePublicKey) Reset()
func (*ChangePublicKey) String ¶ added in v0.5.0
func (x *ChangePublicKey) String() string
type DatabaseClient ¶
type DatabaseClient interface { Initialize(ctx context.Context, in *InitializeRequest, opts ...grpc.CallOption) (*InitializeResponse, error) NewUser(ctx context.Context, in *NewUserRequest, opts ...grpc.CallOption) (*NewUserResponse, error) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) Type(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TypeResponse, error) Close(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) }
DatabaseClient is the client API for Database service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDatabaseClient ¶
func NewDatabaseClient(cc grpc.ClientConnInterface) DatabaseClient
type DatabaseServer ¶
type DatabaseServer interface { Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error) NewUser(context.Context, *NewUserRequest) (*NewUserResponse, error) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) Type(context.Context, *Empty) (*TypeResponse, error) Close(context.Context, *Empty) (*Empty, error) // contains filtered or unexported methods }
DatabaseServer is the server API for Database service. All implementations must embed UnimplementedDatabaseServer for forward compatibility
type DeleteUserRequest ¶
type DeleteUserRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Statements *Statements `protobuf:"bytes,2,opt,name=statements,proto3" json:"statements,omitempty"` // contains filtered or unexported fields }
/////////////// DeleteUser() ///////////////
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetStatements ¶
func (x *DeleteUserRequest) GetStatements() *Statements
func (*DeleteUserRequest) GetUsername ¶
func (x *DeleteUserRequest) GetUsername() string
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
type DeleteUserResponse ¶
type DeleteUserResponse struct {
// contains filtered or unexported fields
}
func (*DeleteUserResponse) Descriptor
deprecated
func (*DeleteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserResponse) ProtoMessage ¶
func (*DeleteUserResponse) ProtoMessage()
func (*DeleteUserResponse) ProtoReflect ¶
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserResponse) Reset ¶
func (x *DeleteUserResponse) Reset()
func (*DeleteUserResponse) String ¶
func (x *DeleteUserResponse) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type InitializeRequest ¶
type InitializeRequest struct { ConfigData *structpb.Struct `protobuf:"bytes,1,opt,name=config_data,json=configData,proto3" json:"config_data,omitempty"` VerifyConnection bool `protobuf:"varint,2,opt,name=verify_connection,json=verifyConnection,proto3" json:"verify_connection,omitempty"` // contains filtered or unexported fields }
/////////////// Initialize() ///////////////
func (*InitializeRequest) Descriptor
deprecated
func (*InitializeRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitializeRequest.ProtoReflect.Descriptor instead.
func (*InitializeRequest) GetConfigData ¶
func (x *InitializeRequest) GetConfigData() *structpb.Struct
func (*InitializeRequest) GetVerifyConnection ¶
func (x *InitializeRequest) GetVerifyConnection() bool
func (*InitializeRequest) ProtoMessage ¶
func (*InitializeRequest) ProtoMessage()
func (*InitializeRequest) ProtoReflect ¶
func (x *InitializeRequest) ProtoReflect() protoreflect.Message
func (*InitializeRequest) Reset ¶
func (x *InitializeRequest) Reset()
func (*InitializeRequest) String ¶
func (x *InitializeRequest) String() string
type InitializeResponse ¶
type InitializeResponse struct { ConfigData *structpb.Struct `protobuf:"bytes,1,opt,name=config_data,json=configData,proto3" json:"config_data,omitempty"` // contains filtered or unexported fields }
func (*InitializeResponse) Descriptor
deprecated
func (*InitializeResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitializeResponse.ProtoReflect.Descriptor instead.
func (*InitializeResponse) GetConfigData ¶
func (x *InitializeResponse) GetConfigData() *structpb.Struct
func (*InitializeResponse) ProtoMessage ¶
func (*InitializeResponse) ProtoMessage()
func (*InitializeResponse) ProtoReflect ¶
func (x *InitializeResponse) ProtoReflect() protoreflect.Message
func (*InitializeResponse) Reset ¶
func (x *InitializeResponse) Reset()
func (*InitializeResponse) String ¶
func (x *InitializeResponse) String() string
type NewUserRequest ¶
type NewUserRequest struct { 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"` Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"` Statements *Statements `protobuf:"bytes,4,opt,name=statements,proto3" json:"statements,omitempty"` RollbackStatements *Statements `protobuf:"bytes,5,opt,name=rollback_statements,json=rollbackStatements,proto3" json:"rollback_statements,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"` Subject string `protobuf:"bytes,8,opt,name=subject,proto3" json:"subject,omitempty"` // contains filtered or unexported fields }
func (*NewUserRequest) Descriptor
deprecated
func (*NewUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewUserRequest.ProtoReflect.Descriptor instead.
func (*NewUserRequest) GetCredentialType ¶ added in v0.5.0
func (x *NewUserRequest) GetCredentialType() int32
func (*NewUserRequest) GetExpiration ¶
func (x *NewUserRequest) GetExpiration() *timestamppb.Timestamp
func (*NewUserRequest) GetPassword ¶
func (x *NewUserRequest) GetPassword() string
func (*NewUserRequest) GetPublicKey ¶ added in v0.5.0
func (x *NewUserRequest) GetPublicKey() []byte
func (*NewUserRequest) GetRollbackStatements ¶
func (x *NewUserRequest) GetRollbackStatements() *Statements
func (*NewUserRequest) GetStatements ¶
func (x *NewUserRequest) GetStatements() *Statements
func (*NewUserRequest) GetSubject ¶ added in v0.9.2
func (x *NewUserRequest) GetSubject() string
func (*NewUserRequest) GetUsernameConfig ¶
func (x *NewUserRequest) GetUsernameConfig() *UsernameConfig
func (*NewUserRequest) ProtoMessage ¶
func (*NewUserRequest) ProtoMessage()
func (*NewUserRequest) ProtoReflect ¶
func (x *NewUserRequest) ProtoReflect() protoreflect.Message
func (*NewUserRequest) Reset ¶
func (x *NewUserRequest) Reset()
func (*NewUserRequest) String ¶
func (x *NewUserRequest) String() string
type NewUserResponse ¶
type NewUserResponse struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*NewUserResponse) Descriptor
deprecated
func (*NewUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use NewUserResponse.ProtoReflect.Descriptor instead.
func (*NewUserResponse) GetUsername ¶
func (x *NewUserResponse) GetUsername() string
func (*NewUserResponse) ProtoMessage ¶
func (*NewUserResponse) ProtoMessage()
func (*NewUserResponse) ProtoReflect ¶
func (x *NewUserResponse) ProtoReflect() protoreflect.Message
func (*NewUserResponse) Reset ¶
func (x *NewUserResponse) Reset()
func (*NewUserResponse) String ¶
func (x *NewUserResponse) String() string
type Statements ¶
type Statements struct { Commands []string `protobuf:"bytes,1,rep,name=Commands,proto3" json:"Commands,omitempty"` // contains filtered or unexported fields }
/////////////// General purpose ///////////////
func (*Statements) Descriptor
deprecated
func (*Statements) Descriptor() ([]byte, []int)
Deprecated: Use Statements.ProtoReflect.Descriptor instead.
func (*Statements) GetCommands ¶
func (x *Statements) GetCommands() []string
func (*Statements) ProtoMessage ¶
func (*Statements) ProtoMessage()
func (*Statements) ProtoReflect ¶
func (x *Statements) ProtoReflect() protoreflect.Message
func (*Statements) Reset ¶
func (x *Statements) Reset()
func (*Statements) String ¶
func (x *Statements) String() string
type TypeResponse ¶
type TypeResponse struct { Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"` // contains filtered or unexported fields }
/////////////// Type() ///////////////
func (*TypeResponse) Descriptor
deprecated
func (*TypeResponse) Descriptor() ([]byte, []int)
Deprecated: Use TypeResponse.ProtoReflect.Descriptor instead.
func (*TypeResponse) GetType ¶
func (x *TypeResponse) GetType() string
func (*TypeResponse) ProtoMessage ¶
func (*TypeResponse) ProtoMessage()
func (*TypeResponse) ProtoReflect ¶
func (x *TypeResponse) ProtoReflect() protoreflect.Message
func (*TypeResponse) Reset ¶
func (x *TypeResponse) Reset()
func (*TypeResponse) String ¶
func (x *TypeResponse) String() string
type UnimplementedDatabaseServer ¶
type UnimplementedDatabaseServer struct { }
UnimplementedDatabaseServer must be embedded to have forward compatible implementations.
func (UnimplementedDatabaseServer) DeleteUser ¶
func (UnimplementedDatabaseServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
func (UnimplementedDatabaseServer) Initialize ¶
func (UnimplementedDatabaseServer) Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error)
func (UnimplementedDatabaseServer) NewUser ¶
func (UnimplementedDatabaseServer) NewUser(context.Context, *NewUserRequest) (*NewUserResponse, error)
func (UnimplementedDatabaseServer) Type ¶
func (UnimplementedDatabaseServer) Type(context.Context, *Empty) (*TypeResponse, error)
func (UnimplementedDatabaseServer) UpdateUser ¶
func (UnimplementedDatabaseServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
type UnsafeDatabaseServer ¶ added in v0.3.0
type UnsafeDatabaseServer interface {
// contains filtered or unexported methods
}
UnsafeDatabaseServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DatabaseServer will result in compilation errors.
type UpdateUserRequest ¶
type UpdateUserRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password *ChangePassword `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Expiration *ChangeExpiration `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"` PublicKey *ChangePublicKey `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` CredentialType int32 `protobuf:"varint,5,opt,name=credential_type,json=credentialType,proto3" json:"credential_type,omitempty"` // contains filtered or unexported fields }
/////////////// UpdateUser() ///////////////
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetCredentialType ¶ added in v0.5.0
func (x *UpdateUserRequest) GetCredentialType() int32
func (*UpdateUserRequest) GetExpiration ¶
func (x *UpdateUserRequest) GetExpiration() *ChangeExpiration
func (*UpdateUserRequest) GetPassword ¶
func (x *UpdateUserRequest) GetPassword() *ChangePassword
func (*UpdateUserRequest) GetPublicKey ¶ added in v0.5.0
func (x *UpdateUserRequest) GetPublicKey() *ChangePublicKey
func (*UpdateUserRequest) GetUsername ¶
func (x *UpdateUserRequest) GetUsername() string
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
type UpdateUserResponse ¶
type UpdateUserResponse struct {
// contains filtered or unexported fields
}
func (*UpdateUserResponse) Descriptor
deprecated
func (*UpdateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserResponse) ProtoMessage ¶
func (*UpdateUserResponse) ProtoMessage()
func (*UpdateUserResponse) ProtoReflect ¶
func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserResponse) Reset ¶
func (x *UpdateUserResponse) Reset()
func (*UpdateUserResponse) String ¶
func (x *UpdateUserResponse) String() string
type UsernameConfig ¶
type UsernameConfig struct { 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"` // contains filtered or unexported fields }
func (*UsernameConfig) Descriptor
deprecated
func (*UsernameConfig) Descriptor() ([]byte, []int)
Deprecated: Use UsernameConfig.ProtoReflect.Descriptor instead.
func (*UsernameConfig) GetDisplayName ¶
func (x *UsernameConfig) GetDisplayName() string
func (*UsernameConfig) GetRoleName ¶
func (x *UsernameConfig) GetRoleName() string
func (*UsernameConfig) ProtoMessage ¶
func (*UsernameConfig) ProtoMessage()
func (*UsernameConfig) ProtoReflect ¶
func (x *UsernameConfig) ProtoReflect() protoreflect.Message
func (*UsernameConfig) Reset ¶
func (x *UsernameConfig) Reset()
func (*UsernameConfig) String ¶
func (x *UsernameConfig) String() string