Documentation
¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterPermissionHandler(ctx context.Context, mux *runtime.ServeMux, conn grpc.ClientConnInterface) error
- func RegisterPermissionHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PermissionClient) error
- func RegisterPermissionHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterPermissionHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PermissionServer) error
- func RegisterPermissionServer(s grpc.ServiceRegistrar, srv PermissionServer)
- func RegisterRelationshipHandler(ctx context.Context, mux *runtime.ServeMux, conn grpc.ClientConnInterface) error
- func RegisterRelationshipHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RelationshipClient) error
- func RegisterRelationshipHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterRelationshipHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RelationshipServer) error
- func RegisterRelationshipServer(s grpc.ServiceRegistrar, srv RelationshipServer)
- func RegisterSchemaHandler(ctx context.Context, mux *runtime.ServeMux, conn grpc.ClientConnInterface) error
- func RegisterSchemaHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SchemaClient) error
- func RegisterSchemaHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSchemaHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SchemaServer) error
- func RegisterSchemaServer(s grpc.ServiceRegistrar, srv SchemaServer)
- func RegisterTenancyHandler(ctx context.Context, mux *runtime.ServeMux, conn grpc.ClientConnInterface) error
- func RegisterTenancyHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TenancyClient) error
- func RegisterTenancyHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterTenancyHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TenancyServer) error
- func RegisterTenancyServer(s grpc.ServiceRegistrar, srv TenancyServer)
- func RegisterWatchHandler(ctx context.Context, mux *runtime.ServeMux, conn grpc.ClientConnInterface) error
- func RegisterWatchHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WatchClient) error
- func RegisterWatchHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterWatchHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WatchServer) error
- func RegisterWatchServer(s grpc.ServiceRegistrar, srv WatchServer)
- type Child
- func (*Child) Descriptor() ([]byte, []int)deprecated
- func (x *Child) GetLeaf() *Leaf
- func (x *Child) GetRewrite() *Rewrite
- func (m *Child) GetType() isChild_Type
- func (m *Child) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Child) MarshalToVT(dAtA []byte) (int, error)
- func (m *Child) MarshalVT() (dAtA []byte, err error)
- func (*Child) ProtoMessage()
- func (x *Child) ProtoReflect() protoreflect.Message
- func (x *Child) Reset()
- func (m *Child) SizeVT() (n int)
- func (x *Child) String() string
- func (m *Child) UnmarshalVT(dAtA []byte) error
- func (m *Child) Validate() error
- type ChildValidationError
- type Child_Leaf
- type Child_Rewrite
- type ComputedUserSet
- func (*ComputedUserSet) Descriptor() ([]byte, []int)deprecated
- func (x *ComputedUserSet) GetRelation() string
- func (m *ComputedUserSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ComputedUserSet) MarshalToVT(dAtA []byte) (int, error)
- func (m *ComputedUserSet) MarshalVT() (dAtA []byte, err error)
- func (*ComputedUserSet) ProtoMessage()
- func (x *ComputedUserSet) ProtoReflect() protoreflect.Message
- func (x *ComputedUserSet) Reset()
- func (m *ComputedUserSet) SizeVT() (n int)
- func (x *ComputedUserSet) String() string
- func (m *ComputedUserSet) UnmarshalVT(dAtA []byte) error
- func (m *ComputedUserSet) Validate() error
- type ComputedUserSetValidationError
- func (e ComputedUserSetValidationError) Cause() error
- func (e ComputedUserSetValidationError) Error() string
- func (e ComputedUserSetValidationError) ErrorName() string
- func (e ComputedUserSetValidationError) Field() string
- func (e ComputedUserSetValidationError) Key() bool
- func (e ComputedUserSetValidationError) Reason() string
- type Entity
- func (*Entity) Descriptor() ([]byte, []int)deprecated
- func (x *Entity) GetId() string
- func (x *Entity) GetType() string
- func (m *Entity) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Entity) MarshalToVT(dAtA []byte) (int, error)
- func (m *Entity) MarshalVT() (dAtA []byte, err error)
- func (*Entity) ProtoMessage()
- func (x *Entity) ProtoReflect() protoreflect.Message
- func (x *Entity) Reset()
- func (m *Entity) SizeVT() (n int)
- func (x *Entity) String() string
- func (m *Entity) UnmarshalVT(dAtA []byte) error
- func (m *Entity) Validate() error
- type EntityAndRelation
- func (*EntityAndRelation) Descriptor() ([]byte, []int)deprecated
- func (x *EntityAndRelation) GetEntity() *Entity
- func (x *EntityAndRelation) GetRelation() string
- func (m *EntityAndRelation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *EntityAndRelation) MarshalToVT(dAtA []byte) (int, error)
- func (m *EntityAndRelation) MarshalVT() (dAtA []byte, err error)
- func (*EntityAndRelation) ProtoMessage()
- func (x *EntityAndRelation) ProtoReflect() protoreflect.Message
- func (x *EntityAndRelation) Reset()
- func (m *EntityAndRelation) SizeVT() (n int)
- func (x *EntityAndRelation) String() string
- func (m *EntityAndRelation) UnmarshalVT(dAtA []byte) error
- func (m *EntityAndRelation) Validate() error
- type EntityAndRelationValidationError
- func (e EntityAndRelationValidationError) Cause() error
- func (e EntityAndRelationValidationError) Error() string
- func (e EntityAndRelationValidationError) ErrorName() string
- func (e EntityAndRelationValidationError) Field() string
- func (e EntityAndRelationValidationError) Key() bool
- func (e EntityAndRelationValidationError) Reason() string
- type EntityDefinition
- func (*EntityDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *EntityDefinition) GetName() string
- func (x *EntityDefinition) GetPermissions() map[string]*PermissionDefinition
- func (x *EntityDefinition) GetReferences() map[string]EntityDefinition_RelationalReference
- func (x *EntityDefinition) GetRelations() map[string]*RelationDefinition
- func (m *EntityDefinition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *EntityDefinition) MarshalToVT(dAtA []byte) (int, error)
- func (m *EntityDefinition) MarshalVT() (dAtA []byte, err error)
- func (*EntityDefinition) ProtoMessage()
- func (x *EntityDefinition) ProtoReflect() protoreflect.Message
- func (x *EntityDefinition) Reset()
- func (m *EntityDefinition) SizeVT() (n int)
- func (x *EntityDefinition) String() string
- func (m *EntityDefinition) UnmarshalVT(dAtA []byte) error
- func (m *EntityDefinition) Validate() error
- type EntityDefinitionValidationError
- func (e EntityDefinitionValidationError) Cause() error
- func (e EntityDefinitionValidationError) Error() string
- func (e EntityDefinitionValidationError) ErrorName() string
- func (e EntityDefinitionValidationError) Field() string
- func (e EntityDefinitionValidationError) Key() bool
- func (e EntityDefinitionValidationError) Reason() string
- type EntityDefinition_RelationalReference
- func (EntityDefinition_RelationalReference) Descriptor() protoreflect.EnumDescriptor
- func (x EntityDefinition_RelationalReference) Enum() *EntityDefinition_RelationalReference
- func (EntityDefinition_RelationalReference) EnumDescriptor() ([]byte, []int)deprecated
- func (x EntityDefinition_RelationalReference) Number() protoreflect.EnumNumber
- func (x EntityDefinition_RelationalReference) String() string
- func (EntityDefinition_RelationalReference) Type() protoreflect.EnumType
- type EntityFilter
- func (*EntityFilter) Descriptor() ([]byte, []int)deprecated
- func (x *EntityFilter) GetIds() []string
- func (x *EntityFilter) GetType() string
- func (m *EntityFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *EntityFilter) MarshalToVT(dAtA []byte) (int, error)
- func (m *EntityFilter) MarshalVT() (dAtA []byte, err error)
- func (*EntityFilter) ProtoMessage()
- func (x *EntityFilter) ProtoReflect() protoreflect.Message
- func (x *EntityFilter) Reset()
- func (m *EntityFilter) SizeVT() (n int)
- func (x *EntityFilter) String() string
- func (m *EntityFilter) UnmarshalVT(dAtA []byte) error
- func (m *EntityFilter) Validate() error
- type EntityFilterValidationError
- func (e EntityFilterValidationError) Cause() error
- func (e EntityFilterValidationError) Error() string
- func (e EntityFilterValidationError) ErrorName() string
- func (e EntityFilterValidationError) Field() string
- func (e EntityFilterValidationError) Key() bool
- func (e EntityFilterValidationError) Reason() string
- type EntityValidationError
- type ErrorCode
- type ErrorResponse
- func (*ErrorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorResponse) GetCode() ErrorCode
- func (x *ErrorResponse) GetMessage() string
- func (m *ErrorResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ErrorResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ErrorResponse) MarshalVT() (dAtA []byte, err error)
- func (*ErrorResponse) ProtoMessage()
- func (x *ErrorResponse) ProtoReflect() protoreflect.Message
- func (x *ErrorResponse) Reset()
- func (m *ErrorResponse) SizeVT() (n int)
- func (x *ErrorResponse) String() string
- func (m *ErrorResponse) UnmarshalVT(dAtA []byte) error
- func (m *ErrorResponse) Validate() error
- type ErrorResponseValidationError
- func (e ErrorResponseValidationError) Cause() error
- func (e ErrorResponseValidationError) Error() string
- func (e ErrorResponseValidationError) ErrorName() string
- func (e ErrorResponseValidationError) Field() string
- func (e ErrorResponseValidationError) Key() bool
- func (e ErrorResponseValidationError) Reason() string
- type Expand
- func (*Expand) Descriptor() ([]byte, []int)deprecated
- func (x *Expand) GetExpand() *ExpandTreeNode
- func (x *Expand) GetLeaf() *Subjects
- func (m *Expand) GetNode() isExpand_Node
- func (x *Expand) GetTarget() *EntityAndRelation
- func (m *Expand) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Expand) MarshalToVT(dAtA []byte) (int, error)
- func (m *Expand) MarshalVT() (dAtA []byte, err error)
- func (*Expand) ProtoMessage()
- func (x *Expand) ProtoReflect() protoreflect.Message
- func (x *Expand) Reset()
- func (m *Expand) SizeVT() (n int)
- func (x *Expand) String() string
- func (m *Expand) UnmarshalVT(dAtA []byte) error
- func (m *Expand) Validate() error
- type ExpandTreeNode
- func (*ExpandTreeNode) Descriptor() ([]byte, []int)deprecated
- func (x *ExpandTreeNode) GetChildren() []*Expand
- func (x *ExpandTreeNode) GetOperation() ExpandTreeNode_Operation
- func (m *ExpandTreeNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExpandTreeNode) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExpandTreeNode) MarshalVT() (dAtA []byte, err error)
- func (*ExpandTreeNode) ProtoMessage()
- func (x *ExpandTreeNode) ProtoReflect() protoreflect.Message
- func (x *ExpandTreeNode) Reset()
- func (m *ExpandTreeNode) SizeVT() (n int)
- func (x *ExpandTreeNode) String() string
- func (m *ExpandTreeNode) UnmarshalVT(dAtA []byte) error
- func (m *ExpandTreeNode) Validate() error
- type ExpandTreeNodeValidationError
- func (e ExpandTreeNodeValidationError) Cause() error
- func (e ExpandTreeNodeValidationError) Error() string
- func (e ExpandTreeNodeValidationError) ErrorName() string
- func (e ExpandTreeNodeValidationError) Field() string
- func (e ExpandTreeNodeValidationError) Key() bool
- func (e ExpandTreeNodeValidationError) Reason() string
- type ExpandTreeNode_Operation
- func (ExpandTreeNode_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x ExpandTreeNode_Operation) Enum() *ExpandTreeNode_Operation
- func (ExpandTreeNode_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExpandTreeNode_Operation) Number() protoreflect.EnumNumber
- func (x ExpandTreeNode_Operation) String() string
- func (ExpandTreeNode_Operation) Type() protoreflect.EnumType
- type ExpandValidationError
- type Expand_Expand
- type Expand_Leaf
- type Leaf
- func (*Leaf) Descriptor() ([]byte, []int)deprecated
- func (x *Leaf) GetComputedUserSet() *ComputedUserSet
- func (x *Leaf) GetTupleToUserSet() *TupleToUserSet
- func (m *Leaf) GetType() isLeaf_Type
- func (m *Leaf) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Leaf) MarshalToVT(dAtA []byte) (int, error)
- func (m *Leaf) MarshalVT() (dAtA []byte, err error)
- func (*Leaf) ProtoMessage()
- func (x *Leaf) ProtoReflect() protoreflect.Message
- func (x *Leaf) Reset()
- func (m *Leaf) SizeVT() (n int)
- func (x *Leaf) String() string
- func (m *Leaf) UnmarshalVT(dAtA []byte) error
- func (m *Leaf) Validate() error
- type LeafValidationError
- type Leaf_ComputedUserSet
- type Leaf_TupleToUserSet
- type PermissionCheckRequest
- func (*PermissionCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionCheckRequest) GetContextualTuples() []*Tuple
- func (x *PermissionCheckRequest) GetEntity() *Entity
- func (x *PermissionCheckRequest) GetMetadata() *PermissionCheckRequestMetadata
- func (x *PermissionCheckRequest) GetPermission() string
- func (x *PermissionCheckRequest) GetSubject() *Subject
- func (x *PermissionCheckRequest) GetTenantId() string
- func (m *PermissionCheckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionCheckRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionCheckRequest) MarshalVT() (dAtA []byte, err error)
- func (*PermissionCheckRequest) ProtoMessage()
- func (x *PermissionCheckRequest) ProtoReflect() protoreflect.Message
- func (x *PermissionCheckRequest) Reset()
- func (m *PermissionCheckRequest) SizeVT() (n int)
- func (x *PermissionCheckRequest) String() string
- func (m *PermissionCheckRequest) UnmarshalVT(dAtA []byte) error
- func (m *PermissionCheckRequest) Validate() error
- type PermissionCheckRequestMetadata
- func (*PermissionCheckRequestMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionCheckRequestMetadata) GetDepth() int32
- func (x *PermissionCheckRequestMetadata) GetSchemaVersion() string
- func (x *PermissionCheckRequestMetadata) GetSnapToken() string
- func (m *PermissionCheckRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionCheckRequestMetadata) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionCheckRequestMetadata) MarshalVT() (dAtA []byte, err error)
- func (*PermissionCheckRequestMetadata) ProtoMessage()
- func (x *PermissionCheckRequestMetadata) ProtoReflect() protoreflect.Message
- func (x *PermissionCheckRequestMetadata) Reset()
- func (m *PermissionCheckRequestMetadata) SizeVT() (n int)
- func (x *PermissionCheckRequestMetadata) String() string
- func (m *PermissionCheckRequestMetadata) UnmarshalVT(dAtA []byte) error
- func (m *PermissionCheckRequestMetadata) Validate() error
- type PermissionCheckRequestMetadataValidationError
- func (e PermissionCheckRequestMetadataValidationError) Cause() error
- func (e PermissionCheckRequestMetadataValidationError) Error() string
- func (e PermissionCheckRequestMetadataValidationError) ErrorName() string
- func (e PermissionCheckRequestMetadataValidationError) Field() string
- func (e PermissionCheckRequestMetadataValidationError) Key() bool
- func (e PermissionCheckRequestMetadataValidationError) Reason() string
- type PermissionCheckRequestValidationError
- func (e PermissionCheckRequestValidationError) Cause() error
- func (e PermissionCheckRequestValidationError) Error() string
- func (e PermissionCheckRequestValidationError) ErrorName() string
- func (e PermissionCheckRequestValidationError) Field() string
- func (e PermissionCheckRequestValidationError) Key() bool
- func (e PermissionCheckRequestValidationError) Reason() string
- type PermissionCheckResponse
- func (*PermissionCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionCheckResponse) GetCan() PermissionCheckResponse_Result
- func (x *PermissionCheckResponse) GetMetadata() *PermissionCheckResponseMetadata
- func (m *PermissionCheckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionCheckResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionCheckResponse) MarshalVT() (dAtA []byte, err error)
- func (*PermissionCheckResponse) ProtoMessage()
- func (x *PermissionCheckResponse) ProtoReflect() protoreflect.Message
- func (x *PermissionCheckResponse) Reset()
- func (m *PermissionCheckResponse) SizeVT() (n int)
- func (x *PermissionCheckResponse) String() string
- func (m *PermissionCheckResponse) UnmarshalVT(dAtA []byte) error
- func (m *PermissionCheckResponse) Validate() error
- type PermissionCheckResponseMetadata
- func (*PermissionCheckResponseMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionCheckResponseMetadata) GetCheckCount() int32
- func (m *PermissionCheckResponseMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionCheckResponseMetadata) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionCheckResponseMetadata) MarshalVT() (dAtA []byte, err error)
- func (*PermissionCheckResponseMetadata) ProtoMessage()
- func (x *PermissionCheckResponseMetadata) ProtoReflect() protoreflect.Message
- func (x *PermissionCheckResponseMetadata) Reset()
- func (m *PermissionCheckResponseMetadata) SizeVT() (n int)
- func (x *PermissionCheckResponseMetadata) String() string
- func (m *PermissionCheckResponseMetadata) UnmarshalVT(dAtA []byte) error
- func (m *PermissionCheckResponseMetadata) Validate() error
- type PermissionCheckResponseMetadataValidationError
- func (e PermissionCheckResponseMetadataValidationError) Cause() error
- func (e PermissionCheckResponseMetadataValidationError) Error() string
- func (e PermissionCheckResponseMetadataValidationError) ErrorName() string
- func (e PermissionCheckResponseMetadataValidationError) Field() string
- func (e PermissionCheckResponseMetadataValidationError) Key() bool
- func (e PermissionCheckResponseMetadataValidationError) Reason() string
- type PermissionCheckResponseValidationError
- func (e PermissionCheckResponseValidationError) Cause() error
- func (e PermissionCheckResponseValidationError) Error() string
- func (e PermissionCheckResponseValidationError) ErrorName() string
- func (e PermissionCheckResponseValidationError) Field() string
- func (e PermissionCheckResponseValidationError) Key() bool
- func (e PermissionCheckResponseValidationError) Reason() string
- type PermissionCheckResponse_Result
- func (PermissionCheckResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x PermissionCheckResponse_Result) Enum() *PermissionCheckResponse_Result
- func (PermissionCheckResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x PermissionCheckResponse_Result) Number() protoreflect.EnumNumber
- func (x PermissionCheckResponse_Result) String() string
- func (PermissionCheckResponse_Result) Type() protoreflect.EnumType
- type PermissionClient
- type PermissionDefinition
- func (*PermissionDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionDefinition) GetChild() *Child
- func (x *PermissionDefinition) GetName() string
- func (m *PermissionDefinition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionDefinition) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionDefinition) MarshalVT() (dAtA []byte, err error)
- func (*PermissionDefinition) ProtoMessage()
- func (x *PermissionDefinition) ProtoReflect() protoreflect.Message
- func (x *PermissionDefinition) Reset()
- func (m *PermissionDefinition) SizeVT() (n int)
- func (x *PermissionDefinition) String() string
- func (m *PermissionDefinition) UnmarshalVT(dAtA []byte) error
- func (m *PermissionDefinition) Validate() error
- type PermissionDefinitionValidationError
- func (e PermissionDefinitionValidationError) Cause() error
- func (e PermissionDefinitionValidationError) Error() string
- func (e PermissionDefinitionValidationError) ErrorName() string
- func (e PermissionDefinitionValidationError) Field() string
- func (e PermissionDefinitionValidationError) Key() bool
- func (e PermissionDefinitionValidationError) Reason() string
- type PermissionEntityFilterRequest
- func (*PermissionEntityFilterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionEntityFilterRequest) GetContextualTuples() []*Tuple
- func (x *PermissionEntityFilterRequest) GetEntityReference() *RelationReference
- func (x *PermissionEntityFilterRequest) GetMetadata() *PermissionEntityFilterRequestMetadata
- func (x *PermissionEntityFilterRequest) GetSubject() *Subject
- func (x *PermissionEntityFilterRequest) GetTenantId() string
- func (m *PermissionEntityFilterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionEntityFilterRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionEntityFilterRequest) MarshalVT() (dAtA []byte, err error)
- func (*PermissionEntityFilterRequest) ProtoMessage()
- func (x *PermissionEntityFilterRequest) ProtoReflect() protoreflect.Message
- func (x *PermissionEntityFilterRequest) Reset()
- func (m *PermissionEntityFilterRequest) SizeVT() (n int)
- func (x *PermissionEntityFilterRequest) String() string
- func (m *PermissionEntityFilterRequest) UnmarshalVT(dAtA []byte) error
- func (m *PermissionEntityFilterRequest) Validate() error
- type PermissionEntityFilterRequestMetadata
- func (*PermissionEntityFilterRequestMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionEntityFilterRequestMetadata) GetDepth() int32
- func (x *PermissionEntityFilterRequestMetadata) GetSchemaVersion() string
- func (x *PermissionEntityFilterRequestMetadata) GetSnapToken() string
- func (m *PermissionEntityFilterRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionEntityFilterRequestMetadata) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionEntityFilterRequestMetadata) MarshalVT() (dAtA []byte, err error)
- func (*PermissionEntityFilterRequestMetadata) ProtoMessage()
- func (x *PermissionEntityFilterRequestMetadata) ProtoReflect() protoreflect.Message
- func (x *PermissionEntityFilterRequestMetadata) Reset()
- func (m *PermissionEntityFilterRequestMetadata) SizeVT() (n int)
- func (x *PermissionEntityFilterRequestMetadata) String() string
- func (m *PermissionEntityFilterRequestMetadata) UnmarshalVT(dAtA []byte) error
- func (m *PermissionEntityFilterRequestMetadata) Validate() error
- type PermissionEntityFilterRequestMetadataValidationError
- func (e PermissionEntityFilterRequestMetadataValidationError) Cause() error
- func (e PermissionEntityFilterRequestMetadataValidationError) Error() string
- func (e PermissionEntityFilterRequestMetadataValidationError) ErrorName() string
- func (e PermissionEntityFilterRequestMetadataValidationError) Field() string
- func (e PermissionEntityFilterRequestMetadataValidationError) Key() bool
- func (e PermissionEntityFilterRequestMetadataValidationError) Reason() string
- type PermissionEntityFilterRequestValidationError
- func (e PermissionEntityFilterRequestValidationError) Cause() error
- func (e PermissionEntityFilterRequestValidationError) Error() string
- func (e PermissionEntityFilterRequestValidationError) ErrorName() string
- func (e PermissionEntityFilterRequestValidationError) Field() string
- func (e PermissionEntityFilterRequestValidationError) Key() bool
- func (e PermissionEntityFilterRequestValidationError) Reason() string
- type PermissionExpandRequest
- func (*PermissionExpandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionExpandRequest) GetContextualTuples() []*Tuple
- func (x *PermissionExpandRequest) GetEntity() *Entity
- func (x *PermissionExpandRequest) GetMetadata() *PermissionExpandRequestMetadata
- func (x *PermissionExpandRequest) GetPermission() string
- func (x *PermissionExpandRequest) GetTenantId() string
- func (m *PermissionExpandRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionExpandRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionExpandRequest) MarshalVT() (dAtA []byte, err error)
- func (*PermissionExpandRequest) ProtoMessage()
- func (x *PermissionExpandRequest) ProtoReflect() protoreflect.Message
- func (x *PermissionExpandRequest) Reset()
- func (m *PermissionExpandRequest) SizeVT() (n int)
- func (x *PermissionExpandRequest) String() string
- func (m *PermissionExpandRequest) UnmarshalVT(dAtA []byte) error
- func (m *PermissionExpandRequest) Validate() error
- type PermissionExpandRequestMetadata
- func (*PermissionExpandRequestMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionExpandRequestMetadata) GetSchemaVersion() string
- func (x *PermissionExpandRequestMetadata) GetSnapToken() string
- func (m *PermissionExpandRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionExpandRequestMetadata) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionExpandRequestMetadata) MarshalVT() (dAtA []byte, err error)
- func (*PermissionExpandRequestMetadata) ProtoMessage()
- func (x *PermissionExpandRequestMetadata) ProtoReflect() protoreflect.Message
- func (x *PermissionExpandRequestMetadata) Reset()
- func (m *PermissionExpandRequestMetadata) SizeVT() (n int)
- func (x *PermissionExpandRequestMetadata) String() string
- func (m *PermissionExpandRequestMetadata) UnmarshalVT(dAtA []byte) error
- func (m *PermissionExpandRequestMetadata) Validate() error
- type PermissionExpandRequestMetadataValidationError
- func (e PermissionExpandRequestMetadataValidationError) Cause() error
- func (e PermissionExpandRequestMetadataValidationError) Error() string
- func (e PermissionExpandRequestMetadataValidationError) ErrorName() string
- func (e PermissionExpandRequestMetadataValidationError) Field() string
- func (e PermissionExpandRequestMetadataValidationError) Key() bool
- func (e PermissionExpandRequestMetadataValidationError) Reason() string
- type PermissionExpandRequestValidationError
- func (e PermissionExpandRequestValidationError) Cause() error
- func (e PermissionExpandRequestValidationError) Error() string
- func (e PermissionExpandRequestValidationError) ErrorName() string
- func (e PermissionExpandRequestValidationError) Field() string
- func (e PermissionExpandRequestValidationError) Key() bool
- func (e PermissionExpandRequestValidationError) Reason() string
- type PermissionExpandResponse
- func (*PermissionExpandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionExpandResponse) GetTree() *Expand
- func (m *PermissionExpandResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionExpandResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionExpandResponse) MarshalVT() (dAtA []byte, err error)
- func (*PermissionExpandResponse) ProtoMessage()
- func (x *PermissionExpandResponse) ProtoReflect() protoreflect.Message
- func (x *PermissionExpandResponse) Reset()
- func (m *PermissionExpandResponse) SizeVT() (n int)
- func (x *PermissionExpandResponse) String() string
- func (m *PermissionExpandResponse) UnmarshalVT(dAtA []byte) error
- func (m *PermissionExpandResponse) Validate() error
- type PermissionExpandResponseValidationError
- func (e PermissionExpandResponseValidationError) Cause() error
- func (e PermissionExpandResponseValidationError) Error() string
- func (e PermissionExpandResponseValidationError) ErrorName() string
- func (e PermissionExpandResponseValidationError) Field() string
- func (e PermissionExpandResponseValidationError) Key() bool
- func (e PermissionExpandResponseValidationError) Reason() string
- type PermissionLookupEntityRequest
- func (*PermissionLookupEntityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionLookupEntityRequest) GetContextualTuples() []*Tuple
- func (x *PermissionLookupEntityRequest) GetEntityType() string
- func (x *PermissionLookupEntityRequest) GetMetadata() *PermissionLookupEntityRequestMetadata
- func (x *PermissionLookupEntityRequest) GetPermission() string
- func (x *PermissionLookupEntityRequest) GetSubject() *Subject
- func (x *PermissionLookupEntityRequest) GetTenantId() string
- func (m *PermissionLookupEntityRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionLookupEntityRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionLookupEntityRequest) MarshalVT() (dAtA []byte, err error)
- func (*PermissionLookupEntityRequest) ProtoMessage()
- func (x *PermissionLookupEntityRequest) ProtoReflect() protoreflect.Message
- func (x *PermissionLookupEntityRequest) Reset()
- func (m *PermissionLookupEntityRequest) SizeVT() (n int)
- func (x *PermissionLookupEntityRequest) String() string
- func (m *PermissionLookupEntityRequest) UnmarshalVT(dAtA []byte) error
- func (m *PermissionLookupEntityRequest) Validate() error
- type PermissionLookupEntityRequestMetadata
- func (*PermissionLookupEntityRequestMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionLookupEntityRequestMetadata) GetDepth() int32
- func (x *PermissionLookupEntityRequestMetadata) GetSchemaVersion() string
- func (x *PermissionLookupEntityRequestMetadata) GetSnapToken() string
- func (m *PermissionLookupEntityRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionLookupEntityRequestMetadata) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionLookupEntityRequestMetadata) MarshalVT() (dAtA []byte, err error)
- func (*PermissionLookupEntityRequestMetadata) ProtoMessage()
- func (x *PermissionLookupEntityRequestMetadata) ProtoReflect() protoreflect.Message
- func (x *PermissionLookupEntityRequestMetadata) Reset()
- func (m *PermissionLookupEntityRequestMetadata) SizeVT() (n int)
- func (x *PermissionLookupEntityRequestMetadata) String() string
- func (m *PermissionLookupEntityRequestMetadata) UnmarshalVT(dAtA []byte) error
- func (m *PermissionLookupEntityRequestMetadata) Validate() error
- type PermissionLookupEntityRequestMetadataValidationError
- func (e PermissionLookupEntityRequestMetadataValidationError) Cause() error
- func (e PermissionLookupEntityRequestMetadataValidationError) Error() string
- func (e PermissionLookupEntityRequestMetadataValidationError) ErrorName() string
- func (e PermissionLookupEntityRequestMetadataValidationError) Field() string
- func (e PermissionLookupEntityRequestMetadataValidationError) Key() bool
- func (e PermissionLookupEntityRequestMetadataValidationError) Reason() string
- type PermissionLookupEntityRequestValidationError
- func (e PermissionLookupEntityRequestValidationError) Cause() error
- func (e PermissionLookupEntityRequestValidationError) Error() string
- func (e PermissionLookupEntityRequestValidationError) ErrorName() string
- func (e PermissionLookupEntityRequestValidationError) Field() string
- func (e PermissionLookupEntityRequestValidationError) Key() bool
- func (e PermissionLookupEntityRequestValidationError) Reason() string
- type PermissionLookupEntityResponse
- func (*PermissionLookupEntityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionLookupEntityResponse) GetEntityIds() []string
- func (m *PermissionLookupEntityResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionLookupEntityResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionLookupEntityResponse) MarshalVT() (dAtA []byte, err error)
- func (*PermissionLookupEntityResponse) ProtoMessage()
- func (x *PermissionLookupEntityResponse) ProtoReflect() protoreflect.Message
- func (x *PermissionLookupEntityResponse) Reset()
- func (m *PermissionLookupEntityResponse) SizeVT() (n int)
- func (x *PermissionLookupEntityResponse) String() string
- func (m *PermissionLookupEntityResponse) UnmarshalVT(dAtA []byte) error
- func (m *PermissionLookupEntityResponse) Validate() error
- type PermissionLookupEntityResponseValidationError
- func (e PermissionLookupEntityResponseValidationError) Cause() error
- func (e PermissionLookupEntityResponseValidationError) Error() string
- func (e PermissionLookupEntityResponseValidationError) ErrorName() string
- func (e PermissionLookupEntityResponseValidationError) Field() string
- func (e PermissionLookupEntityResponseValidationError) Key() bool
- func (e PermissionLookupEntityResponseValidationError) Reason() string
- type PermissionLookupEntityStreamResponse
- func (*PermissionLookupEntityStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionLookupEntityStreamResponse) GetEntityId() string
- func (m *PermissionLookupEntityStreamResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionLookupEntityStreamResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionLookupEntityStreamResponse) MarshalVT() (dAtA []byte, err error)
- func (*PermissionLookupEntityStreamResponse) ProtoMessage()
- func (x *PermissionLookupEntityStreamResponse) ProtoReflect() protoreflect.Message
- func (x *PermissionLookupEntityStreamResponse) Reset()
- func (m *PermissionLookupEntityStreamResponse) SizeVT() (n int)
- func (x *PermissionLookupEntityStreamResponse) String() string
- func (m *PermissionLookupEntityStreamResponse) UnmarshalVT(dAtA []byte) error
- func (m *PermissionLookupEntityStreamResponse) Validate() error
- type PermissionLookupEntityStreamResponseValidationError
- func (e PermissionLookupEntityStreamResponseValidationError) Cause() error
- func (e PermissionLookupEntityStreamResponseValidationError) Error() string
- func (e PermissionLookupEntityStreamResponseValidationError) ErrorName() string
- func (e PermissionLookupEntityStreamResponseValidationError) Field() string
- func (e PermissionLookupEntityStreamResponseValidationError) Key() bool
- func (e PermissionLookupEntityStreamResponseValidationError) Reason() string
- type PermissionLookupSubjectRequest
- func (*PermissionLookupSubjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionLookupSubjectRequest) GetContextualTuples() []*Tuple
- func (x *PermissionLookupSubjectRequest) GetEntity() *Entity
- func (x *PermissionLookupSubjectRequest) GetMetadata() *PermissionLookupSubjectRequestMetadata
- func (x *PermissionLookupSubjectRequest) GetPermission() string
- func (x *PermissionLookupSubjectRequest) GetSubjectReference() *RelationReference
- func (x *PermissionLookupSubjectRequest) GetTenantId() string
- func (m *PermissionLookupSubjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionLookupSubjectRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionLookupSubjectRequest) MarshalVT() (dAtA []byte, err error)
- func (*PermissionLookupSubjectRequest) ProtoMessage()
- func (x *PermissionLookupSubjectRequest) ProtoReflect() protoreflect.Message
- func (x *PermissionLookupSubjectRequest) Reset()
- func (m *PermissionLookupSubjectRequest) SizeVT() (n int)
- func (x *PermissionLookupSubjectRequest) String() string
- func (m *PermissionLookupSubjectRequest) UnmarshalVT(dAtA []byte) error
- func (m *PermissionLookupSubjectRequest) Validate() error
- type PermissionLookupSubjectRequestMetadata
- func (*PermissionLookupSubjectRequestMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionLookupSubjectRequestMetadata) GetSchemaVersion() string
- func (x *PermissionLookupSubjectRequestMetadata) GetSnapToken() string
- func (m *PermissionLookupSubjectRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionLookupSubjectRequestMetadata) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionLookupSubjectRequestMetadata) MarshalVT() (dAtA []byte, err error)
- func (*PermissionLookupSubjectRequestMetadata) ProtoMessage()
- func (x *PermissionLookupSubjectRequestMetadata) ProtoReflect() protoreflect.Message
- func (x *PermissionLookupSubjectRequestMetadata) Reset()
- func (m *PermissionLookupSubjectRequestMetadata) SizeVT() (n int)
- func (x *PermissionLookupSubjectRequestMetadata) String() string
- func (m *PermissionLookupSubjectRequestMetadata) UnmarshalVT(dAtA []byte) error
- func (m *PermissionLookupSubjectRequestMetadata) Validate() error
- type PermissionLookupSubjectRequestMetadataValidationError
- func (e PermissionLookupSubjectRequestMetadataValidationError) Cause() error
- func (e PermissionLookupSubjectRequestMetadataValidationError) Error() string
- func (e PermissionLookupSubjectRequestMetadataValidationError) ErrorName() string
- func (e PermissionLookupSubjectRequestMetadataValidationError) Field() string
- func (e PermissionLookupSubjectRequestMetadataValidationError) Key() bool
- func (e PermissionLookupSubjectRequestMetadataValidationError) Reason() string
- type PermissionLookupSubjectRequestValidationError
- func (e PermissionLookupSubjectRequestValidationError) Cause() error
- func (e PermissionLookupSubjectRequestValidationError) Error() string
- func (e PermissionLookupSubjectRequestValidationError) ErrorName() string
- func (e PermissionLookupSubjectRequestValidationError) Field() string
- func (e PermissionLookupSubjectRequestValidationError) Key() bool
- func (e PermissionLookupSubjectRequestValidationError) Reason() string
- type PermissionLookupSubjectResponse
- func (*PermissionLookupSubjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionLookupSubjectResponse) GetSubjectIds() []string
- func (m *PermissionLookupSubjectResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionLookupSubjectResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionLookupSubjectResponse) MarshalVT() (dAtA []byte, err error)
- func (*PermissionLookupSubjectResponse) ProtoMessage()
- func (x *PermissionLookupSubjectResponse) ProtoReflect() protoreflect.Message
- func (x *PermissionLookupSubjectResponse) Reset()
- func (m *PermissionLookupSubjectResponse) SizeVT() (n int)
- func (x *PermissionLookupSubjectResponse) String() string
- func (m *PermissionLookupSubjectResponse) UnmarshalVT(dAtA []byte) error
- func (m *PermissionLookupSubjectResponse) Validate() error
- type PermissionLookupSubjectResponseValidationError
- func (e PermissionLookupSubjectResponseValidationError) Cause() error
- func (e PermissionLookupSubjectResponseValidationError) Error() string
- func (e PermissionLookupSubjectResponseValidationError) ErrorName() string
- func (e PermissionLookupSubjectResponseValidationError) Field() string
- func (e PermissionLookupSubjectResponseValidationError) Key() bool
- func (e PermissionLookupSubjectResponseValidationError) Reason() string
- type PermissionServer
- type Permission_LookupEntityStreamClient
- type Permission_LookupEntityStreamServer
- type RelationDefinition
- func (*RelationDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *RelationDefinition) GetName() string
- func (x *RelationDefinition) GetRelationReferences() []*RelationReference
- func (m *RelationDefinition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationDefinition) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationDefinition) MarshalVT() (dAtA []byte, err error)
- func (*RelationDefinition) ProtoMessage()
- func (x *RelationDefinition) ProtoReflect() protoreflect.Message
- func (x *RelationDefinition) Reset()
- func (m *RelationDefinition) SizeVT() (n int)
- func (x *RelationDefinition) String() string
- func (m *RelationDefinition) UnmarshalVT(dAtA []byte) error
- func (m *RelationDefinition) Validate() error
- type RelationDefinitionValidationError
- func (e RelationDefinitionValidationError) Cause() error
- func (e RelationDefinitionValidationError) Error() string
- func (e RelationDefinitionValidationError) ErrorName() string
- func (e RelationDefinitionValidationError) Field() string
- func (e RelationDefinitionValidationError) Key() bool
- func (e RelationDefinitionValidationError) Reason() string
- type RelationReference
- func (*RelationReference) Descriptor() ([]byte, []int)deprecated
- func (x *RelationReference) GetRelation() string
- func (x *RelationReference) GetType() string
- func (m *RelationReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationReference) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationReference) MarshalVT() (dAtA []byte, err error)
- func (*RelationReference) ProtoMessage()
- func (x *RelationReference) ProtoReflect() protoreflect.Message
- func (x *RelationReference) Reset()
- func (m *RelationReference) SizeVT() (n int)
- func (x *RelationReference) String() string
- func (m *RelationReference) UnmarshalVT(dAtA []byte) error
- func (m *RelationReference) Validate() error
- type RelationReferenceValidationError
- func (e RelationReferenceValidationError) Cause() error
- func (e RelationReferenceValidationError) Error() string
- func (e RelationReferenceValidationError) ErrorName() string
- func (e RelationReferenceValidationError) Field() string
- func (e RelationReferenceValidationError) Key() bool
- func (e RelationReferenceValidationError) Reason() string
- type RelationshipClient
- type RelationshipDeleteRequest
- func (*RelationshipDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RelationshipDeleteRequest) GetFilter() *TupleFilter
- func (x *RelationshipDeleteRequest) GetTenantId() string
- func (m *RelationshipDeleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationshipDeleteRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationshipDeleteRequest) MarshalVT() (dAtA []byte, err error)
- func (*RelationshipDeleteRequest) ProtoMessage()
- func (x *RelationshipDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *RelationshipDeleteRequest) Reset()
- func (m *RelationshipDeleteRequest) SizeVT() (n int)
- func (x *RelationshipDeleteRequest) String() string
- func (m *RelationshipDeleteRequest) UnmarshalVT(dAtA []byte) error
- func (m *RelationshipDeleteRequest) Validate() error
- type RelationshipDeleteRequestValidationError
- func (e RelationshipDeleteRequestValidationError) Cause() error
- func (e RelationshipDeleteRequestValidationError) Error() string
- func (e RelationshipDeleteRequestValidationError) ErrorName() string
- func (e RelationshipDeleteRequestValidationError) Field() string
- func (e RelationshipDeleteRequestValidationError) Key() bool
- func (e RelationshipDeleteRequestValidationError) Reason() string
- type RelationshipDeleteResponse
- func (*RelationshipDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RelationshipDeleteResponse) GetSnapToken() string
- func (m *RelationshipDeleteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationshipDeleteResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationshipDeleteResponse) MarshalVT() (dAtA []byte, err error)
- func (*RelationshipDeleteResponse) ProtoMessage()
- func (x *RelationshipDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *RelationshipDeleteResponse) Reset()
- func (m *RelationshipDeleteResponse) SizeVT() (n int)
- func (x *RelationshipDeleteResponse) String() string
- func (m *RelationshipDeleteResponse) UnmarshalVT(dAtA []byte) error
- func (m *RelationshipDeleteResponse) Validate() error
- type RelationshipDeleteResponseValidationError
- func (e RelationshipDeleteResponseValidationError) Cause() error
- func (e RelationshipDeleteResponseValidationError) Error() string
- func (e RelationshipDeleteResponseValidationError) ErrorName() string
- func (e RelationshipDeleteResponseValidationError) Field() string
- func (e RelationshipDeleteResponseValidationError) Key() bool
- func (e RelationshipDeleteResponseValidationError) Reason() string
- type RelationshipReadRequest
- func (*RelationshipReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RelationshipReadRequest) GetContinuousToken() string
- func (x *RelationshipReadRequest) GetFilter() *TupleFilter
- func (x *RelationshipReadRequest) GetMetadata() *RelationshipReadRequestMetadata
- func (x *RelationshipReadRequest) GetPageSize() uint32
- func (x *RelationshipReadRequest) GetTenantId() string
- func (m *RelationshipReadRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationshipReadRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationshipReadRequest) MarshalVT() (dAtA []byte, err error)
- func (*RelationshipReadRequest) ProtoMessage()
- func (x *RelationshipReadRequest) ProtoReflect() protoreflect.Message
- func (x *RelationshipReadRequest) Reset()
- func (m *RelationshipReadRequest) SizeVT() (n int)
- func (x *RelationshipReadRequest) String() string
- func (m *RelationshipReadRequest) UnmarshalVT(dAtA []byte) error
- func (m *RelationshipReadRequest) Validate() error
- type RelationshipReadRequestMetadata
- func (*RelationshipReadRequestMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RelationshipReadRequestMetadata) GetSnapToken() string
- func (m *RelationshipReadRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationshipReadRequestMetadata) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationshipReadRequestMetadata) MarshalVT() (dAtA []byte, err error)
- func (*RelationshipReadRequestMetadata) ProtoMessage()
- func (x *RelationshipReadRequestMetadata) ProtoReflect() protoreflect.Message
- func (x *RelationshipReadRequestMetadata) Reset()
- func (m *RelationshipReadRequestMetadata) SizeVT() (n int)
- func (x *RelationshipReadRequestMetadata) String() string
- func (m *RelationshipReadRequestMetadata) UnmarshalVT(dAtA []byte) error
- func (m *RelationshipReadRequestMetadata) Validate() error
- type RelationshipReadRequestMetadataValidationError
- func (e RelationshipReadRequestMetadataValidationError) Cause() error
- func (e RelationshipReadRequestMetadataValidationError) Error() string
- func (e RelationshipReadRequestMetadataValidationError) ErrorName() string
- func (e RelationshipReadRequestMetadataValidationError) Field() string
- func (e RelationshipReadRequestMetadataValidationError) Key() bool
- func (e RelationshipReadRequestMetadataValidationError) Reason() string
- type RelationshipReadRequestValidationError
- func (e RelationshipReadRequestValidationError) Cause() error
- func (e RelationshipReadRequestValidationError) Error() string
- func (e RelationshipReadRequestValidationError) ErrorName() string
- func (e RelationshipReadRequestValidationError) Field() string
- func (e RelationshipReadRequestValidationError) Key() bool
- func (e RelationshipReadRequestValidationError) Reason() string
- type RelationshipReadResponse
- func (*RelationshipReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RelationshipReadResponse) GetContinuousToken() string
- func (x *RelationshipReadResponse) GetTuples() []*Tuple
- func (m *RelationshipReadResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationshipReadResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationshipReadResponse) MarshalVT() (dAtA []byte, err error)
- func (*RelationshipReadResponse) ProtoMessage()
- func (x *RelationshipReadResponse) ProtoReflect() protoreflect.Message
- func (x *RelationshipReadResponse) Reset()
- func (m *RelationshipReadResponse) SizeVT() (n int)
- func (x *RelationshipReadResponse) String() string
- func (m *RelationshipReadResponse) UnmarshalVT(dAtA []byte) error
- func (m *RelationshipReadResponse) Validate() error
- type RelationshipReadResponseValidationError
- func (e RelationshipReadResponseValidationError) Cause() error
- func (e RelationshipReadResponseValidationError) Error() string
- func (e RelationshipReadResponseValidationError) ErrorName() string
- func (e RelationshipReadResponseValidationError) Field() string
- func (e RelationshipReadResponseValidationError) Key() bool
- func (e RelationshipReadResponseValidationError) Reason() string
- type RelationshipServer
- type RelationshipWriteRequest
- func (*RelationshipWriteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RelationshipWriteRequest) GetMetadata() *RelationshipWriteRequestMetadata
- func (x *RelationshipWriteRequest) GetTenantId() string
- func (x *RelationshipWriteRequest) GetTuples() []*Tuple
- func (m *RelationshipWriteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationshipWriteRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationshipWriteRequest) MarshalVT() (dAtA []byte, err error)
- func (*RelationshipWriteRequest) ProtoMessage()
- func (x *RelationshipWriteRequest) ProtoReflect() protoreflect.Message
- func (x *RelationshipWriteRequest) Reset()
- func (m *RelationshipWriteRequest) SizeVT() (n int)
- func (x *RelationshipWriteRequest) String() string
- func (m *RelationshipWriteRequest) UnmarshalVT(dAtA []byte) error
- func (m *RelationshipWriteRequest) Validate() error
- type RelationshipWriteRequestMetadata
- func (*RelationshipWriteRequestMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RelationshipWriteRequestMetadata) GetSchemaVersion() string
- func (m *RelationshipWriteRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationshipWriteRequestMetadata) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationshipWriteRequestMetadata) MarshalVT() (dAtA []byte, err error)
- func (*RelationshipWriteRequestMetadata) ProtoMessage()
- func (x *RelationshipWriteRequestMetadata) ProtoReflect() protoreflect.Message
- func (x *RelationshipWriteRequestMetadata) Reset()
- func (m *RelationshipWriteRequestMetadata) SizeVT() (n int)
- func (x *RelationshipWriteRequestMetadata) String() string
- func (m *RelationshipWriteRequestMetadata) UnmarshalVT(dAtA []byte) error
- func (m *RelationshipWriteRequestMetadata) Validate() error
- type RelationshipWriteRequestMetadataValidationError
- func (e RelationshipWriteRequestMetadataValidationError) Cause() error
- func (e RelationshipWriteRequestMetadataValidationError) Error() string
- func (e RelationshipWriteRequestMetadataValidationError) ErrorName() string
- func (e RelationshipWriteRequestMetadataValidationError) Field() string
- func (e RelationshipWriteRequestMetadataValidationError) Key() bool
- func (e RelationshipWriteRequestMetadataValidationError) Reason() string
- type RelationshipWriteRequestValidationError
- func (e RelationshipWriteRequestValidationError) Cause() error
- func (e RelationshipWriteRequestValidationError) Error() string
- func (e RelationshipWriteRequestValidationError) ErrorName() string
- func (e RelationshipWriteRequestValidationError) Field() string
- func (e RelationshipWriteRequestValidationError) Key() bool
- func (e RelationshipWriteRequestValidationError) Reason() string
- type RelationshipWriteResponse
- func (*RelationshipWriteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RelationshipWriteResponse) GetSnapToken() string
- func (m *RelationshipWriteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationshipWriteResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationshipWriteResponse) MarshalVT() (dAtA []byte, err error)
- func (*RelationshipWriteResponse) ProtoMessage()
- func (x *RelationshipWriteResponse) ProtoReflect() protoreflect.Message
- func (x *RelationshipWriteResponse) Reset()
- func (m *RelationshipWriteResponse) SizeVT() (n int)
- func (x *RelationshipWriteResponse) String() string
- func (m *RelationshipWriteResponse) UnmarshalVT(dAtA []byte) error
- func (m *RelationshipWriteResponse) Validate() error
- type RelationshipWriteResponseValidationError
- func (e RelationshipWriteResponseValidationError) Cause() error
- func (e RelationshipWriteResponseValidationError) Error() string
- func (e RelationshipWriteResponseValidationError) ErrorName() string
- func (e RelationshipWriteResponseValidationError) Field() string
- func (e RelationshipWriteResponseValidationError) Key() bool
- func (e RelationshipWriteResponseValidationError) Reason() string
- type Rewrite
- func (*Rewrite) Descriptor() ([]byte, []int)deprecated
- func (x *Rewrite) GetChildren() []*Child
- func (x *Rewrite) GetRewriteOperation() Rewrite_Operation
- func (m *Rewrite) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Rewrite) MarshalToVT(dAtA []byte) (int, error)
- func (m *Rewrite) MarshalVT() (dAtA []byte, err error)
- func (*Rewrite) ProtoMessage()
- func (x *Rewrite) ProtoReflect() protoreflect.Message
- func (x *Rewrite) Reset()
- func (m *Rewrite) SizeVT() (n int)
- func (x *Rewrite) String() string
- func (m *Rewrite) UnmarshalVT(dAtA []byte) error
- func (m *Rewrite) Validate() error
- type RewriteValidationError
- type Rewrite_Operation
- func (Rewrite_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x Rewrite_Operation) Enum() *Rewrite_Operation
- func (Rewrite_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x Rewrite_Operation) Number() protoreflect.EnumNumber
- func (x Rewrite_Operation) String() string
- func (Rewrite_Operation) Type() protoreflect.EnumType
- type SchemaClient
- type SchemaDefinition
- func (*SchemaDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaDefinition) GetEntityDefinitions() map[string]*EntityDefinition
- func (m *SchemaDefinition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SchemaDefinition) MarshalToVT(dAtA []byte) (int, error)
- func (m *SchemaDefinition) MarshalVT() (dAtA []byte, err error)
- func (*SchemaDefinition) ProtoMessage()
- func (x *SchemaDefinition) ProtoReflect() protoreflect.Message
- func (x *SchemaDefinition) Reset()
- func (m *SchemaDefinition) SizeVT() (n int)
- func (x *SchemaDefinition) String() string
- func (m *SchemaDefinition) UnmarshalVT(dAtA []byte) error
- func (m *SchemaDefinition) Validate() error
- type SchemaDefinitionValidationError
- func (e SchemaDefinitionValidationError) Cause() error
- func (e SchemaDefinitionValidationError) Error() string
- func (e SchemaDefinitionValidationError) ErrorName() string
- func (e SchemaDefinitionValidationError) Field() string
- func (e SchemaDefinitionValidationError) Key() bool
- func (e SchemaDefinitionValidationError) Reason() string
- type SchemaReadRequest
- func (*SchemaReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaReadRequest) GetMetadata() *SchemaReadRequestMetadata
- func (x *SchemaReadRequest) GetTenantId() string
- func (m *SchemaReadRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SchemaReadRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SchemaReadRequest) MarshalVT() (dAtA []byte, err error)
- func (*SchemaReadRequest) ProtoMessage()
- func (x *SchemaReadRequest) ProtoReflect() protoreflect.Message
- func (x *SchemaReadRequest) Reset()
- func (m *SchemaReadRequest) SizeVT() (n int)
- func (x *SchemaReadRequest) String() string
- func (m *SchemaReadRequest) UnmarshalVT(dAtA []byte) error
- func (m *SchemaReadRequest) Validate() error
- type SchemaReadRequestMetadata
- func (*SchemaReadRequestMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaReadRequestMetadata) GetSchemaVersion() string
- func (m *SchemaReadRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SchemaReadRequestMetadata) MarshalToVT(dAtA []byte) (int, error)
- func (m *SchemaReadRequestMetadata) MarshalVT() (dAtA []byte, err error)
- func (*SchemaReadRequestMetadata) ProtoMessage()
- func (x *SchemaReadRequestMetadata) ProtoReflect() protoreflect.Message
- func (x *SchemaReadRequestMetadata) Reset()
- func (m *SchemaReadRequestMetadata) SizeVT() (n int)
- func (x *SchemaReadRequestMetadata) String() string
- func (m *SchemaReadRequestMetadata) UnmarshalVT(dAtA []byte) error
- func (m *SchemaReadRequestMetadata) Validate() error
- type SchemaReadRequestMetadataValidationError
- func (e SchemaReadRequestMetadataValidationError) Cause() error
- func (e SchemaReadRequestMetadataValidationError) Error() string
- func (e SchemaReadRequestMetadataValidationError) ErrorName() string
- func (e SchemaReadRequestMetadataValidationError) Field() string
- func (e SchemaReadRequestMetadataValidationError) Key() bool
- func (e SchemaReadRequestMetadataValidationError) Reason() string
- type SchemaReadRequestValidationError
- func (e SchemaReadRequestValidationError) Cause() error
- func (e SchemaReadRequestValidationError) Error() string
- func (e SchemaReadRequestValidationError) ErrorName() string
- func (e SchemaReadRequestValidationError) Field() string
- func (e SchemaReadRequestValidationError) Key() bool
- func (e SchemaReadRequestValidationError) Reason() string
- type SchemaReadResponse
- func (*SchemaReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaReadResponse) GetSchema() *SchemaDefinition
- func (m *SchemaReadResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SchemaReadResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *SchemaReadResponse) MarshalVT() (dAtA []byte, err error)
- func (*SchemaReadResponse) ProtoMessage()
- func (x *SchemaReadResponse) ProtoReflect() protoreflect.Message
- func (x *SchemaReadResponse) Reset()
- func (m *SchemaReadResponse) SizeVT() (n int)
- func (x *SchemaReadResponse) String() string
- func (m *SchemaReadResponse) UnmarshalVT(dAtA []byte) error
- func (m *SchemaReadResponse) Validate() error
- type SchemaReadResponseValidationError
- func (e SchemaReadResponseValidationError) Cause() error
- func (e SchemaReadResponseValidationError) Error() string
- func (e SchemaReadResponseValidationError) ErrorName() string
- func (e SchemaReadResponseValidationError) Field() string
- func (e SchemaReadResponseValidationError) Key() bool
- func (e SchemaReadResponseValidationError) Reason() string
- type SchemaServer
- type SchemaWriteRequest
- func (*SchemaWriteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaWriteRequest) GetSchema() string
- func (x *SchemaWriteRequest) GetTenantId() string
- func (m *SchemaWriteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SchemaWriteRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SchemaWriteRequest) MarshalVT() (dAtA []byte, err error)
- func (*SchemaWriteRequest) ProtoMessage()
- func (x *SchemaWriteRequest) ProtoReflect() protoreflect.Message
- func (x *SchemaWriteRequest) Reset()
- func (m *SchemaWriteRequest) SizeVT() (n int)
- func (x *SchemaWriteRequest) String() string
- func (m *SchemaWriteRequest) UnmarshalVT(dAtA []byte) error
- func (m *SchemaWriteRequest) Validate() error
- type SchemaWriteRequestValidationError
- func (e SchemaWriteRequestValidationError) Cause() error
- func (e SchemaWriteRequestValidationError) Error() string
- func (e SchemaWriteRequestValidationError) ErrorName() string
- func (e SchemaWriteRequestValidationError) Field() string
- func (e SchemaWriteRequestValidationError) Key() bool
- func (e SchemaWriteRequestValidationError) Reason() string
- type SchemaWriteResponse
- func (*SchemaWriteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaWriteResponse) GetSchemaVersion() string
- func (m *SchemaWriteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SchemaWriteResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *SchemaWriteResponse) MarshalVT() (dAtA []byte, err error)
- func (*SchemaWriteResponse) ProtoMessage()
- func (x *SchemaWriteResponse) ProtoReflect() protoreflect.Message
- func (x *SchemaWriteResponse) Reset()
- func (m *SchemaWriteResponse) SizeVT() (n int)
- func (x *SchemaWriteResponse) String() string
- func (m *SchemaWriteResponse) UnmarshalVT(dAtA []byte) error
- func (m *SchemaWriteResponse) Validate() error
- type SchemaWriteResponseValidationError
- func (e SchemaWriteResponseValidationError) Cause() error
- func (e SchemaWriteResponseValidationError) Error() string
- func (e SchemaWriteResponseValidationError) ErrorName() string
- func (e SchemaWriteResponseValidationError) Field() string
- func (e SchemaWriteResponseValidationError) Key() bool
- func (e SchemaWriteResponseValidationError) Reason() string
- type Subject
- func (*Subject) Descriptor() ([]byte, []int)deprecated
- func (x *Subject) GetId() string
- func (x *Subject) GetRelation() string
- func (x *Subject) GetType() string
- func (m *Subject) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Subject) MarshalToVT(dAtA []byte) (int, error)
- func (m *Subject) MarshalVT() (dAtA []byte, err error)
- func (*Subject) ProtoMessage()
- func (x *Subject) ProtoReflect() protoreflect.Message
- func (x *Subject) Reset()
- func (m *Subject) SizeVT() (n int)
- func (x *Subject) String() string
- func (m *Subject) UnmarshalVT(dAtA []byte) error
- func (m *Subject) Validate() error
- type SubjectFilter
- func (*SubjectFilter) Descriptor() ([]byte, []int)deprecated
- func (x *SubjectFilter) GetIds() []string
- func (x *SubjectFilter) GetRelation() string
- func (x *SubjectFilter) GetType() string
- func (m *SubjectFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SubjectFilter) MarshalToVT(dAtA []byte) (int, error)
- func (m *SubjectFilter) MarshalVT() (dAtA []byte, err error)
- func (*SubjectFilter) ProtoMessage()
- func (x *SubjectFilter) ProtoReflect() protoreflect.Message
- func (x *SubjectFilter) Reset()
- func (m *SubjectFilter) SizeVT() (n int)
- func (x *SubjectFilter) String() string
- func (m *SubjectFilter) UnmarshalVT(dAtA []byte) error
- func (m *SubjectFilter) Validate() error
- type SubjectFilterValidationError
- func (e SubjectFilterValidationError) Cause() error
- func (e SubjectFilterValidationError) Error() string
- func (e SubjectFilterValidationError) ErrorName() string
- func (e SubjectFilterValidationError) Field() string
- func (e SubjectFilterValidationError) Key() bool
- func (e SubjectFilterValidationError) Reason() string
- type SubjectValidationError
- type Subjects
- func (*Subjects) Descriptor() ([]byte, []int)deprecated
- func (x *Subjects) GetSubjects() []*Subject
- func (m *Subjects) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Subjects) MarshalToVT(dAtA []byte) (int, error)
- func (m *Subjects) MarshalVT() (dAtA []byte, err error)
- func (*Subjects) ProtoMessage()
- func (x *Subjects) ProtoReflect() protoreflect.Message
- func (x *Subjects) Reset()
- func (m *Subjects) SizeVT() (n int)
- func (x *Subjects) String() string
- func (m *Subjects) UnmarshalVT(dAtA []byte) error
- func (m *Subjects) Validate() error
- type SubjectsValidationError
- type TenancyClient
- type TenancyServer
- type Tenant
- func (*Tenant) Descriptor() ([]byte, []int)deprecated
- func (x *Tenant) GetCreatedAt() *timestamppb.Timestamp
- func (x *Tenant) GetId() string
- func (x *Tenant) GetName() string
- func (m *Tenant) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Tenant) MarshalToVT(dAtA []byte) (int, error)
- func (m *Tenant) MarshalVT() (dAtA []byte, err error)
- func (*Tenant) ProtoMessage()
- func (x *Tenant) ProtoReflect() protoreflect.Message
- func (x *Tenant) Reset()
- func (m *Tenant) SizeVT() (n int)
- func (x *Tenant) String() string
- func (m *Tenant) UnmarshalVT(dAtA []byte) error
- func (m *Tenant) Validate() error
- type TenantCreateRequest
- func (*TenantCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantCreateRequest) GetId() string
- func (x *TenantCreateRequest) GetName() string
- func (m *TenantCreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TenantCreateRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *TenantCreateRequest) MarshalVT() (dAtA []byte, err error)
- func (*TenantCreateRequest) ProtoMessage()
- func (x *TenantCreateRequest) ProtoReflect() protoreflect.Message
- func (x *TenantCreateRequest) Reset()
- func (m *TenantCreateRequest) SizeVT() (n int)
- func (x *TenantCreateRequest) String() string
- func (m *TenantCreateRequest) UnmarshalVT(dAtA []byte) error
- func (m *TenantCreateRequest) Validate() error
- type TenantCreateRequestValidationError
- func (e TenantCreateRequestValidationError) Cause() error
- func (e TenantCreateRequestValidationError) Error() string
- func (e TenantCreateRequestValidationError) ErrorName() string
- func (e TenantCreateRequestValidationError) Field() string
- func (e TenantCreateRequestValidationError) Key() bool
- func (e TenantCreateRequestValidationError) Reason() string
- type TenantCreateResponse
- func (*TenantCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TenantCreateResponse) GetTenant() *Tenant
- func (m *TenantCreateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TenantCreateResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *TenantCreateResponse) MarshalVT() (dAtA []byte, err error)
- func (*TenantCreateResponse) ProtoMessage()
- func (x *TenantCreateResponse) ProtoReflect() protoreflect.Message
- func (x *TenantCreateResponse) Reset()
- func (m *TenantCreateResponse) SizeVT() (n int)
- func (x *TenantCreateResponse) String() string
- func (m *TenantCreateResponse) UnmarshalVT(dAtA []byte) error
- func (m *TenantCreateResponse) Validate() error
- type TenantCreateResponseValidationError
- func (e TenantCreateResponseValidationError) Cause() error
- func (e TenantCreateResponseValidationError) Error() string
- func (e TenantCreateResponseValidationError) ErrorName() string
- func (e TenantCreateResponseValidationError) Field() string
- func (e TenantCreateResponseValidationError) Key() bool
- func (e TenantCreateResponseValidationError) Reason() string
- type TenantDeleteRequest
- func (*TenantDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantDeleteRequest) GetId() string
- func (m *TenantDeleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TenantDeleteRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *TenantDeleteRequest) MarshalVT() (dAtA []byte, err error)
- func (*TenantDeleteRequest) ProtoMessage()
- func (x *TenantDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *TenantDeleteRequest) Reset()
- func (m *TenantDeleteRequest) SizeVT() (n int)
- func (x *TenantDeleteRequest) String() string
- func (m *TenantDeleteRequest) UnmarshalVT(dAtA []byte) error
- func (m *TenantDeleteRequest) Validate() error
- type TenantDeleteRequestValidationError
- func (e TenantDeleteRequestValidationError) Cause() error
- func (e TenantDeleteRequestValidationError) Error() string
- func (e TenantDeleteRequestValidationError) ErrorName() string
- func (e TenantDeleteRequestValidationError) Field() string
- func (e TenantDeleteRequestValidationError) Key() bool
- func (e TenantDeleteRequestValidationError) Reason() string
- type TenantDeleteResponse
- func (*TenantDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TenantDeleteResponse) GetTenant() *Tenant
- func (m *TenantDeleteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TenantDeleteResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *TenantDeleteResponse) MarshalVT() (dAtA []byte, err error)
- func (*TenantDeleteResponse) ProtoMessage()
- func (x *TenantDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *TenantDeleteResponse) Reset()
- func (m *TenantDeleteResponse) SizeVT() (n int)
- func (x *TenantDeleteResponse) String() string
- func (m *TenantDeleteResponse) UnmarshalVT(dAtA []byte) error
- func (m *TenantDeleteResponse) Validate() error
- type TenantDeleteResponseValidationError
- func (e TenantDeleteResponseValidationError) Cause() error
- func (e TenantDeleteResponseValidationError) Error() string
- func (e TenantDeleteResponseValidationError) ErrorName() string
- func (e TenantDeleteResponseValidationError) Field() string
- func (e TenantDeleteResponseValidationError) Key() bool
- func (e TenantDeleteResponseValidationError) Reason() string
- type TenantListRequest
- func (*TenantListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantListRequest) GetContinuousToken() string
- func (x *TenantListRequest) GetPageSize() uint32
- func (m *TenantListRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TenantListRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *TenantListRequest) MarshalVT() (dAtA []byte, err error)
- func (*TenantListRequest) ProtoMessage()
- func (x *TenantListRequest) ProtoReflect() protoreflect.Message
- func (x *TenantListRequest) Reset()
- func (m *TenantListRequest) SizeVT() (n int)
- func (x *TenantListRequest) String() string
- func (m *TenantListRequest) UnmarshalVT(dAtA []byte) error
- func (m *TenantListRequest) Validate() error
- type TenantListRequestValidationError
- func (e TenantListRequestValidationError) Cause() error
- func (e TenantListRequestValidationError) Error() string
- func (e TenantListRequestValidationError) ErrorName() string
- func (e TenantListRequestValidationError) Field() string
- func (e TenantListRequestValidationError) Key() bool
- func (e TenantListRequestValidationError) Reason() string
- type TenantListResponse
- func (*TenantListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TenantListResponse) GetContinuousToken() string
- func (x *TenantListResponse) GetTenants() []*Tenant
- func (m *TenantListResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TenantListResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *TenantListResponse) MarshalVT() (dAtA []byte, err error)
- func (*TenantListResponse) ProtoMessage()
- func (x *TenantListResponse) ProtoReflect() protoreflect.Message
- func (x *TenantListResponse) Reset()
- func (m *TenantListResponse) SizeVT() (n int)
- func (x *TenantListResponse) String() string
- func (m *TenantListResponse) UnmarshalVT(dAtA []byte) error
- func (m *TenantListResponse) Validate() error
- type TenantListResponseValidationError
- func (e TenantListResponseValidationError) Cause() error
- func (e TenantListResponseValidationError) Error() string
- func (e TenantListResponseValidationError) ErrorName() string
- func (e TenantListResponseValidationError) Field() string
- func (e TenantListResponseValidationError) Key() bool
- func (e TenantListResponseValidationError) Reason() string
- type TenantValidationError
- type Tuple
- func (*Tuple) Descriptor() ([]byte, []int)deprecated
- func (x *Tuple) GetEntity() *Entity
- func (x *Tuple) GetRelation() string
- func (x *Tuple) GetSubject() *Subject
- func (m *Tuple) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Tuple) MarshalToVT(dAtA []byte) (int, error)
- func (m *Tuple) MarshalVT() (dAtA []byte, err error)
- func (*Tuple) ProtoMessage()
- func (x *Tuple) ProtoReflect() protoreflect.Message
- func (x *Tuple) Reset()
- func (m *Tuple) SizeVT() (n int)
- func (x *Tuple) String() string
- func (m *Tuple) UnmarshalVT(dAtA []byte) error
- func (m *Tuple) Validate() error
- type TupleChange
- func (*TupleChange) Descriptor() ([]byte, []int)deprecated
- func (x *TupleChange) GetOperation() TupleChange_Operation
- func (x *TupleChange) GetTuple() *Tuple
- func (m *TupleChange) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TupleChange) MarshalToVT(dAtA []byte) (int, error)
- func (m *TupleChange) MarshalVT() (dAtA []byte, err error)
- func (*TupleChange) ProtoMessage()
- func (x *TupleChange) ProtoReflect() protoreflect.Message
- func (x *TupleChange) Reset()
- func (m *TupleChange) SizeVT() (n int)
- func (x *TupleChange) String() string
- func (m *TupleChange) UnmarshalVT(dAtA []byte) error
- func (m *TupleChange) Validate() error
- type TupleChangeValidationError
- func (e TupleChangeValidationError) Cause() error
- func (e TupleChangeValidationError) Error() string
- func (e TupleChangeValidationError) ErrorName() string
- func (e TupleChangeValidationError) Field() string
- func (e TupleChangeValidationError) Key() bool
- func (e TupleChangeValidationError) Reason() string
- type TupleChange_Operation
- func (TupleChange_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x TupleChange_Operation) Enum() *TupleChange_Operation
- func (TupleChange_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x TupleChange_Operation) Number() protoreflect.EnumNumber
- func (x TupleChange_Operation) String() string
- func (TupleChange_Operation) Type() protoreflect.EnumType
- type TupleChanges
- func (*TupleChanges) Descriptor() ([]byte, []int)deprecated
- func (x *TupleChanges) GetSnapToken() string
- func (x *TupleChanges) GetTupleChanges() []*TupleChange
- func (m *TupleChanges) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TupleChanges) MarshalToVT(dAtA []byte) (int, error)
- func (m *TupleChanges) MarshalVT() (dAtA []byte, err error)
- func (*TupleChanges) ProtoMessage()
- func (x *TupleChanges) ProtoReflect() protoreflect.Message
- func (x *TupleChanges) Reset()
- func (m *TupleChanges) SizeVT() (n int)
- func (x *TupleChanges) String() string
- func (m *TupleChanges) UnmarshalVT(dAtA []byte) error
- func (m *TupleChanges) Validate() error
- type TupleChangesValidationError
- func (e TupleChangesValidationError) Cause() error
- func (e TupleChangesValidationError) Error() string
- func (e TupleChangesValidationError) ErrorName() string
- func (e TupleChangesValidationError) Field() string
- func (e TupleChangesValidationError) Key() bool
- func (e TupleChangesValidationError) Reason() string
- type TupleFilter
- func (*TupleFilter) Descriptor() ([]byte, []int)deprecated
- func (x *TupleFilter) GetEntity() *EntityFilter
- func (x *TupleFilter) GetRelation() string
- func (x *TupleFilter) GetSubject() *SubjectFilter
- func (m *TupleFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TupleFilter) MarshalToVT(dAtA []byte) (int, error)
- func (m *TupleFilter) MarshalVT() (dAtA []byte, err error)
- func (*TupleFilter) ProtoMessage()
- func (x *TupleFilter) ProtoReflect() protoreflect.Message
- func (x *TupleFilter) Reset()
- func (m *TupleFilter) SizeVT() (n int)
- func (x *TupleFilter) String() string
- func (m *TupleFilter) UnmarshalVT(dAtA []byte) error
- func (m *TupleFilter) Validate() error
- type TupleFilterValidationError
- func (e TupleFilterValidationError) Cause() error
- func (e TupleFilterValidationError) Error() string
- func (e TupleFilterValidationError) ErrorName() string
- func (e TupleFilterValidationError) Field() string
- func (e TupleFilterValidationError) Key() bool
- func (e TupleFilterValidationError) Reason() string
- type TupleSet
- func (*TupleSet) Descriptor() ([]byte, []int)deprecated
- func (x *TupleSet) GetRelation() string
- func (m *TupleSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TupleSet) MarshalToVT(dAtA []byte) (int, error)
- func (m *TupleSet) MarshalVT() (dAtA []byte, err error)
- func (*TupleSet) ProtoMessage()
- func (x *TupleSet) ProtoReflect() protoreflect.Message
- func (x *TupleSet) Reset()
- func (m *TupleSet) SizeVT() (n int)
- func (x *TupleSet) String() string
- func (m *TupleSet) UnmarshalVT(dAtA []byte) error
- func (m *TupleSet) Validate() error
- type TupleSetValidationError
- type TupleToUserSet
- func (*TupleToUserSet) Descriptor() ([]byte, []int)deprecated
- func (x *TupleToUserSet) GetComputed() *ComputedUserSet
- func (x *TupleToUserSet) GetTupleSet() *TupleSet
- func (m *TupleToUserSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TupleToUserSet) MarshalToVT(dAtA []byte) (int, error)
- func (m *TupleToUserSet) MarshalVT() (dAtA []byte, err error)
- func (*TupleToUserSet) ProtoMessage()
- func (x *TupleToUserSet) ProtoReflect() protoreflect.Message
- func (x *TupleToUserSet) Reset()
- func (m *TupleToUserSet) SizeVT() (n int)
- func (x *TupleToUserSet) String() string
- func (m *TupleToUserSet) UnmarshalVT(dAtA []byte) error
- func (m *TupleToUserSet) Validate() error
- type TupleToUserSetValidationError
- func (e TupleToUserSetValidationError) Cause() error
- func (e TupleToUserSetValidationError) Error() string
- func (e TupleToUserSetValidationError) ErrorName() string
- func (e TupleToUserSetValidationError) Field() string
- func (e TupleToUserSetValidationError) Key() bool
- func (e TupleToUserSetValidationError) Reason() string
- type TupleValidationError
- type Tuples
- func (*Tuples) Descriptor() ([]byte, []int)deprecated
- func (x *Tuples) GetTuples() []*Tuple
- func (m *Tuples) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Tuples) MarshalToVT(dAtA []byte) (int, error)
- func (m *Tuples) MarshalVT() (dAtA []byte, err error)
- func (*Tuples) ProtoMessage()
- func (x *Tuples) ProtoReflect() protoreflect.Message
- func (x *Tuples) Reset()
- func (m *Tuples) SizeVT() (n int)
- func (x *Tuples) String() string
- func (m *Tuples) UnmarshalVT(dAtA []byte) error
- func (m *Tuples) Validate() error
- type TuplesValidationError
- type UnimplementedPermissionServer
- func (UnimplementedPermissionServer) Check(context.Context, *PermissionCheckRequest) (*PermissionCheckResponse, error)
- func (UnimplementedPermissionServer) Expand(context.Context, *PermissionExpandRequest) (*PermissionExpandResponse, error)
- func (UnimplementedPermissionServer) LookupEntity(context.Context, *PermissionLookupEntityRequest) (*PermissionLookupEntityResponse, error)
- func (UnimplementedPermissionServer) LookupEntityStream(*PermissionLookupEntityRequest, Permission_LookupEntityStreamServer) error
- func (UnimplementedPermissionServer) LookupSubject(context.Context, *PermissionLookupSubjectRequest) (*PermissionLookupSubjectResponse, error)
- type UnimplementedRelationshipServer
- func (UnimplementedRelationshipServer) Delete(context.Context, *RelationshipDeleteRequest) (*RelationshipDeleteResponse, error)
- func (UnimplementedRelationshipServer) Read(context.Context, *RelationshipReadRequest) (*RelationshipReadResponse, error)
- func (UnimplementedRelationshipServer) Write(context.Context, *RelationshipWriteRequest) (*RelationshipWriteResponse, error)
- type UnimplementedSchemaServer
- type UnimplementedTenancyServer
- func (UnimplementedTenancyServer) Create(context.Context, *TenantCreateRequest) (*TenantCreateResponse, error)
- func (UnimplementedTenancyServer) Delete(context.Context, *TenantDeleteRequest) (*TenantDeleteResponse, error)
- func (UnimplementedTenancyServer) List(context.Context, *TenantListRequest) (*TenantListResponse, error)
- type UnimplementedWatchServer
- type UnsafePermissionServer
- type UnsafeRelationshipServer
- type UnsafeSchemaServer
- type UnsafeTenancyServer
- type UnsafeWatchServer
- type WatchClient
- type WatchRequest
- func (*WatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WatchRequest) GetSnapToken() string
- func (x *WatchRequest) GetTenantId() string
- func (m *WatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WatchRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *WatchRequest) MarshalVT() (dAtA []byte, err error)
- func (*WatchRequest) ProtoMessage()
- func (x *WatchRequest) ProtoReflect() protoreflect.Message
- func (x *WatchRequest) Reset()
- func (m *WatchRequest) SizeVT() (n int)
- func (x *WatchRequest) String() string
- func (m *WatchRequest) UnmarshalVT(dAtA []byte) error
- func (m *WatchRequest) Validate() error
- type WatchRequestValidationError
- func (e WatchRequestValidationError) Cause() error
- func (e WatchRequestValidationError) Error() string
- func (e WatchRequestValidationError) ErrorName() string
- func (e WatchRequestValidationError) Field() string
- func (e WatchRequestValidationError) Key() bool
- func (e WatchRequestValidationError) Reason() string
- type WatchResponse
- func (*WatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WatchResponse) GetChanges() *TupleChanges
- func (m *WatchResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WatchResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *WatchResponse) MarshalVT() (dAtA []byte, err error)
- func (*WatchResponse) ProtoMessage()
- func (x *WatchResponse) ProtoReflect() protoreflect.Message
- func (x *WatchResponse) Reset()
- func (m *WatchResponse) SizeVT() (n int)
- func (x *WatchResponse) String() string
- func (m *WatchResponse) UnmarshalVT(dAtA []byte) error
- func (m *WatchResponse) Validate() error
- type WatchResponseValidationError
- func (e WatchResponseValidationError) Cause() error
- func (e WatchResponseValidationError) Error() string
- func (e WatchResponseValidationError) ErrorName() string
- func (e WatchResponseValidationError) Field() string
- func (e WatchResponseValidationError) Key() bool
- func (e WatchResponseValidationError) Reason() string
- type WatchServer
- type Watch_WatchClient
- type Watch_WatchServer
Constants ¶
This section is empty.
Variables ¶
var ( Rewrite_Operation_name = map[int32]string{ 0: "OPERATION_UNSPECIFIED", 1: "OPERATION_UNION", 2: "OPERATION_INTERSECTION", 3: "OPERATION_EXCLUSION", } Rewrite_Operation_value = map[string]int32{ "OPERATION_UNSPECIFIED": 0, "OPERATION_UNION": 1, "OPERATION_INTERSECTION": 2, "OPERATION_EXCLUSION": 3, } )
Enum value maps for Rewrite_Operation.
var ( EntityDefinition_RelationalReference_name = map[int32]string{ 0: "RELATIONAL_REFERENCE_UNSPECIFIED", 1: "RELATIONAL_REFERENCE_RELATION", 2: "RELATIONAL_REFERENCE_PERMISSION", } EntityDefinition_RelationalReference_value = map[string]int32{ "RELATIONAL_REFERENCE_UNSPECIFIED": 0, "RELATIONAL_REFERENCE_RELATION": 1, "RELATIONAL_REFERENCE_PERMISSION": 2, } )
Enum value maps for EntityDefinition_RelationalReference.
var ( ExpandTreeNode_Operation_name = map[int32]string{ 0: "OPERATION_UNSPECIFIED", 1: "OPERATION_UNION", 2: "OPERATION_INTERSECTION", 3: "OPERATION_EXCLUSION", } ExpandTreeNode_Operation_value = map[string]int32{ "OPERATION_UNSPECIFIED": 0, "OPERATION_UNION": 1, "OPERATION_INTERSECTION": 2, "OPERATION_EXCLUSION": 3, } )
Enum value maps for ExpandTreeNode_Operation.
var ( TupleChange_Operation_name = map[int32]string{ 0: "OPERATION_UNSPECIFIED", 1: "OPERATION_CREATE", 2: "OPERATION_DELETE", } TupleChange_Operation_value = map[string]int32{ "OPERATION_UNSPECIFIED": 0, "OPERATION_CREATE": 1, "OPERATION_DELETE": 2, } )
Enum value maps for TupleChange_Operation.
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var ( ErrorCode_name = map[int32]string{ 0: "ERROR_CODE_UNSPECIFIED", 1001: "ERROR_CODE_MISSING_BEARER_TOKEN", 1002: "ERROR_CODE_UNAUTHENTICATED", 1003: "ERROR_CODE_MISSING_TENANT_ID", 2000: "ERROR_CODE_VALIDATION", 2002: "ERROR_CODE_UNDEFINED_CHILD_TYPE", 2003: "ERROR_CODE_UNDEFINED_CHILD_KIND", 2006: "ERROR_CODE_UNDEFINED_RELATION_REFERENCE", 2007: "ERROR_CODE_NOT_SUPPORTED_RELATION_WALK", 2008: "ERROR_CODE_ENTITY_AND_SUBJECT_CANNOT_BE_EQUAL", 2009: "ERROR_CODE_DEPTH_NOT_ENOUGH", 2010: "ERROR_CODE_RELATION_REFERENCE_NOT_FOUND_IN_ENTITY_REFERENCES", 2011: "ERROR_CODE_RELATION_REFERENCE_MUST_HAVE_ONE_ENTITY_REFERENCE", 2012: "ERROR_CODE_DUPLICATED_ENTITY_REFERENCE", 2013: "ERROR_CODE_DUPLICATED_RELATION_REFERENCE", 2014: "ERROR_CODE_DUPLICATED_PERMISSION_REFERENCE", 2015: "ERROR_CODE_SCHEMA_PARSE", 2016: "ERROR_CODE_SCHEMA_COMPILE", 2017: "ERROR_CODE_SUBJECT_RELATION_MUST_BE_EMPTY", 2018: "ERROR_CODE_SUBJECT_RELATION_CANNOT_BE_EMPTY", 2019: "ERROR_CODE_SCHEMA_MUST_HAVE_USER_ENTITY_DEFINITION", 2020: "ERROR_CODE_UNIQUE_CONSTRAINT", 2021: "ERROR_CODE_INVALID_CONTINUOUS_TOKEN", 2022: "ERROR_CODE_INVALID_KEY", 2023: "ERROR_CODE_ENTITY_TYPE_REQUIRED", 2024: "ERROR_CODE_NO_ENTITY_REFERENCES_FOUND_IN_SCHEMA", 4000: "ERROR_CODE_NOT_FOUND", 4001: "ERROR_CODE_ENTITY_TYPE_NOT_FOUND", 4002: "ERROR_CODE_PERMISSION_NOT_FOUND", 4003: "ERROR_CODE_SCHEMA_NOT_FOUND", 4004: "ERROR_CODE_SUBJECT_TYPE_NOT_FOUND", 4005: "ERROR_CODE_ENTITY_DEFINITION_NOT_FOUND", 4006: "ERROR_CODE_PERMISSION_DEFINITION_NOT_FOUND", 4007: "ERROR_CODE_RELATION_DEFINITION_NOT_FOUND", 4008: "ERROR_CODE_RECORD_NOT_FOUND", 4009: "ERROR_CODE_TENANT_NOT_FOUND", 5000: "ERROR_CODE_INTERNAL", 5001: "ERROR_CODE_CANCELLED", 5002: "ERROR_CODE_SQL_BUILDER", 5003: "ERROR_CODE_CIRCUIT_BREAKER", 5005: "ERROR_CODE_EXECUTION", 5006: "ERROR_CODE_SCAN", 5007: "ERROR_CODE_MIGRATION", 5008: "ERROR_CODE_TYPE_CONVERSATION", 5009: "ERROR_CODE_ERROR_MAX_RETRIES", 5010: "ERROR_CODE_ROLLBACK", 5011: "ERROR_CODE_EXCLUSION_REQUIRES_MORE_THAN_ONE_FUNCTION", 5012: "ERROR_CODE_NOT_IMPLEMENTED", } ErrorCode_value = map[string]int32{ "ERROR_CODE_UNSPECIFIED": 0, "ERROR_CODE_MISSING_BEARER_TOKEN": 1001, "ERROR_CODE_UNAUTHENTICATED": 1002, "ERROR_CODE_MISSING_TENANT_ID": 1003, "ERROR_CODE_VALIDATION": 2000, "ERROR_CODE_UNDEFINED_CHILD_TYPE": 2002, "ERROR_CODE_UNDEFINED_CHILD_KIND": 2003, "ERROR_CODE_UNDEFINED_RELATION_REFERENCE": 2006, "ERROR_CODE_NOT_SUPPORTED_RELATION_WALK": 2007, "ERROR_CODE_ENTITY_AND_SUBJECT_CANNOT_BE_EQUAL": 2008, "ERROR_CODE_DEPTH_NOT_ENOUGH": 2009, "ERROR_CODE_RELATION_REFERENCE_NOT_FOUND_IN_ENTITY_REFERENCES": 2010, "ERROR_CODE_RELATION_REFERENCE_MUST_HAVE_ONE_ENTITY_REFERENCE": 2011, "ERROR_CODE_DUPLICATED_ENTITY_REFERENCE": 2012, "ERROR_CODE_DUPLICATED_RELATION_REFERENCE": 2013, "ERROR_CODE_DUPLICATED_PERMISSION_REFERENCE": 2014, "ERROR_CODE_SCHEMA_PARSE": 2015, "ERROR_CODE_SCHEMA_COMPILE": 2016, "ERROR_CODE_SUBJECT_RELATION_MUST_BE_EMPTY": 2017, "ERROR_CODE_SUBJECT_RELATION_CANNOT_BE_EMPTY": 2018, "ERROR_CODE_SCHEMA_MUST_HAVE_USER_ENTITY_DEFINITION": 2019, "ERROR_CODE_UNIQUE_CONSTRAINT": 2020, "ERROR_CODE_INVALID_CONTINUOUS_TOKEN": 2021, "ERROR_CODE_INVALID_KEY": 2022, "ERROR_CODE_ENTITY_TYPE_REQUIRED": 2023, "ERROR_CODE_NO_ENTITY_REFERENCES_FOUND_IN_SCHEMA": 2024, "ERROR_CODE_NOT_FOUND": 4000, "ERROR_CODE_ENTITY_TYPE_NOT_FOUND": 4001, "ERROR_CODE_PERMISSION_NOT_FOUND": 4002, "ERROR_CODE_SCHEMA_NOT_FOUND": 4003, "ERROR_CODE_SUBJECT_TYPE_NOT_FOUND": 4004, "ERROR_CODE_ENTITY_DEFINITION_NOT_FOUND": 4005, "ERROR_CODE_PERMISSION_DEFINITION_NOT_FOUND": 4006, "ERROR_CODE_RELATION_DEFINITION_NOT_FOUND": 4007, "ERROR_CODE_RECORD_NOT_FOUND": 4008, "ERROR_CODE_TENANT_NOT_FOUND": 4009, "ERROR_CODE_INTERNAL": 5000, "ERROR_CODE_CANCELLED": 5001, "ERROR_CODE_SQL_BUILDER": 5002, "ERROR_CODE_CIRCUIT_BREAKER": 5003, "ERROR_CODE_EXECUTION": 5005, "ERROR_CODE_SCAN": 5006, "ERROR_CODE_MIGRATION": 5007, "ERROR_CODE_TYPE_CONVERSATION": 5008, "ERROR_CODE_ERROR_MAX_RETRIES": 5009, "ERROR_CODE_ROLLBACK": 5010, "ERROR_CODE_EXCLUSION_REQUIRES_MORE_THAN_ONE_FUNCTION": 5011, "ERROR_CODE_NOT_IMPLEMENTED": 5012, } )
Enum value maps for ErrorCode.
var ( PermissionCheckResponse_Result_name = map[int32]string{ 0: "RESULT_UNKNOWN", 1: "RESULT_ALLOWED", 2: "RESULT_DENIED", } PermissionCheckResponse_Result_value = map[string]int32{ "RESULT_UNKNOWN": 0, "RESULT_ALLOWED": 1, "RESULT_DENIED": 2, } )
Enum value maps for PermissionCheckResponse_Result.
var File_base_v1_base_proto protoreflect.FileDescriptor
var File_base_v1_errors_proto protoreflect.FileDescriptor
var File_base_v1_openapi_proto protoreflect.FileDescriptor
var File_base_v1_service_proto protoreflect.FileDescriptor
var Permission_ServiceDesc = grpc.ServiceDesc{ ServiceName: "base.v1.Permission", HandlerType: (*PermissionServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Check", Handler: _Permission_Check_Handler, }, { MethodName: "Expand", Handler: _Permission_Expand_Handler, }, { MethodName: "LookupEntity", Handler: _Permission_LookupEntity_Handler, }, { MethodName: "LookupSubject", Handler: _Permission_LookupSubject_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "LookupEntityStream", Handler: _Permission_LookupEntityStream_Handler, ServerStreams: true, }, }, Metadata: "base/v1/service.proto", }
Permission_ServiceDesc is the grpc.ServiceDesc for Permission service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Relationship_ServiceDesc = grpc.ServiceDesc{ ServiceName: "base.v1.Relationship", HandlerType: (*RelationshipServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Write", Handler: _Relationship_Write_Handler, }, { MethodName: "Read", Handler: _Relationship_Read_Handler, }, { MethodName: "Delete", Handler: _Relationship_Delete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "base/v1/service.proto", }
Relationship_ServiceDesc is the grpc.ServiceDesc for Relationship service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Schema_ServiceDesc = grpc.ServiceDesc{ ServiceName: "base.v1.Schema", HandlerType: (*SchemaServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Write", Handler: _Schema_Write_Handler, }, { MethodName: "Read", Handler: _Schema_Read_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "base/v1/service.proto", }
Schema_ServiceDesc is the grpc.ServiceDesc for Schema service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Tenancy_ServiceDesc = grpc.ServiceDesc{ ServiceName: "base.v1.Tenancy", HandlerType: (*TenancyServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _Tenancy_Create_Handler, }, { MethodName: "Delete", Handler: _Tenancy_Delete_Handler, }, { MethodName: "List", Handler: _Tenancy_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "base/v1/service.proto", }
Tenancy_ServiceDesc is the grpc.ServiceDesc for Tenancy service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Watch_ServiceDesc = grpc.ServiceDesc{ ServiceName: "base.v1.Watch", HandlerType: (*WatchServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Watch", Handler: _Watch_Watch_Handler, ServerStreams: true, }, }, Metadata: "base/v1/service.proto", }
Watch_ServiceDesc is the grpc.ServiceDesc for Watch service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPermissionHandler ¶
func RegisterPermissionHandler(ctx context.Context, mux *runtime.ServeMux, conn grpc.ClientConnInterface) error
RegisterPermissionHandler registers the http handlers for service Permission to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterPermissionHandlerClient ¶
func RegisterPermissionHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PermissionClient) error
RegisterPermissionHandlerClient registers the http handlers for service Permission to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PermissionClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PermissionClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PermissionClient" to call the correct interceptors.
func RegisterPermissionHandlerFromEndpoint ¶
func RegisterPermissionHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterPermissionHandlerFromEndpoint is same as RegisterPermissionHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterPermissionHandlerServer ¶
func RegisterPermissionHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PermissionServer) error
RegisterPermissionHandlerServer registers the http handlers for service Permission to "mux". UnaryRPC :call PermissionServer 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 RegisterPermissionHandlerFromEndpoint instead.
func RegisterPermissionServer ¶
func RegisterPermissionServer(s grpc.ServiceRegistrar, srv PermissionServer)
func RegisterRelationshipHandler ¶
func RegisterRelationshipHandler(ctx context.Context, mux *runtime.ServeMux, conn grpc.ClientConnInterface) error
RegisterRelationshipHandler registers the http handlers for service Relationship to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterRelationshipHandlerClient ¶
func RegisterRelationshipHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RelationshipClient) error
RegisterRelationshipHandlerClient registers the http handlers for service Relationship to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RelationshipClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RelationshipClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RelationshipClient" to call the correct interceptors.
func RegisterRelationshipHandlerFromEndpoint ¶
func RegisterRelationshipHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterRelationshipHandlerFromEndpoint is same as RegisterRelationshipHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterRelationshipHandlerServer ¶
func RegisterRelationshipHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RelationshipServer) error
RegisterRelationshipHandlerServer registers the http handlers for service Relationship to "mux". UnaryRPC :call RelationshipServer 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 RegisterRelationshipHandlerFromEndpoint instead.
func RegisterRelationshipServer ¶
func RegisterRelationshipServer(s grpc.ServiceRegistrar, srv RelationshipServer)
func RegisterSchemaHandler ¶
func RegisterSchemaHandler(ctx context.Context, mux *runtime.ServeMux, conn grpc.ClientConnInterface) error
RegisterSchemaHandler registers the http handlers for service Schema to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSchemaHandlerClient ¶
func RegisterSchemaHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SchemaClient) error
RegisterSchemaHandlerClient registers the http handlers for service Schema to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SchemaClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SchemaClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SchemaClient" to call the correct interceptors.
func RegisterSchemaHandlerFromEndpoint ¶
func RegisterSchemaHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSchemaHandlerFromEndpoint is same as RegisterSchemaHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSchemaHandlerServer ¶
func RegisterSchemaHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SchemaServer) error
RegisterSchemaHandlerServer registers the http handlers for service Schema to "mux". UnaryRPC :call SchemaServer 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 RegisterSchemaHandlerFromEndpoint instead.
func RegisterSchemaServer ¶
func RegisterSchemaServer(s grpc.ServiceRegistrar, srv SchemaServer)
func RegisterTenancyHandler ¶
func RegisterTenancyHandler(ctx context.Context, mux *runtime.ServeMux, conn grpc.ClientConnInterface) error
RegisterTenancyHandler registers the http handlers for service Tenancy to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterTenancyHandlerClient ¶
func RegisterTenancyHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TenancyClient) error
RegisterTenancyHandlerClient registers the http handlers for service Tenancy to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TenancyClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TenancyClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TenancyClient" to call the correct interceptors.
func RegisterTenancyHandlerFromEndpoint ¶
func RegisterTenancyHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterTenancyHandlerFromEndpoint is same as RegisterTenancyHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterTenancyHandlerServer ¶
func RegisterTenancyHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TenancyServer) error
RegisterTenancyHandlerServer registers the http handlers for service Tenancy to "mux". UnaryRPC :call TenancyServer 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 RegisterTenancyHandlerFromEndpoint instead.
func RegisterTenancyServer ¶
func RegisterTenancyServer(s grpc.ServiceRegistrar, srv TenancyServer)
func RegisterWatchHandler ¶ added in v0.3.5
func RegisterWatchHandler(ctx context.Context, mux *runtime.ServeMux, conn grpc.ClientConnInterface) error
RegisterWatchHandler registers the http handlers for service Watch to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterWatchHandlerClient ¶ added in v0.3.5
func RegisterWatchHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WatchClient) error
RegisterWatchHandlerClient registers the http handlers for service Watch to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "WatchClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "WatchClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "WatchClient" to call the correct interceptors.
func RegisterWatchHandlerFromEndpoint ¶ added in v0.3.5
func RegisterWatchHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterWatchHandlerFromEndpoint is same as RegisterWatchHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterWatchHandlerServer ¶ added in v0.3.5
func RegisterWatchHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WatchServer) error
RegisterWatchHandlerServer registers the http handlers for service Watch to "mux". UnaryRPC :call WatchServer 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 RegisterWatchHandlerFromEndpoint instead.
func RegisterWatchServer ¶ added in v0.3.5
func RegisterWatchServer(s grpc.ServiceRegistrar, srv WatchServer)
Types ¶
type Child ¶
type Child struct { // Types that are assignable to Type: // *Child_Leaf // *Child_Rewrite Type isChild_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Child
func (*Child) Descriptor
deprecated
func (*Child) GetRewrite ¶
func (*Child) MarshalToSizedBufferVT ¶
func (*Child) ProtoMessage ¶
func (*Child) ProtoMessage()
func (*Child) ProtoReflect ¶
func (x *Child) ProtoReflect() protoreflect.Message
func (*Child) UnmarshalVT ¶
type ChildValidationError ¶
type ChildValidationError struct {
// contains filtered or unexported fields
}
ChildValidationError is the validation error returned by Child.Validate if the designated constraints aren't met.
func (ChildValidationError) Cause ¶
func (e ChildValidationError) Cause() error
Cause function returns cause value.
func (ChildValidationError) Error ¶
func (e ChildValidationError) Error() string
Error satisfies the builtin error interface
func (ChildValidationError) ErrorName ¶
func (e ChildValidationError) ErrorName() string
ErrorName returns error name.
func (ChildValidationError) Field ¶
func (e ChildValidationError) Field() string
Field function returns field value.
func (ChildValidationError) Key ¶
func (e ChildValidationError) Key() bool
Key function returns key value.
func (ChildValidationError) Reason ¶
func (e ChildValidationError) Reason() string
Reason function returns reason value.
type Child_Leaf ¶
type Child_Leaf struct {
Leaf *Leaf `protobuf:"bytes,1,opt,name=leaf,proto3,oneof"`
}
func (*Child_Leaf) MarshalToSizedBufferVT ¶
func (m *Child_Leaf) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Child_Leaf) MarshalToVT ¶
func (m *Child_Leaf) MarshalToVT(dAtA []byte) (int, error)
func (*Child_Leaf) SizeVT ¶
func (m *Child_Leaf) SizeVT() (n int)
type Child_Rewrite ¶
type Child_Rewrite struct {
Rewrite *Rewrite `protobuf:"bytes,2,opt,name=rewrite,proto3,oneof"`
}
func (*Child_Rewrite) MarshalToSizedBufferVT ¶
func (m *Child_Rewrite) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Child_Rewrite) MarshalToVT ¶
func (m *Child_Rewrite) MarshalToVT(dAtA []byte) (int, error)
func (*Child_Rewrite) SizeVT ¶
func (m *Child_Rewrite) SizeVT() (n int)
type ComputedUserSet ¶
type ComputedUserSet struct { Relation string `protobuf:"bytes,1,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
ComputedUserSet
func (*ComputedUserSet) Descriptor
deprecated
func (*ComputedUserSet) Descriptor() ([]byte, []int)
Deprecated: Use ComputedUserSet.ProtoReflect.Descriptor instead.
func (*ComputedUserSet) GetRelation ¶
func (x *ComputedUserSet) GetRelation() string
func (*ComputedUserSet) MarshalToSizedBufferVT ¶
func (m *ComputedUserSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ComputedUserSet) MarshalToVT ¶
func (m *ComputedUserSet) MarshalToVT(dAtA []byte) (int, error)
func (*ComputedUserSet) MarshalVT ¶
func (m *ComputedUserSet) MarshalVT() (dAtA []byte, err error)
func (*ComputedUserSet) ProtoMessage ¶
func (*ComputedUserSet) ProtoMessage()
func (*ComputedUserSet) ProtoReflect ¶
func (x *ComputedUserSet) ProtoReflect() protoreflect.Message
func (*ComputedUserSet) Reset ¶
func (x *ComputedUserSet) Reset()
func (*ComputedUserSet) SizeVT ¶
func (m *ComputedUserSet) SizeVT() (n int)
func (*ComputedUserSet) String ¶
func (x *ComputedUserSet) String() string
func (*ComputedUserSet) UnmarshalVT ¶
func (m *ComputedUserSet) UnmarshalVT(dAtA []byte) error
func (*ComputedUserSet) Validate ¶
func (m *ComputedUserSet) Validate() error
Validate checks the field values on ComputedUserSet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ComputedUserSetValidationError ¶
type ComputedUserSetValidationError struct {
// contains filtered or unexported fields
}
ComputedUserSetValidationError is the validation error returned by ComputedUserSet.Validate if the designated constraints aren't met.
func (ComputedUserSetValidationError) Cause ¶
func (e ComputedUserSetValidationError) Cause() error
Cause function returns cause value.
func (ComputedUserSetValidationError) Error ¶
func (e ComputedUserSetValidationError) Error() string
Error satisfies the builtin error interface
func (ComputedUserSetValidationError) ErrorName ¶
func (e ComputedUserSetValidationError) ErrorName() string
ErrorName returns error name.
func (ComputedUserSetValidationError) Field ¶
func (e ComputedUserSetValidationError) Field() string
Field function returns field value.
func (ComputedUserSetValidationError) Key ¶
func (e ComputedUserSetValidationError) Key() bool
Key function returns key value.
func (ComputedUserSetValidationError) Reason ¶
func (e ComputedUserSetValidationError) Reason() string
Reason function returns reason value.
type Entity ¶
type Entity struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Entity
func (*Entity) Descriptor
deprecated
func (*Entity) MarshalToSizedBufferVT ¶
func (*Entity) ProtoMessage ¶
func (*Entity) ProtoMessage()
func (*Entity) ProtoReflect ¶
func (x *Entity) ProtoReflect() protoreflect.Message
func (*Entity) UnmarshalVT ¶
type EntityAndRelation ¶
type EntityAndRelation struct { Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
func (*EntityAndRelation) Descriptor
deprecated
func (*EntityAndRelation) Descriptor() ([]byte, []int)
Deprecated: Use EntityAndRelation.ProtoReflect.Descriptor instead.
func (*EntityAndRelation) GetEntity ¶
func (x *EntityAndRelation) GetEntity() *Entity
func (*EntityAndRelation) GetRelation ¶
func (x *EntityAndRelation) GetRelation() string
func (*EntityAndRelation) MarshalToSizedBufferVT ¶
func (m *EntityAndRelation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*EntityAndRelation) MarshalToVT ¶
func (m *EntityAndRelation) MarshalToVT(dAtA []byte) (int, error)
func (*EntityAndRelation) MarshalVT ¶
func (m *EntityAndRelation) MarshalVT() (dAtA []byte, err error)
func (*EntityAndRelation) ProtoMessage ¶
func (*EntityAndRelation) ProtoMessage()
func (*EntityAndRelation) ProtoReflect ¶
func (x *EntityAndRelation) ProtoReflect() protoreflect.Message
func (*EntityAndRelation) Reset ¶
func (x *EntityAndRelation) Reset()
func (*EntityAndRelation) SizeVT ¶
func (m *EntityAndRelation) SizeVT() (n int)
func (*EntityAndRelation) String ¶
func (x *EntityAndRelation) String() string
func (*EntityAndRelation) UnmarshalVT ¶
func (m *EntityAndRelation) UnmarshalVT(dAtA []byte) error
func (*EntityAndRelation) Validate ¶
func (m *EntityAndRelation) Validate() error
Validate checks the field values on EntityAndRelation with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type EntityAndRelationValidationError ¶
type EntityAndRelationValidationError struct {
// contains filtered or unexported fields
}
EntityAndRelationValidationError is the validation error returned by EntityAndRelation.Validate if the designated constraints aren't met.
func (EntityAndRelationValidationError) Cause ¶
func (e EntityAndRelationValidationError) Cause() error
Cause function returns cause value.
func (EntityAndRelationValidationError) Error ¶
func (e EntityAndRelationValidationError) Error() string
Error satisfies the builtin error interface
func (EntityAndRelationValidationError) ErrorName ¶
func (e EntityAndRelationValidationError) ErrorName() string
ErrorName returns error name.
func (EntityAndRelationValidationError) Field ¶
func (e EntityAndRelationValidationError) Field() string
Field function returns field value.
func (EntityAndRelationValidationError) Key ¶
func (e EntityAndRelationValidationError) Key() bool
Key function returns key value.
func (EntityAndRelationValidationError) Reason ¶
func (e EntityAndRelationValidationError) Reason() string
Reason function returns reason value.
type EntityDefinition ¶
type EntityDefinition struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // ["relation_name"] => RelationDefinition Relations map[string]*RelationDefinition `` /* 159-byte string literal not displayed */ // ["permission_name"] => PermissionDefinition Permissions map[string]*PermissionDefinition `` /* 163-byte string literal not displayed */ // ["relation_name or permission_name"] => RelationalReference References map[string]EntityDefinition_RelationalReference `` /* 212-byte string literal not displayed */ // contains filtered or unexported fields }
EntityDefinition
func (*EntityDefinition) Descriptor
deprecated
func (*EntityDefinition) Descriptor() ([]byte, []int)
Deprecated: Use EntityDefinition.ProtoReflect.Descriptor instead.
func (*EntityDefinition) GetName ¶
func (x *EntityDefinition) GetName() string
func (*EntityDefinition) GetPermissions ¶ added in v0.3.3
func (x *EntityDefinition) GetPermissions() map[string]*PermissionDefinition
func (*EntityDefinition) GetReferences ¶
func (x *EntityDefinition) GetReferences() map[string]EntityDefinition_RelationalReference
func (*EntityDefinition) GetRelations ¶
func (x *EntityDefinition) GetRelations() map[string]*RelationDefinition
func (*EntityDefinition) MarshalToSizedBufferVT ¶
func (m *EntityDefinition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*EntityDefinition) MarshalToVT ¶
func (m *EntityDefinition) MarshalToVT(dAtA []byte) (int, error)
func (*EntityDefinition) MarshalVT ¶
func (m *EntityDefinition) MarshalVT() (dAtA []byte, err error)
func (*EntityDefinition) ProtoMessage ¶
func (*EntityDefinition) ProtoMessage()
func (*EntityDefinition) ProtoReflect ¶
func (x *EntityDefinition) ProtoReflect() protoreflect.Message
func (*EntityDefinition) Reset ¶
func (x *EntityDefinition) Reset()
func (*EntityDefinition) SizeVT ¶
func (m *EntityDefinition) SizeVT() (n int)
func (*EntityDefinition) String ¶
func (x *EntityDefinition) String() string
func (*EntityDefinition) UnmarshalVT ¶
func (m *EntityDefinition) UnmarshalVT(dAtA []byte) error
func (*EntityDefinition) Validate ¶
func (m *EntityDefinition) Validate() error
Validate checks the field values on EntityDefinition with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type EntityDefinitionValidationError ¶
type EntityDefinitionValidationError struct {
// contains filtered or unexported fields
}
EntityDefinitionValidationError is the validation error returned by EntityDefinition.Validate if the designated constraints aren't met.
func (EntityDefinitionValidationError) Cause ¶
func (e EntityDefinitionValidationError) Cause() error
Cause function returns cause value.
func (EntityDefinitionValidationError) Error ¶
func (e EntityDefinitionValidationError) Error() string
Error satisfies the builtin error interface
func (EntityDefinitionValidationError) ErrorName ¶
func (e EntityDefinitionValidationError) ErrorName() string
ErrorName returns error name.
func (EntityDefinitionValidationError) Field ¶
func (e EntityDefinitionValidationError) Field() string
Field function returns field value.
func (EntityDefinitionValidationError) Key ¶
func (e EntityDefinitionValidationError) Key() bool
Key function returns key value.
func (EntityDefinitionValidationError) Reason ¶
func (e EntityDefinitionValidationError) Reason() string
Reason function returns reason value.
type EntityDefinition_RelationalReference ¶
type EntityDefinition_RelationalReference int32
RelationalReference
const ( EntityDefinition_RELATIONAL_REFERENCE_UNSPECIFIED EntityDefinition_RelationalReference = 0 EntityDefinition_RELATIONAL_REFERENCE_RELATION EntityDefinition_RelationalReference = 1 EntityDefinition_RELATIONAL_REFERENCE_PERMISSION EntityDefinition_RelationalReference = 2 )
func (EntityDefinition_RelationalReference) Descriptor ¶
func (EntityDefinition_RelationalReference) Descriptor() protoreflect.EnumDescriptor
func (EntityDefinition_RelationalReference) Enum ¶
func (x EntityDefinition_RelationalReference) Enum() *EntityDefinition_RelationalReference
func (EntityDefinition_RelationalReference) EnumDescriptor
deprecated
func (EntityDefinition_RelationalReference) EnumDescriptor() ([]byte, []int)
Deprecated: Use EntityDefinition_RelationalReference.Descriptor instead.
func (EntityDefinition_RelationalReference) Number ¶
func (x EntityDefinition_RelationalReference) Number() protoreflect.EnumNumber
func (EntityDefinition_RelationalReference) String ¶
func (x EntityDefinition_RelationalReference) String() string
func (EntityDefinition_RelationalReference) Type ¶
func (EntityDefinition_RelationalReference) Type() protoreflect.EnumType
type EntityFilter ¶
type EntityFilter struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Ids []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
EntityFilter is used to filter entities
func (*EntityFilter) Descriptor
deprecated
func (*EntityFilter) Descriptor() ([]byte, []int)
Deprecated: Use EntityFilter.ProtoReflect.Descriptor instead.
func (*EntityFilter) GetIds ¶
func (x *EntityFilter) GetIds() []string
func (*EntityFilter) GetType ¶
func (x *EntityFilter) GetType() string
func (*EntityFilter) MarshalToSizedBufferVT ¶
func (m *EntityFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*EntityFilter) MarshalToVT ¶
func (m *EntityFilter) MarshalToVT(dAtA []byte) (int, error)
func (*EntityFilter) MarshalVT ¶
func (m *EntityFilter) MarshalVT() (dAtA []byte, err error)
func (*EntityFilter) ProtoMessage ¶
func (*EntityFilter) ProtoMessage()
func (*EntityFilter) ProtoReflect ¶
func (x *EntityFilter) ProtoReflect() protoreflect.Message
func (*EntityFilter) Reset ¶
func (x *EntityFilter) Reset()
func (*EntityFilter) SizeVT ¶
func (m *EntityFilter) SizeVT() (n int)
func (*EntityFilter) String ¶
func (x *EntityFilter) String() string
func (*EntityFilter) UnmarshalVT ¶
func (m *EntityFilter) UnmarshalVT(dAtA []byte) error
func (*EntityFilter) Validate ¶
func (m *EntityFilter) Validate() error
Validate checks the field values on EntityFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type EntityFilterValidationError ¶
type EntityFilterValidationError struct {
// contains filtered or unexported fields
}
EntityFilterValidationError is the validation error returned by EntityFilter.Validate if the designated constraints aren't met.
func (EntityFilterValidationError) Cause ¶
func (e EntityFilterValidationError) Cause() error
Cause function returns cause value.
func (EntityFilterValidationError) Error ¶
func (e EntityFilterValidationError) Error() string
Error satisfies the builtin error interface
func (EntityFilterValidationError) ErrorName ¶
func (e EntityFilterValidationError) ErrorName() string
ErrorName returns error name.
func (EntityFilterValidationError) Field ¶
func (e EntityFilterValidationError) Field() string
Field function returns field value.
func (EntityFilterValidationError) Key ¶
func (e EntityFilterValidationError) Key() bool
Key function returns key value.
func (EntityFilterValidationError) Reason ¶
func (e EntityFilterValidationError) Reason() string
Reason function returns reason value.
type EntityValidationError ¶
type EntityValidationError struct {
// contains filtered or unexported fields
}
EntityValidationError is the validation error returned by Entity.Validate if the designated constraints aren't met.
func (EntityValidationError) Cause ¶
func (e EntityValidationError) Cause() error
Cause function returns cause value.
func (EntityValidationError) Error ¶
func (e EntityValidationError) Error() string
Error satisfies the builtin error interface
func (EntityValidationError) ErrorName ¶
func (e EntityValidationError) ErrorName() string
ErrorName returns error name.
func (EntityValidationError) Field ¶
func (e EntityValidationError) Field() string
Field function returns field value.
func (EntityValidationError) Key ¶
func (e EntityValidationError) Key() bool
Key function returns key value.
func (EntityValidationError) Reason ¶
func (e EntityValidationError) Reason() string
Reason function returns reason value.
type ErrorCode ¶
type ErrorCode int32
const ( ErrorCode_ERROR_CODE_UNSPECIFIED ErrorCode = 0 // authn ErrorCode_ERROR_CODE_MISSING_BEARER_TOKEN ErrorCode = 1001 ErrorCode_ERROR_CODE_UNAUTHENTICATED ErrorCode = 1002 ErrorCode_ERROR_CODE_MISSING_TENANT_ID ErrorCode = 1003 // validation ErrorCode_ERROR_CODE_VALIDATION ErrorCode = 2000 ErrorCode_ERROR_CODE_UNDEFINED_CHILD_TYPE ErrorCode = 2002 ErrorCode_ERROR_CODE_UNDEFINED_CHILD_KIND ErrorCode = 2003 ErrorCode_ERROR_CODE_UNDEFINED_RELATION_REFERENCE ErrorCode = 2006 ErrorCode_ERROR_CODE_NOT_SUPPORTED_RELATION_WALK ErrorCode = 2007 ErrorCode_ERROR_CODE_ENTITY_AND_SUBJECT_CANNOT_BE_EQUAL ErrorCode = 2008 ErrorCode_ERROR_CODE_DEPTH_NOT_ENOUGH ErrorCode = 2009 ErrorCode_ERROR_CODE_RELATION_REFERENCE_NOT_FOUND_IN_ENTITY_REFERENCES ErrorCode = 2010 ErrorCode_ERROR_CODE_RELATION_REFERENCE_MUST_HAVE_ONE_ENTITY_REFERENCE ErrorCode = 2011 ErrorCode_ERROR_CODE_DUPLICATED_ENTITY_REFERENCE ErrorCode = 2012 ErrorCode_ERROR_CODE_DUPLICATED_RELATION_REFERENCE ErrorCode = 2013 ErrorCode_ERROR_CODE_DUPLICATED_PERMISSION_REFERENCE ErrorCode = 2014 ErrorCode_ERROR_CODE_SCHEMA_PARSE ErrorCode = 2015 ErrorCode_ERROR_CODE_SCHEMA_COMPILE ErrorCode = 2016 ErrorCode_ERROR_CODE_SUBJECT_RELATION_MUST_BE_EMPTY ErrorCode = 2017 ErrorCode_ERROR_CODE_SUBJECT_RELATION_CANNOT_BE_EMPTY ErrorCode = 2018 ErrorCode_ERROR_CODE_SCHEMA_MUST_HAVE_USER_ENTITY_DEFINITION ErrorCode = 2019 ErrorCode_ERROR_CODE_UNIQUE_CONSTRAINT ErrorCode = 2020 ErrorCode_ERROR_CODE_INVALID_CONTINUOUS_TOKEN ErrorCode = 2021 ErrorCode_ERROR_CODE_INVALID_KEY ErrorCode = 2022 ErrorCode_ERROR_CODE_ENTITY_TYPE_REQUIRED ErrorCode = 2023 ErrorCode_ERROR_CODE_NO_ENTITY_REFERENCES_FOUND_IN_SCHEMA ErrorCode = 2024 // not found ErrorCode_ERROR_CODE_NOT_FOUND ErrorCode = 4000 ErrorCode_ERROR_CODE_ENTITY_TYPE_NOT_FOUND ErrorCode = 4001 ErrorCode_ERROR_CODE_PERMISSION_NOT_FOUND ErrorCode = 4002 ErrorCode_ERROR_CODE_SCHEMA_NOT_FOUND ErrorCode = 4003 ErrorCode_ERROR_CODE_SUBJECT_TYPE_NOT_FOUND ErrorCode = 4004 ErrorCode_ERROR_CODE_ENTITY_DEFINITION_NOT_FOUND ErrorCode = 4005 ErrorCode_ERROR_CODE_PERMISSION_DEFINITION_NOT_FOUND ErrorCode = 4006 ErrorCode_ERROR_CODE_RELATION_DEFINITION_NOT_FOUND ErrorCode = 4007 ErrorCode_ERROR_CODE_RECORD_NOT_FOUND ErrorCode = 4008 ErrorCode_ERROR_CODE_TENANT_NOT_FOUND ErrorCode = 4009 // internal ErrorCode_ERROR_CODE_INTERNAL ErrorCode = 5000 ErrorCode_ERROR_CODE_CANCELLED ErrorCode = 5001 ErrorCode_ERROR_CODE_SQL_BUILDER ErrorCode = 5002 ErrorCode_ERROR_CODE_CIRCUIT_BREAKER ErrorCode = 5003 ErrorCode_ERROR_CODE_EXECUTION ErrorCode = 5005 ErrorCode_ERROR_CODE_SCAN ErrorCode = 5006 ErrorCode_ERROR_CODE_MIGRATION ErrorCode = 5007 ErrorCode_ERROR_CODE_TYPE_CONVERSATION ErrorCode = 5008 ErrorCode_ERROR_CODE_ERROR_MAX_RETRIES ErrorCode = 5009 ErrorCode_ERROR_CODE_ROLLBACK ErrorCode = 5010 ErrorCode_ERROR_CODE_EXCLUSION_REQUIRES_MORE_THAN_ONE_FUNCTION ErrorCode = 5011 ErrorCode_ERROR_CODE_NOT_IMPLEMENTED ErrorCode = 5012 )
func (ErrorCode) Descriptor ¶
func (ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (ErrorCode) EnumDescriptor
deprecated
func (ErrorCode) Number ¶
func (x ErrorCode) Number() protoreflect.EnumNumber
func (ErrorCode) Type ¶
func (ErrorCode) Type() protoreflect.EnumType
type ErrorResponse ¶
type ErrorResponse struct { Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=base.v1.ErrorCode" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
ErrorResponse
func (*ErrorResponse) Descriptor
deprecated
func (*ErrorResponse) Descriptor() ([]byte, []int)
Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.
func (*ErrorResponse) GetCode ¶
func (x *ErrorResponse) GetCode() ErrorCode
func (*ErrorResponse) GetMessage ¶
func (x *ErrorResponse) GetMessage() string
func (*ErrorResponse) MarshalToSizedBufferVT ¶
func (m *ErrorResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ErrorResponse) MarshalToVT ¶
func (m *ErrorResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ErrorResponse) MarshalVT ¶
func (m *ErrorResponse) MarshalVT() (dAtA []byte, err error)
func (*ErrorResponse) ProtoMessage ¶
func (*ErrorResponse) ProtoMessage()
func (*ErrorResponse) ProtoReflect ¶
func (x *ErrorResponse) ProtoReflect() protoreflect.Message
func (*ErrorResponse) Reset ¶
func (x *ErrorResponse) Reset()
func (*ErrorResponse) SizeVT ¶
func (m *ErrorResponse) SizeVT() (n int)
func (*ErrorResponse) String ¶
func (x *ErrorResponse) String() string
func (*ErrorResponse) UnmarshalVT ¶
func (m *ErrorResponse) UnmarshalVT(dAtA []byte) error
func (*ErrorResponse) Validate ¶
func (m *ErrorResponse) Validate() error
Validate checks the field values on ErrorResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ErrorResponseValidationError ¶
type ErrorResponseValidationError struct {
// contains filtered or unexported fields
}
ErrorResponseValidationError is the validation error returned by ErrorResponse.Validate if the designated constraints aren't met.
func (ErrorResponseValidationError) Cause ¶
func (e ErrorResponseValidationError) Cause() error
Cause function returns cause value.
func (ErrorResponseValidationError) Error ¶
func (e ErrorResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ErrorResponseValidationError) ErrorName ¶
func (e ErrorResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ErrorResponseValidationError) Field ¶
func (e ErrorResponseValidationError) Field() string
Field function returns field value.
func (ErrorResponseValidationError) Key ¶
func (e ErrorResponseValidationError) Key() bool
Key function returns key value.
func (ErrorResponseValidationError) Reason ¶
func (e ErrorResponseValidationError) Reason() string
Reason function returns reason value.
type Expand ¶
type Expand struct { Target *EntityAndRelation `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // Types that are assignable to Node: // *Expand_Expand // *Expand_Leaf Node isExpand_Node `protobuf_oneof:"node"` // contains filtered or unexported fields }
Expand
func (*Expand) Descriptor
deprecated
func (*Expand) GetExpand ¶
func (x *Expand) GetExpand() *ExpandTreeNode
func (*Expand) GetTarget ¶ added in v0.3.4
func (x *Expand) GetTarget() *EntityAndRelation
func (*Expand) MarshalToSizedBufferVT ¶
func (*Expand) ProtoMessage ¶
func (*Expand) ProtoMessage()
func (*Expand) ProtoReflect ¶
func (x *Expand) ProtoReflect() protoreflect.Message
func (*Expand) UnmarshalVT ¶
type ExpandTreeNode ¶
type ExpandTreeNode struct { Operation ExpandTreeNode_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=base.v1.ExpandTreeNode_Operation" json:"operation,omitempty"` Children []*Expand `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
ExpandTreeNode
func (*ExpandTreeNode) Descriptor
deprecated
func (*ExpandTreeNode) Descriptor() ([]byte, []int)
Deprecated: Use ExpandTreeNode.ProtoReflect.Descriptor instead.
func (*ExpandTreeNode) GetChildren ¶
func (x *ExpandTreeNode) GetChildren() []*Expand
func (*ExpandTreeNode) GetOperation ¶
func (x *ExpandTreeNode) GetOperation() ExpandTreeNode_Operation
func (*ExpandTreeNode) MarshalToSizedBufferVT ¶
func (m *ExpandTreeNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExpandTreeNode) MarshalToVT ¶
func (m *ExpandTreeNode) MarshalToVT(dAtA []byte) (int, error)
func (*ExpandTreeNode) MarshalVT ¶
func (m *ExpandTreeNode) MarshalVT() (dAtA []byte, err error)
func (*ExpandTreeNode) ProtoMessage ¶
func (*ExpandTreeNode) ProtoMessage()
func (*ExpandTreeNode) ProtoReflect ¶
func (x *ExpandTreeNode) ProtoReflect() protoreflect.Message
func (*ExpandTreeNode) Reset ¶
func (x *ExpandTreeNode) Reset()
func (*ExpandTreeNode) SizeVT ¶
func (m *ExpandTreeNode) SizeVT() (n int)
func (*ExpandTreeNode) String ¶
func (x *ExpandTreeNode) String() string
func (*ExpandTreeNode) UnmarshalVT ¶
func (m *ExpandTreeNode) UnmarshalVT(dAtA []byte) error
func (*ExpandTreeNode) Validate ¶
func (m *ExpandTreeNode) Validate() error
Validate checks the field values on ExpandTreeNode with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ExpandTreeNodeValidationError ¶
type ExpandTreeNodeValidationError struct {
// contains filtered or unexported fields
}
ExpandTreeNodeValidationError is the validation error returned by ExpandTreeNode.Validate if the designated constraints aren't met.
func (ExpandTreeNodeValidationError) Cause ¶
func (e ExpandTreeNodeValidationError) Cause() error
Cause function returns cause value.
func (ExpandTreeNodeValidationError) Error ¶
func (e ExpandTreeNodeValidationError) Error() string
Error satisfies the builtin error interface
func (ExpandTreeNodeValidationError) ErrorName ¶
func (e ExpandTreeNodeValidationError) ErrorName() string
ErrorName returns error name.
func (ExpandTreeNodeValidationError) Field ¶
func (e ExpandTreeNodeValidationError) Field() string
Field function returns field value.
func (ExpandTreeNodeValidationError) Key ¶
func (e ExpandTreeNodeValidationError) Key() bool
Key function returns key value.
func (ExpandTreeNodeValidationError) Reason ¶
func (e ExpandTreeNodeValidationError) Reason() string
Reason function returns reason value.
type ExpandTreeNode_Operation ¶
type ExpandTreeNode_Operation int32
Operation
const ( ExpandTreeNode_OPERATION_UNSPECIFIED ExpandTreeNode_Operation = 0 ExpandTreeNode_OPERATION_UNION ExpandTreeNode_Operation = 1 ExpandTreeNode_OPERATION_INTERSECTION ExpandTreeNode_Operation = 2 ExpandTreeNode_OPERATION_EXCLUSION ExpandTreeNode_Operation = 3 )
func (ExpandTreeNode_Operation) Descriptor ¶
func (ExpandTreeNode_Operation) Descriptor() protoreflect.EnumDescriptor
func (ExpandTreeNode_Operation) Enum ¶
func (x ExpandTreeNode_Operation) Enum() *ExpandTreeNode_Operation
func (ExpandTreeNode_Operation) EnumDescriptor
deprecated
func (ExpandTreeNode_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExpandTreeNode_Operation.Descriptor instead.
func (ExpandTreeNode_Operation) Number ¶
func (x ExpandTreeNode_Operation) Number() protoreflect.EnumNumber
func (ExpandTreeNode_Operation) String ¶
func (x ExpandTreeNode_Operation) String() string
func (ExpandTreeNode_Operation) Type ¶
func (ExpandTreeNode_Operation) Type() protoreflect.EnumType
type ExpandValidationError ¶
type ExpandValidationError struct {
// contains filtered or unexported fields
}
ExpandValidationError is the validation error returned by Expand.Validate if the designated constraints aren't met.
func (ExpandValidationError) Cause ¶
func (e ExpandValidationError) Cause() error
Cause function returns cause value.
func (ExpandValidationError) Error ¶
func (e ExpandValidationError) Error() string
Error satisfies the builtin error interface
func (ExpandValidationError) ErrorName ¶
func (e ExpandValidationError) ErrorName() string
ErrorName returns error name.
func (ExpandValidationError) Field ¶
func (e ExpandValidationError) Field() string
Field function returns field value.
func (ExpandValidationError) Key ¶
func (e ExpandValidationError) Key() bool
Key function returns key value.
func (ExpandValidationError) Reason ¶
func (e ExpandValidationError) Reason() string
Reason function returns reason value.
type Expand_Expand ¶
type Expand_Expand struct {
Expand *ExpandTreeNode `protobuf:"bytes,2,opt,name=expand,proto3,oneof"`
}
func (*Expand_Expand) MarshalToSizedBufferVT ¶
func (m *Expand_Expand) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Expand_Expand) MarshalToVT ¶
func (m *Expand_Expand) MarshalToVT(dAtA []byte) (int, error)
func (*Expand_Expand) SizeVT ¶
func (m *Expand_Expand) SizeVT() (n int)
type Expand_Leaf ¶
type Expand_Leaf struct {
Leaf *Subjects `protobuf:"bytes,3,opt,name=leaf,proto3,oneof"`
}
func (*Expand_Leaf) MarshalToSizedBufferVT ¶
func (m *Expand_Leaf) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Expand_Leaf) MarshalToVT ¶
func (m *Expand_Leaf) MarshalToVT(dAtA []byte) (int, error)
func (*Expand_Leaf) SizeVT ¶
func (m *Expand_Leaf) SizeVT() (n int)
type Leaf ¶
type Leaf struct { // Types that are assignable to Type: // *Leaf_ComputedUserSet // *Leaf_TupleToUserSet Type isLeaf_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Leaf
func (*Leaf) Descriptor
deprecated
func (*Leaf) GetComputedUserSet ¶
func (x *Leaf) GetComputedUserSet() *ComputedUserSet
func (*Leaf) GetTupleToUserSet ¶
func (x *Leaf) GetTupleToUserSet() *TupleToUserSet
func (*Leaf) MarshalToSizedBufferVT ¶
func (*Leaf) ProtoMessage ¶
func (*Leaf) ProtoMessage()
func (*Leaf) ProtoReflect ¶
func (x *Leaf) ProtoReflect() protoreflect.Message
func (*Leaf) UnmarshalVT ¶
type LeafValidationError ¶
type LeafValidationError struct {
// contains filtered or unexported fields
}
LeafValidationError is the validation error returned by Leaf.Validate if the designated constraints aren't met.
func (LeafValidationError) Cause ¶
func (e LeafValidationError) Cause() error
Cause function returns cause value.
func (LeafValidationError) Error ¶
func (e LeafValidationError) Error() string
Error satisfies the builtin error interface
func (LeafValidationError) ErrorName ¶
func (e LeafValidationError) ErrorName() string
ErrorName returns error name.
func (LeafValidationError) Field ¶
func (e LeafValidationError) Field() string
Field function returns field value.
func (LeafValidationError) Key ¶
func (e LeafValidationError) Key() bool
Key function returns key value.
func (LeafValidationError) Reason ¶
func (e LeafValidationError) Reason() string
Reason function returns reason value.
type Leaf_ComputedUserSet ¶
type Leaf_ComputedUserSet struct {
ComputedUserSet *ComputedUserSet `protobuf:"bytes,1,opt,name=computed_user_set,json=computedUserSet,proto3,oneof"`
}
func (*Leaf_ComputedUserSet) MarshalToSizedBufferVT ¶
func (m *Leaf_ComputedUserSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Leaf_ComputedUserSet) MarshalToVT ¶
func (m *Leaf_ComputedUserSet) MarshalToVT(dAtA []byte) (int, error)
func (*Leaf_ComputedUserSet) SizeVT ¶
func (m *Leaf_ComputedUserSet) SizeVT() (n int)
type Leaf_TupleToUserSet ¶
type Leaf_TupleToUserSet struct {
TupleToUserSet *TupleToUserSet `protobuf:"bytes,2,opt,name=tuple_to_user_set,json=tupleToUserSet,proto3,oneof"`
}
func (*Leaf_TupleToUserSet) MarshalToSizedBufferVT ¶
func (m *Leaf_TupleToUserSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Leaf_TupleToUserSet) MarshalToVT ¶
func (m *Leaf_TupleToUserSet) MarshalToVT(dAtA []byte) (int, error)
func (*Leaf_TupleToUserSet) SizeVT ¶
func (m *Leaf_TupleToUserSet) SizeVT() (n int)
type PermissionCheckRequest ¶
type PermissionCheckRequest struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"` Metadata *PermissionCheckRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` Entity *Entity `protobuf:"bytes,3,opt,name=entity,proto3" json:"entity,omitempty"` // its can be permission or relation Permission string `protobuf:"bytes,4,opt,name=permission,proto3" json:"permission,omitempty"` Subject *Subject `protobuf:"bytes,5,opt,name=subject,proto3" json:"subject,omitempty"` ContextualTuples []*Tuple `protobuf:"bytes,6,rep,name=contextual_tuples,proto3" json:"contextual_tuples,omitempty"` // contains filtered or unexported fields }
PermissionCheckRequest
func (*PermissionCheckRequest) Descriptor
deprecated
func (*PermissionCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use PermissionCheckRequest.ProtoReflect.Descriptor instead.
func (*PermissionCheckRequest) GetContextualTuples ¶ added in v0.3.6
func (x *PermissionCheckRequest) GetContextualTuples() []*Tuple
func (*PermissionCheckRequest) GetEntity ¶
func (x *PermissionCheckRequest) GetEntity() *Entity
func (*PermissionCheckRequest) GetMetadata ¶
func (x *PermissionCheckRequest) GetMetadata() *PermissionCheckRequestMetadata
func (*PermissionCheckRequest) GetPermission ¶
func (x *PermissionCheckRequest) GetPermission() string
func (*PermissionCheckRequest) GetSubject ¶
func (x *PermissionCheckRequest) GetSubject() *Subject
func (*PermissionCheckRequest) GetTenantId ¶
func (x *PermissionCheckRequest) GetTenantId() string
func (*PermissionCheckRequest) MarshalToSizedBufferVT ¶
func (m *PermissionCheckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionCheckRequest) MarshalToVT ¶
func (m *PermissionCheckRequest) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionCheckRequest) MarshalVT ¶
func (m *PermissionCheckRequest) MarshalVT() (dAtA []byte, err error)
func (*PermissionCheckRequest) ProtoMessage ¶
func (*PermissionCheckRequest) ProtoMessage()
func (*PermissionCheckRequest) ProtoReflect ¶
func (x *PermissionCheckRequest) ProtoReflect() protoreflect.Message
func (*PermissionCheckRequest) Reset ¶
func (x *PermissionCheckRequest) Reset()
func (*PermissionCheckRequest) SizeVT ¶
func (m *PermissionCheckRequest) SizeVT() (n int)
func (*PermissionCheckRequest) String ¶
func (x *PermissionCheckRequest) String() string
func (*PermissionCheckRequest) UnmarshalVT ¶
func (m *PermissionCheckRequest) UnmarshalVT(dAtA []byte) error
func (*PermissionCheckRequest) Validate ¶
func (m *PermissionCheckRequest) Validate() error
Validate checks the field values on PermissionCheckRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionCheckRequestMetadata ¶
type PermissionCheckRequestMetadata struct { SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"` SnapToken string `protobuf:"bytes,2,opt,name=snap_token,proto3" json:"snap_token,omitempty"` Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"` // contains filtered or unexported fields }
PermissionCheckRequestMetadata
func (*PermissionCheckRequestMetadata) Descriptor
deprecated
func (*PermissionCheckRequestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PermissionCheckRequestMetadata.ProtoReflect.Descriptor instead.
func (*PermissionCheckRequestMetadata) GetDepth ¶
func (x *PermissionCheckRequestMetadata) GetDepth() int32
func (*PermissionCheckRequestMetadata) GetSchemaVersion ¶
func (x *PermissionCheckRequestMetadata) GetSchemaVersion() string
func (*PermissionCheckRequestMetadata) GetSnapToken ¶
func (x *PermissionCheckRequestMetadata) GetSnapToken() string
func (*PermissionCheckRequestMetadata) MarshalToSizedBufferVT ¶
func (m *PermissionCheckRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionCheckRequestMetadata) MarshalToVT ¶
func (m *PermissionCheckRequestMetadata) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionCheckRequestMetadata) MarshalVT ¶
func (m *PermissionCheckRequestMetadata) MarshalVT() (dAtA []byte, err error)
func (*PermissionCheckRequestMetadata) ProtoMessage ¶
func (*PermissionCheckRequestMetadata) ProtoMessage()
func (*PermissionCheckRequestMetadata) ProtoReflect ¶
func (x *PermissionCheckRequestMetadata) ProtoReflect() protoreflect.Message
func (*PermissionCheckRequestMetadata) Reset ¶
func (x *PermissionCheckRequestMetadata) Reset()
func (*PermissionCheckRequestMetadata) SizeVT ¶
func (m *PermissionCheckRequestMetadata) SizeVT() (n int)
func (*PermissionCheckRequestMetadata) String ¶
func (x *PermissionCheckRequestMetadata) String() string
func (*PermissionCheckRequestMetadata) UnmarshalVT ¶
func (m *PermissionCheckRequestMetadata) UnmarshalVT(dAtA []byte) error
func (*PermissionCheckRequestMetadata) Validate ¶
func (m *PermissionCheckRequestMetadata) Validate() error
Validate checks the field values on PermissionCheckRequestMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionCheckRequestMetadataValidationError ¶
type PermissionCheckRequestMetadataValidationError struct {
// contains filtered or unexported fields
}
PermissionCheckRequestMetadataValidationError is the validation error returned by PermissionCheckRequestMetadata.Validate if the designated constraints aren't met.
func (PermissionCheckRequestMetadataValidationError) Cause ¶
func (e PermissionCheckRequestMetadataValidationError) Cause() error
Cause function returns cause value.
func (PermissionCheckRequestMetadataValidationError) Error ¶
func (e PermissionCheckRequestMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionCheckRequestMetadataValidationError) ErrorName ¶
func (e PermissionCheckRequestMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionCheckRequestMetadataValidationError) Field ¶
func (e PermissionCheckRequestMetadataValidationError) Field() string
Field function returns field value.
func (PermissionCheckRequestMetadataValidationError) Key ¶
func (e PermissionCheckRequestMetadataValidationError) Key() bool
Key function returns key value.
func (PermissionCheckRequestMetadataValidationError) Reason ¶
func (e PermissionCheckRequestMetadataValidationError) Reason() string
Reason function returns reason value.
type PermissionCheckRequestValidationError ¶
type PermissionCheckRequestValidationError struct {
// contains filtered or unexported fields
}
PermissionCheckRequestValidationError is the validation error returned by PermissionCheckRequest.Validate if the designated constraints aren't met.
func (PermissionCheckRequestValidationError) Cause ¶
func (e PermissionCheckRequestValidationError) Cause() error
Cause function returns cause value.
func (PermissionCheckRequestValidationError) Error ¶
func (e PermissionCheckRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionCheckRequestValidationError) ErrorName ¶
func (e PermissionCheckRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionCheckRequestValidationError) Field ¶
func (e PermissionCheckRequestValidationError) Field() string
Field function returns field value.
func (PermissionCheckRequestValidationError) Key ¶
func (e PermissionCheckRequestValidationError) Key() bool
Key function returns key value.
func (PermissionCheckRequestValidationError) Reason ¶
func (e PermissionCheckRequestValidationError) Reason() string
Reason function returns reason value.
type PermissionCheckResponse ¶
type PermissionCheckResponse struct { Can PermissionCheckResponse_Result `protobuf:"varint,1,opt,name=can,proto3,enum=base.v1.PermissionCheckResponse_Result" json:"can,omitempty"` Metadata *PermissionCheckResponseMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
PermissionCheckResponse
func (*PermissionCheckResponse) Descriptor
deprecated
func (*PermissionCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use PermissionCheckResponse.ProtoReflect.Descriptor instead.
func (*PermissionCheckResponse) GetCan ¶
func (x *PermissionCheckResponse) GetCan() PermissionCheckResponse_Result
func (*PermissionCheckResponse) GetMetadata ¶
func (x *PermissionCheckResponse) GetMetadata() *PermissionCheckResponseMetadata
func (*PermissionCheckResponse) MarshalToSizedBufferVT ¶
func (m *PermissionCheckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionCheckResponse) MarshalToVT ¶
func (m *PermissionCheckResponse) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionCheckResponse) MarshalVT ¶
func (m *PermissionCheckResponse) MarshalVT() (dAtA []byte, err error)
func (*PermissionCheckResponse) ProtoMessage ¶
func (*PermissionCheckResponse) ProtoMessage()
func (*PermissionCheckResponse) ProtoReflect ¶
func (x *PermissionCheckResponse) ProtoReflect() protoreflect.Message
func (*PermissionCheckResponse) Reset ¶
func (x *PermissionCheckResponse) Reset()
func (*PermissionCheckResponse) SizeVT ¶
func (m *PermissionCheckResponse) SizeVT() (n int)
func (*PermissionCheckResponse) String ¶
func (x *PermissionCheckResponse) String() string
func (*PermissionCheckResponse) UnmarshalVT ¶
func (m *PermissionCheckResponse) UnmarshalVT(dAtA []byte) error
func (*PermissionCheckResponse) Validate ¶
func (m *PermissionCheckResponse) Validate() error
Validate checks the field values on PermissionCheckResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionCheckResponseMetadata ¶
type PermissionCheckResponseMetadata struct { CheckCount int32 `protobuf:"varint,1,opt,name=check_count,proto3" json:"check_count,omitempty"` // contains filtered or unexported fields }
CheckResponseMetadata
func (*PermissionCheckResponseMetadata) Descriptor
deprecated
func (*PermissionCheckResponseMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PermissionCheckResponseMetadata.ProtoReflect.Descriptor instead.
func (*PermissionCheckResponseMetadata) GetCheckCount ¶
func (x *PermissionCheckResponseMetadata) GetCheckCount() int32
func (*PermissionCheckResponseMetadata) MarshalToSizedBufferVT ¶
func (m *PermissionCheckResponseMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionCheckResponseMetadata) MarshalToVT ¶
func (m *PermissionCheckResponseMetadata) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionCheckResponseMetadata) MarshalVT ¶
func (m *PermissionCheckResponseMetadata) MarshalVT() (dAtA []byte, err error)
func (*PermissionCheckResponseMetadata) ProtoMessage ¶
func (*PermissionCheckResponseMetadata) ProtoMessage()
func (*PermissionCheckResponseMetadata) ProtoReflect ¶
func (x *PermissionCheckResponseMetadata) ProtoReflect() protoreflect.Message
func (*PermissionCheckResponseMetadata) Reset ¶
func (x *PermissionCheckResponseMetadata) Reset()
func (*PermissionCheckResponseMetadata) SizeVT ¶
func (m *PermissionCheckResponseMetadata) SizeVT() (n int)
func (*PermissionCheckResponseMetadata) String ¶
func (x *PermissionCheckResponseMetadata) String() string
func (*PermissionCheckResponseMetadata) UnmarshalVT ¶
func (m *PermissionCheckResponseMetadata) UnmarshalVT(dAtA []byte) error
func (*PermissionCheckResponseMetadata) Validate ¶
func (m *PermissionCheckResponseMetadata) Validate() error
Validate checks the field values on PermissionCheckResponseMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionCheckResponseMetadataValidationError ¶
type PermissionCheckResponseMetadataValidationError struct {
// contains filtered or unexported fields
}
PermissionCheckResponseMetadataValidationError is the validation error returned by PermissionCheckResponseMetadata.Validate if the designated constraints aren't met.
func (PermissionCheckResponseMetadataValidationError) Cause ¶
func (e PermissionCheckResponseMetadataValidationError) Cause() error
Cause function returns cause value.
func (PermissionCheckResponseMetadataValidationError) Error ¶
func (e PermissionCheckResponseMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionCheckResponseMetadataValidationError) ErrorName ¶
func (e PermissionCheckResponseMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionCheckResponseMetadataValidationError) Field ¶
func (e PermissionCheckResponseMetadataValidationError) Field() string
Field function returns field value.
func (PermissionCheckResponseMetadataValidationError) Key ¶
func (e PermissionCheckResponseMetadataValidationError) Key() bool
Key function returns key value.
func (PermissionCheckResponseMetadataValidationError) Reason ¶
func (e PermissionCheckResponseMetadataValidationError) Reason() string
Reason function returns reason value.
type PermissionCheckResponseValidationError ¶
type PermissionCheckResponseValidationError struct {
// contains filtered or unexported fields
}
PermissionCheckResponseValidationError is the validation error returned by PermissionCheckResponse.Validate if the designated constraints aren't met.
func (PermissionCheckResponseValidationError) Cause ¶
func (e PermissionCheckResponseValidationError) Cause() error
Cause function returns cause value.
func (PermissionCheckResponseValidationError) Error ¶
func (e PermissionCheckResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionCheckResponseValidationError) ErrorName ¶
func (e PermissionCheckResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionCheckResponseValidationError) Field ¶
func (e PermissionCheckResponseValidationError) Field() string
Field function returns field value.
func (PermissionCheckResponseValidationError) Key ¶
func (e PermissionCheckResponseValidationError) Key() bool
Key function returns key value.
func (PermissionCheckResponseValidationError) Reason ¶
func (e PermissionCheckResponseValidationError) Reason() string
Reason function returns reason value.
type PermissionCheckResponse_Result ¶
type PermissionCheckResponse_Result int32
Result
const ( PermissionCheckResponse_RESULT_UNKNOWN PermissionCheckResponse_Result = 0 PermissionCheckResponse_RESULT_ALLOWED PermissionCheckResponse_Result = 1 PermissionCheckResponse_RESULT_DENIED PermissionCheckResponse_Result = 2 )
func (PermissionCheckResponse_Result) Descriptor ¶
func (PermissionCheckResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (PermissionCheckResponse_Result) Enum ¶
func (x PermissionCheckResponse_Result) Enum() *PermissionCheckResponse_Result
func (PermissionCheckResponse_Result) EnumDescriptor
deprecated
func (PermissionCheckResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use PermissionCheckResponse_Result.Descriptor instead.
func (PermissionCheckResponse_Result) Number ¶
func (x PermissionCheckResponse_Result) Number() protoreflect.EnumNumber
func (PermissionCheckResponse_Result) String ¶
func (x PermissionCheckResponse_Result) String() string
func (PermissionCheckResponse_Result) Type ¶
func (PermissionCheckResponse_Result) Type() protoreflect.EnumType
type PermissionClient ¶
type PermissionClient interface { Check(ctx context.Context, in *PermissionCheckRequest, opts ...grpc.CallOption) (*PermissionCheckResponse, error) Expand(ctx context.Context, in *PermissionExpandRequest, opts ...grpc.CallOption) (*PermissionExpandResponse, error) LookupEntity(ctx context.Context, in *PermissionLookupEntityRequest, opts ...grpc.CallOption) (*PermissionLookupEntityResponse, error) LookupEntityStream(ctx context.Context, in *PermissionLookupEntityRequest, opts ...grpc.CallOption) (Permission_LookupEntityStreamClient, error) LookupSubject(ctx context.Context, in *PermissionLookupSubjectRequest, opts ...grpc.CallOption) (*PermissionLookupSubjectResponse, error) }
PermissionClient is the client API for Permission 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 NewPermissionClient ¶
func NewPermissionClient(cc grpc.ClientConnInterface) PermissionClient
type PermissionDefinition ¶ added in v0.3.3
type PermissionDefinition struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Child *Child `protobuf:"bytes,2,opt,name=child,proto3" json:"child,omitempty"` // contains filtered or unexported fields }
PermissionDefinition
func (*PermissionDefinition) Descriptor
deprecated
added in
v0.3.3
func (*PermissionDefinition) Descriptor() ([]byte, []int)
Deprecated: Use PermissionDefinition.ProtoReflect.Descriptor instead.
func (*PermissionDefinition) GetChild ¶ added in v0.3.3
func (x *PermissionDefinition) GetChild() *Child
func (*PermissionDefinition) GetName ¶ added in v0.3.3
func (x *PermissionDefinition) GetName() string
func (*PermissionDefinition) MarshalToSizedBufferVT ¶ added in v0.3.3
func (m *PermissionDefinition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionDefinition) MarshalToVT ¶ added in v0.3.3
func (m *PermissionDefinition) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionDefinition) MarshalVT ¶ added in v0.3.3
func (m *PermissionDefinition) MarshalVT() (dAtA []byte, err error)
func (*PermissionDefinition) ProtoMessage ¶ added in v0.3.3
func (*PermissionDefinition) ProtoMessage()
func (*PermissionDefinition) ProtoReflect ¶ added in v0.3.3
func (x *PermissionDefinition) ProtoReflect() protoreflect.Message
func (*PermissionDefinition) Reset ¶ added in v0.3.3
func (x *PermissionDefinition) Reset()
func (*PermissionDefinition) SizeVT ¶ added in v0.3.3
func (m *PermissionDefinition) SizeVT() (n int)
func (*PermissionDefinition) String ¶ added in v0.3.3
func (x *PermissionDefinition) String() string
func (*PermissionDefinition) UnmarshalVT ¶ added in v0.3.3
func (m *PermissionDefinition) UnmarshalVT(dAtA []byte) error
func (*PermissionDefinition) Validate ¶ added in v0.3.3
func (m *PermissionDefinition) Validate() error
Validate checks the field values on PermissionDefinition with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionDefinitionValidationError ¶ added in v0.3.3
type PermissionDefinitionValidationError struct {
// contains filtered or unexported fields
}
PermissionDefinitionValidationError is the validation error returned by PermissionDefinition.Validate if the designated constraints aren't met.
func (PermissionDefinitionValidationError) Cause ¶ added in v0.3.3
func (e PermissionDefinitionValidationError) Cause() error
Cause function returns cause value.
func (PermissionDefinitionValidationError) Error ¶ added in v0.3.3
func (e PermissionDefinitionValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionDefinitionValidationError) ErrorName ¶ added in v0.3.3
func (e PermissionDefinitionValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionDefinitionValidationError) Field ¶ added in v0.3.3
func (e PermissionDefinitionValidationError) Field() string
Field function returns field value.
func (PermissionDefinitionValidationError) Key ¶ added in v0.3.3
func (e PermissionDefinitionValidationError) Key() bool
Key function returns key value.
func (PermissionDefinitionValidationError) Reason ¶ added in v0.3.3
func (e PermissionDefinitionValidationError) Reason() string
Reason function returns reason value.
type PermissionEntityFilterRequest ¶ added in v0.3.4
type PermissionEntityFilterRequest struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"` Metadata *PermissionEntityFilterRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` EntityReference *RelationReference `protobuf:"bytes,3,opt,name=entity_reference,proto3" json:"entity_reference,omitempty"` Subject *Subject `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"` ContextualTuples []*Tuple `protobuf:"bytes,5,rep,name=contextual_tuples,proto3" json:"contextual_tuples,omitempty"` // contains filtered or unexported fields }
PermissionEntityFilterRequest
func (*PermissionEntityFilterRequest) Descriptor
deprecated
added in
v0.3.4
func (*PermissionEntityFilterRequest) Descriptor() ([]byte, []int)
Deprecated: Use PermissionEntityFilterRequest.ProtoReflect.Descriptor instead.
func (*PermissionEntityFilterRequest) GetContextualTuples ¶ added in v0.3.6
func (x *PermissionEntityFilterRequest) GetContextualTuples() []*Tuple
func (*PermissionEntityFilterRequest) GetEntityReference ¶ added in v0.3.4
func (x *PermissionEntityFilterRequest) GetEntityReference() *RelationReference
func (*PermissionEntityFilterRequest) GetMetadata ¶ added in v0.3.4
func (x *PermissionEntityFilterRequest) GetMetadata() *PermissionEntityFilterRequestMetadata
func (*PermissionEntityFilterRequest) GetSubject ¶ added in v0.3.4
func (x *PermissionEntityFilterRequest) GetSubject() *Subject
func (*PermissionEntityFilterRequest) GetTenantId ¶ added in v0.3.4
func (x *PermissionEntityFilterRequest) GetTenantId() string
func (*PermissionEntityFilterRequest) MarshalToSizedBufferVT ¶ added in v0.3.4
func (m *PermissionEntityFilterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionEntityFilterRequest) MarshalToVT ¶ added in v0.3.4
func (m *PermissionEntityFilterRequest) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionEntityFilterRequest) MarshalVT ¶ added in v0.3.4
func (m *PermissionEntityFilterRequest) MarshalVT() (dAtA []byte, err error)
func (*PermissionEntityFilterRequest) ProtoMessage ¶ added in v0.3.4
func (*PermissionEntityFilterRequest) ProtoMessage()
func (*PermissionEntityFilterRequest) ProtoReflect ¶ added in v0.3.4
func (x *PermissionEntityFilterRequest) ProtoReflect() protoreflect.Message
func (*PermissionEntityFilterRequest) Reset ¶ added in v0.3.4
func (x *PermissionEntityFilterRequest) Reset()
func (*PermissionEntityFilterRequest) SizeVT ¶ added in v0.3.4
func (m *PermissionEntityFilterRequest) SizeVT() (n int)
func (*PermissionEntityFilterRequest) String ¶ added in v0.3.4
func (x *PermissionEntityFilterRequest) String() string
func (*PermissionEntityFilterRequest) UnmarshalVT ¶ added in v0.3.4
func (m *PermissionEntityFilterRequest) UnmarshalVT(dAtA []byte) error
func (*PermissionEntityFilterRequest) Validate ¶ added in v0.3.4
func (m *PermissionEntityFilterRequest) Validate() error
Validate checks the field values on PermissionEntityFilterRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionEntityFilterRequestMetadata ¶ added in v0.3.4
type PermissionEntityFilterRequestMetadata struct { SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"` SnapToken string `protobuf:"bytes,2,opt,name=snap_token,proto3" json:"snap_token,omitempty"` Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"` // contains filtered or unexported fields }
PermissionEntityFilterRequestMetadata
func (*PermissionEntityFilterRequestMetadata) Descriptor
deprecated
added in
v0.3.4
func (*PermissionEntityFilterRequestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PermissionEntityFilterRequestMetadata.ProtoReflect.Descriptor instead.
func (*PermissionEntityFilterRequestMetadata) GetDepth ¶ added in v0.3.4
func (x *PermissionEntityFilterRequestMetadata) GetDepth() int32
func (*PermissionEntityFilterRequestMetadata) GetSchemaVersion ¶ added in v0.3.4
func (x *PermissionEntityFilterRequestMetadata) GetSchemaVersion() string
func (*PermissionEntityFilterRequestMetadata) GetSnapToken ¶ added in v0.3.4
func (x *PermissionEntityFilterRequestMetadata) GetSnapToken() string
func (*PermissionEntityFilterRequestMetadata) MarshalToSizedBufferVT ¶ added in v0.3.4
func (m *PermissionEntityFilterRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionEntityFilterRequestMetadata) MarshalToVT ¶ added in v0.3.4
func (m *PermissionEntityFilterRequestMetadata) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionEntityFilterRequestMetadata) MarshalVT ¶ added in v0.3.4
func (m *PermissionEntityFilterRequestMetadata) MarshalVT() (dAtA []byte, err error)
func (*PermissionEntityFilterRequestMetadata) ProtoMessage ¶ added in v0.3.4
func (*PermissionEntityFilterRequestMetadata) ProtoMessage()
func (*PermissionEntityFilterRequestMetadata) ProtoReflect ¶ added in v0.3.4
func (x *PermissionEntityFilterRequestMetadata) ProtoReflect() protoreflect.Message
func (*PermissionEntityFilterRequestMetadata) Reset ¶ added in v0.3.4
func (x *PermissionEntityFilterRequestMetadata) Reset()
func (*PermissionEntityFilterRequestMetadata) SizeVT ¶ added in v0.3.4
func (m *PermissionEntityFilterRequestMetadata) SizeVT() (n int)
func (*PermissionEntityFilterRequestMetadata) String ¶ added in v0.3.4
func (x *PermissionEntityFilterRequestMetadata) String() string
func (*PermissionEntityFilterRequestMetadata) UnmarshalVT ¶ added in v0.3.4
func (m *PermissionEntityFilterRequestMetadata) UnmarshalVT(dAtA []byte) error
func (*PermissionEntityFilterRequestMetadata) Validate ¶ added in v0.3.4
func (m *PermissionEntityFilterRequestMetadata) Validate() error
Validate checks the field values on PermissionEntityFilterRequestMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionEntityFilterRequestMetadataValidationError ¶ added in v0.3.4
type PermissionEntityFilterRequestMetadataValidationError struct {
// contains filtered or unexported fields
}
PermissionEntityFilterRequestMetadataValidationError is the validation error returned by PermissionEntityFilterRequestMetadata.Validate if the designated constraints aren't met.
func (PermissionEntityFilterRequestMetadataValidationError) Cause ¶ added in v0.3.4
func (e PermissionEntityFilterRequestMetadataValidationError) Cause() error
Cause function returns cause value.
func (PermissionEntityFilterRequestMetadataValidationError) Error ¶ added in v0.3.4
func (e PermissionEntityFilterRequestMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionEntityFilterRequestMetadataValidationError) ErrorName ¶ added in v0.3.4
func (e PermissionEntityFilterRequestMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionEntityFilterRequestMetadataValidationError) Field ¶ added in v0.3.4
func (e PermissionEntityFilterRequestMetadataValidationError) Field() string
Field function returns field value.
func (PermissionEntityFilterRequestMetadataValidationError) Key ¶ added in v0.3.4
func (e PermissionEntityFilterRequestMetadataValidationError) Key() bool
Key function returns key value.
func (PermissionEntityFilterRequestMetadataValidationError) Reason ¶ added in v0.3.4
func (e PermissionEntityFilterRequestMetadataValidationError) Reason() string
Reason function returns reason value.
type PermissionEntityFilterRequestValidationError ¶ added in v0.3.4
type PermissionEntityFilterRequestValidationError struct {
// contains filtered or unexported fields
}
PermissionEntityFilterRequestValidationError is the validation error returned by PermissionEntityFilterRequest.Validate if the designated constraints aren't met.
func (PermissionEntityFilterRequestValidationError) Cause ¶ added in v0.3.4
func (e PermissionEntityFilterRequestValidationError) Cause() error
Cause function returns cause value.
func (PermissionEntityFilterRequestValidationError) Error ¶ added in v0.3.4
func (e PermissionEntityFilterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionEntityFilterRequestValidationError) ErrorName ¶ added in v0.3.4
func (e PermissionEntityFilterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionEntityFilterRequestValidationError) Field ¶ added in v0.3.4
func (e PermissionEntityFilterRequestValidationError) Field() string
Field function returns field value.
func (PermissionEntityFilterRequestValidationError) Key ¶ added in v0.3.4
func (e PermissionEntityFilterRequestValidationError) Key() bool
Key function returns key value.
func (PermissionEntityFilterRequestValidationError) Reason ¶ added in v0.3.4
func (e PermissionEntityFilterRequestValidationError) Reason() string
Reason function returns reason value.
type PermissionExpandRequest ¶
type PermissionExpandRequest struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"` Metadata *PermissionExpandRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` Entity *Entity `protobuf:"bytes,3,opt,name=entity,proto3" json:"entity,omitempty"` Permission string `protobuf:"bytes,4,opt,name=permission,proto3" json:"permission,omitempty"` ContextualTuples []*Tuple `protobuf:"bytes,5,rep,name=contextual_tuples,proto3" json:"contextual_tuples,omitempty"` // contains filtered or unexported fields }
PermissionExpandRequest
func (*PermissionExpandRequest) Descriptor
deprecated
func (*PermissionExpandRequest) Descriptor() ([]byte, []int)
Deprecated: Use PermissionExpandRequest.ProtoReflect.Descriptor instead.
func (*PermissionExpandRequest) GetContextualTuples ¶ added in v0.3.6
func (x *PermissionExpandRequest) GetContextualTuples() []*Tuple
func (*PermissionExpandRequest) GetEntity ¶
func (x *PermissionExpandRequest) GetEntity() *Entity
func (*PermissionExpandRequest) GetMetadata ¶
func (x *PermissionExpandRequest) GetMetadata() *PermissionExpandRequestMetadata
func (*PermissionExpandRequest) GetPermission ¶
func (x *PermissionExpandRequest) GetPermission() string
func (*PermissionExpandRequest) GetTenantId ¶
func (x *PermissionExpandRequest) GetTenantId() string
func (*PermissionExpandRequest) MarshalToSizedBufferVT ¶
func (m *PermissionExpandRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionExpandRequest) MarshalToVT ¶
func (m *PermissionExpandRequest) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionExpandRequest) MarshalVT ¶
func (m *PermissionExpandRequest) MarshalVT() (dAtA []byte, err error)
func (*PermissionExpandRequest) ProtoMessage ¶
func (*PermissionExpandRequest) ProtoMessage()
func (*PermissionExpandRequest) ProtoReflect ¶
func (x *PermissionExpandRequest) ProtoReflect() protoreflect.Message
func (*PermissionExpandRequest) Reset ¶
func (x *PermissionExpandRequest) Reset()
func (*PermissionExpandRequest) SizeVT ¶
func (m *PermissionExpandRequest) SizeVT() (n int)
func (*PermissionExpandRequest) String ¶
func (x *PermissionExpandRequest) String() string
func (*PermissionExpandRequest) UnmarshalVT ¶
func (m *PermissionExpandRequest) UnmarshalVT(dAtA []byte) error
func (*PermissionExpandRequest) Validate ¶
func (m *PermissionExpandRequest) Validate() error
Validate checks the field values on PermissionExpandRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionExpandRequestMetadata ¶
type PermissionExpandRequestMetadata struct { SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"` SnapToken string `protobuf:"bytes,2,opt,name=snap_token,proto3" json:"snap_token,omitempty"` // contains filtered or unexported fields }
PermissionExpandRequestMetadata
func (*PermissionExpandRequestMetadata) Descriptor
deprecated
func (*PermissionExpandRequestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PermissionExpandRequestMetadata.ProtoReflect.Descriptor instead.
func (*PermissionExpandRequestMetadata) GetSchemaVersion ¶
func (x *PermissionExpandRequestMetadata) GetSchemaVersion() string
func (*PermissionExpandRequestMetadata) GetSnapToken ¶
func (x *PermissionExpandRequestMetadata) GetSnapToken() string
func (*PermissionExpandRequestMetadata) MarshalToSizedBufferVT ¶
func (m *PermissionExpandRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionExpandRequestMetadata) MarshalToVT ¶
func (m *PermissionExpandRequestMetadata) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionExpandRequestMetadata) MarshalVT ¶
func (m *PermissionExpandRequestMetadata) MarshalVT() (dAtA []byte, err error)
func (*PermissionExpandRequestMetadata) ProtoMessage ¶
func (*PermissionExpandRequestMetadata) ProtoMessage()
func (*PermissionExpandRequestMetadata) ProtoReflect ¶
func (x *PermissionExpandRequestMetadata) ProtoReflect() protoreflect.Message
func (*PermissionExpandRequestMetadata) Reset ¶
func (x *PermissionExpandRequestMetadata) Reset()
func (*PermissionExpandRequestMetadata) SizeVT ¶
func (m *PermissionExpandRequestMetadata) SizeVT() (n int)
func (*PermissionExpandRequestMetadata) String ¶
func (x *PermissionExpandRequestMetadata) String() string
func (*PermissionExpandRequestMetadata) UnmarshalVT ¶
func (m *PermissionExpandRequestMetadata) UnmarshalVT(dAtA []byte) error
func (*PermissionExpandRequestMetadata) Validate ¶
func (m *PermissionExpandRequestMetadata) Validate() error
Validate checks the field values on PermissionExpandRequestMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionExpandRequestMetadataValidationError ¶
type PermissionExpandRequestMetadataValidationError struct {
// contains filtered or unexported fields
}
PermissionExpandRequestMetadataValidationError is the validation error returned by PermissionExpandRequestMetadata.Validate if the designated constraints aren't met.
func (PermissionExpandRequestMetadataValidationError) Cause ¶
func (e PermissionExpandRequestMetadataValidationError) Cause() error
Cause function returns cause value.
func (PermissionExpandRequestMetadataValidationError) Error ¶
func (e PermissionExpandRequestMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionExpandRequestMetadataValidationError) ErrorName ¶
func (e PermissionExpandRequestMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionExpandRequestMetadataValidationError) Field ¶
func (e PermissionExpandRequestMetadataValidationError) Field() string
Field function returns field value.
func (PermissionExpandRequestMetadataValidationError) Key ¶
func (e PermissionExpandRequestMetadataValidationError) Key() bool
Key function returns key value.
func (PermissionExpandRequestMetadataValidationError) Reason ¶
func (e PermissionExpandRequestMetadataValidationError) Reason() string
Reason function returns reason value.
type PermissionExpandRequestValidationError ¶
type PermissionExpandRequestValidationError struct {
// contains filtered or unexported fields
}
PermissionExpandRequestValidationError is the validation error returned by PermissionExpandRequest.Validate if the designated constraints aren't met.
func (PermissionExpandRequestValidationError) Cause ¶
func (e PermissionExpandRequestValidationError) Cause() error
Cause function returns cause value.
func (PermissionExpandRequestValidationError) Error ¶
func (e PermissionExpandRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionExpandRequestValidationError) ErrorName ¶
func (e PermissionExpandRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionExpandRequestValidationError) Field ¶
func (e PermissionExpandRequestValidationError) Field() string
Field function returns field value.
func (PermissionExpandRequestValidationError) Key ¶
func (e PermissionExpandRequestValidationError) Key() bool
Key function returns key value.
func (PermissionExpandRequestValidationError) Reason ¶
func (e PermissionExpandRequestValidationError) Reason() string
Reason function returns reason value.
type PermissionExpandResponse ¶
type PermissionExpandResponse struct { Tree *Expand `protobuf:"bytes,1,opt,name=tree,proto3" json:"tree,omitempty"` // contains filtered or unexported fields }
PermissionExpandResponse
func (*PermissionExpandResponse) Descriptor
deprecated
func (*PermissionExpandResponse) Descriptor() ([]byte, []int)
Deprecated: Use PermissionExpandResponse.ProtoReflect.Descriptor instead.
func (*PermissionExpandResponse) GetTree ¶
func (x *PermissionExpandResponse) GetTree() *Expand
func (*PermissionExpandResponse) MarshalToSizedBufferVT ¶
func (m *PermissionExpandResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionExpandResponse) MarshalToVT ¶
func (m *PermissionExpandResponse) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionExpandResponse) MarshalVT ¶
func (m *PermissionExpandResponse) MarshalVT() (dAtA []byte, err error)
func (*PermissionExpandResponse) ProtoMessage ¶
func (*PermissionExpandResponse) ProtoMessage()
func (*PermissionExpandResponse) ProtoReflect ¶
func (x *PermissionExpandResponse) ProtoReflect() protoreflect.Message
func (*PermissionExpandResponse) Reset ¶
func (x *PermissionExpandResponse) Reset()
func (*PermissionExpandResponse) SizeVT ¶
func (m *PermissionExpandResponse) SizeVT() (n int)
func (*PermissionExpandResponse) String ¶
func (x *PermissionExpandResponse) String() string
func (*PermissionExpandResponse) UnmarshalVT ¶
func (m *PermissionExpandResponse) UnmarshalVT(dAtA []byte) error
func (*PermissionExpandResponse) Validate ¶
func (m *PermissionExpandResponse) Validate() error
Validate checks the field values on PermissionExpandResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionExpandResponseValidationError ¶
type PermissionExpandResponseValidationError struct {
// contains filtered or unexported fields
}
PermissionExpandResponseValidationError is the validation error returned by PermissionExpandResponse.Validate if the designated constraints aren't met.
func (PermissionExpandResponseValidationError) Cause ¶
func (e PermissionExpandResponseValidationError) Cause() error
Cause function returns cause value.
func (PermissionExpandResponseValidationError) Error ¶
func (e PermissionExpandResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionExpandResponseValidationError) ErrorName ¶
func (e PermissionExpandResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionExpandResponseValidationError) Field ¶
func (e PermissionExpandResponseValidationError) Field() string
Field function returns field value.
func (PermissionExpandResponseValidationError) Key ¶
func (e PermissionExpandResponseValidationError) Key() bool
Key function returns key value.
func (PermissionExpandResponseValidationError) Reason ¶
func (e PermissionExpandResponseValidationError) Reason() string
Reason function returns reason value.
type PermissionLookupEntityRequest ¶
type PermissionLookupEntityRequest struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"` Metadata *PermissionLookupEntityRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` EntityType string `protobuf:"bytes,3,opt,name=entity_type,proto3" json:"entity_type,omitempty"` Permission string `protobuf:"bytes,4,opt,name=permission,proto3" json:"permission,omitempty"` Subject *Subject `protobuf:"bytes,5,opt,name=subject,proto3" json:"subject,omitempty"` ContextualTuples []*Tuple `protobuf:"bytes,6,rep,name=contextual_tuples,proto3" json:"contextual_tuples,omitempty"` // contains filtered or unexported fields }
PermissionLookupEntityRequest
func (*PermissionLookupEntityRequest) Descriptor
deprecated
func (*PermissionLookupEntityRequest) Descriptor() ([]byte, []int)
Deprecated: Use PermissionLookupEntityRequest.ProtoReflect.Descriptor instead.
func (*PermissionLookupEntityRequest) GetContextualTuples ¶ added in v0.3.6
func (x *PermissionLookupEntityRequest) GetContextualTuples() []*Tuple
func (*PermissionLookupEntityRequest) GetEntityType ¶
func (x *PermissionLookupEntityRequest) GetEntityType() string
func (*PermissionLookupEntityRequest) GetMetadata ¶
func (x *PermissionLookupEntityRequest) GetMetadata() *PermissionLookupEntityRequestMetadata
func (*PermissionLookupEntityRequest) GetPermission ¶
func (x *PermissionLookupEntityRequest) GetPermission() string
func (*PermissionLookupEntityRequest) GetSubject ¶
func (x *PermissionLookupEntityRequest) GetSubject() *Subject
func (*PermissionLookupEntityRequest) GetTenantId ¶
func (x *PermissionLookupEntityRequest) GetTenantId() string
func (*PermissionLookupEntityRequest) MarshalToSizedBufferVT ¶
func (m *PermissionLookupEntityRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionLookupEntityRequest) MarshalToVT ¶
func (m *PermissionLookupEntityRequest) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionLookupEntityRequest) MarshalVT ¶
func (m *PermissionLookupEntityRequest) MarshalVT() (dAtA []byte, err error)
func (*PermissionLookupEntityRequest) ProtoMessage ¶
func (*PermissionLookupEntityRequest) ProtoMessage()
func (*PermissionLookupEntityRequest) ProtoReflect ¶
func (x *PermissionLookupEntityRequest) ProtoReflect() protoreflect.Message
func (*PermissionLookupEntityRequest) Reset ¶
func (x *PermissionLookupEntityRequest) Reset()
func (*PermissionLookupEntityRequest) SizeVT ¶
func (m *PermissionLookupEntityRequest) SizeVT() (n int)
func (*PermissionLookupEntityRequest) String ¶
func (x *PermissionLookupEntityRequest) String() string
func (*PermissionLookupEntityRequest) UnmarshalVT ¶
func (m *PermissionLookupEntityRequest) UnmarshalVT(dAtA []byte) error
func (*PermissionLookupEntityRequest) Validate ¶
func (m *PermissionLookupEntityRequest) Validate() error
Validate checks the field values on PermissionLookupEntityRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionLookupEntityRequestMetadata ¶
type PermissionLookupEntityRequestMetadata struct { SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"` SnapToken string `protobuf:"bytes,2,opt,name=snap_token,proto3" json:"snap_token,omitempty"` Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"` // contains filtered or unexported fields }
PermissionLookupEntityRequestMetadata
func (*PermissionLookupEntityRequestMetadata) Descriptor
deprecated
func (*PermissionLookupEntityRequestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PermissionLookupEntityRequestMetadata.ProtoReflect.Descriptor instead.
func (*PermissionLookupEntityRequestMetadata) GetDepth ¶
func (x *PermissionLookupEntityRequestMetadata) GetDepth() int32
func (*PermissionLookupEntityRequestMetadata) GetSchemaVersion ¶
func (x *PermissionLookupEntityRequestMetadata) GetSchemaVersion() string
func (*PermissionLookupEntityRequestMetadata) GetSnapToken ¶
func (x *PermissionLookupEntityRequestMetadata) GetSnapToken() string
func (*PermissionLookupEntityRequestMetadata) MarshalToSizedBufferVT ¶
func (m *PermissionLookupEntityRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionLookupEntityRequestMetadata) MarshalToVT ¶
func (m *PermissionLookupEntityRequestMetadata) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionLookupEntityRequestMetadata) MarshalVT ¶
func (m *PermissionLookupEntityRequestMetadata) MarshalVT() (dAtA []byte, err error)
func (*PermissionLookupEntityRequestMetadata) ProtoMessage ¶
func (*PermissionLookupEntityRequestMetadata) ProtoMessage()
func (*PermissionLookupEntityRequestMetadata) ProtoReflect ¶
func (x *PermissionLookupEntityRequestMetadata) ProtoReflect() protoreflect.Message
func (*PermissionLookupEntityRequestMetadata) Reset ¶
func (x *PermissionLookupEntityRequestMetadata) Reset()
func (*PermissionLookupEntityRequestMetadata) SizeVT ¶
func (m *PermissionLookupEntityRequestMetadata) SizeVT() (n int)
func (*PermissionLookupEntityRequestMetadata) String ¶
func (x *PermissionLookupEntityRequestMetadata) String() string
func (*PermissionLookupEntityRequestMetadata) UnmarshalVT ¶
func (m *PermissionLookupEntityRequestMetadata) UnmarshalVT(dAtA []byte) error
func (*PermissionLookupEntityRequestMetadata) Validate ¶
func (m *PermissionLookupEntityRequestMetadata) Validate() error
Validate checks the field values on PermissionLookupEntityRequestMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionLookupEntityRequestMetadataValidationError ¶
type PermissionLookupEntityRequestMetadataValidationError struct {
// contains filtered or unexported fields
}
PermissionLookupEntityRequestMetadataValidationError is the validation error returned by PermissionLookupEntityRequestMetadata.Validate if the designated constraints aren't met.
func (PermissionLookupEntityRequestMetadataValidationError) Cause ¶
func (e PermissionLookupEntityRequestMetadataValidationError) Cause() error
Cause function returns cause value.
func (PermissionLookupEntityRequestMetadataValidationError) Error ¶
func (e PermissionLookupEntityRequestMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionLookupEntityRequestMetadataValidationError) ErrorName ¶
func (e PermissionLookupEntityRequestMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionLookupEntityRequestMetadataValidationError) Field ¶
func (e PermissionLookupEntityRequestMetadataValidationError) Field() string
Field function returns field value.
func (PermissionLookupEntityRequestMetadataValidationError) Key ¶
func (e PermissionLookupEntityRequestMetadataValidationError) Key() bool
Key function returns key value.
func (PermissionLookupEntityRequestMetadataValidationError) Reason ¶
func (e PermissionLookupEntityRequestMetadataValidationError) Reason() string
Reason function returns reason value.
type PermissionLookupEntityRequestValidationError ¶
type PermissionLookupEntityRequestValidationError struct {
// contains filtered or unexported fields
}
PermissionLookupEntityRequestValidationError is the validation error returned by PermissionLookupEntityRequest.Validate if the designated constraints aren't met.
func (PermissionLookupEntityRequestValidationError) Cause ¶
func (e PermissionLookupEntityRequestValidationError) Cause() error
Cause function returns cause value.
func (PermissionLookupEntityRequestValidationError) Error ¶
func (e PermissionLookupEntityRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionLookupEntityRequestValidationError) ErrorName ¶
func (e PermissionLookupEntityRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionLookupEntityRequestValidationError) Field ¶
func (e PermissionLookupEntityRequestValidationError) Field() string
Field function returns field value.
func (PermissionLookupEntityRequestValidationError) Key ¶
func (e PermissionLookupEntityRequestValidationError) Key() bool
Key function returns key value.
func (PermissionLookupEntityRequestValidationError) Reason ¶
func (e PermissionLookupEntityRequestValidationError) Reason() string
Reason function returns reason value.
type PermissionLookupEntityResponse ¶
type PermissionLookupEntityResponse struct { EntityIds []string `protobuf:"bytes,1,rep,name=entity_ids,proto3" json:"entity_ids,omitempty"` // contains filtered or unexported fields }
PermissionLookupEntityResponse
func (*PermissionLookupEntityResponse) Descriptor
deprecated
func (*PermissionLookupEntityResponse) Descriptor() ([]byte, []int)
Deprecated: Use PermissionLookupEntityResponse.ProtoReflect.Descriptor instead.
func (*PermissionLookupEntityResponse) GetEntityIds ¶
func (x *PermissionLookupEntityResponse) GetEntityIds() []string
func (*PermissionLookupEntityResponse) MarshalToSizedBufferVT ¶
func (m *PermissionLookupEntityResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionLookupEntityResponse) MarshalToVT ¶
func (m *PermissionLookupEntityResponse) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionLookupEntityResponse) MarshalVT ¶
func (m *PermissionLookupEntityResponse) MarshalVT() (dAtA []byte, err error)
func (*PermissionLookupEntityResponse) ProtoMessage ¶
func (*PermissionLookupEntityResponse) ProtoMessage()
func (*PermissionLookupEntityResponse) ProtoReflect ¶
func (x *PermissionLookupEntityResponse) ProtoReflect() protoreflect.Message
func (*PermissionLookupEntityResponse) Reset ¶
func (x *PermissionLookupEntityResponse) Reset()
func (*PermissionLookupEntityResponse) SizeVT ¶
func (m *PermissionLookupEntityResponse) SizeVT() (n int)
func (*PermissionLookupEntityResponse) String ¶
func (x *PermissionLookupEntityResponse) String() string
func (*PermissionLookupEntityResponse) UnmarshalVT ¶
func (m *PermissionLookupEntityResponse) UnmarshalVT(dAtA []byte) error
func (*PermissionLookupEntityResponse) Validate ¶
func (m *PermissionLookupEntityResponse) Validate() error
Validate checks the field values on PermissionLookupEntityResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionLookupEntityResponseValidationError ¶
type PermissionLookupEntityResponseValidationError struct {
// contains filtered or unexported fields
}
PermissionLookupEntityResponseValidationError is the validation error returned by PermissionLookupEntityResponse.Validate if the designated constraints aren't met.
func (PermissionLookupEntityResponseValidationError) Cause ¶
func (e PermissionLookupEntityResponseValidationError) Cause() error
Cause function returns cause value.
func (PermissionLookupEntityResponseValidationError) Error ¶
func (e PermissionLookupEntityResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionLookupEntityResponseValidationError) ErrorName ¶
func (e PermissionLookupEntityResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionLookupEntityResponseValidationError) Field ¶
func (e PermissionLookupEntityResponseValidationError) Field() string
Field function returns field value.
func (PermissionLookupEntityResponseValidationError) Key ¶
func (e PermissionLookupEntityResponseValidationError) Key() bool
Key function returns key value.
func (PermissionLookupEntityResponseValidationError) Reason ¶
func (e PermissionLookupEntityResponseValidationError) Reason() string
Reason function returns reason value.
type PermissionLookupEntityStreamResponse ¶
type PermissionLookupEntityStreamResponse struct { EntityId string `protobuf:"bytes,1,opt,name=entity_id,proto3" json:"entity_id,omitempty"` // contains filtered or unexported fields }
PermissionLookupEntityStreamResponse
func (*PermissionLookupEntityStreamResponse) Descriptor
deprecated
func (*PermissionLookupEntityStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use PermissionLookupEntityStreamResponse.ProtoReflect.Descriptor instead.
func (*PermissionLookupEntityStreamResponse) GetEntityId ¶
func (x *PermissionLookupEntityStreamResponse) GetEntityId() string
func (*PermissionLookupEntityStreamResponse) MarshalToSizedBufferVT ¶
func (m *PermissionLookupEntityStreamResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionLookupEntityStreamResponse) MarshalToVT ¶
func (m *PermissionLookupEntityStreamResponse) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionLookupEntityStreamResponse) MarshalVT ¶
func (m *PermissionLookupEntityStreamResponse) MarshalVT() (dAtA []byte, err error)
func (*PermissionLookupEntityStreamResponse) ProtoMessage ¶
func (*PermissionLookupEntityStreamResponse) ProtoMessage()
func (*PermissionLookupEntityStreamResponse) ProtoReflect ¶
func (x *PermissionLookupEntityStreamResponse) ProtoReflect() protoreflect.Message
func (*PermissionLookupEntityStreamResponse) Reset ¶
func (x *PermissionLookupEntityStreamResponse) Reset()
func (*PermissionLookupEntityStreamResponse) SizeVT ¶
func (m *PermissionLookupEntityStreamResponse) SizeVT() (n int)
func (*PermissionLookupEntityStreamResponse) String ¶
func (x *PermissionLookupEntityStreamResponse) String() string
func (*PermissionLookupEntityStreamResponse) UnmarshalVT ¶
func (m *PermissionLookupEntityStreamResponse) UnmarshalVT(dAtA []byte) error
func (*PermissionLookupEntityStreamResponse) Validate ¶
func (m *PermissionLookupEntityStreamResponse) Validate() error
Validate checks the field values on PermissionLookupEntityStreamResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionLookupEntityStreamResponseValidationError ¶
type PermissionLookupEntityStreamResponseValidationError struct {
// contains filtered or unexported fields
}
PermissionLookupEntityStreamResponseValidationError is the validation error returned by PermissionLookupEntityStreamResponse.Validate if the designated constraints aren't met.
func (PermissionLookupEntityStreamResponseValidationError) Cause ¶
func (e PermissionLookupEntityStreamResponseValidationError) Cause() error
Cause function returns cause value.
func (PermissionLookupEntityStreamResponseValidationError) Error ¶
func (e PermissionLookupEntityStreamResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionLookupEntityStreamResponseValidationError) ErrorName ¶
func (e PermissionLookupEntityStreamResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionLookupEntityStreamResponseValidationError) Field ¶
func (e PermissionLookupEntityStreamResponseValidationError) Field() string
Field function returns field value.
func (PermissionLookupEntityStreamResponseValidationError) Key ¶
func (e PermissionLookupEntityStreamResponseValidationError) Key() bool
Key function returns key value.
func (PermissionLookupEntityStreamResponseValidationError) Reason ¶
func (e PermissionLookupEntityStreamResponseValidationError) Reason() string
Reason function returns reason value.
type PermissionLookupSubjectRequest ¶ added in v0.3.4
type PermissionLookupSubjectRequest struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"` Metadata *PermissionLookupSubjectRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` Entity *Entity `protobuf:"bytes,3,opt,name=entity,proto3" json:"entity,omitempty"` // its can be permission or relation Permission string `protobuf:"bytes,4,opt,name=permission,proto3" json:"permission,omitempty"` SubjectReference *RelationReference `protobuf:"bytes,5,opt,name=subject_reference,proto3" json:"subject_reference,omitempty"` ContextualTuples []*Tuple `protobuf:"bytes,6,rep,name=contextual_tuples,proto3" json:"contextual_tuples,omitempty"` // contains filtered or unexported fields }
PermissionLookupSubjectRequest
func (*PermissionLookupSubjectRequest) Descriptor
deprecated
added in
v0.3.4
func (*PermissionLookupSubjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use PermissionLookupSubjectRequest.ProtoReflect.Descriptor instead.
func (*PermissionLookupSubjectRequest) GetContextualTuples ¶ added in v0.3.6
func (x *PermissionLookupSubjectRequest) GetContextualTuples() []*Tuple
func (*PermissionLookupSubjectRequest) GetEntity ¶ added in v0.3.4
func (x *PermissionLookupSubjectRequest) GetEntity() *Entity
func (*PermissionLookupSubjectRequest) GetMetadata ¶ added in v0.3.4
func (x *PermissionLookupSubjectRequest) GetMetadata() *PermissionLookupSubjectRequestMetadata
func (*PermissionLookupSubjectRequest) GetPermission ¶ added in v0.3.4
func (x *PermissionLookupSubjectRequest) GetPermission() string
func (*PermissionLookupSubjectRequest) GetSubjectReference ¶ added in v0.3.4
func (x *PermissionLookupSubjectRequest) GetSubjectReference() *RelationReference
func (*PermissionLookupSubjectRequest) GetTenantId ¶ added in v0.3.4
func (x *PermissionLookupSubjectRequest) GetTenantId() string
func (*PermissionLookupSubjectRequest) MarshalToSizedBufferVT ¶ added in v0.3.4
func (m *PermissionLookupSubjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionLookupSubjectRequest) MarshalToVT ¶ added in v0.3.4
func (m *PermissionLookupSubjectRequest) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionLookupSubjectRequest) MarshalVT ¶ added in v0.3.4
func (m *PermissionLookupSubjectRequest) MarshalVT() (dAtA []byte, err error)
func (*PermissionLookupSubjectRequest) ProtoMessage ¶ added in v0.3.4
func (*PermissionLookupSubjectRequest) ProtoMessage()
func (*PermissionLookupSubjectRequest) ProtoReflect ¶ added in v0.3.4
func (x *PermissionLookupSubjectRequest) ProtoReflect() protoreflect.Message
func (*PermissionLookupSubjectRequest) Reset ¶ added in v0.3.4
func (x *PermissionLookupSubjectRequest) Reset()
func (*PermissionLookupSubjectRequest) SizeVT ¶ added in v0.3.4
func (m *PermissionLookupSubjectRequest) SizeVT() (n int)
func (*PermissionLookupSubjectRequest) String ¶ added in v0.3.4
func (x *PermissionLookupSubjectRequest) String() string
func (*PermissionLookupSubjectRequest) UnmarshalVT ¶ added in v0.3.4
func (m *PermissionLookupSubjectRequest) UnmarshalVT(dAtA []byte) error
func (*PermissionLookupSubjectRequest) Validate ¶ added in v0.3.4
func (m *PermissionLookupSubjectRequest) Validate() error
Validate checks the field values on PermissionLookupSubjectRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionLookupSubjectRequestMetadata ¶ added in v0.3.4
type PermissionLookupSubjectRequestMetadata struct { SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"` SnapToken string `protobuf:"bytes,2,opt,name=snap_token,proto3" json:"snap_token,omitempty"` // contains filtered or unexported fields }
PermissionLookupSubjectRequestMetadata
func (*PermissionLookupSubjectRequestMetadata) Descriptor
deprecated
added in
v0.3.4
func (*PermissionLookupSubjectRequestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PermissionLookupSubjectRequestMetadata.ProtoReflect.Descriptor instead.
func (*PermissionLookupSubjectRequestMetadata) GetSchemaVersion ¶ added in v0.3.4
func (x *PermissionLookupSubjectRequestMetadata) GetSchemaVersion() string
func (*PermissionLookupSubjectRequestMetadata) GetSnapToken ¶ added in v0.3.4
func (x *PermissionLookupSubjectRequestMetadata) GetSnapToken() string
func (*PermissionLookupSubjectRequestMetadata) MarshalToSizedBufferVT ¶ added in v0.3.4
func (m *PermissionLookupSubjectRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionLookupSubjectRequestMetadata) MarshalToVT ¶ added in v0.3.4
func (m *PermissionLookupSubjectRequestMetadata) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionLookupSubjectRequestMetadata) MarshalVT ¶ added in v0.3.4
func (m *PermissionLookupSubjectRequestMetadata) MarshalVT() (dAtA []byte, err error)
func (*PermissionLookupSubjectRequestMetadata) ProtoMessage ¶ added in v0.3.4
func (*PermissionLookupSubjectRequestMetadata) ProtoMessage()
func (*PermissionLookupSubjectRequestMetadata) ProtoReflect ¶ added in v0.3.4
func (x *PermissionLookupSubjectRequestMetadata) ProtoReflect() protoreflect.Message
func (*PermissionLookupSubjectRequestMetadata) Reset ¶ added in v0.3.4
func (x *PermissionLookupSubjectRequestMetadata) Reset()
func (*PermissionLookupSubjectRequestMetadata) SizeVT ¶ added in v0.3.4
func (m *PermissionLookupSubjectRequestMetadata) SizeVT() (n int)
func (*PermissionLookupSubjectRequestMetadata) String ¶ added in v0.3.4
func (x *PermissionLookupSubjectRequestMetadata) String() string
func (*PermissionLookupSubjectRequestMetadata) UnmarshalVT ¶ added in v0.3.4
func (m *PermissionLookupSubjectRequestMetadata) UnmarshalVT(dAtA []byte) error
func (*PermissionLookupSubjectRequestMetadata) Validate ¶ added in v0.3.4
func (m *PermissionLookupSubjectRequestMetadata) Validate() error
Validate checks the field values on PermissionLookupSubjectRequestMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionLookupSubjectRequestMetadataValidationError ¶ added in v0.3.4
type PermissionLookupSubjectRequestMetadataValidationError struct {
// contains filtered or unexported fields
}
PermissionLookupSubjectRequestMetadataValidationError is the validation error returned by PermissionLookupSubjectRequestMetadata.Validate if the designated constraints aren't met.
func (PermissionLookupSubjectRequestMetadataValidationError) Cause ¶ added in v0.3.4
func (e PermissionLookupSubjectRequestMetadataValidationError) Cause() error
Cause function returns cause value.
func (PermissionLookupSubjectRequestMetadataValidationError) Error ¶ added in v0.3.4
func (e PermissionLookupSubjectRequestMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionLookupSubjectRequestMetadataValidationError) ErrorName ¶ added in v0.3.4
func (e PermissionLookupSubjectRequestMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionLookupSubjectRequestMetadataValidationError) Field ¶ added in v0.3.4
func (e PermissionLookupSubjectRequestMetadataValidationError) Field() string
Field function returns field value.
func (PermissionLookupSubjectRequestMetadataValidationError) Key ¶ added in v0.3.4
func (e PermissionLookupSubjectRequestMetadataValidationError) Key() bool
Key function returns key value.
func (PermissionLookupSubjectRequestMetadataValidationError) Reason ¶ added in v0.3.4
func (e PermissionLookupSubjectRequestMetadataValidationError) Reason() string
Reason function returns reason value.
type PermissionLookupSubjectRequestValidationError ¶ added in v0.3.4
type PermissionLookupSubjectRequestValidationError struct {
// contains filtered or unexported fields
}
PermissionLookupSubjectRequestValidationError is the validation error returned by PermissionLookupSubjectRequest.Validate if the designated constraints aren't met.
func (PermissionLookupSubjectRequestValidationError) Cause ¶ added in v0.3.4
func (e PermissionLookupSubjectRequestValidationError) Cause() error
Cause function returns cause value.
func (PermissionLookupSubjectRequestValidationError) Error ¶ added in v0.3.4
func (e PermissionLookupSubjectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionLookupSubjectRequestValidationError) ErrorName ¶ added in v0.3.4
func (e PermissionLookupSubjectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionLookupSubjectRequestValidationError) Field ¶ added in v0.3.4
func (e PermissionLookupSubjectRequestValidationError) Field() string
Field function returns field value.
func (PermissionLookupSubjectRequestValidationError) Key ¶ added in v0.3.4
func (e PermissionLookupSubjectRequestValidationError) Key() bool
Key function returns key value.
func (PermissionLookupSubjectRequestValidationError) Reason ¶ added in v0.3.4
func (e PermissionLookupSubjectRequestValidationError) Reason() string
Reason function returns reason value.
type PermissionLookupSubjectResponse ¶ added in v0.3.4
type PermissionLookupSubjectResponse struct { SubjectIds []string `protobuf:"bytes,1,rep,name=subject_ids,proto3" json:"subject_ids,omitempty"` // contains filtered or unexported fields }
PermissionLookupSubjectResponse
func (*PermissionLookupSubjectResponse) Descriptor
deprecated
added in
v0.3.4
func (*PermissionLookupSubjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use PermissionLookupSubjectResponse.ProtoReflect.Descriptor instead.
func (*PermissionLookupSubjectResponse) GetSubjectIds ¶ added in v0.3.4
func (x *PermissionLookupSubjectResponse) GetSubjectIds() []string
func (*PermissionLookupSubjectResponse) MarshalToSizedBufferVT ¶ added in v0.3.4
func (m *PermissionLookupSubjectResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionLookupSubjectResponse) MarshalToVT ¶ added in v0.3.4
func (m *PermissionLookupSubjectResponse) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionLookupSubjectResponse) MarshalVT ¶ added in v0.3.4
func (m *PermissionLookupSubjectResponse) MarshalVT() (dAtA []byte, err error)
func (*PermissionLookupSubjectResponse) ProtoMessage ¶ added in v0.3.4
func (*PermissionLookupSubjectResponse) ProtoMessage()
func (*PermissionLookupSubjectResponse) ProtoReflect ¶ added in v0.3.4
func (x *PermissionLookupSubjectResponse) ProtoReflect() protoreflect.Message
func (*PermissionLookupSubjectResponse) Reset ¶ added in v0.3.4
func (x *PermissionLookupSubjectResponse) Reset()
func (*PermissionLookupSubjectResponse) SizeVT ¶ added in v0.3.4
func (m *PermissionLookupSubjectResponse) SizeVT() (n int)
func (*PermissionLookupSubjectResponse) String ¶ added in v0.3.4
func (x *PermissionLookupSubjectResponse) String() string
func (*PermissionLookupSubjectResponse) UnmarshalVT ¶ added in v0.3.4
func (m *PermissionLookupSubjectResponse) UnmarshalVT(dAtA []byte) error
func (*PermissionLookupSubjectResponse) Validate ¶ added in v0.3.4
func (m *PermissionLookupSubjectResponse) Validate() error
Validate checks the field values on PermissionLookupSubjectResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionLookupSubjectResponseValidationError ¶ added in v0.3.4
type PermissionLookupSubjectResponseValidationError struct {
// contains filtered or unexported fields
}
PermissionLookupSubjectResponseValidationError is the validation error returned by PermissionLookupSubjectResponse.Validate if the designated constraints aren't met.
func (PermissionLookupSubjectResponseValidationError) Cause ¶ added in v0.3.4
func (e PermissionLookupSubjectResponseValidationError) Cause() error
Cause function returns cause value.
func (PermissionLookupSubjectResponseValidationError) Error ¶ added in v0.3.4
func (e PermissionLookupSubjectResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionLookupSubjectResponseValidationError) ErrorName ¶ added in v0.3.4
func (e PermissionLookupSubjectResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionLookupSubjectResponseValidationError) Field ¶ added in v0.3.4
func (e PermissionLookupSubjectResponseValidationError) Field() string
Field function returns field value.
func (PermissionLookupSubjectResponseValidationError) Key ¶ added in v0.3.4
func (e PermissionLookupSubjectResponseValidationError) Key() bool
Key function returns key value.
func (PermissionLookupSubjectResponseValidationError) Reason ¶ added in v0.3.4
func (e PermissionLookupSubjectResponseValidationError) Reason() string
Reason function returns reason value.
type PermissionServer ¶
type PermissionServer interface { Check(context.Context, *PermissionCheckRequest) (*PermissionCheckResponse, error) Expand(context.Context, *PermissionExpandRequest) (*PermissionExpandResponse, error) LookupEntity(context.Context, *PermissionLookupEntityRequest) (*PermissionLookupEntityResponse, error) LookupEntityStream(*PermissionLookupEntityRequest, Permission_LookupEntityStreamServer) error LookupSubject(context.Context, *PermissionLookupSubjectRequest) (*PermissionLookupSubjectResponse, error) // contains filtered or unexported methods }
PermissionServer is the server API for Permission service. All implementations must embed UnimplementedPermissionServer for forward compatibility
type Permission_LookupEntityStreamClient ¶
type Permission_LookupEntityStreamClient interface { Recv() (*PermissionLookupEntityStreamResponse, error) grpc.ClientStream }
type Permission_LookupEntityStreamServer ¶
type Permission_LookupEntityStreamServer interface { Send(*PermissionLookupEntityStreamResponse) error grpc.ServerStream }
type RelationDefinition ¶
type RelationDefinition struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` RelationReferences []*RelationReference `protobuf:"bytes,2,rep,name=relation_references,json=relationReferences,proto3" json:"relation_references,omitempty"` // contains filtered or unexported fields }
RelationDefinition
func (*RelationDefinition) Descriptor
deprecated
func (*RelationDefinition) Descriptor() ([]byte, []int)
Deprecated: Use RelationDefinition.ProtoReflect.Descriptor instead.
func (*RelationDefinition) GetName ¶
func (x *RelationDefinition) GetName() string
func (*RelationDefinition) GetRelationReferences ¶
func (x *RelationDefinition) GetRelationReferences() []*RelationReference
func (*RelationDefinition) MarshalToSizedBufferVT ¶
func (m *RelationDefinition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationDefinition) MarshalToVT ¶
func (m *RelationDefinition) MarshalToVT(dAtA []byte) (int, error)
func (*RelationDefinition) MarshalVT ¶
func (m *RelationDefinition) MarshalVT() (dAtA []byte, err error)
func (*RelationDefinition) ProtoMessage ¶
func (*RelationDefinition) ProtoMessage()
func (*RelationDefinition) ProtoReflect ¶
func (x *RelationDefinition) ProtoReflect() protoreflect.Message
func (*RelationDefinition) Reset ¶
func (x *RelationDefinition) Reset()
func (*RelationDefinition) SizeVT ¶
func (m *RelationDefinition) SizeVT() (n int)
func (*RelationDefinition) String ¶
func (x *RelationDefinition) String() string
func (*RelationDefinition) UnmarshalVT ¶
func (m *RelationDefinition) UnmarshalVT(dAtA []byte) error
func (*RelationDefinition) Validate ¶
func (m *RelationDefinition) Validate() error
Validate checks the field values on RelationDefinition with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RelationDefinitionValidationError ¶
type RelationDefinitionValidationError struct {
// contains filtered or unexported fields
}
RelationDefinitionValidationError is the validation error returned by RelationDefinition.Validate if the designated constraints aren't met.
func (RelationDefinitionValidationError) Cause ¶
func (e RelationDefinitionValidationError) Cause() error
Cause function returns cause value.
func (RelationDefinitionValidationError) Error ¶
func (e RelationDefinitionValidationError) Error() string
Error satisfies the builtin error interface
func (RelationDefinitionValidationError) ErrorName ¶
func (e RelationDefinitionValidationError) ErrorName() string
ErrorName returns error name.
func (RelationDefinitionValidationError) Field ¶
func (e RelationDefinitionValidationError) Field() string
Field function returns field value.
func (RelationDefinitionValidationError) Key ¶
func (e RelationDefinitionValidationError) Key() bool
Key function returns key value.
func (RelationDefinitionValidationError) Reason ¶
func (e RelationDefinitionValidationError) Reason() string
Reason function returns reason value.
type RelationReference ¶
type RelationReference struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
RelationReference
func (*RelationReference) Descriptor
deprecated
func (*RelationReference) Descriptor() ([]byte, []int)
Deprecated: Use RelationReference.ProtoReflect.Descriptor instead.
func (*RelationReference) GetRelation ¶ added in v0.3.3
func (x *RelationReference) GetRelation() string
func (*RelationReference) GetType ¶ added in v0.3.3
func (x *RelationReference) GetType() string
func (*RelationReference) MarshalToSizedBufferVT ¶
func (m *RelationReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationReference) MarshalToVT ¶
func (m *RelationReference) MarshalToVT(dAtA []byte) (int, error)
func (*RelationReference) MarshalVT ¶
func (m *RelationReference) MarshalVT() (dAtA []byte, err error)
func (*RelationReference) ProtoMessage ¶
func (*RelationReference) ProtoMessage()
func (*RelationReference) ProtoReflect ¶
func (x *RelationReference) ProtoReflect() protoreflect.Message
func (*RelationReference) Reset ¶
func (x *RelationReference) Reset()
func (*RelationReference) SizeVT ¶
func (m *RelationReference) SizeVT() (n int)
func (*RelationReference) String ¶
func (x *RelationReference) String() string
func (*RelationReference) UnmarshalVT ¶
func (m *RelationReference) UnmarshalVT(dAtA []byte) error
func (*RelationReference) Validate ¶
func (m *RelationReference) Validate() error
Validate checks the field values on RelationReference with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RelationReferenceValidationError ¶
type RelationReferenceValidationError struct {
// contains filtered or unexported fields
}
RelationReferenceValidationError is the validation error returned by RelationReference.Validate if the designated constraints aren't met.
func (RelationReferenceValidationError) Cause ¶
func (e RelationReferenceValidationError) Cause() error
Cause function returns cause value.
func (RelationReferenceValidationError) Error ¶
func (e RelationReferenceValidationError) Error() string
Error satisfies the builtin error interface
func (RelationReferenceValidationError) ErrorName ¶
func (e RelationReferenceValidationError) ErrorName() string
ErrorName returns error name.
func (RelationReferenceValidationError) Field ¶
func (e RelationReferenceValidationError) Field() string
Field function returns field value.
func (RelationReferenceValidationError) Key ¶
func (e RelationReferenceValidationError) Key() bool
Key function returns key value.
func (RelationReferenceValidationError) Reason ¶
func (e RelationReferenceValidationError) Reason() string
Reason function returns reason value.
type RelationshipClient ¶
type RelationshipClient interface { Write(ctx context.Context, in *RelationshipWriteRequest, opts ...grpc.CallOption) (*RelationshipWriteResponse, error) Read(ctx context.Context, in *RelationshipReadRequest, opts ...grpc.CallOption) (*RelationshipReadResponse, error) Delete(ctx context.Context, in *RelationshipDeleteRequest, opts ...grpc.CallOption) (*RelationshipDeleteResponse, error) }
RelationshipClient is the client API for Relationship 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 NewRelationshipClient ¶
func NewRelationshipClient(cc grpc.ClientConnInterface) RelationshipClient
type RelationshipDeleteRequest ¶
type RelationshipDeleteRequest struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"` Filter *TupleFilter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
RelationshipDeleteRequest
func (*RelationshipDeleteRequest) Descriptor
deprecated
func (*RelationshipDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use RelationshipDeleteRequest.ProtoReflect.Descriptor instead.
func (*RelationshipDeleteRequest) GetFilter ¶
func (x *RelationshipDeleteRequest) GetFilter() *TupleFilter
func (*RelationshipDeleteRequest) GetTenantId ¶
func (x *RelationshipDeleteRequest) GetTenantId() string
func (*RelationshipDeleteRequest) MarshalToSizedBufferVT ¶
func (m *RelationshipDeleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationshipDeleteRequest) MarshalToVT ¶
func (m *RelationshipDeleteRequest) MarshalToVT(dAtA []byte) (int, error)
func (*RelationshipDeleteRequest) MarshalVT ¶
func (m *RelationshipDeleteRequest) MarshalVT() (dAtA []byte, err error)
func (*RelationshipDeleteRequest) ProtoMessage ¶
func (*RelationshipDeleteRequest) ProtoMessage()
func (*RelationshipDeleteRequest) ProtoReflect ¶
func (x *RelationshipDeleteRequest) ProtoReflect() protoreflect.Message
func (*RelationshipDeleteRequest) Reset ¶
func (x *RelationshipDeleteRequest) Reset()
func (*RelationshipDeleteRequest) SizeVT ¶
func (m *RelationshipDeleteRequest) SizeVT() (n int)
func (*RelationshipDeleteRequest) String ¶
func (x *RelationshipDeleteRequest) String() string
func (*RelationshipDeleteRequest) UnmarshalVT ¶
func (m *RelationshipDeleteRequest) UnmarshalVT(dAtA []byte) error
func (*RelationshipDeleteRequest) Validate ¶
func (m *RelationshipDeleteRequest) Validate() error
Validate checks the field values on RelationshipDeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RelationshipDeleteRequestValidationError ¶
type RelationshipDeleteRequestValidationError struct {
// contains filtered or unexported fields
}
RelationshipDeleteRequestValidationError is the validation error returned by RelationshipDeleteRequest.Validate if the designated constraints aren't met.
func (RelationshipDeleteRequestValidationError) Cause ¶
func (e RelationshipDeleteRequestValidationError) Cause() error
Cause function returns cause value.
func (RelationshipDeleteRequestValidationError) Error ¶
func (e RelationshipDeleteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipDeleteRequestValidationError) ErrorName ¶
func (e RelationshipDeleteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipDeleteRequestValidationError) Field ¶
func (e RelationshipDeleteRequestValidationError) Field() string
Field function returns field value.
func (RelationshipDeleteRequestValidationError) Key ¶
func (e RelationshipDeleteRequestValidationError) Key() bool
Key function returns key value.
func (RelationshipDeleteRequestValidationError) Reason ¶
func (e RelationshipDeleteRequestValidationError) Reason() string
Reason function returns reason value.
type RelationshipDeleteResponse ¶
type RelationshipDeleteResponse struct { SnapToken string `protobuf:"bytes,1,opt,name=snap_token,proto3" json:"snap_token,omitempty"` // contains filtered or unexported fields }
RelationshipDeleteResponse
func (*RelationshipDeleteResponse) Descriptor
deprecated
func (*RelationshipDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use RelationshipDeleteResponse.ProtoReflect.Descriptor instead.
func (*RelationshipDeleteResponse) GetSnapToken ¶
func (x *RelationshipDeleteResponse) GetSnapToken() string
func (*RelationshipDeleteResponse) MarshalToSizedBufferVT ¶
func (m *RelationshipDeleteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationshipDeleteResponse) MarshalToVT ¶
func (m *RelationshipDeleteResponse) MarshalToVT(dAtA []byte) (int, error)
func (*RelationshipDeleteResponse) MarshalVT ¶
func (m *RelationshipDeleteResponse) MarshalVT() (dAtA []byte, err error)
func (*RelationshipDeleteResponse) ProtoMessage ¶
func (*RelationshipDeleteResponse) ProtoMessage()
func (*RelationshipDeleteResponse) ProtoReflect ¶
func (x *RelationshipDeleteResponse) ProtoReflect() protoreflect.Message
func (*RelationshipDeleteResponse) Reset ¶
func (x *RelationshipDeleteResponse) Reset()
func (*RelationshipDeleteResponse) SizeVT ¶
func (m *RelationshipDeleteResponse) SizeVT() (n int)
func (*RelationshipDeleteResponse) String ¶
func (x *RelationshipDeleteResponse) String() string
func (*RelationshipDeleteResponse) UnmarshalVT ¶
func (m *RelationshipDeleteResponse) UnmarshalVT(dAtA []byte) error
func (*RelationshipDeleteResponse) Validate ¶
func (m *RelationshipDeleteResponse) Validate() error
Validate checks the field values on RelationshipDeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RelationshipDeleteResponseValidationError ¶
type RelationshipDeleteResponseValidationError struct {
// contains filtered or unexported fields
}
RelationshipDeleteResponseValidationError is the validation error returned by RelationshipDeleteResponse.Validate if the designated constraints aren't met.
func (RelationshipDeleteResponseValidationError) Cause ¶
func (e RelationshipDeleteResponseValidationError) Cause() error
Cause function returns cause value.
func (RelationshipDeleteResponseValidationError) Error ¶
func (e RelationshipDeleteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipDeleteResponseValidationError) ErrorName ¶
func (e RelationshipDeleteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipDeleteResponseValidationError) Field ¶
func (e RelationshipDeleteResponseValidationError) Field() string
Field function returns field value.
func (RelationshipDeleteResponseValidationError) Key ¶
func (e RelationshipDeleteResponseValidationError) Key() bool
Key function returns key value.
func (RelationshipDeleteResponseValidationError) Reason ¶
func (e RelationshipDeleteResponseValidationError) Reason() string
Reason function returns reason value.
type RelationshipReadRequest ¶
type RelationshipReadRequest struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"` Metadata *RelationshipReadRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` Filter *TupleFilter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` PageSize uint32 `protobuf:"varint,4,opt,name=page_size,proto3" json:"page_size,omitempty"` ContinuousToken string `protobuf:"bytes,5,opt,name=continuous_token,proto3" json:"continuous_token,omitempty"` // contains filtered or unexported fields }
RelationshipReadRequest
func (*RelationshipReadRequest) Descriptor
deprecated
func (*RelationshipReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use RelationshipReadRequest.ProtoReflect.Descriptor instead.
func (*RelationshipReadRequest) GetContinuousToken ¶
func (x *RelationshipReadRequest) GetContinuousToken() string
func (*RelationshipReadRequest) GetFilter ¶
func (x *RelationshipReadRequest) GetFilter() *TupleFilter
func (*RelationshipReadRequest) GetMetadata ¶
func (x *RelationshipReadRequest) GetMetadata() *RelationshipReadRequestMetadata
func (*RelationshipReadRequest) GetPageSize ¶
func (x *RelationshipReadRequest) GetPageSize() uint32
func (*RelationshipReadRequest) GetTenantId ¶
func (x *RelationshipReadRequest) GetTenantId() string
func (*RelationshipReadRequest) MarshalToSizedBufferVT ¶
func (m *RelationshipReadRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationshipReadRequest) MarshalToVT ¶
func (m *RelationshipReadRequest) MarshalToVT(dAtA []byte) (int, error)
func (*RelationshipReadRequest) MarshalVT ¶
func (m *RelationshipReadRequest) MarshalVT() (dAtA []byte, err error)
func (*RelationshipReadRequest) ProtoMessage ¶
func (*RelationshipReadRequest) ProtoMessage()
func (*RelationshipReadRequest) ProtoReflect ¶
func (x *RelationshipReadRequest) ProtoReflect() protoreflect.Message
func (*RelationshipReadRequest) Reset ¶
func (x *RelationshipReadRequest) Reset()
func (*RelationshipReadRequest) SizeVT ¶
func (m *RelationshipReadRequest) SizeVT() (n int)
func (*RelationshipReadRequest) String ¶
func (x *RelationshipReadRequest) String() string
func (*RelationshipReadRequest) UnmarshalVT ¶
func (m *RelationshipReadRequest) UnmarshalVT(dAtA []byte) error
func (*RelationshipReadRequest) Validate ¶
func (m *RelationshipReadRequest) Validate() error
Validate checks the field values on RelationshipReadRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RelationshipReadRequestMetadata ¶
type RelationshipReadRequestMetadata struct { SnapToken string `protobuf:"bytes,1,opt,name=snap_token,proto3" json:"snap_token,omitempty"` // contains filtered or unexported fields }
RelationshipWriteRequestMetadata
func (*RelationshipReadRequestMetadata) Descriptor
deprecated
func (*RelationshipReadRequestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RelationshipReadRequestMetadata.ProtoReflect.Descriptor instead.
func (*RelationshipReadRequestMetadata) GetSnapToken ¶
func (x *RelationshipReadRequestMetadata) GetSnapToken() string
func (*RelationshipReadRequestMetadata) MarshalToSizedBufferVT ¶
func (m *RelationshipReadRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationshipReadRequestMetadata) MarshalToVT ¶
func (m *RelationshipReadRequestMetadata) MarshalToVT(dAtA []byte) (int, error)
func (*RelationshipReadRequestMetadata) MarshalVT ¶
func (m *RelationshipReadRequestMetadata) MarshalVT() (dAtA []byte, err error)
func (*RelationshipReadRequestMetadata) ProtoMessage ¶
func (*RelationshipReadRequestMetadata) ProtoMessage()
func (*RelationshipReadRequestMetadata) ProtoReflect ¶
func (x *RelationshipReadRequestMetadata) ProtoReflect() protoreflect.Message
func (*RelationshipReadRequestMetadata) Reset ¶
func (x *RelationshipReadRequestMetadata) Reset()
func (*RelationshipReadRequestMetadata) SizeVT ¶
func (m *RelationshipReadRequestMetadata) SizeVT() (n int)
func (*RelationshipReadRequestMetadata) String ¶
func (x *RelationshipReadRequestMetadata) String() string
func (*RelationshipReadRequestMetadata) UnmarshalVT ¶
func (m *RelationshipReadRequestMetadata) UnmarshalVT(dAtA []byte) error
func (*RelationshipReadRequestMetadata) Validate ¶
func (m *RelationshipReadRequestMetadata) Validate() error
Validate checks the field values on RelationshipReadRequestMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RelationshipReadRequestMetadataValidationError ¶
type RelationshipReadRequestMetadataValidationError struct {
// contains filtered or unexported fields
}
RelationshipReadRequestMetadataValidationError is the validation error returned by RelationshipReadRequestMetadata.Validate if the designated constraints aren't met.
func (RelationshipReadRequestMetadataValidationError) Cause ¶
func (e RelationshipReadRequestMetadataValidationError) Cause() error
Cause function returns cause value.
func (RelationshipReadRequestMetadataValidationError) Error ¶
func (e RelationshipReadRequestMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipReadRequestMetadataValidationError) ErrorName ¶
func (e RelationshipReadRequestMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipReadRequestMetadataValidationError) Field ¶
func (e RelationshipReadRequestMetadataValidationError) Field() string
Field function returns field value.
func (RelationshipReadRequestMetadataValidationError) Key ¶
func (e RelationshipReadRequestMetadataValidationError) Key() bool
Key function returns key value.
func (RelationshipReadRequestMetadataValidationError) Reason ¶
func (e RelationshipReadRequestMetadataValidationError) Reason() string
Reason function returns reason value.
type RelationshipReadRequestValidationError ¶
type RelationshipReadRequestValidationError struct {
// contains filtered or unexported fields
}
RelationshipReadRequestValidationError is the validation error returned by RelationshipReadRequest.Validate if the designated constraints aren't met.
func (RelationshipReadRequestValidationError) Cause ¶
func (e RelationshipReadRequestValidationError) Cause() error
Cause function returns cause value.
func (RelationshipReadRequestValidationError) Error ¶
func (e RelationshipReadRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipReadRequestValidationError) ErrorName ¶
func (e RelationshipReadRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipReadRequestValidationError) Field ¶
func (e RelationshipReadRequestValidationError) Field() string
Field function returns field value.
func (RelationshipReadRequestValidationError) Key ¶
func (e RelationshipReadRequestValidationError) Key() bool
Key function returns key value.
func (RelationshipReadRequestValidationError) Reason ¶
func (e RelationshipReadRequestValidationError) Reason() string
Reason function returns reason value.
type RelationshipReadResponse ¶
type RelationshipReadResponse struct { Tuples []*Tuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"` ContinuousToken string `protobuf:"bytes,2,opt,name=continuous_token,proto3" json:"continuous_token,omitempty"` // contains filtered or unexported fields }
RelationshipReadResponse
func (*RelationshipReadResponse) Descriptor
deprecated
func (*RelationshipReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use RelationshipReadResponse.ProtoReflect.Descriptor instead.
func (*RelationshipReadResponse) GetContinuousToken ¶
func (x *RelationshipReadResponse) GetContinuousToken() string
func (*RelationshipReadResponse) GetTuples ¶
func (x *RelationshipReadResponse) GetTuples() []*Tuple
func (*RelationshipReadResponse) MarshalToSizedBufferVT ¶
func (m *RelationshipReadResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationshipReadResponse) MarshalToVT ¶
func (m *RelationshipReadResponse) MarshalToVT(dAtA []byte) (int, error)
func (*RelationshipReadResponse) MarshalVT ¶
func (m *RelationshipReadResponse) MarshalVT() (dAtA []byte, err error)
func (*RelationshipReadResponse) ProtoMessage ¶
func (*RelationshipReadResponse) ProtoMessage()
func (*RelationshipReadResponse) ProtoReflect ¶
func (x *RelationshipReadResponse) ProtoReflect() protoreflect.Message
func (*RelationshipReadResponse) Reset ¶
func (x *RelationshipReadResponse) Reset()
func (*RelationshipReadResponse) SizeVT ¶
func (m *RelationshipReadResponse) SizeVT() (n int)
func (*RelationshipReadResponse) String ¶
func (x *RelationshipReadResponse) String() string
func (*RelationshipReadResponse) UnmarshalVT ¶
func (m *RelationshipReadResponse) UnmarshalVT(dAtA []byte) error
func (*RelationshipReadResponse) Validate ¶
func (m *RelationshipReadResponse) Validate() error
Validate checks the field values on RelationshipReadResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RelationshipReadResponseValidationError ¶
type RelationshipReadResponseValidationError struct {
// contains filtered or unexported fields
}
RelationshipReadResponseValidationError is the validation error returned by RelationshipReadResponse.Validate if the designated constraints aren't met.
func (RelationshipReadResponseValidationError) Cause ¶
func (e RelationshipReadResponseValidationError) Cause() error
Cause function returns cause value.
func (RelationshipReadResponseValidationError) Error ¶
func (e RelationshipReadResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipReadResponseValidationError) ErrorName ¶
func (e RelationshipReadResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipReadResponseValidationError) Field ¶
func (e RelationshipReadResponseValidationError) Field() string
Field function returns field value.
func (RelationshipReadResponseValidationError) Key ¶
func (e RelationshipReadResponseValidationError) Key() bool
Key function returns key value.
func (RelationshipReadResponseValidationError) Reason ¶
func (e RelationshipReadResponseValidationError) Reason() string
Reason function returns reason value.
type RelationshipServer ¶
type RelationshipServer interface { Write(context.Context, *RelationshipWriteRequest) (*RelationshipWriteResponse, error) Read(context.Context, *RelationshipReadRequest) (*RelationshipReadResponse, error) Delete(context.Context, *RelationshipDeleteRequest) (*RelationshipDeleteResponse, error) // contains filtered or unexported methods }
RelationshipServer is the server API for Relationship service. All implementations must embed UnimplementedRelationshipServer for forward compatibility
type RelationshipWriteRequest ¶
type RelationshipWriteRequest struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"` Metadata *RelationshipWriteRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` Tuples []*Tuple `protobuf:"bytes,3,rep,name=tuples,proto3" json:"tuples,omitempty"` // contains filtered or unexported fields }
RelationshipWriteRequest
func (*RelationshipWriteRequest) Descriptor
deprecated
func (*RelationshipWriteRequest) Descriptor() ([]byte, []int)
Deprecated: Use RelationshipWriteRequest.ProtoReflect.Descriptor instead.
func (*RelationshipWriteRequest) GetMetadata ¶
func (x *RelationshipWriteRequest) GetMetadata() *RelationshipWriteRequestMetadata
func (*RelationshipWriteRequest) GetTenantId ¶
func (x *RelationshipWriteRequest) GetTenantId() string
func (*RelationshipWriteRequest) GetTuples ¶
func (x *RelationshipWriteRequest) GetTuples() []*Tuple
func (*RelationshipWriteRequest) MarshalToSizedBufferVT ¶
func (m *RelationshipWriteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationshipWriteRequest) MarshalToVT ¶
func (m *RelationshipWriteRequest) MarshalToVT(dAtA []byte) (int, error)
func (*RelationshipWriteRequest) MarshalVT ¶
func (m *RelationshipWriteRequest) MarshalVT() (dAtA []byte, err error)
func (*RelationshipWriteRequest) ProtoMessage ¶
func (*RelationshipWriteRequest) ProtoMessage()
func (*RelationshipWriteRequest) ProtoReflect ¶
func (x *RelationshipWriteRequest) ProtoReflect() protoreflect.Message
func (*RelationshipWriteRequest) Reset ¶
func (x *RelationshipWriteRequest) Reset()
func (*RelationshipWriteRequest) SizeVT ¶
func (m *RelationshipWriteRequest) SizeVT() (n int)
func (*RelationshipWriteRequest) String ¶
func (x *RelationshipWriteRequest) String() string
func (*RelationshipWriteRequest) UnmarshalVT ¶
func (m *RelationshipWriteRequest) UnmarshalVT(dAtA []byte) error
func (*RelationshipWriteRequest) Validate ¶
func (m *RelationshipWriteRequest) Validate() error
Validate checks the field values on RelationshipWriteRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RelationshipWriteRequestMetadata ¶
type RelationshipWriteRequestMetadata struct { SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"` // contains filtered or unexported fields }
RelationshipWriteRequestMetadata
func (*RelationshipWriteRequestMetadata) Descriptor
deprecated
func (*RelationshipWriteRequestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RelationshipWriteRequestMetadata.ProtoReflect.Descriptor instead.
func (*RelationshipWriteRequestMetadata) GetSchemaVersion ¶
func (x *RelationshipWriteRequestMetadata) GetSchemaVersion() string
func (*RelationshipWriteRequestMetadata) MarshalToSizedBufferVT ¶
func (m *RelationshipWriteRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationshipWriteRequestMetadata) MarshalToVT ¶
func (m *RelationshipWriteRequestMetadata) MarshalToVT(dAtA []byte) (int, error)
func (*RelationshipWriteRequestMetadata) MarshalVT ¶
func (m *RelationshipWriteRequestMetadata) MarshalVT() (dAtA []byte, err error)
func (*RelationshipWriteRequestMetadata) ProtoMessage ¶
func (*RelationshipWriteRequestMetadata) ProtoMessage()
func (*RelationshipWriteRequestMetadata) ProtoReflect ¶
func (x *RelationshipWriteRequestMetadata) ProtoReflect() protoreflect.Message
func (*RelationshipWriteRequestMetadata) Reset ¶
func (x *RelationshipWriteRequestMetadata) Reset()
func (*RelationshipWriteRequestMetadata) SizeVT ¶
func (m *RelationshipWriteRequestMetadata) SizeVT() (n int)
func (*RelationshipWriteRequestMetadata) String ¶
func (x *RelationshipWriteRequestMetadata) String() string
func (*RelationshipWriteRequestMetadata) UnmarshalVT ¶
func (m *RelationshipWriteRequestMetadata) UnmarshalVT(dAtA []byte) error
func (*RelationshipWriteRequestMetadata) Validate ¶
func (m *RelationshipWriteRequestMetadata) Validate() error
Validate checks the field values on RelationshipWriteRequestMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RelationshipWriteRequestMetadataValidationError ¶
type RelationshipWriteRequestMetadataValidationError struct {
// contains filtered or unexported fields
}
RelationshipWriteRequestMetadataValidationError is the validation error returned by RelationshipWriteRequestMetadata.Validate if the designated constraints aren't met.
func (RelationshipWriteRequestMetadataValidationError) Cause ¶
func (e RelationshipWriteRequestMetadataValidationError) Cause() error
Cause function returns cause value.
func (RelationshipWriteRequestMetadataValidationError) Error ¶
func (e RelationshipWriteRequestMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipWriteRequestMetadataValidationError) ErrorName ¶
func (e RelationshipWriteRequestMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipWriteRequestMetadataValidationError) Field ¶
func (e RelationshipWriteRequestMetadataValidationError) Field() string
Field function returns field value.
func (RelationshipWriteRequestMetadataValidationError) Key ¶
func (e RelationshipWriteRequestMetadataValidationError) Key() bool
Key function returns key value.
func (RelationshipWriteRequestMetadataValidationError) Reason ¶
func (e RelationshipWriteRequestMetadataValidationError) Reason() string
Reason function returns reason value.
type RelationshipWriteRequestValidationError ¶
type RelationshipWriteRequestValidationError struct {
// contains filtered or unexported fields
}
RelationshipWriteRequestValidationError is the validation error returned by RelationshipWriteRequest.Validate if the designated constraints aren't met.
func (RelationshipWriteRequestValidationError) Cause ¶
func (e RelationshipWriteRequestValidationError) Cause() error
Cause function returns cause value.
func (RelationshipWriteRequestValidationError) Error ¶
func (e RelationshipWriteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipWriteRequestValidationError) ErrorName ¶
func (e RelationshipWriteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipWriteRequestValidationError) Field ¶
func (e RelationshipWriteRequestValidationError) Field() string
Field function returns field value.
func (RelationshipWriteRequestValidationError) Key ¶
func (e RelationshipWriteRequestValidationError) Key() bool
Key function returns key value.
func (RelationshipWriteRequestValidationError) Reason ¶
func (e RelationshipWriteRequestValidationError) Reason() string
Reason function returns reason value.
type RelationshipWriteResponse ¶
type RelationshipWriteResponse struct { SnapToken string `protobuf:"bytes,1,opt,name=snap_token,proto3" json:"snap_token,omitempty"` // contains filtered or unexported fields }
RelationshipWriteResponse
func (*RelationshipWriteResponse) Descriptor
deprecated
func (*RelationshipWriteResponse) Descriptor() ([]byte, []int)
Deprecated: Use RelationshipWriteResponse.ProtoReflect.Descriptor instead.
func (*RelationshipWriteResponse) GetSnapToken ¶
func (x *RelationshipWriteResponse) GetSnapToken() string
func (*RelationshipWriteResponse) MarshalToSizedBufferVT ¶
func (m *RelationshipWriteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationshipWriteResponse) MarshalToVT ¶
func (m *RelationshipWriteResponse) MarshalToVT(dAtA []byte) (int, error)
func (*RelationshipWriteResponse) MarshalVT ¶
func (m *RelationshipWriteResponse) MarshalVT() (dAtA []byte, err error)
func (*RelationshipWriteResponse) ProtoMessage ¶
func (*RelationshipWriteResponse) ProtoMessage()
func (*RelationshipWriteResponse) ProtoReflect ¶
func (x *RelationshipWriteResponse) ProtoReflect() protoreflect.Message
func (*RelationshipWriteResponse) Reset ¶
func (x *RelationshipWriteResponse) Reset()
func (*RelationshipWriteResponse) SizeVT ¶
func (m *RelationshipWriteResponse) SizeVT() (n int)
func (*RelationshipWriteResponse) String ¶
func (x *RelationshipWriteResponse) String() string
func (*RelationshipWriteResponse) UnmarshalVT ¶
func (m *RelationshipWriteResponse) UnmarshalVT(dAtA []byte) error
func (*RelationshipWriteResponse) Validate ¶
func (m *RelationshipWriteResponse) Validate() error
Validate checks the field values on RelationshipWriteResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RelationshipWriteResponseValidationError ¶
type RelationshipWriteResponseValidationError struct {
// contains filtered or unexported fields
}
RelationshipWriteResponseValidationError is the validation error returned by RelationshipWriteResponse.Validate if the designated constraints aren't met.
func (RelationshipWriteResponseValidationError) Cause ¶
func (e RelationshipWriteResponseValidationError) Cause() error
Cause function returns cause value.
func (RelationshipWriteResponseValidationError) Error ¶
func (e RelationshipWriteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipWriteResponseValidationError) ErrorName ¶
func (e RelationshipWriteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipWriteResponseValidationError) Field ¶
func (e RelationshipWriteResponseValidationError) Field() string
Field function returns field value.
func (RelationshipWriteResponseValidationError) Key ¶
func (e RelationshipWriteResponseValidationError) Key() bool
Key function returns key value.
func (RelationshipWriteResponseValidationError) Reason ¶
func (e RelationshipWriteResponseValidationError) Reason() string
Reason function returns reason value.
type Rewrite ¶
type Rewrite struct { RewriteOperation Rewrite_Operation `` /* 141-byte string literal not displayed */ Children []*Child `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
Rewrite
func (*Rewrite) Descriptor
deprecated
func (*Rewrite) GetChildren ¶
func (*Rewrite) GetRewriteOperation ¶
func (x *Rewrite) GetRewriteOperation() Rewrite_Operation
func (*Rewrite) MarshalToSizedBufferVT ¶
func (*Rewrite) ProtoMessage ¶
func (*Rewrite) ProtoMessage()
func (*Rewrite) ProtoReflect ¶
func (x *Rewrite) ProtoReflect() protoreflect.Message
func (*Rewrite) UnmarshalVT ¶
type RewriteValidationError ¶
type RewriteValidationError struct {
// contains filtered or unexported fields
}
RewriteValidationError is the validation error returned by Rewrite.Validate if the designated constraints aren't met.
func (RewriteValidationError) Cause ¶
func (e RewriteValidationError) Cause() error
Cause function returns cause value.
func (RewriteValidationError) Error ¶
func (e RewriteValidationError) Error() string
Error satisfies the builtin error interface
func (RewriteValidationError) ErrorName ¶
func (e RewriteValidationError) ErrorName() string
ErrorName returns error name.
func (RewriteValidationError) Field ¶
func (e RewriteValidationError) Field() string
Field function returns field value.
func (RewriteValidationError) Key ¶
func (e RewriteValidationError) Key() bool
Key function returns key value.
func (RewriteValidationError) Reason ¶
func (e RewriteValidationError) Reason() string
Reason function returns reason value.
type Rewrite_Operation ¶
type Rewrite_Operation int32
Operation
const ( Rewrite_OPERATION_UNSPECIFIED Rewrite_Operation = 0 Rewrite_OPERATION_UNION Rewrite_Operation = 1 Rewrite_OPERATION_INTERSECTION Rewrite_Operation = 2 Rewrite_OPERATION_EXCLUSION Rewrite_Operation = 3 )
func (Rewrite_Operation) Descriptor ¶
func (Rewrite_Operation) Descriptor() protoreflect.EnumDescriptor
func (Rewrite_Operation) Enum ¶
func (x Rewrite_Operation) Enum() *Rewrite_Operation
func (Rewrite_Operation) EnumDescriptor
deprecated
func (Rewrite_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use Rewrite_Operation.Descriptor instead.
func (Rewrite_Operation) Number ¶
func (x Rewrite_Operation) Number() protoreflect.EnumNumber
func (Rewrite_Operation) String ¶
func (x Rewrite_Operation) String() string
func (Rewrite_Operation) Type ¶
func (Rewrite_Operation) Type() protoreflect.EnumType
type SchemaClient ¶
type SchemaClient interface { Write(ctx context.Context, in *SchemaWriteRequest, opts ...grpc.CallOption) (*SchemaWriteResponse, error) Read(ctx context.Context, in *SchemaReadRequest, opts ...grpc.CallOption) (*SchemaReadResponse, error) }
SchemaClient is the client API for Schema 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 NewSchemaClient ¶
func NewSchemaClient(cc grpc.ClientConnInterface) SchemaClient
type SchemaDefinition ¶ added in v0.3.3
type SchemaDefinition struct { EntityDefinitions map[string]*EntityDefinition `` /* 200-byte string literal not displayed */ // contains filtered or unexported fields }
Definition
func (*SchemaDefinition) Descriptor
deprecated
added in
v0.3.3
func (*SchemaDefinition) Descriptor() ([]byte, []int)
Deprecated: Use SchemaDefinition.ProtoReflect.Descriptor instead.
func (*SchemaDefinition) GetEntityDefinitions ¶ added in v0.3.3
func (x *SchemaDefinition) GetEntityDefinitions() map[string]*EntityDefinition
func (*SchemaDefinition) MarshalToSizedBufferVT ¶ added in v0.3.3
func (m *SchemaDefinition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SchemaDefinition) MarshalToVT ¶ added in v0.3.3
func (m *SchemaDefinition) MarshalToVT(dAtA []byte) (int, error)
func (*SchemaDefinition) MarshalVT ¶ added in v0.3.3
func (m *SchemaDefinition) MarshalVT() (dAtA []byte, err error)
func (*SchemaDefinition) ProtoMessage ¶ added in v0.3.3
func (*SchemaDefinition) ProtoMessage()
func (*SchemaDefinition) ProtoReflect ¶ added in v0.3.3
func (x *SchemaDefinition) ProtoReflect() protoreflect.Message
func (*SchemaDefinition) Reset ¶ added in v0.3.3
func (x *SchemaDefinition) Reset()
func (*SchemaDefinition) SizeVT ¶ added in v0.3.3
func (m *SchemaDefinition) SizeVT() (n int)
func (*SchemaDefinition) String ¶ added in v0.3.3
func (x *SchemaDefinition) String() string
func (*SchemaDefinition) UnmarshalVT ¶ added in v0.3.3
func (m *SchemaDefinition) UnmarshalVT(dAtA []byte) error
func (*SchemaDefinition) Validate ¶ added in v0.3.3
func (m *SchemaDefinition) Validate() error
Validate checks the field values on SchemaDefinition with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SchemaDefinitionValidationError ¶ added in v0.3.3
type SchemaDefinitionValidationError struct {
// contains filtered or unexported fields
}
SchemaDefinitionValidationError is the validation error returned by SchemaDefinition.Validate if the designated constraints aren't met.
func (SchemaDefinitionValidationError) Cause ¶ added in v0.3.3
func (e SchemaDefinitionValidationError) Cause() error
Cause function returns cause value.
func (SchemaDefinitionValidationError) Error ¶ added in v0.3.3
func (e SchemaDefinitionValidationError) Error() string
Error satisfies the builtin error interface
func (SchemaDefinitionValidationError) ErrorName ¶ added in v0.3.3
func (e SchemaDefinitionValidationError) ErrorName() string
ErrorName returns error name.
func (SchemaDefinitionValidationError) Field ¶ added in v0.3.3
func (e SchemaDefinitionValidationError) Field() string
Field function returns field value.
func (SchemaDefinitionValidationError) Key ¶ added in v0.3.3
func (e SchemaDefinitionValidationError) Key() bool
Key function returns key value.
func (SchemaDefinitionValidationError) Reason ¶ added in v0.3.3
func (e SchemaDefinitionValidationError) Reason() string
Reason function returns reason value.
type SchemaReadRequest ¶
type SchemaReadRequest struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"` Metadata *SchemaReadRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
SchemaReadRequest
func (*SchemaReadRequest) Descriptor
deprecated
func (*SchemaReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use SchemaReadRequest.ProtoReflect.Descriptor instead.
func (*SchemaReadRequest) GetMetadata ¶
func (x *SchemaReadRequest) GetMetadata() *SchemaReadRequestMetadata
func (*SchemaReadRequest) GetTenantId ¶
func (x *SchemaReadRequest) GetTenantId() string
func (*SchemaReadRequest) MarshalToSizedBufferVT ¶
func (m *SchemaReadRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SchemaReadRequest) MarshalToVT ¶
func (m *SchemaReadRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SchemaReadRequest) MarshalVT ¶
func (m *SchemaReadRequest) MarshalVT() (dAtA []byte, err error)
func (*SchemaReadRequest) ProtoMessage ¶
func (*SchemaReadRequest) ProtoMessage()
func (*SchemaReadRequest) ProtoReflect ¶
func (x *SchemaReadRequest) ProtoReflect() protoreflect.Message
func (*SchemaReadRequest) Reset ¶
func (x *SchemaReadRequest) Reset()
func (*SchemaReadRequest) SizeVT ¶
func (m *SchemaReadRequest) SizeVT() (n int)
func (*SchemaReadRequest) String ¶
func (x *SchemaReadRequest) String() string
func (*SchemaReadRequest) UnmarshalVT ¶
func (m *SchemaReadRequest) UnmarshalVT(dAtA []byte) error
func (*SchemaReadRequest) Validate ¶
func (m *SchemaReadRequest) Validate() error
Validate checks the field values on SchemaReadRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SchemaReadRequestMetadata ¶
type SchemaReadRequestMetadata struct { SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"` // contains filtered or unexported fields }
SchemaReadRequestMetadata
func (*SchemaReadRequestMetadata) Descriptor
deprecated
func (*SchemaReadRequestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SchemaReadRequestMetadata.ProtoReflect.Descriptor instead.
func (*SchemaReadRequestMetadata) GetSchemaVersion ¶
func (x *SchemaReadRequestMetadata) GetSchemaVersion() string
func (*SchemaReadRequestMetadata) MarshalToSizedBufferVT ¶
func (m *SchemaReadRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SchemaReadRequestMetadata) MarshalToVT ¶
func (m *SchemaReadRequestMetadata) MarshalToVT(dAtA []byte) (int, error)
func (*SchemaReadRequestMetadata) MarshalVT ¶
func (m *SchemaReadRequestMetadata) MarshalVT() (dAtA []byte, err error)
func (*SchemaReadRequestMetadata) ProtoMessage ¶
func (*SchemaReadRequestMetadata) ProtoMessage()
func (*SchemaReadRequestMetadata) ProtoReflect ¶
func (x *SchemaReadRequestMetadata) ProtoReflect() protoreflect.Message
func (*SchemaReadRequestMetadata) Reset ¶
func (x *SchemaReadRequestMetadata) Reset()
func (*SchemaReadRequestMetadata) SizeVT ¶
func (m *SchemaReadRequestMetadata) SizeVT() (n int)
func (*SchemaReadRequestMetadata) String ¶
func (x *SchemaReadRequestMetadata) String() string
func (*SchemaReadRequestMetadata) UnmarshalVT ¶
func (m *SchemaReadRequestMetadata) UnmarshalVT(dAtA []byte) error
func (*SchemaReadRequestMetadata) Validate ¶
func (m *SchemaReadRequestMetadata) Validate() error
Validate checks the field values on SchemaReadRequestMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SchemaReadRequestMetadataValidationError ¶
type SchemaReadRequestMetadataValidationError struct {
// contains filtered or unexported fields
}
SchemaReadRequestMetadataValidationError is the validation error returned by SchemaReadRequestMetadata.Validate if the designated constraints aren't met.
func (SchemaReadRequestMetadataValidationError) Cause ¶
func (e SchemaReadRequestMetadataValidationError) Cause() error
Cause function returns cause value.
func (SchemaReadRequestMetadataValidationError) Error ¶
func (e SchemaReadRequestMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (SchemaReadRequestMetadataValidationError) ErrorName ¶
func (e SchemaReadRequestMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (SchemaReadRequestMetadataValidationError) Field ¶
func (e SchemaReadRequestMetadataValidationError) Field() string
Field function returns field value.
func (SchemaReadRequestMetadataValidationError) Key ¶
func (e SchemaReadRequestMetadataValidationError) Key() bool
Key function returns key value.
func (SchemaReadRequestMetadataValidationError) Reason ¶
func (e SchemaReadRequestMetadataValidationError) Reason() string
Reason function returns reason value.
type SchemaReadRequestValidationError ¶
type SchemaReadRequestValidationError struct {
// contains filtered or unexported fields
}
SchemaReadRequestValidationError is the validation error returned by SchemaReadRequest.Validate if the designated constraints aren't met.
func (SchemaReadRequestValidationError) Cause ¶
func (e SchemaReadRequestValidationError) Cause() error
Cause function returns cause value.
func (SchemaReadRequestValidationError) Error ¶
func (e SchemaReadRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SchemaReadRequestValidationError) ErrorName ¶
func (e SchemaReadRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SchemaReadRequestValidationError) Field ¶
func (e SchemaReadRequestValidationError) Field() string
Field function returns field value.
func (SchemaReadRequestValidationError) Key ¶
func (e SchemaReadRequestValidationError) Key() bool
Key function returns key value.
func (SchemaReadRequestValidationError) Reason ¶
func (e SchemaReadRequestValidationError) Reason() string
Reason function returns reason value.
type SchemaReadResponse ¶
type SchemaReadResponse struct { Schema *SchemaDefinition `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` // contains filtered or unexported fields }
SchemaReadRequest
func (*SchemaReadResponse) Descriptor
deprecated
func (*SchemaReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use SchemaReadResponse.ProtoReflect.Descriptor instead.
func (*SchemaReadResponse) GetSchema ¶
func (x *SchemaReadResponse) GetSchema() *SchemaDefinition
func (*SchemaReadResponse) MarshalToSizedBufferVT ¶
func (m *SchemaReadResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SchemaReadResponse) MarshalToVT ¶
func (m *SchemaReadResponse) MarshalToVT(dAtA []byte) (int, error)
func (*SchemaReadResponse) MarshalVT ¶
func (m *SchemaReadResponse) MarshalVT() (dAtA []byte, err error)
func (*SchemaReadResponse) ProtoMessage ¶
func (*SchemaReadResponse) ProtoMessage()
func (*SchemaReadResponse) ProtoReflect ¶
func (x *SchemaReadResponse) ProtoReflect() protoreflect.Message
func (*SchemaReadResponse) Reset ¶
func (x *SchemaReadResponse) Reset()
func (*SchemaReadResponse) SizeVT ¶
func (m *SchemaReadResponse) SizeVT() (n int)
func (*SchemaReadResponse) String ¶
func (x *SchemaReadResponse) String() string
func (*SchemaReadResponse) UnmarshalVT ¶
func (m *SchemaReadResponse) UnmarshalVT(dAtA []byte) error
func (*SchemaReadResponse) Validate ¶
func (m *SchemaReadResponse) Validate() error
Validate checks the field values on SchemaReadResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SchemaReadResponseValidationError ¶
type SchemaReadResponseValidationError struct {
// contains filtered or unexported fields
}
SchemaReadResponseValidationError is the validation error returned by SchemaReadResponse.Validate if the designated constraints aren't met.
func (SchemaReadResponseValidationError) Cause ¶
func (e SchemaReadResponseValidationError) Cause() error
Cause function returns cause value.
func (SchemaReadResponseValidationError) Error ¶
func (e SchemaReadResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SchemaReadResponseValidationError) ErrorName ¶
func (e SchemaReadResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SchemaReadResponseValidationError) Field ¶
func (e SchemaReadResponseValidationError) Field() string
Field function returns field value.
func (SchemaReadResponseValidationError) Key ¶
func (e SchemaReadResponseValidationError) Key() bool
Key function returns key value.
func (SchemaReadResponseValidationError) Reason ¶
func (e SchemaReadResponseValidationError) Reason() string
Reason function returns reason value.
type SchemaServer ¶
type SchemaServer interface { Write(context.Context, *SchemaWriteRequest) (*SchemaWriteResponse, error) Read(context.Context, *SchemaReadRequest) (*SchemaReadResponse, error) // contains filtered or unexported methods }
SchemaServer is the server API for Schema service. All implementations must embed UnimplementedSchemaServer for forward compatibility
type SchemaWriteRequest ¶
type SchemaWriteRequest struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"` Schema string `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` // contains filtered or unexported fields }
SchemaWriteRequest
func (*SchemaWriteRequest) Descriptor
deprecated
func (*SchemaWriteRequest) Descriptor() ([]byte, []int)
Deprecated: Use SchemaWriteRequest.ProtoReflect.Descriptor instead.
func (*SchemaWriteRequest) GetSchema ¶
func (x *SchemaWriteRequest) GetSchema() string
func (*SchemaWriteRequest) GetTenantId ¶
func (x *SchemaWriteRequest) GetTenantId() string
func (*SchemaWriteRequest) MarshalToSizedBufferVT ¶
func (m *SchemaWriteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SchemaWriteRequest) MarshalToVT ¶
func (m *SchemaWriteRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SchemaWriteRequest) MarshalVT ¶
func (m *SchemaWriteRequest) MarshalVT() (dAtA []byte, err error)
func (*SchemaWriteRequest) ProtoMessage ¶
func (*SchemaWriteRequest) ProtoMessage()
func (*SchemaWriteRequest) ProtoReflect ¶
func (x *SchemaWriteRequest) ProtoReflect() protoreflect.Message
func (*SchemaWriteRequest) Reset ¶
func (x *SchemaWriteRequest) Reset()
func (*SchemaWriteRequest) SizeVT ¶
func (m *SchemaWriteRequest) SizeVT() (n int)
func (*SchemaWriteRequest) String ¶
func (x *SchemaWriteRequest) String() string
func (*SchemaWriteRequest) UnmarshalVT ¶
func (m *SchemaWriteRequest) UnmarshalVT(dAtA []byte) error
func (*SchemaWriteRequest) Validate ¶
func (m *SchemaWriteRequest) Validate() error
Validate checks the field values on SchemaWriteRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SchemaWriteRequestValidationError ¶
type SchemaWriteRequestValidationError struct {
// contains filtered or unexported fields
}
SchemaWriteRequestValidationError is the validation error returned by SchemaWriteRequest.Validate if the designated constraints aren't met.
func (SchemaWriteRequestValidationError) Cause ¶
func (e SchemaWriteRequestValidationError) Cause() error
Cause function returns cause value.
func (SchemaWriteRequestValidationError) Error ¶
func (e SchemaWriteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SchemaWriteRequestValidationError) ErrorName ¶
func (e SchemaWriteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SchemaWriteRequestValidationError) Field ¶
func (e SchemaWriteRequestValidationError) Field() string
Field function returns field value.
func (SchemaWriteRequestValidationError) Key ¶
func (e SchemaWriteRequestValidationError) Key() bool
Key function returns key value.
func (SchemaWriteRequestValidationError) Reason ¶
func (e SchemaWriteRequestValidationError) Reason() string
Reason function returns reason value.
type SchemaWriteResponse ¶
type SchemaWriteResponse struct { SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"` // contains filtered or unexported fields }
SchemaWriteResponse
func (*SchemaWriteResponse) Descriptor
deprecated
func (*SchemaWriteResponse) Descriptor() ([]byte, []int)
Deprecated: Use SchemaWriteResponse.ProtoReflect.Descriptor instead.
func (*SchemaWriteResponse) GetSchemaVersion ¶
func (x *SchemaWriteResponse) GetSchemaVersion() string
func (*SchemaWriteResponse) MarshalToSizedBufferVT ¶
func (m *SchemaWriteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SchemaWriteResponse) MarshalToVT ¶
func (m *SchemaWriteResponse) MarshalToVT(dAtA []byte) (int, error)
func (*SchemaWriteResponse) MarshalVT ¶
func (m *SchemaWriteResponse) MarshalVT() (dAtA []byte, err error)
func (*SchemaWriteResponse) ProtoMessage ¶
func (*SchemaWriteResponse) ProtoMessage()
func (*SchemaWriteResponse) ProtoReflect ¶
func (x *SchemaWriteResponse) ProtoReflect() protoreflect.Message
func (*SchemaWriteResponse) Reset ¶
func (x *SchemaWriteResponse) Reset()
func (*SchemaWriteResponse) SizeVT ¶
func (m *SchemaWriteResponse) SizeVT() (n int)
func (*SchemaWriteResponse) String ¶
func (x *SchemaWriteResponse) String() string
func (*SchemaWriteResponse) UnmarshalVT ¶
func (m *SchemaWriteResponse) UnmarshalVT(dAtA []byte) error
func (*SchemaWriteResponse) Validate ¶
func (m *SchemaWriteResponse) Validate() error
Validate checks the field values on SchemaWriteResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SchemaWriteResponseValidationError ¶
type SchemaWriteResponseValidationError struct {
// contains filtered or unexported fields
}
SchemaWriteResponseValidationError is the validation error returned by SchemaWriteResponse.Validate if the designated constraints aren't met.
func (SchemaWriteResponseValidationError) Cause ¶
func (e SchemaWriteResponseValidationError) Cause() error
Cause function returns cause value.
func (SchemaWriteResponseValidationError) Error ¶
func (e SchemaWriteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SchemaWriteResponseValidationError) ErrorName ¶
func (e SchemaWriteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SchemaWriteResponseValidationError) Field ¶
func (e SchemaWriteResponseValidationError) Field() string
Field function returns field value.
func (SchemaWriteResponseValidationError) Key ¶
func (e SchemaWriteResponseValidationError) Key() bool
Key function returns key value.
func (SchemaWriteResponseValidationError) Reason ¶
func (e SchemaWriteResponseValidationError) Reason() string
Reason function returns reason value.
type Subject ¶
type Subject struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
Subject
func (*Subject) Descriptor
deprecated
func (*Subject) GetRelation ¶
func (*Subject) MarshalToSizedBufferVT ¶
func (*Subject) ProtoMessage ¶
func (*Subject) ProtoMessage()
func (*Subject) ProtoReflect ¶
func (x *Subject) ProtoReflect() protoreflect.Message
func (*Subject) UnmarshalVT ¶
type SubjectFilter ¶
type SubjectFilter struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Ids []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
SubjectFilter is used to filter subjects
func (*SubjectFilter) Descriptor
deprecated
func (*SubjectFilter) Descriptor() ([]byte, []int)
Deprecated: Use SubjectFilter.ProtoReflect.Descriptor instead.
func (*SubjectFilter) GetIds ¶
func (x *SubjectFilter) GetIds() []string
func (*SubjectFilter) GetRelation ¶
func (x *SubjectFilter) GetRelation() string
func (*SubjectFilter) GetType ¶
func (x *SubjectFilter) GetType() string
func (*SubjectFilter) MarshalToSizedBufferVT ¶
func (m *SubjectFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SubjectFilter) MarshalToVT ¶
func (m *SubjectFilter) MarshalToVT(dAtA []byte) (int, error)
func (*SubjectFilter) MarshalVT ¶
func (m *SubjectFilter) MarshalVT() (dAtA []byte, err error)
func (*SubjectFilter) ProtoMessage ¶
func (*SubjectFilter) ProtoMessage()
func (*SubjectFilter) ProtoReflect ¶
func (x *SubjectFilter) ProtoReflect() protoreflect.Message
func (*SubjectFilter) Reset ¶
func (x *SubjectFilter) Reset()
func (*SubjectFilter) SizeVT ¶
func (m *SubjectFilter) SizeVT() (n int)
func (*SubjectFilter) String ¶
func (x *SubjectFilter) String() string
func (*SubjectFilter) UnmarshalVT ¶
func (m *SubjectFilter) UnmarshalVT(dAtA []byte) error
func (*SubjectFilter) Validate ¶
func (m *SubjectFilter) Validate() error
Validate checks the field values on SubjectFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SubjectFilterValidationError ¶
type SubjectFilterValidationError struct {
// contains filtered or unexported fields
}
SubjectFilterValidationError is the validation error returned by SubjectFilter.Validate if the designated constraints aren't met.
func (SubjectFilterValidationError) Cause ¶
func (e SubjectFilterValidationError) Cause() error
Cause function returns cause value.
func (SubjectFilterValidationError) Error ¶
func (e SubjectFilterValidationError) Error() string
Error satisfies the builtin error interface
func (SubjectFilterValidationError) ErrorName ¶
func (e SubjectFilterValidationError) ErrorName() string
ErrorName returns error name.
func (SubjectFilterValidationError) Field ¶
func (e SubjectFilterValidationError) Field() string
Field function returns field value.
func (SubjectFilterValidationError) Key ¶
func (e SubjectFilterValidationError) Key() bool
Key function returns key value.
func (SubjectFilterValidationError) Reason ¶
func (e SubjectFilterValidationError) Reason() string
Reason function returns reason value.
type SubjectValidationError ¶
type SubjectValidationError struct {
// contains filtered or unexported fields
}
SubjectValidationError is the validation error returned by Subject.Validate if the designated constraints aren't met.
func (SubjectValidationError) Cause ¶
func (e SubjectValidationError) Cause() error
Cause function returns cause value.
func (SubjectValidationError) Error ¶
func (e SubjectValidationError) Error() string
Error satisfies the builtin error interface
func (SubjectValidationError) ErrorName ¶
func (e SubjectValidationError) ErrorName() string
ErrorName returns error name.
func (SubjectValidationError) Field ¶
func (e SubjectValidationError) Field() string
Field function returns field value.
func (SubjectValidationError) Key ¶
func (e SubjectValidationError) Key() bool
Key function returns key value.
func (SubjectValidationError) Reason ¶
func (e SubjectValidationError) Reason() string
Reason function returns reason value.
type Subjects ¶ added in v0.3.4
type Subjects struct { Subjects []*Subject `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty"` // contains filtered or unexported fields }
Result
func (*Subjects) Descriptor
deprecated
added in
v0.3.4
func (*Subjects) GetSubjects ¶ added in v0.3.4
func (*Subjects) MarshalToSizedBufferVT ¶ added in v0.3.4
func (*Subjects) MarshalToVT ¶ added in v0.3.4
func (*Subjects) ProtoMessage ¶ added in v0.3.4
func (*Subjects) ProtoMessage()
func (*Subjects) ProtoReflect ¶ added in v0.3.4
func (x *Subjects) ProtoReflect() protoreflect.Message
func (*Subjects) UnmarshalVT ¶ added in v0.3.4
type SubjectsValidationError ¶ added in v0.3.4
type SubjectsValidationError struct {
// contains filtered or unexported fields
}
SubjectsValidationError is the validation error returned by Subjects.Validate if the designated constraints aren't met.
func (SubjectsValidationError) Cause ¶ added in v0.3.4
func (e SubjectsValidationError) Cause() error
Cause function returns cause value.
func (SubjectsValidationError) Error ¶ added in v0.3.4
func (e SubjectsValidationError) Error() string
Error satisfies the builtin error interface
func (SubjectsValidationError) ErrorName ¶ added in v0.3.4
func (e SubjectsValidationError) ErrorName() string
ErrorName returns error name.
func (SubjectsValidationError) Field ¶ added in v0.3.4
func (e SubjectsValidationError) Field() string
Field function returns field value.
func (SubjectsValidationError) Key ¶ added in v0.3.4
func (e SubjectsValidationError) Key() bool
Key function returns key value.
func (SubjectsValidationError) Reason ¶ added in v0.3.4
func (e SubjectsValidationError) Reason() string
Reason function returns reason value.
type TenancyClient ¶
type TenancyClient interface { Create(ctx context.Context, in *TenantCreateRequest, opts ...grpc.CallOption) (*TenantCreateResponse, error) Delete(ctx context.Context, in *TenantDeleteRequest, opts ...grpc.CallOption) (*TenantDeleteResponse, error) List(ctx context.Context, in *TenantListRequest, opts ...grpc.CallOption) (*TenantListResponse, error) }
TenancyClient is the client API for Tenancy 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 NewTenancyClient ¶
func NewTenancyClient(cc grpc.ClientConnInterface) TenancyClient
type TenancyServer ¶
type TenancyServer interface { Create(context.Context, *TenantCreateRequest) (*TenantCreateResponse, error) Delete(context.Context, *TenantDeleteRequest) (*TenantDeleteResponse, error) List(context.Context, *TenantListRequest) (*TenantListResponse, error) // contains filtered or unexported methods }
TenancyServer is the server API for Tenancy service. All implementations must embed UnimplementedTenancyServer for forward compatibility
type Tenant ¶
type Tenant 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"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
Tenant
func (*Tenant) Descriptor
deprecated
func (*Tenant) GetCreatedAt ¶
func (x *Tenant) GetCreatedAt() *timestamppb.Timestamp
func (*Tenant) MarshalToSizedBufferVT ¶
func (*Tenant) ProtoMessage ¶
func (*Tenant) ProtoMessage()
func (*Tenant) ProtoReflect ¶
func (x *Tenant) ProtoReflect() protoreflect.Message
func (*Tenant) UnmarshalVT ¶
type TenantCreateRequest ¶
type TenantCreateRequest 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 }
TenantCreateRequest
func (*TenantCreateRequest) Descriptor
deprecated
func (*TenantCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantCreateRequest.ProtoReflect.Descriptor instead.
func (*TenantCreateRequest) GetId ¶
func (x *TenantCreateRequest) GetId() string
func (*TenantCreateRequest) GetName ¶
func (x *TenantCreateRequest) GetName() string
func (*TenantCreateRequest) MarshalToSizedBufferVT ¶
func (m *TenantCreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TenantCreateRequest) MarshalToVT ¶
func (m *TenantCreateRequest) MarshalToVT(dAtA []byte) (int, error)
func (*TenantCreateRequest) MarshalVT ¶
func (m *TenantCreateRequest) MarshalVT() (dAtA []byte, err error)
func (*TenantCreateRequest) ProtoMessage ¶
func (*TenantCreateRequest) ProtoMessage()
func (*TenantCreateRequest) ProtoReflect ¶
func (x *TenantCreateRequest) ProtoReflect() protoreflect.Message
func (*TenantCreateRequest) Reset ¶
func (x *TenantCreateRequest) Reset()
func (*TenantCreateRequest) SizeVT ¶
func (m *TenantCreateRequest) SizeVT() (n int)
func (*TenantCreateRequest) String ¶
func (x *TenantCreateRequest) String() string
func (*TenantCreateRequest) UnmarshalVT ¶
func (m *TenantCreateRequest) UnmarshalVT(dAtA []byte) error
func (*TenantCreateRequest) Validate ¶
func (m *TenantCreateRequest) Validate() error
Validate checks the field values on TenantCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TenantCreateRequestValidationError ¶
type TenantCreateRequestValidationError struct {
// contains filtered or unexported fields
}
TenantCreateRequestValidationError is the validation error returned by TenantCreateRequest.Validate if the designated constraints aren't met.
func (TenantCreateRequestValidationError) Cause ¶
func (e TenantCreateRequestValidationError) Cause() error
Cause function returns cause value.
func (TenantCreateRequestValidationError) Error ¶
func (e TenantCreateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TenantCreateRequestValidationError) ErrorName ¶
func (e TenantCreateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TenantCreateRequestValidationError) Field ¶
func (e TenantCreateRequestValidationError) Field() string
Field function returns field value.
func (TenantCreateRequestValidationError) Key ¶
func (e TenantCreateRequestValidationError) Key() bool
Key function returns key value.
func (TenantCreateRequestValidationError) Reason ¶
func (e TenantCreateRequestValidationError) Reason() string
Reason function returns reason value.
type TenantCreateResponse ¶
type TenantCreateResponse struct { Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
TenantCreateResponse
func (*TenantCreateResponse) Descriptor
deprecated
func (*TenantCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use TenantCreateResponse.ProtoReflect.Descriptor instead.
func (*TenantCreateResponse) GetTenant ¶
func (x *TenantCreateResponse) GetTenant() *Tenant
func (*TenantCreateResponse) MarshalToSizedBufferVT ¶
func (m *TenantCreateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TenantCreateResponse) MarshalToVT ¶
func (m *TenantCreateResponse) MarshalToVT(dAtA []byte) (int, error)
func (*TenantCreateResponse) MarshalVT ¶
func (m *TenantCreateResponse) MarshalVT() (dAtA []byte, err error)
func (*TenantCreateResponse) ProtoMessage ¶
func (*TenantCreateResponse) ProtoMessage()
func (*TenantCreateResponse) ProtoReflect ¶
func (x *TenantCreateResponse) ProtoReflect() protoreflect.Message
func (*TenantCreateResponse) Reset ¶
func (x *TenantCreateResponse) Reset()
func (*TenantCreateResponse) SizeVT ¶
func (m *TenantCreateResponse) SizeVT() (n int)
func (*TenantCreateResponse) String ¶
func (x *TenantCreateResponse) String() string
func (*TenantCreateResponse) UnmarshalVT ¶
func (m *TenantCreateResponse) UnmarshalVT(dAtA []byte) error
func (*TenantCreateResponse) Validate ¶
func (m *TenantCreateResponse) Validate() error
Validate checks the field values on TenantCreateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TenantCreateResponseValidationError ¶
type TenantCreateResponseValidationError struct {
// contains filtered or unexported fields
}
TenantCreateResponseValidationError is the validation error returned by TenantCreateResponse.Validate if the designated constraints aren't met.
func (TenantCreateResponseValidationError) Cause ¶
func (e TenantCreateResponseValidationError) Cause() error
Cause function returns cause value.
func (TenantCreateResponseValidationError) Error ¶
func (e TenantCreateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (TenantCreateResponseValidationError) ErrorName ¶
func (e TenantCreateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (TenantCreateResponseValidationError) Field ¶
func (e TenantCreateResponseValidationError) Field() string
Field function returns field value.
func (TenantCreateResponseValidationError) Key ¶
func (e TenantCreateResponseValidationError) Key() bool
Key function returns key value.
func (TenantCreateResponseValidationError) Reason ¶
func (e TenantCreateResponseValidationError) Reason() string
Reason function returns reason value.
type TenantDeleteRequest ¶
type TenantDeleteRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
TenantDeleteRequest
func (*TenantDeleteRequest) Descriptor
deprecated
func (*TenantDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantDeleteRequest.ProtoReflect.Descriptor instead.
func (*TenantDeleteRequest) GetId ¶
func (x *TenantDeleteRequest) GetId() string
func (*TenantDeleteRequest) MarshalToSizedBufferVT ¶
func (m *TenantDeleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TenantDeleteRequest) MarshalToVT ¶
func (m *TenantDeleteRequest) MarshalToVT(dAtA []byte) (int, error)
func (*TenantDeleteRequest) MarshalVT ¶
func (m *TenantDeleteRequest) MarshalVT() (dAtA []byte, err error)
func (*TenantDeleteRequest) ProtoMessage ¶
func (*TenantDeleteRequest) ProtoMessage()
func (*TenantDeleteRequest) ProtoReflect ¶
func (x *TenantDeleteRequest) ProtoReflect() protoreflect.Message
func (*TenantDeleteRequest) Reset ¶
func (x *TenantDeleteRequest) Reset()
func (*TenantDeleteRequest) SizeVT ¶
func (m *TenantDeleteRequest) SizeVT() (n int)
func (*TenantDeleteRequest) String ¶
func (x *TenantDeleteRequest) String() string
func (*TenantDeleteRequest) UnmarshalVT ¶
func (m *TenantDeleteRequest) UnmarshalVT(dAtA []byte) error
func (*TenantDeleteRequest) Validate ¶
func (m *TenantDeleteRequest) Validate() error
Validate checks the field values on TenantDeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TenantDeleteRequestValidationError ¶
type TenantDeleteRequestValidationError struct {
// contains filtered or unexported fields
}
TenantDeleteRequestValidationError is the validation error returned by TenantDeleteRequest.Validate if the designated constraints aren't met.
func (TenantDeleteRequestValidationError) Cause ¶
func (e TenantDeleteRequestValidationError) Cause() error
Cause function returns cause value.
func (TenantDeleteRequestValidationError) Error ¶
func (e TenantDeleteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TenantDeleteRequestValidationError) ErrorName ¶
func (e TenantDeleteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TenantDeleteRequestValidationError) Field ¶
func (e TenantDeleteRequestValidationError) Field() string
Field function returns field value.
func (TenantDeleteRequestValidationError) Key ¶
func (e TenantDeleteRequestValidationError) Key() bool
Key function returns key value.
func (TenantDeleteRequestValidationError) Reason ¶
func (e TenantDeleteRequestValidationError) Reason() string
Reason function returns reason value.
type TenantDeleteResponse ¶
type TenantDeleteResponse struct { Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
TenantDeleteResponse
func (*TenantDeleteResponse) Descriptor
deprecated
func (*TenantDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use TenantDeleteResponse.ProtoReflect.Descriptor instead.
func (*TenantDeleteResponse) GetTenant ¶
func (x *TenantDeleteResponse) GetTenant() *Tenant
func (*TenantDeleteResponse) MarshalToSizedBufferVT ¶
func (m *TenantDeleteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TenantDeleteResponse) MarshalToVT ¶
func (m *TenantDeleteResponse) MarshalToVT(dAtA []byte) (int, error)
func (*TenantDeleteResponse) MarshalVT ¶
func (m *TenantDeleteResponse) MarshalVT() (dAtA []byte, err error)
func (*TenantDeleteResponse) ProtoMessage ¶
func (*TenantDeleteResponse) ProtoMessage()
func (*TenantDeleteResponse) ProtoReflect ¶
func (x *TenantDeleteResponse) ProtoReflect() protoreflect.Message
func (*TenantDeleteResponse) Reset ¶
func (x *TenantDeleteResponse) Reset()
func (*TenantDeleteResponse) SizeVT ¶
func (m *TenantDeleteResponse) SizeVT() (n int)
func (*TenantDeleteResponse) String ¶
func (x *TenantDeleteResponse) String() string
func (*TenantDeleteResponse) UnmarshalVT ¶
func (m *TenantDeleteResponse) UnmarshalVT(dAtA []byte) error
func (*TenantDeleteResponse) Validate ¶
func (m *TenantDeleteResponse) Validate() error
Validate checks the field values on TenantDeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TenantDeleteResponseValidationError ¶
type TenantDeleteResponseValidationError struct {
// contains filtered or unexported fields
}
TenantDeleteResponseValidationError is the validation error returned by TenantDeleteResponse.Validate if the designated constraints aren't met.
func (TenantDeleteResponseValidationError) Cause ¶
func (e TenantDeleteResponseValidationError) Cause() error
Cause function returns cause value.
func (TenantDeleteResponseValidationError) Error ¶
func (e TenantDeleteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (TenantDeleteResponseValidationError) ErrorName ¶
func (e TenantDeleteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (TenantDeleteResponseValidationError) Field ¶
func (e TenantDeleteResponseValidationError) Field() string
Field function returns field value.
func (TenantDeleteResponseValidationError) Key ¶
func (e TenantDeleteResponseValidationError) Key() bool
Key function returns key value.
func (TenantDeleteResponseValidationError) Reason ¶
func (e TenantDeleteResponseValidationError) Reason() string
Reason function returns reason value.
type TenantListRequest ¶
type TenantListRequest struct { PageSize uint32 `protobuf:"varint,1,opt,name=page_size,proto3" json:"page_size,omitempty"` ContinuousToken string `protobuf:"bytes,2,opt,name=continuous_token,proto3" json:"continuous_token,omitempty"` // contains filtered or unexported fields }
TenantListRequest
func (*TenantListRequest) Descriptor
deprecated
func (*TenantListRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantListRequest.ProtoReflect.Descriptor instead.
func (*TenantListRequest) GetContinuousToken ¶
func (x *TenantListRequest) GetContinuousToken() string
func (*TenantListRequest) GetPageSize ¶
func (x *TenantListRequest) GetPageSize() uint32
func (*TenantListRequest) MarshalToSizedBufferVT ¶
func (m *TenantListRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TenantListRequest) MarshalToVT ¶
func (m *TenantListRequest) MarshalToVT(dAtA []byte) (int, error)
func (*TenantListRequest) MarshalVT ¶
func (m *TenantListRequest) MarshalVT() (dAtA []byte, err error)
func (*TenantListRequest) ProtoMessage ¶
func (*TenantListRequest) ProtoMessage()
func (*TenantListRequest) ProtoReflect ¶
func (x *TenantListRequest) ProtoReflect() protoreflect.Message
func (*TenantListRequest) Reset ¶
func (x *TenantListRequest) Reset()
func (*TenantListRequest) SizeVT ¶
func (m *TenantListRequest) SizeVT() (n int)
func (*TenantListRequest) String ¶
func (x *TenantListRequest) String() string
func (*TenantListRequest) UnmarshalVT ¶
func (m *TenantListRequest) UnmarshalVT(dAtA []byte) error
func (*TenantListRequest) Validate ¶
func (m *TenantListRequest) Validate() error
Validate checks the field values on TenantListRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TenantListRequestValidationError ¶
type TenantListRequestValidationError struct {
// contains filtered or unexported fields
}
TenantListRequestValidationError is the validation error returned by TenantListRequest.Validate if the designated constraints aren't met.
func (TenantListRequestValidationError) Cause ¶
func (e TenantListRequestValidationError) Cause() error
Cause function returns cause value.
func (TenantListRequestValidationError) Error ¶
func (e TenantListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TenantListRequestValidationError) ErrorName ¶
func (e TenantListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TenantListRequestValidationError) Field ¶
func (e TenantListRequestValidationError) Field() string
Field function returns field value.
func (TenantListRequestValidationError) Key ¶
func (e TenantListRequestValidationError) Key() bool
Key function returns key value.
func (TenantListRequestValidationError) Reason ¶
func (e TenantListRequestValidationError) Reason() string
Reason function returns reason value.
type TenantListResponse ¶
type TenantListResponse struct { Tenants []*Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"` ContinuousToken string `protobuf:"bytes,2,opt,name=continuous_token,proto3" json:"continuous_token,omitempty"` // contains filtered or unexported fields }
TenantListResponse
func (*TenantListResponse) Descriptor
deprecated
func (*TenantListResponse) Descriptor() ([]byte, []int)
Deprecated: Use TenantListResponse.ProtoReflect.Descriptor instead.
func (*TenantListResponse) GetContinuousToken ¶
func (x *TenantListResponse) GetContinuousToken() string
func (*TenantListResponse) GetTenants ¶
func (x *TenantListResponse) GetTenants() []*Tenant
func (*TenantListResponse) MarshalToSizedBufferVT ¶
func (m *TenantListResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TenantListResponse) MarshalToVT ¶
func (m *TenantListResponse) MarshalToVT(dAtA []byte) (int, error)
func (*TenantListResponse) MarshalVT ¶
func (m *TenantListResponse) MarshalVT() (dAtA []byte, err error)
func (*TenantListResponse) ProtoMessage ¶
func (*TenantListResponse) ProtoMessage()
func (*TenantListResponse) ProtoReflect ¶
func (x *TenantListResponse) ProtoReflect() protoreflect.Message
func (*TenantListResponse) Reset ¶
func (x *TenantListResponse) Reset()
func (*TenantListResponse) SizeVT ¶
func (m *TenantListResponse) SizeVT() (n int)
func (*TenantListResponse) String ¶
func (x *TenantListResponse) String() string
func (*TenantListResponse) UnmarshalVT ¶
func (m *TenantListResponse) UnmarshalVT(dAtA []byte) error
func (*TenantListResponse) Validate ¶
func (m *TenantListResponse) Validate() error
Validate checks the field values on TenantListResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TenantListResponseValidationError ¶
type TenantListResponseValidationError struct {
// contains filtered or unexported fields
}
TenantListResponseValidationError is the validation error returned by TenantListResponse.Validate if the designated constraints aren't met.
func (TenantListResponseValidationError) Cause ¶
func (e TenantListResponseValidationError) Cause() error
Cause function returns cause value.
func (TenantListResponseValidationError) Error ¶
func (e TenantListResponseValidationError) Error() string
Error satisfies the builtin error interface
func (TenantListResponseValidationError) ErrorName ¶
func (e TenantListResponseValidationError) ErrorName() string
ErrorName returns error name.
func (TenantListResponseValidationError) Field ¶
func (e TenantListResponseValidationError) Field() string
Field function returns field value.
func (TenantListResponseValidationError) Key ¶
func (e TenantListResponseValidationError) Key() bool
Key function returns key value.
func (TenantListResponseValidationError) Reason ¶
func (e TenantListResponseValidationError) Reason() string
Reason function returns reason value.
type TenantValidationError ¶
type TenantValidationError struct {
// contains filtered or unexported fields
}
TenantValidationError is the validation error returned by Tenant.Validate if the designated constraints aren't met.
func (TenantValidationError) Cause ¶
func (e TenantValidationError) Cause() error
Cause function returns cause value.
func (TenantValidationError) Error ¶
func (e TenantValidationError) Error() string
Error satisfies the builtin error interface
func (TenantValidationError) ErrorName ¶
func (e TenantValidationError) ErrorName() string
ErrorName returns error name.
func (TenantValidationError) Field ¶
func (e TenantValidationError) Field() string
Field function returns field value.
func (TenantValidationError) Key ¶
func (e TenantValidationError) Key() bool
Key function returns key value.
func (TenantValidationError) Reason ¶
func (e TenantValidationError) Reason() string
Reason function returns reason value.
type Tuple ¶
type Tuple struct { Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` Subject *Subject `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` // contains filtered or unexported fields }
Tuple
func (*Tuple) Descriptor
deprecated
func (*Tuple) GetRelation ¶
func (*Tuple) GetSubject ¶
func (*Tuple) MarshalToSizedBufferVT ¶
func (*Tuple) ProtoMessage ¶
func (*Tuple) ProtoMessage()
func (*Tuple) ProtoReflect ¶
func (x *Tuple) ProtoReflect() protoreflect.Message
func (*Tuple) UnmarshalVT ¶
type TupleChange ¶ added in v0.3.5
type TupleChange struct { Operation TupleChange_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=base.v1.TupleChange_Operation" json:"operation,omitempty"` Tuple *Tuple `protobuf:"bytes,2,opt,name=tuple,proto3" json:"tuple,omitempty"` // contains filtered or unexported fields }
TupleChange
func (*TupleChange) Descriptor
deprecated
added in
v0.3.5
func (*TupleChange) Descriptor() ([]byte, []int)
Deprecated: Use TupleChange.ProtoReflect.Descriptor instead.
func (*TupleChange) GetOperation ¶ added in v0.3.5
func (x *TupleChange) GetOperation() TupleChange_Operation
func (*TupleChange) GetTuple ¶ added in v0.3.5
func (x *TupleChange) GetTuple() *Tuple
func (*TupleChange) MarshalToSizedBufferVT ¶ added in v0.3.5
func (m *TupleChange) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TupleChange) MarshalToVT ¶ added in v0.3.5
func (m *TupleChange) MarshalToVT(dAtA []byte) (int, error)
func (*TupleChange) MarshalVT ¶ added in v0.3.5
func (m *TupleChange) MarshalVT() (dAtA []byte, err error)
func (*TupleChange) ProtoMessage ¶ added in v0.3.5
func (*TupleChange) ProtoMessage()
func (*TupleChange) ProtoReflect ¶ added in v0.3.5
func (x *TupleChange) ProtoReflect() protoreflect.Message
func (*TupleChange) Reset ¶ added in v0.3.5
func (x *TupleChange) Reset()
func (*TupleChange) SizeVT ¶ added in v0.3.5
func (m *TupleChange) SizeVT() (n int)
func (*TupleChange) String ¶ added in v0.3.5
func (x *TupleChange) String() string
func (*TupleChange) UnmarshalVT ¶ added in v0.3.5
func (m *TupleChange) UnmarshalVT(dAtA []byte) error
func (*TupleChange) Validate ¶ added in v0.3.5
func (m *TupleChange) Validate() error
Validate checks the field values on TupleChange with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TupleChangeValidationError ¶ added in v0.3.5
type TupleChangeValidationError struct {
// contains filtered or unexported fields
}
TupleChangeValidationError is the validation error returned by TupleChange.Validate if the designated constraints aren't met.
func (TupleChangeValidationError) Cause ¶ added in v0.3.5
func (e TupleChangeValidationError) Cause() error
Cause function returns cause value.
func (TupleChangeValidationError) Error ¶ added in v0.3.5
func (e TupleChangeValidationError) Error() string
Error satisfies the builtin error interface
func (TupleChangeValidationError) ErrorName ¶ added in v0.3.5
func (e TupleChangeValidationError) ErrorName() string
ErrorName returns error name.
func (TupleChangeValidationError) Field ¶ added in v0.3.5
func (e TupleChangeValidationError) Field() string
Field function returns field value.
func (TupleChangeValidationError) Key ¶ added in v0.3.5
func (e TupleChangeValidationError) Key() bool
Key function returns key value.
func (TupleChangeValidationError) Reason ¶ added in v0.3.5
func (e TupleChangeValidationError) Reason() string
Reason function returns reason value.
type TupleChange_Operation ¶ added in v0.3.5
type TupleChange_Operation int32
const ( TupleChange_OPERATION_UNSPECIFIED TupleChange_Operation = 0 TupleChange_OPERATION_CREATE TupleChange_Operation = 1 TupleChange_OPERATION_DELETE TupleChange_Operation = 2 )
func (TupleChange_Operation) Descriptor ¶ added in v0.3.5
func (TupleChange_Operation) Descriptor() protoreflect.EnumDescriptor
func (TupleChange_Operation) Enum ¶ added in v0.3.5
func (x TupleChange_Operation) Enum() *TupleChange_Operation
func (TupleChange_Operation) EnumDescriptor
deprecated
added in
v0.3.5
func (TupleChange_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use TupleChange_Operation.Descriptor instead.
func (TupleChange_Operation) Number ¶ added in v0.3.5
func (x TupleChange_Operation) Number() protoreflect.EnumNumber
func (TupleChange_Operation) String ¶ added in v0.3.5
func (x TupleChange_Operation) String() string
func (TupleChange_Operation) Type ¶ added in v0.3.5
func (TupleChange_Operation) Type() protoreflect.EnumType
type TupleChanges ¶ added in v0.3.5
type TupleChanges struct { SnapToken string `protobuf:"bytes,1,opt,name=snap_token,proto3" json:"snap_token,omitempty"` TupleChanges []*TupleChange `protobuf:"bytes,2,rep,name=tuple_changes,proto3" json:"tuple_changes,omitempty"` // contains filtered or unexported fields }
TupleChanges
func (*TupleChanges) Descriptor
deprecated
added in
v0.3.5
func (*TupleChanges) Descriptor() ([]byte, []int)
Deprecated: Use TupleChanges.ProtoReflect.Descriptor instead.
func (*TupleChanges) GetSnapToken ¶ added in v0.3.5
func (x *TupleChanges) GetSnapToken() string
func (*TupleChanges) GetTupleChanges ¶ added in v0.3.5
func (x *TupleChanges) GetTupleChanges() []*TupleChange
func (*TupleChanges) MarshalToSizedBufferVT ¶ added in v0.3.5
func (m *TupleChanges) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TupleChanges) MarshalToVT ¶ added in v0.3.5
func (m *TupleChanges) MarshalToVT(dAtA []byte) (int, error)
func (*TupleChanges) MarshalVT ¶ added in v0.3.5
func (m *TupleChanges) MarshalVT() (dAtA []byte, err error)
func (*TupleChanges) ProtoMessage ¶ added in v0.3.5
func (*TupleChanges) ProtoMessage()
func (*TupleChanges) ProtoReflect ¶ added in v0.3.5
func (x *TupleChanges) ProtoReflect() protoreflect.Message
func (*TupleChanges) Reset ¶ added in v0.3.5
func (x *TupleChanges) Reset()
func (*TupleChanges) SizeVT ¶ added in v0.3.5
func (m *TupleChanges) SizeVT() (n int)
func (*TupleChanges) String ¶ added in v0.3.5
func (x *TupleChanges) String() string
func (*TupleChanges) UnmarshalVT ¶ added in v0.3.5
func (m *TupleChanges) UnmarshalVT(dAtA []byte) error
func (*TupleChanges) Validate ¶ added in v0.3.5
func (m *TupleChanges) Validate() error
Validate checks the field values on TupleChanges with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TupleChangesValidationError ¶ added in v0.3.5
type TupleChangesValidationError struct {
// contains filtered or unexported fields
}
TupleChangesValidationError is the validation error returned by TupleChanges.Validate if the designated constraints aren't met.
func (TupleChangesValidationError) Cause ¶ added in v0.3.5
func (e TupleChangesValidationError) Cause() error
Cause function returns cause value.
func (TupleChangesValidationError) Error ¶ added in v0.3.5
func (e TupleChangesValidationError) Error() string
Error satisfies the builtin error interface
func (TupleChangesValidationError) ErrorName ¶ added in v0.3.5
func (e TupleChangesValidationError) ErrorName() string
ErrorName returns error name.
func (TupleChangesValidationError) Field ¶ added in v0.3.5
func (e TupleChangesValidationError) Field() string
Field function returns field value.
func (TupleChangesValidationError) Key ¶ added in v0.3.5
func (e TupleChangesValidationError) Key() bool
Key function returns key value.
func (TupleChangesValidationError) Reason ¶ added in v0.3.5
func (e TupleChangesValidationError) Reason() string
Reason function returns reason value.
type TupleFilter ¶
type TupleFilter struct { Entity *EntityFilter `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` Subject *SubjectFilter `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` // contains filtered or unexported fields }
TupleFilter is used to filter tuples
func (*TupleFilter) Descriptor
deprecated
func (*TupleFilter) Descriptor() ([]byte, []int)
Deprecated: Use TupleFilter.ProtoReflect.Descriptor instead.
func (*TupleFilter) GetEntity ¶
func (x *TupleFilter) GetEntity() *EntityFilter
func (*TupleFilter) GetRelation ¶
func (x *TupleFilter) GetRelation() string
func (*TupleFilter) GetSubject ¶
func (x *TupleFilter) GetSubject() *SubjectFilter
func (*TupleFilter) MarshalToSizedBufferVT ¶
func (m *TupleFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TupleFilter) MarshalToVT ¶
func (m *TupleFilter) MarshalToVT(dAtA []byte) (int, error)
func (*TupleFilter) MarshalVT ¶
func (m *TupleFilter) MarshalVT() (dAtA []byte, err error)
func (*TupleFilter) ProtoMessage ¶
func (*TupleFilter) ProtoMessage()
func (*TupleFilter) ProtoReflect ¶
func (x *TupleFilter) ProtoReflect() protoreflect.Message
func (*TupleFilter) Reset ¶
func (x *TupleFilter) Reset()
func (*TupleFilter) SizeVT ¶
func (m *TupleFilter) SizeVT() (n int)
func (*TupleFilter) String ¶
func (x *TupleFilter) String() string
func (*TupleFilter) UnmarshalVT ¶
func (m *TupleFilter) UnmarshalVT(dAtA []byte) error
func (*TupleFilter) Validate ¶
func (m *TupleFilter) Validate() error
Validate checks the field values on TupleFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TupleFilterValidationError ¶
type TupleFilterValidationError struct {
// contains filtered or unexported fields
}
TupleFilterValidationError is the validation error returned by TupleFilter.Validate if the designated constraints aren't met.
func (TupleFilterValidationError) Cause ¶
func (e TupleFilterValidationError) Cause() error
Cause function returns cause value.
func (TupleFilterValidationError) Error ¶
func (e TupleFilterValidationError) Error() string
Error satisfies the builtin error interface
func (TupleFilterValidationError) ErrorName ¶
func (e TupleFilterValidationError) ErrorName() string
ErrorName returns error name.
func (TupleFilterValidationError) Field ¶
func (e TupleFilterValidationError) Field() string
Field function returns field value.
func (TupleFilterValidationError) Key ¶
func (e TupleFilterValidationError) Key() bool
Key function returns key value.
func (TupleFilterValidationError) Reason ¶
func (e TupleFilterValidationError) Reason() string
Reason function returns reason value.
type TupleSet ¶
type TupleSet struct { Relation string `protobuf:"bytes,1,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
TupleSet
func (*TupleSet) Descriptor
deprecated
func (*TupleSet) GetRelation ¶
func (*TupleSet) MarshalToSizedBufferVT ¶
func (*TupleSet) ProtoMessage ¶
func (*TupleSet) ProtoMessage()
func (*TupleSet) ProtoReflect ¶
func (x *TupleSet) ProtoReflect() protoreflect.Message
func (*TupleSet) UnmarshalVT ¶
type TupleSetValidationError ¶
type TupleSetValidationError struct {
// contains filtered or unexported fields
}
TupleSetValidationError is the validation error returned by TupleSet.Validate if the designated constraints aren't met.
func (TupleSetValidationError) Cause ¶
func (e TupleSetValidationError) Cause() error
Cause function returns cause value.
func (TupleSetValidationError) Error ¶
func (e TupleSetValidationError) Error() string
Error satisfies the builtin error interface
func (TupleSetValidationError) ErrorName ¶
func (e TupleSetValidationError) ErrorName() string
ErrorName returns error name.
func (TupleSetValidationError) Field ¶
func (e TupleSetValidationError) Field() string
Field function returns field value.
func (TupleSetValidationError) Key ¶
func (e TupleSetValidationError) Key() bool
Key function returns key value.
func (TupleSetValidationError) Reason ¶
func (e TupleSetValidationError) Reason() string
Reason function returns reason value.
type TupleToUserSet ¶
type TupleToUserSet struct { TupleSet *TupleSet `protobuf:"bytes,1,opt,name=tupleSet,proto3" json:"tupleSet,omitempty"` Computed *ComputedUserSet `protobuf:"bytes,2,opt,name=computed,proto3" json:"computed,omitempty"` // contains filtered or unexported fields }
TupleToUserSet
func (*TupleToUserSet) Descriptor
deprecated
func (*TupleToUserSet) Descriptor() ([]byte, []int)
Deprecated: Use TupleToUserSet.ProtoReflect.Descriptor instead.
func (*TupleToUserSet) GetComputed ¶
func (x *TupleToUserSet) GetComputed() *ComputedUserSet
func (*TupleToUserSet) GetTupleSet ¶
func (x *TupleToUserSet) GetTupleSet() *TupleSet
func (*TupleToUserSet) MarshalToSizedBufferVT ¶
func (m *TupleToUserSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TupleToUserSet) MarshalToVT ¶
func (m *TupleToUserSet) MarshalToVT(dAtA []byte) (int, error)
func (*TupleToUserSet) MarshalVT ¶
func (m *TupleToUserSet) MarshalVT() (dAtA []byte, err error)
func (*TupleToUserSet) ProtoMessage ¶
func (*TupleToUserSet) ProtoMessage()
func (*TupleToUserSet) ProtoReflect ¶
func (x *TupleToUserSet) ProtoReflect() protoreflect.Message
func (*TupleToUserSet) Reset ¶
func (x *TupleToUserSet) Reset()
func (*TupleToUserSet) SizeVT ¶
func (m *TupleToUserSet) SizeVT() (n int)
func (*TupleToUserSet) String ¶
func (x *TupleToUserSet) String() string
func (*TupleToUserSet) UnmarshalVT ¶
func (m *TupleToUserSet) UnmarshalVT(dAtA []byte) error
func (*TupleToUserSet) Validate ¶
func (m *TupleToUserSet) Validate() error
Validate checks the field values on TupleToUserSet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TupleToUserSetValidationError ¶
type TupleToUserSetValidationError struct {
// contains filtered or unexported fields
}
TupleToUserSetValidationError is the validation error returned by TupleToUserSet.Validate if the designated constraints aren't met.
func (TupleToUserSetValidationError) Cause ¶
func (e TupleToUserSetValidationError) Cause() error
Cause function returns cause value.
func (TupleToUserSetValidationError) Error ¶
func (e TupleToUserSetValidationError) Error() string
Error satisfies the builtin error interface
func (TupleToUserSetValidationError) ErrorName ¶
func (e TupleToUserSetValidationError) ErrorName() string
ErrorName returns error name.
func (TupleToUserSetValidationError) Field ¶
func (e TupleToUserSetValidationError) Field() string
Field function returns field value.
func (TupleToUserSetValidationError) Key ¶
func (e TupleToUserSetValidationError) Key() bool
Key function returns key value.
func (TupleToUserSetValidationError) Reason ¶
func (e TupleToUserSetValidationError) Reason() string
Reason function returns reason value.
type TupleValidationError ¶
type TupleValidationError struct {
// contains filtered or unexported fields
}
TupleValidationError is the validation error returned by Tuple.Validate if the designated constraints aren't met.
func (TupleValidationError) Cause ¶
func (e TupleValidationError) Cause() error
Cause function returns cause value.
func (TupleValidationError) Error ¶
func (e TupleValidationError) Error() string
Error satisfies the builtin error interface
func (TupleValidationError) ErrorName ¶
func (e TupleValidationError) ErrorName() string
ErrorName returns error name.
func (TupleValidationError) Field ¶
func (e TupleValidationError) Field() string
Field function returns field value.
func (TupleValidationError) Key ¶
func (e TupleValidationError) Key() bool
Key function returns key value.
func (TupleValidationError) Reason ¶
func (e TupleValidationError) Reason() string
Reason function returns reason value.
type Tuples ¶
type Tuples struct { Tuples []*Tuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"` // contains filtered or unexported fields }
Tuples
func (*Tuples) Descriptor
deprecated
func (*Tuples) MarshalToSizedBufferVT ¶
func (*Tuples) ProtoMessage ¶
func (*Tuples) ProtoMessage()
func (*Tuples) ProtoReflect ¶
func (x *Tuples) ProtoReflect() protoreflect.Message
func (*Tuples) UnmarshalVT ¶
type TuplesValidationError ¶
type TuplesValidationError struct {
// contains filtered or unexported fields
}
TuplesValidationError is the validation error returned by Tuples.Validate if the designated constraints aren't met.
func (TuplesValidationError) Cause ¶
func (e TuplesValidationError) Cause() error
Cause function returns cause value.
func (TuplesValidationError) Error ¶
func (e TuplesValidationError) Error() string
Error satisfies the builtin error interface
func (TuplesValidationError) ErrorName ¶
func (e TuplesValidationError) ErrorName() string
ErrorName returns error name.
func (TuplesValidationError) Field ¶
func (e TuplesValidationError) Field() string
Field function returns field value.
func (TuplesValidationError) Key ¶
func (e TuplesValidationError) Key() bool
Key function returns key value.
func (TuplesValidationError) Reason ¶
func (e TuplesValidationError) Reason() string
Reason function returns reason value.
type UnimplementedPermissionServer ¶
type UnimplementedPermissionServer struct { }
UnimplementedPermissionServer must be embedded to have forward compatible implementations.
func (UnimplementedPermissionServer) Check ¶
func (UnimplementedPermissionServer) Check(context.Context, *PermissionCheckRequest) (*PermissionCheckResponse, error)
func (UnimplementedPermissionServer) Expand ¶
func (UnimplementedPermissionServer) Expand(context.Context, *PermissionExpandRequest) (*PermissionExpandResponse, error)
func (UnimplementedPermissionServer) LookupEntity ¶
func (UnimplementedPermissionServer) LookupEntity(context.Context, *PermissionLookupEntityRequest) (*PermissionLookupEntityResponse, error)
func (UnimplementedPermissionServer) LookupEntityStream ¶
func (UnimplementedPermissionServer) LookupEntityStream(*PermissionLookupEntityRequest, Permission_LookupEntityStreamServer) error
func (UnimplementedPermissionServer) LookupSubject ¶ added in v0.3.4
func (UnimplementedPermissionServer) LookupSubject(context.Context, *PermissionLookupSubjectRequest) (*PermissionLookupSubjectResponse, error)
type UnimplementedRelationshipServer ¶
type UnimplementedRelationshipServer struct { }
UnimplementedRelationshipServer must be embedded to have forward compatible implementations.
func (UnimplementedRelationshipServer) Delete ¶
func (UnimplementedRelationshipServer) Delete(context.Context, *RelationshipDeleteRequest) (*RelationshipDeleteResponse, error)
func (UnimplementedRelationshipServer) Write ¶
func (UnimplementedRelationshipServer) Write(context.Context, *RelationshipWriteRequest) (*RelationshipWriteResponse, error)
type UnimplementedSchemaServer ¶
type UnimplementedSchemaServer struct { }
UnimplementedSchemaServer must be embedded to have forward compatible implementations.
func (UnimplementedSchemaServer) Read ¶
func (UnimplementedSchemaServer) Read(context.Context, *SchemaReadRequest) (*SchemaReadResponse, error)
func (UnimplementedSchemaServer) Write ¶
func (UnimplementedSchemaServer) Write(context.Context, *SchemaWriteRequest) (*SchemaWriteResponse, error)
type UnimplementedTenancyServer ¶
type UnimplementedTenancyServer struct { }
UnimplementedTenancyServer must be embedded to have forward compatible implementations.
func (UnimplementedTenancyServer) Create ¶
func (UnimplementedTenancyServer) Create(context.Context, *TenantCreateRequest) (*TenantCreateResponse, error)
func (UnimplementedTenancyServer) Delete ¶
func (UnimplementedTenancyServer) Delete(context.Context, *TenantDeleteRequest) (*TenantDeleteResponse, error)
func (UnimplementedTenancyServer) List ¶
func (UnimplementedTenancyServer) List(context.Context, *TenantListRequest) (*TenantListResponse, error)
type UnimplementedWatchServer ¶ added in v0.3.5
type UnimplementedWatchServer struct { }
UnimplementedWatchServer must be embedded to have forward compatible implementations.
func (UnimplementedWatchServer) Watch ¶ added in v0.3.5
func (UnimplementedWatchServer) Watch(*WatchRequest, Watch_WatchServer) error
type UnsafePermissionServer ¶
type UnsafePermissionServer interface {
// contains filtered or unexported methods
}
UnsafePermissionServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PermissionServer will result in compilation errors.
type UnsafeRelationshipServer ¶
type UnsafeRelationshipServer interface {
// contains filtered or unexported methods
}
UnsafeRelationshipServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RelationshipServer will result in compilation errors.
type UnsafeSchemaServer ¶
type UnsafeSchemaServer interface {
// contains filtered or unexported methods
}
UnsafeSchemaServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SchemaServer will result in compilation errors.
type UnsafeTenancyServer ¶
type UnsafeTenancyServer interface {
// contains filtered or unexported methods
}
UnsafeTenancyServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TenancyServer will result in compilation errors.
type UnsafeWatchServer ¶ added in v0.3.5
type UnsafeWatchServer interface {
// contains filtered or unexported methods
}
UnsafeWatchServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WatchServer will result in compilation errors.
type WatchClient ¶ added in v0.3.5
type WatchClient interface {
Watch(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (Watch_WatchClient, error)
}
WatchClient is the client API for Watch 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 NewWatchClient ¶ added in v0.3.5
func NewWatchClient(cc grpc.ClientConnInterface) WatchClient
type WatchRequest ¶ added in v0.3.5
type WatchRequest struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"` SnapToken string `protobuf:"bytes,2,opt,name=snap_token,proto3" json:"snap_token,omitempty"` // contains filtered or unexported fields }
WatchRequest
func (*WatchRequest) Descriptor
deprecated
added in
v0.3.5
func (*WatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchRequest.ProtoReflect.Descriptor instead.
func (*WatchRequest) GetSnapToken ¶ added in v0.3.5
func (x *WatchRequest) GetSnapToken() string
func (*WatchRequest) GetTenantId ¶ added in v0.3.5
func (x *WatchRequest) GetTenantId() string
func (*WatchRequest) MarshalToSizedBufferVT ¶ added in v0.3.5
func (m *WatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WatchRequest) MarshalToVT ¶ added in v0.3.5
func (m *WatchRequest) MarshalToVT(dAtA []byte) (int, error)
func (*WatchRequest) MarshalVT ¶ added in v0.3.5
func (m *WatchRequest) MarshalVT() (dAtA []byte, err error)
func (*WatchRequest) ProtoMessage ¶ added in v0.3.5
func (*WatchRequest) ProtoMessage()
func (*WatchRequest) ProtoReflect ¶ added in v0.3.5
func (x *WatchRequest) ProtoReflect() protoreflect.Message
func (*WatchRequest) Reset ¶ added in v0.3.5
func (x *WatchRequest) Reset()
func (*WatchRequest) SizeVT ¶ added in v0.3.5
func (m *WatchRequest) SizeVT() (n int)
func (*WatchRequest) String ¶ added in v0.3.5
func (x *WatchRequest) String() string
func (*WatchRequest) UnmarshalVT ¶ added in v0.3.5
func (m *WatchRequest) UnmarshalVT(dAtA []byte) error
func (*WatchRequest) Validate ¶ added in v0.3.5
func (m *WatchRequest) Validate() error
Validate checks the field values on WatchRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type WatchRequestValidationError ¶ added in v0.3.5
type WatchRequestValidationError struct {
// contains filtered or unexported fields
}
WatchRequestValidationError is the validation error returned by WatchRequest.Validate if the designated constraints aren't met.
func (WatchRequestValidationError) Cause ¶ added in v0.3.5
func (e WatchRequestValidationError) Cause() error
Cause function returns cause value.
func (WatchRequestValidationError) Error ¶ added in v0.3.5
func (e WatchRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WatchRequestValidationError) ErrorName ¶ added in v0.3.5
func (e WatchRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WatchRequestValidationError) Field ¶ added in v0.3.5
func (e WatchRequestValidationError) Field() string
Field function returns field value.
func (WatchRequestValidationError) Key ¶ added in v0.3.5
func (e WatchRequestValidationError) Key() bool
Key function returns key value.
func (WatchRequestValidationError) Reason ¶ added in v0.3.5
func (e WatchRequestValidationError) Reason() string
Reason function returns reason value.
type WatchResponse ¶ added in v0.3.5
type WatchResponse struct { Changes *TupleChanges `protobuf:"bytes,1,opt,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
WatchResponse
func (*WatchResponse) Descriptor
deprecated
added in
v0.3.5
func (*WatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use WatchResponse.ProtoReflect.Descriptor instead.
func (*WatchResponse) GetChanges ¶ added in v0.3.5
func (x *WatchResponse) GetChanges() *TupleChanges
func (*WatchResponse) MarshalToSizedBufferVT ¶ added in v0.3.5
func (m *WatchResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WatchResponse) MarshalToVT ¶ added in v0.3.5
func (m *WatchResponse) MarshalToVT(dAtA []byte) (int, error)
func (*WatchResponse) MarshalVT ¶ added in v0.3.5
func (m *WatchResponse) MarshalVT() (dAtA []byte, err error)
func (*WatchResponse) ProtoMessage ¶ added in v0.3.5
func (*WatchResponse) ProtoMessage()
func (*WatchResponse) ProtoReflect ¶ added in v0.3.5
func (x *WatchResponse) ProtoReflect() protoreflect.Message
func (*WatchResponse) Reset ¶ added in v0.3.5
func (x *WatchResponse) Reset()
func (*WatchResponse) SizeVT ¶ added in v0.3.5
func (m *WatchResponse) SizeVT() (n int)
func (*WatchResponse) String ¶ added in v0.3.5
func (x *WatchResponse) String() string
func (*WatchResponse) UnmarshalVT ¶ added in v0.3.5
func (m *WatchResponse) UnmarshalVT(dAtA []byte) error
func (*WatchResponse) Validate ¶ added in v0.3.5
func (m *WatchResponse) Validate() error
Validate checks the field values on WatchResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type WatchResponseValidationError ¶ added in v0.3.5
type WatchResponseValidationError struct {
// contains filtered or unexported fields
}
WatchResponseValidationError is the validation error returned by WatchResponse.Validate if the designated constraints aren't met.
func (WatchResponseValidationError) Cause ¶ added in v0.3.5
func (e WatchResponseValidationError) Cause() error
Cause function returns cause value.
func (WatchResponseValidationError) Error ¶ added in v0.3.5
func (e WatchResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WatchResponseValidationError) ErrorName ¶ added in v0.3.5
func (e WatchResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WatchResponseValidationError) Field ¶ added in v0.3.5
func (e WatchResponseValidationError) Field() string
Field function returns field value.
func (WatchResponseValidationError) Key ¶ added in v0.3.5
func (e WatchResponseValidationError) Key() bool
Key function returns key value.
func (WatchResponseValidationError) Reason ¶ added in v0.3.5
func (e WatchResponseValidationError) Reason() string
Reason function returns reason value.
type WatchServer ¶ added in v0.3.5
type WatchServer interface { Watch(*WatchRequest, Watch_WatchServer) error // contains filtered or unexported methods }
WatchServer is the server API for Watch service. All implementations must embed UnimplementedWatchServer for forward compatibility
type Watch_WatchClient ¶ added in v0.3.5
type Watch_WatchClient interface { Recv() (*WatchResponse, error) grpc.ClientStream }
type Watch_WatchServer ¶ added in v0.3.5
type Watch_WatchServer interface { Send(*WatchResponse) error grpc.ServerStream }