v1

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2025 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserCenter_Login_FullMethodName          = "/usercenter.v1.UserCenter/Login"
	UserCenter_Logout_FullMethodName         = "/usercenter.v1.UserCenter/Logout"
	UserCenter_RefreshToken_FullMethodName   = "/usercenter.v1.UserCenter/RefreshToken"
	UserCenter_Authenticate_FullMethodName   = "/usercenter.v1.UserCenter/Authenticate"
	UserCenter_Authorize_FullMethodName      = "/usercenter.v1.UserCenter/Authorize"
	UserCenter_Auth_FullMethodName           = "/usercenter.v1.UserCenter/Auth"
	UserCenter_CreateUser_FullMethodName     = "/usercenter.v1.UserCenter/CreateUser"
	UserCenter_UpdateUser_FullMethodName     = "/usercenter.v1.UserCenter/UpdateUser"
	UserCenter_DeleteUser_FullMethodName     = "/usercenter.v1.UserCenter/DeleteUser"
	UserCenter_GetUser_FullMethodName        = "/usercenter.v1.UserCenter/GetUser"
	UserCenter_ListUser_FullMethodName       = "/usercenter.v1.UserCenter/ListUser"
	UserCenter_UpdatePassword_FullMethodName = "/usercenter.v1.UserCenter/UpdatePassword"
	UserCenter_CreateSecret_FullMethodName   = "/usercenter.v1.UserCenter/CreateSecret"
	UserCenter_UpdateSecret_FullMethodName   = "/usercenter.v1.UserCenter/UpdateSecret"
	UserCenter_DeleteSecret_FullMethodName   = "/usercenter.v1.UserCenter/DeleteSecret"
	UserCenter_GetSecret_FullMethodName      = "/usercenter.v1.UserCenter/GetSecret"
	UserCenter_ListSecret_FullMethodName     = "/usercenter.v1.UserCenter/ListSecret"
)
View Source
const OperationUserCenterAuth = "/usercenter.v1.UserCenter/Auth"
View Source
const OperationUserCenterAuthenticate = "/usercenter.v1.UserCenter/Authenticate"
View Source
const OperationUserCenterAuthorize = "/usercenter.v1.UserCenter/Authorize"
View Source
const OperationUserCenterCreateSecret = "/usercenter.v1.UserCenter/CreateSecret"
View Source
const OperationUserCenterCreateUser = "/usercenter.v1.UserCenter/CreateUser"
View Source
const OperationUserCenterDeleteSecret = "/usercenter.v1.UserCenter/DeleteSecret"
View Source
const OperationUserCenterDeleteUser = "/usercenter.v1.UserCenter/DeleteUser"
View Source
const OperationUserCenterGetSecret = "/usercenter.v1.UserCenter/GetSecret"
View Source
const OperationUserCenterGetUser = "/usercenter.v1.UserCenter/GetUser"
View Source
const OperationUserCenterListSecret = "/usercenter.v1.UserCenter/ListSecret"
View Source
const OperationUserCenterListUser = "/usercenter.v1.UserCenter/ListUser"
View Source
const OperationUserCenterLogin = "/usercenter.v1.UserCenter/Login"
View Source
const OperationUserCenterLogout = "/usercenter.v1.UserCenter/Logout"
View Source
const OperationUserCenterRefreshToken = "/usercenter.v1.UserCenter/RefreshToken"
View Source
const OperationUserCenterUpdatePassword = "/usercenter.v1.UserCenter/UpdatePassword"
View Source
const OperationUserCenterUpdateSecret = "/usercenter.v1.UserCenter/UpdateSecret"
View Source
const OperationUserCenterUpdateUser = "/usercenter.v1.UserCenter/UpdateUser"

Variables

View Source
var (
	ErrorReason_name = map[int32]string{
		0: "UserLoginFailed",
		1: "UserAlreadyExists",
		2: "UserNotFound",
		3: "UserCreateFailed",
		4: "UserOperationForbidden",
		5: "SecretReachMaxCount",
		6: "SecretNotFound",
		7: "SecretCreateFailed",
	}
	ErrorReason_value = map[string]int32{
		"UserLoginFailed":        0,
		"UserAlreadyExists":      1,
		"UserNotFound":           2,
		"UserCreateFailed":       3,
		"UserOperationForbidden": 4,
		"SecretReachMaxCount":    5,
		"SecretNotFound":         6,
		"SecretCreateFailed":     7,
	}
)

Enum value maps for ErrorReason.

View Source
var File_usercenter_v1_auth_proto protoreflect.FileDescriptor
View Source
var File_usercenter_v1_errors_proto protoreflect.FileDescriptor
View Source
var File_usercenter_v1_secret_proto protoreflect.FileDescriptor
View Source
var File_usercenter_v1_user_proto protoreflect.FileDescriptor
View Source
var File_usercenter_v1_usercenter_proto protoreflect.FileDescriptor
View Source
var UserCenter_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "usercenter.v1.UserCenter",
	HandlerType: (*UserCenterServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Login",
			Handler:    _UserCenter_Login_Handler,
		},
		{
			MethodName: "Logout",
			Handler:    _UserCenter_Logout_Handler,
		},
		{
			MethodName: "RefreshToken",
			Handler:    _UserCenter_RefreshToken_Handler,
		},
		{
			MethodName: "Authenticate",
			Handler:    _UserCenter_Authenticate_Handler,
		},
		{
			MethodName: "Authorize",
			Handler:    _UserCenter_Authorize_Handler,
		},
		{
			MethodName: "Auth",
			Handler:    _UserCenter_Auth_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _UserCenter_CreateUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _UserCenter_UpdateUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _UserCenter_DeleteUser_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _UserCenter_GetUser_Handler,
		},
		{
			MethodName: "ListUser",
			Handler:    _UserCenter_ListUser_Handler,
		},
		{
			MethodName: "UpdatePassword",
			Handler:    _UserCenter_UpdatePassword_Handler,
		},
		{
			MethodName: "CreateSecret",
			Handler:    _UserCenter_CreateSecret_Handler,
		},
		{
			MethodName: "UpdateSecret",
			Handler:    _UserCenter_UpdateSecret_Handler,
		},
		{
			MethodName: "DeleteSecret",
			Handler:    _UserCenter_DeleteSecret_Handler,
		},
		{
			MethodName: "GetSecret",
			Handler:    _UserCenter_GetSecret_Handler,
		},
		{
			MethodName: "ListSecret",
			Handler:    _UserCenter_ListSecret_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "usercenter/v1/usercenter.proto",
}

UserCenter_ServiceDesc is the grpc.ServiceDesc for UserCenter service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func ErrorSecretCreateFailed

func ErrorSecretCreateFailed(format string, args ...interface{}) *errors.Error

创建密钥失败,可能是由于服务器或其他问题导致的创建过程中的错误

func ErrorSecretNotFound

func ErrorSecretNotFound(format string, args ...interface{}) *errors.Error

密钥未找到,可能是由于密钥不存在或输入的密钥标识有误

func ErrorSecretReachMaxCount

func ErrorSecretReachMaxCount(format string, args ...interface{}) *errors.Error

密钥达到最大数量限制,无法继续创建新密钥

func ErrorUserAlreadyExists

func ErrorUserAlreadyExists(format string, args ...interface{}) *errors.Error

用户已存在,无法创建用户

func ErrorUserCreateFailed

func ErrorUserCreateFailed(format string, args ...interface{}) *errors.Error

创建用户失败,可能是由于服务器或其他问题导致的创建过程中的错误

func ErrorUserLoginFailed

func ErrorUserLoginFailed(format string, args ...interface{}) *errors.Error

用户登录失败,身份验证未通过

func ErrorUserNotFound

func ErrorUserNotFound(format string, args ...interface{}) *errors.Error

用户未找到,可能是用户不存在或输入的用户标识有误

func ErrorUserOperationForbidden

func ErrorUserOperationForbidden(format string, args ...interface{}) *errors.Error

用户操作被禁止,可能是由于权限不足或其他安全限制导致的

func IsSecretCreateFailed

func IsSecretCreateFailed(err error) bool

创建密钥失败,可能是由于服务器或其他问题导致的创建过程中的错误

func IsSecretNotFound

func IsSecretNotFound(err error) bool

密钥未找到,可能是由于密钥不存在或输入的密钥标识有误

func IsSecretReachMaxCount

func IsSecretReachMaxCount(err error) bool

密钥达到最大数量限制,无法继续创建新密钥

func IsUserAlreadyExists

func IsUserAlreadyExists(err error) bool

用户已存在,无法创建用户

func IsUserCreateFailed

func IsUserCreateFailed(err error) bool

创建用户失败,可能是由于服务器或其他问题导致的创建过程中的错误

func IsUserLoginFailed

func IsUserLoginFailed(err error) bool

用户登录失败,身份验证未通过

func IsUserNotFound

func IsUserNotFound(err error) bool

用户未找到,可能是用户不存在或输入的用户标识有误

func IsUserOperationForbidden

func IsUserOperationForbidden(err error) bool

用户操作被禁止,可能是由于权限不足或其他安全限制导致的

func RegisterUserCenterHTTPServer

func RegisterUserCenterHTTPServer(s *http.Server, srv UserCenterHTTPServer)

func RegisterUserCenterServer

func RegisterUserCenterServer(s grpc.ServiceRegistrar, srv UserCenterServer)

Types

type AuthRequest

type AuthRequest struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Obj   string `protobuf:"bytes,2,opt,name=obj,proto3" json:"obj,omitempty"`
	Act   string `protobuf:"bytes,3,opt,name=act,proto3" json:"act,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthRequest) DeepCopy

func (in *AuthRequest) DeepCopy() *AuthRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthRequest. Required by controller-gen.

func (*AuthRequest) DeepCopyInterface

func (in *AuthRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AuthRequest. Required by controller-gen.

func (*AuthRequest) DeepCopyInto

func (in *AuthRequest) DeepCopyInto(out *AuthRequest)

DeepCopyInto supports using AuthRequest within kubernetes types, where deepcopy-gen is used.

func (*AuthRequest) Default

func (x *AuthRequest) Default()

func (*AuthRequest) Descriptor deprecated

func (*AuthRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthRequest.ProtoReflect.Descriptor instead.

func (*AuthRequest) GetAct

func (x *AuthRequest) GetAct() string

func (*AuthRequest) GetObj

func (x *AuthRequest) GetObj() string

func (*AuthRequest) GetToken

func (x *AuthRequest) GetToken() string

func (*AuthRequest) MarshalJSON

func (msg *AuthRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*AuthRequest) ProtoMessage

func (*AuthRequest) ProtoMessage()

func (*AuthRequest) ProtoReflect

func (x *AuthRequest) ProtoReflect() protoreflect.Message

func (*AuthRequest) Reset

func (x *AuthRequest) Reset()

func (*AuthRequest) String

func (x *AuthRequest) String() string

func (*AuthRequest) UnmarshalJSON

func (msg *AuthRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AuthRequest) Validate

func (m *AuthRequest) Validate() error

Validate checks the field values on AuthRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthRequest) ValidateAll

func (m *AuthRequest) ValidateAll() error

ValidateAll checks the field values on AuthRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthRequestMultiError, or nil if none found.

type AuthRequestMultiError

type AuthRequestMultiError []error

AuthRequestMultiError is an error wrapping multiple validation errors returned by AuthRequest.ValidateAll() if the designated constraints aren't met.

func (AuthRequestMultiError) AllErrors

func (m AuthRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthRequestMultiError) Error

func (m AuthRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AuthRequestValidationError

type AuthRequestValidationError struct {
	// contains filtered or unexported fields
}

AuthRequestValidationError is the validation error returned by AuthRequest.Validate if the designated constraints aren't met.

func (AuthRequestValidationError) Cause

Cause function returns cause value.

func (AuthRequestValidationError) Error

Error satisfies the builtin error interface

func (AuthRequestValidationError) ErrorName

func (e AuthRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AuthRequestValidationError) Field

Field function returns field value.

func (AuthRequestValidationError) Key

Key function returns key value.

func (AuthRequestValidationError) Reason

Reason function returns reason value.

type AuthResponse

type AuthResponse struct {
	UserID  string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Allowed bool   `protobuf:"varint,2,opt,name=allowed,proto3" json:"allowed,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthResponse) DeepCopy

func (in *AuthResponse) DeepCopy() *AuthResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthResponse. Required by controller-gen.

func (*AuthResponse) DeepCopyInterface

func (in *AuthResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AuthResponse. Required by controller-gen.

func (*AuthResponse) DeepCopyInto

func (in *AuthResponse) DeepCopyInto(out *AuthResponse)

DeepCopyInto supports using AuthResponse within kubernetes types, where deepcopy-gen is used.

func (*AuthResponse) Default

func (x *AuthResponse) Default()

func (*AuthResponse) Descriptor deprecated

func (*AuthResponse) Descriptor() ([]byte, []int)

Deprecated: Use AuthResponse.ProtoReflect.Descriptor instead.

func (*AuthResponse) GetAllowed

func (x *AuthResponse) GetAllowed() bool

func (*AuthResponse) GetUserID

func (x *AuthResponse) GetUserID() string

func (*AuthResponse) MarshalJSON

func (msg *AuthResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*AuthResponse) ProtoMessage

func (*AuthResponse) ProtoMessage()

func (*AuthResponse) ProtoReflect

func (x *AuthResponse) ProtoReflect() protoreflect.Message

func (*AuthResponse) Reset

func (x *AuthResponse) Reset()

func (*AuthResponse) String

func (x *AuthResponse) String() string

func (*AuthResponse) UnmarshalJSON

func (msg *AuthResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AuthResponse) Validate

func (m *AuthResponse) Validate() error

Validate checks the field values on AuthResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthResponse) ValidateAll

func (m *AuthResponse) ValidateAll() error

ValidateAll checks the field values on AuthResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthResponseMultiError, or nil if none found.

type AuthResponseMultiError

type AuthResponseMultiError []error

AuthResponseMultiError is an error wrapping multiple validation errors returned by AuthResponse.ValidateAll() if the designated constraints aren't met.

func (AuthResponseMultiError) AllErrors

func (m AuthResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthResponseMultiError) Error

func (m AuthResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AuthResponseValidationError

type AuthResponseValidationError struct {
	// contains filtered or unexported fields
}

AuthResponseValidationError is the validation error returned by AuthResponse.Validate if the designated constraints aren't met.

func (AuthResponseValidationError) Cause

Cause function returns cause value.

func (AuthResponseValidationError) Error

Error satisfies the builtin error interface

func (AuthResponseValidationError) ErrorName

func (e AuthResponseValidationError) ErrorName() string

ErrorName returns error name.

func (AuthResponseValidationError) Field

Field function returns field value.

func (AuthResponseValidationError) Key

Key function returns key value.

func (AuthResponseValidationError) Reason

Reason function returns reason value.

type AuthenticateRequest

type AuthenticateRequest struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticateRequest) DeepCopy

func (in *AuthenticateRequest) DeepCopy() *AuthenticateRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticateRequest. Required by controller-gen.

func (*AuthenticateRequest) DeepCopyInterface

func (in *AuthenticateRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticateRequest. Required by controller-gen.

func (*AuthenticateRequest) DeepCopyInto

func (in *AuthenticateRequest) DeepCopyInto(out *AuthenticateRequest)

DeepCopyInto supports using AuthenticateRequest within kubernetes types, where deepcopy-gen is used.

func (*AuthenticateRequest) Default

func (x *AuthenticateRequest) Default()

func (*AuthenticateRequest) Descriptor deprecated

func (*AuthenticateRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateRequest) GetToken

func (x *AuthenticateRequest) GetToken() string

func (*AuthenticateRequest) MarshalJSON

func (msg *AuthenticateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*AuthenticateRequest) ProtoMessage

func (*AuthenticateRequest) ProtoMessage()

func (*AuthenticateRequest) ProtoReflect

func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message

func (*AuthenticateRequest) Reset

func (x *AuthenticateRequest) Reset()

func (*AuthenticateRequest) String

func (x *AuthenticateRequest) String() string

func (*AuthenticateRequest) UnmarshalJSON

func (msg *AuthenticateRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AuthenticateRequest) Validate

func (m *AuthenticateRequest) Validate() error

Validate checks the field values on AuthenticateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthenticateRequest) ValidateAll

func (m *AuthenticateRequest) ValidateAll() error

ValidateAll checks the field values on AuthenticateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthenticateRequestMultiError, or nil if none found.

type AuthenticateRequestMultiError

type AuthenticateRequestMultiError []error

AuthenticateRequestMultiError is an error wrapping multiple validation errors returned by AuthenticateRequest.ValidateAll() if the designated constraints aren't met.

func (AuthenticateRequestMultiError) AllErrors

func (m AuthenticateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthenticateRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AuthenticateRequestValidationError

type AuthenticateRequestValidationError struct {
	// contains filtered or unexported fields
}

AuthenticateRequestValidationError is the validation error returned by AuthenticateRequest.Validate if the designated constraints aren't met.

func (AuthenticateRequestValidationError) Cause

Cause function returns cause value.

func (AuthenticateRequestValidationError) Error

Error satisfies the builtin error interface

func (AuthenticateRequestValidationError) ErrorName

ErrorName returns error name.

func (AuthenticateRequestValidationError) Field

Field function returns field value.

func (AuthenticateRequestValidationError) Key

Key function returns key value.

func (AuthenticateRequestValidationError) Reason

Reason function returns reason value.

type AuthenticateResponse

type AuthenticateResponse struct {
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticateResponse) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticateResponse. Required by controller-gen.

func (*AuthenticateResponse) DeepCopyInterface

func (in *AuthenticateResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticateResponse. Required by controller-gen.

func (*AuthenticateResponse) DeepCopyInto

func (in *AuthenticateResponse) DeepCopyInto(out *AuthenticateResponse)

DeepCopyInto supports using AuthenticateResponse within kubernetes types, where deepcopy-gen is used.

func (*AuthenticateResponse) Default

func (x *AuthenticateResponse) Default()

func (*AuthenticateResponse) Descriptor deprecated

func (*AuthenticateResponse) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead.

func (*AuthenticateResponse) GetUserID

func (x *AuthenticateResponse) GetUserID() string

func (*AuthenticateResponse) MarshalJSON

func (msg *AuthenticateResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*AuthenticateResponse) ProtoMessage

func (*AuthenticateResponse) ProtoMessage()

func (*AuthenticateResponse) ProtoReflect

func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message

func (*AuthenticateResponse) Reset

func (x *AuthenticateResponse) Reset()

func (*AuthenticateResponse) String

func (x *AuthenticateResponse) String() string

func (*AuthenticateResponse) UnmarshalJSON

func (msg *AuthenticateResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AuthenticateResponse) Validate

func (m *AuthenticateResponse) Validate() error

Validate checks the field values on AuthenticateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthenticateResponse) ValidateAll

func (m *AuthenticateResponse) ValidateAll() error

ValidateAll checks the field values on AuthenticateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthenticateResponseMultiError, or nil if none found.

type AuthenticateResponseMultiError

type AuthenticateResponseMultiError []error

AuthenticateResponseMultiError is an error wrapping multiple validation errors returned by AuthenticateResponse.ValidateAll() if the designated constraints aren't met.

func (AuthenticateResponseMultiError) AllErrors

func (m AuthenticateResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthenticateResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AuthenticateResponseValidationError

type AuthenticateResponseValidationError struct {
	// contains filtered or unexported fields
}

AuthenticateResponseValidationError is the validation error returned by AuthenticateResponse.Validate if the designated constraints aren't met.

func (AuthenticateResponseValidationError) Cause

Cause function returns cause value.

func (AuthenticateResponseValidationError) Error

Error satisfies the builtin error interface

func (AuthenticateResponseValidationError) ErrorName

ErrorName returns error name.

func (AuthenticateResponseValidationError) Field

Field function returns field value.

func (AuthenticateResponseValidationError) Key

Key function returns key value.

func (AuthenticateResponseValidationError) Reason

Reason function returns reason value.

type AuthorizeRequest

type AuthorizeRequest struct {
	Sub string `protobuf:"bytes,1,opt,name=sub,proto3" json:"sub,omitempty"`
	Obj string `protobuf:"bytes,3,opt,name=obj,proto3" json:"obj,omitempty"`
	Act string `protobuf:"bytes,4,opt,name=act,proto3" json:"act,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthorizeRequest) DeepCopy

func (in *AuthorizeRequest) DeepCopy() *AuthorizeRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizeRequest. Required by controller-gen.

func (*AuthorizeRequest) DeepCopyInterface

func (in *AuthorizeRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizeRequest. Required by controller-gen.

func (*AuthorizeRequest) DeepCopyInto

func (in *AuthorizeRequest) DeepCopyInto(out *AuthorizeRequest)

DeepCopyInto supports using AuthorizeRequest within kubernetes types, where deepcopy-gen is used.

func (*AuthorizeRequest) Default

func (x *AuthorizeRequest) Default()

func (*AuthorizeRequest) Descriptor deprecated

func (*AuthorizeRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthorizeRequest.ProtoReflect.Descriptor instead.

func (*AuthorizeRequest) GetAct

func (x *AuthorizeRequest) GetAct() string

func (*AuthorizeRequest) GetObj

func (x *AuthorizeRequest) GetObj() string

func (*AuthorizeRequest) GetSub

func (x *AuthorizeRequest) GetSub() string

func (*AuthorizeRequest) MarshalJSON

func (msg *AuthorizeRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*AuthorizeRequest) ProtoMessage

func (*AuthorizeRequest) ProtoMessage()

func (*AuthorizeRequest) ProtoReflect

func (x *AuthorizeRequest) ProtoReflect() protoreflect.Message

func (*AuthorizeRequest) Reset

func (x *AuthorizeRequest) Reset()

func (*AuthorizeRequest) String

func (x *AuthorizeRequest) String() string

func (*AuthorizeRequest) UnmarshalJSON

func (msg *AuthorizeRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AuthorizeRequest) Validate

func (m *AuthorizeRequest) Validate() error

Validate checks the field values on AuthorizeRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthorizeRequest) ValidateAll

func (m *AuthorizeRequest) ValidateAll() error

ValidateAll checks the field values on AuthorizeRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthorizeRequestMultiError, or nil if none found.

type AuthorizeRequestMultiError

type AuthorizeRequestMultiError []error

AuthorizeRequestMultiError is an error wrapping multiple validation errors returned by AuthorizeRequest.ValidateAll() if the designated constraints aren't met.

func (AuthorizeRequestMultiError) AllErrors

func (m AuthorizeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthorizeRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AuthorizeRequestValidationError

type AuthorizeRequestValidationError struct {
	// contains filtered or unexported fields
}

AuthorizeRequestValidationError is the validation error returned by AuthorizeRequest.Validate if the designated constraints aren't met.

func (AuthorizeRequestValidationError) Cause

Cause function returns cause value.

func (AuthorizeRequestValidationError) Error

Error satisfies the builtin error interface

func (AuthorizeRequestValidationError) ErrorName

ErrorName returns error name.

func (AuthorizeRequestValidationError) Field

Field function returns field value.

func (AuthorizeRequestValidationError) Key

Key function returns key value.

func (AuthorizeRequestValidationError) Reason

Reason function returns reason value.

type AuthorizeResponse

type AuthorizeResponse struct {
	Allowed bool `protobuf:"varint,1,opt,name=allowed,proto3" json:"allowed,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthorizeResponse) DeepCopy

func (in *AuthorizeResponse) DeepCopy() *AuthorizeResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizeResponse. Required by controller-gen.

func (*AuthorizeResponse) DeepCopyInterface

func (in *AuthorizeResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizeResponse. Required by controller-gen.

func (*AuthorizeResponse) DeepCopyInto

func (in *AuthorizeResponse) DeepCopyInto(out *AuthorizeResponse)

DeepCopyInto supports using AuthorizeResponse within kubernetes types, where deepcopy-gen is used.

func (*AuthorizeResponse) Default

func (x *AuthorizeResponse) Default()

func (*AuthorizeResponse) Descriptor deprecated

func (*AuthorizeResponse) Descriptor() ([]byte, []int)

Deprecated: Use AuthorizeResponse.ProtoReflect.Descriptor instead.

func (*AuthorizeResponse) GetAllowed

func (x *AuthorizeResponse) GetAllowed() bool

func (*AuthorizeResponse) MarshalJSON

func (msg *AuthorizeResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*AuthorizeResponse) ProtoMessage

func (*AuthorizeResponse) ProtoMessage()

func (*AuthorizeResponse) ProtoReflect

func (x *AuthorizeResponse) ProtoReflect() protoreflect.Message

func (*AuthorizeResponse) Reset

func (x *AuthorizeResponse) Reset()

func (*AuthorizeResponse) String

func (x *AuthorizeResponse) String() string

func (*AuthorizeResponse) UnmarshalJSON

func (msg *AuthorizeResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*AuthorizeResponse) Validate

func (m *AuthorizeResponse) Validate() error

Validate checks the field values on AuthorizeResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthorizeResponse) ValidateAll

func (m *AuthorizeResponse) ValidateAll() error

ValidateAll checks the field values on AuthorizeResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthorizeResponseMultiError, or nil if none found.

type AuthorizeResponseMultiError

type AuthorizeResponseMultiError []error

AuthorizeResponseMultiError is an error wrapping multiple validation errors returned by AuthorizeResponse.ValidateAll() if the designated constraints aren't met.

func (AuthorizeResponseMultiError) AllErrors

func (m AuthorizeResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthorizeResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AuthorizeResponseValidationError

type AuthorizeResponseValidationError struct {
	// contains filtered or unexported fields
}

AuthorizeResponseValidationError is the validation error returned by AuthorizeResponse.Validate if the designated constraints aren't met.

func (AuthorizeResponseValidationError) Cause

Cause function returns cause value.

func (AuthorizeResponseValidationError) Error

Error satisfies the builtin error interface

func (AuthorizeResponseValidationError) ErrorName

ErrorName returns error name.

func (AuthorizeResponseValidationError) Field

Field function returns field value.

func (AuthorizeResponseValidationError) Key

Key function returns key value.

func (AuthorizeResponseValidationError) Reason

Reason function returns reason value.

type CreateSecretRequest

type CreateSecretRequest struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Expires     int64  `protobuf:"varint,2,opt,name=expires,proto3" json:"expires,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

CreateSecretRequest represents the request message for creating a new secret.

func (*CreateSecretRequest) DeepCopy

func (in *CreateSecretRequest) DeepCopy() *CreateSecretRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreateSecretRequest. Required by controller-gen.

func (*CreateSecretRequest) DeepCopyInterface

func (in *CreateSecretRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new CreateSecretRequest. Required by controller-gen.

func (*CreateSecretRequest) DeepCopyInto

func (in *CreateSecretRequest) DeepCopyInto(out *CreateSecretRequest)

DeepCopyInto supports using CreateSecretRequest within kubernetes types, where deepcopy-gen is used.

func (*CreateSecretRequest) Default

func (x *CreateSecretRequest) Default()

func (*CreateSecretRequest) Descriptor deprecated

func (*CreateSecretRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSecretRequest.ProtoReflect.Descriptor instead.

func (*CreateSecretRequest) GetDescription

func (x *CreateSecretRequest) GetDescription() string

func (*CreateSecretRequest) GetExpires

func (x *CreateSecretRequest) GetExpires() int64

func (*CreateSecretRequest) GetName

func (x *CreateSecretRequest) GetName() string

func (*CreateSecretRequest) MarshalJSON

func (msg *CreateSecretRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*CreateSecretRequest) ProtoMessage

func (*CreateSecretRequest) ProtoMessage()

func (*CreateSecretRequest) ProtoReflect

func (x *CreateSecretRequest) ProtoReflect() protoreflect.Message

func (*CreateSecretRequest) Reset

func (x *CreateSecretRequest) Reset()

func (*CreateSecretRequest) String

func (x *CreateSecretRequest) String() string

func (*CreateSecretRequest) UnmarshalJSON

func (msg *CreateSecretRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*CreateSecretRequest) Validate

func (m *CreateSecretRequest) Validate() error

Validate checks the field values on CreateSecretRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateSecretRequest) ValidateAll

func (m *CreateSecretRequest) ValidateAll() error

ValidateAll checks the field values on CreateSecretRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateSecretRequestMultiError, or nil if none found.

type CreateSecretRequestMultiError

type CreateSecretRequestMultiError []error

CreateSecretRequestMultiError is an error wrapping multiple validation errors returned by CreateSecretRequest.ValidateAll() if the designated constraints aren't met.

func (CreateSecretRequestMultiError) AllErrors

func (m CreateSecretRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateSecretRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateSecretRequestValidationError

type CreateSecretRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateSecretRequestValidationError is the validation error returned by CreateSecretRequest.Validate if the designated constraints aren't met.

func (CreateSecretRequestValidationError) Cause

Cause function returns cause value.

func (CreateSecretRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateSecretRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateSecretRequestValidationError) Field

Field function returns field value.

func (CreateSecretRequestValidationError) Key

Key function returns key value.

func (CreateSecretRequestValidationError) Reason

Reason function returns reason value.

type CreateSecretResponse

type CreateSecretResponse struct {

	// SecretID is the unique identifier of the newly created secret.
	SecretID string `protobuf:"bytes,1,opt,name=secretID,proto3" json:"secretID,omitempty"` // TODO: Add additional fields to return if needed.
	// contains filtered or unexported fields
}

CreateSecretResponse represents the response message for a successful secret creation.

func (*CreateSecretResponse) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreateSecretResponse. Required by controller-gen.

func (*CreateSecretResponse) DeepCopyInterface

func (in *CreateSecretResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new CreateSecretResponse. Required by controller-gen.

func (*CreateSecretResponse) DeepCopyInto

func (in *CreateSecretResponse) DeepCopyInto(out *CreateSecretResponse)

DeepCopyInto supports using CreateSecretResponse within kubernetes types, where deepcopy-gen is used.

func (*CreateSecretResponse) Default

func (x *CreateSecretResponse) Default()

func (*CreateSecretResponse) Descriptor deprecated

func (*CreateSecretResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateSecretResponse.ProtoReflect.Descriptor instead.

func (*CreateSecretResponse) GetSecretID

func (x *CreateSecretResponse) GetSecretID() string

func (*CreateSecretResponse) MarshalJSON

func (msg *CreateSecretResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*CreateSecretResponse) ProtoMessage

func (*CreateSecretResponse) ProtoMessage()

func (*CreateSecretResponse) ProtoReflect

func (x *CreateSecretResponse) ProtoReflect() protoreflect.Message

func (*CreateSecretResponse) Reset

func (x *CreateSecretResponse) Reset()

func (*CreateSecretResponse) String

func (x *CreateSecretResponse) String() string

func (*CreateSecretResponse) UnmarshalJSON

func (msg *CreateSecretResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*CreateSecretResponse) Validate

func (m *CreateSecretResponse) Validate() error

Validate checks the field values on CreateSecretResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateSecretResponse) ValidateAll

func (m *CreateSecretResponse) ValidateAll() error

ValidateAll checks the field values on CreateSecretResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateSecretResponseMultiError, or nil if none found.

type CreateSecretResponseMultiError

type CreateSecretResponseMultiError []error

CreateSecretResponseMultiError is an error wrapping multiple validation errors returned by CreateSecretResponse.ValidateAll() if the designated constraints aren't met.

func (CreateSecretResponseMultiError) AllErrors

func (m CreateSecretResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateSecretResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateSecretResponseValidationError

type CreateSecretResponseValidationError struct {
	// contains filtered or unexported fields
}

CreateSecretResponseValidationError is the validation error returned by CreateSecretResponse.Validate if the designated constraints aren't met.

func (CreateSecretResponseValidationError) Cause

Cause function returns cause value.

func (CreateSecretResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateSecretResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateSecretResponseValidationError) Field

Field function returns field value.

func (CreateSecretResponseValidationError) Key

Key function returns key value.

func (CreateSecretResponseValidationError) Reason

Reason function returns reason value.

type CreateUserRequest

type CreateUserRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	Email    string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	Phone    string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"`
	// contains filtered or unexported fields
}

CreateUserRequest represents the request message for creating a new user.

func (*CreateUserRequest) DeepCopy

func (in *CreateUserRequest) DeepCopy() *CreateUserRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreateUserRequest. Required by controller-gen.

func (*CreateUserRequest) DeepCopyInterface

func (in *CreateUserRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new CreateUserRequest. Required by controller-gen.

func (*CreateUserRequest) DeepCopyInto

func (in *CreateUserRequest) DeepCopyInto(out *CreateUserRequest)

DeepCopyInto supports using CreateUserRequest within kubernetes types, where deepcopy-gen is used.

func (*CreateUserRequest) Default

func (x *CreateUserRequest) Default()

func (*CreateUserRequest) Descriptor deprecated

func (*CreateUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetEmail

func (x *CreateUserRequest) GetEmail() string

func (*CreateUserRequest) GetNickname

func (x *CreateUserRequest) GetNickname() string

func (*CreateUserRequest) GetPassword

func (x *CreateUserRequest) GetPassword() string

func (*CreateUserRequest) GetPhone

func (x *CreateUserRequest) GetPhone() string

func (*CreateUserRequest) GetUsername

func (x *CreateUserRequest) GetUsername() string

func (*CreateUserRequest) MarshalJSON

func (msg *CreateUserRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

func (x *CreateUserRequest) ProtoReflect() protoreflect.Message

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

func (*CreateUserRequest) UnmarshalJSON

func (msg *CreateUserRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*CreateUserRequest) Validate

func (m *CreateUserRequest) Validate() error

Validate checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateUserRequest) ValidateAll

func (m *CreateUserRequest) ValidateAll() error

ValidateAll checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserRequestMultiError, or nil if none found.

type CreateUserRequestMultiError

type CreateUserRequestMultiError []error

CreateUserRequestMultiError is an error wrapping multiple validation errors returned by CreateUserRequest.ValidateAll() if the designated constraints aren't met.

func (CreateUserRequestMultiError) AllErrors

func (m CreateUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateUserRequestValidationError

type CreateUserRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateUserRequestValidationError is the validation error returned by CreateUserRequest.Validate if the designated constraints aren't met.

func (CreateUserRequestValidationError) Cause

Cause function returns cause value.

func (CreateUserRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateUserRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateUserRequestValidationError) Field

Field function returns field value.

func (CreateUserRequestValidationError) Key

Key function returns key value.

func (CreateUserRequestValidationError) Reason

Reason function returns reason value.

type CreateUserResponse

type CreateUserResponse struct {

	// UserID is the unique identifier of the newly created user.
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	// contains filtered or unexported fields
}

CreateUserResponse represents the response message for a successful user creation.

func (*CreateUserResponse) DeepCopy

func (in *CreateUserResponse) DeepCopy() *CreateUserResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreateUserResponse. Required by controller-gen.

func (*CreateUserResponse) DeepCopyInterface

func (in *CreateUserResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new CreateUserResponse. Required by controller-gen.

func (*CreateUserResponse) DeepCopyInto

func (in *CreateUserResponse) DeepCopyInto(out *CreateUserResponse)

DeepCopyInto supports using CreateUserResponse within kubernetes types, where deepcopy-gen is used.

func (*CreateUserResponse) Default

func (x *CreateUserResponse) Default()

func (*CreateUserResponse) Descriptor deprecated

func (*CreateUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.

func (*CreateUserResponse) GetUserID

func (x *CreateUserResponse) GetUserID() string

func (*CreateUserResponse) MarshalJSON

func (msg *CreateUserResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*CreateUserResponse) ProtoMessage

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) ProtoReflect

func (x *CreateUserResponse) ProtoReflect() protoreflect.Message

func (*CreateUserResponse) Reset

func (x *CreateUserResponse) Reset()

func (*CreateUserResponse) String

func (x *CreateUserResponse) String() string

func (*CreateUserResponse) UnmarshalJSON

func (msg *CreateUserResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*CreateUserResponse) Validate

func (m *CreateUserResponse) Validate() error

Validate checks the field values on CreateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateUserResponse) ValidateAll

func (m *CreateUserResponse) ValidateAll() error

ValidateAll checks the field values on CreateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserResponseMultiError, or nil if none found.

type CreateUserResponseMultiError

type CreateUserResponseMultiError []error

CreateUserResponseMultiError is an error wrapping multiple validation errors returned by CreateUserResponse.ValidateAll() if the designated constraints aren't met.

func (CreateUserResponseMultiError) AllErrors

func (m CreateUserResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateUserResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateUserResponseValidationError

type CreateUserResponseValidationError struct {
	// contains filtered or unexported fields
}

CreateUserResponseValidationError is the validation error returned by CreateUserResponse.Validate if the designated constraints aren't met.

func (CreateUserResponseValidationError) Cause

Cause function returns cause value.

func (CreateUserResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateUserResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateUserResponseValidationError) Field

Field function returns field value.

func (CreateUserResponseValidationError) Key

Key function returns key value.

func (CreateUserResponseValidationError) Reason

Reason function returns reason value.

type DeleteSecretRequest

type DeleteSecretRequest struct {

	// @gotags: uri:"name"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" uri:"name"`
	// contains filtered or unexported fields
}

DeleteSecretRequest represents the request message for deleting one or more secrets.

func (*DeleteSecretRequest) DeepCopy

func (in *DeleteSecretRequest) DeepCopy() *DeleteSecretRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteSecretRequest. Required by controller-gen.

func (*DeleteSecretRequest) DeepCopyInterface

func (in *DeleteSecretRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DeleteSecretRequest. Required by controller-gen.

func (*DeleteSecretRequest) DeepCopyInto

func (in *DeleteSecretRequest) DeepCopyInto(out *DeleteSecretRequest)

DeepCopyInto supports using DeleteSecretRequest within kubernetes types, where deepcopy-gen is used.

func (*DeleteSecretRequest) Default

func (x *DeleteSecretRequest) Default()

func (*DeleteSecretRequest) Descriptor deprecated

func (*DeleteSecretRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSecretRequest.ProtoReflect.Descriptor instead.

func (*DeleteSecretRequest) GetName

func (x *DeleteSecretRequest) GetName() string

func (*DeleteSecretRequest) MarshalJSON

func (msg *DeleteSecretRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*DeleteSecretRequest) ProtoMessage

func (*DeleteSecretRequest) ProtoMessage()

func (*DeleteSecretRequest) ProtoReflect

func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message

func (*DeleteSecretRequest) Reset

func (x *DeleteSecretRequest) Reset()

func (*DeleteSecretRequest) String

func (x *DeleteSecretRequest) String() string

func (*DeleteSecretRequest) UnmarshalJSON

func (msg *DeleteSecretRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*DeleteSecretRequest) Validate

func (m *DeleteSecretRequest) Validate() error

Validate checks the field values on DeleteSecretRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteSecretRequest) ValidateAll

func (m *DeleteSecretRequest) ValidateAll() error

ValidateAll checks the field values on DeleteSecretRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteSecretRequestMultiError, or nil if none found.

type DeleteSecretRequestMultiError

type DeleteSecretRequestMultiError []error

DeleteSecretRequestMultiError is an error wrapping multiple validation errors returned by DeleteSecretRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteSecretRequestMultiError) AllErrors

func (m DeleteSecretRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteSecretRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteSecretRequestValidationError

type DeleteSecretRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteSecretRequestValidationError is the validation error returned by DeleteSecretRequest.Validate if the designated constraints aren't met.

func (DeleteSecretRequestValidationError) Cause

Cause function returns cause value.

func (DeleteSecretRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteSecretRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteSecretRequestValidationError) Field

Field function returns field value.

func (DeleteSecretRequestValidationError) Key

Key function returns key value.

func (DeleteSecretRequestValidationError) Reason

Reason function returns reason value.

type DeleteSecretResponse

type DeleteSecretResponse struct {
	// contains filtered or unexported fields
}

DeleteSecretResponse represents the response message for a successful secret deletion.

func (*DeleteSecretResponse) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteSecretResponse. Required by controller-gen.

func (*DeleteSecretResponse) DeepCopyInterface

func (in *DeleteSecretResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DeleteSecretResponse. Required by controller-gen.

func (*DeleteSecretResponse) DeepCopyInto

func (in *DeleteSecretResponse) DeepCopyInto(out *DeleteSecretResponse)

DeepCopyInto supports using DeleteSecretResponse within kubernetes types, where deepcopy-gen is used.

func (*DeleteSecretResponse) Default

func (x *DeleteSecretResponse) Default()

func (*DeleteSecretResponse) Descriptor deprecated

func (*DeleteSecretResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSecretResponse.ProtoReflect.Descriptor instead.

func (*DeleteSecretResponse) MarshalJSON

func (msg *DeleteSecretResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*DeleteSecretResponse) ProtoMessage

func (*DeleteSecretResponse) ProtoMessage()

func (*DeleteSecretResponse) ProtoReflect

func (x *DeleteSecretResponse) ProtoReflect() protoreflect.Message

func (*DeleteSecretResponse) Reset

func (x *DeleteSecretResponse) Reset()

func (*DeleteSecretResponse) String

func (x *DeleteSecretResponse) String() string

func (*DeleteSecretResponse) UnmarshalJSON

func (msg *DeleteSecretResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*DeleteSecretResponse) Validate

func (m *DeleteSecretResponse) Validate() error

Validate checks the field values on DeleteSecretResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteSecretResponse) ValidateAll

func (m *DeleteSecretResponse) ValidateAll() error

ValidateAll checks the field values on DeleteSecretResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteSecretResponseMultiError, or nil if none found.

type DeleteSecretResponseMultiError

type DeleteSecretResponseMultiError []error

DeleteSecretResponseMultiError is an error wrapping multiple validation errors returned by DeleteSecretResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteSecretResponseMultiError) AllErrors

func (m DeleteSecretResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteSecretResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteSecretResponseValidationError

type DeleteSecretResponseValidationError struct {
	// contains filtered or unexported fields
}

DeleteSecretResponseValidationError is the validation error returned by DeleteSecretResponse.Validate if the designated constraints aren't met.

func (DeleteSecretResponseValidationError) Cause

Cause function returns cause value.

func (DeleteSecretResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteSecretResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteSecretResponseValidationError) Field

Field function returns field value.

func (DeleteSecretResponseValidationError) Key

Key function returns key value.

func (DeleteSecretResponseValidationError) Reason

Reason function returns reason value.

type DeleteUserRequest

type DeleteUserRequest struct {

	// @gotags: uri:"userID"
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty" uri:"userID"`
	// contains filtered or unexported fields
}

DeleteUserRequest represents the request message for deleting one or more users.

func (*DeleteUserRequest) DeepCopy

func (in *DeleteUserRequest) DeepCopy() *DeleteUserRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteUserRequest. Required by controller-gen.

func (*DeleteUserRequest) DeepCopyInterface

func (in *DeleteUserRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DeleteUserRequest. Required by controller-gen.

func (*DeleteUserRequest) DeepCopyInto

func (in *DeleteUserRequest) DeepCopyInto(out *DeleteUserRequest)

DeepCopyInto supports using DeleteUserRequest within kubernetes types, where deepcopy-gen is used.

func (*DeleteUserRequest) Default

func (x *DeleteUserRequest) Default()

func (*DeleteUserRequest) Descriptor deprecated

func (*DeleteUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetUserID

func (x *DeleteUserRequest) GetUserID() string

func (*DeleteUserRequest) MarshalJSON

func (msg *DeleteUserRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

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

func (*DeleteUserRequest) UnmarshalJSON

func (msg *DeleteUserRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*DeleteUserRequest) Validate

func (m *DeleteUserRequest) Validate() error

Validate checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteUserRequest) ValidateAll

func (m *DeleteUserRequest) ValidateAll() error

ValidateAll checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserRequestMultiError, or nil if none found.

type DeleteUserRequestMultiError

type DeleteUserRequestMultiError []error

DeleteUserRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteUserRequestMultiError) AllErrors

func (m DeleteUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteUserRequestValidationError

type DeleteUserRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteUserRequestValidationError is the validation error returned by DeleteUserRequest.Validate if the designated constraints aren't met.

func (DeleteUserRequestValidationError) Cause

Cause function returns cause value.

func (DeleteUserRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteUserRequestValidationError) Field

Field function returns field value.

func (DeleteUserRequestValidationError) Key

Key function returns key value.

func (DeleteUserRequestValidationError) Reason

Reason function returns reason value.

type DeleteUserResponse

type DeleteUserResponse struct {
	// contains filtered or unexported fields
}

DeleteUserResponse represents the response message for a successful user deletion.

func (*DeleteUserResponse) DeepCopy

func (in *DeleteUserResponse) DeepCopy() *DeleteUserResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteUserResponse. Required by controller-gen.

func (*DeleteUserResponse) DeepCopyInterface

func (in *DeleteUserResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DeleteUserResponse. Required by controller-gen.

func (*DeleteUserResponse) DeepCopyInto

func (in *DeleteUserResponse) DeepCopyInto(out *DeleteUserResponse)

DeepCopyInto supports using DeleteUserResponse within kubernetes types, where deepcopy-gen is used.

func (*DeleteUserResponse) Default

func (x *DeleteUserResponse) Default()

func (*DeleteUserResponse) Descriptor deprecated

func (*DeleteUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserResponse) MarshalJSON

func (msg *DeleteUserResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

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

func (*DeleteUserResponse) UnmarshalJSON

func (msg *DeleteUserResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*DeleteUserResponse) Validate

func (m *DeleteUserResponse) Validate() error

Validate checks the field values on DeleteUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteUserResponse) ValidateAll

func (m *DeleteUserResponse) ValidateAll() error

ValidateAll checks the field values on DeleteUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserResponseMultiError, or nil if none found.

type DeleteUserResponseMultiError

type DeleteUserResponseMultiError []error

DeleteUserResponseMultiError is an error wrapping multiple validation errors returned by DeleteUserResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteUserResponseMultiError) AllErrors

func (m DeleteUserResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteUserResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteUserResponseValidationError

type DeleteUserResponseValidationError struct {
	// contains filtered or unexported fields
}

DeleteUserResponseValidationError is the validation error returned by DeleteUserResponse.Validate if the designated constraints aren't met.

func (DeleteUserResponseValidationError) Cause

Cause function returns cause value.

func (DeleteUserResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteUserResponseValidationError) Field

Field function returns field value.

func (DeleteUserResponseValidationError) Key

Key function returns key value.

func (DeleteUserResponseValidationError) Reason

Reason function returns reason value.

type ErrorReason

type ErrorReason int32
const (
	// 用户登录失败,身份验证未通过
	ErrorReason_UserLoginFailed ErrorReason = 0
	// 用户已存在,无法创建用户
	ErrorReason_UserAlreadyExists ErrorReason = 1
	// 用户未找到,可能是用户不存在或输入的用户标识有误
	ErrorReason_UserNotFound ErrorReason = 2
	// 创建用户失败,可能是由于服务器或其他问题导致的创建过程中的错误
	ErrorReason_UserCreateFailed ErrorReason = 3
	// 用户操作被禁止,可能是由于权限不足或其他安全限制导致的
	ErrorReason_UserOperationForbidden ErrorReason = 4
	// 密钥达到最大数量限制,无法继续创建新密钥
	ErrorReason_SecretReachMaxCount ErrorReason = 5
	// 密钥未找到,可能是由于密钥不存在或输入的密钥标识有误
	ErrorReason_SecretNotFound ErrorReason = 6
	// 创建密钥失败,可能是由于服务器或其他问题导致的创建过程中的错误
	ErrorReason_SecretCreateFailed ErrorReason = 7
)

func (ErrorReason) Descriptor

func (ErrorReason) Enum

func (x ErrorReason) Enum() *ErrorReason

func (ErrorReason) EnumDescriptor deprecated

func (ErrorReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use ErrorReason.Descriptor instead.

func (ErrorReason) Number

func (x ErrorReason) Number() protoreflect.EnumNumber

func (ErrorReason) String

func (x ErrorReason) String() string

func (ErrorReason) Type

type GetSecretRequest

type GetSecretRequest struct {

	// SecretID is the unique identifier of the secret to retrieve.
	// @gotags: uri:"name"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" uri:"name"`
	// contains filtered or unexported fields
}

GetSecretRequest represents the request message for retrieving a specific secret.

func (*GetSecretRequest) DeepCopy

func (in *GetSecretRequest) DeepCopy() *GetSecretRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetSecretRequest. Required by controller-gen.

func (*GetSecretRequest) DeepCopyInterface

func (in *GetSecretRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetSecretRequest. Required by controller-gen.

func (*GetSecretRequest) DeepCopyInto

func (in *GetSecretRequest) DeepCopyInto(out *GetSecretRequest)

DeepCopyInto supports using GetSecretRequest within kubernetes types, where deepcopy-gen is used.

func (*GetSecretRequest) Default

func (x *GetSecretRequest) Default()

func (*GetSecretRequest) Descriptor deprecated

func (*GetSecretRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSecretRequest.ProtoReflect.Descriptor instead.

func (*GetSecretRequest) GetName

func (x *GetSecretRequest) GetName() string

func (*GetSecretRequest) MarshalJSON

func (msg *GetSecretRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetSecretRequest) ProtoMessage

func (*GetSecretRequest) ProtoMessage()

func (*GetSecretRequest) ProtoReflect

func (x *GetSecretRequest) ProtoReflect() protoreflect.Message

func (*GetSecretRequest) Reset

func (x *GetSecretRequest) Reset()

func (*GetSecretRequest) String

func (x *GetSecretRequest) String() string

func (*GetSecretRequest) UnmarshalJSON

func (msg *GetSecretRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetSecretRequest) Validate

func (m *GetSecretRequest) Validate() error

Validate checks the field values on GetSecretRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetSecretRequest) ValidateAll

func (m *GetSecretRequest) ValidateAll() error

ValidateAll checks the field values on GetSecretRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSecretRequestMultiError, or nil if none found.

type GetSecretRequestMultiError

type GetSecretRequestMultiError []error

GetSecretRequestMultiError is an error wrapping multiple validation errors returned by GetSecretRequest.ValidateAll() if the designated constraints aren't met.

func (GetSecretRequestMultiError) AllErrors

func (m GetSecretRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSecretRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetSecretRequestValidationError

type GetSecretRequestValidationError struct {
	// contains filtered or unexported fields
}

GetSecretRequestValidationError is the validation error returned by GetSecretRequest.Validate if the designated constraints aren't met.

func (GetSecretRequestValidationError) Cause

Cause function returns cause value.

func (GetSecretRequestValidationError) Error

Error satisfies the builtin error interface

func (GetSecretRequestValidationError) ErrorName

ErrorName returns error name.

func (GetSecretRequestValidationError) Field

Field function returns field value.

func (GetSecretRequestValidationError) Key

Key function returns key value.

func (GetSecretRequestValidationError) Reason

Reason function returns reason value.

type GetSecretResponse

type GetSecretResponse struct {

	// Secret is the retrieved secret object.
	Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

GetSecretResponse represents the response message for a successful retrieval of a secret.

func (*GetSecretResponse) DeepCopy

func (in *GetSecretResponse) DeepCopy() *GetSecretResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetSecretResponse. Required by controller-gen.

func (*GetSecretResponse) DeepCopyInterface

func (in *GetSecretResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetSecretResponse. Required by controller-gen.

func (*GetSecretResponse) DeepCopyInto

func (in *GetSecretResponse) DeepCopyInto(out *GetSecretResponse)

DeepCopyInto supports using GetSecretResponse within kubernetes types, where deepcopy-gen is used.

func (*GetSecretResponse) Default

func (x *GetSecretResponse) Default()

func (*GetSecretResponse) Descriptor deprecated

func (*GetSecretResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetSecretResponse.ProtoReflect.Descriptor instead.

func (*GetSecretResponse) GetSecret

func (x *GetSecretResponse) GetSecret() *Secret

func (*GetSecretResponse) MarshalJSON

func (msg *GetSecretResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetSecretResponse) ProtoMessage

func (*GetSecretResponse) ProtoMessage()

func (*GetSecretResponse) ProtoReflect

func (x *GetSecretResponse) ProtoReflect() protoreflect.Message

func (*GetSecretResponse) Reset

func (x *GetSecretResponse) Reset()

func (*GetSecretResponse) String

func (x *GetSecretResponse) String() string

func (*GetSecretResponse) UnmarshalJSON

func (msg *GetSecretResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetSecretResponse) Validate

func (m *GetSecretResponse) Validate() error

Validate checks the field values on GetSecretResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetSecretResponse) ValidateAll

func (m *GetSecretResponse) ValidateAll() error

ValidateAll checks the field values on GetSecretResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSecretResponseMultiError, or nil if none found.

type GetSecretResponseMultiError

type GetSecretResponseMultiError []error

GetSecretResponseMultiError is an error wrapping multiple validation errors returned by GetSecretResponse.ValidateAll() if the designated constraints aren't met.

func (GetSecretResponseMultiError) AllErrors

func (m GetSecretResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSecretResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetSecretResponseValidationError

type GetSecretResponseValidationError struct {
	// contains filtered or unexported fields
}

GetSecretResponseValidationError is the validation error returned by GetSecretResponse.Validate if the designated constraints aren't met.

func (GetSecretResponseValidationError) Cause

Cause function returns cause value.

func (GetSecretResponseValidationError) Error

Error satisfies the builtin error interface

func (GetSecretResponseValidationError) ErrorName

ErrorName returns error name.

func (GetSecretResponseValidationError) Field

Field function returns field value.

func (GetSecretResponseValidationError) Key

Key function returns key value.

func (GetSecretResponseValidationError) Reason

Reason function returns reason value.

type GetUserRequest

type GetUserRequest struct {

	// @gotags: uri:"userID"
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty" uri:"userID"`
	// contains filtered or unexported fields
}

GetUserRequest represents the request message for retrieving a specific user.

func (*GetUserRequest) DeepCopy

func (in *GetUserRequest) DeepCopy() *GetUserRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetUserRequest. Required by controller-gen.

func (*GetUserRequest) DeepCopyInterface

func (in *GetUserRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetUserRequest. Required by controller-gen.

func (*GetUserRequest) DeepCopyInto

func (in *GetUserRequest) DeepCopyInto(out *GetUserRequest)

DeepCopyInto supports using GetUserRequest within kubernetes types, where deepcopy-gen is used.

func (*GetUserRequest) Default

func (x *GetUserRequest) Default()

func (*GetUserRequest) Descriptor deprecated

func (*GetUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetUserID

func (x *GetUserRequest) GetUserID() string

func (*GetUserRequest) MarshalJSON

func (msg *GetUserRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

func (x *GetUserRequest) ProtoReflect() protoreflect.Message

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

func (*GetUserRequest) UnmarshalJSON

func (msg *GetUserRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetUserRequest) Validate

func (m *GetUserRequest) Validate() error

Validate checks the field values on GetUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUserRequest) ValidateAll

func (m *GetUserRequest) ValidateAll() error

ValidateAll checks the field values on GetUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserRequestMultiError, or nil if none found.

type GetUserRequestMultiError

type GetUserRequestMultiError []error

GetUserRequestMultiError is an error wrapping multiple validation errors returned by GetUserRequest.ValidateAll() if the designated constraints aren't met.

func (GetUserRequestMultiError) AllErrors

func (m GetUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserRequestMultiError) Error

func (m GetUserRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetUserRequestValidationError

type GetUserRequestValidationError struct {
	// contains filtered or unexported fields
}

GetUserRequestValidationError is the validation error returned by GetUserRequest.Validate if the designated constraints aren't met.

func (GetUserRequestValidationError) Cause

Cause function returns cause value.

func (GetUserRequestValidationError) Error

Error satisfies the builtin error interface

func (GetUserRequestValidationError) ErrorName

func (e GetUserRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetUserRequestValidationError) Field

Field function returns field value.

func (GetUserRequestValidationError) Key

Key function returns key value.

func (GetUserRequestValidationError) Reason

Reason function returns reason value.

type GetUserResponse

type GetUserResponse struct {

	// User is the retrieved user object.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

GetUserResponse represents the response message for a successful retrieval of a user.

func (*GetUserResponse) DeepCopy

func (in *GetUserResponse) DeepCopy() *GetUserResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetUserResponse. Required by controller-gen.

func (*GetUserResponse) DeepCopyInterface

func (in *GetUserResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetUserResponse. Required by controller-gen.

func (*GetUserResponse) DeepCopyInto

func (in *GetUserResponse) DeepCopyInto(out *GetUserResponse)

DeepCopyInto supports using GetUserResponse within kubernetes types, where deepcopy-gen is used.

func (*GetUserResponse) Default

func (x *GetUserResponse) Default()

func (*GetUserResponse) Descriptor deprecated

func (*GetUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetUser

func (x *GetUserResponse) GetUser() *User

func (*GetUserResponse) MarshalJSON

func (msg *GetUserResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetUserResponse) ProtoMessage

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) ProtoReflect

func (x *GetUserResponse) ProtoReflect() protoreflect.Message

func (*GetUserResponse) Reset

func (x *GetUserResponse) Reset()

func (*GetUserResponse) String

func (x *GetUserResponse) String() string

func (*GetUserResponse) UnmarshalJSON

func (msg *GetUserResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetUserResponse) Validate

func (m *GetUserResponse) Validate() error

Validate checks the field values on GetUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUserResponse) ValidateAll

func (m *GetUserResponse) ValidateAll() error

ValidateAll checks the field values on GetUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserResponseMultiError, or nil if none found.

type GetUserResponseMultiError

type GetUserResponseMultiError []error

GetUserResponseMultiError is an error wrapping multiple validation errors returned by GetUserResponse.ValidateAll() if the designated constraints aren't met.

func (GetUserResponseMultiError) AllErrors

func (m GetUserResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetUserResponseValidationError

type GetUserResponseValidationError struct {
	// contains filtered or unexported fields
}

GetUserResponseValidationError is the validation error returned by GetUserResponse.Validate if the designated constraints aren't met.

func (GetUserResponseValidationError) Cause

Cause function returns cause value.

func (GetUserResponseValidationError) Error

Error satisfies the builtin error interface

func (GetUserResponseValidationError) ErrorName

func (e GetUserResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetUserResponseValidationError) Field

Field function returns field value.

func (GetUserResponseValidationError) Key

Key function returns key value.

func (GetUserResponseValidationError) Reason

Reason function returns reason value.

type ListSecretRequest

type ListSecretRequest struct {

	// Offset is the starting point of the list for pagination.
	// @gotags: form:"offset"
	Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty" form:"offset"`
	// Limit is the maximum number of secrets to return.
	// @gotags: form:"limit"
	Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty" form:"limit"` // TODO: Add additional query fields if needed.
	// contains filtered or unexported fields
}

ListSecretRequest represents the request message for listing secrets with pagination and optional filters.

func (*ListSecretRequest) DeepCopy

func (in *ListSecretRequest) DeepCopy() *ListSecretRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListSecretRequest. Required by controller-gen.

func (*ListSecretRequest) DeepCopyInterface

func (in *ListSecretRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListSecretRequest. Required by controller-gen.

func (*ListSecretRequest) DeepCopyInto

func (in *ListSecretRequest) DeepCopyInto(out *ListSecretRequest)

DeepCopyInto supports using ListSecretRequest within kubernetes types, where deepcopy-gen is used.

func (*ListSecretRequest) Default

func (x *ListSecretRequest) Default()

func (*ListSecretRequest) Descriptor deprecated

func (*ListSecretRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSecretRequest.ProtoReflect.Descriptor instead.

func (*ListSecretRequest) GetLimit

func (x *ListSecretRequest) GetLimit() int64

func (*ListSecretRequest) GetOffset

func (x *ListSecretRequest) GetOffset() int64

func (*ListSecretRequest) MarshalJSON

func (msg *ListSecretRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListSecretRequest) ProtoMessage

func (*ListSecretRequest) ProtoMessage()

func (*ListSecretRequest) ProtoReflect

func (x *ListSecretRequest) ProtoReflect() protoreflect.Message

func (*ListSecretRequest) Reset

func (x *ListSecretRequest) Reset()

func (*ListSecretRequest) String

func (x *ListSecretRequest) String() string

func (*ListSecretRequest) UnmarshalJSON

func (msg *ListSecretRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListSecretRequest) Validate

func (m *ListSecretRequest) Validate() error

Validate checks the field values on ListSecretRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListSecretRequest) ValidateAll

func (m *ListSecretRequest) ValidateAll() error

ValidateAll checks the field values on ListSecretRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListSecretRequestMultiError, or nil if none found.

type ListSecretRequestMultiError

type ListSecretRequestMultiError []error

ListSecretRequestMultiError is an error wrapping multiple validation errors returned by ListSecretRequest.ValidateAll() if the designated constraints aren't met.

func (ListSecretRequestMultiError) AllErrors

func (m ListSecretRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListSecretRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListSecretRequestValidationError

type ListSecretRequestValidationError struct {
	// contains filtered or unexported fields
}

ListSecretRequestValidationError is the validation error returned by ListSecretRequest.Validate if the designated constraints aren't met.

func (ListSecretRequestValidationError) Cause

Cause function returns cause value.

func (ListSecretRequestValidationError) Error

Error satisfies the builtin error interface

func (ListSecretRequestValidationError) ErrorName

ErrorName returns error name.

func (ListSecretRequestValidationError) Field

Field function returns field value.

func (ListSecretRequestValidationError) Key

Key function returns key value.

func (ListSecretRequestValidationError) Reason

Reason function returns reason value.

type ListSecretResponse

type ListSecretResponse struct {

	// TotalCount is the total number of secrets matching the query.
	Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// Secret is the list of secrets in the current page.
	Secrets []*Secret `protobuf:"bytes,2,rep,name=secrets,proto3" json:"secrets,omitempty"`
	// contains filtered or unexported fields
}

ListSecretResponse represents the response message for listing secrets.

func (*ListSecretResponse) DeepCopy

func (in *ListSecretResponse) DeepCopy() *ListSecretResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListSecretResponse. Required by controller-gen.

func (*ListSecretResponse) DeepCopyInterface

func (in *ListSecretResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListSecretResponse. Required by controller-gen.

func (*ListSecretResponse) DeepCopyInto

func (in *ListSecretResponse) DeepCopyInto(out *ListSecretResponse)

DeepCopyInto supports using ListSecretResponse within kubernetes types, where deepcopy-gen is used.

func (*ListSecretResponse) Default

func (x *ListSecretResponse) Default()

func (*ListSecretResponse) Descriptor deprecated

func (*ListSecretResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSecretResponse.ProtoReflect.Descriptor instead.

func (*ListSecretResponse) GetSecrets

func (x *ListSecretResponse) GetSecrets() []*Secret

func (*ListSecretResponse) GetTotal

func (x *ListSecretResponse) GetTotal() int64

func (*ListSecretResponse) MarshalJSON

func (msg *ListSecretResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListSecretResponse) ProtoMessage

func (*ListSecretResponse) ProtoMessage()

func (*ListSecretResponse) ProtoReflect

func (x *ListSecretResponse) ProtoReflect() protoreflect.Message

func (*ListSecretResponse) Reset

func (x *ListSecretResponse) Reset()

func (*ListSecretResponse) String

func (x *ListSecretResponse) String() string

func (*ListSecretResponse) UnmarshalJSON

func (msg *ListSecretResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListSecretResponse) Validate

func (m *ListSecretResponse) Validate() error

Validate checks the field values on ListSecretResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListSecretResponse) ValidateAll

func (m *ListSecretResponse) ValidateAll() error

ValidateAll checks the field values on ListSecretResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListSecretResponseMultiError, or nil if none found.

type ListSecretResponseMultiError

type ListSecretResponseMultiError []error

ListSecretResponseMultiError is an error wrapping multiple validation errors returned by ListSecretResponse.ValidateAll() if the designated constraints aren't met.

func (ListSecretResponseMultiError) AllErrors

func (m ListSecretResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListSecretResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListSecretResponseValidationError

type ListSecretResponseValidationError struct {
	// contains filtered or unexported fields
}

ListSecretResponseValidationError is the validation error returned by ListSecretResponse.Validate if the designated constraints aren't met.

func (ListSecretResponseValidationError) Cause

Cause function returns cause value.

func (ListSecretResponseValidationError) Error

Error satisfies the builtin error interface

func (ListSecretResponseValidationError) ErrorName

ErrorName returns error name.

func (ListSecretResponseValidationError) Field

Field function returns field value.

func (ListSecretResponseValidationError) Key

Key function returns key value.

func (ListSecretResponseValidationError) Reason

Reason function returns reason value.

type ListUserRequest

type ListUserRequest struct {

	// Offset is the starting point of the list for pagination.
	// @gotags: form:"offset"
	Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty" form:"offset"`
	// Limit is the maximum number of users to return.
	// @gotags: form:"limit"
	Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty" form:"limit"`
	// contains filtered or unexported fields
}

ListUserRequest represents the request message for listing users with pagination and optional filters.

func (*ListUserRequest) DeepCopy

func (in *ListUserRequest) DeepCopy() *ListUserRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListUserRequest. Required by controller-gen.

func (*ListUserRequest) DeepCopyInterface

func (in *ListUserRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListUserRequest. Required by controller-gen.

func (*ListUserRequest) DeepCopyInto

func (in *ListUserRequest) DeepCopyInto(out *ListUserRequest)

DeepCopyInto supports using ListUserRequest within kubernetes types, where deepcopy-gen is used.

func (*ListUserRequest) Default

func (x *ListUserRequest) Default()

func (*ListUserRequest) Descriptor deprecated

func (*ListUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUserRequest.ProtoReflect.Descriptor instead.

func (*ListUserRequest) GetLimit

func (x *ListUserRequest) GetLimit() int64

func (*ListUserRequest) GetOffset

func (x *ListUserRequest) GetOffset() int64

func (*ListUserRequest) MarshalJSON

func (msg *ListUserRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListUserRequest) ProtoMessage

func (*ListUserRequest) ProtoMessage()

func (*ListUserRequest) ProtoReflect

func (x *ListUserRequest) ProtoReflect() protoreflect.Message

func (*ListUserRequest) Reset

func (x *ListUserRequest) Reset()

func (*ListUserRequest) String

func (x *ListUserRequest) String() string

func (*ListUserRequest) UnmarshalJSON

func (msg *ListUserRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListUserRequest) Validate

func (m *ListUserRequest) Validate() error

Validate checks the field values on ListUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUserRequest) ValidateAll

func (m *ListUserRequest) ValidateAll() error

ValidateAll checks the field values on ListUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserRequestMultiError, or nil if none found.

type ListUserRequestMultiError

type ListUserRequestMultiError []error

ListUserRequestMultiError is an error wrapping multiple validation errors returned by ListUserRequest.ValidateAll() if the designated constraints aren't met.

func (ListUserRequestMultiError) AllErrors

func (m ListUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListUserRequestValidationError

type ListUserRequestValidationError struct {
	// contains filtered or unexported fields
}

ListUserRequestValidationError is the validation error returned by ListUserRequest.Validate if the designated constraints aren't met.

func (ListUserRequestValidationError) Cause

Cause function returns cause value.

func (ListUserRequestValidationError) Error

Error satisfies the builtin error interface

func (ListUserRequestValidationError) ErrorName

func (e ListUserRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListUserRequestValidationError) Field

Field function returns field value.

func (ListUserRequestValidationError) Key

Key function returns key value.

func (ListUserRequestValidationError) Reason

Reason function returns reason value.

type ListUserResponse

type ListUserResponse struct {

	// TotalCount is the total number of users matching the query.
	Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// User is the list of users in the current page.
	Users []*User `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

ListUserResponse represents the response message for listing users.

func (*ListUserResponse) DeepCopy

func (in *ListUserResponse) DeepCopy() *ListUserResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListUserResponse. Required by controller-gen.

func (*ListUserResponse) DeepCopyInterface

func (in *ListUserResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListUserResponse. Required by controller-gen.

func (*ListUserResponse) DeepCopyInto

func (in *ListUserResponse) DeepCopyInto(out *ListUserResponse)

DeepCopyInto supports using ListUserResponse within kubernetes types, where deepcopy-gen is used.

func (*ListUserResponse) Default

func (x *ListUserResponse) Default()

func (*ListUserResponse) Descriptor deprecated

func (*ListUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListUserResponse.ProtoReflect.Descriptor instead.

func (*ListUserResponse) GetTotal

func (x *ListUserResponse) GetTotal() int64

func (*ListUserResponse) GetUsers

func (x *ListUserResponse) GetUsers() []*User

func (*ListUserResponse) MarshalJSON

func (msg *ListUserResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListUserResponse) ProtoMessage

func (*ListUserResponse) ProtoMessage()

func (*ListUserResponse) ProtoReflect

func (x *ListUserResponse) ProtoReflect() protoreflect.Message

func (*ListUserResponse) Reset

func (x *ListUserResponse) Reset()

func (*ListUserResponse) String

func (x *ListUserResponse) String() string

func (*ListUserResponse) UnmarshalJSON

func (msg *ListUserResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListUserResponse) Validate

func (m *ListUserResponse) Validate() error

Validate checks the field values on ListUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUserResponse) ValidateAll

func (m *ListUserResponse) ValidateAll() error

ValidateAll checks the field values on ListUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserResponseMultiError, or nil if none found.

type ListUserResponseMultiError

type ListUserResponseMultiError []error

ListUserResponseMultiError is an error wrapping multiple validation errors returned by ListUserResponse.ValidateAll() if the designated constraints aren't met.

func (ListUserResponseMultiError) AllErrors

func (m ListUserResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListUserResponseValidationError

type ListUserResponseValidationError struct {
	// contains filtered or unexported fields
}

ListUserResponseValidationError is the validation error returned by ListUserResponse.Validate if the designated constraints aren't met.

func (ListUserResponseValidationError) Cause

Cause function returns cause value.

func (ListUserResponseValidationError) Error

Error satisfies the builtin error interface

func (ListUserResponseValidationError) ErrorName

ErrorName returns error name.

func (ListUserResponseValidationError) Field

Field function returns field value.

func (ListUserResponseValidationError) Key

Key function returns key value.

func (ListUserResponseValidationError) Reason

Reason function returns reason value.

type LoginReply

type LoginReply struct {
	RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	AccessToken  string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	Type         string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	ExpiresAt    int64  `protobuf:"varint,4,opt,name=expiresAt,proto3" json:"expiresAt,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginReply) DeepCopy

func (in *LoginReply) DeepCopy() *LoginReply

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoginReply. Required by controller-gen.

func (*LoginReply) DeepCopyInterface

func (in *LoginReply) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoginReply. Required by controller-gen.

func (*LoginReply) DeepCopyInto

func (in *LoginReply) DeepCopyInto(out *LoginReply)

DeepCopyInto supports using LoginReply within kubernetes types, where deepcopy-gen is used.

func (*LoginReply) Default

func (x *LoginReply) Default()

func (*LoginReply) Descriptor deprecated

func (*LoginReply) Descriptor() ([]byte, []int)

Deprecated: Use LoginReply.ProtoReflect.Descriptor instead.

func (*LoginReply) GetAccessToken

func (x *LoginReply) GetAccessToken() string

func (*LoginReply) GetExpiresAt

func (x *LoginReply) GetExpiresAt() int64

func (*LoginReply) GetRefreshToken

func (x *LoginReply) GetRefreshToken() string

func (*LoginReply) GetType

func (x *LoginReply) GetType() string

func (*LoginReply) MarshalJSON

func (msg *LoginReply) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoginReply) ProtoMessage

func (*LoginReply) ProtoMessage()

func (*LoginReply) ProtoReflect

func (x *LoginReply) ProtoReflect() protoreflect.Message

func (*LoginReply) Reset

func (x *LoginReply) Reset()

func (*LoginReply) String

func (x *LoginReply) String() string

func (*LoginReply) UnmarshalJSON

func (msg *LoginReply) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoginReply) Validate

func (m *LoginReply) Validate() error

Validate checks the field values on LoginReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoginReply) ValidateAll

func (m *LoginReply) ValidateAll() error

ValidateAll checks the field values on LoginReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginReplyMultiError, or nil if none found.

type LoginReplyMultiError

type LoginReplyMultiError []error

LoginReplyMultiError is an error wrapping multiple validation errors returned by LoginReply.ValidateAll() if the designated constraints aren't met.

func (LoginReplyMultiError) AllErrors

func (m LoginReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoginReplyMultiError) Error

func (m LoginReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LoginReplyValidationError

type LoginReplyValidationError struct {
	// contains filtered or unexported fields
}

LoginReplyValidationError is the validation error returned by LoginReply.Validate if the designated constraints aren't met.

func (LoginReplyValidationError) Cause

func (e LoginReplyValidationError) Cause() error

Cause function returns cause value.

func (LoginReplyValidationError) Error

Error satisfies the builtin error interface

func (LoginReplyValidationError) ErrorName

func (e LoginReplyValidationError) ErrorName() string

ErrorName returns error name.

func (LoginReplyValidationError) Field

Field function returns field value.

func (LoginReplyValidationError) Key

Key function returns key value.

func (LoginReplyValidationError) Reason

func (e LoginReplyValidationError) Reason() string

Reason function returns reason value.

type LoginRequest

type LoginRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) DeepCopy

func (in *LoginRequest) DeepCopy() *LoginRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoginRequest. Required by controller-gen.

func (*LoginRequest) DeepCopyInterface

func (in *LoginRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoginRequest. Required by controller-gen.

func (*LoginRequest) DeepCopyInto

func (in *LoginRequest) DeepCopyInto(out *LoginRequest)

DeepCopyInto supports using LoginRequest within kubernetes types, where deepcopy-gen is used.

func (*LoginRequest) Default

func (x *LoginRequest) Default()

func (*LoginRequest) Descriptor deprecated

func (*LoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) GetUsername

func (x *LoginRequest) GetUsername() string

func (*LoginRequest) MarshalJSON

func (msg *LoginRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

func (x *LoginRequest) ProtoReflect() protoreflect.Message

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

func (*LoginRequest) UnmarshalJSON

func (msg *LoginRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LoginRequest) Validate

func (m *LoginRequest) Validate() error

Validate checks the field values on LoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoginRequest) ValidateAll

func (m *LoginRequest) ValidateAll() error

ValidateAll checks the field values on LoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginRequestMultiError, or nil if none found.

type LoginRequestMultiError

type LoginRequestMultiError []error

LoginRequestMultiError is an error wrapping multiple validation errors returned by LoginRequest.ValidateAll() if the designated constraints aren't met.

func (LoginRequestMultiError) AllErrors

func (m LoginRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoginRequestMultiError) Error

func (m LoginRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LoginRequestValidationError

type LoginRequestValidationError struct {
	// contains filtered or unexported fields
}

LoginRequestValidationError is the validation error returned by LoginRequest.Validate if the designated constraints aren't met.

func (LoginRequestValidationError) Cause

Cause function returns cause value.

func (LoginRequestValidationError) Error

Error satisfies the builtin error interface

func (LoginRequestValidationError) ErrorName

func (e LoginRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LoginRequestValidationError) Field

Field function returns field value.

func (LoginRequestValidationError) Key

Key function returns key value.

func (LoginRequestValidationError) Reason

Reason function returns reason value.

type LogoutRequest

type LogoutRequest struct {
	// contains filtered or unexported fields
}

func (*LogoutRequest) DeepCopy

func (in *LogoutRequest) DeepCopy() *LogoutRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogoutRequest. Required by controller-gen.

func (*LogoutRequest) DeepCopyInterface

func (in *LogoutRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LogoutRequest. Required by controller-gen.

func (*LogoutRequest) DeepCopyInto

func (in *LogoutRequest) DeepCopyInto(out *LogoutRequest)

DeepCopyInto supports using LogoutRequest within kubernetes types, where deepcopy-gen is used.

func (*LogoutRequest) Default

func (x *LogoutRequest) Default()

func (*LogoutRequest) Descriptor deprecated

func (*LogoutRequest) Descriptor() ([]byte, []int)

Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.

func (*LogoutRequest) MarshalJSON

func (msg *LogoutRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LogoutRequest) ProtoMessage

func (*LogoutRequest) ProtoMessage()

func (*LogoutRequest) ProtoReflect

func (x *LogoutRequest) ProtoReflect() protoreflect.Message

func (*LogoutRequest) Reset

func (x *LogoutRequest) Reset()

func (*LogoutRequest) String

func (x *LogoutRequest) String() string

func (*LogoutRequest) UnmarshalJSON

func (msg *LogoutRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LogoutRequest) Validate

func (m *LogoutRequest) Validate() error

Validate checks the field values on LogoutRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LogoutRequest) ValidateAll

func (m *LogoutRequest) ValidateAll() error

ValidateAll checks the field values on LogoutRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LogoutRequestMultiError, or nil if none found.

type LogoutRequestMultiError

type LogoutRequestMultiError []error

LogoutRequestMultiError is an error wrapping multiple validation errors returned by LogoutRequest.ValidateAll() if the designated constraints aren't met.

func (LogoutRequestMultiError) AllErrors

func (m LogoutRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LogoutRequestMultiError) Error

func (m LogoutRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LogoutRequestValidationError

type LogoutRequestValidationError struct {
	// contains filtered or unexported fields
}

LogoutRequestValidationError is the validation error returned by LogoutRequest.Validate if the designated constraints aren't met.

func (LogoutRequestValidationError) Cause

Cause function returns cause value.

func (LogoutRequestValidationError) Error

Error satisfies the builtin error interface

func (LogoutRequestValidationError) ErrorName

func (e LogoutRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LogoutRequestValidationError) Field

Field function returns field value.

func (LogoutRequestValidationError) Key

Key function returns key value.

func (LogoutRequestValidationError) Reason

Reason function returns reason value.

type LogoutResponse

type LogoutResponse struct {
	// contains filtered or unexported fields
}

func (*LogoutResponse) DeepCopy

func (in *LogoutResponse) DeepCopy() *LogoutResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogoutResponse. Required by controller-gen.

func (*LogoutResponse) DeepCopyInterface

func (in *LogoutResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LogoutResponse. Required by controller-gen.

func (*LogoutResponse) DeepCopyInto

func (in *LogoutResponse) DeepCopyInto(out *LogoutResponse)

DeepCopyInto supports using LogoutResponse within kubernetes types, where deepcopy-gen is used.

func (*LogoutResponse) Default

func (x *LogoutResponse) Default()

func (*LogoutResponse) Descriptor deprecated

func (*LogoutResponse) Descriptor() ([]byte, []int)

Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.

func (*LogoutResponse) MarshalJSON

func (msg *LogoutResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*LogoutResponse) ProtoMessage

func (*LogoutResponse) ProtoMessage()

func (*LogoutResponse) ProtoReflect

func (x *LogoutResponse) ProtoReflect() protoreflect.Message

func (*LogoutResponse) Reset

func (x *LogoutResponse) Reset()

func (*LogoutResponse) String

func (x *LogoutResponse) String() string

func (*LogoutResponse) UnmarshalJSON

func (msg *LogoutResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*LogoutResponse) Validate

func (m *LogoutResponse) Validate() error

Validate checks the field values on LogoutResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LogoutResponse) ValidateAll

func (m *LogoutResponse) ValidateAll() error

ValidateAll checks the field values on LogoutResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LogoutResponseMultiError, or nil if none found.

type LogoutResponseMultiError

type LogoutResponseMultiError []error

LogoutResponseMultiError is an error wrapping multiple validation errors returned by LogoutResponse.ValidateAll() if the designated constraints aren't met.

func (LogoutResponseMultiError) AllErrors

func (m LogoutResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LogoutResponseMultiError) Error

func (m LogoutResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LogoutResponseValidationError

type LogoutResponseValidationError struct {
	// contains filtered or unexported fields
}

LogoutResponseValidationError is the validation error returned by LogoutResponse.Validate if the designated constraints aren't met.

func (LogoutResponseValidationError) Cause

Cause function returns cause value.

func (LogoutResponseValidationError) Error

Error satisfies the builtin error interface

func (LogoutResponseValidationError) ErrorName

func (e LogoutResponseValidationError) ErrorName() string

ErrorName returns error name.

func (LogoutResponseValidationError) Field

Field function returns field value.

func (LogoutResponseValidationError) Key

Key function returns key value.

func (LogoutResponseValidationError) Reason

Reason function returns reason value.

type RefreshTokenRequest

type RefreshTokenRequest struct {
	// contains filtered or unexported fields
}

func (*RefreshTokenRequest) DeepCopy

func (in *RefreshTokenRequest) DeepCopy() *RefreshTokenRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RefreshTokenRequest. Required by controller-gen.

func (*RefreshTokenRequest) DeepCopyInterface

func (in *RefreshTokenRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RefreshTokenRequest. Required by controller-gen.

func (*RefreshTokenRequest) DeepCopyInto

func (in *RefreshTokenRequest) DeepCopyInto(out *RefreshTokenRequest)

DeepCopyInto supports using RefreshTokenRequest within kubernetes types, where deepcopy-gen is used.

func (*RefreshTokenRequest) Default

func (x *RefreshTokenRequest) Default()

func (*RefreshTokenRequest) Descriptor deprecated

func (*RefreshTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.

func (*RefreshTokenRequest) MarshalJSON

func (msg *RefreshTokenRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*RefreshTokenRequest) ProtoMessage

func (*RefreshTokenRequest) ProtoMessage()

func (*RefreshTokenRequest) ProtoReflect

func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message

func (*RefreshTokenRequest) Reset

func (x *RefreshTokenRequest) Reset()

func (*RefreshTokenRequest) String

func (x *RefreshTokenRequest) String() string

func (*RefreshTokenRequest) UnmarshalJSON

func (msg *RefreshTokenRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*RefreshTokenRequest) Validate

func (m *RefreshTokenRequest) Validate() error

Validate checks the field values on RefreshTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RefreshTokenRequest) ValidateAll

func (m *RefreshTokenRequest) ValidateAll() error

ValidateAll checks the field values on RefreshTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RefreshTokenRequestMultiError, or nil if none found.

type RefreshTokenRequestMultiError

type RefreshTokenRequestMultiError []error

RefreshTokenRequestMultiError is an error wrapping multiple validation errors returned by RefreshTokenRequest.ValidateAll() if the designated constraints aren't met.

func (RefreshTokenRequestMultiError) AllErrors

func (m RefreshTokenRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RefreshTokenRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RefreshTokenRequestValidationError

type RefreshTokenRequestValidationError struct {
	// contains filtered or unexported fields
}

RefreshTokenRequestValidationError is the validation error returned by RefreshTokenRequest.Validate if the designated constraints aren't met.

func (RefreshTokenRequestValidationError) Cause

Cause function returns cause value.

func (RefreshTokenRequestValidationError) Error

Error satisfies the builtin error interface

func (RefreshTokenRequestValidationError) ErrorName

ErrorName returns error name.

func (RefreshTokenRequestValidationError) Field

Field function returns field value.

func (RefreshTokenRequestValidationError) Key

Key function returns key value.

func (RefreshTokenRequestValidationError) Reason

Reason function returns reason value.

type Secret

type Secret struct {
	UserID      string                 `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Name        string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	SecretID    string                 `protobuf:"bytes,3,opt,name=secretID,proto3" json:"secretID,omitempty"`
	SecretKey   string                 `protobuf:"bytes,4,opt,name=secretKey,proto3" json:"secretKey,omitempty"`
	Expires     int64                  `protobuf:"varint,5,opt,name=expires,proto3" json:"expires,omitempty"`
	Status      int32                  `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
	Description string                 `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

Secret represents a secret with its metadata.

func (*Secret) DeepCopy

func (in *Secret) DeepCopy() *Secret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret. Required by controller-gen.

func (*Secret) DeepCopyInterface

func (in *Secret) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Secret. Required by controller-gen.

func (*Secret) DeepCopyInto

func (in *Secret) DeepCopyInto(out *Secret)

DeepCopyInto supports using Secret within kubernetes types, where deepcopy-gen is used.

func (*Secret) Default

func (x *Secret) Default()

func (*Secret) Descriptor deprecated

func (*Secret) Descriptor() ([]byte, []int)

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetCreatedAt

func (x *Secret) GetCreatedAt() *timestamppb.Timestamp

func (*Secret) GetDescription

func (x *Secret) GetDescription() string

func (*Secret) GetExpires

func (x *Secret) GetExpires() int64

func (*Secret) GetName

func (x *Secret) GetName() string

func (*Secret) GetSecretID

func (x *Secret) GetSecretID() string

func (*Secret) GetSecretKey

func (x *Secret) GetSecretKey() string

func (*Secret) GetStatus

func (x *Secret) GetStatus() int32

func (*Secret) GetUpdatedAt

func (x *Secret) GetUpdatedAt() *timestamppb.Timestamp

func (*Secret) GetUserID

func (x *Secret) GetUserID() string

func (*Secret) MarshalJSON

func (msg *Secret) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Secret) ProtoMessage

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect

func (x *Secret) ProtoReflect() protoreflect.Message

func (*Secret) Reset

func (x *Secret) Reset()

func (*Secret) String

func (x *Secret) String() string

func (*Secret) UnmarshalJSON

func (msg *Secret) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Secret) Validate

func (m *Secret) Validate() error

Validate checks the field values on Secret with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Secret) ValidateAll

func (m *Secret) ValidateAll() error

ValidateAll checks the field values on Secret with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SecretMultiError, or nil if none found.

type SecretMultiError

type SecretMultiError []error

SecretMultiError is an error wrapping multiple validation errors returned by Secret.ValidateAll() if the designated constraints aren't met.

func (SecretMultiError) AllErrors

func (m SecretMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SecretMultiError) Error

func (m SecretMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SecretValidationError

type SecretValidationError struct {
	// contains filtered or unexported fields
}

SecretValidationError is the validation error returned by Secret.Validate if the designated constraints aren't met.

func (SecretValidationError) Cause

func (e SecretValidationError) Cause() error

Cause function returns cause value.

func (SecretValidationError) Error

func (e SecretValidationError) Error() string

Error satisfies the builtin error interface

func (SecretValidationError) ErrorName

func (e SecretValidationError) ErrorName() string

ErrorName returns error name.

func (SecretValidationError) Field

func (e SecretValidationError) Field() string

Field function returns field value.

func (SecretValidationError) Key

func (e SecretValidationError) Key() bool

Key function returns key value.

func (SecretValidationError) Reason

func (e SecretValidationError) Reason() string

Reason function returns reason value.

type UnimplementedUserCenterServer

type UnimplementedUserCenterServer struct{}

UnimplementedUserCenterServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedUserCenterServer) Auth

func (UnimplementedUserCenterServer) Authenticate

func (UnimplementedUserCenterServer) Authorize

func (UnimplementedUserCenterServer) CreateSecret

func (UnimplementedUserCenterServer) CreateUser

func (UnimplementedUserCenterServer) DeleteSecret

func (UnimplementedUserCenterServer) DeleteUser

func (UnimplementedUserCenterServer) GetSecret

func (UnimplementedUserCenterServer) GetUser

func (UnimplementedUserCenterServer) ListSecret

func (UnimplementedUserCenterServer) ListUser

func (UnimplementedUserCenterServer) Login

func (UnimplementedUserCenterServer) Logout

func (UnimplementedUserCenterServer) RefreshToken

func (UnimplementedUserCenterServer) UpdatePassword

func (UnimplementedUserCenterServer) UpdateSecret

func (UnimplementedUserCenterServer) UpdateUser

type UnsafeUserCenterServer

type UnsafeUserCenterServer interface {
	// contains filtered or unexported methods
}

UnsafeUserCenterServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserCenterServer will result in compilation errors.

type UpdatePasswordRequest

type UpdatePasswordRequest struct {
	UserID      string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Username    string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	OldPassword string `protobuf:"bytes,3,opt,name=oldPassword,proto3" json:"oldPassword,omitempty"`
	NewPassword string `protobuf:"bytes,4,opt,name=newPassword,proto3" json:"newPassword,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePasswordRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdatePasswordRequest. Required by controller-gen.

func (*UpdatePasswordRequest) DeepCopyInterface

func (in *UpdatePasswordRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UpdatePasswordRequest. Required by controller-gen.

func (*UpdatePasswordRequest) DeepCopyInto

func (in *UpdatePasswordRequest) DeepCopyInto(out *UpdatePasswordRequest)

DeepCopyInto supports using UpdatePasswordRequest within kubernetes types, where deepcopy-gen is used.

func (*UpdatePasswordRequest) Default

func (x *UpdatePasswordRequest) Default()

func (*UpdatePasswordRequest) Descriptor deprecated

func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePasswordRequest.ProtoReflect.Descriptor instead.

func (*UpdatePasswordRequest) GetNewPassword

func (x *UpdatePasswordRequest) GetNewPassword() string

func (*UpdatePasswordRequest) GetOldPassword

func (x *UpdatePasswordRequest) GetOldPassword() string

func (*UpdatePasswordRequest) GetUserID

func (x *UpdatePasswordRequest) GetUserID() string

func (*UpdatePasswordRequest) GetUsername

func (x *UpdatePasswordRequest) GetUsername() string

func (*UpdatePasswordRequest) MarshalJSON

func (msg *UpdatePasswordRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UpdatePasswordRequest) ProtoMessage

func (*UpdatePasswordRequest) ProtoMessage()

func (*UpdatePasswordRequest) ProtoReflect

func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message

func (*UpdatePasswordRequest) Reset

func (x *UpdatePasswordRequest) Reset()

func (*UpdatePasswordRequest) String

func (x *UpdatePasswordRequest) String() string

func (*UpdatePasswordRequest) UnmarshalJSON

func (msg *UpdatePasswordRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UpdatePasswordRequest) Validate

func (m *UpdatePasswordRequest) Validate() error

Validate checks the field values on UpdatePasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdatePasswordRequest) ValidateAll

func (m *UpdatePasswordRequest) ValidateAll() error

ValidateAll checks the field values on UpdatePasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdatePasswordRequestMultiError, or nil if none found.

type UpdatePasswordRequestMultiError

type UpdatePasswordRequestMultiError []error

UpdatePasswordRequestMultiError is an error wrapping multiple validation errors returned by UpdatePasswordRequest.ValidateAll() if the designated constraints aren't met.

func (UpdatePasswordRequestMultiError) AllErrors

func (m UpdatePasswordRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdatePasswordRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdatePasswordRequestValidationError

type UpdatePasswordRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdatePasswordRequestValidationError is the validation error returned by UpdatePasswordRequest.Validate if the designated constraints aren't met.

func (UpdatePasswordRequestValidationError) Cause

Cause function returns cause value.

func (UpdatePasswordRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdatePasswordRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdatePasswordRequestValidationError) Field

Field function returns field value.

func (UpdatePasswordRequestValidationError) Key

Key function returns key value.

func (UpdatePasswordRequestValidationError) Reason

Reason function returns reason value.

type UpdatePasswordResponse

type UpdatePasswordResponse struct {
	// contains filtered or unexported fields
}

func (*UpdatePasswordResponse) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdatePasswordResponse. Required by controller-gen.

func (*UpdatePasswordResponse) DeepCopyInterface

func (in *UpdatePasswordResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UpdatePasswordResponse. Required by controller-gen.

func (*UpdatePasswordResponse) DeepCopyInto

func (in *UpdatePasswordResponse) DeepCopyInto(out *UpdatePasswordResponse)

DeepCopyInto supports using UpdatePasswordResponse within kubernetes types, where deepcopy-gen is used.

func (*UpdatePasswordResponse) Default

func (x *UpdatePasswordResponse) Default()

func (*UpdatePasswordResponse) Descriptor deprecated

func (*UpdatePasswordResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePasswordResponse.ProtoReflect.Descriptor instead.

func (*UpdatePasswordResponse) MarshalJSON

func (msg *UpdatePasswordResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UpdatePasswordResponse) ProtoMessage

func (*UpdatePasswordResponse) ProtoMessage()

func (*UpdatePasswordResponse) ProtoReflect

func (x *UpdatePasswordResponse) ProtoReflect() protoreflect.Message

func (*UpdatePasswordResponse) Reset

func (x *UpdatePasswordResponse) Reset()

func (*UpdatePasswordResponse) String

func (x *UpdatePasswordResponse) String() string

func (*UpdatePasswordResponse) UnmarshalJSON

func (msg *UpdatePasswordResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UpdatePasswordResponse) Validate

func (m *UpdatePasswordResponse) Validate() error

Validate checks the field values on UpdatePasswordResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdatePasswordResponse) ValidateAll

func (m *UpdatePasswordResponse) ValidateAll() error

ValidateAll checks the field values on UpdatePasswordResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdatePasswordResponseMultiError, or nil if none found.

type UpdatePasswordResponseMultiError

type UpdatePasswordResponseMultiError []error

UpdatePasswordResponseMultiError is an error wrapping multiple validation errors returned by UpdatePasswordResponse.ValidateAll() if the designated constraints aren't met.

func (UpdatePasswordResponseMultiError) AllErrors

func (m UpdatePasswordResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdatePasswordResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdatePasswordResponseValidationError

type UpdatePasswordResponseValidationError struct {
	// contains filtered or unexported fields
}

UpdatePasswordResponseValidationError is the validation error returned by UpdatePasswordResponse.Validate if the designated constraints aren't met.

func (UpdatePasswordResponseValidationError) Cause

Cause function returns cause value.

func (UpdatePasswordResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdatePasswordResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdatePasswordResponseValidationError) Field

Field function returns field value.

func (UpdatePasswordResponseValidationError) Key

Key function returns key value.

func (UpdatePasswordResponseValidationError) Reason

Reason function returns reason value.

type UpdateSecretRequest

type UpdateSecretRequest struct {

	// @gotags: uri:"name"
	Name        string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" uri:"name"`
	Expires     *int64  `protobuf:"varint,2,opt,name=expires,proto3,oneof" json:"expires,omitempty"`
	Status      *int32  `protobuf:"varint,3,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

UpdateSecretRequest represents the request message for updating an existing secret.

func (*UpdateSecretRequest) DeepCopy

func (in *UpdateSecretRequest) DeepCopy() *UpdateSecretRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateSecretRequest. Required by controller-gen.

func (*UpdateSecretRequest) DeepCopyInterface

func (in *UpdateSecretRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UpdateSecretRequest. Required by controller-gen.

func (*UpdateSecretRequest) DeepCopyInto

func (in *UpdateSecretRequest) DeepCopyInto(out *UpdateSecretRequest)

DeepCopyInto supports using UpdateSecretRequest within kubernetes types, where deepcopy-gen is used.

func (*UpdateSecretRequest) Default

func (x *UpdateSecretRequest) Default()

func (*UpdateSecretRequest) Descriptor deprecated

func (*UpdateSecretRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSecretRequest.ProtoReflect.Descriptor instead.

func (*UpdateSecretRequest) GetDescription

func (x *UpdateSecretRequest) GetDescription() string

func (*UpdateSecretRequest) GetExpires

func (x *UpdateSecretRequest) GetExpires() int64

func (*UpdateSecretRequest) GetName

func (x *UpdateSecretRequest) GetName() string

func (*UpdateSecretRequest) GetStatus

func (x *UpdateSecretRequest) GetStatus() int32

func (*UpdateSecretRequest) MarshalJSON

func (msg *UpdateSecretRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UpdateSecretRequest) ProtoMessage

func (*UpdateSecretRequest) ProtoMessage()

func (*UpdateSecretRequest) ProtoReflect

func (x *UpdateSecretRequest) ProtoReflect() protoreflect.Message

func (*UpdateSecretRequest) Reset

func (x *UpdateSecretRequest) Reset()

func (*UpdateSecretRequest) String

func (x *UpdateSecretRequest) String() string

func (*UpdateSecretRequest) UnmarshalJSON

func (msg *UpdateSecretRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UpdateSecretRequest) Validate

func (m *UpdateSecretRequest) Validate() error

Validate checks the field values on UpdateSecretRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateSecretRequest) ValidateAll

func (m *UpdateSecretRequest) ValidateAll() error

ValidateAll checks the field values on UpdateSecretRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateSecretRequestMultiError, or nil if none found.

type UpdateSecretRequestMultiError

type UpdateSecretRequestMultiError []error

UpdateSecretRequestMultiError is an error wrapping multiple validation errors returned by UpdateSecretRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateSecretRequestMultiError) AllErrors

func (m UpdateSecretRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateSecretRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateSecretRequestValidationError

type UpdateSecretRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateSecretRequestValidationError is the validation error returned by UpdateSecretRequest.Validate if the designated constraints aren't met.

func (UpdateSecretRequestValidationError) Cause

Cause function returns cause value.

func (UpdateSecretRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateSecretRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateSecretRequestValidationError) Field

Field function returns field value.

func (UpdateSecretRequestValidationError) Key

Key function returns key value.

func (UpdateSecretRequestValidationError) Reason

Reason function returns reason value.

type UpdateSecretResponse

type UpdateSecretResponse struct {
	// contains filtered or unexported fields
}

UpdateSecretResponse represents the response message for a successful secret update.

func (*UpdateSecretResponse) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateSecretResponse. Required by controller-gen.

func (*UpdateSecretResponse) DeepCopyInterface

func (in *UpdateSecretResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UpdateSecretResponse. Required by controller-gen.

func (*UpdateSecretResponse) DeepCopyInto

func (in *UpdateSecretResponse) DeepCopyInto(out *UpdateSecretResponse)

DeepCopyInto supports using UpdateSecretResponse within kubernetes types, where deepcopy-gen is used.

func (*UpdateSecretResponse) Default

func (x *UpdateSecretResponse) Default()

func (*UpdateSecretResponse) Descriptor deprecated

func (*UpdateSecretResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSecretResponse.ProtoReflect.Descriptor instead.

func (*UpdateSecretResponse) MarshalJSON

func (msg *UpdateSecretResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UpdateSecretResponse) ProtoMessage

func (*UpdateSecretResponse) ProtoMessage()

func (*UpdateSecretResponse) ProtoReflect

func (x *UpdateSecretResponse) ProtoReflect() protoreflect.Message

func (*UpdateSecretResponse) Reset

func (x *UpdateSecretResponse) Reset()

func (*UpdateSecretResponse) String

func (x *UpdateSecretResponse) String() string

func (*UpdateSecretResponse) UnmarshalJSON

func (msg *UpdateSecretResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UpdateSecretResponse) Validate

func (m *UpdateSecretResponse) Validate() error

Validate checks the field values on UpdateSecretResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateSecretResponse) ValidateAll

func (m *UpdateSecretResponse) ValidateAll() error

ValidateAll checks the field values on UpdateSecretResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateSecretResponseMultiError, or nil if none found.

type UpdateSecretResponseMultiError

type UpdateSecretResponseMultiError []error

UpdateSecretResponseMultiError is an error wrapping multiple validation errors returned by UpdateSecretResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateSecretResponseMultiError) AllErrors

func (m UpdateSecretResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateSecretResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateSecretResponseValidationError

type UpdateSecretResponseValidationError struct {
	// contains filtered or unexported fields
}

UpdateSecretResponseValidationError is the validation error returned by UpdateSecretResponse.Validate if the designated constraints aren't met.

func (UpdateSecretResponseValidationError) Cause

Cause function returns cause value.

func (UpdateSecretResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateSecretResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateSecretResponseValidationError) Field

Field function returns field value.

func (UpdateSecretResponseValidationError) Key

Key function returns key value.

func (UpdateSecretResponseValidationError) Reason

Reason function returns reason value.

type UpdateUserRequest

type UpdateUserRequest struct {
	UserID   string  `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Username *string `protobuf:"bytes,2,opt,name=username,proto3,oneof" json:"username,omitempty"` // 一年只能修改一次
	Nickname *string `protobuf:"bytes,3,opt,name=nickname,proto3,oneof" json:"nickname,omitempty"`
	Email    *string `protobuf:"bytes,4,opt,name=email,proto3,oneof" json:"email,omitempty"`
	Phone    *string `protobuf:"bytes,5,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	// contains filtered or unexported fields
}

UpdateUserRequest represents the request message for updating an existing user.

func (*UpdateUserRequest) DeepCopy

func (in *UpdateUserRequest) DeepCopy() *UpdateUserRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateUserRequest. Required by controller-gen.

func (*UpdateUserRequest) DeepCopyInterface

func (in *UpdateUserRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UpdateUserRequest. Required by controller-gen.

func (*UpdateUserRequest) DeepCopyInto

func (in *UpdateUserRequest) DeepCopyInto(out *UpdateUserRequest)

DeepCopyInto supports using UpdateUserRequest within kubernetes types, where deepcopy-gen is used.

func (*UpdateUserRequest) Default

func (x *UpdateUserRequest) Default()

func (*UpdateUserRequest) Descriptor deprecated

func (*UpdateUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetEmail

func (x *UpdateUserRequest) GetEmail() string

func (*UpdateUserRequest) GetNickname

func (x *UpdateUserRequest) GetNickname() string

func (*UpdateUserRequest) GetPhone

func (x *UpdateUserRequest) GetPhone() string

func (*UpdateUserRequest) GetUserID

func (x *UpdateUserRequest) GetUserID() string

func (*UpdateUserRequest) GetUsername

func (x *UpdateUserRequest) GetUsername() string

func (*UpdateUserRequest) MarshalJSON

func (msg *UpdateUserRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

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

func (*UpdateUserRequest) UnmarshalJSON

func (msg *UpdateUserRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UpdateUserRequest) Validate

func (m *UpdateUserRequest) Validate() error

Validate checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateUserRequest) ValidateAll

func (m *UpdateUserRequest) ValidateAll() error

ValidateAll checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserRequestMultiError, or nil if none found.

type UpdateUserRequestMultiError

type UpdateUserRequestMultiError []error

UpdateUserRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateUserRequestMultiError) AllErrors

func (m UpdateUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateUserRequestValidationError

type UpdateUserRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateUserRequestValidationError is the validation error returned by UpdateUserRequest.Validate if the designated constraints aren't met.

func (UpdateUserRequestValidationError) Cause

Cause function returns cause value.

func (UpdateUserRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserRequestValidationError) Field

Field function returns field value.

func (UpdateUserRequestValidationError) Key

Key function returns key value.

func (UpdateUserRequestValidationError) Reason

Reason function returns reason value.

type UpdateUserResponse

type UpdateUserResponse struct {
	// contains filtered or unexported fields
}

UpdateUserResponse represents the response message for a successful user update.

func (*UpdateUserResponse) DeepCopy

func (in *UpdateUserResponse) DeepCopy() *UpdateUserResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateUserResponse. Required by controller-gen.

func (*UpdateUserResponse) DeepCopyInterface

func (in *UpdateUserResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UpdateUserResponse. Required by controller-gen.

func (*UpdateUserResponse) DeepCopyInto

func (in *UpdateUserResponse) DeepCopyInto(out *UpdateUserResponse)

DeepCopyInto supports using UpdateUserResponse within kubernetes types, where deepcopy-gen is used.

func (*UpdateUserResponse) Default

func (x *UpdateUserResponse) Default()

func (*UpdateUserResponse) Descriptor deprecated

func (*UpdateUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserResponse) MarshalJSON

func (msg *UpdateUserResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

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

func (*UpdateUserResponse) UnmarshalJSON

func (msg *UpdateUserResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UpdateUserResponse) Validate

func (m *UpdateUserResponse) Validate() error

Validate checks the field values on UpdateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateUserResponse) ValidateAll

func (m *UpdateUserResponse) ValidateAll() error

ValidateAll checks the field values on UpdateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserResponseMultiError, or nil if none found.

type UpdateUserResponseMultiError

type UpdateUserResponseMultiError []error

UpdateUserResponseMultiError is an error wrapping multiple validation errors returned by UpdateUserResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateUserResponseMultiError) AllErrors

func (m UpdateUserResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateUserResponseValidationError

type UpdateUserResponseValidationError struct {
	// contains filtered or unexported fields
}

UpdateUserResponseValidationError is the validation error returned by UpdateUserResponse.Validate if the designated constraints aren't met.

func (UpdateUserResponseValidationError) Cause

Cause function returns cause value.

func (UpdateUserResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserResponseValidationError) Field

Field function returns field value.

func (UpdateUserResponseValidationError) Key

Key function returns key value.

func (UpdateUserResponseValidationError) Reason

Reason function returns reason value.

type User

type User struct {
	UserID    string                 `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Username  string                 `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Nickname  string                 `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Password  string                 `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	Email     string                 `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Phone     string                 `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"`
	Secrets   int64                  `protobuf:"varint,7,opt,name=secrets,proto3" json:"secrets,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

User represents a user with its metadata.

func (*User) DeepCopy

func (in *User) DeepCopy() *User

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User. Required by controller-gen.

func (*User) DeepCopyInterface

func (in *User) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new User. Required by controller-gen.

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

DeepCopyInto supports using User within kubernetes types, where deepcopy-gen is used.

func (*User) Default

func (x *User) Default()

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() *timestamppb.Timestamp

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetNickname

func (x *User) GetNickname() string

func (*User) GetPassword

func (x *User) GetPassword() string

func (*User) GetPhone

func (x *User) GetPhone() string

func (*User) GetSecrets

func (x *User) GetSecrets() int64

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() *timestamppb.Timestamp

func (*User) GetUserID

func (x *User) GetUserID() string

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) MarshalJSON

func (msg *User) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) UnmarshalJSON

func (msg *User) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*User) Validate

func (m *User) Validate() error

Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*User) ValidateAll

func (m *User) ValidateAll() error

ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.

type UserCenterClient

type UserCenterClient interface {
	// Login
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginReply, error)
	// Logout
	Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error)
	// RefreshToken
	RefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*LoginReply, error)
	// Authenticate
	Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error)
	// Authorize
	Authorize(ctx context.Context, in *AuthorizeRequest, opts ...grpc.CallOption) (*AuthorizeResponse, error)
	// Auth
	Auth(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthResponse, error)
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error)
	// DeleteUser
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
	GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error)
	// ListUser
	ListUser(ctx context.Context, in *ListUserRequest, opts ...grpc.CallOption) (*ListUserResponse, error)
	// UpdatePassword
	UpdatePassword(ctx context.Context, in *UpdatePasswordRequest, opts ...grpc.CallOption) (*UpdatePasswordResponse, error)
	// CreateSecret
	CreateSecret(ctx context.Context, in *CreateSecretRequest, opts ...grpc.CallOption) (*CreateSecretResponse, error)
	// UpdateSecret
	UpdateSecret(ctx context.Context, in *UpdateSecretRequest, opts ...grpc.CallOption) (*UpdateSecretResponse, error)
	// DeleteSecret
	DeleteSecret(ctx context.Context, in *DeleteSecretRequest, opts ...grpc.CallOption) (*DeleteSecretResponse, error)
	// GetSecret
	GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*GetSecretResponse, error)
	// ListSecret
	ListSecret(ctx context.Context, in *ListSecretRequest, opts ...grpc.CallOption) (*ListSecretResponse, error)
}

UserCenterClient is the client API for UserCenter 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.

Peer lists hubble peers and notifies of changes.

func NewUserCenterClient

func NewUserCenterClient(cc grpc.ClientConnInterface) UserCenterClient

type UserCenterHTTPClient

type UserCenterHTTPClient interface {
	Auth(ctx context.Context, req *AuthRequest, opts ...http.CallOption) (rsp *AuthResponse, err error)
	Authenticate(ctx context.Context, req *AuthenticateRequest, opts ...http.CallOption) (rsp *AuthenticateResponse, err error)
	Authorize(ctx context.Context, req *AuthorizeRequest, opts ...http.CallOption) (rsp *AuthorizeResponse, err error)
	CreateSecret(ctx context.Context, req *CreateSecretRequest, opts ...http.CallOption) (rsp *CreateSecretResponse, err error)
	CreateUser(ctx context.Context, req *CreateUserRequest, opts ...http.CallOption) (rsp *CreateUserResponse, err error)
	DeleteSecret(ctx context.Context, req *DeleteSecretRequest, opts ...http.CallOption) (rsp *DeleteSecretResponse, err error)
	DeleteUser(ctx context.Context, req *DeleteUserRequest, opts ...http.CallOption) (rsp *DeleteUserResponse, err error)
	GetSecret(ctx context.Context, req *GetSecretRequest, opts ...http.CallOption) (rsp *GetSecretResponse, err error)
	GetUser(ctx context.Context, req *GetUserRequest, opts ...http.CallOption) (rsp *GetUserResponse, err error)
	ListSecret(ctx context.Context, req *ListSecretRequest, opts ...http.CallOption) (rsp *ListSecretResponse, err error)
	ListUser(ctx context.Context, req *ListUserRequest, opts ...http.CallOption) (rsp *ListUserResponse, err error)
	Login(ctx context.Context, req *LoginRequest, opts ...http.CallOption) (rsp *LoginReply, err error)
	Logout(ctx context.Context, req *LogoutRequest, opts ...http.CallOption) (rsp *LogoutResponse, err error)
	RefreshToken(ctx context.Context, req *RefreshTokenRequest, opts ...http.CallOption) (rsp *LoginReply, err error)
	UpdatePassword(ctx context.Context, req *UpdatePasswordRequest, opts ...http.CallOption) (rsp *UpdatePasswordResponse, err error)
	UpdateSecret(ctx context.Context, req *UpdateSecretRequest, opts ...http.CallOption) (rsp *UpdateSecretResponse, err error)
	UpdateUser(ctx context.Context, req *UpdateUserRequest, opts ...http.CallOption) (rsp *UpdateUserResponse, err error)
}

func NewUserCenterHTTPClient

func NewUserCenterHTTPClient(client *http.Client) UserCenterHTTPClient

type UserCenterHTTPClientImpl

type UserCenterHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*UserCenterHTTPClientImpl) Auth

func (*UserCenterHTTPClientImpl) Authenticate

func (*UserCenterHTTPClientImpl) Authorize

func (*UserCenterHTTPClientImpl) CreateSecret

func (*UserCenterHTTPClientImpl) CreateUser

func (*UserCenterHTTPClientImpl) DeleteSecret

func (*UserCenterHTTPClientImpl) DeleteUser

func (*UserCenterHTTPClientImpl) GetSecret

func (*UserCenterHTTPClientImpl) GetUser

func (*UserCenterHTTPClientImpl) ListSecret

func (*UserCenterHTTPClientImpl) ListUser

func (*UserCenterHTTPClientImpl) Login

func (*UserCenterHTTPClientImpl) Logout

func (*UserCenterHTTPClientImpl) RefreshToken

func (*UserCenterHTTPClientImpl) UpdatePassword

func (*UserCenterHTTPClientImpl) UpdateSecret

func (*UserCenterHTTPClientImpl) UpdateUser

type UserCenterHTTPServer

type UserCenterHTTPServer interface {
	// Auth Auth
	Auth(context.Context, *AuthRequest) (*AuthResponse, error)
	// Authenticate Authenticate
	Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
	// Authorize Authorize
	Authorize(context.Context, *AuthorizeRequest) (*AuthorizeResponse, error)
	// CreateSecret CreateSecret
	CreateSecret(context.Context, *CreateSecretRequest) (*CreateSecretResponse, error)
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
	// DeleteSecret DeleteSecret
	DeleteSecret(context.Context, *DeleteSecretRequest) (*DeleteSecretResponse, error)
	// DeleteUser DeleteUser
	DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
	// GetSecret GetSecret
	GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error)
	GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
	// ListSecret ListSecret
	ListSecret(context.Context, *ListSecretRequest) (*ListSecretResponse, error)
	// ListUser ListUser
	ListUser(context.Context, *ListUserRequest) (*ListUserResponse, error)
	// Login Login
	Login(context.Context, *LoginRequest) (*LoginReply, error)
	// Logout Logout
	Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
	// RefreshToken RefreshToken
	RefreshToken(context.Context, *RefreshTokenRequest) (*LoginReply, error)
	// UpdatePassword UpdatePassword
	UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
	// UpdateSecret UpdateSecret
	UpdateSecret(context.Context, *UpdateSecretRequest) (*UpdateSecretResponse, error)
	UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
}

type UserCenterServer

type UserCenterServer interface {
	// Login
	Login(context.Context, *LoginRequest) (*LoginReply, error)
	// Logout
	Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
	// RefreshToken
	RefreshToken(context.Context, *RefreshTokenRequest) (*LoginReply, error)
	// Authenticate
	Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
	// Authorize
	Authorize(context.Context, *AuthorizeRequest) (*AuthorizeResponse, error)
	// Auth
	Auth(context.Context, *AuthRequest) (*AuthResponse, error)
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
	UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
	// DeleteUser
	DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
	GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
	// ListUser
	ListUser(context.Context, *ListUserRequest) (*ListUserResponse, error)
	// UpdatePassword
	UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
	// CreateSecret
	CreateSecret(context.Context, *CreateSecretRequest) (*CreateSecretResponse, error)
	// UpdateSecret
	UpdateSecret(context.Context, *UpdateSecretRequest) (*UpdateSecretResponse, error)
	// DeleteSecret
	DeleteSecret(context.Context, *DeleteSecretRequest) (*DeleteSecretResponse, error)
	// GetSecret
	GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error)
	// ListSecret
	ListSecret(context.Context, *ListSecretRequest) (*ListSecretResponse, error)
	// contains filtered or unexported methods
}

UserCenterServer is the server API for UserCenter service. All implementations must embed UnimplementedUserCenterServer for forward compatibility.

Peer lists hubble peers and notifies of changes.

type UserMultiError

type UserMultiError []error

UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.

func (UserMultiError) AllErrors

func (m UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserMultiError) Error

func (m UserMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UserValidationError

type UserValidationError struct {
	// contains filtered or unexported fields
}

UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.

func (UserValidationError) Cause

func (e UserValidationError) Cause() error

Cause function returns cause value.

func (UserValidationError) Error

func (e UserValidationError) Error() string

Error satisfies the builtin error interface

func (UserValidationError) ErrorName

func (e UserValidationError) ErrorName() string

ErrorName returns error name.

func (UserValidationError) Field

func (e UserValidationError) Field() string

Field function returns field value.

func (UserValidationError) Key

func (e UserValidationError) Key() bool

Key function returns key value.

func (UserValidationError) Reason

func (e UserValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL