Documentation ¶
Overview ¶
Package n13t_idm_v0 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterIdentityManagementHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterIdentityManagementHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IdentityManagementClient) error
- func RegisterIdentityManagementHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterIdentityManagementHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IdentityManagementServer) error
- func RegisterIdentityManagementServer(s *grpc.Server, srv IdentityManagementServer)
- type ConcatReply
- func (*ConcatReply) Descriptor() ([]byte, []int)
- func (m *ConcatReply) GetErr() string
- func (m *ConcatReply) GetV() string
- func (*ConcatReply) ProtoMessage()
- func (m *ConcatReply) Reset()
- func (m *ConcatReply) String() string
- func (m *ConcatReply) Validate() error
- func (m *ConcatReply) XXX_DiscardUnknown()
- func (m *ConcatReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConcatReply) XXX_Merge(src proto.Message)
- func (m *ConcatReply) XXX_Size() int
- func (m *ConcatReply) XXX_Unmarshal(b []byte) error
- type ConcatReplyValidationError
- func (e ConcatReplyValidationError) Cause() error
- func (e ConcatReplyValidationError) Error() string
- func (e ConcatReplyValidationError) ErrorName() string
- func (e ConcatReplyValidationError) Field() string
- func (e ConcatReplyValidationError) Key() bool
- func (e ConcatReplyValidationError) Reason() string
- type ConcatRequest
- func (*ConcatRequest) Descriptor() ([]byte, []int)
- func (m *ConcatRequest) GetA() string
- func (m *ConcatRequest) GetB() string
- func (*ConcatRequest) ProtoMessage()
- func (m *ConcatRequest) Reset()
- func (m *ConcatRequest) String() string
- func (m *ConcatRequest) Validate() error
- func (m *ConcatRequest) XXX_DiscardUnknown()
- func (m *ConcatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConcatRequest) XXX_Merge(src proto.Message)
- func (m *ConcatRequest) XXX_Size() int
- func (m *ConcatRequest) XXX_Unmarshal(b []byte) error
- type ConcatRequestValidationError
- func (e ConcatRequestValidationError) Cause() error
- func (e ConcatRequestValidationError) Error() string
- func (e ConcatRequestValidationError) ErrorName() string
- func (e ConcatRequestValidationError) Field() string
- func (e ConcatRequestValidationError) Key() bool
- func (e ConcatRequestValidationError) Reason() string
- type HealthCheckRequest
- func (*HealthCheckRequest) Descriptor() ([]byte, []int)
- func (m *HealthCheckRequest) GetService() string
- func (*HealthCheckRequest) ProtoMessage()
- func (m *HealthCheckRequest) Reset()
- func (m *HealthCheckRequest) String() string
- func (m *HealthCheckRequest) Validate() error
- func (m *HealthCheckRequest) XXX_DiscardUnknown()
- func (m *HealthCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HealthCheckRequest) XXX_Merge(src proto.Message)
- func (m *HealthCheckRequest) XXX_Size() int
- func (m *HealthCheckRequest) XXX_Unmarshal(b []byte) error
- type HealthCheckRequestValidationError
- func (e HealthCheckRequestValidationError) Cause() error
- func (e HealthCheckRequestValidationError) Error() string
- func (e HealthCheckRequestValidationError) ErrorName() string
- func (e HealthCheckRequestValidationError) Field() string
- func (e HealthCheckRequestValidationError) Key() bool
- func (e HealthCheckRequestValidationError) Reason() string
- type HealthCheckResponse
- func (*HealthCheckResponse) Descriptor() ([]byte, []int)
- func (m *HealthCheckResponse) GetStatus() HealthCheckResponse_ServingStatus
- func (*HealthCheckResponse) ProtoMessage()
- func (m *HealthCheckResponse) Reset()
- func (m *HealthCheckResponse) String() string
- func (m *HealthCheckResponse) Validate() error
- func (m *HealthCheckResponse) XXX_DiscardUnknown()
- func (m *HealthCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HealthCheckResponse) XXX_Merge(src proto.Message)
- func (m *HealthCheckResponse) XXX_Size() int
- func (m *HealthCheckResponse) XXX_Unmarshal(b []byte) error
- type HealthCheckResponseValidationError
- func (e HealthCheckResponseValidationError) Cause() error
- func (e HealthCheckResponseValidationError) Error() string
- func (e HealthCheckResponseValidationError) ErrorName() string
- func (e HealthCheckResponseValidationError) Field() string
- func (e HealthCheckResponseValidationError) Key() bool
- func (e HealthCheckResponseValidationError) Reason() string
- type HealthCheckResponse_ServingStatus
- type IdentityManagementClient
- type IdentityManagementServer
- type IdentityManagement_ListUsersStreamClient
- type IdentityManagement_ListUsersStreamServer
- type IdentityManagement_WatchClient
- type IdentityManagement_WatchServer
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)
- func (m *ListUsersRequest) GetSearch() string
- func (*ListUsersRequest) ProtoMessage()
- func (m *ListUsersRequest) Reset()
- func (m *ListUsersRequest) String() string
- func (m *ListUsersRequest) Validate() error
- func (m *ListUsersRequest) XXX_DiscardUnknown()
- func (m *ListUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListUsersRequest) XXX_Merge(src proto.Message)
- func (m *ListUsersRequest) XXX_Size() int
- func (m *ListUsersRequest) XXX_Unmarshal(b []byte) error
- type ListUsersRequestValidationError
- func (e ListUsersRequestValidationError) Cause() error
- func (e ListUsersRequestValidationError) Error() string
- func (e ListUsersRequestValidationError) ErrorName() string
- func (e ListUsersRequestValidationError) Field() string
- func (e ListUsersRequestValidationError) Key() bool
- func (e ListUsersRequestValidationError) Reason() string
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)
- func (m *SearchRequest) GetPageNumber() int32
- func (m *SearchRequest) GetQuery() string
- func (m *SearchRequest) GetResultPerPage() int32
- func (*SearchRequest) ProtoMessage()
- func (m *SearchRequest) Reset()
- func (m *SearchRequest) String() string
- func (m *SearchRequest) Validate() error
- func (m *SearchRequest) XXX_DiscardUnknown()
- func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchRequest) XXX_Merge(src proto.Message)
- func (m *SearchRequest) XXX_Size() int
- func (m *SearchRequest) XXX_Unmarshal(b []byte) error
- type SearchRequestValidationError
- func (e SearchRequestValidationError) Cause() error
- func (e SearchRequestValidationError) Error() string
- func (e SearchRequestValidationError) ErrorName() string
- func (e SearchRequestValidationError) Field() string
- func (e SearchRequestValidationError) Key() bool
- func (e SearchRequestValidationError) Reason() string
- type SumReply
- func (*SumReply) Descriptor() ([]byte, []int)
- func (m *SumReply) GetErr() string
- func (m *SumReply) GetV() int64
- func (*SumReply) ProtoMessage()
- func (m *SumReply) Reset()
- func (m *SumReply) String() string
- func (m *SumReply) Validate() error
- func (m *SumReply) XXX_DiscardUnknown()
- func (m *SumReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SumReply) XXX_Merge(src proto.Message)
- func (m *SumReply) XXX_Size() int
- func (m *SumReply) XXX_Unmarshal(b []byte) error
- type SumReplyValidationError
- type SumRequest
- func (*SumRequest) Descriptor() ([]byte, []int)
- func (m *SumRequest) GetA() int64
- func (m *SumRequest) GetB() int64
- func (*SumRequest) ProtoMessage()
- func (m *SumRequest) Reset()
- func (m *SumRequest) String() string
- func (m *SumRequest) Validate() error
- func (m *SumRequest) XXX_DiscardUnknown()
- func (m *SumRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SumRequest) XXX_Merge(src proto.Message)
- func (m *SumRequest) XXX_Size() int
- func (m *SumRequest) XXX_Unmarshal(b []byte) error
- type SumRequestValidationError
- type UnimplementedIdentityManagementServer
- func (*UnimplementedIdentityManagementServer) Check(ctx context.Context, req *HealthCheckRequest) (*HealthCheckResponse, error)
- func (*UnimplementedIdentityManagementServer) Concat(ctx context.Context, req *ConcatRequest) (*ConcatReply, error)
- func (*UnimplementedIdentityManagementServer) CreateUser(ctx context.Context, req *User) (*empty.Empty, error)
- func (*UnimplementedIdentityManagementServer) DeleteUser(ctx context.Context, req *User) (*empty.Empty, error)
- func (*UnimplementedIdentityManagementServer) ListUsersStream(req *ListUsersRequest, srv IdentityManagement_ListUsersStreamServer) error
- func (*UnimplementedIdentityManagementServer) Sum(ctx context.Context, req *SumRequest) (*SumReply, error)
- func (*UnimplementedIdentityManagementServer) UpdateUser(ctx context.Context, req *User) (*empty.Empty, error)
- func (*UnimplementedIdentityManagementServer) Watch(req *HealthCheckRequest, srv IdentityManagement_WatchServer) error
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetAddress() *User_Address
- func (m *User) GetAttributes() map[string]*any.Any
- func (m *User) GetBirthdate() string
- func (m *User) GetEmail() string
- func (m *User) GetEmailVerified() bool
- func (m *User) GetEnabled() bool
- func (m *User) GetFamilyName() string
- func (m *User) GetGender() string
- func (m *User) GetGivenName() string
- func (m *User) GetLocale() string
- func (m *User) GetMiddleName() string
- func (m *User) GetName() string
- func (m *User) GetNickname() string
- func (m *User) GetPhoneNumber() string
- func (m *User) GetPhoneNumberVerified() bool
- func (m *User) GetPicture() string
- func (m *User) GetPreferredUsername() string
- func (m *User) GetProfile() string
- func (m *User) GetSub() string
- func (m *User) GetUpdatedAt() *timestamp.Timestamp
- func (m *User) GetWebsite() string
- func (m *User) GetZoneinfo() string
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) Validate() error
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
- type UserValidationError
- type User_Address
- func (*User_Address) Descriptor() ([]byte, []int)
- func (m *User_Address) GetCountry() string
- func (m *User_Address) GetFormatted() string
- func (m *User_Address) GetLocality() string
- func (m *User_Address) GetPostalCode() string
- func (m *User_Address) GetRegion() string
- func (m *User_Address) GetStreetAddress() string
- func (*User_Address) ProtoMessage()
- func (m *User_Address) Reset()
- func (m *User_Address) String() string
- func (m *User_Address) Validate() error
- func (m *User_Address) XXX_DiscardUnknown()
- func (m *User_Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User_Address) XXX_Merge(src proto.Message)
- func (m *User_Address) XXX_Size() int
- func (m *User_Address) XXX_Unmarshal(b []byte) error
- type User_AddressValidationError
- func (e User_AddressValidationError) Cause() error
- func (e User_AddressValidationError) Error() string
- func (e User_AddressValidationError) ErrorName() string
- func (e User_AddressValidationError) Field() string
- func (e User_AddressValidationError) Key() bool
- func (e User_AddressValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var HealthCheckResponse_ServingStatus_name = map[int32]string{
0: "UNKNOWN",
1: "SERVING",
2: "NOT_SERVING",
}
var HealthCheckResponse_ServingStatus_value = map[string]int32{
"UNKNOWN": 0,
"SERVING": 1,
"NOT_SERVING": 2,
}
Functions ¶
func RegisterIdentityManagementHandler ¶
func RegisterIdentityManagementHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterIdentityManagementHandler registers the http handlers for service IdentityManagement to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterIdentityManagementHandlerClient ¶
func RegisterIdentityManagementHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IdentityManagementClient) error
RegisterIdentityManagementHandlerClient registers the http handlers for service IdentityManagement to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IdentityManagementClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IdentityManagementClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "IdentityManagementClient" to call the correct interceptors.
func RegisterIdentityManagementHandlerFromEndpoint ¶
func RegisterIdentityManagementHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterIdentityManagementHandlerFromEndpoint is same as RegisterIdentityManagementHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterIdentityManagementHandlerServer ¶
func RegisterIdentityManagementHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IdentityManagementServer) error
RegisterIdentityManagementHandlerServer registers the http handlers for service IdentityManagement to "mux". UnaryRPC :call IdentityManagementServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterIdentityManagementServer ¶
func RegisterIdentityManagementServer(s *grpc.Server, srv IdentityManagementServer)
Types ¶
type ConcatReply ¶
type ConcatReply struct { V string `protobuf:"bytes,1,opt,name=v,proto3" json:"v,omitempty"` Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The Concat response contains the result of the concatenation.
func (*ConcatReply) Descriptor ¶
func (*ConcatReply) Descriptor() ([]byte, []int)
func (*ConcatReply) GetErr ¶
func (m *ConcatReply) GetErr() string
func (*ConcatReply) GetV ¶
func (m *ConcatReply) GetV() string
func (*ConcatReply) ProtoMessage ¶
func (*ConcatReply) ProtoMessage()
func (*ConcatReply) Reset ¶
func (m *ConcatReply) Reset()
func (*ConcatReply) String ¶
func (m *ConcatReply) String() string
func (*ConcatReply) Validate ¶
func (m *ConcatReply) Validate() error
Validate checks the field values on ConcatReply with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ConcatReply) XXX_DiscardUnknown ¶
func (m *ConcatReply) XXX_DiscardUnknown()
func (*ConcatReply) XXX_Marshal ¶
func (m *ConcatReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConcatReply) XXX_Merge ¶
func (m *ConcatReply) XXX_Merge(src proto.Message)
func (*ConcatReply) XXX_Size ¶
func (m *ConcatReply) XXX_Size() int
func (*ConcatReply) XXX_Unmarshal ¶
func (m *ConcatReply) XXX_Unmarshal(b []byte) error
type ConcatReplyValidationError ¶
type ConcatReplyValidationError struct {
// contains filtered or unexported fields
}
ConcatReplyValidationError is the validation error returned by ConcatReply.Validate if the designated constraints aren't met.
func (ConcatReplyValidationError) Cause ¶
func (e ConcatReplyValidationError) Cause() error
Cause function returns cause value.
func (ConcatReplyValidationError) Error ¶
func (e ConcatReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ConcatReplyValidationError) ErrorName ¶
func (e ConcatReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ConcatReplyValidationError) Field ¶
func (e ConcatReplyValidationError) Field() string
Field function returns field value.
func (ConcatReplyValidationError) Key ¶
func (e ConcatReplyValidationError) Key() bool
Key function returns key value.
func (ConcatReplyValidationError) Reason ¶
func (e ConcatReplyValidationError) Reason() string
Reason function returns reason value.
type ConcatRequest ¶
type ConcatRequest struct { A string `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` B string `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The Concat request contains two parameters.
func (*ConcatRequest) Descriptor ¶
func (*ConcatRequest) Descriptor() ([]byte, []int)
func (*ConcatRequest) GetA ¶
func (m *ConcatRequest) GetA() string
func (*ConcatRequest) GetB ¶
func (m *ConcatRequest) GetB() string
func (*ConcatRequest) ProtoMessage ¶
func (*ConcatRequest) ProtoMessage()
func (*ConcatRequest) Reset ¶
func (m *ConcatRequest) Reset()
func (*ConcatRequest) String ¶
func (m *ConcatRequest) String() string
func (*ConcatRequest) Validate ¶
func (m *ConcatRequest) Validate() error
Validate checks the field values on ConcatRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ConcatRequest) XXX_DiscardUnknown ¶
func (m *ConcatRequest) XXX_DiscardUnknown()
func (*ConcatRequest) XXX_Marshal ¶
func (m *ConcatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConcatRequest) XXX_Merge ¶
func (m *ConcatRequest) XXX_Merge(src proto.Message)
func (*ConcatRequest) XXX_Size ¶
func (m *ConcatRequest) XXX_Size() int
func (*ConcatRequest) XXX_Unmarshal ¶
func (m *ConcatRequest) XXX_Unmarshal(b []byte) error
type ConcatRequestValidationError ¶
type ConcatRequestValidationError struct {
// contains filtered or unexported fields
}
ConcatRequestValidationError is the validation error returned by ConcatRequest.Validate if the designated constraints aren't met.
func (ConcatRequestValidationError) Cause ¶
func (e ConcatRequestValidationError) Cause() error
Cause function returns cause value.
func (ConcatRequestValidationError) Error ¶
func (e ConcatRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ConcatRequestValidationError) ErrorName ¶
func (e ConcatRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ConcatRequestValidationError) Field ¶
func (e ConcatRequestValidationError) Field() string
Field function returns field value.
func (ConcatRequestValidationError) Key ¶
func (e ConcatRequestValidationError) Key() bool
Key function returns key value.
func (ConcatRequestValidationError) Reason ¶
func (e ConcatRequestValidationError) Reason() string
Reason function returns reason value.
type HealthCheckRequest ¶
type HealthCheckRequest struct { Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthCheckRequest) Descriptor ¶
func (*HealthCheckRequest) Descriptor() ([]byte, []int)
func (*HealthCheckRequest) GetService ¶
func (m *HealthCheckRequest) GetService() string
func (*HealthCheckRequest) ProtoMessage ¶
func (*HealthCheckRequest) ProtoMessage()
func (*HealthCheckRequest) Reset ¶
func (m *HealthCheckRequest) Reset()
func (*HealthCheckRequest) String ¶
func (m *HealthCheckRequest) String() string
func (*HealthCheckRequest) Validate ¶
func (m *HealthCheckRequest) Validate() error
Validate checks the field values on HealthCheckRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HealthCheckRequest) XXX_DiscardUnknown ¶
func (m *HealthCheckRequest) XXX_DiscardUnknown()
func (*HealthCheckRequest) XXX_Marshal ¶
func (m *HealthCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthCheckRequest) XXX_Merge ¶
func (m *HealthCheckRequest) XXX_Merge(src proto.Message)
func (*HealthCheckRequest) XXX_Size ¶
func (m *HealthCheckRequest) XXX_Size() int
func (*HealthCheckRequest) XXX_Unmarshal ¶
func (m *HealthCheckRequest) XXX_Unmarshal(b []byte) error
type HealthCheckRequestValidationError ¶
type HealthCheckRequestValidationError struct {
// contains filtered or unexported fields
}
HealthCheckRequestValidationError is the validation error returned by HealthCheckRequest.Validate if the designated constraints aren't met.
func (HealthCheckRequestValidationError) Cause ¶
func (e HealthCheckRequestValidationError) Cause() error
Cause function returns cause value.
func (HealthCheckRequestValidationError) Error ¶
func (e HealthCheckRequestValidationError) Error() string
Error satisfies the builtin error interface
func (HealthCheckRequestValidationError) ErrorName ¶
func (e HealthCheckRequestValidationError) ErrorName() string
ErrorName returns error name.
func (HealthCheckRequestValidationError) Field ¶
func (e HealthCheckRequestValidationError) Field() string
Field function returns field value.
func (HealthCheckRequestValidationError) Key ¶
func (e HealthCheckRequestValidationError) Key() bool
Key function returns key value.
func (HealthCheckRequestValidationError) Reason ¶
func (e HealthCheckRequestValidationError) Reason() string
Reason function returns reason value.
type HealthCheckResponse ¶
type HealthCheckResponse struct { Status HealthCheckResponse_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=n13t.idm.v0.HealthCheckResponse_ServingStatus" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthCheckResponse) Descriptor ¶
func (*HealthCheckResponse) Descriptor() ([]byte, []int)
func (*HealthCheckResponse) GetStatus ¶
func (m *HealthCheckResponse) GetStatus() HealthCheckResponse_ServingStatus
func (*HealthCheckResponse) ProtoMessage ¶
func (*HealthCheckResponse) ProtoMessage()
func (*HealthCheckResponse) Reset ¶
func (m *HealthCheckResponse) Reset()
func (*HealthCheckResponse) String ¶
func (m *HealthCheckResponse) String() string
func (*HealthCheckResponse) Validate ¶
func (m *HealthCheckResponse) Validate() error
Validate checks the field values on HealthCheckResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HealthCheckResponse) XXX_DiscardUnknown ¶
func (m *HealthCheckResponse) XXX_DiscardUnknown()
func (*HealthCheckResponse) XXX_Marshal ¶
func (m *HealthCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthCheckResponse) XXX_Merge ¶
func (m *HealthCheckResponse) XXX_Merge(src proto.Message)
func (*HealthCheckResponse) XXX_Size ¶
func (m *HealthCheckResponse) XXX_Size() int
func (*HealthCheckResponse) XXX_Unmarshal ¶
func (m *HealthCheckResponse) XXX_Unmarshal(b []byte) error
type HealthCheckResponseValidationError ¶
type HealthCheckResponseValidationError struct {
// contains filtered or unexported fields
}
HealthCheckResponseValidationError is the validation error returned by HealthCheckResponse.Validate if the designated constraints aren't met.
func (HealthCheckResponseValidationError) Cause ¶
func (e HealthCheckResponseValidationError) Cause() error
Cause function returns cause value.
func (HealthCheckResponseValidationError) Error ¶
func (e HealthCheckResponseValidationError) Error() string
Error satisfies the builtin error interface
func (HealthCheckResponseValidationError) ErrorName ¶
func (e HealthCheckResponseValidationError) ErrorName() string
ErrorName returns error name.
func (HealthCheckResponseValidationError) Field ¶
func (e HealthCheckResponseValidationError) Field() string
Field function returns field value.
func (HealthCheckResponseValidationError) Key ¶
func (e HealthCheckResponseValidationError) Key() bool
Key function returns key value.
func (HealthCheckResponseValidationError) Reason ¶
func (e HealthCheckResponseValidationError) Reason() string
Reason function returns reason value.
type HealthCheckResponse_ServingStatus ¶
type HealthCheckResponse_ServingStatus int32
const ( HealthCheckResponse_UNKNOWN HealthCheckResponse_ServingStatus = 0 HealthCheckResponse_SERVING HealthCheckResponse_ServingStatus = 1 HealthCheckResponse_NOT_SERVING HealthCheckResponse_ServingStatus = 2 )
func (HealthCheckResponse_ServingStatus) EnumDescriptor ¶
func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int)
func (HealthCheckResponse_ServingStatus) String ¶
func (x HealthCheckResponse_ServingStatus) String() string
type IdentityManagementClient ¶
type IdentityManagementClient interface { // Sums two integers. Sum(ctx context.Context, in *SumRequest, opts ...grpc.CallOption) (*SumReply, error) // Concatenates two strings Concat(ctx context.Context, in *ConcatRequest, opts ...grpc.CallOption) (*ConcatReply, error) CreateUser(ctx context.Context, in *User, opts ...grpc.CallOption) (*empty.Empty, error) /// the default rpc use for listing users ListUsersStream(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (IdentityManagement_ListUsersStreamClient, error) UpdateUser(ctx context.Context, in *User, opts ...grpc.CallOption) (*empty.Empty, error) DeleteUser(ctx context.Context, in *User, opts ...grpc.CallOption) (*empty.Empty, error) // https://github.com/grpc/grpc/blob/master/doc/health-checking.md Check(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error) Watch(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (IdentityManagement_WatchClient, error) }
IdentityManagementClient is the client API for IdentityManagement service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIdentityManagementClient ¶
func NewIdentityManagementClient(cc *grpc.ClientConn) IdentityManagementClient
type IdentityManagementServer ¶
type IdentityManagementServer interface { // Sums two integers. Sum(context.Context, *SumRequest) (*SumReply, error) // Concatenates two strings Concat(context.Context, *ConcatRequest) (*ConcatReply, error) CreateUser(context.Context, *User) (*empty.Empty, error) /// the default rpc use for listing users ListUsersStream(*ListUsersRequest, IdentityManagement_ListUsersStreamServer) error UpdateUser(context.Context, *User) (*empty.Empty, error) DeleteUser(context.Context, *User) (*empty.Empty, error) // https://github.com/grpc/grpc/blob/master/doc/health-checking.md Check(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error) Watch(*HealthCheckRequest, IdentityManagement_WatchServer) error }
IdentityManagementServer is the server API for IdentityManagement service.
type IdentityManagement_ListUsersStreamClient ¶
type IdentityManagement_ListUsersStreamClient interface { Recv() (*User, error) grpc.ClientStream }
type IdentityManagement_ListUsersStreamServer ¶
type IdentityManagement_ListUsersStreamServer interface { Send(*User) error grpc.ServerStream }
type IdentityManagement_WatchClient ¶
type IdentityManagement_WatchClient interface { Recv() (*HealthCheckResponse, error) grpc.ClientStream }
type IdentityManagement_WatchServer ¶
type IdentityManagement_WatchServer interface { Send(*HealthCheckResponse) error grpc.ServerStream }
type ListUsersRequest ¶
type ListUsersRequest struct { Search string `protobuf:"bytes,1,opt,name=search,proto3" json:"search,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListUsersRequest) Descriptor ¶
func (*ListUsersRequest) Descriptor() ([]byte, []int)
func (*ListUsersRequest) GetSearch ¶
func (m *ListUsersRequest) GetSearch() string
func (*ListUsersRequest) ProtoMessage ¶
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) Reset ¶
func (m *ListUsersRequest) Reset()
func (*ListUsersRequest) String ¶
func (m *ListUsersRequest) String() string
func (*ListUsersRequest) Validate ¶
func (m *ListUsersRequest) Validate() error
Validate checks the field values on ListUsersRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ListUsersRequest) XXX_DiscardUnknown ¶
func (m *ListUsersRequest) XXX_DiscardUnknown()
func (*ListUsersRequest) XXX_Marshal ¶
func (m *ListUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUsersRequest) XXX_Merge ¶
func (m *ListUsersRequest) XXX_Merge(src proto.Message)
func (*ListUsersRequest) XXX_Size ¶
func (m *ListUsersRequest) XXX_Size() int
func (*ListUsersRequest) XXX_Unmarshal ¶
func (m *ListUsersRequest) XXX_Unmarshal(b []byte) error
type ListUsersRequestValidationError ¶
type ListUsersRequestValidationError struct {
// contains filtered or unexported fields
}
ListUsersRequestValidationError is the validation error returned by ListUsersRequest.Validate if the designated constraints aren't met.
func (ListUsersRequestValidationError) Cause ¶
func (e ListUsersRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUsersRequestValidationError) Error ¶
func (e ListUsersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUsersRequestValidationError) ErrorName ¶
func (e ListUsersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUsersRequestValidationError) Field ¶
func (e ListUsersRequestValidationError) Field() string
Field function returns field value.
func (ListUsersRequestValidationError) Key ¶
func (e ListUsersRequestValidationError) Key() bool
Key function returns key value.
func (ListUsersRequestValidationError) Reason ¶
func (e ListUsersRequestValidationError) Reason() string
Reason function returns reason value.
type SearchRequest ¶
type SearchRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` PageNumber int32 `protobuf:"varint,2,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` ResultPerPage int32 `protobuf:"varint,3,opt,name=result_per_page,json=resultPerPage,proto3" json:"result_per_page,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchRequest) Descriptor ¶
func (*SearchRequest) Descriptor() ([]byte, []int)
func (*SearchRequest) GetPageNumber ¶
func (m *SearchRequest) GetPageNumber() int32
func (*SearchRequest) GetQuery ¶
func (m *SearchRequest) GetQuery() string
func (*SearchRequest) GetResultPerPage ¶
func (m *SearchRequest) GetResultPerPage() int32
func (*SearchRequest) ProtoMessage ¶
func (*SearchRequest) ProtoMessage()
func (*SearchRequest) Reset ¶
func (m *SearchRequest) Reset()
func (*SearchRequest) String ¶
func (m *SearchRequest) String() string
func (*SearchRequest) Validate ¶
func (m *SearchRequest) Validate() error
Validate checks the field values on SearchRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*SearchRequest) XXX_DiscardUnknown ¶
func (m *SearchRequest) XXX_DiscardUnknown()
func (*SearchRequest) XXX_Marshal ¶
func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchRequest) XXX_Merge ¶
func (m *SearchRequest) XXX_Merge(src proto.Message)
func (*SearchRequest) XXX_Size ¶
func (m *SearchRequest) XXX_Size() int
func (*SearchRequest) XXX_Unmarshal ¶
func (m *SearchRequest) XXX_Unmarshal(b []byte) error
type SearchRequestValidationError ¶
type SearchRequestValidationError struct {
// contains filtered or unexported fields
}
SearchRequestValidationError is the validation error returned by SearchRequest.Validate if the designated constraints aren't met.
func (SearchRequestValidationError) Cause ¶
func (e SearchRequestValidationError) Cause() error
Cause function returns cause value.
func (SearchRequestValidationError) Error ¶
func (e SearchRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SearchRequestValidationError) ErrorName ¶
func (e SearchRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SearchRequestValidationError) Field ¶
func (e SearchRequestValidationError) Field() string
Field function returns field value.
func (SearchRequestValidationError) Key ¶
func (e SearchRequestValidationError) Key() bool
Key function returns key value.
func (SearchRequestValidationError) Reason ¶
func (e SearchRequestValidationError) Reason() string
Reason function returns reason value.
type SumReply ¶
type SumReply struct { V int64 `protobuf:"varint,1,opt,name=v,proto3" json:"v,omitempty"` Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The sum response contains the result of the calculation.
func (*SumReply) Descriptor ¶
func (*SumReply) ProtoMessage ¶
func (*SumReply) ProtoMessage()
func (*SumReply) Validate ¶
Validate checks the field values on SumReply with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*SumReply) XXX_DiscardUnknown ¶
func (m *SumReply) XXX_DiscardUnknown()
func (*SumReply) XXX_Marshal ¶
func (*SumReply) XXX_Unmarshal ¶
type SumReplyValidationError ¶
type SumReplyValidationError struct {
// contains filtered or unexported fields
}
SumReplyValidationError is the validation error returned by SumReply.Validate if the designated constraints aren't met.
func (SumReplyValidationError) Cause ¶
func (e SumReplyValidationError) Cause() error
Cause function returns cause value.
func (SumReplyValidationError) Error ¶
func (e SumReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SumReplyValidationError) ErrorName ¶
func (e SumReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SumReplyValidationError) Field ¶
func (e SumReplyValidationError) Field() string
Field function returns field value.
func (SumReplyValidationError) Key ¶
func (e SumReplyValidationError) Key() bool
Key function returns key value.
func (SumReplyValidationError) Reason ¶
func (e SumReplyValidationError) Reason() string
Reason function returns reason value.
type SumRequest ¶
type SumRequest struct { A int64 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` B int64 `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The sum request contains two parameters.
func (*SumRequest) Descriptor ¶
func (*SumRequest) Descriptor() ([]byte, []int)
func (*SumRequest) GetA ¶
func (m *SumRequest) GetA() int64
func (*SumRequest) GetB ¶
func (m *SumRequest) GetB() int64
func (*SumRequest) ProtoMessage ¶
func (*SumRequest) ProtoMessage()
func (*SumRequest) Reset ¶
func (m *SumRequest) Reset()
func (*SumRequest) String ¶
func (m *SumRequest) String() string
func (*SumRequest) Validate ¶
func (m *SumRequest) Validate() error
Validate checks the field values on SumRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*SumRequest) XXX_DiscardUnknown ¶
func (m *SumRequest) XXX_DiscardUnknown()
func (*SumRequest) XXX_Marshal ¶
func (m *SumRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SumRequest) XXX_Merge ¶
func (m *SumRequest) XXX_Merge(src proto.Message)
func (*SumRequest) XXX_Size ¶
func (m *SumRequest) XXX_Size() int
func (*SumRequest) XXX_Unmarshal ¶
func (m *SumRequest) XXX_Unmarshal(b []byte) error
type SumRequestValidationError ¶
type SumRequestValidationError struct {
// contains filtered or unexported fields
}
SumRequestValidationError is the validation error returned by SumRequest.Validate if the designated constraints aren't met.
func (SumRequestValidationError) Cause ¶
func (e SumRequestValidationError) Cause() error
Cause function returns cause value.
func (SumRequestValidationError) Error ¶
func (e SumRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SumRequestValidationError) ErrorName ¶
func (e SumRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SumRequestValidationError) Field ¶
func (e SumRequestValidationError) Field() string
Field function returns field value.
func (SumRequestValidationError) Key ¶
func (e SumRequestValidationError) Key() bool
Key function returns key value.
func (SumRequestValidationError) Reason ¶
func (e SumRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedIdentityManagementServer ¶
type UnimplementedIdentityManagementServer struct { }
UnimplementedIdentityManagementServer can be embedded to have forward compatible implementations.
func (*UnimplementedIdentityManagementServer) Check ¶
func (*UnimplementedIdentityManagementServer) Check(ctx context.Context, req *HealthCheckRequest) (*HealthCheckResponse, error)
func (*UnimplementedIdentityManagementServer) Concat ¶
func (*UnimplementedIdentityManagementServer) Concat(ctx context.Context, req *ConcatRequest) (*ConcatReply, error)
func (*UnimplementedIdentityManagementServer) CreateUser ¶
func (*UnimplementedIdentityManagementServer) DeleteUser ¶
func (*UnimplementedIdentityManagementServer) ListUsersStream ¶
func (*UnimplementedIdentityManagementServer) ListUsersStream(req *ListUsersRequest, srv IdentityManagement_ListUsersStreamServer) error
func (*UnimplementedIdentityManagementServer) Sum ¶
func (*UnimplementedIdentityManagementServer) Sum(ctx context.Context, req *SumRequest) (*SumReply, error)
func (*UnimplementedIdentityManagementServer) UpdateUser ¶
func (*UnimplementedIdentityManagementServer) Watch ¶
func (*UnimplementedIdentityManagementServer) Watch(req *HealthCheckRequest, srv IdentityManagement_WatchServer) error
type User ¶
type User struct { Enabled bool `protobuf:"varint,9,opt,name=enabled,proto3" json:"enabled,omitempty"` // google.protobuf.Timestamp created_at = 101; // ??? Attributes map[string]*any.Any `` /* 163-byte string literal not displayed */ // OpenId Standard Claims Members (https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims) // Subject - Identifier for the End-User at the Issuer. Sub string `protobuf:"bytes,10,opt,name=sub,proto3" json:"sub,omitempty"` // End-User's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User's locale and preferences. Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"` // Given name(s) or first name(s) of the End-User. GivenName string `protobuf:"bytes,12,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"` // Surname(s) or last name(s) of the End-User FamilyName string `protobuf:"bytes,14,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` // Middle name(s) of the End-User MiddleName string `protobuf:"bytes,15,opt,name=middle_name,json=middleName,proto3" json:"middle_name,omitempty"` // Casual name of the End-User Nickname string `protobuf:"bytes,16,opt,name=nickname,proto3" json:"nickname,omitempty"` // Shorthand name by which the End-User wishes to be referred to at the RP, such as janedoe or j.doe. // This value MAY be any valid JSON string including special characters such as @, /, or whitespace (not unique!, see https://openid.net/specs/openid-connect-basic-1_0.html#ClaimStability) PreferredUsername string `protobuf:"bytes,17,opt,name=preferred_username,json=preferredUsername,proto3" json:"preferred_username,omitempty"` Profile string `protobuf:"bytes,20,opt,name=profile,proto3" json:"profile,omitempty"` Picture string `protobuf:"bytes,21,opt,name=picture,proto3" json:"picture,omitempty"` Website string `protobuf:"bytes,22,opt,name=website,proto3" json:"website,omitempty"` // RFC5322 (not unique!, see https://openid.net/specs/openid-connect-basic-1_0.html#ClaimStability) Email string `protobuf:"bytes,30,opt,name=email,proto3" json:"email,omitempty"` EmailVerified bool `protobuf:"varint,31,opt,name=email_verified,json=emailVerified,proto3" json:"email_verified,omitempty"` Gender string `protobuf:"bytes,32,opt,name=gender,proto3" json:"gender,omitempty"` // ISO 8601:2004 YYYY-MM-DD format. The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is allowed. Birthdate string `protobuf:"bytes,33,opt,name=birthdate,proto3" json:"birthdate,omitempty"` // String from zoneinfo time zone database (the tz database) representing the End-User's time zone. For example, Europe/Paris or America/Los_Angeles. Zoneinfo string `protobuf:"bytes,34,opt,name=zoneinfo,proto3" json:"zoneinfo,omitempty"` // End-User's locale, represented as a BCP47 [RFC5646] language tag. // This is typically an ISO 639-1 Alpha-2 [ISO639‑1] language code in lowercase and an ISO 3166-1 Alpha-2 [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA. // As a compatibility note, some implementations have used an underscore as the separator rather than a dash, for example, en_US; Relying Parties MAY choose to accept this locale syntax as well. Locale string `protobuf:"bytes,35,opt,name=locale,proto3" json:"locale,omitempty"` // Ex: +1 (425) 555-1212 or +56 (2) 687 2400 (E.164) // or +1 (604) 555-1234;ext=5678 (RFC3966) // see E.164/RFC3966 PhoneNumber string `protobuf:"bytes,40,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` PhoneNumberVerified bool `protobuf:"varint,41,opt,name=phone_number_verified,json=phoneNumberVerified,proto3" json:"phone_number_verified,omitempty"` Address *User_Address `protobuf:"bytes,42,opt,name=address,proto3" json:"address,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,102,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Represents the user
Compatible with OIDC (OpenID Connect)
func (*User) Descriptor ¶
func (*User) GetAddress ¶
func (m *User) GetAddress() *User_Address
func (*User) GetBirthdate ¶
func (*User) GetEmailVerified ¶
func (*User) GetEnabled ¶
func (*User) GetFamilyName ¶
func (*User) GetGivenName ¶
func (*User) GetMiddleName ¶
func (*User) GetNickname ¶
func (*User) GetPhoneNumber ¶
func (*User) GetPhoneNumberVerified ¶
func (*User) GetPicture ¶
func (*User) GetPreferredUsername ¶
func (*User) GetProfile ¶
func (*User) GetUpdatedAt ¶
func (*User) GetWebsite ¶
func (*User) GetZoneinfo ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
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, an error is returned.
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
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.
type User_Address ¶
type User_Address struct { Formatted string `protobuf:"bytes,1,opt,name=formatted,proto3" json:"formatted,omitempty"` StreetAddress string `protobuf:"bytes,2,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"` Locality string `protobuf:"bytes,3,opt,name=locality,proto3" json:"locality,omitempty"` Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` PostalCode string `protobuf:"bytes,5,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` Country string `protobuf:"bytes,6,opt,name=country,proto3" json:"country,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
https://openid.net/specs/openid-connect-core-1_0.html#AddressClaim
func (*User_Address) Descriptor ¶
func (*User_Address) Descriptor() ([]byte, []int)
func (*User_Address) GetCountry ¶
func (m *User_Address) GetCountry() string
func (*User_Address) GetFormatted ¶
func (m *User_Address) GetFormatted() string
func (*User_Address) GetLocality ¶
func (m *User_Address) GetLocality() string
func (*User_Address) GetPostalCode ¶
func (m *User_Address) GetPostalCode() string
func (*User_Address) GetRegion ¶
func (m *User_Address) GetRegion() string
func (*User_Address) GetStreetAddress ¶
func (m *User_Address) GetStreetAddress() string
func (*User_Address) ProtoMessage ¶
func (*User_Address) ProtoMessage()
func (*User_Address) Reset ¶
func (m *User_Address) Reset()
func (*User_Address) String ¶
func (m *User_Address) String() string
func (*User_Address) Validate ¶
func (m *User_Address) Validate() error
Validate checks the field values on User_Address with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*User_Address) XXX_DiscardUnknown ¶
func (m *User_Address) XXX_DiscardUnknown()
func (*User_Address) XXX_Marshal ¶
func (m *User_Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*User_Address) XXX_Merge ¶
func (m *User_Address) XXX_Merge(src proto.Message)
func (*User_Address) XXX_Size ¶
func (m *User_Address) XXX_Size() int
func (*User_Address) XXX_Unmarshal ¶
func (m *User_Address) XXX_Unmarshal(b []byte) error
type User_AddressValidationError ¶
type User_AddressValidationError struct {
// contains filtered or unexported fields
}
User_AddressValidationError is the validation error returned by User_Address.Validate if the designated constraints aren't met.
func (User_AddressValidationError) Cause ¶
func (e User_AddressValidationError) Cause() error
Cause function returns cause value.
func (User_AddressValidationError) Error ¶
func (e User_AddressValidationError) Error() string
Error satisfies the builtin error interface
func (User_AddressValidationError) ErrorName ¶
func (e User_AddressValidationError) ErrorName() string
ErrorName returns error name.
func (User_AddressValidationError) Field ¶
func (e User_AddressValidationError) Field() string
Field function returns field value.
func (User_AddressValidationError) Key ¶
func (e User_AddressValidationError) Key() bool
Key function returns key value.
func (User_AddressValidationError) Reason ¶
func (e User_AddressValidationError) Reason() string
Reason function returns reason value.