identity_managementv1

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

View Source
const (
	Type                = "IdentityManagementService"
	GRPCServiceFullName = "plugin.identity_management.v1.IdentityManagementService"
)
View Source
const (
	IdentityManagementService_GetUser_FullMethodName          = "/plugin.identity_management.v1.IdentityManagementService/GetUser"
	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: "GetUser",
			Handler:    _IdentityManagementService_GetUser_Handler,
		},
		{
			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 `` /* 135-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

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

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

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

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

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

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

type GetUserRequest added in v0.11.0

type GetUserRequest 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 (*GetUserRequest) Descriptor deprecated added in v0.11.0

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetAuthContext added in v0.11.0

func (x *GetUserRequest) GetAuthContext() *AuthContext

func (*GetUserRequest) GetUserId added in v0.11.0

func (x *GetUserRequest) GetUserId() string

func (*GetUserRequest) ProtoMessage added in v0.11.0

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect added in v0.11.0

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

func (*GetUserRequest) Reset added in v0.11.0

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String added in v0.11.0

func (x *GetUserRequest) String() string

type GetUserResponse added in v0.11.0

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

func (*GetUserResponse) Descriptor deprecated added in v0.11.0

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

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetUser added in v0.11.0

func (x *GetUserResponse) GetUser() *User

func (*GetUserResponse) ProtoMessage added in v0.11.0

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) ProtoReflect added in v0.11.0

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

func (*GetUserResponse) Reset added in v0.11.0

func (x *GetUserResponse) Reset()

func (*GetUserResponse) String added in v0.11.0

func (x *GetUserResponse) String() string

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

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

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

type IdentityManagementServiceClient

type IdentityManagementServiceClient interface {
	GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error)
	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 {
	GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
	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.

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

func (UnimplementedIdentityManagementServiceServer) GetAllGroups added in v0.6.0

func (UnimplementedIdentityManagementServiceServer) GetGroup added in v0.8.0

func (UnimplementedIdentityManagementServiceServer) GetGroupsForUser

func (UnimplementedIdentityManagementServiceServer) GetUser added in v0.11.0

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

Jump to

Keyboard shortcuts

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