Documentation ¶
Index ¶
- Variables
- func RegisterDispatchServiceServer(s grpc.ServiceRegistrar, srv DispatchServiceServer)
- type DispatchCheckRequest
- func (*DispatchCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DispatchCheckRequest) GetMetadata() *ResolverMeta
- func (x *DispatchCheckRequest) GetObjectAndRelation() *v0.ObjectAndRelation
- func (x *DispatchCheckRequest) GetSubject() *v0.ObjectAndRelation
- func (cr *DispatchCheckRequest) MarshalZerologObject(e *zerolog.Event)
- func (*DispatchCheckRequest) ProtoMessage()
- func (x *DispatchCheckRequest) ProtoReflect() protoreflect.Message
- func (x *DispatchCheckRequest) Reset()
- func (x *DispatchCheckRequest) String() string
- func (m *DispatchCheckRequest) Validate() error
- type DispatchCheckRequestValidationError
- func (e DispatchCheckRequestValidationError) Cause() error
- func (e DispatchCheckRequestValidationError) Error() string
- func (e DispatchCheckRequestValidationError) ErrorName() string
- func (e DispatchCheckRequestValidationError) Field() string
- func (e DispatchCheckRequestValidationError) Key() bool
- func (e DispatchCheckRequestValidationError) Reason() string
- type DispatchCheckResponse
- func (*DispatchCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DispatchCheckResponse) GetMembership() DispatchCheckResponse_Membership
- func (x *DispatchCheckResponse) GetMetadata() *ResponseMeta
- func (cr *DispatchCheckResponse) MarshalZerologObject(e *zerolog.Event)
- func (*DispatchCheckResponse) ProtoMessage()
- func (x *DispatchCheckResponse) ProtoReflect() protoreflect.Message
- func (x *DispatchCheckResponse) Reset()
- func (x *DispatchCheckResponse) String() string
- func (m *DispatchCheckResponse) Validate() error
- type DispatchCheckResponseValidationError
- func (e DispatchCheckResponseValidationError) Cause() error
- func (e DispatchCheckResponseValidationError) Error() string
- func (e DispatchCheckResponseValidationError) ErrorName() string
- func (e DispatchCheckResponseValidationError) Field() string
- func (e DispatchCheckResponseValidationError) Key() bool
- func (e DispatchCheckResponseValidationError) Reason() string
- type DispatchCheckResponse_Membership
- func (DispatchCheckResponse_Membership) Descriptor() protoreflect.EnumDescriptor
- func (x DispatchCheckResponse_Membership) Enum() *DispatchCheckResponse_Membership
- func (DispatchCheckResponse_Membership) EnumDescriptor() ([]byte, []int)deprecated
- func (x DispatchCheckResponse_Membership) Number() protoreflect.EnumNumber
- func (x DispatchCheckResponse_Membership) String() string
- func (DispatchCheckResponse_Membership) Type() protoreflect.EnumType
- type DispatchExpandRequest
- func (*DispatchExpandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DispatchExpandRequest) GetExpansionMode() DispatchExpandRequest_ExpansionMode
- func (x *DispatchExpandRequest) GetMetadata() *ResolverMeta
- func (x *DispatchExpandRequest) GetObjectAndRelation() *v0.ObjectAndRelation
- func (er *DispatchExpandRequest) MarshalZerologObject(e *zerolog.Event)
- func (*DispatchExpandRequest) ProtoMessage()
- func (x *DispatchExpandRequest) ProtoReflect() protoreflect.Message
- func (x *DispatchExpandRequest) Reset()
- func (x *DispatchExpandRequest) String() string
- func (m *DispatchExpandRequest) Validate() error
- type DispatchExpandRequestValidationError
- func (e DispatchExpandRequestValidationError) Cause() error
- func (e DispatchExpandRequestValidationError) Error() string
- func (e DispatchExpandRequestValidationError) ErrorName() string
- func (e DispatchExpandRequestValidationError) Field() string
- func (e DispatchExpandRequestValidationError) Key() bool
- func (e DispatchExpandRequestValidationError) Reason() string
- type DispatchExpandRequest_ExpansionMode
- func (DispatchExpandRequest_ExpansionMode) Descriptor() protoreflect.EnumDescriptor
- func (x DispatchExpandRequest_ExpansionMode) Enum() *DispatchExpandRequest_ExpansionMode
- func (DispatchExpandRequest_ExpansionMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x DispatchExpandRequest_ExpansionMode) Number() protoreflect.EnumNumber
- func (x DispatchExpandRequest_ExpansionMode) String() string
- func (DispatchExpandRequest_ExpansionMode) Type() protoreflect.EnumType
- type DispatchExpandResponse
- func (*DispatchExpandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DispatchExpandResponse) GetMetadata() *ResponseMeta
- func (x *DispatchExpandResponse) GetTreeNode() *v0.RelationTupleTreeNode
- func (cr *DispatchExpandResponse) MarshalZerologObject(e *zerolog.Event)
- func (*DispatchExpandResponse) ProtoMessage()
- func (x *DispatchExpandResponse) ProtoReflect() protoreflect.Message
- func (x *DispatchExpandResponse) Reset()
- func (x *DispatchExpandResponse) String() string
- func (m *DispatchExpandResponse) Validate() error
- type DispatchExpandResponseValidationError
- func (e DispatchExpandResponseValidationError) Cause() error
- func (e DispatchExpandResponseValidationError) Error() string
- func (e DispatchExpandResponseValidationError) ErrorName() string
- func (e DispatchExpandResponseValidationError) Field() string
- func (e DispatchExpandResponseValidationError) Key() bool
- func (e DispatchExpandResponseValidationError) Reason() string
- type DispatchLookupRequest
- func (*DispatchLookupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DispatchLookupRequest) GetDirectStack() []*v0.RelationReference
- func (x *DispatchLookupRequest) GetLimit() uint32
- func (x *DispatchLookupRequest) GetMetadata() *ResolverMeta
- func (x *DispatchLookupRequest) GetObjectRelation() *v0.RelationReference
- func (x *DispatchLookupRequest) GetSubject() *v0.ObjectAndRelation
- func (x *DispatchLookupRequest) GetTtuStack() []*v0.RelationReference
- func (lr *DispatchLookupRequest) MarshalZerologObject(e *zerolog.Event)
- func (*DispatchLookupRequest) ProtoMessage()
- func (x *DispatchLookupRequest) ProtoReflect() protoreflect.Message
- func (x *DispatchLookupRequest) Reset()
- func (x *DispatchLookupRequest) String() string
- func (m *DispatchLookupRequest) Validate() error
- type DispatchLookupRequestValidationError
- func (e DispatchLookupRequestValidationError) Cause() error
- func (e DispatchLookupRequestValidationError) Error() string
- func (e DispatchLookupRequestValidationError) ErrorName() string
- func (e DispatchLookupRequestValidationError) Field() string
- func (e DispatchLookupRequestValidationError) Key() bool
- func (e DispatchLookupRequestValidationError) Reason() string
- type DispatchLookupResponse
- func (*DispatchLookupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DispatchLookupResponse) GetMetadata() *ResponseMeta
- func (x *DispatchLookupResponse) GetNextPageReference() string
- func (x *DispatchLookupResponse) GetResolvedOnrs() []*v0.ObjectAndRelation
- func (cr *DispatchLookupResponse) MarshalZerologObject(e *zerolog.Event)
- func (*DispatchLookupResponse) ProtoMessage()
- func (x *DispatchLookupResponse) ProtoReflect() protoreflect.Message
- func (x *DispatchLookupResponse) Reset()
- func (x *DispatchLookupResponse) String() string
- func (m *DispatchLookupResponse) Validate() error
- type DispatchLookupResponseValidationError
- func (e DispatchLookupResponseValidationError) Cause() error
- func (e DispatchLookupResponseValidationError) Error() string
- func (e DispatchLookupResponseValidationError) ErrorName() string
- func (e DispatchLookupResponseValidationError) Field() string
- func (e DispatchLookupResponseValidationError) Key() bool
- func (e DispatchLookupResponseValidationError) Reason() string
- type DispatchServiceClient
- type DispatchServiceServer
- type ResolverMeta
- func (*ResolverMeta) Descriptor() ([]byte, []int)deprecated
- func (x *ResolverMeta) GetAtRevision() string
- func (x *ResolverMeta) GetDepthRemaining() uint32
- func (cr *ResolverMeta) MarshalZerologObject(e *zerolog.Event)
- func (*ResolverMeta) ProtoMessage()
- func (x *ResolverMeta) ProtoReflect() protoreflect.Message
- func (x *ResolverMeta) Reset()
- func (x *ResolverMeta) String() string
- func (m *ResolverMeta) Validate() error
- type ResolverMetaValidationError
- func (e ResolverMetaValidationError) Cause() error
- func (e ResolverMetaValidationError) Error() string
- func (e ResolverMetaValidationError) ErrorName() string
- func (e ResolverMetaValidationError) Field() string
- func (e ResolverMetaValidationError) Key() bool
- func (e ResolverMetaValidationError) Reason() string
- type ResponseMeta
- func (*ResponseMeta) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMeta) GetCachedDispatchCount() uint32
- func (x *ResponseMeta) GetDepthRequired() uint32
- func (x *ResponseMeta) GetDispatchCount() uint32
- func (x *ResponseMeta) GetLookupExcludedDirect() []*v0.RelationReference
- func (x *ResponseMeta) GetLookupExcludedTtu() []*v0.RelationReference
- func (cr *ResponseMeta) MarshalZerologObject(e *zerolog.Event)
- func (*ResponseMeta) ProtoMessage()
- func (x *ResponseMeta) ProtoReflect() protoreflect.Message
- func (x *ResponseMeta) Reset()
- func (x *ResponseMeta) String() string
- func (m *ResponseMeta) Validate() error
- type ResponseMetaValidationError
- func (e ResponseMetaValidationError) Cause() error
- func (e ResponseMetaValidationError) Error() string
- func (e ResponseMetaValidationError) ErrorName() string
- func (e ResponseMetaValidationError) Field() string
- func (e ResponseMetaValidationError) Key() bool
- func (e ResponseMetaValidationError) Reason() string
- type UnimplementedDispatchServiceServer
- func (UnimplementedDispatchServiceServer) DispatchCheck(context.Context, *DispatchCheckRequest) (*DispatchCheckResponse, error)
- func (UnimplementedDispatchServiceServer) DispatchExpand(context.Context, *DispatchExpandRequest) (*DispatchExpandResponse, error)
- func (UnimplementedDispatchServiceServer) DispatchLookup(context.Context, *DispatchLookupRequest) (*DispatchLookupResponse, error)
- type UnsafeDispatchServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( DispatchCheckResponse_Membership_name = map[int32]string{ 0: "UNKNOWN", 1: "NOT_MEMBER", 2: "MEMBER", } DispatchCheckResponse_Membership_value = map[string]int32{ "UNKNOWN": 0, "NOT_MEMBER": 1, "MEMBER": 2, } )
Enum value maps for DispatchCheckResponse_Membership.
var ( DispatchExpandRequest_ExpansionMode_name = map[int32]string{ 0: "SHALLOW", 1: "RECURSIVE", } DispatchExpandRequest_ExpansionMode_value = map[string]int32{ "SHALLOW": 0, "RECURSIVE": 1, } )
Enum value maps for DispatchExpandRequest_ExpansionMode.
var DispatchService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dispatch.v1.DispatchService", HandlerType: (*DispatchServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DispatchCheck", Handler: _DispatchService_DispatchCheck_Handler, }, { MethodName: "DispatchExpand", Handler: _DispatchService_DispatchExpand_Handler, }, { MethodName: "DispatchLookup", Handler: _DispatchService_DispatchLookup_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "dispatch/v1/dispatch.proto", }
DispatchService_ServiceDesc is the grpc.ServiceDesc for DispatchService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_dispatch_v1_dispatch_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDispatchServiceServer ¶
func RegisterDispatchServiceServer(s grpc.ServiceRegistrar, srv DispatchServiceServer)
Types ¶
type DispatchCheckRequest ¶
type DispatchCheckRequest struct { Metadata *ResolverMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` ObjectAndRelation *v0.ObjectAndRelation `protobuf:"bytes,2,opt,name=object_and_relation,json=objectAndRelation,proto3" json:"object_and_relation,omitempty"` Subject *v0.ObjectAndRelation `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` // contains filtered or unexported fields }
func (*DispatchCheckRequest) Descriptor
deprecated
func (*DispatchCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use DispatchCheckRequest.ProtoReflect.Descriptor instead.
func (*DispatchCheckRequest) GetMetadata ¶
func (x *DispatchCheckRequest) GetMetadata() *ResolverMeta
func (*DispatchCheckRequest) GetObjectAndRelation ¶
func (x *DispatchCheckRequest) GetObjectAndRelation() *v0.ObjectAndRelation
func (*DispatchCheckRequest) GetSubject ¶
func (x *DispatchCheckRequest) GetSubject() *v0.ObjectAndRelation
func (*DispatchCheckRequest) MarshalZerologObject ¶
func (cr *DispatchCheckRequest) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements zerolog object marshalling.
func (*DispatchCheckRequest) ProtoMessage ¶
func (*DispatchCheckRequest) ProtoMessage()
func (*DispatchCheckRequest) ProtoReflect ¶
func (x *DispatchCheckRequest) ProtoReflect() protoreflect.Message
func (*DispatchCheckRequest) Reset ¶
func (x *DispatchCheckRequest) Reset()
func (*DispatchCheckRequest) String ¶
func (x *DispatchCheckRequest) String() string
func (*DispatchCheckRequest) Validate ¶
func (m *DispatchCheckRequest) Validate() error
Validate checks the field values on DispatchCheckRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DispatchCheckRequestValidationError ¶
type DispatchCheckRequestValidationError struct {
// contains filtered or unexported fields
}
DispatchCheckRequestValidationError is the validation error returned by DispatchCheckRequest.Validate if the designated constraints aren't met.
func (DispatchCheckRequestValidationError) Cause ¶
func (e DispatchCheckRequestValidationError) Cause() error
Cause function returns cause value.
func (DispatchCheckRequestValidationError) Error ¶
func (e DispatchCheckRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DispatchCheckRequestValidationError) ErrorName ¶
func (e DispatchCheckRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DispatchCheckRequestValidationError) Field ¶
func (e DispatchCheckRequestValidationError) Field() string
Field function returns field value.
func (DispatchCheckRequestValidationError) Key ¶
func (e DispatchCheckRequestValidationError) Key() bool
Key function returns key value.
func (DispatchCheckRequestValidationError) Reason ¶
func (e DispatchCheckRequestValidationError) Reason() string
Reason function returns reason value.
type DispatchCheckResponse ¶
type DispatchCheckResponse struct { Metadata *ResponseMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Membership DispatchCheckResponse_Membership `protobuf:"varint,2,opt,name=membership,proto3,enum=dispatch.v1.DispatchCheckResponse_Membership" json:"membership,omitempty"` // contains filtered or unexported fields }
func (*DispatchCheckResponse) Descriptor
deprecated
func (*DispatchCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use DispatchCheckResponse.ProtoReflect.Descriptor instead.
func (*DispatchCheckResponse) GetMembership ¶
func (x *DispatchCheckResponse) GetMembership() DispatchCheckResponse_Membership
func (*DispatchCheckResponse) GetMetadata ¶
func (x *DispatchCheckResponse) GetMetadata() *ResponseMeta
func (*DispatchCheckResponse) MarshalZerologObject ¶
func (cr *DispatchCheckResponse) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements zerolog object marshalling.
func (*DispatchCheckResponse) ProtoMessage ¶
func (*DispatchCheckResponse) ProtoMessage()
func (*DispatchCheckResponse) ProtoReflect ¶
func (x *DispatchCheckResponse) ProtoReflect() protoreflect.Message
func (*DispatchCheckResponse) Reset ¶
func (x *DispatchCheckResponse) Reset()
func (*DispatchCheckResponse) String ¶
func (x *DispatchCheckResponse) String() string
func (*DispatchCheckResponse) Validate ¶
func (m *DispatchCheckResponse) Validate() error
Validate checks the field values on DispatchCheckResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DispatchCheckResponseValidationError ¶
type DispatchCheckResponseValidationError struct {
// contains filtered or unexported fields
}
DispatchCheckResponseValidationError is the validation error returned by DispatchCheckResponse.Validate if the designated constraints aren't met.
func (DispatchCheckResponseValidationError) Cause ¶
func (e DispatchCheckResponseValidationError) Cause() error
Cause function returns cause value.
func (DispatchCheckResponseValidationError) Error ¶
func (e DispatchCheckResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DispatchCheckResponseValidationError) ErrorName ¶
func (e DispatchCheckResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DispatchCheckResponseValidationError) Field ¶
func (e DispatchCheckResponseValidationError) Field() string
Field function returns field value.
func (DispatchCheckResponseValidationError) Key ¶
func (e DispatchCheckResponseValidationError) Key() bool
Key function returns key value.
func (DispatchCheckResponseValidationError) Reason ¶
func (e DispatchCheckResponseValidationError) Reason() string
Reason function returns reason value.
type DispatchCheckResponse_Membership ¶
type DispatchCheckResponse_Membership int32
const ( DispatchCheckResponse_UNKNOWN DispatchCheckResponse_Membership = 0 DispatchCheckResponse_NOT_MEMBER DispatchCheckResponse_Membership = 1 DispatchCheckResponse_MEMBER DispatchCheckResponse_Membership = 2 )
func (DispatchCheckResponse_Membership) Descriptor ¶
func (DispatchCheckResponse_Membership) Descriptor() protoreflect.EnumDescriptor
func (DispatchCheckResponse_Membership) Enum ¶
func (x DispatchCheckResponse_Membership) Enum() *DispatchCheckResponse_Membership
func (DispatchCheckResponse_Membership) EnumDescriptor
deprecated
func (DispatchCheckResponse_Membership) EnumDescriptor() ([]byte, []int)
Deprecated: Use DispatchCheckResponse_Membership.Descriptor instead.
func (DispatchCheckResponse_Membership) Number ¶
func (x DispatchCheckResponse_Membership) Number() protoreflect.EnumNumber
func (DispatchCheckResponse_Membership) String ¶
func (x DispatchCheckResponse_Membership) String() string
func (DispatchCheckResponse_Membership) Type ¶
func (DispatchCheckResponse_Membership) Type() protoreflect.EnumType
type DispatchExpandRequest ¶
type DispatchExpandRequest struct { Metadata *ResolverMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` ObjectAndRelation *v0.ObjectAndRelation `protobuf:"bytes,2,opt,name=object_and_relation,json=objectAndRelation,proto3" json:"object_and_relation,omitempty"` ExpansionMode DispatchExpandRequest_ExpansionMode `` /* 154-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DispatchExpandRequest) Descriptor
deprecated
func (*DispatchExpandRequest) Descriptor() ([]byte, []int)
Deprecated: Use DispatchExpandRequest.ProtoReflect.Descriptor instead.
func (*DispatchExpandRequest) GetExpansionMode ¶
func (x *DispatchExpandRequest) GetExpansionMode() DispatchExpandRequest_ExpansionMode
func (*DispatchExpandRequest) GetMetadata ¶
func (x *DispatchExpandRequest) GetMetadata() *ResolverMeta
func (*DispatchExpandRequest) GetObjectAndRelation ¶
func (x *DispatchExpandRequest) GetObjectAndRelation() *v0.ObjectAndRelation
func (*DispatchExpandRequest) MarshalZerologObject ¶
func (er *DispatchExpandRequest) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements zerolog object marshalling.
func (*DispatchExpandRequest) ProtoMessage ¶
func (*DispatchExpandRequest) ProtoMessage()
func (*DispatchExpandRequest) ProtoReflect ¶
func (x *DispatchExpandRequest) ProtoReflect() protoreflect.Message
func (*DispatchExpandRequest) Reset ¶
func (x *DispatchExpandRequest) Reset()
func (*DispatchExpandRequest) String ¶
func (x *DispatchExpandRequest) String() string
func (*DispatchExpandRequest) Validate ¶
func (m *DispatchExpandRequest) Validate() error
Validate checks the field values on DispatchExpandRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DispatchExpandRequestValidationError ¶
type DispatchExpandRequestValidationError struct {
// contains filtered or unexported fields
}
DispatchExpandRequestValidationError is the validation error returned by DispatchExpandRequest.Validate if the designated constraints aren't met.
func (DispatchExpandRequestValidationError) Cause ¶
func (e DispatchExpandRequestValidationError) Cause() error
Cause function returns cause value.
func (DispatchExpandRequestValidationError) Error ¶
func (e DispatchExpandRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DispatchExpandRequestValidationError) ErrorName ¶
func (e DispatchExpandRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DispatchExpandRequestValidationError) Field ¶
func (e DispatchExpandRequestValidationError) Field() string
Field function returns field value.
func (DispatchExpandRequestValidationError) Key ¶
func (e DispatchExpandRequestValidationError) Key() bool
Key function returns key value.
func (DispatchExpandRequestValidationError) Reason ¶
func (e DispatchExpandRequestValidationError) Reason() string
Reason function returns reason value.
type DispatchExpandRequest_ExpansionMode ¶
type DispatchExpandRequest_ExpansionMode int32
const ( DispatchExpandRequest_SHALLOW DispatchExpandRequest_ExpansionMode = 0 DispatchExpandRequest_RECURSIVE DispatchExpandRequest_ExpansionMode = 1 )
func (DispatchExpandRequest_ExpansionMode) Descriptor ¶
func (DispatchExpandRequest_ExpansionMode) Descriptor() protoreflect.EnumDescriptor
func (DispatchExpandRequest_ExpansionMode) Enum ¶
func (x DispatchExpandRequest_ExpansionMode) Enum() *DispatchExpandRequest_ExpansionMode
func (DispatchExpandRequest_ExpansionMode) EnumDescriptor
deprecated
func (DispatchExpandRequest_ExpansionMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use DispatchExpandRequest_ExpansionMode.Descriptor instead.
func (DispatchExpandRequest_ExpansionMode) Number ¶
func (x DispatchExpandRequest_ExpansionMode) Number() protoreflect.EnumNumber
func (DispatchExpandRequest_ExpansionMode) String ¶
func (x DispatchExpandRequest_ExpansionMode) String() string
func (DispatchExpandRequest_ExpansionMode) Type ¶
func (DispatchExpandRequest_ExpansionMode) Type() protoreflect.EnumType
type DispatchExpandResponse ¶
type DispatchExpandResponse struct { Metadata *ResponseMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` TreeNode *v0.RelationTupleTreeNode `protobuf:"bytes,2,opt,name=tree_node,json=treeNode,proto3" json:"tree_node,omitempty"` // contains filtered or unexported fields }
func (*DispatchExpandResponse) Descriptor
deprecated
func (*DispatchExpandResponse) Descriptor() ([]byte, []int)
Deprecated: Use DispatchExpandResponse.ProtoReflect.Descriptor instead.
func (*DispatchExpandResponse) GetMetadata ¶
func (x *DispatchExpandResponse) GetMetadata() *ResponseMeta
func (*DispatchExpandResponse) GetTreeNode ¶
func (x *DispatchExpandResponse) GetTreeNode() *v0.RelationTupleTreeNode
func (*DispatchExpandResponse) MarshalZerologObject ¶
func (cr *DispatchExpandResponse) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements zerolog object marshalling.
func (*DispatchExpandResponse) ProtoMessage ¶
func (*DispatchExpandResponse) ProtoMessage()
func (*DispatchExpandResponse) ProtoReflect ¶
func (x *DispatchExpandResponse) ProtoReflect() protoreflect.Message
func (*DispatchExpandResponse) Reset ¶
func (x *DispatchExpandResponse) Reset()
func (*DispatchExpandResponse) String ¶
func (x *DispatchExpandResponse) String() string
func (*DispatchExpandResponse) Validate ¶
func (m *DispatchExpandResponse) Validate() error
Validate checks the field values on DispatchExpandResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DispatchExpandResponseValidationError ¶
type DispatchExpandResponseValidationError struct {
// contains filtered or unexported fields
}
DispatchExpandResponseValidationError is the validation error returned by DispatchExpandResponse.Validate if the designated constraints aren't met.
func (DispatchExpandResponseValidationError) Cause ¶
func (e DispatchExpandResponseValidationError) Cause() error
Cause function returns cause value.
func (DispatchExpandResponseValidationError) Error ¶
func (e DispatchExpandResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DispatchExpandResponseValidationError) ErrorName ¶
func (e DispatchExpandResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DispatchExpandResponseValidationError) Field ¶
func (e DispatchExpandResponseValidationError) Field() string
Field function returns field value.
func (DispatchExpandResponseValidationError) Key ¶
func (e DispatchExpandResponseValidationError) Key() bool
Key function returns key value.
func (DispatchExpandResponseValidationError) Reason ¶
func (e DispatchExpandResponseValidationError) Reason() string
Reason function returns reason value.
type DispatchLookupRequest ¶
type DispatchLookupRequest struct { Metadata *ResolverMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` ObjectRelation *v0.RelationReference `protobuf:"bytes,2,opt,name=object_relation,json=objectRelation,proto3" json:"object_relation,omitempty"` Subject *v0.ObjectAndRelation `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` Limit uint32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` DirectStack []*v0.RelationReference `protobuf:"bytes,5,rep,name=direct_stack,json=directStack,proto3" json:"direct_stack,omitempty"` TtuStack []*v0.RelationReference `protobuf:"bytes,6,rep,name=ttu_stack,json=ttuStack,proto3" json:"ttu_stack,omitempty"` // contains filtered or unexported fields }
func (*DispatchLookupRequest) Descriptor
deprecated
func (*DispatchLookupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DispatchLookupRequest.ProtoReflect.Descriptor instead.
func (*DispatchLookupRequest) GetDirectStack ¶
func (x *DispatchLookupRequest) GetDirectStack() []*v0.RelationReference
func (*DispatchLookupRequest) GetLimit ¶
func (x *DispatchLookupRequest) GetLimit() uint32
func (*DispatchLookupRequest) GetMetadata ¶
func (x *DispatchLookupRequest) GetMetadata() *ResolverMeta
func (*DispatchLookupRequest) GetObjectRelation ¶
func (x *DispatchLookupRequest) GetObjectRelation() *v0.RelationReference
func (*DispatchLookupRequest) GetSubject ¶
func (x *DispatchLookupRequest) GetSubject() *v0.ObjectAndRelation
func (*DispatchLookupRequest) GetTtuStack ¶
func (x *DispatchLookupRequest) GetTtuStack() []*v0.RelationReference
func (*DispatchLookupRequest) MarshalZerologObject ¶
func (lr *DispatchLookupRequest) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements zerolog object marshalling.
func (*DispatchLookupRequest) ProtoMessage ¶
func (*DispatchLookupRequest) ProtoMessage()
func (*DispatchLookupRequest) ProtoReflect ¶
func (x *DispatchLookupRequest) ProtoReflect() protoreflect.Message
func (*DispatchLookupRequest) Reset ¶
func (x *DispatchLookupRequest) Reset()
func (*DispatchLookupRequest) String ¶
func (x *DispatchLookupRequest) String() string
func (*DispatchLookupRequest) Validate ¶
func (m *DispatchLookupRequest) Validate() error
Validate checks the field values on DispatchLookupRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DispatchLookupRequestValidationError ¶
type DispatchLookupRequestValidationError struct {
// contains filtered or unexported fields
}
DispatchLookupRequestValidationError is the validation error returned by DispatchLookupRequest.Validate if the designated constraints aren't met.
func (DispatchLookupRequestValidationError) Cause ¶
func (e DispatchLookupRequestValidationError) Cause() error
Cause function returns cause value.
func (DispatchLookupRequestValidationError) Error ¶
func (e DispatchLookupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DispatchLookupRequestValidationError) ErrorName ¶
func (e DispatchLookupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DispatchLookupRequestValidationError) Field ¶
func (e DispatchLookupRequestValidationError) Field() string
Field function returns field value.
func (DispatchLookupRequestValidationError) Key ¶
func (e DispatchLookupRequestValidationError) Key() bool
Key function returns key value.
func (DispatchLookupRequestValidationError) Reason ¶
func (e DispatchLookupRequestValidationError) Reason() string
Reason function returns reason value.
type DispatchLookupResponse ¶
type DispatchLookupResponse struct { Metadata *ResponseMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` ResolvedOnrs []*v0.ObjectAndRelation `protobuf:"bytes,2,rep,name=resolved_onrs,json=resolvedOnrs,proto3" json:"resolved_onrs,omitempty"` NextPageReference string `protobuf:"bytes,3,opt,name=next_page_reference,json=nextPageReference,proto3" json:"next_page_reference,omitempty"` // contains filtered or unexported fields }
func (*DispatchLookupResponse) Descriptor
deprecated
func (*DispatchLookupResponse) Descriptor() ([]byte, []int)
Deprecated: Use DispatchLookupResponse.ProtoReflect.Descriptor instead.
func (*DispatchLookupResponse) GetMetadata ¶
func (x *DispatchLookupResponse) GetMetadata() *ResponseMeta
func (*DispatchLookupResponse) GetNextPageReference ¶
func (x *DispatchLookupResponse) GetNextPageReference() string
func (*DispatchLookupResponse) GetResolvedOnrs ¶
func (x *DispatchLookupResponse) GetResolvedOnrs() []*v0.ObjectAndRelation
func (*DispatchLookupResponse) MarshalZerologObject ¶
func (cr *DispatchLookupResponse) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements zerolog object marshalling.
func (*DispatchLookupResponse) ProtoMessage ¶
func (*DispatchLookupResponse) ProtoMessage()
func (*DispatchLookupResponse) ProtoReflect ¶
func (x *DispatchLookupResponse) ProtoReflect() protoreflect.Message
func (*DispatchLookupResponse) Reset ¶
func (x *DispatchLookupResponse) Reset()
func (*DispatchLookupResponse) String ¶
func (x *DispatchLookupResponse) String() string
func (*DispatchLookupResponse) Validate ¶
func (m *DispatchLookupResponse) Validate() error
Validate checks the field values on DispatchLookupResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DispatchLookupResponseValidationError ¶
type DispatchLookupResponseValidationError struct {
// contains filtered or unexported fields
}
DispatchLookupResponseValidationError is the validation error returned by DispatchLookupResponse.Validate if the designated constraints aren't met.
func (DispatchLookupResponseValidationError) Cause ¶
func (e DispatchLookupResponseValidationError) Cause() error
Cause function returns cause value.
func (DispatchLookupResponseValidationError) Error ¶
func (e DispatchLookupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DispatchLookupResponseValidationError) ErrorName ¶
func (e DispatchLookupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DispatchLookupResponseValidationError) Field ¶
func (e DispatchLookupResponseValidationError) Field() string
Field function returns field value.
func (DispatchLookupResponseValidationError) Key ¶
func (e DispatchLookupResponseValidationError) Key() bool
Key function returns key value.
func (DispatchLookupResponseValidationError) Reason ¶
func (e DispatchLookupResponseValidationError) Reason() string
Reason function returns reason value.
type DispatchServiceClient ¶
type DispatchServiceClient interface { DispatchCheck(ctx context.Context, in *DispatchCheckRequest, opts ...grpc.CallOption) (*DispatchCheckResponse, error) DispatchExpand(ctx context.Context, in *DispatchExpandRequest, opts ...grpc.CallOption) (*DispatchExpandResponse, error) DispatchLookup(ctx context.Context, in *DispatchLookupRequest, opts ...grpc.CallOption) (*DispatchLookupResponse, error) }
DispatchServiceClient is the client API for DispatchService 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 NewDispatchServiceClient ¶
func NewDispatchServiceClient(cc grpc.ClientConnInterface) DispatchServiceClient
type DispatchServiceServer ¶
type DispatchServiceServer interface { DispatchCheck(context.Context, *DispatchCheckRequest) (*DispatchCheckResponse, error) DispatchExpand(context.Context, *DispatchExpandRequest) (*DispatchExpandResponse, error) DispatchLookup(context.Context, *DispatchLookupRequest) (*DispatchLookupResponse, error) // contains filtered or unexported methods }
DispatchServiceServer is the server API for DispatchService service. All implementations must embed UnimplementedDispatchServiceServer for forward compatibility
type ResolverMeta ¶
type ResolverMeta struct { AtRevision string `protobuf:"bytes,1,opt,name=at_revision,json=atRevision,proto3" json:"at_revision,omitempty"` DepthRemaining uint32 `protobuf:"varint,2,opt,name=depth_remaining,json=depthRemaining,proto3" json:"depth_remaining,omitempty"` // contains filtered or unexported fields }
func (*ResolverMeta) Descriptor
deprecated
func (*ResolverMeta) Descriptor() ([]byte, []int)
Deprecated: Use ResolverMeta.ProtoReflect.Descriptor instead.
func (*ResolverMeta) GetAtRevision ¶
func (x *ResolverMeta) GetAtRevision() string
func (*ResolverMeta) GetDepthRemaining ¶
func (x *ResolverMeta) GetDepthRemaining() uint32
func (*ResolverMeta) MarshalZerologObject ¶
func (cr *ResolverMeta) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements zerolog object marshalling.
func (*ResolverMeta) ProtoMessage ¶
func (*ResolverMeta) ProtoMessage()
func (*ResolverMeta) ProtoReflect ¶
func (x *ResolverMeta) ProtoReflect() protoreflect.Message
func (*ResolverMeta) Reset ¶
func (x *ResolverMeta) Reset()
func (*ResolverMeta) String ¶
func (x *ResolverMeta) String() string
func (*ResolverMeta) Validate ¶
func (m *ResolverMeta) Validate() error
Validate checks the field values on ResolverMeta with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ResolverMetaValidationError ¶
type ResolverMetaValidationError struct {
// contains filtered or unexported fields
}
ResolverMetaValidationError is the validation error returned by ResolverMeta.Validate if the designated constraints aren't met.
func (ResolverMetaValidationError) Cause ¶
func (e ResolverMetaValidationError) Cause() error
Cause function returns cause value.
func (ResolverMetaValidationError) Error ¶
func (e ResolverMetaValidationError) Error() string
Error satisfies the builtin error interface
func (ResolverMetaValidationError) ErrorName ¶
func (e ResolverMetaValidationError) ErrorName() string
ErrorName returns error name.
func (ResolverMetaValidationError) Field ¶
func (e ResolverMetaValidationError) Field() string
Field function returns field value.
func (ResolverMetaValidationError) Key ¶
func (e ResolverMetaValidationError) Key() bool
Key function returns key value.
func (ResolverMetaValidationError) Reason ¶
func (e ResolverMetaValidationError) Reason() string
Reason function returns reason value.
type ResponseMeta ¶
type ResponseMeta struct { DispatchCount uint32 `protobuf:"varint,1,opt,name=dispatch_count,json=dispatchCount,proto3" json:"dispatch_count,omitempty"` DepthRequired uint32 `protobuf:"varint,2,opt,name=depth_required,json=depthRequired,proto3" json:"depth_required,omitempty"` CachedDispatchCount uint32 `protobuf:"varint,3,opt,name=cached_dispatch_count,json=cachedDispatchCount,proto3" json:"cached_dispatch_count,omitempty"` LookupExcludedDirect []*v0.RelationReference `protobuf:"bytes,4,rep,name=lookup_excluded_direct,json=lookupExcludedDirect,proto3" json:"lookup_excluded_direct,omitempty"` LookupExcludedTtu []*v0.RelationReference `protobuf:"bytes,5,rep,name=lookup_excluded_ttu,json=lookupExcludedTtu,proto3" json:"lookup_excluded_ttu,omitempty"` // contains filtered or unexported fields }
func (*ResponseMeta) Descriptor
deprecated
func (*ResponseMeta) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMeta.ProtoReflect.Descriptor instead.
func (*ResponseMeta) GetCachedDispatchCount ¶
func (x *ResponseMeta) GetCachedDispatchCount() uint32
func (*ResponseMeta) GetDepthRequired ¶
func (x *ResponseMeta) GetDepthRequired() uint32
func (*ResponseMeta) GetDispatchCount ¶
func (x *ResponseMeta) GetDispatchCount() uint32
func (*ResponseMeta) GetLookupExcludedDirect ¶
func (x *ResponseMeta) GetLookupExcludedDirect() []*v0.RelationReference
func (*ResponseMeta) GetLookupExcludedTtu ¶
func (x *ResponseMeta) GetLookupExcludedTtu() []*v0.RelationReference
func (*ResponseMeta) MarshalZerologObject ¶
func (cr *ResponseMeta) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements zerolog object marshalling.
func (*ResponseMeta) ProtoMessage ¶
func (*ResponseMeta) ProtoMessage()
func (*ResponseMeta) ProtoReflect ¶
func (x *ResponseMeta) ProtoReflect() protoreflect.Message
func (*ResponseMeta) Reset ¶
func (x *ResponseMeta) Reset()
func (*ResponseMeta) String ¶
func (x *ResponseMeta) String() string
func (*ResponseMeta) Validate ¶
func (m *ResponseMeta) Validate() error
Validate checks the field values on ResponseMeta with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ResponseMetaValidationError ¶
type ResponseMetaValidationError struct {
// contains filtered or unexported fields
}
ResponseMetaValidationError is the validation error returned by ResponseMeta.Validate if the designated constraints aren't met.
func (ResponseMetaValidationError) Cause ¶
func (e ResponseMetaValidationError) Cause() error
Cause function returns cause value.
func (ResponseMetaValidationError) Error ¶
func (e ResponseMetaValidationError) Error() string
Error satisfies the builtin error interface
func (ResponseMetaValidationError) ErrorName ¶
func (e ResponseMetaValidationError) ErrorName() string
ErrorName returns error name.
func (ResponseMetaValidationError) Field ¶
func (e ResponseMetaValidationError) Field() string
Field function returns field value.
func (ResponseMetaValidationError) Key ¶
func (e ResponseMetaValidationError) Key() bool
Key function returns key value.
func (ResponseMetaValidationError) Reason ¶
func (e ResponseMetaValidationError) Reason() string
Reason function returns reason value.
type UnimplementedDispatchServiceServer ¶
type UnimplementedDispatchServiceServer struct { }
UnimplementedDispatchServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDispatchServiceServer) DispatchCheck ¶
func (UnimplementedDispatchServiceServer) DispatchCheck(context.Context, *DispatchCheckRequest) (*DispatchCheckResponse, error)
func (UnimplementedDispatchServiceServer) DispatchExpand ¶
func (UnimplementedDispatchServiceServer) DispatchExpand(context.Context, *DispatchExpandRequest) (*DispatchExpandResponse, error)
func (UnimplementedDispatchServiceServer) DispatchLookup ¶
func (UnimplementedDispatchServiceServer) DispatchLookup(context.Context, *DispatchLookupRequest) (*DispatchLookupResponse, error)
type UnsafeDispatchServiceServer ¶
type UnsafeDispatchServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDispatchServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DispatchServiceServer will result in compilation errors.