identity_managementv1

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Type                = "IdentityManagementService"
	GRPCServiceFullName = "plugin.identity_management.v1.IdentityManagementService"
)
View Source
const (
	IdentityManagementService_GetGroup_FullMethodName         = "/plugin.identity_management.v1.IdentityManagementService/GetGroup"
	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

View Source
var File_plugin_identity_management_v1_identity_management_proto protoreflect.FileDescriptor
View Source
var IdentityManagementService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "plugin.identity_management.v1.IdentityManagementService",
	HandlerType: (*IdentityManagementServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetGroup",
			Handler:    _IdentityManagementService_GetGroup_Handler,
		},
		{
			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 AuthContext added in v0.9.0

type AuthContext struct {
	Data map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AuthContext) Descriptor deprecated added in v0.9.0

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

Deprecated: Use AuthContext.ProtoReflect.Descriptor instead.

func (*AuthContext) GetData added in v0.9.0

func (x *AuthContext) GetData() map[string]string

func (*AuthContext) ProtoMessage added in v0.9.0

func (*AuthContext) ProtoMessage()

func (*AuthContext) ProtoReflect added in v0.9.0

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

func (*AuthContext) Reset added in v0.9.0

func (x *AuthContext) Reset()

func (*AuthContext) String added in v0.9.0

func (x *AuthContext) String() string

func (*AuthContext) Validate added in v0.9.0

func (m *AuthContext) Validate() error

Validate checks the field values on AuthContext 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 (*AuthContext) ValidateAll added in v0.9.0

func (m *AuthContext) ValidateAll() error

ValidateAll checks the field values on AuthContext 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 AuthContextMultiError, or nil if none found.

type AuthContextMultiError added in v0.9.0

type AuthContextMultiError []error

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

func (AuthContextMultiError) AllErrors added in v0.9.0

func (m AuthContextMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthContextMultiError) Error added in v0.9.0

func (m AuthContextMultiError) Error() string

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

type AuthContextValidationError added in v0.9.0

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

AuthContextValidationError is the validation error returned by AuthContext.Validate if the designated constraints aren't met.

func (AuthContextValidationError) Cause added in v0.9.0

Cause function returns cause value.

func (AuthContextValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (AuthContextValidationError) ErrorName added in v0.9.0

func (e AuthContextValidationError) ErrorName() string

ErrorName returns error name.

func (AuthContextValidationError) Field added in v0.9.0

Field function returns field value.

func (AuthContextValidationError) Key added in v0.9.0

Key function returns key value.

func (AuthContextValidationError) Reason added in v0.9.0

Reason function returns reason value.

type GetAllGroupsRequest added in v0.6.0

type GetAllGroupsRequest struct {
	AuthContext *AuthContext `protobuf:"bytes,99,opt,name=auth_context,json=authContext,proto3" json:"auth_context,omitempty"`
	// 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) GetAuthContext added in v0.9.0

func (x *GetAllGroupsRequest) GetAuthContext() *AuthContext

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

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

Cause function returns cause value.

func (GetAllGroupsRequestValidationError) Error added in v0.6.0

Error satisfies the builtin error interface

func (GetAllGroupsRequestValidationError) ErrorName added in v0.6.0

ErrorName returns error name.

func (GetAllGroupsRequestValidationError) Field added in v0.6.0

Field function returns field value.

func (GetAllGroupsRequestValidationError) Key added in v0.6.0

Key function returns key value.

func (GetAllGroupsRequestValidationError) Reason added in v0.6.0

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

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

Cause function returns cause value.

func (GetAllGroupsResponseValidationError) Error added in v0.6.0

Error satisfies the builtin error interface

func (GetAllGroupsResponseValidationError) ErrorName added in v0.6.0

ErrorName returns error name.

func (GetAllGroupsResponseValidationError) Field added in v0.6.0

Field function returns field value.

func (GetAllGroupsResponseValidationError) Key added in v0.6.0

Key function returns key value.

func (GetAllGroupsResponseValidationError) Reason added in v0.6.0

Reason function returns reason value.

type GetGroupRequest added in v0.8.0

type GetGroupRequest struct {
	GroupName   string       `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	AuthContext *AuthContext `protobuf:"bytes,99,opt,name=auth_context,json=authContext,proto3" json:"auth_context,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.

func (*GetGroupRequest) GetAuthContext added in v0.9.0

func (x *GetGroupRequest) GetAuthContext() *AuthContext

func (*GetGroupRequest) GetGroupName added in v0.8.0

func (x *GetGroupRequest) GetGroupName() string

func (*GetGroupRequest) ProtoMessage added in v0.8.0

func (*GetGroupRequest) ProtoMessage()

func (*GetGroupRequest) ProtoReflect added in v0.8.0

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

func (*GetGroupRequest) Reset added in v0.8.0

func (x *GetGroupRequest) Reset()

func (*GetGroupRequest) String added in v0.8.0

func (x *GetGroupRequest) String() string

func (*GetGroupRequest) Validate added in v0.8.0

func (m *GetGroupRequest) Validate() error

Validate checks the field values on GetGroupRequest 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 (*GetGroupRequest) ValidateAll added in v0.8.0

func (m *GetGroupRequest) ValidateAll() error

ValidateAll checks the field values on GetGroupRequest 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 GetGroupRequestMultiError, or nil if none found.

type GetGroupRequestMultiError added in v0.8.0

type GetGroupRequestMultiError []error

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

func (GetGroupRequestMultiError) AllErrors added in v0.8.0

func (m GetGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGroupRequestMultiError) Error added in v0.8.0

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

type GetGroupRequestValidationError added in v0.8.0

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

GetGroupRequestValidationError is the validation error returned by GetGroupRequest.Validate if the designated constraints aren't met.

func (GetGroupRequestValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (GetGroupRequestValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (GetGroupRequestValidationError) ErrorName added in v0.8.0

func (e GetGroupRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetGroupRequestValidationError) Field added in v0.8.0

Field function returns field value.

func (GetGroupRequestValidationError) Key added in v0.8.0

Key function returns key value.

func (GetGroupRequestValidationError) Reason added in v0.8.0

Reason function returns reason value.

type GetGroupResponse added in v0.8.0

type GetGroupResponse struct {
	Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupResponse) Descriptor deprecated added in v0.8.0

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

Deprecated: Use GetGroupResponse.ProtoReflect.Descriptor instead.

func (*GetGroupResponse) GetGroup added in v0.8.0

func (x *GetGroupResponse) GetGroup() *Group

func (*GetGroupResponse) ProtoMessage added in v0.8.0

func (*GetGroupResponse) ProtoMessage()

func (*GetGroupResponse) ProtoReflect added in v0.8.0

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

func (*GetGroupResponse) Reset added in v0.8.0

func (x *GetGroupResponse) Reset()

func (*GetGroupResponse) String added in v0.8.0

func (x *GetGroupResponse) String() string

func (*GetGroupResponse) Validate added in v0.8.0

func (m *GetGroupResponse) Validate() error

Validate checks the field values on GetGroupResponse 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 (*GetGroupResponse) ValidateAll added in v0.8.0

func (m *GetGroupResponse) ValidateAll() error

ValidateAll checks the field values on GetGroupResponse 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 GetGroupResponseMultiError, or nil if none found.

type GetGroupResponseMultiError added in v0.8.0

type GetGroupResponseMultiError []error

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

func (GetGroupResponseMultiError) AllErrors added in v0.8.0

func (m GetGroupResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGroupResponseMultiError) Error added in v0.8.0

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

type GetGroupResponseValidationError added in v0.8.0

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

GetGroupResponseValidationError is the validation error returned by GetGroupResponse.Validate if the designated constraints aren't met.

func (GetGroupResponseValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (GetGroupResponseValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (GetGroupResponseValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (GetGroupResponseValidationError) Field added in v0.8.0

Field function returns field value.

func (GetGroupResponseValidationError) Key added in v0.8.0

Key function returns key value.

func (GetGroupResponseValidationError) Reason added in v0.8.0

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"`
	AuthContext *AuthContext `protobuf:"bytes,99,opt,name=auth_context,json=authContext,proto3" json:"auth_context,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupsForUserRequest) Descriptor deprecated

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

Deprecated: Use GetGroupsForUserRequest.ProtoReflect.Descriptor instead.

func (*GetGroupsForUserRequest) GetAuthContext added in v0.9.0

func (x *GetGroupsForUserRequest) GetAuthContext() *AuthContext

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

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

Cause function returns cause value.

func (GetGroupsForUserRequestValidationError) Error

Error satisfies the builtin error interface

func (GetGroupsForUserRequestValidationError) ErrorName

ErrorName returns error name.

func (GetGroupsForUserRequestValidationError) Field

Field function returns field value.

func (GetGroupsForUserRequestValidationError) Key

Key function returns key value.

func (GetGroupsForUserRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetGroupsForUserResponseValidationError) Error

Error satisfies the builtin error interface

func (GetGroupsForUserResponseValidationError) ErrorName

ErrorName returns error name.

func (GetGroupsForUserResponseValidationError) Field

Field function returns field value.

func (GetGroupsForUserResponseValidationError) Key

Key function returns key value.

func (GetGroupsForUserResponseValidationError) Reason

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"`
	AuthContext *AuthContext `protobuf:"bytes,99,opt,name=auth_context,json=authContext,proto3" json:"auth_context,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUsersForGroupRequest) Descriptor deprecated

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

Deprecated: Use GetUsersForGroupRequest.ProtoReflect.Descriptor instead.

func (*GetUsersForGroupRequest) GetAuthContext added in v0.9.0

func (x *GetUsersForGroupRequest) GetAuthContext() *AuthContext

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

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

Cause function returns cause value.

func (GetUsersForGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (GetUsersForGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (GetUsersForGroupRequestValidationError) Field

Field function returns field value.

func (GetUsersForGroupRequestValidationError) Key

Key function returns key value.

func (GetUsersForGroupRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetUsersForGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (GetUsersForGroupResponseValidationError) ErrorName

ErrorName returns error name.

func (GetUsersForGroupResponseValidationError) Field

Field function returns field value.

func (GetUsersForGroupResponseValidationError) Key

Key function returns key value.

func (GetUsersForGroupResponseValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetId

func (x *Group) GetId() string

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

func (*Group) Validate

func (m *Group) Validate() error

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

func (m *Group) ValidateAll() error

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 {
	GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*GetGroupResponse, error)
	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.

type IdentityManagementServicePluginClient

type IdentityManagementServicePluginClient struct {
	IdentityManagementServiceClient
}

func (*IdentityManagementServicePluginClient) GRPCServiceName

func (c *IdentityManagementServicePluginClient) GRPCServiceName() string

func (*IdentityManagementServicePluginClient) InitClient

func (*IdentityManagementServicePluginClient) IsInitialized

func (c *IdentityManagementServicePluginClient) IsInitialized() bool

func (IdentityManagementServicePluginClient) Type

type IdentityManagementServiceServer

type IdentityManagementServiceServer interface {
	GetGroup(context.Context, *GetGroupRequest) (*GetGroupResponse, error)
	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) GetGroup added in v0.8.0

func (UnimplementedIdentityManagementServiceServer) GetGroupsForUser

func (UnimplementedIdentityManagementServiceServer) GetUsersForGroup

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) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetId

func (x *User) GetId() string

func (*User) GetName

func (x *User) GetName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) Validate

func (m *User) Validate() error

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

func (*User) ValidateAll

func (m *User) ValidateAll() error

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

type UserMultiError

type UserMultiError []error

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

func (UserMultiError) AllErrors

func (m UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserMultiError) Error

func (m UserMultiError) Error() string

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

type UserValidationError

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

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

func (UserValidationError) Cause

func (e UserValidationError) Cause() error

Cause function returns cause value.

func (UserValidationError) Error

func (e UserValidationError) Error() string

Error satisfies the builtin error interface

func (UserValidationError) ErrorName

func (e UserValidationError) ErrorName() string

ErrorName returns error name.

func (UserValidationError) Field

func (e UserValidationError) Field() string

Field function returns field value.

func (UserValidationError) Key

func (e UserValidationError) Key() bool

Key function returns key value.

func (UserValidationError) Reason

func (e UserValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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