Documentation ¶
Index ¶
- Variables
- func ToV0NamespaceDefinition(def *NamespaceDefinition) *v0.NamespaceDefinition
- func ToV0NamespaceDefinitions(defs []*NamespaceDefinition) []*v0.NamespaceDefinition
- func ToV0ObjectAndRelation(onr *ObjectAndRelation) *v0.ObjectAndRelation
- func ToV0RelationReference(ref *RelationReference) *v0.RelationReference
- func ToV0RelationTuple(tuple *RelationTuple) *v0.RelationTuple
- func ToV0RelationTupleTreeNode(treenode *RelationTupleTreeNode) *v0.RelationTupleTreeNode
- func ToV0RelationTupleUpdate(update *RelationTupleUpdate) *v0.RelationTupleUpdate
- func ToV0RelationTupleUpdates(updates []*RelationTupleUpdate) []*v0.RelationTupleUpdate
- func ToV0RelationTuples(tuples []*RelationTuple) []*v0.RelationTuple
- func ToV0Zookie(zookie *Zookie) *v0.Zookie
- type AllowedRelation
- func (*AllowedRelation) Descriptor() ([]byte, []int)deprecated
- func (x *AllowedRelation) GetNamespace() string
- func (x *AllowedRelation) GetPublicWildcard() *AllowedRelation_PublicWildcard
- func (x *AllowedRelation) GetRelation() string
- func (m *AllowedRelation) GetRelationOrWildcard() isAllowedRelation_RelationOrWildcard
- func (x *AllowedRelation) GetSourcePosition() *SourcePosition
- func (*AllowedRelation) ProtoMessage()
- func (x *AllowedRelation) ProtoReflect() protoreflect.Message
- func (x *AllowedRelation) Reset()
- func (x *AllowedRelation) String() string
- func (m *AllowedRelation) Validate() error
- func (m *AllowedRelation) ValidateAll() error
- type AllowedRelationMultiError
- type AllowedRelationValidationError
- func (e AllowedRelationValidationError) Cause() error
- func (e AllowedRelationValidationError) Error() string
- func (e AllowedRelationValidationError) ErrorName() string
- func (e AllowedRelationValidationError) Field() string
- func (e AllowedRelationValidationError) Key() bool
- func (e AllowedRelationValidationError) Reason() string
- type AllowedRelation_PublicWildcard
- func (*AllowedRelation_PublicWildcard) Descriptor() ([]byte, []int)deprecated
- func (*AllowedRelation_PublicWildcard) ProtoMessage()
- func (x *AllowedRelation_PublicWildcard) ProtoReflect() protoreflect.Message
- func (x *AllowedRelation_PublicWildcard) Reset()
- func (x *AllowedRelation_PublicWildcard) String() string
- func (m *AllowedRelation_PublicWildcard) Validate() error
- func (m *AllowedRelation_PublicWildcard) ValidateAll() error
- type AllowedRelation_PublicWildcardMultiError
- type AllowedRelation_PublicWildcardValidationError
- func (e AllowedRelation_PublicWildcardValidationError) Cause() error
- func (e AllowedRelation_PublicWildcardValidationError) Error() string
- func (e AllowedRelation_PublicWildcardValidationError) ErrorName() string
- func (e AllowedRelation_PublicWildcardValidationError) Field() string
- func (e AllowedRelation_PublicWildcardValidationError) Key() bool
- func (e AllowedRelation_PublicWildcardValidationError) Reason() string
- type AllowedRelation_PublicWildcard_
- type AllowedRelation_Relation
- type ComputedUserset
- func (*ComputedUserset) Descriptor() ([]byte, []int)deprecated
- func (x *ComputedUserset) GetObject() ComputedUserset_Object
- func (x *ComputedUserset) GetRelation() string
- func (x *ComputedUserset) GetSourcePosition() *SourcePosition
- func (*ComputedUserset) ProtoMessage()
- func (x *ComputedUserset) ProtoReflect() protoreflect.Message
- func (x *ComputedUserset) Reset()
- func (x *ComputedUserset) String() string
- func (m *ComputedUserset) Validate() error
- func (m *ComputedUserset) ValidateAll() error
- type ComputedUsersetMultiError
- 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 ComputedUserset_Object
- func (ComputedUserset_Object) Descriptor() protoreflect.EnumDescriptor
- func (x ComputedUserset_Object) Enum() *ComputedUserset_Object
- func (ComputedUserset_Object) EnumDescriptor() ([]byte, []int)deprecated
- func (x ComputedUserset_Object) Number() protoreflect.EnumNumber
- func (x ComputedUserset_Object) String() string
- func (ComputedUserset_Object) Type() protoreflect.EnumType
- type DirectUserset
- func (*DirectUserset) Descriptor() ([]byte, []int)deprecated
- func (x *DirectUserset) GetUsers() []*User
- func (*DirectUserset) ProtoMessage()
- func (x *DirectUserset) ProtoReflect() protoreflect.Message
- func (x *DirectUserset) Reset()
- func (x *DirectUserset) String() string
- func (m *DirectUserset) Validate() error
- func (m *DirectUserset) ValidateAll() error
- type DirectUsersetMultiError
- type DirectUsersetValidationError
- func (e DirectUsersetValidationError) Cause() error
- func (e DirectUsersetValidationError) Error() string
- func (e DirectUsersetValidationError) ErrorName() string
- func (e DirectUsersetValidationError) Field() string
- func (e DirectUsersetValidationError) Key() bool
- func (e DirectUsersetValidationError) Reason() string
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetMetadataMessage() []*anypb.Any
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- func (m *Metadata) Validate() error
- func (m *Metadata) ValidateAll() error
- type MetadataMultiError
- type MetadataValidationError
- type NamespaceDefinition
- func (*NamespaceDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceDefinition) GetMetadata() *Metadata
- func (x *NamespaceDefinition) GetName() string
- func (x *NamespaceDefinition) GetRelation() []*Relation
- func (x *NamespaceDefinition) GetSourcePosition() *SourcePosition
- func (*NamespaceDefinition) ProtoMessage()
- func (x *NamespaceDefinition) ProtoReflect() protoreflect.Message
- func (x *NamespaceDefinition) Reset()
- func (x *NamespaceDefinition) String() string
- func (m *NamespaceDefinition) Validate() error
- func (m *NamespaceDefinition) ValidateAll() error
- type NamespaceDefinitionMultiError
- type NamespaceDefinitionValidationError
- func (e NamespaceDefinitionValidationError) Cause() error
- func (e NamespaceDefinitionValidationError) Error() string
- func (e NamespaceDefinitionValidationError) ErrorName() string
- func (e NamespaceDefinitionValidationError) Field() string
- func (e NamespaceDefinitionValidationError) Key() bool
- func (e NamespaceDefinitionValidationError) Reason() string
- type ObjectAndRelation
- func (*ObjectAndRelation) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectAndRelation) GetNamespace() string
- func (x *ObjectAndRelation) GetObjectId() string
- func (x *ObjectAndRelation) GetRelation() string
- func (*ObjectAndRelation) ProtoMessage()
- func (x *ObjectAndRelation) ProtoReflect() protoreflect.Message
- func (x *ObjectAndRelation) Reset()
- func (x *ObjectAndRelation) String() string
- func (m *ObjectAndRelation) Validate() error
- func (m *ObjectAndRelation) ValidateAll() error
- type ObjectAndRelationMultiError
- type ObjectAndRelationValidationError
- func (e ObjectAndRelationValidationError) Cause() error
- func (e ObjectAndRelationValidationError) Error() string
- func (e ObjectAndRelationValidationError) ErrorName() string
- func (e ObjectAndRelationValidationError) Field() string
- func (e ObjectAndRelationValidationError) Key() bool
- func (e ObjectAndRelationValidationError) Reason() string
- type Relation
- func (*Relation) Descriptor() ([]byte, []int)deprecated
- func (x *Relation) GetAliasingRelation() string
- func (x *Relation) GetCanonicalCacheKey() string
- func (x *Relation) GetMetadata() *Metadata
- func (x *Relation) GetName() string
- func (x *Relation) GetSourcePosition() *SourcePosition
- func (x *Relation) GetTypeInformation() *TypeInformation
- func (x *Relation) GetUsersetRewrite() *UsersetRewrite
- func (*Relation) ProtoMessage()
- func (x *Relation) ProtoReflect() protoreflect.Message
- func (x *Relation) Reset()
- func (x *Relation) String() string
- func (m *Relation) Validate() error
- func (m *Relation) ValidateAll() error
- type RelationMultiError
- type RelationReference
- func (*RelationReference) Descriptor() ([]byte, []int)deprecated
- func (x *RelationReference) GetNamespace() string
- func (x *RelationReference) GetRelation() string
- func (*RelationReference) ProtoMessage()
- func (x *RelationReference) ProtoReflect() protoreflect.Message
- func (x *RelationReference) Reset()
- func (x *RelationReference) String() string
- func (m *RelationReference) Validate() error
- func (m *RelationReference) ValidateAll() error
- type RelationReferenceMultiError
- 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 RelationTuple
- func (*RelationTuple) Descriptor() ([]byte, []int)deprecated
- func (x *RelationTuple) GetObjectAndRelation() *ObjectAndRelation
- func (x *RelationTuple) GetUser() *User
- func (*RelationTuple) ProtoMessage()
- func (x *RelationTuple) ProtoReflect() protoreflect.Message
- func (x *RelationTuple) Reset()
- func (x *RelationTuple) String() string
- func (m *RelationTuple) Validate() error
- func (m *RelationTuple) ValidateAll() error
- type RelationTupleMultiError
- type RelationTupleTreeNode
- func (*RelationTupleTreeNode) Descriptor() ([]byte, []int)deprecated
- func (x *RelationTupleTreeNode) GetExpanded() *ObjectAndRelation
- func (x *RelationTupleTreeNode) GetIntermediateNode() *SetOperationUserset
- func (x *RelationTupleTreeNode) GetLeafNode() *DirectUserset
- func (m *RelationTupleTreeNode) GetNodeType() isRelationTupleTreeNode_NodeType
- func (*RelationTupleTreeNode) ProtoMessage()
- func (x *RelationTupleTreeNode) ProtoReflect() protoreflect.Message
- func (x *RelationTupleTreeNode) Reset()
- func (x *RelationTupleTreeNode) String() string
- func (m *RelationTupleTreeNode) Validate() error
- func (m *RelationTupleTreeNode) ValidateAll() error
- type RelationTupleTreeNodeMultiError
- type RelationTupleTreeNodeValidationError
- func (e RelationTupleTreeNodeValidationError) Cause() error
- func (e RelationTupleTreeNodeValidationError) Error() string
- func (e RelationTupleTreeNodeValidationError) ErrorName() string
- func (e RelationTupleTreeNodeValidationError) Field() string
- func (e RelationTupleTreeNodeValidationError) Key() bool
- func (e RelationTupleTreeNodeValidationError) Reason() string
- type RelationTupleTreeNode_IntermediateNode
- type RelationTupleTreeNode_LeafNode
- type RelationTupleUpdate
- func (*RelationTupleUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *RelationTupleUpdate) GetOperation() RelationTupleUpdate_Operation
- func (x *RelationTupleUpdate) GetTuple() *RelationTuple
- func (*RelationTupleUpdate) ProtoMessage()
- func (x *RelationTupleUpdate) ProtoReflect() protoreflect.Message
- func (x *RelationTupleUpdate) Reset()
- func (x *RelationTupleUpdate) String() string
- func (m *RelationTupleUpdate) Validate() error
- func (m *RelationTupleUpdate) ValidateAll() error
- type RelationTupleUpdateMultiError
- type RelationTupleUpdateValidationError
- func (e RelationTupleUpdateValidationError) Cause() error
- func (e RelationTupleUpdateValidationError) Error() string
- func (e RelationTupleUpdateValidationError) ErrorName() string
- func (e RelationTupleUpdateValidationError) Field() string
- func (e RelationTupleUpdateValidationError) Key() bool
- func (e RelationTupleUpdateValidationError) Reason() string
- type RelationTupleUpdate_Operation
- func (RelationTupleUpdate_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x RelationTupleUpdate_Operation) Enum() *RelationTupleUpdate_Operation
- func (RelationTupleUpdate_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x RelationTupleUpdate_Operation) Number() protoreflect.EnumNumber
- func (x RelationTupleUpdate_Operation) String() string
- func (RelationTupleUpdate_Operation) Type() protoreflect.EnumType
- type RelationTupleValidationError
- func (e RelationTupleValidationError) Cause() error
- func (e RelationTupleValidationError) Error() string
- func (e RelationTupleValidationError) ErrorName() string
- func (e RelationTupleValidationError) Field() string
- func (e RelationTupleValidationError) Key() bool
- func (e RelationTupleValidationError) Reason() string
- type RelationValidationError
- type SetOperation
- func (*SetOperation) Descriptor() ([]byte, []int)deprecated
- func (x *SetOperation) GetChild() []*SetOperation_Child
- func (*SetOperation) ProtoMessage()
- func (x *SetOperation) ProtoReflect() protoreflect.Message
- func (x *SetOperation) Reset()
- func (x *SetOperation) String() string
- func (m *SetOperation) Validate() error
- func (m *SetOperation) ValidateAll() error
- type SetOperationMultiError
- type SetOperationUserset
- func (*SetOperationUserset) Descriptor() ([]byte, []int)deprecated
- func (x *SetOperationUserset) GetChildNodes() []*RelationTupleTreeNode
- func (x *SetOperationUserset) GetOperation() SetOperationUserset_Operation
- func (*SetOperationUserset) ProtoMessage()
- func (x *SetOperationUserset) ProtoReflect() protoreflect.Message
- func (x *SetOperationUserset) Reset()
- func (x *SetOperationUserset) String() string
- func (m *SetOperationUserset) Validate() error
- func (m *SetOperationUserset) ValidateAll() error
- type SetOperationUsersetMultiError
- type SetOperationUsersetValidationError
- func (e SetOperationUsersetValidationError) Cause() error
- func (e SetOperationUsersetValidationError) Error() string
- func (e SetOperationUsersetValidationError) ErrorName() string
- func (e SetOperationUsersetValidationError) Field() string
- func (e SetOperationUsersetValidationError) Key() bool
- func (e SetOperationUsersetValidationError) Reason() string
- type SetOperationUserset_Operation
- func (SetOperationUserset_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x SetOperationUserset_Operation) Enum() *SetOperationUserset_Operation
- func (SetOperationUserset_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetOperationUserset_Operation) Number() protoreflect.EnumNumber
- func (x SetOperationUserset_Operation) String() string
- func (SetOperationUserset_Operation) Type() protoreflect.EnumType
- type SetOperationValidationError
- func (e SetOperationValidationError) Cause() error
- func (e SetOperationValidationError) Error() string
- func (e SetOperationValidationError) ErrorName() string
- func (e SetOperationValidationError) Field() string
- func (e SetOperationValidationError) Key() bool
- func (e SetOperationValidationError) Reason() string
- type SetOperation_Child
- func (*SetOperation_Child) Descriptor() ([]byte, []int)deprecated
- func (m *SetOperation_Child) GetChildType() isSetOperation_Child_ChildType
- func (x *SetOperation_Child) GetComputedUserset() *ComputedUserset
- func (x *SetOperation_Child) GetSourcePosition() *SourcePosition
- func (x *SetOperation_Child) GetTupleToUserset() *TupleToUserset
- func (x *SetOperation_Child) GetUsersetRewrite() *UsersetRewrite
- func (x *SetOperation_Child) GetXNil() *SetOperation_Child_Nil
- func (x *SetOperation_Child) GetXThis() *SetOperation_Child_This
- func (*SetOperation_Child) ProtoMessage()
- func (x *SetOperation_Child) ProtoReflect() protoreflect.Message
- func (x *SetOperation_Child) Reset()
- func (x *SetOperation_Child) String() string
- func (m *SetOperation_Child) Validate() error
- func (m *SetOperation_Child) ValidateAll() error
- type SetOperation_ChildMultiError
- type SetOperation_ChildValidationError
- func (e SetOperation_ChildValidationError) Cause() error
- func (e SetOperation_ChildValidationError) Error() string
- func (e SetOperation_ChildValidationError) ErrorName() string
- func (e SetOperation_ChildValidationError) Field() string
- func (e SetOperation_ChildValidationError) Key() bool
- func (e SetOperation_ChildValidationError) Reason() string
- type SetOperation_Child_ComputedUserset
- type SetOperation_Child_Nil
- func (*SetOperation_Child_Nil) Descriptor() ([]byte, []int)deprecated
- func (*SetOperation_Child_Nil) ProtoMessage()
- func (x *SetOperation_Child_Nil) ProtoReflect() protoreflect.Message
- func (x *SetOperation_Child_Nil) Reset()
- func (x *SetOperation_Child_Nil) String() string
- func (m *SetOperation_Child_Nil) Validate() error
- func (m *SetOperation_Child_Nil) ValidateAll() error
- type SetOperation_Child_NilMultiError
- type SetOperation_Child_NilValidationError
- func (e SetOperation_Child_NilValidationError) Cause() error
- func (e SetOperation_Child_NilValidationError) Error() string
- func (e SetOperation_Child_NilValidationError) ErrorName() string
- func (e SetOperation_Child_NilValidationError) Field() string
- func (e SetOperation_Child_NilValidationError) Key() bool
- func (e SetOperation_Child_NilValidationError) Reason() string
- type SetOperation_Child_This
- func (*SetOperation_Child_This) Descriptor() ([]byte, []int)deprecated
- func (*SetOperation_Child_This) ProtoMessage()
- func (x *SetOperation_Child_This) ProtoReflect() protoreflect.Message
- func (x *SetOperation_Child_This) Reset()
- func (x *SetOperation_Child_This) String() string
- func (m *SetOperation_Child_This) Validate() error
- func (m *SetOperation_Child_This) ValidateAll() error
- type SetOperation_Child_ThisMultiError
- type SetOperation_Child_ThisValidationError
- func (e SetOperation_Child_ThisValidationError) Cause() error
- func (e SetOperation_Child_ThisValidationError) Error() string
- func (e SetOperation_Child_ThisValidationError) ErrorName() string
- func (e SetOperation_Child_ThisValidationError) Field() string
- func (e SetOperation_Child_ThisValidationError) Key() bool
- func (e SetOperation_Child_ThisValidationError) Reason() string
- type SetOperation_Child_TupleToUserset
- type SetOperation_Child_UsersetRewrite
- type SetOperation_Child_XNil
- type SetOperation_Child_XThis
- type SourcePosition
- func (*SourcePosition) Descriptor() ([]byte, []int)deprecated
- func (x *SourcePosition) GetZeroIndexedColumnPosition() uint64
- func (x *SourcePosition) GetZeroIndexedLineNumber() uint64
- func (*SourcePosition) ProtoMessage()
- func (x *SourcePosition) ProtoReflect() protoreflect.Message
- func (x *SourcePosition) Reset()
- func (x *SourcePosition) String() string
- func (m *SourcePosition) Validate() error
- func (m *SourcePosition) ValidateAll() error
- type SourcePositionMultiError
- type SourcePositionValidationError
- func (e SourcePositionValidationError) Cause() error
- func (e SourcePositionValidationError) Error() string
- func (e SourcePositionValidationError) ErrorName() string
- func (e SourcePositionValidationError) Field() string
- func (e SourcePositionValidationError) Key() bool
- func (e SourcePositionValidationError) Reason() string
- type TupleToUserset
- func (*TupleToUserset) Descriptor() ([]byte, []int)deprecated
- func (x *TupleToUserset) GetComputedUserset() *ComputedUserset
- func (x *TupleToUserset) GetSourcePosition() *SourcePosition
- func (x *TupleToUserset) GetTupleset() *TupleToUserset_Tupleset
- func (*TupleToUserset) ProtoMessage()
- func (x *TupleToUserset) ProtoReflect() protoreflect.Message
- func (x *TupleToUserset) Reset()
- func (x *TupleToUserset) String() string
- func (m *TupleToUserset) Validate() error
- func (m *TupleToUserset) ValidateAll() error
- type TupleToUsersetMultiError
- 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 TupleToUserset_Tupleset
- func (*TupleToUserset_Tupleset) Descriptor() ([]byte, []int)deprecated
- func (x *TupleToUserset_Tupleset) GetRelation() string
- func (*TupleToUserset_Tupleset) ProtoMessage()
- func (x *TupleToUserset_Tupleset) ProtoReflect() protoreflect.Message
- func (x *TupleToUserset_Tupleset) Reset()
- func (x *TupleToUserset_Tupleset) String() string
- func (m *TupleToUserset_Tupleset) Validate() error
- func (m *TupleToUserset_Tupleset) ValidateAll() error
- type TupleToUserset_TuplesetMultiError
- type TupleToUserset_TuplesetValidationError
- func (e TupleToUserset_TuplesetValidationError) Cause() error
- func (e TupleToUserset_TuplesetValidationError) Error() string
- func (e TupleToUserset_TuplesetValidationError) ErrorName() string
- func (e TupleToUserset_TuplesetValidationError) Field() string
- func (e TupleToUserset_TuplesetValidationError) Key() bool
- func (e TupleToUserset_TuplesetValidationError) Reason() string
- type TypeInformation
- func (*TypeInformation) Descriptor() ([]byte, []int)deprecated
- func (x *TypeInformation) GetAllowedDirectRelations() []*AllowedRelation
- func (*TypeInformation) ProtoMessage()
- func (x *TypeInformation) ProtoReflect() protoreflect.Message
- func (x *TypeInformation) Reset()
- func (x *TypeInformation) String() string
- func (m *TypeInformation) Validate() error
- func (m *TypeInformation) ValidateAll() error
- type TypeInformationMultiError
- type TypeInformationValidationError
- func (e TypeInformationValidationError) Cause() error
- func (e TypeInformationValidationError) Error() string
- func (e TypeInformationValidationError) ErrorName() string
- func (e TypeInformationValidationError) Field() string
- func (e TypeInformationValidationError) Key() bool
- func (e TypeInformationValidationError) Reason() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (m *User) GetUserOneof() isUser_UserOneof
- func (x *User) GetUserset() *ObjectAndRelation
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (m *User) Validate() error
- func (m *User) ValidateAll() error
- type UserMultiError
- type UserValidationError
- type User_Userset
- type UsersetRewrite
- func (*UsersetRewrite) Descriptor() ([]byte, []int)deprecated
- func (x *UsersetRewrite) GetExclusion() *SetOperation
- func (x *UsersetRewrite) GetIntersection() *SetOperation
- func (m *UsersetRewrite) GetRewriteOperation() isUsersetRewrite_RewriteOperation
- func (x *UsersetRewrite) GetSourcePosition() *SourcePosition
- func (x *UsersetRewrite) GetUnion() *SetOperation
- func (*UsersetRewrite) ProtoMessage()
- func (x *UsersetRewrite) ProtoReflect() protoreflect.Message
- func (x *UsersetRewrite) Reset()
- func (x *UsersetRewrite) String() string
- func (m *UsersetRewrite) Validate() error
- func (m *UsersetRewrite) ValidateAll() error
- type UsersetRewriteMultiError
- type UsersetRewriteValidationError
- func (e UsersetRewriteValidationError) Cause() error
- func (e UsersetRewriteValidationError) Error() string
- func (e UsersetRewriteValidationError) ErrorName() string
- func (e UsersetRewriteValidationError) Field() string
- func (e UsersetRewriteValidationError) Key() bool
- func (e UsersetRewriteValidationError) Reason() string
- type UsersetRewrite_Exclusion
- type UsersetRewrite_Intersection
- type UsersetRewrite_Union
- type Zookie
- func (*Zookie) Descriptor() ([]byte, []int)deprecated
- func (x *Zookie) GetToken() string
- func (*Zookie) ProtoMessage()
- func (x *Zookie) ProtoReflect() protoreflect.Message
- func (x *Zookie) Reset()
- func (x *Zookie) String() string
- func (m *Zookie) Validate() error
- func (m *Zookie) ValidateAll() error
- type ZookieMultiError
- type ZookieValidationError
Constants ¶
This section is empty.
Variables ¶
var ( RelationTupleUpdate_Operation_name = map[int32]string{ 0: "UNKNOWN", 1: "CREATE", 2: "TOUCH", 3: "DELETE", } RelationTupleUpdate_Operation_value = map[string]int32{ "UNKNOWN": 0, "CREATE": 1, "TOUCH": 2, "DELETE": 3, } )
Enum value maps for RelationTupleUpdate_Operation.
var ( SetOperationUserset_Operation_name = map[int32]string{ 0: "INVALID", 1: "UNION", 2: "INTERSECTION", 3: "EXCLUSION", } SetOperationUserset_Operation_value = map[string]int32{ "INVALID": 0, "UNION": 1, "INTERSECTION": 2, "EXCLUSION": 3, } )
Enum value maps for SetOperationUserset_Operation.
var ( ComputedUserset_Object_name = map[int32]string{ 0: "TUPLE_OBJECT", 1: "TUPLE_USERSET_OBJECT", } ComputedUserset_Object_value = map[string]int32{ "TUPLE_OBJECT": 0, "TUPLE_USERSET_OBJECT": 1, } )
Enum value maps for ComputedUserset_Object.
var File_core_v1_core_proto protoreflect.FileDescriptor
Functions ¶
func ToV0NamespaceDefinition ¶
func ToV0NamespaceDefinition(def *NamespaceDefinition) *v0.NamespaceDefinition
ToV0NamespaceDefinition converts the input to a v0 ToV0NamespaceDefinition.
func ToV0NamespaceDefinitions ¶
func ToV0NamespaceDefinitions(defs []*NamespaceDefinition) []*v0.NamespaceDefinition
ToV0NamespaceDefinitions converts the input slice elements to v0 NamespaceDefinition.
func ToV0ObjectAndRelation ¶
func ToV0ObjectAndRelation(onr *ObjectAndRelation) *v0.ObjectAndRelation
ToV0ObjectAndRelation converts the input to a v0 ToV0ObjectAndRelation.
func ToV0RelationReference ¶
func ToV0RelationReference(ref *RelationReference) *v0.RelationReference
ToV0RelationReference converts the input to a v0 RelationReference.
func ToV0RelationTuple ¶
func ToV0RelationTuple(tuple *RelationTuple) *v0.RelationTuple
ToV0RelationTuple converts the input to a v0 ToV0RelationTuple.
func ToV0RelationTupleTreeNode ¶
func ToV0RelationTupleTreeNode(treenode *RelationTupleTreeNode) *v0.RelationTupleTreeNode
ToV0RelationTupleTreeNode converts the input to a v0 RelationTupleTreeNode.
func ToV0RelationTupleUpdate ¶
func ToV0RelationTupleUpdate(update *RelationTupleUpdate) *v0.RelationTupleUpdate
ToV0RelationTupleUpdate converts the input to a v0 ToV0RelationTupleUpdate.
func ToV0RelationTupleUpdates ¶
func ToV0RelationTupleUpdates(updates []*RelationTupleUpdate) []*v0.RelationTupleUpdate
ToV0RelationTupleUpdates converts the input slice elements to v0 RelationTupleUpdate.
func ToV0RelationTuples ¶
func ToV0RelationTuples(tuples []*RelationTuple) []*v0.RelationTuple
ToV0RelationTuples converts the input slice elements to v0 RelationTuple.
func ToV0Zookie ¶
ToV0Zookie converts the input to a v0 Zookie.
Types ¶
type AllowedRelation ¶
type AllowedRelation struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Types that are assignable to RelationOrWildcard: // *AllowedRelation_Relation // *AllowedRelation_PublicWildcard_ RelationOrWildcard isAllowedRelation_RelationOrWildcard `protobuf_oneof:"relation_or_wildcard"` SourcePosition *SourcePosition `protobuf:"bytes,5,opt,name=source_position,json=sourcePosition,proto3" json:"source_position,omitempty"` // contains filtered or unexported fields }
func (*AllowedRelation) Descriptor
deprecated
func (*AllowedRelation) Descriptor() ([]byte, []int)
Deprecated: Use AllowedRelation.ProtoReflect.Descriptor instead.
func (*AllowedRelation) GetNamespace ¶
func (x *AllowedRelation) GetNamespace() string
func (*AllowedRelation) GetPublicWildcard ¶
func (x *AllowedRelation) GetPublicWildcard() *AllowedRelation_PublicWildcard
func (*AllowedRelation) GetRelation ¶
func (x *AllowedRelation) GetRelation() string
func (*AllowedRelation) GetRelationOrWildcard ¶
func (m *AllowedRelation) GetRelationOrWildcard() isAllowedRelation_RelationOrWildcard
func (*AllowedRelation) GetSourcePosition ¶
func (x *AllowedRelation) GetSourcePosition() *SourcePosition
func (*AllowedRelation) ProtoMessage ¶
func (*AllowedRelation) ProtoMessage()
func (*AllowedRelation) ProtoReflect ¶
func (x *AllowedRelation) ProtoReflect() protoreflect.Message
func (*AllowedRelation) Reset ¶
func (x *AllowedRelation) Reset()
func (*AllowedRelation) String ¶
func (x *AllowedRelation) String() string
func (*AllowedRelation) Validate ¶
func (m *AllowedRelation) Validate() error
Validate checks the field values on AllowedRelation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AllowedRelation) ValidateAll ¶
func (m *AllowedRelation) ValidateAll() error
ValidateAll checks the field values on AllowedRelation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllowedRelationMultiError, or nil if none found.
type AllowedRelationMultiError ¶
type AllowedRelationMultiError []error
AllowedRelationMultiError is an error wrapping multiple validation errors returned by AllowedRelation.ValidateAll() if the designated constraints aren't met.
func (AllowedRelationMultiError) AllErrors ¶
func (m AllowedRelationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllowedRelationMultiError) Error ¶
func (m AllowedRelationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllowedRelationValidationError ¶
type AllowedRelationValidationError struct {
// contains filtered or unexported fields
}
AllowedRelationValidationError is the validation error returned by AllowedRelation.Validate if the designated constraints aren't met.
func (AllowedRelationValidationError) Cause ¶
func (e AllowedRelationValidationError) Cause() error
Cause function returns cause value.
func (AllowedRelationValidationError) Error ¶
func (e AllowedRelationValidationError) Error() string
Error satisfies the builtin error interface
func (AllowedRelationValidationError) ErrorName ¶
func (e AllowedRelationValidationError) ErrorName() string
ErrorName returns error name.
func (AllowedRelationValidationError) Field ¶
func (e AllowedRelationValidationError) Field() string
Field function returns field value.
func (AllowedRelationValidationError) Key ¶
func (e AllowedRelationValidationError) Key() bool
Key function returns key value.
func (AllowedRelationValidationError) Reason ¶
func (e AllowedRelationValidationError) Reason() string
Reason function returns reason value.
type AllowedRelation_PublicWildcard ¶
type AllowedRelation_PublicWildcard struct {
// contains filtered or unexported fields
}
func (*AllowedRelation_PublicWildcard) Descriptor
deprecated
func (*AllowedRelation_PublicWildcard) Descriptor() ([]byte, []int)
Deprecated: Use AllowedRelation_PublicWildcard.ProtoReflect.Descriptor instead.
func (*AllowedRelation_PublicWildcard) ProtoMessage ¶
func (*AllowedRelation_PublicWildcard) ProtoMessage()
func (*AllowedRelation_PublicWildcard) ProtoReflect ¶
func (x *AllowedRelation_PublicWildcard) ProtoReflect() protoreflect.Message
func (*AllowedRelation_PublicWildcard) Reset ¶
func (x *AllowedRelation_PublicWildcard) Reset()
func (*AllowedRelation_PublicWildcard) String ¶
func (x *AllowedRelation_PublicWildcard) String() string
func (*AllowedRelation_PublicWildcard) Validate ¶
func (m *AllowedRelation_PublicWildcard) Validate() error
Validate checks the field values on AllowedRelation_PublicWildcard with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AllowedRelation_PublicWildcard) ValidateAll ¶
func (m *AllowedRelation_PublicWildcard) ValidateAll() error
ValidateAll checks the field values on AllowedRelation_PublicWildcard with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllowedRelation_PublicWildcardMultiError, or nil if none found.
type AllowedRelation_PublicWildcardMultiError ¶
type AllowedRelation_PublicWildcardMultiError []error
AllowedRelation_PublicWildcardMultiError is an error wrapping multiple validation errors returned by AllowedRelation_PublicWildcard.ValidateAll() if the designated constraints aren't met.
func (AllowedRelation_PublicWildcardMultiError) AllErrors ¶
func (m AllowedRelation_PublicWildcardMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllowedRelation_PublicWildcardMultiError) Error ¶
func (m AllowedRelation_PublicWildcardMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllowedRelation_PublicWildcardValidationError ¶
type AllowedRelation_PublicWildcardValidationError struct {
// contains filtered or unexported fields
}
AllowedRelation_PublicWildcardValidationError is the validation error returned by AllowedRelation_PublicWildcard.Validate if the designated constraints aren't met.
func (AllowedRelation_PublicWildcardValidationError) Cause ¶
func (e AllowedRelation_PublicWildcardValidationError) Cause() error
Cause function returns cause value.
func (AllowedRelation_PublicWildcardValidationError) Error ¶
func (e AllowedRelation_PublicWildcardValidationError) Error() string
Error satisfies the builtin error interface
func (AllowedRelation_PublicWildcardValidationError) ErrorName ¶
func (e AllowedRelation_PublicWildcardValidationError) ErrorName() string
ErrorName returns error name.
func (AllowedRelation_PublicWildcardValidationError) Field ¶
func (e AllowedRelation_PublicWildcardValidationError) Field() string
Field function returns field value.
func (AllowedRelation_PublicWildcardValidationError) Key ¶
func (e AllowedRelation_PublicWildcardValidationError) Key() bool
Key function returns key value.
func (AllowedRelation_PublicWildcardValidationError) Reason ¶
func (e AllowedRelation_PublicWildcardValidationError) Reason() string
Reason function returns reason value.
type AllowedRelation_PublicWildcard_ ¶
type AllowedRelation_PublicWildcard_ struct {
PublicWildcard *AllowedRelation_PublicWildcard `protobuf:"bytes,4,opt,name=public_wildcard,json=publicWildcard,proto3,oneof"`
}
type AllowedRelation_Relation ¶
type AllowedRelation_Relation struct {
Relation string `protobuf:"bytes,3,opt,name=relation,proto3,oneof"`
}
type ComputedUserset ¶
type ComputedUserset struct { Object ComputedUserset_Object `protobuf:"varint,1,opt,name=object,proto3,enum=core.v1.ComputedUserset_Object" json:"object,omitempty"` Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` SourcePosition *SourcePosition `protobuf:"bytes,3,opt,name=source_position,json=sourcePosition,proto3" json:"source_position,omitempty"` // contains filtered or unexported fields }
func (*ComputedUserset) Descriptor
deprecated
func (*ComputedUserset) Descriptor() ([]byte, []int)
Deprecated: Use ComputedUserset.ProtoReflect.Descriptor instead.
func (*ComputedUserset) GetObject ¶
func (x *ComputedUserset) GetObject() ComputedUserset_Object
func (*ComputedUserset) GetRelation ¶
func (x *ComputedUserset) GetRelation() string
func (*ComputedUserset) GetSourcePosition ¶
func (x *ComputedUserset) GetSourcePosition() *SourcePosition
func (*ComputedUserset) ProtoMessage ¶
func (*ComputedUserset) ProtoMessage()
func (*ComputedUserset) ProtoReflect ¶
func (x *ComputedUserset) ProtoReflect() protoreflect.Message
func (*ComputedUserset) Reset ¶
func (x *ComputedUserset) Reset()
func (*ComputedUserset) String ¶
func (x *ComputedUserset) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*ComputedUserset) ValidateAll ¶
func (m *ComputedUserset) ValidateAll() error
ValidateAll checks the field values on ComputedUserset with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ComputedUsersetMultiError, or nil if none found.
type ComputedUsersetMultiError ¶
type ComputedUsersetMultiError []error
ComputedUsersetMultiError is an error wrapping multiple validation errors returned by ComputedUserset.ValidateAll() if the designated constraints aren't met.
func (ComputedUsersetMultiError) AllErrors ¶
func (m ComputedUsersetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ComputedUsersetMultiError) Error ¶
func (m ComputedUsersetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ComputedUserset_Object ¶
type ComputedUserset_Object int32
const ( ComputedUserset_TUPLE_OBJECT ComputedUserset_Object = 0 ComputedUserset_TUPLE_USERSET_OBJECT ComputedUserset_Object = 1 )
func (ComputedUserset_Object) Descriptor ¶
func (ComputedUserset_Object) Descriptor() protoreflect.EnumDescriptor
func (ComputedUserset_Object) Enum ¶
func (x ComputedUserset_Object) Enum() *ComputedUserset_Object
func (ComputedUserset_Object) EnumDescriptor
deprecated
func (ComputedUserset_Object) EnumDescriptor() ([]byte, []int)
Deprecated: Use ComputedUserset_Object.Descriptor instead.
func (ComputedUserset_Object) Number ¶
func (x ComputedUserset_Object) Number() protoreflect.EnumNumber
func (ComputedUserset_Object) String ¶
func (x ComputedUserset_Object) String() string
func (ComputedUserset_Object) Type ¶
func (ComputedUserset_Object) Type() protoreflect.EnumType
type DirectUserset ¶
type DirectUserset struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*DirectUserset) Descriptor
deprecated
func (*DirectUserset) Descriptor() ([]byte, []int)
Deprecated: Use DirectUserset.ProtoReflect.Descriptor instead.
func (*DirectUserset) GetUsers ¶
func (x *DirectUserset) GetUsers() []*User
func (*DirectUserset) ProtoMessage ¶
func (*DirectUserset) ProtoMessage()
func (*DirectUserset) ProtoReflect ¶
func (x *DirectUserset) ProtoReflect() protoreflect.Message
func (*DirectUserset) Reset ¶
func (x *DirectUserset) Reset()
func (*DirectUserset) String ¶
func (x *DirectUserset) String() string
func (*DirectUserset) Validate ¶
func (m *DirectUserset) Validate() error
Validate checks the field values on DirectUserset with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DirectUserset) ValidateAll ¶
func (m *DirectUserset) ValidateAll() error
ValidateAll checks the field values on DirectUserset with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DirectUsersetMultiError, or nil if none found.
type DirectUsersetMultiError ¶
type DirectUsersetMultiError []error
DirectUsersetMultiError is an error wrapping multiple validation errors returned by DirectUserset.ValidateAll() if the designated constraints aren't met.
func (DirectUsersetMultiError) AllErrors ¶
func (m DirectUsersetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DirectUsersetMultiError) Error ¶
func (m DirectUsersetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DirectUsersetValidationError ¶
type DirectUsersetValidationError struct {
// contains filtered or unexported fields
}
DirectUsersetValidationError is the validation error returned by DirectUserset.Validate if the designated constraints aren't met.
func (DirectUsersetValidationError) Cause ¶
func (e DirectUsersetValidationError) Cause() error
Cause function returns cause value.
func (DirectUsersetValidationError) Error ¶
func (e DirectUsersetValidationError) Error() string
Error satisfies the builtin error interface
func (DirectUsersetValidationError) ErrorName ¶
func (e DirectUsersetValidationError) ErrorName() string
ErrorName returns error name.
func (DirectUsersetValidationError) Field ¶
func (e DirectUsersetValidationError) Field() string
Field function returns field value.
func (DirectUsersetValidationError) Key ¶
func (e DirectUsersetValidationError) Key() bool
Key function returns key value.
func (DirectUsersetValidationError) Reason ¶
func (e DirectUsersetValidationError) Reason() string
Reason function returns reason value.
type Metadata ¶
type Metadata struct { MetadataMessage []*anypb.Any `protobuf:"bytes,1,rep,name=metadata_message,json=metadataMessage,proto3" json:"metadata_message,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetMetadataMessage ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
func (*Metadata) Validate ¶
Validate checks the field values on Metadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Metadata) ValidateAll ¶
ValidateAll checks the field values on Metadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MetadataMultiError, or nil if none found.
type MetadataMultiError ¶
type MetadataMultiError []error
MetadataMultiError is an error wrapping multiple validation errors returned by Metadata.ValidateAll() if the designated constraints aren't met.
func (MetadataMultiError) AllErrors ¶
func (m MetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MetadataMultiError) Error ¶
func (m MetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MetadataValidationError ¶
type MetadataValidationError struct {
// contains filtered or unexported fields
}
MetadataValidationError is the validation error returned by Metadata.Validate if the designated constraints aren't met.
func (MetadataValidationError) Cause ¶
func (e MetadataValidationError) Cause() error
Cause function returns cause value.
func (MetadataValidationError) Error ¶
func (e MetadataValidationError) Error() string
Error satisfies the builtin error interface
func (MetadataValidationError) ErrorName ¶
func (e MetadataValidationError) ErrorName() string
ErrorName returns error name.
func (MetadataValidationError) Field ¶
func (e MetadataValidationError) Field() string
Field function returns field value.
func (MetadataValidationError) Key ¶
func (e MetadataValidationError) Key() bool
Key function returns key value.
func (MetadataValidationError) Reason ¶
func (e MetadataValidationError) Reason() string
Reason function returns reason value.
type NamespaceDefinition ¶
type NamespaceDefinition struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Relation []*Relation `protobuf:"bytes,2,rep,name=relation,proto3" json:"relation,omitempty"` Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` SourcePosition *SourcePosition `protobuf:"bytes,4,opt,name=source_position,json=sourcePosition,proto3" json:"source_position,omitempty"` // contains filtered or unexported fields }
func ToCoreNamespaceDefinition ¶
func ToCoreNamespaceDefinition(def *v0.NamespaceDefinition) *NamespaceDefinition
ToCoreNamespaceDefinition converts the input to a core NamespaceDefinition.
func ToCoreNamespaceDefinitions ¶
func ToCoreNamespaceDefinitions(defs []*v0.NamespaceDefinition) []*NamespaceDefinition
ToCoreNamespaceDefinitions converts the input slice elements to core NamespaceDefinition.
func (*NamespaceDefinition) Descriptor
deprecated
func (*NamespaceDefinition) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceDefinition.ProtoReflect.Descriptor instead.
func (*NamespaceDefinition) GetMetadata ¶
func (x *NamespaceDefinition) GetMetadata() *Metadata
func (*NamespaceDefinition) GetName ¶
func (x *NamespaceDefinition) GetName() string
func (*NamespaceDefinition) GetRelation ¶
func (x *NamespaceDefinition) GetRelation() []*Relation
func (*NamespaceDefinition) GetSourcePosition ¶
func (x *NamespaceDefinition) GetSourcePosition() *SourcePosition
func (*NamespaceDefinition) ProtoMessage ¶
func (*NamespaceDefinition) ProtoMessage()
func (*NamespaceDefinition) ProtoReflect ¶
func (x *NamespaceDefinition) ProtoReflect() protoreflect.Message
func (*NamespaceDefinition) Reset ¶
func (x *NamespaceDefinition) Reset()
func (*NamespaceDefinition) String ¶
func (x *NamespaceDefinition) String() string
func (*NamespaceDefinition) Validate ¶
func (m *NamespaceDefinition) Validate() error
Validate checks the field values on NamespaceDefinition with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*NamespaceDefinition) ValidateAll ¶
func (m *NamespaceDefinition) ValidateAll() error
ValidateAll checks the field values on NamespaceDefinition with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NamespaceDefinitionMultiError, or nil if none found.
type NamespaceDefinitionMultiError ¶
type NamespaceDefinitionMultiError []error
NamespaceDefinitionMultiError is an error wrapping multiple validation errors returned by NamespaceDefinition.ValidateAll() if the designated constraints aren't met.
func (NamespaceDefinitionMultiError) AllErrors ¶
func (m NamespaceDefinitionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceDefinitionMultiError) Error ¶
func (m NamespaceDefinitionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceDefinitionValidationError ¶
type NamespaceDefinitionValidationError struct {
// contains filtered or unexported fields
}
NamespaceDefinitionValidationError is the validation error returned by NamespaceDefinition.Validate if the designated constraints aren't met.
func (NamespaceDefinitionValidationError) Cause ¶
func (e NamespaceDefinitionValidationError) Cause() error
Cause function returns cause value.
func (NamespaceDefinitionValidationError) Error ¶
func (e NamespaceDefinitionValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceDefinitionValidationError) ErrorName ¶
func (e NamespaceDefinitionValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceDefinitionValidationError) Field ¶
func (e NamespaceDefinitionValidationError) Field() string
Field function returns field value.
func (NamespaceDefinitionValidationError) Key ¶
func (e NamespaceDefinitionValidationError) Key() bool
Key function returns key value.
func (NamespaceDefinitionValidationError) Reason ¶
func (e NamespaceDefinitionValidationError) Reason() string
Reason function returns reason value.
type ObjectAndRelation ¶
type ObjectAndRelation struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
func ToCoreObjectAndRelation ¶
func ToCoreObjectAndRelation(onr *v0.ObjectAndRelation) *ObjectAndRelation
ToCoreObjectAndRelation converts the input to a core ToCoreObjectAndRelation.
func (*ObjectAndRelation) Descriptor
deprecated
func (*ObjectAndRelation) Descriptor() ([]byte, []int)
Deprecated: Use ObjectAndRelation.ProtoReflect.Descriptor instead.
func (*ObjectAndRelation) GetNamespace ¶
func (x *ObjectAndRelation) GetNamespace() string
func (*ObjectAndRelation) GetObjectId ¶
func (x *ObjectAndRelation) GetObjectId() string
func (*ObjectAndRelation) GetRelation ¶
func (x *ObjectAndRelation) GetRelation() string
func (*ObjectAndRelation) ProtoMessage ¶
func (*ObjectAndRelation) ProtoMessage()
func (*ObjectAndRelation) ProtoReflect ¶
func (x *ObjectAndRelation) ProtoReflect() protoreflect.Message
func (*ObjectAndRelation) Reset ¶
func (x *ObjectAndRelation) Reset()
func (*ObjectAndRelation) String ¶
func (x *ObjectAndRelation) String() string
func (*ObjectAndRelation) Validate ¶
func (m *ObjectAndRelation) Validate() error
Validate checks the field values on ObjectAndRelation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ObjectAndRelation) ValidateAll ¶
func (m *ObjectAndRelation) ValidateAll() error
ValidateAll checks the field values on ObjectAndRelation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ObjectAndRelationMultiError, or nil if none found.
type ObjectAndRelationMultiError ¶
type ObjectAndRelationMultiError []error
ObjectAndRelationMultiError is an error wrapping multiple validation errors returned by ObjectAndRelation.ValidateAll() if the designated constraints aren't met.
func (ObjectAndRelationMultiError) AllErrors ¶
func (m ObjectAndRelationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ObjectAndRelationMultiError) Error ¶
func (m ObjectAndRelationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ObjectAndRelationValidationError ¶
type ObjectAndRelationValidationError struct {
// contains filtered or unexported fields
}
ObjectAndRelationValidationError is the validation error returned by ObjectAndRelation.Validate if the designated constraints aren't met.
func (ObjectAndRelationValidationError) Cause ¶
func (e ObjectAndRelationValidationError) Cause() error
Cause function returns cause value.
func (ObjectAndRelationValidationError) Error ¶
func (e ObjectAndRelationValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectAndRelationValidationError) ErrorName ¶
func (e ObjectAndRelationValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectAndRelationValidationError) Field ¶
func (e ObjectAndRelationValidationError) Field() string
Field function returns field value.
func (ObjectAndRelationValidationError) Key ¶
func (e ObjectAndRelationValidationError) Key() bool
Key function returns key value.
func (ObjectAndRelationValidationError) Reason ¶
func (e ObjectAndRelationValidationError) Reason() string
Reason function returns reason value.
type Relation ¶
type Relation struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` UsersetRewrite *UsersetRewrite `protobuf:"bytes,2,opt,name=userset_rewrite,json=usersetRewrite,proto3" json:"userset_rewrite,omitempty"` TypeInformation *TypeInformation `protobuf:"bytes,3,opt,name=type_information,json=typeInformation,proto3" json:"type_information,omitempty"` Metadata *Metadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` SourcePosition *SourcePosition `protobuf:"bytes,5,opt,name=source_position,json=sourcePosition,proto3" json:"source_position,omitempty"` AliasingRelation string `protobuf:"bytes,6,opt,name=aliasing_relation,json=aliasingRelation,proto3" json:"aliasing_relation,omitempty"` CanonicalCacheKey string `protobuf:"bytes,7,opt,name=canonical_cache_key,json=canonicalCacheKey,proto3" json:"canonical_cache_key,omitempty"` // contains filtered or unexported fields }
func (*Relation) Descriptor
deprecated
func (*Relation) GetAliasingRelation ¶ added in v1.7.0
func (*Relation) GetCanonicalCacheKey ¶ added in v1.7.0
func (*Relation) GetMetadata ¶
func (*Relation) GetSourcePosition ¶
func (x *Relation) GetSourcePosition() *SourcePosition
func (*Relation) GetTypeInformation ¶
func (x *Relation) GetTypeInformation() *TypeInformation
func (*Relation) GetUsersetRewrite ¶
func (x *Relation) GetUsersetRewrite() *UsersetRewrite
func (*Relation) ProtoMessage ¶
func (*Relation) ProtoMessage()
func (*Relation) ProtoReflect ¶
func (x *Relation) ProtoReflect() protoreflect.Message
func (*Relation) Validate ¶
Validate checks the field values on Relation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Relation) ValidateAll ¶
ValidateAll checks the field values on Relation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RelationMultiError, or nil if none found.
type RelationMultiError ¶
type RelationMultiError []error
RelationMultiError is an error wrapping multiple validation errors returned by Relation.ValidateAll() if the designated constraints aren't met.
func (RelationMultiError) AllErrors ¶
func (m RelationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelationMultiError) Error ¶
func (m RelationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelationReference ¶
type RelationReference struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
func ToCoreRelationReference ¶
func ToCoreRelationReference(ref *v0.RelationReference) *RelationReference
ToCoreRelationReference converts the input to a core ToCoreRelationReference.
func (*RelationReference) Descriptor
deprecated
func (*RelationReference) Descriptor() ([]byte, []int)
Deprecated: Use RelationReference.ProtoReflect.Descriptor instead.
func (*RelationReference) GetNamespace ¶
func (x *RelationReference) GetNamespace() string
func (*RelationReference) GetRelation ¶
func (x *RelationReference) GetRelation() string
func (*RelationReference) ProtoMessage ¶
func (*RelationReference) ProtoMessage()
func (*RelationReference) ProtoReflect ¶
func (x *RelationReference) ProtoReflect() protoreflect.Message
func (*RelationReference) Reset ¶
func (x *RelationReference) Reset()
func (*RelationReference) String ¶
func (x *RelationReference) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*RelationReference) ValidateAll ¶
func (m *RelationReference) ValidateAll() error
ValidateAll checks the field values on RelationReference with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RelationReferenceMultiError, or nil if none found.
type RelationReferenceMultiError ¶
type RelationReferenceMultiError []error
RelationReferenceMultiError is an error wrapping multiple validation errors returned by RelationReference.ValidateAll() if the designated constraints aren't met.
func (RelationReferenceMultiError) AllErrors ¶
func (m RelationReferenceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelationReferenceMultiError) Error ¶
func (m RelationReferenceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 RelationTuple ¶
type RelationTuple struct { // Each tupleset specifies keys of a set of relation tuples. The set can // include a single tuple key, or all tuples with a given object ID or // userset in a namespace, optionally constrained by a relation name. // // examples: // doc:readme#viewer@group:eng#member (fully specified) // doc:*#*#group:eng#member (all tuples that this userset relates to) // doc:12345#*#* (all tuples with a direct relationship to a document) // doc:12345#writer#* (all tuples with direct write relationship with the // document) doc:#writer#group:eng#member (all tuples that eng group has write // relationship) ObjectAndRelation *ObjectAndRelation `protobuf:"bytes,1,opt,name=object_and_relation,json=objectAndRelation,proto3" json:"object_and_relation,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func ToCoreRelationTuple ¶
func ToCoreRelationTuple(tuple *v0.RelationTuple) *RelationTuple
ToCoreRelationTuple converts the input to a core RelationTuple.
func ToCoreRelationTuples ¶
func ToCoreRelationTuples(tuples []*v0.RelationTuple) []*RelationTuple
ToCoreRelationTuples converts the input slice elements to core RelationTuple.
func (*RelationTuple) Descriptor
deprecated
func (*RelationTuple) Descriptor() ([]byte, []int)
Deprecated: Use RelationTuple.ProtoReflect.Descriptor instead.
func (*RelationTuple) GetObjectAndRelation ¶
func (x *RelationTuple) GetObjectAndRelation() *ObjectAndRelation
func (*RelationTuple) GetUser ¶
func (x *RelationTuple) GetUser() *User
func (*RelationTuple) ProtoMessage ¶
func (*RelationTuple) ProtoMessage()
func (*RelationTuple) ProtoReflect ¶
func (x *RelationTuple) ProtoReflect() protoreflect.Message
func (*RelationTuple) Reset ¶
func (x *RelationTuple) Reset()
func (*RelationTuple) String ¶
func (x *RelationTuple) String() string
func (*RelationTuple) Validate ¶
func (m *RelationTuple) Validate() error
Validate checks the field values on RelationTuple with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RelationTuple) ValidateAll ¶
func (m *RelationTuple) ValidateAll() error
ValidateAll checks the field values on RelationTuple with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RelationTupleMultiError, or nil if none found.
type RelationTupleMultiError ¶
type RelationTupleMultiError []error
RelationTupleMultiError is an error wrapping multiple validation errors returned by RelationTuple.ValidateAll() if the designated constraints aren't met.
func (RelationTupleMultiError) AllErrors ¶
func (m RelationTupleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelationTupleMultiError) Error ¶
func (m RelationTupleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelationTupleTreeNode ¶
type RelationTupleTreeNode struct { // Types that are assignable to NodeType: // *RelationTupleTreeNode_IntermediateNode // *RelationTupleTreeNode_LeafNode NodeType isRelationTupleTreeNode_NodeType `protobuf_oneof:"node_type"` Expanded *ObjectAndRelation `protobuf:"bytes,3,opt,name=expanded,proto3" json:"expanded,omitempty"` // contains filtered or unexported fields }
func ToCoreRelationTupleTreeNode ¶
func ToCoreRelationTupleTreeNode(treenode *v0.RelationTupleTreeNode) *RelationTupleTreeNode
ToCoreRelationTupleTreeNode converts the input to a core RelationTupleTreeNode.
func (*RelationTupleTreeNode) Descriptor
deprecated
func (*RelationTupleTreeNode) Descriptor() ([]byte, []int)
Deprecated: Use RelationTupleTreeNode.ProtoReflect.Descriptor instead.
func (*RelationTupleTreeNode) GetExpanded ¶
func (x *RelationTupleTreeNode) GetExpanded() *ObjectAndRelation
func (*RelationTupleTreeNode) GetIntermediateNode ¶
func (x *RelationTupleTreeNode) GetIntermediateNode() *SetOperationUserset
func (*RelationTupleTreeNode) GetLeafNode ¶
func (x *RelationTupleTreeNode) GetLeafNode() *DirectUserset
func (*RelationTupleTreeNode) GetNodeType ¶
func (m *RelationTupleTreeNode) GetNodeType() isRelationTupleTreeNode_NodeType
func (*RelationTupleTreeNode) ProtoMessage ¶
func (*RelationTupleTreeNode) ProtoMessage()
func (*RelationTupleTreeNode) ProtoReflect ¶
func (x *RelationTupleTreeNode) ProtoReflect() protoreflect.Message
func (*RelationTupleTreeNode) Reset ¶
func (x *RelationTupleTreeNode) Reset()
func (*RelationTupleTreeNode) String ¶
func (x *RelationTupleTreeNode) String() string
func (*RelationTupleTreeNode) Validate ¶
func (m *RelationTupleTreeNode) Validate() error
Validate checks the field values on RelationTupleTreeNode with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RelationTupleTreeNode) ValidateAll ¶
func (m *RelationTupleTreeNode) ValidateAll() error
ValidateAll checks the field values on RelationTupleTreeNode with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RelationTupleTreeNodeMultiError, or nil if none found.
type RelationTupleTreeNodeMultiError ¶
type RelationTupleTreeNodeMultiError []error
RelationTupleTreeNodeMultiError is an error wrapping multiple validation errors returned by RelationTupleTreeNode.ValidateAll() if the designated constraints aren't met.
func (RelationTupleTreeNodeMultiError) AllErrors ¶
func (m RelationTupleTreeNodeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelationTupleTreeNodeMultiError) Error ¶
func (m RelationTupleTreeNodeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelationTupleTreeNodeValidationError ¶
type RelationTupleTreeNodeValidationError struct {
// contains filtered or unexported fields
}
RelationTupleTreeNodeValidationError is the validation error returned by RelationTupleTreeNode.Validate if the designated constraints aren't met.
func (RelationTupleTreeNodeValidationError) Cause ¶
func (e RelationTupleTreeNodeValidationError) Cause() error
Cause function returns cause value.
func (RelationTupleTreeNodeValidationError) Error ¶
func (e RelationTupleTreeNodeValidationError) Error() string
Error satisfies the builtin error interface
func (RelationTupleTreeNodeValidationError) ErrorName ¶
func (e RelationTupleTreeNodeValidationError) ErrorName() string
ErrorName returns error name.
func (RelationTupleTreeNodeValidationError) Field ¶
func (e RelationTupleTreeNodeValidationError) Field() string
Field function returns field value.
func (RelationTupleTreeNodeValidationError) Key ¶
func (e RelationTupleTreeNodeValidationError) Key() bool
Key function returns key value.
func (RelationTupleTreeNodeValidationError) Reason ¶
func (e RelationTupleTreeNodeValidationError) Reason() string
Reason function returns reason value.
type RelationTupleTreeNode_IntermediateNode ¶
type RelationTupleTreeNode_IntermediateNode struct {
IntermediateNode *SetOperationUserset `protobuf:"bytes,1,opt,name=intermediate_node,json=intermediateNode,proto3,oneof"`
}
type RelationTupleTreeNode_LeafNode ¶
type RelationTupleTreeNode_LeafNode struct {
LeafNode *DirectUserset `protobuf:"bytes,2,opt,name=leaf_node,json=leafNode,proto3,oneof"`
}
type RelationTupleUpdate ¶
type RelationTupleUpdate struct { Operation RelationTupleUpdate_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=core.v1.RelationTupleUpdate_Operation" json:"operation,omitempty"` Tuple *RelationTuple `protobuf:"bytes,2,opt,name=tuple,proto3" json:"tuple,omitempty"` // contains filtered or unexported fields }
func ToCoreRelationTupleUpdate ¶
func ToCoreRelationTupleUpdate(update *v0.RelationTupleUpdate) *RelationTupleUpdate
ToCoreRelationTupleUpdate converts the input to a core ToCoreRelationTupleUpdate.
func (*RelationTupleUpdate) Descriptor
deprecated
func (*RelationTupleUpdate) Descriptor() ([]byte, []int)
Deprecated: Use RelationTupleUpdate.ProtoReflect.Descriptor instead.
func (*RelationTupleUpdate) GetOperation ¶
func (x *RelationTupleUpdate) GetOperation() RelationTupleUpdate_Operation
func (*RelationTupleUpdate) GetTuple ¶
func (x *RelationTupleUpdate) GetTuple() *RelationTuple
func (*RelationTupleUpdate) ProtoMessage ¶
func (*RelationTupleUpdate) ProtoMessage()
func (*RelationTupleUpdate) ProtoReflect ¶
func (x *RelationTupleUpdate) ProtoReflect() protoreflect.Message
func (*RelationTupleUpdate) Reset ¶
func (x *RelationTupleUpdate) Reset()
func (*RelationTupleUpdate) String ¶
func (x *RelationTupleUpdate) String() string
func (*RelationTupleUpdate) Validate ¶
func (m *RelationTupleUpdate) Validate() error
Validate checks the field values on RelationTupleUpdate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RelationTupleUpdate) ValidateAll ¶
func (m *RelationTupleUpdate) ValidateAll() error
ValidateAll checks the field values on RelationTupleUpdate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RelationTupleUpdateMultiError, or nil if none found.
type RelationTupleUpdateMultiError ¶
type RelationTupleUpdateMultiError []error
RelationTupleUpdateMultiError is an error wrapping multiple validation errors returned by RelationTupleUpdate.ValidateAll() if the designated constraints aren't met.
func (RelationTupleUpdateMultiError) AllErrors ¶
func (m RelationTupleUpdateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelationTupleUpdateMultiError) Error ¶
func (m RelationTupleUpdateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelationTupleUpdateValidationError ¶
type RelationTupleUpdateValidationError struct {
// contains filtered or unexported fields
}
RelationTupleUpdateValidationError is the validation error returned by RelationTupleUpdate.Validate if the designated constraints aren't met.
func (RelationTupleUpdateValidationError) Cause ¶
func (e RelationTupleUpdateValidationError) Cause() error
Cause function returns cause value.
func (RelationTupleUpdateValidationError) Error ¶
func (e RelationTupleUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (RelationTupleUpdateValidationError) ErrorName ¶
func (e RelationTupleUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (RelationTupleUpdateValidationError) Field ¶
func (e RelationTupleUpdateValidationError) Field() string
Field function returns field value.
func (RelationTupleUpdateValidationError) Key ¶
func (e RelationTupleUpdateValidationError) Key() bool
Key function returns key value.
func (RelationTupleUpdateValidationError) Reason ¶
func (e RelationTupleUpdateValidationError) Reason() string
Reason function returns reason value.
type RelationTupleUpdate_Operation ¶
type RelationTupleUpdate_Operation int32
const ( RelationTupleUpdate_UNKNOWN RelationTupleUpdate_Operation = 0 RelationTupleUpdate_CREATE RelationTupleUpdate_Operation = 1 RelationTupleUpdate_TOUCH RelationTupleUpdate_Operation = 2 RelationTupleUpdate_DELETE RelationTupleUpdate_Operation = 3 )
func (RelationTupleUpdate_Operation) Descriptor ¶
func (RelationTupleUpdate_Operation) Descriptor() protoreflect.EnumDescriptor
func (RelationTupleUpdate_Operation) Enum ¶
func (x RelationTupleUpdate_Operation) Enum() *RelationTupleUpdate_Operation
func (RelationTupleUpdate_Operation) EnumDescriptor
deprecated
func (RelationTupleUpdate_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use RelationTupleUpdate_Operation.Descriptor instead.
func (RelationTupleUpdate_Operation) Number ¶
func (x RelationTupleUpdate_Operation) Number() protoreflect.EnumNumber
func (RelationTupleUpdate_Operation) String ¶
func (x RelationTupleUpdate_Operation) String() string
func (RelationTupleUpdate_Operation) Type ¶
func (RelationTupleUpdate_Operation) Type() protoreflect.EnumType
type RelationTupleValidationError ¶
type RelationTupleValidationError struct {
// contains filtered or unexported fields
}
RelationTupleValidationError is the validation error returned by RelationTuple.Validate if the designated constraints aren't met.
func (RelationTupleValidationError) Cause ¶
func (e RelationTupleValidationError) Cause() error
Cause function returns cause value.
func (RelationTupleValidationError) Error ¶
func (e RelationTupleValidationError) Error() string
Error satisfies the builtin error interface
func (RelationTupleValidationError) ErrorName ¶
func (e RelationTupleValidationError) ErrorName() string
ErrorName returns error name.
func (RelationTupleValidationError) Field ¶
func (e RelationTupleValidationError) Field() string
Field function returns field value.
func (RelationTupleValidationError) Key ¶
func (e RelationTupleValidationError) Key() bool
Key function returns key value.
func (RelationTupleValidationError) Reason ¶
func (e RelationTupleValidationError) Reason() string
Reason function returns reason value.
type RelationValidationError ¶
type RelationValidationError struct {
// contains filtered or unexported fields
}
RelationValidationError is the validation error returned by Relation.Validate if the designated constraints aren't met.
func (RelationValidationError) Cause ¶
func (e RelationValidationError) Cause() error
Cause function returns cause value.
func (RelationValidationError) Error ¶
func (e RelationValidationError) Error() string
Error satisfies the builtin error interface
func (RelationValidationError) ErrorName ¶
func (e RelationValidationError) ErrorName() string
ErrorName returns error name.
func (RelationValidationError) Field ¶
func (e RelationValidationError) Field() string
Field function returns field value.
func (RelationValidationError) Key ¶
func (e RelationValidationError) Key() bool
Key function returns key value.
func (RelationValidationError) Reason ¶
func (e RelationValidationError) Reason() string
Reason function returns reason value.
type SetOperation ¶
type SetOperation struct { Child []*SetOperation_Child `protobuf:"bytes,1,rep,name=child,proto3" json:"child,omitempty"` // contains filtered or unexported fields }
func (*SetOperation) Descriptor
deprecated
func (*SetOperation) Descriptor() ([]byte, []int)
Deprecated: Use SetOperation.ProtoReflect.Descriptor instead.
func (*SetOperation) GetChild ¶
func (x *SetOperation) GetChild() []*SetOperation_Child
func (*SetOperation) ProtoMessage ¶
func (*SetOperation) ProtoMessage()
func (*SetOperation) ProtoReflect ¶
func (x *SetOperation) ProtoReflect() protoreflect.Message
func (*SetOperation) Reset ¶
func (x *SetOperation) Reset()
func (*SetOperation) String ¶
func (x *SetOperation) String() string
func (*SetOperation) Validate ¶
func (m *SetOperation) Validate() error
Validate checks the field values on SetOperation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SetOperation) ValidateAll ¶
func (m *SetOperation) ValidateAll() error
ValidateAll checks the field values on SetOperation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetOperationMultiError, or nil if none found.
type SetOperationMultiError ¶
type SetOperationMultiError []error
SetOperationMultiError is an error wrapping multiple validation errors returned by SetOperation.ValidateAll() if the designated constraints aren't met.
func (SetOperationMultiError) AllErrors ¶
func (m SetOperationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetOperationMultiError) Error ¶
func (m SetOperationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetOperationUserset ¶
type SetOperationUserset struct { Operation SetOperationUserset_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=core.v1.SetOperationUserset_Operation" json:"operation,omitempty"` ChildNodes []*RelationTupleTreeNode `protobuf:"bytes,2,rep,name=child_nodes,json=childNodes,proto3" json:"child_nodes,omitempty"` // contains filtered or unexported fields }
func (*SetOperationUserset) Descriptor
deprecated
func (*SetOperationUserset) Descriptor() ([]byte, []int)
Deprecated: Use SetOperationUserset.ProtoReflect.Descriptor instead.
func (*SetOperationUserset) GetChildNodes ¶
func (x *SetOperationUserset) GetChildNodes() []*RelationTupleTreeNode
func (*SetOperationUserset) GetOperation ¶
func (x *SetOperationUserset) GetOperation() SetOperationUserset_Operation
func (*SetOperationUserset) ProtoMessage ¶
func (*SetOperationUserset) ProtoMessage()
func (*SetOperationUserset) ProtoReflect ¶
func (x *SetOperationUserset) ProtoReflect() protoreflect.Message
func (*SetOperationUserset) Reset ¶
func (x *SetOperationUserset) Reset()
func (*SetOperationUserset) String ¶
func (x *SetOperationUserset) String() string
func (*SetOperationUserset) Validate ¶
func (m *SetOperationUserset) Validate() error
Validate checks the field values on SetOperationUserset with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SetOperationUserset) ValidateAll ¶
func (m *SetOperationUserset) ValidateAll() error
ValidateAll checks the field values on SetOperationUserset with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetOperationUsersetMultiError, or nil if none found.
type SetOperationUsersetMultiError ¶
type SetOperationUsersetMultiError []error
SetOperationUsersetMultiError is an error wrapping multiple validation errors returned by SetOperationUserset.ValidateAll() if the designated constraints aren't met.
func (SetOperationUsersetMultiError) AllErrors ¶
func (m SetOperationUsersetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetOperationUsersetMultiError) Error ¶
func (m SetOperationUsersetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetOperationUsersetValidationError ¶
type SetOperationUsersetValidationError struct {
// contains filtered or unexported fields
}
SetOperationUsersetValidationError is the validation error returned by SetOperationUserset.Validate if the designated constraints aren't met.
func (SetOperationUsersetValidationError) Cause ¶
func (e SetOperationUsersetValidationError) Cause() error
Cause function returns cause value.
func (SetOperationUsersetValidationError) Error ¶
func (e SetOperationUsersetValidationError) Error() string
Error satisfies the builtin error interface
func (SetOperationUsersetValidationError) ErrorName ¶
func (e SetOperationUsersetValidationError) ErrorName() string
ErrorName returns error name.
func (SetOperationUsersetValidationError) Field ¶
func (e SetOperationUsersetValidationError) Field() string
Field function returns field value.
func (SetOperationUsersetValidationError) Key ¶
func (e SetOperationUsersetValidationError) Key() bool
Key function returns key value.
func (SetOperationUsersetValidationError) Reason ¶
func (e SetOperationUsersetValidationError) Reason() string
Reason function returns reason value.
type SetOperationUserset_Operation ¶
type SetOperationUserset_Operation int32
const ( SetOperationUserset_INVALID SetOperationUserset_Operation = 0 SetOperationUserset_UNION SetOperationUserset_Operation = 1 SetOperationUserset_INTERSECTION SetOperationUserset_Operation = 2 SetOperationUserset_EXCLUSION SetOperationUserset_Operation = 3 )
func (SetOperationUserset_Operation) Descriptor ¶
func (SetOperationUserset_Operation) Descriptor() protoreflect.EnumDescriptor
func (SetOperationUserset_Operation) Enum ¶
func (x SetOperationUserset_Operation) Enum() *SetOperationUserset_Operation
func (SetOperationUserset_Operation) EnumDescriptor
deprecated
func (SetOperationUserset_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetOperationUserset_Operation.Descriptor instead.
func (SetOperationUserset_Operation) Number ¶
func (x SetOperationUserset_Operation) Number() protoreflect.EnumNumber
func (SetOperationUserset_Operation) String ¶
func (x SetOperationUserset_Operation) String() string
func (SetOperationUserset_Operation) Type ¶
func (SetOperationUserset_Operation) Type() protoreflect.EnumType
type SetOperationValidationError ¶
type SetOperationValidationError struct {
// contains filtered or unexported fields
}
SetOperationValidationError is the validation error returned by SetOperation.Validate if the designated constraints aren't met.
func (SetOperationValidationError) Cause ¶
func (e SetOperationValidationError) Cause() error
Cause function returns cause value.
func (SetOperationValidationError) Error ¶
func (e SetOperationValidationError) Error() string
Error satisfies the builtin error interface
func (SetOperationValidationError) ErrorName ¶
func (e SetOperationValidationError) ErrorName() string
ErrorName returns error name.
func (SetOperationValidationError) Field ¶
func (e SetOperationValidationError) Field() string
Field function returns field value.
func (SetOperationValidationError) Key ¶
func (e SetOperationValidationError) Key() bool
Key function returns key value.
func (SetOperationValidationError) Reason ¶
func (e SetOperationValidationError) Reason() string
Reason function returns reason value.
type SetOperation_Child ¶
type SetOperation_Child struct { // Types that are assignable to ChildType: // *SetOperation_Child_XThis // *SetOperation_Child_ComputedUserset // *SetOperation_Child_TupleToUserset // *SetOperation_Child_UsersetRewrite // *SetOperation_Child_XNil ChildType isSetOperation_Child_ChildType `protobuf_oneof:"child_type"` SourcePosition *SourcePosition `protobuf:"bytes,5,opt,name=source_position,json=sourcePosition,proto3" json:"source_position,omitempty"` // contains filtered or unexported fields }
func (*SetOperation_Child) Descriptor
deprecated
func (*SetOperation_Child) Descriptor() ([]byte, []int)
Deprecated: Use SetOperation_Child.ProtoReflect.Descriptor instead.
func (*SetOperation_Child) GetChildType ¶
func (m *SetOperation_Child) GetChildType() isSetOperation_Child_ChildType
func (*SetOperation_Child) GetComputedUserset ¶
func (x *SetOperation_Child) GetComputedUserset() *ComputedUserset
func (*SetOperation_Child) GetSourcePosition ¶
func (x *SetOperation_Child) GetSourcePosition() *SourcePosition
func (*SetOperation_Child) GetTupleToUserset ¶
func (x *SetOperation_Child) GetTupleToUserset() *TupleToUserset
func (*SetOperation_Child) GetUsersetRewrite ¶
func (x *SetOperation_Child) GetUsersetRewrite() *UsersetRewrite
func (*SetOperation_Child) GetXNil ¶
func (x *SetOperation_Child) GetXNil() *SetOperation_Child_Nil
func (*SetOperation_Child) GetXThis ¶
func (x *SetOperation_Child) GetXThis() *SetOperation_Child_This
func (*SetOperation_Child) ProtoMessage ¶
func (*SetOperation_Child) ProtoMessage()
func (*SetOperation_Child) ProtoReflect ¶
func (x *SetOperation_Child) ProtoReflect() protoreflect.Message
func (*SetOperation_Child) Reset ¶
func (x *SetOperation_Child) Reset()
func (*SetOperation_Child) String ¶
func (x *SetOperation_Child) String() string
func (*SetOperation_Child) Validate ¶
func (m *SetOperation_Child) Validate() error
Validate checks the field values on SetOperation_Child with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SetOperation_Child) ValidateAll ¶
func (m *SetOperation_Child) ValidateAll() error
ValidateAll checks the field values on SetOperation_Child with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetOperation_ChildMultiError, or nil if none found.
type SetOperation_ChildMultiError ¶
type SetOperation_ChildMultiError []error
SetOperation_ChildMultiError is an error wrapping multiple validation errors returned by SetOperation_Child.ValidateAll() if the designated constraints aren't met.
func (SetOperation_ChildMultiError) AllErrors ¶
func (m SetOperation_ChildMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetOperation_ChildMultiError) Error ¶
func (m SetOperation_ChildMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetOperation_ChildValidationError ¶
type SetOperation_ChildValidationError struct {
// contains filtered or unexported fields
}
SetOperation_ChildValidationError is the validation error returned by SetOperation_Child.Validate if the designated constraints aren't met.
func (SetOperation_ChildValidationError) Cause ¶
func (e SetOperation_ChildValidationError) Cause() error
Cause function returns cause value.
func (SetOperation_ChildValidationError) Error ¶
func (e SetOperation_ChildValidationError) Error() string
Error satisfies the builtin error interface
func (SetOperation_ChildValidationError) ErrorName ¶
func (e SetOperation_ChildValidationError) ErrorName() string
ErrorName returns error name.
func (SetOperation_ChildValidationError) Field ¶
func (e SetOperation_ChildValidationError) Field() string
Field function returns field value.
func (SetOperation_ChildValidationError) Key ¶
func (e SetOperation_ChildValidationError) Key() bool
Key function returns key value.
func (SetOperation_ChildValidationError) Reason ¶
func (e SetOperation_ChildValidationError) Reason() string
Reason function returns reason value.
type SetOperation_Child_ComputedUserset ¶
type SetOperation_Child_ComputedUserset struct {
ComputedUserset *ComputedUserset `protobuf:"bytes,2,opt,name=computed_userset,json=computedUserset,proto3,oneof"`
}
type SetOperation_Child_Nil ¶
type SetOperation_Child_Nil struct {
// contains filtered or unexported fields
}
func (*SetOperation_Child_Nil) Descriptor
deprecated
func (*SetOperation_Child_Nil) Descriptor() ([]byte, []int)
Deprecated: Use SetOperation_Child_Nil.ProtoReflect.Descriptor instead.
func (*SetOperation_Child_Nil) ProtoMessage ¶
func (*SetOperation_Child_Nil) ProtoMessage()
func (*SetOperation_Child_Nil) ProtoReflect ¶
func (x *SetOperation_Child_Nil) ProtoReflect() protoreflect.Message
func (*SetOperation_Child_Nil) Reset ¶
func (x *SetOperation_Child_Nil) Reset()
func (*SetOperation_Child_Nil) String ¶
func (x *SetOperation_Child_Nil) String() string
func (*SetOperation_Child_Nil) Validate ¶
func (m *SetOperation_Child_Nil) Validate() error
Validate checks the field values on SetOperation_Child_Nil with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SetOperation_Child_Nil) ValidateAll ¶
func (m *SetOperation_Child_Nil) ValidateAll() error
ValidateAll checks the field values on SetOperation_Child_Nil with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetOperation_Child_NilMultiError, or nil if none found.
type SetOperation_Child_NilMultiError ¶
type SetOperation_Child_NilMultiError []error
SetOperation_Child_NilMultiError is an error wrapping multiple validation errors returned by SetOperation_Child_Nil.ValidateAll() if the designated constraints aren't met.
func (SetOperation_Child_NilMultiError) AllErrors ¶
func (m SetOperation_Child_NilMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetOperation_Child_NilMultiError) Error ¶
func (m SetOperation_Child_NilMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetOperation_Child_NilValidationError ¶
type SetOperation_Child_NilValidationError struct {
// contains filtered or unexported fields
}
SetOperation_Child_NilValidationError is the validation error returned by SetOperation_Child_Nil.Validate if the designated constraints aren't met.
func (SetOperation_Child_NilValidationError) Cause ¶
func (e SetOperation_Child_NilValidationError) Cause() error
Cause function returns cause value.
func (SetOperation_Child_NilValidationError) Error ¶
func (e SetOperation_Child_NilValidationError) Error() string
Error satisfies the builtin error interface
func (SetOperation_Child_NilValidationError) ErrorName ¶
func (e SetOperation_Child_NilValidationError) ErrorName() string
ErrorName returns error name.
func (SetOperation_Child_NilValidationError) Field ¶
func (e SetOperation_Child_NilValidationError) Field() string
Field function returns field value.
func (SetOperation_Child_NilValidationError) Key ¶
func (e SetOperation_Child_NilValidationError) Key() bool
Key function returns key value.
func (SetOperation_Child_NilValidationError) Reason ¶
func (e SetOperation_Child_NilValidationError) Reason() string
Reason function returns reason value.
type SetOperation_Child_This ¶
type SetOperation_Child_This struct {
// contains filtered or unexported fields
}
func (*SetOperation_Child_This) Descriptor
deprecated
func (*SetOperation_Child_This) Descriptor() ([]byte, []int)
Deprecated: Use SetOperation_Child_This.ProtoReflect.Descriptor instead.
func (*SetOperation_Child_This) ProtoMessage ¶
func (*SetOperation_Child_This) ProtoMessage()
func (*SetOperation_Child_This) ProtoReflect ¶
func (x *SetOperation_Child_This) ProtoReflect() protoreflect.Message
func (*SetOperation_Child_This) Reset ¶
func (x *SetOperation_Child_This) Reset()
func (*SetOperation_Child_This) String ¶
func (x *SetOperation_Child_This) String() string
func (*SetOperation_Child_This) Validate ¶
func (m *SetOperation_Child_This) Validate() error
Validate checks the field values on SetOperation_Child_This with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SetOperation_Child_This) ValidateAll ¶
func (m *SetOperation_Child_This) ValidateAll() error
ValidateAll checks the field values on SetOperation_Child_This with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetOperation_Child_ThisMultiError, or nil if none found.
type SetOperation_Child_ThisMultiError ¶
type SetOperation_Child_ThisMultiError []error
SetOperation_Child_ThisMultiError is an error wrapping multiple validation errors returned by SetOperation_Child_This.ValidateAll() if the designated constraints aren't met.
func (SetOperation_Child_ThisMultiError) AllErrors ¶
func (m SetOperation_Child_ThisMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetOperation_Child_ThisMultiError) Error ¶
func (m SetOperation_Child_ThisMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetOperation_Child_ThisValidationError ¶
type SetOperation_Child_ThisValidationError struct {
// contains filtered or unexported fields
}
SetOperation_Child_ThisValidationError is the validation error returned by SetOperation_Child_This.Validate if the designated constraints aren't met.
func (SetOperation_Child_ThisValidationError) Cause ¶
func (e SetOperation_Child_ThisValidationError) Cause() error
Cause function returns cause value.
func (SetOperation_Child_ThisValidationError) Error ¶
func (e SetOperation_Child_ThisValidationError) Error() string
Error satisfies the builtin error interface
func (SetOperation_Child_ThisValidationError) ErrorName ¶
func (e SetOperation_Child_ThisValidationError) ErrorName() string
ErrorName returns error name.
func (SetOperation_Child_ThisValidationError) Field ¶
func (e SetOperation_Child_ThisValidationError) Field() string
Field function returns field value.
func (SetOperation_Child_ThisValidationError) Key ¶
func (e SetOperation_Child_ThisValidationError) Key() bool
Key function returns key value.
func (SetOperation_Child_ThisValidationError) Reason ¶
func (e SetOperation_Child_ThisValidationError) Reason() string
Reason function returns reason value.
type SetOperation_Child_TupleToUserset ¶
type SetOperation_Child_TupleToUserset struct {
TupleToUserset *TupleToUserset `protobuf:"bytes,3,opt,name=tuple_to_userset,json=tupleToUserset,proto3,oneof"`
}
type SetOperation_Child_UsersetRewrite ¶
type SetOperation_Child_UsersetRewrite struct {
UsersetRewrite *UsersetRewrite `protobuf:"bytes,4,opt,name=userset_rewrite,json=usersetRewrite,proto3,oneof"`
}
type SetOperation_Child_XNil ¶
type SetOperation_Child_XNil struct {
XNil *SetOperation_Child_Nil `protobuf:"bytes,6,opt,name=_nil,json=Nil,proto3,oneof"`
}
type SetOperation_Child_XThis ¶
type SetOperation_Child_XThis struct {
XThis *SetOperation_Child_This `protobuf:"bytes,1,opt,name=_this,json=This,proto3,oneof"`
}
type SourcePosition ¶
type SourcePosition struct { ZeroIndexedLineNumber uint64 `` /* 129-byte string literal not displayed */ ZeroIndexedColumnPosition uint64 `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SourcePosition) Descriptor
deprecated
func (*SourcePosition) Descriptor() ([]byte, []int)
Deprecated: Use SourcePosition.ProtoReflect.Descriptor instead.
func (*SourcePosition) GetZeroIndexedColumnPosition ¶
func (x *SourcePosition) GetZeroIndexedColumnPosition() uint64
func (*SourcePosition) GetZeroIndexedLineNumber ¶
func (x *SourcePosition) GetZeroIndexedLineNumber() uint64
func (*SourcePosition) ProtoMessage ¶
func (*SourcePosition) ProtoMessage()
func (*SourcePosition) ProtoReflect ¶
func (x *SourcePosition) ProtoReflect() protoreflect.Message
func (*SourcePosition) Reset ¶
func (x *SourcePosition) Reset()
func (*SourcePosition) String ¶
func (x *SourcePosition) String() string
func (*SourcePosition) Validate ¶
func (m *SourcePosition) Validate() error
Validate checks the field values on SourcePosition with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SourcePosition) ValidateAll ¶
func (m *SourcePosition) ValidateAll() error
ValidateAll checks the field values on SourcePosition with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SourcePositionMultiError, or nil if none found.
type SourcePositionMultiError ¶
type SourcePositionMultiError []error
SourcePositionMultiError is an error wrapping multiple validation errors returned by SourcePosition.ValidateAll() if the designated constraints aren't met.
func (SourcePositionMultiError) AllErrors ¶
func (m SourcePositionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourcePositionMultiError) Error ¶
func (m SourcePositionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourcePositionValidationError ¶
type SourcePositionValidationError struct {
// contains filtered or unexported fields
}
SourcePositionValidationError is the validation error returned by SourcePosition.Validate if the designated constraints aren't met.
func (SourcePositionValidationError) Cause ¶
func (e SourcePositionValidationError) Cause() error
Cause function returns cause value.
func (SourcePositionValidationError) Error ¶
func (e SourcePositionValidationError) Error() string
Error satisfies the builtin error interface
func (SourcePositionValidationError) ErrorName ¶
func (e SourcePositionValidationError) ErrorName() string
ErrorName returns error name.
func (SourcePositionValidationError) Field ¶
func (e SourcePositionValidationError) Field() string
Field function returns field value.
func (SourcePositionValidationError) Key ¶
func (e SourcePositionValidationError) Key() bool
Key function returns key value.
func (SourcePositionValidationError) Reason ¶
func (e SourcePositionValidationError) Reason() string
Reason function returns reason value.
type TupleToUserset ¶
type TupleToUserset struct { Tupleset *TupleToUserset_Tupleset `protobuf:"bytes,1,opt,name=tupleset,proto3" json:"tupleset,omitempty"` ComputedUserset *ComputedUserset `protobuf:"bytes,2,opt,name=computed_userset,json=computedUserset,proto3" json:"computed_userset,omitempty"` SourcePosition *SourcePosition `protobuf:"bytes,3,opt,name=source_position,json=sourcePosition,proto3" json:"source_position,omitempty"` // contains filtered or unexported fields }
func (*TupleToUserset) Descriptor
deprecated
func (*TupleToUserset) Descriptor() ([]byte, []int)
Deprecated: Use TupleToUserset.ProtoReflect.Descriptor instead.
func (*TupleToUserset) GetComputedUserset ¶
func (x *TupleToUserset) GetComputedUserset() *ComputedUserset
func (*TupleToUserset) GetSourcePosition ¶
func (x *TupleToUserset) GetSourcePosition() *SourcePosition
func (*TupleToUserset) GetTupleset ¶
func (x *TupleToUserset) GetTupleset() *TupleToUserset_Tupleset
func (*TupleToUserset) ProtoMessage ¶
func (*TupleToUserset) ProtoMessage()
func (*TupleToUserset) ProtoReflect ¶
func (x *TupleToUserset) ProtoReflect() protoreflect.Message
func (*TupleToUserset) Reset ¶
func (x *TupleToUserset) Reset()
func (*TupleToUserset) String ¶
func (x *TupleToUserset) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*TupleToUserset) ValidateAll ¶
func (m *TupleToUserset) ValidateAll() error
ValidateAll checks the field values on TupleToUserset with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TupleToUsersetMultiError, or nil if none found.
type TupleToUsersetMultiError ¶
type TupleToUsersetMultiError []error
TupleToUsersetMultiError is an error wrapping multiple validation errors returned by TupleToUserset.ValidateAll() if the designated constraints aren't met.
func (TupleToUsersetMultiError) AllErrors ¶
func (m TupleToUsersetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TupleToUsersetMultiError) Error ¶
func (m TupleToUsersetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 TupleToUserset_Tupleset ¶
type TupleToUserset_Tupleset struct { Relation string `protobuf:"bytes,1,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
func (*TupleToUserset_Tupleset) Descriptor
deprecated
func (*TupleToUserset_Tupleset) Descriptor() ([]byte, []int)
Deprecated: Use TupleToUserset_Tupleset.ProtoReflect.Descriptor instead.
func (*TupleToUserset_Tupleset) GetRelation ¶
func (x *TupleToUserset_Tupleset) GetRelation() string
func (*TupleToUserset_Tupleset) ProtoMessage ¶
func (*TupleToUserset_Tupleset) ProtoMessage()
func (*TupleToUserset_Tupleset) ProtoReflect ¶
func (x *TupleToUserset_Tupleset) ProtoReflect() protoreflect.Message
func (*TupleToUserset_Tupleset) Reset ¶
func (x *TupleToUserset_Tupleset) Reset()
func (*TupleToUserset_Tupleset) String ¶
func (x *TupleToUserset_Tupleset) String() string
func (*TupleToUserset_Tupleset) Validate ¶
func (m *TupleToUserset_Tupleset) Validate() error
Validate checks the field values on TupleToUserset_Tupleset with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TupleToUserset_Tupleset) ValidateAll ¶
func (m *TupleToUserset_Tupleset) ValidateAll() error
ValidateAll checks the field values on TupleToUserset_Tupleset with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TupleToUserset_TuplesetMultiError, or nil if none found.
type TupleToUserset_TuplesetMultiError ¶
type TupleToUserset_TuplesetMultiError []error
TupleToUserset_TuplesetMultiError is an error wrapping multiple validation errors returned by TupleToUserset_Tupleset.ValidateAll() if the designated constraints aren't met.
func (TupleToUserset_TuplesetMultiError) AllErrors ¶
func (m TupleToUserset_TuplesetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TupleToUserset_TuplesetMultiError) Error ¶
func (m TupleToUserset_TuplesetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TupleToUserset_TuplesetValidationError ¶
type TupleToUserset_TuplesetValidationError struct {
// contains filtered or unexported fields
}
TupleToUserset_TuplesetValidationError is the validation error returned by TupleToUserset_Tupleset.Validate if the designated constraints aren't met.
func (TupleToUserset_TuplesetValidationError) Cause ¶
func (e TupleToUserset_TuplesetValidationError) Cause() error
Cause function returns cause value.
func (TupleToUserset_TuplesetValidationError) Error ¶
func (e TupleToUserset_TuplesetValidationError) Error() string
Error satisfies the builtin error interface
func (TupleToUserset_TuplesetValidationError) ErrorName ¶
func (e TupleToUserset_TuplesetValidationError) ErrorName() string
ErrorName returns error name.
func (TupleToUserset_TuplesetValidationError) Field ¶
func (e TupleToUserset_TuplesetValidationError) Field() string
Field function returns field value.
func (TupleToUserset_TuplesetValidationError) Key ¶
func (e TupleToUserset_TuplesetValidationError) Key() bool
Key function returns key value.
func (TupleToUserset_TuplesetValidationError) Reason ¶
func (e TupleToUserset_TuplesetValidationError) Reason() string
Reason function returns reason value.
type TypeInformation ¶
type TypeInformation struct { AllowedDirectRelations []*AllowedRelation `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TypeInformation) Descriptor
deprecated
func (*TypeInformation) Descriptor() ([]byte, []int)
Deprecated: Use TypeInformation.ProtoReflect.Descriptor instead.
func (*TypeInformation) GetAllowedDirectRelations ¶
func (x *TypeInformation) GetAllowedDirectRelations() []*AllowedRelation
func (*TypeInformation) ProtoMessage ¶
func (*TypeInformation) ProtoMessage()
func (*TypeInformation) ProtoReflect ¶
func (x *TypeInformation) ProtoReflect() protoreflect.Message
func (*TypeInformation) Reset ¶
func (x *TypeInformation) Reset()
func (*TypeInformation) String ¶
func (x *TypeInformation) String() string
func (*TypeInformation) Validate ¶
func (m *TypeInformation) Validate() error
Validate checks the field values on TypeInformation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TypeInformation) ValidateAll ¶
func (m *TypeInformation) ValidateAll() error
ValidateAll checks the field values on TypeInformation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TypeInformationMultiError, or nil if none found.
type TypeInformationMultiError ¶
type TypeInformationMultiError []error
TypeInformationMultiError is an error wrapping multiple validation errors returned by TypeInformation.ValidateAll() if the designated constraints aren't met.
func (TypeInformationMultiError) AllErrors ¶
func (m TypeInformationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TypeInformationMultiError) Error ¶
func (m TypeInformationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TypeInformationValidationError ¶
type TypeInformationValidationError struct {
// contains filtered or unexported fields
}
TypeInformationValidationError is the validation error returned by TypeInformation.Validate if the designated constraints aren't met.
func (TypeInformationValidationError) Cause ¶
func (e TypeInformationValidationError) Cause() error
Cause function returns cause value.
func (TypeInformationValidationError) Error ¶
func (e TypeInformationValidationError) Error() string
Error satisfies the builtin error interface
func (TypeInformationValidationError) ErrorName ¶
func (e TypeInformationValidationError) ErrorName() string
ErrorName returns error name.
func (TypeInformationValidationError) Field ¶
func (e TypeInformationValidationError) Field() string
Field function returns field value.
func (TypeInformationValidationError) Key ¶
func (e TypeInformationValidationError) Key() bool
Key function returns key value.
func (TypeInformationValidationError) Reason ¶
func (e TypeInformationValidationError) Reason() string
Reason function returns reason value.
type User ¶
type User struct { // Types that are assignable to UserOneof: // *User_Userset UserOneof isUser_UserOneof `protobuf_oneof:"user_oneof"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetUserOneof ¶
func (m *User) GetUserOneof() isUser_UserOneof
func (*User) GetUserset ¶
func (x *User) GetUserset() *ObjectAndRelation
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) Validate ¶
Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*User) ValidateAll ¶
ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.
type UserMultiError ¶
type UserMultiError []error
UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.
func (UserMultiError) AllErrors ¶
func (m UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserMultiError) Error ¶
func (m UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserValidationError ¶
type UserValidationError struct {
// contains filtered or unexported fields
}
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.
func (UserValidationError) Cause ¶
func (e UserValidationError) Cause() error
Cause function returns cause value.
func (UserValidationError) Error ¶
func (e UserValidationError) Error() string
Error satisfies the builtin error interface
func (UserValidationError) ErrorName ¶
func (e UserValidationError) ErrorName() string
ErrorName returns error name.
func (UserValidationError) Field ¶
func (e UserValidationError) Field() string
Field function returns field value.
func (UserValidationError) Key ¶
func (e UserValidationError) Key() bool
Key function returns key value.
func (UserValidationError) Reason ¶
func (e UserValidationError) Reason() string
Reason function returns reason value.
type User_Userset ¶
type User_Userset struct {
Userset *ObjectAndRelation `protobuf:"bytes,2,opt,name=userset,proto3,oneof"`
}
type UsersetRewrite ¶
type UsersetRewrite struct { // Types that are assignable to RewriteOperation: // *UsersetRewrite_Union // *UsersetRewrite_Intersection // *UsersetRewrite_Exclusion RewriteOperation isUsersetRewrite_RewriteOperation `protobuf_oneof:"rewrite_operation"` SourcePosition *SourcePosition `protobuf:"bytes,4,opt,name=source_position,json=sourcePosition,proto3" json:"source_position,omitempty"` // contains filtered or unexported fields }
func (*UsersetRewrite) Descriptor
deprecated
func (*UsersetRewrite) Descriptor() ([]byte, []int)
Deprecated: Use UsersetRewrite.ProtoReflect.Descriptor instead.
func (*UsersetRewrite) GetExclusion ¶
func (x *UsersetRewrite) GetExclusion() *SetOperation
func (*UsersetRewrite) GetIntersection ¶
func (x *UsersetRewrite) GetIntersection() *SetOperation
func (*UsersetRewrite) GetRewriteOperation ¶
func (m *UsersetRewrite) GetRewriteOperation() isUsersetRewrite_RewriteOperation
func (*UsersetRewrite) GetSourcePosition ¶
func (x *UsersetRewrite) GetSourcePosition() *SourcePosition
func (*UsersetRewrite) GetUnion ¶
func (x *UsersetRewrite) GetUnion() *SetOperation
func (*UsersetRewrite) ProtoMessage ¶
func (*UsersetRewrite) ProtoMessage()
func (*UsersetRewrite) ProtoReflect ¶
func (x *UsersetRewrite) ProtoReflect() protoreflect.Message
func (*UsersetRewrite) Reset ¶
func (x *UsersetRewrite) Reset()
func (*UsersetRewrite) String ¶
func (x *UsersetRewrite) String() string
func (*UsersetRewrite) Validate ¶
func (m *UsersetRewrite) Validate() error
Validate checks the field values on UsersetRewrite with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UsersetRewrite) ValidateAll ¶
func (m *UsersetRewrite) ValidateAll() error
ValidateAll checks the field values on UsersetRewrite with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UsersetRewriteMultiError, or nil if none found.
type UsersetRewriteMultiError ¶
type UsersetRewriteMultiError []error
UsersetRewriteMultiError is an error wrapping multiple validation errors returned by UsersetRewrite.ValidateAll() if the designated constraints aren't met.
func (UsersetRewriteMultiError) AllErrors ¶
func (m UsersetRewriteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UsersetRewriteMultiError) Error ¶
func (m UsersetRewriteMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UsersetRewriteValidationError ¶
type UsersetRewriteValidationError struct {
// contains filtered or unexported fields
}
UsersetRewriteValidationError is the validation error returned by UsersetRewrite.Validate if the designated constraints aren't met.
func (UsersetRewriteValidationError) Cause ¶
func (e UsersetRewriteValidationError) Cause() error
Cause function returns cause value.
func (UsersetRewriteValidationError) Error ¶
func (e UsersetRewriteValidationError) Error() string
Error satisfies the builtin error interface
func (UsersetRewriteValidationError) ErrorName ¶
func (e UsersetRewriteValidationError) ErrorName() string
ErrorName returns error name.
func (UsersetRewriteValidationError) Field ¶
func (e UsersetRewriteValidationError) Field() string
Field function returns field value.
func (UsersetRewriteValidationError) Key ¶
func (e UsersetRewriteValidationError) Key() bool
Key function returns key value.
func (UsersetRewriteValidationError) Reason ¶
func (e UsersetRewriteValidationError) Reason() string
Reason function returns reason value.
type UsersetRewrite_Exclusion ¶
type UsersetRewrite_Exclusion struct {
Exclusion *SetOperation `protobuf:"bytes,3,opt,name=exclusion,proto3,oneof"`
}
type UsersetRewrite_Intersection ¶
type UsersetRewrite_Intersection struct {
Intersection *SetOperation `protobuf:"bytes,2,opt,name=intersection,proto3,oneof"`
}
type UsersetRewrite_Union ¶
type UsersetRewrite_Union struct {
Union *SetOperation `protobuf:"bytes,1,opt,name=union,proto3,oneof"`
}
type Zookie ¶
type Zookie struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func ToCoreZookie ¶
ToCoreZookie converts the input to a core Zookie.
func (*Zookie) Descriptor
deprecated
func (*Zookie) ProtoMessage ¶
func (*Zookie) ProtoMessage()
func (*Zookie) ProtoReflect ¶
func (x *Zookie) ProtoReflect() protoreflect.Message
func (*Zookie) Validate ¶
Validate checks the field values on Zookie with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Zookie) ValidateAll ¶
ValidateAll checks the field values on Zookie with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ZookieMultiError, or nil if none found.
type ZookieMultiError ¶
type ZookieMultiError []error
ZookieMultiError is an error wrapping multiple validation errors returned by Zookie.ValidateAll() if the designated constraints aren't met.
func (ZookieMultiError) AllErrors ¶
func (m ZookieMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ZookieMultiError) Error ¶
func (m ZookieMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ZookieValidationError ¶
type ZookieValidationError struct {
// contains filtered or unexported fields
}
ZookieValidationError is the validation error returned by Zookie.Validate if the designated constraints aren't met.
func (ZookieValidationError) Cause ¶
func (e ZookieValidationError) Cause() error
Cause function returns cause value.
func (ZookieValidationError) Error ¶
func (e ZookieValidationError) Error() string
Error satisfies the builtin error interface
func (ZookieValidationError) ErrorName ¶
func (e ZookieValidationError) ErrorName() string
ErrorName returns error name.
func (ZookieValidationError) Field ¶
func (e ZookieValidationError) Field() string
Field function returns field value.
func (ZookieValidationError) Key ¶
func (e ZookieValidationError) Key() bool
Key function returns key value.
func (ZookieValidationError) Reason ¶
func (e ZookieValidationError) Reason() string
Reason function returns reason value.