groups

package
v0.0.40 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package groups is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Groups_CreateGroup_FullMethodName         = "/Superplane.Groups.Groups/CreateGroup"
	Groups_AddUserToGroup_FullMethodName      = "/Superplane.Groups.Groups/AddUserToGroup"
	Groups_RemoveUserFromGroup_FullMethodName = "/Superplane.Groups.Groups/RemoveUserFromGroup"
	Groups_ListGroups_FullMethodName          = "/Superplane.Groups.Groups/ListGroups"
	Groups_ListGroupUsers_FullMethodName      = "/Superplane.Groups.Groups/ListGroupUsers"
	Groups_DescribeGroup_FullMethodName       = "/Superplane.Groups.Groups/DescribeGroup"
	Groups_UpdateGroup_FullMethodName         = "/Superplane.Groups.Groups/UpdateGroup"
	Groups_DeleteGroup_FullMethodName         = "/Superplane.Groups.Groups/DeleteGroup"
)

Variables

View Source
var File_groups_proto protoreflect.FileDescriptor
View Source
var Groups_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "Superplane.Groups.Groups",
	HandlerType: (*GroupsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateGroup",
			Handler:    _Groups_CreateGroup_Handler,
		},
		{
			MethodName: "AddUserToGroup",
			Handler:    _Groups_AddUserToGroup_Handler,
		},
		{
			MethodName: "RemoveUserFromGroup",
			Handler:    _Groups_RemoveUserFromGroup_Handler,
		},
		{
			MethodName: "ListGroups",
			Handler:    _Groups_ListGroups_Handler,
		},
		{
			MethodName: "ListGroupUsers",
			Handler:    _Groups_ListGroupUsers_Handler,
		},
		{
			MethodName: "DescribeGroup",
			Handler:    _Groups_DescribeGroup_Handler,
		},
		{
			MethodName: "UpdateGroup",
			Handler:    _Groups_UpdateGroup_Handler,
		},
		{
			MethodName: "DeleteGroup",
			Handler:    _Groups_DeleteGroup_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "groups.proto",
}

Groups_ServiceDesc is the grpc.ServiceDesc for Groups service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterGroupsHandler

func RegisterGroupsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterGroupsHandler registers the http handlers for service Groups to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterGroupsHandlerClient

func RegisterGroupsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GroupsClient) error

RegisterGroupsHandlerClient registers the http handlers for service Groups to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GroupsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GroupsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GroupsClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterGroupsHandlerFromEndpoint

func RegisterGroupsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterGroupsHandlerFromEndpoint is same as RegisterGroupsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterGroupsHandlerServer

func RegisterGroupsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GroupsServer) error

RegisterGroupsHandlerServer registers the http handlers for service Groups to "mux". UnaryRPC :call GroupsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterGroupsHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterGroupsServer

func RegisterGroupsServer(s grpc.ServiceRegistrar, srv GroupsServer)

Types

type AddUserToGroupRequest

type AddUserToGroupRequest struct {
	DomainType authorization.DomainType `` /* 133-byte string literal not displayed */
	DomainId   string                   `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
	GroupName  string                   `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	UserId     string                   `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UserEmail  string                   `protobuf:"bytes,5,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	// contains filtered or unexported fields
}

func (*AddUserToGroupRequest) Descriptor deprecated

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

Deprecated: Use AddUserToGroupRequest.ProtoReflect.Descriptor instead.

func (*AddUserToGroupRequest) GetDomainId

func (x *AddUserToGroupRequest) GetDomainId() string

func (*AddUserToGroupRequest) GetDomainType

func (x *AddUserToGroupRequest) GetDomainType() authorization.DomainType

func (*AddUserToGroupRequest) GetGroupName

func (x *AddUserToGroupRequest) GetGroupName() string

func (*AddUserToGroupRequest) GetUserEmail

func (x *AddUserToGroupRequest) GetUserEmail() string

func (*AddUserToGroupRequest) GetUserId

func (x *AddUserToGroupRequest) GetUserId() string

func (*AddUserToGroupRequest) ProtoMessage

func (*AddUserToGroupRequest) ProtoMessage()

func (*AddUserToGroupRequest) ProtoReflect

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

func (*AddUserToGroupRequest) Reset

func (x *AddUserToGroupRequest) Reset()

func (*AddUserToGroupRequest) String

func (x *AddUserToGroupRequest) String() string

type AddUserToGroupResponse

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

func (*AddUserToGroupResponse) Descriptor deprecated

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

Deprecated: Use AddUserToGroupResponse.ProtoReflect.Descriptor instead.

func (*AddUserToGroupResponse) ProtoMessage

func (*AddUserToGroupResponse) ProtoMessage()

func (*AddUserToGroupResponse) ProtoReflect

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

func (*AddUserToGroupResponse) Reset

func (x *AddUserToGroupResponse) Reset()

func (*AddUserToGroupResponse) String

func (x *AddUserToGroupResponse) String() string

type CreateGroupRequest

type CreateGroupRequest struct {
	DomainType authorization.DomainType `` /* 133-byte string literal not displayed */
	DomainId   string                   `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
	Group      *Group                   `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGroupRequest) Descriptor deprecated

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

Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateGroupRequest) GetDomainId

func (x *CreateGroupRequest) GetDomainId() string

func (*CreateGroupRequest) GetDomainType

func (x *CreateGroupRequest) GetDomainType() authorization.DomainType

func (*CreateGroupRequest) GetGroup

func (x *CreateGroupRequest) GetGroup() *Group

func (*CreateGroupRequest) ProtoMessage

func (*CreateGroupRequest) ProtoMessage()

func (*CreateGroupRequest) ProtoReflect

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

func (*CreateGroupRequest) Reset

func (x *CreateGroupRequest) Reset()

func (*CreateGroupRequest) String

func (x *CreateGroupRequest) String() string

type CreateGroupResponse

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

func (*CreateGroupResponse) Descriptor deprecated

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

Deprecated: Use CreateGroupResponse.ProtoReflect.Descriptor instead.

func (*CreateGroupResponse) GetGroup

func (x *CreateGroupResponse) GetGroup() *Group

func (*CreateGroupResponse) ProtoMessage

func (*CreateGroupResponse) ProtoMessage()

func (*CreateGroupResponse) ProtoReflect

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

func (*CreateGroupResponse) Reset

func (x *CreateGroupResponse) Reset()

func (*CreateGroupResponse) String

func (x *CreateGroupResponse) String() string

type DeleteGroupRequest

type DeleteGroupRequest struct {
	DomainType authorization.DomainType `` /* 133-byte string literal not displayed */
	DomainId   string                   `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
	GroupName  string                   `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteGroupRequest) Descriptor deprecated

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

Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteGroupRequest) GetDomainId

func (x *DeleteGroupRequest) GetDomainId() string

func (*DeleteGroupRequest) GetDomainType

func (x *DeleteGroupRequest) GetDomainType() authorization.DomainType

func (*DeleteGroupRequest) GetGroupName

func (x *DeleteGroupRequest) GetGroupName() string

func (*DeleteGroupRequest) ProtoMessage

func (*DeleteGroupRequest) ProtoMessage()

func (*DeleteGroupRequest) ProtoReflect

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

func (*DeleteGroupRequest) Reset

func (x *DeleteGroupRequest) Reset()

func (*DeleteGroupRequest) String

func (x *DeleteGroupRequest) String() string

type DeleteGroupResponse

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

func (*DeleteGroupResponse) Descriptor deprecated

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

Deprecated: Use DeleteGroupResponse.ProtoReflect.Descriptor instead.

func (*DeleteGroupResponse) ProtoMessage

func (*DeleteGroupResponse) ProtoMessage()

func (*DeleteGroupResponse) ProtoReflect

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

func (*DeleteGroupResponse) Reset

func (x *DeleteGroupResponse) Reset()

func (*DeleteGroupResponse) String

func (x *DeleteGroupResponse) String() string

type DescribeGroupRequest

type DescribeGroupRequest struct {
	DomainType authorization.DomainType `` /* 133-byte string literal not displayed */
	DomainId   string                   `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
	GroupName  string                   `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeGroupRequest) Descriptor deprecated

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

Deprecated: Use DescribeGroupRequest.ProtoReflect.Descriptor instead.

func (*DescribeGroupRequest) GetDomainId

func (x *DescribeGroupRequest) GetDomainId() string

func (*DescribeGroupRequest) GetDomainType

func (x *DescribeGroupRequest) GetDomainType() authorization.DomainType

func (*DescribeGroupRequest) GetGroupName

func (x *DescribeGroupRequest) GetGroupName() string

func (*DescribeGroupRequest) ProtoMessage

func (*DescribeGroupRequest) ProtoMessage()

func (*DescribeGroupRequest) ProtoReflect

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

func (*DescribeGroupRequest) Reset

func (x *DescribeGroupRequest) Reset()

func (*DescribeGroupRequest) String

func (x *DescribeGroupRequest) String() string

type DescribeGroupResponse

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

func (*DescribeGroupResponse) Descriptor deprecated

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

Deprecated: Use DescribeGroupResponse.ProtoReflect.Descriptor instead.

func (*DescribeGroupResponse) GetGroup

func (x *DescribeGroupResponse) GetGroup() *Group

func (*DescribeGroupResponse) ProtoMessage

func (*DescribeGroupResponse) ProtoMessage()

func (*DescribeGroupResponse) ProtoReflect

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

func (*DescribeGroupResponse) Reset

func (x *DescribeGroupResponse) Reset()

func (*DescribeGroupResponse) String

func (x *DescribeGroupResponse) String() string

type Group

type Group struct {
	Metadata *Group_Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Spec     *Group_Spec     `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	Status   *Group_Status   `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Group) Descriptor deprecated

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetMetadata

func (x *Group) GetMetadata() *Group_Metadata

func (*Group) GetSpec

func (x *Group) GetSpec() *Group_Spec

func (*Group) GetStatus

func (x *Group) GetStatus() *Group_Status

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 Group_Metadata

type Group_Metadata struct {
	Name       string                   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DomainType authorization.DomainType `` /* 133-byte string literal not displayed */
	DomainId   string                   `protobuf:"bytes,3,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
	CreatedAt  *timestamp.Timestamp     `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt  *timestamp.Timestamp     `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Group_Metadata) Descriptor deprecated

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

Deprecated: Use Group_Metadata.ProtoReflect.Descriptor instead.

func (*Group_Metadata) GetCreatedAt

func (x *Group_Metadata) GetCreatedAt() *timestamp.Timestamp

func (*Group_Metadata) GetDomainId

func (x *Group_Metadata) GetDomainId() string

func (*Group_Metadata) GetDomainType

func (x *Group_Metadata) GetDomainType() authorization.DomainType

func (*Group_Metadata) GetName

func (x *Group_Metadata) GetName() string

func (*Group_Metadata) GetUpdatedAt

func (x *Group_Metadata) GetUpdatedAt() *timestamp.Timestamp

func (*Group_Metadata) ProtoMessage

func (*Group_Metadata) ProtoMessage()

func (*Group_Metadata) ProtoReflect

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

func (*Group_Metadata) Reset

func (x *Group_Metadata) Reset()

func (*Group_Metadata) String

func (x *Group_Metadata) String() string

type Group_Spec

type Group_Spec struct {
	Role        string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Group_Spec) Descriptor deprecated

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

Deprecated: Use Group_Spec.ProtoReflect.Descriptor instead.

func (*Group_Spec) GetDescription

func (x *Group_Spec) GetDescription() string

func (*Group_Spec) GetDisplayName

func (x *Group_Spec) GetDisplayName() string

func (*Group_Spec) GetRole

func (x *Group_Spec) GetRole() string

func (*Group_Spec) ProtoMessage

func (*Group_Spec) ProtoMessage()

func (*Group_Spec) ProtoReflect

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

func (*Group_Spec) Reset

func (x *Group_Spec) Reset()

func (*Group_Spec) String

func (x *Group_Spec) String() string

type Group_Status

type Group_Status struct {
	MembersCount int32 `protobuf:"varint,1,opt,name=members_count,json=membersCount,proto3" json:"members_count,omitempty"`
	// contains filtered or unexported fields
}

func (*Group_Status) Descriptor deprecated

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

Deprecated: Use Group_Status.ProtoReflect.Descriptor instead.

func (*Group_Status) GetMembersCount

func (x *Group_Status) GetMembersCount() int32

func (*Group_Status) ProtoMessage

func (*Group_Status) ProtoMessage()

func (*Group_Status) ProtoReflect

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

func (*Group_Status) Reset

func (x *Group_Status) Reset()

func (*Group_Status) String

func (x *Group_Status) String() string

type GroupsClient

type GroupsClient interface {
	// Endpoint for creating a group within a domain
	// Operation is synchronous and idempotent.
	CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*CreateGroupResponse, error)
	// Endpoint for adding a user to a group
	// Operation is synchronous and idempotent.
	AddUserToGroup(ctx context.Context, in *AddUserToGroupRequest, opts ...grpc.CallOption) (*AddUserToGroupResponse, error)
	// Endpoint for removing a user from a group
	// Operation is synchronous and idempotent.
	RemoveUserFromGroup(ctx context.Context, in *RemoveUserFromGroupRequest, opts ...grpc.CallOption) (*RemoveUserFromGroupResponse, error)
	// Endpoint for listing groups within a domain
	// Operation is synchronous and idempotent.
	ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error)
	// Endpoint for getting users in a specific group
	// Operation is synchronous and idempotent.
	ListGroupUsers(ctx context.Context, in *ListGroupUsersRequest, opts ...grpc.CallOption) (*ListGroupUsersResponse, error)
	// Endpoint for getting details of a specific group
	// Operation is synchronous and idempotent.
	DescribeGroup(ctx context.Context, in *DescribeGroupRequest, opts ...grpc.CallOption) (*DescribeGroupResponse, error)
	// Endpoint for updating a group
	// Operation is synchronous and idempotent.
	UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*UpdateGroupResponse, error)
	// Endpoint for deleting a group
	// Operation is synchronous and idempotent.
	DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*DeleteGroupResponse, error)
}

GroupsClient is the client API for Groups 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 NewGroupsClient

func NewGroupsClient(cc grpc.ClientConnInterface) GroupsClient

type GroupsServer

type GroupsServer interface {
	// Endpoint for creating a group within a domain
	// Operation is synchronous and idempotent.
	CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error)
	// Endpoint for adding a user to a group
	// Operation is synchronous and idempotent.
	AddUserToGroup(context.Context, *AddUserToGroupRequest) (*AddUserToGroupResponse, error)
	// Endpoint for removing a user from a group
	// Operation is synchronous and idempotent.
	RemoveUserFromGroup(context.Context, *RemoveUserFromGroupRequest) (*RemoveUserFromGroupResponse, error)
	// Endpoint for listing groups within a domain
	// Operation is synchronous and idempotent.
	ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error)
	// Endpoint for getting users in a specific group
	// Operation is synchronous and idempotent.
	ListGroupUsers(context.Context, *ListGroupUsersRequest) (*ListGroupUsersResponse, error)
	// Endpoint for getting details of a specific group
	// Operation is synchronous and idempotent.
	DescribeGroup(context.Context, *DescribeGroupRequest) (*DescribeGroupResponse, error)
	// Endpoint for updating a group
	// Operation is synchronous and idempotent.
	UpdateGroup(context.Context, *UpdateGroupRequest) (*UpdateGroupResponse, error)
	// Endpoint for deleting a group
	// Operation is synchronous and idempotent.
	DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupResponse, error)
}

GroupsServer is the server API for Groups service. All implementations should embed UnimplementedGroupsServer for forward compatibility.

type ListGroupUsersRequest

type ListGroupUsersRequest struct {
	DomainType authorization.DomainType `` /* 133-byte string literal not displayed */
	DomainId   string                   `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
	GroupName  string                   `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGroupUsersRequest) Descriptor deprecated

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

Deprecated: Use ListGroupUsersRequest.ProtoReflect.Descriptor instead.

func (*ListGroupUsersRequest) GetDomainId

func (x *ListGroupUsersRequest) GetDomainId() string

func (*ListGroupUsersRequest) GetDomainType

func (x *ListGroupUsersRequest) GetDomainType() authorization.DomainType

func (*ListGroupUsersRequest) GetGroupName

func (x *ListGroupUsersRequest) GetGroupName() string

func (*ListGroupUsersRequest) ProtoMessage

func (*ListGroupUsersRequest) ProtoMessage()

func (*ListGroupUsersRequest) ProtoReflect

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

func (*ListGroupUsersRequest) Reset

func (x *ListGroupUsersRequest) Reset()

func (*ListGroupUsersRequest) String

func (x *ListGroupUsersRequest) String() string

type ListGroupUsersResponse

type ListGroupUsersResponse struct {
	Users []*users.User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	Group *Group        `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGroupUsersResponse) Descriptor deprecated

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

Deprecated: Use ListGroupUsersResponse.ProtoReflect.Descriptor instead.

func (*ListGroupUsersResponse) GetGroup

func (x *ListGroupUsersResponse) GetGroup() *Group

func (*ListGroupUsersResponse) GetUsers

func (x *ListGroupUsersResponse) GetUsers() []*users.User

func (*ListGroupUsersResponse) ProtoMessage

func (*ListGroupUsersResponse) ProtoMessage()

func (*ListGroupUsersResponse) ProtoReflect

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

func (*ListGroupUsersResponse) Reset

func (x *ListGroupUsersResponse) Reset()

func (*ListGroupUsersResponse) String

func (x *ListGroupUsersResponse) String() string

type ListGroupsRequest

type ListGroupsRequest struct {
	DomainType authorization.DomainType `` /* 133-byte string literal not displayed */
	DomainId   string                   `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGroupsRequest) Descriptor deprecated

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

Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListGroupsRequest) GetDomainId

func (x *ListGroupsRequest) GetDomainId() string

func (*ListGroupsRequest) GetDomainType

func (x *ListGroupsRequest) GetDomainType() authorization.DomainType

func (*ListGroupsRequest) ProtoMessage

func (*ListGroupsRequest) ProtoMessage()

func (*ListGroupsRequest) ProtoReflect

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

func (*ListGroupsRequest) Reset

func (x *ListGroupsRequest) Reset()

func (*ListGroupsRequest) String

func (x *ListGroupsRequest) String() string

type ListGroupsResponse

type ListGroupsResponse struct {
	Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGroupsResponse) Descriptor deprecated

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

Deprecated: Use ListGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListGroupsResponse) GetGroups

func (x *ListGroupsResponse) GetGroups() []*Group

func (*ListGroupsResponse) ProtoMessage

func (*ListGroupsResponse) ProtoMessage()

func (*ListGroupsResponse) ProtoReflect

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

func (*ListGroupsResponse) Reset

func (x *ListGroupsResponse) Reset()

func (*ListGroupsResponse) String

func (x *ListGroupsResponse) String() string

type RemoveUserFromGroupRequest

type RemoveUserFromGroupRequest struct {
	DomainType authorization.DomainType `` /* 133-byte string literal not displayed */
	DomainId   string                   `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
	GroupName  string                   `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	UserId     string                   `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UserEmail  string                   `protobuf:"bytes,5,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveUserFromGroupRequest) Descriptor deprecated

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

Deprecated: Use RemoveUserFromGroupRequest.ProtoReflect.Descriptor instead.

func (*RemoveUserFromGroupRequest) GetDomainId

func (x *RemoveUserFromGroupRequest) GetDomainId() string

func (*RemoveUserFromGroupRequest) GetDomainType

func (*RemoveUserFromGroupRequest) GetGroupName

func (x *RemoveUserFromGroupRequest) GetGroupName() string

func (*RemoveUserFromGroupRequest) GetUserEmail

func (x *RemoveUserFromGroupRequest) GetUserEmail() string

func (*RemoveUserFromGroupRequest) GetUserId

func (x *RemoveUserFromGroupRequest) GetUserId() string

func (*RemoveUserFromGroupRequest) ProtoMessage

func (*RemoveUserFromGroupRequest) ProtoMessage()

func (*RemoveUserFromGroupRequest) ProtoReflect

func (*RemoveUserFromGroupRequest) Reset

func (x *RemoveUserFromGroupRequest) Reset()

func (*RemoveUserFromGroupRequest) String

func (x *RemoveUserFromGroupRequest) String() string

type RemoveUserFromGroupResponse

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

func (*RemoveUserFromGroupResponse) Descriptor deprecated

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

Deprecated: Use RemoveUserFromGroupResponse.ProtoReflect.Descriptor instead.

func (*RemoveUserFromGroupResponse) ProtoMessage

func (*RemoveUserFromGroupResponse) ProtoMessage()

func (*RemoveUserFromGroupResponse) ProtoReflect

func (*RemoveUserFromGroupResponse) Reset

func (x *RemoveUserFromGroupResponse) Reset()

func (*RemoveUserFromGroupResponse) String

func (x *RemoveUserFromGroupResponse) String() string

type UnimplementedGroupsServer

type UnimplementedGroupsServer struct{}

UnimplementedGroupsServer should 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 (UnimplementedGroupsServer) AddUserToGroup

func (UnimplementedGroupsServer) CreateGroup

func (UnimplementedGroupsServer) DeleteGroup

func (UnimplementedGroupsServer) DescribeGroup

func (UnimplementedGroupsServer) ListGroupUsers

func (UnimplementedGroupsServer) ListGroups

func (UnimplementedGroupsServer) UpdateGroup

type UnsafeGroupsServer

type UnsafeGroupsServer interface {
	// contains filtered or unexported methods
}

UnsafeGroupsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GroupsServer will result in compilation errors.

type UpdateGroupRequest

type UpdateGroupRequest struct {
	DomainType authorization.DomainType `` /* 133-byte string literal not displayed */
	DomainId   string                   `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
	GroupName  string                   `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	Group      *Group                   `protobuf:"bytes,4,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateGroupRequest) Descriptor deprecated

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

Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateGroupRequest) GetDomainId

func (x *UpdateGroupRequest) GetDomainId() string

func (*UpdateGroupRequest) GetDomainType

func (x *UpdateGroupRequest) GetDomainType() authorization.DomainType

func (*UpdateGroupRequest) GetGroup

func (x *UpdateGroupRequest) GetGroup() *Group

func (*UpdateGroupRequest) GetGroupName

func (x *UpdateGroupRequest) GetGroupName() string

func (*UpdateGroupRequest) ProtoMessage

func (*UpdateGroupRequest) ProtoMessage()

func (*UpdateGroupRequest) ProtoReflect

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

func (*UpdateGroupRequest) Reset

func (x *UpdateGroupRequest) Reset()

func (*UpdateGroupRequest) String

func (x *UpdateGroupRequest) String() string

type UpdateGroupResponse

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

func (*UpdateGroupResponse) Descriptor deprecated

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

Deprecated: Use UpdateGroupResponse.ProtoReflect.Descriptor instead.

func (*UpdateGroupResponse) GetGroup

func (x *UpdateGroupResponse) GetGroup() *Group

func (*UpdateGroupResponse) ProtoMessage

func (*UpdateGroupResponse) ProtoMessage()

func (*UpdateGroupResponse) ProtoReflect

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

func (*UpdateGroupResponse) Reset

func (x *UpdateGroupResponse) Reset()

func (*UpdateGroupResponse) String

func (x *UpdateGroupResponse) String() string

Jump to

Keyboard shortcuts

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