Documentation
¶
Index ¶
- Constants
- Variables
- func ErrorSecretCreateFailed(format string, args ...interface{}) *errors.Error
- func ErrorSecretNotFound(format string, args ...interface{}) *errors.Error
- func ErrorSecretReachMaxCount(format string, args ...interface{}) *errors.Error
- func ErrorUserAlreadyExists(format string, args ...interface{}) *errors.Error
- func ErrorUserCreateFailed(format string, args ...interface{}) *errors.Error
- func ErrorUserLoginFailed(format string, args ...interface{}) *errors.Error
- func ErrorUserNotFound(format string, args ...interface{}) *errors.Error
- func ErrorUserOperationForbidden(format string, args ...interface{}) *errors.Error
- func IsSecretCreateFailed(err error) bool
- func IsSecretNotFound(err error) bool
- func IsSecretReachMaxCount(err error) bool
- func IsUserAlreadyExists(err error) bool
- func IsUserCreateFailed(err error) bool
- func IsUserLoginFailed(err error) bool
- func IsUserNotFound(err error) bool
- func IsUserOperationForbidden(err error) bool
- func RegisterUserCenterHTTPServer(s *http.Server, srv UserCenterHTTPServer)
- func RegisterUserCenterServer(s grpc.ServiceRegistrar, srv UserCenterServer)
- type AuthRequest
- func (in *AuthRequest) DeepCopy() *AuthRequest
- func (in *AuthRequest) DeepCopyInterface() interface{}
- func (in *AuthRequest) DeepCopyInto(out *AuthRequest)
- func (x *AuthRequest) Default()
- func (*AuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthRequest) GetAct() string
- func (x *AuthRequest) GetObj() string
- func (x *AuthRequest) GetToken() string
- func (msg *AuthRequest) MarshalJSON() ([]byte, error)
- func (*AuthRequest) ProtoMessage()
- func (x *AuthRequest) ProtoReflect() protoreflect.Message
- func (x *AuthRequest) Reset()
- func (x *AuthRequest) String() string
- func (msg *AuthRequest) UnmarshalJSON(b []byte) error
- func (m *AuthRequest) Validate() error
- func (m *AuthRequest) ValidateAll() error
- type AuthRequestMultiError
- type AuthRequestValidationError
- func (e AuthRequestValidationError) Cause() error
- func (e AuthRequestValidationError) Error() string
- func (e AuthRequestValidationError) ErrorName() string
- func (e AuthRequestValidationError) Field() string
- func (e AuthRequestValidationError) Key() bool
- func (e AuthRequestValidationError) Reason() string
- type AuthResponse
- func (in *AuthResponse) DeepCopy() *AuthResponse
- func (in *AuthResponse) DeepCopyInterface() interface{}
- func (in *AuthResponse) DeepCopyInto(out *AuthResponse)
- func (x *AuthResponse) Default()
- func (*AuthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthResponse) GetAllowed() bool
- func (x *AuthResponse) GetUserID() string
- func (msg *AuthResponse) MarshalJSON() ([]byte, error)
- func (*AuthResponse) ProtoMessage()
- func (x *AuthResponse) ProtoReflect() protoreflect.Message
- func (x *AuthResponse) Reset()
- func (x *AuthResponse) String() string
- func (msg *AuthResponse) UnmarshalJSON(b []byte) error
- func (m *AuthResponse) Validate() error
- func (m *AuthResponse) ValidateAll() error
- type AuthResponseMultiError
- type AuthResponseValidationError
- func (e AuthResponseValidationError) Cause() error
- func (e AuthResponseValidationError) Error() string
- func (e AuthResponseValidationError) ErrorName() string
- func (e AuthResponseValidationError) Field() string
- func (e AuthResponseValidationError) Key() bool
- func (e AuthResponseValidationError) Reason() string
- type AuthenticateRequest
- func (in *AuthenticateRequest) DeepCopy() *AuthenticateRequest
- func (in *AuthenticateRequest) DeepCopyInterface() interface{}
- func (in *AuthenticateRequest) DeepCopyInto(out *AuthenticateRequest)
- func (x *AuthenticateRequest) Default()
- func (*AuthenticateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateRequest) GetToken() string
- func (msg *AuthenticateRequest) MarshalJSON() ([]byte, error)
- func (*AuthenticateRequest) ProtoMessage()
- func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateRequest) Reset()
- func (x *AuthenticateRequest) String() string
- func (msg *AuthenticateRequest) UnmarshalJSON(b []byte) error
- func (m *AuthenticateRequest) Validate() error
- func (m *AuthenticateRequest) ValidateAll() error
- type AuthenticateRequestMultiError
- type AuthenticateRequestValidationError
- func (e AuthenticateRequestValidationError) Cause() error
- func (e AuthenticateRequestValidationError) Error() string
- func (e AuthenticateRequestValidationError) ErrorName() string
- func (e AuthenticateRequestValidationError) Field() string
- func (e AuthenticateRequestValidationError) Key() bool
- func (e AuthenticateRequestValidationError) Reason() string
- type AuthenticateResponse
- func (in *AuthenticateResponse) DeepCopy() *AuthenticateResponse
- func (in *AuthenticateResponse) DeepCopyInterface() interface{}
- func (in *AuthenticateResponse) DeepCopyInto(out *AuthenticateResponse)
- func (x *AuthenticateResponse) Default()
- func (*AuthenticateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateResponse) GetUserID() string
- func (msg *AuthenticateResponse) MarshalJSON() ([]byte, error)
- func (*AuthenticateResponse) ProtoMessage()
- func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message
- func (x *AuthenticateResponse) Reset()
- func (x *AuthenticateResponse) String() string
- func (msg *AuthenticateResponse) UnmarshalJSON(b []byte) error
- func (m *AuthenticateResponse) Validate() error
- func (m *AuthenticateResponse) ValidateAll() error
- type AuthenticateResponseMultiError
- type AuthenticateResponseValidationError
- func (e AuthenticateResponseValidationError) Cause() error
- func (e AuthenticateResponseValidationError) Error() string
- func (e AuthenticateResponseValidationError) ErrorName() string
- func (e AuthenticateResponseValidationError) Field() string
- func (e AuthenticateResponseValidationError) Key() bool
- func (e AuthenticateResponseValidationError) Reason() string
- type AuthorizeRequest
- func (in *AuthorizeRequest) DeepCopy() *AuthorizeRequest
- func (in *AuthorizeRequest) DeepCopyInterface() interface{}
- func (in *AuthorizeRequest) DeepCopyInto(out *AuthorizeRequest)
- func (x *AuthorizeRequest) Default()
- func (*AuthorizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeRequest) GetAct() string
- func (x *AuthorizeRequest) GetObj() string
- func (x *AuthorizeRequest) GetSub() string
- func (msg *AuthorizeRequest) MarshalJSON() ([]byte, error)
- func (*AuthorizeRequest) ProtoMessage()
- func (x *AuthorizeRequest) ProtoReflect() protoreflect.Message
- func (x *AuthorizeRequest) Reset()
- func (x *AuthorizeRequest) String() string
- func (msg *AuthorizeRequest) UnmarshalJSON(b []byte) error
- func (m *AuthorizeRequest) Validate() error
- func (m *AuthorizeRequest) ValidateAll() error
- type AuthorizeRequestMultiError
- type AuthorizeRequestValidationError
- func (e AuthorizeRequestValidationError) Cause() error
- func (e AuthorizeRequestValidationError) Error() string
- func (e AuthorizeRequestValidationError) ErrorName() string
- func (e AuthorizeRequestValidationError) Field() string
- func (e AuthorizeRequestValidationError) Key() bool
- func (e AuthorizeRequestValidationError) Reason() string
- type AuthorizeResponse
- func (in *AuthorizeResponse) DeepCopy() *AuthorizeResponse
- func (in *AuthorizeResponse) DeepCopyInterface() interface{}
- func (in *AuthorizeResponse) DeepCopyInto(out *AuthorizeResponse)
- func (x *AuthorizeResponse) Default()
- func (*AuthorizeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeResponse) GetAllowed() bool
- func (msg *AuthorizeResponse) MarshalJSON() ([]byte, error)
- func (*AuthorizeResponse) ProtoMessage()
- func (x *AuthorizeResponse) ProtoReflect() protoreflect.Message
- func (x *AuthorizeResponse) Reset()
- func (x *AuthorizeResponse) String() string
- func (msg *AuthorizeResponse) UnmarshalJSON(b []byte) error
- func (m *AuthorizeResponse) Validate() error
- func (m *AuthorizeResponse) ValidateAll() error
- type AuthorizeResponseMultiError
- type AuthorizeResponseValidationError
- func (e AuthorizeResponseValidationError) Cause() error
- func (e AuthorizeResponseValidationError) Error() string
- func (e AuthorizeResponseValidationError) ErrorName() string
- func (e AuthorizeResponseValidationError) Field() string
- func (e AuthorizeResponseValidationError) Key() bool
- func (e AuthorizeResponseValidationError) Reason() string
- type CreateSecretRequest
- func (in *CreateSecretRequest) DeepCopy() *CreateSecretRequest
- func (in *CreateSecretRequest) DeepCopyInterface() interface{}
- func (in *CreateSecretRequest) DeepCopyInto(out *CreateSecretRequest)
- func (x *CreateSecretRequest) Default()
- func (*CreateSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSecretRequest) GetDescription() string
- func (x *CreateSecretRequest) GetExpires() int64
- func (x *CreateSecretRequest) GetName() string
- func (msg *CreateSecretRequest) MarshalJSON() ([]byte, error)
- func (*CreateSecretRequest) ProtoMessage()
- func (x *CreateSecretRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSecretRequest) Reset()
- func (x *CreateSecretRequest) String() string
- func (msg *CreateSecretRequest) UnmarshalJSON(b []byte) error
- func (m *CreateSecretRequest) Validate() error
- func (m *CreateSecretRequest) ValidateAll() error
- type CreateSecretRequestMultiError
- type CreateSecretRequestValidationError
- func (e CreateSecretRequestValidationError) Cause() error
- func (e CreateSecretRequestValidationError) Error() string
- func (e CreateSecretRequestValidationError) ErrorName() string
- func (e CreateSecretRequestValidationError) Field() string
- func (e CreateSecretRequestValidationError) Key() bool
- func (e CreateSecretRequestValidationError) Reason() string
- type CreateSecretResponse
- func (in *CreateSecretResponse) DeepCopy() *CreateSecretResponse
- func (in *CreateSecretResponse) DeepCopyInterface() interface{}
- func (in *CreateSecretResponse) DeepCopyInto(out *CreateSecretResponse)
- func (x *CreateSecretResponse) Default()
- func (*CreateSecretResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSecretResponse) GetSecretID() string
- func (msg *CreateSecretResponse) MarshalJSON() ([]byte, error)
- func (*CreateSecretResponse) ProtoMessage()
- func (x *CreateSecretResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSecretResponse) Reset()
- func (x *CreateSecretResponse) String() string
- func (msg *CreateSecretResponse) UnmarshalJSON(b []byte) error
- func (m *CreateSecretResponse) Validate() error
- func (m *CreateSecretResponse) ValidateAll() error
- type CreateSecretResponseMultiError
- type CreateSecretResponseValidationError
- func (e CreateSecretResponseValidationError) Cause() error
- func (e CreateSecretResponseValidationError) Error() string
- func (e CreateSecretResponseValidationError) ErrorName() string
- func (e CreateSecretResponseValidationError) Field() string
- func (e CreateSecretResponseValidationError) Key() bool
- func (e CreateSecretResponseValidationError) Reason() string
- type CreateUserRequest
- func (in *CreateUserRequest) DeepCopy() *CreateUserRequest
- func (in *CreateUserRequest) DeepCopyInterface() interface{}
- func (in *CreateUserRequest) DeepCopyInto(out *CreateUserRequest)
- func (x *CreateUserRequest) Default()
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetEmail() string
- func (x *CreateUserRequest) GetNickname() string
- func (x *CreateUserRequest) GetPassword() string
- func (x *CreateUserRequest) GetPhone() string
- func (x *CreateUserRequest) GetUsername() string
- func (msg *CreateUserRequest) MarshalJSON() ([]byte, error)
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- func (msg *CreateUserRequest) UnmarshalJSON(b []byte) error
- func (m *CreateUserRequest) Validate() error
- func (m *CreateUserRequest) ValidateAll() error
- type CreateUserRequestMultiError
- type CreateUserRequestValidationError
- func (e CreateUserRequestValidationError) Cause() error
- func (e CreateUserRequestValidationError) Error() string
- func (e CreateUserRequestValidationError) ErrorName() string
- func (e CreateUserRequestValidationError) Field() string
- func (e CreateUserRequestValidationError) Key() bool
- func (e CreateUserRequestValidationError) Reason() string
- type CreateUserResponse
- func (in *CreateUserResponse) DeepCopy() *CreateUserResponse
- func (in *CreateUserResponse) DeepCopyInterface() interface{}
- func (in *CreateUserResponse) DeepCopyInto(out *CreateUserResponse)
- func (x *CreateUserResponse) Default()
- func (*CreateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserResponse) GetUserID() string
- func (msg *CreateUserResponse) MarshalJSON() ([]byte, error)
- func (*CreateUserResponse) ProtoMessage()
- func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserResponse) Reset()
- func (x *CreateUserResponse) String() string
- func (msg *CreateUserResponse) UnmarshalJSON(b []byte) error
- func (m *CreateUserResponse) Validate() error
- func (m *CreateUserResponse) ValidateAll() error
- type CreateUserResponseMultiError
- type CreateUserResponseValidationError
- func (e CreateUserResponseValidationError) Cause() error
- func (e CreateUserResponseValidationError) Error() string
- func (e CreateUserResponseValidationError) ErrorName() string
- func (e CreateUserResponseValidationError) Field() string
- func (e CreateUserResponseValidationError) Key() bool
- func (e CreateUserResponseValidationError) Reason() string
- type DeleteSecretRequest
- func (in *DeleteSecretRequest) DeepCopy() *DeleteSecretRequest
- func (in *DeleteSecretRequest) DeepCopyInterface() interface{}
- func (in *DeleteSecretRequest) DeepCopyInto(out *DeleteSecretRequest)
- func (x *DeleteSecretRequest) Default()
- func (*DeleteSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSecretRequest) GetName() string
- func (msg *DeleteSecretRequest) MarshalJSON() ([]byte, error)
- func (*DeleteSecretRequest) ProtoMessage()
- func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSecretRequest) Reset()
- func (x *DeleteSecretRequest) String() string
- func (msg *DeleteSecretRequest) UnmarshalJSON(b []byte) error
- func (m *DeleteSecretRequest) Validate() error
- func (m *DeleteSecretRequest) ValidateAll() error
- type DeleteSecretRequestMultiError
- type DeleteSecretRequestValidationError
- func (e DeleteSecretRequestValidationError) Cause() error
- func (e DeleteSecretRequestValidationError) Error() string
- func (e DeleteSecretRequestValidationError) ErrorName() string
- func (e DeleteSecretRequestValidationError) Field() string
- func (e DeleteSecretRequestValidationError) Key() bool
- func (e DeleteSecretRequestValidationError) Reason() string
- type DeleteSecretResponse
- func (in *DeleteSecretResponse) DeepCopy() *DeleteSecretResponse
- func (in *DeleteSecretResponse) DeepCopyInterface() interface{}
- func (in *DeleteSecretResponse) DeepCopyInto(out *DeleteSecretResponse)
- func (x *DeleteSecretResponse) Default()
- func (*DeleteSecretResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *DeleteSecretResponse) MarshalJSON() ([]byte, error)
- func (*DeleteSecretResponse) ProtoMessage()
- func (x *DeleteSecretResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteSecretResponse) Reset()
- func (x *DeleteSecretResponse) String() string
- func (msg *DeleteSecretResponse) UnmarshalJSON(b []byte) error
- func (m *DeleteSecretResponse) Validate() error
- func (m *DeleteSecretResponse) ValidateAll() error
- type DeleteSecretResponseMultiError
- type DeleteSecretResponseValidationError
- func (e DeleteSecretResponseValidationError) Cause() error
- func (e DeleteSecretResponseValidationError) Error() string
- func (e DeleteSecretResponseValidationError) ErrorName() string
- func (e DeleteSecretResponseValidationError) Field() string
- func (e DeleteSecretResponseValidationError) Key() bool
- func (e DeleteSecretResponseValidationError) Reason() string
- type DeleteUserRequest
- func (in *DeleteUserRequest) DeepCopy() *DeleteUserRequest
- func (in *DeleteUserRequest) DeepCopyInterface() interface{}
- func (in *DeleteUserRequest) DeepCopyInto(out *DeleteUserRequest)
- func (x *DeleteUserRequest) Default()
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetUserID() string
- func (msg *DeleteUserRequest) MarshalJSON() ([]byte, error)
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- func (msg *DeleteUserRequest) UnmarshalJSON(b []byte) error
- func (m *DeleteUserRequest) Validate() error
- func (m *DeleteUserRequest) ValidateAll() error
- type DeleteUserRequestMultiError
- type DeleteUserRequestValidationError
- func (e DeleteUserRequestValidationError) Cause() error
- func (e DeleteUserRequestValidationError) Error() string
- func (e DeleteUserRequestValidationError) ErrorName() string
- func (e DeleteUserRequestValidationError) Field() string
- func (e DeleteUserRequestValidationError) Key() bool
- func (e DeleteUserRequestValidationError) Reason() string
- type DeleteUserResponse
- func (in *DeleteUserResponse) DeepCopy() *DeleteUserResponse
- func (in *DeleteUserResponse) DeepCopyInterface() interface{}
- func (in *DeleteUserResponse) DeepCopyInto(out *DeleteUserResponse)
- func (x *DeleteUserResponse) Default()
- func (*DeleteUserResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *DeleteUserResponse) MarshalJSON() ([]byte, error)
- func (*DeleteUserResponse) ProtoMessage()
- func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteUserResponse) Reset()
- func (x *DeleteUserResponse) String() string
- func (msg *DeleteUserResponse) UnmarshalJSON(b []byte) error
- func (m *DeleteUserResponse) Validate() error
- func (m *DeleteUserResponse) ValidateAll() error
- type DeleteUserResponseMultiError
- type DeleteUserResponseValidationError
- func (e DeleteUserResponseValidationError) Cause() error
- func (e DeleteUserResponseValidationError) Error() string
- func (e DeleteUserResponseValidationError) ErrorName() string
- func (e DeleteUserResponseValidationError) Field() string
- func (e DeleteUserResponseValidationError) Key() bool
- func (e DeleteUserResponseValidationError) Reason() string
- type ErrorReason
- func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorReason) Enum() *ErrorReason
- func (ErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorReason) Number() protoreflect.EnumNumber
- func (x ErrorReason) String() string
- func (ErrorReason) Type() protoreflect.EnumType
- type GetSecretRequest
- func (in *GetSecretRequest) DeepCopy() *GetSecretRequest
- func (in *GetSecretRequest) DeepCopyInterface() interface{}
- func (in *GetSecretRequest) DeepCopyInto(out *GetSecretRequest)
- func (x *GetSecretRequest) Default()
- func (*GetSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretRequest) GetName() string
- func (msg *GetSecretRequest) MarshalJSON() ([]byte, error)
- func (*GetSecretRequest) ProtoMessage()
- func (x *GetSecretRequest) ProtoReflect() protoreflect.Message
- func (x *GetSecretRequest) Reset()
- func (x *GetSecretRequest) String() string
- func (msg *GetSecretRequest) UnmarshalJSON(b []byte) error
- func (m *GetSecretRequest) Validate() error
- func (m *GetSecretRequest) ValidateAll() error
- type GetSecretRequestMultiError
- type GetSecretRequestValidationError
- func (e GetSecretRequestValidationError) Cause() error
- func (e GetSecretRequestValidationError) Error() string
- func (e GetSecretRequestValidationError) ErrorName() string
- func (e GetSecretRequestValidationError) Field() string
- func (e GetSecretRequestValidationError) Key() bool
- func (e GetSecretRequestValidationError) Reason() string
- type GetSecretResponse
- func (in *GetSecretResponse) DeepCopy() *GetSecretResponse
- func (in *GetSecretResponse) DeepCopyInterface() interface{}
- func (in *GetSecretResponse) DeepCopyInto(out *GetSecretResponse)
- func (x *GetSecretResponse) Default()
- func (*GetSecretResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretResponse) GetSecret() *Secret
- func (msg *GetSecretResponse) MarshalJSON() ([]byte, error)
- func (*GetSecretResponse) ProtoMessage()
- func (x *GetSecretResponse) ProtoReflect() protoreflect.Message
- func (x *GetSecretResponse) Reset()
- func (x *GetSecretResponse) String() string
- func (msg *GetSecretResponse) UnmarshalJSON(b []byte) error
- func (m *GetSecretResponse) Validate() error
- func (m *GetSecretResponse) ValidateAll() error
- type GetSecretResponseMultiError
- type GetSecretResponseValidationError
- func (e GetSecretResponseValidationError) Cause() error
- func (e GetSecretResponseValidationError) Error() string
- func (e GetSecretResponseValidationError) ErrorName() string
- func (e GetSecretResponseValidationError) Field() string
- func (e GetSecretResponseValidationError) Key() bool
- func (e GetSecretResponseValidationError) Reason() string
- type GetUserRequest
- func (in *GetUserRequest) DeepCopy() *GetUserRequest
- func (in *GetUserRequest) DeepCopyInterface() interface{}
- func (in *GetUserRequest) DeepCopyInto(out *GetUserRequest)
- func (x *GetUserRequest) Default()
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetUserID() string
- func (msg *GetUserRequest) MarshalJSON() ([]byte, error)
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (x *GetUserRequest) String() string
- func (msg *GetUserRequest) UnmarshalJSON(b []byte) error
- func (m *GetUserRequest) Validate() error
- func (m *GetUserRequest) ValidateAll() error
- type GetUserRequestMultiError
- type GetUserRequestValidationError
- func (e GetUserRequestValidationError) Cause() error
- func (e GetUserRequestValidationError) Error() string
- func (e GetUserRequestValidationError) ErrorName() string
- func (e GetUserRequestValidationError) Field() string
- func (e GetUserRequestValidationError) Key() bool
- func (e GetUserRequestValidationError) Reason() string
- type GetUserResponse
- func (in *GetUserResponse) DeepCopy() *GetUserResponse
- func (in *GetUserResponse) DeepCopyInterface() interface{}
- func (in *GetUserResponse) DeepCopyInto(out *GetUserResponse)
- func (x *GetUserResponse) Default()
- func (*GetUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserResponse) GetUser() *User
- func (msg *GetUserResponse) MarshalJSON() ([]byte, error)
- func (*GetUserResponse) ProtoMessage()
- func (x *GetUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserResponse) Reset()
- func (x *GetUserResponse) String() string
- func (msg *GetUserResponse) UnmarshalJSON(b []byte) error
- func (m *GetUserResponse) Validate() error
- func (m *GetUserResponse) ValidateAll() error
- type GetUserResponseMultiError
- type GetUserResponseValidationError
- func (e GetUserResponseValidationError) Cause() error
- func (e GetUserResponseValidationError) Error() string
- func (e GetUserResponseValidationError) ErrorName() string
- func (e GetUserResponseValidationError) Field() string
- func (e GetUserResponseValidationError) Key() bool
- func (e GetUserResponseValidationError) Reason() string
- type ListSecretRequest
- func (in *ListSecretRequest) DeepCopy() *ListSecretRequest
- func (in *ListSecretRequest) DeepCopyInterface() interface{}
- func (in *ListSecretRequest) DeepCopyInto(out *ListSecretRequest)
- func (x *ListSecretRequest) Default()
- func (*ListSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecretRequest) GetLimit() int64
- func (x *ListSecretRequest) GetOffset() int64
- func (msg *ListSecretRequest) MarshalJSON() ([]byte, error)
- func (*ListSecretRequest) ProtoMessage()
- func (x *ListSecretRequest) ProtoReflect() protoreflect.Message
- func (x *ListSecretRequest) Reset()
- func (x *ListSecretRequest) String() string
- func (msg *ListSecretRequest) UnmarshalJSON(b []byte) error
- func (m *ListSecretRequest) Validate() error
- func (m *ListSecretRequest) ValidateAll() error
- type ListSecretRequestMultiError
- type ListSecretRequestValidationError
- func (e ListSecretRequestValidationError) Cause() error
- func (e ListSecretRequestValidationError) Error() string
- func (e ListSecretRequestValidationError) ErrorName() string
- func (e ListSecretRequestValidationError) Field() string
- func (e ListSecretRequestValidationError) Key() bool
- func (e ListSecretRequestValidationError) Reason() string
- type ListSecretResponse
- func (in *ListSecretResponse) DeepCopy() *ListSecretResponse
- func (in *ListSecretResponse) DeepCopyInterface() interface{}
- func (in *ListSecretResponse) DeepCopyInto(out *ListSecretResponse)
- func (x *ListSecretResponse) Default()
- func (*ListSecretResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecretResponse) GetSecrets() []*Secret
- func (x *ListSecretResponse) GetTotal() int64
- func (msg *ListSecretResponse) MarshalJSON() ([]byte, error)
- func (*ListSecretResponse) ProtoMessage()
- func (x *ListSecretResponse) ProtoReflect() protoreflect.Message
- func (x *ListSecretResponse) Reset()
- func (x *ListSecretResponse) String() string
- func (msg *ListSecretResponse) UnmarshalJSON(b []byte) error
- func (m *ListSecretResponse) Validate() error
- func (m *ListSecretResponse) ValidateAll() error
- type ListSecretResponseMultiError
- type ListSecretResponseValidationError
- func (e ListSecretResponseValidationError) Cause() error
- func (e ListSecretResponseValidationError) Error() string
- func (e ListSecretResponseValidationError) ErrorName() string
- func (e ListSecretResponseValidationError) Field() string
- func (e ListSecretResponseValidationError) Key() bool
- func (e ListSecretResponseValidationError) Reason() string
- type ListUserRequest
- func (in *ListUserRequest) DeepCopy() *ListUserRequest
- func (in *ListUserRequest) DeepCopyInterface() interface{}
- func (in *ListUserRequest) DeepCopyInto(out *ListUserRequest)
- func (x *ListUserRequest) Default()
- func (*ListUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserRequest) GetLimit() int64
- func (x *ListUserRequest) GetOffset() int64
- func (msg *ListUserRequest) MarshalJSON() ([]byte, error)
- func (*ListUserRequest) ProtoMessage()
- func (x *ListUserRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserRequest) Reset()
- func (x *ListUserRequest) String() string
- func (msg *ListUserRequest) UnmarshalJSON(b []byte) error
- func (m *ListUserRequest) Validate() error
- func (m *ListUserRequest) ValidateAll() error
- type ListUserRequestMultiError
- type ListUserRequestValidationError
- func (e ListUserRequestValidationError) Cause() error
- func (e ListUserRequestValidationError) Error() string
- func (e ListUserRequestValidationError) ErrorName() string
- func (e ListUserRequestValidationError) Field() string
- func (e ListUserRequestValidationError) Key() bool
- func (e ListUserRequestValidationError) Reason() string
- type ListUserResponse
- func (in *ListUserResponse) DeepCopy() *ListUserResponse
- func (in *ListUserResponse) DeepCopyInterface() interface{}
- func (in *ListUserResponse) DeepCopyInto(out *ListUserResponse)
- func (x *ListUserResponse) Default()
- func (*ListUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserResponse) GetTotal() int64
- func (x *ListUserResponse) GetUsers() []*User
- func (msg *ListUserResponse) MarshalJSON() ([]byte, error)
- func (*ListUserResponse) ProtoMessage()
- func (x *ListUserResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserResponse) Reset()
- func (x *ListUserResponse) String() string
- func (msg *ListUserResponse) UnmarshalJSON(b []byte) error
- func (m *ListUserResponse) Validate() error
- func (m *ListUserResponse) ValidateAll() error
- type ListUserResponseMultiError
- type ListUserResponseValidationError
- func (e ListUserResponseValidationError) Cause() error
- func (e ListUserResponseValidationError) Error() string
- func (e ListUserResponseValidationError) ErrorName() string
- func (e ListUserResponseValidationError) Field() string
- func (e ListUserResponseValidationError) Key() bool
- func (e ListUserResponseValidationError) Reason() string
- type LoginReply
- func (in *LoginReply) DeepCopy() *LoginReply
- func (in *LoginReply) DeepCopyInterface() interface{}
- func (in *LoginReply) DeepCopyInto(out *LoginReply)
- func (x *LoginReply) Default()
- func (*LoginReply) Descriptor() ([]byte, []int)deprecated
- func (x *LoginReply) GetAccessToken() string
- func (x *LoginReply) GetExpiresAt() int64
- func (x *LoginReply) GetRefreshToken() string
- func (x *LoginReply) GetType() string
- func (msg *LoginReply) MarshalJSON() ([]byte, error)
- func (*LoginReply) ProtoMessage()
- func (x *LoginReply) ProtoReflect() protoreflect.Message
- func (x *LoginReply) Reset()
- func (x *LoginReply) String() string
- func (msg *LoginReply) UnmarshalJSON(b []byte) error
- func (m *LoginReply) Validate() error
- func (m *LoginReply) ValidateAll() error
- type LoginReplyMultiError
- type LoginReplyValidationError
- type LoginRequest
- func (in *LoginRequest) DeepCopy() *LoginRequest
- func (in *LoginRequest) DeepCopyInterface() interface{}
- func (in *LoginRequest) DeepCopyInto(out *LoginRequest)
- func (x *LoginRequest) Default()
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetPassword() string
- func (x *LoginRequest) GetUsername() string
- func (msg *LoginRequest) MarshalJSON() ([]byte, error)
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- func (msg *LoginRequest) UnmarshalJSON(b []byte) error
- func (m *LoginRequest) Validate() error
- func (m *LoginRequest) ValidateAll() error
- type LoginRequestMultiError
- type LoginRequestValidationError
- func (e LoginRequestValidationError) Cause() error
- func (e LoginRequestValidationError) Error() string
- func (e LoginRequestValidationError) ErrorName() string
- func (e LoginRequestValidationError) Field() string
- func (e LoginRequestValidationError) Key() bool
- func (e LoginRequestValidationError) Reason() string
- type LogoutRequest
- func (in *LogoutRequest) DeepCopy() *LogoutRequest
- func (in *LogoutRequest) DeepCopyInterface() interface{}
- func (in *LogoutRequest) DeepCopyInto(out *LogoutRequest)
- func (x *LogoutRequest) Default()
- func (*LogoutRequest) Descriptor() ([]byte, []int)deprecated
- func (msg *LogoutRequest) MarshalJSON() ([]byte, error)
- func (*LogoutRequest) ProtoMessage()
- func (x *LogoutRequest) ProtoReflect() protoreflect.Message
- func (x *LogoutRequest) Reset()
- func (x *LogoutRequest) String() string
- func (msg *LogoutRequest) UnmarshalJSON(b []byte) error
- func (m *LogoutRequest) Validate() error
- func (m *LogoutRequest) ValidateAll() error
- type LogoutRequestMultiError
- type LogoutRequestValidationError
- func (e LogoutRequestValidationError) Cause() error
- func (e LogoutRequestValidationError) Error() string
- func (e LogoutRequestValidationError) ErrorName() string
- func (e LogoutRequestValidationError) Field() string
- func (e LogoutRequestValidationError) Key() bool
- func (e LogoutRequestValidationError) Reason() string
- type LogoutResponse
- func (in *LogoutResponse) DeepCopy() *LogoutResponse
- func (in *LogoutResponse) DeepCopyInterface() interface{}
- func (in *LogoutResponse) DeepCopyInto(out *LogoutResponse)
- func (x *LogoutResponse) Default()
- func (*LogoutResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *LogoutResponse) MarshalJSON() ([]byte, error)
- func (*LogoutResponse) ProtoMessage()
- func (x *LogoutResponse) ProtoReflect() protoreflect.Message
- func (x *LogoutResponse) Reset()
- func (x *LogoutResponse) String() string
- func (msg *LogoutResponse) UnmarshalJSON(b []byte) error
- func (m *LogoutResponse) Validate() error
- func (m *LogoutResponse) ValidateAll() error
- type LogoutResponseMultiError
- type LogoutResponseValidationError
- func (e LogoutResponseValidationError) Cause() error
- func (e LogoutResponseValidationError) Error() string
- func (e LogoutResponseValidationError) ErrorName() string
- func (e LogoutResponseValidationError) Field() string
- func (e LogoutResponseValidationError) Key() bool
- func (e LogoutResponseValidationError) Reason() string
- type RefreshTokenRequest
- func (in *RefreshTokenRequest) DeepCopy() *RefreshTokenRequest
- func (in *RefreshTokenRequest) DeepCopyInterface() interface{}
- func (in *RefreshTokenRequest) DeepCopyInto(out *RefreshTokenRequest)
- func (x *RefreshTokenRequest) Default()
- func (*RefreshTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (msg *RefreshTokenRequest) MarshalJSON() ([]byte, error)
- func (*RefreshTokenRequest) ProtoMessage()
- func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenRequest) Reset()
- func (x *RefreshTokenRequest) String() string
- func (msg *RefreshTokenRequest) UnmarshalJSON(b []byte) error
- func (m *RefreshTokenRequest) Validate() error
- func (m *RefreshTokenRequest) ValidateAll() error
- type RefreshTokenRequestMultiError
- type RefreshTokenRequestValidationError
- func (e RefreshTokenRequestValidationError) Cause() error
- func (e RefreshTokenRequestValidationError) Error() string
- func (e RefreshTokenRequestValidationError) ErrorName() string
- func (e RefreshTokenRequestValidationError) Field() string
- func (e RefreshTokenRequestValidationError) Key() bool
- func (e RefreshTokenRequestValidationError) Reason() string
- type Secret
- func (in *Secret) DeepCopy() *Secret
- func (in *Secret) DeepCopyInterface() interface{}
- func (in *Secret) DeepCopyInto(out *Secret)
- func (x *Secret) Default()
- func (*Secret) Descriptor() ([]byte, []int)deprecated
- func (x *Secret) GetCreatedAt() *timestamppb.Timestamp
- func (x *Secret) GetDescription() string
- func (x *Secret) GetExpires() int64
- func (x *Secret) GetName() string
- func (x *Secret) GetSecretID() string
- func (x *Secret) GetSecretKey() string
- func (x *Secret) GetStatus() int32
- func (x *Secret) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Secret) GetUserID() string
- func (msg *Secret) MarshalJSON() ([]byte, error)
- func (*Secret) ProtoMessage()
- func (x *Secret) ProtoReflect() protoreflect.Message
- func (x *Secret) Reset()
- func (x *Secret) String() string
- func (msg *Secret) UnmarshalJSON(b []byte) error
- func (m *Secret) Validate() error
- func (m *Secret) ValidateAll() error
- type SecretMultiError
- type SecretValidationError
- type UnimplementedUserCenterServer
- func (UnimplementedUserCenterServer) Auth(context.Context, *AuthRequest) (*AuthResponse, error)
- func (UnimplementedUserCenterServer) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
- func (UnimplementedUserCenterServer) Authorize(context.Context, *AuthorizeRequest) (*AuthorizeResponse, error)
- func (UnimplementedUserCenterServer) CreateSecret(context.Context, *CreateSecretRequest) (*CreateSecretResponse, error)
- func (UnimplementedUserCenterServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedUserCenterServer) DeleteSecret(context.Context, *DeleteSecretRequest) (*DeleteSecretResponse, error)
- func (UnimplementedUserCenterServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
- func (UnimplementedUserCenterServer) GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error)
- func (UnimplementedUserCenterServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedUserCenterServer) ListSecret(context.Context, *ListSecretRequest) (*ListSecretResponse, error)
- func (UnimplementedUserCenterServer) ListUser(context.Context, *ListUserRequest) (*ListUserResponse, error)
- func (UnimplementedUserCenterServer) Login(context.Context, *LoginRequest) (*LoginReply, error)
- func (UnimplementedUserCenterServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
- func (UnimplementedUserCenterServer) RefreshToken(context.Context, *RefreshTokenRequest) (*LoginReply, error)
- func (UnimplementedUserCenterServer) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
- func (UnimplementedUserCenterServer) UpdateSecret(context.Context, *UpdateSecretRequest) (*UpdateSecretResponse, error)
- func (UnimplementedUserCenterServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
- type UnsafeUserCenterServer
- type UpdatePasswordRequest
- func (in *UpdatePasswordRequest) DeepCopy() *UpdatePasswordRequest
- func (in *UpdatePasswordRequest) DeepCopyInterface() interface{}
- func (in *UpdatePasswordRequest) DeepCopyInto(out *UpdatePasswordRequest)
- func (x *UpdatePasswordRequest) Default()
- func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePasswordRequest) GetNewPassword() string
- func (x *UpdatePasswordRequest) GetOldPassword() string
- func (x *UpdatePasswordRequest) GetUserID() string
- func (x *UpdatePasswordRequest) GetUsername() string
- func (msg *UpdatePasswordRequest) MarshalJSON() ([]byte, error)
- func (*UpdatePasswordRequest) ProtoMessage()
- func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordRequest) Reset()
- func (x *UpdatePasswordRequest) String() string
- func (msg *UpdatePasswordRequest) UnmarshalJSON(b []byte) error
- func (m *UpdatePasswordRequest) Validate() error
- func (m *UpdatePasswordRequest) ValidateAll() error
- type UpdatePasswordRequestMultiError
- type UpdatePasswordRequestValidationError
- func (e UpdatePasswordRequestValidationError) Cause() error
- func (e UpdatePasswordRequestValidationError) Error() string
- func (e UpdatePasswordRequestValidationError) ErrorName() string
- func (e UpdatePasswordRequestValidationError) Field() string
- func (e UpdatePasswordRequestValidationError) Key() bool
- func (e UpdatePasswordRequestValidationError) Reason() string
- type UpdatePasswordResponse
- func (in *UpdatePasswordResponse) DeepCopy() *UpdatePasswordResponse
- func (in *UpdatePasswordResponse) DeepCopyInterface() interface{}
- func (in *UpdatePasswordResponse) DeepCopyInto(out *UpdatePasswordResponse)
- func (x *UpdatePasswordResponse) Default()
- func (*UpdatePasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *UpdatePasswordResponse) MarshalJSON() ([]byte, error)
- func (*UpdatePasswordResponse) ProtoMessage()
- func (x *UpdatePasswordResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordResponse) Reset()
- func (x *UpdatePasswordResponse) String() string
- func (msg *UpdatePasswordResponse) UnmarshalJSON(b []byte) error
- func (m *UpdatePasswordResponse) Validate() error
- func (m *UpdatePasswordResponse) ValidateAll() error
- type UpdatePasswordResponseMultiError
- type UpdatePasswordResponseValidationError
- func (e UpdatePasswordResponseValidationError) Cause() error
- func (e UpdatePasswordResponseValidationError) Error() string
- func (e UpdatePasswordResponseValidationError) ErrorName() string
- func (e UpdatePasswordResponseValidationError) Field() string
- func (e UpdatePasswordResponseValidationError) Key() bool
- func (e UpdatePasswordResponseValidationError) Reason() string
- type UpdateSecretRequest
- func (in *UpdateSecretRequest) DeepCopy() *UpdateSecretRequest
- func (in *UpdateSecretRequest) DeepCopyInterface() interface{}
- func (in *UpdateSecretRequest) DeepCopyInto(out *UpdateSecretRequest)
- func (x *UpdateSecretRequest) Default()
- func (*UpdateSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSecretRequest) GetDescription() string
- func (x *UpdateSecretRequest) GetExpires() int64
- func (x *UpdateSecretRequest) GetName() string
- func (x *UpdateSecretRequest) GetStatus() int32
- func (msg *UpdateSecretRequest) MarshalJSON() ([]byte, error)
- func (*UpdateSecretRequest) ProtoMessage()
- func (x *UpdateSecretRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSecretRequest) Reset()
- func (x *UpdateSecretRequest) String() string
- func (msg *UpdateSecretRequest) UnmarshalJSON(b []byte) error
- func (m *UpdateSecretRequest) Validate() error
- func (m *UpdateSecretRequest) ValidateAll() error
- type UpdateSecretRequestMultiError
- type UpdateSecretRequestValidationError
- func (e UpdateSecretRequestValidationError) Cause() error
- func (e UpdateSecretRequestValidationError) Error() string
- func (e UpdateSecretRequestValidationError) ErrorName() string
- func (e UpdateSecretRequestValidationError) Field() string
- func (e UpdateSecretRequestValidationError) Key() bool
- func (e UpdateSecretRequestValidationError) Reason() string
- type UpdateSecretResponse
- func (in *UpdateSecretResponse) DeepCopy() *UpdateSecretResponse
- func (in *UpdateSecretResponse) DeepCopyInterface() interface{}
- func (in *UpdateSecretResponse) DeepCopyInto(out *UpdateSecretResponse)
- func (x *UpdateSecretResponse) Default()
- func (*UpdateSecretResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *UpdateSecretResponse) MarshalJSON() ([]byte, error)
- func (*UpdateSecretResponse) ProtoMessage()
- func (x *UpdateSecretResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateSecretResponse) Reset()
- func (x *UpdateSecretResponse) String() string
- func (msg *UpdateSecretResponse) UnmarshalJSON(b []byte) error
- func (m *UpdateSecretResponse) Validate() error
- func (m *UpdateSecretResponse) ValidateAll() error
- type UpdateSecretResponseMultiError
- type UpdateSecretResponseValidationError
- func (e UpdateSecretResponseValidationError) Cause() error
- func (e UpdateSecretResponseValidationError) Error() string
- func (e UpdateSecretResponseValidationError) ErrorName() string
- func (e UpdateSecretResponseValidationError) Field() string
- func (e UpdateSecretResponseValidationError) Key() bool
- func (e UpdateSecretResponseValidationError) Reason() string
- type UpdateUserRequest
- func (in *UpdateUserRequest) DeepCopy() *UpdateUserRequest
- func (in *UpdateUserRequest) DeepCopyInterface() interface{}
- func (in *UpdateUserRequest) DeepCopyInto(out *UpdateUserRequest)
- func (x *UpdateUserRequest) Default()
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetEmail() string
- func (x *UpdateUserRequest) GetNickname() string
- func (x *UpdateUserRequest) GetPhone() string
- func (x *UpdateUserRequest) GetUserID() string
- func (x *UpdateUserRequest) GetUsername() string
- func (msg *UpdateUserRequest) MarshalJSON() ([]byte, error)
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- func (msg *UpdateUserRequest) UnmarshalJSON(b []byte) error
- func (m *UpdateUserRequest) Validate() error
- func (m *UpdateUserRequest) ValidateAll() error
- type UpdateUserRequestMultiError
- type UpdateUserRequestValidationError
- func (e UpdateUserRequestValidationError) Cause() error
- func (e UpdateUserRequestValidationError) Error() string
- func (e UpdateUserRequestValidationError) ErrorName() string
- func (e UpdateUserRequestValidationError) Field() string
- func (e UpdateUserRequestValidationError) Key() bool
- func (e UpdateUserRequestValidationError) Reason() string
- type UpdateUserResponse
- func (in *UpdateUserResponse) DeepCopy() *UpdateUserResponse
- func (in *UpdateUserResponse) DeepCopyInterface() interface{}
- func (in *UpdateUserResponse) DeepCopyInto(out *UpdateUserResponse)
- func (x *UpdateUserResponse) Default()
- func (*UpdateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *UpdateUserResponse) MarshalJSON() ([]byte, error)
- func (*UpdateUserResponse) ProtoMessage()
- func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserResponse) Reset()
- func (x *UpdateUserResponse) String() string
- func (msg *UpdateUserResponse) UnmarshalJSON(b []byte) error
- func (m *UpdateUserResponse) Validate() error
- func (m *UpdateUserResponse) ValidateAll() error
- type UpdateUserResponseMultiError
- type UpdateUserResponseValidationError
- func (e UpdateUserResponseValidationError) Cause() error
- func (e UpdateUserResponseValidationError) Error() string
- func (e UpdateUserResponseValidationError) ErrorName() string
- func (e UpdateUserResponseValidationError) Field() string
- func (e UpdateUserResponseValidationError) Key() bool
- func (e UpdateUserResponseValidationError) Reason() string
- type User
- func (in *User) DeepCopy() *User
- func (in *User) DeepCopyInterface() interface{}
- func (in *User) DeepCopyInto(out *User)
- func (x *User) Default()
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCreatedAt() *timestamppb.Timestamp
- func (x *User) GetEmail() string
- func (x *User) GetNickname() string
- func (x *User) GetPassword() string
- func (x *User) GetPhone() string
- func (x *User) GetSecrets() int64
- func (x *User) GetUpdatedAt() *timestamppb.Timestamp
- func (x *User) GetUserID() string
- func (x *User) GetUsername() string
- func (msg *User) MarshalJSON() ([]byte, error)
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (msg *User) UnmarshalJSON(b []byte) error
- func (m *User) Validate() error
- func (m *User) ValidateAll() error
- type UserCenterClient
- type UserCenterHTTPClient
- type UserCenterHTTPClientImpl
- func (c *UserCenterHTTPClientImpl) Auth(ctx context.Context, in *AuthRequest, opts ...http.CallOption) (*AuthResponse, error)
- func (c *UserCenterHTTPClientImpl) Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...http.CallOption) (*AuthenticateResponse, error)
- func (c *UserCenterHTTPClientImpl) Authorize(ctx context.Context, in *AuthorizeRequest, opts ...http.CallOption) (*AuthorizeResponse, error)
- func (c *UserCenterHTTPClientImpl) CreateSecret(ctx context.Context, in *CreateSecretRequest, opts ...http.CallOption) (*CreateSecretResponse, error)
- func (c *UserCenterHTTPClientImpl) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...http.CallOption) (*CreateUserResponse, error)
- func (c *UserCenterHTTPClientImpl) DeleteSecret(ctx context.Context, in *DeleteSecretRequest, opts ...http.CallOption) (*DeleteSecretResponse, error)
- func (c *UserCenterHTTPClientImpl) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...http.CallOption) (*DeleteUserResponse, error)
- func (c *UserCenterHTTPClientImpl) GetSecret(ctx context.Context, in *GetSecretRequest, opts ...http.CallOption) (*GetSecretResponse, error)
- func (c *UserCenterHTTPClientImpl) GetUser(ctx context.Context, in *GetUserRequest, opts ...http.CallOption) (*GetUserResponse, error)
- func (c *UserCenterHTTPClientImpl) ListSecret(ctx context.Context, in *ListSecretRequest, opts ...http.CallOption) (*ListSecretResponse, error)
- func (c *UserCenterHTTPClientImpl) ListUser(ctx context.Context, in *ListUserRequest, opts ...http.CallOption) (*ListUserResponse, error)
- func (c *UserCenterHTTPClientImpl) Login(ctx context.Context, in *LoginRequest, opts ...http.CallOption) (*LoginReply, error)
- func (c *UserCenterHTTPClientImpl) Logout(ctx context.Context, in *LogoutRequest, opts ...http.CallOption) (*LogoutResponse, error)
- func (c *UserCenterHTTPClientImpl) RefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...http.CallOption) (*LoginReply, error)
- func (c *UserCenterHTTPClientImpl) UpdatePassword(ctx context.Context, in *UpdatePasswordRequest, opts ...http.CallOption) (*UpdatePasswordResponse, error)
- func (c *UserCenterHTTPClientImpl) UpdateSecret(ctx context.Context, in *UpdateSecretRequest, opts ...http.CallOption) (*UpdateSecretResponse, error)
- func (c *UserCenterHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*UpdateUserResponse, error)
- type UserCenterHTTPServer
- type UserCenterServer
- type UserMultiError
- type UserValidationError
Constants ¶
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" )
const OperationUserCenterAuth = "/usercenter.v1.UserCenter/Auth"
const OperationUserCenterAuthenticate = "/usercenter.v1.UserCenter/Authenticate"
const OperationUserCenterAuthorize = "/usercenter.v1.UserCenter/Authorize"
const OperationUserCenterCreateSecret = "/usercenter.v1.UserCenter/CreateSecret"
const OperationUserCenterCreateUser = "/usercenter.v1.UserCenter/CreateUser"
const OperationUserCenterDeleteSecret = "/usercenter.v1.UserCenter/DeleteSecret"
const OperationUserCenterDeleteUser = "/usercenter.v1.UserCenter/DeleteUser"
const OperationUserCenterGetSecret = "/usercenter.v1.UserCenter/GetSecret"
const OperationUserCenterGetUser = "/usercenter.v1.UserCenter/GetUser"
const OperationUserCenterListSecret = "/usercenter.v1.UserCenter/ListSecret"
const OperationUserCenterListUser = "/usercenter.v1.UserCenter/ListUser"
const OperationUserCenterLogin = "/usercenter.v1.UserCenter/Login"
const OperationUserCenterLogout = "/usercenter.v1.UserCenter/Logout"
const OperationUserCenterRefreshToken = "/usercenter.v1.UserCenter/RefreshToken"
const OperationUserCenterUpdatePassword = "/usercenter.v1.UserCenter/UpdatePassword"
const OperationUserCenterUpdateSecret = "/usercenter.v1.UserCenter/UpdateSecret"
const OperationUserCenterUpdateUser = "/usercenter.v1.UserCenter/UpdateUser"
Variables ¶
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.
var File_usercenter_v1_auth_proto protoreflect.FileDescriptor
var File_usercenter_v1_errors_proto protoreflect.FileDescriptor
var File_usercenter_v1_secret_proto protoreflect.FileDescriptor
var File_usercenter_v1_user_proto protoreflect.FileDescriptor
var File_usercenter_v1_usercenter_proto protoreflect.FileDescriptor
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 ErrorSecretNotFound ¶
密钥未找到,可能是由于密钥不存在或输入的密钥标识有误
func ErrorSecretReachMaxCount ¶
密钥达到最大数量限制,无法继续创建新密钥
func ErrorUserAlreadyExists ¶
用户已存在,无法创建用户
func ErrorUserCreateFailed ¶
创建用户失败,可能是由于服务器或其他问题导致的创建过程中的错误
func ErrorUserLoginFailed ¶
用户登录失败,身份验证未通过
func ErrorUserNotFound ¶
用户未找到,可能是用户不存在或输入的用户标识有误
func ErrorUserOperationForbidden ¶
用户操作被禁止,可能是由于权限不足或其他安全限制导致的
func IsSecretCreateFailed ¶
创建密钥失败,可能是由于服务器或其他问题导致的创建过程中的错误
func IsUserOperationForbidden ¶
用户操作被禁止,可能是由于权限不足或其他安全限制导致的
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 ¶
func (e AuthRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthRequestValidationError) Error ¶
func (e AuthRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthRequestValidationError) ErrorName ¶
func (e AuthRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthRequestValidationError) Field ¶
func (e AuthRequestValidationError) Field() string
Field function returns field value.
func (AuthRequestValidationError) Key ¶
func (e AuthRequestValidationError) Key() bool
Key function returns key value.
func (AuthRequestValidationError) Reason ¶
func (e AuthRequestValidationError) Reason() string
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 ¶
func (e AuthResponseValidationError) Cause() error
Cause function returns cause value.
func (AuthResponseValidationError) Error ¶
func (e AuthResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AuthResponseValidationError) ErrorName ¶
func (e AuthResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AuthResponseValidationError) Field ¶
func (e AuthResponseValidationError) Field() string
Field function returns field value.
func (AuthResponseValidationError) Key ¶
func (e AuthResponseValidationError) Key() bool
Key function returns key value.
func (AuthResponseValidationError) Reason ¶
func (e AuthResponseValidationError) Reason() string
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 ¶
func (m AuthenticateRequestMultiError) Error() string
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 ¶
func (e AuthenticateRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthenticateRequestValidationError) Error ¶
func (e AuthenticateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthenticateRequestValidationError) ErrorName ¶
func (e AuthenticateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthenticateRequestValidationError) Field ¶
func (e AuthenticateRequestValidationError) Field() string
Field function returns field value.
func (AuthenticateRequestValidationError) Key ¶
func (e AuthenticateRequestValidationError) Key() bool
Key function returns key value.
func (AuthenticateRequestValidationError) Reason ¶
func (e AuthenticateRequestValidationError) Reason() string
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 ¶
func (in *AuthenticateResponse) DeepCopy() *AuthenticateResponse
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 ¶
func (m AuthenticateResponseMultiError) Error() string
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 ¶
func (e AuthenticateResponseValidationError) Cause() error
Cause function returns cause value.
func (AuthenticateResponseValidationError) Error ¶
func (e AuthenticateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AuthenticateResponseValidationError) ErrorName ¶
func (e AuthenticateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AuthenticateResponseValidationError) Field ¶
func (e AuthenticateResponseValidationError) Field() string
Field function returns field value.
func (AuthenticateResponseValidationError) Key ¶
func (e AuthenticateResponseValidationError) Key() bool
Key function returns key value.
func (AuthenticateResponseValidationError) Reason ¶
func (e AuthenticateResponseValidationError) Reason() string
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 ¶
func (m AuthorizeRequestMultiError) Error() string
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 ¶
func (e AuthorizeRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthorizeRequestValidationError) Error ¶
func (e AuthorizeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthorizeRequestValidationError) ErrorName ¶
func (e AuthorizeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthorizeRequestValidationError) Field ¶
func (e AuthorizeRequestValidationError) Field() string
Field function returns field value.
func (AuthorizeRequestValidationError) Key ¶
func (e AuthorizeRequestValidationError) Key() bool
Key function returns key value.
func (AuthorizeRequestValidationError) Reason ¶
func (e AuthorizeRequestValidationError) Reason() string
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 ¶
func (m AuthorizeResponseMultiError) Error() string
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 ¶
func (e AuthorizeResponseValidationError) Cause() error
Cause function returns cause value.
func (AuthorizeResponseValidationError) Error ¶
func (e AuthorizeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AuthorizeResponseValidationError) ErrorName ¶
func (e AuthorizeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AuthorizeResponseValidationError) Field ¶
func (e AuthorizeResponseValidationError) Field() string
Field function returns field value.
func (AuthorizeResponseValidationError) Key ¶
func (e AuthorizeResponseValidationError) Key() bool
Key function returns key value.
func (AuthorizeResponseValidationError) Reason ¶
func (e AuthorizeResponseValidationError) Reason() string
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 ¶
func (m CreateSecretRequestMultiError) Error() string
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 ¶
func (e CreateSecretRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateSecretRequestValidationError) Error ¶
func (e CreateSecretRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateSecretRequestValidationError) ErrorName ¶
func (e CreateSecretRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateSecretRequestValidationError) Field ¶
func (e CreateSecretRequestValidationError) Field() string
Field function returns field value.
func (CreateSecretRequestValidationError) Key ¶
func (e CreateSecretRequestValidationError) Key() bool
Key function returns key value.
func (CreateSecretRequestValidationError) Reason ¶
func (e CreateSecretRequestValidationError) Reason() string
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 ¶
func (in *CreateSecretResponse) DeepCopy() *CreateSecretResponse
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 ¶
func (m CreateSecretResponseMultiError) Error() string
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 ¶
func (e CreateSecretResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateSecretResponseValidationError) Error ¶
func (e CreateSecretResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateSecretResponseValidationError) ErrorName ¶
func (e CreateSecretResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateSecretResponseValidationError) Field ¶
func (e CreateSecretResponseValidationError) Field() string
Field function returns field value.
func (CreateSecretResponseValidationError) Key ¶
func (e CreateSecretResponseValidationError) Key() bool
Key function returns key value.
func (CreateSecretResponseValidationError) Reason ¶
func (e CreateSecretResponseValidationError) Reason() string
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 ¶
func (m CreateUserRequestMultiError) Error() string
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 ¶
func (e CreateUserRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateUserRequestValidationError) Error ¶
func (e CreateUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserRequestValidationError) ErrorName ¶
func (e CreateUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserRequestValidationError) Field ¶
func (e CreateUserRequestValidationError) Field() string
Field function returns field value.
func (CreateUserRequestValidationError) Key ¶
func (e CreateUserRequestValidationError) Key() bool
Key function returns key value.
func (CreateUserRequestValidationError) Reason ¶
func (e CreateUserRequestValidationError) Reason() string
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 ¶
func (m CreateUserResponseMultiError) Error() string
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 ¶
func (e CreateUserResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateUserResponseValidationError) Error ¶
func (e CreateUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserResponseValidationError) ErrorName ¶
func (e CreateUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserResponseValidationError) Field ¶
func (e CreateUserResponseValidationError) Field() string
Field function returns field value.
func (CreateUserResponseValidationError) Key ¶
func (e CreateUserResponseValidationError) Key() bool
Key function returns key value.
func (CreateUserResponseValidationError) Reason ¶
func (e CreateUserResponseValidationError) Reason() string
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 ¶
func (m DeleteSecretRequestMultiError) Error() string
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 ¶
func (e DeleteSecretRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteSecretRequestValidationError) Error ¶
func (e DeleteSecretRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteSecretRequestValidationError) ErrorName ¶
func (e DeleteSecretRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteSecretRequestValidationError) Field ¶
func (e DeleteSecretRequestValidationError) Field() string
Field function returns field value.
func (DeleteSecretRequestValidationError) Key ¶
func (e DeleteSecretRequestValidationError) Key() bool
Key function returns key value.
func (DeleteSecretRequestValidationError) Reason ¶
func (e DeleteSecretRequestValidationError) Reason() string
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 ¶
func (in *DeleteSecretResponse) DeepCopy() *DeleteSecretResponse
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 ¶
func (m DeleteSecretResponseMultiError) Error() string
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 ¶
func (e DeleteSecretResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteSecretResponseValidationError) Error ¶
func (e DeleteSecretResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteSecretResponseValidationError) ErrorName ¶
func (e DeleteSecretResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteSecretResponseValidationError) Field ¶
func (e DeleteSecretResponseValidationError) Field() string
Field function returns field value.
func (DeleteSecretResponseValidationError) Key ¶
func (e DeleteSecretResponseValidationError) Key() bool
Key function returns key value.
func (DeleteSecretResponseValidationError) Reason ¶
func (e DeleteSecretResponseValidationError) Reason() string
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 ¶
func (m DeleteUserRequestMultiError) Error() string
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 ¶
func (e DeleteUserRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserRequestValidationError) Error ¶
func (e DeleteUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserRequestValidationError) ErrorName ¶
func (e DeleteUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserRequestValidationError) Field ¶
func (e DeleteUserRequestValidationError) Field() string
Field function returns field value.
func (DeleteUserRequestValidationError) Key ¶
func (e DeleteUserRequestValidationError) Key() bool
Key function returns key value.
func (DeleteUserRequestValidationError) Reason ¶
func (e DeleteUserRequestValidationError) Reason() string
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 ¶
func (m DeleteUserResponseMultiError) Error() string
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 ¶
func (e DeleteUserResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserResponseValidationError) Error ¶
func (e DeleteUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserResponseValidationError) ErrorName ¶
func (e DeleteUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserResponseValidationError) Field ¶
func (e DeleteUserResponseValidationError) Field() string
Field function returns field value.
func (DeleteUserResponseValidationError) Key ¶
func (e DeleteUserResponseValidationError) Key() bool
Key function returns key value.
func (DeleteUserResponseValidationError) Reason ¶
func (e DeleteUserResponseValidationError) Reason() string
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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (ErrorReason) Type() protoreflect.EnumType
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 ¶
func (m GetSecretRequestMultiError) Error() string
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 ¶
func (e GetSecretRequestValidationError) Cause() error
Cause function returns cause value.
func (GetSecretRequestValidationError) Error ¶
func (e GetSecretRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetSecretRequestValidationError) ErrorName ¶
func (e GetSecretRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetSecretRequestValidationError) Field ¶
func (e GetSecretRequestValidationError) Field() string
Field function returns field value.
func (GetSecretRequestValidationError) Key ¶
func (e GetSecretRequestValidationError) Key() bool
Key function returns key value.
func (GetSecretRequestValidationError) Reason ¶
func (e GetSecretRequestValidationError) Reason() string
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 ¶
func (m GetSecretResponseMultiError) Error() string
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 ¶
func (e GetSecretResponseValidationError) Cause() error
Cause function returns cause value.
func (GetSecretResponseValidationError) Error ¶
func (e GetSecretResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetSecretResponseValidationError) ErrorName ¶
func (e GetSecretResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetSecretResponseValidationError) Field ¶
func (e GetSecretResponseValidationError) Field() string
Field function returns field value.
func (GetSecretResponseValidationError) Key ¶
func (e GetSecretResponseValidationError) Key() bool
Key function returns key value.
func (GetSecretResponseValidationError) Reason ¶
func (e GetSecretResponseValidationError) Reason() string
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 ¶
func (e GetUserRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserRequestValidationError) Error ¶
func (e GetUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserRequestValidationError) ErrorName ¶
func (e GetUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserRequestValidationError) Field ¶
func (e GetUserRequestValidationError) Field() string
Field function returns field value.
func (GetUserRequestValidationError) Key ¶
func (e GetUserRequestValidationError) Key() bool
Key function returns key value.
func (GetUserRequestValidationError) Reason ¶
func (e GetUserRequestValidationError) Reason() string
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 ¶
func (m GetUserResponseMultiError) Error() string
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 ¶
func (e GetUserResponseValidationError) Cause() error
Cause function returns cause value.
func (GetUserResponseValidationError) Error ¶
func (e GetUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserResponseValidationError) ErrorName ¶
func (e GetUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserResponseValidationError) Field ¶
func (e GetUserResponseValidationError) Field() string
Field function returns field value.
func (GetUserResponseValidationError) Key ¶
func (e GetUserResponseValidationError) Key() bool
Key function returns key value.
func (GetUserResponseValidationError) Reason ¶
func (e GetUserResponseValidationError) Reason() string
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 ¶
func (m ListSecretRequestMultiError) Error() string
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 ¶
func (e ListSecretRequestValidationError) Cause() error
Cause function returns cause value.
func (ListSecretRequestValidationError) Error ¶
func (e ListSecretRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListSecretRequestValidationError) ErrorName ¶
func (e ListSecretRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListSecretRequestValidationError) Field ¶
func (e ListSecretRequestValidationError) Field() string
Field function returns field value.
func (ListSecretRequestValidationError) Key ¶
func (e ListSecretRequestValidationError) Key() bool
Key function returns key value.
func (ListSecretRequestValidationError) Reason ¶
func (e ListSecretRequestValidationError) Reason() string
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 ¶
func (m ListSecretResponseMultiError) Error() string
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 ¶
func (e ListSecretResponseValidationError) Cause() error
Cause function returns cause value.
func (ListSecretResponseValidationError) Error ¶
func (e ListSecretResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListSecretResponseValidationError) ErrorName ¶
func (e ListSecretResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListSecretResponseValidationError) Field ¶
func (e ListSecretResponseValidationError) Field() string
Field function returns field value.
func (ListSecretResponseValidationError) Key ¶
func (e ListSecretResponseValidationError) Key() bool
Key function returns key value.
func (ListSecretResponseValidationError) Reason ¶
func (e ListSecretResponseValidationError) Reason() string
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 ¶
func (m ListUserRequestMultiError) Error() string
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 ¶
func (e ListUserRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUserRequestValidationError) Error ¶
func (e ListUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserRequestValidationError) ErrorName ¶
func (e ListUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserRequestValidationError) Field ¶
func (e ListUserRequestValidationError) Field() string
Field function returns field value.
func (ListUserRequestValidationError) Key ¶
func (e ListUserRequestValidationError) Key() bool
Key function returns key value.
func (ListUserRequestValidationError) Reason ¶
func (e ListUserRequestValidationError) Reason() string
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 ¶
func (m ListUserResponseMultiError) Error() string
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 ¶
func (e ListUserResponseValidationError) Cause() error
Cause function returns cause value.
func (ListUserResponseValidationError) Error ¶
func (e ListUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserResponseValidationError) ErrorName ¶
func (e ListUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserResponseValidationError) Field ¶
func (e ListUserResponseValidationError) Field() string
Field function returns field value.
func (ListUserResponseValidationError) Key ¶
func (e ListUserResponseValidationError) Key() bool
Key function returns key value.
func (ListUserResponseValidationError) Reason ¶
func (e ListUserResponseValidationError) Reason() string
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 ¶
func (e LoginReplyValidationError) Error() string
Error satisfies the builtin error interface
func (LoginReplyValidationError) ErrorName ¶
func (e LoginReplyValidationError) ErrorName() string
ErrorName returns error name.
func (LoginReplyValidationError) Field ¶
func (e LoginReplyValidationError) Field() string
Field function returns field value.
func (LoginReplyValidationError) Key ¶
func (e LoginReplyValidationError) Key() bool
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 ¶
func (e LoginRequestValidationError) Cause() error
Cause function returns cause value.
func (LoginRequestValidationError) Error ¶
func (e LoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LoginRequestValidationError) ErrorName ¶
func (e LoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LoginRequestValidationError) Field ¶
func (e LoginRequestValidationError) Field() string
Field function returns field value.
func (LoginRequestValidationError) Key ¶
func (e LoginRequestValidationError) Key() bool
Key function returns key value.
func (LoginRequestValidationError) Reason ¶
func (e LoginRequestValidationError) Reason() string
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 ¶
func (e LogoutRequestValidationError) Cause() error
Cause function returns cause value.
func (LogoutRequestValidationError) Error ¶
func (e LogoutRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LogoutRequestValidationError) ErrorName ¶
func (e LogoutRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LogoutRequestValidationError) Field ¶
func (e LogoutRequestValidationError) Field() string
Field function returns field value.
func (LogoutRequestValidationError) Key ¶
func (e LogoutRequestValidationError) Key() bool
Key function returns key value.
func (LogoutRequestValidationError) Reason ¶
func (e LogoutRequestValidationError) Reason() string
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 ¶
func (e LogoutResponseValidationError) Cause() error
Cause function returns cause value.
func (LogoutResponseValidationError) Error ¶
func (e LogoutResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LogoutResponseValidationError) ErrorName ¶
func (e LogoutResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LogoutResponseValidationError) Field ¶
func (e LogoutResponseValidationError) Field() string
Field function returns field value.
func (LogoutResponseValidationError) Key ¶
func (e LogoutResponseValidationError) Key() bool
Key function returns key value.
func (LogoutResponseValidationError) Reason ¶
func (e LogoutResponseValidationError) Reason() string
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 ¶
func (m RefreshTokenRequestMultiError) Error() string
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 ¶
func (e RefreshTokenRequestValidationError) Cause() error
Cause function returns cause value.
func (RefreshTokenRequestValidationError) Error ¶
func (e RefreshTokenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RefreshTokenRequestValidationError) ErrorName ¶
func (e RefreshTokenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RefreshTokenRequestValidationError) Field ¶
func (e RefreshTokenRequestValidationError) Field() string
Field function returns field value.
func (RefreshTokenRequestValidationError) Key ¶
func (e RefreshTokenRequestValidationError) Key() bool
Key function returns key value.
func (RefreshTokenRequestValidationError) Reason ¶
func (e RefreshTokenRequestValidationError) Reason() string
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 ¶
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 ¶
DeepCopyInto supports using Secret within kubernetes types, where deepcopy-gen is used.
func (*Secret) Descriptor
deprecated
func (*Secret) GetCreatedAt ¶
func (x *Secret) GetCreatedAt() *timestamppb.Timestamp
func (*Secret) GetDescription ¶
func (*Secret) GetExpires ¶
func (*Secret) GetSecretID ¶
func (*Secret) GetSecretKey ¶
func (*Secret) GetUpdatedAt ¶
func (x *Secret) GetUpdatedAt() *timestamppb.Timestamp
func (*Secret) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) ProtoReflect ¶
func (x *Secret) ProtoReflect() protoreflect.Message
func (*Secret) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*Secret) Validate ¶
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 ¶
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) Auth(context.Context, *AuthRequest) (*AuthResponse, error)
func (UnimplementedUserCenterServer) Authenticate ¶
func (UnimplementedUserCenterServer) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
func (UnimplementedUserCenterServer) Authorize ¶
func (UnimplementedUserCenterServer) Authorize(context.Context, *AuthorizeRequest) (*AuthorizeResponse, error)
func (UnimplementedUserCenterServer) CreateSecret ¶
func (UnimplementedUserCenterServer) CreateSecret(context.Context, *CreateSecretRequest) (*CreateSecretResponse, error)
func (UnimplementedUserCenterServer) CreateUser ¶
func (UnimplementedUserCenterServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedUserCenterServer) DeleteSecret ¶
func (UnimplementedUserCenterServer) DeleteSecret(context.Context, *DeleteSecretRequest) (*DeleteSecretResponse, error)
func (UnimplementedUserCenterServer) DeleteUser ¶
func (UnimplementedUserCenterServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
func (UnimplementedUserCenterServer) GetSecret ¶
func (UnimplementedUserCenterServer) GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error)
func (UnimplementedUserCenterServer) GetUser ¶
func (UnimplementedUserCenterServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedUserCenterServer) ListSecret ¶
func (UnimplementedUserCenterServer) ListSecret(context.Context, *ListSecretRequest) (*ListSecretResponse, error)
func (UnimplementedUserCenterServer) ListUser ¶
func (UnimplementedUserCenterServer) ListUser(context.Context, *ListUserRequest) (*ListUserResponse, error)
func (UnimplementedUserCenterServer) Login ¶
func (UnimplementedUserCenterServer) Login(context.Context, *LoginRequest) (*LoginReply, error)
func (UnimplementedUserCenterServer) Logout ¶
func (UnimplementedUserCenterServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
func (UnimplementedUserCenterServer) RefreshToken ¶
func (UnimplementedUserCenterServer) RefreshToken(context.Context, *RefreshTokenRequest) (*LoginReply, error)
func (UnimplementedUserCenterServer) UpdatePassword ¶
func (UnimplementedUserCenterServer) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
func (UnimplementedUserCenterServer) UpdateSecret ¶
func (UnimplementedUserCenterServer) UpdateSecret(context.Context, *UpdateSecretRequest) (*UpdateSecretResponse, error)
func (UnimplementedUserCenterServer) UpdateUser ¶
func (UnimplementedUserCenterServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
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 ¶
func (in *UpdatePasswordRequest) DeepCopy() *UpdatePasswordRequest
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 ¶
func (m UpdatePasswordRequestMultiError) Error() string
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 ¶
func (e UpdatePasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdatePasswordRequestValidationError) Error ¶
func (e UpdatePasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePasswordRequestValidationError) ErrorName ¶
func (e UpdatePasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePasswordRequestValidationError) Field ¶
func (e UpdatePasswordRequestValidationError) Field() string
Field function returns field value.
func (UpdatePasswordRequestValidationError) Key ¶
func (e UpdatePasswordRequestValidationError) Key() bool
Key function returns key value.
func (UpdatePasswordRequestValidationError) Reason ¶
func (e UpdatePasswordRequestValidationError) Reason() string
Reason function returns reason value.
type UpdatePasswordResponse ¶
type UpdatePasswordResponse struct {
// contains filtered or unexported fields
}
func (*UpdatePasswordResponse) DeepCopy ¶
func (in *UpdatePasswordResponse) DeepCopy() *UpdatePasswordResponse
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 ¶
func (m UpdatePasswordResponseMultiError) Error() string
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 ¶
func (e UpdatePasswordResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdatePasswordResponseValidationError) Error ¶
func (e UpdatePasswordResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePasswordResponseValidationError) ErrorName ¶
func (e UpdatePasswordResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePasswordResponseValidationError) Field ¶
func (e UpdatePasswordResponseValidationError) Field() string
Field function returns field value.
func (UpdatePasswordResponseValidationError) Key ¶
func (e UpdatePasswordResponseValidationError) Key() bool
Key function returns key value.
func (UpdatePasswordResponseValidationError) Reason ¶
func (e UpdatePasswordResponseValidationError) Reason() string
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 ¶
func (m UpdateSecretRequestMultiError) Error() string
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 ¶
func (e UpdateSecretRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateSecretRequestValidationError) Error ¶
func (e UpdateSecretRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateSecretRequestValidationError) ErrorName ¶
func (e UpdateSecretRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateSecretRequestValidationError) Field ¶
func (e UpdateSecretRequestValidationError) Field() string
Field function returns field value.
func (UpdateSecretRequestValidationError) Key ¶
func (e UpdateSecretRequestValidationError) Key() bool
Key function returns key value.
func (UpdateSecretRequestValidationError) Reason ¶
func (e UpdateSecretRequestValidationError) Reason() string
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 ¶
func (in *UpdateSecretResponse) DeepCopy() *UpdateSecretResponse
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 ¶
func (m UpdateSecretResponseMultiError) Error() string
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 ¶
func (e UpdateSecretResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateSecretResponseValidationError) Error ¶
func (e UpdateSecretResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateSecretResponseValidationError) ErrorName ¶
func (e UpdateSecretResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateSecretResponseValidationError) Field ¶
func (e UpdateSecretResponseValidationError) Field() string
Field function returns field value.
func (UpdateSecretResponseValidationError) Key ¶
func (e UpdateSecretResponseValidationError) Key() bool
Key function returns key value.
func (UpdateSecretResponseValidationError) Reason ¶
func (e UpdateSecretResponseValidationError) Reason() string
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 ¶
func (m UpdateUserRequestMultiError) Error() string
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 ¶
func (e UpdateUserRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserRequestValidationError) Error ¶
func (e UpdateUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserRequestValidationError) ErrorName ¶
func (e UpdateUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserRequestValidationError) Field ¶
func (e UpdateUserRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserRequestValidationError) Key ¶
func (e UpdateUserRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserRequestValidationError) Reason ¶
func (e UpdateUserRequestValidationError) Reason() string
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 ¶
func (m UpdateUserResponseMultiError) Error() string
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 ¶
func (e UpdateUserResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserResponseValidationError) Error ¶
func (e UpdateUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserResponseValidationError) ErrorName ¶
func (e UpdateUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserResponseValidationError) Field ¶
func (e UpdateUserResponseValidationError) Field() string
Field function returns field value.
func (UpdateUserResponseValidationError) Key ¶
func (e UpdateUserResponseValidationError) Key() bool
Key function returns key value.
func (UpdateUserResponseValidationError) Reason ¶
func (e UpdateUserResponseValidationError) Reason() string
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 ¶
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 ¶
DeepCopyInto supports using User within kubernetes types, where deepcopy-gen is used.
func (*User) Descriptor
deprecated
func (*User) GetCreatedAt ¶
func (x *User) GetCreatedAt() *timestamppb.Timestamp
func (*User) GetNickname ¶
func (*User) GetPassword ¶
func (*User) GetSecrets ¶
func (*User) GetUpdatedAt ¶
func (x *User) GetUpdatedAt() *timestamppb.Timestamp
func (*User) GetUsername ¶
func (*User) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*User) Validate ¶
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 ¶
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 (c *UserCenterHTTPClientImpl) Auth(ctx context.Context, in *AuthRequest, opts ...http.CallOption) (*AuthResponse, error)
func (*UserCenterHTTPClientImpl) Authenticate ¶
func (c *UserCenterHTTPClientImpl) Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...http.CallOption) (*AuthenticateResponse, error)
func (*UserCenterHTTPClientImpl) Authorize ¶
func (c *UserCenterHTTPClientImpl) Authorize(ctx context.Context, in *AuthorizeRequest, opts ...http.CallOption) (*AuthorizeResponse, error)
func (*UserCenterHTTPClientImpl) CreateSecret ¶
func (c *UserCenterHTTPClientImpl) CreateSecret(ctx context.Context, in *CreateSecretRequest, opts ...http.CallOption) (*CreateSecretResponse, error)
func (*UserCenterHTTPClientImpl) CreateUser ¶
func (c *UserCenterHTTPClientImpl) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...http.CallOption) (*CreateUserResponse, error)
func (*UserCenterHTTPClientImpl) DeleteSecret ¶
func (c *UserCenterHTTPClientImpl) DeleteSecret(ctx context.Context, in *DeleteSecretRequest, opts ...http.CallOption) (*DeleteSecretResponse, error)
func (*UserCenterHTTPClientImpl) DeleteUser ¶
func (c *UserCenterHTTPClientImpl) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...http.CallOption) (*DeleteUserResponse, error)
func (*UserCenterHTTPClientImpl) GetSecret ¶
func (c *UserCenterHTTPClientImpl) GetSecret(ctx context.Context, in *GetSecretRequest, opts ...http.CallOption) (*GetSecretResponse, error)
func (*UserCenterHTTPClientImpl) GetUser ¶
func (c *UserCenterHTTPClientImpl) GetUser(ctx context.Context, in *GetUserRequest, opts ...http.CallOption) (*GetUserResponse, error)
func (*UserCenterHTTPClientImpl) ListSecret ¶
func (c *UserCenterHTTPClientImpl) ListSecret(ctx context.Context, in *ListSecretRequest, opts ...http.CallOption) (*ListSecretResponse, error)
func (*UserCenterHTTPClientImpl) ListUser ¶
func (c *UserCenterHTTPClientImpl) ListUser(ctx context.Context, in *ListUserRequest, opts ...http.CallOption) (*ListUserResponse, error)
func (*UserCenterHTTPClientImpl) Login ¶
func (c *UserCenterHTTPClientImpl) Login(ctx context.Context, in *LoginRequest, opts ...http.CallOption) (*LoginReply, error)
func (*UserCenterHTTPClientImpl) Logout ¶
func (c *UserCenterHTTPClientImpl) Logout(ctx context.Context, in *LogoutRequest, opts ...http.CallOption) (*LogoutResponse, error)
func (*UserCenterHTTPClientImpl) RefreshToken ¶
func (c *UserCenterHTTPClientImpl) RefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...http.CallOption) (*LoginReply, error)
func (*UserCenterHTTPClientImpl) UpdatePassword ¶
func (c *UserCenterHTTPClientImpl) UpdatePassword(ctx context.Context, in *UpdatePasswordRequest, opts ...http.CallOption) (*UpdatePasswordResponse, error)
func (*UserCenterHTTPClientImpl) UpdateSecret ¶
func (c *UserCenterHTTPClientImpl) UpdateSecret(ctx context.Context, in *UpdateSecretRequest, opts ...http.CallOption) (*UpdateSecretResponse, error)
func (*UserCenterHTTPClientImpl) UpdateUser ¶
func (c *UserCenterHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*UpdateUserResponse, error)
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.
Source Files
¶
- auth.pb.defaults.go
- auth.pb.go
- auth.pb.json.go
- auth.pb.validate.go
- auth_deepcopy.pb.go
- doc.go
- errors.pb.go
- errors.pb.validate.go
- errors_errors.pb.go
- secret.pb.defaults.go
- secret.pb.go
- secret.pb.json.go
- secret.pb.validate.go
- secret_deepcopy.pb.go
- user.pb.defaults.go
- user.pb.go
- user.pb.json.go
- user.pb.validate.go
- user_deepcopy.pb.go
- usercenter.pb.go
- usercenter.pb.validate.go
- usercenter_grpc.pb.go
- usercenter_http.pb.go