Documentation ¶
Index ¶
- Variables
- func RegisterOrganizationsServiceServer(s grpc.ServiceRegistrar, srv OrganizationsServiceServer)
- type InviteUsersRequest
- func (*InviteUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InviteUsersRequest) GetOrganizationId() string
- func (x *InviteUsersRequest) GetUserInvites() []*UserInvite
- func (*InviteUsersRequest) ProtoMessage()
- func (x *InviteUsersRequest) ProtoReflect() protoreflect.Message
- func (x *InviteUsersRequest) Reset()
- func (x *InviteUsersRequest) String() string
- type InviteUsersResponse
- func (*InviteUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InviteUsersResponse) GetInviteCount() int64
- func (x *InviteUsersResponse) GetIssues() []*InviteUsersResponse_UserInviteIssue
- func (*InviteUsersResponse) ProtoMessage()
- func (x *InviteUsersResponse) ProtoReflect() protoreflect.Message
- func (x *InviteUsersResponse) Reset()
- func (x *InviteUsersResponse) String() string
- type InviteUsersResponse_UserInviteIssue
- func (*InviteUsersResponse_UserInviteIssue) Descriptor() ([]byte, []int)deprecated
- func (x *InviteUsersResponse_UserInviteIssue) GetInvite() *UserInvite
- func (x *InviteUsersResponse_UserInviteIssue) GetMessage() string
- func (*InviteUsersResponse_UserInviteIssue) ProtoMessage()
- func (x *InviteUsersResponse_UserInviteIssue) ProtoReflect() protoreflect.Message
- func (x *InviteUsersResponse_UserInviteIssue) Reset()
- func (x *InviteUsersResponse_UserInviteIssue) String() string
- type OrganizationsServiceClient
- type OrganizationsServiceServer
- type UnimplementedOrganizationsServiceServer
- type UnsafeOrganizationsServiceServer
- type UserInvite
Constants ¶
This section is empty.
Variables ¶
var File_strmprivacy_api_organizations_v1_organizations_v1_proto protoreflect.FileDescriptor
var OrganizationsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "strmprivacy.api.organizations.v1.OrganizationsService", HandlerType: (*OrganizationsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "InviteUsers", Handler: _OrganizationsService_InviteUsers_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "strmprivacy/api/organizations/v1/organizations_v1.proto", }
OrganizationsService_ServiceDesc is the grpc.ServiceDesc for OrganizationsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOrganizationsServiceServer ¶
func RegisterOrganizationsServiceServer(s grpc.ServiceRegistrar, srv OrganizationsServiceServer)
Types ¶
type InviteUsersRequest ¶
type InviteUsersRequest struct { UserInvites []*UserInvite `protobuf:"bytes,1,rep,name=user_invites,json=userInvites,proto3" json:"user_invites,omitempty"` // This parameter is filled in by the management-api gateway from the identity of the caller. // It must be empty when a call is made to the management-api. OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // contains filtered or unexported fields }
func (*InviteUsersRequest) Descriptor
deprecated
func (*InviteUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use InviteUsersRequest.ProtoReflect.Descriptor instead.
func (*InviteUsersRequest) GetOrganizationId ¶
func (x *InviteUsersRequest) GetOrganizationId() string
func (*InviteUsersRequest) GetUserInvites ¶
func (x *InviteUsersRequest) GetUserInvites() []*UserInvite
func (*InviteUsersRequest) ProtoMessage ¶
func (*InviteUsersRequest) ProtoMessage()
func (*InviteUsersRequest) ProtoReflect ¶
func (x *InviteUsersRequest) ProtoReflect() protoreflect.Message
func (*InviteUsersRequest) Reset ¶
func (x *InviteUsersRequest) Reset()
func (*InviteUsersRequest) String ¶
func (x *InviteUsersRequest) String() string
type InviteUsersResponse ¶
type InviteUsersResponse struct { InviteCount int64 `protobuf:"varint,1,opt,name=invite_count,json=inviteCount,proto3" json:"invite_count,omitempty"` Issues []*InviteUsersResponse_UserInviteIssue `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"` // contains filtered or unexported fields }
func (*InviteUsersResponse) Descriptor
deprecated
func (*InviteUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use InviteUsersResponse.ProtoReflect.Descriptor instead.
func (*InviteUsersResponse) GetInviteCount ¶
func (x *InviteUsersResponse) GetInviteCount() int64
func (*InviteUsersResponse) GetIssues ¶
func (x *InviteUsersResponse) GetIssues() []*InviteUsersResponse_UserInviteIssue
func (*InviteUsersResponse) ProtoMessage ¶
func (*InviteUsersResponse) ProtoMessage()
func (*InviteUsersResponse) ProtoReflect ¶
func (x *InviteUsersResponse) ProtoReflect() protoreflect.Message
func (*InviteUsersResponse) Reset ¶
func (x *InviteUsersResponse) Reset()
func (*InviteUsersResponse) String ¶
func (x *InviteUsersResponse) String() string
type InviteUsersResponse_UserInviteIssue ¶
type InviteUsersResponse_UserInviteIssue struct { Invite *UserInvite `protobuf:"bytes,1,opt,name=invite,proto3" json:"invite,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*InviteUsersResponse_UserInviteIssue) Descriptor
deprecated
func (*InviteUsersResponse_UserInviteIssue) Descriptor() ([]byte, []int)
Deprecated: Use InviteUsersResponse_UserInviteIssue.ProtoReflect.Descriptor instead.
func (*InviteUsersResponse_UserInviteIssue) GetInvite ¶
func (x *InviteUsersResponse_UserInviteIssue) GetInvite() *UserInvite
func (*InviteUsersResponse_UserInviteIssue) GetMessage ¶
func (x *InviteUsersResponse_UserInviteIssue) GetMessage() string
func (*InviteUsersResponse_UserInviteIssue) ProtoMessage ¶
func (*InviteUsersResponse_UserInviteIssue) ProtoMessage()
func (*InviteUsersResponse_UserInviteIssue) ProtoReflect ¶
func (x *InviteUsersResponse_UserInviteIssue) ProtoReflect() protoreflect.Message
func (*InviteUsersResponse_UserInviteIssue) Reset ¶
func (x *InviteUsersResponse_UserInviteIssue) Reset()
func (*InviteUsersResponse_UserInviteIssue) String ¶
func (x *InviteUsersResponse_UserInviteIssue) String() string
type OrganizationsServiceClient ¶
type OrganizationsServiceClient interface {
InviteUsers(ctx context.Context, in *InviteUsersRequest, opts ...grpc.CallOption) (*InviteUsersResponse, error)
}
OrganizationsServiceClient is the client API for OrganizationsService 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 NewOrganizationsServiceClient ¶
func NewOrganizationsServiceClient(cc grpc.ClientConnInterface) OrganizationsServiceClient
type OrganizationsServiceServer ¶
type OrganizationsServiceServer interface { InviteUsers(context.Context, *InviteUsersRequest) (*InviteUsersResponse, error) // contains filtered or unexported methods }
OrganizationsServiceServer is the server API for OrganizationsService service. All implementations must embed UnimplementedOrganizationsServiceServer for forward compatibility
type UnimplementedOrganizationsServiceServer ¶
type UnimplementedOrganizationsServiceServer struct { }
UnimplementedOrganizationsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOrganizationsServiceServer) InviteUsers ¶
func (UnimplementedOrganizationsServiceServer) InviteUsers(context.Context, *InviteUsersRequest) (*InviteUsersResponse, error)
type UnsafeOrganizationsServiceServer ¶
type UnsafeOrganizationsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOrganizationsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrganizationsServiceServer will result in compilation errors.
type UserInvite ¶
type UserInvite struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*UserInvite) Descriptor
deprecated
func (*UserInvite) Descriptor() ([]byte, []int)
Deprecated: Use UserInvite.ProtoReflect.Descriptor instead.
func (*UserInvite) GetEmail ¶
func (x *UserInvite) GetEmail() string
func (*UserInvite) ProtoMessage ¶
func (*UserInvite) ProtoMessage()
func (*UserInvite) ProtoReflect ¶
func (x *UserInvite) ProtoReflect() protoreflect.Message
func (*UserInvite) Reset ¶
func (x *UserInvite) Reset()
func (*UserInvite) String ¶
func (x *UserInvite) String() string