Documentation ¶
Index ¶
- Variables
- type AlgebraicSubjectSet
- func (m *AlgebraicSubjectSet) CloneMessageVT() proto.Message
- func (m *AlgebraicSubjectSet) CloneVT() *AlgebraicSubjectSet
- func (*AlgebraicSubjectSet) Descriptor() ([]byte, []int)deprecated
- func (this *AlgebraicSubjectSet) EqualMessageVT(thatMsg proto.Message) bool
- func (this *AlgebraicSubjectSet) EqualVT(that *AlgebraicSubjectSet) bool
- func (x *AlgebraicSubjectSet) GetChildren() []*PermissionRelationshipTree
- func (x *AlgebraicSubjectSet) GetOperation() AlgebraicSubjectSet_Operation
- func (m *AlgebraicSubjectSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AlgebraicSubjectSet) MarshalToVT(dAtA []byte) (int, error)
- func (m *AlgebraicSubjectSet) MarshalVT() (dAtA []byte, err error)
- func (*AlgebraicSubjectSet) ProtoMessage()
- func (x *AlgebraicSubjectSet) ProtoReflect() protoreflect.Message
- func (x *AlgebraicSubjectSet) Reset()
- func (m *AlgebraicSubjectSet) SizeVT() (n int)
- func (x *AlgebraicSubjectSet) String() string
- func (m *AlgebraicSubjectSet) UnmarshalVT(dAtA []byte) error
- func (m *AlgebraicSubjectSet) Validate() error
- func (m *AlgebraicSubjectSet) ValidateAll() error
- type AlgebraicSubjectSetMultiError
- type AlgebraicSubjectSetValidationError
- func (e AlgebraicSubjectSetValidationError) Cause() error
- func (e AlgebraicSubjectSetValidationError) Error() string
- func (e AlgebraicSubjectSetValidationError) ErrorName() string
- func (e AlgebraicSubjectSetValidationError) Field() string
- func (e AlgebraicSubjectSetValidationError) Key() bool
- func (e AlgebraicSubjectSetValidationError) Reason() string
- type AlgebraicSubjectSet_Operation
- func (AlgebraicSubjectSet_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x AlgebraicSubjectSet_Operation) Enum() *AlgebraicSubjectSet_Operation
- func (AlgebraicSubjectSet_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x AlgebraicSubjectSet_Operation) Number() protoreflect.EnumNumber
- func (x AlgebraicSubjectSet_Operation) String() string
- func (AlgebraicSubjectSet_Operation) Type() protoreflect.EnumType
- type CaveatEvalInfo
- func (m *CaveatEvalInfo) CloneMessageVT() proto.Message
- func (m *CaveatEvalInfo) CloneVT() *CaveatEvalInfo
- func (*CaveatEvalInfo) Descriptor() ([]byte, []int)deprecated
- func (this *CaveatEvalInfo) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CaveatEvalInfo) EqualVT(that *CaveatEvalInfo) bool
- func (x *CaveatEvalInfo) GetCaveatName() string
- func (x *CaveatEvalInfo) GetContext() *structpb.Struct
- func (x *CaveatEvalInfo) GetExpression() string
- func (x *CaveatEvalInfo) GetPartialCaveatInfo() *PartialCaveatInfo
- func (x *CaveatEvalInfo) GetResult() CaveatEvalInfo_Result
- func (m *CaveatEvalInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CaveatEvalInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *CaveatEvalInfo) MarshalVT() (dAtA []byte, err error)
- func (*CaveatEvalInfo) ProtoMessage()
- func (x *CaveatEvalInfo) ProtoReflect() protoreflect.Message
- func (x *CaveatEvalInfo) Reset()
- func (m *CaveatEvalInfo) SizeVT() (n int)
- func (x *CaveatEvalInfo) String() string
- func (m *CaveatEvalInfo) UnmarshalVT(dAtA []byte) error
- func (m *CaveatEvalInfo) Validate() error
- func (m *CaveatEvalInfo) ValidateAll() error
- type CaveatEvalInfoMultiError
- type CaveatEvalInfoValidationError
- func (e CaveatEvalInfoValidationError) Cause() error
- func (e CaveatEvalInfoValidationError) Error() string
- func (e CaveatEvalInfoValidationError) ErrorName() string
- func (e CaveatEvalInfoValidationError) Field() string
- func (e CaveatEvalInfoValidationError) Key() bool
- func (e CaveatEvalInfoValidationError) Reason() string
- type CaveatEvalInfo_Result
- func (CaveatEvalInfo_Result) Descriptor() protoreflect.EnumDescriptor
- func (x CaveatEvalInfo_Result) Enum() *CaveatEvalInfo_Result
- func (CaveatEvalInfo_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x CaveatEvalInfo_Result) Number() protoreflect.EnumNumber
- func (x CaveatEvalInfo_Result) String() string
- func (CaveatEvalInfo_Result) Type() protoreflect.EnumType
- type CheckDebugTrace
- func (m *CheckDebugTrace) CloneMessageVT() proto.Message
- func (m *CheckDebugTrace) CloneVT() *CheckDebugTrace
- func (*CheckDebugTrace) Descriptor() ([]byte, []int)deprecated
- func (this *CheckDebugTrace) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CheckDebugTrace) EqualVT(that *CheckDebugTrace) bool
- func (x *CheckDebugTrace) GetCaveatEvaluationInfo() *CaveatEvalInfo
- func (x *CheckDebugTrace) GetDuration() *durationpb.Duration
- func (x *CheckDebugTrace) GetPermission() string
- func (x *CheckDebugTrace) GetPermissionType() CheckDebugTrace_PermissionType
- func (m *CheckDebugTrace) GetResolution() isCheckDebugTrace_Resolution
- func (x *CheckDebugTrace) GetResource() *ObjectReference
- func (x *CheckDebugTrace) GetResult() CheckDebugTrace_Permissionship
- func (x *CheckDebugTrace) GetSubProblems() *CheckDebugTrace_SubProblems
- func (x *CheckDebugTrace) GetSubject() *SubjectReference
- func (x *CheckDebugTrace) GetWasCachedResult() bool
- func (m *CheckDebugTrace) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckDebugTrace) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckDebugTrace) MarshalVT() (dAtA []byte, err error)
- func (*CheckDebugTrace) ProtoMessage()
- func (x *CheckDebugTrace) ProtoReflect() protoreflect.Message
- func (x *CheckDebugTrace) Reset()
- func (m *CheckDebugTrace) SizeVT() (n int)
- func (x *CheckDebugTrace) String() string
- func (m *CheckDebugTrace) UnmarshalVT(dAtA []byte) error
- func (m *CheckDebugTrace) Validate() error
- func (m *CheckDebugTrace) ValidateAll() error
- type CheckDebugTraceMultiError
- type CheckDebugTraceValidationError
- func (e CheckDebugTraceValidationError) Cause() error
- func (e CheckDebugTraceValidationError) Error() string
- func (e CheckDebugTraceValidationError) ErrorName() string
- func (e CheckDebugTraceValidationError) Field() string
- func (e CheckDebugTraceValidationError) Key() bool
- func (e CheckDebugTraceValidationError) Reason() string
- type CheckDebugTrace_PermissionType
- func (CheckDebugTrace_PermissionType) Descriptor() protoreflect.EnumDescriptor
- func (x CheckDebugTrace_PermissionType) Enum() *CheckDebugTrace_PermissionType
- func (CheckDebugTrace_PermissionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CheckDebugTrace_PermissionType) Number() protoreflect.EnumNumber
- func (x CheckDebugTrace_PermissionType) String() string
- func (CheckDebugTrace_PermissionType) Type() protoreflect.EnumType
- type CheckDebugTrace_Permissionship
- func (CheckDebugTrace_Permissionship) Descriptor() protoreflect.EnumDescriptor
- func (x CheckDebugTrace_Permissionship) Enum() *CheckDebugTrace_Permissionship
- func (CheckDebugTrace_Permissionship) EnumDescriptor() ([]byte, []int)deprecated
- func (x CheckDebugTrace_Permissionship) Number() protoreflect.EnumNumber
- func (x CheckDebugTrace_Permissionship) String() string
- func (CheckDebugTrace_Permissionship) Type() protoreflect.EnumType
- type CheckDebugTrace_SubProblems
- func (m *CheckDebugTrace_SubProblems) CloneMessageVT() proto.Message
- func (m *CheckDebugTrace_SubProblems) CloneVT() *CheckDebugTrace_SubProblems
- func (*CheckDebugTrace_SubProblems) Descriptor() ([]byte, []int)deprecated
- func (this *CheckDebugTrace_SubProblems) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CheckDebugTrace_SubProblems) EqualVT(that *CheckDebugTrace_SubProblems) bool
- func (x *CheckDebugTrace_SubProblems) GetTraces() []*CheckDebugTrace
- func (m *CheckDebugTrace_SubProblems) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckDebugTrace_SubProblems) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckDebugTrace_SubProblems) MarshalVT() (dAtA []byte, err error)
- func (*CheckDebugTrace_SubProblems) ProtoMessage()
- func (x *CheckDebugTrace_SubProblems) ProtoReflect() protoreflect.Message
- func (x *CheckDebugTrace_SubProblems) Reset()
- func (m *CheckDebugTrace_SubProblems) SizeVT() (n int)
- func (x *CheckDebugTrace_SubProblems) String() string
- func (m *CheckDebugTrace_SubProblems) UnmarshalVT(dAtA []byte) error
- func (m *CheckDebugTrace_SubProblems) Validate() error
- func (m *CheckDebugTrace_SubProblems) ValidateAll() error
- type CheckDebugTrace_SubProblemsMultiError
- type CheckDebugTrace_SubProblemsValidationError
- func (e CheckDebugTrace_SubProblemsValidationError) Cause() error
- func (e CheckDebugTrace_SubProblemsValidationError) Error() string
- func (e CheckDebugTrace_SubProblemsValidationError) ErrorName() string
- func (e CheckDebugTrace_SubProblemsValidationError) Field() string
- func (e CheckDebugTrace_SubProblemsValidationError) Key() bool
- func (e CheckDebugTrace_SubProblemsValidationError) Reason() string
- type CheckDebugTrace_SubProblems_
- func (m *CheckDebugTrace_SubProblems_) CloneVT() isCheckDebugTrace_Resolution
- func (this *CheckDebugTrace_SubProblems_) EqualVT(thatIface isCheckDebugTrace_Resolution) bool
- func (m *CheckDebugTrace_SubProblems_) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckDebugTrace_SubProblems_) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckDebugTrace_SubProblems_) SizeVT() (n int)
- type CheckDebugTrace_WasCachedResult
- func (m *CheckDebugTrace_WasCachedResult) CloneVT() isCheckDebugTrace_Resolution
- func (this *CheckDebugTrace_WasCachedResult) EqualVT(thatIface isCheckDebugTrace_Resolution) bool
- func (m *CheckDebugTrace_WasCachedResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckDebugTrace_WasCachedResult) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckDebugTrace_WasCachedResult) SizeVT() (n int)
- 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 Cursor
- func (m *Cursor) CloneMessageVT() proto.Message
- func (m *Cursor) CloneVT() *Cursor
- func (*Cursor) Descriptor() ([]byte, []int)deprecated
- func (this *Cursor) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Cursor) EqualVT(that *Cursor) bool
- func (x *Cursor) GetToken() string
- func (m *Cursor) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Cursor) MarshalToVT(dAtA []byte) (int, error)
- func (m *Cursor) MarshalVT() (dAtA []byte, err error)
- func (*Cursor) ProtoMessage()
- func (x *Cursor) ProtoReflect() protoreflect.Message
- func (x *Cursor) Reset()
- func (m *Cursor) SizeVT() (n int)
- func (x *Cursor) String() string
- func (m *Cursor) UnmarshalVT(dAtA []byte) error
- func (m *Cursor) Validate() error
- func (m *Cursor) ValidateAll() error
- type CursorMultiError
- type CursorValidationError
- type DebugInformation
- func (m *DebugInformation) CloneMessageVT() proto.Message
- func (m *DebugInformation) CloneVT() *DebugInformation
- func (*DebugInformation) Descriptor() ([]byte, []int)deprecated
- func (this *DebugInformation) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DebugInformation) EqualVT(that *DebugInformation) bool
- func (x *DebugInformation) GetCheck() *CheckDebugTrace
- func (x *DebugInformation) GetSchemaUsed() string
- func (m *DebugInformation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DebugInformation) MarshalToVT(dAtA []byte) (int, error)
- func (m *DebugInformation) MarshalVT() (dAtA []byte, err error)
- func (*DebugInformation) ProtoMessage()
- func (x *DebugInformation) ProtoReflect() protoreflect.Message
- func (x *DebugInformation) Reset()
- func (m *DebugInformation) SizeVT() (n int)
- func (x *DebugInformation) String() string
- func (m *DebugInformation) UnmarshalVT(dAtA []byte) error
- func (m *DebugInformation) Validate() error
- func (m *DebugInformation) ValidateAll() error
- type DebugInformationMultiError
- type DebugInformationValidationError
- func (e DebugInformationValidationError) Cause() error
- func (e DebugInformationValidationError) Error() string
- func (e DebugInformationValidationError) ErrorName() string
- func (e DebugInformationValidationError) Field() string
- func (e DebugInformationValidationError) Key() bool
- func (e DebugInformationValidationError) Reason() string
- type DirectSubjectSet
- func (m *DirectSubjectSet) CloneMessageVT() proto.Message
- func (m *DirectSubjectSet) CloneVT() *DirectSubjectSet
- func (*DirectSubjectSet) Descriptor() ([]byte, []int)deprecated
- func (this *DirectSubjectSet) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DirectSubjectSet) EqualVT(that *DirectSubjectSet) bool
- func (x *DirectSubjectSet) GetSubjects() []*SubjectReference
- func (m *DirectSubjectSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DirectSubjectSet) MarshalToVT(dAtA []byte) (int, error)
- func (m *DirectSubjectSet) MarshalVT() (dAtA []byte, err error)
- func (*DirectSubjectSet) ProtoMessage()
- func (x *DirectSubjectSet) ProtoReflect() protoreflect.Message
- func (x *DirectSubjectSet) Reset()
- func (m *DirectSubjectSet) SizeVT() (n int)
- func (x *DirectSubjectSet) String() string
- func (m *DirectSubjectSet) UnmarshalVT(dAtA []byte) error
- func (m *DirectSubjectSet) Validate() error
- func (m *DirectSubjectSet) ValidateAll() error
- type DirectSubjectSetMultiError
- type DirectSubjectSetValidationError
- func (e DirectSubjectSetValidationError) Cause() error
- func (e DirectSubjectSetValidationError) Error() string
- func (e DirectSubjectSetValidationError) ErrorName() string
- func (e DirectSubjectSetValidationError) Field() string
- func (e DirectSubjectSetValidationError) Key() bool
- func (e DirectSubjectSetValidationError) Reason() string
- type ObjectReference
- func (m *ObjectReference) CloneMessageVT() proto.Message
- func (m *ObjectReference) CloneVT() *ObjectReference
- func (*ObjectReference) Descriptor() ([]byte, []int)deprecated
- func (this *ObjectReference) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ObjectReference) EqualVT(that *ObjectReference) bool
- func (x *ObjectReference) GetObjectId() string
- func (x *ObjectReference) GetObjectType() string
- func (m *ObjectReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ObjectReference) MarshalToVT(dAtA []byte) (int, error)
- func (m *ObjectReference) MarshalVT() (dAtA []byte, err error)
- func (*ObjectReference) ProtoMessage()
- func (x *ObjectReference) ProtoReflect() protoreflect.Message
- func (x *ObjectReference) Reset()
- func (m *ObjectReference) SizeVT() (n int)
- func (x *ObjectReference) String() string
- func (m *ObjectReference) UnmarshalVT(dAtA []byte) error
- func (m *ObjectReference) Validate() error
- func (m *ObjectReference) ValidateAll() error
- type ObjectReferenceMultiError
- type ObjectReferenceValidationError
- func (e ObjectReferenceValidationError) Cause() error
- func (e ObjectReferenceValidationError) Error() string
- func (e ObjectReferenceValidationError) ErrorName() string
- func (e ObjectReferenceValidationError) Field() string
- func (e ObjectReferenceValidationError) Key() bool
- func (e ObjectReferenceValidationError) Reason() string
- type PartialCaveatInfo
- func (m *PartialCaveatInfo) CloneMessageVT() proto.Message
- func (m *PartialCaveatInfo) CloneVT() *PartialCaveatInfo
- func (*PartialCaveatInfo) Descriptor() ([]byte, []int)deprecated
- func (this *PartialCaveatInfo) EqualMessageVT(thatMsg proto.Message) bool
- func (this *PartialCaveatInfo) EqualVT(that *PartialCaveatInfo) bool
- func (x *PartialCaveatInfo) GetMissingRequiredContext() []string
- func (m *PartialCaveatInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PartialCaveatInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *PartialCaveatInfo) MarshalVT() (dAtA []byte, err error)
- func (*PartialCaveatInfo) ProtoMessage()
- func (x *PartialCaveatInfo) ProtoReflect() protoreflect.Message
- func (x *PartialCaveatInfo) Reset()
- func (m *PartialCaveatInfo) SizeVT() (n int)
- func (x *PartialCaveatInfo) String() string
- func (m *PartialCaveatInfo) UnmarshalVT(dAtA []byte) error
- func (m *PartialCaveatInfo) Validate() error
- func (m *PartialCaveatInfo) ValidateAll() error
- type PartialCaveatInfoMultiError
- type PartialCaveatInfoValidationError
- func (e PartialCaveatInfoValidationError) Cause() error
- func (e PartialCaveatInfoValidationError) Error() string
- func (e PartialCaveatInfoValidationError) ErrorName() string
- func (e PartialCaveatInfoValidationError) Field() string
- func (e PartialCaveatInfoValidationError) Key() bool
- func (e PartialCaveatInfoValidationError) Reason() string
- type PermissionRelationshipTree
- func (m *PermissionRelationshipTree) CloneMessageVT() proto.Message
- func (m *PermissionRelationshipTree) CloneVT() *PermissionRelationshipTree
- func (*PermissionRelationshipTree) Descriptor() ([]byte, []int)deprecated
- func (this *PermissionRelationshipTree) EqualMessageVT(thatMsg proto.Message) bool
- func (this *PermissionRelationshipTree) EqualVT(that *PermissionRelationshipTree) bool
- func (x *PermissionRelationshipTree) GetExpandedObject() *ObjectReference
- func (x *PermissionRelationshipTree) GetExpandedRelation() string
- func (x *PermissionRelationshipTree) GetIntermediate() *AlgebraicSubjectSet
- func (x *PermissionRelationshipTree) GetLeaf() *DirectSubjectSet
- func (m *PermissionRelationshipTree) GetTreeType() isPermissionRelationshipTree_TreeType
- func (m *PermissionRelationshipTree) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionRelationshipTree) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionRelationshipTree) MarshalVT() (dAtA []byte, err error)
- func (*PermissionRelationshipTree) ProtoMessage()
- func (x *PermissionRelationshipTree) ProtoReflect() protoreflect.Message
- func (x *PermissionRelationshipTree) Reset()
- func (m *PermissionRelationshipTree) SizeVT() (n int)
- func (x *PermissionRelationshipTree) String() string
- func (m *PermissionRelationshipTree) UnmarshalVT(dAtA []byte) error
- func (m *PermissionRelationshipTree) Validate() error
- func (m *PermissionRelationshipTree) ValidateAll() error
- type PermissionRelationshipTreeMultiError
- type PermissionRelationshipTreeValidationError
- func (e PermissionRelationshipTreeValidationError) Cause() error
- func (e PermissionRelationshipTreeValidationError) Error() string
- func (e PermissionRelationshipTreeValidationError) ErrorName() string
- func (e PermissionRelationshipTreeValidationError) Field() string
- func (e PermissionRelationshipTreeValidationError) Key() bool
- func (e PermissionRelationshipTreeValidationError) Reason() string
- type PermissionRelationshipTree_Intermediate
- func (m *PermissionRelationshipTree_Intermediate) CloneVT() isPermissionRelationshipTree_TreeType
- func (this *PermissionRelationshipTree_Intermediate) EqualVT(thatIface isPermissionRelationshipTree_TreeType) bool
- func (m *PermissionRelationshipTree_Intermediate) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionRelationshipTree_Intermediate) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionRelationshipTree_Intermediate) SizeVT() (n int)
- type PermissionRelationshipTree_Leaf
- func (m *PermissionRelationshipTree_Leaf) CloneVT() isPermissionRelationshipTree_TreeType
- func (this *PermissionRelationshipTree_Leaf) EqualVT(thatIface isPermissionRelationshipTree_TreeType) bool
- func (m *PermissionRelationshipTree_Leaf) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionRelationshipTree_Leaf) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionRelationshipTree_Leaf) SizeVT() (n int)
- type Relationship
- func (m *Relationship) CloneMessageVT() proto.Message
- func (m *Relationship) CloneVT() *Relationship
- func (*Relationship) Descriptor() ([]byte, []int)deprecated
- func (this *Relationship) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Relationship) EqualVT(that *Relationship) bool
- func (x *Relationship) GetOptionalCaveat() *ContextualizedCaveat
- func (x *Relationship) GetOptionalComment() string
- func (x *Relationship) GetOptionalDescription() string
- func (x *Relationship) GetRelation() string
- func (x *Relationship) GetResource() *ObjectReference
- func (x *Relationship) GetSubject() *SubjectReference
- func (m *Relationship) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Relationship) MarshalToVT(dAtA []byte) (int, error)
- func (m *Relationship) MarshalVT() (dAtA []byte, err error)
- func (*Relationship) ProtoMessage()
- func (x *Relationship) ProtoReflect() protoreflect.Message
- func (x *Relationship) Reset()
- func (m *Relationship) SizeVT() (n int)
- func (x *Relationship) String() string
- func (m *Relationship) UnmarshalVT(dAtA []byte) error
- func (m *Relationship) Validate() error
- func (m *Relationship) ValidateAll() error
- type RelationshipMultiError
- type RelationshipUpdate
- func (m *RelationshipUpdate) CloneMessageVT() proto.Message
- func (m *RelationshipUpdate) CloneVT() *RelationshipUpdate
- func (*RelationshipUpdate) Descriptor() ([]byte, []int)deprecated
- func (this *RelationshipUpdate) EqualMessageVT(thatMsg proto.Message) bool
- func (this *RelationshipUpdate) EqualVT(that *RelationshipUpdate) bool
- func (x *RelationshipUpdate) GetOperation() RelationshipUpdate_Operation
- func (x *RelationshipUpdate) GetRelationship() *Relationship
- func (m *RelationshipUpdate) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationshipUpdate) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationshipUpdate) MarshalVT() (dAtA []byte, err error)
- func (*RelationshipUpdate) ProtoMessage()
- func (x *RelationshipUpdate) ProtoReflect() protoreflect.Message
- func (x *RelationshipUpdate) Reset()
- func (m *RelationshipUpdate) SizeVT() (n int)
- func (x *RelationshipUpdate) String() string
- func (m *RelationshipUpdate) UnmarshalVT(dAtA []byte) error
- func (m *RelationshipUpdate) Validate() error
- func (m *RelationshipUpdate) ValidateAll() error
- type RelationshipUpdateMultiError
- type RelationshipUpdateValidationError
- func (e RelationshipUpdateValidationError) Cause() error
- func (e RelationshipUpdateValidationError) Error() string
- func (e RelationshipUpdateValidationError) ErrorName() string
- func (e RelationshipUpdateValidationError) Field() string
- func (e RelationshipUpdateValidationError) Key() bool
- func (e RelationshipUpdateValidationError) Reason() string
- type RelationshipUpdate_Operation
- func (RelationshipUpdate_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x RelationshipUpdate_Operation) Enum() *RelationshipUpdate_Operation
- func (RelationshipUpdate_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x RelationshipUpdate_Operation) Number() protoreflect.EnumNumber
- func (x RelationshipUpdate_Operation) String() string
- func (RelationshipUpdate_Operation) Type() protoreflect.EnumType
- type RelationshipValidationError
- func (e RelationshipValidationError) Cause() error
- func (e RelationshipValidationError) Error() string
- func (e RelationshipValidationError) ErrorName() string
- func (e RelationshipValidationError) Field() string
- func (e RelationshipValidationError) Key() bool
- func (e RelationshipValidationError) Reason() string
- type SubjectReference
- func (m *SubjectReference) CloneMessageVT() proto.Message
- func (m *SubjectReference) CloneVT() *SubjectReference
- func (*SubjectReference) Descriptor() ([]byte, []int)deprecated
- func (this *SubjectReference) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SubjectReference) EqualVT(that *SubjectReference) bool
- func (x *SubjectReference) GetObject() *ObjectReference
- func (x *SubjectReference) GetOptionalRelation() string
- func (m *SubjectReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SubjectReference) MarshalToVT(dAtA []byte) (int, error)
- func (m *SubjectReference) MarshalVT() (dAtA []byte, err error)
- func (*SubjectReference) ProtoMessage()
- func (x *SubjectReference) ProtoReflect() protoreflect.Message
- func (x *SubjectReference) Reset()
- func (m *SubjectReference) SizeVT() (n int)
- func (x *SubjectReference) String() string
- func (m *SubjectReference) UnmarshalVT(dAtA []byte) error
- func (m *SubjectReference) Validate() error
- func (m *SubjectReference) ValidateAll() error
- type SubjectReferenceMultiError
- type SubjectReferenceValidationError
- func (e SubjectReferenceValidationError) Cause() error
- func (e SubjectReferenceValidationError) Error() string
- func (e SubjectReferenceValidationError) ErrorName() string
- func (e SubjectReferenceValidationError) Field() string
- func (e SubjectReferenceValidationError) Key() bool
- func (e SubjectReferenceValidationError) Reason() string
- type ZedToken
- func (m *ZedToken) CloneMessageVT() proto.Message
- func (m *ZedToken) CloneVT() *ZedToken
- func (*ZedToken) Descriptor() ([]byte, []int)deprecated
- func (this *ZedToken) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ZedToken) EqualVT(that *ZedToken) bool
- func (x *ZedToken) GetToken() string
- func (m *ZedToken) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ZedToken) MarshalToVT(dAtA []byte) (int, error)
- func (m *ZedToken) MarshalVT() (dAtA []byte, err error)
- func (*ZedToken) ProtoMessage()
- func (x *ZedToken) ProtoReflect() protoreflect.Message
- func (x *ZedToken) Reset()
- func (m *ZedToken) SizeVT() (n int)
- func (x *ZedToken) String() string
- func (m *ZedToken) UnmarshalVT(dAtA []byte) error
- func (m *ZedToken) Validate() error
- func (m *ZedToken) ValidateAll() error
- type ZedTokenMultiError
- type ZedTokenValidationError
Constants ¶
This section is empty.
Variables ¶
var ( RelationshipUpdate_Operation_name = map[int32]string{ 0: "OPERATION_UNSPECIFIED", 1: "OPERATION_CREATE", 2: "OPERATION_TOUCH", 3: "OPERATION_DELETE", } RelationshipUpdate_Operation_value = map[string]int32{ "OPERATION_UNSPECIFIED": 0, "OPERATION_CREATE": 1, "OPERATION_TOUCH": 2, "OPERATION_DELETE": 3, } )
Enum value maps for RelationshipUpdate_Operation.
var ( AlgebraicSubjectSet_Operation_name = map[int32]string{ 0: "OPERATION_UNSPECIFIED", 1: "OPERATION_UNION", 2: "OPERATION_INTERSECTION", 3: "OPERATION_EXCLUSION", } AlgebraicSubjectSet_Operation_value = map[string]int32{ "OPERATION_UNSPECIFIED": 0, "OPERATION_UNION": 1, "OPERATION_INTERSECTION": 2, "OPERATION_EXCLUSION": 3, } )
Enum value maps for AlgebraicSubjectSet_Operation.
var ( CheckDebugTrace_PermissionType_name = map[int32]string{ 0: "PERMISSION_TYPE_UNSPECIFIED", 1: "PERMISSION_TYPE_RELATION", 2: "PERMISSION_TYPE_PERMISSION", } CheckDebugTrace_PermissionType_value = map[string]int32{ "PERMISSION_TYPE_UNSPECIFIED": 0, "PERMISSION_TYPE_RELATION": 1, "PERMISSION_TYPE_PERMISSION": 2, } )
Enum value maps for CheckDebugTrace_PermissionType.
var ( CheckDebugTrace_Permissionship_name = map[int32]string{ 0: "PERMISSIONSHIP_UNSPECIFIED", 1: "PERMISSIONSHIP_NO_PERMISSION", 2: "PERMISSIONSHIP_HAS_PERMISSION", 3: "PERMISSIONSHIP_CONDITIONAL_PERMISSION", } CheckDebugTrace_Permissionship_value = map[string]int32{ "PERMISSIONSHIP_UNSPECIFIED": 0, "PERMISSIONSHIP_NO_PERMISSION": 1, "PERMISSIONSHIP_HAS_PERMISSION": 2, "PERMISSIONSHIP_CONDITIONAL_PERMISSION": 3, } )
Enum value maps for CheckDebugTrace_Permissionship.
var ( CaveatEvalInfo_Result_name = map[int32]string{ 0: "RESULT_UNSPECIFIED", 1: "RESULT_UNEVALUATED", 2: "RESULT_FALSE", 3: "RESULT_TRUE", 4: "RESULT_MISSING_SOME_CONTEXT", } CaveatEvalInfo_Result_value = map[string]int32{ "RESULT_UNSPECIFIED": 0, "RESULT_UNEVALUATED": 1, "RESULT_FALSE": 2, "RESULT_TRUE": 3, "RESULT_MISSING_SOME_CONTEXT": 4, } )
Enum value maps for CaveatEvalInfo_Result.
var File_authzed_api_v1_core_proto protoreflect.FileDescriptor
var File_authzed_api_v1_debug_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AlgebraicSubjectSet ¶
type AlgebraicSubjectSet struct { Operation AlgebraicSubjectSet_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=authzed.api.v1.AlgebraicSubjectSet_Operation" json:"operation,omitempty"` Children []*PermissionRelationshipTree `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
AlgebraicSubjectSet is a subject set which is computed based on applying the specified operation to the operands according to the algebra of sets.
UNION is a logical set containing the subject members from all operands.
INTERSECTION is a logical set containing only the subject members which are present in all operands.
EXCLUSION is a logical set containing only the subject members which are present in the first operand, and none of the other operands.
func (*AlgebraicSubjectSet) CloneMessageVT ¶
func (m *AlgebraicSubjectSet) CloneMessageVT() proto.Message
func (*AlgebraicSubjectSet) CloneVT ¶
func (m *AlgebraicSubjectSet) CloneVT() *AlgebraicSubjectSet
func (*AlgebraicSubjectSet) Descriptor
deprecated
func (*AlgebraicSubjectSet) Descriptor() ([]byte, []int)
Deprecated: Use AlgebraicSubjectSet.ProtoReflect.Descriptor instead.
func (*AlgebraicSubjectSet) EqualMessageVT ¶
func (this *AlgebraicSubjectSet) EqualMessageVT(thatMsg proto.Message) bool
func (*AlgebraicSubjectSet) EqualVT ¶
func (this *AlgebraicSubjectSet) EqualVT(that *AlgebraicSubjectSet) bool
func (*AlgebraicSubjectSet) GetChildren ¶
func (x *AlgebraicSubjectSet) GetChildren() []*PermissionRelationshipTree
func (*AlgebraicSubjectSet) GetOperation ¶
func (x *AlgebraicSubjectSet) GetOperation() AlgebraicSubjectSet_Operation
func (*AlgebraicSubjectSet) MarshalToSizedBufferVT ¶
func (m *AlgebraicSubjectSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AlgebraicSubjectSet) MarshalToVT ¶
func (m *AlgebraicSubjectSet) MarshalToVT(dAtA []byte) (int, error)
func (*AlgebraicSubjectSet) MarshalVT ¶
func (m *AlgebraicSubjectSet) MarshalVT() (dAtA []byte, err error)
func (*AlgebraicSubjectSet) ProtoMessage ¶
func (*AlgebraicSubjectSet) ProtoMessage()
func (*AlgebraicSubjectSet) ProtoReflect ¶
func (x *AlgebraicSubjectSet) ProtoReflect() protoreflect.Message
func (*AlgebraicSubjectSet) Reset ¶
func (x *AlgebraicSubjectSet) Reset()
func (*AlgebraicSubjectSet) SizeVT ¶
func (m *AlgebraicSubjectSet) SizeVT() (n int)
func (*AlgebraicSubjectSet) String ¶
func (x *AlgebraicSubjectSet) String() string
func (*AlgebraicSubjectSet) UnmarshalVT ¶
func (m *AlgebraicSubjectSet) UnmarshalVT(dAtA []byte) error
func (*AlgebraicSubjectSet) Validate ¶
func (m *AlgebraicSubjectSet) Validate() error
Validate checks the field values on AlgebraicSubjectSet 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 (*AlgebraicSubjectSet) ValidateAll ¶
func (m *AlgebraicSubjectSet) ValidateAll() error
ValidateAll checks the field values on AlgebraicSubjectSet 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 AlgebraicSubjectSetMultiError, or nil if none found.
type AlgebraicSubjectSetMultiError ¶
type AlgebraicSubjectSetMultiError []error
AlgebraicSubjectSetMultiError is an error wrapping multiple validation errors returned by AlgebraicSubjectSet.ValidateAll() if the designated constraints aren't met.
func (AlgebraicSubjectSetMultiError) AllErrors ¶
func (m AlgebraicSubjectSetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AlgebraicSubjectSetMultiError) Error ¶
func (m AlgebraicSubjectSetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AlgebraicSubjectSetValidationError ¶
type AlgebraicSubjectSetValidationError struct {
// contains filtered or unexported fields
}
AlgebraicSubjectSetValidationError is the validation error returned by AlgebraicSubjectSet.Validate if the designated constraints aren't met.
func (AlgebraicSubjectSetValidationError) Cause ¶
func (e AlgebraicSubjectSetValidationError) Cause() error
Cause function returns cause value.
func (AlgebraicSubjectSetValidationError) Error ¶
func (e AlgebraicSubjectSetValidationError) Error() string
Error satisfies the builtin error interface
func (AlgebraicSubjectSetValidationError) ErrorName ¶
func (e AlgebraicSubjectSetValidationError) ErrorName() string
ErrorName returns error name.
func (AlgebraicSubjectSetValidationError) Field ¶
func (e AlgebraicSubjectSetValidationError) Field() string
Field function returns field value.
func (AlgebraicSubjectSetValidationError) Key ¶
func (e AlgebraicSubjectSetValidationError) Key() bool
Key function returns key value.
func (AlgebraicSubjectSetValidationError) Reason ¶
func (e AlgebraicSubjectSetValidationError) Reason() string
Reason function returns reason value.
type AlgebraicSubjectSet_Operation ¶
type AlgebraicSubjectSet_Operation int32
const ( AlgebraicSubjectSet_OPERATION_UNSPECIFIED AlgebraicSubjectSet_Operation = 0 AlgebraicSubjectSet_OPERATION_UNION AlgebraicSubjectSet_Operation = 1 AlgebraicSubjectSet_OPERATION_INTERSECTION AlgebraicSubjectSet_Operation = 2 AlgebraicSubjectSet_OPERATION_EXCLUSION AlgebraicSubjectSet_Operation = 3 )
func (AlgebraicSubjectSet_Operation) Descriptor ¶
func (AlgebraicSubjectSet_Operation) Descriptor() protoreflect.EnumDescriptor
func (AlgebraicSubjectSet_Operation) Enum ¶
func (x AlgebraicSubjectSet_Operation) Enum() *AlgebraicSubjectSet_Operation
func (AlgebraicSubjectSet_Operation) EnumDescriptor
deprecated
func (AlgebraicSubjectSet_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use AlgebraicSubjectSet_Operation.Descriptor instead.
func (AlgebraicSubjectSet_Operation) Number ¶
func (x AlgebraicSubjectSet_Operation) Number() protoreflect.EnumNumber
func (AlgebraicSubjectSet_Operation) String ¶
func (x AlgebraicSubjectSet_Operation) String() string
func (AlgebraicSubjectSet_Operation) Type ¶
func (AlgebraicSubjectSet_Operation) Type() protoreflect.EnumType
type CaveatEvalInfo ¶
type CaveatEvalInfo struct { // expression is the expression that was evaluated. Expression string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"` // result is the result of the evaluation. Result CaveatEvalInfo_Result `protobuf:"varint,2,opt,name=result,proto3,enum=authzed.api.v1.CaveatEvalInfo_Result" json:"result,omitempty"` // context consists of any named values that were used for evaluating the caveat expression. Context *structpb.Struct `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` // partial_caveat_info holds information of a partially-evaluated caveated response, if applicable. PartialCaveatInfo *PartialCaveatInfo `protobuf:"bytes,4,opt,name=partial_caveat_info,json=partialCaveatInfo,proto3" json:"partial_caveat_info,omitempty"` // caveat_name is the name of the caveat that was executed, if applicable. CaveatName string `protobuf:"bytes,5,opt,name=caveat_name,json=caveatName,proto3" json:"caveat_name,omitempty"` // contains filtered or unexported fields }
CaveatEvalInfo holds information about a caveat expression that was evaluated.
func (*CaveatEvalInfo) CloneMessageVT ¶
func (m *CaveatEvalInfo) CloneMessageVT() proto.Message
func (*CaveatEvalInfo) CloneVT ¶
func (m *CaveatEvalInfo) CloneVT() *CaveatEvalInfo
func (*CaveatEvalInfo) Descriptor
deprecated
func (*CaveatEvalInfo) Descriptor() ([]byte, []int)
Deprecated: Use CaveatEvalInfo.ProtoReflect.Descriptor instead.
func (*CaveatEvalInfo) EqualMessageVT ¶
func (this *CaveatEvalInfo) EqualMessageVT(thatMsg proto.Message) bool
func (*CaveatEvalInfo) EqualVT ¶
func (this *CaveatEvalInfo) EqualVT(that *CaveatEvalInfo) bool
func (*CaveatEvalInfo) GetCaveatName ¶
func (x *CaveatEvalInfo) GetCaveatName() string
func (*CaveatEvalInfo) GetContext ¶
func (x *CaveatEvalInfo) GetContext() *structpb.Struct
func (*CaveatEvalInfo) GetExpression ¶
func (x *CaveatEvalInfo) GetExpression() string
func (*CaveatEvalInfo) GetPartialCaveatInfo ¶
func (x *CaveatEvalInfo) GetPartialCaveatInfo() *PartialCaveatInfo
func (*CaveatEvalInfo) GetResult ¶
func (x *CaveatEvalInfo) GetResult() CaveatEvalInfo_Result
func (*CaveatEvalInfo) MarshalToSizedBufferVT ¶
func (m *CaveatEvalInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CaveatEvalInfo) MarshalToVT ¶
func (m *CaveatEvalInfo) MarshalToVT(dAtA []byte) (int, error)
func (*CaveatEvalInfo) MarshalVT ¶
func (m *CaveatEvalInfo) MarshalVT() (dAtA []byte, err error)
func (*CaveatEvalInfo) ProtoMessage ¶
func (*CaveatEvalInfo) ProtoMessage()
func (*CaveatEvalInfo) ProtoReflect ¶
func (x *CaveatEvalInfo) ProtoReflect() protoreflect.Message
func (*CaveatEvalInfo) Reset ¶
func (x *CaveatEvalInfo) Reset()
func (*CaveatEvalInfo) SizeVT ¶
func (m *CaveatEvalInfo) SizeVT() (n int)
func (*CaveatEvalInfo) String ¶
func (x *CaveatEvalInfo) String() string
func (*CaveatEvalInfo) UnmarshalVT ¶
func (m *CaveatEvalInfo) UnmarshalVT(dAtA []byte) error
func (*CaveatEvalInfo) Validate ¶
func (m *CaveatEvalInfo) Validate() error
Validate checks the field values on CaveatEvalInfo 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 (*CaveatEvalInfo) ValidateAll ¶
func (m *CaveatEvalInfo) ValidateAll() error
ValidateAll checks the field values on CaveatEvalInfo 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 CaveatEvalInfoMultiError, or nil if none found.
type CaveatEvalInfoMultiError ¶
type CaveatEvalInfoMultiError []error
CaveatEvalInfoMultiError is an error wrapping multiple validation errors returned by CaveatEvalInfo.ValidateAll() if the designated constraints aren't met.
func (CaveatEvalInfoMultiError) AllErrors ¶
func (m CaveatEvalInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CaveatEvalInfoMultiError) Error ¶
func (m CaveatEvalInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CaveatEvalInfoValidationError ¶
type CaveatEvalInfoValidationError struct {
// contains filtered or unexported fields
}
CaveatEvalInfoValidationError is the validation error returned by CaveatEvalInfo.Validate if the designated constraints aren't met.
func (CaveatEvalInfoValidationError) Cause ¶
func (e CaveatEvalInfoValidationError) Cause() error
Cause function returns cause value.
func (CaveatEvalInfoValidationError) Error ¶
func (e CaveatEvalInfoValidationError) Error() string
Error satisfies the builtin error interface
func (CaveatEvalInfoValidationError) ErrorName ¶
func (e CaveatEvalInfoValidationError) ErrorName() string
ErrorName returns error name.
func (CaveatEvalInfoValidationError) Field ¶
func (e CaveatEvalInfoValidationError) Field() string
Field function returns field value.
func (CaveatEvalInfoValidationError) Key ¶
func (e CaveatEvalInfoValidationError) Key() bool
Key function returns key value.
func (CaveatEvalInfoValidationError) Reason ¶
func (e CaveatEvalInfoValidationError) Reason() string
Reason function returns reason value.
type CaveatEvalInfo_Result ¶
type CaveatEvalInfo_Result int32
const ( CaveatEvalInfo_RESULT_UNSPECIFIED CaveatEvalInfo_Result = 0 CaveatEvalInfo_RESULT_UNEVALUATED CaveatEvalInfo_Result = 1 CaveatEvalInfo_RESULT_FALSE CaveatEvalInfo_Result = 2 CaveatEvalInfo_RESULT_TRUE CaveatEvalInfo_Result = 3 CaveatEvalInfo_RESULT_MISSING_SOME_CONTEXT CaveatEvalInfo_Result = 4 )
func (CaveatEvalInfo_Result) Descriptor ¶
func (CaveatEvalInfo_Result) Descriptor() protoreflect.EnumDescriptor
func (CaveatEvalInfo_Result) Enum ¶
func (x CaveatEvalInfo_Result) Enum() *CaveatEvalInfo_Result
func (CaveatEvalInfo_Result) EnumDescriptor
deprecated
func (CaveatEvalInfo_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use CaveatEvalInfo_Result.Descriptor instead.
func (CaveatEvalInfo_Result) Number ¶
func (x CaveatEvalInfo_Result) Number() protoreflect.EnumNumber
func (CaveatEvalInfo_Result) String ¶
func (x CaveatEvalInfo_Result) String() string
func (CaveatEvalInfo_Result) Type ¶
func (CaveatEvalInfo_Result) Type() protoreflect.EnumType
type CheckDebugTrace ¶
type CheckDebugTrace struct { // resource holds the resource on which the Check was performed. Resource *ObjectReference `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // permission holds the name of the permission or relation on which the Check was performed. Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"` // permission_type holds information indicating whether it was a permission or relation. PermissionType CheckDebugTrace_PermissionType `` /* 155-byte string literal not displayed */ // subject holds the subject on which the Check was performed. This will be static across all calls within // the same Check tree. Subject *SubjectReference `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"` // result holds the result of the Check call. Result CheckDebugTrace_Permissionship `protobuf:"varint,5,opt,name=result,proto3,enum=authzed.api.v1.CheckDebugTrace_Permissionship" json:"result,omitempty"` // caveat_evaluation_info holds information about the caveat evaluated for this step of the trace. CaveatEvaluationInfo *CaveatEvalInfo `protobuf:"bytes,8,opt,name=caveat_evaluation_info,json=caveatEvaluationInfo,proto3" json:"caveat_evaluation_info,omitempty"` // duration holds the time spent executing this Check operation. Duration *durationpb.Duration `protobuf:"bytes,9,opt,name=duration,proto3" json:"duration,omitempty"` // resolution holds information about how the problem was resolved. // // Types that are assignable to Resolution: // // *CheckDebugTrace_WasCachedResult // *CheckDebugTrace_SubProblems_ Resolution isCheckDebugTrace_Resolution `protobuf_oneof:"resolution"` // contains filtered or unexported fields }
CheckDebugTrace is a recursive trace of the requests made for resolving a CheckPermission API call.
func (*CheckDebugTrace) CloneMessageVT ¶
func (m *CheckDebugTrace) CloneMessageVT() proto.Message
func (*CheckDebugTrace) CloneVT ¶
func (m *CheckDebugTrace) CloneVT() *CheckDebugTrace
func (*CheckDebugTrace) Descriptor
deprecated
func (*CheckDebugTrace) Descriptor() ([]byte, []int)
Deprecated: Use CheckDebugTrace.ProtoReflect.Descriptor instead.
func (*CheckDebugTrace) EqualMessageVT ¶
func (this *CheckDebugTrace) EqualMessageVT(thatMsg proto.Message) bool
func (*CheckDebugTrace) EqualVT ¶
func (this *CheckDebugTrace) EqualVT(that *CheckDebugTrace) bool
func (*CheckDebugTrace) GetCaveatEvaluationInfo ¶
func (x *CheckDebugTrace) GetCaveatEvaluationInfo() *CaveatEvalInfo
func (*CheckDebugTrace) GetDuration ¶
func (x *CheckDebugTrace) GetDuration() *durationpb.Duration
func (*CheckDebugTrace) GetPermission ¶
func (x *CheckDebugTrace) GetPermission() string
func (*CheckDebugTrace) GetPermissionType ¶
func (x *CheckDebugTrace) GetPermissionType() CheckDebugTrace_PermissionType
func (*CheckDebugTrace) GetResolution ¶
func (m *CheckDebugTrace) GetResolution() isCheckDebugTrace_Resolution
func (*CheckDebugTrace) GetResource ¶
func (x *CheckDebugTrace) GetResource() *ObjectReference
func (*CheckDebugTrace) GetResult ¶
func (x *CheckDebugTrace) GetResult() CheckDebugTrace_Permissionship
func (*CheckDebugTrace) GetSubProblems ¶
func (x *CheckDebugTrace) GetSubProblems() *CheckDebugTrace_SubProblems
func (*CheckDebugTrace) GetSubject ¶
func (x *CheckDebugTrace) GetSubject() *SubjectReference
func (*CheckDebugTrace) GetWasCachedResult ¶
func (x *CheckDebugTrace) GetWasCachedResult() bool
func (*CheckDebugTrace) MarshalToSizedBufferVT ¶
func (m *CheckDebugTrace) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckDebugTrace) MarshalToVT ¶
func (m *CheckDebugTrace) MarshalToVT(dAtA []byte) (int, error)
func (*CheckDebugTrace) MarshalVT ¶
func (m *CheckDebugTrace) MarshalVT() (dAtA []byte, err error)
func (*CheckDebugTrace) ProtoMessage ¶
func (*CheckDebugTrace) ProtoMessage()
func (*CheckDebugTrace) ProtoReflect ¶
func (x *CheckDebugTrace) ProtoReflect() protoreflect.Message
func (*CheckDebugTrace) Reset ¶
func (x *CheckDebugTrace) Reset()
func (*CheckDebugTrace) SizeVT ¶
func (m *CheckDebugTrace) SizeVT() (n int)
func (*CheckDebugTrace) String ¶
func (x *CheckDebugTrace) String() string
func (*CheckDebugTrace) UnmarshalVT ¶
func (m *CheckDebugTrace) UnmarshalVT(dAtA []byte) error
func (*CheckDebugTrace) Validate ¶
func (m *CheckDebugTrace) Validate() error
Validate checks the field values on CheckDebugTrace 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 (*CheckDebugTrace) ValidateAll ¶
func (m *CheckDebugTrace) ValidateAll() error
ValidateAll checks the field values on CheckDebugTrace 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 CheckDebugTraceMultiError, or nil if none found.
type CheckDebugTraceMultiError ¶
type CheckDebugTraceMultiError []error
CheckDebugTraceMultiError is an error wrapping multiple validation errors returned by CheckDebugTrace.ValidateAll() if the designated constraints aren't met.
func (CheckDebugTraceMultiError) AllErrors ¶
func (m CheckDebugTraceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckDebugTraceMultiError) Error ¶
func (m CheckDebugTraceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckDebugTraceValidationError ¶
type CheckDebugTraceValidationError struct {
// contains filtered or unexported fields
}
CheckDebugTraceValidationError is the validation error returned by CheckDebugTrace.Validate if the designated constraints aren't met.
func (CheckDebugTraceValidationError) Cause ¶
func (e CheckDebugTraceValidationError) Cause() error
Cause function returns cause value.
func (CheckDebugTraceValidationError) Error ¶
func (e CheckDebugTraceValidationError) Error() string
Error satisfies the builtin error interface
func (CheckDebugTraceValidationError) ErrorName ¶
func (e CheckDebugTraceValidationError) ErrorName() string
ErrorName returns error name.
func (CheckDebugTraceValidationError) Field ¶
func (e CheckDebugTraceValidationError) Field() string
Field function returns field value.
func (CheckDebugTraceValidationError) Key ¶
func (e CheckDebugTraceValidationError) Key() bool
Key function returns key value.
func (CheckDebugTraceValidationError) Reason ¶
func (e CheckDebugTraceValidationError) Reason() string
Reason function returns reason value.
type CheckDebugTrace_PermissionType ¶
type CheckDebugTrace_PermissionType int32
const ( CheckDebugTrace_PERMISSION_TYPE_UNSPECIFIED CheckDebugTrace_PermissionType = 0 CheckDebugTrace_PERMISSION_TYPE_RELATION CheckDebugTrace_PermissionType = 1 CheckDebugTrace_PERMISSION_TYPE_PERMISSION CheckDebugTrace_PermissionType = 2 )
func (CheckDebugTrace_PermissionType) Descriptor ¶
func (CheckDebugTrace_PermissionType) Descriptor() protoreflect.EnumDescriptor
func (CheckDebugTrace_PermissionType) Enum ¶
func (x CheckDebugTrace_PermissionType) Enum() *CheckDebugTrace_PermissionType
func (CheckDebugTrace_PermissionType) EnumDescriptor
deprecated
func (CheckDebugTrace_PermissionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CheckDebugTrace_PermissionType.Descriptor instead.
func (CheckDebugTrace_PermissionType) Number ¶
func (x CheckDebugTrace_PermissionType) Number() protoreflect.EnumNumber
func (CheckDebugTrace_PermissionType) String ¶
func (x CheckDebugTrace_PermissionType) String() string
func (CheckDebugTrace_PermissionType) Type ¶
func (CheckDebugTrace_PermissionType) Type() protoreflect.EnumType
type CheckDebugTrace_Permissionship ¶
type CheckDebugTrace_Permissionship int32
const ( CheckDebugTrace_PERMISSIONSHIP_UNSPECIFIED CheckDebugTrace_Permissionship = 0 CheckDebugTrace_PERMISSIONSHIP_NO_PERMISSION CheckDebugTrace_Permissionship = 1 CheckDebugTrace_PERMISSIONSHIP_HAS_PERMISSION CheckDebugTrace_Permissionship = 2 CheckDebugTrace_PERMISSIONSHIP_CONDITIONAL_PERMISSION CheckDebugTrace_Permissionship = 3 )
func (CheckDebugTrace_Permissionship) Descriptor ¶
func (CheckDebugTrace_Permissionship) Descriptor() protoreflect.EnumDescriptor
func (CheckDebugTrace_Permissionship) Enum ¶
func (x CheckDebugTrace_Permissionship) Enum() *CheckDebugTrace_Permissionship
func (CheckDebugTrace_Permissionship) EnumDescriptor
deprecated
func (CheckDebugTrace_Permissionship) EnumDescriptor() ([]byte, []int)
Deprecated: Use CheckDebugTrace_Permissionship.Descriptor instead.
func (CheckDebugTrace_Permissionship) Number ¶
func (x CheckDebugTrace_Permissionship) Number() protoreflect.EnumNumber
func (CheckDebugTrace_Permissionship) String ¶
func (x CheckDebugTrace_Permissionship) String() string
func (CheckDebugTrace_Permissionship) Type ¶
func (CheckDebugTrace_Permissionship) Type() protoreflect.EnumType
type CheckDebugTrace_SubProblems ¶
type CheckDebugTrace_SubProblems struct { Traces []*CheckDebugTrace `protobuf:"bytes,1,rep,name=traces,proto3" json:"traces,omitempty"` // contains filtered or unexported fields }
func (*CheckDebugTrace_SubProblems) CloneMessageVT ¶
func (m *CheckDebugTrace_SubProblems) CloneMessageVT() proto.Message
func (*CheckDebugTrace_SubProblems) CloneVT ¶
func (m *CheckDebugTrace_SubProblems) CloneVT() *CheckDebugTrace_SubProblems
func (*CheckDebugTrace_SubProblems) Descriptor
deprecated
func (*CheckDebugTrace_SubProblems) Descriptor() ([]byte, []int)
Deprecated: Use CheckDebugTrace_SubProblems.ProtoReflect.Descriptor instead.
func (*CheckDebugTrace_SubProblems) EqualMessageVT ¶
func (this *CheckDebugTrace_SubProblems) EqualMessageVT(thatMsg proto.Message) bool
func (*CheckDebugTrace_SubProblems) EqualVT ¶
func (this *CheckDebugTrace_SubProblems) EqualVT(that *CheckDebugTrace_SubProblems) bool
func (*CheckDebugTrace_SubProblems) GetTraces ¶
func (x *CheckDebugTrace_SubProblems) GetTraces() []*CheckDebugTrace
func (*CheckDebugTrace_SubProblems) MarshalToSizedBufferVT ¶
func (m *CheckDebugTrace_SubProblems) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckDebugTrace_SubProblems) MarshalToVT ¶
func (m *CheckDebugTrace_SubProblems) MarshalToVT(dAtA []byte) (int, error)
func (*CheckDebugTrace_SubProblems) MarshalVT ¶
func (m *CheckDebugTrace_SubProblems) MarshalVT() (dAtA []byte, err error)
func (*CheckDebugTrace_SubProblems) ProtoMessage ¶
func (*CheckDebugTrace_SubProblems) ProtoMessage()
func (*CheckDebugTrace_SubProblems) ProtoReflect ¶
func (x *CheckDebugTrace_SubProblems) ProtoReflect() protoreflect.Message
func (*CheckDebugTrace_SubProblems) Reset ¶
func (x *CheckDebugTrace_SubProblems) Reset()
func (*CheckDebugTrace_SubProblems) SizeVT ¶
func (m *CheckDebugTrace_SubProblems) SizeVT() (n int)
func (*CheckDebugTrace_SubProblems) String ¶
func (x *CheckDebugTrace_SubProblems) String() string
func (*CheckDebugTrace_SubProblems) UnmarshalVT ¶
func (m *CheckDebugTrace_SubProblems) UnmarshalVT(dAtA []byte) error
func (*CheckDebugTrace_SubProblems) Validate ¶
func (m *CheckDebugTrace_SubProblems) Validate() error
Validate checks the field values on CheckDebugTrace_SubProblems 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 (*CheckDebugTrace_SubProblems) ValidateAll ¶
func (m *CheckDebugTrace_SubProblems) ValidateAll() error
ValidateAll checks the field values on CheckDebugTrace_SubProblems 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 CheckDebugTrace_SubProblemsMultiError, or nil if none found.
type CheckDebugTrace_SubProblemsMultiError ¶
type CheckDebugTrace_SubProblemsMultiError []error
CheckDebugTrace_SubProblemsMultiError is an error wrapping multiple validation errors returned by CheckDebugTrace_SubProblems.ValidateAll() if the designated constraints aren't met.
func (CheckDebugTrace_SubProblemsMultiError) AllErrors ¶
func (m CheckDebugTrace_SubProblemsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckDebugTrace_SubProblemsMultiError) Error ¶
func (m CheckDebugTrace_SubProblemsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckDebugTrace_SubProblemsValidationError ¶
type CheckDebugTrace_SubProblemsValidationError struct {
// contains filtered or unexported fields
}
CheckDebugTrace_SubProblemsValidationError is the validation error returned by CheckDebugTrace_SubProblems.Validate if the designated constraints aren't met.
func (CheckDebugTrace_SubProblemsValidationError) Cause ¶
func (e CheckDebugTrace_SubProblemsValidationError) Cause() error
Cause function returns cause value.
func (CheckDebugTrace_SubProblemsValidationError) Error ¶
func (e CheckDebugTrace_SubProblemsValidationError) Error() string
Error satisfies the builtin error interface
func (CheckDebugTrace_SubProblemsValidationError) ErrorName ¶
func (e CheckDebugTrace_SubProblemsValidationError) ErrorName() string
ErrorName returns error name.
func (CheckDebugTrace_SubProblemsValidationError) Field ¶
func (e CheckDebugTrace_SubProblemsValidationError) Field() string
Field function returns field value.
func (CheckDebugTrace_SubProblemsValidationError) Key ¶
func (e CheckDebugTrace_SubProblemsValidationError) Key() bool
Key function returns key value.
func (CheckDebugTrace_SubProblemsValidationError) Reason ¶
func (e CheckDebugTrace_SubProblemsValidationError) Reason() string
Reason function returns reason value.
type CheckDebugTrace_SubProblems_ ¶
type CheckDebugTrace_SubProblems_ struct { // sub_problems holds the sub problems that were executed to resolve the answer to this Check. An empty list // and a permissionship of PERMISSIONSHIP_HAS_PERMISSION indicates the subject was found within this relation. SubProblems *CheckDebugTrace_SubProblems `protobuf:"bytes,7,opt,name=sub_problems,json=subProblems,proto3,oneof"` }
func (*CheckDebugTrace_SubProblems_) CloneVT ¶
func (m *CheckDebugTrace_SubProblems_) CloneVT() isCheckDebugTrace_Resolution
func (*CheckDebugTrace_SubProblems_) EqualVT ¶
func (this *CheckDebugTrace_SubProblems_) EqualVT(thatIface isCheckDebugTrace_Resolution) bool
func (*CheckDebugTrace_SubProblems_) MarshalToSizedBufferVT ¶
func (m *CheckDebugTrace_SubProblems_) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckDebugTrace_SubProblems_) MarshalToVT ¶
func (m *CheckDebugTrace_SubProblems_) MarshalToVT(dAtA []byte) (int, error)
func (*CheckDebugTrace_SubProblems_) SizeVT ¶
func (m *CheckDebugTrace_SubProblems_) SizeVT() (n int)
type CheckDebugTrace_WasCachedResult ¶
type CheckDebugTrace_WasCachedResult struct { // was_cached_result, if true, indicates that the result was found in the cache and returned directly. WasCachedResult bool `protobuf:"varint,6,opt,name=was_cached_result,json=wasCachedResult,proto3,oneof"` }
func (*CheckDebugTrace_WasCachedResult) CloneVT ¶
func (m *CheckDebugTrace_WasCachedResult) CloneVT() isCheckDebugTrace_Resolution
func (*CheckDebugTrace_WasCachedResult) EqualVT ¶
func (this *CheckDebugTrace_WasCachedResult) EqualVT(thatIface isCheckDebugTrace_Resolution) bool
func (*CheckDebugTrace_WasCachedResult) MarshalToSizedBufferVT ¶
func (m *CheckDebugTrace_WasCachedResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckDebugTrace_WasCachedResult) MarshalToVT ¶
func (m *CheckDebugTrace_WasCachedResult) MarshalToVT(dAtA []byte) (int, error)
func (*CheckDebugTrace_WasCachedResult) SizeVT ¶
func (m *CheckDebugTrace_WasCachedResult) SizeVT() (n int)
type ContextualizedCaveat ¶
type ContextualizedCaveat struct { // caveat_name is the name of the caveat expression to use, as defined in the schema CaveatName string `protobuf:"bytes,1,opt,name=caveat_name,json=caveatName,proto3" json:"caveat_name,omitempty"` // context consists of any named values that are defined at write time for the caveat expression 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 to be used by caveated relationships. The context consists of key-value pairs that will be injected at evaluation time. The keys must match the arguments defined on the caveat in the schema.
func (*ContextualizedCaveat) CloneMessageVT ¶
func (m *ContextualizedCaveat) CloneMessageVT() proto.Message
func (*ContextualizedCaveat) CloneVT ¶
func (m *ContextualizedCaveat) CloneVT() *ContextualizedCaveat
func (*ContextualizedCaveat) Descriptor
deprecated
func (*ContextualizedCaveat) Descriptor() ([]byte, []int)
Deprecated: Use ContextualizedCaveat.ProtoReflect.Descriptor instead.
func (*ContextualizedCaveat) EqualMessageVT ¶
func (this *ContextualizedCaveat) EqualMessageVT(thatMsg proto.Message) bool
func (*ContextualizedCaveat) EqualVT ¶
func (this *ContextualizedCaveat) EqualVT(that *ContextualizedCaveat) bool
func (*ContextualizedCaveat) GetCaveatName ¶
func (x *ContextualizedCaveat) GetCaveatName() string
func (*ContextualizedCaveat) GetContext ¶
func (x *ContextualizedCaveat) GetContext() *structpb.Struct
func (*ContextualizedCaveat) MarshalToSizedBufferVT ¶
func (m *ContextualizedCaveat) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ContextualizedCaveat) MarshalToVT ¶
func (m *ContextualizedCaveat) MarshalToVT(dAtA []byte) (int, error)
func (*ContextualizedCaveat) MarshalVT ¶
func (m *ContextualizedCaveat) MarshalVT() (dAtA []byte, err error)
func (*ContextualizedCaveat) ProtoMessage ¶
func (*ContextualizedCaveat) ProtoMessage()
func (*ContextualizedCaveat) ProtoReflect ¶
func (x *ContextualizedCaveat) ProtoReflect() protoreflect.Message
func (*ContextualizedCaveat) Reset ¶
func (x *ContextualizedCaveat) Reset()
func (*ContextualizedCaveat) SizeVT ¶
func (m *ContextualizedCaveat) SizeVT() (n int)
func (*ContextualizedCaveat) String ¶
func (x *ContextualizedCaveat) String() string
func (*ContextualizedCaveat) UnmarshalVT ¶
func (m *ContextualizedCaveat) UnmarshalVT(dAtA []byte) error
func (*ContextualizedCaveat) Validate ¶
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 ¶
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 ¶
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 ¶
func (m ContextualizedCaveatMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ContextualizedCaveatMultiError) Error ¶
func (m ContextualizedCaveatMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ContextualizedCaveatValidationError ¶
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 ¶
func (e ContextualizedCaveatValidationError) Cause() error
Cause function returns cause value.
func (ContextualizedCaveatValidationError) Error ¶
func (e ContextualizedCaveatValidationError) Error() string
Error satisfies the builtin error interface
func (ContextualizedCaveatValidationError) ErrorName ¶
func (e ContextualizedCaveatValidationError) ErrorName() string
ErrorName returns error name.
func (ContextualizedCaveatValidationError) Field ¶
func (e ContextualizedCaveatValidationError) Field() string
Field function returns field value.
func (ContextualizedCaveatValidationError) Key ¶
func (e ContextualizedCaveatValidationError) Key() bool
Key function returns key value.
func (ContextualizedCaveatValidationError) Reason ¶
func (e ContextualizedCaveatValidationError) Reason() string
Reason function returns reason value.
type Cursor ¶
type Cursor struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
Cursor is used to provide resumption of listing between calls to APIs such as LookupResources.
func (*Cursor) CloneMessageVT ¶
func (*Cursor) Descriptor
deprecated
func (*Cursor) MarshalToSizedBufferVT ¶
func (*Cursor) ProtoMessage ¶
func (*Cursor) ProtoMessage()
func (*Cursor) ProtoReflect ¶
func (x *Cursor) ProtoReflect() protoreflect.Message
func (*Cursor) UnmarshalVT ¶
func (*Cursor) Validate ¶
Validate checks the field values on Cursor 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 (*Cursor) ValidateAll ¶
ValidateAll checks the field values on Cursor 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 CursorMultiError, or nil if none found.
type CursorMultiError ¶
type CursorMultiError []error
CursorMultiError is an error wrapping multiple validation errors returned by Cursor.ValidateAll() if the designated constraints aren't met.
func (CursorMultiError) AllErrors ¶
func (m CursorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CursorMultiError) Error ¶
func (m CursorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CursorValidationError ¶
type CursorValidationError struct {
// contains filtered or unexported fields
}
CursorValidationError is the validation error returned by Cursor.Validate if the designated constraints aren't met.
func (CursorValidationError) Cause ¶
func (e CursorValidationError) Cause() error
Cause function returns cause value.
func (CursorValidationError) Error ¶
func (e CursorValidationError) Error() string
Error satisfies the builtin error interface
func (CursorValidationError) ErrorName ¶
func (e CursorValidationError) ErrorName() string
ErrorName returns error name.
func (CursorValidationError) Field ¶
func (e CursorValidationError) Field() string
Field function returns field value.
func (CursorValidationError) Key ¶
func (e CursorValidationError) Key() bool
Key function returns key value.
func (CursorValidationError) Reason ¶
func (e CursorValidationError) Reason() string
Reason function returns reason value.
type DebugInformation ¶
type DebugInformation struct { // check holds debug information about a check request. Check *CheckDebugTrace `protobuf:"bytes,1,opt,name=check,proto3" json:"check,omitempty"` // schema_used holds the schema used for the request. SchemaUsed string `protobuf:"bytes,2,opt,name=schema_used,json=schemaUsed,proto3" json:"schema_used,omitempty"` // contains filtered or unexported fields }
DebugInformation defines debug information returned by an API call in a footer when requested with a specific debugging header.
The specific debug information returned will depend on the type of the API call made.
See the github.com/authzed/authzed-go project for the specific header and footer names.
func (*DebugInformation) CloneMessageVT ¶
func (m *DebugInformation) CloneMessageVT() proto.Message
func (*DebugInformation) CloneVT ¶
func (m *DebugInformation) CloneVT() *DebugInformation
func (*DebugInformation) Descriptor
deprecated
func (*DebugInformation) Descriptor() ([]byte, []int)
Deprecated: Use DebugInformation.ProtoReflect.Descriptor instead.
func (*DebugInformation) EqualMessageVT ¶
func (this *DebugInformation) EqualMessageVT(thatMsg proto.Message) bool
func (*DebugInformation) EqualVT ¶
func (this *DebugInformation) EqualVT(that *DebugInformation) bool
func (*DebugInformation) GetCheck ¶
func (x *DebugInformation) GetCheck() *CheckDebugTrace
func (*DebugInformation) GetSchemaUsed ¶
func (x *DebugInformation) GetSchemaUsed() string
func (*DebugInformation) MarshalToSizedBufferVT ¶
func (m *DebugInformation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DebugInformation) MarshalToVT ¶
func (m *DebugInformation) MarshalToVT(dAtA []byte) (int, error)
func (*DebugInformation) MarshalVT ¶
func (m *DebugInformation) MarshalVT() (dAtA []byte, err error)
func (*DebugInformation) ProtoMessage ¶
func (*DebugInformation) ProtoMessage()
func (*DebugInformation) ProtoReflect ¶
func (x *DebugInformation) ProtoReflect() protoreflect.Message
func (*DebugInformation) Reset ¶
func (x *DebugInformation) Reset()
func (*DebugInformation) SizeVT ¶
func (m *DebugInformation) SizeVT() (n int)
func (*DebugInformation) String ¶
func (x *DebugInformation) String() string
func (*DebugInformation) UnmarshalVT ¶
func (m *DebugInformation) UnmarshalVT(dAtA []byte) error
func (*DebugInformation) Validate ¶
func (m *DebugInformation) Validate() error
Validate checks the field values on DebugInformation 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 (*DebugInformation) ValidateAll ¶
func (m *DebugInformation) ValidateAll() error
ValidateAll checks the field values on DebugInformation 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 DebugInformationMultiError, or nil if none found.
type DebugInformationMultiError ¶
type DebugInformationMultiError []error
DebugInformationMultiError is an error wrapping multiple validation errors returned by DebugInformation.ValidateAll() if the designated constraints aren't met.
func (DebugInformationMultiError) AllErrors ¶
func (m DebugInformationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DebugInformationMultiError) Error ¶
func (m DebugInformationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DebugInformationValidationError ¶
type DebugInformationValidationError struct {
// contains filtered or unexported fields
}
DebugInformationValidationError is the validation error returned by DebugInformation.Validate if the designated constraints aren't met.
func (DebugInformationValidationError) Cause ¶
func (e DebugInformationValidationError) Cause() error
Cause function returns cause value.
func (DebugInformationValidationError) Error ¶
func (e DebugInformationValidationError) Error() string
Error satisfies the builtin error interface
func (DebugInformationValidationError) ErrorName ¶
func (e DebugInformationValidationError) ErrorName() string
ErrorName returns error name.
func (DebugInformationValidationError) Field ¶
func (e DebugInformationValidationError) Field() string
Field function returns field value.
func (DebugInformationValidationError) Key ¶
func (e DebugInformationValidationError) Key() bool
Key function returns key value.
func (DebugInformationValidationError) Reason ¶
func (e DebugInformationValidationError) Reason() string
Reason function returns reason value.
type DirectSubjectSet ¶
type DirectSubjectSet struct { Subjects []*SubjectReference `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty"` // contains filtered or unexported fields }
DirectSubjectSet is a subject set which is simply a collection of subjects.
func (*DirectSubjectSet) CloneMessageVT ¶
func (m *DirectSubjectSet) CloneMessageVT() proto.Message
func (*DirectSubjectSet) CloneVT ¶
func (m *DirectSubjectSet) CloneVT() *DirectSubjectSet
func (*DirectSubjectSet) Descriptor
deprecated
func (*DirectSubjectSet) Descriptor() ([]byte, []int)
Deprecated: Use DirectSubjectSet.ProtoReflect.Descriptor instead.
func (*DirectSubjectSet) EqualMessageVT ¶
func (this *DirectSubjectSet) EqualMessageVT(thatMsg proto.Message) bool
func (*DirectSubjectSet) EqualVT ¶
func (this *DirectSubjectSet) EqualVT(that *DirectSubjectSet) bool
func (*DirectSubjectSet) GetSubjects ¶
func (x *DirectSubjectSet) GetSubjects() []*SubjectReference
func (*DirectSubjectSet) MarshalToSizedBufferVT ¶
func (m *DirectSubjectSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DirectSubjectSet) MarshalToVT ¶
func (m *DirectSubjectSet) MarshalToVT(dAtA []byte) (int, error)
func (*DirectSubjectSet) MarshalVT ¶
func (m *DirectSubjectSet) MarshalVT() (dAtA []byte, err error)
func (*DirectSubjectSet) ProtoMessage ¶
func (*DirectSubjectSet) ProtoMessage()
func (*DirectSubjectSet) ProtoReflect ¶
func (x *DirectSubjectSet) ProtoReflect() protoreflect.Message
func (*DirectSubjectSet) Reset ¶
func (x *DirectSubjectSet) Reset()
func (*DirectSubjectSet) SizeVT ¶
func (m *DirectSubjectSet) SizeVT() (n int)
func (*DirectSubjectSet) String ¶
func (x *DirectSubjectSet) String() string
func (*DirectSubjectSet) UnmarshalVT ¶
func (m *DirectSubjectSet) UnmarshalVT(dAtA []byte) error
func (*DirectSubjectSet) Validate ¶
func (m *DirectSubjectSet) Validate() error
Validate checks the field values on DirectSubjectSet 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 (*DirectSubjectSet) ValidateAll ¶
func (m *DirectSubjectSet) ValidateAll() error
ValidateAll checks the field values on DirectSubjectSet 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 DirectSubjectSetMultiError, or nil if none found.
type DirectSubjectSetMultiError ¶
type DirectSubjectSetMultiError []error
DirectSubjectSetMultiError is an error wrapping multiple validation errors returned by DirectSubjectSet.ValidateAll() if the designated constraints aren't met.
func (DirectSubjectSetMultiError) AllErrors ¶
func (m DirectSubjectSetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DirectSubjectSetMultiError) Error ¶
func (m DirectSubjectSetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DirectSubjectSetValidationError ¶
type DirectSubjectSetValidationError struct {
// contains filtered or unexported fields
}
DirectSubjectSetValidationError is the validation error returned by DirectSubjectSet.Validate if the designated constraints aren't met.
func (DirectSubjectSetValidationError) Cause ¶
func (e DirectSubjectSetValidationError) Cause() error
Cause function returns cause value.
func (DirectSubjectSetValidationError) Error ¶
func (e DirectSubjectSetValidationError) Error() string
Error satisfies the builtin error interface
func (DirectSubjectSetValidationError) ErrorName ¶
func (e DirectSubjectSetValidationError) ErrorName() string
ErrorName returns error name.
func (DirectSubjectSetValidationError) Field ¶
func (e DirectSubjectSetValidationError) Field() string
Field function returns field value.
func (DirectSubjectSetValidationError) Key ¶
func (e DirectSubjectSetValidationError) Key() bool
Key function returns key value.
func (DirectSubjectSetValidationError) Reason ¶
func (e DirectSubjectSetValidationError) Reason() string
Reason function returns reason value.
type ObjectReference ¶
type ObjectReference struct { ObjectType string `protobuf:"bytes,1,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"` ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` // contains filtered or unexported fields }
ObjectReference is used to refer to a specific object in the system.
func (*ObjectReference) CloneMessageVT ¶
func (m *ObjectReference) CloneMessageVT() proto.Message
func (*ObjectReference) CloneVT ¶
func (m *ObjectReference) CloneVT() *ObjectReference
func (*ObjectReference) Descriptor
deprecated
func (*ObjectReference) Descriptor() ([]byte, []int)
Deprecated: Use ObjectReference.ProtoReflect.Descriptor instead.
func (*ObjectReference) EqualMessageVT ¶
func (this *ObjectReference) EqualMessageVT(thatMsg proto.Message) bool
func (*ObjectReference) EqualVT ¶
func (this *ObjectReference) EqualVT(that *ObjectReference) bool
func (*ObjectReference) GetObjectId ¶
func (x *ObjectReference) GetObjectId() string
func (*ObjectReference) GetObjectType ¶
func (x *ObjectReference) GetObjectType() string
func (*ObjectReference) MarshalToSizedBufferVT ¶
func (m *ObjectReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ObjectReference) MarshalToVT ¶
func (m *ObjectReference) MarshalToVT(dAtA []byte) (int, error)
func (*ObjectReference) MarshalVT ¶
func (m *ObjectReference) MarshalVT() (dAtA []byte, err error)
func (*ObjectReference) ProtoMessage ¶
func (*ObjectReference) ProtoMessage()
func (*ObjectReference) ProtoReflect ¶
func (x *ObjectReference) ProtoReflect() protoreflect.Message
func (*ObjectReference) Reset ¶
func (x *ObjectReference) Reset()
func (*ObjectReference) SizeVT ¶
func (m *ObjectReference) SizeVT() (n int)
func (*ObjectReference) String ¶
func (x *ObjectReference) String() string
func (*ObjectReference) UnmarshalVT ¶
func (m *ObjectReference) UnmarshalVT(dAtA []byte) error
func (*ObjectReference) Validate ¶
func (m *ObjectReference) Validate() error
Validate checks the field values on ObjectReference 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 (*ObjectReference) ValidateAll ¶
func (m *ObjectReference) ValidateAll() error
ValidateAll checks the field values on ObjectReference 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 ObjectReferenceMultiError, or nil if none found.
type ObjectReferenceMultiError ¶
type ObjectReferenceMultiError []error
ObjectReferenceMultiError is an error wrapping multiple validation errors returned by ObjectReference.ValidateAll() if the designated constraints aren't met.
func (ObjectReferenceMultiError) AllErrors ¶
func (m ObjectReferenceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ObjectReferenceMultiError) Error ¶
func (m ObjectReferenceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ObjectReferenceValidationError ¶
type ObjectReferenceValidationError struct {
// contains filtered or unexported fields
}
ObjectReferenceValidationError is the validation error returned by ObjectReference.Validate if the designated constraints aren't met.
func (ObjectReferenceValidationError) Cause ¶
func (e ObjectReferenceValidationError) Cause() error
Cause function returns cause value.
func (ObjectReferenceValidationError) Error ¶
func (e ObjectReferenceValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectReferenceValidationError) ErrorName ¶
func (e ObjectReferenceValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectReferenceValidationError) Field ¶
func (e ObjectReferenceValidationError) Field() string
Field function returns field value.
func (ObjectReferenceValidationError) Key ¶
func (e ObjectReferenceValidationError) Key() bool
Key function returns key value.
func (ObjectReferenceValidationError) Reason ¶
func (e ObjectReferenceValidationError) Reason() string
Reason function returns reason value.
type PartialCaveatInfo ¶
type PartialCaveatInfo struct { // missing_required_context is a list of one or more fields that were missing and prevented caveats // from being fully evaluated MissingRequiredContext []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
PartialCaveatInfo carries information necessary for the client to take action in the event a response contains a partially evaluated caveat
func (*PartialCaveatInfo) CloneMessageVT ¶
func (m *PartialCaveatInfo) CloneMessageVT() proto.Message
func (*PartialCaveatInfo) CloneVT ¶
func (m *PartialCaveatInfo) CloneVT() *PartialCaveatInfo
func (*PartialCaveatInfo) Descriptor
deprecated
func (*PartialCaveatInfo) Descriptor() ([]byte, []int)
Deprecated: Use PartialCaveatInfo.ProtoReflect.Descriptor instead.
func (*PartialCaveatInfo) EqualMessageVT ¶
func (this *PartialCaveatInfo) EqualMessageVT(thatMsg proto.Message) bool
func (*PartialCaveatInfo) EqualVT ¶
func (this *PartialCaveatInfo) EqualVT(that *PartialCaveatInfo) bool
func (*PartialCaveatInfo) GetMissingRequiredContext ¶
func (x *PartialCaveatInfo) GetMissingRequiredContext() []string
func (*PartialCaveatInfo) MarshalToSizedBufferVT ¶
func (m *PartialCaveatInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PartialCaveatInfo) MarshalToVT ¶
func (m *PartialCaveatInfo) MarshalToVT(dAtA []byte) (int, error)
func (*PartialCaveatInfo) MarshalVT ¶
func (m *PartialCaveatInfo) MarshalVT() (dAtA []byte, err error)
func (*PartialCaveatInfo) ProtoMessage ¶
func (*PartialCaveatInfo) ProtoMessage()
func (*PartialCaveatInfo) ProtoReflect ¶
func (x *PartialCaveatInfo) ProtoReflect() protoreflect.Message
func (*PartialCaveatInfo) Reset ¶
func (x *PartialCaveatInfo) Reset()
func (*PartialCaveatInfo) SizeVT ¶
func (m *PartialCaveatInfo) SizeVT() (n int)
func (*PartialCaveatInfo) String ¶
func (x *PartialCaveatInfo) String() string
func (*PartialCaveatInfo) UnmarshalVT ¶
func (m *PartialCaveatInfo) UnmarshalVT(dAtA []byte) error
func (*PartialCaveatInfo) Validate ¶
func (m *PartialCaveatInfo) Validate() error
Validate checks the field values on PartialCaveatInfo 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 (*PartialCaveatInfo) ValidateAll ¶
func (m *PartialCaveatInfo) ValidateAll() error
ValidateAll checks the field values on PartialCaveatInfo 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 PartialCaveatInfoMultiError, or nil if none found.
type PartialCaveatInfoMultiError ¶
type PartialCaveatInfoMultiError []error
PartialCaveatInfoMultiError is an error wrapping multiple validation errors returned by PartialCaveatInfo.ValidateAll() if the designated constraints aren't met.
func (PartialCaveatInfoMultiError) AllErrors ¶
func (m PartialCaveatInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PartialCaveatInfoMultiError) Error ¶
func (m PartialCaveatInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PartialCaveatInfoValidationError ¶
type PartialCaveatInfoValidationError struct {
// contains filtered or unexported fields
}
PartialCaveatInfoValidationError is the validation error returned by PartialCaveatInfo.Validate if the designated constraints aren't met.
func (PartialCaveatInfoValidationError) Cause ¶
func (e PartialCaveatInfoValidationError) Cause() error
Cause function returns cause value.
func (PartialCaveatInfoValidationError) Error ¶
func (e PartialCaveatInfoValidationError) Error() string
Error satisfies the builtin error interface
func (PartialCaveatInfoValidationError) ErrorName ¶
func (e PartialCaveatInfoValidationError) ErrorName() string
ErrorName returns error name.
func (PartialCaveatInfoValidationError) Field ¶
func (e PartialCaveatInfoValidationError) Field() string
Field function returns field value.
func (PartialCaveatInfoValidationError) Key ¶
func (e PartialCaveatInfoValidationError) Key() bool
Key function returns key value.
func (PartialCaveatInfoValidationError) Reason ¶
func (e PartialCaveatInfoValidationError) Reason() string
Reason function returns reason value.
type PermissionRelationshipTree ¶
type PermissionRelationshipTree struct { // Types that are assignable to TreeType: // // *PermissionRelationshipTree_Intermediate // *PermissionRelationshipTree_Leaf TreeType isPermissionRelationshipTree_TreeType `protobuf_oneof:"tree_type"` ExpandedObject *ObjectReference `protobuf:"bytes,3,opt,name=expanded_object,json=expandedObject,proto3" json:"expanded_object,omitempty"` ExpandedRelation string `protobuf:"bytes,4,opt,name=expanded_relation,json=expandedRelation,proto3" json:"expanded_relation,omitempty"` // contains filtered or unexported fields }
PermissionRelationshipTree is used for representing a tree of a resource and its permission relationships with other objects.
func (*PermissionRelationshipTree) CloneMessageVT ¶
func (m *PermissionRelationshipTree) CloneMessageVT() proto.Message
func (*PermissionRelationshipTree) CloneVT ¶
func (m *PermissionRelationshipTree) CloneVT() *PermissionRelationshipTree
func (*PermissionRelationshipTree) Descriptor
deprecated
func (*PermissionRelationshipTree) Descriptor() ([]byte, []int)
Deprecated: Use PermissionRelationshipTree.ProtoReflect.Descriptor instead.
func (*PermissionRelationshipTree) EqualMessageVT ¶
func (this *PermissionRelationshipTree) EqualMessageVT(thatMsg proto.Message) bool
func (*PermissionRelationshipTree) EqualVT ¶
func (this *PermissionRelationshipTree) EqualVT(that *PermissionRelationshipTree) bool
func (*PermissionRelationshipTree) GetExpandedObject ¶
func (x *PermissionRelationshipTree) GetExpandedObject() *ObjectReference
func (*PermissionRelationshipTree) GetExpandedRelation ¶
func (x *PermissionRelationshipTree) GetExpandedRelation() string
func (*PermissionRelationshipTree) GetIntermediate ¶
func (x *PermissionRelationshipTree) GetIntermediate() *AlgebraicSubjectSet
func (*PermissionRelationshipTree) GetLeaf ¶
func (x *PermissionRelationshipTree) GetLeaf() *DirectSubjectSet
func (*PermissionRelationshipTree) GetTreeType ¶
func (m *PermissionRelationshipTree) GetTreeType() isPermissionRelationshipTree_TreeType
func (*PermissionRelationshipTree) MarshalToSizedBufferVT ¶
func (m *PermissionRelationshipTree) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionRelationshipTree) MarshalToVT ¶
func (m *PermissionRelationshipTree) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionRelationshipTree) MarshalVT ¶
func (m *PermissionRelationshipTree) MarshalVT() (dAtA []byte, err error)
func (*PermissionRelationshipTree) ProtoMessage ¶
func (*PermissionRelationshipTree) ProtoMessage()
func (*PermissionRelationshipTree) ProtoReflect ¶
func (x *PermissionRelationshipTree) ProtoReflect() protoreflect.Message
func (*PermissionRelationshipTree) Reset ¶
func (x *PermissionRelationshipTree) Reset()
func (*PermissionRelationshipTree) SizeVT ¶
func (m *PermissionRelationshipTree) SizeVT() (n int)
func (*PermissionRelationshipTree) String ¶
func (x *PermissionRelationshipTree) String() string
func (*PermissionRelationshipTree) UnmarshalVT ¶
func (m *PermissionRelationshipTree) UnmarshalVT(dAtA []byte) error
func (*PermissionRelationshipTree) Validate ¶
func (m *PermissionRelationshipTree) Validate() error
Validate checks the field values on PermissionRelationshipTree 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 (*PermissionRelationshipTree) ValidateAll ¶
func (m *PermissionRelationshipTree) ValidateAll() error
ValidateAll checks the field values on PermissionRelationshipTree 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 PermissionRelationshipTreeMultiError, or nil if none found.
type PermissionRelationshipTreeMultiError ¶
type PermissionRelationshipTreeMultiError []error
PermissionRelationshipTreeMultiError is an error wrapping multiple validation errors returned by PermissionRelationshipTree.ValidateAll() if the designated constraints aren't met.
func (PermissionRelationshipTreeMultiError) AllErrors ¶
func (m PermissionRelationshipTreeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PermissionRelationshipTreeMultiError) Error ¶
func (m PermissionRelationshipTreeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PermissionRelationshipTreeValidationError ¶
type PermissionRelationshipTreeValidationError struct {
// contains filtered or unexported fields
}
PermissionRelationshipTreeValidationError is the validation error returned by PermissionRelationshipTree.Validate if the designated constraints aren't met.
func (PermissionRelationshipTreeValidationError) Cause ¶
func (e PermissionRelationshipTreeValidationError) Cause() error
Cause function returns cause value.
func (PermissionRelationshipTreeValidationError) Error ¶
func (e PermissionRelationshipTreeValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionRelationshipTreeValidationError) ErrorName ¶
func (e PermissionRelationshipTreeValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionRelationshipTreeValidationError) Field ¶
func (e PermissionRelationshipTreeValidationError) Field() string
Field function returns field value.
func (PermissionRelationshipTreeValidationError) Key ¶
func (e PermissionRelationshipTreeValidationError) Key() bool
Key function returns key value.
func (PermissionRelationshipTreeValidationError) Reason ¶
func (e PermissionRelationshipTreeValidationError) Reason() string
Reason function returns reason value.
type PermissionRelationshipTree_Intermediate ¶
type PermissionRelationshipTree_Intermediate struct {
Intermediate *AlgebraicSubjectSet `protobuf:"bytes,1,opt,name=intermediate,proto3,oneof"`
}
func (*PermissionRelationshipTree_Intermediate) CloneVT ¶
func (m *PermissionRelationshipTree_Intermediate) CloneVT() isPermissionRelationshipTree_TreeType
func (*PermissionRelationshipTree_Intermediate) EqualVT ¶
func (this *PermissionRelationshipTree_Intermediate) EqualVT(thatIface isPermissionRelationshipTree_TreeType) bool
func (*PermissionRelationshipTree_Intermediate) MarshalToSizedBufferVT ¶
func (m *PermissionRelationshipTree_Intermediate) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionRelationshipTree_Intermediate) MarshalToVT ¶
func (m *PermissionRelationshipTree_Intermediate) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionRelationshipTree_Intermediate) SizeVT ¶
func (m *PermissionRelationshipTree_Intermediate) SizeVT() (n int)
type PermissionRelationshipTree_Leaf ¶
type PermissionRelationshipTree_Leaf struct {
Leaf *DirectSubjectSet `protobuf:"bytes,2,opt,name=leaf,proto3,oneof"`
}
func (*PermissionRelationshipTree_Leaf) CloneVT ¶
func (m *PermissionRelationshipTree_Leaf) CloneVT() isPermissionRelationshipTree_TreeType
func (*PermissionRelationshipTree_Leaf) EqualVT ¶
func (this *PermissionRelationshipTree_Leaf) EqualVT(thatIface isPermissionRelationshipTree_TreeType) bool
func (*PermissionRelationshipTree_Leaf) MarshalToSizedBufferVT ¶
func (m *PermissionRelationshipTree_Leaf) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionRelationshipTree_Leaf) MarshalToVT ¶
func (m *PermissionRelationshipTree_Leaf) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionRelationshipTree_Leaf) SizeVT ¶
func (m *PermissionRelationshipTree_Leaf) SizeVT() (n int)
type Relationship ¶
type Relationship struct { // resource is the resource to which the subject is related, in some manner Resource *ObjectReference `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // relation is how the resource and subject are related. Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` // subject is the subject to which the resource is related, in some manner. Subject *SubjectReference `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` // optional_caveat is a reference to a the caveat that must be enforced over the relationship OptionalCaveat *ContextualizedCaveat `protobuf:"bytes,4,opt,name=optional_caveat,json=optionalCaveat,proto3" json:"optional_caveat,omitempty"` OptionalDescription *string `protobuf:"bytes,5,opt,name=optional_description,json=optionalDescription,proto3,oneof" json:"optional_description,omitempty"` // [ (validate.rules).string.ignore_empty = true ]; OptionalComment *string `protobuf:"bytes,6,opt,name=optional_comment,json=optionalComment,proto3,oneof" json:"optional_comment,omitempty"` // [ (validate.rules).string.ignore_empty = true ]; // contains filtered or unexported fields }
Relationship specifies how a resource relates to a subject. Relationships form the data for the graph over which all permissions questions are answered.
func (*Relationship) CloneMessageVT ¶
func (m *Relationship) CloneMessageVT() proto.Message
func (*Relationship) CloneVT ¶
func (m *Relationship) CloneVT() *Relationship
func (*Relationship) Descriptor
deprecated
func (*Relationship) Descriptor() ([]byte, []int)
Deprecated: Use Relationship.ProtoReflect.Descriptor instead.
func (*Relationship) EqualMessageVT ¶
func (this *Relationship) EqualMessageVT(thatMsg proto.Message) bool
func (*Relationship) EqualVT ¶
func (this *Relationship) EqualVT(that *Relationship) bool
func (*Relationship) GetOptionalCaveat ¶
func (x *Relationship) GetOptionalCaveat() *ContextualizedCaveat
func (*Relationship) GetOptionalComment ¶
func (x *Relationship) GetOptionalComment() string
func (*Relationship) GetOptionalDescription ¶
func (x *Relationship) GetOptionalDescription() string
func (*Relationship) GetRelation ¶
func (x *Relationship) GetRelation() string
func (*Relationship) GetResource ¶
func (x *Relationship) GetResource() *ObjectReference
func (*Relationship) GetSubject ¶
func (x *Relationship) GetSubject() *SubjectReference
func (*Relationship) MarshalToSizedBufferVT ¶
func (m *Relationship) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Relationship) MarshalToVT ¶
func (m *Relationship) MarshalToVT(dAtA []byte) (int, error)
func (*Relationship) MarshalVT ¶
func (m *Relationship) MarshalVT() (dAtA []byte, err error)
func (*Relationship) ProtoMessage ¶
func (*Relationship) ProtoMessage()
func (*Relationship) ProtoReflect ¶
func (x *Relationship) ProtoReflect() protoreflect.Message
func (*Relationship) Reset ¶
func (x *Relationship) Reset()
func (*Relationship) SizeVT ¶
func (m *Relationship) SizeVT() (n int)
func (*Relationship) String ¶
func (x *Relationship) String() string
func (*Relationship) UnmarshalVT ¶
func (m *Relationship) UnmarshalVT(dAtA []byte) error
func (*Relationship) Validate ¶
func (m *Relationship) Validate() error
Validate checks the field values on Relationship 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 (*Relationship) ValidateAll ¶
func (m *Relationship) ValidateAll() error
ValidateAll checks the field values on Relationship 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 RelationshipMultiError, or nil if none found.
type RelationshipMultiError ¶
type RelationshipMultiError []error
RelationshipMultiError is an error wrapping multiple validation errors returned by Relationship.ValidateAll() if the designated constraints aren't met.
func (RelationshipMultiError) AllErrors ¶
func (m RelationshipMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelationshipMultiError) Error ¶
func (m RelationshipMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelationshipUpdate ¶
type RelationshipUpdate struct { Operation RelationshipUpdate_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=authzed.api.v1.RelationshipUpdate_Operation" json:"operation,omitempty"` Relationship *Relationship `protobuf:"bytes,2,opt,name=relationship,proto3" json:"relationship,omitempty"` // contains filtered or unexported fields }
RelationshipUpdate is used for mutating a single relationship within the service.
CREATE will create the relationship only if it doesn't exist, and error otherwise.
TOUCH will upsert the relationship, and will not error if it already exists.
DELETE will delete the relationship. If the relationship does not exist, this operation will no-op.
func (*RelationshipUpdate) CloneMessageVT ¶
func (m *RelationshipUpdate) CloneMessageVT() proto.Message
func (*RelationshipUpdate) CloneVT ¶
func (m *RelationshipUpdate) CloneVT() *RelationshipUpdate
func (*RelationshipUpdate) Descriptor
deprecated
func (*RelationshipUpdate) Descriptor() ([]byte, []int)
Deprecated: Use RelationshipUpdate.ProtoReflect.Descriptor instead.
func (*RelationshipUpdate) EqualMessageVT ¶
func (this *RelationshipUpdate) EqualMessageVT(thatMsg proto.Message) bool
func (*RelationshipUpdate) EqualVT ¶
func (this *RelationshipUpdate) EqualVT(that *RelationshipUpdate) bool
func (*RelationshipUpdate) GetOperation ¶
func (x *RelationshipUpdate) GetOperation() RelationshipUpdate_Operation
func (*RelationshipUpdate) GetRelationship ¶
func (x *RelationshipUpdate) GetRelationship() *Relationship
func (*RelationshipUpdate) MarshalToSizedBufferVT ¶
func (m *RelationshipUpdate) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationshipUpdate) MarshalToVT ¶
func (m *RelationshipUpdate) MarshalToVT(dAtA []byte) (int, error)
func (*RelationshipUpdate) MarshalVT ¶
func (m *RelationshipUpdate) MarshalVT() (dAtA []byte, err error)
func (*RelationshipUpdate) ProtoMessage ¶
func (*RelationshipUpdate) ProtoMessage()
func (*RelationshipUpdate) ProtoReflect ¶
func (x *RelationshipUpdate) ProtoReflect() protoreflect.Message
func (*RelationshipUpdate) Reset ¶
func (x *RelationshipUpdate) Reset()
func (*RelationshipUpdate) SizeVT ¶
func (m *RelationshipUpdate) SizeVT() (n int)
func (*RelationshipUpdate) String ¶
func (x *RelationshipUpdate) String() string
func (*RelationshipUpdate) UnmarshalVT ¶
func (m *RelationshipUpdate) UnmarshalVT(dAtA []byte) error
func (*RelationshipUpdate) Validate ¶
func (m *RelationshipUpdate) Validate() error
Validate checks the field values on RelationshipUpdate 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 (*RelationshipUpdate) ValidateAll ¶
func (m *RelationshipUpdate) ValidateAll() error
ValidateAll checks the field values on RelationshipUpdate 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 RelationshipUpdateMultiError, or nil if none found.
type RelationshipUpdateMultiError ¶
type RelationshipUpdateMultiError []error
RelationshipUpdateMultiError is an error wrapping multiple validation errors returned by RelationshipUpdate.ValidateAll() if the designated constraints aren't met.
func (RelationshipUpdateMultiError) AllErrors ¶
func (m RelationshipUpdateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelationshipUpdateMultiError) Error ¶
func (m RelationshipUpdateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelationshipUpdateValidationError ¶
type RelationshipUpdateValidationError struct {
// contains filtered or unexported fields
}
RelationshipUpdateValidationError is the validation error returned by RelationshipUpdate.Validate if the designated constraints aren't met.
func (RelationshipUpdateValidationError) Cause ¶
func (e RelationshipUpdateValidationError) Cause() error
Cause function returns cause value.
func (RelationshipUpdateValidationError) Error ¶
func (e RelationshipUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipUpdateValidationError) ErrorName ¶
func (e RelationshipUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipUpdateValidationError) Field ¶
func (e RelationshipUpdateValidationError) Field() string
Field function returns field value.
func (RelationshipUpdateValidationError) Key ¶
func (e RelationshipUpdateValidationError) Key() bool
Key function returns key value.
func (RelationshipUpdateValidationError) Reason ¶
func (e RelationshipUpdateValidationError) Reason() string
Reason function returns reason value.
type RelationshipUpdate_Operation ¶
type RelationshipUpdate_Operation int32
const ( RelationshipUpdate_OPERATION_UNSPECIFIED RelationshipUpdate_Operation = 0 RelationshipUpdate_OPERATION_CREATE RelationshipUpdate_Operation = 1 RelationshipUpdate_OPERATION_TOUCH RelationshipUpdate_Operation = 2 RelationshipUpdate_OPERATION_DELETE RelationshipUpdate_Operation = 3 )
func (RelationshipUpdate_Operation) Descriptor ¶
func (RelationshipUpdate_Operation) Descriptor() protoreflect.EnumDescriptor
func (RelationshipUpdate_Operation) Enum ¶
func (x RelationshipUpdate_Operation) Enum() *RelationshipUpdate_Operation
func (RelationshipUpdate_Operation) EnumDescriptor
deprecated
func (RelationshipUpdate_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use RelationshipUpdate_Operation.Descriptor instead.
func (RelationshipUpdate_Operation) Number ¶
func (x RelationshipUpdate_Operation) Number() protoreflect.EnumNumber
func (RelationshipUpdate_Operation) String ¶
func (x RelationshipUpdate_Operation) String() string
func (RelationshipUpdate_Operation) Type ¶
func (RelationshipUpdate_Operation) Type() protoreflect.EnumType
type RelationshipValidationError ¶
type RelationshipValidationError struct {
// contains filtered or unexported fields
}
RelationshipValidationError is the validation error returned by Relationship.Validate if the designated constraints aren't met.
func (RelationshipValidationError) Cause ¶
func (e RelationshipValidationError) Cause() error
Cause function returns cause value.
func (RelationshipValidationError) Error ¶
func (e RelationshipValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipValidationError) ErrorName ¶
func (e RelationshipValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipValidationError) Field ¶
func (e RelationshipValidationError) Field() string
Field function returns field value.
func (RelationshipValidationError) Key ¶
func (e RelationshipValidationError) Key() bool
Key function returns key value.
func (RelationshipValidationError) Reason ¶
func (e RelationshipValidationError) Reason() string
Reason function returns reason value.
type SubjectReference ¶
type SubjectReference struct { Object *ObjectReference `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"` OptionalRelation string `protobuf:"bytes,2,opt,name=optional_relation,json=optionalRelation,proto3" json:"optional_relation,omitempty"` // contains filtered or unexported fields }
SubjectReference is used for referring to the subject portion of a Relationship. The relation component is optional and is used for defining a sub-relation on the subject, e.g. group:123#members
func (*SubjectReference) CloneMessageVT ¶
func (m *SubjectReference) CloneMessageVT() proto.Message
func (*SubjectReference) CloneVT ¶
func (m *SubjectReference) CloneVT() *SubjectReference
func (*SubjectReference) Descriptor
deprecated
func (*SubjectReference) Descriptor() ([]byte, []int)
Deprecated: Use SubjectReference.ProtoReflect.Descriptor instead.
func (*SubjectReference) EqualMessageVT ¶
func (this *SubjectReference) EqualMessageVT(thatMsg proto.Message) bool
func (*SubjectReference) EqualVT ¶
func (this *SubjectReference) EqualVT(that *SubjectReference) bool
func (*SubjectReference) GetObject ¶
func (x *SubjectReference) GetObject() *ObjectReference
func (*SubjectReference) GetOptionalRelation ¶
func (x *SubjectReference) GetOptionalRelation() string
func (*SubjectReference) MarshalToSizedBufferVT ¶
func (m *SubjectReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SubjectReference) MarshalToVT ¶
func (m *SubjectReference) MarshalToVT(dAtA []byte) (int, error)
func (*SubjectReference) MarshalVT ¶
func (m *SubjectReference) MarshalVT() (dAtA []byte, err error)
func (*SubjectReference) ProtoMessage ¶
func (*SubjectReference) ProtoMessage()
func (*SubjectReference) ProtoReflect ¶
func (x *SubjectReference) ProtoReflect() protoreflect.Message
func (*SubjectReference) Reset ¶
func (x *SubjectReference) Reset()
func (*SubjectReference) SizeVT ¶
func (m *SubjectReference) SizeVT() (n int)
func (*SubjectReference) String ¶
func (x *SubjectReference) String() string
func (*SubjectReference) UnmarshalVT ¶
func (m *SubjectReference) UnmarshalVT(dAtA []byte) error
func (*SubjectReference) Validate ¶
func (m *SubjectReference) Validate() error
Validate checks the field values on SubjectReference 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 (*SubjectReference) ValidateAll ¶
func (m *SubjectReference) ValidateAll() error
ValidateAll checks the field values on SubjectReference 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 SubjectReferenceMultiError, or nil if none found.
type SubjectReferenceMultiError ¶
type SubjectReferenceMultiError []error
SubjectReferenceMultiError is an error wrapping multiple validation errors returned by SubjectReference.ValidateAll() if the designated constraints aren't met.
func (SubjectReferenceMultiError) AllErrors ¶
func (m SubjectReferenceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubjectReferenceMultiError) Error ¶
func (m SubjectReferenceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubjectReferenceValidationError ¶
type SubjectReferenceValidationError struct {
// contains filtered or unexported fields
}
SubjectReferenceValidationError is the validation error returned by SubjectReference.Validate if the designated constraints aren't met.
func (SubjectReferenceValidationError) Cause ¶
func (e SubjectReferenceValidationError) Cause() error
Cause function returns cause value.
func (SubjectReferenceValidationError) Error ¶
func (e SubjectReferenceValidationError) Error() string
Error satisfies the builtin error interface
func (SubjectReferenceValidationError) ErrorName ¶
func (e SubjectReferenceValidationError) ErrorName() string
ErrorName returns error name.
func (SubjectReferenceValidationError) Field ¶
func (e SubjectReferenceValidationError) Field() string
Field function returns field value.
func (SubjectReferenceValidationError) Key ¶
func (e SubjectReferenceValidationError) Key() bool
Key function returns key value.
func (SubjectReferenceValidationError) Reason ¶
func (e SubjectReferenceValidationError) Reason() string
Reason function returns reason value.
type ZedToken ¶
type ZedToken struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
ZedToken is used to provide causality metadata between Write and Check requests.
See the authzed.api.v1.Consistency message for more information.
func (*ZedToken) CloneMessageVT ¶
func (*ZedToken) Descriptor
deprecated
func (*ZedToken) MarshalToSizedBufferVT ¶
func (*ZedToken) ProtoMessage ¶
func (*ZedToken) ProtoMessage()
func (*ZedToken) ProtoReflect ¶
func (x *ZedToken) ProtoReflect() protoreflect.Message
func (*ZedToken) UnmarshalVT ¶
func (*ZedToken) Validate ¶
Validate checks the field values on ZedToken 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 (*ZedToken) ValidateAll ¶
ValidateAll checks the field values on ZedToken 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 ZedTokenMultiError, or nil if none found.
type ZedTokenMultiError ¶
type ZedTokenMultiError []error
ZedTokenMultiError is an error wrapping multiple validation errors returned by ZedToken.ValidateAll() if the designated constraints aren't met.
func (ZedTokenMultiError) AllErrors ¶
func (m ZedTokenMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ZedTokenMultiError) Error ¶
func (m ZedTokenMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ZedTokenValidationError ¶
type ZedTokenValidationError struct {
// contains filtered or unexported fields
}
ZedTokenValidationError is the validation error returned by ZedToken.Validate if the designated constraints aren't met.
func (ZedTokenValidationError) Cause ¶
func (e ZedTokenValidationError) Cause() error
Cause function returns cause value.
func (ZedTokenValidationError) Error ¶
func (e ZedTokenValidationError) Error() string
Error satisfies the builtin error interface
func (ZedTokenValidationError) ErrorName ¶
func (e ZedTokenValidationError) ErrorName() string
ErrorName returns error name.
func (ZedTokenValidationError) Field ¶
func (e ZedTokenValidationError) Field() string
Field function returns field value.
func (ZedTokenValidationError) Key ¶
func (e ZedTokenValidationError) Key() bool
Key function returns key value.
func (ZedTokenValidationError) Reason ¶
func (e ZedTokenValidationError) Reason() string
Reason function returns reason value.