Documentation
¶
Index ¶
- Constants
- Variables
- func IdentityManagementServicePluginServer(server IdentityManagementServiceServer) api.PluginServer
- func RegisterIdentityManagementServiceServer(s grpc.ServiceRegistrar, srv IdentityManagementServiceServer)
- type GetAllGroupsRequest
- func (*GetAllGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetAllGroupsRequest) ProtoMessage()
- func (x *GetAllGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllGroupsRequest) Reset()
- func (x *GetAllGroupsRequest) String() string
- func (m *GetAllGroupsRequest) Validate() error
- func (m *GetAllGroupsRequest) ValidateAll() error
- type GetAllGroupsRequestMultiError
- type GetAllGroupsRequestValidationError
- func (e GetAllGroupsRequestValidationError) Cause() error
- func (e GetAllGroupsRequestValidationError) Error() string
- func (e GetAllGroupsRequestValidationError) ErrorName() string
- func (e GetAllGroupsRequestValidationError) Field() string
- func (e GetAllGroupsRequestValidationError) Key() bool
- func (e GetAllGroupsRequestValidationError) Reason() string
- type GetAllGroupsResponse
- func (*GetAllGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllGroupsResponse) GetGroups() []*Group
- func (*GetAllGroupsResponse) ProtoMessage()
- func (x *GetAllGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllGroupsResponse) Reset()
- func (x *GetAllGroupsResponse) String() string
- func (m *GetAllGroupsResponse) Validate() error
- func (m *GetAllGroupsResponse) ValidateAll() error
- type GetAllGroupsResponseMultiError
- type GetAllGroupsResponseValidationError
- func (e GetAllGroupsResponseValidationError) Cause() error
- func (e GetAllGroupsResponseValidationError) Error() string
- func (e GetAllGroupsResponseValidationError) ErrorName() string
- func (e GetAllGroupsResponseValidationError) Field() string
- func (e GetAllGroupsResponseValidationError) Key() bool
- func (e GetAllGroupsResponseValidationError) Reason() string
- type GetGroupsForUserRequest
- func (*GetGroupsForUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupsForUserRequest) GetUserId() string
- func (*GetGroupsForUserRequest) ProtoMessage()
- func (x *GetGroupsForUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetGroupsForUserRequest) Reset()
- func (x *GetGroupsForUserRequest) String() string
- func (m *GetGroupsForUserRequest) Validate() error
- func (m *GetGroupsForUserRequest) ValidateAll() error
- type GetGroupsForUserRequestMultiError
- type GetGroupsForUserRequestValidationError
- func (e GetGroupsForUserRequestValidationError) Cause() error
- func (e GetGroupsForUserRequestValidationError) Error() string
- func (e GetGroupsForUserRequestValidationError) ErrorName() string
- func (e GetGroupsForUserRequestValidationError) Field() string
- func (e GetGroupsForUserRequestValidationError) Key() bool
- func (e GetGroupsForUserRequestValidationError) Reason() string
- type GetGroupsForUserResponse
- func (*GetGroupsForUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupsForUserResponse) GetGroups() []*Group
- func (*GetGroupsForUserResponse) ProtoMessage()
- func (x *GetGroupsForUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetGroupsForUserResponse) Reset()
- func (x *GetGroupsForUserResponse) String() string
- func (m *GetGroupsForUserResponse) Validate() error
- func (m *GetGroupsForUserResponse) ValidateAll() error
- type GetGroupsForUserResponseMultiError
- type GetGroupsForUserResponseValidationError
- func (e GetGroupsForUserResponseValidationError) Cause() error
- func (e GetGroupsForUserResponseValidationError) Error() string
- func (e GetGroupsForUserResponseValidationError) ErrorName() string
- func (e GetGroupsForUserResponseValidationError) Field() string
- func (e GetGroupsForUserResponseValidationError) Key() bool
- func (e GetGroupsForUserResponseValidationError) Reason() string
- type GetUsersForGroupRequest
- func (*GetUsersForGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersForGroupRequest) GetGroupId() string
- func (*GetUsersForGroupRequest) ProtoMessage()
- func (x *GetUsersForGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetUsersForGroupRequest) Reset()
- func (x *GetUsersForGroupRequest) String() string
- func (m *GetUsersForGroupRequest) Validate() error
- func (m *GetUsersForGroupRequest) ValidateAll() error
- type GetUsersForGroupRequestMultiError
- type GetUsersForGroupRequestValidationError
- func (e GetUsersForGroupRequestValidationError) Cause() error
- func (e GetUsersForGroupRequestValidationError) Error() string
- func (e GetUsersForGroupRequestValidationError) ErrorName() string
- func (e GetUsersForGroupRequestValidationError) Field() string
- func (e GetUsersForGroupRequestValidationError) Key() bool
- func (e GetUsersForGroupRequestValidationError) Reason() string
- type GetUsersForGroupResponse
- func (*GetUsersForGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersForGroupResponse) GetUsers() []*User
- func (*GetUsersForGroupResponse) ProtoMessage()
- func (x *GetUsersForGroupResponse) ProtoReflect() protoreflect.Message
- func (x *GetUsersForGroupResponse) Reset()
- func (x *GetUsersForGroupResponse) String() string
- func (m *GetUsersForGroupResponse) Validate() error
- func (m *GetUsersForGroupResponse) ValidateAll() error
- type GetUsersForGroupResponseMultiError
- type GetUsersForGroupResponseValidationError
- func (e GetUsersForGroupResponseValidationError) Cause() error
- func (e GetUsersForGroupResponseValidationError) Error() string
- func (e GetUsersForGroupResponseValidationError) ErrorName() string
- func (e GetUsersForGroupResponseValidationError) Field() string
- func (e GetUsersForGroupResponseValidationError) Key() bool
- func (e GetUsersForGroupResponseValidationError) Reason() string
- type Group
- func (*Group) Descriptor() ([]byte, []int)deprecated
- func (x *Group) GetId() string
- func (x *Group) GetName() string
- func (*Group) ProtoMessage()
- func (x *Group) ProtoReflect() protoreflect.Message
- func (x *Group) Reset()
- func (x *Group) String() string
- func (m *Group) Validate() error
- func (m *Group) ValidateAll() error
- type GroupMultiError
- type GroupValidationError
- type IdentityManagementServiceClient
- type IdentityManagementServicePluginClient
- type IdentityManagementServiceServer
- type UnimplementedIdentityManagementServiceServer
- func (UnimplementedIdentityManagementServiceServer) GetAllGroups(context.Context, *GetAllGroupsRequest) (*GetAllGroupsResponse, error)
- func (UnimplementedIdentityManagementServiceServer) GetGroupsForUser(context.Context, *GetGroupsForUserRequest) (*GetGroupsForUserResponse, error)
- func (UnimplementedIdentityManagementServiceServer) GetUsersForGroup(context.Context, *GetUsersForGroupRequest) (*GetUsersForGroupResponse, error)
- type UnsafeIdentityManagementServiceServer
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetEmail() string
- func (x *User) GetId() string
- func (x *User) GetName() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (m *User) Validate() error
- func (m *User) ValidateAll() error
- type UserMultiError
- type UserValidationError
Constants ¶
const ( Type = "IdentityManagementService" GRPCServiceFullName = "plugin.identity_management.v1.IdentityManagementService" )
const ( IdentityManagementService_GetAllGroups_FullMethodName = "/plugin.identity_management.v1.IdentityManagementService/GetAllGroups" IdentityManagementService_GetUsersForGroup_FullMethodName = "/plugin.identity_management.v1.IdentityManagementService/GetUsersForGroup" IdentityManagementService_GetGroupsForUser_FullMethodName = "/plugin.identity_management.v1.IdentityManagementService/GetGroupsForUser" )
Variables ¶
var File_plugin_identity_management_v1_identity_management_proto protoreflect.FileDescriptor
var IdentityManagementService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "plugin.identity_management.v1.IdentityManagementService", HandlerType: (*IdentityManagementServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAllGroups", Handler: _IdentityManagementService_GetAllGroups_Handler, }, { MethodName: "GetUsersForGroup", Handler: _IdentityManagementService_GetUsersForGroup_Handler, }, { MethodName: "GetGroupsForUser", Handler: _IdentityManagementService_GetGroupsForUser_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "plugin/identity_management/v1/identity_management.proto", }
IdentityManagementService_ServiceDesc is the grpc.ServiceDesc for IdentityManagementService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func IdentityManagementServicePluginServer ¶
func IdentityManagementServicePluginServer(server IdentityManagementServiceServer) api.PluginServer
func RegisterIdentityManagementServiceServer ¶
func RegisterIdentityManagementServiceServer(s grpc.ServiceRegistrar, srv IdentityManagementServiceServer)
Types ¶
type GetAllGroupsRequest ¶ added in v0.6.0
type GetAllGroupsRequest struct {
// contains filtered or unexported fields
}
func (*GetAllGroupsRequest) Descriptor
deprecated
added in
v0.6.0
func (*GetAllGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllGroupsRequest.ProtoReflect.Descriptor instead.
func (*GetAllGroupsRequest) ProtoMessage ¶ added in v0.6.0
func (*GetAllGroupsRequest) ProtoMessage()
func (*GetAllGroupsRequest) ProtoReflect ¶ added in v0.6.0
func (x *GetAllGroupsRequest) ProtoReflect() protoreflect.Message
func (*GetAllGroupsRequest) Reset ¶ added in v0.6.0
func (x *GetAllGroupsRequest) Reset()
func (*GetAllGroupsRequest) String ¶ added in v0.6.0
func (x *GetAllGroupsRequest) String() string
func (*GetAllGroupsRequest) Validate ¶ added in v0.6.0
func (m *GetAllGroupsRequest) Validate() error
Validate checks the field values on GetAllGroupsRequest 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 (*GetAllGroupsRequest) ValidateAll ¶ added in v0.6.0
func (m *GetAllGroupsRequest) ValidateAll() error
ValidateAll checks the field values on GetAllGroupsRequest 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 GetAllGroupsRequestMultiError, or nil if none found.
type GetAllGroupsRequestMultiError ¶ added in v0.6.0
type GetAllGroupsRequestMultiError []error
GetAllGroupsRequestMultiError is an error wrapping multiple validation errors returned by GetAllGroupsRequest.ValidateAll() if the designated constraints aren't met.
func (GetAllGroupsRequestMultiError) AllErrors ¶ added in v0.6.0
func (m GetAllGroupsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAllGroupsRequestMultiError) Error ¶ added in v0.6.0
func (m GetAllGroupsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAllGroupsRequestValidationError ¶ added in v0.6.0
type GetAllGroupsRequestValidationError struct {
// contains filtered or unexported fields
}
GetAllGroupsRequestValidationError is the validation error returned by GetAllGroupsRequest.Validate if the designated constraints aren't met.
func (GetAllGroupsRequestValidationError) Cause ¶ added in v0.6.0
func (e GetAllGroupsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetAllGroupsRequestValidationError) Error ¶ added in v0.6.0
func (e GetAllGroupsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetAllGroupsRequestValidationError) ErrorName ¶ added in v0.6.0
func (e GetAllGroupsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetAllGroupsRequestValidationError) Field ¶ added in v0.6.0
func (e GetAllGroupsRequestValidationError) Field() string
Field function returns field value.
func (GetAllGroupsRequestValidationError) Key ¶ added in v0.6.0
func (e GetAllGroupsRequestValidationError) Key() bool
Key function returns key value.
func (GetAllGroupsRequestValidationError) Reason ¶ added in v0.6.0
func (e GetAllGroupsRequestValidationError) Reason() string
Reason function returns reason value.
type GetAllGroupsResponse ¶ added in v0.6.0
type GetAllGroupsResponse struct {
Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
// contains filtered or unexported fields
}
func (*GetAllGroupsResponse) Descriptor
deprecated
added in
v0.6.0
func (*GetAllGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllGroupsResponse.ProtoReflect.Descriptor instead.
func (*GetAllGroupsResponse) GetGroups ¶ added in v0.6.0
func (x *GetAllGroupsResponse) GetGroups() []*Group
func (*GetAllGroupsResponse) ProtoMessage ¶ added in v0.6.0
func (*GetAllGroupsResponse) ProtoMessage()
func (*GetAllGroupsResponse) ProtoReflect ¶ added in v0.6.0
func (x *GetAllGroupsResponse) ProtoReflect() protoreflect.Message
func (*GetAllGroupsResponse) Reset ¶ added in v0.6.0
func (x *GetAllGroupsResponse) Reset()
func (*GetAllGroupsResponse) String ¶ added in v0.6.0
func (x *GetAllGroupsResponse) String() string
func (*GetAllGroupsResponse) Validate ¶ added in v0.6.0
func (m *GetAllGroupsResponse) Validate() error
Validate checks the field values on GetAllGroupsResponse 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 (*GetAllGroupsResponse) ValidateAll ¶ added in v0.6.0
func (m *GetAllGroupsResponse) ValidateAll() error
ValidateAll checks the field values on GetAllGroupsResponse 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 GetAllGroupsResponseMultiError, or nil if none found.
type GetAllGroupsResponseMultiError ¶ added in v0.6.0
type GetAllGroupsResponseMultiError []error
GetAllGroupsResponseMultiError is an error wrapping multiple validation errors returned by GetAllGroupsResponse.ValidateAll() if the designated constraints aren't met.
func (GetAllGroupsResponseMultiError) AllErrors ¶ added in v0.6.0
func (m GetAllGroupsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAllGroupsResponseMultiError) Error ¶ added in v0.6.0
func (m GetAllGroupsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAllGroupsResponseValidationError ¶ added in v0.6.0
type GetAllGroupsResponseValidationError struct {
// contains filtered or unexported fields
}
GetAllGroupsResponseValidationError is the validation error returned by GetAllGroupsResponse.Validate if the designated constraints aren't met.
func (GetAllGroupsResponseValidationError) Cause ¶ added in v0.6.0
func (e GetAllGroupsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetAllGroupsResponseValidationError) Error ¶ added in v0.6.0
func (e GetAllGroupsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetAllGroupsResponseValidationError) ErrorName ¶ added in v0.6.0
func (e GetAllGroupsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetAllGroupsResponseValidationError) Field ¶ added in v0.6.0
func (e GetAllGroupsResponseValidationError) Field() string
Field function returns field value.
func (GetAllGroupsResponseValidationError) Key ¶ added in v0.6.0
func (e GetAllGroupsResponseValidationError) Key() bool
Key function returns key value.
func (GetAllGroupsResponseValidationError) Reason ¶ added in v0.6.0
func (e GetAllGroupsResponseValidationError) Reason() string
Reason function returns reason value.
type GetGroupsForUserRequest ¶
type GetGroupsForUserRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetGroupsForUserRequest) Descriptor
deprecated
func (*GetGroupsForUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupsForUserRequest.ProtoReflect.Descriptor instead.
func (*GetGroupsForUserRequest) GetUserId ¶
func (x *GetGroupsForUserRequest) GetUserId() string
func (*GetGroupsForUserRequest) ProtoMessage ¶
func (*GetGroupsForUserRequest) ProtoMessage()
func (*GetGroupsForUserRequest) ProtoReflect ¶
func (x *GetGroupsForUserRequest) ProtoReflect() protoreflect.Message
func (*GetGroupsForUserRequest) Reset ¶
func (x *GetGroupsForUserRequest) Reset()
func (*GetGroupsForUserRequest) String ¶
func (x *GetGroupsForUserRequest) String() string
func (*GetGroupsForUserRequest) Validate ¶
func (m *GetGroupsForUserRequest) Validate() error
Validate checks the field values on GetGroupsForUserRequest 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 (*GetGroupsForUserRequest) ValidateAll ¶
func (m *GetGroupsForUserRequest) ValidateAll() error
ValidateAll checks the field values on GetGroupsForUserRequest 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 GetGroupsForUserRequestMultiError, or nil if none found.
type GetGroupsForUserRequestMultiError ¶
type GetGroupsForUserRequestMultiError []error
GetGroupsForUserRequestMultiError is an error wrapping multiple validation errors returned by GetGroupsForUserRequest.ValidateAll() if the designated constraints aren't met.
func (GetGroupsForUserRequestMultiError) AllErrors ¶
func (m GetGroupsForUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetGroupsForUserRequestMultiError) Error ¶
func (m GetGroupsForUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetGroupsForUserRequestValidationError ¶
type GetGroupsForUserRequestValidationError struct {
// contains filtered or unexported fields
}
GetGroupsForUserRequestValidationError is the validation error returned by GetGroupsForUserRequest.Validate if the designated constraints aren't met.
func (GetGroupsForUserRequestValidationError) Cause ¶
func (e GetGroupsForUserRequestValidationError) Cause() error
Cause function returns cause value.
func (GetGroupsForUserRequestValidationError) Error ¶
func (e GetGroupsForUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetGroupsForUserRequestValidationError) ErrorName ¶
func (e GetGroupsForUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetGroupsForUserRequestValidationError) Field ¶
func (e GetGroupsForUserRequestValidationError) Field() string
Field function returns field value.
func (GetGroupsForUserRequestValidationError) Key ¶
func (e GetGroupsForUserRequestValidationError) Key() bool
Key function returns key value.
func (GetGroupsForUserRequestValidationError) Reason ¶
func (e GetGroupsForUserRequestValidationError) Reason() string
Reason function returns reason value.
type GetGroupsForUserResponse ¶
type GetGroupsForUserResponse struct {
Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
// contains filtered or unexported fields
}
func (*GetGroupsForUserResponse) Descriptor
deprecated
func (*GetGroupsForUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupsForUserResponse.ProtoReflect.Descriptor instead.
func (*GetGroupsForUserResponse) GetGroups ¶
func (x *GetGroupsForUserResponse) GetGroups() []*Group
func (*GetGroupsForUserResponse) ProtoMessage ¶
func (*GetGroupsForUserResponse) ProtoMessage()
func (*GetGroupsForUserResponse) ProtoReflect ¶
func (x *GetGroupsForUserResponse) ProtoReflect() protoreflect.Message
func (*GetGroupsForUserResponse) Reset ¶
func (x *GetGroupsForUserResponse) Reset()
func (*GetGroupsForUserResponse) String ¶
func (x *GetGroupsForUserResponse) String() string
func (*GetGroupsForUserResponse) Validate ¶
func (m *GetGroupsForUserResponse) Validate() error
Validate checks the field values on GetGroupsForUserResponse 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 (*GetGroupsForUserResponse) ValidateAll ¶
func (m *GetGroupsForUserResponse) ValidateAll() error
ValidateAll checks the field values on GetGroupsForUserResponse 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 GetGroupsForUserResponseMultiError, or nil if none found.
type GetGroupsForUserResponseMultiError ¶
type GetGroupsForUserResponseMultiError []error
GetGroupsForUserResponseMultiError is an error wrapping multiple validation errors returned by GetGroupsForUserResponse.ValidateAll() if the designated constraints aren't met.
func (GetGroupsForUserResponseMultiError) AllErrors ¶
func (m GetGroupsForUserResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetGroupsForUserResponseMultiError) Error ¶
func (m GetGroupsForUserResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetGroupsForUserResponseValidationError ¶
type GetGroupsForUserResponseValidationError struct {
// contains filtered or unexported fields
}
GetGroupsForUserResponseValidationError is the validation error returned by GetGroupsForUserResponse.Validate if the designated constraints aren't met.
func (GetGroupsForUserResponseValidationError) Cause ¶
func (e GetGroupsForUserResponseValidationError) Cause() error
Cause function returns cause value.
func (GetGroupsForUserResponseValidationError) Error ¶
func (e GetGroupsForUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetGroupsForUserResponseValidationError) ErrorName ¶
func (e GetGroupsForUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetGroupsForUserResponseValidationError) Field ¶
func (e GetGroupsForUserResponseValidationError) Field() string
Field function returns field value.
func (GetGroupsForUserResponseValidationError) Key ¶
func (e GetGroupsForUserResponseValidationError) Key() bool
Key function returns key value.
func (GetGroupsForUserResponseValidationError) Reason ¶
func (e GetGroupsForUserResponseValidationError) Reason() string
Reason function returns reason value.
type GetUsersForGroupRequest ¶
type GetUsersForGroupRequest struct {
GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetUsersForGroupRequest) Descriptor
deprecated
func (*GetUsersForGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersForGroupRequest.ProtoReflect.Descriptor instead.
func (*GetUsersForGroupRequest) GetGroupId ¶
func (x *GetUsersForGroupRequest) GetGroupId() string
func (*GetUsersForGroupRequest) ProtoMessage ¶
func (*GetUsersForGroupRequest) ProtoMessage()
func (*GetUsersForGroupRequest) ProtoReflect ¶
func (x *GetUsersForGroupRequest) ProtoReflect() protoreflect.Message
func (*GetUsersForGroupRequest) Reset ¶
func (x *GetUsersForGroupRequest) Reset()
func (*GetUsersForGroupRequest) String ¶
func (x *GetUsersForGroupRequest) String() string
func (*GetUsersForGroupRequest) Validate ¶
func (m *GetUsersForGroupRequest) Validate() error
Validate checks the field values on GetUsersForGroupRequest 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 (*GetUsersForGroupRequest) ValidateAll ¶
func (m *GetUsersForGroupRequest) ValidateAll() error
ValidateAll checks the field values on GetUsersForGroupRequest 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 GetUsersForGroupRequestMultiError, or nil if none found.
type GetUsersForGroupRequestMultiError ¶
type GetUsersForGroupRequestMultiError []error
GetUsersForGroupRequestMultiError is an error wrapping multiple validation errors returned by GetUsersForGroupRequest.ValidateAll() if the designated constraints aren't met.
func (GetUsersForGroupRequestMultiError) AllErrors ¶
func (m GetUsersForGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUsersForGroupRequestMultiError) Error ¶
func (m GetUsersForGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUsersForGroupRequestValidationError ¶
type GetUsersForGroupRequestValidationError struct {
// contains filtered or unexported fields
}
GetUsersForGroupRequestValidationError is the validation error returned by GetUsersForGroupRequest.Validate if the designated constraints aren't met.
func (GetUsersForGroupRequestValidationError) Cause ¶
func (e GetUsersForGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUsersForGroupRequestValidationError) Error ¶
func (e GetUsersForGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUsersForGroupRequestValidationError) ErrorName ¶
func (e GetUsersForGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUsersForGroupRequestValidationError) Field ¶
func (e GetUsersForGroupRequestValidationError) Field() string
Field function returns field value.
func (GetUsersForGroupRequestValidationError) Key ¶
func (e GetUsersForGroupRequestValidationError) Key() bool
Key function returns key value.
func (GetUsersForGroupRequestValidationError) Reason ¶
func (e GetUsersForGroupRequestValidationError) Reason() string
Reason function returns reason value.
type GetUsersForGroupResponse ¶
type GetUsersForGroupResponse struct {
Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
// contains filtered or unexported fields
}
func (*GetUsersForGroupResponse) Descriptor
deprecated
func (*GetUsersForGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersForGroupResponse.ProtoReflect.Descriptor instead.
func (*GetUsersForGroupResponse) GetUsers ¶
func (x *GetUsersForGroupResponse) GetUsers() []*User
func (*GetUsersForGroupResponse) ProtoMessage ¶
func (*GetUsersForGroupResponse) ProtoMessage()
func (*GetUsersForGroupResponse) ProtoReflect ¶
func (x *GetUsersForGroupResponse) ProtoReflect() protoreflect.Message
func (*GetUsersForGroupResponse) Reset ¶
func (x *GetUsersForGroupResponse) Reset()
func (*GetUsersForGroupResponse) String ¶
func (x *GetUsersForGroupResponse) String() string
func (*GetUsersForGroupResponse) Validate ¶
func (m *GetUsersForGroupResponse) Validate() error
Validate checks the field values on GetUsersForGroupResponse 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 (*GetUsersForGroupResponse) ValidateAll ¶
func (m *GetUsersForGroupResponse) ValidateAll() error
ValidateAll checks the field values on GetUsersForGroupResponse 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 GetUsersForGroupResponseMultiError, or nil if none found.
type GetUsersForGroupResponseMultiError ¶
type GetUsersForGroupResponseMultiError []error
GetUsersForGroupResponseMultiError is an error wrapping multiple validation errors returned by GetUsersForGroupResponse.ValidateAll() if the designated constraints aren't met.
func (GetUsersForGroupResponseMultiError) AllErrors ¶
func (m GetUsersForGroupResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUsersForGroupResponseMultiError) Error ¶
func (m GetUsersForGroupResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUsersForGroupResponseValidationError ¶
type GetUsersForGroupResponseValidationError struct {
// contains filtered or unexported fields
}
GetUsersForGroupResponseValidationError is the validation error returned by GetUsersForGroupResponse.Validate if the designated constraints aren't met.
func (GetUsersForGroupResponseValidationError) Cause ¶
func (e GetUsersForGroupResponseValidationError) Cause() error
Cause function returns cause value.
func (GetUsersForGroupResponseValidationError) Error ¶
func (e GetUsersForGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetUsersForGroupResponseValidationError) ErrorName ¶
func (e GetUsersForGroupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetUsersForGroupResponseValidationError) Field ¶
func (e GetUsersForGroupResponseValidationError) Field() string
Field function returns field value.
func (GetUsersForGroupResponseValidationError) Key ¶
func (e GetUsersForGroupResponseValidationError) Key() bool
Key function returns key value.
func (GetUsersForGroupResponseValidationError) Reason ¶
func (e GetUsersForGroupResponseValidationError) Reason() string
Reason function returns reason value.
type Group ¶
type Group struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*Group) Descriptor
deprecated
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
func (*Group) Validate ¶
Validate checks the field values on Group 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 (*Group) ValidateAll ¶
ValidateAll checks the field values on Group 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 GroupMultiError, or nil if none found.
type GroupMultiError ¶
type GroupMultiError []error
GroupMultiError is an error wrapping multiple validation errors returned by Group.ValidateAll() if the designated constraints aren't met.
func (GroupMultiError) AllErrors ¶
func (m GroupMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GroupMultiError) Error ¶
func (m GroupMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GroupValidationError ¶
type GroupValidationError struct {
// contains filtered or unexported fields
}
GroupValidationError is the validation error returned by Group.Validate if the designated constraints aren't met.
func (GroupValidationError) Cause ¶
func (e GroupValidationError) Cause() error
Cause function returns cause value.
func (GroupValidationError) Error ¶
func (e GroupValidationError) Error() string
Error satisfies the builtin error interface
func (GroupValidationError) ErrorName ¶
func (e GroupValidationError) ErrorName() string
ErrorName returns error name.
func (GroupValidationError) Field ¶
func (e GroupValidationError) Field() string
Field function returns field value.
func (GroupValidationError) Key ¶
func (e GroupValidationError) Key() bool
Key function returns key value.
func (GroupValidationError) Reason ¶
func (e GroupValidationError) Reason() string
Reason function returns reason value.
type IdentityManagementServiceClient ¶
type IdentityManagementServiceClient interface {
GetAllGroups(ctx context.Context, in *GetAllGroupsRequest, opts ...grpc.CallOption) (*GetAllGroupsResponse, error)
GetUsersForGroup(ctx context.Context, in *GetUsersForGroupRequest, opts ...grpc.CallOption) (*GetUsersForGroupResponse, error)
GetGroupsForUser(ctx context.Context, in *GetGroupsForUserRequest, opts ...grpc.CallOption) (*GetGroupsForUserResponse, error)
}
IdentityManagementServiceClient is the client API for IdentityManagementService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewIdentityManagementServiceClient ¶
func NewIdentityManagementServiceClient(cc grpc.ClientConnInterface) IdentityManagementServiceClient
type IdentityManagementServicePluginClient ¶
type IdentityManagementServicePluginClient struct {
IdentityManagementServiceClient
}
func (*IdentityManagementServicePluginClient) GRPCServiceName ¶
func (c *IdentityManagementServicePluginClient) GRPCServiceName() string
func (*IdentityManagementServicePluginClient) InitClient ¶
func (c *IdentityManagementServicePluginClient) InitClient(conn grpc.ClientConnInterface) any
func (*IdentityManagementServicePluginClient) IsInitialized ¶
func (c *IdentityManagementServicePluginClient) IsInitialized() bool
func (IdentityManagementServicePluginClient) Type ¶
func (s IdentityManagementServicePluginClient) Type() string
type IdentityManagementServiceServer ¶
type IdentityManagementServiceServer interface {
GetAllGroups(context.Context, *GetAllGroupsRequest) (*GetAllGroupsResponse, error)
GetUsersForGroup(context.Context, *GetUsersForGroupRequest) (*GetUsersForGroupResponse, error)
GetGroupsForUser(context.Context, *GetGroupsForUserRequest) (*GetGroupsForUserResponse, error)
// contains filtered or unexported methods
}
IdentityManagementServiceServer is the server API for IdentityManagementService service. All implementations must embed UnimplementedIdentityManagementServiceServer for forward compatibility
type UnimplementedIdentityManagementServiceServer ¶
type UnimplementedIdentityManagementServiceServer struct {
}
UnimplementedIdentityManagementServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedIdentityManagementServiceServer) GetAllGroups ¶ added in v0.6.0
func (UnimplementedIdentityManagementServiceServer) GetAllGroups(context.Context, *GetAllGroupsRequest) (*GetAllGroupsResponse, error)
func (UnimplementedIdentityManagementServiceServer) GetGroupsForUser ¶
func (UnimplementedIdentityManagementServiceServer) GetGroupsForUser(context.Context, *GetGroupsForUserRequest) (*GetGroupsForUserResponse, error)
func (UnimplementedIdentityManagementServiceServer) GetUsersForGroup ¶
func (UnimplementedIdentityManagementServiceServer) GetUsersForGroup(context.Context, *GetUsersForGroupRequest) (*GetUsersForGroupResponse, error)
type UnsafeIdentityManagementServiceServer ¶
type UnsafeIdentityManagementServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIdentityManagementServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IdentityManagementServiceServer will result in compilation errors.
type User ¶
type User struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
// contains filtered or unexported fields
}
func (*User) Descriptor
deprecated
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
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 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.