Documentation
¶
Index ¶
- Constants
- Variables
- func MustNewTraversalBloomFilter(numElements uint) []byte
- func NewTraversalBloomFilter(numElements uint) ([]byte, error)
- func RegisterDispatchServiceServer(s grpc.ServiceRegistrar, srv DispatchServiceServer)
- 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) GetDuration() *durationpb.Duration
- func (x *CheckDebugTrace) GetIsCachedResult() bool
- func (x *CheckDebugTrace) GetRequest() *DispatchCheckRequest
- func (x *CheckDebugTrace) GetResourceRelationType() CheckDebugTrace_RelationType
- func (x *CheckDebugTrace) GetResults() map[string]*ResourceCheckResult
- func (x *CheckDebugTrace) GetSourceId() string
- func (x *CheckDebugTrace) GetSubProblems() []*CheckDebugTrace
- func (x *CheckDebugTrace) GetTraceId() string
- 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_RelationType
- func (CheckDebugTrace_RelationType) Descriptor() protoreflect.EnumDescriptor
- func (x CheckDebugTrace_RelationType) Enum() *CheckDebugTrace_RelationType
- func (CheckDebugTrace_RelationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CheckDebugTrace_RelationType) Number() protoreflect.EnumNumber
- func (x CheckDebugTrace_RelationType) String() string
- func (CheckDebugTrace_RelationType) Type() protoreflect.EnumType
- type CheckHint
- func (m *CheckHint) CloneMessageVT() proto.Message
- func (m *CheckHint) CloneVT() *CheckHint
- func (*CheckHint) Descriptor() ([]byte, []int)deprecated
- func (this *CheckHint) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CheckHint) EqualVT(that *CheckHint) bool
- func (x *CheckHint) GetResource() *v1.ObjectAndRelation
- func (x *CheckHint) GetResult() *ResourceCheckResult
- func (x *CheckHint) GetSubject() *v1.ObjectAndRelation
- func (x *CheckHint) GetTtuComputedUsersetRelation() string
- func (m *CheckHint) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckHint) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckHint) MarshalVT() (dAtA []byte, err error)
- func (*CheckHint) ProtoMessage()
- func (x *CheckHint) ProtoReflect() protoreflect.Message
- func (x *CheckHint) Reset()
- func (m *CheckHint) SizeVT() (n int)
- func (x *CheckHint) String() string
- func (m *CheckHint) UnmarshalVT(dAtA []byte) error
- func (m *CheckHint) Validate() error
- func (m *CheckHint) ValidateAll() error
- type CheckHintMultiError
- type CheckHintValidationError
- 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) GetDispatchVersion() uint32
- func (x *Cursor) GetSections() []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 (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 DispatchCheckRequest
- func (m *DispatchCheckRequest) CloneMessageVT() proto.Message
- func (m *DispatchCheckRequest) CloneVT() *DispatchCheckRequest
- func (*DispatchCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (this *DispatchCheckRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DispatchCheckRequest) EqualVT(that *DispatchCheckRequest) bool
- func (x *DispatchCheckRequest) GetCheckHints() []*CheckHint
- func (x *DispatchCheckRequest) GetDebug() DispatchCheckRequest_DebugSetting
- func (x *DispatchCheckRequest) GetMetadata() *ResolverMeta
- func (x *DispatchCheckRequest) GetResourceIds() []string
- func (x *DispatchCheckRequest) GetResourceRelation() *v1.RelationReference
- func (x *DispatchCheckRequest) GetResultsSetting() DispatchCheckRequest_ResultsSetting
- func (x *DispatchCheckRequest) GetSubject() *v1.ObjectAndRelation
- func (m *DispatchCheckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DispatchCheckRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *DispatchCheckRequest) MarshalVT() (dAtA []byte, err error)
- func (cr *DispatchCheckRequest) MarshalZerologObject(e *zerolog.Event)
- func (*DispatchCheckRequest) ProtoMessage()
- func (x *DispatchCheckRequest) ProtoReflect() protoreflect.Message
- func (x *DispatchCheckRequest) Reset()
- func (m *DispatchCheckRequest) SizeVT() (n int)
- func (x *DispatchCheckRequest) String() string
- func (m *DispatchCheckRequest) UnmarshalVT(dAtA []byte) error
- func (m *DispatchCheckRequest) Validate() error
- func (m *DispatchCheckRequest) ValidateAll() error
- type DispatchCheckRequestMultiError
- type DispatchCheckRequestValidationError
- func (e DispatchCheckRequestValidationError) Cause() error
- func (e DispatchCheckRequestValidationError) Error() string
- func (e DispatchCheckRequestValidationError) ErrorName() string
- func (e DispatchCheckRequestValidationError) Field() string
- func (e DispatchCheckRequestValidationError) Key() bool
- func (e DispatchCheckRequestValidationError) Reason() string
- type DispatchCheckRequest_DebugSetting
- func (DispatchCheckRequest_DebugSetting) Descriptor() protoreflect.EnumDescriptor
- func (x DispatchCheckRequest_DebugSetting) Enum() *DispatchCheckRequest_DebugSetting
- func (DispatchCheckRequest_DebugSetting) EnumDescriptor() ([]byte, []int)deprecated
- func (x DispatchCheckRequest_DebugSetting) Number() protoreflect.EnumNumber
- func (x DispatchCheckRequest_DebugSetting) String() string
- func (DispatchCheckRequest_DebugSetting) Type() protoreflect.EnumType
- type DispatchCheckRequest_ResultsSetting
- func (DispatchCheckRequest_ResultsSetting) Descriptor() protoreflect.EnumDescriptor
- func (x DispatchCheckRequest_ResultsSetting) Enum() *DispatchCheckRequest_ResultsSetting
- func (DispatchCheckRequest_ResultsSetting) EnumDescriptor() ([]byte, []int)deprecated
- func (x DispatchCheckRequest_ResultsSetting) Number() protoreflect.EnumNumber
- func (x DispatchCheckRequest_ResultsSetting) String() string
- func (DispatchCheckRequest_ResultsSetting) Type() protoreflect.EnumType
- type DispatchCheckResponse
- func (m *DispatchCheckResponse) CloneMessageVT() proto.Message
- func (m *DispatchCheckResponse) CloneVT() *DispatchCheckResponse
- func (*DispatchCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (this *DispatchCheckResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DispatchCheckResponse) EqualVT(that *DispatchCheckResponse) bool
- func (x *DispatchCheckResponse) GetMetadata() *ResponseMeta
- func (x *DispatchCheckResponse) GetResultsByResourceId() map[string]*ResourceCheckResult
- func (m *DispatchCheckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DispatchCheckResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *DispatchCheckResponse) MarshalVT() (dAtA []byte, err error)
- func (cr *DispatchCheckResponse) MarshalZerologObject(e *zerolog.Event)
- func (*DispatchCheckResponse) ProtoMessage()
- func (x *DispatchCheckResponse) ProtoReflect() protoreflect.Message
- func (x *DispatchCheckResponse) Reset()
- func (m *DispatchCheckResponse) SizeVT() (n int)
- func (x *DispatchCheckResponse) String() string
- func (m *DispatchCheckResponse) UnmarshalVT(dAtA []byte) error
- func (m *DispatchCheckResponse) Validate() error
- func (m *DispatchCheckResponse) ValidateAll() error
- type DispatchCheckResponseMultiError
- type DispatchCheckResponseValidationError
- func (e DispatchCheckResponseValidationError) Cause() error
- func (e DispatchCheckResponseValidationError) Error() string
- func (e DispatchCheckResponseValidationError) ErrorName() string
- func (e DispatchCheckResponseValidationError) Field() string
- func (e DispatchCheckResponseValidationError) Key() bool
- func (e DispatchCheckResponseValidationError) Reason() string
- type DispatchExpandRequest
- func (m *DispatchExpandRequest) CloneMessageVT() proto.Message
- func (m *DispatchExpandRequest) CloneVT() *DispatchExpandRequest
- func (*DispatchExpandRequest) Descriptor() ([]byte, []int)deprecated
- func (this *DispatchExpandRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DispatchExpandRequest) EqualVT(that *DispatchExpandRequest) bool
- func (x *DispatchExpandRequest) GetExpansionMode() DispatchExpandRequest_ExpansionMode
- func (x *DispatchExpandRequest) GetMetadata() *ResolverMeta
- func (x *DispatchExpandRequest) GetResourceAndRelation() *v1.ObjectAndRelation
- func (m *DispatchExpandRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DispatchExpandRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *DispatchExpandRequest) MarshalVT() (dAtA []byte, err error)
- func (er *DispatchExpandRequest) MarshalZerologObject(e *zerolog.Event)
- func (*DispatchExpandRequest) ProtoMessage()
- func (x *DispatchExpandRequest) ProtoReflect() protoreflect.Message
- func (x *DispatchExpandRequest) Reset()
- func (m *DispatchExpandRequest) SizeVT() (n int)
- func (x *DispatchExpandRequest) String() string
- func (m *DispatchExpandRequest) UnmarshalVT(dAtA []byte) error
- func (m *DispatchExpandRequest) Validate() error
- func (m *DispatchExpandRequest) ValidateAll() error
- type DispatchExpandRequestMultiError
- type DispatchExpandRequestValidationError
- func (e DispatchExpandRequestValidationError) Cause() error
- func (e DispatchExpandRequestValidationError) Error() string
- func (e DispatchExpandRequestValidationError) ErrorName() string
- func (e DispatchExpandRequestValidationError) Field() string
- func (e DispatchExpandRequestValidationError) Key() bool
- func (e DispatchExpandRequestValidationError) Reason() string
- type DispatchExpandRequest_ExpansionMode
- func (DispatchExpandRequest_ExpansionMode) Descriptor() protoreflect.EnumDescriptor
- func (x DispatchExpandRequest_ExpansionMode) Enum() *DispatchExpandRequest_ExpansionMode
- func (DispatchExpandRequest_ExpansionMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x DispatchExpandRequest_ExpansionMode) Number() protoreflect.EnumNumber
- func (x DispatchExpandRequest_ExpansionMode) String() string
- func (DispatchExpandRequest_ExpansionMode) Type() protoreflect.EnumType
- type DispatchExpandResponse
- func (m *DispatchExpandResponse) CloneMessageVT() proto.Message
- func (m *DispatchExpandResponse) CloneVT() *DispatchExpandResponse
- func (*DispatchExpandResponse) Descriptor() ([]byte, []int)deprecated
- func (this *DispatchExpandResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DispatchExpandResponse) EqualVT(that *DispatchExpandResponse) bool
- func (x *DispatchExpandResponse) GetMetadata() *ResponseMeta
- func (x *DispatchExpandResponse) GetTreeNode() *v1.RelationTupleTreeNode
- func (m *DispatchExpandResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DispatchExpandResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *DispatchExpandResponse) MarshalVT() (dAtA []byte, err error)
- func (cr *DispatchExpandResponse) MarshalZerologObject(e *zerolog.Event)
- func (*DispatchExpandResponse) ProtoMessage()
- func (x *DispatchExpandResponse) ProtoReflect() protoreflect.Message
- func (x *DispatchExpandResponse) Reset()
- func (m *DispatchExpandResponse) SizeVT() (n int)
- func (x *DispatchExpandResponse) String() string
- func (m *DispatchExpandResponse) UnmarshalVT(dAtA []byte) error
- func (m *DispatchExpandResponse) Validate() error
- func (m *DispatchExpandResponse) ValidateAll() error
- type DispatchExpandResponseMultiError
- type DispatchExpandResponseValidationError
- func (e DispatchExpandResponseValidationError) Cause() error
- func (e DispatchExpandResponseValidationError) Error() string
- func (e DispatchExpandResponseValidationError) ErrorName() string
- func (e DispatchExpandResponseValidationError) Field() string
- func (e DispatchExpandResponseValidationError) Key() bool
- func (e DispatchExpandResponseValidationError) Reason() string
- type DispatchLookupResources2Request
- func (m *DispatchLookupResources2Request) CloneMessageVT() proto.Message
- func (m *DispatchLookupResources2Request) CloneVT() *DispatchLookupResources2Request
- func (*DispatchLookupResources2Request) Descriptor() ([]byte, []int)deprecated
- func (this *DispatchLookupResources2Request) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DispatchLookupResources2Request) EqualVT(that *DispatchLookupResources2Request) bool
- func (x *DispatchLookupResources2Request) GetContext() *structpb.Struct
- func (x *DispatchLookupResources2Request) GetMetadata() *ResolverMeta
- func (x *DispatchLookupResources2Request) GetOptionalCursor() *Cursor
- func (x *DispatchLookupResources2Request) GetOptionalLimit() uint32
- func (x *DispatchLookupResources2Request) GetResourceRelation() *v1.RelationReference
- func (x *DispatchLookupResources2Request) GetSubjectIds() []string
- func (x *DispatchLookupResources2Request) GetSubjectRelation() *v1.RelationReference
- func (x *DispatchLookupResources2Request) GetTerminalSubject() *v1.ObjectAndRelation
- func (m *DispatchLookupResources2Request) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DispatchLookupResources2Request) MarshalToVT(dAtA []byte) (int, error)
- func (m *DispatchLookupResources2Request) MarshalVT() (dAtA []byte, err error)
- func (lr *DispatchLookupResources2Request) MarshalZerologObject(e *zerolog.Event)
- func (*DispatchLookupResources2Request) ProtoMessage()
- func (x *DispatchLookupResources2Request) ProtoReflect() protoreflect.Message
- func (x *DispatchLookupResources2Request) Reset()
- func (m *DispatchLookupResources2Request) SizeVT() (n int)
- func (x *DispatchLookupResources2Request) String() string
- func (m *DispatchLookupResources2Request) UnmarshalVT(dAtA []byte) error
- func (m *DispatchLookupResources2Request) Validate() error
- func (m *DispatchLookupResources2Request) ValidateAll() error
- type DispatchLookupResources2RequestMultiError
- type DispatchLookupResources2RequestValidationError
- func (e DispatchLookupResources2RequestValidationError) Cause() error
- func (e DispatchLookupResources2RequestValidationError) Error() string
- func (e DispatchLookupResources2RequestValidationError) ErrorName() string
- func (e DispatchLookupResources2RequestValidationError) Field() string
- func (e DispatchLookupResources2RequestValidationError) Key() bool
- func (e DispatchLookupResources2RequestValidationError) Reason() string
- type DispatchLookupResources2Response
- func (m *DispatchLookupResources2Response) CloneMessageVT() proto.Message
- func (m *DispatchLookupResources2Response) CloneVT() *DispatchLookupResources2Response
- func (*DispatchLookupResources2Response) Descriptor() ([]byte, []int)deprecated
- func (this *DispatchLookupResources2Response) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DispatchLookupResources2Response) EqualVT(that *DispatchLookupResources2Response) bool
- func (x *DispatchLookupResources2Response) GetAfterResponseCursor() *Cursor
- func (x *DispatchLookupResources2Response) GetMetadata() *ResponseMeta
- func (x *DispatchLookupResources2Response) GetResource() *PossibleResource
- func (m *DispatchLookupResources2Response) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DispatchLookupResources2Response) MarshalToVT(dAtA []byte) (int, error)
- func (m *DispatchLookupResources2Response) MarshalVT() (dAtA []byte, err error)
- func (*DispatchLookupResources2Response) ProtoMessage()
- func (x *DispatchLookupResources2Response) ProtoReflect() protoreflect.Message
- func (x *DispatchLookupResources2Response) Reset()
- func (m *DispatchLookupResources2Response) SizeVT() (n int)
- func (x *DispatchLookupResources2Response) String() string
- func (m *DispatchLookupResources2Response) UnmarshalVT(dAtA []byte) error
- func (m *DispatchLookupResources2Response) Validate() error
- func (m *DispatchLookupResources2Response) ValidateAll() error
- type DispatchLookupResources2ResponseMultiError
- type DispatchLookupResources2ResponseValidationError
- func (e DispatchLookupResources2ResponseValidationError) Cause() error
- func (e DispatchLookupResources2ResponseValidationError) Error() string
- func (e DispatchLookupResources2ResponseValidationError) ErrorName() string
- func (e DispatchLookupResources2ResponseValidationError) Field() string
- func (e DispatchLookupResources2ResponseValidationError) Key() bool
- func (e DispatchLookupResources2ResponseValidationError) Reason() string
- type DispatchLookupSubjectsRequest
- func (m *DispatchLookupSubjectsRequest) CloneMessageVT() proto.Message
- func (m *DispatchLookupSubjectsRequest) CloneVT() *DispatchLookupSubjectsRequest
- func (*DispatchLookupSubjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (this *DispatchLookupSubjectsRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DispatchLookupSubjectsRequest) EqualVT(that *DispatchLookupSubjectsRequest) bool
- func (x *DispatchLookupSubjectsRequest) GetMetadata() *ResolverMeta
- func (x *DispatchLookupSubjectsRequest) GetResourceIds() []string
- func (x *DispatchLookupSubjectsRequest) GetResourceRelation() *v1.RelationReference
- func (x *DispatchLookupSubjectsRequest) GetSubjectRelation() *v1.RelationReference
- func (m *DispatchLookupSubjectsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DispatchLookupSubjectsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *DispatchLookupSubjectsRequest) MarshalVT() (dAtA []byte, err error)
- func (ls *DispatchLookupSubjectsRequest) MarshalZerologObject(e *zerolog.Event)
- func (*DispatchLookupSubjectsRequest) ProtoMessage()
- func (x *DispatchLookupSubjectsRequest) ProtoReflect() protoreflect.Message
- func (x *DispatchLookupSubjectsRequest) Reset()
- func (m *DispatchLookupSubjectsRequest) SizeVT() (n int)
- func (x *DispatchLookupSubjectsRequest) String() string
- func (m *DispatchLookupSubjectsRequest) UnmarshalVT(dAtA []byte) error
- func (m *DispatchLookupSubjectsRequest) Validate() error
- func (m *DispatchLookupSubjectsRequest) ValidateAll() error
- type DispatchLookupSubjectsRequestMultiError
- type DispatchLookupSubjectsRequestValidationError
- func (e DispatchLookupSubjectsRequestValidationError) Cause() error
- func (e DispatchLookupSubjectsRequestValidationError) Error() string
- func (e DispatchLookupSubjectsRequestValidationError) ErrorName() string
- func (e DispatchLookupSubjectsRequestValidationError) Field() string
- func (e DispatchLookupSubjectsRequestValidationError) Key() bool
- func (e DispatchLookupSubjectsRequestValidationError) Reason() string
- type DispatchLookupSubjectsResponse
- func (m *DispatchLookupSubjectsResponse) CloneMessageVT() proto.Message
- func (m *DispatchLookupSubjectsResponse) CloneVT() *DispatchLookupSubjectsResponse
- func (*DispatchLookupSubjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (this *DispatchLookupSubjectsResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DispatchLookupSubjectsResponse) EqualVT(that *DispatchLookupSubjectsResponse) bool
- func (x *DispatchLookupSubjectsResponse) GetFoundSubjectsByResourceId() map[string]*FoundSubjects
- func (x *DispatchLookupSubjectsResponse) GetMetadata() *ResponseMeta
- func (m *DispatchLookupSubjectsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DispatchLookupSubjectsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *DispatchLookupSubjectsResponse) MarshalVT() (dAtA []byte, err error)
- func (cs *DispatchLookupSubjectsResponse) MarshalZerologObject(e *zerolog.Event)
- func (*DispatchLookupSubjectsResponse) ProtoMessage()
- func (x *DispatchLookupSubjectsResponse) ProtoReflect() protoreflect.Message
- func (x *DispatchLookupSubjectsResponse) Reset()
- func (m *DispatchLookupSubjectsResponse) SizeVT() (n int)
- func (x *DispatchLookupSubjectsResponse) String() string
- func (m *DispatchLookupSubjectsResponse) UnmarshalVT(dAtA []byte) error
- func (m *DispatchLookupSubjectsResponse) Validate() error
- func (m *DispatchLookupSubjectsResponse) ValidateAll() error
- type DispatchLookupSubjectsResponseMultiError
- type DispatchLookupSubjectsResponseValidationError
- func (e DispatchLookupSubjectsResponseValidationError) Cause() error
- func (e DispatchLookupSubjectsResponseValidationError) Error() string
- func (e DispatchLookupSubjectsResponseValidationError) ErrorName() string
- func (e DispatchLookupSubjectsResponseValidationError) Field() string
- func (e DispatchLookupSubjectsResponseValidationError) Key() bool
- func (e DispatchLookupSubjectsResponseValidationError) Reason() string
- type DispatchServiceClient
- type DispatchServiceServer
- type DispatchService_DispatchLookupResources2Client
- type DispatchService_DispatchLookupResources2Server
- type DispatchService_DispatchLookupSubjectsClient
- type DispatchService_DispatchLookupSubjectsServer
- type FoundSubject
- func (m *FoundSubject) CloneMessageVT() proto.Message
- func (m *FoundSubject) CloneVT() *FoundSubject
- func (*FoundSubject) Descriptor() ([]byte, []int)deprecated
- func (this *FoundSubject) EqualMessageVT(thatMsg proto.Message) bool
- func (this *FoundSubject) EqualVT(that *FoundSubject) bool
- func (x *FoundSubject) GetCaveatExpression() *v1.CaveatExpression
- func (x *FoundSubject) GetExcludedSubjects() []*FoundSubject
- func (x *FoundSubject) GetSubjectId() string
- func (m *FoundSubject) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FoundSubject) MarshalToVT(dAtA []byte) (int, error)
- func (m *FoundSubject) MarshalVT() (dAtA []byte, err error)
- func (*FoundSubject) ProtoMessage()
- func (x *FoundSubject) ProtoReflect() protoreflect.Message
- func (x *FoundSubject) Reset()
- func (m *FoundSubject) SizeVT() (n int)
- func (x *FoundSubject) String() string
- func (m *FoundSubject) UnmarshalVT(dAtA []byte) error
- func (m *FoundSubject) Validate() error
- func (m *FoundSubject) ValidateAll() error
- type FoundSubjectMultiError
- type FoundSubjectValidationError
- func (e FoundSubjectValidationError) Cause() error
- func (e FoundSubjectValidationError) Error() string
- func (e FoundSubjectValidationError) ErrorName() string
- func (e FoundSubjectValidationError) Field() string
- func (e FoundSubjectValidationError) Key() bool
- func (e FoundSubjectValidationError) Reason() string
- type FoundSubjects
- func (m *FoundSubjects) CloneMessageVT() proto.Message
- func (m *FoundSubjects) CloneVT() *FoundSubjects
- func (*FoundSubjects) Descriptor() ([]byte, []int)deprecated
- func (this *FoundSubjects) EqualMessageVT(thatMsg proto.Message) bool
- func (this *FoundSubjects) EqualVT(that *FoundSubjects) bool
- func (x *FoundSubjects) GetFoundSubjects() []*FoundSubject
- func (m *FoundSubjects) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FoundSubjects) MarshalToVT(dAtA []byte) (int, error)
- func (m *FoundSubjects) MarshalVT() (dAtA []byte, err error)
- func (*FoundSubjects) ProtoMessage()
- func (x *FoundSubjects) ProtoReflect() protoreflect.Message
- func (x *FoundSubjects) Reset()
- func (m *FoundSubjects) SizeVT() (n int)
- func (x *FoundSubjects) String() string
- func (m *FoundSubjects) UnmarshalVT(dAtA []byte) error
- func (m *FoundSubjects) Validate() error
- func (m *FoundSubjects) ValidateAll() error
- type FoundSubjectsMultiError
- type FoundSubjectsValidationError
- func (e FoundSubjectsValidationError) Cause() error
- func (e FoundSubjectsValidationError) Error() string
- func (e FoundSubjectsValidationError) ErrorName() string
- func (e FoundSubjectsValidationError) Field() string
- func (e FoundSubjectsValidationError) Key() bool
- func (e FoundSubjectsValidationError) Reason() string
- type PossibleResource
- func (m *PossibleResource) CloneMessageVT() proto.Message
- func (m *PossibleResource) CloneVT() *PossibleResource
- func (*PossibleResource) Descriptor() ([]byte, []int)deprecated
- func (this *PossibleResource) EqualMessageVT(thatMsg proto.Message) bool
- func (this *PossibleResource) EqualVT(that *PossibleResource) bool
- func (x *PossibleResource) GetForSubjectIds() []string
- func (x *PossibleResource) GetMissingContextParams() []string
- func (x *PossibleResource) GetResourceId() string
- func (m *PossibleResource) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PossibleResource) MarshalToVT(dAtA []byte) (int, error)
- func (m *PossibleResource) MarshalVT() (dAtA []byte, err error)
- func (*PossibleResource) ProtoMessage()
- func (x *PossibleResource) ProtoReflect() protoreflect.Message
- func (x *PossibleResource) Reset()
- func (m *PossibleResource) SizeVT() (n int)
- func (x *PossibleResource) String() string
- func (m *PossibleResource) UnmarshalVT(dAtA []byte) error
- func (m *PossibleResource) Validate() error
- func (m *PossibleResource) ValidateAll() error
- type PossibleResourceMultiError
- type PossibleResourceValidationError
- func (e PossibleResourceValidationError) Cause() error
- func (e PossibleResourceValidationError) Error() string
- func (e PossibleResourceValidationError) ErrorName() string
- func (e PossibleResourceValidationError) Field() string
- func (e PossibleResourceValidationError) Key() bool
- func (e PossibleResourceValidationError) Reason() string
- type ResolverMeta
- func (m *ResolverMeta) CloneMessageVT() proto.Message
- func (m *ResolverMeta) CloneVT() *ResolverMeta
- func (*ResolverMeta) Descriptor() ([]byte, []int)deprecated
- func (this *ResolverMeta) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ResolverMeta) EqualVT(that *ResolverMeta) bool
- func (x *ResolverMeta) GetAtRevision() string
- func (x *ResolverMeta) GetDepthRemaining() uint32
- func (x *ResolverMeta) GetRequestId() stringdeprecated
- func (x *ResolverMeta) GetTraversalBloom() []byte
- func (m *ResolverMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ResolverMeta) MarshalToVT(dAtA []byte) (int, error)
- func (m *ResolverMeta) MarshalVT() (dAtA []byte, err error)
- func (x *ResolverMeta) MarshalZerologObject(e *zerolog.Event)
- func (*ResolverMeta) ProtoMessage()
- func (x *ResolverMeta) ProtoReflect() protoreflect.Message
- func (x *ResolverMeta) RecordTraversal(key string) (possiblyLoop bool, err error)
- func (x *ResolverMeta) Reset()
- func (m *ResolverMeta) SizeVT() (n int)
- func (x *ResolverMeta) String() string
- func (m *ResolverMeta) UnmarshalVT(dAtA []byte) error
- func (m *ResolverMeta) Validate() error
- func (m *ResolverMeta) ValidateAll() error
- type ResolverMetaMultiError
- type ResolverMetaValidationError
- func (e ResolverMetaValidationError) Cause() error
- func (e ResolverMetaValidationError) Error() string
- func (e ResolverMetaValidationError) ErrorName() string
- func (e ResolverMetaValidationError) Field() string
- func (e ResolverMetaValidationError) Key() bool
- func (e ResolverMetaValidationError) Reason() string
- type ResourceCheckResult
- func (m *ResourceCheckResult) CloneMessageVT() proto.Message
- func (m *ResourceCheckResult) CloneVT() *ResourceCheckResult
- func (*ResourceCheckResult) Descriptor() ([]byte, []int)deprecated
- func (this *ResourceCheckResult) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ResourceCheckResult) EqualVT(that *ResourceCheckResult) bool
- func (x *ResourceCheckResult) GetExpression() *v1.CaveatExpression
- func (x *ResourceCheckResult) GetMembership() ResourceCheckResult_Membership
- func (x *ResourceCheckResult) GetMissingExprFields() []string
- func (m *ResourceCheckResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ResourceCheckResult) MarshalToVT(dAtA []byte) (int, error)
- func (m *ResourceCheckResult) MarshalVT() (dAtA []byte, err error)
- func (*ResourceCheckResult) ProtoMessage()
- func (x *ResourceCheckResult) ProtoReflect() protoreflect.Message
- func (x *ResourceCheckResult) Reset()
- func (m *ResourceCheckResult) SizeVT() (n int)
- func (x *ResourceCheckResult) String() string
- func (m *ResourceCheckResult) UnmarshalVT(dAtA []byte) error
- func (m *ResourceCheckResult) Validate() error
- func (m *ResourceCheckResult) ValidateAll() error
- type ResourceCheckResultMultiError
- type ResourceCheckResultValidationError
- func (e ResourceCheckResultValidationError) Cause() error
- func (e ResourceCheckResultValidationError) Error() string
- func (e ResourceCheckResultValidationError) ErrorName() string
- func (e ResourceCheckResultValidationError) Field() string
- func (e ResourceCheckResultValidationError) Key() bool
- func (e ResourceCheckResultValidationError) Reason() string
- type ResourceCheckResult_Membership
- func (ResourceCheckResult_Membership) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceCheckResult_Membership) Enum() *ResourceCheckResult_Membership
- func (ResourceCheckResult_Membership) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceCheckResult_Membership) Number() protoreflect.EnumNumber
- func (x ResourceCheckResult_Membership) String() string
- func (ResourceCheckResult_Membership) Type() protoreflect.EnumType
- type ResponseMeta
- func (m *ResponseMeta) CloneMessageVT() proto.Message
- func (m *ResponseMeta) CloneVT() *ResponseMeta
- func (*ResponseMeta) Descriptor() ([]byte, []int)deprecated
- func (this *ResponseMeta) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ResponseMeta) EqualVT(that *ResponseMeta) bool
- func (x *ResponseMeta) GetCachedDispatchCount() uint32
- func (x *ResponseMeta) GetDebugInfo() *DebugInformation
- func (x *ResponseMeta) GetDepthRequired() uint32
- func (x *ResponseMeta) GetDispatchCount() uint32
- func (m *ResponseMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ResponseMeta) MarshalToVT(dAtA []byte) (int, error)
- func (m *ResponseMeta) MarshalVT() (dAtA []byte, err error)
- func (cr *ResponseMeta) MarshalZerologObject(e *zerolog.Event)
- func (*ResponseMeta) ProtoMessage()
- func (x *ResponseMeta) ProtoReflect() protoreflect.Message
- func (x *ResponseMeta) Reset()
- func (m *ResponseMeta) SizeVT() (n int)
- func (x *ResponseMeta) String() string
- func (m *ResponseMeta) UnmarshalVT(dAtA []byte) error
- func (m *ResponseMeta) Validate() error
- func (m *ResponseMeta) ValidateAll() error
- type ResponseMetaMultiError
- type ResponseMetaValidationError
- func (e ResponseMetaValidationError) Cause() error
- func (e ResponseMetaValidationError) Error() string
- func (e ResponseMetaValidationError) ErrorName() string
- func (e ResponseMetaValidationError) Field() string
- func (e ResponseMetaValidationError) Key() bool
- func (e ResponseMetaValidationError) Reason() string
- type UnimplementedDispatchServiceServer
- func (UnimplementedDispatchServiceServer) DispatchCheck(context.Context, *DispatchCheckRequest) (*DispatchCheckResponse, error)
- func (UnimplementedDispatchServiceServer) DispatchExpand(context.Context, *DispatchExpandRequest) (*DispatchExpandResponse, error)
- func (UnimplementedDispatchServiceServer) DispatchLookupResources2(*DispatchLookupResources2Request, ...) error
- func (UnimplementedDispatchServiceServer) DispatchLookupSubjects(*DispatchLookupSubjectsRequest, DispatchService_DispatchLookupSubjectsServer) error
- type UnsafeDispatchServiceServer
Constants ¶
const ( DispatchService_DispatchCheck_FullMethodName = "/dispatch.v1.DispatchService/DispatchCheck" DispatchService_DispatchExpand_FullMethodName = "/dispatch.v1.DispatchService/DispatchExpand" DispatchService_DispatchLookupSubjects_FullMethodName = "/dispatch.v1.DispatchService/DispatchLookupSubjects" DispatchService_DispatchLookupResources2_FullMethodName = "/dispatch.v1.DispatchService/DispatchLookupResources2" )
const Name = "proto"
Name is the name registered for the proto compressor.
Variables ¶
var ( DispatchCheckRequest_DebugSetting_name = map[int32]string{ 0: "NO_DEBUG", 1: "ENABLE_BASIC_DEBUGGING", 2: "ENABLE_TRACE_DEBUGGING", } DispatchCheckRequest_DebugSetting_value = map[string]int32{ "NO_DEBUG": 0, "ENABLE_BASIC_DEBUGGING": 1, "ENABLE_TRACE_DEBUGGING": 2, } )
Enum value maps for DispatchCheckRequest_DebugSetting.
var ( DispatchCheckRequest_ResultsSetting_name = map[int32]string{ 0: "REQUIRE_ALL_RESULTS", 1: "ALLOW_SINGLE_RESULT", } DispatchCheckRequest_ResultsSetting_value = map[string]int32{ "REQUIRE_ALL_RESULTS": 0, "ALLOW_SINGLE_RESULT": 1, } )
Enum value maps for DispatchCheckRequest_ResultsSetting.
var ( ResourceCheckResult_Membership_name = map[int32]string{ 0: "UNKNOWN", 1: "NOT_MEMBER", 2: "MEMBER", 3: "CAVEATED_MEMBER", } ResourceCheckResult_Membership_value = map[string]int32{ "UNKNOWN": 0, "NOT_MEMBER": 1, "MEMBER": 2, "CAVEATED_MEMBER": 3, } )
Enum value maps for ResourceCheckResult_Membership.
var ( DispatchExpandRequest_ExpansionMode_name = map[int32]string{ 0: "SHALLOW", 1: "RECURSIVE", } DispatchExpandRequest_ExpansionMode_value = map[string]int32{ "SHALLOW": 0, "RECURSIVE": 1, } )
Enum value maps for DispatchExpandRequest_ExpansionMode.
var ( CheckDebugTrace_RelationType_name = map[int32]string{ 0: "UNKNOWN", 1: "RELATION", 2: "PERMISSION", } CheckDebugTrace_RelationType_value = map[string]int32{ "UNKNOWN": 0, "RELATION": 1, "PERMISSION": 2, } )
Enum value maps for CheckDebugTrace_RelationType.
var DispatchService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dispatch.v1.DispatchService", HandlerType: (*DispatchServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DispatchCheck", Handler: _DispatchService_DispatchCheck_Handler, }, { MethodName: "DispatchExpand", Handler: _DispatchService_DispatchExpand_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "DispatchLookupSubjects", Handler: _DispatchService_DispatchLookupSubjects_Handler, ServerStreams: true, }, { StreamName: "DispatchLookupResources2", Handler: _DispatchService_DispatchLookupResources2_Handler, ServerStreams: true, }, }, Metadata: "dispatch/v1/dispatch.proto", }
DispatchService_ServiceDesc is the grpc.ServiceDesc for DispatchService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_dispatch_v1_dispatch_proto protoreflect.FileDescriptor
Functions ¶
func MustNewTraversalBloomFilter ¶ added in v1.28.0
MustNewTraversalBloomFilter creates a new bloom filter sized to the provided number of elements and with a predefined false-positive ratio of 0.1%.
func NewTraversalBloomFilter ¶ added in v1.28.0
NewTraversalBloomFilter creates a new bloom filter sized to the provided number of elements and with a predefined false-positive ratio of 0.1%.
func RegisterDispatchServiceServer ¶
func RegisterDispatchServiceServer(s grpc.ServiceRegistrar, srv DispatchServiceServer)
Types ¶
type CheckDebugTrace ¶ added in v1.11.0
type CheckDebugTrace struct { Request *DispatchCheckRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` ResourceRelationType CheckDebugTrace_RelationType `` /* 170-byte string literal not displayed */ Results map[string]*ResourceCheckResult `` /* 155-byte string literal not displayed */ IsCachedResult bool `protobuf:"varint,4,opt,name=is_cached_result,json=isCachedResult,proto3" json:"is_cached_result,omitempty"` SubProblems []*CheckDebugTrace `protobuf:"bytes,5,rep,name=sub_problems,json=subProblems,proto3" json:"sub_problems,omitempty"` Duration *durationpb.Duration `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"` TraceId string `protobuf:"bytes,7,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` SourceId string `protobuf:"bytes,8,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"` // contains filtered or unexported fields }
func (*CheckDebugTrace) CloneMessageVT ¶ added in v1.22.0
func (m *CheckDebugTrace) CloneMessageVT() proto.Message
func (*CheckDebugTrace) CloneVT ¶ added in v1.13.0
func (m *CheckDebugTrace) CloneVT() *CheckDebugTrace
func (*CheckDebugTrace) Descriptor
deprecated
added in
v1.11.0
func (*CheckDebugTrace) Descriptor() ([]byte, []int)
Deprecated: Use CheckDebugTrace.ProtoReflect.Descriptor instead.
func (*CheckDebugTrace) EqualMessageVT ¶ added in v1.22.0
func (this *CheckDebugTrace) EqualMessageVT(thatMsg proto.Message) bool
func (*CheckDebugTrace) EqualVT ¶ added in v1.15.0
func (this *CheckDebugTrace) EqualVT(that *CheckDebugTrace) bool
func (*CheckDebugTrace) GetDuration ¶ added in v1.23.0
func (x *CheckDebugTrace) GetDuration() *durationpb.Duration
func (*CheckDebugTrace) GetIsCachedResult ¶ added in v1.11.0
func (x *CheckDebugTrace) GetIsCachedResult() bool
func (*CheckDebugTrace) GetRequest ¶ added in v1.11.0
func (x *CheckDebugTrace) GetRequest() *DispatchCheckRequest
func (*CheckDebugTrace) GetResourceRelationType ¶ added in v1.11.0
func (x *CheckDebugTrace) GetResourceRelationType() CheckDebugTrace_RelationType
func (*CheckDebugTrace) GetResults ¶ added in v1.13.0
func (x *CheckDebugTrace) GetResults() map[string]*ResourceCheckResult
func (*CheckDebugTrace) GetSourceId ¶ added in v1.40.0
func (x *CheckDebugTrace) GetSourceId() string
func (*CheckDebugTrace) GetSubProblems ¶ added in v1.11.0
func (x *CheckDebugTrace) GetSubProblems() []*CheckDebugTrace
func (*CheckDebugTrace) GetTraceId ¶ added in v1.40.0
func (x *CheckDebugTrace) GetTraceId() string
func (*CheckDebugTrace) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *CheckDebugTrace) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckDebugTrace) MarshalToVT ¶ added in v1.13.0
func (m *CheckDebugTrace) MarshalToVT(dAtA []byte) (int, error)
func (*CheckDebugTrace) MarshalVT ¶ added in v1.13.0
func (m *CheckDebugTrace) MarshalVT() (dAtA []byte, err error)
func (*CheckDebugTrace) ProtoMessage ¶ added in v1.11.0
func (*CheckDebugTrace) ProtoMessage()
func (*CheckDebugTrace) ProtoReflect ¶ added in v1.11.0
func (x *CheckDebugTrace) ProtoReflect() protoreflect.Message
func (*CheckDebugTrace) Reset ¶ added in v1.11.0
func (x *CheckDebugTrace) Reset()
func (*CheckDebugTrace) SizeVT ¶ added in v1.13.0
func (m *CheckDebugTrace) SizeVT() (n int)
func (*CheckDebugTrace) String ¶ added in v1.11.0
func (x *CheckDebugTrace) String() string
func (*CheckDebugTrace) UnmarshalVT ¶ added in v1.13.0
func (m *CheckDebugTrace) UnmarshalVT(dAtA []byte) error
func (*CheckDebugTrace) Validate ¶ added in v1.11.0
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 ¶ added in v1.11.0
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 ¶ added in v1.11.0
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 ¶ added in v1.11.0
func (m CheckDebugTraceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckDebugTraceMultiError) Error ¶ added in v1.11.0
func (m CheckDebugTraceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckDebugTraceValidationError ¶ added in v1.11.0
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 ¶ added in v1.11.0
func (e CheckDebugTraceValidationError) Cause() error
Cause function returns cause value.
func (CheckDebugTraceValidationError) Error ¶ added in v1.11.0
func (e CheckDebugTraceValidationError) Error() string
Error satisfies the builtin error interface
func (CheckDebugTraceValidationError) ErrorName ¶ added in v1.11.0
func (e CheckDebugTraceValidationError) ErrorName() string
ErrorName returns error name.
func (CheckDebugTraceValidationError) Field ¶ added in v1.11.0
func (e CheckDebugTraceValidationError) Field() string
Field function returns field value.
func (CheckDebugTraceValidationError) Key ¶ added in v1.11.0
func (e CheckDebugTraceValidationError) Key() bool
Key function returns key value.
func (CheckDebugTraceValidationError) Reason ¶ added in v1.11.0
func (e CheckDebugTraceValidationError) Reason() string
Reason function returns reason value.
type CheckDebugTrace_RelationType ¶ added in v1.11.0
type CheckDebugTrace_RelationType int32
const ( CheckDebugTrace_UNKNOWN CheckDebugTrace_RelationType = 0 CheckDebugTrace_RELATION CheckDebugTrace_RelationType = 1 CheckDebugTrace_PERMISSION CheckDebugTrace_RelationType = 2 )
func (CheckDebugTrace_RelationType) Descriptor ¶ added in v1.11.0
func (CheckDebugTrace_RelationType) Descriptor() protoreflect.EnumDescriptor
func (CheckDebugTrace_RelationType) Enum ¶ added in v1.11.0
func (x CheckDebugTrace_RelationType) Enum() *CheckDebugTrace_RelationType
func (CheckDebugTrace_RelationType) EnumDescriptor
deprecated
added in
v1.11.0
func (CheckDebugTrace_RelationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CheckDebugTrace_RelationType.Descriptor instead.
func (CheckDebugTrace_RelationType) Number ¶ added in v1.11.0
func (x CheckDebugTrace_RelationType) Number() protoreflect.EnumNumber
func (CheckDebugTrace_RelationType) String ¶ added in v1.11.0
func (x CheckDebugTrace_RelationType) String() string
func (CheckDebugTrace_RelationType) Type ¶ added in v1.11.0
func (CheckDebugTrace_RelationType) Type() protoreflect.EnumType
type CheckHint ¶ added in v1.35.0
type CheckHint struct { Resource *v1.ObjectAndRelation `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Subject *v1.ObjectAndRelation `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` TtuComputedUsersetRelation string `` /* 143-byte string literal not displayed */ Result *ResourceCheckResult `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*CheckHint) CloneMessageVT ¶ added in v1.35.0
func (*CheckHint) Descriptor
deprecated
added in
v1.35.0
func (*CheckHint) EqualMessageVT ¶ added in v1.35.0
func (*CheckHint) GetResource ¶ added in v1.35.0
func (x *CheckHint) GetResource() *v1.ObjectAndRelation
func (*CheckHint) GetResult ¶ added in v1.35.0
func (x *CheckHint) GetResult() *ResourceCheckResult
func (*CheckHint) GetSubject ¶ added in v1.35.0
func (x *CheckHint) GetSubject() *v1.ObjectAndRelation
func (*CheckHint) GetTtuComputedUsersetRelation ¶ added in v1.35.0
func (*CheckHint) MarshalToSizedBufferVT ¶ added in v1.35.0
func (*CheckHint) MarshalToVT ¶ added in v1.35.0
func (*CheckHint) ProtoMessage ¶ added in v1.35.0
func (*CheckHint) ProtoMessage()
func (*CheckHint) ProtoReflect ¶ added in v1.35.0
func (x *CheckHint) ProtoReflect() protoreflect.Message
func (*CheckHint) UnmarshalVT ¶ added in v1.35.0
func (*CheckHint) Validate ¶ added in v1.35.0
Validate checks the field values on CheckHint 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 (*CheckHint) ValidateAll ¶ added in v1.35.0
ValidateAll checks the field values on CheckHint 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 CheckHintMultiError, or nil if none found.
type CheckHintMultiError ¶ added in v1.35.0
type CheckHintMultiError []error
CheckHintMultiError is an error wrapping multiple validation errors returned by CheckHint.ValidateAll() if the designated constraints aren't met.
func (CheckHintMultiError) AllErrors ¶ added in v1.35.0
func (m CheckHintMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckHintMultiError) Error ¶ added in v1.35.0
func (m CheckHintMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckHintValidationError ¶ added in v1.35.0
type CheckHintValidationError struct {
// contains filtered or unexported fields
}
CheckHintValidationError is the validation error returned by CheckHint.Validate if the designated constraints aren't met.
func (CheckHintValidationError) Cause ¶ added in v1.35.0
func (e CheckHintValidationError) Cause() error
Cause function returns cause value.
func (CheckHintValidationError) Error ¶ added in v1.35.0
func (e CheckHintValidationError) Error() string
Error satisfies the builtin error interface
func (CheckHintValidationError) ErrorName ¶ added in v1.35.0
func (e CheckHintValidationError) ErrorName() string
ErrorName returns error name.
func (CheckHintValidationError) Field ¶ added in v1.35.0
func (e CheckHintValidationError) Field() string
Field function returns field value.
func (CheckHintValidationError) Key ¶ added in v1.35.0
func (e CheckHintValidationError) Key() bool
Key function returns key value.
func (CheckHintValidationError) Reason ¶ added in v1.35.0
func (e CheckHintValidationError) Reason() string
Reason function returns reason value.
type Cursor ¶ added in v1.22.0
type Cursor struct { Sections []string `protobuf:"bytes,2,rep,name=sections,proto3" json:"sections,omitempty"` DispatchVersion uint32 `protobuf:"varint,3,opt,name=dispatch_version,json=dispatchVersion,proto3" json:"dispatch_version,omitempty"` // contains filtered or unexported fields }
func (*Cursor) CloneMessageVT ¶ added in v1.22.0
func (*Cursor) Descriptor
deprecated
added in
v1.22.0
func (*Cursor) EqualMessageVT ¶ added in v1.22.0
func (*Cursor) GetDispatchVersion ¶ added in v1.23.0
func (*Cursor) GetSections ¶ added in v1.22.0
func (*Cursor) MarshalToSizedBufferVT ¶ added in v1.22.0
func (*Cursor) MarshalToVT ¶ added in v1.22.0
func (*Cursor) ProtoMessage ¶ added in v1.22.0
func (*Cursor) ProtoMessage()
func (*Cursor) ProtoReflect ¶ added in v1.22.0
func (x *Cursor) ProtoReflect() protoreflect.Message
func (*Cursor) UnmarshalVT ¶ added in v1.22.0
func (*Cursor) Validate ¶ added in v1.22.0
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 ¶ added in v1.22.0
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 ¶ added in v1.22.0
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 ¶ added in v1.22.0
func (m CursorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CursorMultiError) Error ¶ added in v1.22.0
func (m CursorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CursorValidationError ¶ added in v1.22.0
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 ¶ added in v1.22.0
func (e CursorValidationError) Cause() error
Cause function returns cause value.
func (CursorValidationError) Error ¶ added in v1.22.0
func (e CursorValidationError) Error() string
Error satisfies the builtin error interface
func (CursorValidationError) ErrorName ¶ added in v1.22.0
func (e CursorValidationError) ErrorName() string
ErrorName returns error name.
func (CursorValidationError) Field ¶ added in v1.22.0
func (e CursorValidationError) Field() string
Field function returns field value.
func (CursorValidationError) Key ¶ added in v1.22.0
func (e CursorValidationError) Key() bool
Key function returns key value.
func (CursorValidationError) Reason ¶ added in v1.22.0
func (e CursorValidationError) Reason() string
Reason function returns reason value.
type DebugInformation ¶ added in v1.11.0
type DebugInformation struct { Check *CheckDebugTrace `protobuf:"bytes,1,opt,name=check,proto3" json:"check,omitempty"` // contains filtered or unexported fields }
func (*DebugInformation) CloneMessageVT ¶ added in v1.22.0
func (m *DebugInformation) CloneMessageVT() proto.Message
func (*DebugInformation) CloneVT ¶ added in v1.13.0
func (m *DebugInformation) CloneVT() *DebugInformation
func (*DebugInformation) Descriptor
deprecated
added in
v1.11.0
func (*DebugInformation) Descriptor() ([]byte, []int)
Deprecated: Use DebugInformation.ProtoReflect.Descriptor instead.
func (*DebugInformation) EqualMessageVT ¶ added in v1.22.0
func (this *DebugInformation) EqualMessageVT(thatMsg proto.Message) bool
func (*DebugInformation) EqualVT ¶ added in v1.15.0
func (this *DebugInformation) EqualVT(that *DebugInformation) bool
func (*DebugInformation) GetCheck ¶ added in v1.11.0
func (x *DebugInformation) GetCheck() *CheckDebugTrace
func (*DebugInformation) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *DebugInformation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DebugInformation) MarshalToVT ¶ added in v1.13.0
func (m *DebugInformation) MarshalToVT(dAtA []byte) (int, error)
func (*DebugInformation) MarshalVT ¶ added in v1.13.0
func (m *DebugInformation) MarshalVT() (dAtA []byte, err error)
func (*DebugInformation) ProtoMessage ¶ added in v1.11.0
func (*DebugInformation) ProtoMessage()
func (*DebugInformation) ProtoReflect ¶ added in v1.11.0
func (x *DebugInformation) ProtoReflect() protoreflect.Message
func (*DebugInformation) Reset ¶ added in v1.11.0
func (x *DebugInformation) Reset()
func (*DebugInformation) SizeVT ¶ added in v1.13.0
func (m *DebugInformation) SizeVT() (n int)
func (*DebugInformation) String ¶ added in v1.11.0
func (x *DebugInformation) String() string
func (*DebugInformation) UnmarshalVT ¶ added in v1.13.0
func (m *DebugInformation) UnmarshalVT(dAtA []byte) error
func (*DebugInformation) Validate ¶ added in v1.11.0
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 ¶ added in v1.11.0
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 ¶ added in v1.11.0
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 ¶ added in v1.11.0
func (m DebugInformationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DebugInformationMultiError) Error ¶ added in v1.11.0
func (m DebugInformationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DebugInformationValidationError ¶ added in v1.11.0
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 ¶ added in v1.11.0
func (e DebugInformationValidationError) Cause() error
Cause function returns cause value.
func (DebugInformationValidationError) Error ¶ added in v1.11.0
func (e DebugInformationValidationError) Error() string
Error satisfies the builtin error interface
func (DebugInformationValidationError) ErrorName ¶ added in v1.11.0
func (e DebugInformationValidationError) ErrorName() string
ErrorName returns error name.
func (DebugInformationValidationError) Field ¶ added in v1.11.0
func (e DebugInformationValidationError) Field() string
Field function returns field value.
func (DebugInformationValidationError) Key ¶ added in v1.11.0
func (e DebugInformationValidationError) Key() bool
Key function returns key value.
func (DebugInformationValidationError) Reason ¶ added in v1.11.0
func (e DebugInformationValidationError) Reason() string
Reason function returns reason value.
type DispatchCheckRequest ¶
type DispatchCheckRequest struct { Metadata *ResolverMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` ResourceRelation *v1.RelationReference `protobuf:"bytes,2,opt,name=resource_relation,json=resourceRelation,proto3" json:"resource_relation,omitempty"` ResourceIds []string `protobuf:"bytes,3,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"` Subject *v1.ObjectAndRelation `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"` ResultsSetting DispatchCheckRequest_ResultsSetting `` /* 157-byte string literal not displayed */ Debug DispatchCheckRequest_DebugSetting `protobuf:"varint,6,opt,name=debug,proto3,enum=dispatch.v1.DispatchCheckRequest_DebugSetting" json:"debug,omitempty"` // * // check_hints are hints provided to the check call to help the resolver optimize the check // by skipping calculations for the provided checks. The string key is the fully qualified // "relationtuple"-string for the problem, e.g. `document:example#relation@user:someuser`. // It is up to the caller to *ensure* that the hints provided are correct; if incorrect, // the resolver may return incorrect results which will in turn be cached. CheckHints []*CheckHint `protobuf:"bytes,7,rep,name=check_hints,json=checkHints,proto3" json:"check_hints,omitempty"` // contains filtered or unexported fields }
func (*DispatchCheckRequest) CloneMessageVT ¶ added in v1.22.0
func (m *DispatchCheckRequest) CloneMessageVT() proto.Message
func (*DispatchCheckRequest) CloneVT ¶ added in v1.13.0
func (m *DispatchCheckRequest) CloneVT() *DispatchCheckRequest
func (*DispatchCheckRequest) Descriptor
deprecated
func (*DispatchCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use DispatchCheckRequest.ProtoReflect.Descriptor instead.
func (*DispatchCheckRequest) EqualMessageVT ¶ added in v1.22.0
func (this *DispatchCheckRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*DispatchCheckRequest) EqualVT ¶ added in v1.15.0
func (this *DispatchCheckRequest) EqualVT(that *DispatchCheckRequest) bool
func (*DispatchCheckRequest) GetCheckHints ¶ added in v1.35.0
func (x *DispatchCheckRequest) GetCheckHints() []*CheckHint
func (*DispatchCheckRequest) GetDebug ¶ added in v1.11.0
func (x *DispatchCheckRequest) GetDebug() DispatchCheckRequest_DebugSetting
func (*DispatchCheckRequest) GetMetadata ¶
func (x *DispatchCheckRequest) GetMetadata() *ResolverMeta
func (*DispatchCheckRequest) GetResourceIds ¶ added in v1.13.0
func (x *DispatchCheckRequest) GetResourceIds() []string
func (*DispatchCheckRequest) GetResourceRelation ¶ added in v1.13.0
func (x *DispatchCheckRequest) GetResourceRelation() *v1.RelationReference
func (*DispatchCheckRequest) GetResultsSetting ¶ added in v1.13.0
func (x *DispatchCheckRequest) GetResultsSetting() DispatchCheckRequest_ResultsSetting
func (*DispatchCheckRequest) GetSubject ¶
func (x *DispatchCheckRequest) GetSubject() *v1.ObjectAndRelation
func (*DispatchCheckRequest) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *DispatchCheckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DispatchCheckRequest) MarshalToVT ¶ added in v1.13.0
func (m *DispatchCheckRequest) MarshalToVT(dAtA []byte) (int, error)
func (*DispatchCheckRequest) MarshalVT ¶ added in v1.13.0
func (m *DispatchCheckRequest) MarshalVT() (dAtA []byte, err error)
func (*DispatchCheckRequest) MarshalZerologObject ¶
func (cr *DispatchCheckRequest) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements zerolog object marshalling.
func (*DispatchCheckRequest) ProtoMessage ¶
func (*DispatchCheckRequest) ProtoMessage()
func (*DispatchCheckRequest) ProtoReflect ¶
func (x *DispatchCheckRequest) ProtoReflect() protoreflect.Message
func (*DispatchCheckRequest) Reset ¶
func (x *DispatchCheckRequest) Reset()
func (*DispatchCheckRequest) SizeVT ¶ added in v1.13.0
func (m *DispatchCheckRequest) SizeVT() (n int)
func (*DispatchCheckRequest) String ¶
func (x *DispatchCheckRequest) String() string
func (*DispatchCheckRequest) UnmarshalVT ¶ added in v1.13.0
func (m *DispatchCheckRequest) UnmarshalVT(dAtA []byte) error
func (*DispatchCheckRequest) Validate ¶
func (m *DispatchCheckRequest) Validate() error
Validate checks the field values on DispatchCheckRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DispatchCheckRequest) ValidateAll ¶ added in v1.6.0
func (m *DispatchCheckRequest) ValidateAll() error
ValidateAll checks the field values on DispatchCheckRequest 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 DispatchCheckRequestMultiError, or nil if none found.
type DispatchCheckRequestMultiError ¶ added in v1.6.0
type DispatchCheckRequestMultiError []error
DispatchCheckRequestMultiError is an error wrapping multiple validation errors returned by DispatchCheckRequest.ValidateAll() if the designated constraints aren't met.
func (DispatchCheckRequestMultiError) AllErrors ¶ added in v1.6.0
func (m DispatchCheckRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DispatchCheckRequestMultiError) Error ¶ added in v1.6.0
func (m DispatchCheckRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DispatchCheckRequestValidationError ¶
type DispatchCheckRequestValidationError struct {
// contains filtered or unexported fields
}
DispatchCheckRequestValidationError is the validation error returned by DispatchCheckRequest.Validate if the designated constraints aren't met.
func (DispatchCheckRequestValidationError) Cause ¶
func (e DispatchCheckRequestValidationError) Cause() error
Cause function returns cause value.
func (DispatchCheckRequestValidationError) Error ¶
func (e DispatchCheckRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DispatchCheckRequestValidationError) ErrorName ¶
func (e DispatchCheckRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DispatchCheckRequestValidationError) Field ¶
func (e DispatchCheckRequestValidationError) Field() string
Field function returns field value.
func (DispatchCheckRequestValidationError) Key ¶
func (e DispatchCheckRequestValidationError) Key() bool
Key function returns key value.
func (DispatchCheckRequestValidationError) Reason ¶
func (e DispatchCheckRequestValidationError) Reason() string
Reason function returns reason value.
type DispatchCheckRequest_DebugSetting ¶ added in v1.11.0
type DispatchCheckRequest_DebugSetting int32
const ( DispatchCheckRequest_NO_DEBUG DispatchCheckRequest_DebugSetting = 0 DispatchCheckRequest_ENABLE_BASIC_DEBUGGING DispatchCheckRequest_DebugSetting = 1 DispatchCheckRequest_ENABLE_TRACE_DEBUGGING DispatchCheckRequest_DebugSetting = 2 )
func (DispatchCheckRequest_DebugSetting) Descriptor ¶ added in v1.11.0
func (DispatchCheckRequest_DebugSetting) Descriptor() protoreflect.EnumDescriptor
func (DispatchCheckRequest_DebugSetting) Enum ¶ added in v1.11.0
func (x DispatchCheckRequest_DebugSetting) Enum() *DispatchCheckRequest_DebugSetting
func (DispatchCheckRequest_DebugSetting) EnumDescriptor
deprecated
added in
v1.11.0
func (DispatchCheckRequest_DebugSetting) EnumDescriptor() ([]byte, []int)
Deprecated: Use DispatchCheckRequest_DebugSetting.Descriptor instead.
func (DispatchCheckRequest_DebugSetting) Number ¶ added in v1.11.0
func (x DispatchCheckRequest_DebugSetting) Number() protoreflect.EnumNumber
func (DispatchCheckRequest_DebugSetting) String ¶ added in v1.11.0
func (x DispatchCheckRequest_DebugSetting) String() string
func (DispatchCheckRequest_DebugSetting) Type ¶ added in v1.11.0
func (DispatchCheckRequest_DebugSetting) Type() protoreflect.EnumType
type DispatchCheckRequest_ResultsSetting ¶ added in v1.13.0
type DispatchCheckRequest_ResultsSetting int32
const ( DispatchCheckRequest_REQUIRE_ALL_RESULTS DispatchCheckRequest_ResultsSetting = 0 DispatchCheckRequest_ALLOW_SINGLE_RESULT DispatchCheckRequest_ResultsSetting = 1 )
func (DispatchCheckRequest_ResultsSetting) Descriptor ¶ added in v1.13.0
func (DispatchCheckRequest_ResultsSetting) Descriptor() protoreflect.EnumDescriptor
func (DispatchCheckRequest_ResultsSetting) Enum ¶ added in v1.13.0
func (x DispatchCheckRequest_ResultsSetting) Enum() *DispatchCheckRequest_ResultsSetting
func (DispatchCheckRequest_ResultsSetting) EnumDescriptor
deprecated
added in
v1.13.0
func (DispatchCheckRequest_ResultsSetting) EnumDescriptor() ([]byte, []int)
Deprecated: Use DispatchCheckRequest_ResultsSetting.Descriptor instead.
func (DispatchCheckRequest_ResultsSetting) Number ¶ added in v1.13.0
func (x DispatchCheckRequest_ResultsSetting) Number() protoreflect.EnumNumber
func (DispatchCheckRequest_ResultsSetting) String ¶ added in v1.13.0
func (x DispatchCheckRequest_ResultsSetting) String() string
func (DispatchCheckRequest_ResultsSetting) Type ¶ added in v1.13.0
func (DispatchCheckRequest_ResultsSetting) Type() protoreflect.EnumType
type DispatchCheckResponse ¶
type DispatchCheckResponse struct { Metadata *ResponseMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` ResultsByResourceId map[string]*ResourceCheckResult `` /* 210-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DispatchCheckResponse) CloneMessageVT ¶ added in v1.22.0
func (m *DispatchCheckResponse) CloneMessageVT() proto.Message
func (*DispatchCheckResponse) CloneVT ¶ added in v1.13.0
func (m *DispatchCheckResponse) CloneVT() *DispatchCheckResponse
func (*DispatchCheckResponse) Descriptor
deprecated
func (*DispatchCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use DispatchCheckResponse.ProtoReflect.Descriptor instead.
func (*DispatchCheckResponse) EqualMessageVT ¶ added in v1.22.0
func (this *DispatchCheckResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*DispatchCheckResponse) EqualVT ¶ added in v1.15.0
func (this *DispatchCheckResponse) EqualVT(that *DispatchCheckResponse) bool
func (*DispatchCheckResponse) GetMetadata ¶
func (x *DispatchCheckResponse) GetMetadata() *ResponseMeta
func (*DispatchCheckResponse) GetResultsByResourceId ¶ added in v1.13.0
func (x *DispatchCheckResponse) GetResultsByResourceId() map[string]*ResourceCheckResult
func (*DispatchCheckResponse) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *DispatchCheckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DispatchCheckResponse) MarshalToVT ¶ added in v1.13.0
func (m *DispatchCheckResponse) MarshalToVT(dAtA []byte) (int, error)
func (*DispatchCheckResponse) MarshalVT ¶ added in v1.13.0
func (m *DispatchCheckResponse) MarshalVT() (dAtA []byte, err error)
func (*DispatchCheckResponse) MarshalZerologObject ¶
func (cr *DispatchCheckResponse) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements zerolog object marshalling.
func (*DispatchCheckResponse) ProtoMessage ¶
func (*DispatchCheckResponse) ProtoMessage()
func (*DispatchCheckResponse) ProtoReflect ¶
func (x *DispatchCheckResponse) ProtoReflect() protoreflect.Message
func (*DispatchCheckResponse) Reset ¶
func (x *DispatchCheckResponse) Reset()
func (*DispatchCheckResponse) SizeVT ¶ added in v1.13.0
func (m *DispatchCheckResponse) SizeVT() (n int)
func (*DispatchCheckResponse) String ¶
func (x *DispatchCheckResponse) String() string
func (*DispatchCheckResponse) UnmarshalVT ¶ added in v1.13.0
func (m *DispatchCheckResponse) UnmarshalVT(dAtA []byte) error
func (*DispatchCheckResponse) Validate ¶
func (m *DispatchCheckResponse) Validate() error
Validate checks the field values on DispatchCheckResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DispatchCheckResponse) ValidateAll ¶ added in v1.6.0
func (m *DispatchCheckResponse) ValidateAll() error
ValidateAll checks the field values on DispatchCheckResponse 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 DispatchCheckResponseMultiError, or nil if none found.
type DispatchCheckResponseMultiError ¶ added in v1.6.0
type DispatchCheckResponseMultiError []error
DispatchCheckResponseMultiError is an error wrapping multiple validation errors returned by DispatchCheckResponse.ValidateAll() if the designated constraints aren't met.
func (DispatchCheckResponseMultiError) AllErrors ¶ added in v1.6.0
func (m DispatchCheckResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DispatchCheckResponseMultiError) Error ¶ added in v1.6.0
func (m DispatchCheckResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DispatchCheckResponseValidationError ¶
type DispatchCheckResponseValidationError struct {
// contains filtered or unexported fields
}
DispatchCheckResponseValidationError is the validation error returned by DispatchCheckResponse.Validate if the designated constraints aren't met.
func (DispatchCheckResponseValidationError) Cause ¶
func (e DispatchCheckResponseValidationError) Cause() error
Cause function returns cause value.
func (DispatchCheckResponseValidationError) Error ¶
func (e DispatchCheckResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DispatchCheckResponseValidationError) ErrorName ¶
func (e DispatchCheckResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DispatchCheckResponseValidationError) Field ¶
func (e DispatchCheckResponseValidationError) Field() string
Field function returns field value.
func (DispatchCheckResponseValidationError) Key ¶
func (e DispatchCheckResponseValidationError) Key() bool
Key function returns key value.
func (DispatchCheckResponseValidationError) Reason ¶
func (e DispatchCheckResponseValidationError) Reason() string
Reason function returns reason value.
type DispatchExpandRequest ¶
type DispatchExpandRequest struct { Metadata *ResolverMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` ResourceAndRelation *v1.ObjectAndRelation `protobuf:"bytes,2,opt,name=resource_and_relation,json=resourceAndRelation,proto3" json:"resource_and_relation,omitempty"` ExpansionMode DispatchExpandRequest_ExpansionMode `` /* 154-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DispatchExpandRequest) CloneMessageVT ¶ added in v1.22.0
func (m *DispatchExpandRequest) CloneMessageVT() proto.Message
func (*DispatchExpandRequest) CloneVT ¶ added in v1.13.0
func (m *DispatchExpandRequest) CloneVT() *DispatchExpandRequest
func (*DispatchExpandRequest) Descriptor
deprecated
func (*DispatchExpandRequest) Descriptor() ([]byte, []int)
Deprecated: Use DispatchExpandRequest.ProtoReflect.Descriptor instead.
func (*DispatchExpandRequest) EqualMessageVT ¶ added in v1.22.0
func (this *DispatchExpandRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*DispatchExpandRequest) EqualVT ¶ added in v1.15.0
func (this *DispatchExpandRequest) EqualVT(that *DispatchExpandRequest) bool
func (*DispatchExpandRequest) GetExpansionMode ¶
func (x *DispatchExpandRequest) GetExpansionMode() DispatchExpandRequest_ExpansionMode
func (*DispatchExpandRequest) GetMetadata ¶
func (x *DispatchExpandRequest) GetMetadata() *ResolverMeta
func (*DispatchExpandRequest) GetResourceAndRelation ¶ added in v1.9.0
func (x *DispatchExpandRequest) GetResourceAndRelation() *v1.ObjectAndRelation
func (*DispatchExpandRequest) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *DispatchExpandRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DispatchExpandRequest) MarshalToVT ¶ added in v1.13.0
func (m *DispatchExpandRequest) MarshalToVT(dAtA []byte) (int, error)
func (*DispatchExpandRequest) MarshalVT ¶ added in v1.13.0
func (m *DispatchExpandRequest) MarshalVT() (dAtA []byte, err error)
func (*DispatchExpandRequest) MarshalZerologObject ¶
func (er *DispatchExpandRequest) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements zerolog object marshalling.
func (*DispatchExpandRequest) ProtoMessage ¶
func (*DispatchExpandRequest) ProtoMessage()
func (*DispatchExpandRequest) ProtoReflect ¶
func (x *DispatchExpandRequest) ProtoReflect() protoreflect.Message
func (*DispatchExpandRequest) Reset ¶
func (x *DispatchExpandRequest) Reset()
func (*DispatchExpandRequest) SizeVT ¶ added in v1.13.0
func (m *DispatchExpandRequest) SizeVT() (n int)
func (*DispatchExpandRequest) String ¶
func (x *DispatchExpandRequest) String() string
func (*DispatchExpandRequest) UnmarshalVT ¶ added in v1.13.0
func (m *DispatchExpandRequest) UnmarshalVT(dAtA []byte) error
func (*DispatchExpandRequest) Validate ¶
func (m *DispatchExpandRequest) Validate() error
Validate checks the field values on DispatchExpandRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DispatchExpandRequest) ValidateAll ¶ added in v1.6.0
func (m *DispatchExpandRequest) ValidateAll() error
ValidateAll checks the field values on DispatchExpandRequest 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 DispatchExpandRequestMultiError, or nil if none found.
type DispatchExpandRequestMultiError ¶ added in v1.6.0
type DispatchExpandRequestMultiError []error
DispatchExpandRequestMultiError is an error wrapping multiple validation errors returned by DispatchExpandRequest.ValidateAll() if the designated constraints aren't met.
func (DispatchExpandRequestMultiError) AllErrors ¶ added in v1.6.0
func (m DispatchExpandRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DispatchExpandRequestMultiError) Error ¶ added in v1.6.0
func (m DispatchExpandRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DispatchExpandRequestValidationError ¶
type DispatchExpandRequestValidationError struct {
// contains filtered or unexported fields
}
DispatchExpandRequestValidationError is the validation error returned by DispatchExpandRequest.Validate if the designated constraints aren't met.
func (DispatchExpandRequestValidationError) Cause ¶
func (e DispatchExpandRequestValidationError) Cause() error
Cause function returns cause value.
func (DispatchExpandRequestValidationError) Error ¶
func (e DispatchExpandRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DispatchExpandRequestValidationError) ErrorName ¶
func (e DispatchExpandRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DispatchExpandRequestValidationError) Field ¶
func (e DispatchExpandRequestValidationError) Field() string
Field function returns field value.
func (DispatchExpandRequestValidationError) Key ¶
func (e DispatchExpandRequestValidationError) Key() bool
Key function returns key value.
func (DispatchExpandRequestValidationError) Reason ¶
func (e DispatchExpandRequestValidationError) Reason() string
Reason function returns reason value.
type DispatchExpandRequest_ExpansionMode ¶
type DispatchExpandRequest_ExpansionMode int32
const ( DispatchExpandRequest_SHALLOW DispatchExpandRequest_ExpansionMode = 0 DispatchExpandRequest_RECURSIVE DispatchExpandRequest_ExpansionMode = 1 )
func (DispatchExpandRequest_ExpansionMode) Descriptor ¶
func (DispatchExpandRequest_ExpansionMode) Descriptor() protoreflect.EnumDescriptor
func (DispatchExpandRequest_ExpansionMode) Enum ¶
func (x DispatchExpandRequest_ExpansionMode) Enum() *DispatchExpandRequest_ExpansionMode
func (DispatchExpandRequest_ExpansionMode) EnumDescriptor
deprecated
func (DispatchExpandRequest_ExpansionMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use DispatchExpandRequest_ExpansionMode.Descriptor instead.
func (DispatchExpandRequest_ExpansionMode) Number ¶
func (x DispatchExpandRequest_ExpansionMode) Number() protoreflect.EnumNumber
func (DispatchExpandRequest_ExpansionMode) String ¶
func (x DispatchExpandRequest_ExpansionMode) String() string
func (DispatchExpandRequest_ExpansionMode) Type ¶
func (DispatchExpandRequest_ExpansionMode) Type() protoreflect.EnumType
type DispatchExpandResponse ¶
type DispatchExpandResponse struct { Metadata *ResponseMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` TreeNode *v1.RelationTupleTreeNode `protobuf:"bytes,2,opt,name=tree_node,json=treeNode,proto3" json:"tree_node,omitempty"` // contains filtered or unexported fields }
func (*DispatchExpandResponse) CloneMessageVT ¶ added in v1.22.0
func (m *DispatchExpandResponse) CloneMessageVT() proto.Message
func (*DispatchExpandResponse) CloneVT ¶ added in v1.13.0
func (m *DispatchExpandResponse) CloneVT() *DispatchExpandResponse
func (*DispatchExpandResponse) Descriptor
deprecated
func (*DispatchExpandResponse) Descriptor() ([]byte, []int)
Deprecated: Use DispatchExpandResponse.ProtoReflect.Descriptor instead.
func (*DispatchExpandResponse) EqualMessageVT ¶ added in v1.22.0
func (this *DispatchExpandResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*DispatchExpandResponse) EqualVT ¶ added in v1.15.0
func (this *DispatchExpandResponse) EqualVT(that *DispatchExpandResponse) bool
func (*DispatchExpandResponse) GetMetadata ¶
func (x *DispatchExpandResponse) GetMetadata() *ResponseMeta
func (*DispatchExpandResponse) GetTreeNode ¶
func (x *DispatchExpandResponse) GetTreeNode() *v1.RelationTupleTreeNode
func (*DispatchExpandResponse) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *DispatchExpandResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DispatchExpandResponse) MarshalToVT ¶ added in v1.13.0
func (m *DispatchExpandResponse) MarshalToVT(dAtA []byte) (int, error)
func (*DispatchExpandResponse) MarshalVT ¶ added in v1.13.0
func (m *DispatchExpandResponse) MarshalVT() (dAtA []byte, err error)
func (*DispatchExpandResponse) MarshalZerologObject ¶
func (cr *DispatchExpandResponse) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements zerolog object marshalling.
func (*DispatchExpandResponse) ProtoMessage ¶
func (*DispatchExpandResponse) ProtoMessage()
func (*DispatchExpandResponse) ProtoReflect ¶
func (x *DispatchExpandResponse) ProtoReflect() protoreflect.Message
func (*DispatchExpandResponse) Reset ¶
func (x *DispatchExpandResponse) Reset()
func (*DispatchExpandResponse) SizeVT ¶ added in v1.13.0
func (m *DispatchExpandResponse) SizeVT() (n int)
func (*DispatchExpandResponse) String ¶
func (x *DispatchExpandResponse) String() string
func (*DispatchExpandResponse) UnmarshalVT ¶ added in v1.13.0
func (m *DispatchExpandResponse) UnmarshalVT(dAtA []byte) error
func (*DispatchExpandResponse) Validate ¶
func (m *DispatchExpandResponse) Validate() error
Validate checks the field values on DispatchExpandResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DispatchExpandResponse) ValidateAll ¶ added in v1.6.0
func (m *DispatchExpandResponse) ValidateAll() error
ValidateAll checks the field values on DispatchExpandResponse 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 DispatchExpandResponseMultiError, or nil if none found.
type DispatchExpandResponseMultiError ¶ added in v1.6.0
type DispatchExpandResponseMultiError []error
DispatchExpandResponseMultiError is an error wrapping multiple validation errors returned by DispatchExpandResponse.ValidateAll() if the designated constraints aren't met.
func (DispatchExpandResponseMultiError) AllErrors ¶ added in v1.6.0
func (m DispatchExpandResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DispatchExpandResponseMultiError) Error ¶ added in v1.6.0
func (m DispatchExpandResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DispatchExpandResponseValidationError ¶
type DispatchExpandResponseValidationError struct {
// contains filtered or unexported fields
}
DispatchExpandResponseValidationError is the validation error returned by DispatchExpandResponse.Validate if the designated constraints aren't met.
func (DispatchExpandResponseValidationError) Cause ¶
func (e DispatchExpandResponseValidationError) Cause() error
Cause function returns cause value.
func (DispatchExpandResponseValidationError) Error ¶
func (e DispatchExpandResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DispatchExpandResponseValidationError) ErrorName ¶
func (e DispatchExpandResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DispatchExpandResponseValidationError) Field ¶
func (e DispatchExpandResponseValidationError) Field() string
Field function returns field value.
func (DispatchExpandResponseValidationError) Key ¶
func (e DispatchExpandResponseValidationError) Key() bool
Key function returns key value.
func (DispatchExpandResponseValidationError) Reason ¶
func (e DispatchExpandResponseValidationError) Reason() string
Reason function returns reason value.
type DispatchLookupResources2Request ¶ added in v1.35.0
type DispatchLookupResources2Request struct { Metadata *ResolverMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` ResourceRelation *v1.RelationReference `protobuf:"bytes,2,opt,name=resource_relation,json=resourceRelation,proto3" json:"resource_relation,omitempty"` SubjectRelation *v1.RelationReference `protobuf:"bytes,3,opt,name=subject_relation,json=subjectRelation,proto3" json:"subject_relation,omitempty"` SubjectIds []string `protobuf:"bytes,4,rep,name=subject_ids,json=subjectIds,proto3" json:"subject_ids,omitempty"` TerminalSubject *v1.ObjectAndRelation `protobuf:"bytes,5,opt,name=terminal_subject,json=terminalSubject,proto3" json:"terminal_subject,omitempty"` Context *structpb.Struct `protobuf:"bytes,6,opt,name=context,proto3" json:"context,omitempty"` OptionalCursor *Cursor `protobuf:"bytes,7,opt,name=optional_cursor,json=optionalCursor,proto3" json:"optional_cursor,omitempty"` OptionalLimit uint32 `protobuf:"varint,8,opt,name=optional_limit,json=optionalLimit,proto3" json:"optional_limit,omitempty"` // contains filtered or unexported fields }
func (*DispatchLookupResources2Request) CloneMessageVT ¶ added in v1.35.0
func (m *DispatchLookupResources2Request) CloneMessageVT() proto.Message
func (*DispatchLookupResources2Request) CloneVT ¶ added in v1.35.0
func (m *DispatchLookupResources2Request) CloneVT() *DispatchLookupResources2Request
func (*DispatchLookupResources2Request) Descriptor
deprecated
added in
v1.35.0
func (*DispatchLookupResources2Request) Descriptor() ([]byte, []int)
Deprecated: Use DispatchLookupResources2Request.ProtoReflect.Descriptor instead.
func (*DispatchLookupResources2Request) EqualMessageVT ¶ added in v1.35.0
func (this *DispatchLookupResources2Request) EqualMessageVT(thatMsg proto.Message) bool
func (*DispatchLookupResources2Request) EqualVT ¶ added in v1.35.0
func (this *DispatchLookupResources2Request) EqualVT(that *DispatchLookupResources2Request) bool
func (*DispatchLookupResources2Request) GetContext ¶ added in v1.35.0
func (x *DispatchLookupResources2Request) GetContext() *structpb.Struct
func (*DispatchLookupResources2Request) GetMetadata ¶ added in v1.35.0
func (x *DispatchLookupResources2Request) GetMetadata() *ResolverMeta
func (*DispatchLookupResources2Request) GetOptionalCursor ¶ added in v1.35.0
func (x *DispatchLookupResources2Request) GetOptionalCursor() *Cursor
func (*DispatchLookupResources2Request) GetOptionalLimit ¶ added in v1.35.0
func (x *DispatchLookupResources2Request) GetOptionalLimit() uint32
func (*DispatchLookupResources2Request) GetResourceRelation ¶ added in v1.35.0
func (x *DispatchLookupResources2Request) GetResourceRelation() *v1.RelationReference
func (*DispatchLookupResources2Request) GetSubjectIds ¶ added in v1.35.0
func (x *DispatchLookupResources2Request) GetSubjectIds() []string
func (*DispatchLookupResources2Request) GetSubjectRelation ¶ added in v1.35.0
func (x *DispatchLookupResources2Request) GetSubjectRelation() *v1.RelationReference
func (*DispatchLookupResources2Request) GetTerminalSubject ¶ added in v1.35.0
func (x *DispatchLookupResources2Request) GetTerminalSubject() *v1.ObjectAndRelation
func (*DispatchLookupResources2Request) MarshalToSizedBufferVT ¶ added in v1.35.0
func (m *DispatchLookupResources2Request) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DispatchLookupResources2Request) MarshalToVT ¶ added in v1.35.0
func (m *DispatchLookupResources2Request) MarshalToVT(dAtA []byte) (int, error)
func (*DispatchLookupResources2Request) MarshalVT ¶ added in v1.35.0
func (m *DispatchLookupResources2Request) MarshalVT() (dAtA []byte, err error)
func (*DispatchLookupResources2Request) MarshalZerologObject ¶ added in v1.35.0
func (lr *DispatchLookupResources2Request) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements zerolog object marshalling.
func (*DispatchLookupResources2Request) ProtoMessage ¶ added in v1.35.0
func (*DispatchLookupResources2Request) ProtoMessage()
func (*DispatchLookupResources2Request) ProtoReflect ¶ added in v1.35.0
func (x *DispatchLookupResources2Request) ProtoReflect() protoreflect.Message
func (*DispatchLookupResources2Request) Reset ¶ added in v1.35.0
func (x *DispatchLookupResources2Request) Reset()
func (*DispatchLookupResources2Request) SizeVT ¶ added in v1.35.0
func (m *DispatchLookupResources2Request) SizeVT() (n int)
func (*DispatchLookupResources2Request) String ¶ added in v1.35.0
func (x *DispatchLookupResources2Request) String() string
func (*DispatchLookupResources2Request) UnmarshalVT ¶ added in v1.35.0
func (m *DispatchLookupResources2Request) UnmarshalVT(dAtA []byte) error
func (*DispatchLookupResources2Request) Validate ¶ added in v1.35.0
func (m *DispatchLookupResources2Request) Validate() error
Validate checks the field values on DispatchLookupResources2Request 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 (*DispatchLookupResources2Request) ValidateAll ¶ added in v1.35.0
func (m *DispatchLookupResources2Request) ValidateAll() error
ValidateAll checks the field values on DispatchLookupResources2Request 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 DispatchLookupResources2RequestMultiError, or nil if none found.
type DispatchLookupResources2RequestMultiError ¶ added in v1.35.0
type DispatchLookupResources2RequestMultiError []error
DispatchLookupResources2RequestMultiError is an error wrapping multiple validation errors returned by DispatchLookupResources2Request.ValidateAll() if the designated constraints aren't met.
func (DispatchLookupResources2RequestMultiError) AllErrors ¶ added in v1.35.0
func (m DispatchLookupResources2RequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DispatchLookupResources2RequestMultiError) Error ¶ added in v1.35.0
func (m DispatchLookupResources2RequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DispatchLookupResources2RequestValidationError ¶ added in v1.35.0
type DispatchLookupResources2RequestValidationError struct {
// contains filtered or unexported fields
}
DispatchLookupResources2RequestValidationError is the validation error returned by DispatchLookupResources2Request.Validate if the designated constraints aren't met.
func (DispatchLookupResources2RequestValidationError) Cause ¶ added in v1.35.0
func (e DispatchLookupResources2RequestValidationError) Cause() error
Cause function returns cause value.
func (DispatchLookupResources2RequestValidationError) Error ¶ added in v1.35.0
func (e DispatchLookupResources2RequestValidationError) Error() string
Error satisfies the builtin error interface
func (DispatchLookupResources2RequestValidationError) ErrorName ¶ added in v1.35.0
func (e DispatchLookupResources2RequestValidationError) ErrorName() string
ErrorName returns error name.
func (DispatchLookupResources2RequestValidationError) Field ¶ added in v1.35.0
func (e DispatchLookupResources2RequestValidationError) Field() string
Field function returns field value.
func (DispatchLookupResources2RequestValidationError) Key ¶ added in v1.35.0
func (e DispatchLookupResources2RequestValidationError) Key() bool
Key function returns key value.
func (DispatchLookupResources2RequestValidationError) Reason ¶ added in v1.35.0
func (e DispatchLookupResources2RequestValidationError) Reason() string
Reason function returns reason value.
type DispatchLookupResources2Response ¶ added in v1.35.0
type DispatchLookupResources2Response struct { Resource *PossibleResource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Metadata *ResponseMeta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` AfterResponseCursor *Cursor `protobuf:"bytes,3,opt,name=after_response_cursor,json=afterResponseCursor,proto3" json:"after_response_cursor,omitempty"` // contains filtered or unexported fields }
func (*DispatchLookupResources2Response) CloneMessageVT ¶ added in v1.35.0
func (m *DispatchLookupResources2Response) CloneMessageVT() proto.Message
func (*DispatchLookupResources2Response) CloneVT ¶ added in v1.35.0
func (m *DispatchLookupResources2Response) CloneVT() *DispatchLookupResources2Response
func (*DispatchLookupResources2Response) Descriptor
deprecated
added in
v1.35.0
func (*DispatchLookupResources2Response) Descriptor() ([]byte, []int)
Deprecated: Use DispatchLookupResources2Response.ProtoReflect.Descriptor instead.
func (*DispatchLookupResources2Response) EqualMessageVT ¶ added in v1.35.0
func (this *DispatchLookupResources2Response) EqualMessageVT(thatMsg proto.Message) bool
func (*DispatchLookupResources2Response) EqualVT ¶ added in v1.35.0
func (this *DispatchLookupResources2Response) EqualVT(that *DispatchLookupResources2Response) bool
func (*DispatchLookupResources2Response) GetAfterResponseCursor ¶ added in v1.35.0
func (x *DispatchLookupResources2Response) GetAfterResponseCursor() *Cursor
func (*DispatchLookupResources2Response) GetMetadata ¶ added in v1.35.0
func (x *DispatchLookupResources2Response) GetMetadata() *ResponseMeta
func (*DispatchLookupResources2Response) GetResource ¶ added in v1.35.0
func (x *DispatchLookupResources2Response) GetResource() *PossibleResource
func (*DispatchLookupResources2Response) MarshalToSizedBufferVT ¶ added in v1.35.0
func (m *DispatchLookupResources2Response) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DispatchLookupResources2Response) MarshalToVT ¶ added in v1.35.0
func (m *DispatchLookupResources2Response) MarshalToVT(dAtA []byte) (int, error)
func (*DispatchLookupResources2Response) MarshalVT ¶ added in v1.35.0
func (m *DispatchLookupResources2Response) MarshalVT() (dAtA []byte, err error)
func (*DispatchLookupResources2Response) ProtoMessage ¶ added in v1.35.0
func (*DispatchLookupResources2Response) ProtoMessage()
func (*DispatchLookupResources2Response) ProtoReflect ¶ added in v1.35.0
func (x *DispatchLookupResources2Response) ProtoReflect() protoreflect.Message
func (*DispatchLookupResources2Response) Reset ¶ added in v1.35.0
func (x *DispatchLookupResources2Response) Reset()
func (*DispatchLookupResources2Response) SizeVT ¶ added in v1.35.0
func (m *DispatchLookupResources2Response) SizeVT() (n int)
func (*DispatchLookupResources2Response) String ¶ added in v1.35.0
func (x *DispatchLookupResources2Response) String() string
func (*DispatchLookupResources2Response) UnmarshalVT ¶ added in v1.35.0
func (m *DispatchLookupResources2Response) UnmarshalVT(dAtA []byte) error
func (*DispatchLookupResources2Response) Validate ¶ added in v1.35.0
func (m *DispatchLookupResources2Response) Validate() error
Validate checks the field values on DispatchLookupResources2Response 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 (*DispatchLookupResources2Response) ValidateAll ¶ added in v1.35.0
func (m *DispatchLookupResources2Response) ValidateAll() error
ValidateAll checks the field values on DispatchLookupResources2Response 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 DispatchLookupResources2ResponseMultiError, or nil if none found.
type DispatchLookupResources2ResponseMultiError ¶ added in v1.35.0
type DispatchLookupResources2ResponseMultiError []error
DispatchLookupResources2ResponseMultiError is an error wrapping multiple validation errors returned by DispatchLookupResources2Response.ValidateAll() if the designated constraints aren't met.
func (DispatchLookupResources2ResponseMultiError) AllErrors ¶ added in v1.35.0
func (m DispatchLookupResources2ResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DispatchLookupResources2ResponseMultiError) Error ¶ added in v1.35.0
func (m DispatchLookupResources2ResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DispatchLookupResources2ResponseValidationError ¶ added in v1.35.0
type DispatchLookupResources2ResponseValidationError struct {
// contains filtered or unexported fields
}
DispatchLookupResources2ResponseValidationError is the validation error returned by DispatchLookupResources2Response.Validate if the designated constraints aren't met.
func (DispatchLookupResources2ResponseValidationError) Cause ¶ added in v1.35.0
func (e DispatchLookupResources2ResponseValidationError) Cause() error
Cause function returns cause value.
func (DispatchLookupResources2ResponseValidationError) Error ¶ added in v1.35.0
func (e DispatchLookupResources2ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DispatchLookupResources2ResponseValidationError) ErrorName ¶ added in v1.35.0
func (e DispatchLookupResources2ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DispatchLookupResources2ResponseValidationError) Field ¶ added in v1.35.0
func (e DispatchLookupResources2ResponseValidationError) Field() string
Field function returns field value.
func (DispatchLookupResources2ResponseValidationError) Key ¶ added in v1.35.0
func (e DispatchLookupResources2ResponseValidationError) Key() bool
Key function returns key value.
func (DispatchLookupResources2ResponseValidationError) Reason ¶ added in v1.35.0
func (e DispatchLookupResources2ResponseValidationError) Reason() string
Reason function returns reason value.
type DispatchLookupSubjectsRequest ¶ added in v1.12.0
type DispatchLookupSubjectsRequest struct { Metadata *ResolverMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` ResourceRelation *v1.RelationReference `protobuf:"bytes,2,opt,name=resource_relation,json=resourceRelation,proto3" json:"resource_relation,omitempty"` ResourceIds []string `protobuf:"bytes,3,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"` SubjectRelation *v1.RelationReference `protobuf:"bytes,4,opt,name=subject_relation,json=subjectRelation,proto3" json:"subject_relation,omitempty"` // contains filtered or unexported fields }
func (*DispatchLookupSubjectsRequest) CloneMessageVT ¶ added in v1.22.0
func (m *DispatchLookupSubjectsRequest) CloneMessageVT() proto.Message
func (*DispatchLookupSubjectsRequest) CloneVT ¶ added in v1.13.0
func (m *DispatchLookupSubjectsRequest) CloneVT() *DispatchLookupSubjectsRequest
func (*DispatchLookupSubjectsRequest) Descriptor
deprecated
added in
v1.12.0
func (*DispatchLookupSubjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DispatchLookupSubjectsRequest.ProtoReflect.Descriptor instead.
func (*DispatchLookupSubjectsRequest) EqualMessageVT ¶ added in v1.22.0
func (this *DispatchLookupSubjectsRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*DispatchLookupSubjectsRequest) EqualVT ¶ added in v1.15.0
func (this *DispatchLookupSubjectsRequest) EqualVT(that *DispatchLookupSubjectsRequest) bool
func (*DispatchLookupSubjectsRequest) GetMetadata ¶ added in v1.12.0
func (x *DispatchLookupSubjectsRequest) GetMetadata() *ResolverMeta
func (*DispatchLookupSubjectsRequest) GetResourceIds ¶ added in v1.12.0
func (x *DispatchLookupSubjectsRequest) GetResourceIds() []string
func (*DispatchLookupSubjectsRequest) GetResourceRelation ¶ added in v1.12.0
func (x *DispatchLookupSubjectsRequest) GetResourceRelation() *v1.RelationReference
func (*DispatchLookupSubjectsRequest) GetSubjectRelation ¶ added in v1.12.0
func (x *DispatchLookupSubjectsRequest) GetSubjectRelation() *v1.RelationReference
func (*DispatchLookupSubjectsRequest) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *DispatchLookupSubjectsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DispatchLookupSubjectsRequest) MarshalToVT ¶ added in v1.13.0
func (m *DispatchLookupSubjectsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*DispatchLookupSubjectsRequest) MarshalVT ¶ added in v1.13.0
func (m *DispatchLookupSubjectsRequest) MarshalVT() (dAtA []byte, err error)
func (*DispatchLookupSubjectsRequest) MarshalZerologObject ¶ added in v1.12.0
func (ls *DispatchLookupSubjectsRequest) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements zerolog object marshalling.
func (*DispatchLookupSubjectsRequest) ProtoMessage ¶ added in v1.12.0
func (*DispatchLookupSubjectsRequest) ProtoMessage()
func (*DispatchLookupSubjectsRequest) ProtoReflect ¶ added in v1.12.0
func (x *DispatchLookupSubjectsRequest) ProtoReflect() protoreflect.Message
func (*DispatchLookupSubjectsRequest) Reset ¶ added in v1.12.0
func (x *DispatchLookupSubjectsRequest) Reset()
func (*DispatchLookupSubjectsRequest) SizeVT ¶ added in v1.13.0
func (m *DispatchLookupSubjectsRequest) SizeVT() (n int)
func (*DispatchLookupSubjectsRequest) String ¶ added in v1.12.0
func (x *DispatchLookupSubjectsRequest) String() string
func (*DispatchLookupSubjectsRequest) UnmarshalVT ¶ added in v1.13.0
func (m *DispatchLookupSubjectsRequest) UnmarshalVT(dAtA []byte) error
func (*DispatchLookupSubjectsRequest) Validate ¶ added in v1.12.0
func (m *DispatchLookupSubjectsRequest) Validate() error
Validate checks the field values on DispatchLookupSubjectsRequest 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 (*DispatchLookupSubjectsRequest) ValidateAll ¶ added in v1.12.0
func (m *DispatchLookupSubjectsRequest) ValidateAll() error
ValidateAll checks the field values on DispatchLookupSubjectsRequest 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 DispatchLookupSubjectsRequestMultiError, or nil if none found.
type DispatchLookupSubjectsRequestMultiError ¶ added in v1.12.0
type DispatchLookupSubjectsRequestMultiError []error
DispatchLookupSubjectsRequestMultiError is an error wrapping multiple validation errors returned by DispatchLookupSubjectsRequest.ValidateAll() if the designated constraints aren't met.
func (DispatchLookupSubjectsRequestMultiError) AllErrors ¶ added in v1.12.0
func (m DispatchLookupSubjectsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DispatchLookupSubjectsRequestMultiError) Error ¶ added in v1.12.0
func (m DispatchLookupSubjectsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DispatchLookupSubjectsRequestValidationError ¶ added in v1.12.0
type DispatchLookupSubjectsRequestValidationError struct {
// contains filtered or unexported fields
}
DispatchLookupSubjectsRequestValidationError is the validation error returned by DispatchLookupSubjectsRequest.Validate if the designated constraints aren't met.
func (DispatchLookupSubjectsRequestValidationError) Cause ¶ added in v1.12.0
func (e DispatchLookupSubjectsRequestValidationError) Cause() error
Cause function returns cause value.
func (DispatchLookupSubjectsRequestValidationError) Error ¶ added in v1.12.0
func (e DispatchLookupSubjectsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DispatchLookupSubjectsRequestValidationError) ErrorName ¶ added in v1.12.0
func (e DispatchLookupSubjectsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DispatchLookupSubjectsRequestValidationError) Field ¶ added in v1.12.0
func (e DispatchLookupSubjectsRequestValidationError) Field() string
Field function returns field value.
func (DispatchLookupSubjectsRequestValidationError) Key ¶ added in v1.12.0
func (e DispatchLookupSubjectsRequestValidationError) Key() bool
Key function returns key value.
func (DispatchLookupSubjectsRequestValidationError) Reason ¶ added in v1.12.0
func (e DispatchLookupSubjectsRequestValidationError) Reason() string
Reason function returns reason value.
type DispatchLookupSubjectsResponse ¶ added in v1.12.0
type DispatchLookupSubjectsResponse struct { FoundSubjectsByResourceId map[string]*FoundSubjects `` /* 230-byte string literal not displayed */ Metadata *ResponseMeta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*DispatchLookupSubjectsResponse) CloneMessageVT ¶ added in v1.22.0
func (m *DispatchLookupSubjectsResponse) CloneMessageVT() proto.Message
func (*DispatchLookupSubjectsResponse) CloneVT ¶ added in v1.13.0
func (m *DispatchLookupSubjectsResponse) CloneVT() *DispatchLookupSubjectsResponse
func (*DispatchLookupSubjectsResponse) Descriptor
deprecated
added in
v1.12.0
func (*DispatchLookupSubjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DispatchLookupSubjectsResponse.ProtoReflect.Descriptor instead.
func (*DispatchLookupSubjectsResponse) EqualMessageVT ¶ added in v1.22.0
func (this *DispatchLookupSubjectsResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*DispatchLookupSubjectsResponse) EqualVT ¶ added in v1.15.0
func (this *DispatchLookupSubjectsResponse) EqualVT(that *DispatchLookupSubjectsResponse) bool
func (*DispatchLookupSubjectsResponse) GetFoundSubjectsByResourceId ¶ added in v1.15.0
func (x *DispatchLookupSubjectsResponse) GetFoundSubjectsByResourceId() map[string]*FoundSubjects
func (*DispatchLookupSubjectsResponse) GetMetadata ¶ added in v1.12.0
func (x *DispatchLookupSubjectsResponse) GetMetadata() *ResponseMeta
func (*DispatchLookupSubjectsResponse) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *DispatchLookupSubjectsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DispatchLookupSubjectsResponse) MarshalToVT ¶ added in v1.13.0
func (m *DispatchLookupSubjectsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*DispatchLookupSubjectsResponse) MarshalVT ¶ added in v1.13.0
func (m *DispatchLookupSubjectsResponse) MarshalVT() (dAtA []byte, err error)
func (*DispatchLookupSubjectsResponse) MarshalZerologObject ¶ added in v1.12.0
func (cs *DispatchLookupSubjectsResponse) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements zerolog object marshalling.
func (*DispatchLookupSubjectsResponse) ProtoMessage ¶ added in v1.12.0
func (*DispatchLookupSubjectsResponse) ProtoMessage()
func (*DispatchLookupSubjectsResponse) ProtoReflect ¶ added in v1.12.0
func (x *DispatchLookupSubjectsResponse) ProtoReflect() protoreflect.Message
func (*DispatchLookupSubjectsResponse) Reset ¶ added in v1.12.0
func (x *DispatchLookupSubjectsResponse) Reset()
func (*DispatchLookupSubjectsResponse) SizeVT ¶ added in v1.13.0
func (m *DispatchLookupSubjectsResponse) SizeVT() (n int)
func (*DispatchLookupSubjectsResponse) String ¶ added in v1.12.0
func (x *DispatchLookupSubjectsResponse) String() string
func (*DispatchLookupSubjectsResponse) UnmarshalVT ¶ added in v1.13.0
func (m *DispatchLookupSubjectsResponse) UnmarshalVT(dAtA []byte) error
func (*DispatchLookupSubjectsResponse) Validate ¶ added in v1.12.0
func (m *DispatchLookupSubjectsResponse) Validate() error
Validate checks the field values on DispatchLookupSubjectsResponse 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 (*DispatchLookupSubjectsResponse) ValidateAll ¶ added in v1.12.0
func (m *DispatchLookupSubjectsResponse) ValidateAll() error
ValidateAll checks the field values on DispatchLookupSubjectsResponse 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 DispatchLookupSubjectsResponseMultiError, or nil if none found.
type DispatchLookupSubjectsResponseMultiError ¶ added in v1.12.0
type DispatchLookupSubjectsResponseMultiError []error
DispatchLookupSubjectsResponseMultiError is an error wrapping multiple validation errors returned by DispatchLookupSubjectsResponse.ValidateAll() if the designated constraints aren't met.
func (DispatchLookupSubjectsResponseMultiError) AllErrors ¶ added in v1.12.0
func (m DispatchLookupSubjectsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DispatchLookupSubjectsResponseMultiError) Error ¶ added in v1.12.0
func (m DispatchLookupSubjectsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DispatchLookupSubjectsResponseValidationError ¶ added in v1.12.0
type DispatchLookupSubjectsResponseValidationError struct {
// contains filtered or unexported fields
}
DispatchLookupSubjectsResponseValidationError is the validation error returned by DispatchLookupSubjectsResponse.Validate if the designated constraints aren't met.
func (DispatchLookupSubjectsResponseValidationError) Cause ¶ added in v1.12.0
func (e DispatchLookupSubjectsResponseValidationError) Cause() error
Cause function returns cause value.
func (DispatchLookupSubjectsResponseValidationError) Error ¶ added in v1.12.0
func (e DispatchLookupSubjectsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DispatchLookupSubjectsResponseValidationError) ErrorName ¶ added in v1.12.0
func (e DispatchLookupSubjectsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DispatchLookupSubjectsResponseValidationError) Field ¶ added in v1.12.0
func (e DispatchLookupSubjectsResponseValidationError) Field() string
Field function returns field value.
func (DispatchLookupSubjectsResponseValidationError) Key ¶ added in v1.12.0
func (e DispatchLookupSubjectsResponseValidationError) Key() bool
Key function returns key value.
func (DispatchLookupSubjectsResponseValidationError) Reason ¶ added in v1.12.0
func (e DispatchLookupSubjectsResponseValidationError) Reason() string
Reason function returns reason value.
type DispatchServiceClient ¶
type DispatchServiceClient interface { DispatchCheck(ctx context.Context, in *DispatchCheckRequest, opts ...grpc.CallOption) (*DispatchCheckResponse, error) DispatchExpand(ctx context.Context, in *DispatchExpandRequest, opts ...grpc.CallOption) (*DispatchExpandResponse, error) DispatchLookupSubjects(ctx context.Context, in *DispatchLookupSubjectsRequest, opts ...grpc.CallOption) (DispatchService_DispatchLookupSubjectsClient, error) DispatchLookupResources2(ctx context.Context, in *DispatchLookupResources2Request, opts ...grpc.CallOption) (DispatchService_DispatchLookupResources2Client, error) }
DispatchServiceClient is the client API for DispatchService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDispatchServiceClient ¶
func NewDispatchServiceClient(cc grpc.ClientConnInterface) DispatchServiceClient
type DispatchServiceServer ¶
type DispatchServiceServer interface { DispatchCheck(context.Context, *DispatchCheckRequest) (*DispatchCheckResponse, error) DispatchExpand(context.Context, *DispatchExpandRequest) (*DispatchExpandResponse, error) DispatchLookupSubjects(*DispatchLookupSubjectsRequest, DispatchService_DispatchLookupSubjectsServer) error DispatchLookupResources2(*DispatchLookupResources2Request, DispatchService_DispatchLookupResources2Server) error // contains filtered or unexported methods }
DispatchServiceServer is the server API for DispatchService service. All implementations must embed UnimplementedDispatchServiceServer for forward compatibility
type DispatchService_DispatchLookupResources2Client ¶ added in v1.35.0
type DispatchService_DispatchLookupResources2Client interface { Recv() (*DispatchLookupResources2Response, error) grpc.ClientStream }
type DispatchService_DispatchLookupResources2Server ¶ added in v1.35.0
type DispatchService_DispatchLookupResources2Server interface { Send(*DispatchLookupResources2Response) error grpc.ServerStream }
type DispatchService_DispatchLookupSubjectsClient ¶ added in v1.12.0
type DispatchService_DispatchLookupSubjectsClient interface { Recv() (*DispatchLookupSubjectsResponse, error) grpc.ClientStream }
type DispatchService_DispatchLookupSubjectsServer ¶ added in v1.12.0
type DispatchService_DispatchLookupSubjectsServer interface { Send(*DispatchLookupSubjectsResponse) error grpc.ServerStream }
type FoundSubject ¶ added in v1.12.0
type FoundSubject struct { SubjectId string `protobuf:"bytes,1,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"` CaveatExpression *v1.CaveatExpression `protobuf:"bytes,2,opt,name=caveat_expression,json=caveatExpression,proto3" json:"caveat_expression,omitempty"` ExcludedSubjects []*FoundSubject `protobuf:"bytes,3,rep,name=excluded_subjects,json=excludedSubjects,proto3" json:"excluded_subjects,omitempty"` // contains filtered or unexported fields }
func (*FoundSubject) CloneMessageVT ¶ added in v1.22.0
func (m *FoundSubject) CloneMessageVT() proto.Message
func (*FoundSubject) CloneVT ¶ added in v1.13.0
func (m *FoundSubject) CloneVT() *FoundSubject
func (*FoundSubject) Descriptor
deprecated
added in
v1.12.0
func (*FoundSubject) Descriptor() ([]byte, []int)
Deprecated: Use FoundSubject.ProtoReflect.Descriptor instead.
func (*FoundSubject) EqualMessageVT ¶ added in v1.22.0
func (this *FoundSubject) EqualMessageVT(thatMsg proto.Message) bool
func (*FoundSubject) EqualVT ¶ added in v1.15.0
func (this *FoundSubject) EqualVT(that *FoundSubject) bool
func (*FoundSubject) GetCaveatExpression ¶ added in v1.15.0
func (x *FoundSubject) GetCaveatExpression() *v1.CaveatExpression
func (*FoundSubject) GetExcludedSubjects ¶ added in v1.15.0
func (x *FoundSubject) GetExcludedSubjects() []*FoundSubject
func (*FoundSubject) GetSubjectId ¶ added in v1.12.0
func (x *FoundSubject) GetSubjectId() string
func (*FoundSubject) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *FoundSubject) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FoundSubject) MarshalToVT ¶ added in v1.13.0
func (m *FoundSubject) MarshalToVT(dAtA []byte) (int, error)
func (*FoundSubject) MarshalVT ¶ added in v1.13.0
func (m *FoundSubject) MarshalVT() (dAtA []byte, err error)
func (*FoundSubject) ProtoMessage ¶ added in v1.12.0
func (*FoundSubject) ProtoMessage()
func (*FoundSubject) ProtoReflect ¶ added in v1.12.0
func (x *FoundSubject) ProtoReflect() protoreflect.Message
func (*FoundSubject) Reset ¶ added in v1.12.0
func (x *FoundSubject) Reset()
func (*FoundSubject) SizeVT ¶ added in v1.13.0
func (m *FoundSubject) SizeVT() (n int)
func (*FoundSubject) String ¶ added in v1.12.0
func (x *FoundSubject) String() string
func (*FoundSubject) UnmarshalVT ¶ added in v1.13.0
func (m *FoundSubject) UnmarshalVT(dAtA []byte) error
func (*FoundSubject) Validate ¶ added in v1.12.0
func (m *FoundSubject) Validate() error
Validate checks the field values on FoundSubject 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 (*FoundSubject) ValidateAll ¶ added in v1.12.0
func (m *FoundSubject) ValidateAll() error
ValidateAll checks the field values on FoundSubject 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 FoundSubjectMultiError, or nil if none found.
type FoundSubjectMultiError ¶ added in v1.12.0
type FoundSubjectMultiError []error
FoundSubjectMultiError is an error wrapping multiple validation errors returned by FoundSubject.ValidateAll() if the designated constraints aren't met.
func (FoundSubjectMultiError) AllErrors ¶ added in v1.12.0
func (m FoundSubjectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FoundSubjectMultiError) Error ¶ added in v1.12.0
func (m FoundSubjectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FoundSubjectValidationError ¶ added in v1.12.0
type FoundSubjectValidationError struct {
// contains filtered or unexported fields
}
FoundSubjectValidationError is the validation error returned by FoundSubject.Validate if the designated constraints aren't met.
func (FoundSubjectValidationError) Cause ¶ added in v1.12.0
func (e FoundSubjectValidationError) Cause() error
Cause function returns cause value.
func (FoundSubjectValidationError) Error ¶ added in v1.12.0
func (e FoundSubjectValidationError) Error() string
Error satisfies the builtin error interface
func (FoundSubjectValidationError) ErrorName ¶ added in v1.12.0
func (e FoundSubjectValidationError) ErrorName() string
ErrorName returns error name.
func (FoundSubjectValidationError) Field ¶ added in v1.12.0
func (e FoundSubjectValidationError) Field() string
Field function returns field value.
func (FoundSubjectValidationError) Key ¶ added in v1.12.0
func (e FoundSubjectValidationError) Key() bool
Key function returns key value.
func (FoundSubjectValidationError) Reason ¶ added in v1.12.0
func (e FoundSubjectValidationError) Reason() string
Reason function returns reason value.
type FoundSubjects ¶ added in v1.15.0
type FoundSubjects struct { FoundSubjects []*FoundSubject `protobuf:"bytes,1,rep,name=found_subjects,json=foundSubjects,proto3" json:"found_subjects,omitempty"` // contains filtered or unexported fields }
func (*FoundSubjects) CloneMessageVT ¶ added in v1.22.0
func (m *FoundSubjects) CloneMessageVT() proto.Message
func (*FoundSubjects) CloneVT ¶ added in v1.15.0
func (m *FoundSubjects) CloneVT() *FoundSubjects
func (*FoundSubjects) Descriptor
deprecated
added in
v1.15.0
func (*FoundSubjects) Descriptor() ([]byte, []int)
Deprecated: Use FoundSubjects.ProtoReflect.Descriptor instead.
func (*FoundSubjects) EqualMessageVT ¶ added in v1.22.0
func (this *FoundSubjects) EqualMessageVT(thatMsg proto.Message) bool
func (*FoundSubjects) EqualVT ¶ added in v1.15.0
func (this *FoundSubjects) EqualVT(that *FoundSubjects) bool
func (*FoundSubjects) GetFoundSubjects ¶ added in v1.15.0
func (x *FoundSubjects) GetFoundSubjects() []*FoundSubject
func (*FoundSubjects) MarshalToSizedBufferVT ¶ added in v1.15.0
func (m *FoundSubjects) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FoundSubjects) MarshalToVT ¶ added in v1.15.0
func (m *FoundSubjects) MarshalToVT(dAtA []byte) (int, error)
func (*FoundSubjects) MarshalVT ¶ added in v1.15.0
func (m *FoundSubjects) MarshalVT() (dAtA []byte, err error)
func (*FoundSubjects) ProtoMessage ¶ added in v1.15.0
func (*FoundSubjects) ProtoMessage()
func (*FoundSubjects) ProtoReflect ¶ added in v1.15.0
func (x *FoundSubjects) ProtoReflect() protoreflect.Message
func (*FoundSubjects) Reset ¶ added in v1.15.0
func (x *FoundSubjects) Reset()
func (*FoundSubjects) SizeVT ¶ added in v1.15.0
func (m *FoundSubjects) SizeVT() (n int)
func (*FoundSubjects) String ¶ added in v1.15.0
func (x *FoundSubjects) String() string
func (*FoundSubjects) UnmarshalVT ¶ added in v1.15.0
func (m *FoundSubjects) UnmarshalVT(dAtA []byte) error
func (*FoundSubjects) Validate ¶ added in v1.15.0
func (m *FoundSubjects) Validate() error
Validate checks the field values on FoundSubjects 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 (*FoundSubjects) ValidateAll ¶ added in v1.15.0
func (m *FoundSubjects) ValidateAll() error
ValidateAll checks the field values on FoundSubjects 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 FoundSubjectsMultiError, or nil if none found.
type FoundSubjectsMultiError ¶ added in v1.15.0
type FoundSubjectsMultiError []error
FoundSubjectsMultiError is an error wrapping multiple validation errors returned by FoundSubjects.ValidateAll() if the designated constraints aren't met.
func (FoundSubjectsMultiError) AllErrors ¶ added in v1.15.0
func (m FoundSubjectsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FoundSubjectsMultiError) Error ¶ added in v1.15.0
func (m FoundSubjectsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FoundSubjectsValidationError ¶ added in v1.15.0
type FoundSubjectsValidationError struct {
// contains filtered or unexported fields
}
FoundSubjectsValidationError is the validation error returned by FoundSubjects.Validate if the designated constraints aren't met.
func (FoundSubjectsValidationError) Cause ¶ added in v1.15.0
func (e FoundSubjectsValidationError) Cause() error
Cause function returns cause value.
func (FoundSubjectsValidationError) Error ¶ added in v1.15.0
func (e FoundSubjectsValidationError) Error() string
Error satisfies the builtin error interface
func (FoundSubjectsValidationError) ErrorName ¶ added in v1.15.0
func (e FoundSubjectsValidationError) ErrorName() string
ErrorName returns error name.
func (FoundSubjectsValidationError) Field ¶ added in v1.15.0
func (e FoundSubjectsValidationError) Field() string
Field function returns field value.
func (FoundSubjectsValidationError) Key ¶ added in v1.15.0
func (e FoundSubjectsValidationError) Key() bool
Key function returns key value.
func (FoundSubjectsValidationError) Reason ¶ added in v1.15.0
func (e FoundSubjectsValidationError) Reason() string
Reason function returns reason value.
type PossibleResource ¶ added in v1.35.0
type PossibleResource struct { ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` ForSubjectIds []string `protobuf:"bytes,2,rep,name=for_subject_ids,json=forSubjectIds,proto3" json:"for_subject_ids,omitempty"` MissingContextParams []string `protobuf:"bytes,3,rep,name=missing_context_params,json=missingContextParams,proto3" json:"missing_context_params,omitempty"` // contains filtered or unexported fields }
func (*PossibleResource) CloneMessageVT ¶ added in v1.35.0
func (m *PossibleResource) CloneMessageVT() proto.Message
func (*PossibleResource) CloneVT ¶ added in v1.35.0
func (m *PossibleResource) CloneVT() *PossibleResource
func (*PossibleResource) Descriptor
deprecated
added in
v1.35.0
func (*PossibleResource) Descriptor() ([]byte, []int)
Deprecated: Use PossibleResource.ProtoReflect.Descriptor instead.
func (*PossibleResource) EqualMessageVT ¶ added in v1.35.0
func (this *PossibleResource) EqualMessageVT(thatMsg proto.Message) bool
func (*PossibleResource) EqualVT ¶ added in v1.35.0
func (this *PossibleResource) EqualVT(that *PossibleResource) bool
func (*PossibleResource) GetForSubjectIds ¶ added in v1.35.0
func (x *PossibleResource) GetForSubjectIds() []string
func (*PossibleResource) GetMissingContextParams ¶ added in v1.35.0
func (x *PossibleResource) GetMissingContextParams() []string
func (*PossibleResource) GetResourceId ¶ added in v1.35.0
func (x *PossibleResource) GetResourceId() string
func (*PossibleResource) MarshalToSizedBufferVT ¶ added in v1.35.0
func (m *PossibleResource) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PossibleResource) MarshalToVT ¶ added in v1.35.0
func (m *PossibleResource) MarshalToVT(dAtA []byte) (int, error)
func (*PossibleResource) MarshalVT ¶ added in v1.35.0
func (m *PossibleResource) MarshalVT() (dAtA []byte, err error)
func (*PossibleResource) ProtoMessage ¶ added in v1.35.0
func (*PossibleResource) ProtoMessage()
func (*PossibleResource) ProtoReflect ¶ added in v1.35.0
func (x *PossibleResource) ProtoReflect() protoreflect.Message
func (*PossibleResource) Reset ¶ added in v1.35.0
func (x *PossibleResource) Reset()
func (*PossibleResource) SizeVT ¶ added in v1.35.0
func (m *PossibleResource) SizeVT() (n int)
func (*PossibleResource) String ¶ added in v1.35.0
func (x *PossibleResource) String() string
func (*PossibleResource) UnmarshalVT ¶ added in v1.35.0
func (m *PossibleResource) UnmarshalVT(dAtA []byte) error
func (*PossibleResource) Validate ¶ added in v1.35.0
func (m *PossibleResource) Validate() error
Validate checks the field values on PossibleResource 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 (*PossibleResource) ValidateAll ¶ added in v1.35.0
func (m *PossibleResource) ValidateAll() error
ValidateAll checks the field values on PossibleResource 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 PossibleResourceMultiError, or nil if none found.
type PossibleResourceMultiError ¶ added in v1.35.0
type PossibleResourceMultiError []error
PossibleResourceMultiError is an error wrapping multiple validation errors returned by PossibleResource.ValidateAll() if the designated constraints aren't met.
func (PossibleResourceMultiError) AllErrors ¶ added in v1.35.0
func (m PossibleResourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PossibleResourceMultiError) Error ¶ added in v1.35.0
func (m PossibleResourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PossibleResourceValidationError ¶ added in v1.35.0
type PossibleResourceValidationError struct {
// contains filtered or unexported fields
}
PossibleResourceValidationError is the validation error returned by PossibleResource.Validate if the designated constraints aren't met.
func (PossibleResourceValidationError) Cause ¶ added in v1.35.0
func (e PossibleResourceValidationError) Cause() error
Cause function returns cause value.
func (PossibleResourceValidationError) Error ¶ added in v1.35.0
func (e PossibleResourceValidationError) Error() string
Error satisfies the builtin error interface
func (PossibleResourceValidationError) ErrorName ¶ added in v1.35.0
func (e PossibleResourceValidationError) ErrorName() string
ErrorName returns error name.
func (PossibleResourceValidationError) Field ¶ added in v1.35.0
func (e PossibleResourceValidationError) Field() string
Field function returns field value.
func (PossibleResourceValidationError) Key ¶ added in v1.35.0
func (e PossibleResourceValidationError) Key() bool
Key function returns key value.
func (PossibleResourceValidationError) Reason ¶ added in v1.35.0
func (e PossibleResourceValidationError) Reason() string
Reason function returns reason value.
type ResolverMeta ¶
type ResolverMeta struct { AtRevision string `protobuf:"bytes,1,opt,name=at_revision,json=atRevision,proto3" json:"at_revision,omitempty"` DepthRemaining uint32 `protobuf:"varint,2,opt,name=depth_remaining,json=depthRemaining,proto3" json:"depth_remaining,omitempty"` // Deprecated: Marked as deprecated in dispatch/v1/dispatch.proto. RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` TraversalBloom []byte `protobuf:"bytes,4,opt,name=traversal_bloom,json=traversalBloom,proto3" json:"traversal_bloom,omitempty"` // contains filtered or unexported fields }
func (*ResolverMeta) CloneMessageVT ¶ added in v1.22.0
func (m *ResolverMeta) CloneMessageVT() proto.Message
func (*ResolverMeta) CloneVT ¶ added in v1.13.0
func (m *ResolverMeta) CloneVT() *ResolverMeta
func (*ResolverMeta) Descriptor
deprecated
func (*ResolverMeta) Descriptor() ([]byte, []int)
Deprecated: Use ResolverMeta.ProtoReflect.Descriptor instead.
func (*ResolverMeta) EqualMessageVT ¶ added in v1.22.0
func (this *ResolverMeta) EqualMessageVT(thatMsg proto.Message) bool
func (*ResolverMeta) EqualVT ¶ added in v1.15.0
func (this *ResolverMeta) EqualVT(that *ResolverMeta) bool
func (*ResolverMeta) GetAtRevision ¶
func (x *ResolverMeta) GetAtRevision() string
func (*ResolverMeta) GetDepthRemaining ¶
func (x *ResolverMeta) GetDepthRemaining() uint32
func (*ResolverMeta) GetRequestId
deprecated
added in
v1.27.0
func (x *ResolverMeta) GetRequestId() string
Deprecated: Marked as deprecated in dispatch/v1/dispatch.proto.
func (*ResolverMeta) GetTraversalBloom ¶ added in v1.28.0
func (x *ResolverMeta) GetTraversalBloom() []byte
func (*ResolverMeta) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *ResolverMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ResolverMeta) MarshalToVT ¶ added in v1.13.0
func (m *ResolverMeta) MarshalToVT(dAtA []byte) (int, error)
func (*ResolverMeta) MarshalVT ¶ added in v1.13.0
func (m *ResolverMeta) MarshalVT() (dAtA []byte, err error)
func (*ResolverMeta) MarshalZerologObject ¶
func (x *ResolverMeta) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements zerolog object marshalling.
func (*ResolverMeta) ProtoMessage ¶
func (*ResolverMeta) ProtoMessage()
func (*ResolverMeta) ProtoReflect ¶
func (x *ResolverMeta) ProtoReflect() protoreflect.Message
func (*ResolverMeta) RecordTraversal ¶ added in v1.28.0
func (x *ResolverMeta) RecordTraversal(key string) (possiblyLoop bool, err error)
func (*ResolverMeta) Reset ¶
func (x *ResolverMeta) Reset()
func (*ResolverMeta) SizeVT ¶ added in v1.13.0
func (m *ResolverMeta) SizeVT() (n int)
func (*ResolverMeta) String ¶
func (x *ResolverMeta) String() string
func (*ResolverMeta) UnmarshalVT ¶ added in v1.13.0
func (m *ResolverMeta) UnmarshalVT(dAtA []byte) error
func (*ResolverMeta) Validate ¶
func (m *ResolverMeta) Validate() error
Validate checks the field values on ResolverMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResolverMeta) ValidateAll ¶ added in v1.6.0
func (m *ResolverMeta) ValidateAll() error
ValidateAll checks the field values on ResolverMeta 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 ResolverMetaMultiError, or nil if none found.
type ResolverMetaMultiError ¶ added in v1.6.0
type ResolverMetaMultiError []error
ResolverMetaMultiError is an error wrapping multiple validation errors returned by ResolverMeta.ValidateAll() if the designated constraints aren't met.
func (ResolverMetaMultiError) AllErrors ¶ added in v1.6.0
func (m ResolverMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResolverMetaMultiError) Error ¶ added in v1.6.0
func (m ResolverMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResolverMetaValidationError ¶
type ResolverMetaValidationError struct {
// contains filtered or unexported fields
}
ResolverMetaValidationError is the validation error returned by ResolverMeta.Validate if the designated constraints aren't met.
func (ResolverMetaValidationError) Cause ¶
func (e ResolverMetaValidationError) Cause() error
Cause function returns cause value.
func (ResolverMetaValidationError) Error ¶
func (e ResolverMetaValidationError) Error() string
Error satisfies the builtin error interface
func (ResolverMetaValidationError) ErrorName ¶
func (e ResolverMetaValidationError) ErrorName() string
ErrorName returns error name.
func (ResolverMetaValidationError) Field ¶
func (e ResolverMetaValidationError) Field() string
Field function returns field value.
func (ResolverMetaValidationError) Key ¶
func (e ResolverMetaValidationError) Key() bool
Key function returns key value.
func (ResolverMetaValidationError) Reason ¶
func (e ResolverMetaValidationError) Reason() string
Reason function returns reason value.
type ResourceCheckResult ¶ added in v1.13.0
type ResourceCheckResult struct { Membership ResourceCheckResult_Membership `protobuf:"varint,1,opt,name=membership,proto3,enum=dispatch.v1.ResourceCheckResult_Membership" json:"membership,omitempty"` Expression *v1.CaveatExpression `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"` MissingExprFields []string `protobuf:"bytes,3,rep,name=missing_expr_fields,json=missingExprFields,proto3" json:"missing_expr_fields,omitempty"` // contains filtered or unexported fields }
func (*ResourceCheckResult) CloneMessageVT ¶ added in v1.22.0
func (m *ResourceCheckResult) CloneMessageVT() proto.Message
func (*ResourceCheckResult) CloneVT ¶ added in v1.13.0
func (m *ResourceCheckResult) CloneVT() *ResourceCheckResult
func (*ResourceCheckResult) Descriptor
deprecated
added in
v1.13.0
func (*ResourceCheckResult) Descriptor() ([]byte, []int)
Deprecated: Use ResourceCheckResult.ProtoReflect.Descriptor instead.
func (*ResourceCheckResult) EqualMessageVT ¶ added in v1.22.0
func (this *ResourceCheckResult) EqualMessageVT(thatMsg proto.Message) bool
func (*ResourceCheckResult) EqualVT ¶ added in v1.15.0
func (this *ResourceCheckResult) EqualVT(that *ResourceCheckResult) bool
func (*ResourceCheckResult) GetExpression ¶ added in v1.13.0
func (x *ResourceCheckResult) GetExpression() *v1.CaveatExpression
func (*ResourceCheckResult) GetMembership ¶ added in v1.13.0
func (x *ResourceCheckResult) GetMembership() ResourceCheckResult_Membership
func (*ResourceCheckResult) GetMissingExprFields ¶ added in v1.13.0
func (x *ResourceCheckResult) GetMissingExprFields() []string
func (*ResourceCheckResult) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *ResourceCheckResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ResourceCheckResult) MarshalToVT ¶ added in v1.13.0
func (m *ResourceCheckResult) MarshalToVT(dAtA []byte) (int, error)
func (*ResourceCheckResult) MarshalVT ¶ added in v1.13.0
func (m *ResourceCheckResult) MarshalVT() (dAtA []byte, err error)
func (*ResourceCheckResult) ProtoMessage ¶ added in v1.13.0
func (*ResourceCheckResult) ProtoMessage()
func (*ResourceCheckResult) ProtoReflect ¶ added in v1.13.0
func (x *ResourceCheckResult) ProtoReflect() protoreflect.Message
func (*ResourceCheckResult) Reset ¶ added in v1.13.0
func (x *ResourceCheckResult) Reset()
func (*ResourceCheckResult) SizeVT ¶ added in v1.13.0
func (m *ResourceCheckResult) SizeVT() (n int)
func (*ResourceCheckResult) String ¶ added in v1.13.0
func (x *ResourceCheckResult) String() string
func (*ResourceCheckResult) UnmarshalVT ¶ added in v1.13.0
func (m *ResourceCheckResult) UnmarshalVT(dAtA []byte) error
func (*ResourceCheckResult) Validate ¶ added in v1.13.0
func (m *ResourceCheckResult) Validate() error
Validate checks the field values on ResourceCheckResult 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 (*ResourceCheckResult) ValidateAll ¶ added in v1.13.0
func (m *ResourceCheckResult) ValidateAll() error
ValidateAll checks the field values on ResourceCheckResult 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 ResourceCheckResultMultiError, or nil if none found.
type ResourceCheckResultMultiError ¶ added in v1.13.0
type ResourceCheckResultMultiError []error
ResourceCheckResultMultiError is an error wrapping multiple validation errors returned by ResourceCheckResult.ValidateAll() if the designated constraints aren't met.
func (ResourceCheckResultMultiError) AllErrors ¶ added in v1.13.0
func (m ResourceCheckResultMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceCheckResultMultiError) Error ¶ added in v1.13.0
func (m ResourceCheckResultMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceCheckResultValidationError ¶ added in v1.13.0
type ResourceCheckResultValidationError struct {
// contains filtered or unexported fields
}
ResourceCheckResultValidationError is the validation error returned by ResourceCheckResult.Validate if the designated constraints aren't met.
func (ResourceCheckResultValidationError) Cause ¶ added in v1.13.0
func (e ResourceCheckResultValidationError) Cause() error
Cause function returns cause value.
func (ResourceCheckResultValidationError) Error ¶ added in v1.13.0
func (e ResourceCheckResultValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceCheckResultValidationError) ErrorName ¶ added in v1.13.0
func (e ResourceCheckResultValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceCheckResultValidationError) Field ¶ added in v1.13.0
func (e ResourceCheckResultValidationError) Field() string
Field function returns field value.
func (ResourceCheckResultValidationError) Key ¶ added in v1.13.0
func (e ResourceCheckResultValidationError) Key() bool
Key function returns key value.
func (ResourceCheckResultValidationError) Reason ¶ added in v1.13.0
func (e ResourceCheckResultValidationError) Reason() string
Reason function returns reason value.
type ResourceCheckResult_Membership ¶ added in v1.13.0
type ResourceCheckResult_Membership int32
const ( ResourceCheckResult_UNKNOWN ResourceCheckResult_Membership = 0 ResourceCheckResult_NOT_MEMBER ResourceCheckResult_Membership = 1 ResourceCheckResult_MEMBER ResourceCheckResult_Membership = 2 ResourceCheckResult_CAVEATED_MEMBER ResourceCheckResult_Membership = 3 )
func (ResourceCheckResult_Membership) Descriptor ¶ added in v1.13.0
func (ResourceCheckResult_Membership) Descriptor() protoreflect.EnumDescriptor
func (ResourceCheckResult_Membership) Enum ¶ added in v1.13.0
func (x ResourceCheckResult_Membership) Enum() *ResourceCheckResult_Membership
func (ResourceCheckResult_Membership) EnumDescriptor
deprecated
added in
v1.13.0
func (ResourceCheckResult_Membership) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceCheckResult_Membership.Descriptor instead.
func (ResourceCheckResult_Membership) Number ¶ added in v1.13.0
func (x ResourceCheckResult_Membership) Number() protoreflect.EnumNumber
func (ResourceCheckResult_Membership) String ¶ added in v1.13.0
func (x ResourceCheckResult_Membership) String() string
func (ResourceCheckResult_Membership) Type ¶ added in v1.13.0
func (ResourceCheckResult_Membership) Type() protoreflect.EnumType
type ResponseMeta ¶
type ResponseMeta struct { DispatchCount uint32 `protobuf:"varint,1,opt,name=dispatch_count,json=dispatchCount,proto3" json:"dispatch_count,omitempty"` DepthRequired uint32 `protobuf:"varint,2,opt,name=depth_required,json=depthRequired,proto3" json:"depth_required,omitempty"` CachedDispatchCount uint32 `protobuf:"varint,3,opt,name=cached_dispatch_count,json=cachedDispatchCount,proto3" json:"cached_dispatch_count,omitempty"` DebugInfo *DebugInformation `protobuf:"bytes,6,opt,name=debug_info,json=debugInfo,proto3" json:"debug_info,omitempty"` // contains filtered or unexported fields }
func (*ResponseMeta) CloneMessageVT ¶ added in v1.22.0
func (m *ResponseMeta) CloneMessageVT() proto.Message
func (*ResponseMeta) CloneVT ¶ added in v1.13.0
func (m *ResponseMeta) CloneVT() *ResponseMeta
func (*ResponseMeta) Descriptor
deprecated
func (*ResponseMeta) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMeta.ProtoReflect.Descriptor instead.
func (*ResponseMeta) EqualMessageVT ¶ added in v1.22.0
func (this *ResponseMeta) EqualMessageVT(thatMsg proto.Message) bool
func (*ResponseMeta) EqualVT ¶ added in v1.15.0
func (this *ResponseMeta) EqualVT(that *ResponseMeta) bool
func (*ResponseMeta) GetCachedDispatchCount ¶
func (x *ResponseMeta) GetCachedDispatchCount() uint32
func (*ResponseMeta) GetDebugInfo ¶ added in v1.11.0
func (x *ResponseMeta) GetDebugInfo() *DebugInformation
func (*ResponseMeta) GetDepthRequired ¶
func (x *ResponseMeta) GetDepthRequired() uint32
func (*ResponseMeta) GetDispatchCount ¶
func (x *ResponseMeta) GetDispatchCount() uint32
func (*ResponseMeta) MarshalToSizedBufferVT ¶ added in v1.13.0
func (m *ResponseMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ResponseMeta) MarshalToVT ¶ added in v1.13.0
func (m *ResponseMeta) MarshalToVT(dAtA []byte) (int, error)
func (*ResponseMeta) MarshalVT ¶ added in v1.13.0
func (m *ResponseMeta) MarshalVT() (dAtA []byte, err error)
func (*ResponseMeta) MarshalZerologObject ¶
func (cr *ResponseMeta) MarshalZerologObject(e *zerolog.Event)
MarshalZerologObject implements zerolog object marshalling.
func (*ResponseMeta) ProtoMessage ¶
func (*ResponseMeta) ProtoMessage()
func (*ResponseMeta) ProtoReflect ¶
func (x *ResponseMeta) ProtoReflect() protoreflect.Message
func (*ResponseMeta) Reset ¶
func (x *ResponseMeta) Reset()
func (*ResponseMeta) SizeVT ¶ added in v1.13.0
func (m *ResponseMeta) SizeVT() (n int)
func (*ResponseMeta) String ¶
func (x *ResponseMeta) String() string
func (*ResponseMeta) UnmarshalVT ¶ added in v1.13.0
func (m *ResponseMeta) UnmarshalVT(dAtA []byte) error
func (*ResponseMeta) Validate ¶
func (m *ResponseMeta) Validate() error
Validate checks the field values on ResponseMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResponseMeta) ValidateAll ¶ added in v1.6.0
func (m *ResponseMeta) ValidateAll() error
ValidateAll checks the field values on ResponseMeta 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 ResponseMetaMultiError, or nil if none found.
type ResponseMetaMultiError ¶ added in v1.6.0
type ResponseMetaMultiError []error
ResponseMetaMultiError is an error wrapping multiple validation errors returned by ResponseMeta.ValidateAll() if the designated constraints aren't met.
func (ResponseMetaMultiError) AllErrors ¶ added in v1.6.0
func (m ResponseMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResponseMetaMultiError) Error ¶ added in v1.6.0
func (m ResponseMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResponseMetaValidationError ¶
type ResponseMetaValidationError struct {
// contains filtered or unexported fields
}
ResponseMetaValidationError is the validation error returned by ResponseMeta.Validate if the designated constraints aren't met.
func (ResponseMetaValidationError) Cause ¶
func (e ResponseMetaValidationError) Cause() error
Cause function returns cause value.
func (ResponseMetaValidationError) Error ¶
func (e ResponseMetaValidationError) Error() string
Error satisfies the builtin error interface
func (ResponseMetaValidationError) ErrorName ¶
func (e ResponseMetaValidationError) ErrorName() string
ErrorName returns error name.
func (ResponseMetaValidationError) Field ¶
func (e ResponseMetaValidationError) Field() string
Field function returns field value.
func (ResponseMetaValidationError) Key ¶
func (e ResponseMetaValidationError) Key() bool
Key function returns key value.
func (ResponseMetaValidationError) Reason ¶
func (e ResponseMetaValidationError) Reason() string
Reason function returns reason value.
type UnimplementedDispatchServiceServer ¶
type UnimplementedDispatchServiceServer struct { }
UnimplementedDispatchServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDispatchServiceServer) DispatchCheck ¶
func (UnimplementedDispatchServiceServer) DispatchCheck(context.Context, *DispatchCheckRequest) (*DispatchCheckResponse, error)
func (UnimplementedDispatchServiceServer) DispatchExpand ¶
func (UnimplementedDispatchServiceServer) DispatchExpand(context.Context, *DispatchExpandRequest) (*DispatchExpandResponse, error)
func (UnimplementedDispatchServiceServer) DispatchLookupResources2 ¶ added in v1.35.0
func (UnimplementedDispatchServiceServer) DispatchLookupResources2(*DispatchLookupResources2Request, DispatchService_DispatchLookupResources2Server) error
func (UnimplementedDispatchServiceServer) DispatchLookupSubjects ¶ added in v1.12.0
func (UnimplementedDispatchServiceServer) DispatchLookupSubjects(*DispatchLookupSubjectsRequest, DispatchService_DispatchLookupSubjectsServer) error
type UnsafeDispatchServiceServer ¶
type UnsafeDispatchServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDispatchServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DispatchServiceServer will result in compilation errors.