Documentation ¶
Index ¶
- Variables
- func ToV0RelationTuple(tuple *RelationTuple) *v0.RelationTuple
- func ToV0RelationTuples(tuples []*RelationTuple) []*v0.RelationTuple
- type AllowedCaveat
- func (m *AllowedCaveat) CloneMessageVT() proto.Message
- func (m *AllowedCaveat) CloneVT() *AllowedCaveat
- func (*AllowedCaveat) Descriptor() ([]byte, []int)deprecated
- func (this *AllowedCaveat) EqualMessageVT(thatMsg proto.Message) bool
- func (this *AllowedCaveat) EqualVT(that *AllowedCaveat) bool
- func (x *AllowedCaveat) GetCaveatName() string
- func (m *AllowedCaveat) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AllowedCaveat) MarshalToVT(dAtA []byte) (int, error)
- func (m *AllowedCaveat) MarshalVT() (dAtA []byte, err error)
- func (*AllowedCaveat) ProtoMessage()
- func (x *AllowedCaveat) ProtoReflect() protoreflect.Message
- func (x *AllowedCaveat) Reset()
- func (m *AllowedCaveat) SizeVT() (n int)
- func (x *AllowedCaveat) String() string
- func (m *AllowedCaveat) UnmarshalVT(dAtA []byte) error
- func (m *AllowedCaveat) Validate() error
- func (m *AllowedCaveat) ValidateAll() error
- type AllowedCaveatMultiError
- type AllowedCaveatValidationError
- func (e AllowedCaveatValidationError) Cause() error
- func (e AllowedCaveatValidationError) Error() string
- func (e AllowedCaveatValidationError) ErrorName() string
- func (e AllowedCaveatValidationError) Field() string
- func (e AllowedCaveatValidationError) Key() bool
- func (e AllowedCaveatValidationError) Reason() string
- type AllowedRelation
- func (m *AllowedRelation) CloneMessageVT() proto.Message
- func (m *AllowedRelation) CloneVT() *AllowedRelation
- func (*AllowedRelation) Descriptor() ([]byte, []int)deprecated
- func (this *AllowedRelation) EqualMessageVT(thatMsg proto.Message) bool
- func (this *AllowedRelation) EqualVT(that *AllowedRelation) bool
- 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) GetRequiredCaveat() *AllowedCaveat
- func (x *AllowedRelation) GetSourcePosition() *SourcePosition
- func (m *AllowedRelation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AllowedRelation) MarshalToVT(dAtA []byte) (int, error)
- func (m *AllowedRelation) MarshalVT() (dAtA []byte, err error)
- func (*AllowedRelation) ProtoMessage()
- func (x *AllowedRelation) ProtoReflect() protoreflect.Message
- func (x *AllowedRelation) Reset()
- func (m *AllowedRelation) SizeVT() (n int)
- func (x *AllowedRelation) String() string
- func (m *AllowedRelation) UnmarshalVT(dAtA []byte) error
- 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 (m *AllowedRelation_PublicWildcard) CloneMessageVT() proto.Message
- func (m *AllowedRelation_PublicWildcard) CloneVT() *AllowedRelation_PublicWildcard
- func (*AllowedRelation_PublicWildcard) Descriptor() ([]byte, []int)deprecated
- func (this *AllowedRelation_PublicWildcard) EqualMessageVT(thatMsg proto.Message) bool
- func (this *AllowedRelation_PublicWildcard) EqualVT(that *AllowedRelation_PublicWildcard) bool
- func (m *AllowedRelation_PublicWildcard) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AllowedRelation_PublicWildcard) MarshalToVT(dAtA []byte) (int, error)
- func (m *AllowedRelation_PublicWildcard) MarshalVT() (dAtA []byte, err error)
- func (*AllowedRelation_PublicWildcard) ProtoMessage()
- func (x *AllowedRelation_PublicWildcard) ProtoReflect() protoreflect.Message
- func (x *AllowedRelation_PublicWildcard) Reset()
- func (m *AllowedRelation_PublicWildcard) SizeVT() (n int)
- func (x *AllowedRelation_PublicWildcard) String() string
- func (m *AllowedRelation_PublicWildcard) UnmarshalVT(dAtA []byte) error
- 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_
- func (m *AllowedRelation_PublicWildcard_) CloneVT() isAllowedRelation_RelationOrWildcard
- func (this *AllowedRelation_PublicWildcard_) EqualVT(thatIface isAllowedRelation_RelationOrWildcard) bool
- func (m *AllowedRelation_PublicWildcard_) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AllowedRelation_PublicWildcard_) MarshalToVT(dAtA []byte) (int, error)
- func (m *AllowedRelation_PublicWildcard_) SizeVT() (n int)
- type AllowedRelation_Relation
- func (m *AllowedRelation_Relation) CloneVT() isAllowedRelation_RelationOrWildcard
- func (this *AllowedRelation_Relation) EqualVT(thatIface isAllowedRelation_RelationOrWildcard) bool
- func (m *AllowedRelation_Relation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AllowedRelation_Relation) MarshalToVT(dAtA []byte) (int, error)
- func (m *AllowedRelation_Relation) SizeVT() (n int)
- type CaveatDefinition
- func (m *CaveatDefinition) CloneMessageVT() proto.Message
- func (m *CaveatDefinition) CloneVT() *CaveatDefinition
- func (*CaveatDefinition) Descriptor() ([]byte, []int)deprecated
- func (this *CaveatDefinition) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CaveatDefinition) EqualVT(that *CaveatDefinition) bool
- func (x *CaveatDefinition) GetMetadata() *Metadata
- func (x *CaveatDefinition) GetName() string
- func (x *CaveatDefinition) GetParameterTypes() map[string]*CaveatTypeReference
- func (x *CaveatDefinition) GetSerializedExpression() []byte
- func (x *CaveatDefinition) GetSourcePosition() *SourcePosition
- func (m *CaveatDefinition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CaveatDefinition) MarshalToVT(dAtA []byte) (int, error)
- func (m *CaveatDefinition) MarshalVT() (dAtA []byte, err error)
- func (*CaveatDefinition) ProtoMessage()
- func (x *CaveatDefinition) ProtoReflect() protoreflect.Message
- func (x *CaveatDefinition) Reset()
- func (m *CaveatDefinition) SizeVT() (n int)
- func (x *CaveatDefinition) String() string
- func (m *CaveatDefinition) UnmarshalVT(dAtA []byte) error
- func (m *CaveatDefinition) Validate() error
- func (m *CaveatDefinition) ValidateAll() error
- type CaveatDefinitionMultiError
- type CaveatDefinitionValidationError
- func (e CaveatDefinitionValidationError) Cause() error
- func (e CaveatDefinitionValidationError) Error() string
- func (e CaveatDefinitionValidationError) ErrorName() string
- func (e CaveatDefinitionValidationError) Field() string
- func (e CaveatDefinitionValidationError) Key() bool
- func (e CaveatDefinitionValidationError) Reason() string
- type CaveatExpression
- func (m *CaveatExpression) CloneMessageVT() proto.Message
- func (m *CaveatExpression) CloneVT() *CaveatExpression
- func (*CaveatExpression) Descriptor() ([]byte, []int)deprecated
- func (this *CaveatExpression) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CaveatExpression) EqualVT(that *CaveatExpression) bool
- func (x *CaveatExpression) GetCaveat() *ContextualizedCaveat
- func (x *CaveatExpression) GetOperation() *CaveatOperation
- func (m *CaveatExpression) GetOperationOrCaveat() isCaveatExpression_OperationOrCaveat
- func (m *CaveatExpression) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CaveatExpression) MarshalToVT(dAtA []byte) (int, error)
- func (m *CaveatExpression) MarshalVT() (dAtA []byte, err error)
- func (*CaveatExpression) ProtoMessage()
- func (x *CaveatExpression) ProtoReflect() protoreflect.Message
- func (x *CaveatExpression) Reset()
- func (m *CaveatExpression) SizeVT() (n int)
- func (x *CaveatExpression) String() string
- func (m *CaveatExpression) UnmarshalVT(dAtA []byte) error
- func (m *CaveatExpression) Validate() error
- func (m *CaveatExpression) ValidateAll() error
- type CaveatExpressionMultiError
- type CaveatExpressionValidationError
- func (e CaveatExpressionValidationError) Cause() error
- func (e CaveatExpressionValidationError) Error() string
- func (e CaveatExpressionValidationError) ErrorName() string
- func (e CaveatExpressionValidationError) Field() string
- func (e CaveatExpressionValidationError) Key() bool
- func (e CaveatExpressionValidationError) Reason() string
- type CaveatExpression_Caveat
- func (m *CaveatExpression_Caveat) CloneVT() isCaveatExpression_OperationOrCaveat
- func (this *CaveatExpression_Caveat) EqualVT(thatIface isCaveatExpression_OperationOrCaveat) bool
- func (m *CaveatExpression_Caveat) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CaveatExpression_Caveat) MarshalToVT(dAtA []byte) (int, error)
- func (m *CaveatExpression_Caveat) SizeVT() (n int)
- type CaveatExpression_Operation
- func (m *CaveatExpression_Operation) CloneVT() isCaveatExpression_OperationOrCaveat
- func (this *CaveatExpression_Operation) EqualVT(thatIface isCaveatExpression_OperationOrCaveat) bool
- func (m *CaveatExpression_Operation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CaveatExpression_Operation) MarshalToVT(dAtA []byte) (int, error)
- func (m *CaveatExpression_Operation) SizeVT() (n int)
- type CaveatOperation
- func (m *CaveatOperation) CloneMessageVT() proto.Message
- func (m *CaveatOperation) CloneVT() *CaveatOperation
- func (*CaveatOperation) Descriptor() ([]byte, []int)deprecated
- func (this *CaveatOperation) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CaveatOperation) EqualVT(that *CaveatOperation) bool
- func (x *CaveatOperation) GetChildren() []*CaveatExpression
- func (x *CaveatOperation) GetOp() CaveatOperation_Operation
- func (m *CaveatOperation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CaveatOperation) MarshalToVT(dAtA []byte) (int, error)
- func (m *CaveatOperation) MarshalVT() (dAtA []byte, err error)
- func (*CaveatOperation) ProtoMessage()
- func (x *CaveatOperation) ProtoReflect() protoreflect.Message
- func (x *CaveatOperation) Reset()
- func (m *CaveatOperation) SizeVT() (n int)
- func (x *CaveatOperation) String() string
- func (m *CaveatOperation) UnmarshalVT(dAtA []byte) error
- func (m *CaveatOperation) Validate() error
- func (m *CaveatOperation) ValidateAll() error
- type CaveatOperationMultiError
- type CaveatOperationValidationError
- func (e CaveatOperationValidationError) Cause() error
- func (e CaveatOperationValidationError) Error() string
- func (e CaveatOperationValidationError) ErrorName() string
- func (e CaveatOperationValidationError) Field() string
- func (e CaveatOperationValidationError) Key() bool
- func (e CaveatOperationValidationError) Reason() string
- type CaveatOperation_Operation
- func (CaveatOperation_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x CaveatOperation_Operation) Enum() *CaveatOperation_Operation
- func (CaveatOperation_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x CaveatOperation_Operation) Number() protoreflect.EnumNumber
- func (x CaveatOperation_Operation) String() string
- func (CaveatOperation_Operation) Type() protoreflect.EnumType
- type CaveatTypeReference
- func (m *CaveatTypeReference) CloneMessageVT() proto.Message
- func (m *CaveatTypeReference) CloneVT() *CaveatTypeReference
- func (*CaveatTypeReference) Descriptor() ([]byte, []int)deprecated
- func (this *CaveatTypeReference) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CaveatTypeReference) EqualVT(that *CaveatTypeReference) bool
- func (x *CaveatTypeReference) GetChildTypes() []*CaveatTypeReference
- func (x *CaveatTypeReference) GetTypeName() string
- func (m *CaveatTypeReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CaveatTypeReference) MarshalToVT(dAtA []byte) (int, error)
- func (m *CaveatTypeReference) MarshalVT() (dAtA []byte, err error)
- func (*CaveatTypeReference) ProtoMessage()
- func (x *CaveatTypeReference) ProtoReflect() protoreflect.Message
- func (x *CaveatTypeReference) Reset()
- func (m *CaveatTypeReference) SizeVT() (n int)
- func (x *CaveatTypeReference) String() string
- func (m *CaveatTypeReference) UnmarshalVT(dAtA []byte) error
- func (m *CaveatTypeReference) Validate() error
- func (m *CaveatTypeReference) ValidateAll() error
- type CaveatTypeReferenceMultiError
- type CaveatTypeReferenceValidationError
- func (e CaveatTypeReferenceValidationError) Cause() error
- func (e CaveatTypeReferenceValidationError) Error() string
- func (e CaveatTypeReferenceValidationError) ErrorName() string
- func (e CaveatTypeReferenceValidationError) Field() string
- func (e CaveatTypeReferenceValidationError) Key() bool
- func (e CaveatTypeReferenceValidationError) Reason() string
- type ComputedUserset
- func (m *ComputedUserset) CloneMessageVT() proto.Message
- func (m *ComputedUserset) CloneVT() *ComputedUserset
- func (*ComputedUserset) Descriptor() ([]byte, []int)deprecated
- func (this *ComputedUserset) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ComputedUserset) EqualVT(that *ComputedUserset) bool
- func (x *ComputedUserset) GetObject() ComputedUserset_Object
- func (x *ComputedUserset) GetRelation() string
- func (x *ComputedUserset) GetSourcePosition() *SourcePosition
- func (m *ComputedUserset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ComputedUserset) MarshalToVT(dAtA []byte) (int, error)
- func (m *ComputedUserset) MarshalVT() (dAtA []byte, err error)
- func (*ComputedUserset) ProtoMessage()
- func (x *ComputedUserset) ProtoReflect() protoreflect.Message
- func (x *ComputedUserset) Reset()
- func (m *ComputedUserset) SizeVT() (n int)
- func (x *ComputedUserset) String() string
- func (m *ComputedUserset) UnmarshalVT(dAtA []byte) error
- func (m *ComputedUserset) Validate() error
- 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 ContextualizedCaveat
- func (m *ContextualizedCaveat) CloneMessageVT() proto.Message
- func (m *ContextualizedCaveat) CloneVT() *ContextualizedCaveat
- func (*ContextualizedCaveat) Descriptor() ([]byte, []int)deprecated
- func (this *ContextualizedCaveat) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ContextualizedCaveat) EqualVT(that *ContextualizedCaveat) bool
- func (x *ContextualizedCaveat) GetCaveatName() string
- func (x *ContextualizedCaveat) GetContext() *structpb.Struct
- func (m *ContextualizedCaveat) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ContextualizedCaveat) MarshalToVT(dAtA []byte) (int, error)
- func (m *ContextualizedCaveat) MarshalVT() (dAtA []byte, err error)
- func (*ContextualizedCaveat) ProtoMessage()
- func (x *ContextualizedCaveat) ProtoReflect() protoreflect.Message
- func (x *ContextualizedCaveat) Reset()
- func (m *ContextualizedCaveat) SizeVT() (n int)
- func (x *ContextualizedCaveat) String() string
- func (m *ContextualizedCaveat) UnmarshalVT(dAtA []byte) error
- func (m *ContextualizedCaveat) Validate() error
- func (m *ContextualizedCaveat) ValidateAll() error
- type ContextualizedCaveatMultiError
- type ContextualizedCaveatValidationError
- func (e ContextualizedCaveatValidationError) Cause() error
- func (e ContextualizedCaveatValidationError) Error() string
- func (e ContextualizedCaveatValidationError) ErrorName() string
- func (e ContextualizedCaveatValidationError) Field() string
- func (e ContextualizedCaveatValidationError) Key() bool
- func (e ContextualizedCaveatValidationError) Reason() string
- type DirectSubject
- func (m *DirectSubject) CloneMessageVT() proto.Message
- func (m *DirectSubject) CloneVT() *DirectSubject
- func (*DirectSubject) Descriptor() ([]byte, []int)deprecated
- func (this *DirectSubject) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DirectSubject) EqualVT(that *DirectSubject) bool
- func (x *DirectSubject) GetCaveatExpression() *CaveatExpression
- func (x *DirectSubject) GetSubject() *ObjectAndRelation
- func (m *DirectSubject) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DirectSubject) MarshalToVT(dAtA []byte) (int, error)
- func (m *DirectSubject) MarshalVT() (dAtA []byte, err error)
- func (*DirectSubject) ProtoMessage()
- func (x *DirectSubject) ProtoReflect() protoreflect.Message
- func (x *DirectSubject) Reset()
- func (m *DirectSubject) SizeVT() (n int)
- func (x *DirectSubject) String() string
- func (m *DirectSubject) UnmarshalVT(dAtA []byte) error
- func (m *DirectSubject) Validate() error
- func (m *DirectSubject) ValidateAll() error
- type DirectSubjectMultiError
- type DirectSubjectValidationError
- func (e DirectSubjectValidationError) Cause() error
- func (e DirectSubjectValidationError) Error() string
- func (e DirectSubjectValidationError) ErrorName() string
- func (e DirectSubjectValidationError) Field() string
- func (e DirectSubjectValidationError) Key() bool
- func (e DirectSubjectValidationError) Reason() string
- type DirectSubjects
- func (m *DirectSubjects) CloneMessageVT() proto.Message
- func (m *DirectSubjects) CloneVT() *DirectSubjects
- func (*DirectSubjects) Descriptor() ([]byte, []int)deprecated
- func (this *DirectSubjects) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DirectSubjects) EqualVT(that *DirectSubjects) bool
- func (x *DirectSubjects) GetSubjects() []*DirectSubject
- func (m *DirectSubjects) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DirectSubjects) MarshalToVT(dAtA []byte) (int, error)
- func (m *DirectSubjects) MarshalVT() (dAtA []byte, err error)
- func (*DirectSubjects) ProtoMessage()
- func (x *DirectSubjects) ProtoReflect() protoreflect.Message
- func (x *DirectSubjects) Reset()
- func (m *DirectSubjects) SizeVT() (n int)
- func (x *DirectSubjects) String() string
- func (m *DirectSubjects) UnmarshalVT(dAtA []byte) error
- func (m *DirectSubjects) Validate() error
- func (m *DirectSubjects) ValidateAll() error
- type DirectSubjectsMultiError
- type DirectSubjectsValidationError
- func (e DirectSubjectsValidationError) Cause() error
- func (e DirectSubjectsValidationError) Error() string
- func (e DirectSubjectsValidationError) ErrorName() string
- func (e DirectSubjectsValidationError) Field() string
- func (e DirectSubjectsValidationError) Key() bool
- func (e DirectSubjectsValidationError) Reason() string
- type FunctionedTupleToUserset
- func (m *FunctionedTupleToUserset) CloneMessageVT() proto.Message
- func (m *FunctionedTupleToUserset) CloneVT() *FunctionedTupleToUserset
- func (*FunctionedTupleToUserset) Descriptor() ([]byte, []int)deprecated
- func (this *FunctionedTupleToUserset) EqualMessageVT(thatMsg proto.Message) bool
- func (this *FunctionedTupleToUserset) EqualVT(that *FunctionedTupleToUserset) bool
- func (x *FunctionedTupleToUserset) GetComputedUserset() *ComputedUserset
- func (x *FunctionedTupleToUserset) GetFunction() FunctionedTupleToUserset_Function
- func (x *FunctionedTupleToUserset) GetSourcePosition() *SourcePosition
- func (x *FunctionedTupleToUserset) GetTupleset() *FunctionedTupleToUserset_Tupleset
- func (m *FunctionedTupleToUserset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FunctionedTupleToUserset) MarshalToVT(dAtA []byte) (int, error)
- func (m *FunctionedTupleToUserset) MarshalVT() (dAtA []byte, err error)
- func (*FunctionedTupleToUserset) ProtoMessage()
- func (x *FunctionedTupleToUserset) ProtoReflect() protoreflect.Message
- func (x *FunctionedTupleToUserset) Reset()
- func (m *FunctionedTupleToUserset) SizeVT() (n int)
- func (x *FunctionedTupleToUserset) String() string
- func (m *FunctionedTupleToUserset) UnmarshalVT(dAtA []byte) error
- func (m *FunctionedTupleToUserset) Validate() error
- func (m *FunctionedTupleToUserset) ValidateAll() error
- type FunctionedTupleToUsersetMultiError
- type FunctionedTupleToUsersetValidationError
- func (e FunctionedTupleToUsersetValidationError) Cause() error
- func (e FunctionedTupleToUsersetValidationError) Error() string
- func (e FunctionedTupleToUsersetValidationError) ErrorName() string
- func (e FunctionedTupleToUsersetValidationError) Field() string
- func (e FunctionedTupleToUsersetValidationError) Key() bool
- func (e FunctionedTupleToUsersetValidationError) Reason() string
- type FunctionedTupleToUserset_Function
- func (FunctionedTupleToUserset_Function) Descriptor() protoreflect.EnumDescriptor
- func (x FunctionedTupleToUserset_Function) Enum() *FunctionedTupleToUserset_Function
- func (FunctionedTupleToUserset_Function) EnumDescriptor() ([]byte, []int)deprecated
- func (x FunctionedTupleToUserset_Function) Number() protoreflect.EnumNumber
- func (x FunctionedTupleToUserset_Function) String() string
- func (FunctionedTupleToUserset_Function) Type() protoreflect.EnumType
- type FunctionedTupleToUserset_Tupleset
- func (m *FunctionedTupleToUserset_Tupleset) CloneMessageVT() proto.Message
- func (m *FunctionedTupleToUserset_Tupleset) CloneVT() *FunctionedTupleToUserset_Tupleset
- func (*FunctionedTupleToUserset_Tupleset) Descriptor() ([]byte, []int)deprecated
- func (this *FunctionedTupleToUserset_Tupleset) EqualMessageVT(thatMsg proto.Message) bool
- func (this *FunctionedTupleToUserset_Tupleset) EqualVT(that *FunctionedTupleToUserset_Tupleset) bool
- func (x *FunctionedTupleToUserset_Tupleset) GetRelation() string
- func (m *FunctionedTupleToUserset_Tupleset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FunctionedTupleToUserset_Tupleset) MarshalToVT(dAtA []byte) (int, error)
- func (m *FunctionedTupleToUserset_Tupleset) MarshalVT() (dAtA []byte, err error)
- func (*FunctionedTupleToUserset_Tupleset) ProtoMessage()
- func (x *FunctionedTupleToUserset_Tupleset) ProtoReflect() protoreflect.Message
- func (x *FunctionedTupleToUserset_Tupleset) Reset()
- func (m *FunctionedTupleToUserset_Tupleset) SizeVT() (n int)
- func (x *FunctionedTupleToUserset_Tupleset) String() string
- func (m *FunctionedTupleToUserset_Tupleset) UnmarshalVT(dAtA []byte) error
- func (m *FunctionedTupleToUserset_Tupleset) Validate() error
- func (m *FunctionedTupleToUserset_Tupleset) ValidateAll() error
- type FunctionedTupleToUserset_TuplesetMultiError
- type FunctionedTupleToUserset_TuplesetValidationError
- func (e FunctionedTupleToUserset_TuplesetValidationError) Cause() error
- func (e FunctionedTupleToUserset_TuplesetValidationError) Error() string
- func (e FunctionedTupleToUserset_TuplesetValidationError) ErrorName() string
- func (e FunctionedTupleToUserset_TuplesetValidationError) Field() string
- func (e FunctionedTupleToUserset_TuplesetValidationError) Key() bool
- func (e FunctionedTupleToUserset_TuplesetValidationError) Reason() string
- type Metadata
- func (m *Metadata) CloneMessageVT() proto.Message
- func (m *Metadata) CloneVT() *Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (this *Metadata) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Metadata) EqualVT(that *Metadata) bool
- func (x *Metadata) GetMetadataMessage() []*anypb.Any
- func (m *Metadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Metadata) MarshalToVT(dAtA []byte) (int, error)
- func (m *Metadata) MarshalVT() (dAtA []byte, err error)
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (m *Metadata) SizeVT() (n int)
- func (x *Metadata) String() string
- func (m *Metadata) UnmarshalVT(dAtA []byte) error
- func (m *Metadata) Validate() error
- func (m *Metadata) ValidateAll() error
- type MetadataMultiError
- type MetadataValidationError
- type NamespaceDefinition
- func (m *NamespaceDefinition) CloneMessageVT() proto.Message
- func (m *NamespaceDefinition) CloneVT() *NamespaceDefinition
- func (*NamespaceDefinition) Descriptor() ([]byte, []int)deprecated
- func (this *NamespaceDefinition) EqualMessageVT(thatMsg proto.Message) bool
- func (this *NamespaceDefinition) EqualVT(that *NamespaceDefinition) bool
- func (x *NamespaceDefinition) GetMetadata() *Metadata
- func (x *NamespaceDefinition) GetName() string
- func (x *NamespaceDefinition) GetRelation() []*Relation
- func (x *NamespaceDefinition) GetSourcePosition() *SourcePosition
- func (m *NamespaceDefinition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *NamespaceDefinition) MarshalToVT(dAtA []byte) (int, error)
- func (m *NamespaceDefinition) MarshalVT() (dAtA []byte, err error)
- func (*NamespaceDefinition) ProtoMessage()
- func (x *NamespaceDefinition) ProtoReflect() protoreflect.Message
- func (x *NamespaceDefinition) Reset()
- func (m *NamespaceDefinition) SizeVT() (n int)
- func (x *NamespaceDefinition) String() string
- func (m *NamespaceDefinition) UnmarshalVT(dAtA []byte) error
- 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 (m *ObjectAndRelation) CloneMessageVT() proto.Message
- func (m *ObjectAndRelation) CloneVT() *ObjectAndRelation
- func (*ObjectAndRelation) Descriptor() ([]byte, []int)deprecated
- func (this *ObjectAndRelation) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ObjectAndRelation) EqualVT(that *ObjectAndRelation) bool
- func (x *ObjectAndRelation) GetNamespace() string
- func (x *ObjectAndRelation) GetObjectId() string
- func (x *ObjectAndRelation) GetRelation() string
- func (m *ObjectAndRelation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ObjectAndRelation) MarshalToVT(dAtA []byte) (int, error)
- func (m *ObjectAndRelation) MarshalVT() (dAtA []byte, err error)
- func (*ObjectAndRelation) ProtoMessage()
- func (x *ObjectAndRelation) ProtoReflect() protoreflect.Message
- func (x *ObjectAndRelation) Reset()
- func (m *ObjectAndRelation) SizeVT() (n int)
- func (x *ObjectAndRelation) String() string
- func (m *ObjectAndRelation) UnmarshalVT(dAtA []byte) error
- 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 ReachabilityEntrypoint
- func (m *ReachabilityEntrypoint) CloneMessageVT() proto.Message
- func (m *ReachabilityEntrypoint) CloneVT() *ReachabilityEntrypoint
- func (*ReachabilityEntrypoint) Descriptor() ([]byte, []int)deprecated
- func (this *ReachabilityEntrypoint) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ReachabilityEntrypoint) EqualVT(that *ReachabilityEntrypoint) bool
- func (x *ReachabilityEntrypoint) GetComputedUsersetRelation() string
- func (x *ReachabilityEntrypoint) GetKind() ReachabilityEntrypoint_ReachabilityEntrypointKind
- func (x *ReachabilityEntrypoint) GetResultStatus() ReachabilityEntrypoint_EntrypointResultStatus
- func (x *ReachabilityEntrypoint) GetTargetRelation() *RelationReference
- func (x *ReachabilityEntrypoint) GetTuplesetRelation() string
- func (m *ReachabilityEntrypoint) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReachabilityEntrypoint) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReachabilityEntrypoint) MarshalVT() (dAtA []byte, err error)
- func (*ReachabilityEntrypoint) ProtoMessage()
- func (x *ReachabilityEntrypoint) ProtoReflect() protoreflect.Message
- func (x *ReachabilityEntrypoint) Reset()
- func (m *ReachabilityEntrypoint) SizeVT() (n int)
- func (x *ReachabilityEntrypoint) String() string
- func (m *ReachabilityEntrypoint) UnmarshalVT(dAtA []byte) error
- func (m *ReachabilityEntrypoint) Validate() error
- func (m *ReachabilityEntrypoint) ValidateAll() error
- type ReachabilityEntrypointMultiError
- type ReachabilityEntrypointValidationError
- func (e ReachabilityEntrypointValidationError) Cause() error
- func (e ReachabilityEntrypointValidationError) Error() string
- func (e ReachabilityEntrypointValidationError) ErrorName() string
- func (e ReachabilityEntrypointValidationError) Field() string
- func (e ReachabilityEntrypointValidationError) Key() bool
- func (e ReachabilityEntrypointValidationError) Reason() string
- type ReachabilityEntrypoint_EntrypointResultStatus
- func (ReachabilityEntrypoint_EntrypointResultStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ReachabilityEntrypoint_EntrypointResultStatus) Enum() *ReachabilityEntrypoint_EntrypointResultStatus
- func (ReachabilityEntrypoint_EntrypointResultStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReachabilityEntrypoint_EntrypointResultStatus) Number() protoreflect.EnumNumber
- func (x ReachabilityEntrypoint_EntrypointResultStatus) String() string
- func (ReachabilityEntrypoint_EntrypointResultStatus) Type() protoreflect.EnumType
- type ReachabilityEntrypoint_ReachabilityEntrypointKind
- func (ReachabilityEntrypoint_ReachabilityEntrypointKind) Descriptor() protoreflect.EnumDescriptor
- func (x ReachabilityEntrypoint_ReachabilityEntrypointKind) Enum() *ReachabilityEntrypoint_ReachabilityEntrypointKind
- func (ReachabilityEntrypoint_ReachabilityEntrypointKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReachabilityEntrypoint_ReachabilityEntrypointKind) Number() protoreflect.EnumNumber
- func (x ReachabilityEntrypoint_ReachabilityEntrypointKind) String() string
- func (ReachabilityEntrypoint_ReachabilityEntrypointKind) Type() protoreflect.EnumType
- type ReachabilityEntrypoints
- func (m *ReachabilityEntrypoints) CloneMessageVT() proto.Message
- func (m *ReachabilityEntrypoints) CloneVT() *ReachabilityEntrypoints
- func (*ReachabilityEntrypoints) Descriptor() ([]byte, []int)deprecated
- func (this *ReachabilityEntrypoints) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ReachabilityEntrypoints) EqualVT(that *ReachabilityEntrypoints) bool
- func (x *ReachabilityEntrypoints) GetEntrypoints() []*ReachabilityEntrypoint
- func (x *ReachabilityEntrypoints) GetSubjectRelation() *RelationReference
- func (x *ReachabilityEntrypoints) GetSubjectType() string
- func (m *ReachabilityEntrypoints) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReachabilityEntrypoints) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReachabilityEntrypoints) MarshalVT() (dAtA []byte, err error)
- func (*ReachabilityEntrypoints) ProtoMessage()
- func (x *ReachabilityEntrypoints) ProtoReflect() protoreflect.Message
- func (x *ReachabilityEntrypoints) Reset()
- func (m *ReachabilityEntrypoints) SizeVT() (n int)
- func (x *ReachabilityEntrypoints) String() string
- func (m *ReachabilityEntrypoints) UnmarshalVT(dAtA []byte) error
- func (m *ReachabilityEntrypoints) Validate() error
- func (m *ReachabilityEntrypoints) ValidateAll() error
- type ReachabilityEntrypointsMultiError
- type ReachabilityEntrypointsValidationError
- func (e ReachabilityEntrypointsValidationError) Cause() error
- func (e ReachabilityEntrypointsValidationError) Error() string
- func (e ReachabilityEntrypointsValidationError) ErrorName() string
- func (e ReachabilityEntrypointsValidationError) Field() string
- func (e ReachabilityEntrypointsValidationError) Key() bool
- func (e ReachabilityEntrypointsValidationError) Reason() string
- type ReachabilityGraph
- func (m *ReachabilityGraph) CloneMessageVT() proto.Message
- func (m *ReachabilityGraph) CloneVT() *ReachabilityGraph
- func (*ReachabilityGraph) Descriptor() ([]byte, []int)deprecated
- func (this *ReachabilityGraph) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ReachabilityGraph) EqualVT(that *ReachabilityGraph) bool
- func (x *ReachabilityGraph) GetEntrypointsBySubjectRelation() map[string]*ReachabilityEntrypoints
- func (x *ReachabilityGraph) GetEntrypointsBySubjectType() map[string]*ReachabilityEntrypoints
- func (m *ReachabilityGraph) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReachabilityGraph) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReachabilityGraph) MarshalVT() (dAtA []byte, err error)
- func (*ReachabilityGraph) ProtoMessage()
- func (x *ReachabilityGraph) ProtoReflect() protoreflect.Message
- func (x *ReachabilityGraph) Reset()
- func (m *ReachabilityGraph) SizeVT() (n int)
- func (x *ReachabilityGraph) String() string
- func (m *ReachabilityGraph) UnmarshalVT(dAtA []byte) error
- func (m *ReachabilityGraph) Validate() error
- func (m *ReachabilityGraph) ValidateAll() error
- type ReachabilityGraphMultiError
- type ReachabilityGraphValidationError
- func (e ReachabilityGraphValidationError) Cause() error
- func (e ReachabilityGraphValidationError) Error() string
- func (e ReachabilityGraphValidationError) ErrorName() string
- func (e ReachabilityGraphValidationError) Field() string
- func (e ReachabilityGraphValidationError) Key() bool
- func (e ReachabilityGraphValidationError) Reason() string
- type Relation
- func (m *Relation) CloneMessageVT() proto.Message
- func (m *Relation) CloneVT() *Relation
- func (*Relation) Descriptor() ([]byte, []int)deprecated
- func (this *Relation) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Relation) EqualVT(that *Relation) bool
- 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 (m *Relation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Relation) MarshalToVT(dAtA []byte) (int, error)
- func (m *Relation) MarshalVT() (dAtA []byte, err error)
- func (*Relation) ProtoMessage()
- func (x *Relation) ProtoReflect() protoreflect.Message
- func (x *Relation) Reset()
- func (m *Relation) SizeVT() (n int)
- func (x *Relation) String() string
- func (m *Relation) UnmarshalVT(dAtA []byte) error
- func (m *Relation) Validate() error
- func (m *Relation) ValidateAll() error
- type RelationMultiError
- type RelationReference
- func (m *RelationReference) CloneMessageVT() proto.Message
- func (m *RelationReference) CloneVT() *RelationReference
- func (*RelationReference) Descriptor() ([]byte, []int)deprecated
- func (this *RelationReference) EqualMessageVT(thatMsg proto.Message) bool
- func (this *RelationReference) EqualVT(that *RelationReference) bool
- func (x *RelationReference) GetNamespace() string
- func (x *RelationReference) GetRelation() string
- func (m *RelationReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationReference) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationReference) MarshalVT() (dAtA []byte, err error)
- func (*RelationReference) ProtoMessage()
- func (x *RelationReference) ProtoReflect() protoreflect.Message
- func (x *RelationReference) Reset()
- func (m *RelationReference) SizeVT() (n int)
- func (x *RelationReference) String() string
- func (m *RelationReference) UnmarshalVT(dAtA []byte) error
- func (m *RelationReference) Validate() error
- 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 (m *RelationTuple) CloneMessageVT() proto.Message
- func (m *RelationTuple) CloneVT() *RelationTuple
- func (*RelationTuple) Descriptor() ([]byte, []int)deprecated
- func (this *RelationTuple) EqualMessageVT(thatMsg proto.Message) bool
- func (this *RelationTuple) EqualVT(that *RelationTuple) bool
- func (x *RelationTuple) GetCaveat() *ContextualizedCaveat
- func (x *RelationTuple) GetIntegrity() *RelationshipIntegrity
- func (x *RelationTuple) GetResourceAndRelation() *ObjectAndRelation
- func (x *RelationTuple) GetSubject() *ObjectAndRelation
- func (m *RelationTuple) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationTuple) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationTuple) MarshalVT() (dAtA []byte, err error)
- func (*RelationTuple) ProtoMessage()
- func (x *RelationTuple) ProtoReflect() protoreflect.Message
- func (x *RelationTuple) Reset()
- func (m *RelationTuple) SizeVT() (n int)
- func (x *RelationTuple) String() string
- func (m *RelationTuple) UnmarshalVT(dAtA []byte) error
- func (m *RelationTuple) Validate() error
- func (m *RelationTuple) ValidateAll() error
- type RelationTupleMultiError
- type RelationTupleTreeNode
- func (m *RelationTupleTreeNode) CloneMessageVT() proto.Message
- func (m *RelationTupleTreeNode) CloneVT() *RelationTupleTreeNode
- func (*RelationTupleTreeNode) Descriptor() ([]byte, []int)deprecated
- func (this *RelationTupleTreeNode) EqualMessageVT(thatMsg proto.Message) bool
- func (this *RelationTupleTreeNode) EqualVT(that *RelationTupleTreeNode) bool
- func (x *RelationTupleTreeNode) GetCaveatExpression() *CaveatExpression
- func (x *RelationTupleTreeNode) GetExpanded() *ObjectAndRelation
- func (x *RelationTupleTreeNode) GetIntermediateNode() *SetOperationUserset
- func (x *RelationTupleTreeNode) GetLeafNode() *DirectSubjects
- func (m *RelationTupleTreeNode) GetNodeType() isRelationTupleTreeNode_NodeType
- func (m *RelationTupleTreeNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationTupleTreeNode) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationTupleTreeNode) MarshalVT() (dAtA []byte, err error)
- func (*RelationTupleTreeNode) ProtoMessage()
- func (x *RelationTupleTreeNode) ProtoReflect() protoreflect.Message
- func (x *RelationTupleTreeNode) Reset()
- func (m *RelationTupleTreeNode) SizeVT() (n int)
- func (x *RelationTupleTreeNode) String() string
- func (m *RelationTupleTreeNode) UnmarshalVT(dAtA []byte) error
- 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
- func (m *RelationTupleTreeNode_IntermediateNode) CloneVT() isRelationTupleTreeNode_NodeType
- func (this *RelationTupleTreeNode_IntermediateNode) EqualVT(thatIface isRelationTupleTreeNode_NodeType) bool
- func (m *RelationTupleTreeNode_IntermediateNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationTupleTreeNode_IntermediateNode) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationTupleTreeNode_IntermediateNode) SizeVT() (n int)
- type RelationTupleTreeNode_LeafNode
- func (m *RelationTupleTreeNode_LeafNode) CloneVT() isRelationTupleTreeNode_NodeType
- func (this *RelationTupleTreeNode_LeafNode) EqualVT(thatIface isRelationTupleTreeNode_NodeType) bool
- func (m *RelationTupleTreeNode_LeafNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationTupleTreeNode_LeafNode) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationTupleTreeNode_LeafNode) SizeVT() (n int)
- type RelationTupleUpdate
- func (m *RelationTupleUpdate) CloneMessageVT() proto.Message
- func (m *RelationTupleUpdate) CloneVT() *RelationTupleUpdate
- func (*RelationTupleUpdate) Descriptor() ([]byte, []int)deprecated
- func (this *RelationTupleUpdate) EqualMessageVT(thatMsg proto.Message) bool
- func (this *RelationTupleUpdate) EqualVT(that *RelationTupleUpdate) bool
- func (x *RelationTupleUpdate) GetOperation() RelationTupleUpdate_Operation
- func (x *RelationTupleUpdate) GetTuple() *RelationTuple
- func (m *RelationTupleUpdate) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationTupleUpdate) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationTupleUpdate) MarshalVT() (dAtA []byte, err error)
- func (*RelationTupleUpdate) ProtoMessage()
- func (x *RelationTupleUpdate) ProtoReflect() protoreflect.Message
- func (x *RelationTupleUpdate) Reset()
- func (m *RelationTupleUpdate) SizeVT() (n int)
- func (x *RelationTupleUpdate) String() string
- func (m *RelationTupleUpdate) UnmarshalVT(dAtA []byte) error
- 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 RelationshipFilter
- func (m *RelationshipFilter) CloneMessageVT() proto.Message
- func (m *RelationshipFilter) CloneVT() *RelationshipFilter
- func (*RelationshipFilter) Descriptor() ([]byte, []int)deprecated
- func (this *RelationshipFilter) EqualMessageVT(thatMsg proto.Message) bool
- func (this *RelationshipFilter) EqualVT(that *RelationshipFilter) bool
- func (x *RelationshipFilter) GetOptionalRelation() string
- func (x *RelationshipFilter) GetOptionalResourceId() string
- func (x *RelationshipFilter) GetOptionalResourceIdPrefix() string
- func (x *RelationshipFilter) GetOptionalSubjectFilter() *SubjectFilter
- func (x *RelationshipFilter) GetResourceType() string
- func (m *RelationshipFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationshipFilter) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationshipFilter) MarshalVT() (dAtA []byte, err error)
- func (*RelationshipFilter) ProtoMessage()
- func (x *RelationshipFilter) ProtoReflect() protoreflect.Message
- func (x *RelationshipFilter) Reset()
- func (m *RelationshipFilter) SizeVT() (n int)
- func (x *RelationshipFilter) String() string
- func (m *RelationshipFilter) UnmarshalVT(dAtA []byte) error
- func (m *RelationshipFilter) Validate() error
- func (m *RelationshipFilter) ValidateAll() error
- type RelationshipFilterMultiError
- type RelationshipFilterValidationError
- func (e RelationshipFilterValidationError) Cause() error
- func (e RelationshipFilterValidationError) Error() string
- func (e RelationshipFilterValidationError) ErrorName() string
- func (e RelationshipFilterValidationError) Field() string
- func (e RelationshipFilterValidationError) Key() bool
- func (e RelationshipFilterValidationError) Reason() string
- type RelationshipIntegrity
- func (m *RelationshipIntegrity) CloneMessageVT() proto.Message
- func (m *RelationshipIntegrity) CloneVT() *RelationshipIntegrity
- func (*RelationshipIntegrity) Descriptor() ([]byte, []int)deprecated
- func (this *RelationshipIntegrity) EqualMessageVT(thatMsg proto.Message) bool
- func (this *RelationshipIntegrity) EqualVT(that *RelationshipIntegrity) bool
- func (x *RelationshipIntegrity) GetHash() []byte
- func (x *RelationshipIntegrity) GetHashedAt() *timestamppb.Timestamp
- func (x *RelationshipIntegrity) GetKeyId() string
- func (m *RelationshipIntegrity) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationshipIntegrity) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationshipIntegrity) MarshalVT() (dAtA []byte, err error)
- func (*RelationshipIntegrity) ProtoMessage()
- func (x *RelationshipIntegrity) ProtoReflect() protoreflect.Message
- func (x *RelationshipIntegrity) Reset()
- func (m *RelationshipIntegrity) SizeVT() (n int)
- func (x *RelationshipIntegrity) String() string
- func (m *RelationshipIntegrity) UnmarshalVT(dAtA []byte) error
- func (m *RelationshipIntegrity) Validate() error
- func (m *RelationshipIntegrity) ValidateAll() error
- type RelationshipIntegrityMultiError
- type RelationshipIntegrityValidationError
- func (e RelationshipIntegrityValidationError) Cause() error
- func (e RelationshipIntegrityValidationError) Error() string
- func (e RelationshipIntegrityValidationError) ErrorName() string
- func (e RelationshipIntegrityValidationError) Field() string
- func (e RelationshipIntegrityValidationError) Key() bool
- func (e RelationshipIntegrityValidationError) Reason() string
- type SetOperation
- func (m *SetOperation) CloneMessageVT() proto.Message
- func (m *SetOperation) CloneVT() *SetOperation
- func (*SetOperation) Descriptor() ([]byte, []int)deprecated
- func (this *SetOperation) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SetOperation) EqualVT(that *SetOperation) bool
- func (x *SetOperation) GetChild() []*SetOperation_Child
- func (m *SetOperation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetOperation) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetOperation) MarshalVT() (dAtA []byte, err error)
- func (*SetOperation) ProtoMessage()
- func (x *SetOperation) ProtoReflect() protoreflect.Message
- func (x *SetOperation) Reset()
- func (m *SetOperation) SizeVT() (n int)
- func (x *SetOperation) String() string
- func (m *SetOperation) UnmarshalVT(dAtA []byte) error
- func (m *SetOperation) Validate() error
- func (m *SetOperation) ValidateAll() error
- type SetOperationMultiError
- type SetOperationUserset
- func (m *SetOperationUserset) CloneMessageVT() proto.Message
- func (m *SetOperationUserset) CloneVT() *SetOperationUserset
- func (*SetOperationUserset) Descriptor() ([]byte, []int)deprecated
- func (this *SetOperationUserset) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SetOperationUserset) EqualVT(that *SetOperationUserset) bool
- func (x *SetOperationUserset) GetChildNodes() []*RelationTupleTreeNode
- func (x *SetOperationUserset) GetOperation() SetOperationUserset_Operation
- func (m *SetOperationUserset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetOperationUserset) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetOperationUserset) MarshalVT() (dAtA []byte, err error)
- func (*SetOperationUserset) ProtoMessage()
- func (x *SetOperationUserset) ProtoReflect() protoreflect.Message
- func (x *SetOperationUserset) Reset()
- func (m *SetOperationUserset) SizeVT() (n int)
- func (x *SetOperationUserset) String() string
- func (m *SetOperationUserset) UnmarshalVT(dAtA []byte) error
- 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 (m *SetOperation_Child) CloneMessageVT() proto.Message
- func (m *SetOperation_Child) CloneVT() *SetOperation_Child
- func (*SetOperation_Child) Descriptor() ([]byte, []int)deprecated
- func (this *SetOperation_Child) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SetOperation_Child) EqualVT(that *SetOperation_Child) bool
- func (m *SetOperation_Child) GetChildType() isSetOperation_Child_ChildType
- func (x *SetOperation_Child) GetComputedUserset() *ComputedUserset
- func (x *SetOperation_Child) GetFunctionedTupleToUserset() *FunctionedTupleToUserset
- func (x *SetOperation_Child) GetOperationPath() []uint32
- 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 (m *SetOperation_Child) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child) MarshalVT() (dAtA []byte, err error)
- func (*SetOperation_Child) ProtoMessage()
- func (x *SetOperation_Child) ProtoReflect() protoreflect.Message
- func (x *SetOperation_Child) Reset()
- func (m *SetOperation_Child) SizeVT() (n int)
- func (x *SetOperation_Child) String() string
- func (m *SetOperation_Child) UnmarshalVT(dAtA []byte) error
- 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
- func (m *SetOperation_Child_ComputedUserset) CloneVT() isSetOperation_Child_ChildType
- func (this *SetOperation_Child_ComputedUserset) EqualVT(thatIface isSetOperation_Child_ChildType) bool
- func (m *SetOperation_Child_ComputedUserset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child_ComputedUserset) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child_ComputedUserset) SizeVT() (n int)
- type SetOperation_Child_FunctionedTupleToUserset
- func (m *SetOperation_Child_FunctionedTupleToUserset) CloneVT() isSetOperation_Child_ChildType
- func (this *SetOperation_Child_FunctionedTupleToUserset) EqualVT(thatIface isSetOperation_Child_ChildType) bool
- func (m *SetOperation_Child_FunctionedTupleToUserset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child_FunctionedTupleToUserset) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child_FunctionedTupleToUserset) SizeVT() (n int)
- type SetOperation_Child_Nil
- func (m *SetOperation_Child_Nil) CloneMessageVT() proto.Message
- func (m *SetOperation_Child_Nil) CloneVT() *SetOperation_Child_Nil
- func (*SetOperation_Child_Nil) Descriptor() ([]byte, []int)deprecated
- func (this *SetOperation_Child_Nil) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SetOperation_Child_Nil) EqualVT(that *SetOperation_Child_Nil) bool
- func (m *SetOperation_Child_Nil) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child_Nil) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child_Nil) MarshalVT() (dAtA []byte, err error)
- func (*SetOperation_Child_Nil) ProtoMessage()
- func (x *SetOperation_Child_Nil) ProtoReflect() protoreflect.Message
- func (x *SetOperation_Child_Nil) Reset()
- func (m *SetOperation_Child_Nil) SizeVT() (n int)
- func (x *SetOperation_Child_Nil) String() string
- func (m *SetOperation_Child_Nil) UnmarshalVT(dAtA []byte) error
- 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 (m *SetOperation_Child_This) CloneMessageVT() proto.Message
- func (m *SetOperation_Child_This) CloneVT() *SetOperation_Child_This
- func (*SetOperation_Child_This) Descriptor() ([]byte, []int)deprecated
- func (this *SetOperation_Child_This) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SetOperation_Child_This) EqualVT(that *SetOperation_Child_This) bool
- func (m *SetOperation_Child_This) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child_This) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child_This) MarshalVT() (dAtA []byte, err error)
- func (*SetOperation_Child_This) ProtoMessage()
- func (x *SetOperation_Child_This) ProtoReflect() protoreflect.Message
- func (x *SetOperation_Child_This) Reset()
- func (m *SetOperation_Child_This) SizeVT() (n int)
- func (x *SetOperation_Child_This) String() string
- func (m *SetOperation_Child_This) UnmarshalVT(dAtA []byte) error
- 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
- func (m *SetOperation_Child_TupleToUserset) CloneVT() isSetOperation_Child_ChildType
- func (this *SetOperation_Child_TupleToUserset) EqualVT(thatIface isSetOperation_Child_ChildType) bool
- func (m *SetOperation_Child_TupleToUserset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child_TupleToUserset) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child_TupleToUserset) SizeVT() (n int)
- type SetOperation_Child_UsersetRewrite
- func (m *SetOperation_Child_UsersetRewrite) CloneVT() isSetOperation_Child_ChildType
- func (this *SetOperation_Child_UsersetRewrite) EqualVT(thatIface isSetOperation_Child_ChildType) bool
- func (m *SetOperation_Child_UsersetRewrite) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child_UsersetRewrite) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child_UsersetRewrite) SizeVT() (n int)
- type SetOperation_Child_XNil
- func (m *SetOperation_Child_XNil) CloneVT() isSetOperation_Child_ChildType
- func (this *SetOperation_Child_XNil) EqualVT(thatIface isSetOperation_Child_ChildType) bool
- func (m *SetOperation_Child_XNil) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child_XNil) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child_XNil) SizeVT() (n int)
- type SetOperation_Child_XThis
- func (m *SetOperation_Child_XThis) CloneVT() isSetOperation_Child_ChildType
- func (this *SetOperation_Child_XThis) EqualVT(thatIface isSetOperation_Child_ChildType) bool
- func (m *SetOperation_Child_XThis) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child_XThis) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetOperation_Child_XThis) SizeVT() (n int)
- type SourcePosition
- func (m *SourcePosition) CloneMessageVT() proto.Message
- func (m *SourcePosition) CloneVT() *SourcePosition
- func (*SourcePosition) Descriptor() ([]byte, []int)deprecated
- func (this *SourcePosition) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SourcePosition) EqualVT(that *SourcePosition) bool
- func (x *SourcePosition) GetZeroIndexedColumnPosition() uint64
- func (x *SourcePosition) GetZeroIndexedLineNumber() uint64
- func (m *SourcePosition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SourcePosition) MarshalToVT(dAtA []byte) (int, error)
- func (m *SourcePosition) MarshalVT() (dAtA []byte, err error)
- func (*SourcePosition) ProtoMessage()
- func (x *SourcePosition) ProtoReflect() protoreflect.Message
- func (x *SourcePosition) Reset()
- func (m *SourcePosition) SizeVT() (n int)
- func (x *SourcePosition) String() string
- func (m *SourcePosition) UnmarshalVT(dAtA []byte) error
- 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 SubjectFilter
- func (m *SubjectFilter) CloneMessageVT() proto.Message
- func (m *SubjectFilter) CloneVT() *SubjectFilter
- func (*SubjectFilter) Descriptor() ([]byte, []int)deprecated
- func (this *SubjectFilter) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SubjectFilter) EqualVT(that *SubjectFilter) bool
- func (x *SubjectFilter) GetOptionalRelation() *SubjectFilter_RelationFilter
- func (x *SubjectFilter) GetOptionalSubjectId() string
- func (x *SubjectFilter) GetSubjectType() string
- func (m *SubjectFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SubjectFilter) MarshalToVT(dAtA []byte) (int, error)
- func (m *SubjectFilter) MarshalVT() (dAtA []byte, err error)
- func (*SubjectFilter) ProtoMessage()
- func (x *SubjectFilter) ProtoReflect() protoreflect.Message
- func (x *SubjectFilter) Reset()
- func (m *SubjectFilter) SizeVT() (n int)
- func (x *SubjectFilter) String() string
- func (m *SubjectFilter) UnmarshalVT(dAtA []byte) error
- func (m *SubjectFilter) Validate() error
- func (m *SubjectFilter) ValidateAll() error
- type SubjectFilterMultiError
- type SubjectFilterValidationError
- func (e SubjectFilterValidationError) Cause() error
- func (e SubjectFilterValidationError) Error() string
- func (e SubjectFilterValidationError) ErrorName() string
- func (e SubjectFilterValidationError) Field() string
- func (e SubjectFilterValidationError) Key() bool
- func (e SubjectFilterValidationError) Reason() string
- type SubjectFilter_RelationFilter
- func (m *SubjectFilter_RelationFilter) CloneMessageVT() proto.Message
- func (m *SubjectFilter_RelationFilter) CloneVT() *SubjectFilter_RelationFilter
- func (*SubjectFilter_RelationFilter) Descriptor() ([]byte, []int)deprecated
- func (this *SubjectFilter_RelationFilter) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SubjectFilter_RelationFilter) EqualVT(that *SubjectFilter_RelationFilter) bool
- func (x *SubjectFilter_RelationFilter) GetRelation() string
- func (m *SubjectFilter_RelationFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SubjectFilter_RelationFilter) MarshalToVT(dAtA []byte) (int, error)
- func (m *SubjectFilter_RelationFilter) MarshalVT() (dAtA []byte, err error)
- func (*SubjectFilter_RelationFilter) ProtoMessage()
- func (x *SubjectFilter_RelationFilter) ProtoReflect() protoreflect.Message
- func (x *SubjectFilter_RelationFilter) Reset()
- func (m *SubjectFilter_RelationFilter) SizeVT() (n int)
- func (x *SubjectFilter_RelationFilter) String() string
- func (m *SubjectFilter_RelationFilter) UnmarshalVT(dAtA []byte) error
- func (m *SubjectFilter_RelationFilter) Validate() error
- func (m *SubjectFilter_RelationFilter) ValidateAll() error
- type SubjectFilter_RelationFilterMultiError
- type SubjectFilter_RelationFilterValidationError
- func (e SubjectFilter_RelationFilterValidationError) Cause() error
- func (e SubjectFilter_RelationFilterValidationError) Error() string
- func (e SubjectFilter_RelationFilterValidationError) ErrorName() string
- func (e SubjectFilter_RelationFilterValidationError) Field() string
- func (e SubjectFilter_RelationFilterValidationError) Key() bool
- func (e SubjectFilter_RelationFilterValidationError) Reason() string
- type TupleToUserset
- func (m *TupleToUserset) CloneMessageVT() proto.Message
- func (m *TupleToUserset) CloneVT() *TupleToUserset
- func (*TupleToUserset) Descriptor() ([]byte, []int)deprecated
- func (this *TupleToUserset) EqualMessageVT(thatMsg proto.Message) bool
- func (this *TupleToUserset) EqualVT(that *TupleToUserset) bool
- func (x *TupleToUserset) GetComputedUserset() *ComputedUserset
- func (x *TupleToUserset) GetSourcePosition() *SourcePosition
- func (x *TupleToUserset) GetTupleset() *TupleToUserset_Tupleset
- func (m *TupleToUserset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TupleToUserset) MarshalToVT(dAtA []byte) (int, error)
- func (m *TupleToUserset) MarshalVT() (dAtA []byte, err error)
- func (*TupleToUserset) ProtoMessage()
- func (x *TupleToUserset) ProtoReflect() protoreflect.Message
- func (x *TupleToUserset) Reset()
- func (m *TupleToUserset) SizeVT() (n int)
- func (x *TupleToUserset) String() string
- func (m *TupleToUserset) UnmarshalVT(dAtA []byte) error
- func (m *TupleToUserset) Validate() error
- 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 (m *TupleToUserset_Tupleset) CloneMessageVT() proto.Message
- func (m *TupleToUserset_Tupleset) CloneVT() *TupleToUserset_Tupleset
- func (*TupleToUserset_Tupleset) Descriptor() ([]byte, []int)deprecated
- func (this *TupleToUserset_Tupleset) EqualMessageVT(thatMsg proto.Message) bool
- func (this *TupleToUserset_Tupleset) EqualVT(that *TupleToUserset_Tupleset) bool
- func (x *TupleToUserset_Tupleset) GetRelation() string
- func (m *TupleToUserset_Tupleset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TupleToUserset_Tupleset) MarshalToVT(dAtA []byte) (int, error)
- func (m *TupleToUserset_Tupleset) MarshalVT() (dAtA []byte, err error)
- func (*TupleToUserset_Tupleset) ProtoMessage()
- func (x *TupleToUserset_Tupleset) ProtoReflect() protoreflect.Message
- func (x *TupleToUserset_Tupleset) Reset()
- func (m *TupleToUserset_Tupleset) SizeVT() (n int)
- func (x *TupleToUserset_Tupleset) String() string
- func (m *TupleToUserset_Tupleset) UnmarshalVT(dAtA []byte) error
- 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 (m *TypeInformation) CloneMessageVT() proto.Message
- func (m *TypeInformation) CloneVT() *TypeInformation
- func (*TypeInformation) Descriptor() ([]byte, []int)deprecated
- func (this *TypeInformation) EqualMessageVT(thatMsg proto.Message) bool
- func (this *TypeInformation) EqualVT(that *TypeInformation) bool
- func (x *TypeInformation) GetAllowedDirectRelations() []*AllowedRelation
- func (m *TypeInformation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TypeInformation) MarshalToVT(dAtA []byte) (int, error)
- func (m *TypeInformation) MarshalVT() (dAtA []byte, err error)
- func (*TypeInformation) ProtoMessage()
- func (x *TypeInformation) ProtoReflect() protoreflect.Message
- func (x *TypeInformation) Reset()
- func (m *TypeInformation) SizeVT() (n int)
- func (x *TypeInformation) String() string
- func (m *TypeInformation) UnmarshalVT(dAtA []byte) error
- 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 UsersetRewrite
- func (m *UsersetRewrite) CloneMessageVT() proto.Message
- func (m *UsersetRewrite) CloneVT() *UsersetRewrite
- func (*UsersetRewrite) Descriptor() ([]byte, []int)deprecated
- func (this *UsersetRewrite) EqualMessageVT(thatMsg proto.Message) bool
- func (this *UsersetRewrite) EqualVT(that *UsersetRewrite) bool
- 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 (m *UsersetRewrite) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UsersetRewrite) MarshalToVT(dAtA []byte) (int, error)
- func (m *UsersetRewrite) MarshalVT() (dAtA []byte, err error)
- func (*UsersetRewrite) ProtoMessage()
- func (x *UsersetRewrite) ProtoReflect() protoreflect.Message
- func (x *UsersetRewrite) Reset()
- func (m *UsersetRewrite) SizeVT() (n int)
- func (x *UsersetRewrite) String() string
- func (m *UsersetRewrite) UnmarshalVT(dAtA []byte) error
- 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
- func (m *UsersetRewrite_Exclusion) CloneVT() isUsersetRewrite_RewriteOperation
- func (this *UsersetRewrite_Exclusion) EqualVT(thatIface isUsersetRewrite_RewriteOperation) bool
- func (m *UsersetRewrite_Exclusion) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UsersetRewrite_Exclusion) MarshalToVT(dAtA []byte) (int, error)
- func (m *UsersetRewrite_Exclusion) SizeVT() (n int)
- type UsersetRewrite_Intersection
- func (m *UsersetRewrite_Intersection) CloneVT() isUsersetRewrite_RewriteOperation
- func (this *UsersetRewrite_Intersection) EqualVT(thatIface isUsersetRewrite_RewriteOperation) bool
- func (m *UsersetRewrite_Intersection) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UsersetRewrite_Intersection) MarshalToVT(dAtA []byte) (int, error)
- func (m *UsersetRewrite_Intersection) SizeVT() (n int)
- type UsersetRewrite_Union
- func (m *UsersetRewrite_Union) CloneVT() isUsersetRewrite_RewriteOperation
- func (this *UsersetRewrite_Union) EqualVT(thatIface isUsersetRewrite_RewriteOperation) bool
- func (m *UsersetRewrite_Union) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UsersetRewrite_Union) MarshalToVT(dAtA []byte) (int, error)
- func (m *UsersetRewrite_Union) SizeVT() (n int)
- type Zookie
- func (m *Zookie) CloneMessageVT() proto.Message
- func (m *Zookie) CloneVT() *Zookie
- func (*Zookie) Descriptor() ([]byte, []int)deprecated
- func (this *Zookie) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Zookie) EqualVT(that *Zookie) bool
- func (x *Zookie) GetToken() string
- func (m *Zookie) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Zookie) MarshalToVT(dAtA []byte) (int, error)
- func (m *Zookie) MarshalVT() (dAtA []byte, err error)
- func (*Zookie) ProtoMessage()
- func (x *Zookie) ProtoReflect() protoreflect.Message
- func (x *Zookie) Reset()
- func (m *Zookie) SizeVT() (n int)
- func (x *Zookie) String() string
- func (m *Zookie) UnmarshalVT(dAtA []byte) error
- 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 ( ReachabilityEntrypoint_ReachabilityEntrypointKind_name = map[int32]string{ 0: "RELATION_ENTRYPOINT", 1: "COMPUTED_USERSET_ENTRYPOINT", 2: "TUPLESET_TO_USERSET_ENTRYPOINT", } ReachabilityEntrypoint_ReachabilityEntrypointKind_value = map[string]int32{ "RELATION_ENTRYPOINT": 0, "COMPUTED_USERSET_ENTRYPOINT": 1, "TUPLESET_TO_USERSET_ENTRYPOINT": 2, } )
Enum value maps for ReachabilityEntrypoint_ReachabilityEntrypointKind.
var ( ReachabilityEntrypoint_EntrypointResultStatus_name = map[int32]string{ 0: "REACHABLE_CONDITIONAL_RESULT", 1: "DIRECT_OPERATION_RESULT", } ReachabilityEntrypoint_EntrypointResultStatus_value = map[string]int32{ "REACHABLE_CONDITIONAL_RESULT": 0, "DIRECT_OPERATION_RESULT": 1, } )
Enum value maps for ReachabilityEntrypoint_EntrypointResultStatus.
var ( FunctionedTupleToUserset_Function_name = map[int32]string{ 0: "FUNCTION_UNSPECIFIED", 1: "FUNCTION_ANY", 2: "FUNCTION_ALL", } FunctionedTupleToUserset_Function_value = map[string]int32{ "FUNCTION_UNSPECIFIED": 0, "FUNCTION_ANY": 1, "FUNCTION_ALL": 2, } )
Enum value maps for FunctionedTupleToUserset_Function.
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 ( CaveatOperation_Operation_name = map[int32]string{ 0: "UNKNOWN", 1: "OR", 2: "AND", 3: "NOT", } CaveatOperation_Operation_value = map[string]int32{ "UNKNOWN": 0, "OR": 1, "AND": 2, "NOT": 3, } )
Enum value maps for CaveatOperation_Operation.
var File_core_v1_core_proto protoreflect.FileDescriptor
Functions ¶
func ToV0RelationTuple ¶
func ToV0RelationTuple(tuple *RelationTuple) *v0.RelationTuple
ToV0RelationTuple converts the input to a v0 ToV0RelationTuple.
func ToV0RelationTuples ¶
func ToV0RelationTuples(tuples []*RelationTuple) []*v0.RelationTuple
ToV0RelationTuples converts the input slice elements to v0 RelationTuple.
Types ¶
type AllowedCaveat ¶ added in v1.14.0
type AllowedCaveat struct { // * // caveat_name is the name of the allowed caveat. CaveatName string `protobuf:"bytes,1,opt,name=caveat_name,json=caveatName,proto3" json:"caveat_name,omitempty"` // contains filtered or unexported fields }
* AllowedCaveat is an allowed caveat of a relation.
func (*AllowedCaveat) CloneMessageVT ¶ added in v1.22.0
func (m *AllowedCaveat) CloneMessageVT() proto.Message
func (*AllowedCaveat) CloneVT ¶ added in v1.14.0
func (m *AllowedCaveat) CloneVT() *AllowedCaveat
func (*AllowedCaveat) Descriptor
deprecated
added in
v1.14.0
func (*AllowedCaveat) Descriptor() ([]byte, []int)
Deprecated: Use AllowedCaveat.ProtoReflect.Descriptor instead.
func (*AllowedCaveat) EqualMessageVT ¶ added in v1.22.0
func (this *AllowedCaveat) EqualMessageVT(thatMsg proto.Message) bool
func (*AllowedCaveat) EqualVT ¶ added in v1.15.0
func (this *AllowedCaveat) EqualVT(that *AllowedCaveat) bool
func (*AllowedCaveat) GetCaveatName ¶ added in v1.14.0
func (x *AllowedCaveat) GetCaveatName() string
func (*AllowedCaveat) MarshalToSizedBufferVT ¶ added in v1.14.0
func (m *AllowedCaveat) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AllowedCaveat) MarshalToVT ¶ added in v1.14.0
func (m *AllowedCaveat) MarshalToVT(dAtA []byte) (int, error)
func (*AllowedCaveat) MarshalVT ¶ added in v1.14.0
func (m *AllowedCaveat) MarshalVT() (dAtA []byte, err error)
func (*AllowedCaveat) ProtoMessage ¶ added in v1.14.0
func (*AllowedCaveat) ProtoMessage()
func (*AllowedCaveat) ProtoReflect ¶ added in v1.14.0
func (x *AllowedCaveat) ProtoReflect() protoreflect.Message
func (*AllowedCaveat) Reset ¶ added in v1.14.0
func (x *AllowedCaveat) Reset()
func (*AllowedCaveat) SizeVT ¶ added in v1.14.0
func (m *AllowedCaveat) SizeVT() (n int)
func (*AllowedCaveat) String ¶ added in v1.14.0
func (x *AllowedCaveat) String() string
func (*AllowedCaveat) UnmarshalVT ¶ added in v1.14.0
func (m *AllowedCaveat) UnmarshalVT(dAtA []byte) error
func (*AllowedCaveat) Validate ¶ added in v1.14.0
func (m *AllowedCaveat) Validate() error
Validate checks the field values on AllowedCaveat 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 (*AllowedCaveat) ValidateAll ¶ added in v1.14.0
func (m *AllowedCaveat) ValidateAll() error
ValidateAll checks the field values on AllowedCaveat 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 AllowedCaveatMultiError, or nil if none found.
type AllowedCaveatMultiError ¶ added in v1.14.0
type AllowedCaveatMultiError []error
AllowedCaveatMultiError is an error wrapping multiple validation errors returned by AllowedCaveat.ValidateAll() if the designated constraints aren't met.
func (AllowedCaveatMultiError) AllErrors ¶ added in v1.14.0
func (m AllowedCaveatMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllowedCaveatMultiError) Error ¶ added in v1.14.0
func (m AllowedCaveatMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllowedCaveatValidationError ¶ added in v1.14.0
type AllowedCaveatValidationError struct {
// contains filtered or unexported fields
}
AllowedCaveatValidationError is the validation error returned by AllowedCaveat.Validate if the designated constraints aren't met.
func (AllowedCaveatValidationError) Cause ¶ added in v1.14.0
func (e AllowedCaveatValidationError) Cause() error
Cause function returns cause value.
func (AllowedCaveatValidationError) Error ¶ added in v1.14.0
func (e AllowedCaveatValidationError) Error() string
Error satisfies the builtin error interface
func (AllowedCaveatValidationError) ErrorName ¶ added in v1.14.0
func (e AllowedCaveatValidationError) ErrorName() string
ErrorName returns error name.
func (AllowedCaveatValidationError) Field ¶ added in v1.14.0
func (e AllowedCaveatValidationError) Field() string
Field function returns field value.
func (AllowedCaveatValidationError) Key ¶ added in v1.14.0
func (e AllowedCaveatValidationError) Key() bool
Key function returns key value.
func (AllowedCaveatValidationError) Reason ¶ added in v1.14.0
func (e AllowedCaveatValidationError) Reason() string
Reason function returns reason value.
type AllowedRelation ¶
type AllowedRelation struct { // * namespace is the full namespace path of the allowed object type Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // * // relation_or_wildcard indicates the relation for the objects, or a wildcard. // // Types that are assignable to RelationOrWildcard: // // *AllowedRelation_Relation // *AllowedRelation_PublicWildcard_ RelationOrWildcard isAllowedRelation_RelationOrWildcard `protobuf_oneof:"relation_or_wildcard"` // * source_position contains the position of the type in the source schema, if any SourcePosition *SourcePosition `protobuf:"bytes,5,opt,name=source_position,json=sourcePosition,proto3" json:"source_position,omitempty"` // * // required_caveat defines the required caveat on this relation. RequiredCaveat *AllowedCaveat `protobuf:"bytes,6,opt,name=required_caveat,json=requiredCaveat,proto3" json:"required_caveat,omitempty"` // contains filtered or unexported fields }
* AllowedRelation is an allowed type of a relation when used as a subject.
func (*AllowedRelation) CloneMessageVT ¶ added in v1.22.0
func (m *AllowedRelation) CloneMessageVT() proto.Message
func (*AllowedRelation) CloneVT ¶ added in v1.13.0
func (m *AllowedRelation) CloneVT() *AllowedRelation
func (*AllowedRelation) Descriptor
deprecated
func (*AllowedRelation) Descriptor() ([]byte, []int)
Deprecated: Use AllowedRelation.ProtoReflect.Descriptor instead.
func (*AllowedRelation) EqualMessageVT ¶ added in v1.22.0
func (this *AllowedRelation) EqualMessageVT(thatMsg proto.Message) bool
func (*AllowedRelation) EqualVT ¶ added in v1.15.0
func (this *AllowedRelation) EqualVT(that *AllowedRelation) bool
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) GetRequiredCaveat ¶ added in v1.14.0
func (x *AllowedRelation) GetRequiredCaveat() *AllowedCaveat
func (*AllowedRelation) GetSourcePosition ¶
func (x *AllowedRelation) GetSourcePosition() *SourcePosition
func (*AllowedRelation) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *AllowedRelation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AllowedRelation) MarshalToVT ¶ added in v1.13.0
func (m *AllowedRelation) MarshalToVT(dAtA []byte) (int, error)
func (*AllowedRelation) MarshalVT ¶ added in v1.13.0
func (m *AllowedRelation) MarshalVT() (dAtA []byte, err error)
func (*AllowedRelation) ProtoMessage ¶
func (*AllowedRelation) ProtoMessage()
func (*AllowedRelation) ProtoReflect ¶
func (x *AllowedRelation) ProtoReflect() protoreflect.Message
func (*AllowedRelation) Reset ¶
func (x *AllowedRelation) Reset()
func (*AllowedRelation) SizeVT ¶ added in v1.13.0
func (m *AllowedRelation) SizeVT() (n int)
func (*AllowedRelation) String ¶
func (x *AllowedRelation) String() string
func (*AllowedRelation) UnmarshalVT ¶ added in v1.13.0
func (m *AllowedRelation) UnmarshalVT(dAtA []byte) error
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) CloneMessageVT ¶ added in v1.22.0
func (m *AllowedRelation_PublicWildcard) CloneMessageVT() proto.Message
func (*AllowedRelation_PublicWildcard) CloneVT ¶ added in v1.13.0
func (m *AllowedRelation_PublicWildcard) CloneVT() *AllowedRelation_PublicWildcard
func (*AllowedRelation_PublicWildcard) Descriptor
deprecated
func (*AllowedRelation_PublicWildcard) Descriptor() ([]byte, []int)
Deprecated: Use AllowedRelation_PublicWildcard.ProtoReflect.Descriptor instead.
func (*AllowedRelation_PublicWildcard) EqualMessageVT ¶ added in v1.22.0
func (this *AllowedRelation_PublicWildcard) EqualMessageVT(thatMsg proto.Message) bool
func (*AllowedRelation_PublicWildcard) EqualVT ¶ added in v1.15.0
func (this *AllowedRelation_PublicWildcard) EqualVT(that *AllowedRelation_PublicWildcard) bool
func (*AllowedRelation_PublicWildcard) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *AllowedRelation_PublicWildcard) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AllowedRelation_PublicWildcard) MarshalToVT ¶ added in v1.13.0
func (m *AllowedRelation_PublicWildcard) MarshalToVT(dAtA []byte) (int, error)
func (*AllowedRelation_PublicWildcard) MarshalVT ¶ added in v1.13.0
func (m *AllowedRelation_PublicWildcard) MarshalVT() (dAtA []byte, err error)
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) SizeVT ¶ added in v1.13.0
func (m *AllowedRelation_PublicWildcard) SizeVT() (n int)
func (*AllowedRelation_PublicWildcard) String ¶
func (x *AllowedRelation_PublicWildcard) String() string
func (*AllowedRelation_PublicWildcard) UnmarshalVT ¶ added in v1.13.0
func (m *AllowedRelation_PublicWildcard) UnmarshalVT(dAtA []byte) error
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"`
}
func (*AllowedRelation_PublicWildcard_) CloneVT ¶ added in v1.13.0
func (m *AllowedRelation_PublicWildcard_) CloneVT() isAllowedRelation_RelationOrWildcard
func (*AllowedRelation_PublicWildcard_) EqualVT ¶ added in v1.15.0
func (this *AllowedRelation_PublicWildcard_) EqualVT(thatIface isAllowedRelation_RelationOrWildcard) bool
func (*AllowedRelation_PublicWildcard_) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *AllowedRelation_PublicWildcard_) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AllowedRelation_PublicWildcard_) MarshalToVT ¶ added in v1.13.0
func (m *AllowedRelation_PublicWildcard_) MarshalToVT(dAtA []byte) (int, error)
func (*AllowedRelation_PublicWildcard_) SizeVT ¶ added in v1.13.0
func (m *AllowedRelation_PublicWildcard_) SizeVT() (n int)
type AllowedRelation_Relation ¶
type AllowedRelation_Relation struct {
Relation string `protobuf:"bytes,3,opt,name=relation,proto3,oneof"`
}
func (*AllowedRelation_Relation) CloneVT ¶ added in v1.13.0
func (m *AllowedRelation_Relation) CloneVT() isAllowedRelation_RelationOrWildcard
func (*AllowedRelation_Relation) EqualVT ¶ added in v1.15.0
func (this *AllowedRelation_Relation) EqualVT(thatIface isAllowedRelation_RelationOrWildcard) bool
func (*AllowedRelation_Relation) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *AllowedRelation_Relation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AllowedRelation_Relation) MarshalToVT ¶ added in v1.13.0
func (m *AllowedRelation_Relation) MarshalToVT(dAtA []byte) (int, error)
func (*AllowedRelation_Relation) SizeVT ¶ added in v1.13.0
func (m *AllowedRelation_Relation) SizeVT() (n int)
type CaveatDefinition ¶ added in v1.14.0
type CaveatDefinition struct { // * name represents the globally-unique identifier of the caveat * Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // * serialized_expression is the byte representation of a caveat's logic SerializedExpression []byte `protobuf:"bytes,2,opt,name=serialized_expression,json=serializedExpression,proto3" json:"serialized_expression,omitempty"` // * parameters_and_types is a map from parameter name to its type ParameterTypes map[string]*CaveatTypeReference `` /* 191-byte string literal not displayed */ // * metadata contains compiler metadata from schemas compiled into caveats Metadata *Metadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // * source_position contains the position of the caveat in the source schema, if any SourcePosition *SourcePosition `protobuf:"bytes,5,opt,name=source_position,json=sourcePosition,proto3" json:"source_position,omitempty"` // contains filtered or unexported fields }
func (*CaveatDefinition) CloneMessageVT ¶ added in v1.22.0
func (m *CaveatDefinition) CloneMessageVT() proto.Message
func (*CaveatDefinition) CloneVT ¶ added in v1.14.0
func (m *CaveatDefinition) CloneVT() *CaveatDefinition
func (*CaveatDefinition) Descriptor
deprecated
added in
v1.14.0
func (*CaveatDefinition) Descriptor() ([]byte, []int)
Deprecated: Use CaveatDefinition.ProtoReflect.Descriptor instead.
func (*CaveatDefinition) EqualMessageVT ¶ added in v1.22.0
func (this *CaveatDefinition) EqualMessageVT(thatMsg proto.Message) bool
func (*CaveatDefinition) EqualVT ¶ added in v1.15.0
func (this *CaveatDefinition) EqualVT(that *CaveatDefinition) bool
func (*CaveatDefinition) GetMetadata ¶ added in v1.14.0
func (x *CaveatDefinition) GetMetadata() *Metadata
func (*CaveatDefinition) GetName ¶ added in v1.14.0
func (x *CaveatDefinition) GetName() string
func (*CaveatDefinition) GetParameterTypes ¶ added in v1.14.0
func (x *CaveatDefinition) GetParameterTypes() map[string]*CaveatTypeReference
func (*CaveatDefinition) GetSerializedExpression ¶ added in v1.14.0
func (x *CaveatDefinition) GetSerializedExpression() []byte
func (*CaveatDefinition) GetSourcePosition ¶ added in v1.14.0
func (x *CaveatDefinition) GetSourcePosition() *SourcePosition
func (*CaveatDefinition) MarshalToSizedBufferVT ¶ added in v1.14.0
func (m *CaveatDefinition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CaveatDefinition) MarshalToVT ¶ added in v1.14.0
func (m *CaveatDefinition) MarshalToVT(dAtA []byte) (int, error)
func (*CaveatDefinition) MarshalVT ¶ added in v1.14.0
func (m *CaveatDefinition) MarshalVT() (dAtA []byte, err error)
func (*CaveatDefinition) ProtoMessage ¶ added in v1.14.0
func (*CaveatDefinition) ProtoMessage()
func (*CaveatDefinition) ProtoReflect ¶ added in v1.14.0
func (x *CaveatDefinition) ProtoReflect() protoreflect.Message
func (*CaveatDefinition) Reset ¶ added in v1.14.0
func (x *CaveatDefinition) Reset()
func (*CaveatDefinition) SizeVT ¶ added in v1.14.0
func (m *CaveatDefinition) SizeVT() (n int)
func (*CaveatDefinition) String ¶ added in v1.14.0
func (x *CaveatDefinition) String() string
func (*CaveatDefinition) UnmarshalVT ¶ added in v1.14.0
func (m *CaveatDefinition) UnmarshalVT(dAtA []byte) error
func (*CaveatDefinition) Validate ¶ added in v1.14.0
func (m *CaveatDefinition) Validate() error
Validate checks the field values on CaveatDefinition 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 (*CaveatDefinition) ValidateAll ¶ added in v1.14.0
func (m *CaveatDefinition) ValidateAll() error
ValidateAll checks the field values on CaveatDefinition 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 CaveatDefinitionMultiError, or nil if none found.
type CaveatDefinitionMultiError ¶ added in v1.14.0
type CaveatDefinitionMultiError []error
CaveatDefinitionMultiError is an error wrapping multiple validation errors returned by CaveatDefinition.ValidateAll() if the designated constraints aren't met.
func (CaveatDefinitionMultiError) AllErrors ¶ added in v1.14.0
func (m CaveatDefinitionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CaveatDefinitionMultiError) Error ¶ added in v1.14.0
func (m CaveatDefinitionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CaveatDefinitionValidationError ¶ added in v1.14.0
type CaveatDefinitionValidationError struct {
// contains filtered or unexported fields
}
CaveatDefinitionValidationError is the validation error returned by CaveatDefinition.Validate if the designated constraints aren't met.
func (CaveatDefinitionValidationError) Cause ¶ added in v1.14.0
func (e CaveatDefinitionValidationError) Cause() error
Cause function returns cause value.
func (CaveatDefinitionValidationError) Error ¶ added in v1.14.0
func (e CaveatDefinitionValidationError) Error() string
Error satisfies the builtin error interface
func (CaveatDefinitionValidationError) ErrorName ¶ added in v1.14.0
func (e CaveatDefinitionValidationError) ErrorName() string
ErrorName returns error name.
func (CaveatDefinitionValidationError) Field ¶ added in v1.14.0
func (e CaveatDefinitionValidationError) Field() string
Field function returns field value.
func (CaveatDefinitionValidationError) Key ¶ added in v1.14.0
func (e CaveatDefinitionValidationError) Key() bool
Key function returns key value.
func (CaveatDefinitionValidationError) Reason ¶ added in v1.14.0
func (e CaveatDefinitionValidationError) Reason() string
Reason function returns reason value.
type CaveatExpression ¶ added in v1.16.0
type CaveatExpression struct { // Types that are assignable to OperationOrCaveat: // // *CaveatExpression_Operation // *CaveatExpression_Caveat OperationOrCaveat isCaveatExpression_OperationOrCaveat `protobuf_oneof:"operation_or_caveat"` // contains filtered or unexported fields }
func (*CaveatExpression) CloneMessageVT ¶ added in v1.22.0
func (m *CaveatExpression) CloneMessageVT() proto.Message
func (*CaveatExpression) CloneVT ¶ added in v1.16.0
func (m *CaveatExpression) CloneVT() *CaveatExpression
func (*CaveatExpression) Descriptor
deprecated
added in
v1.16.0
func (*CaveatExpression) Descriptor() ([]byte, []int)
Deprecated: Use CaveatExpression.ProtoReflect.Descriptor instead.
func (*CaveatExpression) EqualMessageVT ¶ added in v1.22.0
func (this *CaveatExpression) EqualMessageVT(thatMsg proto.Message) bool
func (*CaveatExpression) EqualVT ¶ added in v1.16.0
func (this *CaveatExpression) EqualVT(that *CaveatExpression) bool
func (*CaveatExpression) GetCaveat ¶ added in v1.16.0
func (x *CaveatExpression) GetCaveat() *ContextualizedCaveat
func (*CaveatExpression) GetOperation ¶ added in v1.16.0
func (x *CaveatExpression) GetOperation() *CaveatOperation
func (*CaveatExpression) GetOperationOrCaveat ¶ added in v1.16.0
func (m *CaveatExpression) GetOperationOrCaveat() isCaveatExpression_OperationOrCaveat
func (*CaveatExpression) MarshalToSizedBufferVT ¶ added in v1.16.0
func (m *CaveatExpression) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CaveatExpression) MarshalToVT ¶ added in v1.16.0
func (m *CaveatExpression) MarshalToVT(dAtA []byte) (int, error)
func (*CaveatExpression) MarshalVT ¶ added in v1.16.0
func (m *CaveatExpression) MarshalVT() (dAtA []byte, err error)
func (*CaveatExpression) ProtoMessage ¶ added in v1.16.0
func (*CaveatExpression) ProtoMessage()
func (*CaveatExpression) ProtoReflect ¶ added in v1.16.0
func (x *CaveatExpression) ProtoReflect() protoreflect.Message
func (*CaveatExpression) Reset ¶ added in v1.16.0
func (x *CaveatExpression) Reset()
func (*CaveatExpression) SizeVT ¶ added in v1.16.0
func (m *CaveatExpression) SizeVT() (n int)
func (*CaveatExpression) String ¶ added in v1.16.0
func (x *CaveatExpression) String() string
func (*CaveatExpression) UnmarshalVT ¶ added in v1.16.0
func (m *CaveatExpression) UnmarshalVT(dAtA []byte) error
func (*CaveatExpression) Validate ¶ added in v1.16.0
func (m *CaveatExpression) Validate() error
Validate checks the field values on CaveatExpression 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 (*CaveatExpression) ValidateAll ¶ added in v1.16.0
func (m *CaveatExpression) ValidateAll() error
ValidateAll checks the field values on CaveatExpression 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 CaveatExpressionMultiError, or nil if none found.
type CaveatExpressionMultiError ¶ added in v1.16.0
type CaveatExpressionMultiError []error
CaveatExpressionMultiError is an error wrapping multiple validation errors returned by CaveatExpression.ValidateAll() if the designated constraints aren't met.
func (CaveatExpressionMultiError) AllErrors ¶ added in v1.16.0
func (m CaveatExpressionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CaveatExpressionMultiError) Error ¶ added in v1.16.0
func (m CaveatExpressionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CaveatExpressionValidationError ¶ added in v1.16.0
type CaveatExpressionValidationError struct {
// contains filtered or unexported fields
}
CaveatExpressionValidationError is the validation error returned by CaveatExpression.Validate if the designated constraints aren't met.
func (CaveatExpressionValidationError) Cause ¶ added in v1.16.0
func (e CaveatExpressionValidationError) Cause() error
Cause function returns cause value.
func (CaveatExpressionValidationError) Error ¶ added in v1.16.0
func (e CaveatExpressionValidationError) Error() string
Error satisfies the builtin error interface
func (CaveatExpressionValidationError) ErrorName ¶ added in v1.16.0
func (e CaveatExpressionValidationError) ErrorName() string
ErrorName returns error name.
func (CaveatExpressionValidationError) Field ¶ added in v1.16.0
func (e CaveatExpressionValidationError) Field() string
Field function returns field value.
func (CaveatExpressionValidationError) Key ¶ added in v1.16.0
func (e CaveatExpressionValidationError) Key() bool
Key function returns key value.
func (CaveatExpressionValidationError) Reason ¶ added in v1.16.0
func (e CaveatExpressionValidationError) Reason() string
Reason function returns reason value.
type CaveatExpression_Caveat ¶ added in v1.16.0
type CaveatExpression_Caveat struct {
Caveat *ContextualizedCaveat `protobuf:"bytes,2,opt,name=caveat,proto3,oneof"`
}
func (*CaveatExpression_Caveat) CloneVT ¶ added in v1.16.0
func (m *CaveatExpression_Caveat) CloneVT() isCaveatExpression_OperationOrCaveat
func (*CaveatExpression_Caveat) EqualVT ¶ added in v1.16.0
func (this *CaveatExpression_Caveat) EqualVT(thatIface isCaveatExpression_OperationOrCaveat) bool
func (*CaveatExpression_Caveat) MarshalToSizedBufferVT ¶ added in v1.16.0
func (m *CaveatExpression_Caveat) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CaveatExpression_Caveat) MarshalToVT ¶ added in v1.16.0
func (m *CaveatExpression_Caveat) MarshalToVT(dAtA []byte) (int, error)
func (*CaveatExpression_Caveat) SizeVT ¶ added in v1.16.0
func (m *CaveatExpression_Caveat) SizeVT() (n int)
type CaveatExpression_Operation ¶ added in v1.16.0
type CaveatExpression_Operation struct {
Operation *CaveatOperation `protobuf:"bytes,1,opt,name=operation,proto3,oneof"`
}
func (*CaveatExpression_Operation) CloneVT ¶ added in v1.16.0
func (m *CaveatExpression_Operation) CloneVT() isCaveatExpression_OperationOrCaveat
func (*CaveatExpression_Operation) EqualVT ¶ added in v1.16.0
func (this *CaveatExpression_Operation) EqualVT(thatIface isCaveatExpression_OperationOrCaveat) bool
func (*CaveatExpression_Operation) MarshalToSizedBufferVT ¶ added in v1.16.0
func (m *CaveatExpression_Operation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CaveatExpression_Operation) MarshalToVT ¶ added in v1.16.0
func (m *CaveatExpression_Operation) MarshalToVT(dAtA []byte) (int, error)
func (*CaveatExpression_Operation) SizeVT ¶ added in v1.16.0
func (m *CaveatExpression_Operation) SizeVT() (n int)
type CaveatOperation ¶ added in v1.16.0
type CaveatOperation struct { Op CaveatOperation_Operation `protobuf:"varint,1,opt,name=op,proto3,enum=core.v1.CaveatOperation_Operation" json:"op,omitempty"` Children []*CaveatExpression `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*CaveatOperation) CloneMessageVT ¶ added in v1.22.0
func (m *CaveatOperation) CloneMessageVT() proto.Message
func (*CaveatOperation) CloneVT ¶ added in v1.16.0
func (m *CaveatOperation) CloneVT() *CaveatOperation
func (*CaveatOperation) Descriptor
deprecated
added in
v1.16.0
func (*CaveatOperation) Descriptor() ([]byte, []int)
Deprecated: Use CaveatOperation.ProtoReflect.Descriptor instead.
func (*CaveatOperation) EqualMessageVT ¶ added in v1.22.0
func (this *CaveatOperation) EqualMessageVT(thatMsg proto.Message) bool
func (*CaveatOperation) EqualVT ¶ added in v1.16.0
func (this *CaveatOperation) EqualVT(that *CaveatOperation) bool
func (*CaveatOperation) GetChildren ¶ added in v1.16.0
func (x *CaveatOperation) GetChildren() []*CaveatExpression
func (*CaveatOperation) GetOp ¶ added in v1.16.0
func (x *CaveatOperation) GetOp() CaveatOperation_Operation
func (*CaveatOperation) MarshalToSizedBufferVT ¶ added in v1.16.0
func (m *CaveatOperation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CaveatOperation) MarshalToVT ¶ added in v1.16.0
func (m *CaveatOperation) MarshalToVT(dAtA []byte) (int, error)
func (*CaveatOperation) MarshalVT ¶ added in v1.16.0
func (m *CaveatOperation) MarshalVT() (dAtA []byte, err error)
func (*CaveatOperation) ProtoMessage ¶ added in v1.16.0
func (*CaveatOperation) ProtoMessage()
func (*CaveatOperation) ProtoReflect ¶ added in v1.16.0
func (x *CaveatOperation) ProtoReflect() protoreflect.Message
func (*CaveatOperation) Reset ¶ added in v1.16.0
func (x *CaveatOperation) Reset()
func (*CaveatOperation) SizeVT ¶ added in v1.16.0
func (m *CaveatOperation) SizeVT() (n int)
func (*CaveatOperation) String ¶ added in v1.16.0
func (x *CaveatOperation) String() string
func (*CaveatOperation) UnmarshalVT ¶ added in v1.16.0
func (m *CaveatOperation) UnmarshalVT(dAtA []byte) error
func (*CaveatOperation) Validate ¶ added in v1.16.0
func (m *CaveatOperation) Validate() error
Validate checks the field values on CaveatOperation 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 (*CaveatOperation) ValidateAll ¶ added in v1.16.0
func (m *CaveatOperation) ValidateAll() error
ValidateAll checks the field values on CaveatOperation 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 CaveatOperationMultiError, or nil if none found.
type CaveatOperationMultiError ¶ added in v1.16.0
type CaveatOperationMultiError []error
CaveatOperationMultiError is an error wrapping multiple validation errors returned by CaveatOperation.ValidateAll() if the designated constraints aren't met.
func (CaveatOperationMultiError) AllErrors ¶ added in v1.16.0
func (m CaveatOperationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CaveatOperationMultiError) Error ¶ added in v1.16.0
func (m CaveatOperationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CaveatOperationValidationError ¶ added in v1.16.0
type CaveatOperationValidationError struct {
// contains filtered or unexported fields
}
CaveatOperationValidationError is the validation error returned by CaveatOperation.Validate if the designated constraints aren't met.
func (CaveatOperationValidationError) Cause ¶ added in v1.16.0
func (e CaveatOperationValidationError) Cause() error
Cause function returns cause value.
func (CaveatOperationValidationError) Error ¶ added in v1.16.0
func (e CaveatOperationValidationError) Error() string
Error satisfies the builtin error interface
func (CaveatOperationValidationError) ErrorName ¶ added in v1.16.0
func (e CaveatOperationValidationError) ErrorName() string
ErrorName returns error name.
func (CaveatOperationValidationError) Field ¶ added in v1.16.0
func (e CaveatOperationValidationError) Field() string
Field function returns field value.
func (CaveatOperationValidationError) Key ¶ added in v1.16.0
func (e CaveatOperationValidationError) Key() bool
Key function returns key value.
func (CaveatOperationValidationError) Reason ¶ added in v1.16.0
func (e CaveatOperationValidationError) Reason() string
Reason function returns reason value.
type CaveatOperation_Operation ¶ added in v1.16.0
type CaveatOperation_Operation int32
const ( CaveatOperation_UNKNOWN CaveatOperation_Operation = 0 CaveatOperation_OR CaveatOperation_Operation = 1 CaveatOperation_AND CaveatOperation_Operation = 2 CaveatOperation_NOT CaveatOperation_Operation = 3 )
func (CaveatOperation_Operation) Descriptor ¶ added in v1.16.0
func (CaveatOperation_Operation) Descriptor() protoreflect.EnumDescriptor
func (CaveatOperation_Operation) Enum ¶ added in v1.16.0
func (x CaveatOperation_Operation) Enum() *CaveatOperation_Operation
func (CaveatOperation_Operation) EnumDescriptor
deprecated
added in
v1.16.0
func (CaveatOperation_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use CaveatOperation_Operation.Descriptor instead.
func (CaveatOperation_Operation) Number ¶ added in v1.16.0
func (x CaveatOperation_Operation) Number() protoreflect.EnumNumber
func (CaveatOperation_Operation) String ¶ added in v1.16.0
func (x CaveatOperation_Operation) String() string
func (CaveatOperation_Operation) Type ¶ added in v1.16.0
func (CaveatOperation_Operation) Type() protoreflect.EnumType
type CaveatTypeReference ¶ added in v1.14.0
type CaveatTypeReference struct { TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` ChildTypes []*CaveatTypeReference `protobuf:"bytes,2,rep,name=child_types,json=childTypes,proto3" json:"child_types,omitempty"` // contains filtered or unexported fields }
func (*CaveatTypeReference) CloneMessageVT ¶ added in v1.22.0
func (m *CaveatTypeReference) CloneMessageVT() proto.Message
func (*CaveatTypeReference) CloneVT ¶ added in v1.14.0
func (m *CaveatTypeReference) CloneVT() *CaveatTypeReference
func (*CaveatTypeReference) Descriptor
deprecated
added in
v1.14.0
func (*CaveatTypeReference) Descriptor() ([]byte, []int)
Deprecated: Use CaveatTypeReference.ProtoReflect.Descriptor instead.
func (*CaveatTypeReference) EqualMessageVT ¶ added in v1.22.0
func (this *CaveatTypeReference) EqualMessageVT(thatMsg proto.Message) bool
func (*CaveatTypeReference) EqualVT ¶ added in v1.15.0
func (this *CaveatTypeReference) EqualVT(that *CaveatTypeReference) bool
func (*CaveatTypeReference) GetChildTypes ¶ added in v1.14.0
func (x *CaveatTypeReference) GetChildTypes() []*CaveatTypeReference
func (*CaveatTypeReference) GetTypeName ¶ added in v1.14.0
func (x *CaveatTypeReference) GetTypeName() string
func (*CaveatTypeReference) MarshalToSizedBufferVT ¶ added in v1.14.0
func (m *CaveatTypeReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CaveatTypeReference) MarshalToVT ¶ added in v1.14.0
func (m *CaveatTypeReference) MarshalToVT(dAtA []byte) (int, error)
func (*CaveatTypeReference) MarshalVT ¶ added in v1.14.0
func (m *CaveatTypeReference) MarshalVT() (dAtA []byte, err error)
func (*CaveatTypeReference) ProtoMessage ¶ added in v1.14.0
func (*CaveatTypeReference) ProtoMessage()
func (*CaveatTypeReference) ProtoReflect ¶ added in v1.14.0
func (x *CaveatTypeReference) ProtoReflect() protoreflect.Message
func (*CaveatTypeReference) Reset ¶ added in v1.14.0
func (x *CaveatTypeReference) Reset()
func (*CaveatTypeReference) SizeVT ¶ added in v1.14.0
func (m *CaveatTypeReference) SizeVT() (n int)
func (*CaveatTypeReference) String ¶ added in v1.14.0
func (x *CaveatTypeReference) String() string
func (*CaveatTypeReference) UnmarshalVT ¶ added in v1.14.0
func (m *CaveatTypeReference) UnmarshalVT(dAtA []byte) error
func (*CaveatTypeReference) Validate ¶ added in v1.14.0
func (m *CaveatTypeReference) Validate() error
Validate checks the field values on CaveatTypeReference 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 (*CaveatTypeReference) ValidateAll ¶ added in v1.14.0
func (m *CaveatTypeReference) ValidateAll() error
ValidateAll checks the field values on CaveatTypeReference 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 CaveatTypeReferenceMultiError, or nil if none found.
type CaveatTypeReferenceMultiError ¶ added in v1.14.0
type CaveatTypeReferenceMultiError []error
CaveatTypeReferenceMultiError is an error wrapping multiple validation errors returned by CaveatTypeReference.ValidateAll() if the designated constraints aren't met.
func (CaveatTypeReferenceMultiError) AllErrors ¶ added in v1.14.0
func (m CaveatTypeReferenceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CaveatTypeReferenceMultiError) Error ¶ added in v1.14.0
func (m CaveatTypeReferenceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CaveatTypeReferenceValidationError ¶ added in v1.14.0
type CaveatTypeReferenceValidationError struct {
// contains filtered or unexported fields
}
CaveatTypeReferenceValidationError is the validation error returned by CaveatTypeReference.Validate if the designated constraints aren't met.
func (CaveatTypeReferenceValidationError) Cause ¶ added in v1.14.0
func (e CaveatTypeReferenceValidationError) Cause() error
Cause function returns cause value.
func (CaveatTypeReferenceValidationError) Error ¶ added in v1.14.0
func (e CaveatTypeReferenceValidationError) Error() string
Error satisfies the builtin error interface
func (CaveatTypeReferenceValidationError) ErrorName ¶ added in v1.14.0
func (e CaveatTypeReferenceValidationError) ErrorName() string
ErrorName returns error name.
func (CaveatTypeReferenceValidationError) Field ¶ added in v1.14.0
func (e CaveatTypeReferenceValidationError) Field() string
Field function returns field value.
func (CaveatTypeReferenceValidationError) Key ¶ added in v1.14.0
func (e CaveatTypeReferenceValidationError) Key() bool
Key function returns key value.
func (CaveatTypeReferenceValidationError) Reason ¶ added in v1.14.0
func (e CaveatTypeReferenceValidationError) Reason() string
Reason function returns reason value.
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) CloneMessageVT ¶ added in v1.22.0
func (m *ComputedUserset) CloneMessageVT() proto.Message
func (*ComputedUserset) CloneVT ¶ added in v1.13.0
func (m *ComputedUserset) CloneVT() *ComputedUserset
func (*ComputedUserset) Descriptor
deprecated
func (*ComputedUserset) Descriptor() ([]byte, []int)
Deprecated: Use ComputedUserset.ProtoReflect.Descriptor instead.
func (*ComputedUserset) EqualMessageVT ¶ added in v1.22.0
func (this *ComputedUserset) EqualMessageVT(thatMsg proto.Message) bool
func (*ComputedUserset) EqualVT ¶ added in v1.15.0
func (this *ComputedUserset) EqualVT(that *ComputedUserset) bool
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) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *ComputedUserset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ComputedUserset) MarshalToVT ¶ added in v1.13.0
func (m *ComputedUserset) MarshalToVT(dAtA []byte) (int, error)
func (*ComputedUserset) MarshalVT ¶ added in v1.13.0
func (m *ComputedUserset) MarshalVT() (dAtA []byte, err error)
func (*ComputedUserset) ProtoMessage ¶
func (*ComputedUserset) ProtoMessage()
func (*ComputedUserset) ProtoReflect ¶
func (x *ComputedUserset) ProtoReflect() protoreflect.Message
func (*ComputedUserset) Reset ¶
func (x *ComputedUserset) Reset()
func (*ComputedUserset) SizeVT ¶ added in v1.13.0
func (m *ComputedUserset) SizeVT() (n int)
func (*ComputedUserset) String ¶
func (x *ComputedUserset) String() string
func (*ComputedUserset) UnmarshalVT ¶ added in v1.13.0
func (m *ComputedUserset) UnmarshalVT(dAtA []byte) error
func (*ComputedUserset) Validate ¶
func (m *ComputedUserset) Validate() error
Validate checks the field values on ComputedUserset with the rules defined in the proto definition for this message. If any rules are violated, 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 ContextualizedCaveat ¶ added in v1.13.0
type ContextualizedCaveat struct { // * caveat_name is the name used in the schema for a stored caveat * CaveatName string `protobuf:"bytes,1,opt,name=caveat_name,json=caveatName,proto3" json:"caveat_name,omitempty"` // * context are arguments used as input during caveat evaluation with a predefined value * Context *structpb.Struct `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
* ContextualizedCaveat represents a reference to a caveat used to by caveated tuples. The context are key-value pairs that will be injected at evaluation time.
func (*ContextualizedCaveat) CloneMessageVT ¶ added in v1.22.0
func (m *ContextualizedCaveat) CloneMessageVT() proto.Message
func (*ContextualizedCaveat) CloneVT ¶ added in v1.13.0
func (m *ContextualizedCaveat) CloneVT() *ContextualizedCaveat
func (*ContextualizedCaveat) Descriptor
deprecated
added in
v1.13.0
func (*ContextualizedCaveat) Descriptor() ([]byte, []int)
Deprecated: Use ContextualizedCaveat.ProtoReflect.Descriptor instead.
func (*ContextualizedCaveat) EqualMessageVT ¶ added in v1.22.0
func (this *ContextualizedCaveat) EqualMessageVT(thatMsg proto.Message) bool
func (*ContextualizedCaveat) EqualVT ¶ added in v1.15.0
func (this *ContextualizedCaveat) EqualVT(that *ContextualizedCaveat) bool
func (*ContextualizedCaveat) GetCaveatName ¶ added in v1.13.0
func (x *ContextualizedCaveat) GetCaveatName() string
func (*ContextualizedCaveat) GetContext ¶ added in v1.13.0
func (x *ContextualizedCaveat) GetContext() *structpb.Struct
func (*ContextualizedCaveat) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *ContextualizedCaveat) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ContextualizedCaveat) MarshalToVT ¶ added in v1.13.0
func (m *ContextualizedCaveat) MarshalToVT(dAtA []byte) (int, error)
func (*ContextualizedCaveat) MarshalVT ¶ added in v1.13.0
func (m *ContextualizedCaveat) MarshalVT() (dAtA []byte, err error)
func (*ContextualizedCaveat) ProtoMessage ¶ added in v1.13.0
func (*ContextualizedCaveat) ProtoMessage()
func (*ContextualizedCaveat) ProtoReflect ¶ added in v1.13.0
func (x *ContextualizedCaveat) ProtoReflect() protoreflect.Message
func (*ContextualizedCaveat) Reset ¶ added in v1.13.0
func (x *ContextualizedCaveat) Reset()
func (*ContextualizedCaveat) SizeVT ¶ added in v1.13.0
func (m *ContextualizedCaveat) SizeVT() (n int)
func (*ContextualizedCaveat) String ¶ added in v1.13.0
func (x *ContextualizedCaveat) String() string
func (*ContextualizedCaveat) UnmarshalVT ¶ added in v1.13.0
func (m *ContextualizedCaveat) UnmarshalVT(dAtA []byte) error
func (*ContextualizedCaveat) Validate ¶ added in v1.13.0
func (m *ContextualizedCaveat) Validate() error
Validate checks the field values on ContextualizedCaveat 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 (*ContextualizedCaveat) ValidateAll ¶ added in v1.13.0
func (m *ContextualizedCaveat) ValidateAll() error
ValidateAll checks the field values on ContextualizedCaveat 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 ContextualizedCaveatMultiError, or nil if none found.
type ContextualizedCaveatMultiError ¶ added in v1.13.0
type ContextualizedCaveatMultiError []error
ContextualizedCaveatMultiError is an error wrapping multiple validation errors returned by ContextualizedCaveat.ValidateAll() if the designated constraints aren't met.
func (ContextualizedCaveatMultiError) AllErrors ¶ added in v1.13.0
func (m ContextualizedCaveatMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ContextualizedCaveatMultiError) Error ¶ added in v1.13.0
func (m ContextualizedCaveatMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ContextualizedCaveatValidationError ¶ added in v1.13.0
type ContextualizedCaveatValidationError struct {
// contains filtered or unexported fields
}
ContextualizedCaveatValidationError is the validation error returned by ContextualizedCaveat.Validate if the designated constraints aren't met.
func (ContextualizedCaveatValidationError) Cause ¶ added in v1.13.0
func (e ContextualizedCaveatValidationError) Cause() error
Cause function returns cause value.
func (ContextualizedCaveatValidationError) Error ¶ added in v1.13.0
func (e ContextualizedCaveatValidationError) Error() string
Error satisfies the builtin error interface
func (ContextualizedCaveatValidationError) ErrorName ¶ added in v1.13.0
func (e ContextualizedCaveatValidationError) ErrorName() string
ErrorName returns error name.
func (ContextualizedCaveatValidationError) Field ¶ added in v1.13.0
func (e ContextualizedCaveatValidationError) Field() string
Field function returns field value.
func (ContextualizedCaveatValidationError) Key ¶ added in v1.13.0
func (e ContextualizedCaveatValidationError) Key() bool
Key function returns key value.
func (ContextualizedCaveatValidationError) Reason ¶ added in v1.13.0
func (e ContextualizedCaveatValidationError) Reason() string
Reason function returns reason value.
type DirectSubject ¶ added in v1.16.0
type DirectSubject struct { Subject *ObjectAndRelation `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` CaveatExpression *CaveatExpression `protobuf:"bytes,2,opt,name=caveat_expression,json=caveatExpression,proto3" json:"caveat_expression,omitempty"` // contains filtered or unexported fields }
func (*DirectSubject) CloneMessageVT ¶ added in v1.22.0
func (m *DirectSubject) CloneMessageVT() proto.Message
func (*DirectSubject) CloneVT ¶ added in v1.16.0
func (m *DirectSubject) CloneVT() *DirectSubject
func (*DirectSubject) Descriptor
deprecated
added in
v1.16.0
func (*DirectSubject) Descriptor() ([]byte, []int)
Deprecated: Use DirectSubject.ProtoReflect.Descriptor instead.
func (*DirectSubject) EqualMessageVT ¶ added in v1.22.0
func (this *DirectSubject) EqualMessageVT(thatMsg proto.Message) bool
func (*DirectSubject) EqualVT ¶ added in v1.16.0
func (this *DirectSubject) EqualVT(that *DirectSubject) bool
func (*DirectSubject) GetCaveatExpression ¶ added in v1.16.0
func (x *DirectSubject) GetCaveatExpression() *CaveatExpression
func (*DirectSubject) GetSubject ¶ added in v1.16.0
func (x *DirectSubject) GetSubject() *ObjectAndRelation
func (*DirectSubject) MarshalToSizedBufferVT ¶ added in v1.16.0
func (m *DirectSubject) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DirectSubject) MarshalToVT ¶ added in v1.16.0
func (m *DirectSubject) MarshalToVT(dAtA []byte) (int, error)
func (*DirectSubject) MarshalVT ¶ added in v1.16.0
func (m *DirectSubject) MarshalVT() (dAtA []byte, err error)
func (*DirectSubject) ProtoMessage ¶ added in v1.16.0
func (*DirectSubject) ProtoMessage()
func (*DirectSubject) ProtoReflect ¶ added in v1.16.0
func (x *DirectSubject) ProtoReflect() protoreflect.Message
func (*DirectSubject) Reset ¶ added in v1.16.0
func (x *DirectSubject) Reset()
func (*DirectSubject) SizeVT ¶ added in v1.16.0
func (m *DirectSubject) SizeVT() (n int)
func (*DirectSubject) String ¶ added in v1.16.0
func (x *DirectSubject) String() string
func (*DirectSubject) UnmarshalVT ¶ added in v1.16.0
func (m *DirectSubject) UnmarshalVT(dAtA []byte) error
func (*DirectSubject) Validate ¶ added in v1.16.0
func (m *DirectSubject) Validate() error
Validate checks the field values on DirectSubject 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 (*DirectSubject) ValidateAll ¶ added in v1.16.0
func (m *DirectSubject) ValidateAll() error
ValidateAll checks the field values on DirectSubject 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 DirectSubjectMultiError, or nil if none found.
type DirectSubjectMultiError ¶ added in v1.16.0
type DirectSubjectMultiError []error
DirectSubjectMultiError is an error wrapping multiple validation errors returned by DirectSubject.ValidateAll() if the designated constraints aren't met.
func (DirectSubjectMultiError) AllErrors ¶ added in v1.16.0
func (m DirectSubjectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DirectSubjectMultiError) Error ¶ added in v1.16.0
func (m DirectSubjectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DirectSubjectValidationError ¶ added in v1.16.0
type DirectSubjectValidationError struct {
// contains filtered or unexported fields
}
DirectSubjectValidationError is the validation error returned by DirectSubject.Validate if the designated constraints aren't met.
func (DirectSubjectValidationError) Cause ¶ added in v1.16.0
func (e DirectSubjectValidationError) Cause() error
Cause function returns cause value.
func (DirectSubjectValidationError) Error ¶ added in v1.16.0
func (e DirectSubjectValidationError) Error() string
Error satisfies the builtin error interface
func (DirectSubjectValidationError) ErrorName ¶ added in v1.16.0
func (e DirectSubjectValidationError) ErrorName() string
ErrorName returns error name.
func (DirectSubjectValidationError) Field ¶ added in v1.16.0
func (e DirectSubjectValidationError) Field() string
Field function returns field value.
func (DirectSubjectValidationError) Key ¶ added in v1.16.0
func (e DirectSubjectValidationError) Key() bool
Key function returns key value.
func (DirectSubjectValidationError) Reason ¶ added in v1.16.0
func (e DirectSubjectValidationError) Reason() string
Reason function returns reason value.
type DirectSubjects ¶ added in v1.9.0
type DirectSubjects struct { Subjects []*DirectSubject `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty"` // contains filtered or unexported fields }
func (*DirectSubjects) CloneMessageVT ¶ added in v1.22.0
func (m *DirectSubjects) CloneMessageVT() proto.Message
func (*DirectSubjects) CloneVT ¶ added in v1.13.0
func (m *DirectSubjects) CloneVT() *DirectSubjects
func (*DirectSubjects) Descriptor
deprecated
added in
v1.9.0
func (*DirectSubjects) Descriptor() ([]byte, []int)
Deprecated: Use DirectSubjects.ProtoReflect.Descriptor instead.
func (*DirectSubjects) EqualMessageVT ¶ added in v1.22.0
func (this *DirectSubjects) EqualMessageVT(thatMsg proto.Message) bool
func (*DirectSubjects) EqualVT ¶ added in v1.15.0
func (this *DirectSubjects) EqualVT(that *DirectSubjects) bool
func (*DirectSubjects) GetSubjects ¶ added in v1.9.0
func (x *DirectSubjects) GetSubjects() []*DirectSubject
func (*DirectSubjects) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *DirectSubjects) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DirectSubjects) MarshalToVT ¶ added in v1.13.0
func (m *DirectSubjects) MarshalToVT(dAtA []byte) (int, error)
func (*DirectSubjects) MarshalVT ¶ added in v1.13.0
func (m *DirectSubjects) MarshalVT() (dAtA []byte, err error)
func (*DirectSubjects) ProtoMessage ¶ added in v1.9.0
func (*DirectSubjects) ProtoMessage()
func (*DirectSubjects) ProtoReflect ¶ added in v1.9.0
func (x *DirectSubjects) ProtoReflect() protoreflect.Message
func (*DirectSubjects) Reset ¶ added in v1.9.0
func (x *DirectSubjects) Reset()
func (*DirectSubjects) SizeVT ¶ added in v1.13.0
func (m *DirectSubjects) SizeVT() (n int)
func (*DirectSubjects) String ¶ added in v1.9.0
func (x *DirectSubjects) String() string
func (*DirectSubjects) UnmarshalVT ¶ added in v1.13.0
func (m *DirectSubjects) UnmarshalVT(dAtA []byte) error
func (*DirectSubjects) Validate ¶ added in v1.9.0
func (m *DirectSubjects) Validate() error
Validate checks the field values on DirectSubjects 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 (*DirectSubjects) ValidateAll ¶ added in v1.9.0
func (m *DirectSubjects) ValidateAll() error
ValidateAll checks the field values on DirectSubjects 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 DirectSubjectsMultiError, or nil if none found.
type DirectSubjectsMultiError ¶ added in v1.9.0
type DirectSubjectsMultiError []error
DirectSubjectsMultiError is an error wrapping multiple validation errors returned by DirectSubjects.ValidateAll() if the designated constraints aren't met.
func (DirectSubjectsMultiError) AllErrors ¶ added in v1.9.0
func (m DirectSubjectsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DirectSubjectsMultiError) Error ¶ added in v1.9.0
func (m DirectSubjectsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DirectSubjectsValidationError ¶ added in v1.9.0
type DirectSubjectsValidationError struct {
// contains filtered or unexported fields
}
DirectSubjectsValidationError is the validation error returned by DirectSubjects.Validate if the designated constraints aren't met.
func (DirectSubjectsValidationError) Cause ¶ added in v1.9.0
func (e DirectSubjectsValidationError) Cause() error
Cause function returns cause value.
func (DirectSubjectsValidationError) Error ¶ added in v1.9.0
func (e DirectSubjectsValidationError) Error() string
Error satisfies the builtin error interface
func (DirectSubjectsValidationError) ErrorName ¶ added in v1.9.0
func (e DirectSubjectsValidationError) ErrorName() string
ErrorName returns error name.
func (DirectSubjectsValidationError) Field ¶ added in v1.9.0
func (e DirectSubjectsValidationError) Field() string
Field function returns field value.
func (DirectSubjectsValidationError) Key ¶ added in v1.9.0
func (e DirectSubjectsValidationError) Key() bool
Key function returns key value.
func (DirectSubjectsValidationError) Reason ¶ added in v1.9.0
func (e DirectSubjectsValidationError) Reason() string
Reason function returns reason value.
type FunctionedTupleToUserset ¶ added in v1.35.0
type FunctionedTupleToUserset struct { Function FunctionedTupleToUserset_Function `protobuf:"varint,1,opt,name=function,proto3,enum=core.v1.FunctionedTupleToUserset_Function" json:"function,omitempty"` Tupleset *FunctionedTupleToUserset_Tupleset `protobuf:"bytes,2,opt,name=tupleset,proto3" json:"tupleset,omitempty"` ComputedUserset *ComputedUserset `protobuf:"bytes,3,opt,name=computed_userset,json=computedUserset,proto3" json:"computed_userset,omitempty"` SourcePosition *SourcePosition `protobuf:"bytes,4,opt,name=source_position,json=sourcePosition,proto3" json:"source_position,omitempty"` // contains filtered or unexported fields }
func (*FunctionedTupleToUserset) CloneMessageVT ¶ added in v1.35.0
func (m *FunctionedTupleToUserset) CloneMessageVT() proto.Message
func (*FunctionedTupleToUserset) CloneVT ¶ added in v1.35.0
func (m *FunctionedTupleToUserset) CloneVT() *FunctionedTupleToUserset
func (*FunctionedTupleToUserset) Descriptor
deprecated
added in
v1.35.0
func (*FunctionedTupleToUserset) Descriptor() ([]byte, []int)
Deprecated: Use FunctionedTupleToUserset.ProtoReflect.Descriptor instead.
func (*FunctionedTupleToUserset) EqualMessageVT ¶ added in v1.35.0
func (this *FunctionedTupleToUserset) EqualMessageVT(thatMsg proto.Message) bool
func (*FunctionedTupleToUserset) EqualVT ¶ added in v1.35.0
func (this *FunctionedTupleToUserset) EqualVT(that *FunctionedTupleToUserset) bool
func (*FunctionedTupleToUserset) GetComputedUserset ¶ added in v1.35.0
func (x *FunctionedTupleToUserset) GetComputedUserset() *ComputedUserset
func (*FunctionedTupleToUserset) GetFunction ¶ added in v1.35.0
func (x *FunctionedTupleToUserset) GetFunction() FunctionedTupleToUserset_Function
func (*FunctionedTupleToUserset) GetSourcePosition ¶ added in v1.35.0
func (x *FunctionedTupleToUserset) GetSourcePosition() *SourcePosition
func (*FunctionedTupleToUserset) GetTupleset ¶ added in v1.35.0
func (x *FunctionedTupleToUserset) GetTupleset() *FunctionedTupleToUserset_Tupleset
func (*FunctionedTupleToUserset) MarshalToSizedBufferVT ¶ added in v1.35.0
func (m *FunctionedTupleToUserset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FunctionedTupleToUserset) MarshalToVT ¶ added in v1.35.0
func (m *FunctionedTupleToUserset) MarshalToVT(dAtA []byte) (int, error)
func (*FunctionedTupleToUserset) MarshalVT ¶ added in v1.35.0
func (m *FunctionedTupleToUserset) MarshalVT() (dAtA []byte, err error)
func (*FunctionedTupleToUserset) ProtoMessage ¶ added in v1.35.0
func (*FunctionedTupleToUserset) ProtoMessage()
func (*FunctionedTupleToUserset) ProtoReflect ¶ added in v1.35.0
func (x *FunctionedTupleToUserset) ProtoReflect() protoreflect.Message
func (*FunctionedTupleToUserset) Reset ¶ added in v1.35.0
func (x *FunctionedTupleToUserset) Reset()
func (*FunctionedTupleToUserset) SizeVT ¶ added in v1.35.0
func (m *FunctionedTupleToUserset) SizeVT() (n int)
func (*FunctionedTupleToUserset) String ¶ added in v1.35.0
func (x *FunctionedTupleToUserset) String() string
func (*FunctionedTupleToUserset) UnmarshalVT ¶ added in v1.35.0
func (m *FunctionedTupleToUserset) UnmarshalVT(dAtA []byte) error
func (*FunctionedTupleToUserset) Validate ¶ added in v1.35.0
func (m *FunctionedTupleToUserset) Validate() error
Validate checks the field values on FunctionedTupleToUserset 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 (*FunctionedTupleToUserset) ValidateAll ¶ added in v1.35.0
func (m *FunctionedTupleToUserset) ValidateAll() error
ValidateAll checks the field values on FunctionedTupleToUserset 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 FunctionedTupleToUsersetMultiError, or nil if none found.
type FunctionedTupleToUsersetMultiError ¶ added in v1.35.0
type FunctionedTupleToUsersetMultiError []error
FunctionedTupleToUsersetMultiError is an error wrapping multiple validation errors returned by FunctionedTupleToUserset.ValidateAll() if the designated constraints aren't met.
func (FunctionedTupleToUsersetMultiError) AllErrors ¶ added in v1.35.0
func (m FunctionedTupleToUsersetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FunctionedTupleToUsersetMultiError) Error ¶ added in v1.35.0
func (m FunctionedTupleToUsersetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FunctionedTupleToUsersetValidationError ¶ added in v1.35.0
type FunctionedTupleToUsersetValidationError struct {
// contains filtered or unexported fields
}
FunctionedTupleToUsersetValidationError is the validation error returned by FunctionedTupleToUserset.Validate if the designated constraints aren't met.
func (FunctionedTupleToUsersetValidationError) Cause ¶ added in v1.35.0
func (e FunctionedTupleToUsersetValidationError) Cause() error
Cause function returns cause value.
func (FunctionedTupleToUsersetValidationError) Error ¶ added in v1.35.0
func (e FunctionedTupleToUsersetValidationError) Error() string
Error satisfies the builtin error interface
func (FunctionedTupleToUsersetValidationError) ErrorName ¶ added in v1.35.0
func (e FunctionedTupleToUsersetValidationError) ErrorName() string
ErrorName returns error name.
func (FunctionedTupleToUsersetValidationError) Field ¶ added in v1.35.0
func (e FunctionedTupleToUsersetValidationError) Field() string
Field function returns field value.
func (FunctionedTupleToUsersetValidationError) Key ¶ added in v1.35.0
func (e FunctionedTupleToUsersetValidationError) Key() bool
Key function returns key value.
func (FunctionedTupleToUsersetValidationError) Reason ¶ added in v1.35.0
func (e FunctionedTupleToUsersetValidationError) Reason() string
Reason function returns reason value.
type FunctionedTupleToUserset_Function ¶ added in v1.35.0
type FunctionedTupleToUserset_Function int32
const ( FunctionedTupleToUserset_FUNCTION_UNSPECIFIED FunctionedTupleToUserset_Function = 0 FunctionedTupleToUserset_FUNCTION_ANY FunctionedTupleToUserset_Function = 1 FunctionedTupleToUserset_FUNCTION_ALL FunctionedTupleToUserset_Function = 2 )
func (FunctionedTupleToUserset_Function) Descriptor ¶ added in v1.35.0
func (FunctionedTupleToUserset_Function) Descriptor() protoreflect.EnumDescriptor
func (FunctionedTupleToUserset_Function) Enum ¶ added in v1.35.0
func (x FunctionedTupleToUserset_Function) Enum() *FunctionedTupleToUserset_Function
func (FunctionedTupleToUserset_Function) EnumDescriptor
deprecated
added in
v1.35.0
func (FunctionedTupleToUserset_Function) EnumDescriptor() ([]byte, []int)
Deprecated: Use FunctionedTupleToUserset_Function.Descriptor instead.
func (FunctionedTupleToUserset_Function) Number ¶ added in v1.35.0
func (x FunctionedTupleToUserset_Function) Number() protoreflect.EnumNumber
func (FunctionedTupleToUserset_Function) String ¶ added in v1.35.0
func (x FunctionedTupleToUserset_Function) String() string
func (FunctionedTupleToUserset_Function) Type ¶ added in v1.35.0
func (FunctionedTupleToUserset_Function) Type() protoreflect.EnumType
type FunctionedTupleToUserset_Tupleset ¶ added in v1.35.0
type FunctionedTupleToUserset_Tupleset struct { Relation string `protobuf:"bytes,1,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
func (*FunctionedTupleToUserset_Tupleset) CloneMessageVT ¶ added in v1.35.0
func (m *FunctionedTupleToUserset_Tupleset) CloneMessageVT() proto.Message
func (*FunctionedTupleToUserset_Tupleset) CloneVT ¶ added in v1.35.0
func (m *FunctionedTupleToUserset_Tupleset) CloneVT() *FunctionedTupleToUserset_Tupleset
func (*FunctionedTupleToUserset_Tupleset) Descriptor
deprecated
added in
v1.35.0
func (*FunctionedTupleToUserset_Tupleset) Descriptor() ([]byte, []int)
Deprecated: Use FunctionedTupleToUserset_Tupleset.ProtoReflect.Descriptor instead.
func (*FunctionedTupleToUserset_Tupleset) EqualMessageVT ¶ added in v1.35.0
func (this *FunctionedTupleToUserset_Tupleset) EqualMessageVT(thatMsg proto.Message) bool
func (*FunctionedTupleToUserset_Tupleset) EqualVT ¶ added in v1.35.0
func (this *FunctionedTupleToUserset_Tupleset) EqualVT(that *FunctionedTupleToUserset_Tupleset) bool
func (*FunctionedTupleToUserset_Tupleset) GetRelation ¶ added in v1.35.0
func (x *FunctionedTupleToUserset_Tupleset) GetRelation() string
func (*FunctionedTupleToUserset_Tupleset) MarshalToSizedBufferVT ¶ added in v1.35.0
func (m *FunctionedTupleToUserset_Tupleset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FunctionedTupleToUserset_Tupleset) MarshalToVT ¶ added in v1.35.0
func (m *FunctionedTupleToUserset_Tupleset) MarshalToVT(dAtA []byte) (int, error)
func (*FunctionedTupleToUserset_Tupleset) MarshalVT ¶ added in v1.35.0
func (m *FunctionedTupleToUserset_Tupleset) MarshalVT() (dAtA []byte, err error)
func (*FunctionedTupleToUserset_Tupleset) ProtoMessage ¶ added in v1.35.0
func (*FunctionedTupleToUserset_Tupleset) ProtoMessage()
func (*FunctionedTupleToUserset_Tupleset) ProtoReflect ¶ added in v1.35.0
func (x *FunctionedTupleToUserset_Tupleset) ProtoReflect() protoreflect.Message
func (*FunctionedTupleToUserset_Tupleset) Reset ¶ added in v1.35.0
func (x *FunctionedTupleToUserset_Tupleset) Reset()
func (*FunctionedTupleToUserset_Tupleset) SizeVT ¶ added in v1.35.0
func (m *FunctionedTupleToUserset_Tupleset) SizeVT() (n int)
func (*FunctionedTupleToUserset_Tupleset) String ¶ added in v1.35.0
func (x *FunctionedTupleToUserset_Tupleset) String() string
func (*FunctionedTupleToUserset_Tupleset) UnmarshalVT ¶ added in v1.35.0
func (m *FunctionedTupleToUserset_Tupleset) UnmarshalVT(dAtA []byte) error
func (*FunctionedTupleToUserset_Tupleset) Validate ¶ added in v1.35.0
func (m *FunctionedTupleToUserset_Tupleset) Validate() error
Validate checks the field values on FunctionedTupleToUserset_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 (*FunctionedTupleToUserset_Tupleset) ValidateAll ¶ added in v1.35.0
func (m *FunctionedTupleToUserset_Tupleset) ValidateAll() error
ValidateAll checks the field values on FunctionedTupleToUserset_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 FunctionedTupleToUserset_TuplesetMultiError, or nil if none found.
type FunctionedTupleToUserset_TuplesetMultiError ¶ added in v1.35.0
type FunctionedTupleToUserset_TuplesetMultiError []error
FunctionedTupleToUserset_TuplesetMultiError is an error wrapping multiple validation errors returned by FunctionedTupleToUserset_Tupleset.ValidateAll() if the designated constraints aren't met.
func (FunctionedTupleToUserset_TuplesetMultiError) AllErrors ¶ added in v1.35.0
func (m FunctionedTupleToUserset_TuplesetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FunctionedTupleToUserset_TuplesetMultiError) Error ¶ added in v1.35.0
func (m FunctionedTupleToUserset_TuplesetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FunctionedTupleToUserset_TuplesetValidationError ¶ added in v1.35.0
type FunctionedTupleToUserset_TuplesetValidationError struct {
// contains filtered or unexported fields
}
FunctionedTupleToUserset_TuplesetValidationError is the validation error returned by FunctionedTupleToUserset_Tupleset.Validate if the designated constraints aren't met.
func (FunctionedTupleToUserset_TuplesetValidationError) Cause ¶ added in v1.35.0
func (e FunctionedTupleToUserset_TuplesetValidationError) Cause() error
Cause function returns cause value.
func (FunctionedTupleToUserset_TuplesetValidationError) Error ¶ added in v1.35.0
func (e FunctionedTupleToUserset_TuplesetValidationError) Error() string
Error satisfies the builtin error interface
func (FunctionedTupleToUserset_TuplesetValidationError) ErrorName ¶ added in v1.35.0
func (e FunctionedTupleToUserset_TuplesetValidationError) ErrorName() string
ErrorName returns error name.
func (FunctionedTupleToUserset_TuplesetValidationError) Field ¶ added in v1.35.0
func (e FunctionedTupleToUserset_TuplesetValidationError) Field() string
Field function returns field value.
func (FunctionedTupleToUserset_TuplesetValidationError) Key ¶ added in v1.35.0
func (e FunctionedTupleToUserset_TuplesetValidationError) Key() bool
Key function returns key value.
func (FunctionedTupleToUserset_TuplesetValidationError) Reason ¶ added in v1.35.0
func (e FunctionedTupleToUserset_TuplesetValidationError) 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 }
* Metadata is compiler metadata added to namespace definitions, such as doc comments and relation kinds.
func (*Metadata) CloneMessageVT ¶ added in v1.22.0
func (*Metadata) Descriptor
deprecated
func (*Metadata) EqualMessageVT ¶ added in v1.22.0
func (*Metadata) GetMetadataMessage ¶
func (*Metadata) MarshalToSizedBufferVT ¶ added in v1.13.0
func (*Metadata) MarshalToVT ¶ added in v1.13.0
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
func (*Metadata) UnmarshalVT ¶ added in v1.13.0
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 is the unique for the namespace, including prefixes (which are optional) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // * relation contains the relations and permissions defined in the namespace Relation []*Relation `protobuf:"bytes,2,rep,name=relation,proto3" json:"relation,omitempty"` // * metadata contains compiler metadata from schemas compiled into namespaces Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // * source_position contains the position of the namespace in the source schema, if any SourcePosition *SourcePosition `protobuf:"bytes,4,opt,name=source_position,json=sourcePosition,proto3" json:"source_position,omitempty"` // contains filtered or unexported fields }
* NamespaceDefinition represents a single definition of an object type
func (*NamespaceDefinition) CloneMessageVT ¶ added in v1.22.0
func (m *NamespaceDefinition) CloneMessageVT() proto.Message
func (*NamespaceDefinition) CloneVT ¶ added in v1.13.0
func (m *NamespaceDefinition) CloneVT() *NamespaceDefinition
func (*NamespaceDefinition) Descriptor
deprecated
func (*NamespaceDefinition) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceDefinition.ProtoReflect.Descriptor instead.
func (*NamespaceDefinition) EqualMessageVT ¶ added in v1.22.0
func (this *NamespaceDefinition) EqualMessageVT(thatMsg proto.Message) bool
func (*NamespaceDefinition) EqualVT ¶ added in v1.15.0
func (this *NamespaceDefinition) EqualVT(that *NamespaceDefinition) bool
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) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *NamespaceDefinition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*NamespaceDefinition) MarshalToVT ¶ added in v1.13.0
func (m *NamespaceDefinition) MarshalToVT(dAtA []byte) (int, error)
func (*NamespaceDefinition) MarshalVT ¶ added in v1.13.0
func (m *NamespaceDefinition) MarshalVT() (dAtA []byte, err error)
func (*NamespaceDefinition) ProtoMessage ¶
func (*NamespaceDefinition) ProtoMessage()
func (*NamespaceDefinition) ProtoReflect ¶
func (x *NamespaceDefinition) ProtoReflect() protoreflect.Message
func (*NamespaceDefinition) Reset ¶
func (x *NamespaceDefinition) Reset()
func (*NamespaceDefinition) SizeVT ¶ added in v1.13.0
func (m *NamespaceDefinition) SizeVT() (n int)
func (*NamespaceDefinition) String ¶
func (x *NamespaceDefinition) String() string
func (*NamespaceDefinition) UnmarshalVT ¶ added in v1.13.0
func (m *NamespaceDefinition) UnmarshalVT(dAtA []byte) error
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 is the full namespace path for the referenced object Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // * object_id is the unique ID for the object within the namespace ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` // * relation is the name of the referenced relation or permission under the namespace 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) CloneMessageVT ¶ added in v1.22.0
func (m *ObjectAndRelation) CloneMessageVT() proto.Message
func (*ObjectAndRelation) CloneVT ¶ added in v1.13.0
func (m *ObjectAndRelation) CloneVT() *ObjectAndRelation
func (*ObjectAndRelation) Descriptor
deprecated
func (*ObjectAndRelation) Descriptor() ([]byte, []int)
Deprecated: Use ObjectAndRelation.ProtoReflect.Descriptor instead.
func (*ObjectAndRelation) EqualMessageVT ¶ added in v1.22.0
func (this *ObjectAndRelation) EqualMessageVT(thatMsg proto.Message) bool
func (*ObjectAndRelation) EqualVT ¶ added in v1.15.0
func (this *ObjectAndRelation) EqualVT(that *ObjectAndRelation) bool
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) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *ObjectAndRelation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ObjectAndRelation) MarshalToVT ¶ added in v1.13.0
func (m *ObjectAndRelation) MarshalToVT(dAtA []byte) (int, error)
func (*ObjectAndRelation) MarshalVT ¶ added in v1.13.0
func (m *ObjectAndRelation) MarshalVT() (dAtA []byte, err error)
func (*ObjectAndRelation) ProtoMessage ¶
func (*ObjectAndRelation) ProtoMessage()
func (*ObjectAndRelation) ProtoReflect ¶
func (x *ObjectAndRelation) ProtoReflect() protoreflect.Message
func (*ObjectAndRelation) Reset ¶
func (x *ObjectAndRelation) Reset()
func (*ObjectAndRelation) SizeVT ¶ added in v1.13.0
func (m *ObjectAndRelation) SizeVT() (n int)
func (*ObjectAndRelation) String ¶
func (x *ObjectAndRelation) String() string
func (*ObjectAndRelation) UnmarshalVT ¶ added in v1.13.0
func (m *ObjectAndRelation) UnmarshalVT(dAtA []byte) error
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 ReachabilityEntrypoint ¶ added in v1.8.0
type ReachabilityEntrypoint struct { // * // kind is the kind of the entrypoint. Kind ReachabilityEntrypoint_ReachabilityEntrypointKind `protobuf:"varint,1,opt,name=kind,proto3,enum=core.v1.ReachabilityEntrypoint_ReachabilityEntrypointKind" json:"kind,omitempty"` // * // target_relation is the relation on which the entrypoint exists. TargetRelation *RelationReference `protobuf:"bytes,2,opt,name=target_relation,json=targetRelation,proto3" json:"target_relation,omitempty"` // * // result_status contains the status of objects found for this entrypoint as direct results for // the parent relation/permission. ResultStatus ReachabilityEntrypoint_EntrypointResultStatus `` /* 157-byte string literal not displayed */ // * // tupleset_relation is the name of the tupleset relation on the TupleToUserset this entrypoint // represents, if applicable. TuplesetRelation string `protobuf:"bytes,5,opt,name=tupleset_relation,json=tuplesetRelation,proto3" json:"tupleset_relation,omitempty"` // * // computed_userset_relation is the name of the computed userset relation on the ComputedUserset // this entrypoint represents, if applicable. ComputedUsersetRelation string `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
* ReachabilityEntrypoint represents a single entrypoint for a specific subject type or subject relation into the reachability graph for a particular target relation.
func (*ReachabilityEntrypoint) CloneMessageVT ¶ added in v1.22.0
func (m *ReachabilityEntrypoint) CloneMessageVT() proto.Message
func (*ReachabilityEntrypoint) CloneVT ¶ added in v1.13.0
func (m *ReachabilityEntrypoint) CloneVT() *ReachabilityEntrypoint
func (*ReachabilityEntrypoint) Descriptor
deprecated
added in
v1.8.0
func (*ReachabilityEntrypoint) Descriptor() ([]byte, []int)
Deprecated: Use ReachabilityEntrypoint.ProtoReflect.Descriptor instead.
func (*ReachabilityEntrypoint) EqualMessageVT ¶ added in v1.22.0
func (this *ReachabilityEntrypoint) EqualMessageVT(thatMsg proto.Message) bool
func (*ReachabilityEntrypoint) EqualVT ¶ added in v1.15.0
func (this *ReachabilityEntrypoint) EqualVT(that *ReachabilityEntrypoint) bool
func (*ReachabilityEntrypoint) GetComputedUsersetRelation ¶ added in v1.35.0
func (x *ReachabilityEntrypoint) GetComputedUsersetRelation() string
func (*ReachabilityEntrypoint) GetKind ¶ added in v1.8.0
func (x *ReachabilityEntrypoint) GetKind() ReachabilityEntrypoint_ReachabilityEntrypointKind
func (*ReachabilityEntrypoint) GetResultStatus ¶ added in v1.8.0
func (x *ReachabilityEntrypoint) GetResultStatus() ReachabilityEntrypoint_EntrypointResultStatus
func (*ReachabilityEntrypoint) GetTargetRelation ¶ added in v1.8.0
func (x *ReachabilityEntrypoint) GetTargetRelation() *RelationReference
func (*ReachabilityEntrypoint) GetTuplesetRelation ¶ added in v1.8.0
func (x *ReachabilityEntrypoint) GetTuplesetRelation() string
func (*ReachabilityEntrypoint) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *ReachabilityEntrypoint) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReachabilityEntrypoint) MarshalToVT ¶ added in v1.13.0
func (m *ReachabilityEntrypoint) MarshalToVT(dAtA []byte) (int, error)
func (*ReachabilityEntrypoint) MarshalVT ¶ added in v1.13.0
func (m *ReachabilityEntrypoint) MarshalVT() (dAtA []byte, err error)
func (*ReachabilityEntrypoint) ProtoMessage ¶ added in v1.8.0
func (*ReachabilityEntrypoint) ProtoMessage()
func (*ReachabilityEntrypoint) ProtoReflect ¶ added in v1.8.0
func (x *ReachabilityEntrypoint) ProtoReflect() protoreflect.Message
func (*ReachabilityEntrypoint) Reset ¶ added in v1.8.0
func (x *ReachabilityEntrypoint) Reset()
func (*ReachabilityEntrypoint) SizeVT ¶ added in v1.13.0
func (m *ReachabilityEntrypoint) SizeVT() (n int)
func (*ReachabilityEntrypoint) String ¶ added in v1.8.0
func (x *ReachabilityEntrypoint) String() string
func (*ReachabilityEntrypoint) UnmarshalVT ¶ added in v1.13.0
func (m *ReachabilityEntrypoint) UnmarshalVT(dAtA []byte) error
func (*ReachabilityEntrypoint) Validate ¶ added in v1.8.0
func (m *ReachabilityEntrypoint) Validate() error
Validate checks the field values on ReachabilityEntrypoint 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 (*ReachabilityEntrypoint) ValidateAll ¶ added in v1.8.0
func (m *ReachabilityEntrypoint) ValidateAll() error
ValidateAll checks the field values on ReachabilityEntrypoint 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 ReachabilityEntrypointMultiError, or nil if none found.
type ReachabilityEntrypointMultiError ¶ added in v1.8.0
type ReachabilityEntrypointMultiError []error
ReachabilityEntrypointMultiError is an error wrapping multiple validation errors returned by ReachabilityEntrypoint.ValidateAll() if the designated constraints aren't met.
func (ReachabilityEntrypointMultiError) AllErrors ¶ added in v1.8.0
func (m ReachabilityEntrypointMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReachabilityEntrypointMultiError) Error ¶ added in v1.8.0
func (m ReachabilityEntrypointMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReachabilityEntrypointValidationError ¶ added in v1.8.0
type ReachabilityEntrypointValidationError struct {
// contains filtered or unexported fields
}
ReachabilityEntrypointValidationError is the validation error returned by ReachabilityEntrypoint.Validate if the designated constraints aren't met.
func (ReachabilityEntrypointValidationError) Cause ¶ added in v1.8.0
func (e ReachabilityEntrypointValidationError) Cause() error
Cause function returns cause value.
func (ReachabilityEntrypointValidationError) Error ¶ added in v1.8.0
func (e ReachabilityEntrypointValidationError) Error() string
Error satisfies the builtin error interface
func (ReachabilityEntrypointValidationError) ErrorName ¶ added in v1.8.0
func (e ReachabilityEntrypointValidationError) ErrorName() string
ErrorName returns error name.
func (ReachabilityEntrypointValidationError) Field ¶ added in v1.8.0
func (e ReachabilityEntrypointValidationError) Field() string
Field function returns field value.
func (ReachabilityEntrypointValidationError) Key ¶ added in v1.8.0
func (e ReachabilityEntrypointValidationError) Key() bool
Key function returns key value.
func (ReachabilityEntrypointValidationError) Reason ¶ added in v1.8.0
func (e ReachabilityEntrypointValidationError) Reason() string
Reason function returns reason value.
type ReachabilityEntrypoint_EntrypointResultStatus ¶ added in v1.8.0
type ReachabilityEntrypoint_EntrypointResultStatus int32
const ( // * // REACHABLE_CONDITIONAL_RESULT indicates that the entrypoint is under one or more intersections // or exclusion operations, indicating that any reachable object *may* be a result, conditional // on the parent non-union operation(s). ReachabilityEntrypoint_REACHABLE_CONDITIONAL_RESULT ReachabilityEntrypoint_EntrypointResultStatus = 0 // * // DIRECT_OPERATION_RESULT indicates that the entrypoint exists solely under zero or more // union operations, making any reachable object also a *result* of the relation or permission. ReachabilityEntrypoint_DIRECT_OPERATION_RESULT ReachabilityEntrypoint_EntrypointResultStatus = 1 )
func (ReachabilityEntrypoint_EntrypointResultStatus) Descriptor ¶ added in v1.8.0
func (ReachabilityEntrypoint_EntrypointResultStatus) Descriptor() protoreflect.EnumDescriptor
func (ReachabilityEntrypoint_EntrypointResultStatus) EnumDescriptor
deprecated
added in
v1.8.0
func (ReachabilityEntrypoint_EntrypointResultStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReachabilityEntrypoint_EntrypointResultStatus.Descriptor instead.
func (ReachabilityEntrypoint_EntrypointResultStatus) Number ¶ added in v1.8.0
func (x ReachabilityEntrypoint_EntrypointResultStatus) Number() protoreflect.EnumNumber
func (ReachabilityEntrypoint_EntrypointResultStatus) String ¶ added in v1.8.0
func (x ReachabilityEntrypoint_EntrypointResultStatus) String() string
type ReachabilityEntrypoint_ReachabilityEntrypointKind ¶ added in v1.8.0
type ReachabilityEntrypoint_ReachabilityEntrypointKind int32
const ( // * // RELATION_ENTRYPOINT indicates an entrypoint where the subject object can be directly // found for a relationship. ReachabilityEntrypoint_RELATION_ENTRYPOINT ReachabilityEntrypoint_ReachabilityEntrypointKind = 0 // * // COMPUTED_USERSET_ENTRYPOINT indicates an entrypoint where the subject's relation is // "rewritten" via a `computed_userset` to the target permission's operation node. ReachabilityEntrypoint_COMPUTED_USERSET_ENTRYPOINT ReachabilityEntrypoint_ReachabilityEntrypointKind = 1 // * // TUPLESET_TO_USERSET_ENTRYPOINT indicates an entrypoint where the subject's relation is // walked via a `tupleset_to_userset` in the target permission's operation node. ReachabilityEntrypoint_TUPLESET_TO_USERSET_ENTRYPOINT ReachabilityEntrypoint_ReachabilityEntrypointKind = 2 )
func (ReachabilityEntrypoint_ReachabilityEntrypointKind) Descriptor ¶ added in v1.8.0
func (ReachabilityEntrypoint_ReachabilityEntrypointKind) Descriptor() protoreflect.EnumDescriptor
func (ReachabilityEntrypoint_ReachabilityEntrypointKind) EnumDescriptor
deprecated
added in
v1.8.0
func (ReachabilityEntrypoint_ReachabilityEntrypointKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReachabilityEntrypoint_ReachabilityEntrypointKind.Descriptor instead.
func (ReachabilityEntrypoint_ReachabilityEntrypointKind) Number ¶ added in v1.8.0
func (x ReachabilityEntrypoint_ReachabilityEntrypointKind) Number() protoreflect.EnumNumber
func (ReachabilityEntrypoint_ReachabilityEntrypointKind) String ¶ added in v1.8.0
func (x ReachabilityEntrypoint_ReachabilityEntrypointKind) String() string
type ReachabilityEntrypoints ¶ added in v1.8.0
type ReachabilityEntrypoints struct { // * // entrypoints are the entrypoints found. Entrypoints []*ReachabilityEntrypoint `protobuf:"bytes,1,rep,name=entrypoints,proto3" json:"entrypoints,omitempty"` // * // subject_type, if specified, is the type of subjects to which the entrypoint(s) apply. A // subject type is only set for wildcards. SubjectType string `protobuf:"bytes,2,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"` // * // subject_relation, if specified, is the type and relation of subjects to which the // entrypoint(s) apply. SubjectRelation *RelationReference `protobuf:"bytes,3,opt,name=subject_relation,json=subjectRelation,proto3" json:"subject_relation,omitempty"` // contains filtered or unexported fields }
* ReachabilityEntrypoints represents all the entrypoints for a specific subject type or subject relation into the reachability graph for a particular target relation.
func (*ReachabilityEntrypoints) CloneMessageVT ¶ added in v1.22.0
func (m *ReachabilityEntrypoints) CloneMessageVT() proto.Message
func (*ReachabilityEntrypoints) CloneVT ¶ added in v1.13.0
func (m *ReachabilityEntrypoints) CloneVT() *ReachabilityEntrypoints
func (*ReachabilityEntrypoints) Descriptor
deprecated
added in
v1.8.0
func (*ReachabilityEntrypoints) Descriptor() ([]byte, []int)
Deprecated: Use ReachabilityEntrypoints.ProtoReflect.Descriptor instead.
func (*ReachabilityEntrypoints) EqualMessageVT ¶ added in v1.22.0
func (this *ReachabilityEntrypoints) EqualMessageVT(thatMsg proto.Message) bool
func (*ReachabilityEntrypoints) EqualVT ¶ added in v1.15.0
func (this *ReachabilityEntrypoints) EqualVT(that *ReachabilityEntrypoints) bool
func (*ReachabilityEntrypoints) GetEntrypoints ¶ added in v1.8.0
func (x *ReachabilityEntrypoints) GetEntrypoints() []*ReachabilityEntrypoint
func (*ReachabilityEntrypoints) GetSubjectRelation ¶ added in v1.8.0
func (x *ReachabilityEntrypoints) GetSubjectRelation() *RelationReference
func (*ReachabilityEntrypoints) GetSubjectType ¶ added in v1.8.0
func (x *ReachabilityEntrypoints) GetSubjectType() string
func (*ReachabilityEntrypoints) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *ReachabilityEntrypoints) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReachabilityEntrypoints) MarshalToVT ¶ added in v1.13.0
func (m *ReachabilityEntrypoints) MarshalToVT(dAtA []byte) (int, error)
func (*ReachabilityEntrypoints) MarshalVT ¶ added in v1.13.0
func (m *ReachabilityEntrypoints) MarshalVT() (dAtA []byte, err error)
func (*ReachabilityEntrypoints) ProtoMessage ¶ added in v1.8.0
func (*ReachabilityEntrypoints) ProtoMessage()
func (*ReachabilityEntrypoints) ProtoReflect ¶ added in v1.8.0
func (x *ReachabilityEntrypoints) ProtoReflect() protoreflect.Message
func (*ReachabilityEntrypoints) Reset ¶ added in v1.8.0
func (x *ReachabilityEntrypoints) Reset()
func (*ReachabilityEntrypoints) SizeVT ¶ added in v1.13.0
func (m *ReachabilityEntrypoints) SizeVT() (n int)
func (*ReachabilityEntrypoints) String ¶ added in v1.8.0
func (x *ReachabilityEntrypoints) String() string
func (*ReachabilityEntrypoints) UnmarshalVT ¶ added in v1.13.0
func (m *ReachabilityEntrypoints) UnmarshalVT(dAtA []byte) error
func (*ReachabilityEntrypoints) Validate ¶ added in v1.8.0
func (m *ReachabilityEntrypoints) Validate() error
Validate checks the field values on ReachabilityEntrypoints 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 (*ReachabilityEntrypoints) ValidateAll ¶ added in v1.8.0
func (m *ReachabilityEntrypoints) ValidateAll() error
ValidateAll checks the field values on ReachabilityEntrypoints 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 ReachabilityEntrypointsMultiError, or nil if none found.
type ReachabilityEntrypointsMultiError ¶ added in v1.8.0
type ReachabilityEntrypointsMultiError []error
ReachabilityEntrypointsMultiError is an error wrapping multiple validation errors returned by ReachabilityEntrypoints.ValidateAll() if the designated constraints aren't met.
func (ReachabilityEntrypointsMultiError) AllErrors ¶ added in v1.8.0
func (m ReachabilityEntrypointsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReachabilityEntrypointsMultiError) Error ¶ added in v1.8.0
func (m ReachabilityEntrypointsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReachabilityEntrypointsValidationError ¶ added in v1.8.0
type ReachabilityEntrypointsValidationError struct {
// contains filtered or unexported fields
}
ReachabilityEntrypointsValidationError is the validation error returned by ReachabilityEntrypoints.Validate if the designated constraints aren't met.
func (ReachabilityEntrypointsValidationError) Cause ¶ added in v1.8.0
func (e ReachabilityEntrypointsValidationError) Cause() error
Cause function returns cause value.
func (ReachabilityEntrypointsValidationError) Error ¶ added in v1.8.0
func (e ReachabilityEntrypointsValidationError) Error() string
Error satisfies the builtin error interface
func (ReachabilityEntrypointsValidationError) ErrorName ¶ added in v1.8.0
func (e ReachabilityEntrypointsValidationError) ErrorName() string
ErrorName returns error name.
func (ReachabilityEntrypointsValidationError) Field ¶ added in v1.8.0
func (e ReachabilityEntrypointsValidationError) Field() string
Field function returns field value.
func (ReachabilityEntrypointsValidationError) Key ¶ added in v1.8.0
func (e ReachabilityEntrypointsValidationError) Key() bool
Key function returns key value.
func (ReachabilityEntrypointsValidationError) Reason ¶ added in v1.8.0
func (e ReachabilityEntrypointsValidationError) Reason() string
Reason function returns reason value.
type ReachabilityGraph ¶ added in v1.8.0
type ReachabilityGraph struct { // * // entrypoints_by_subject_type provides all entrypoints by subject *type*, representing wildcards. // The keys of the map are the full path(s) for the namespace(s) referenced by reachable wildcards EntrypointsBySubjectType map[string]*ReachabilityEntrypoints `` /* 225-byte string literal not displayed */ // * // entrypoints_by_subject_relation provides all entrypoints by subject type+relation. // The keys of the map are of the form `namespace_path#relation_name` EntrypointsBySubjectRelation map[string]*ReachabilityEntrypoints `` /* 237-byte string literal not displayed */ // contains filtered or unexported fields }
* ReachabilityGraph is a serialized form of a reachability graph, representing how a relation can be reached from one or more subject types.
It defines a "reverse" data flow graph, starting at a subject type, and providing all the entrypoints where that subject type can be found leading to the decorated relation.
For example, given the schema: ```
definition user {} definition organization { relation admin: user } definition resource { relation org: organization relation viewer: user relation owner: user permission view = viewer + owner + org->admin }
```
The reachability graph for `viewer` and the other relations will have entrypoints for each subject type found for those relations.
The full reachability graph for the `view` relation will have three entrypoints, representing:
- resource#viewer (computed_userset)
- resource#owner (computed_userset)
- organization#admin (tupleset_to_userset)
func (*ReachabilityGraph) CloneMessageVT ¶ added in v1.22.0
func (m *ReachabilityGraph) CloneMessageVT() proto.Message
func (*ReachabilityGraph) CloneVT ¶ added in v1.13.0
func (m *ReachabilityGraph) CloneVT() *ReachabilityGraph
func (*ReachabilityGraph) Descriptor
deprecated
added in
v1.8.0
func (*ReachabilityGraph) Descriptor() ([]byte, []int)
Deprecated: Use ReachabilityGraph.ProtoReflect.Descriptor instead.
func (*ReachabilityGraph) EqualMessageVT ¶ added in v1.22.0
func (this *ReachabilityGraph) EqualMessageVT(thatMsg proto.Message) bool
func (*ReachabilityGraph) EqualVT ¶ added in v1.15.0
func (this *ReachabilityGraph) EqualVT(that *ReachabilityGraph) bool
func (*ReachabilityGraph) GetEntrypointsBySubjectRelation ¶ added in v1.8.0
func (x *ReachabilityGraph) GetEntrypointsBySubjectRelation() map[string]*ReachabilityEntrypoints
func (*ReachabilityGraph) GetEntrypointsBySubjectType ¶ added in v1.8.0
func (x *ReachabilityGraph) GetEntrypointsBySubjectType() map[string]*ReachabilityEntrypoints
func (*ReachabilityGraph) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *ReachabilityGraph) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReachabilityGraph) MarshalToVT ¶ added in v1.13.0
func (m *ReachabilityGraph) MarshalToVT(dAtA []byte) (int, error)
func (*ReachabilityGraph) MarshalVT ¶ added in v1.13.0
func (m *ReachabilityGraph) MarshalVT() (dAtA []byte, err error)
func (*ReachabilityGraph) ProtoMessage ¶ added in v1.8.0
func (*ReachabilityGraph) ProtoMessage()
func (*ReachabilityGraph) ProtoReflect ¶ added in v1.8.0
func (x *ReachabilityGraph) ProtoReflect() protoreflect.Message
func (*ReachabilityGraph) Reset ¶ added in v1.8.0
func (x *ReachabilityGraph) Reset()
func (*ReachabilityGraph) SizeVT ¶ added in v1.13.0
func (m *ReachabilityGraph) SizeVT() (n int)
func (*ReachabilityGraph) String ¶ added in v1.8.0
func (x *ReachabilityGraph) String() string
func (*ReachabilityGraph) UnmarshalVT ¶ added in v1.13.0
func (m *ReachabilityGraph) UnmarshalVT(dAtA []byte) error
func (*ReachabilityGraph) Validate ¶ added in v1.8.0
func (m *ReachabilityGraph) Validate() error
Validate checks the field values on ReachabilityGraph 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 (*ReachabilityGraph) ValidateAll ¶ added in v1.8.0
func (m *ReachabilityGraph) ValidateAll() error
ValidateAll checks the field values on ReachabilityGraph 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 ReachabilityGraphMultiError, or nil if none found.
type ReachabilityGraphMultiError ¶ added in v1.8.0
type ReachabilityGraphMultiError []error
ReachabilityGraphMultiError is an error wrapping multiple validation errors returned by ReachabilityGraph.ValidateAll() if the designated constraints aren't met.
func (ReachabilityGraphMultiError) AllErrors ¶ added in v1.8.0
func (m ReachabilityGraphMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReachabilityGraphMultiError) Error ¶ added in v1.8.0
func (m ReachabilityGraphMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReachabilityGraphValidationError ¶ added in v1.8.0
type ReachabilityGraphValidationError struct {
// contains filtered or unexported fields
}
ReachabilityGraphValidationError is the validation error returned by ReachabilityGraph.Validate if the designated constraints aren't met.
func (ReachabilityGraphValidationError) Cause ¶ added in v1.8.0
func (e ReachabilityGraphValidationError) Cause() error
Cause function returns cause value.
func (ReachabilityGraphValidationError) Error ¶ added in v1.8.0
func (e ReachabilityGraphValidationError) Error() string
Error satisfies the builtin error interface
func (ReachabilityGraphValidationError) ErrorName ¶ added in v1.8.0
func (e ReachabilityGraphValidationError) ErrorName() string
ErrorName returns error name.
func (ReachabilityGraphValidationError) Field ¶ added in v1.8.0
func (e ReachabilityGraphValidationError) Field() string
Field function returns field value.
func (ReachabilityGraphValidationError) Key ¶ added in v1.8.0
func (e ReachabilityGraphValidationError) Key() bool
Key function returns key value.
func (ReachabilityGraphValidationError) Reason ¶ added in v1.8.0
func (e ReachabilityGraphValidationError) Reason() string
Reason function returns reason value.
type Relation ¶
type Relation struct { // * name is the full name for the relation or permission Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // * userset_rewrite, if specified, is the rewrite for computing the value of the permission. UsersetRewrite *UsersetRewrite `protobuf:"bytes,2,opt,name=userset_rewrite,json=usersetRewrite,proto3" json:"userset_rewrite,omitempty"` // * // type_information, if specified, is the list of allowed object types that can appear in this // relation TypeInformation *TypeInformation `protobuf:"bytes,3,opt,name=type_information,json=typeInformation,proto3" json:"type_information,omitempty"` // * metadata contains compiler metadata from schemas compiled into namespaces Metadata *Metadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // * source_position contains the position of the relation in the source schema, if any 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 }
* Relation represents the definition of a relation or permission under a namespace.
func (*Relation) CloneMessageVT ¶ added in v1.22.0
func (*Relation) Descriptor
deprecated
func (*Relation) EqualMessageVT ¶ added in v1.22.0
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) MarshalToSizedBufferVT ¶ added in v1.13.0
func (*Relation) MarshalToVT ¶ added in v1.13.0
func (*Relation) ProtoMessage ¶
func (*Relation) ProtoMessage()
func (*Relation) ProtoReflect ¶
func (x *Relation) ProtoReflect() protoreflect.Message
func (*Relation) UnmarshalVT ¶ added in v1.13.0
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 is the full namespace path Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // * relation is the name of the referenced relation or permission under the namespace 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) CloneMessageVT ¶ added in v1.22.0
func (m *RelationReference) CloneMessageVT() proto.Message
func (*RelationReference) CloneVT ¶ added in v1.13.0
func (m *RelationReference) CloneVT() *RelationReference
func (*RelationReference) Descriptor
deprecated
func (*RelationReference) Descriptor() ([]byte, []int)
Deprecated: Use RelationReference.ProtoReflect.Descriptor instead.
func (*RelationReference) EqualMessageVT ¶ added in v1.22.0
func (this *RelationReference) EqualMessageVT(thatMsg proto.Message) bool
func (*RelationReference) EqualVT ¶ added in v1.15.0
func (this *RelationReference) EqualVT(that *RelationReference) bool
func (*RelationReference) GetNamespace ¶
func (x *RelationReference) GetNamespace() string
func (*RelationReference) GetRelation ¶
func (x *RelationReference) GetRelation() string
func (*RelationReference) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *RelationReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationReference) MarshalToVT ¶ added in v1.13.0
func (m *RelationReference) MarshalToVT(dAtA []byte) (int, error)
func (*RelationReference) MarshalVT ¶ added in v1.13.0
func (m *RelationReference) MarshalVT() (dAtA []byte, err error)
func (*RelationReference) ProtoMessage ¶
func (*RelationReference) ProtoMessage()
func (*RelationReference) ProtoReflect ¶
func (x *RelationReference) ProtoReflect() protoreflect.Message
func (*RelationReference) Reset ¶
func (x *RelationReference) Reset()
func (*RelationReference) SizeVT ¶ added in v1.13.0
func (m *RelationReference) SizeVT() (n int)
func (*RelationReference) String ¶
func (x *RelationReference) String() string
func (*RelationReference) UnmarshalVT ¶ added in v1.13.0
func (m *RelationReference) UnmarshalVT(dAtA []byte) error
func (*RelationReference) Validate ¶
func (m *RelationReference) Validate() error
Validate checks the field values on RelationReference with the rules defined in the proto definition for this message. If any rules are violated, 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 { // * resource_and_relation is the resource for the tuple ResourceAndRelation *ObjectAndRelation `protobuf:"bytes,1,opt,name=resource_and_relation,json=resourceAndRelation,proto3" json:"resource_and_relation,omitempty"` // * subject is the subject for the tuple Subject *ObjectAndRelation `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` // * caveat is a reference to a the caveat that must be enforced over the tuple * Caveat *ContextualizedCaveat `protobuf:"bytes,3,opt,name=caveat,proto3" json:"caveat,omitempty"` // * integrity holds (optional) information about the integrity of the tuple Integrity *RelationshipIntegrity `protobuf:"bytes,4,opt,name=integrity,proto3" json:"integrity,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) CloneMessageVT ¶ added in v1.22.0
func (m *RelationTuple) CloneMessageVT() proto.Message
func (*RelationTuple) CloneVT ¶ added in v1.13.0
func (m *RelationTuple) CloneVT() *RelationTuple
func (*RelationTuple) Descriptor
deprecated
func (*RelationTuple) Descriptor() ([]byte, []int)
Deprecated: Use RelationTuple.ProtoReflect.Descriptor instead.
func (*RelationTuple) EqualMessageVT ¶ added in v1.22.0
func (this *RelationTuple) EqualMessageVT(thatMsg proto.Message) bool
func (*RelationTuple) EqualVT ¶ added in v1.15.0
func (this *RelationTuple) EqualVT(that *RelationTuple) bool
func (*RelationTuple) GetCaveat ¶ added in v1.13.0
func (x *RelationTuple) GetCaveat() *ContextualizedCaveat
func (*RelationTuple) GetIntegrity ¶ added in v1.36.0
func (x *RelationTuple) GetIntegrity() *RelationshipIntegrity
func (*RelationTuple) GetResourceAndRelation ¶ added in v1.9.0
func (x *RelationTuple) GetResourceAndRelation() *ObjectAndRelation
func (*RelationTuple) GetSubject ¶ added in v1.9.0
func (x *RelationTuple) GetSubject() *ObjectAndRelation
func (*RelationTuple) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *RelationTuple) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationTuple) MarshalToVT ¶ added in v1.13.0
func (m *RelationTuple) MarshalToVT(dAtA []byte) (int, error)
func (*RelationTuple) MarshalVT ¶ added in v1.13.0
func (m *RelationTuple) MarshalVT() (dAtA []byte, err error)
func (*RelationTuple) ProtoMessage ¶
func (*RelationTuple) ProtoMessage()
func (*RelationTuple) ProtoReflect ¶
func (x *RelationTuple) ProtoReflect() protoreflect.Message
func (*RelationTuple) Reset ¶
func (x *RelationTuple) Reset()
func (*RelationTuple) SizeVT ¶ added in v1.13.0
func (m *RelationTuple) SizeVT() (n int)
func (*RelationTuple) String ¶
func (x *RelationTuple) String() string
func (*RelationTuple) UnmarshalVT ¶ added in v1.13.0
func (m *RelationTuple) UnmarshalVT(dAtA []byte) error
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"` CaveatExpression *CaveatExpression `protobuf:"bytes,4,opt,name=caveat_expression,json=caveatExpression,proto3" json:"caveat_expression,omitempty"` // contains filtered or unexported fields }
func (*RelationTupleTreeNode) CloneMessageVT ¶ added in v1.22.0
func (m *RelationTupleTreeNode) CloneMessageVT() proto.Message
func (*RelationTupleTreeNode) CloneVT ¶ added in v1.13.0
func (m *RelationTupleTreeNode) CloneVT() *RelationTupleTreeNode
func (*RelationTupleTreeNode) Descriptor
deprecated
func (*RelationTupleTreeNode) Descriptor() ([]byte, []int)
Deprecated: Use RelationTupleTreeNode.ProtoReflect.Descriptor instead.
func (*RelationTupleTreeNode) EqualMessageVT ¶ added in v1.22.0
func (this *RelationTupleTreeNode) EqualMessageVT(thatMsg proto.Message) bool
func (*RelationTupleTreeNode) EqualVT ¶ added in v1.15.0
func (this *RelationTupleTreeNode) EqualVT(that *RelationTupleTreeNode) bool
func (*RelationTupleTreeNode) GetCaveatExpression ¶ added in v1.16.0
func (x *RelationTupleTreeNode) GetCaveatExpression() *CaveatExpression
func (*RelationTupleTreeNode) GetExpanded ¶
func (x *RelationTupleTreeNode) GetExpanded() *ObjectAndRelation
func (*RelationTupleTreeNode) GetIntermediateNode ¶
func (x *RelationTupleTreeNode) GetIntermediateNode() *SetOperationUserset
func (*RelationTupleTreeNode) GetLeafNode ¶
func (x *RelationTupleTreeNode) GetLeafNode() *DirectSubjects
func (*RelationTupleTreeNode) GetNodeType ¶
func (m *RelationTupleTreeNode) GetNodeType() isRelationTupleTreeNode_NodeType
func (*RelationTupleTreeNode) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *RelationTupleTreeNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationTupleTreeNode) MarshalToVT ¶ added in v1.13.0
func (m *RelationTupleTreeNode) MarshalToVT(dAtA []byte) (int, error)
func (*RelationTupleTreeNode) MarshalVT ¶ added in v1.13.0
func (m *RelationTupleTreeNode) MarshalVT() (dAtA []byte, err error)
func (*RelationTupleTreeNode) ProtoMessage ¶
func (*RelationTupleTreeNode) ProtoMessage()
func (*RelationTupleTreeNode) ProtoReflect ¶
func (x *RelationTupleTreeNode) ProtoReflect() protoreflect.Message
func (*RelationTupleTreeNode) Reset ¶
func (x *RelationTupleTreeNode) Reset()
func (*RelationTupleTreeNode) SizeVT ¶ added in v1.13.0
func (m *RelationTupleTreeNode) SizeVT() (n int)
func (*RelationTupleTreeNode) String ¶
func (x *RelationTupleTreeNode) String() string
func (*RelationTupleTreeNode) UnmarshalVT ¶ added in v1.13.0
func (m *RelationTupleTreeNode) UnmarshalVT(dAtA []byte) error
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"`
}
func (*RelationTupleTreeNode_IntermediateNode) CloneVT ¶ added in v1.13.0
func (m *RelationTupleTreeNode_IntermediateNode) CloneVT() isRelationTupleTreeNode_NodeType
func (*RelationTupleTreeNode_IntermediateNode) EqualVT ¶ added in v1.15.0
func (this *RelationTupleTreeNode_IntermediateNode) EqualVT(thatIface isRelationTupleTreeNode_NodeType) bool
func (*RelationTupleTreeNode_IntermediateNode) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *RelationTupleTreeNode_IntermediateNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationTupleTreeNode_IntermediateNode) MarshalToVT ¶ added in v1.13.0
func (m *RelationTupleTreeNode_IntermediateNode) MarshalToVT(dAtA []byte) (int, error)
func (*RelationTupleTreeNode_IntermediateNode) SizeVT ¶ added in v1.13.0
func (m *RelationTupleTreeNode_IntermediateNode) SizeVT() (n int)
type RelationTupleTreeNode_LeafNode ¶
type RelationTupleTreeNode_LeafNode struct {
LeafNode *DirectSubjects `protobuf:"bytes,2,opt,name=leaf_node,json=leafNode,proto3,oneof"`
}
func (*RelationTupleTreeNode_LeafNode) CloneVT ¶ added in v1.13.0
func (m *RelationTupleTreeNode_LeafNode) CloneVT() isRelationTupleTreeNode_NodeType
func (*RelationTupleTreeNode_LeafNode) EqualVT ¶ added in v1.15.0
func (this *RelationTupleTreeNode_LeafNode) EqualVT(thatIface isRelationTupleTreeNode_NodeType) bool
func (*RelationTupleTreeNode_LeafNode) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *RelationTupleTreeNode_LeafNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationTupleTreeNode_LeafNode) MarshalToVT ¶ added in v1.13.0
func (m *RelationTupleTreeNode_LeafNode) MarshalToVT(dAtA []byte) (int, error)
func (*RelationTupleTreeNode_LeafNode) SizeVT ¶ added in v1.13.0
func (m *RelationTupleTreeNode_LeafNode) SizeVT() (n int)
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 (*RelationTupleUpdate) CloneMessageVT ¶ added in v1.22.0
func (m *RelationTupleUpdate) CloneMessageVT() proto.Message
func (*RelationTupleUpdate) CloneVT ¶ added in v1.13.0
func (m *RelationTupleUpdate) CloneVT() *RelationTupleUpdate
func (*RelationTupleUpdate) Descriptor
deprecated
func (*RelationTupleUpdate) Descriptor() ([]byte, []int)
Deprecated: Use RelationTupleUpdate.ProtoReflect.Descriptor instead.
func (*RelationTupleUpdate) EqualMessageVT ¶ added in v1.22.0
func (this *RelationTupleUpdate) EqualMessageVT(thatMsg proto.Message) bool
func (*RelationTupleUpdate) EqualVT ¶ added in v1.15.0
func (this *RelationTupleUpdate) EqualVT(that *RelationTupleUpdate) bool
func (*RelationTupleUpdate) GetOperation ¶
func (x *RelationTupleUpdate) GetOperation() RelationTupleUpdate_Operation
func (*RelationTupleUpdate) GetTuple ¶
func (x *RelationTupleUpdate) GetTuple() *RelationTuple
func (*RelationTupleUpdate) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *RelationTupleUpdate) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationTupleUpdate) MarshalToVT ¶ added in v1.13.0
func (m *RelationTupleUpdate) MarshalToVT(dAtA []byte) (int, error)
func (*RelationTupleUpdate) MarshalVT ¶ added in v1.13.0
func (m *RelationTupleUpdate) MarshalVT() (dAtA []byte, err error)
func (*RelationTupleUpdate) ProtoMessage ¶
func (*RelationTupleUpdate) ProtoMessage()
func (*RelationTupleUpdate) ProtoReflect ¶
func (x *RelationTupleUpdate) ProtoReflect() protoreflect.Message
func (*RelationTupleUpdate) Reset ¶
func (x *RelationTupleUpdate) Reset()
func (*RelationTupleUpdate) SizeVT ¶ added in v1.13.0
func (m *RelationTupleUpdate) SizeVT() (n int)
func (*RelationTupleUpdate) String ¶
func (x *RelationTupleUpdate) String() string
func (*RelationTupleUpdate) UnmarshalVT ¶ added in v1.13.0
func (m *RelationTupleUpdate) UnmarshalVT(dAtA []byte) error
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 RelationshipFilter ¶ added in v1.34.0
type RelationshipFilter struct { // resource_type is the *optional* resource type of the relationship. // NOTE: It is not prefixed with "optional_" for legacy compatibility. ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` // optional_resource_id is the *optional* resource ID of the relationship. // If specified, optional_resource_id_prefix cannot be specified. OptionalResourceId string `protobuf:"bytes,2,opt,name=optional_resource_id,json=optionalResourceId,proto3" json:"optional_resource_id,omitempty"` // optional_resource_id_prefix is the *optional* prefix for the resource ID of the relationship. // If specified, optional_resource_id cannot be specified. OptionalResourceIdPrefix string `` /* 137-byte string literal not displayed */ // relation is the *optional* relation of the relationship. OptionalRelation string `protobuf:"bytes,3,opt,name=optional_relation,json=optionalRelation,proto3" json:"optional_relation,omitempty"` // optional_subject_filter is the optional filter for the subjects of the relationships. OptionalSubjectFilter *SubjectFilter `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RelationshipFilter) CloneMessageVT ¶ added in v1.34.0
func (m *RelationshipFilter) CloneMessageVT() proto.Message
func (*RelationshipFilter) CloneVT ¶ added in v1.34.0
func (m *RelationshipFilter) CloneVT() *RelationshipFilter
func (*RelationshipFilter) Descriptor
deprecated
added in
v1.34.0
func (*RelationshipFilter) Descriptor() ([]byte, []int)
Deprecated: Use RelationshipFilter.ProtoReflect.Descriptor instead.
func (*RelationshipFilter) EqualMessageVT ¶ added in v1.34.0
func (this *RelationshipFilter) EqualMessageVT(thatMsg proto.Message) bool
func (*RelationshipFilter) EqualVT ¶ added in v1.34.0
func (this *RelationshipFilter) EqualVT(that *RelationshipFilter) bool
func (*RelationshipFilter) GetOptionalRelation ¶ added in v1.34.0
func (x *RelationshipFilter) GetOptionalRelation() string
func (*RelationshipFilter) GetOptionalResourceId ¶ added in v1.34.0
func (x *RelationshipFilter) GetOptionalResourceId() string
func (*RelationshipFilter) GetOptionalResourceIdPrefix ¶ added in v1.34.0
func (x *RelationshipFilter) GetOptionalResourceIdPrefix() string
func (*RelationshipFilter) GetOptionalSubjectFilter ¶ added in v1.34.0
func (x *RelationshipFilter) GetOptionalSubjectFilter() *SubjectFilter
func (*RelationshipFilter) GetResourceType ¶ added in v1.34.0
func (x *RelationshipFilter) GetResourceType() string
func (*RelationshipFilter) MarshalToSizedBufferVT ¶ added in v1.34.0
func (m *RelationshipFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationshipFilter) MarshalToVT ¶ added in v1.34.0
func (m *RelationshipFilter) MarshalToVT(dAtA []byte) (int, error)
func (*RelationshipFilter) MarshalVT ¶ added in v1.34.0
func (m *RelationshipFilter) MarshalVT() (dAtA []byte, err error)
func (*RelationshipFilter) ProtoMessage ¶ added in v1.34.0
func (*RelationshipFilter) ProtoMessage()
func (*RelationshipFilter) ProtoReflect ¶ added in v1.34.0
func (x *RelationshipFilter) ProtoReflect() protoreflect.Message
func (*RelationshipFilter) Reset ¶ added in v1.34.0
func (x *RelationshipFilter) Reset()
func (*RelationshipFilter) SizeVT ¶ added in v1.34.0
func (m *RelationshipFilter) SizeVT() (n int)
func (*RelationshipFilter) String ¶ added in v1.34.0
func (x *RelationshipFilter) String() string
func (*RelationshipFilter) UnmarshalVT ¶ added in v1.34.0
func (m *RelationshipFilter) UnmarshalVT(dAtA []byte) error
func (*RelationshipFilter) Validate ¶ added in v1.34.0
func (m *RelationshipFilter) Validate() error
Validate checks the field values on RelationshipFilter 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 (*RelationshipFilter) ValidateAll ¶ added in v1.34.0
func (m *RelationshipFilter) ValidateAll() error
ValidateAll checks the field values on RelationshipFilter 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 RelationshipFilterMultiError, or nil if none found.
type RelationshipFilterMultiError ¶ added in v1.34.0
type RelationshipFilterMultiError []error
RelationshipFilterMultiError is an error wrapping multiple validation errors returned by RelationshipFilter.ValidateAll() if the designated constraints aren't met.
func (RelationshipFilterMultiError) AllErrors ¶ added in v1.34.0
func (m RelationshipFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelationshipFilterMultiError) Error ¶ added in v1.34.0
func (m RelationshipFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelationshipFilterValidationError ¶ added in v1.34.0
type RelationshipFilterValidationError struct {
// contains filtered or unexported fields
}
RelationshipFilterValidationError is the validation error returned by RelationshipFilter.Validate if the designated constraints aren't met.
func (RelationshipFilterValidationError) Cause ¶ added in v1.34.0
func (e RelationshipFilterValidationError) Cause() error
Cause function returns cause value.
func (RelationshipFilterValidationError) Error ¶ added in v1.34.0
func (e RelationshipFilterValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipFilterValidationError) ErrorName ¶ added in v1.34.0
func (e RelationshipFilterValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipFilterValidationError) Field ¶ added in v1.34.0
func (e RelationshipFilterValidationError) Field() string
Field function returns field value.
func (RelationshipFilterValidationError) Key ¶ added in v1.34.0
func (e RelationshipFilterValidationError) Key() bool
Key function returns key value.
func (RelationshipFilterValidationError) Reason ¶ added in v1.34.0
func (e RelationshipFilterValidationError) Reason() string
Reason function returns reason value.
type RelationshipIntegrity ¶ added in v1.36.0
type RelationshipIntegrity struct { // * key_id is the key ID used to hash the tuple KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // * hash is the hash of the tuple Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // * hashed_at is the timestamp when the tuple was hashed HashedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=hashed_at,json=hashedAt,proto3" json:"hashed_at,omitempty"` // contains filtered or unexported fields }
func (*RelationshipIntegrity) CloneMessageVT ¶ added in v1.36.0
func (m *RelationshipIntegrity) CloneMessageVT() proto.Message
func (*RelationshipIntegrity) CloneVT ¶ added in v1.36.0
func (m *RelationshipIntegrity) CloneVT() *RelationshipIntegrity
func (*RelationshipIntegrity) Descriptor
deprecated
added in
v1.36.0
func (*RelationshipIntegrity) Descriptor() ([]byte, []int)
Deprecated: Use RelationshipIntegrity.ProtoReflect.Descriptor instead.
func (*RelationshipIntegrity) EqualMessageVT ¶ added in v1.36.0
func (this *RelationshipIntegrity) EqualMessageVT(thatMsg proto.Message) bool
func (*RelationshipIntegrity) EqualVT ¶ added in v1.36.0
func (this *RelationshipIntegrity) EqualVT(that *RelationshipIntegrity) bool
func (*RelationshipIntegrity) GetHash ¶ added in v1.36.0
func (x *RelationshipIntegrity) GetHash() []byte
func (*RelationshipIntegrity) GetHashedAt ¶ added in v1.36.0
func (x *RelationshipIntegrity) GetHashedAt() *timestamppb.Timestamp
func (*RelationshipIntegrity) GetKeyId ¶ added in v1.36.0
func (x *RelationshipIntegrity) GetKeyId() string
func (*RelationshipIntegrity) MarshalToSizedBufferVT ¶ added in v1.36.0
func (m *RelationshipIntegrity) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationshipIntegrity) MarshalToVT ¶ added in v1.36.0
func (m *RelationshipIntegrity) MarshalToVT(dAtA []byte) (int, error)
func (*RelationshipIntegrity) MarshalVT ¶ added in v1.36.0
func (m *RelationshipIntegrity) MarshalVT() (dAtA []byte, err error)
func (*RelationshipIntegrity) ProtoMessage ¶ added in v1.36.0
func (*RelationshipIntegrity) ProtoMessage()
func (*RelationshipIntegrity) ProtoReflect ¶ added in v1.36.0
func (x *RelationshipIntegrity) ProtoReflect() protoreflect.Message
func (*RelationshipIntegrity) Reset ¶ added in v1.36.0
func (x *RelationshipIntegrity) Reset()
func (*RelationshipIntegrity) SizeVT ¶ added in v1.36.0
func (m *RelationshipIntegrity) SizeVT() (n int)
func (*RelationshipIntegrity) String ¶ added in v1.36.0
func (x *RelationshipIntegrity) String() string
func (*RelationshipIntegrity) UnmarshalVT ¶ added in v1.36.0
func (m *RelationshipIntegrity) UnmarshalVT(dAtA []byte) error
func (*RelationshipIntegrity) Validate ¶ added in v1.36.0
func (m *RelationshipIntegrity) Validate() error
Validate checks the field values on RelationshipIntegrity 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 (*RelationshipIntegrity) ValidateAll ¶ added in v1.36.0
func (m *RelationshipIntegrity) ValidateAll() error
ValidateAll checks the field values on RelationshipIntegrity 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 RelationshipIntegrityMultiError, or nil if none found.
type RelationshipIntegrityMultiError ¶ added in v1.36.0
type RelationshipIntegrityMultiError []error
RelationshipIntegrityMultiError is an error wrapping multiple validation errors returned by RelationshipIntegrity.ValidateAll() if the designated constraints aren't met.
func (RelationshipIntegrityMultiError) AllErrors ¶ added in v1.36.0
func (m RelationshipIntegrityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelationshipIntegrityMultiError) Error ¶ added in v1.36.0
func (m RelationshipIntegrityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelationshipIntegrityValidationError ¶ added in v1.36.0
type RelationshipIntegrityValidationError struct {
// contains filtered or unexported fields
}
RelationshipIntegrityValidationError is the validation error returned by RelationshipIntegrity.Validate if the designated constraints aren't met.
func (RelationshipIntegrityValidationError) Cause ¶ added in v1.36.0
func (e RelationshipIntegrityValidationError) Cause() error
Cause function returns cause value.
func (RelationshipIntegrityValidationError) Error ¶ added in v1.36.0
func (e RelationshipIntegrityValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipIntegrityValidationError) ErrorName ¶ added in v1.36.0
func (e RelationshipIntegrityValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipIntegrityValidationError) Field ¶ added in v1.36.0
func (e RelationshipIntegrityValidationError) Field() string
Field function returns field value.
func (RelationshipIntegrityValidationError) Key ¶ added in v1.36.0
func (e RelationshipIntegrityValidationError) Key() bool
Key function returns key value.
func (RelationshipIntegrityValidationError) Reason ¶ added in v1.36.0
func (e RelationshipIntegrityValidationError) 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) CloneMessageVT ¶ added in v1.22.0
func (m *SetOperation) CloneMessageVT() proto.Message
func (*SetOperation) CloneVT ¶ added in v1.13.0
func (m *SetOperation) CloneVT() *SetOperation
func (*SetOperation) Descriptor
deprecated
func (*SetOperation) Descriptor() ([]byte, []int)
Deprecated: Use SetOperation.ProtoReflect.Descriptor instead.
func (*SetOperation) EqualMessageVT ¶ added in v1.22.0
func (this *SetOperation) EqualMessageVT(thatMsg proto.Message) bool
func (*SetOperation) EqualVT ¶ added in v1.15.0
func (this *SetOperation) EqualVT(that *SetOperation) bool
func (*SetOperation) GetChild ¶
func (x *SetOperation) GetChild() []*SetOperation_Child
func (*SetOperation) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *SetOperation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetOperation) MarshalToVT ¶ added in v1.13.0
func (m *SetOperation) MarshalToVT(dAtA []byte) (int, error)
func (*SetOperation) MarshalVT ¶ added in v1.13.0
func (m *SetOperation) MarshalVT() (dAtA []byte, err error)
func (*SetOperation) ProtoMessage ¶
func (*SetOperation) ProtoMessage()
func (*SetOperation) ProtoReflect ¶
func (x *SetOperation) ProtoReflect() protoreflect.Message
func (*SetOperation) Reset ¶
func (x *SetOperation) Reset()
func (*SetOperation) SizeVT ¶ added in v1.13.0
func (m *SetOperation) SizeVT() (n int)
func (*SetOperation) String ¶
func (x *SetOperation) String() string
func (*SetOperation) UnmarshalVT ¶ added in v1.13.0
func (m *SetOperation) UnmarshalVT(dAtA []byte) error
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) CloneMessageVT ¶ added in v1.22.0
func (m *SetOperationUserset) CloneMessageVT() proto.Message
func (*SetOperationUserset) CloneVT ¶ added in v1.13.0
func (m *SetOperationUserset) CloneVT() *SetOperationUserset
func (*SetOperationUserset) Descriptor
deprecated
func (*SetOperationUserset) Descriptor() ([]byte, []int)
Deprecated: Use SetOperationUserset.ProtoReflect.Descriptor instead.
func (*SetOperationUserset) EqualMessageVT ¶ added in v1.22.0
func (this *SetOperationUserset) EqualMessageVT(thatMsg proto.Message) bool
func (*SetOperationUserset) EqualVT ¶ added in v1.15.0
func (this *SetOperationUserset) EqualVT(that *SetOperationUserset) bool
func (*SetOperationUserset) GetChildNodes ¶
func (x *SetOperationUserset) GetChildNodes() []*RelationTupleTreeNode
func (*SetOperationUserset) GetOperation ¶
func (x *SetOperationUserset) GetOperation() SetOperationUserset_Operation
func (*SetOperationUserset) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *SetOperationUserset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetOperationUserset) MarshalToVT ¶ added in v1.13.0
func (m *SetOperationUserset) MarshalToVT(dAtA []byte) (int, error)
func (*SetOperationUserset) MarshalVT ¶ added in v1.13.0
func (m *SetOperationUserset) MarshalVT() (dAtA []byte, err error)
func (*SetOperationUserset) ProtoMessage ¶
func (*SetOperationUserset) ProtoMessage()
func (*SetOperationUserset) ProtoReflect ¶
func (x *SetOperationUserset) ProtoReflect() protoreflect.Message
func (*SetOperationUserset) Reset ¶
func (x *SetOperationUserset) Reset()
func (*SetOperationUserset) SizeVT ¶ added in v1.13.0
func (m *SetOperationUserset) SizeVT() (n int)
func (*SetOperationUserset) String ¶
func (x *SetOperationUserset) String() string
func (*SetOperationUserset) UnmarshalVT ¶ added in v1.13.0
func (m *SetOperationUserset) UnmarshalVT(dAtA []byte) error
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_FunctionedTupleToUserset // *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"` // * // operation_path (if specified) is the *unique* ID for the set operation in the permission // definition. It is a heirarchy representing the position of the operation under its parent // operation. For example, the operation path of an operation which is the third child of the // fourth top-level operation, will be `3,2`. OperationPath []uint32 `protobuf:"varint,7,rep,packed,name=operation_path,json=operationPath,proto3" json:"operation_path,omitempty"` // contains filtered or unexported fields }
func (*SetOperation_Child) CloneMessageVT ¶ added in v1.22.0
func (m *SetOperation_Child) CloneMessageVT() proto.Message
func (*SetOperation_Child) CloneVT ¶ added in v1.13.0
func (m *SetOperation_Child) CloneVT() *SetOperation_Child
func (*SetOperation_Child) Descriptor
deprecated
func (*SetOperation_Child) Descriptor() ([]byte, []int)
Deprecated: Use SetOperation_Child.ProtoReflect.Descriptor instead.
func (*SetOperation_Child) EqualMessageVT ¶ added in v1.22.0
func (this *SetOperation_Child) EqualMessageVT(thatMsg proto.Message) bool
func (*SetOperation_Child) EqualVT ¶ added in v1.15.0
func (this *SetOperation_Child) EqualVT(that *SetOperation_Child) bool
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) GetFunctionedTupleToUserset ¶ added in v1.35.0
func (x *SetOperation_Child) GetFunctionedTupleToUserset() *FunctionedTupleToUserset
func (*SetOperation_Child) GetOperationPath ¶ added in v1.8.0
func (x *SetOperation_Child) GetOperationPath() []uint32
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) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *SetOperation_Child) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetOperation_Child) MarshalToVT ¶ added in v1.13.0
func (m *SetOperation_Child) MarshalToVT(dAtA []byte) (int, error)
func (*SetOperation_Child) MarshalVT ¶ added in v1.13.0
func (m *SetOperation_Child) MarshalVT() (dAtA []byte, err error)
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) SizeVT ¶ added in v1.13.0
func (m *SetOperation_Child) SizeVT() (n int)
func (*SetOperation_Child) String ¶
func (x *SetOperation_Child) String() string
func (*SetOperation_Child) UnmarshalVT ¶ added in v1.13.0
func (m *SetOperation_Child) UnmarshalVT(dAtA []byte) error
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"`
}
func (*SetOperation_Child_ComputedUserset) CloneVT ¶ added in v1.13.0
func (m *SetOperation_Child_ComputedUserset) CloneVT() isSetOperation_Child_ChildType
func (*SetOperation_Child_ComputedUserset) EqualVT ¶ added in v1.15.0
func (this *SetOperation_Child_ComputedUserset) EqualVT(thatIface isSetOperation_Child_ChildType) bool
func (*SetOperation_Child_ComputedUserset) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *SetOperation_Child_ComputedUserset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetOperation_Child_ComputedUserset) MarshalToVT ¶ added in v1.13.0
func (m *SetOperation_Child_ComputedUserset) MarshalToVT(dAtA []byte) (int, error)
func (*SetOperation_Child_ComputedUserset) SizeVT ¶ added in v1.13.0
func (m *SetOperation_Child_ComputedUserset) SizeVT() (n int)
type SetOperation_Child_FunctionedTupleToUserset ¶ added in v1.35.0
type SetOperation_Child_FunctionedTupleToUserset struct {
FunctionedTupleToUserset *FunctionedTupleToUserset `protobuf:"bytes,8,opt,name=functioned_tuple_to_userset,json=functionedTupleToUserset,proto3,oneof"`
}
func (*SetOperation_Child_FunctionedTupleToUserset) CloneVT ¶ added in v1.35.0
func (m *SetOperation_Child_FunctionedTupleToUserset) CloneVT() isSetOperation_Child_ChildType
func (*SetOperation_Child_FunctionedTupleToUserset) EqualVT ¶ added in v1.35.0
func (this *SetOperation_Child_FunctionedTupleToUserset) EqualVT(thatIface isSetOperation_Child_ChildType) bool
func (*SetOperation_Child_FunctionedTupleToUserset) MarshalToSizedBufferVT ¶ added in v1.35.0
func (m *SetOperation_Child_FunctionedTupleToUserset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetOperation_Child_FunctionedTupleToUserset) MarshalToVT ¶ added in v1.35.0
func (m *SetOperation_Child_FunctionedTupleToUserset) MarshalToVT(dAtA []byte) (int, error)
func (*SetOperation_Child_FunctionedTupleToUserset) SizeVT ¶ added in v1.35.0
func (m *SetOperation_Child_FunctionedTupleToUserset) SizeVT() (n int)
type SetOperation_Child_Nil ¶
type SetOperation_Child_Nil struct {
// contains filtered or unexported fields
}
func (*SetOperation_Child_Nil) CloneMessageVT ¶ added in v1.22.0
func (m *SetOperation_Child_Nil) CloneMessageVT() proto.Message
func (*SetOperation_Child_Nil) CloneVT ¶ added in v1.13.0
func (m *SetOperation_Child_Nil) CloneVT() *SetOperation_Child_Nil
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) EqualMessageVT ¶ added in v1.22.0
func (this *SetOperation_Child_Nil) EqualMessageVT(thatMsg proto.Message) bool
func (*SetOperation_Child_Nil) EqualVT ¶ added in v1.15.0
func (this *SetOperation_Child_Nil) EqualVT(that *SetOperation_Child_Nil) bool
func (*SetOperation_Child_Nil) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *SetOperation_Child_Nil) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetOperation_Child_Nil) MarshalToVT ¶ added in v1.13.0
func (m *SetOperation_Child_Nil) MarshalToVT(dAtA []byte) (int, error)
func (*SetOperation_Child_Nil) MarshalVT ¶ added in v1.13.0
func (m *SetOperation_Child_Nil) MarshalVT() (dAtA []byte, err error)
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) SizeVT ¶ added in v1.13.0
func (m *SetOperation_Child_Nil) SizeVT() (n int)
func (*SetOperation_Child_Nil) String ¶
func (x *SetOperation_Child_Nil) String() string
func (*SetOperation_Child_Nil) UnmarshalVT ¶ added in v1.13.0
func (m *SetOperation_Child_Nil) UnmarshalVT(dAtA []byte) error
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) CloneMessageVT ¶ added in v1.22.0
func (m *SetOperation_Child_This) CloneMessageVT() proto.Message
func (*SetOperation_Child_This) CloneVT ¶ added in v1.13.0
func (m *SetOperation_Child_This) CloneVT() *SetOperation_Child_This
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) EqualMessageVT ¶ added in v1.22.0
func (this *SetOperation_Child_This) EqualMessageVT(thatMsg proto.Message) bool
func (*SetOperation_Child_This) EqualVT ¶ added in v1.15.0
func (this *SetOperation_Child_This) EqualVT(that *SetOperation_Child_This) bool
func (*SetOperation_Child_This) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *SetOperation_Child_This) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetOperation_Child_This) MarshalToVT ¶ added in v1.13.0
func (m *SetOperation_Child_This) MarshalToVT(dAtA []byte) (int, error)
func (*SetOperation_Child_This) MarshalVT ¶ added in v1.13.0
func (m *SetOperation_Child_This) MarshalVT() (dAtA []byte, err error)
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) SizeVT ¶ added in v1.13.0
func (m *SetOperation_Child_This) SizeVT() (n int)
func (*SetOperation_Child_This) String ¶
func (x *SetOperation_Child_This) String() string
func (*SetOperation_Child_This) UnmarshalVT ¶ added in v1.13.0
func (m *SetOperation_Child_This) UnmarshalVT(dAtA []byte) error
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"`
}
func (*SetOperation_Child_TupleToUserset) CloneVT ¶ added in v1.13.0
func (m *SetOperation_Child_TupleToUserset) CloneVT() isSetOperation_Child_ChildType
func (*SetOperation_Child_TupleToUserset) EqualVT ¶ added in v1.15.0
func (this *SetOperation_Child_TupleToUserset) EqualVT(thatIface isSetOperation_Child_ChildType) bool
func (*SetOperation_Child_TupleToUserset) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *SetOperation_Child_TupleToUserset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetOperation_Child_TupleToUserset) MarshalToVT ¶ added in v1.13.0
func (m *SetOperation_Child_TupleToUserset) MarshalToVT(dAtA []byte) (int, error)
func (*SetOperation_Child_TupleToUserset) SizeVT ¶ added in v1.13.0
func (m *SetOperation_Child_TupleToUserset) SizeVT() (n int)
type SetOperation_Child_UsersetRewrite ¶
type SetOperation_Child_UsersetRewrite struct {
UsersetRewrite *UsersetRewrite `protobuf:"bytes,4,opt,name=userset_rewrite,json=usersetRewrite,proto3,oneof"`
}
func (*SetOperation_Child_UsersetRewrite) CloneVT ¶ added in v1.13.0
func (m *SetOperation_Child_UsersetRewrite) CloneVT() isSetOperation_Child_ChildType
func (*SetOperation_Child_UsersetRewrite) EqualVT ¶ added in v1.15.0
func (this *SetOperation_Child_UsersetRewrite) EqualVT(thatIface isSetOperation_Child_ChildType) bool
func (*SetOperation_Child_UsersetRewrite) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *SetOperation_Child_UsersetRewrite) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetOperation_Child_UsersetRewrite) MarshalToVT ¶ added in v1.13.0
func (m *SetOperation_Child_UsersetRewrite) MarshalToVT(dAtA []byte) (int, error)
func (*SetOperation_Child_UsersetRewrite) SizeVT ¶ added in v1.13.0
func (m *SetOperation_Child_UsersetRewrite) SizeVT() (n int)
type SetOperation_Child_XNil ¶
type SetOperation_Child_XNil struct {
XNil *SetOperation_Child_Nil `protobuf:"bytes,6,opt,name=_nil,json=Nil,proto3,oneof"`
}
func (*SetOperation_Child_XNil) CloneVT ¶ added in v1.13.0
func (m *SetOperation_Child_XNil) CloneVT() isSetOperation_Child_ChildType
func (*SetOperation_Child_XNil) EqualVT ¶ added in v1.15.0
func (this *SetOperation_Child_XNil) EqualVT(thatIface isSetOperation_Child_ChildType) bool
func (*SetOperation_Child_XNil) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *SetOperation_Child_XNil) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetOperation_Child_XNil) MarshalToVT ¶ added in v1.13.0
func (m *SetOperation_Child_XNil) MarshalToVT(dAtA []byte) (int, error)
func (*SetOperation_Child_XNil) SizeVT ¶ added in v1.13.0
func (m *SetOperation_Child_XNil) SizeVT() (n int)
type SetOperation_Child_XThis ¶
type SetOperation_Child_XThis struct {
XThis *SetOperation_Child_This `protobuf:"bytes,1,opt,name=_this,json=This,proto3,oneof"`
}
func (*SetOperation_Child_XThis) CloneVT ¶ added in v1.13.0
func (m *SetOperation_Child_XThis) CloneVT() isSetOperation_Child_ChildType
func (*SetOperation_Child_XThis) EqualVT ¶ added in v1.15.0
func (this *SetOperation_Child_XThis) EqualVT(thatIface isSetOperation_Child_ChildType) bool
func (*SetOperation_Child_XThis) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *SetOperation_Child_XThis) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetOperation_Child_XThis) MarshalToVT ¶ added in v1.13.0
func (m *SetOperation_Child_XThis) MarshalToVT(dAtA []byte) (int, error)
func (*SetOperation_Child_XThis) SizeVT ¶ added in v1.13.0
func (m *SetOperation_Child_XThis) SizeVT() (n int)
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) CloneMessageVT ¶ added in v1.22.0
func (m *SourcePosition) CloneMessageVT() proto.Message
func (*SourcePosition) CloneVT ¶ added in v1.13.0
func (m *SourcePosition) CloneVT() *SourcePosition
func (*SourcePosition) Descriptor
deprecated
func (*SourcePosition) Descriptor() ([]byte, []int)
Deprecated: Use SourcePosition.ProtoReflect.Descriptor instead.
func (*SourcePosition) EqualMessageVT ¶ added in v1.22.0
func (this *SourcePosition) EqualMessageVT(thatMsg proto.Message) bool
func (*SourcePosition) EqualVT ¶ added in v1.15.0
func (this *SourcePosition) EqualVT(that *SourcePosition) bool
func (*SourcePosition) GetZeroIndexedColumnPosition ¶
func (x *SourcePosition) GetZeroIndexedColumnPosition() uint64
func (*SourcePosition) GetZeroIndexedLineNumber ¶
func (x *SourcePosition) GetZeroIndexedLineNumber() uint64
func (*SourcePosition) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *SourcePosition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SourcePosition) MarshalToVT ¶ added in v1.13.0
func (m *SourcePosition) MarshalToVT(dAtA []byte) (int, error)
func (*SourcePosition) MarshalVT ¶ added in v1.13.0
func (m *SourcePosition) MarshalVT() (dAtA []byte, err error)
func (*SourcePosition) ProtoMessage ¶
func (*SourcePosition) ProtoMessage()
func (*SourcePosition) ProtoReflect ¶
func (x *SourcePosition) ProtoReflect() protoreflect.Message
func (*SourcePosition) Reset ¶
func (x *SourcePosition) Reset()
func (*SourcePosition) SizeVT ¶ added in v1.13.0
func (m *SourcePosition) SizeVT() (n int)
func (*SourcePosition) String ¶
func (x *SourcePosition) String() string
func (*SourcePosition) UnmarshalVT ¶ added in v1.13.0
func (m *SourcePosition) UnmarshalVT(dAtA []byte) error
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 SubjectFilter ¶ added in v1.34.0
type SubjectFilter struct { SubjectType string `protobuf:"bytes,1,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"` OptionalSubjectId string `protobuf:"bytes,2,opt,name=optional_subject_id,json=optionalSubjectId,proto3" json:"optional_subject_id,omitempty"` OptionalRelation *SubjectFilter_RelationFilter `protobuf:"bytes,3,opt,name=optional_relation,json=optionalRelation,proto3" json:"optional_relation,omitempty"` // contains filtered or unexported fields }
SubjectFilter specifies a filter on the subject of a relationship.
subject_type is required and all other fields are optional, and will not impose any additional requirements if left unspecified.
func (*SubjectFilter) CloneMessageVT ¶ added in v1.34.0
func (m *SubjectFilter) CloneMessageVT() proto.Message
func (*SubjectFilter) CloneVT ¶ added in v1.34.0
func (m *SubjectFilter) CloneVT() *SubjectFilter
func (*SubjectFilter) Descriptor
deprecated
added in
v1.34.0
func (*SubjectFilter) Descriptor() ([]byte, []int)
Deprecated: Use SubjectFilter.ProtoReflect.Descriptor instead.
func (*SubjectFilter) EqualMessageVT ¶ added in v1.34.0
func (this *SubjectFilter) EqualMessageVT(thatMsg proto.Message) bool
func (*SubjectFilter) EqualVT ¶ added in v1.34.0
func (this *SubjectFilter) EqualVT(that *SubjectFilter) bool
func (*SubjectFilter) GetOptionalRelation ¶ added in v1.34.0
func (x *SubjectFilter) GetOptionalRelation() *SubjectFilter_RelationFilter
func (*SubjectFilter) GetOptionalSubjectId ¶ added in v1.34.0
func (x *SubjectFilter) GetOptionalSubjectId() string
func (*SubjectFilter) GetSubjectType ¶ added in v1.34.0
func (x *SubjectFilter) GetSubjectType() string
func (*SubjectFilter) MarshalToSizedBufferVT ¶ added in v1.34.0
func (m *SubjectFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SubjectFilter) MarshalToVT ¶ added in v1.34.0
func (m *SubjectFilter) MarshalToVT(dAtA []byte) (int, error)
func (*SubjectFilter) MarshalVT ¶ added in v1.34.0
func (m *SubjectFilter) MarshalVT() (dAtA []byte, err error)
func (*SubjectFilter) ProtoMessage ¶ added in v1.34.0
func (*SubjectFilter) ProtoMessage()
func (*SubjectFilter) ProtoReflect ¶ added in v1.34.0
func (x *SubjectFilter) ProtoReflect() protoreflect.Message
func (*SubjectFilter) Reset ¶ added in v1.34.0
func (x *SubjectFilter) Reset()
func (*SubjectFilter) SizeVT ¶ added in v1.34.0
func (m *SubjectFilter) SizeVT() (n int)
func (*SubjectFilter) String ¶ added in v1.34.0
func (x *SubjectFilter) String() string
func (*SubjectFilter) UnmarshalVT ¶ added in v1.34.0
func (m *SubjectFilter) UnmarshalVT(dAtA []byte) error
func (*SubjectFilter) Validate ¶ added in v1.34.0
func (m *SubjectFilter) Validate() error
Validate checks the field values on SubjectFilter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubjectFilter) ValidateAll ¶ added in v1.34.0
func (m *SubjectFilter) ValidateAll() error
ValidateAll checks the field values on SubjectFilter 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 SubjectFilterMultiError, or nil if none found.
type SubjectFilterMultiError ¶ added in v1.34.0
type SubjectFilterMultiError []error
SubjectFilterMultiError is an error wrapping multiple validation errors returned by SubjectFilter.ValidateAll() if the designated constraints aren't met.
func (SubjectFilterMultiError) AllErrors ¶ added in v1.34.0
func (m SubjectFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubjectFilterMultiError) Error ¶ added in v1.34.0
func (m SubjectFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubjectFilterValidationError ¶ added in v1.34.0
type SubjectFilterValidationError struct {
// contains filtered or unexported fields
}
SubjectFilterValidationError is the validation error returned by SubjectFilter.Validate if the designated constraints aren't met.
func (SubjectFilterValidationError) Cause ¶ added in v1.34.0
func (e SubjectFilterValidationError) Cause() error
Cause function returns cause value.
func (SubjectFilterValidationError) Error ¶ added in v1.34.0
func (e SubjectFilterValidationError) Error() string
Error satisfies the builtin error interface
func (SubjectFilterValidationError) ErrorName ¶ added in v1.34.0
func (e SubjectFilterValidationError) ErrorName() string
ErrorName returns error name.
func (SubjectFilterValidationError) Field ¶ added in v1.34.0
func (e SubjectFilterValidationError) Field() string
Field function returns field value.
func (SubjectFilterValidationError) Key ¶ added in v1.34.0
func (e SubjectFilterValidationError) Key() bool
Key function returns key value.
func (SubjectFilterValidationError) Reason ¶ added in v1.34.0
func (e SubjectFilterValidationError) Reason() string
Reason function returns reason value.
type SubjectFilter_RelationFilter ¶ added in v1.34.0
type SubjectFilter_RelationFilter struct { Relation string `protobuf:"bytes,1,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
func (*SubjectFilter_RelationFilter) CloneMessageVT ¶ added in v1.34.0
func (m *SubjectFilter_RelationFilter) CloneMessageVT() proto.Message
func (*SubjectFilter_RelationFilter) CloneVT ¶ added in v1.34.0
func (m *SubjectFilter_RelationFilter) CloneVT() *SubjectFilter_RelationFilter
func (*SubjectFilter_RelationFilter) Descriptor
deprecated
added in
v1.34.0
func (*SubjectFilter_RelationFilter) Descriptor() ([]byte, []int)
Deprecated: Use SubjectFilter_RelationFilter.ProtoReflect.Descriptor instead.
func (*SubjectFilter_RelationFilter) EqualMessageVT ¶ added in v1.34.0
func (this *SubjectFilter_RelationFilter) EqualMessageVT(thatMsg proto.Message) bool
func (*SubjectFilter_RelationFilter) EqualVT ¶ added in v1.34.0
func (this *SubjectFilter_RelationFilter) EqualVT(that *SubjectFilter_RelationFilter) bool
func (*SubjectFilter_RelationFilter) GetRelation ¶ added in v1.34.0
func (x *SubjectFilter_RelationFilter) GetRelation() string
func (*SubjectFilter_RelationFilter) MarshalToSizedBufferVT ¶ added in v1.34.0
func (m *SubjectFilter_RelationFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SubjectFilter_RelationFilter) MarshalToVT ¶ added in v1.34.0
func (m *SubjectFilter_RelationFilter) MarshalToVT(dAtA []byte) (int, error)
func (*SubjectFilter_RelationFilter) MarshalVT ¶ added in v1.34.0
func (m *SubjectFilter_RelationFilter) MarshalVT() (dAtA []byte, err error)
func (*SubjectFilter_RelationFilter) ProtoMessage ¶ added in v1.34.0
func (*SubjectFilter_RelationFilter) ProtoMessage()
func (*SubjectFilter_RelationFilter) ProtoReflect ¶ added in v1.34.0
func (x *SubjectFilter_RelationFilter) ProtoReflect() protoreflect.Message
func (*SubjectFilter_RelationFilter) Reset ¶ added in v1.34.0
func (x *SubjectFilter_RelationFilter) Reset()
func (*SubjectFilter_RelationFilter) SizeVT ¶ added in v1.34.0
func (m *SubjectFilter_RelationFilter) SizeVT() (n int)
func (*SubjectFilter_RelationFilter) String ¶ added in v1.34.0
func (x *SubjectFilter_RelationFilter) String() string
func (*SubjectFilter_RelationFilter) UnmarshalVT ¶ added in v1.34.0
func (m *SubjectFilter_RelationFilter) UnmarshalVT(dAtA []byte) error
func (*SubjectFilter_RelationFilter) Validate ¶ added in v1.34.0
func (m *SubjectFilter_RelationFilter) Validate() error
Validate checks the field values on SubjectFilter_RelationFilter 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 (*SubjectFilter_RelationFilter) ValidateAll ¶ added in v1.34.0
func (m *SubjectFilter_RelationFilter) ValidateAll() error
ValidateAll checks the field values on SubjectFilter_RelationFilter 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 SubjectFilter_RelationFilterMultiError, or nil if none found.
type SubjectFilter_RelationFilterMultiError ¶ added in v1.34.0
type SubjectFilter_RelationFilterMultiError []error
SubjectFilter_RelationFilterMultiError is an error wrapping multiple validation errors returned by SubjectFilter_RelationFilter.ValidateAll() if the designated constraints aren't met.
func (SubjectFilter_RelationFilterMultiError) AllErrors ¶ added in v1.34.0
func (m SubjectFilter_RelationFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubjectFilter_RelationFilterMultiError) Error ¶ added in v1.34.0
func (m SubjectFilter_RelationFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubjectFilter_RelationFilterValidationError ¶ added in v1.34.0
type SubjectFilter_RelationFilterValidationError struct {
// contains filtered or unexported fields
}
SubjectFilter_RelationFilterValidationError is the validation error returned by SubjectFilter_RelationFilter.Validate if the designated constraints aren't met.
func (SubjectFilter_RelationFilterValidationError) Cause ¶ added in v1.34.0
func (e SubjectFilter_RelationFilterValidationError) Cause() error
Cause function returns cause value.
func (SubjectFilter_RelationFilterValidationError) Error ¶ added in v1.34.0
func (e SubjectFilter_RelationFilterValidationError) Error() string
Error satisfies the builtin error interface
func (SubjectFilter_RelationFilterValidationError) ErrorName ¶ added in v1.34.0
func (e SubjectFilter_RelationFilterValidationError) ErrorName() string
ErrorName returns error name.
func (SubjectFilter_RelationFilterValidationError) Field ¶ added in v1.34.0
func (e SubjectFilter_RelationFilterValidationError) Field() string
Field function returns field value.
func (SubjectFilter_RelationFilterValidationError) Key ¶ added in v1.34.0
func (e SubjectFilter_RelationFilterValidationError) Key() bool
Key function returns key value.
func (SubjectFilter_RelationFilterValidationError) Reason ¶ added in v1.34.0
func (e SubjectFilter_RelationFilterValidationError) 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) CloneMessageVT ¶ added in v1.22.0
func (m *TupleToUserset) CloneMessageVT() proto.Message
func (*TupleToUserset) CloneVT ¶ added in v1.13.0
func (m *TupleToUserset) CloneVT() *TupleToUserset
func (*TupleToUserset) Descriptor
deprecated
func (*TupleToUserset) Descriptor() ([]byte, []int)
Deprecated: Use TupleToUserset.ProtoReflect.Descriptor instead.
func (*TupleToUserset) EqualMessageVT ¶ added in v1.22.0
func (this *TupleToUserset) EqualMessageVT(thatMsg proto.Message) bool
func (*TupleToUserset) EqualVT ¶ added in v1.15.0
func (this *TupleToUserset) EqualVT(that *TupleToUserset) bool
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) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *TupleToUserset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TupleToUserset) MarshalToVT ¶ added in v1.13.0
func (m *TupleToUserset) MarshalToVT(dAtA []byte) (int, error)
func (*TupleToUserset) MarshalVT ¶ added in v1.13.0
func (m *TupleToUserset) MarshalVT() (dAtA []byte, err error)
func (*TupleToUserset) ProtoMessage ¶
func (*TupleToUserset) ProtoMessage()
func (*TupleToUserset) ProtoReflect ¶
func (x *TupleToUserset) ProtoReflect() protoreflect.Message
func (*TupleToUserset) Reset ¶
func (x *TupleToUserset) Reset()
func (*TupleToUserset) SizeVT ¶ added in v1.13.0
func (m *TupleToUserset) SizeVT() (n int)
func (*TupleToUserset) String ¶
func (x *TupleToUserset) String() string
func (*TupleToUserset) UnmarshalVT ¶ added in v1.13.0
func (m *TupleToUserset) UnmarshalVT(dAtA []byte) error
func (*TupleToUserset) Validate ¶
func (m *TupleToUserset) Validate() error
Validate checks the field values on TupleToUserset with the rules defined in the proto definition for this message. If any rules are violated, 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) CloneMessageVT ¶ added in v1.22.0
func (m *TupleToUserset_Tupleset) CloneMessageVT() proto.Message
func (*TupleToUserset_Tupleset) CloneVT ¶ added in v1.13.0
func (m *TupleToUserset_Tupleset) CloneVT() *TupleToUserset_Tupleset
func (*TupleToUserset_Tupleset) Descriptor
deprecated
func (*TupleToUserset_Tupleset) Descriptor() ([]byte, []int)
Deprecated: Use TupleToUserset_Tupleset.ProtoReflect.Descriptor instead.
func (*TupleToUserset_Tupleset) EqualMessageVT ¶ added in v1.22.0
func (this *TupleToUserset_Tupleset) EqualMessageVT(thatMsg proto.Message) bool
func (*TupleToUserset_Tupleset) EqualVT ¶ added in v1.15.0
func (this *TupleToUserset_Tupleset) EqualVT(that *TupleToUserset_Tupleset) bool
func (*TupleToUserset_Tupleset) GetRelation ¶
func (x *TupleToUserset_Tupleset) GetRelation() string
func (*TupleToUserset_Tupleset) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *TupleToUserset_Tupleset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TupleToUserset_Tupleset) MarshalToVT ¶ added in v1.13.0
func (m *TupleToUserset_Tupleset) MarshalToVT(dAtA []byte) (int, error)
func (*TupleToUserset_Tupleset) MarshalVT ¶ added in v1.13.0
func (m *TupleToUserset_Tupleset) MarshalVT() (dAtA []byte, err error)
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) SizeVT ¶ added in v1.13.0
func (m *TupleToUserset_Tupleset) SizeVT() (n int)
func (*TupleToUserset_Tupleset) String ¶
func (x *TupleToUserset_Tupleset) String() string
func (*TupleToUserset_Tupleset) UnmarshalVT ¶ added in v1.13.0
func (m *TupleToUserset_Tupleset) UnmarshalVT(dAtA []byte) error
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 { // * // allowed_direct_relations are those relation types allowed to be placed into a relation, // e.g. the types of subjects allowed when a relationship is written to the relation AllowedDirectRelations []*AllowedRelation `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
* TypeInformation defines the allowed types for a relation.
func (*TypeInformation) CloneMessageVT ¶ added in v1.22.0
func (m *TypeInformation) CloneMessageVT() proto.Message
func (*TypeInformation) CloneVT ¶ added in v1.13.0
func (m *TypeInformation) CloneVT() *TypeInformation
func (*TypeInformation) Descriptor
deprecated
func (*TypeInformation) Descriptor() ([]byte, []int)
Deprecated: Use TypeInformation.ProtoReflect.Descriptor instead.
func (*TypeInformation) EqualMessageVT ¶ added in v1.22.0
func (this *TypeInformation) EqualMessageVT(thatMsg proto.Message) bool
func (*TypeInformation) EqualVT ¶ added in v1.15.0
func (this *TypeInformation) EqualVT(that *TypeInformation) bool
func (*TypeInformation) GetAllowedDirectRelations ¶
func (x *TypeInformation) GetAllowedDirectRelations() []*AllowedRelation
func (*TypeInformation) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *TypeInformation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TypeInformation) MarshalToVT ¶ added in v1.13.0
func (m *TypeInformation) MarshalToVT(dAtA []byte) (int, error)
func (*TypeInformation) MarshalVT ¶ added in v1.13.0
func (m *TypeInformation) MarshalVT() (dAtA []byte, err error)
func (*TypeInformation) ProtoMessage ¶
func (*TypeInformation) ProtoMessage()
func (*TypeInformation) ProtoReflect ¶
func (x *TypeInformation) ProtoReflect() protoreflect.Message
func (*TypeInformation) Reset ¶
func (x *TypeInformation) Reset()
func (*TypeInformation) SizeVT ¶ added in v1.13.0
func (m *TypeInformation) SizeVT() (n int)
func (*TypeInformation) String ¶
func (x *TypeInformation) String() string
func (*TypeInformation) UnmarshalVT ¶ added in v1.13.0
func (m *TypeInformation) UnmarshalVT(dAtA []byte) error
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 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) CloneMessageVT ¶ added in v1.22.0
func (m *UsersetRewrite) CloneMessageVT() proto.Message
func (*UsersetRewrite) CloneVT ¶ added in v1.13.0
func (m *UsersetRewrite) CloneVT() *UsersetRewrite
func (*UsersetRewrite) Descriptor
deprecated
func (*UsersetRewrite) Descriptor() ([]byte, []int)
Deprecated: Use UsersetRewrite.ProtoReflect.Descriptor instead.
func (*UsersetRewrite) EqualMessageVT ¶ added in v1.22.0
func (this *UsersetRewrite) EqualMessageVT(thatMsg proto.Message) bool
func (*UsersetRewrite) EqualVT ¶ added in v1.15.0
func (this *UsersetRewrite) EqualVT(that *UsersetRewrite) bool
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) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *UsersetRewrite) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UsersetRewrite) MarshalToVT ¶ added in v1.13.0
func (m *UsersetRewrite) MarshalToVT(dAtA []byte) (int, error)
func (*UsersetRewrite) MarshalVT ¶ added in v1.13.0
func (m *UsersetRewrite) MarshalVT() (dAtA []byte, err error)
func (*UsersetRewrite) ProtoMessage ¶
func (*UsersetRewrite) ProtoMessage()
func (*UsersetRewrite) ProtoReflect ¶
func (x *UsersetRewrite) ProtoReflect() protoreflect.Message
func (*UsersetRewrite) Reset ¶
func (x *UsersetRewrite) Reset()
func (*UsersetRewrite) SizeVT ¶ added in v1.13.0
func (m *UsersetRewrite) SizeVT() (n int)
func (*UsersetRewrite) String ¶
func (x *UsersetRewrite) String() string
func (*UsersetRewrite) UnmarshalVT ¶ added in v1.13.0
func (m *UsersetRewrite) UnmarshalVT(dAtA []byte) error
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"`
}
func (*UsersetRewrite_Exclusion) CloneVT ¶ added in v1.13.0
func (m *UsersetRewrite_Exclusion) CloneVT() isUsersetRewrite_RewriteOperation
func (*UsersetRewrite_Exclusion) EqualVT ¶ added in v1.15.0
func (this *UsersetRewrite_Exclusion) EqualVT(thatIface isUsersetRewrite_RewriteOperation) bool
func (*UsersetRewrite_Exclusion) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *UsersetRewrite_Exclusion) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UsersetRewrite_Exclusion) MarshalToVT ¶ added in v1.13.0
func (m *UsersetRewrite_Exclusion) MarshalToVT(dAtA []byte) (int, error)
func (*UsersetRewrite_Exclusion) SizeVT ¶ added in v1.13.0
func (m *UsersetRewrite_Exclusion) SizeVT() (n int)
type UsersetRewrite_Intersection ¶
type UsersetRewrite_Intersection struct {
Intersection *SetOperation `protobuf:"bytes,2,opt,name=intersection,proto3,oneof"`
}
func (*UsersetRewrite_Intersection) CloneVT ¶ added in v1.13.0
func (m *UsersetRewrite_Intersection) CloneVT() isUsersetRewrite_RewriteOperation
func (*UsersetRewrite_Intersection) EqualVT ¶ added in v1.15.0
func (this *UsersetRewrite_Intersection) EqualVT(thatIface isUsersetRewrite_RewriteOperation) bool
func (*UsersetRewrite_Intersection) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *UsersetRewrite_Intersection) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UsersetRewrite_Intersection) MarshalToVT ¶ added in v1.13.0
func (m *UsersetRewrite_Intersection) MarshalToVT(dAtA []byte) (int, error)
func (*UsersetRewrite_Intersection) SizeVT ¶ added in v1.13.0
func (m *UsersetRewrite_Intersection) SizeVT() (n int)
type UsersetRewrite_Union ¶
type UsersetRewrite_Union struct {
Union *SetOperation `protobuf:"bytes,1,opt,name=union,proto3,oneof"`
}
func (*UsersetRewrite_Union) CloneVT ¶ added in v1.13.0
func (m *UsersetRewrite_Union) CloneVT() isUsersetRewrite_RewriteOperation
func (*UsersetRewrite_Union) EqualVT ¶ added in v1.15.0
func (this *UsersetRewrite_Union) EqualVT(thatIface isUsersetRewrite_RewriteOperation) bool
func (*UsersetRewrite_Union) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *UsersetRewrite_Union) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UsersetRewrite_Union) MarshalToVT ¶ added in v1.13.0
func (m *UsersetRewrite_Union) MarshalToVT(dAtA []byte) (int, error)
func (*UsersetRewrite_Union) SizeVT ¶ added in v1.13.0
func (m *UsersetRewrite_Union) SizeVT() (n int)
type Zookie ¶
type Zookie struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*Zookie) CloneMessageVT ¶ added in v1.22.0
func (*Zookie) Descriptor
deprecated
func (*Zookie) EqualMessageVT ¶ added in v1.22.0
func (*Zookie) MarshalToSizedBufferVT ¶ added in v1.13.0
func (*Zookie) MarshalToVT ¶ added in v1.13.0
func (*Zookie) ProtoMessage ¶
func (*Zookie) ProtoMessage()
func (*Zookie) ProtoReflect ¶
func (x *Zookie) ProtoReflect() protoreflect.Message
func (*Zookie) UnmarshalVT ¶ added in v1.13.0
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.