Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterExperimentalServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterExperimentalServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ExperimentalServiceClient) error
- func RegisterExperimentalServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterExperimentalServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ExperimentalServiceServer) error
- func RegisterExperimentalServiceServer(s grpc.ServiceRegistrar, srv ExperimentalServiceServer)
- func RegisterPermissionsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterPermissionsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PermissionsServiceClient) error
- func RegisterPermissionsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterPermissionsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PermissionsServiceServer) error
- func RegisterPermissionsServiceServer(s grpc.ServiceRegistrar, srv PermissionsServiceServer)
- func RegisterSchemaServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSchemaServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SchemaServiceClient) error
- func RegisterSchemaServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSchemaServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SchemaServiceServer) error
- func RegisterSchemaServiceServer(s grpc.ServiceRegistrar, srv SchemaServiceServer)
- func RegisterWatchServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterWatchServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WatchServiceClient) error
- func RegisterWatchServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterWatchServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WatchServiceServer) error
- func RegisterWatchServiceServer(s grpc.ServiceRegistrar, srv WatchServiceServer)
- type AlgebraicSubjectSet
- func (m *AlgebraicSubjectSet) CloneMessageVT() proto.Message
- func (m *AlgebraicSubjectSet) CloneVT() *AlgebraicSubjectSet
- func (*AlgebraicSubjectSet) Descriptor() ([]byte, []int)deprecated
- func (this *AlgebraicSubjectSet) EqualMessageVT(thatMsg proto.Message) bool
- func (this *AlgebraicSubjectSet) EqualVT(that *AlgebraicSubjectSet) bool
- func (x *AlgebraicSubjectSet) GetChildren() []*PermissionRelationshipTree
- func (x *AlgebraicSubjectSet) GetOperation() AlgebraicSubjectSet_Operation
- func (m *AlgebraicSubjectSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AlgebraicSubjectSet) MarshalToVT(dAtA []byte) (int, error)
- func (m *AlgebraicSubjectSet) MarshalVT() (dAtA []byte, err error)
- func (*AlgebraicSubjectSet) ProtoMessage()
- func (x *AlgebraicSubjectSet) ProtoReflect() protoreflect.Message
- func (x *AlgebraicSubjectSet) Reset()
- func (m *AlgebraicSubjectSet) SizeVT() (n int)
- func (x *AlgebraicSubjectSet) String() string
- func (m *AlgebraicSubjectSet) UnmarshalVT(dAtA []byte) error
- func (m *AlgebraicSubjectSet) Validate() error
- func (m *AlgebraicSubjectSet) ValidateAll() error
- type AlgebraicSubjectSetMultiError
- type AlgebraicSubjectSetValidationError
- func (e AlgebraicSubjectSetValidationError) Cause() error
- func (e AlgebraicSubjectSetValidationError) Error() string
- func (e AlgebraicSubjectSetValidationError) ErrorName() string
- func (e AlgebraicSubjectSetValidationError) Field() string
- func (e AlgebraicSubjectSetValidationError) Key() bool
- func (e AlgebraicSubjectSetValidationError) Reason() string
- type AlgebraicSubjectSet_Operation
- func (AlgebraicSubjectSet_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x AlgebraicSubjectSet_Operation) Enum() *AlgebraicSubjectSet_Operation
- func (AlgebraicSubjectSet_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x AlgebraicSubjectSet_Operation) Number() protoreflect.EnumNumber
- func (x AlgebraicSubjectSet_Operation) String() string
- func (AlgebraicSubjectSet_Operation) Type() protoreflect.EnumType
- type BulkCheckPermissionPair
- func (m *BulkCheckPermissionPair) CloneMessageVT() proto.Message
- func (m *BulkCheckPermissionPair) CloneVT() *BulkCheckPermissionPair
- func (*BulkCheckPermissionPair) Descriptor() ([]byte, []int)deprecated
- func (this *BulkCheckPermissionPair) EqualMessageVT(thatMsg proto.Message) bool
- func (this *BulkCheckPermissionPair) EqualVT(that *BulkCheckPermissionPair) bool
- func (x *BulkCheckPermissionPair) GetError() *status.Status
- func (x *BulkCheckPermissionPair) GetItem() *BulkCheckPermissionResponseItem
- func (x *BulkCheckPermissionPair) GetRequest() *BulkCheckPermissionRequestItem
- func (m *BulkCheckPermissionPair) GetResponse() isBulkCheckPermissionPair_Response
- func (m *BulkCheckPermissionPair) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BulkCheckPermissionPair) MarshalToVT(dAtA []byte) (int, error)
- func (m *BulkCheckPermissionPair) MarshalVT() (dAtA []byte, err error)
- func (*BulkCheckPermissionPair) ProtoMessage()
- func (x *BulkCheckPermissionPair) ProtoReflect() protoreflect.Message
- func (x *BulkCheckPermissionPair) Reset()
- func (m *BulkCheckPermissionPair) SizeVT() (n int)
- func (x *BulkCheckPermissionPair) String() string
- func (m *BulkCheckPermissionPair) UnmarshalVT(dAtA []byte) error
- func (m *BulkCheckPermissionPair) Validate() error
- func (m *BulkCheckPermissionPair) ValidateAll() error
- type BulkCheckPermissionPairMultiError
- type BulkCheckPermissionPairValidationError
- func (e BulkCheckPermissionPairValidationError) Cause() error
- func (e BulkCheckPermissionPairValidationError) Error() string
- func (e BulkCheckPermissionPairValidationError) ErrorName() string
- func (e BulkCheckPermissionPairValidationError) Field() string
- func (e BulkCheckPermissionPairValidationError) Key() bool
- func (e BulkCheckPermissionPairValidationError) Reason() string
- type BulkCheckPermissionPair_Error
- func (m *BulkCheckPermissionPair_Error) CloneVT() isBulkCheckPermissionPair_Response
- func (this *BulkCheckPermissionPair_Error) EqualVT(thatIface isBulkCheckPermissionPair_Response) bool
- func (m *BulkCheckPermissionPair_Error) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BulkCheckPermissionPair_Error) MarshalToVT(dAtA []byte) (int, error)
- func (m *BulkCheckPermissionPair_Error) SizeVT() (n int)
- type BulkCheckPermissionPair_Item
- func (m *BulkCheckPermissionPair_Item) CloneVT() isBulkCheckPermissionPair_Response
- func (this *BulkCheckPermissionPair_Item) EqualVT(thatIface isBulkCheckPermissionPair_Response) bool
- func (m *BulkCheckPermissionPair_Item) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BulkCheckPermissionPair_Item) MarshalToVT(dAtA []byte) (int, error)
- func (m *BulkCheckPermissionPair_Item) SizeVT() (n int)
- type BulkCheckPermissionRequest
- func (m *BulkCheckPermissionRequest) CloneMessageVT() proto.Message
- func (m *BulkCheckPermissionRequest) CloneVT() *BulkCheckPermissionRequest
- func (*BulkCheckPermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (this *BulkCheckPermissionRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *BulkCheckPermissionRequest) EqualVT(that *BulkCheckPermissionRequest) bool
- func (x *BulkCheckPermissionRequest) GetConsistency() *Consistency
- func (x *BulkCheckPermissionRequest) GetItems() []*BulkCheckPermissionRequestItem
- func (m *BulkCheckPermissionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BulkCheckPermissionRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *BulkCheckPermissionRequest) MarshalVT() (dAtA []byte, err error)
- func (*BulkCheckPermissionRequest) ProtoMessage()
- func (x *BulkCheckPermissionRequest) ProtoReflect() protoreflect.Message
- func (x *BulkCheckPermissionRequest) Reset()
- func (m *BulkCheckPermissionRequest) SizeVT() (n int)
- func (x *BulkCheckPermissionRequest) String() string
- func (m *BulkCheckPermissionRequest) UnmarshalVT(dAtA []byte) error
- func (m *BulkCheckPermissionRequest) Validate() error
- func (m *BulkCheckPermissionRequest) ValidateAll() error
- type BulkCheckPermissionRequestItem
- func (m *BulkCheckPermissionRequestItem) CloneMessageVT() proto.Message
- func (m *BulkCheckPermissionRequestItem) CloneVT() *BulkCheckPermissionRequestItem
- func (*BulkCheckPermissionRequestItem) Descriptor() ([]byte, []int)deprecated
- func (this *BulkCheckPermissionRequestItem) EqualMessageVT(thatMsg proto.Message) bool
- func (this *BulkCheckPermissionRequestItem) EqualVT(that *BulkCheckPermissionRequestItem) bool
- func (x *BulkCheckPermissionRequestItem) GetContext() *structpb.Struct
- func (x *BulkCheckPermissionRequestItem) GetPermission() string
- func (x *BulkCheckPermissionRequestItem) GetResource() *ObjectReference
- func (x *BulkCheckPermissionRequestItem) GetSubject() *SubjectReference
- func (m *BulkCheckPermissionRequestItem) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BulkCheckPermissionRequestItem) MarshalToVT(dAtA []byte) (int, error)
- func (m *BulkCheckPermissionRequestItem) MarshalVT() (dAtA []byte, err error)
- func (*BulkCheckPermissionRequestItem) ProtoMessage()
- func (x *BulkCheckPermissionRequestItem) ProtoReflect() protoreflect.Message
- func (x *BulkCheckPermissionRequestItem) Reset()
- func (m *BulkCheckPermissionRequestItem) SizeVT() (n int)
- func (x *BulkCheckPermissionRequestItem) String() string
- func (m *BulkCheckPermissionRequestItem) UnmarshalVT(dAtA []byte) error
- func (m *BulkCheckPermissionRequestItem) Validate() error
- func (m *BulkCheckPermissionRequestItem) ValidateAll() error
- type BulkCheckPermissionRequestItemMultiError
- type BulkCheckPermissionRequestItemValidationError
- func (e BulkCheckPermissionRequestItemValidationError) Cause() error
- func (e BulkCheckPermissionRequestItemValidationError) Error() string
- func (e BulkCheckPermissionRequestItemValidationError) ErrorName() string
- func (e BulkCheckPermissionRequestItemValidationError) Field() string
- func (e BulkCheckPermissionRequestItemValidationError) Key() bool
- func (e BulkCheckPermissionRequestItemValidationError) Reason() string
- type BulkCheckPermissionRequestMultiError
- type BulkCheckPermissionRequestValidationError
- func (e BulkCheckPermissionRequestValidationError) Cause() error
- func (e BulkCheckPermissionRequestValidationError) Error() string
- func (e BulkCheckPermissionRequestValidationError) ErrorName() string
- func (e BulkCheckPermissionRequestValidationError) Field() string
- func (e BulkCheckPermissionRequestValidationError) Key() bool
- func (e BulkCheckPermissionRequestValidationError) Reason() string
- type BulkCheckPermissionResponse
- func (m *BulkCheckPermissionResponse) CloneMessageVT() proto.Message
- func (m *BulkCheckPermissionResponse) CloneVT() *BulkCheckPermissionResponse
- func (*BulkCheckPermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (this *BulkCheckPermissionResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *BulkCheckPermissionResponse) EqualVT(that *BulkCheckPermissionResponse) bool
- func (x *BulkCheckPermissionResponse) GetCheckedAt() *ZedToken
- func (x *BulkCheckPermissionResponse) GetPairs() []*BulkCheckPermissionPair
- func (m *BulkCheckPermissionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BulkCheckPermissionResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *BulkCheckPermissionResponse) MarshalVT() (dAtA []byte, err error)
- func (*BulkCheckPermissionResponse) ProtoMessage()
- func (x *BulkCheckPermissionResponse) ProtoReflect() protoreflect.Message
- func (x *BulkCheckPermissionResponse) Reset()
- func (m *BulkCheckPermissionResponse) SizeVT() (n int)
- func (x *BulkCheckPermissionResponse) String() string
- func (m *BulkCheckPermissionResponse) UnmarshalVT(dAtA []byte) error
- func (m *BulkCheckPermissionResponse) Validate() error
- func (m *BulkCheckPermissionResponse) ValidateAll() error
- type BulkCheckPermissionResponseItem
- func (m *BulkCheckPermissionResponseItem) CloneMessageVT() proto.Message
- func (m *BulkCheckPermissionResponseItem) CloneVT() *BulkCheckPermissionResponseItem
- func (*BulkCheckPermissionResponseItem) Descriptor() ([]byte, []int)deprecated
- func (this *BulkCheckPermissionResponseItem) EqualMessageVT(thatMsg proto.Message) bool
- func (this *BulkCheckPermissionResponseItem) EqualVT(that *BulkCheckPermissionResponseItem) bool
- func (x *BulkCheckPermissionResponseItem) GetPartialCaveatInfo() *PartialCaveatInfo
- func (x *BulkCheckPermissionResponseItem) GetPermissionship() CheckPermissionResponse_Permissionship
- func (m *BulkCheckPermissionResponseItem) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BulkCheckPermissionResponseItem) MarshalToVT(dAtA []byte) (int, error)
- func (m *BulkCheckPermissionResponseItem) MarshalVT() (dAtA []byte, err error)
- func (*BulkCheckPermissionResponseItem) ProtoMessage()
- func (x *BulkCheckPermissionResponseItem) ProtoReflect() protoreflect.Message
- func (x *BulkCheckPermissionResponseItem) Reset()
- func (m *BulkCheckPermissionResponseItem) SizeVT() (n int)
- func (x *BulkCheckPermissionResponseItem) String() string
- func (m *BulkCheckPermissionResponseItem) UnmarshalVT(dAtA []byte) error
- func (m *BulkCheckPermissionResponseItem) Validate() error
- func (m *BulkCheckPermissionResponseItem) ValidateAll() error
- type BulkCheckPermissionResponseItemMultiError
- type BulkCheckPermissionResponseItemValidationError
- func (e BulkCheckPermissionResponseItemValidationError) Cause() error
- func (e BulkCheckPermissionResponseItemValidationError) Error() string
- func (e BulkCheckPermissionResponseItemValidationError) ErrorName() string
- func (e BulkCheckPermissionResponseItemValidationError) Field() string
- func (e BulkCheckPermissionResponseItemValidationError) Key() bool
- func (e BulkCheckPermissionResponseItemValidationError) Reason() string
- type BulkCheckPermissionResponseMultiError
- type BulkCheckPermissionResponseValidationError
- func (e BulkCheckPermissionResponseValidationError) Cause() error
- func (e BulkCheckPermissionResponseValidationError) Error() string
- func (e BulkCheckPermissionResponseValidationError) ErrorName() string
- func (e BulkCheckPermissionResponseValidationError) Field() string
- func (e BulkCheckPermissionResponseValidationError) Key() bool
- func (e BulkCheckPermissionResponseValidationError) Reason() string
- type BulkExportRelationshipsRequest
- func (m *BulkExportRelationshipsRequest) CloneMessageVT() proto.Message
- func (m *BulkExportRelationshipsRequest) CloneVT() *BulkExportRelationshipsRequest
- func (*BulkExportRelationshipsRequest) Descriptor() ([]byte, []int)deprecated
- func (this *BulkExportRelationshipsRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *BulkExportRelationshipsRequest) EqualVT(that *BulkExportRelationshipsRequest) bool
- func (x *BulkExportRelationshipsRequest) GetConsistency() *Consistency
- func (x *BulkExportRelationshipsRequest) GetOptionalCursor() *Cursor
- func (x *BulkExportRelationshipsRequest) GetOptionalLimit() uint32
- func (x *BulkExportRelationshipsRequest) GetOptionalRelationshipFilter() *RelationshipFilter
- func (m *BulkExportRelationshipsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BulkExportRelationshipsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *BulkExportRelationshipsRequest) MarshalVT() (dAtA []byte, err error)
- func (*BulkExportRelationshipsRequest) ProtoMessage()
- func (x *BulkExportRelationshipsRequest) ProtoReflect() protoreflect.Message
- func (x *BulkExportRelationshipsRequest) Reset()
- func (m *BulkExportRelationshipsRequest) SizeVT() (n int)
- func (x *BulkExportRelationshipsRequest) String() string
- func (m *BulkExportRelationshipsRequest) UnmarshalVT(dAtA []byte) error
- func (m *BulkExportRelationshipsRequest) Validate() error
- func (m *BulkExportRelationshipsRequest) ValidateAll() error
- type BulkExportRelationshipsRequestMultiError
- type BulkExportRelationshipsRequestValidationError
- func (e BulkExportRelationshipsRequestValidationError) Cause() error
- func (e BulkExportRelationshipsRequestValidationError) Error() string
- func (e BulkExportRelationshipsRequestValidationError) ErrorName() string
- func (e BulkExportRelationshipsRequestValidationError) Field() string
- func (e BulkExportRelationshipsRequestValidationError) Key() bool
- func (e BulkExportRelationshipsRequestValidationError) Reason() string
- type BulkExportRelationshipsResponse
- func (m *BulkExportRelationshipsResponse) CloneMessageVT() proto.Message
- func (m *BulkExportRelationshipsResponse) CloneVT() *BulkExportRelationshipsResponse
- func (*BulkExportRelationshipsResponse) Descriptor() ([]byte, []int)deprecated
- func (this *BulkExportRelationshipsResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *BulkExportRelationshipsResponse) EqualVT(that *BulkExportRelationshipsResponse) bool
- func (x *BulkExportRelationshipsResponse) GetAfterResultCursor() *Cursor
- func (x *BulkExportRelationshipsResponse) GetRelationships() []*Relationship
- func (m *BulkExportRelationshipsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BulkExportRelationshipsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *BulkExportRelationshipsResponse) MarshalVT() (dAtA []byte, err error)
- func (*BulkExportRelationshipsResponse) ProtoMessage()
- func (x *BulkExportRelationshipsResponse) ProtoReflect() protoreflect.Message
- func (x *BulkExportRelationshipsResponse) Reset()
- func (m *BulkExportRelationshipsResponse) SizeVT() (n int)
- func (x *BulkExportRelationshipsResponse) String() string
- func (m *BulkExportRelationshipsResponse) UnmarshalVT(dAtA []byte) error
- func (m *BulkExportRelationshipsResponse) Validate() error
- func (m *BulkExportRelationshipsResponse) ValidateAll() error
- type BulkExportRelationshipsResponseMultiError
- type BulkExportRelationshipsResponseValidationError
- func (e BulkExportRelationshipsResponseValidationError) Cause() error
- func (e BulkExportRelationshipsResponseValidationError) Error() string
- func (e BulkExportRelationshipsResponseValidationError) ErrorName() string
- func (e BulkExportRelationshipsResponseValidationError) Field() string
- func (e BulkExportRelationshipsResponseValidationError) Key() bool
- func (e BulkExportRelationshipsResponseValidationError) Reason() string
- type BulkImportRelationshipsRequest
- func (m *BulkImportRelationshipsRequest) CloneMessageVT() proto.Message
- func (m *BulkImportRelationshipsRequest) CloneVT() *BulkImportRelationshipsRequest
- func (*BulkImportRelationshipsRequest) Descriptor() ([]byte, []int)deprecated
- func (this *BulkImportRelationshipsRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *BulkImportRelationshipsRequest) EqualVT(that *BulkImportRelationshipsRequest) bool
- func (x *BulkImportRelationshipsRequest) GetRelationships() []*Relationship
- func (m *BulkImportRelationshipsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BulkImportRelationshipsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *BulkImportRelationshipsRequest) MarshalVT() (dAtA []byte, err error)
- func (*BulkImportRelationshipsRequest) ProtoMessage()
- func (x *BulkImportRelationshipsRequest) ProtoReflect() protoreflect.Message
- func (x *BulkImportRelationshipsRequest) Reset()
- func (m *BulkImportRelationshipsRequest) SizeVT() (n int)
- func (x *BulkImportRelationshipsRequest) String() string
- func (m *BulkImportRelationshipsRequest) UnmarshalVT(dAtA []byte) error
- func (m *BulkImportRelationshipsRequest) Validate() error
- func (m *BulkImportRelationshipsRequest) ValidateAll() error
- type BulkImportRelationshipsRequestMultiError
- type BulkImportRelationshipsRequestValidationError
- func (e BulkImportRelationshipsRequestValidationError) Cause() error
- func (e BulkImportRelationshipsRequestValidationError) Error() string
- func (e BulkImportRelationshipsRequestValidationError) ErrorName() string
- func (e BulkImportRelationshipsRequestValidationError) Field() string
- func (e BulkImportRelationshipsRequestValidationError) Key() bool
- func (e BulkImportRelationshipsRequestValidationError) Reason() string
- type BulkImportRelationshipsResponse
- func (m *BulkImportRelationshipsResponse) CloneMessageVT() proto.Message
- func (m *BulkImportRelationshipsResponse) CloneVT() *BulkImportRelationshipsResponse
- func (*BulkImportRelationshipsResponse) Descriptor() ([]byte, []int)deprecated
- func (this *BulkImportRelationshipsResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *BulkImportRelationshipsResponse) EqualVT(that *BulkImportRelationshipsResponse) bool
- func (x *BulkImportRelationshipsResponse) GetNumLoaded() uint64
- func (m *BulkImportRelationshipsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BulkImportRelationshipsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *BulkImportRelationshipsResponse) MarshalVT() (dAtA []byte, err error)
- func (*BulkImportRelationshipsResponse) ProtoMessage()
- func (x *BulkImportRelationshipsResponse) ProtoReflect() protoreflect.Message
- func (x *BulkImportRelationshipsResponse) Reset()
- func (m *BulkImportRelationshipsResponse) SizeVT() (n int)
- func (x *BulkImportRelationshipsResponse) String() string
- func (m *BulkImportRelationshipsResponse) UnmarshalVT(dAtA []byte) error
- func (m *BulkImportRelationshipsResponse) Validate() error
- func (m *BulkImportRelationshipsResponse) ValidateAll() error
- type BulkImportRelationshipsResponseMultiError
- type BulkImportRelationshipsResponseValidationError
- func (e BulkImportRelationshipsResponseValidationError) Cause() error
- func (e BulkImportRelationshipsResponseValidationError) Error() string
- func (e BulkImportRelationshipsResponseValidationError) ErrorName() string
- func (e BulkImportRelationshipsResponseValidationError) Field() string
- func (e BulkImportRelationshipsResponseValidationError) Key() bool
- func (e BulkImportRelationshipsResponseValidationError) Reason() string
- type CaveatEvalInfo
- func (m *CaveatEvalInfo) CloneMessageVT() proto.Message
- func (m *CaveatEvalInfo) CloneVT() *CaveatEvalInfo
- func (*CaveatEvalInfo) Descriptor() ([]byte, []int)deprecated
- func (this *CaveatEvalInfo) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CaveatEvalInfo) EqualVT(that *CaveatEvalInfo) bool
- func (x *CaveatEvalInfo) GetCaveatName() string
- func (x *CaveatEvalInfo) GetContext() *structpb.Struct
- func (x *CaveatEvalInfo) GetExpression() string
- func (x *CaveatEvalInfo) GetPartialCaveatInfo() *PartialCaveatInfo
- func (x *CaveatEvalInfo) GetResult() CaveatEvalInfo_Result
- func (m *CaveatEvalInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CaveatEvalInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *CaveatEvalInfo) MarshalVT() (dAtA []byte, err error)
- func (*CaveatEvalInfo) ProtoMessage()
- func (x *CaveatEvalInfo) ProtoReflect() protoreflect.Message
- func (x *CaveatEvalInfo) Reset()
- func (m *CaveatEvalInfo) SizeVT() (n int)
- func (x *CaveatEvalInfo) String() string
- func (m *CaveatEvalInfo) UnmarshalVT(dAtA []byte) error
- func (m *CaveatEvalInfo) Validate() error
- func (m *CaveatEvalInfo) ValidateAll() error
- type CaveatEvalInfoMultiError
- type CaveatEvalInfoValidationError
- func (e CaveatEvalInfoValidationError) Cause() error
- func (e CaveatEvalInfoValidationError) Error() string
- func (e CaveatEvalInfoValidationError) ErrorName() string
- func (e CaveatEvalInfoValidationError) Field() string
- func (e CaveatEvalInfoValidationError) Key() bool
- func (e CaveatEvalInfoValidationError) Reason() string
- type CaveatEvalInfo_Result
- func (CaveatEvalInfo_Result) Descriptor() protoreflect.EnumDescriptor
- func (x CaveatEvalInfo_Result) Enum() *CaveatEvalInfo_Result
- func (CaveatEvalInfo_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x CaveatEvalInfo_Result) Number() protoreflect.EnumNumber
- func (x CaveatEvalInfo_Result) String() string
- func (CaveatEvalInfo_Result) Type() protoreflect.EnumType
- type CheckBulkPermissionsPair
- func (m *CheckBulkPermissionsPair) CloneMessageVT() proto.Message
- func (m *CheckBulkPermissionsPair) CloneVT() *CheckBulkPermissionsPair
- func (*CheckBulkPermissionsPair) Descriptor() ([]byte, []int)deprecated
- func (this *CheckBulkPermissionsPair) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CheckBulkPermissionsPair) EqualVT(that *CheckBulkPermissionsPair) bool
- func (x *CheckBulkPermissionsPair) GetError() *status.Status
- func (x *CheckBulkPermissionsPair) GetItem() *CheckBulkPermissionsResponseItem
- func (x *CheckBulkPermissionsPair) GetRequest() *CheckBulkPermissionsRequestItem
- func (m *CheckBulkPermissionsPair) GetResponse() isCheckBulkPermissionsPair_Response
- func (m *CheckBulkPermissionsPair) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckBulkPermissionsPair) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckBulkPermissionsPair) MarshalVT() (dAtA []byte, err error)
- func (*CheckBulkPermissionsPair) ProtoMessage()
- func (x *CheckBulkPermissionsPair) ProtoReflect() protoreflect.Message
- func (x *CheckBulkPermissionsPair) Reset()
- func (m *CheckBulkPermissionsPair) SizeVT() (n int)
- func (x *CheckBulkPermissionsPair) String() string
- func (m *CheckBulkPermissionsPair) UnmarshalVT(dAtA []byte) error
- func (m *CheckBulkPermissionsPair) Validate() error
- func (m *CheckBulkPermissionsPair) ValidateAll() error
- type CheckBulkPermissionsPairMultiError
- type CheckBulkPermissionsPairValidationError
- func (e CheckBulkPermissionsPairValidationError) Cause() error
- func (e CheckBulkPermissionsPairValidationError) Error() string
- func (e CheckBulkPermissionsPairValidationError) ErrorName() string
- func (e CheckBulkPermissionsPairValidationError) Field() string
- func (e CheckBulkPermissionsPairValidationError) Key() bool
- func (e CheckBulkPermissionsPairValidationError) Reason() string
- type CheckBulkPermissionsPair_Error
- func (m *CheckBulkPermissionsPair_Error) CloneVT() isCheckBulkPermissionsPair_Response
- func (this *CheckBulkPermissionsPair_Error) EqualVT(thatIface isCheckBulkPermissionsPair_Response) bool
- func (m *CheckBulkPermissionsPair_Error) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckBulkPermissionsPair_Error) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckBulkPermissionsPair_Error) SizeVT() (n int)
- type CheckBulkPermissionsPair_Item
- func (m *CheckBulkPermissionsPair_Item) CloneVT() isCheckBulkPermissionsPair_Response
- func (this *CheckBulkPermissionsPair_Item) EqualVT(thatIface isCheckBulkPermissionsPair_Response) bool
- func (m *CheckBulkPermissionsPair_Item) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckBulkPermissionsPair_Item) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckBulkPermissionsPair_Item) SizeVT() (n int)
- type CheckBulkPermissionsRequest
- func (m *CheckBulkPermissionsRequest) CloneMessageVT() proto.Message
- func (m *CheckBulkPermissionsRequest) CloneVT() *CheckBulkPermissionsRequest
- func (*CheckBulkPermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (this *CheckBulkPermissionsRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CheckBulkPermissionsRequest) EqualVT(that *CheckBulkPermissionsRequest) bool
- func (x *CheckBulkPermissionsRequest) GetConsistency() *Consistency
- func (x *CheckBulkPermissionsRequest) GetItems() []*CheckBulkPermissionsRequestItem
- func (m *CheckBulkPermissionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckBulkPermissionsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckBulkPermissionsRequest) MarshalVT() (dAtA []byte, err error)
- func (*CheckBulkPermissionsRequest) ProtoMessage()
- func (x *CheckBulkPermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *CheckBulkPermissionsRequest) Reset()
- func (m *CheckBulkPermissionsRequest) SizeVT() (n int)
- func (x *CheckBulkPermissionsRequest) String() string
- func (m *CheckBulkPermissionsRequest) UnmarshalVT(dAtA []byte) error
- func (m *CheckBulkPermissionsRequest) Validate() error
- func (m *CheckBulkPermissionsRequest) ValidateAll() error
- type CheckBulkPermissionsRequestItem
- func (m *CheckBulkPermissionsRequestItem) CloneMessageVT() proto.Message
- func (m *CheckBulkPermissionsRequestItem) CloneVT() *CheckBulkPermissionsRequestItem
- func (*CheckBulkPermissionsRequestItem) Descriptor() ([]byte, []int)deprecated
- func (this *CheckBulkPermissionsRequestItem) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CheckBulkPermissionsRequestItem) EqualVT(that *CheckBulkPermissionsRequestItem) bool
- func (x *CheckBulkPermissionsRequestItem) GetContext() *structpb.Struct
- func (x *CheckBulkPermissionsRequestItem) GetPermission() string
- func (x *CheckBulkPermissionsRequestItem) GetResource() *ObjectReference
- func (x *CheckBulkPermissionsRequestItem) GetSubject() *SubjectReference
- func (m *CheckBulkPermissionsRequestItem) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckBulkPermissionsRequestItem) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckBulkPermissionsRequestItem) MarshalVT() (dAtA []byte, err error)
- func (*CheckBulkPermissionsRequestItem) ProtoMessage()
- func (x *CheckBulkPermissionsRequestItem) ProtoReflect() protoreflect.Message
- func (x *CheckBulkPermissionsRequestItem) Reset()
- func (m *CheckBulkPermissionsRequestItem) SizeVT() (n int)
- func (x *CheckBulkPermissionsRequestItem) String() string
- func (m *CheckBulkPermissionsRequestItem) UnmarshalVT(dAtA []byte) error
- func (m *CheckBulkPermissionsRequestItem) Validate() error
- func (m *CheckBulkPermissionsRequestItem) ValidateAll() error
- type CheckBulkPermissionsRequestItemMultiError
- type CheckBulkPermissionsRequestItemValidationError
- func (e CheckBulkPermissionsRequestItemValidationError) Cause() error
- func (e CheckBulkPermissionsRequestItemValidationError) Error() string
- func (e CheckBulkPermissionsRequestItemValidationError) ErrorName() string
- func (e CheckBulkPermissionsRequestItemValidationError) Field() string
- func (e CheckBulkPermissionsRequestItemValidationError) Key() bool
- func (e CheckBulkPermissionsRequestItemValidationError) Reason() string
- type CheckBulkPermissionsRequestMultiError
- type CheckBulkPermissionsRequestValidationError
- func (e CheckBulkPermissionsRequestValidationError) Cause() error
- func (e CheckBulkPermissionsRequestValidationError) Error() string
- func (e CheckBulkPermissionsRequestValidationError) ErrorName() string
- func (e CheckBulkPermissionsRequestValidationError) Field() string
- func (e CheckBulkPermissionsRequestValidationError) Key() bool
- func (e CheckBulkPermissionsRequestValidationError) Reason() string
- type CheckBulkPermissionsResponse
- func (m *CheckBulkPermissionsResponse) CloneMessageVT() proto.Message
- func (m *CheckBulkPermissionsResponse) CloneVT() *CheckBulkPermissionsResponse
- func (*CheckBulkPermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (this *CheckBulkPermissionsResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CheckBulkPermissionsResponse) EqualVT(that *CheckBulkPermissionsResponse) bool
- func (x *CheckBulkPermissionsResponse) GetCheckedAt() *ZedToken
- func (x *CheckBulkPermissionsResponse) GetPairs() []*CheckBulkPermissionsPair
- func (m *CheckBulkPermissionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckBulkPermissionsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckBulkPermissionsResponse) MarshalVT() (dAtA []byte, err error)
- func (*CheckBulkPermissionsResponse) ProtoMessage()
- func (x *CheckBulkPermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *CheckBulkPermissionsResponse) Reset()
- func (m *CheckBulkPermissionsResponse) SizeVT() (n int)
- func (x *CheckBulkPermissionsResponse) String() string
- func (m *CheckBulkPermissionsResponse) UnmarshalVT(dAtA []byte) error
- func (m *CheckBulkPermissionsResponse) Validate() error
- func (m *CheckBulkPermissionsResponse) ValidateAll() error
- type CheckBulkPermissionsResponseItem
- func (m *CheckBulkPermissionsResponseItem) CloneMessageVT() proto.Message
- func (m *CheckBulkPermissionsResponseItem) CloneVT() *CheckBulkPermissionsResponseItem
- func (*CheckBulkPermissionsResponseItem) Descriptor() ([]byte, []int)deprecated
- func (this *CheckBulkPermissionsResponseItem) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CheckBulkPermissionsResponseItem) EqualVT(that *CheckBulkPermissionsResponseItem) bool
- func (x *CheckBulkPermissionsResponseItem) GetPartialCaveatInfo() *PartialCaveatInfo
- func (x *CheckBulkPermissionsResponseItem) GetPermissionship() CheckPermissionResponse_Permissionship
- func (m *CheckBulkPermissionsResponseItem) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckBulkPermissionsResponseItem) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckBulkPermissionsResponseItem) MarshalVT() (dAtA []byte, err error)
- func (*CheckBulkPermissionsResponseItem) ProtoMessage()
- func (x *CheckBulkPermissionsResponseItem) ProtoReflect() protoreflect.Message
- func (x *CheckBulkPermissionsResponseItem) Reset()
- func (m *CheckBulkPermissionsResponseItem) SizeVT() (n int)
- func (x *CheckBulkPermissionsResponseItem) String() string
- func (m *CheckBulkPermissionsResponseItem) UnmarshalVT(dAtA []byte) error
- func (m *CheckBulkPermissionsResponseItem) Validate() error
- func (m *CheckBulkPermissionsResponseItem) ValidateAll() error
- type CheckBulkPermissionsResponseItemMultiError
- type CheckBulkPermissionsResponseItemValidationError
- func (e CheckBulkPermissionsResponseItemValidationError) Cause() error
- func (e CheckBulkPermissionsResponseItemValidationError) Error() string
- func (e CheckBulkPermissionsResponseItemValidationError) ErrorName() string
- func (e CheckBulkPermissionsResponseItemValidationError) Field() string
- func (e CheckBulkPermissionsResponseItemValidationError) Key() bool
- func (e CheckBulkPermissionsResponseItemValidationError) Reason() string
- type CheckBulkPermissionsResponseMultiError
- type CheckBulkPermissionsResponseValidationError
- func (e CheckBulkPermissionsResponseValidationError) Cause() error
- func (e CheckBulkPermissionsResponseValidationError) Error() string
- func (e CheckBulkPermissionsResponseValidationError) ErrorName() string
- func (e CheckBulkPermissionsResponseValidationError) Field() string
- func (e CheckBulkPermissionsResponseValidationError) Key() bool
- func (e CheckBulkPermissionsResponseValidationError) Reason() string
- type CheckDebugTrace
- func (m *CheckDebugTrace) CloneMessageVT() proto.Message
- func (m *CheckDebugTrace) CloneVT() *CheckDebugTrace
- func (*CheckDebugTrace) Descriptor() ([]byte, []int)deprecated
- func (this *CheckDebugTrace) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CheckDebugTrace) EqualVT(that *CheckDebugTrace) bool
- func (x *CheckDebugTrace) GetCaveatEvaluationInfo() *CaveatEvalInfo
- func (x *CheckDebugTrace) GetDuration() *durationpb.Duration
- func (x *CheckDebugTrace) GetPermission() string
- func (x *CheckDebugTrace) GetPermissionType() CheckDebugTrace_PermissionType
- func (m *CheckDebugTrace) GetResolution() isCheckDebugTrace_Resolution
- func (x *CheckDebugTrace) GetResource() *ObjectReference
- func (x *CheckDebugTrace) GetResult() CheckDebugTrace_Permissionship
- func (x *CheckDebugTrace) GetSubProblems() *CheckDebugTrace_SubProblems
- func (x *CheckDebugTrace) GetSubject() *SubjectReference
- func (x *CheckDebugTrace) GetWasCachedResult() bool
- func (m *CheckDebugTrace) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckDebugTrace) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckDebugTrace) MarshalVT() (dAtA []byte, err error)
- func (*CheckDebugTrace) ProtoMessage()
- func (x *CheckDebugTrace) ProtoReflect() protoreflect.Message
- func (x *CheckDebugTrace) Reset()
- func (m *CheckDebugTrace) SizeVT() (n int)
- func (x *CheckDebugTrace) String() string
- func (m *CheckDebugTrace) UnmarshalVT(dAtA []byte) error
- func (m *CheckDebugTrace) Validate() error
- func (m *CheckDebugTrace) ValidateAll() error
- type CheckDebugTraceMultiError
- type CheckDebugTraceValidationError
- func (e CheckDebugTraceValidationError) Cause() error
- func (e CheckDebugTraceValidationError) Error() string
- func (e CheckDebugTraceValidationError) ErrorName() string
- func (e CheckDebugTraceValidationError) Field() string
- func (e CheckDebugTraceValidationError) Key() bool
- func (e CheckDebugTraceValidationError) Reason() string
- type CheckDebugTrace_PermissionType
- func (CheckDebugTrace_PermissionType) Descriptor() protoreflect.EnumDescriptor
- func (x CheckDebugTrace_PermissionType) Enum() *CheckDebugTrace_PermissionType
- func (CheckDebugTrace_PermissionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CheckDebugTrace_PermissionType) Number() protoreflect.EnumNumber
- func (x CheckDebugTrace_PermissionType) String() string
- func (CheckDebugTrace_PermissionType) Type() protoreflect.EnumType
- type CheckDebugTrace_Permissionship
- func (CheckDebugTrace_Permissionship) Descriptor() protoreflect.EnumDescriptor
- func (x CheckDebugTrace_Permissionship) Enum() *CheckDebugTrace_Permissionship
- func (CheckDebugTrace_Permissionship) EnumDescriptor() ([]byte, []int)deprecated
- func (x CheckDebugTrace_Permissionship) Number() protoreflect.EnumNumber
- func (x CheckDebugTrace_Permissionship) String() string
- func (CheckDebugTrace_Permissionship) Type() protoreflect.EnumType
- type CheckDebugTrace_SubProblems
- func (m *CheckDebugTrace_SubProblems) CloneMessageVT() proto.Message
- func (m *CheckDebugTrace_SubProblems) CloneVT() *CheckDebugTrace_SubProblems
- func (*CheckDebugTrace_SubProblems) Descriptor() ([]byte, []int)deprecated
- func (this *CheckDebugTrace_SubProblems) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CheckDebugTrace_SubProblems) EqualVT(that *CheckDebugTrace_SubProblems) bool
- func (x *CheckDebugTrace_SubProblems) GetTraces() []*CheckDebugTrace
- func (m *CheckDebugTrace_SubProblems) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckDebugTrace_SubProblems) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckDebugTrace_SubProblems) MarshalVT() (dAtA []byte, err error)
- func (*CheckDebugTrace_SubProblems) ProtoMessage()
- func (x *CheckDebugTrace_SubProblems) ProtoReflect() protoreflect.Message
- func (x *CheckDebugTrace_SubProblems) Reset()
- func (m *CheckDebugTrace_SubProblems) SizeVT() (n int)
- func (x *CheckDebugTrace_SubProblems) String() string
- func (m *CheckDebugTrace_SubProblems) UnmarshalVT(dAtA []byte) error
- func (m *CheckDebugTrace_SubProblems) Validate() error
- func (m *CheckDebugTrace_SubProblems) ValidateAll() error
- type CheckDebugTrace_SubProblemsMultiError
- type CheckDebugTrace_SubProblemsValidationError
- func (e CheckDebugTrace_SubProblemsValidationError) Cause() error
- func (e CheckDebugTrace_SubProblemsValidationError) Error() string
- func (e CheckDebugTrace_SubProblemsValidationError) ErrorName() string
- func (e CheckDebugTrace_SubProblemsValidationError) Field() string
- func (e CheckDebugTrace_SubProblemsValidationError) Key() bool
- func (e CheckDebugTrace_SubProblemsValidationError) Reason() string
- type CheckDebugTrace_SubProblems_
- func (m *CheckDebugTrace_SubProblems_) CloneVT() isCheckDebugTrace_Resolution
- func (this *CheckDebugTrace_SubProblems_) EqualVT(thatIface isCheckDebugTrace_Resolution) bool
- func (m *CheckDebugTrace_SubProblems_) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckDebugTrace_SubProblems_) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckDebugTrace_SubProblems_) SizeVT() (n int)
- type CheckDebugTrace_WasCachedResult
- func (m *CheckDebugTrace_WasCachedResult) CloneVT() isCheckDebugTrace_Resolution
- func (this *CheckDebugTrace_WasCachedResult) EqualVT(thatIface isCheckDebugTrace_Resolution) bool
- func (m *CheckDebugTrace_WasCachedResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckDebugTrace_WasCachedResult) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckDebugTrace_WasCachedResult) SizeVT() (n int)
- type CheckPermissionRequest
- func (m *CheckPermissionRequest) CloneMessageVT() proto.Message
- func (m *CheckPermissionRequest) CloneVT() *CheckPermissionRequest
- func (*CheckPermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (this *CheckPermissionRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CheckPermissionRequest) EqualVT(that *CheckPermissionRequest) bool
- func (x *CheckPermissionRequest) GetConsistency() *Consistency
- func (x *CheckPermissionRequest) GetContext() *structpb.Struct
- func (x *CheckPermissionRequest) GetPermission() string
- func (x *CheckPermissionRequest) GetResource() *ObjectReference
- func (x *CheckPermissionRequest) GetSubject() *SubjectReference
- func (x *CheckPermissionRequest) GetWithTracing() bool
- func (m *CheckPermissionRequest) HandwrittenValidate() error
- func (m *CheckPermissionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckPermissionRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckPermissionRequest) MarshalVT() (dAtA []byte, err error)
- func (*CheckPermissionRequest) ProtoMessage()
- func (x *CheckPermissionRequest) ProtoReflect() protoreflect.Message
- func (x *CheckPermissionRequest) Reset()
- func (m *CheckPermissionRequest) SizeVT() (n int)
- func (x *CheckPermissionRequest) String() string
- func (m *CheckPermissionRequest) UnmarshalVT(dAtA []byte) error
- func (m *CheckPermissionRequest) Validate() error
- func (m *CheckPermissionRequest) ValidateAll() error
- type CheckPermissionRequestMultiError
- type CheckPermissionRequestValidationError
- func (e CheckPermissionRequestValidationError) Cause() error
- func (e CheckPermissionRequestValidationError) Error() string
- func (e CheckPermissionRequestValidationError) ErrorName() string
- func (e CheckPermissionRequestValidationError) Field() string
- func (e CheckPermissionRequestValidationError) Key() bool
- func (e CheckPermissionRequestValidationError) Reason() string
- type CheckPermissionResponse
- func (m *CheckPermissionResponse) CloneMessageVT() proto.Message
- func (m *CheckPermissionResponse) CloneVT() *CheckPermissionResponse
- func (*CheckPermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (this *CheckPermissionResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CheckPermissionResponse) EqualVT(that *CheckPermissionResponse) bool
- func (x *CheckPermissionResponse) GetCheckedAt() *ZedToken
- func (x *CheckPermissionResponse) GetDebugTrace() *DebugInformation
- func (x *CheckPermissionResponse) GetPartialCaveatInfo() *PartialCaveatInfo
- func (x *CheckPermissionResponse) GetPermissionship() CheckPermissionResponse_Permissionship
- func (m *CheckPermissionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckPermissionResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckPermissionResponse) MarshalVT() (dAtA []byte, err error)
- func (*CheckPermissionResponse) ProtoMessage()
- func (x *CheckPermissionResponse) ProtoReflect() protoreflect.Message
- func (x *CheckPermissionResponse) Reset()
- func (m *CheckPermissionResponse) SizeVT() (n int)
- func (x *CheckPermissionResponse) String() string
- func (m *CheckPermissionResponse) UnmarshalVT(dAtA []byte) error
- func (m *CheckPermissionResponse) Validate() error
- func (m *CheckPermissionResponse) ValidateAll() error
- type CheckPermissionResponseMultiError
- type CheckPermissionResponseValidationError
- func (e CheckPermissionResponseValidationError) Cause() error
- func (e CheckPermissionResponseValidationError) Error() string
- func (e CheckPermissionResponseValidationError) ErrorName() string
- func (e CheckPermissionResponseValidationError) Field() string
- func (e CheckPermissionResponseValidationError) Key() bool
- func (e CheckPermissionResponseValidationError) Reason() string
- type CheckPermissionResponse_Permissionship
- func (CheckPermissionResponse_Permissionship) Descriptor() protoreflect.EnumDescriptor
- func (x CheckPermissionResponse_Permissionship) Enum() *CheckPermissionResponse_Permissionship
- func (CheckPermissionResponse_Permissionship) EnumDescriptor() ([]byte, []int)deprecated
- func (x CheckPermissionResponse_Permissionship) Number() protoreflect.EnumNumber
- func (x CheckPermissionResponse_Permissionship) String() string
- func (CheckPermissionResponse_Permissionship) Type() protoreflect.EnumType
- type Consistency
- func (m *Consistency) CloneMessageVT() proto.Message
- func (m *Consistency) CloneVT() *Consistency
- func (*Consistency) Descriptor() ([]byte, []int)deprecated
- func (this *Consistency) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Consistency) EqualVT(that *Consistency) bool
- func (x *Consistency) GetAtExactSnapshot() *ZedToken
- func (x *Consistency) GetAtLeastAsFresh() *ZedToken
- func (x *Consistency) GetFullyConsistent() bool
- func (x *Consistency) GetMinimizeLatency() bool
- func (m *Consistency) GetRequirement() isConsistency_Requirement
- func (m *Consistency) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Consistency) MarshalToVT(dAtA []byte) (int, error)
- func (m *Consistency) MarshalVT() (dAtA []byte, err error)
- func (*Consistency) ProtoMessage()
- func (x *Consistency) ProtoReflect() protoreflect.Message
- func (x *Consistency) Reset()
- func (m *Consistency) SizeVT() (n int)
- func (x *Consistency) String() string
- func (m *Consistency) UnmarshalVT(dAtA []byte) error
- func (m *Consistency) Validate() error
- func (m *Consistency) ValidateAll() error
- type ConsistencyMultiError
- type ConsistencyValidationError
- func (e ConsistencyValidationError) Cause() error
- func (e ConsistencyValidationError) Error() string
- func (e ConsistencyValidationError) ErrorName() string
- func (e ConsistencyValidationError) Field() string
- func (e ConsistencyValidationError) Key() bool
- func (e ConsistencyValidationError) Reason() string
- type Consistency_AtExactSnapshot
- func (m *Consistency_AtExactSnapshot) CloneVT() isConsistency_Requirement
- func (this *Consistency_AtExactSnapshot) EqualVT(thatIface isConsistency_Requirement) bool
- func (m *Consistency_AtExactSnapshot) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Consistency_AtExactSnapshot) MarshalToVT(dAtA []byte) (int, error)
- func (m *Consistency_AtExactSnapshot) SizeVT() (n int)
- type Consistency_AtLeastAsFresh
- func (m *Consistency_AtLeastAsFresh) CloneVT() isConsistency_Requirement
- func (this *Consistency_AtLeastAsFresh) EqualVT(thatIface isConsistency_Requirement) bool
- func (m *Consistency_AtLeastAsFresh) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Consistency_AtLeastAsFresh) MarshalToVT(dAtA []byte) (int, error)
- func (m *Consistency_AtLeastAsFresh) SizeVT() (n int)
- type Consistency_FullyConsistent
- func (m *Consistency_FullyConsistent) CloneVT() isConsistency_Requirement
- func (this *Consistency_FullyConsistent) EqualVT(thatIface isConsistency_Requirement) bool
- func (m *Consistency_FullyConsistent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Consistency_FullyConsistent) MarshalToVT(dAtA []byte) (int, error)
- func (m *Consistency_FullyConsistent) SizeVT() (n int)
- type Consistency_MinimizeLatency
- func (m *Consistency_MinimizeLatency) CloneVT() isConsistency_Requirement
- func (this *Consistency_MinimizeLatency) EqualVT(thatIface isConsistency_Requirement) bool
- func (m *Consistency_MinimizeLatency) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Consistency_MinimizeLatency) MarshalToVT(dAtA []byte) (int, error)
- func (m *Consistency_MinimizeLatency) SizeVT() (n int)
- type ContextualizedCaveat
- func (m *ContextualizedCaveat) CloneMessageVT() proto.Message
- func (m *ContextualizedCaveat) CloneVT() *ContextualizedCaveat
- func (*ContextualizedCaveat) Descriptor() ([]byte, []int)deprecated
- func (this *ContextualizedCaveat) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ContextualizedCaveat) EqualVT(that *ContextualizedCaveat) bool
- func (x *ContextualizedCaveat) GetCaveatName() string
- func (x *ContextualizedCaveat) GetContext() *structpb.Struct
- func (m *ContextualizedCaveat) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ContextualizedCaveat) MarshalToVT(dAtA []byte) (int, error)
- func (m *ContextualizedCaveat) MarshalVT() (dAtA []byte, err error)
- func (*ContextualizedCaveat) ProtoMessage()
- func (x *ContextualizedCaveat) ProtoReflect() protoreflect.Message
- func (x *ContextualizedCaveat) Reset()
- func (m *ContextualizedCaveat) SizeVT() (n int)
- func (x *ContextualizedCaveat) String() string
- func (m *ContextualizedCaveat) UnmarshalVT(dAtA []byte) error
- func (m *ContextualizedCaveat) Validate() error
- func (m *ContextualizedCaveat) ValidateAll() error
- type ContextualizedCaveatMultiError
- type ContextualizedCaveatValidationError
- func (e ContextualizedCaveatValidationError) Cause() error
- func (e ContextualizedCaveatValidationError) Error() string
- func (e ContextualizedCaveatValidationError) ErrorName() string
- func (e ContextualizedCaveatValidationError) Field() string
- func (e ContextualizedCaveatValidationError) Key() bool
- func (e ContextualizedCaveatValidationError) Reason() string
- type Cursor
- func (m *Cursor) CloneMessageVT() proto.Message
- func (m *Cursor) CloneVT() *Cursor
- func (*Cursor) Descriptor() ([]byte, []int)deprecated
- func (this *Cursor) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Cursor) EqualVT(that *Cursor) bool
- func (x *Cursor) GetToken() string
- func (m *Cursor) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Cursor) MarshalToVT(dAtA []byte) (int, error)
- func (m *Cursor) MarshalVT() (dAtA []byte, err error)
- func (*Cursor) ProtoMessage()
- func (x *Cursor) ProtoReflect() protoreflect.Message
- func (x *Cursor) Reset()
- func (m *Cursor) SizeVT() (n int)
- func (x *Cursor) String() string
- func (m *Cursor) UnmarshalVT(dAtA []byte) error
- func (m *Cursor) Validate() error
- func (m *Cursor) ValidateAll() error
- type CursorMultiError
- type CursorValidationError
- type DebugInformation
- func (m *DebugInformation) CloneMessageVT() proto.Message
- func (m *DebugInformation) CloneVT() *DebugInformation
- func (*DebugInformation) Descriptor() ([]byte, []int)deprecated
- func (this *DebugInformation) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DebugInformation) EqualVT(that *DebugInformation) bool
- func (x *DebugInformation) GetCheck() *CheckDebugTrace
- func (x *DebugInformation) GetSchemaUsed() string
- func (m *DebugInformation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DebugInformation) MarshalToVT(dAtA []byte) (int, error)
- func (m *DebugInformation) MarshalVT() (dAtA []byte, err error)
- func (*DebugInformation) ProtoMessage()
- func (x *DebugInformation) ProtoReflect() protoreflect.Message
- func (x *DebugInformation) Reset()
- func (m *DebugInformation) SizeVT() (n int)
- func (x *DebugInformation) String() string
- func (m *DebugInformation) UnmarshalVT(dAtA []byte) error
- func (m *DebugInformation) Validate() error
- func (m *DebugInformation) ValidateAll() error
- type DebugInformationMultiError
- type DebugInformationValidationError
- func (e DebugInformationValidationError) Cause() error
- func (e DebugInformationValidationError) Error() string
- func (e DebugInformationValidationError) ErrorName() string
- func (e DebugInformationValidationError) Field() string
- func (e DebugInformationValidationError) Key() bool
- func (e DebugInformationValidationError) Reason() string
- type DeleteRelationshipsRequest
- func (m *DeleteRelationshipsRequest) CloneMessageVT() proto.Message
- func (m *DeleteRelationshipsRequest) CloneVT() *DeleteRelationshipsRequest
- func (*DeleteRelationshipsRequest) Descriptor() ([]byte, []int)deprecated
- func (this *DeleteRelationshipsRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DeleteRelationshipsRequest) EqualVT(that *DeleteRelationshipsRequest) bool
- func (x *DeleteRelationshipsRequest) GetOptionalAllowPartialDeletions() bool
- func (x *DeleteRelationshipsRequest) GetOptionalLimit() uint32
- func (x *DeleteRelationshipsRequest) GetOptionalPreconditions() []*Precondition
- func (x *DeleteRelationshipsRequest) GetRelationshipFilter() *RelationshipFilter
- func (m *DeleteRelationshipsRequest) HandwrittenValidate() error
- func (m *DeleteRelationshipsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DeleteRelationshipsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *DeleteRelationshipsRequest) MarshalVT() (dAtA []byte, err error)
- func (*DeleteRelationshipsRequest) ProtoMessage()
- func (x *DeleteRelationshipsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRelationshipsRequest) Reset()
- func (m *DeleteRelationshipsRequest) SizeVT() (n int)
- func (x *DeleteRelationshipsRequest) String() string
- func (m *DeleteRelationshipsRequest) UnmarshalVT(dAtA []byte) error
- func (m *DeleteRelationshipsRequest) Validate() error
- func (m *DeleteRelationshipsRequest) ValidateAll() error
- type DeleteRelationshipsRequestMultiError
- type DeleteRelationshipsRequestValidationError
- func (e DeleteRelationshipsRequestValidationError) Cause() error
- func (e DeleteRelationshipsRequestValidationError) Error() string
- func (e DeleteRelationshipsRequestValidationError) ErrorName() string
- func (e DeleteRelationshipsRequestValidationError) Field() string
- func (e DeleteRelationshipsRequestValidationError) Key() bool
- func (e DeleteRelationshipsRequestValidationError) Reason() string
- type DeleteRelationshipsResponse
- func (m *DeleteRelationshipsResponse) CloneMessageVT() proto.Message
- func (m *DeleteRelationshipsResponse) CloneVT() *DeleteRelationshipsResponse
- func (*DeleteRelationshipsResponse) Descriptor() ([]byte, []int)deprecated
- func (this *DeleteRelationshipsResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DeleteRelationshipsResponse) EqualVT(that *DeleteRelationshipsResponse) bool
- func (x *DeleteRelationshipsResponse) GetDeletedAt() *ZedToken
- func (x *DeleteRelationshipsResponse) GetDeletionProgress() DeleteRelationshipsResponse_DeletionProgress
- func (m *DeleteRelationshipsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DeleteRelationshipsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *DeleteRelationshipsResponse) MarshalVT() (dAtA []byte, err error)
- func (*DeleteRelationshipsResponse) ProtoMessage()
- func (x *DeleteRelationshipsResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteRelationshipsResponse) Reset()
- func (m *DeleteRelationshipsResponse) SizeVT() (n int)
- func (x *DeleteRelationshipsResponse) String() string
- func (m *DeleteRelationshipsResponse) UnmarshalVT(dAtA []byte) error
- func (m *DeleteRelationshipsResponse) Validate() error
- func (m *DeleteRelationshipsResponse) ValidateAll() error
- type DeleteRelationshipsResponseMultiError
- type DeleteRelationshipsResponseValidationError
- func (e DeleteRelationshipsResponseValidationError) Cause() error
- func (e DeleteRelationshipsResponseValidationError) Error() string
- func (e DeleteRelationshipsResponseValidationError) ErrorName() string
- func (e DeleteRelationshipsResponseValidationError) Field() string
- func (e DeleteRelationshipsResponseValidationError) Key() bool
- func (e DeleteRelationshipsResponseValidationError) Reason() string
- type DeleteRelationshipsResponse_DeletionProgress
- func (DeleteRelationshipsResponse_DeletionProgress) Descriptor() protoreflect.EnumDescriptor
- func (x DeleteRelationshipsResponse_DeletionProgress) Enum() *DeleteRelationshipsResponse_DeletionProgress
- func (DeleteRelationshipsResponse_DeletionProgress) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeleteRelationshipsResponse_DeletionProgress) Number() protoreflect.EnumNumber
- func (x DeleteRelationshipsResponse_DeletionProgress) String() string
- func (DeleteRelationshipsResponse_DeletionProgress) Type() protoreflect.EnumType
- type DirectSubjectSet
- func (m *DirectSubjectSet) CloneMessageVT() proto.Message
- func (m *DirectSubjectSet) CloneVT() *DirectSubjectSet
- func (*DirectSubjectSet) Descriptor() ([]byte, []int)deprecated
- func (this *DirectSubjectSet) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DirectSubjectSet) EqualVT(that *DirectSubjectSet) bool
- func (x *DirectSubjectSet) GetSubjects() []*SubjectReference
- func (m *DirectSubjectSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DirectSubjectSet) MarshalToVT(dAtA []byte) (int, error)
- func (m *DirectSubjectSet) MarshalVT() (dAtA []byte, err error)
- func (*DirectSubjectSet) ProtoMessage()
- func (x *DirectSubjectSet) ProtoReflect() protoreflect.Message
- func (x *DirectSubjectSet) Reset()
- func (m *DirectSubjectSet) SizeVT() (n int)
- func (x *DirectSubjectSet) String() string
- func (m *DirectSubjectSet) UnmarshalVT(dAtA []byte) error
- func (m *DirectSubjectSet) Validate() error
- func (m *DirectSubjectSet) ValidateAll() error
- type DirectSubjectSetMultiError
- type DirectSubjectSetValidationError
- func (e DirectSubjectSetValidationError) Cause() error
- func (e DirectSubjectSetValidationError) Error() string
- func (e DirectSubjectSetValidationError) ErrorName() string
- func (e DirectSubjectSetValidationError) Field() string
- func (e DirectSubjectSetValidationError) Key() bool
- func (e DirectSubjectSetValidationError) Reason() string
- type ErrorReason
- func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorReason) Enum() *ErrorReason
- func (ErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorReason) Number() protoreflect.EnumNumber
- func (x ErrorReason) String() string
- func (ErrorReason) Type() protoreflect.EnumType
- type ExpandPermissionTreeRequest
- func (m *ExpandPermissionTreeRequest) CloneMessageVT() proto.Message
- func (m *ExpandPermissionTreeRequest) CloneVT() *ExpandPermissionTreeRequest
- func (*ExpandPermissionTreeRequest) Descriptor() ([]byte, []int)deprecated
- func (this *ExpandPermissionTreeRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ExpandPermissionTreeRequest) EqualVT(that *ExpandPermissionTreeRequest) bool
- func (x *ExpandPermissionTreeRequest) GetConsistency() *Consistency
- func (x *ExpandPermissionTreeRequest) GetPermission() string
- func (x *ExpandPermissionTreeRequest) GetResource() *ObjectReference
- func (m *ExpandPermissionTreeRequest) HandwrittenValidate() error
- func (m *ExpandPermissionTreeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExpandPermissionTreeRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExpandPermissionTreeRequest) MarshalVT() (dAtA []byte, err error)
- func (*ExpandPermissionTreeRequest) ProtoMessage()
- func (x *ExpandPermissionTreeRequest) ProtoReflect() protoreflect.Message
- func (x *ExpandPermissionTreeRequest) Reset()
- func (m *ExpandPermissionTreeRequest) SizeVT() (n int)
- func (x *ExpandPermissionTreeRequest) String() string
- func (m *ExpandPermissionTreeRequest) UnmarshalVT(dAtA []byte) error
- func (m *ExpandPermissionTreeRequest) Validate() error
- func (m *ExpandPermissionTreeRequest) ValidateAll() error
- type ExpandPermissionTreeRequestMultiError
- type ExpandPermissionTreeRequestValidationError
- func (e ExpandPermissionTreeRequestValidationError) Cause() error
- func (e ExpandPermissionTreeRequestValidationError) Error() string
- func (e ExpandPermissionTreeRequestValidationError) ErrorName() string
- func (e ExpandPermissionTreeRequestValidationError) Field() string
- func (e ExpandPermissionTreeRequestValidationError) Key() bool
- func (e ExpandPermissionTreeRequestValidationError) Reason() string
- type ExpandPermissionTreeResponse
- func (m *ExpandPermissionTreeResponse) CloneMessageVT() proto.Message
- func (m *ExpandPermissionTreeResponse) CloneVT() *ExpandPermissionTreeResponse
- func (*ExpandPermissionTreeResponse) Descriptor() ([]byte, []int)deprecated
- func (this *ExpandPermissionTreeResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ExpandPermissionTreeResponse) EqualVT(that *ExpandPermissionTreeResponse) bool
- func (x *ExpandPermissionTreeResponse) GetExpandedAt() *ZedToken
- func (x *ExpandPermissionTreeResponse) GetTreeRoot() *PermissionRelationshipTree
- func (m *ExpandPermissionTreeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExpandPermissionTreeResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExpandPermissionTreeResponse) MarshalVT() (dAtA []byte, err error)
- func (*ExpandPermissionTreeResponse) ProtoMessage()
- func (x *ExpandPermissionTreeResponse) ProtoReflect() protoreflect.Message
- func (x *ExpandPermissionTreeResponse) Reset()
- func (m *ExpandPermissionTreeResponse) SizeVT() (n int)
- func (x *ExpandPermissionTreeResponse) String() string
- func (m *ExpandPermissionTreeResponse) UnmarshalVT(dAtA []byte) error
- func (m *ExpandPermissionTreeResponse) Validate() error
- func (m *ExpandPermissionTreeResponse) ValidateAll() error
- type ExpandPermissionTreeResponseMultiError
- type ExpandPermissionTreeResponseValidationError
- func (e ExpandPermissionTreeResponseValidationError) Cause() error
- func (e ExpandPermissionTreeResponseValidationError) Error() string
- func (e ExpandPermissionTreeResponseValidationError) ErrorName() string
- func (e ExpandPermissionTreeResponseValidationError) Field() string
- func (e ExpandPermissionTreeResponseValidationError) Key() bool
- func (e ExpandPermissionTreeResponseValidationError) Reason() string
- type ExperimentalServiceClient
- type ExperimentalServiceServer
- type ExperimentalService_BulkExportRelationshipsClient
- type ExperimentalService_BulkExportRelationshipsServer
- type ExperimentalService_BulkImportRelationshipsClient
- type ExperimentalService_BulkImportRelationshipsServer
- type LookupPermissionship
- func (LookupPermissionship) Descriptor() protoreflect.EnumDescriptor
- func (x LookupPermissionship) Enum() *LookupPermissionship
- func (LookupPermissionship) EnumDescriptor() ([]byte, []int)deprecated
- func (x LookupPermissionship) Number() protoreflect.EnumNumber
- func (x LookupPermissionship) String() string
- func (LookupPermissionship) Type() protoreflect.EnumType
- type LookupResourcesRequest
- func (m *LookupResourcesRequest) CloneMessageVT() proto.Message
- func (m *LookupResourcesRequest) CloneVT() *LookupResourcesRequest
- func (*LookupResourcesRequest) Descriptor() ([]byte, []int)deprecated
- func (this *LookupResourcesRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *LookupResourcesRequest) EqualVT(that *LookupResourcesRequest) bool
- func (x *LookupResourcesRequest) GetConsistency() *Consistency
- func (x *LookupResourcesRequest) GetContext() *structpb.Struct
- func (x *LookupResourcesRequest) GetOptionalCursor() *Cursor
- func (x *LookupResourcesRequest) GetOptionalLimit() uint32
- func (x *LookupResourcesRequest) GetPermission() string
- func (x *LookupResourcesRequest) GetResourceObjectType() string
- func (x *LookupResourcesRequest) GetSubject() *SubjectReference
- func (m *LookupResourcesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LookupResourcesRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *LookupResourcesRequest) MarshalVT() (dAtA []byte, err error)
- func (*LookupResourcesRequest) ProtoMessage()
- func (x *LookupResourcesRequest) ProtoReflect() protoreflect.Message
- func (x *LookupResourcesRequest) Reset()
- func (m *LookupResourcesRequest) SizeVT() (n int)
- func (x *LookupResourcesRequest) String() string
- func (m *LookupResourcesRequest) UnmarshalVT(dAtA []byte) error
- func (m *LookupResourcesRequest) Validate() error
- func (m *LookupResourcesRequest) ValidateAll() error
- type LookupResourcesRequestMultiError
- type LookupResourcesRequestValidationError
- func (e LookupResourcesRequestValidationError) Cause() error
- func (e LookupResourcesRequestValidationError) Error() string
- func (e LookupResourcesRequestValidationError) ErrorName() string
- func (e LookupResourcesRequestValidationError) Field() string
- func (e LookupResourcesRequestValidationError) Key() bool
- func (e LookupResourcesRequestValidationError) Reason() string
- type LookupResourcesResponse
- func (m *LookupResourcesResponse) CloneMessageVT() proto.Message
- func (m *LookupResourcesResponse) CloneVT() *LookupResourcesResponse
- func (*LookupResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (this *LookupResourcesResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *LookupResourcesResponse) EqualVT(that *LookupResourcesResponse) bool
- func (x *LookupResourcesResponse) GetAfterResultCursor() *Cursor
- func (x *LookupResourcesResponse) GetLookedUpAt() *ZedToken
- func (x *LookupResourcesResponse) GetPartialCaveatInfo() *PartialCaveatInfo
- func (x *LookupResourcesResponse) GetPermissionship() LookupPermissionship
- func (x *LookupResourcesResponse) GetResourceObjectId() string
- func (m *LookupResourcesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LookupResourcesResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *LookupResourcesResponse) MarshalVT() (dAtA []byte, err error)
- func (*LookupResourcesResponse) ProtoMessage()
- func (x *LookupResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *LookupResourcesResponse) Reset()
- func (m *LookupResourcesResponse) SizeVT() (n int)
- func (x *LookupResourcesResponse) String() string
- func (m *LookupResourcesResponse) UnmarshalVT(dAtA []byte) error
- func (m *LookupResourcesResponse) Validate() error
- func (m *LookupResourcesResponse) ValidateAll() error
- type LookupResourcesResponseMultiError
- type LookupResourcesResponseValidationError
- func (e LookupResourcesResponseValidationError) Cause() error
- func (e LookupResourcesResponseValidationError) Error() string
- func (e LookupResourcesResponseValidationError) ErrorName() string
- func (e LookupResourcesResponseValidationError) Field() string
- func (e LookupResourcesResponseValidationError) Key() bool
- func (e LookupResourcesResponseValidationError) Reason() string
- type LookupSubjectsRequest
- func (m *LookupSubjectsRequest) CloneMessageVT() proto.Message
- func (m *LookupSubjectsRequest) CloneVT() *LookupSubjectsRequest
- func (*LookupSubjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (this *LookupSubjectsRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *LookupSubjectsRequest) EqualVT(that *LookupSubjectsRequest) bool
- func (x *LookupSubjectsRequest) GetConsistency() *Consistency
- func (x *LookupSubjectsRequest) GetContext() *structpb.Struct
- func (x *LookupSubjectsRequest) GetOptionalConcreteLimit() uint32
- func (x *LookupSubjectsRequest) GetOptionalCursor() *Cursor
- func (x *LookupSubjectsRequest) GetOptionalSubjectRelation() string
- func (x *LookupSubjectsRequest) GetPermission() string
- func (x *LookupSubjectsRequest) GetResource() *ObjectReference
- func (x *LookupSubjectsRequest) GetSubjectObjectType() string
- func (x *LookupSubjectsRequest) GetWildcardOption() LookupSubjectsRequest_WildcardOption
- func (m *LookupSubjectsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LookupSubjectsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *LookupSubjectsRequest) MarshalVT() (dAtA []byte, err error)
- func (*LookupSubjectsRequest) ProtoMessage()
- func (x *LookupSubjectsRequest) ProtoReflect() protoreflect.Message
- func (x *LookupSubjectsRequest) Reset()
- func (m *LookupSubjectsRequest) SizeVT() (n int)
- func (x *LookupSubjectsRequest) String() string
- func (m *LookupSubjectsRequest) UnmarshalVT(dAtA []byte) error
- func (m *LookupSubjectsRequest) Validate() error
- func (m *LookupSubjectsRequest) ValidateAll() error
- type LookupSubjectsRequestMultiError
- type LookupSubjectsRequestValidationError
- func (e LookupSubjectsRequestValidationError) Cause() error
- func (e LookupSubjectsRequestValidationError) Error() string
- func (e LookupSubjectsRequestValidationError) ErrorName() string
- func (e LookupSubjectsRequestValidationError) Field() string
- func (e LookupSubjectsRequestValidationError) Key() bool
- func (e LookupSubjectsRequestValidationError) Reason() string
- type LookupSubjectsRequest_WildcardOption
- func (LookupSubjectsRequest_WildcardOption) Descriptor() protoreflect.EnumDescriptor
- func (x LookupSubjectsRequest_WildcardOption) Enum() *LookupSubjectsRequest_WildcardOption
- func (LookupSubjectsRequest_WildcardOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x LookupSubjectsRequest_WildcardOption) Number() protoreflect.EnumNumber
- func (x LookupSubjectsRequest_WildcardOption) String() string
- func (LookupSubjectsRequest_WildcardOption) Type() protoreflect.EnumType
- type LookupSubjectsResponse
- func (m *LookupSubjectsResponse) CloneMessageVT() proto.Message
- func (m *LookupSubjectsResponse) CloneVT() *LookupSubjectsResponse
- func (*LookupSubjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (this *LookupSubjectsResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *LookupSubjectsResponse) EqualVT(that *LookupSubjectsResponse) bool
- func (x *LookupSubjectsResponse) GetAfterResultCursor() *Cursor
- func (x *LookupSubjectsResponse) GetExcludedSubjectIds() []stringdeprecated
- func (x *LookupSubjectsResponse) GetExcludedSubjects() []*ResolvedSubject
- func (x *LookupSubjectsResponse) GetLookedUpAt() *ZedToken
- func (x *LookupSubjectsResponse) GetPartialCaveatInfo() *PartialCaveatInfodeprecated
- func (x *LookupSubjectsResponse) GetPermissionship() LookupPermissionshipdeprecated
- func (x *LookupSubjectsResponse) GetSubject() *ResolvedSubject
- func (x *LookupSubjectsResponse) GetSubjectObjectId() stringdeprecated
- func (m *LookupSubjectsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LookupSubjectsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *LookupSubjectsResponse) MarshalVT() (dAtA []byte, err error)
- func (*LookupSubjectsResponse) ProtoMessage()
- func (x *LookupSubjectsResponse) ProtoReflect() protoreflect.Message
- func (x *LookupSubjectsResponse) Reset()
- func (m *LookupSubjectsResponse) SizeVT() (n int)
- func (x *LookupSubjectsResponse) String() string
- func (m *LookupSubjectsResponse) UnmarshalVT(dAtA []byte) error
- func (m *LookupSubjectsResponse) Validate() error
- func (m *LookupSubjectsResponse) ValidateAll() error
- type LookupSubjectsResponseMultiError
- type LookupSubjectsResponseValidationError
- func (e LookupSubjectsResponseValidationError) Cause() error
- func (e LookupSubjectsResponseValidationError) Error() string
- func (e LookupSubjectsResponseValidationError) ErrorName() string
- func (e LookupSubjectsResponseValidationError) Field() string
- func (e LookupSubjectsResponseValidationError) Key() bool
- func (e LookupSubjectsResponseValidationError) Reason() string
- type ObjectReference
- func (m *ObjectReference) CloneMessageVT() proto.Message
- func (m *ObjectReference) CloneVT() *ObjectReference
- func (*ObjectReference) Descriptor() ([]byte, []int)deprecated
- func (this *ObjectReference) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ObjectReference) EqualVT(that *ObjectReference) bool
- func (x *ObjectReference) GetObjectId() string
- func (x *ObjectReference) GetObjectType() string
- func (m *ObjectReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ObjectReference) MarshalToVT(dAtA []byte) (int, error)
- func (m *ObjectReference) MarshalVT() (dAtA []byte, err error)
- func (*ObjectReference) ProtoMessage()
- func (x *ObjectReference) ProtoReflect() protoreflect.Message
- func (x *ObjectReference) Reset()
- func (m *ObjectReference) SizeVT() (n int)
- func (x *ObjectReference) String() string
- func (m *ObjectReference) UnmarshalVT(dAtA []byte) error
- func (m *ObjectReference) Validate() error
- func (m *ObjectReference) ValidateAll() error
- type ObjectReferenceMultiError
- type ObjectReferenceValidationError
- func (e ObjectReferenceValidationError) Cause() error
- func (e ObjectReferenceValidationError) Error() string
- func (e ObjectReferenceValidationError) ErrorName() string
- func (e ObjectReferenceValidationError) Field() string
- func (e ObjectReferenceValidationError) Key() bool
- func (e ObjectReferenceValidationError) Reason() string
- type PartialCaveatInfo
- func (m *PartialCaveatInfo) CloneMessageVT() proto.Message
- func (m *PartialCaveatInfo) CloneVT() *PartialCaveatInfo
- func (*PartialCaveatInfo) Descriptor() ([]byte, []int)deprecated
- func (this *PartialCaveatInfo) EqualMessageVT(thatMsg proto.Message) bool
- func (this *PartialCaveatInfo) EqualVT(that *PartialCaveatInfo) bool
- func (x *PartialCaveatInfo) GetMissingRequiredContext() []string
- func (m *PartialCaveatInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PartialCaveatInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *PartialCaveatInfo) MarshalVT() (dAtA []byte, err error)
- func (*PartialCaveatInfo) ProtoMessage()
- func (x *PartialCaveatInfo) ProtoReflect() protoreflect.Message
- func (x *PartialCaveatInfo) Reset()
- func (m *PartialCaveatInfo) SizeVT() (n int)
- func (x *PartialCaveatInfo) String() string
- func (m *PartialCaveatInfo) UnmarshalVT(dAtA []byte) error
- func (m *PartialCaveatInfo) Validate() error
- func (m *PartialCaveatInfo) ValidateAll() error
- type PartialCaveatInfoMultiError
- type PartialCaveatInfoValidationError
- func (e PartialCaveatInfoValidationError) Cause() error
- func (e PartialCaveatInfoValidationError) Error() string
- func (e PartialCaveatInfoValidationError) ErrorName() string
- func (e PartialCaveatInfoValidationError) Field() string
- func (e PartialCaveatInfoValidationError) Key() bool
- func (e PartialCaveatInfoValidationError) Reason() string
- type PermissionRelationshipTree
- func (m *PermissionRelationshipTree) CloneMessageVT() proto.Message
- func (m *PermissionRelationshipTree) CloneVT() *PermissionRelationshipTree
- func (*PermissionRelationshipTree) Descriptor() ([]byte, []int)deprecated
- func (this *PermissionRelationshipTree) EqualMessageVT(thatMsg proto.Message) bool
- func (this *PermissionRelationshipTree) EqualVT(that *PermissionRelationshipTree) bool
- func (x *PermissionRelationshipTree) GetExpandedObject() *ObjectReference
- func (x *PermissionRelationshipTree) GetExpandedRelation() string
- func (x *PermissionRelationshipTree) GetIntermediate() *AlgebraicSubjectSet
- func (x *PermissionRelationshipTree) GetLeaf() *DirectSubjectSet
- func (m *PermissionRelationshipTree) GetTreeType() isPermissionRelationshipTree_TreeType
- func (m *PermissionRelationshipTree) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionRelationshipTree) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionRelationshipTree) MarshalVT() (dAtA []byte, err error)
- func (*PermissionRelationshipTree) ProtoMessage()
- func (x *PermissionRelationshipTree) ProtoReflect() protoreflect.Message
- func (x *PermissionRelationshipTree) Reset()
- func (m *PermissionRelationshipTree) SizeVT() (n int)
- func (x *PermissionRelationshipTree) String() string
- func (m *PermissionRelationshipTree) UnmarshalVT(dAtA []byte) error
- func (m *PermissionRelationshipTree) Validate() error
- func (m *PermissionRelationshipTree) ValidateAll() error
- type PermissionRelationshipTreeMultiError
- type PermissionRelationshipTreeValidationError
- func (e PermissionRelationshipTreeValidationError) Cause() error
- func (e PermissionRelationshipTreeValidationError) Error() string
- func (e PermissionRelationshipTreeValidationError) ErrorName() string
- func (e PermissionRelationshipTreeValidationError) Field() string
- func (e PermissionRelationshipTreeValidationError) Key() bool
- func (e PermissionRelationshipTreeValidationError) Reason() string
- type PermissionRelationshipTree_Intermediate
- func (m *PermissionRelationshipTree_Intermediate) CloneVT() isPermissionRelationshipTree_TreeType
- func (this *PermissionRelationshipTree_Intermediate) EqualVT(thatIface isPermissionRelationshipTree_TreeType) bool
- func (m *PermissionRelationshipTree_Intermediate) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionRelationshipTree_Intermediate) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionRelationshipTree_Intermediate) SizeVT() (n int)
- type PermissionRelationshipTree_Leaf
- func (m *PermissionRelationshipTree_Leaf) CloneVT() isPermissionRelationshipTree_TreeType
- func (this *PermissionRelationshipTree_Leaf) EqualVT(thatIface isPermissionRelationshipTree_TreeType) bool
- func (m *PermissionRelationshipTree_Leaf) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PermissionRelationshipTree_Leaf) MarshalToVT(dAtA []byte) (int, error)
- func (m *PermissionRelationshipTree_Leaf) SizeVT() (n int)
- type PermissionsServiceClient
- type PermissionsServiceServer
- type PermissionsService_LookupResourcesClient
- type PermissionsService_LookupResourcesServer
- type PermissionsService_LookupSubjectsClient
- type PermissionsService_LookupSubjectsServer
- type PermissionsService_ReadRelationshipsClient
- type PermissionsService_ReadRelationshipsServer
- type Precondition
- func (m *Precondition) CloneMessageVT() proto.Message
- func (m *Precondition) CloneVT() *Precondition
- func (*Precondition) Descriptor() ([]byte, []int)deprecated
- func (this *Precondition) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Precondition) EqualVT(that *Precondition) bool
- func (x *Precondition) GetFilter() *RelationshipFilter
- func (x *Precondition) GetOperation() Precondition_Operation
- func (m *Precondition) HandwrittenValidate() error
- func (m *Precondition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Precondition) MarshalToVT(dAtA []byte) (int, error)
- func (m *Precondition) MarshalVT() (dAtA []byte, err error)
- func (*Precondition) ProtoMessage()
- func (x *Precondition) ProtoReflect() protoreflect.Message
- func (x *Precondition) Reset()
- func (m *Precondition) SizeVT() (n int)
- func (x *Precondition) String() string
- func (m *Precondition) UnmarshalVT(dAtA []byte) error
- func (m *Precondition) Validate() error
- func (m *Precondition) ValidateAll() error
- type PreconditionMultiError
- type PreconditionValidationError
- func (e PreconditionValidationError) Cause() error
- func (e PreconditionValidationError) Error() string
- func (e PreconditionValidationError) ErrorName() string
- func (e PreconditionValidationError) Field() string
- func (e PreconditionValidationError) Key() bool
- func (e PreconditionValidationError) Reason() string
- type Precondition_Operation
- func (Precondition_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x Precondition_Operation) Enum() *Precondition_Operation
- func (Precondition_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x Precondition_Operation) Number() protoreflect.EnumNumber
- func (x Precondition_Operation) String() string
- func (Precondition_Operation) Type() protoreflect.EnumType
- type ReadRelationshipsRequest
- func (m *ReadRelationshipsRequest) CloneMessageVT() proto.Message
- func (m *ReadRelationshipsRequest) CloneVT() *ReadRelationshipsRequest
- func (*ReadRelationshipsRequest) Descriptor() ([]byte, []int)deprecated
- func (this *ReadRelationshipsRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ReadRelationshipsRequest) EqualVT(that *ReadRelationshipsRequest) bool
- func (x *ReadRelationshipsRequest) GetConsistency() *Consistency
- func (x *ReadRelationshipsRequest) GetOptionalCursor() *Cursor
- func (x *ReadRelationshipsRequest) GetOptionalLimit() uint32
- func (x *ReadRelationshipsRequest) GetRelationshipFilter() *RelationshipFilter
- func (m *ReadRelationshipsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReadRelationshipsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReadRelationshipsRequest) MarshalVT() (dAtA []byte, err error)
- func (*ReadRelationshipsRequest) ProtoMessage()
- func (x *ReadRelationshipsRequest) ProtoReflect() protoreflect.Message
- func (x *ReadRelationshipsRequest) Reset()
- func (m *ReadRelationshipsRequest) SizeVT() (n int)
- func (x *ReadRelationshipsRequest) String() string
- func (m *ReadRelationshipsRequest) UnmarshalVT(dAtA []byte) error
- func (m *ReadRelationshipsRequest) Validate() error
- func (m *ReadRelationshipsRequest) ValidateAll() error
- type ReadRelationshipsRequestMultiError
- type ReadRelationshipsRequestValidationError
- func (e ReadRelationshipsRequestValidationError) Cause() error
- func (e ReadRelationshipsRequestValidationError) Error() string
- func (e ReadRelationshipsRequestValidationError) ErrorName() string
- func (e ReadRelationshipsRequestValidationError) Field() string
- func (e ReadRelationshipsRequestValidationError) Key() bool
- func (e ReadRelationshipsRequestValidationError) Reason() string
- type ReadRelationshipsResponse
- func (m *ReadRelationshipsResponse) CloneMessageVT() proto.Message
- func (m *ReadRelationshipsResponse) CloneVT() *ReadRelationshipsResponse
- func (*ReadRelationshipsResponse) Descriptor() ([]byte, []int)deprecated
- func (this *ReadRelationshipsResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ReadRelationshipsResponse) EqualVT(that *ReadRelationshipsResponse) bool
- func (x *ReadRelationshipsResponse) GetAfterResultCursor() *Cursor
- func (x *ReadRelationshipsResponse) GetReadAt() *ZedToken
- func (x *ReadRelationshipsResponse) GetRelationship() *Relationship
- func (m *ReadRelationshipsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReadRelationshipsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReadRelationshipsResponse) MarshalVT() (dAtA []byte, err error)
- func (*ReadRelationshipsResponse) ProtoMessage()
- func (x *ReadRelationshipsResponse) ProtoReflect() protoreflect.Message
- func (x *ReadRelationshipsResponse) Reset()
- func (m *ReadRelationshipsResponse) SizeVT() (n int)
- func (x *ReadRelationshipsResponse) String() string
- func (m *ReadRelationshipsResponse) UnmarshalVT(dAtA []byte) error
- func (m *ReadRelationshipsResponse) Validate() error
- func (m *ReadRelationshipsResponse) ValidateAll() error
- type ReadRelationshipsResponseMultiError
- type ReadRelationshipsResponseValidationError
- func (e ReadRelationshipsResponseValidationError) Cause() error
- func (e ReadRelationshipsResponseValidationError) Error() string
- func (e ReadRelationshipsResponseValidationError) ErrorName() string
- func (e ReadRelationshipsResponseValidationError) Field() string
- func (e ReadRelationshipsResponseValidationError) Key() bool
- func (e ReadRelationshipsResponseValidationError) Reason() string
- type ReadSchemaRequest
- func (m *ReadSchemaRequest) CloneMessageVT() proto.Message
- func (m *ReadSchemaRequest) CloneVT() *ReadSchemaRequest
- func (*ReadSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (this *ReadSchemaRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ReadSchemaRequest) EqualVT(that *ReadSchemaRequest) bool
- func (m *ReadSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReadSchemaRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReadSchemaRequest) MarshalVT() (dAtA []byte, err error)
- func (*ReadSchemaRequest) ProtoMessage()
- func (x *ReadSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *ReadSchemaRequest) Reset()
- func (m *ReadSchemaRequest) SizeVT() (n int)
- func (x *ReadSchemaRequest) String() string
- func (m *ReadSchemaRequest) UnmarshalVT(dAtA []byte) error
- func (m *ReadSchemaRequest) Validate() error
- func (m *ReadSchemaRequest) ValidateAll() error
- type ReadSchemaRequestMultiError
- type ReadSchemaRequestValidationError
- func (e ReadSchemaRequestValidationError) Cause() error
- func (e ReadSchemaRequestValidationError) Error() string
- func (e ReadSchemaRequestValidationError) ErrorName() string
- func (e ReadSchemaRequestValidationError) Field() string
- func (e ReadSchemaRequestValidationError) Key() bool
- func (e ReadSchemaRequestValidationError) Reason() string
- type ReadSchemaResponse
- func (m *ReadSchemaResponse) CloneMessageVT() proto.Message
- func (m *ReadSchemaResponse) CloneVT() *ReadSchemaResponse
- func (*ReadSchemaResponse) Descriptor() ([]byte, []int)deprecated
- func (this *ReadSchemaResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ReadSchemaResponse) EqualVT(that *ReadSchemaResponse) bool
- func (x *ReadSchemaResponse) GetReadAt() *ZedToken
- func (x *ReadSchemaResponse) GetSchemaText() string
- func (m *ReadSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReadSchemaResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReadSchemaResponse) MarshalVT() (dAtA []byte, err error)
- func (*ReadSchemaResponse) ProtoMessage()
- func (x *ReadSchemaResponse) ProtoReflect() protoreflect.Message
- func (x *ReadSchemaResponse) Reset()
- func (m *ReadSchemaResponse) SizeVT() (n int)
- func (x *ReadSchemaResponse) String() string
- func (m *ReadSchemaResponse) UnmarshalVT(dAtA []byte) error
- func (m *ReadSchemaResponse) Validate() error
- func (m *ReadSchemaResponse) ValidateAll() error
- type ReadSchemaResponseMultiError
- type ReadSchemaResponseValidationError
- func (e ReadSchemaResponseValidationError) Cause() error
- func (e ReadSchemaResponseValidationError) Error() string
- func (e ReadSchemaResponseValidationError) ErrorName() string
- func (e ReadSchemaResponseValidationError) Field() string
- func (e ReadSchemaResponseValidationError) Key() bool
- func (e ReadSchemaResponseValidationError) Reason() string
- type Relationship
- func (m *Relationship) CloneMessageVT() proto.Message
- func (m *Relationship) CloneVT() *Relationship
- func (*Relationship) Descriptor() ([]byte, []int)deprecated
- func (this *Relationship) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Relationship) EqualVT(that *Relationship) bool
- func (x *Relationship) GetOptionalCaveat() *ContextualizedCaveat
- func (x *Relationship) GetRelation() string
- func (x *Relationship) GetResource() *ObjectReference
- func (x *Relationship) GetSubject() *SubjectReference
- func (m *Relationship) HandwrittenValidate() error
- func (m *Relationship) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Relationship) MarshalToVT(dAtA []byte) (int, error)
- func (m *Relationship) MarshalVT() (dAtA []byte, err error)
- func (*Relationship) ProtoMessage()
- func (x *Relationship) ProtoReflect() protoreflect.Message
- func (x *Relationship) Reset()
- func (m *Relationship) SizeVT() (n int)
- func (x *Relationship) String() string
- func (m *Relationship) UnmarshalVT(dAtA []byte) error
- func (m *Relationship) Validate() error
- func (m *Relationship) ValidateAll() error
- type RelationshipFilter
- func (m *RelationshipFilter) CloneMessageVT() proto.Message
- func (m *RelationshipFilter) CloneVT() *RelationshipFilter
- func (*RelationshipFilter) Descriptor() ([]byte, []int)deprecated
- func (this *RelationshipFilter) EqualMessageVT(thatMsg proto.Message) bool
- func (this *RelationshipFilter) EqualVT(that *RelationshipFilter) bool
- func (x *RelationshipFilter) GetOptionalRelation() string
- func (x *RelationshipFilter) GetOptionalResourceId() string
- func (x *RelationshipFilter) GetOptionalResourceIdPrefix() string
- func (x *RelationshipFilter) GetOptionalSubjectFilter() *SubjectFilter
- func (x *RelationshipFilter) GetResourceType() string
- func (m *RelationshipFilter) HandwrittenValidate() error
- func (m *RelationshipFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationshipFilter) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationshipFilter) MarshalVT() (dAtA []byte, err error)
- func (*RelationshipFilter) ProtoMessage()
- func (x *RelationshipFilter) ProtoReflect() protoreflect.Message
- func (x *RelationshipFilter) Reset()
- func (m *RelationshipFilter) SizeVT() (n int)
- func (x *RelationshipFilter) String() string
- func (m *RelationshipFilter) UnmarshalVT(dAtA []byte) error
- func (m *RelationshipFilter) Validate() error
- func (m *RelationshipFilter) ValidateAll() error
- type RelationshipFilterMultiError
- type RelationshipFilterValidationError
- func (e RelationshipFilterValidationError) Cause() error
- func (e RelationshipFilterValidationError) Error() string
- func (e RelationshipFilterValidationError) ErrorName() string
- func (e RelationshipFilterValidationError) Field() string
- func (e RelationshipFilterValidationError) Key() bool
- func (e RelationshipFilterValidationError) Reason() string
- type RelationshipMultiError
- type RelationshipUpdate
- func (m *RelationshipUpdate) CloneMessageVT() proto.Message
- func (m *RelationshipUpdate) CloneVT() *RelationshipUpdate
- func (*RelationshipUpdate) Descriptor() ([]byte, []int)deprecated
- func (this *RelationshipUpdate) EqualMessageVT(thatMsg proto.Message) bool
- func (this *RelationshipUpdate) EqualVT(that *RelationshipUpdate) bool
- func (x *RelationshipUpdate) GetOperation() RelationshipUpdate_Operation
- func (x *RelationshipUpdate) GetRelationship() *Relationship
- func (m *RelationshipUpdate) HandwrittenValidate() error
- func (m *RelationshipUpdate) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RelationshipUpdate) MarshalToVT(dAtA []byte) (int, error)
- func (m *RelationshipUpdate) MarshalVT() (dAtA []byte, err error)
- func (*RelationshipUpdate) ProtoMessage()
- func (x *RelationshipUpdate) ProtoReflect() protoreflect.Message
- func (x *RelationshipUpdate) Reset()
- func (m *RelationshipUpdate) SizeVT() (n int)
- func (x *RelationshipUpdate) String() string
- func (m *RelationshipUpdate) UnmarshalVT(dAtA []byte) error
- func (m *RelationshipUpdate) Validate() error
- func (m *RelationshipUpdate) ValidateAll() error
- type RelationshipUpdateMultiError
- type RelationshipUpdateValidationError
- func (e RelationshipUpdateValidationError) Cause() error
- func (e RelationshipUpdateValidationError) Error() string
- func (e RelationshipUpdateValidationError) ErrorName() string
- func (e RelationshipUpdateValidationError) Field() string
- func (e RelationshipUpdateValidationError) Key() bool
- func (e RelationshipUpdateValidationError) Reason() string
- type RelationshipUpdate_Operation
- func (RelationshipUpdate_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x RelationshipUpdate_Operation) Enum() *RelationshipUpdate_Operation
- func (RelationshipUpdate_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x RelationshipUpdate_Operation) Number() protoreflect.EnumNumber
- func (x RelationshipUpdate_Operation) String() string
- func (RelationshipUpdate_Operation) Type() protoreflect.EnumType
- type RelationshipValidationError
- func (e RelationshipValidationError) Cause() error
- func (e RelationshipValidationError) Error() string
- func (e RelationshipValidationError) ErrorName() string
- func (e RelationshipValidationError) Field() string
- func (e RelationshipValidationError) Key() bool
- func (e RelationshipValidationError) Reason() string
- type ResolvedSubject
- func (m *ResolvedSubject) CloneMessageVT() proto.Message
- func (m *ResolvedSubject) CloneVT() *ResolvedSubject
- func (*ResolvedSubject) Descriptor() ([]byte, []int)deprecated
- func (this *ResolvedSubject) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ResolvedSubject) EqualVT(that *ResolvedSubject) bool
- func (x *ResolvedSubject) GetPartialCaveatInfo() *PartialCaveatInfo
- func (x *ResolvedSubject) GetPermissionship() LookupPermissionship
- func (x *ResolvedSubject) GetSubjectObjectId() string
- func (m *ResolvedSubject) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ResolvedSubject) MarshalToVT(dAtA []byte) (int, error)
- func (m *ResolvedSubject) MarshalVT() (dAtA []byte, err error)
- func (*ResolvedSubject) ProtoMessage()
- func (x *ResolvedSubject) ProtoReflect() protoreflect.Message
- func (x *ResolvedSubject) Reset()
- func (m *ResolvedSubject) SizeVT() (n int)
- func (x *ResolvedSubject) String() string
- func (m *ResolvedSubject) UnmarshalVT(dAtA []byte) error
- func (m *ResolvedSubject) Validate() error
- func (m *ResolvedSubject) ValidateAll() error
- type ResolvedSubjectMultiError
- type ResolvedSubjectValidationError
- func (e ResolvedSubjectValidationError) Cause() error
- func (e ResolvedSubjectValidationError) Error() string
- func (e ResolvedSubjectValidationError) ErrorName() string
- func (e ResolvedSubjectValidationError) Field() string
- func (e ResolvedSubjectValidationError) Key() bool
- func (e ResolvedSubjectValidationError) Reason() string
- type SchemaServiceClient
- type SchemaServiceServer
- type SubjectFilter
- func (m *SubjectFilter) CloneMessageVT() proto.Message
- func (m *SubjectFilter) CloneVT() *SubjectFilter
- func (*SubjectFilter) Descriptor() ([]byte, []int)deprecated
- func (this *SubjectFilter) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SubjectFilter) EqualVT(that *SubjectFilter) bool
- func (x *SubjectFilter) GetOptionalRelation() *SubjectFilter_RelationFilter
- func (x *SubjectFilter) GetOptionalSubjectId() string
- func (x *SubjectFilter) GetSubjectType() string
- func (m *SubjectFilter) HandwrittenValidate() error
- func (m *SubjectFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SubjectFilter) MarshalToVT(dAtA []byte) (int, error)
- func (m *SubjectFilter) MarshalVT() (dAtA []byte, err error)
- func (*SubjectFilter) ProtoMessage()
- func (x *SubjectFilter) ProtoReflect() protoreflect.Message
- func (x *SubjectFilter) Reset()
- func (m *SubjectFilter) SizeVT() (n int)
- func (x *SubjectFilter) String() string
- func (m *SubjectFilter) UnmarshalVT(dAtA []byte) error
- func (m *SubjectFilter) Validate() error
- func (m *SubjectFilter) ValidateAll() error
- type SubjectFilterMultiError
- type SubjectFilterValidationError
- func (e SubjectFilterValidationError) Cause() error
- func (e SubjectFilterValidationError) Error() string
- func (e SubjectFilterValidationError) ErrorName() string
- func (e SubjectFilterValidationError) Field() string
- func (e SubjectFilterValidationError) Key() bool
- func (e SubjectFilterValidationError) Reason() string
- type SubjectFilter_RelationFilter
- func (m *SubjectFilter_RelationFilter) CloneMessageVT() proto.Message
- func (m *SubjectFilter_RelationFilter) CloneVT() *SubjectFilter_RelationFilter
- func (*SubjectFilter_RelationFilter) Descriptor() ([]byte, []int)deprecated
- func (this *SubjectFilter_RelationFilter) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SubjectFilter_RelationFilter) EqualVT(that *SubjectFilter_RelationFilter) bool
- func (x *SubjectFilter_RelationFilter) GetRelation() string
- func (m *SubjectFilter_RelationFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SubjectFilter_RelationFilter) MarshalToVT(dAtA []byte) (int, error)
- func (m *SubjectFilter_RelationFilter) MarshalVT() (dAtA []byte, err error)
- func (*SubjectFilter_RelationFilter) ProtoMessage()
- func (x *SubjectFilter_RelationFilter) ProtoReflect() protoreflect.Message
- func (x *SubjectFilter_RelationFilter) Reset()
- func (m *SubjectFilter_RelationFilter) SizeVT() (n int)
- func (x *SubjectFilter_RelationFilter) String() string
- func (m *SubjectFilter_RelationFilter) UnmarshalVT(dAtA []byte) error
- func (m *SubjectFilter_RelationFilter) Validate() error
- func (m *SubjectFilter_RelationFilter) ValidateAll() error
- type SubjectFilter_RelationFilterMultiError
- type SubjectFilter_RelationFilterValidationError
- func (e SubjectFilter_RelationFilterValidationError) Cause() error
- func (e SubjectFilter_RelationFilterValidationError) Error() string
- func (e SubjectFilter_RelationFilterValidationError) ErrorName() string
- func (e SubjectFilter_RelationFilterValidationError) Field() string
- func (e SubjectFilter_RelationFilterValidationError) Key() bool
- func (e SubjectFilter_RelationFilterValidationError) Reason() string
- type SubjectReference
- func (m *SubjectReference) CloneMessageVT() proto.Message
- func (m *SubjectReference) CloneVT() *SubjectReference
- func (*SubjectReference) Descriptor() ([]byte, []int)deprecated
- func (this *SubjectReference) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SubjectReference) EqualVT(that *SubjectReference) bool
- func (x *SubjectReference) GetObject() *ObjectReference
- func (x *SubjectReference) GetOptionalRelation() string
- func (m *SubjectReference) HandwrittenValidate() error
- func (m *SubjectReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SubjectReference) MarshalToVT(dAtA []byte) (int, error)
- func (m *SubjectReference) MarshalVT() (dAtA []byte, err error)
- func (*SubjectReference) ProtoMessage()
- func (x *SubjectReference) ProtoReflect() protoreflect.Message
- func (x *SubjectReference) Reset()
- func (m *SubjectReference) SizeVT() (n int)
- func (x *SubjectReference) String() string
- func (m *SubjectReference) UnmarshalVT(dAtA []byte) error
- func (m *SubjectReference) Validate() error
- func (m *SubjectReference) ValidateAll() error
- type SubjectReferenceMultiError
- type SubjectReferenceValidationError
- func (e SubjectReferenceValidationError) Cause() error
- func (e SubjectReferenceValidationError) Error() string
- func (e SubjectReferenceValidationError) ErrorName() string
- func (e SubjectReferenceValidationError) Field() string
- func (e SubjectReferenceValidationError) Key() bool
- func (e SubjectReferenceValidationError) Reason() string
- type UnimplementedExperimentalServiceServer
- func (UnimplementedExperimentalServiceServer) BulkCheckPermission(context.Context, *BulkCheckPermissionRequest) (*BulkCheckPermissionResponse, error)
- func (UnimplementedExperimentalServiceServer) BulkExportRelationships(*BulkExportRelationshipsRequest, ...) error
- func (UnimplementedExperimentalServiceServer) BulkImportRelationships(ExperimentalService_BulkImportRelationshipsServer) error
- type UnimplementedPermissionsServiceServer
- func (UnimplementedPermissionsServiceServer) CheckBulkPermissions(context.Context, *CheckBulkPermissionsRequest) (*CheckBulkPermissionsResponse, error)
- func (UnimplementedPermissionsServiceServer) CheckPermission(context.Context, *CheckPermissionRequest) (*CheckPermissionResponse, error)
- func (UnimplementedPermissionsServiceServer) DeleteRelationships(context.Context, *DeleteRelationshipsRequest) (*DeleteRelationshipsResponse, error)
- func (UnimplementedPermissionsServiceServer) ExpandPermissionTree(context.Context, *ExpandPermissionTreeRequest) (*ExpandPermissionTreeResponse, error)
- func (UnimplementedPermissionsServiceServer) LookupResources(*LookupResourcesRequest, PermissionsService_LookupResourcesServer) error
- func (UnimplementedPermissionsServiceServer) LookupSubjects(*LookupSubjectsRequest, PermissionsService_LookupSubjectsServer) error
- func (UnimplementedPermissionsServiceServer) ReadRelationships(*ReadRelationshipsRequest, PermissionsService_ReadRelationshipsServer) error
- func (UnimplementedPermissionsServiceServer) WriteRelationships(context.Context, *WriteRelationshipsRequest) (*WriteRelationshipsResponse, error)
- type UnimplementedSchemaServiceServer
- type UnimplementedWatchServiceServer
- type UnsafeExperimentalServiceServer
- type UnsafePermissionsServiceServer
- type UnsafeSchemaServiceServer
- type UnsafeWatchServiceServer
- type WatchRequest
- func (m *WatchRequest) CloneMessageVT() proto.Message
- func (m *WatchRequest) CloneVT() *WatchRequest
- func (*WatchRequest) Descriptor() ([]byte, []int)deprecated
- func (this *WatchRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *WatchRequest) EqualVT(that *WatchRequest) bool
- func (x *WatchRequest) GetOptionalObjectTypes() []string
- func (x *WatchRequest) GetOptionalRelationshipFilters() []*RelationshipFilter
- func (x *WatchRequest) GetOptionalStartCursor() *ZedToken
- func (m *WatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WatchRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *WatchRequest) MarshalVT() (dAtA []byte, err error)
- func (*WatchRequest) ProtoMessage()
- func (x *WatchRequest) ProtoReflect() protoreflect.Message
- func (x *WatchRequest) Reset()
- func (m *WatchRequest) SizeVT() (n int)
- func (x *WatchRequest) String() string
- func (m *WatchRequest) UnmarshalVT(dAtA []byte) error
- func (m *WatchRequest) Validate() error
- func (m *WatchRequest) ValidateAll() error
- type WatchRequestMultiError
- type WatchRequestValidationError
- func (e WatchRequestValidationError) Cause() error
- func (e WatchRequestValidationError) Error() string
- func (e WatchRequestValidationError) ErrorName() string
- func (e WatchRequestValidationError) Field() string
- func (e WatchRequestValidationError) Key() bool
- func (e WatchRequestValidationError) Reason() string
- type WatchResponse
- func (m *WatchResponse) CloneMessageVT() proto.Message
- func (m *WatchResponse) CloneVT() *WatchResponse
- func (*WatchResponse) Descriptor() ([]byte, []int)deprecated
- func (this *WatchResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *WatchResponse) EqualVT(that *WatchResponse) bool
- func (x *WatchResponse) GetChangesThrough() *ZedToken
- func (x *WatchResponse) GetUpdates() []*RelationshipUpdate
- func (m *WatchResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WatchResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *WatchResponse) MarshalVT() (dAtA []byte, err error)
- func (*WatchResponse) ProtoMessage()
- func (x *WatchResponse) ProtoReflect() protoreflect.Message
- func (x *WatchResponse) Reset()
- func (m *WatchResponse) SizeVT() (n int)
- func (x *WatchResponse) String() string
- func (m *WatchResponse) UnmarshalVT(dAtA []byte) error
- func (m *WatchResponse) Validate() error
- func (m *WatchResponse) ValidateAll() error
- type WatchResponseMultiError
- type WatchResponseValidationError
- func (e WatchResponseValidationError) Cause() error
- func (e WatchResponseValidationError) Error() string
- func (e WatchResponseValidationError) ErrorName() string
- func (e WatchResponseValidationError) Field() string
- func (e WatchResponseValidationError) Key() bool
- func (e WatchResponseValidationError) Reason() string
- type WatchServiceClient
- type WatchServiceServer
- type WatchService_WatchClient
- type WatchService_WatchServer
- type WriteRelationshipsRequest
- func (m *WriteRelationshipsRequest) CloneMessageVT() proto.Message
- func (m *WriteRelationshipsRequest) CloneVT() *WriteRelationshipsRequest
- func (*WriteRelationshipsRequest) Descriptor() ([]byte, []int)deprecated
- func (this *WriteRelationshipsRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *WriteRelationshipsRequest) EqualVT(that *WriteRelationshipsRequest) bool
- func (x *WriteRelationshipsRequest) GetOptionalPreconditions() []*Precondition
- func (x *WriteRelationshipsRequest) GetUpdates() []*RelationshipUpdate
- func (m *WriteRelationshipsRequest) HandwrittenValidate() error
- func (m *WriteRelationshipsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WriteRelationshipsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *WriteRelationshipsRequest) MarshalVT() (dAtA []byte, err error)
- func (*WriteRelationshipsRequest) ProtoMessage()
- func (x *WriteRelationshipsRequest) ProtoReflect() protoreflect.Message
- func (x *WriteRelationshipsRequest) Reset()
- func (m *WriteRelationshipsRequest) SizeVT() (n int)
- func (x *WriteRelationshipsRequest) String() string
- func (m *WriteRelationshipsRequest) UnmarshalVT(dAtA []byte) error
- func (m *WriteRelationshipsRequest) Validate() error
- func (m *WriteRelationshipsRequest) ValidateAll() error
- type WriteRelationshipsRequestMultiError
- type WriteRelationshipsRequestValidationError
- func (e WriteRelationshipsRequestValidationError) Cause() error
- func (e WriteRelationshipsRequestValidationError) Error() string
- func (e WriteRelationshipsRequestValidationError) ErrorName() string
- func (e WriteRelationshipsRequestValidationError) Field() string
- func (e WriteRelationshipsRequestValidationError) Key() bool
- func (e WriteRelationshipsRequestValidationError) Reason() string
- type WriteRelationshipsResponse
- func (m *WriteRelationshipsResponse) CloneMessageVT() proto.Message
- func (m *WriteRelationshipsResponse) CloneVT() *WriteRelationshipsResponse
- func (*WriteRelationshipsResponse) Descriptor() ([]byte, []int)deprecated
- func (this *WriteRelationshipsResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *WriteRelationshipsResponse) EqualVT(that *WriteRelationshipsResponse) bool
- func (x *WriteRelationshipsResponse) GetWrittenAt() *ZedToken
- func (m *WriteRelationshipsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WriteRelationshipsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *WriteRelationshipsResponse) MarshalVT() (dAtA []byte, err error)
- func (*WriteRelationshipsResponse) ProtoMessage()
- func (x *WriteRelationshipsResponse) ProtoReflect() protoreflect.Message
- func (x *WriteRelationshipsResponse) Reset()
- func (m *WriteRelationshipsResponse) SizeVT() (n int)
- func (x *WriteRelationshipsResponse) String() string
- func (m *WriteRelationshipsResponse) UnmarshalVT(dAtA []byte) error
- func (m *WriteRelationshipsResponse) Validate() error
- func (m *WriteRelationshipsResponse) ValidateAll() error
- type WriteRelationshipsResponseMultiError
- type WriteRelationshipsResponseValidationError
- func (e WriteRelationshipsResponseValidationError) Cause() error
- func (e WriteRelationshipsResponseValidationError) Error() string
- func (e WriteRelationshipsResponseValidationError) ErrorName() string
- func (e WriteRelationshipsResponseValidationError) Field() string
- func (e WriteRelationshipsResponseValidationError) Key() bool
- func (e WriteRelationshipsResponseValidationError) Reason() string
- type WriteSchemaRequest
- func (m *WriteSchemaRequest) CloneMessageVT() proto.Message
- func (m *WriteSchemaRequest) CloneVT() *WriteSchemaRequest
- func (*WriteSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (this *WriteSchemaRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *WriteSchemaRequest) EqualVT(that *WriteSchemaRequest) bool
- func (x *WriteSchemaRequest) GetSchema() string
- func (m *WriteSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WriteSchemaRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *WriteSchemaRequest) MarshalVT() (dAtA []byte, err error)
- func (*WriteSchemaRequest) ProtoMessage()
- func (x *WriteSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *WriteSchemaRequest) Reset()
- func (m *WriteSchemaRequest) SizeVT() (n int)
- func (x *WriteSchemaRequest) String() string
- func (m *WriteSchemaRequest) UnmarshalVT(dAtA []byte) error
- func (m *WriteSchemaRequest) Validate() error
- func (m *WriteSchemaRequest) ValidateAll() error
- type WriteSchemaRequestMultiError
- type WriteSchemaRequestValidationError
- func (e WriteSchemaRequestValidationError) Cause() error
- func (e WriteSchemaRequestValidationError) Error() string
- func (e WriteSchemaRequestValidationError) ErrorName() string
- func (e WriteSchemaRequestValidationError) Field() string
- func (e WriteSchemaRequestValidationError) Key() bool
- func (e WriteSchemaRequestValidationError) Reason() string
- type WriteSchemaResponse
- func (m *WriteSchemaResponse) CloneMessageVT() proto.Message
- func (m *WriteSchemaResponse) CloneVT() *WriteSchemaResponse
- func (*WriteSchemaResponse) Descriptor() ([]byte, []int)deprecated
- func (this *WriteSchemaResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *WriteSchemaResponse) EqualVT(that *WriteSchemaResponse) bool
- func (x *WriteSchemaResponse) GetWrittenAt() *ZedToken
- func (m *WriteSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WriteSchemaResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *WriteSchemaResponse) MarshalVT() (dAtA []byte, err error)
- func (*WriteSchemaResponse) ProtoMessage()
- func (x *WriteSchemaResponse) ProtoReflect() protoreflect.Message
- func (x *WriteSchemaResponse) Reset()
- func (m *WriteSchemaResponse) SizeVT() (n int)
- func (x *WriteSchemaResponse) String() string
- func (m *WriteSchemaResponse) UnmarshalVT(dAtA []byte) error
- func (m *WriteSchemaResponse) Validate() error
- func (m *WriteSchemaResponse) ValidateAll() error
- type WriteSchemaResponseMultiError
- type WriteSchemaResponseValidationError
- func (e WriteSchemaResponseValidationError) Cause() error
- func (e WriteSchemaResponseValidationError) Error() string
- func (e WriteSchemaResponseValidationError) ErrorName() string
- func (e WriteSchemaResponseValidationError) Field() string
- func (e WriteSchemaResponseValidationError) Key() bool
- func (e WriteSchemaResponseValidationError) Reason() string
- type ZedToken
- func (m *ZedToken) CloneMessageVT() proto.Message
- func (m *ZedToken) CloneVT() *ZedToken
- func (*ZedToken) Descriptor() ([]byte, []int)deprecated
- func (this *ZedToken) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ZedToken) EqualVT(that *ZedToken) bool
- func (x *ZedToken) GetToken() string
- func (m *ZedToken) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ZedToken) MarshalToVT(dAtA []byte) (int, error)
- func (m *ZedToken) MarshalVT() (dAtA []byte, err error)
- func (*ZedToken) ProtoMessage()
- func (x *ZedToken) ProtoReflect() protoreflect.Message
- func (x *ZedToken) Reset()
- func (m *ZedToken) SizeVT() (n int)
- func (x *ZedToken) String() string
- func (m *ZedToken) UnmarshalVT(dAtA []byte) error
- func (m *ZedToken) Validate() error
- func (m *ZedToken) ValidateAll() error
- type ZedTokenMultiError
- type ZedTokenValidationError
Constants ¶
const ( ExperimentalService_BulkImportRelationships_FullMethodName = "/authzed.api.v1.ExperimentalService/BulkImportRelationships" ExperimentalService_BulkExportRelationships_FullMethodName = "/authzed.api.v1.ExperimentalService/BulkExportRelationships" ExperimentalService_BulkCheckPermission_FullMethodName = "/authzed.api.v1.ExperimentalService/BulkCheckPermission" )
const ( PermissionsService_ReadRelationships_FullMethodName = "/authzed.api.v1.PermissionsService/ReadRelationships" PermissionsService_WriteRelationships_FullMethodName = "/authzed.api.v1.PermissionsService/WriteRelationships" PermissionsService_DeleteRelationships_FullMethodName = "/authzed.api.v1.PermissionsService/DeleteRelationships" PermissionsService_CheckPermission_FullMethodName = "/authzed.api.v1.PermissionsService/CheckPermission" PermissionsService_CheckBulkPermissions_FullMethodName = "/authzed.api.v1.PermissionsService/CheckBulkPermissions" PermissionsService_ExpandPermissionTree_FullMethodName = "/authzed.api.v1.PermissionsService/ExpandPermissionTree" PermissionsService_LookupResources_FullMethodName = "/authzed.api.v1.PermissionsService/LookupResources" PermissionsService_LookupSubjects_FullMethodName = "/authzed.api.v1.PermissionsService/LookupSubjects" )
const ( SchemaService_ReadSchema_FullMethodName = "/authzed.api.v1.SchemaService/ReadSchema" SchemaService_WriteSchema_FullMethodName = "/authzed.api.v1.SchemaService/WriteSchema" )
const ( BufRepository = "buf.build/authzed/api" BufTag = "9ba37ce98f37c5eeab64983a52fcc4a4910bc92f" )
const (
WatchService_Watch_FullMethodName = "/authzed.api.v1.WatchService/Watch"
)
Variables ¶
var ( RelationshipUpdate_Operation_name = map[int32]string{ 0: "OPERATION_UNSPECIFIED", 1: "OPERATION_CREATE", 2: "OPERATION_TOUCH", 3: "OPERATION_DELETE", } RelationshipUpdate_Operation_value = map[string]int32{ "OPERATION_UNSPECIFIED": 0, "OPERATION_CREATE": 1, "OPERATION_TOUCH": 2, "OPERATION_DELETE": 3, } )
Enum value maps for RelationshipUpdate_Operation.
var ( AlgebraicSubjectSet_Operation_name = map[int32]string{ 0: "OPERATION_UNSPECIFIED", 1: "OPERATION_UNION", 2: "OPERATION_INTERSECTION", 3: "OPERATION_EXCLUSION", } AlgebraicSubjectSet_Operation_value = map[string]int32{ "OPERATION_UNSPECIFIED": 0, "OPERATION_UNION": 1, "OPERATION_INTERSECTION": 2, "OPERATION_EXCLUSION": 3, } )
Enum value maps for AlgebraicSubjectSet_Operation.
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var ( CheckDebugTrace_PermissionType_name = map[int32]string{ 0: "PERMISSION_TYPE_UNSPECIFIED", 1: "PERMISSION_TYPE_RELATION", 2: "PERMISSION_TYPE_PERMISSION", } CheckDebugTrace_PermissionType_value = map[string]int32{ "PERMISSION_TYPE_UNSPECIFIED": 0, "PERMISSION_TYPE_RELATION": 1, "PERMISSION_TYPE_PERMISSION": 2, } )
Enum value maps for CheckDebugTrace_PermissionType.
var ( CheckDebugTrace_Permissionship_name = map[int32]string{ 0: "PERMISSIONSHIP_UNSPECIFIED", 1: "PERMISSIONSHIP_NO_PERMISSION", 2: "PERMISSIONSHIP_HAS_PERMISSION", 3: "PERMISSIONSHIP_CONDITIONAL_PERMISSION", } CheckDebugTrace_Permissionship_value = map[string]int32{ "PERMISSIONSHIP_UNSPECIFIED": 0, "PERMISSIONSHIP_NO_PERMISSION": 1, "PERMISSIONSHIP_HAS_PERMISSION": 2, "PERMISSIONSHIP_CONDITIONAL_PERMISSION": 3, } )
Enum value maps for CheckDebugTrace_Permissionship.
var ( CaveatEvalInfo_Result_name = map[int32]string{ 0: "RESULT_UNSPECIFIED", 1: "RESULT_UNEVALUATED", 2: "RESULT_FALSE", 3: "RESULT_TRUE", 4: "RESULT_MISSING_SOME_CONTEXT", } CaveatEvalInfo_Result_value = map[string]int32{ "RESULT_UNSPECIFIED": 0, "RESULT_UNEVALUATED": 1, "RESULT_FALSE": 2, "RESULT_TRUE": 3, "RESULT_MISSING_SOME_CONTEXT": 4, } )
Enum value maps for CaveatEvalInfo_Result.
var ( ErrorReason_name = map[int32]string{ 0: "ERROR_REASON_UNSPECIFIED", 1: "ERROR_REASON_SCHEMA_PARSE_ERROR", 2: "ERROR_REASON_SCHEMA_TYPE_ERROR", 3: "ERROR_REASON_UNKNOWN_DEFINITION", 4: "ERROR_REASON_UNKNOWN_RELATION_OR_PERMISSION", 5: "ERROR_REASON_TOO_MANY_UPDATES_IN_REQUEST", 6: "ERROR_REASON_TOO_MANY_PRECONDITIONS_IN_REQUEST", 7: "ERROR_REASON_WRITE_OR_DELETE_PRECONDITION_FAILURE", 8: "ERROR_REASON_SERVICE_READ_ONLY", 9: "ERROR_REASON_UNKNOWN_CAVEAT", 10: "ERROR_REASON_INVALID_SUBJECT_TYPE", 11: "ERROR_REASON_CAVEAT_PARAMETER_TYPE_ERROR", 12: "ERROR_REASON_UPDATES_ON_SAME_RELATIONSHIP", 13: "ERROR_REASON_CANNOT_UPDATE_PERMISSION", 14: "ERROR_REASON_CAVEAT_EVALUATION_ERROR", 15: "ERROR_REASON_INVALID_CURSOR", 16: "ERROR_REASON_TOO_MANY_RELATIONSHIPS_FOR_TRANSACTIONAL_DELETE", 17: "ERROR_REASON_MAX_RELATIONSHIP_CONTEXT_SIZE", 18: "ERROR_REASON_ATTEMPT_TO_RECREATE_RELATIONSHIP", 19: "ERROR_REASON_MAXIMUM_DEPTH_EXCEEDED", 20: "ERROR_REASON_SERIALIZATION_FAILURE", 21: "ERROR_REASON_TOO_MANY_CHECKS_IN_REQUEST", } ErrorReason_value = map[string]int32{ "ERROR_REASON_UNSPECIFIED": 0, "ERROR_REASON_SCHEMA_PARSE_ERROR": 1, "ERROR_REASON_SCHEMA_TYPE_ERROR": 2, "ERROR_REASON_UNKNOWN_DEFINITION": 3, "ERROR_REASON_UNKNOWN_RELATION_OR_PERMISSION": 4, "ERROR_REASON_TOO_MANY_UPDATES_IN_REQUEST": 5, "ERROR_REASON_TOO_MANY_PRECONDITIONS_IN_REQUEST": 6, "ERROR_REASON_WRITE_OR_DELETE_PRECONDITION_FAILURE": 7, "ERROR_REASON_SERVICE_READ_ONLY": 8, "ERROR_REASON_UNKNOWN_CAVEAT": 9, "ERROR_REASON_INVALID_SUBJECT_TYPE": 10, "ERROR_REASON_CAVEAT_PARAMETER_TYPE_ERROR": 11, "ERROR_REASON_UPDATES_ON_SAME_RELATIONSHIP": 12, "ERROR_REASON_CANNOT_UPDATE_PERMISSION": 13, "ERROR_REASON_CAVEAT_EVALUATION_ERROR": 14, "ERROR_REASON_INVALID_CURSOR": 15, "ERROR_REASON_TOO_MANY_RELATIONSHIPS_FOR_TRANSACTIONAL_DELETE": 16, "ERROR_REASON_MAX_RELATIONSHIP_CONTEXT_SIZE": 17, "ERROR_REASON_ATTEMPT_TO_RECREATE_RELATIONSHIP": 18, "ERROR_REASON_MAXIMUM_DEPTH_EXCEEDED": 19, "ERROR_REASON_SERIALIZATION_FAILURE": 20, "ERROR_REASON_TOO_MANY_CHECKS_IN_REQUEST": 21, } )
Enum value maps for ErrorReason.
var ( LookupPermissionship_name = map[int32]string{ 0: "LOOKUP_PERMISSIONSHIP_UNSPECIFIED", 1: "LOOKUP_PERMISSIONSHIP_HAS_PERMISSION", 2: "LOOKUP_PERMISSIONSHIP_CONDITIONAL_PERMISSION", } LookupPermissionship_value = map[string]int32{ "LOOKUP_PERMISSIONSHIP_UNSPECIFIED": 0, "LOOKUP_PERMISSIONSHIP_HAS_PERMISSION": 1, "LOOKUP_PERMISSIONSHIP_CONDITIONAL_PERMISSION": 2, } )
Enum value maps for LookupPermissionship.
var ( Precondition_Operation_name = map[int32]string{ 0: "OPERATION_UNSPECIFIED", 1: "OPERATION_MUST_NOT_MATCH", 2: "OPERATION_MUST_MATCH", } Precondition_Operation_value = map[string]int32{ "OPERATION_UNSPECIFIED": 0, "OPERATION_MUST_NOT_MATCH": 1, "OPERATION_MUST_MATCH": 2, } )
Enum value maps for Precondition_Operation.
var ( DeleteRelationshipsResponse_DeletionProgress_name = map[int32]string{ 0: "DELETION_PROGRESS_UNSPECIFIED", 1: "DELETION_PROGRESS_COMPLETE", 2: "DELETION_PROGRESS_PARTIAL", } DeleteRelationshipsResponse_DeletionProgress_value = map[string]int32{ "DELETION_PROGRESS_UNSPECIFIED": 0, "DELETION_PROGRESS_COMPLETE": 1, "DELETION_PROGRESS_PARTIAL": 2, } )
Enum value maps for DeleteRelationshipsResponse_DeletionProgress.
var ( CheckPermissionResponse_Permissionship_name = map[int32]string{ 0: "PERMISSIONSHIP_UNSPECIFIED", 1: "PERMISSIONSHIP_NO_PERMISSION", 2: "PERMISSIONSHIP_HAS_PERMISSION", 3: "PERMISSIONSHIP_CONDITIONAL_PERMISSION", } CheckPermissionResponse_Permissionship_value = map[string]int32{ "PERMISSIONSHIP_UNSPECIFIED": 0, "PERMISSIONSHIP_NO_PERMISSION": 1, "PERMISSIONSHIP_HAS_PERMISSION": 2, "PERMISSIONSHIP_CONDITIONAL_PERMISSION": 3, } )
Enum value maps for CheckPermissionResponse_Permissionship.
var ( LookupSubjectsRequest_WildcardOption_name = map[int32]string{ 0: "WILDCARD_OPTION_UNSPECIFIED", 1: "WILDCARD_OPTION_INCLUDE_WILDCARDS", 2: "WILDCARD_OPTION_EXCLUDE_WILDCARDS", } LookupSubjectsRequest_WildcardOption_value = map[string]int32{ "WILDCARD_OPTION_UNSPECIFIED": 0, "WILDCARD_OPTION_INCLUDE_WILDCARDS": 1, "WILDCARD_OPTION_EXCLUDE_WILDCARDS": 2, } )
Enum value maps for LookupSubjectsRequest_WildcardOption.
var ExperimentalService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "authzed.api.v1.ExperimentalService", HandlerType: (*ExperimentalServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "BulkCheckPermission", Handler: _ExperimentalService_BulkCheckPermission_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "BulkImportRelationships", Handler: _ExperimentalService_BulkImportRelationships_Handler, ClientStreams: true, }, { StreamName: "BulkExportRelationships", Handler: _ExperimentalService_BulkExportRelationships_Handler, ServerStreams: true, }, }, Metadata: "authzed/api/v1/experimental_service.proto", }
ExperimentalService_ServiceDesc is the grpc.ServiceDesc for ExperimentalService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_authzed_api_v1_core_proto protoreflect.FileDescriptor
var File_authzed_api_v1_debug_proto protoreflect.FileDescriptor
var File_authzed_api_v1_error_reason_proto protoreflect.FileDescriptor
var File_authzed_api_v1_experimental_service_proto protoreflect.FileDescriptor
var File_authzed_api_v1_openapi_proto protoreflect.FileDescriptor
var File_authzed_api_v1_permission_service_proto protoreflect.FileDescriptor
var File_authzed_api_v1_schema_service_proto protoreflect.FileDescriptor
var File_authzed_api_v1_watch_service_proto protoreflect.FileDescriptor
var PermissionsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "authzed.api.v1.PermissionsService", HandlerType: (*PermissionsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "WriteRelationships", Handler: _PermissionsService_WriteRelationships_Handler, }, { MethodName: "DeleteRelationships", Handler: _PermissionsService_DeleteRelationships_Handler, }, { MethodName: "CheckPermission", Handler: _PermissionsService_CheckPermission_Handler, }, { MethodName: "CheckBulkPermissions", Handler: _PermissionsService_CheckBulkPermissions_Handler, }, { MethodName: "ExpandPermissionTree", Handler: _PermissionsService_ExpandPermissionTree_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ReadRelationships", Handler: _PermissionsService_ReadRelationships_Handler, ServerStreams: true, }, { StreamName: "LookupResources", Handler: _PermissionsService_LookupResources_Handler, ServerStreams: true, }, { StreamName: "LookupSubjects", Handler: _PermissionsService_LookupSubjects_Handler, ServerStreams: true, }, }, Metadata: "authzed/api/v1/permission_service.proto", }
PermissionsService_ServiceDesc is the grpc.ServiceDesc for PermissionsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SchemaService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "authzed.api.v1.SchemaService", HandlerType: (*SchemaServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ReadSchema", Handler: _SchemaService_ReadSchema_Handler, }, { MethodName: "WriteSchema", Handler: _SchemaService_WriteSchema_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "authzed/api/v1/schema_service.proto", }
SchemaService_ServiceDesc is the grpc.ServiceDesc for SchemaService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var WatchService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "authzed.api.v1.WatchService", HandlerType: (*WatchServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Watch", Handler: _WatchService_Watch_Handler, ServerStreams: true, }, }, Metadata: "authzed/api/v1/watch_service.proto", }
WatchService_ServiceDesc is the grpc.ServiceDesc for WatchService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterExperimentalServiceHandler ¶ added in v0.9.0
func RegisterExperimentalServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterExperimentalServiceHandler registers the http handlers for service ExperimentalService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterExperimentalServiceHandlerClient ¶ added in v0.9.0
func RegisterExperimentalServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ExperimentalServiceClient) error
RegisterExperimentalServiceHandlerClient registers the http handlers for service ExperimentalService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ExperimentalServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ExperimentalServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ExperimentalServiceClient" to call the correct interceptors.
func RegisterExperimentalServiceHandlerFromEndpoint ¶ added in v0.9.0
func RegisterExperimentalServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterExperimentalServiceHandlerFromEndpoint is same as RegisterExperimentalServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterExperimentalServiceHandlerServer ¶ added in v0.9.0
func RegisterExperimentalServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ExperimentalServiceServer) error
RegisterExperimentalServiceHandlerServer registers the http handlers for service ExperimentalService to "mux". UnaryRPC :call ExperimentalServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterExperimentalServiceHandlerFromEndpoint instead.
func RegisterExperimentalServiceServer ¶ added in v0.9.0
func RegisterExperimentalServiceServer(s grpc.ServiceRegistrar, srv ExperimentalServiceServer)
func RegisterPermissionsServiceHandler ¶ added in v0.3.0
func RegisterPermissionsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterPermissionsServiceHandler registers the http handlers for service PermissionsService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterPermissionsServiceHandlerClient ¶ added in v0.3.0
func RegisterPermissionsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PermissionsServiceClient) error
RegisterPermissionsServiceHandlerClient registers the http handlers for service PermissionsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PermissionsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PermissionsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PermissionsServiceClient" to call the correct interceptors.
func RegisterPermissionsServiceHandlerFromEndpoint ¶ added in v0.3.0
func RegisterPermissionsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterPermissionsServiceHandlerFromEndpoint is same as RegisterPermissionsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterPermissionsServiceHandlerServer ¶ added in v0.3.0
func RegisterPermissionsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PermissionsServiceServer) error
RegisterPermissionsServiceHandlerServer registers the http handlers for service PermissionsService to "mux". UnaryRPC :call PermissionsServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPermissionsServiceHandlerFromEndpoint instead.
func RegisterPermissionsServiceServer ¶
func RegisterPermissionsServiceServer(s grpc.ServiceRegistrar, srv PermissionsServiceServer)
func RegisterSchemaServiceHandler ¶ added in v0.3.0
func RegisterSchemaServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSchemaServiceHandler registers the http handlers for service SchemaService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSchemaServiceHandlerClient ¶ added in v0.3.0
func RegisterSchemaServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SchemaServiceClient) error
RegisterSchemaServiceHandlerClient registers the http handlers for service SchemaService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SchemaServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SchemaServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SchemaServiceClient" to call the correct interceptors.
func RegisterSchemaServiceHandlerFromEndpoint ¶ added in v0.3.0
func RegisterSchemaServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSchemaServiceHandlerFromEndpoint is same as RegisterSchemaServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSchemaServiceHandlerServer ¶ added in v0.3.0
func RegisterSchemaServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SchemaServiceServer) error
RegisterSchemaServiceHandlerServer registers the http handlers for service SchemaService to "mux". UnaryRPC :call SchemaServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSchemaServiceHandlerFromEndpoint instead.
func RegisterSchemaServiceServer ¶
func RegisterSchemaServiceServer(s grpc.ServiceRegistrar, srv SchemaServiceServer)
func RegisterWatchServiceHandler ¶ added in v0.3.0
func RegisterWatchServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterWatchServiceHandler registers the http handlers for service WatchService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterWatchServiceHandlerClient ¶ added in v0.3.0
func RegisterWatchServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WatchServiceClient) error
RegisterWatchServiceHandlerClient registers the http handlers for service WatchService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "WatchServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "WatchServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "WatchServiceClient" to call the correct interceptors.
func RegisterWatchServiceHandlerFromEndpoint ¶ added in v0.3.0
func RegisterWatchServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterWatchServiceHandlerFromEndpoint is same as RegisterWatchServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterWatchServiceHandlerServer ¶ added in v0.3.0
func RegisterWatchServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WatchServiceServer) error
RegisterWatchServiceHandlerServer registers the http handlers for service WatchService to "mux". UnaryRPC :call WatchServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterWatchServiceHandlerFromEndpoint instead.
func RegisterWatchServiceServer ¶
func RegisterWatchServiceServer(s grpc.ServiceRegistrar, srv WatchServiceServer)
Types ¶
type AlgebraicSubjectSet ¶
type AlgebraicSubjectSet struct { Operation AlgebraicSubjectSet_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=authzed.api.v1.AlgebraicSubjectSet_Operation" json:"operation,omitempty"` Children []*PermissionRelationshipTree `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
AlgebraicSubjectSet is a subject set which is computed based on applying the specified operation to the operands according to the algebra of sets.
UNION is a logical set containing the subject members from all operands.
INTERSECTION is a logical set containing only the subject members which are present in all operands.
EXCLUSION is a logical set containing only the subject members which are present in the first operand, and none of the other operands.
func (*AlgebraicSubjectSet) CloneMessageVT ¶ added in v0.9.0
func (m *AlgebraicSubjectSet) CloneMessageVT() proto.Message
func (*AlgebraicSubjectSet) CloneVT ¶ added in v0.8.0
func (m *AlgebraicSubjectSet) CloneVT() *AlgebraicSubjectSet
func (*AlgebraicSubjectSet) Descriptor
deprecated
func (*AlgebraicSubjectSet) Descriptor() ([]byte, []int)
Deprecated: Use AlgebraicSubjectSet.ProtoReflect.Descriptor instead.
func (*AlgebraicSubjectSet) EqualMessageVT ¶ added in v0.11.0
func (this *AlgebraicSubjectSet) EqualMessageVT(thatMsg proto.Message) bool
func (*AlgebraicSubjectSet) EqualVT ¶ added in v0.11.0
func (this *AlgebraicSubjectSet) EqualVT(that *AlgebraicSubjectSet) bool
func (*AlgebraicSubjectSet) GetChildren ¶
func (x *AlgebraicSubjectSet) GetChildren() []*PermissionRelationshipTree
func (*AlgebraicSubjectSet) GetOperation ¶
func (x *AlgebraicSubjectSet) GetOperation() AlgebraicSubjectSet_Operation
func (*AlgebraicSubjectSet) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *AlgebraicSubjectSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AlgebraicSubjectSet) MarshalToVT ¶ added in v0.8.0
func (m *AlgebraicSubjectSet) MarshalToVT(dAtA []byte) (int, error)
func (*AlgebraicSubjectSet) MarshalVT ¶ added in v0.8.0
func (m *AlgebraicSubjectSet) MarshalVT() (dAtA []byte, err error)
func (*AlgebraicSubjectSet) ProtoMessage ¶
func (*AlgebraicSubjectSet) ProtoMessage()
func (*AlgebraicSubjectSet) ProtoReflect ¶
func (x *AlgebraicSubjectSet) ProtoReflect() protoreflect.Message
func (*AlgebraicSubjectSet) Reset ¶
func (x *AlgebraicSubjectSet) Reset()
func (*AlgebraicSubjectSet) SizeVT ¶ added in v0.8.0
func (m *AlgebraicSubjectSet) SizeVT() (n int)
func (*AlgebraicSubjectSet) String ¶
func (x *AlgebraicSubjectSet) String() string
func (*AlgebraicSubjectSet) UnmarshalVT ¶ added in v0.8.0
func (m *AlgebraicSubjectSet) UnmarshalVT(dAtA []byte) error
func (*AlgebraicSubjectSet) Validate ¶
func (m *AlgebraicSubjectSet) Validate() error
Validate checks the field values on AlgebraicSubjectSet with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AlgebraicSubjectSet) ValidateAll ¶ added in v0.6.0
func (m *AlgebraicSubjectSet) ValidateAll() error
ValidateAll checks the field values on AlgebraicSubjectSet with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AlgebraicSubjectSetMultiError, or nil if none found.
type AlgebraicSubjectSetMultiError ¶ added in v0.6.0
type AlgebraicSubjectSetMultiError []error
AlgebraicSubjectSetMultiError is an error wrapping multiple validation errors returned by AlgebraicSubjectSet.ValidateAll() if the designated constraints aren't met.
func (AlgebraicSubjectSetMultiError) AllErrors ¶ added in v0.6.0
func (m AlgebraicSubjectSetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AlgebraicSubjectSetMultiError) Error ¶ added in v0.6.0
func (m AlgebraicSubjectSetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AlgebraicSubjectSetValidationError ¶
type AlgebraicSubjectSetValidationError struct {
// contains filtered or unexported fields
}
AlgebraicSubjectSetValidationError is the validation error returned by AlgebraicSubjectSet.Validate if the designated constraints aren't met.
func (AlgebraicSubjectSetValidationError) Cause ¶
func (e AlgebraicSubjectSetValidationError) Cause() error
Cause function returns cause value.
func (AlgebraicSubjectSetValidationError) Error ¶
func (e AlgebraicSubjectSetValidationError) Error() string
Error satisfies the builtin error interface
func (AlgebraicSubjectSetValidationError) ErrorName ¶
func (e AlgebraicSubjectSetValidationError) ErrorName() string
ErrorName returns error name.
func (AlgebraicSubjectSetValidationError) Field ¶
func (e AlgebraicSubjectSetValidationError) Field() string
Field function returns field value.
func (AlgebraicSubjectSetValidationError) Key ¶
func (e AlgebraicSubjectSetValidationError) Key() bool
Key function returns key value.
func (AlgebraicSubjectSetValidationError) Reason ¶
func (e AlgebraicSubjectSetValidationError) Reason() string
Reason function returns reason value.
type AlgebraicSubjectSet_Operation ¶
type AlgebraicSubjectSet_Operation int32
const ( AlgebraicSubjectSet_OPERATION_UNSPECIFIED AlgebraicSubjectSet_Operation = 0 AlgebraicSubjectSet_OPERATION_UNION AlgebraicSubjectSet_Operation = 1 AlgebraicSubjectSet_OPERATION_INTERSECTION AlgebraicSubjectSet_Operation = 2 AlgebraicSubjectSet_OPERATION_EXCLUSION AlgebraicSubjectSet_Operation = 3 )
func (AlgebraicSubjectSet_Operation) Descriptor ¶
func (AlgebraicSubjectSet_Operation) Descriptor() protoreflect.EnumDescriptor
func (AlgebraicSubjectSet_Operation) Enum ¶
func (x AlgebraicSubjectSet_Operation) Enum() *AlgebraicSubjectSet_Operation
func (AlgebraicSubjectSet_Operation) EnumDescriptor
deprecated
func (AlgebraicSubjectSet_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use AlgebraicSubjectSet_Operation.Descriptor instead.
func (AlgebraicSubjectSet_Operation) Number ¶
func (x AlgebraicSubjectSet_Operation) Number() protoreflect.EnumNumber
func (AlgebraicSubjectSet_Operation) String ¶
func (x AlgebraicSubjectSet_Operation) String() string
func (AlgebraicSubjectSet_Operation) Type ¶
func (AlgebraicSubjectSet_Operation) Type() protoreflect.EnumType
type BulkCheckPermissionPair ¶ added in v0.10.0
type BulkCheckPermissionPair struct { Request *BulkCheckPermissionRequestItem `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // Types that are assignable to Response: // // *BulkCheckPermissionPair_Item // *BulkCheckPermissionPair_Error Response isBulkCheckPermissionPair_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*BulkCheckPermissionPair) CloneMessageVT ¶ added in v0.10.0
func (m *BulkCheckPermissionPair) CloneMessageVT() proto.Message
func (*BulkCheckPermissionPair) CloneVT ¶ added in v0.10.0
func (m *BulkCheckPermissionPair) CloneVT() *BulkCheckPermissionPair
func (*BulkCheckPermissionPair) Descriptor
deprecated
added in
v0.10.0
func (*BulkCheckPermissionPair) Descriptor() ([]byte, []int)
Deprecated: Use BulkCheckPermissionPair.ProtoReflect.Descriptor instead.
func (*BulkCheckPermissionPair) EqualMessageVT ¶ added in v0.11.0
func (this *BulkCheckPermissionPair) EqualMessageVT(thatMsg proto.Message) bool
func (*BulkCheckPermissionPair) EqualVT ¶ added in v0.11.0
func (this *BulkCheckPermissionPair) EqualVT(that *BulkCheckPermissionPair) bool
func (*BulkCheckPermissionPair) GetError ¶ added in v0.10.0
func (x *BulkCheckPermissionPair) GetError() *status.Status
func (*BulkCheckPermissionPair) GetItem ¶ added in v0.10.0
func (x *BulkCheckPermissionPair) GetItem() *BulkCheckPermissionResponseItem
func (*BulkCheckPermissionPair) GetRequest ¶ added in v0.10.0
func (x *BulkCheckPermissionPair) GetRequest() *BulkCheckPermissionRequestItem
func (*BulkCheckPermissionPair) GetResponse ¶ added in v0.10.0
func (m *BulkCheckPermissionPair) GetResponse() isBulkCheckPermissionPair_Response
func (*BulkCheckPermissionPair) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *BulkCheckPermissionPair) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BulkCheckPermissionPair) MarshalToVT ¶ added in v0.10.0
func (m *BulkCheckPermissionPair) MarshalToVT(dAtA []byte) (int, error)
func (*BulkCheckPermissionPair) MarshalVT ¶ added in v0.10.0
func (m *BulkCheckPermissionPair) MarshalVT() (dAtA []byte, err error)
func (*BulkCheckPermissionPair) ProtoMessage ¶ added in v0.10.0
func (*BulkCheckPermissionPair) ProtoMessage()
func (*BulkCheckPermissionPair) ProtoReflect ¶ added in v0.10.0
func (x *BulkCheckPermissionPair) ProtoReflect() protoreflect.Message
func (*BulkCheckPermissionPair) Reset ¶ added in v0.10.0
func (x *BulkCheckPermissionPair) Reset()
func (*BulkCheckPermissionPair) SizeVT ¶ added in v0.10.0
func (m *BulkCheckPermissionPair) SizeVT() (n int)
func (*BulkCheckPermissionPair) String ¶ added in v0.10.0
func (x *BulkCheckPermissionPair) String() string
func (*BulkCheckPermissionPair) UnmarshalVT ¶ added in v0.10.0
func (m *BulkCheckPermissionPair) UnmarshalVT(dAtA []byte) error
func (*BulkCheckPermissionPair) Validate ¶ added in v0.10.0
func (m *BulkCheckPermissionPair) Validate() error
Validate checks the field values on BulkCheckPermissionPair 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 (*BulkCheckPermissionPair) ValidateAll ¶ added in v0.10.0
func (m *BulkCheckPermissionPair) ValidateAll() error
ValidateAll checks the field values on BulkCheckPermissionPair 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 BulkCheckPermissionPairMultiError, or nil if none found.
type BulkCheckPermissionPairMultiError ¶ added in v0.10.0
type BulkCheckPermissionPairMultiError []error
BulkCheckPermissionPairMultiError is an error wrapping multiple validation errors returned by BulkCheckPermissionPair.ValidateAll() if the designated constraints aren't met.
func (BulkCheckPermissionPairMultiError) AllErrors ¶ added in v0.10.0
func (m BulkCheckPermissionPairMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BulkCheckPermissionPairMultiError) Error ¶ added in v0.10.0
func (m BulkCheckPermissionPairMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BulkCheckPermissionPairValidationError ¶ added in v0.10.0
type BulkCheckPermissionPairValidationError struct {
// contains filtered or unexported fields
}
BulkCheckPermissionPairValidationError is the validation error returned by BulkCheckPermissionPair.Validate if the designated constraints aren't met.
func (BulkCheckPermissionPairValidationError) Cause ¶ added in v0.10.0
func (e BulkCheckPermissionPairValidationError) Cause() error
Cause function returns cause value.
func (BulkCheckPermissionPairValidationError) Error ¶ added in v0.10.0
func (e BulkCheckPermissionPairValidationError) Error() string
Error satisfies the builtin error interface
func (BulkCheckPermissionPairValidationError) ErrorName ¶ added in v0.10.0
func (e BulkCheckPermissionPairValidationError) ErrorName() string
ErrorName returns error name.
func (BulkCheckPermissionPairValidationError) Field ¶ added in v0.10.0
func (e BulkCheckPermissionPairValidationError) Field() string
Field function returns field value.
func (BulkCheckPermissionPairValidationError) Key ¶ added in v0.10.0
func (e BulkCheckPermissionPairValidationError) Key() bool
Key function returns key value.
func (BulkCheckPermissionPairValidationError) Reason ¶ added in v0.10.0
func (e BulkCheckPermissionPairValidationError) Reason() string
Reason function returns reason value.
type BulkCheckPermissionPair_Error ¶ added in v0.10.0
type BulkCheckPermissionPair_Error struct {
Error *status.Status `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}
func (*BulkCheckPermissionPair_Error) CloneVT ¶ added in v0.10.0
func (m *BulkCheckPermissionPair_Error) CloneVT() isBulkCheckPermissionPair_Response
func (*BulkCheckPermissionPair_Error) EqualVT ¶ added in v0.11.0
func (this *BulkCheckPermissionPair_Error) EqualVT(thatIface isBulkCheckPermissionPair_Response) bool
func (*BulkCheckPermissionPair_Error) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *BulkCheckPermissionPair_Error) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BulkCheckPermissionPair_Error) MarshalToVT ¶ added in v0.10.0
func (m *BulkCheckPermissionPair_Error) MarshalToVT(dAtA []byte) (int, error)
func (*BulkCheckPermissionPair_Error) SizeVT ¶ added in v0.10.0
func (m *BulkCheckPermissionPair_Error) SizeVT() (n int)
type BulkCheckPermissionPair_Item ¶ added in v0.10.0
type BulkCheckPermissionPair_Item struct {
Item *BulkCheckPermissionResponseItem `protobuf:"bytes,2,opt,name=item,proto3,oneof"`
}
func (*BulkCheckPermissionPair_Item) CloneVT ¶ added in v0.10.0
func (m *BulkCheckPermissionPair_Item) CloneVT() isBulkCheckPermissionPair_Response
func (*BulkCheckPermissionPair_Item) EqualVT ¶ added in v0.11.0
func (this *BulkCheckPermissionPair_Item) EqualVT(thatIface isBulkCheckPermissionPair_Response) bool
func (*BulkCheckPermissionPair_Item) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *BulkCheckPermissionPair_Item) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BulkCheckPermissionPair_Item) MarshalToVT ¶ added in v0.10.0
func (m *BulkCheckPermissionPair_Item) MarshalToVT(dAtA []byte) (int, error)
func (*BulkCheckPermissionPair_Item) SizeVT ¶ added in v0.10.0
func (m *BulkCheckPermissionPair_Item) SizeVT() (n int)
type BulkCheckPermissionRequest ¶ added in v0.10.0
type BulkCheckPermissionRequest struct { Consistency *Consistency `protobuf:"bytes,1,opt,name=consistency,proto3" json:"consistency,omitempty"` Items []*BulkCheckPermissionRequestItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*BulkCheckPermissionRequest) CloneMessageVT ¶ added in v0.10.0
func (m *BulkCheckPermissionRequest) CloneMessageVT() proto.Message
func (*BulkCheckPermissionRequest) CloneVT ¶ added in v0.10.0
func (m *BulkCheckPermissionRequest) CloneVT() *BulkCheckPermissionRequest
func (*BulkCheckPermissionRequest) Descriptor
deprecated
added in
v0.10.0
func (*BulkCheckPermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use BulkCheckPermissionRequest.ProtoReflect.Descriptor instead.
func (*BulkCheckPermissionRequest) EqualMessageVT ¶ added in v0.11.0
func (this *BulkCheckPermissionRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*BulkCheckPermissionRequest) EqualVT ¶ added in v0.11.0
func (this *BulkCheckPermissionRequest) EqualVT(that *BulkCheckPermissionRequest) bool
func (*BulkCheckPermissionRequest) GetConsistency ¶ added in v0.10.0
func (x *BulkCheckPermissionRequest) GetConsistency() *Consistency
func (*BulkCheckPermissionRequest) GetItems ¶ added in v0.10.0
func (x *BulkCheckPermissionRequest) GetItems() []*BulkCheckPermissionRequestItem
func (*BulkCheckPermissionRequest) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *BulkCheckPermissionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BulkCheckPermissionRequest) MarshalToVT ¶ added in v0.10.0
func (m *BulkCheckPermissionRequest) MarshalToVT(dAtA []byte) (int, error)
func (*BulkCheckPermissionRequest) MarshalVT ¶ added in v0.10.0
func (m *BulkCheckPermissionRequest) MarshalVT() (dAtA []byte, err error)
func (*BulkCheckPermissionRequest) ProtoMessage ¶ added in v0.10.0
func (*BulkCheckPermissionRequest) ProtoMessage()
func (*BulkCheckPermissionRequest) ProtoReflect ¶ added in v0.10.0
func (x *BulkCheckPermissionRequest) ProtoReflect() protoreflect.Message
func (*BulkCheckPermissionRequest) Reset ¶ added in v0.10.0
func (x *BulkCheckPermissionRequest) Reset()
func (*BulkCheckPermissionRequest) SizeVT ¶ added in v0.10.0
func (m *BulkCheckPermissionRequest) SizeVT() (n int)
func (*BulkCheckPermissionRequest) String ¶ added in v0.10.0
func (x *BulkCheckPermissionRequest) String() string
func (*BulkCheckPermissionRequest) UnmarshalVT ¶ added in v0.10.0
func (m *BulkCheckPermissionRequest) UnmarshalVT(dAtA []byte) error
func (*BulkCheckPermissionRequest) Validate ¶ added in v0.10.0
func (m *BulkCheckPermissionRequest) Validate() error
Validate checks the field values on BulkCheckPermissionRequest 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 (*BulkCheckPermissionRequest) ValidateAll ¶ added in v0.10.0
func (m *BulkCheckPermissionRequest) ValidateAll() error
ValidateAll checks the field values on BulkCheckPermissionRequest 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 BulkCheckPermissionRequestMultiError, or nil if none found.
type BulkCheckPermissionRequestItem ¶ added in v0.10.0
type BulkCheckPermissionRequestItem struct { Resource *ObjectReference `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"` Subject *SubjectReference `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` Context *structpb.Struct `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
func (*BulkCheckPermissionRequestItem) CloneMessageVT ¶ added in v0.10.0
func (m *BulkCheckPermissionRequestItem) CloneMessageVT() proto.Message
func (*BulkCheckPermissionRequestItem) CloneVT ¶ added in v0.10.0
func (m *BulkCheckPermissionRequestItem) CloneVT() *BulkCheckPermissionRequestItem
func (*BulkCheckPermissionRequestItem) Descriptor
deprecated
added in
v0.10.0
func (*BulkCheckPermissionRequestItem) Descriptor() ([]byte, []int)
Deprecated: Use BulkCheckPermissionRequestItem.ProtoReflect.Descriptor instead.
func (*BulkCheckPermissionRequestItem) EqualMessageVT ¶ added in v0.11.0
func (this *BulkCheckPermissionRequestItem) EqualMessageVT(thatMsg proto.Message) bool
func (*BulkCheckPermissionRequestItem) EqualVT ¶ added in v0.11.0
func (this *BulkCheckPermissionRequestItem) EqualVT(that *BulkCheckPermissionRequestItem) bool
func (*BulkCheckPermissionRequestItem) GetContext ¶ added in v0.10.0
func (x *BulkCheckPermissionRequestItem) GetContext() *structpb.Struct
func (*BulkCheckPermissionRequestItem) GetPermission ¶ added in v0.10.0
func (x *BulkCheckPermissionRequestItem) GetPermission() string
func (*BulkCheckPermissionRequestItem) GetResource ¶ added in v0.10.0
func (x *BulkCheckPermissionRequestItem) GetResource() *ObjectReference
func (*BulkCheckPermissionRequestItem) GetSubject ¶ added in v0.10.0
func (x *BulkCheckPermissionRequestItem) GetSubject() *SubjectReference
func (*BulkCheckPermissionRequestItem) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *BulkCheckPermissionRequestItem) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BulkCheckPermissionRequestItem) MarshalToVT ¶ added in v0.10.0
func (m *BulkCheckPermissionRequestItem) MarshalToVT(dAtA []byte) (int, error)
func (*BulkCheckPermissionRequestItem) MarshalVT ¶ added in v0.10.0
func (m *BulkCheckPermissionRequestItem) MarshalVT() (dAtA []byte, err error)
func (*BulkCheckPermissionRequestItem) ProtoMessage ¶ added in v0.10.0
func (*BulkCheckPermissionRequestItem) ProtoMessage()
func (*BulkCheckPermissionRequestItem) ProtoReflect ¶ added in v0.10.0
func (x *BulkCheckPermissionRequestItem) ProtoReflect() protoreflect.Message
func (*BulkCheckPermissionRequestItem) Reset ¶ added in v0.10.0
func (x *BulkCheckPermissionRequestItem) Reset()
func (*BulkCheckPermissionRequestItem) SizeVT ¶ added in v0.10.0
func (m *BulkCheckPermissionRequestItem) SizeVT() (n int)
func (*BulkCheckPermissionRequestItem) String ¶ added in v0.10.0
func (x *BulkCheckPermissionRequestItem) String() string
func (*BulkCheckPermissionRequestItem) UnmarshalVT ¶ added in v0.10.0
func (m *BulkCheckPermissionRequestItem) UnmarshalVT(dAtA []byte) error
func (*BulkCheckPermissionRequestItem) Validate ¶ added in v0.10.0
func (m *BulkCheckPermissionRequestItem) Validate() error
Validate checks the field values on BulkCheckPermissionRequestItem 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 (*BulkCheckPermissionRequestItem) ValidateAll ¶ added in v0.10.0
func (m *BulkCheckPermissionRequestItem) ValidateAll() error
ValidateAll checks the field values on BulkCheckPermissionRequestItem 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 BulkCheckPermissionRequestItemMultiError, or nil if none found.
type BulkCheckPermissionRequestItemMultiError ¶ added in v0.10.0
type BulkCheckPermissionRequestItemMultiError []error
BulkCheckPermissionRequestItemMultiError is an error wrapping multiple validation errors returned by BulkCheckPermissionRequestItem.ValidateAll() if the designated constraints aren't met.
func (BulkCheckPermissionRequestItemMultiError) AllErrors ¶ added in v0.10.0
func (m BulkCheckPermissionRequestItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BulkCheckPermissionRequestItemMultiError) Error ¶ added in v0.10.0
func (m BulkCheckPermissionRequestItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BulkCheckPermissionRequestItemValidationError ¶ added in v0.10.0
type BulkCheckPermissionRequestItemValidationError struct {
// contains filtered or unexported fields
}
BulkCheckPermissionRequestItemValidationError is the validation error returned by BulkCheckPermissionRequestItem.Validate if the designated constraints aren't met.
func (BulkCheckPermissionRequestItemValidationError) Cause ¶ added in v0.10.0
func (e BulkCheckPermissionRequestItemValidationError) Cause() error
Cause function returns cause value.
func (BulkCheckPermissionRequestItemValidationError) Error ¶ added in v0.10.0
func (e BulkCheckPermissionRequestItemValidationError) Error() string
Error satisfies the builtin error interface
func (BulkCheckPermissionRequestItemValidationError) ErrorName ¶ added in v0.10.0
func (e BulkCheckPermissionRequestItemValidationError) ErrorName() string
ErrorName returns error name.
func (BulkCheckPermissionRequestItemValidationError) Field ¶ added in v0.10.0
func (e BulkCheckPermissionRequestItemValidationError) Field() string
Field function returns field value.
func (BulkCheckPermissionRequestItemValidationError) Key ¶ added in v0.10.0
func (e BulkCheckPermissionRequestItemValidationError) Key() bool
Key function returns key value.
func (BulkCheckPermissionRequestItemValidationError) Reason ¶ added in v0.10.0
func (e BulkCheckPermissionRequestItemValidationError) Reason() string
Reason function returns reason value.
type BulkCheckPermissionRequestMultiError ¶ added in v0.10.0
type BulkCheckPermissionRequestMultiError []error
BulkCheckPermissionRequestMultiError is an error wrapping multiple validation errors returned by BulkCheckPermissionRequest.ValidateAll() if the designated constraints aren't met.
func (BulkCheckPermissionRequestMultiError) AllErrors ¶ added in v0.10.0
func (m BulkCheckPermissionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BulkCheckPermissionRequestMultiError) Error ¶ added in v0.10.0
func (m BulkCheckPermissionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BulkCheckPermissionRequestValidationError ¶ added in v0.10.0
type BulkCheckPermissionRequestValidationError struct {
// contains filtered or unexported fields
}
BulkCheckPermissionRequestValidationError is the validation error returned by BulkCheckPermissionRequest.Validate if the designated constraints aren't met.
func (BulkCheckPermissionRequestValidationError) Cause ¶ added in v0.10.0
func (e BulkCheckPermissionRequestValidationError) Cause() error
Cause function returns cause value.
func (BulkCheckPermissionRequestValidationError) Error ¶ added in v0.10.0
func (e BulkCheckPermissionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BulkCheckPermissionRequestValidationError) ErrorName ¶ added in v0.10.0
func (e BulkCheckPermissionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BulkCheckPermissionRequestValidationError) Field ¶ added in v0.10.0
func (e BulkCheckPermissionRequestValidationError) Field() string
Field function returns field value.
func (BulkCheckPermissionRequestValidationError) Key ¶ added in v0.10.0
func (e BulkCheckPermissionRequestValidationError) Key() bool
Key function returns key value.
func (BulkCheckPermissionRequestValidationError) Reason ¶ added in v0.10.0
func (e BulkCheckPermissionRequestValidationError) Reason() string
Reason function returns reason value.
type BulkCheckPermissionResponse ¶ added in v0.10.0
type BulkCheckPermissionResponse struct { CheckedAt *ZedToken `protobuf:"bytes,1,opt,name=checked_at,json=checkedAt,proto3" json:"checked_at,omitempty"` Pairs []*BulkCheckPermissionPair `protobuf:"bytes,2,rep,name=pairs,proto3" json:"pairs,omitempty"` // contains filtered or unexported fields }
func (*BulkCheckPermissionResponse) CloneMessageVT ¶ added in v0.10.0
func (m *BulkCheckPermissionResponse) CloneMessageVT() proto.Message
func (*BulkCheckPermissionResponse) CloneVT ¶ added in v0.10.0
func (m *BulkCheckPermissionResponse) CloneVT() *BulkCheckPermissionResponse
func (*BulkCheckPermissionResponse) Descriptor
deprecated
added in
v0.10.0
func (*BulkCheckPermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use BulkCheckPermissionResponse.ProtoReflect.Descriptor instead.
func (*BulkCheckPermissionResponse) EqualMessageVT ¶ added in v0.11.0
func (this *BulkCheckPermissionResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*BulkCheckPermissionResponse) EqualVT ¶ added in v0.11.0
func (this *BulkCheckPermissionResponse) EqualVT(that *BulkCheckPermissionResponse) bool
func (*BulkCheckPermissionResponse) GetCheckedAt ¶ added in v0.10.0
func (x *BulkCheckPermissionResponse) GetCheckedAt() *ZedToken
func (*BulkCheckPermissionResponse) GetPairs ¶ added in v0.10.0
func (x *BulkCheckPermissionResponse) GetPairs() []*BulkCheckPermissionPair
func (*BulkCheckPermissionResponse) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *BulkCheckPermissionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BulkCheckPermissionResponse) MarshalToVT ¶ added in v0.10.0
func (m *BulkCheckPermissionResponse) MarshalToVT(dAtA []byte) (int, error)
func (*BulkCheckPermissionResponse) MarshalVT ¶ added in v0.10.0
func (m *BulkCheckPermissionResponse) MarshalVT() (dAtA []byte, err error)
func (*BulkCheckPermissionResponse) ProtoMessage ¶ added in v0.10.0
func (*BulkCheckPermissionResponse) ProtoMessage()
func (*BulkCheckPermissionResponse) ProtoReflect ¶ added in v0.10.0
func (x *BulkCheckPermissionResponse) ProtoReflect() protoreflect.Message
func (*BulkCheckPermissionResponse) Reset ¶ added in v0.10.0
func (x *BulkCheckPermissionResponse) Reset()
func (*BulkCheckPermissionResponse) SizeVT ¶ added in v0.10.0
func (m *BulkCheckPermissionResponse) SizeVT() (n int)
func (*BulkCheckPermissionResponse) String ¶ added in v0.10.0
func (x *BulkCheckPermissionResponse) String() string
func (*BulkCheckPermissionResponse) UnmarshalVT ¶ added in v0.10.0
func (m *BulkCheckPermissionResponse) UnmarshalVT(dAtA []byte) error
func (*BulkCheckPermissionResponse) Validate ¶ added in v0.10.0
func (m *BulkCheckPermissionResponse) Validate() error
Validate checks the field values on BulkCheckPermissionResponse 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 (*BulkCheckPermissionResponse) ValidateAll ¶ added in v0.10.0
func (m *BulkCheckPermissionResponse) ValidateAll() error
ValidateAll checks the field values on BulkCheckPermissionResponse 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 BulkCheckPermissionResponseMultiError, or nil if none found.
type BulkCheckPermissionResponseItem ¶ added in v0.10.0
type BulkCheckPermissionResponseItem struct { Permissionship CheckPermissionResponse_Permissionship `` /* 141-byte string literal not displayed */ PartialCaveatInfo *PartialCaveatInfo `protobuf:"bytes,2,opt,name=partial_caveat_info,json=partialCaveatInfo,proto3" json:"partial_caveat_info,omitempty"` // contains filtered or unexported fields }
func (*BulkCheckPermissionResponseItem) CloneMessageVT ¶ added in v0.10.0
func (m *BulkCheckPermissionResponseItem) CloneMessageVT() proto.Message
func (*BulkCheckPermissionResponseItem) CloneVT ¶ added in v0.10.0
func (m *BulkCheckPermissionResponseItem) CloneVT() *BulkCheckPermissionResponseItem
func (*BulkCheckPermissionResponseItem) Descriptor
deprecated
added in
v0.10.0
func (*BulkCheckPermissionResponseItem) Descriptor() ([]byte, []int)
Deprecated: Use BulkCheckPermissionResponseItem.ProtoReflect.Descriptor instead.
func (*BulkCheckPermissionResponseItem) EqualMessageVT ¶ added in v0.11.0
func (this *BulkCheckPermissionResponseItem) EqualMessageVT(thatMsg proto.Message) bool
func (*BulkCheckPermissionResponseItem) EqualVT ¶ added in v0.11.0
func (this *BulkCheckPermissionResponseItem) EqualVT(that *BulkCheckPermissionResponseItem) bool
func (*BulkCheckPermissionResponseItem) GetPartialCaveatInfo ¶ added in v0.10.0
func (x *BulkCheckPermissionResponseItem) GetPartialCaveatInfo() *PartialCaveatInfo
func (*BulkCheckPermissionResponseItem) GetPermissionship ¶ added in v0.10.0
func (x *BulkCheckPermissionResponseItem) GetPermissionship() CheckPermissionResponse_Permissionship
func (*BulkCheckPermissionResponseItem) MarshalToSizedBufferVT ¶ added in v0.10.0
func (m *BulkCheckPermissionResponseItem) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BulkCheckPermissionResponseItem) MarshalToVT ¶ added in v0.10.0
func (m *BulkCheckPermissionResponseItem) MarshalToVT(dAtA []byte) (int, error)
func (*BulkCheckPermissionResponseItem) MarshalVT ¶ added in v0.10.0
func (m *BulkCheckPermissionResponseItem) MarshalVT() (dAtA []byte, err error)
func (*BulkCheckPermissionResponseItem) ProtoMessage ¶ added in v0.10.0
func (*BulkCheckPermissionResponseItem) ProtoMessage()
func (*BulkCheckPermissionResponseItem) ProtoReflect ¶ added in v0.10.0
func (x *BulkCheckPermissionResponseItem) ProtoReflect() protoreflect.Message
func (*BulkCheckPermissionResponseItem) Reset ¶ added in v0.10.0
func (x *BulkCheckPermissionResponseItem) Reset()
func (*BulkCheckPermissionResponseItem) SizeVT ¶ added in v0.10.0
func (m *BulkCheckPermissionResponseItem) SizeVT() (n int)
func (*BulkCheckPermissionResponseItem) String ¶ added in v0.10.0
func (x *BulkCheckPermissionResponseItem) String() string
func (*BulkCheckPermissionResponseItem) UnmarshalVT ¶ added in v0.10.0
func (m *BulkCheckPermissionResponseItem) UnmarshalVT(dAtA []byte) error
func (*BulkCheckPermissionResponseItem) Validate ¶ added in v0.10.0
func (m *BulkCheckPermissionResponseItem) Validate() error
Validate checks the field values on BulkCheckPermissionResponseItem 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 (*BulkCheckPermissionResponseItem) ValidateAll ¶ added in v0.10.0
func (m *BulkCheckPermissionResponseItem) ValidateAll() error
ValidateAll checks the field values on BulkCheckPermissionResponseItem 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 BulkCheckPermissionResponseItemMultiError, or nil if none found.
type BulkCheckPermissionResponseItemMultiError ¶ added in v0.10.0
type BulkCheckPermissionResponseItemMultiError []error
BulkCheckPermissionResponseItemMultiError is an error wrapping multiple validation errors returned by BulkCheckPermissionResponseItem.ValidateAll() if the designated constraints aren't met.
func (BulkCheckPermissionResponseItemMultiError) AllErrors ¶ added in v0.10.0
func (m BulkCheckPermissionResponseItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BulkCheckPermissionResponseItemMultiError) Error ¶ added in v0.10.0
func (m BulkCheckPermissionResponseItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BulkCheckPermissionResponseItemValidationError ¶ added in v0.10.0
type BulkCheckPermissionResponseItemValidationError struct {
// contains filtered or unexported fields
}
BulkCheckPermissionResponseItemValidationError is the validation error returned by BulkCheckPermissionResponseItem.Validate if the designated constraints aren't met.
func (BulkCheckPermissionResponseItemValidationError) Cause ¶ added in v0.10.0
func (e BulkCheckPermissionResponseItemValidationError) Cause() error
Cause function returns cause value.
func (BulkCheckPermissionResponseItemValidationError) Error ¶ added in v0.10.0
func (e BulkCheckPermissionResponseItemValidationError) Error() string
Error satisfies the builtin error interface
func (BulkCheckPermissionResponseItemValidationError) ErrorName ¶ added in v0.10.0
func (e BulkCheckPermissionResponseItemValidationError) ErrorName() string
ErrorName returns error name.
func (BulkCheckPermissionResponseItemValidationError) Field ¶ added in v0.10.0
func (e BulkCheckPermissionResponseItemValidationError) Field() string
Field function returns field value.
func (BulkCheckPermissionResponseItemValidationError) Key ¶ added in v0.10.0
func (e BulkCheckPermissionResponseItemValidationError) Key() bool
Key function returns key value.
func (BulkCheckPermissionResponseItemValidationError) Reason ¶ added in v0.10.0
func (e BulkCheckPermissionResponseItemValidationError) Reason() string
Reason function returns reason value.
type BulkCheckPermissionResponseMultiError ¶ added in v0.10.0
type BulkCheckPermissionResponseMultiError []error
BulkCheckPermissionResponseMultiError is an error wrapping multiple validation errors returned by BulkCheckPermissionResponse.ValidateAll() if the designated constraints aren't met.
func (BulkCheckPermissionResponseMultiError) AllErrors ¶ added in v0.10.0
func (m BulkCheckPermissionResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BulkCheckPermissionResponseMultiError) Error ¶ added in v0.10.0
func (m BulkCheckPermissionResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BulkCheckPermissionResponseValidationError ¶ added in v0.10.0
type BulkCheckPermissionResponseValidationError struct {
// contains filtered or unexported fields
}
BulkCheckPermissionResponseValidationError is the validation error returned by BulkCheckPermissionResponse.Validate if the designated constraints aren't met.
func (BulkCheckPermissionResponseValidationError) Cause ¶ added in v0.10.0
func (e BulkCheckPermissionResponseValidationError) Cause() error
Cause function returns cause value.
func (BulkCheckPermissionResponseValidationError) Error ¶ added in v0.10.0
func (e BulkCheckPermissionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (BulkCheckPermissionResponseValidationError) ErrorName ¶ added in v0.10.0
func (e BulkCheckPermissionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (BulkCheckPermissionResponseValidationError) Field ¶ added in v0.10.0
func (e BulkCheckPermissionResponseValidationError) Field() string
Field function returns field value.
func (BulkCheckPermissionResponseValidationError) Key ¶ added in v0.10.0
func (e BulkCheckPermissionResponseValidationError) Key() bool
Key function returns key value.
func (BulkCheckPermissionResponseValidationError) Reason ¶ added in v0.10.0
func (e BulkCheckPermissionResponseValidationError) Reason() string
Reason function returns reason value.
type BulkExportRelationshipsRequest ¶ added in v0.9.0
type BulkExportRelationshipsRequest struct { Consistency *Consistency `protobuf:"bytes,1,opt,name=consistency,proto3" json:"consistency,omitempty"` // optional_limit, if non-zero, specifies the limit on the number of // relationships the server can return in one page. By default, the server // will pick a page size, and the server is free to choose a smaller size // at will. OptionalLimit uint32 `protobuf:"varint,2,opt,name=optional_limit,json=optionalLimit,proto3" json:"optional_limit,omitempty"` // optional_cursor, if specified, indicates the cursor after which results // should resume being returned. The cursor can be found on the // BulkExportRelationshipsResponse object. OptionalCursor *Cursor `protobuf:"bytes,3,opt,name=optional_cursor,json=optionalCursor,proto3" json:"optional_cursor,omitempty"` // optional_relationship_filter, if specified, indicates the // filter to apply to each relationship to be exported. OptionalRelationshipFilter *RelationshipFilter `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
BulkExportRelationshipsRequest represents a resumable request for all relationships from the server.
func (*BulkExportRelationshipsRequest) CloneMessageVT ¶ added in v0.9.0
func (m *BulkExportRelationshipsRequest) CloneMessageVT() proto.Message
func (*BulkExportRelationshipsRequest) CloneVT ¶ added in v0.9.0
func (m *BulkExportRelationshipsRequest) CloneVT() *BulkExportRelationshipsRequest
func (*BulkExportRelationshipsRequest) Descriptor
deprecated
added in
v0.9.0
func (*BulkExportRelationshipsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BulkExportRelationshipsRequest.ProtoReflect.Descriptor instead.
func (*BulkExportRelationshipsRequest) EqualMessageVT ¶ added in v0.11.0
func (this *BulkExportRelationshipsRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*BulkExportRelationshipsRequest) EqualVT ¶ added in v0.11.0
func (this *BulkExportRelationshipsRequest) EqualVT(that *BulkExportRelationshipsRequest) bool
func (*BulkExportRelationshipsRequest) GetConsistency ¶ added in v0.9.0
func (x *BulkExportRelationshipsRequest) GetConsistency() *Consistency
func (*BulkExportRelationshipsRequest) GetOptionalCursor ¶ added in v0.9.0
func (x *BulkExportRelationshipsRequest) GetOptionalCursor() *Cursor
func (*BulkExportRelationshipsRequest) GetOptionalLimit ¶ added in v0.9.0
func (x *BulkExportRelationshipsRequest) GetOptionalLimit() uint32
func (*BulkExportRelationshipsRequest) GetOptionalRelationshipFilter ¶ added in v0.11.0
func (x *BulkExportRelationshipsRequest) GetOptionalRelationshipFilter() *RelationshipFilter
func (*BulkExportRelationshipsRequest) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *BulkExportRelationshipsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BulkExportRelationshipsRequest) MarshalToVT ¶ added in v0.9.0
func (m *BulkExportRelationshipsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*BulkExportRelationshipsRequest) MarshalVT ¶ added in v0.9.0
func (m *BulkExportRelationshipsRequest) MarshalVT() (dAtA []byte, err error)
func (*BulkExportRelationshipsRequest) ProtoMessage ¶ added in v0.9.0
func (*BulkExportRelationshipsRequest) ProtoMessage()
func (*BulkExportRelationshipsRequest) ProtoReflect ¶ added in v0.9.0
func (x *BulkExportRelationshipsRequest) ProtoReflect() protoreflect.Message
func (*BulkExportRelationshipsRequest) Reset ¶ added in v0.9.0
func (x *BulkExportRelationshipsRequest) Reset()
func (*BulkExportRelationshipsRequest) SizeVT ¶ added in v0.9.0
func (m *BulkExportRelationshipsRequest) SizeVT() (n int)
func (*BulkExportRelationshipsRequest) String ¶ added in v0.9.0
func (x *BulkExportRelationshipsRequest) String() string
func (*BulkExportRelationshipsRequest) UnmarshalVT ¶ added in v0.9.0
func (m *BulkExportRelationshipsRequest) UnmarshalVT(dAtA []byte) error
func (*BulkExportRelationshipsRequest) Validate ¶ added in v0.9.0
func (m *BulkExportRelationshipsRequest) Validate() error
Validate checks the field values on BulkExportRelationshipsRequest 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 (*BulkExportRelationshipsRequest) ValidateAll ¶ added in v0.9.0
func (m *BulkExportRelationshipsRequest) ValidateAll() error
ValidateAll checks the field values on BulkExportRelationshipsRequest 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 BulkExportRelationshipsRequestMultiError, or nil if none found.
type BulkExportRelationshipsRequestMultiError ¶ added in v0.9.0
type BulkExportRelationshipsRequestMultiError []error
BulkExportRelationshipsRequestMultiError is an error wrapping multiple validation errors returned by BulkExportRelationshipsRequest.ValidateAll() if the designated constraints aren't met.
func (BulkExportRelationshipsRequestMultiError) AllErrors ¶ added in v0.9.0
func (m BulkExportRelationshipsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BulkExportRelationshipsRequestMultiError) Error ¶ added in v0.9.0
func (m BulkExportRelationshipsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BulkExportRelationshipsRequestValidationError ¶ added in v0.9.0
type BulkExportRelationshipsRequestValidationError struct {
// contains filtered or unexported fields
}
BulkExportRelationshipsRequestValidationError is the validation error returned by BulkExportRelationshipsRequest.Validate if the designated constraints aren't met.
func (BulkExportRelationshipsRequestValidationError) Cause ¶ added in v0.9.0
func (e BulkExportRelationshipsRequestValidationError) Cause() error
Cause function returns cause value.
func (BulkExportRelationshipsRequestValidationError) Error ¶ added in v0.9.0
func (e BulkExportRelationshipsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BulkExportRelationshipsRequestValidationError) ErrorName ¶ added in v0.9.0
func (e BulkExportRelationshipsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BulkExportRelationshipsRequestValidationError) Field ¶ added in v0.9.0
func (e BulkExportRelationshipsRequestValidationError) Field() string
Field function returns field value.
func (BulkExportRelationshipsRequestValidationError) Key ¶ added in v0.9.0
func (e BulkExportRelationshipsRequestValidationError) Key() bool
Key function returns key value.
func (BulkExportRelationshipsRequestValidationError) Reason ¶ added in v0.9.0
func (e BulkExportRelationshipsRequestValidationError) Reason() string
Reason function returns reason value.
type BulkExportRelationshipsResponse ¶ added in v0.9.0
type BulkExportRelationshipsResponse struct { AfterResultCursor *Cursor `protobuf:"bytes,1,opt,name=after_result_cursor,json=afterResultCursor,proto3" json:"after_result_cursor,omitempty"` Relationships []*Relationship `protobuf:"bytes,2,rep,name=relationships,proto3" json:"relationships,omitempty"` // contains filtered or unexported fields }
BulkExportRelationshipsResponse is one page in a stream of relationship groups that meet the criteria specified by the originating request. The server will continue to stream back relationship groups as quickly as it can until all relationships have been transmitted back.
func (*BulkExportRelationshipsResponse) CloneMessageVT ¶ added in v0.9.0
func (m *BulkExportRelationshipsResponse) CloneMessageVT() proto.Message
func (*BulkExportRelationshipsResponse) CloneVT ¶ added in v0.9.0
func (m *BulkExportRelationshipsResponse) CloneVT() *BulkExportRelationshipsResponse
func (*BulkExportRelationshipsResponse) Descriptor
deprecated
added in
v0.9.0
func (*BulkExportRelationshipsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BulkExportRelationshipsResponse.ProtoReflect.Descriptor instead.
func (*BulkExportRelationshipsResponse) EqualMessageVT ¶ added in v0.11.0
func (this *BulkExportRelationshipsResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*BulkExportRelationshipsResponse) EqualVT ¶ added in v0.11.0
func (this *BulkExportRelationshipsResponse) EqualVT(that *BulkExportRelationshipsResponse) bool
func (*BulkExportRelationshipsResponse) GetAfterResultCursor ¶ added in v0.9.0
func (x *BulkExportRelationshipsResponse) GetAfterResultCursor() *Cursor
func (*BulkExportRelationshipsResponse) GetRelationships ¶ added in v0.9.0
func (x *BulkExportRelationshipsResponse) GetRelationships() []*Relationship
func (*BulkExportRelationshipsResponse) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *BulkExportRelationshipsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BulkExportRelationshipsResponse) MarshalToVT ¶ added in v0.9.0
func (m *BulkExportRelationshipsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*BulkExportRelationshipsResponse) MarshalVT ¶ added in v0.9.0
func (m *BulkExportRelationshipsResponse) MarshalVT() (dAtA []byte, err error)
func (*BulkExportRelationshipsResponse) ProtoMessage ¶ added in v0.9.0
func (*BulkExportRelationshipsResponse) ProtoMessage()
func (*BulkExportRelationshipsResponse) ProtoReflect ¶ added in v0.9.0
func (x *BulkExportRelationshipsResponse) ProtoReflect() protoreflect.Message
func (*BulkExportRelationshipsResponse) Reset ¶ added in v0.9.0
func (x *BulkExportRelationshipsResponse) Reset()
func (*BulkExportRelationshipsResponse) SizeVT ¶ added in v0.9.0
func (m *BulkExportRelationshipsResponse) SizeVT() (n int)
func (*BulkExportRelationshipsResponse) String ¶ added in v0.9.0
func (x *BulkExportRelationshipsResponse) String() string
func (*BulkExportRelationshipsResponse) UnmarshalVT ¶ added in v0.9.0
func (m *BulkExportRelationshipsResponse) UnmarshalVT(dAtA []byte) error
func (*BulkExportRelationshipsResponse) Validate ¶ added in v0.9.0
func (m *BulkExportRelationshipsResponse) Validate() error
Validate checks the field values on BulkExportRelationshipsResponse 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 (*BulkExportRelationshipsResponse) ValidateAll ¶ added in v0.9.0
func (m *BulkExportRelationshipsResponse) ValidateAll() error
ValidateAll checks the field values on BulkExportRelationshipsResponse 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 BulkExportRelationshipsResponseMultiError, or nil if none found.
type BulkExportRelationshipsResponseMultiError ¶ added in v0.9.0
type BulkExportRelationshipsResponseMultiError []error
BulkExportRelationshipsResponseMultiError is an error wrapping multiple validation errors returned by BulkExportRelationshipsResponse.ValidateAll() if the designated constraints aren't met.
func (BulkExportRelationshipsResponseMultiError) AllErrors ¶ added in v0.9.0
func (m BulkExportRelationshipsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BulkExportRelationshipsResponseMultiError) Error ¶ added in v0.9.0
func (m BulkExportRelationshipsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BulkExportRelationshipsResponseValidationError ¶ added in v0.9.0
type BulkExportRelationshipsResponseValidationError struct {
// contains filtered or unexported fields
}
BulkExportRelationshipsResponseValidationError is the validation error returned by BulkExportRelationshipsResponse.Validate if the designated constraints aren't met.
func (BulkExportRelationshipsResponseValidationError) Cause ¶ added in v0.9.0
func (e BulkExportRelationshipsResponseValidationError) Cause() error
Cause function returns cause value.
func (BulkExportRelationshipsResponseValidationError) Error ¶ added in v0.9.0
func (e BulkExportRelationshipsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (BulkExportRelationshipsResponseValidationError) ErrorName ¶ added in v0.9.0
func (e BulkExportRelationshipsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (BulkExportRelationshipsResponseValidationError) Field ¶ added in v0.9.0
func (e BulkExportRelationshipsResponseValidationError) Field() string
Field function returns field value.
func (BulkExportRelationshipsResponseValidationError) Key ¶ added in v0.9.0
func (e BulkExportRelationshipsResponseValidationError) Key() bool
Key function returns key value.
func (BulkExportRelationshipsResponseValidationError) Reason ¶ added in v0.9.0
func (e BulkExportRelationshipsResponseValidationError) Reason() string
Reason function returns reason value.
type BulkImportRelationshipsRequest ¶ added in v0.9.0
type BulkImportRelationshipsRequest struct { Relationships []*Relationship `protobuf:"bytes,1,rep,name=relationships,proto3" json:"relationships,omitempty"` // contains filtered or unexported fields }
BulkImportRelationshipsRequest represents one batch of the streaming BulkImportRelationships API. The maximum size is only limited by the backing datastore, and optimal size should be determined by the calling client experimentally.
func (*BulkImportRelationshipsRequest) CloneMessageVT ¶ added in v0.9.0
func (m *BulkImportRelationshipsRequest) CloneMessageVT() proto.Message
func (*BulkImportRelationshipsRequest) CloneVT ¶ added in v0.9.0
func (m *BulkImportRelationshipsRequest) CloneVT() *BulkImportRelationshipsRequest
func (*BulkImportRelationshipsRequest) Descriptor
deprecated
added in
v0.9.0
func (*BulkImportRelationshipsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BulkImportRelationshipsRequest.ProtoReflect.Descriptor instead.
func (*BulkImportRelationshipsRequest) EqualMessageVT ¶ added in v0.11.0
func (this *BulkImportRelationshipsRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*BulkImportRelationshipsRequest) EqualVT ¶ added in v0.11.0
func (this *BulkImportRelationshipsRequest) EqualVT(that *BulkImportRelationshipsRequest) bool
func (*BulkImportRelationshipsRequest) GetRelationships ¶ added in v0.9.0
func (x *BulkImportRelationshipsRequest) GetRelationships() []*Relationship
func (*BulkImportRelationshipsRequest) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *BulkImportRelationshipsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BulkImportRelationshipsRequest) MarshalToVT ¶ added in v0.9.0
func (m *BulkImportRelationshipsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*BulkImportRelationshipsRequest) MarshalVT ¶ added in v0.9.0
func (m *BulkImportRelationshipsRequest) MarshalVT() (dAtA []byte, err error)
func (*BulkImportRelationshipsRequest) ProtoMessage ¶ added in v0.9.0
func (*BulkImportRelationshipsRequest) ProtoMessage()
func (*BulkImportRelationshipsRequest) ProtoReflect ¶ added in v0.9.0
func (x *BulkImportRelationshipsRequest) ProtoReflect() protoreflect.Message
func (*BulkImportRelationshipsRequest) Reset ¶ added in v0.9.0
func (x *BulkImportRelationshipsRequest) Reset()
func (*BulkImportRelationshipsRequest) SizeVT ¶ added in v0.9.0
func (m *BulkImportRelationshipsRequest) SizeVT() (n int)
func (*BulkImportRelationshipsRequest) String ¶ added in v0.9.0
func (x *BulkImportRelationshipsRequest) String() string
func (*BulkImportRelationshipsRequest) UnmarshalVT ¶ added in v0.9.0
func (m *BulkImportRelationshipsRequest) UnmarshalVT(dAtA []byte) error
func (*BulkImportRelationshipsRequest) Validate ¶ added in v0.9.0
func (m *BulkImportRelationshipsRequest) Validate() error
Validate checks the field values on BulkImportRelationshipsRequest 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 (*BulkImportRelationshipsRequest) ValidateAll ¶ added in v0.9.0
func (m *BulkImportRelationshipsRequest) ValidateAll() error
ValidateAll checks the field values on BulkImportRelationshipsRequest 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 BulkImportRelationshipsRequestMultiError, or nil if none found.
type BulkImportRelationshipsRequestMultiError ¶ added in v0.9.0
type BulkImportRelationshipsRequestMultiError []error
BulkImportRelationshipsRequestMultiError is an error wrapping multiple validation errors returned by BulkImportRelationshipsRequest.ValidateAll() if the designated constraints aren't met.
func (BulkImportRelationshipsRequestMultiError) AllErrors ¶ added in v0.9.0
func (m BulkImportRelationshipsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BulkImportRelationshipsRequestMultiError) Error ¶ added in v0.9.0
func (m BulkImportRelationshipsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BulkImportRelationshipsRequestValidationError ¶ added in v0.9.0
type BulkImportRelationshipsRequestValidationError struct {
// contains filtered or unexported fields
}
BulkImportRelationshipsRequestValidationError is the validation error returned by BulkImportRelationshipsRequest.Validate if the designated constraints aren't met.
func (BulkImportRelationshipsRequestValidationError) Cause ¶ added in v0.9.0
func (e BulkImportRelationshipsRequestValidationError) Cause() error
Cause function returns cause value.
func (BulkImportRelationshipsRequestValidationError) Error ¶ added in v0.9.0
func (e BulkImportRelationshipsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BulkImportRelationshipsRequestValidationError) ErrorName ¶ added in v0.9.0
func (e BulkImportRelationshipsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BulkImportRelationshipsRequestValidationError) Field ¶ added in v0.9.0
func (e BulkImportRelationshipsRequestValidationError) Field() string
Field function returns field value.
func (BulkImportRelationshipsRequestValidationError) Key ¶ added in v0.9.0
func (e BulkImportRelationshipsRequestValidationError) Key() bool
Key function returns key value.
func (BulkImportRelationshipsRequestValidationError) Reason ¶ added in v0.9.0
func (e BulkImportRelationshipsRequestValidationError) Reason() string
Reason function returns reason value.
type BulkImportRelationshipsResponse ¶ added in v0.9.0
type BulkImportRelationshipsResponse struct { NumLoaded uint64 `protobuf:"varint,1,opt,name=num_loaded,json=numLoaded,proto3" json:"num_loaded,omitempty"` // contains filtered or unexported fields }
BulkImportRelationshipsResponse is returned on successful completion of the bulk load stream, and contains the total number of relationships loaded.
func (*BulkImportRelationshipsResponse) CloneMessageVT ¶ added in v0.9.0
func (m *BulkImportRelationshipsResponse) CloneMessageVT() proto.Message
func (*BulkImportRelationshipsResponse) CloneVT ¶ added in v0.9.0
func (m *BulkImportRelationshipsResponse) CloneVT() *BulkImportRelationshipsResponse
func (*BulkImportRelationshipsResponse) Descriptor
deprecated
added in
v0.9.0
func (*BulkImportRelationshipsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BulkImportRelationshipsResponse.ProtoReflect.Descriptor instead.
func (*BulkImportRelationshipsResponse) EqualMessageVT ¶ added in v0.11.0
func (this *BulkImportRelationshipsResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*BulkImportRelationshipsResponse) EqualVT ¶ added in v0.11.0
func (this *BulkImportRelationshipsResponse) EqualVT(that *BulkImportRelationshipsResponse) bool
func (*BulkImportRelationshipsResponse) GetNumLoaded ¶ added in v0.9.0
func (x *BulkImportRelationshipsResponse) GetNumLoaded() uint64
func (*BulkImportRelationshipsResponse) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *BulkImportRelationshipsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BulkImportRelationshipsResponse) MarshalToVT ¶ added in v0.9.0
func (m *BulkImportRelationshipsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*BulkImportRelationshipsResponse) MarshalVT ¶ added in v0.9.0
func (m *BulkImportRelationshipsResponse) MarshalVT() (dAtA []byte, err error)
func (*BulkImportRelationshipsResponse) ProtoMessage ¶ added in v0.9.0
func (*BulkImportRelationshipsResponse) ProtoMessage()
func (*BulkImportRelationshipsResponse) ProtoReflect ¶ added in v0.9.0
func (x *BulkImportRelationshipsResponse) ProtoReflect() protoreflect.Message
func (*BulkImportRelationshipsResponse) Reset ¶ added in v0.9.0
func (x *BulkImportRelationshipsResponse) Reset()
func (*BulkImportRelationshipsResponse) SizeVT ¶ added in v0.9.0
func (m *BulkImportRelationshipsResponse) SizeVT() (n int)
func (*BulkImportRelationshipsResponse) String ¶ added in v0.9.0
func (x *BulkImportRelationshipsResponse) String() string
func (*BulkImportRelationshipsResponse) UnmarshalVT ¶ added in v0.9.0
func (m *BulkImportRelationshipsResponse) UnmarshalVT(dAtA []byte) error
func (*BulkImportRelationshipsResponse) Validate ¶ added in v0.9.0
func (m *BulkImportRelationshipsResponse) Validate() error
Validate checks the field values on BulkImportRelationshipsResponse 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 (*BulkImportRelationshipsResponse) ValidateAll ¶ added in v0.9.0
func (m *BulkImportRelationshipsResponse) ValidateAll() error
ValidateAll checks the field values on BulkImportRelationshipsResponse 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 BulkImportRelationshipsResponseMultiError, or nil if none found.
type BulkImportRelationshipsResponseMultiError ¶ added in v0.9.0
type BulkImportRelationshipsResponseMultiError []error
BulkImportRelationshipsResponseMultiError is an error wrapping multiple validation errors returned by BulkImportRelationshipsResponse.ValidateAll() if the designated constraints aren't met.
func (BulkImportRelationshipsResponseMultiError) AllErrors ¶ added in v0.9.0
func (m BulkImportRelationshipsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BulkImportRelationshipsResponseMultiError) Error ¶ added in v0.9.0
func (m BulkImportRelationshipsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BulkImportRelationshipsResponseValidationError ¶ added in v0.9.0
type BulkImportRelationshipsResponseValidationError struct {
// contains filtered or unexported fields
}
BulkImportRelationshipsResponseValidationError is the validation error returned by BulkImportRelationshipsResponse.Validate if the designated constraints aren't met.
func (BulkImportRelationshipsResponseValidationError) Cause ¶ added in v0.9.0
func (e BulkImportRelationshipsResponseValidationError) Cause() error
Cause function returns cause value.
func (BulkImportRelationshipsResponseValidationError) Error ¶ added in v0.9.0
func (e BulkImportRelationshipsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (BulkImportRelationshipsResponseValidationError) ErrorName ¶ added in v0.9.0
func (e BulkImportRelationshipsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (BulkImportRelationshipsResponseValidationError) Field ¶ added in v0.9.0
func (e BulkImportRelationshipsResponseValidationError) Field() string
Field function returns field value.
func (BulkImportRelationshipsResponseValidationError) Key ¶ added in v0.9.0
func (e BulkImportRelationshipsResponseValidationError) Key() bool
Key function returns key value.
func (BulkImportRelationshipsResponseValidationError) Reason ¶ added in v0.9.0
func (e BulkImportRelationshipsResponseValidationError) Reason() string
Reason function returns reason value.
type CaveatEvalInfo ¶ added in v0.8.0
type CaveatEvalInfo struct { // expression is the expression that was evaluated. Expression string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"` // result is the result of the evaluation. Result CaveatEvalInfo_Result `protobuf:"varint,2,opt,name=result,proto3,enum=authzed.api.v1.CaveatEvalInfo_Result" json:"result,omitempty"` // context consists of any named values that were used for evaluating the caveat expression. Context *structpb.Struct `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` // partial_caveat_info holds information of a partially-evaluated caveated response, if applicable. PartialCaveatInfo *PartialCaveatInfo `protobuf:"bytes,4,opt,name=partial_caveat_info,json=partialCaveatInfo,proto3" json:"partial_caveat_info,omitempty"` // caveat_name is the name of the caveat that was executed, if applicable. CaveatName string `protobuf:"bytes,5,opt,name=caveat_name,json=caveatName,proto3" json:"caveat_name,omitempty"` // contains filtered or unexported fields }
CaveatEvalInfo holds information about a caveat expression that was evaluated.
func (*CaveatEvalInfo) CloneMessageVT ¶ added in v0.9.0
func (m *CaveatEvalInfo) CloneMessageVT() proto.Message
func (*CaveatEvalInfo) CloneVT ¶ added in v0.8.0
func (m *CaveatEvalInfo) CloneVT() *CaveatEvalInfo
func (*CaveatEvalInfo) Descriptor
deprecated
added in
v0.8.0
func (*CaveatEvalInfo) Descriptor() ([]byte, []int)
Deprecated: Use CaveatEvalInfo.ProtoReflect.Descriptor instead.
func (*CaveatEvalInfo) EqualMessageVT ¶ added in v0.11.0
func (this *CaveatEvalInfo) EqualMessageVT(thatMsg proto.Message) bool
func (*CaveatEvalInfo) EqualVT ¶ added in v0.11.0
func (this *CaveatEvalInfo) EqualVT(that *CaveatEvalInfo) bool
func (*CaveatEvalInfo) GetCaveatName ¶ added in v0.8.0
func (x *CaveatEvalInfo) GetCaveatName() string
func (*CaveatEvalInfo) GetContext ¶ added in v0.8.0
func (x *CaveatEvalInfo) GetContext() *structpb.Struct
func (*CaveatEvalInfo) GetExpression ¶ added in v0.8.0
func (x *CaveatEvalInfo) GetExpression() string
func (*CaveatEvalInfo) GetPartialCaveatInfo ¶ added in v0.8.0
func (x *CaveatEvalInfo) GetPartialCaveatInfo() *PartialCaveatInfo
func (*CaveatEvalInfo) GetResult ¶ added in v0.8.0
func (x *CaveatEvalInfo) GetResult() CaveatEvalInfo_Result
func (*CaveatEvalInfo) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *CaveatEvalInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CaveatEvalInfo) MarshalToVT ¶ added in v0.8.0
func (m *CaveatEvalInfo) MarshalToVT(dAtA []byte) (int, error)
func (*CaveatEvalInfo) MarshalVT ¶ added in v0.8.0
func (m *CaveatEvalInfo) MarshalVT() (dAtA []byte, err error)
func (*CaveatEvalInfo) ProtoMessage ¶ added in v0.8.0
func (*CaveatEvalInfo) ProtoMessage()
func (*CaveatEvalInfo) ProtoReflect ¶ added in v0.8.0
func (x *CaveatEvalInfo) ProtoReflect() protoreflect.Message
func (*CaveatEvalInfo) Reset ¶ added in v0.8.0
func (x *CaveatEvalInfo) Reset()
func (*CaveatEvalInfo) SizeVT ¶ added in v0.8.0
func (m *CaveatEvalInfo) SizeVT() (n int)
func (*CaveatEvalInfo) String ¶ added in v0.8.0
func (x *CaveatEvalInfo) String() string
func (*CaveatEvalInfo) UnmarshalVT ¶ added in v0.8.0
func (m *CaveatEvalInfo) UnmarshalVT(dAtA []byte) error
func (*CaveatEvalInfo) Validate ¶ added in v0.8.0
func (m *CaveatEvalInfo) Validate() error
Validate checks the field values on CaveatEvalInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CaveatEvalInfo) ValidateAll ¶ added in v0.8.0
func (m *CaveatEvalInfo) ValidateAll() error
ValidateAll checks the field values on CaveatEvalInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CaveatEvalInfoMultiError, or nil if none found.
type CaveatEvalInfoMultiError ¶ added in v0.8.0
type CaveatEvalInfoMultiError []error
CaveatEvalInfoMultiError is an error wrapping multiple validation errors returned by CaveatEvalInfo.ValidateAll() if the designated constraints aren't met.
func (CaveatEvalInfoMultiError) AllErrors ¶ added in v0.8.0
func (m CaveatEvalInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CaveatEvalInfoMultiError) Error ¶ added in v0.8.0
func (m CaveatEvalInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CaveatEvalInfoValidationError ¶ added in v0.8.0
type CaveatEvalInfoValidationError struct {
// contains filtered or unexported fields
}
CaveatEvalInfoValidationError is the validation error returned by CaveatEvalInfo.Validate if the designated constraints aren't met.
func (CaveatEvalInfoValidationError) Cause ¶ added in v0.8.0
func (e CaveatEvalInfoValidationError) Cause() error
Cause function returns cause value.
func (CaveatEvalInfoValidationError) Error ¶ added in v0.8.0
func (e CaveatEvalInfoValidationError) Error() string
Error satisfies the builtin error interface
func (CaveatEvalInfoValidationError) ErrorName ¶ added in v0.8.0
func (e CaveatEvalInfoValidationError) ErrorName() string
ErrorName returns error name.
func (CaveatEvalInfoValidationError) Field ¶ added in v0.8.0
func (e CaveatEvalInfoValidationError) Field() string
Field function returns field value.
func (CaveatEvalInfoValidationError) Key ¶ added in v0.8.0
func (e CaveatEvalInfoValidationError) Key() bool
Key function returns key value.
func (CaveatEvalInfoValidationError) Reason ¶ added in v0.8.0
func (e CaveatEvalInfoValidationError) Reason() string
Reason function returns reason value.
type CaveatEvalInfo_Result ¶ added in v0.8.0
type CaveatEvalInfo_Result int32
const ( CaveatEvalInfo_RESULT_UNSPECIFIED CaveatEvalInfo_Result = 0 CaveatEvalInfo_RESULT_UNEVALUATED CaveatEvalInfo_Result = 1 CaveatEvalInfo_RESULT_FALSE CaveatEvalInfo_Result = 2 CaveatEvalInfo_RESULT_TRUE CaveatEvalInfo_Result = 3 CaveatEvalInfo_RESULT_MISSING_SOME_CONTEXT CaveatEvalInfo_Result = 4 )
func (CaveatEvalInfo_Result) Descriptor ¶ added in v0.8.0
func (CaveatEvalInfo_Result) Descriptor() protoreflect.EnumDescriptor
func (CaveatEvalInfo_Result) Enum ¶ added in v0.8.0
func (x CaveatEvalInfo_Result) Enum() *CaveatEvalInfo_Result
func (CaveatEvalInfo_Result) EnumDescriptor
deprecated
added in
v0.8.0
func (CaveatEvalInfo_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use CaveatEvalInfo_Result.Descriptor instead.
func (CaveatEvalInfo_Result) Number ¶ added in v0.8.0
func (x CaveatEvalInfo_Result) Number() protoreflect.EnumNumber
func (CaveatEvalInfo_Result) String ¶ added in v0.8.0
func (x CaveatEvalInfo_Result) String() string
func (CaveatEvalInfo_Result) Type ¶ added in v0.8.0
func (CaveatEvalInfo_Result) Type() protoreflect.EnumType
type CheckBulkPermissionsPair ¶ added in v0.11.0
type CheckBulkPermissionsPair struct { Request *CheckBulkPermissionsRequestItem `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // Types that are assignable to Response: // // *CheckBulkPermissionsPair_Item // *CheckBulkPermissionsPair_Error Response isCheckBulkPermissionsPair_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*CheckBulkPermissionsPair) CloneMessageVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair) CloneMessageVT() proto.Message
func (*CheckBulkPermissionsPair) CloneVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair) CloneVT() *CheckBulkPermissionsPair
func (*CheckBulkPermissionsPair) Descriptor
deprecated
added in
v0.11.0
func (*CheckBulkPermissionsPair) Descriptor() ([]byte, []int)
Deprecated: Use CheckBulkPermissionsPair.ProtoReflect.Descriptor instead.
func (*CheckBulkPermissionsPair) EqualMessageVT ¶ added in v0.11.0
func (this *CheckBulkPermissionsPair) EqualMessageVT(thatMsg proto.Message) bool
func (*CheckBulkPermissionsPair) EqualVT ¶ added in v0.11.0
func (this *CheckBulkPermissionsPair) EqualVT(that *CheckBulkPermissionsPair) bool
func (*CheckBulkPermissionsPair) GetError ¶ added in v0.11.0
func (x *CheckBulkPermissionsPair) GetError() *status.Status
func (*CheckBulkPermissionsPair) GetItem ¶ added in v0.11.0
func (x *CheckBulkPermissionsPair) GetItem() *CheckBulkPermissionsResponseItem
func (*CheckBulkPermissionsPair) GetRequest ¶ added in v0.11.0
func (x *CheckBulkPermissionsPair) GetRequest() *CheckBulkPermissionsRequestItem
func (*CheckBulkPermissionsPair) GetResponse ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair) GetResponse() isCheckBulkPermissionsPair_Response
func (*CheckBulkPermissionsPair) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckBulkPermissionsPair) MarshalToVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair) MarshalToVT(dAtA []byte) (int, error)
func (*CheckBulkPermissionsPair) MarshalVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair) MarshalVT() (dAtA []byte, err error)
func (*CheckBulkPermissionsPair) ProtoMessage ¶ added in v0.11.0
func (*CheckBulkPermissionsPair) ProtoMessage()
func (*CheckBulkPermissionsPair) ProtoReflect ¶ added in v0.11.0
func (x *CheckBulkPermissionsPair) ProtoReflect() protoreflect.Message
func (*CheckBulkPermissionsPair) Reset ¶ added in v0.11.0
func (x *CheckBulkPermissionsPair) Reset()
func (*CheckBulkPermissionsPair) SizeVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair) SizeVT() (n int)
func (*CheckBulkPermissionsPair) String ¶ added in v0.11.0
func (x *CheckBulkPermissionsPair) String() string
func (*CheckBulkPermissionsPair) UnmarshalVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair) UnmarshalVT(dAtA []byte) error
func (*CheckBulkPermissionsPair) Validate ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair) Validate() error
Validate checks the field values on CheckBulkPermissionsPair 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 (*CheckBulkPermissionsPair) ValidateAll ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair) ValidateAll() error
ValidateAll checks the field values on CheckBulkPermissionsPair 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 CheckBulkPermissionsPairMultiError, or nil if none found.
type CheckBulkPermissionsPairMultiError ¶ added in v0.11.0
type CheckBulkPermissionsPairMultiError []error
CheckBulkPermissionsPairMultiError is an error wrapping multiple validation errors returned by CheckBulkPermissionsPair.ValidateAll() if the designated constraints aren't met.
func (CheckBulkPermissionsPairMultiError) AllErrors ¶ added in v0.11.0
func (m CheckBulkPermissionsPairMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckBulkPermissionsPairMultiError) Error ¶ added in v0.11.0
func (m CheckBulkPermissionsPairMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckBulkPermissionsPairValidationError ¶ added in v0.11.0
type CheckBulkPermissionsPairValidationError struct {
// contains filtered or unexported fields
}
CheckBulkPermissionsPairValidationError is the validation error returned by CheckBulkPermissionsPair.Validate if the designated constraints aren't met.
func (CheckBulkPermissionsPairValidationError) Cause ¶ added in v0.11.0
func (e CheckBulkPermissionsPairValidationError) Cause() error
Cause function returns cause value.
func (CheckBulkPermissionsPairValidationError) Error ¶ added in v0.11.0
func (e CheckBulkPermissionsPairValidationError) Error() string
Error satisfies the builtin error interface
func (CheckBulkPermissionsPairValidationError) ErrorName ¶ added in v0.11.0
func (e CheckBulkPermissionsPairValidationError) ErrorName() string
ErrorName returns error name.
func (CheckBulkPermissionsPairValidationError) Field ¶ added in v0.11.0
func (e CheckBulkPermissionsPairValidationError) Field() string
Field function returns field value.
func (CheckBulkPermissionsPairValidationError) Key ¶ added in v0.11.0
func (e CheckBulkPermissionsPairValidationError) Key() bool
Key function returns key value.
func (CheckBulkPermissionsPairValidationError) Reason ¶ added in v0.11.0
func (e CheckBulkPermissionsPairValidationError) Reason() string
Reason function returns reason value.
type CheckBulkPermissionsPair_Error ¶ added in v0.11.0
type CheckBulkPermissionsPair_Error struct {
Error *status.Status `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}
func (*CheckBulkPermissionsPair_Error) CloneVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair_Error) CloneVT() isCheckBulkPermissionsPair_Response
func (*CheckBulkPermissionsPair_Error) EqualVT ¶ added in v0.11.0
func (this *CheckBulkPermissionsPair_Error) EqualVT(thatIface isCheckBulkPermissionsPair_Response) bool
func (*CheckBulkPermissionsPair_Error) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair_Error) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckBulkPermissionsPair_Error) MarshalToVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair_Error) MarshalToVT(dAtA []byte) (int, error)
func (*CheckBulkPermissionsPair_Error) SizeVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair_Error) SizeVT() (n int)
type CheckBulkPermissionsPair_Item ¶ added in v0.11.0
type CheckBulkPermissionsPair_Item struct {
Item *CheckBulkPermissionsResponseItem `protobuf:"bytes,2,opt,name=item,proto3,oneof"`
}
func (*CheckBulkPermissionsPair_Item) CloneVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair_Item) CloneVT() isCheckBulkPermissionsPair_Response
func (*CheckBulkPermissionsPair_Item) EqualVT ¶ added in v0.11.0
func (this *CheckBulkPermissionsPair_Item) EqualVT(thatIface isCheckBulkPermissionsPair_Response) bool
func (*CheckBulkPermissionsPair_Item) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair_Item) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckBulkPermissionsPair_Item) MarshalToVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair_Item) MarshalToVT(dAtA []byte) (int, error)
func (*CheckBulkPermissionsPair_Item) SizeVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsPair_Item) SizeVT() (n int)
type CheckBulkPermissionsRequest ¶ added in v0.11.0
type CheckBulkPermissionsRequest struct { Consistency *Consistency `protobuf:"bytes,1,opt,name=consistency,proto3" json:"consistency,omitempty"` Items []*CheckBulkPermissionsRequestItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
CheckBulkPermissionsRequest issues a check on whether a subject has permission or is a member of a relation on a specific resource for each item in the list.
The ordering of the items in the response is maintained in the response. Checks with the same subject/permission will automatically be batched for performance optimization.
func (*CheckBulkPermissionsRequest) CloneMessageVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequest) CloneMessageVT() proto.Message
func (*CheckBulkPermissionsRequest) CloneVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequest) CloneVT() *CheckBulkPermissionsRequest
func (*CheckBulkPermissionsRequest) Descriptor
deprecated
added in
v0.11.0
func (*CheckBulkPermissionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckBulkPermissionsRequest.ProtoReflect.Descriptor instead.
func (*CheckBulkPermissionsRequest) EqualMessageVT ¶ added in v0.11.0
func (this *CheckBulkPermissionsRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*CheckBulkPermissionsRequest) EqualVT ¶ added in v0.11.0
func (this *CheckBulkPermissionsRequest) EqualVT(that *CheckBulkPermissionsRequest) bool
func (*CheckBulkPermissionsRequest) GetConsistency ¶ added in v0.11.0
func (x *CheckBulkPermissionsRequest) GetConsistency() *Consistency
func (*CheckBulkPermissionsRequest) GetItems ¶ added in v0.11.0
func (x *CheckBulkPermissionsRequest) GetItems() []*CheckBulkPermissionsRequestItem
func (*CheckBulkPermissionsRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckBulkPermissionsRequest) MarshalToVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*CheckBulkPermissionsRequest) MarshalVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequest) MarshalVT() (dAtA []byte, err error)
func (*CheckBulkPermissionsRequest) ProtoMessage ¶ added in v0.11.0
func (*CheckBulkPermissionsRequest) ProtoMessage()
func (*CheckBulkPermissionsRequest) ProtoReflect ¶ added in v0.11.0
func (x *CheckBulkPermissionsRequest) ProtoReflect() protoreflect.Message
func (*CheckBulkPermissionsRequest) Reset ¶ added in v0.11.0
func (x *CheckBulkPermissionsRequest) Reset()
func (*CheckBulkPermissionsRequest) SizeVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequest) SizeVT() (n int)
func (*CheckBulkPermissionsRequest) String ¶ added in v0.11.0
func (x *CheckBulkPermissionsRequest) String() string
func (*CheckBulkPermissionsRequest) UnmarshalVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequest) UnmarshalVT(dAtA []byte) error
func (*CheckBulkPermissionsRequest) Validate ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequest) Validate() error
Validate checks the field values on CheckBulkPermissionsRequest 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 (*CheckBulkPermissionsRequest) ValidateAll ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequest) ValidateAll() error
ValidateAll checks the field values on CheckBulkPermissionsRequest 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 CheckBulkPermissionsRequestMultiError, or nil if none found.
type CheckBulkPermissionsRequestItem ¶ added in v0.11.0
type CheckBulkPermissionsRequestItem struct { Resource *ObjectReference `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"` Subject *SubjectReference `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` Context *structpb.Struct `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
func (*CheckBulkPermissionsRequestItem) CloneMessageVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequestItem) CloneMessageVT() proto.Message
func (*CheckBulkPermissionsRequestItem) CloneVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequestItem) CloneVT() *CheckBulkPermissionsRequestItem
func (*CheckBulkPermissionsRequestItem) Descriptor
deprecated
added in
v0.11.0
func (*CheckBulkPermissionsRequestItem) Descriptor() ([]byte, []int)
Deprecated: Use CheckBulkPermissionsRequestItem.ProtoReflect.Descriptor instead.
func (*CheckBulkPermissionsRequestItem) EqualMessageVT ¶ added in v0.11.0
func (this *CheckBulkPermissionsRequestItem) EqualMessageVT(thatMsg proto.Message) bool
func (*CheckBulkPermissionsRequestItem) EqualVT ¶ added in v0.11.0
func (this *CheckBulkPermissionsRequestItem) EqualVT(that *CheckBulkPermissionsRequestItem) bool
func (*CheckBulkPermissionsRequestItem) GetContext ¶ added in v0.11.0
func (x *CheckBulkPermissionsRequestItem) GetContext() *structpb.Struct
func (*CheckBulkPermissionsRequestItem) GetPermission ¶ added in v0.11.0
func (x *CheckBulkPermissionsRequestItem) GetPermission() string
func (*CheckBulkPermissionsRequestItem) GetResource ¶ added in v0.11.0
func (x *CheckBulkPermissionsRequestItem) GetResource() *ObjectReference
func (*CheckBulkPermissionsRequestItem) GetSubject ¶ added in v0.11.0
func (x *CheckBulkPermissionsRequestItem) GetSubject() *SubjectReference
func (*CheckBulkPermissionsRequestItem) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequestItem) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckBulkPermissionsRequestItem) MarshalToVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequestItem) MarshalToVT(dAtA []byte) (int, error)
func (*CheckBulkPermissionsRequestItem) MarshalVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequestItem) MarshalVT() (dAtA []byte, err error)
func (*CheckBulkPermissionsRequestItem) ProtoMessage ¶ added in v0.11.0
func (*CheckBulkPermissionsRequestItem) ProtoMessage()
func (*CheckBulkPermissionsRequestItem) ProtoReflect ¶ added in v0.11.0
func (x *CheckBulkPermissionsRequestItem) ProtoReflect() protoreflect.Message
func (*CheckBulkPermissionsRequestItem) Reset ¶ added in v0.11.0
func (x *CheckBulkPermissionsRequestItem) Reset()
func (*CheckBulkPermissionsRequestItem) SizeVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequestItem) SizeVT() (n int)
func (*CheckBulkPermissionsRequestItem) String ¶ added in v0.11.0
func (x *CheckBulkPermissionsRequestItem) String() string
func (*CheckBulkPermissionsRequestItem) UnmarshalVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequestItem) UnmarshalVT(dAtA []byte) error
func (*CheckBulkPermissionsRequestItem) Validate ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequestItem) Validate() error
Validate checks the field values on CheckBulkPermissionsRequestItem 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 (*CheckBulkPermissionsRequestItem) ValidateAll ¶ added in v0.11.0
func (m *CheckBulkPermissionsRequestItem) ValidateAll() error
ValidateAll checks the field values on CheckBulkPermissionsRequestItem 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 CheckBulkPermissionsRequestItemMultiError, or nil if none found.
type CheckBulkPermissionsRequestItemMultiError ¶ added in v0.11.0
type CheckBulkPermissionsRequestItemMultiError []error
CheckBulkPermissionsRequestItemMultiError is an error wrapping multiple validation errors returned by CheckBulkPermissionsRequestItem.ValidateAll() if the designated constraints aren't met.
func (CheckBulkPermissionsRequestItemMultiError) AllErrors ¶ added in v0.11.0
func (m CheckBulkPermissionsRequestItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckBulkPermissionsRequestItemMultiError) Error ¶ added in v0.11.0
func (m CheckBulkPermissionsRequestItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckBulkPermissionsRequestItemValidationError ¶ added in v0.11.0
type CheckBulkPermissionsRequestItemValidationError struct {
// contains filtered or unexported fields
}
CheckBulkPermissionsRequestItemValidationError is the validation error returned by CheckBulkPermissionsRequestItem.Validate if the designated constraints aren't met.
func (CheckBulkPermissionsRequestItemValidationError) Cause ¶ added in v0.11.0
func (e CheckBulkPermissionsRequestItemValidationError) Cause() error
Cause function returns cause value.
func (CheckBulkPermissionsRequestItemValidationError) Error ¶ added in v0.11.0
func (e CheckBulkPermissionsRequestItemValidationError) Error() string
Error satisfies the builtin error interface
func (CheckBulkPermissionsRequestItemValidationError) ErrorName ¶ added in v0.11.0
func (e CheckBulkPermissionsRequestItemValidationError) ErrorName() string
ErrorName returns error name.
func (CheckBulkPermissionsRequestItemValidationError) Field ¶ added in v0.11.0
func (e CheckBulkPermissionsRequestItemValidationError) Field() string
Field function returns field value.
func (CheckBulkPermissionsRequestItemValidationError) Key ¶ added in v0.11.0
func (e CheckBulkPermissionsRequestItemValidationError) Key() bool
Key function returns key value.
func (CheckBulkPermissionsRequestItemValidationError) Reason ¶ added in v0.11.0
func (e CheckBulkPermissionsRequestItemValidationError) Reason() string
Reason function returns reason value.
type CheckBulkPermissionsRequestMultiError ¶ added in v0.11.0
type CheckBulkPermissionsRequestMultiError []error
CheckBulkPermissionsRequestMultiError is an error wrapping multiple validation errors returned by CheckBulkPermissionsRequest.ValidateAll() if the designated constraints aren't met.
func (CheckBulkPermissionsRequestMultiError) AllErrors ¶ added in v0.11.0
func (m CheckBulkPermissionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckBulkPermissionsRequestMultiError) Error ¶ added in v0.11.0
func (m CheckBulkPermissionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckBulkPermissionsRequestValidationError ¶ added in v0.11.0
type CheckBulkPermissionsRequestValidationError struct {
// contains filtered or unexported fields
}
CheckBulkPermissionsRequestValidationError is the validation error returned by CheckBulkPermissionsRequest.Validate if the designated constraints aren't met.
func (CheckBulkPermissionsRequestValidationError) Cause ¶ added in v0.11.0
func (e CheckBulkPermissionsRequestValidationError) Cause() error
Cause function returns cause value.
func (CheckBulkPermissionsRequestValidationError) Error ¶ added in v0.11.0
func (e CheckBulkPermissionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CheckBulkPermissionsRequestValidationError) ErrorName ¶ added in v0.11.0
func (e CheckBulkPermissionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CheckBulkPermissionsRequestValidationError) Field ¶ added in v0.11.0
func (e CheckBulkPermissionsRequestValidationError) Field() string
Field function returns field value.
func (CheckBulkPermissionsRequestValidationError) Key ¶ added in v0.11.0
func (e CheckBulkPermissionsRequestValidationError) Key() bool
Key function returns key value.
func (CheckBulkPermissionsRequestValidationError) Reason ¶ added in v0.11.0
func (e CheckBulkPermissionsRequestValidationError) Reason() string
Reason function returns reason value.
type CheckBulkPermissionsResponse ¶ added in v0.11.0
type CheckBulkPermissionsResponse struct { CheckedAt *ZedToken `protobuf:"bytes,1,opt,name=checked_at,json=checkedAt,proto3" json:"checked_at,omitempty"` Pairs []*CheckBulkPermissionsPair `protobuf:"bytes,2,rep,name=pairs,proto3" json:"pairs,omitempty"` // contains filtered or unexported fields }
func (*CheckBulkPermissionsResponse) CloneMessageVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponse) CloneMessageVT() proto.Message
func (*CheckBulkPermissionsResponse) CloneVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponse) CloneVT() *CheckBulkPermissionsResponse
func (*CheckBulkPermissionsResponse) Descriptor
deprecated
added in
v0.11.0
func (*CheckBulkPermissionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckBulkPermissionsResponse.ProtoReflect.Descriptor instead.
func (*CheckBulkPermissionsResponse) EqualMessageVT ¶ added in v0.11.0
func (this *CheckBulkPermissionsResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*CheckBulkPermissionsResponse) EqualVT ¶ added in v0.11.0
func (this *CheckBulkPermissionsResponse) EqualVT(that *CheckBulkPermissionsResponse) bool
func (*CheckBulkPermissionsResponse) GetCheckedAt ¶ added in v0.11.0
func (x *CheckBulkPermissionsResponse) GetCheckedAt() *ZedToken
func (*CheckBulkPermissionsResponse) GetPairs ¶ added in v0.11.0
func (x *CheckBulkPermissionsResponse) GetPairs() []*CheckBulkPermissionsPair
func (*CheckBulkPermissionsResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckBulkPermissionsResponse) MarshalToVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*CheckBulkPermissionsResponse) MarshalVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponse) MarshalVT() (dAtA []byte, err error)
func (*CheckBulkPermissionsResponse) ProtoMessage ¶ added in v0.11.0
func (*CheckBulkPermissionsResponse) ProtoMessage()
func (*CheckBulkPermissionsResponse) ProtoReflect ¶ added in v0.11.0
func (x *CheckBulkPermissionsResponse) ProtoReflect() protoreflect.Message
func (*CheckBulkPermissionsResponse) Reset ¶ added in v0.11.0
func (x *CheckBulkPermissionsResponse) Reset()
func (*CheckBulkPermissionsResponse) SizeVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponse) SizeVT() (n int)
func (*CheckBulkPermissionsResponse) String ¶ added in v0.11.0
func (x *CheckBulkPermissionsResponse) String() string
func (*CheckBulkPermissionsResponse) UnmarshalVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponse) UnmarshalVT(dAtA []byte) error
func (*CheckBulkPermissionsResponse) Validate ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponse) Validate() error
Validate checks the field values on CheckBulkPermissionsResponse 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 (*CheckBulkPermissionsResponse) ValidateAll ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponse) ValidateAll() error
ValidateAll checks the field values on CheckBulkPermissionsResponse 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 CheckBulkPermissionsResponseMultiError, or nil if none found.
type CheckBulkPermissionsResponseItem ¶ added in v0.11.0
type CheckBulkPermissionsResponseItem struct { Permissionship CheckPermissionResponse_Permissionship `` /* 141-byte string literal not displayed */ PartialCaveatInfo *PartialCaveatInfo `protobuf:"bytes,2,opt,name=partial_caveat_info,json=partialCaveatInfo,proto3" json:"partial_caveat_info,omitempty"` // contains filtered or unexported fields }
func (*CheckBulkPermissionsResponseItem) CloneMessageVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponseItem) CloneMessageVT() proto.Message
func (*CheckBulkPermissionsResponseItem) CloneVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponseItem) CloneVT() *CheckBulkPermissionsResponseItem
func (*CheckBulkPermissionsResponseItem) Descriptor
deprecated
added in
v0.11.0
func (*CheckBulkPermissionsResponseItem) Descriptor() ([]byte, []int)
Deprecated: Use CheckBulkPermissionsResponseItem.ProtoReflect.Descriptor instead.
func (*CheckBulkPermissionsResponseItem) EqualMessageVT ¶ added in v0.11.0
func (this *CheckBulkPermissionsResponseItem) EqualMessageVT(thatMsg proto.Message) bool
func (*CheckBulkPermissionsResponseItem) EqualVT ¶ added in v0.11.0
func (this *CheckBulkPermissionsResponseItem) EqualVT(that *CheckBulkPermissionsResponseItem) bool
func (*CheckBulkPermissionsResponseItem) GetPartialCaveatInfo ¶ added in v0.11.0
func (x *CheckBulkPermissionsResponseItem) GetPartialCaveatInfo() *PartialCaveatInfo
func (*CheckBulkPermissionsResponseItem) GetPermissionship ¶ added in v0.11.0
func (x *CheckBulkPermissionsResponseItem) GetPermissionship() CheckPermissionResponse_Permissionship
func (*CheckBulkPermissionsResponseItem) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponseItem) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckBulkPermissionsResponseItem) MarshalToVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponseItem) MarshalToVT(dAtA []byte) (int, error)
func (*CheckBulkPermissionsResponseItem) MarshalVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponseItem) MarshalVT() (dAtA []byte, err error)
func (*CheckBulkPermissionsResponseItem) ProtoMessage ¶ added in v0.11.0
func (*CheckBulkPermissionsResponseItem) ProtoMessage()
func (*CheckBulkPermissionsResponseItem) ProtoReflect ¶ added in v0.11.0
func (x *CheckBulkPermissionsResponseItem) ProtoReflect() protoreflect.Message
func (*CheckBulkPermissionsResponseItem) Reset ¶ added in v0.11.0
func (x *CheckBulkPermissionsResponseItem) Reset()
func (*CheckBulkPermissionsResponseItem) SizeVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponseItem) SizeVT() (n int)
func (*CheckBulkPermissionsResponseItem) String ¶ added in v0.11.0
func (x *CheckBulkPermissionsResponseItem) String() string
func (*CheckBulkPermissionsResponseItem) UnmarshalVT ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponseItem) UnmarshalVT(dAtA []byte) error
func (*CheckBulkPermissionsResponseItem) Validate ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponseItem) Validate() error
Validate checks the field values on CheckBulkPermissionsResponseItem 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 (*CheckBulkPermissionsResponseItem) ValidateAll ¶ added in v0.11.0
func (m *CheckBulkPermissionsResponseItem) ValidateAll() error
ValidateAll checks the field values on CheckBulkPermissionsResponseItem 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 CheckBulkPermissionsResponseItemMultiError, or nil if none found.
type CheckBulkPermissionsResponseItemMultiError ¶ added in v0.11.0
type CheckBulkPermissionsResponseItemMultiError []error
CheckBulkPermissionsResponseItemMultiError is an error wrapping multiple validation errors returned by CheckBulkPermissionsResponseItem.ValidateAll() if the designated constraints aren't met.
func (CheckBulkPermissionsResponseItemMultiError) AllErrors ¶ added in v0.11.0
func (m CheckBulkPermissionsResponseItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckBulkPermissionsResponseItemMultiError) Error ¶ added in v0.11.0
func (m CheckBulkPermissionsResponseItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckBulkPermissionsResponseItemValidationError ¶ added in v0.11.0
type CheckBulkPermissionsResponseItemValidationError struct {
// contains filtered or unexported fields
}
CheckBulkPermissionsResponseItemValidationError is the validation error returned by CheckBulkPermissionsResponseItem.Validate if the designated constraints aren't met.
func (CheckBulkPermissionsResponseItemValidationError) Cause ¶ added in v0.11.0
func (e CheckBulkPermissionsResponseItemValidationError) Cause() error
Cause function returns cause value.
func (CheckBulkPermissionsResponseItemValidationError) Error ¶ added in v0.11.0
func (e CheckBulkPermissionsResponseItemValidationError) Error() string
Error satisfies the builtin error interface
func (CheckBulkPermissionsResponseItemValidationError) ErrorName ¶ added in v0.11.0
func (e CheckBulkPermissionsResponseItemValidationError) ErrorName() string
ErrorName returns error name.
func (CheckBulkPermissionsResponseItemValidationError) Field ¶ added in v0.11.0
func (e CheckBulkPermissionsResponseItemValidationError) Field() string
Field function returns field value.
func (CheckBulkPermissionsResponseItemValidationError) Key ¶ added in v0.11.0
func (e CheckBulkPermissionsResponseItemValidationError) Key() bool
Key function returns key value.
func (CheckBulkPermissionsResponseItemValidationError) Reason ¶ added in v0.11.0
func (e CheckBulkPermissionsResponseItemValidationError) Reason() string
Reason function returns reason value.
type CheckBulkPermissionsResponseMultiError ¶ added in v0.11.0
type CheckBulkPermissionsResponseMultiError []error
CheckBulkPermissionsResponseMultiError is an error wrapping multiple validation errors returned by CheckBulkPermissionsResponse.ValidateAll() if the designated constraints aren't met.
func (CheckBulkPermissionsResponseMultiError) AllErrors ¶ added in v0.11.0
func (m CheckBulkPermissionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckBulkPermissionsResponseMultiError) Error ¶ added in v0.11.0
func (m CheckBulkPermissionsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckBulkPermissionsResponseValidationError ¶ added in v0.11.0
type CheckBulkPermissionsResponseValidationError struct {
// contains filtered or unexported fields
}
CheckBulkPermissionsResponseValidationError is the validation error returned by CheckBulkPermissionsResponse.Validate if the designated constraints aren't met.
func (CheckBulkPermissionsResponseValidationError) Cause ¶ added in v0.11.0
func (e CheckBulkPermissionsResponseValidationError) Cause() error
Cause function returns cause value.
func (CheckBulkPermissionsResponseValidationError) Error ¶ added in v0.11.0
func (e CheckBulkPermissionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CheckBulkPermissionsResponseValidationError) ErrorName ¶ added in v0.11.0
func (e CheckBulkPermissionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CheckBulkPermissionsResponseValidationError) Field ¶ added in v0.11.0
func (e CheckBulkPermissionsResponseValidationError) Field() string
Field function returns field value.
func (CheckBulkPermissionsResponseValidationError) Key ¶ added in v0.11.0
func (e CheckBulkPermissionsResponseValidationError) Key() bool
Key function returns key value.
func (CheckBulkPermissionsResponseValidationError) Reason ¶ added in v0.11.0
func (e CheckBulkPermissionsResponseValidationError) Reason() string
Reason function returns reason value.
type CheckDebugTrace ¶ added in v0.7.0
type CheckDebugTrace struct { // resource holds the resource on which the Check was performed. Resource *ObjectReference `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // permission holds the name of the permission or relation on which the Check was performed. Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"` // permission_type holds information indicating whether it was a permission or relation. PermissionType CheckDebugTrace_PermissionType `` /* 155-byte string literal not displayed */ // subject holds the subject on which the Check was performed. This will be static across all calls within // the same Check tree. Subject *SubjectReference `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"` // result holds the result of the Check call. Result CheckDebugTrace_Permissionship `protobuf:"varint,5,opt,name=result,proto3,enum=authzed.api.v1.CheckDebugTrace_Permissionship" json:"result,omitempty"` // caveat_evaluation_info holds information about the caveat evaluated for this step of the trace. CaveatEvaluationInfo *CaveatEvalInfo `protobuf:"bytes,8,opt,name=caveat_evaluation_info,json=caveatEvaluationInfo,proto3" json:"caveat_evaluation_info,omitempty"` // duration holds the time spent executing this Check operation. Duration *durationpb.Duration `protobuf:"bytes,9,opt,name=duration,proto3" json:"duration,omitempty"` // resolution holds information about how the problem was resolved. // // Types that are assignable to Resolution: // // *CheckDebugTrace_WasCachedResult // *CheckDebugTrace_SubProblems_ Resolution isCheckDebugTrace_Resolution `protobuf_oneof:"resolution"` // contains filtered or unexported fields }
CheckDebugTrace is a recursive trace of the requests made for resolving a CheckPermission API call.
func (*CheckDebugTrace) CloneMessageVT ¶ added in v0.9.0
func (m *CheckDebugTrace) CloneMessageVT() proto.Message
func (*CheckDebugTrace) CloneVT ¶ added in v0.8.0
func (m *CheckDebugTrace) CloneVT() *CheckDebugTrace
func (*CheckDebugTrace) Descriptor
deprecated
added in
v0.7.0
func (*CheckDebugTrace) Descriptor() ([]byte, []int)
Deprecated: Use CheckDebugTrace.ProtoReflect.Descriptor instead.
func (*CheckDebugTrace) EqualMessageVT ¶ added in v0.11.0
func (this *CheckDebugTrace) EqualMessageVT(thatMsg proto.Message) bool
func (*CheckDebugTrace) EqualVT ¶ added in v0.11.0
func (this *CheckDebugTrace) EqualVT(that *CheckDebugTrace) bool
func (*CheckDebugTrace) GetCaveatEvaluationInfo ¶ added in v0.8.0
func (x *CheckDebugTrace) GetCaveatEvaluationInfo() *CaveatEvalInfo
func (*CheckDebugTrace) GetDuration ¶ added in v0.9.0
func (x *CheckDebugTrace) GetDuration() *durationpb.Duration
func (*CheckDebugTrace) GetPermission ¶ added in v0.7.0
func (x *CheckDebugTrace) GetPermission() string
func (*CheckDebugTrace) GetPermissionType ¶ added in v0.7.0
func (x *CheckDebugTrace) GetPermissionType() CheckDebugTrace_PermissionType
func (*CheckDebugTrace) GetResolution ¶ added in v0.7.0
func (m *CheckDebugTrace) GetResolution() isCheckDebugTrace_Resolution
func (*CheckDebugTrace) GetResource ¶ added in v0.7.0
func (x *CheckDebugTrace) GetResource() *ObjectReference
func (*CheckDebugTrace) GetResult ¶ added in v0.7.0
func (x *CheckDebugTrace) GetResult() CheckDebugTrace_Permissionship
func (*CheckDebugTrace) GetSubProblems ¶ added in v0.7.0
func (x *CheckDebugTrace) GetSubProblems() *CheckDebugTrace_SubProblems
func (*CheckDebugTrace) GetSubject ¶ added in v0.7.0
func (x *CheckDebugTrace) GetSubject() *SubjectReference
func (*CheckDebugTrace) GetWasCachedResult ¶ added in v0.7.0
func (x *CheckDebugTrace) GetWasCachedResult() bool
func (*CheckDebugTrace) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *CheckDebugTrace) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckDebugTrace) MarshalToVT ¶ added in v0.8.0
func (m *CheckDebugTrace) MarshalToVT(dAtA []byte) (int, error)
func (*CheckDebugTrace) MarshalVT ¶ added in v0.8.0
func (m *CheckDebugTrace) MarshalVT() (dAtA []byte, err error)
func (*CheckDebugTrace) ProtoMessage ¶ added in v0.7.0
func (*CheckDebugTrace) ProtoMessage()
func (*CheckDebugTrace) ProtoReflect ¶ added in v0.7.0
func (x *CheckDebugTrace) ProtoReflect() protoreflect.Message
func (*CheckDebugTrace) Reset ¶ added in v0.7.0
func (x *CheckDebugTrace) Reset()
func (*CheckDebugTrace) SizeVT ¶ added in v0.8.0
func (m *CheckDebugTrace) SizeVT() (n int)
func (*CheckDebugTrace) String ¶ added in v0.7.0
func (x *CheckDebugTrace) String() string
func (*CheckDebugTrace) UnmarshalVT ¶ added in v0.8.0
func (m *CheckDebugTrace) UnmarshalVT(dAtA []byte) error
func (*CheckDebugTrace) Validate ¶ added in v0.7.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 v0.7.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 v0.7.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 v0.7.0
func (m CheckDebugTraceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckDebugTraceMultiError) Error ¶ added in v0.7.0
func (m CheckDebugTraceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckDebugTraceValidationError ¶ added in v0.7.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 v0.7.0
func (e CheckDebugTraceValidationError) Cause() error
Cause function returns cause value.
func (CheckDebugTraceValidationError) Error ¶ added in v0.7.0
func (e CheckDebugTraceValidationError) Error() string
Error satisfies the builtin error interface
func (CheckDebugTraceValidationError) ErrorName ¶ added in v0.7.0
func (e CheckDebugTraceValidationError) ErrorName() string
ErrorName returns error name.
func (CheckDebugTraceValidationError) Field ¶ added in v0.7.0
func (e CheckDebugTraceValidationError) Field() string
Field function returns field value.
func (CheckDebugTraceValidationError) Key ¶ added in v0.7.0
func (e CheckDebugTraceValidationError) Key() bool
Key function returns key value.
func (CheckDebugTraceValidationError) Reason ¶ added in v0.7.0
func (e CheckDebugTraceValidationError) Reason() string
Reason function returns reason value.
type CheckDebugTrace_PermissionType ¶ added in v0.7.0
type CheckDebugTrace_PermissionType int32
const ( CheckDebugTrace_PERMISSION_TYPE_UNSPECIFIED CheckDebugTrace_PermissionType = 0 CheckDebugTrace_PERMISSION_TYPE_RELATION CheckDebugTrace_PermissionType = 1 CheckDebugTrace_PERMISSION_TYPE_PERMISSION CheckDebugTrace_PermissionType = 2 )
func (CheckDebugTrace_PermissionType) Descriptor ¶ added in v0.7.0
func (CheckDebugTrace_PermissionType) Descriptor() protoreflect.EnumDescriptor
func (CheckDebugTrace_PermissionType) Enum ¶ added in v0.7.0
func (x CheckDebugTrace_PermissionType) Enum() *CheckDebugTrace_PermissionType
func (CheckDebugTrace_PermissionType) EnumDescriptor
deprecated
added in
v0.7.0
func (CheckDebugTrace_PermissionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CheckDebugTrace_PermissionType.Descriptor instead.
func (CheckDebugTrace_PermissionType) Number ¶ added in v0.7.0
func (x CheckDebugTrace_PermissionType) Number() protoreflect.EnumNumber
func (CheckDebugTrace_PermissionType) String ¶ added in v0.7.0
func (x CheckDebugTrace_PermissionType) String() string
func (CheckDebugTrace_PermissionType) Type ¶ added in v0.7.0
func (CheckDebugTrace_PermissionType) Type() protoreflect.EnumType
type CheckDebugTrace_Permissionship ¶ added in v0.7.0
type CheckDebugTrace_Permissionship int32
const ( CheckDebugTrace_PERMISSIONSHIP_UNSPECIFIED CheckDebugTrace_Permissionship = 0 CheckDebugTrace_PERMISSIONSHIP_NO_PERMISSION CheckDebugTrace_Permissionship = 1 CheckDebugTrace_PERMISSIONSHIP_HAS_PERMISSION CheckDebugTrace_Permissionship = 2 CheckDebugTrace_PERMISSIONSHIP_CONDITIONAL_PERMISSION CheckDebugTrace_Permissionship = 3 )
func (CheckDebugTrace_Permissionship) Descriptor ¶ added in v0.7.0
func (CheckDebugTrace_Permissionship) Descriptor() protoreflect.EnumDescriptor
func (CheckDebugTrace_Permissionship) Enum ¶ added in v0.7.0
func (x CheckDebugTrace_Permissionship) Enum() *CheckDebugTrace_Permissionship
func (CheckDebugTrace_Permissionship) EnumDescriptor
deprecated
added in
v0.7.0
func (CheckDebugTrace_Permissionship) EnumDescriptor() ([]byte, []int)
Deprecated: Use CheckDebugTrace_Permissionship.Descriptor instead.
func (CheckDebugTrace_Permissionship) Number ¶ added in v0.7.0
func (x CheckDebugTrace_Permissionship) Number() protoreflect.EnumNumber
func (CheckDebugTrace_Permissionship) String ¶ added in v0.7.0
func (x CheckDebugTrace_Permissionship) String() string
func (CheckDebugTrace_Permissionship) Type ¶ added in v0.7.0
func (CheckDebugTrace_Permissionship) Type() protoreflect.EnumType
type CheckDebugTrace_SubProblems ¶ added in v0.7.0
type CheckDebugTrace_SubProblems struct { Traces []*CheckDebugTrace `protobuf:"bytes,1,rep,name=traces,proto3" json:"traces,omitempty"` // contains filtered or unexported fields }
func (*CheckDebugTrace_SubProblems) CloneMessageVT ¶ added in v0.9.0
func (m *CheckDebugTrace_SubProblems) CloneMessageVT() proto.Message
func (*CheckDebugTrace_SubProblems) CloneVT ¶ added in v0.8.0
func (m *CheckDebugTrace_SubProblems) CloneVT() *CheckDebugTrace_SubProblems
func (*CheckDebugTrace_SubProblems) Descriptor
deprecated
added in
v0.7.0
func (*CheckDebugTrace_SubProblems) Descriptor() ([]byte, []int)
Deprecated: Use CheckDebugTrace_SubProblems.ProtoReflect.Descriptor instead.
func (*CheckDebugTrace_SubProblems) EqualMessageVT ¶ added in v0.11.0
func (this *CheckDebugTrace_SubProblems) EqualMessageVT(thatMsg proto.Message) bool
func (*CheckDebugTrace_SubProblems) EqualVT ¶ added in v0.11.0
func (this *CheckDebugTrace_SubProblems) EqualVT(that *CheckDebugTrace_SubProblems) bool
func (*CheckDebugTrace_SubProblems) GetTraces ¶ added in v0.7.0
func (x *CheckDebugTrace_SubProblems) GetTraces() []*CheckDebugTrace
func (*CheckDebugTrace_SubProblems) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *CheckDebugTrace_SubProblems) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckDebugTrace_SubProblems) MarshalToVT ¶ added in v0.8.0
func (m *CheckDebugTrace_SubProblems) MarshalToVT(dAtA []byte) (int, error)
func (*CheckDebugTrace_SubProblems) MarshalVT ¶ added in v0.8.0
func (m *CheckDebugTrace_SubProblems) MarshalVT() (dAtA []byte, err error)
func (*CheckDebugTrace_SubProblems) ProtoMessage ¶ added in v0.7.0
func (*CheckDebugTrace_SubProblems) ProtoMessage()
func (*CheckDebugTrace_SubProblems) ProtoReflect ¶ added in v0.7.0
func (x *CheckDebugTrace_SubProblems) ProtoReflect() protoreflect.Message
func (*CheckDebugTrace_SubProblems) Reset ¶ added in v0.7.0
func (x *CheckDebugTrace_SubProblems) Reset()
func (*CheckDebugTrace_SubProblems) SizeVT ¶ added in v0.8.0
func (m *CheckDebugTrace_SubProblems) SizeVT() (n int)
func (*CheckDebugTrace_SubProblems) String ¶ added in v0.7.0
func (x *CheckDebugTrace_SubProblems) String() string
func (*CheckDebugTrace_SubProblems) UnmarshalVT ¶ added in v0.8.0
func (m *CheckDebugTrace_SubProblems) UnmarshalVT(dAtA []byte) error
func (*CheckDebugTrace_SubProblems) Validate ¶ added in v0.7.0
func (m *CheckDebugTrace_SubProblems) Validate() error
Validate checks the field values on CheckDebugTrace_SubProblems with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CheckDebugTrace_SubProblems) ValidateAll ¶ added in v0.7.0
func (m *CheckDebugTrace_SubProblems) ValidateAll() error
ValidateAll checks the field values on CheckDebugTrace_SubProblems with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CheckDebugTrace_SubProblemsMultiError, or nil if none found.
type CheckDebugTrace_SubProblemsMultiError ¶ added in v0.7.0
type CheckDebugTrace_SubProblemsMultiError []error
CheckDebugTrace_SubProblemsMultiError is an error wrapping multiple validation errors returned by CheckDebugTrace_SubProblems.ValidateAll() if the designated constraints aren't met.
func (CheckDebugTrace_SubProblemsMultiError) AllErrors ¶ added in v0.7.0
func (m CheckDebugTrace_SubProblemsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckDebugTrace_SubProblemsMultiError) Error ¶ added in v0.7.0
func (m CheckDebugTrace_SubProblemsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckDebugTrace_SubProblemsValidationError ¶ added in v0.7.0
type CheckDebugTrace_SubProblemsValidationError struct {
// contains filtered or unexported fields
}
CheckDebugTrace_SubProblemsValidationError is the validation error returned by CheckDebugTrace_SubProblems.Validate if the designated constraints aren't met.
func (CheckDebugTrace_SubProblemsValidationError) Cause ¶ added in v0.7.0
func (e CheckDebugTrace_SubProblemsValidationError) Cause() error
Cause function returns cause value.
func (CheckDebugTrace_SubProblemsValidationError) Error ¶ added in v0.7.0
func (e CheckDebugTrace_SubProblemsValidationError) Error() string
Error satisfies the builtin error interface
func (CheckDebugTrace_SubProblemsValidationError) ErrorName ¶ added in v0.7.0
func (e CheckDebugTrace_SubProblemsValidationError) ErrorName() string
ErrorName returns error name.
func (CheckDebugTrace_SubProblemsValidationError) Field ¶ added in v0.7.0
func (e CheckDebugTrace_SubProblemsValidationError) Field() string
Field function returns field value.
func (CheckDebugTrace_SubProblemsValidationError) Key ¶ added in v0.7.0
func (e CheckDebugTrace_SubProblemsValidationError) Key() bool
Key function returns key value.
func (CheckDebugTrace_SubProblemsValidationError) Reason ¶ added in v0.7.0
func (e CheckDebugTrace_SubProblemsValidationError) Reason() string
Reason function returns reason value.
type CheckDebugTrace_SubProblems_ ¶ added in v0.7.0
type CheckDebugTrace_SubProblems_ struct { // sub_problems holds the sub problems that were executed to resolve the answer to this Check. An empty list // and a permissionship of PERMISSIONSHIP_HAS_PERMISSION indicates the subject was found within this relation. SubProblems *CheckDebugTrace_SubProblems `protobuf:"bytes,7,opt,name=sub_problems,json=subProblems,proto3,oneof"` }
func (*CheckDebugTrace_SubProblems_) CloneVT ¶ added in v0.8.0
func (m *CheckDebugTrace_SubProblems_) CloneVT() isCheckDebugTrace_Resolution
func (*CheckDebugTrace_SubProblems_) EqualVT ¶ added in v0.11.0
func (this *CheckDebugTrace_SubProblems_) EqualVT(thatIface isCheckDebugTrace_Resolution) bool
func (*CheckDebugTrace_SubProblems_) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *CheckDebugTrace_SubProblems_) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckDebugTrace_SubProblems_) MarshalToVT ¶ added in v0.8.0
func (m *CheckDebugTrace_SubProblems_) MarshalToVT(dAtA []byte) (int, error)
func (*CheckDebugTrace_SubProblems_) SizeVT ¶ added in v0.8.0
func (m *CheckDebugTrace_SubProblems_) SizeVT() (n int)
type CheckDebugTrace_WasCachedResult ¶ added in v0.7.0
type CheckDebugTrace_WasCachedResult struct { // was_cached_result, if true, indicates that the result was found in the cache and returned directly. WasCachedResult bool `protobuf:"varint,6,opt,name=was_cached_result,json=wasCachedResult,proto3,oneof"` }
func (*CheckDebugTrace_WasCachedResult) CloneVT ¶ added in v0.8.0
func (m *CheckDebugTrace_WasCachedResult) CloneVT() isCheckDebugTrace_Resolution
func (*CheckDebugTrace_WasCachedResult) EqualVT ¶ added in v0.11.0
func (this *CheckDebugTrace_WasCachedResult) EqualVT(thatIface isCheckDebugTrace_Resolution) bool
func (*CheckDebugTrace_WasCachedResult) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *CheckDebugTrace_WasCachedResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckDebugTrace_WasCachedResult) MarshalToVT ¶ added in v0.8.0
func (m *CheckDebugTrace_WasCachedResult) MarshalToVT(dAtA []byte) (int, error)
func (*CheckDebugTrace_WasCachedResult) SizeVT ¶ added in v0.8.0
func (m *CheckDebugTrace_WasCachedResult) SizeVT() (n int)
type CheckPermissionRequest ¶
type CheckPermissionRequest struct { Consistency *Consistency `protobuf:"bytes,1,opt,name=consistency,proto3" json:"consistency,omitempty"` // resource is the resource on which to check the permission or relation. Resource *ObjectReference `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` // permission is the name of the permission (or relation) on which to execute // the check. Permission string `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"` // subject is the subject that will be checked for the permission or relation. Subject *SubjectReference `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"` // context consists of named values that are injected into the caveat evaluation context Context *structpb.Struct `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"` // with_tracing, if true, indicates that the response should include a debug trace. // This can be useful for debugging and performance analysis, but adds a small amount // of compute overhead to the request. WithTracing bool `protobuf:"varint,6,opt,name=with_tracing,json=withTracing,proto3" json:"with_tracing,omitempty"` // contains filtered or unexported fields }
CheckPermissionRequest issues a check on whether a subject has a permission or is a member of a relation, on a specific resource.
func (*CheckPermissionRequest) CloneMessageVT ¶ added in v0.9.0
func (m *CheckPermissionRequest) CloneMessageVT() proto.Message
func (*CheckPermissionRequest) CloneVT ¶ added in v0.8.0
func (m *CheckPermissionRequest) CloneVT() *CheckPermissionRequest
func (*CheckPermissionRequest) Descriptor
deprecated
func (*CheckPermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckPermissionRequest.ProtoReflect.Descriptor instead.
func (*CheckPermissionRequest) EqualMessageVT ¶ added in v0.11.0
func (this *CheckPermissionRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*CheckPermissionRequest) EqualVT ¶ added in v0.11.0
func (this *CheckPermissionRequest) EqualVT(that *CheckPermissionRequest) bool
func (*CheckPermissionRequest) GetConsistency ¶
func (x *CheckPermissionRequest) GetConsistency() *Consistency
func (*CheckPermissionRequest) GetContext ¶ added in v0.8.0
func (x *CheckPermissionRequest) GetContext() *structpb.Struct
func (*CheckPermissionRequest) GetPermission ¶
func (x *CheckPermissionRequest) GetPermission() string
func (*CheckPermissionRequest) GetResource ¶
func (x *CheckPermissionRequest) GetResource() *ObjectReference
func (*CheckPermissionRequest) GetSubject ¶
func (x *CheckPermissionRequest) GetSubject() *SubjectReference
func (*CheckPermissionRequest) GetWithTracing ¶ added in v0.11.0
func (x *CheckPermissionRequest) GetWithTracing() bool
func (*CheckPermissionRequest) HandwrittenValidate ¶ added in v0.4.0
func (m *CheckPermissionRequest) HandwrittenValidate() error
func (*CheckPermissionRequest) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *CheckPermissionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckPermissionRequest) MarshalToVT ¶ added in v0.8.0
func (m *CheckPermissionRequest) MarshalToVT(dAtA []byte) (int, error)
func (*CheckPermissionRequest) MarshalVT ¶ added in v0.8.0
func (m *CheckPermissionRequest) MarshalVT() (dAtA []byte, err error)
func (*CheckPermissionRequest) ProtoMessage ¶
func (*CheckPermissionRequest) ProtoMessage()
func (*CheckPermissionRequest) ProtoReflect ¶
func (x *CheckPermissionRequest) ProtoReflect() protoreflect.Message
func (*CheckPermissionRequest) Reset ¶
func (x *CheckPermissionRequest) Reset()
func (*CheckPermissionRequest) SizeVT ¶ added in v0.8.0
func (m *CheckPermissionRequest) SizeVT() (n int)
func (*CheckPermissionRequest) String ¶
func (x *CheckPermissionRequest) String() string
func (*CheckPermissionRequest) UnmarshalVT ¶ added in v0.8.0
func (m *CheckPermissionRequest) UnmarshalVT(dAtA []byte) error
func (*CheckPermissionRequest) Validate ¶
func (m *CheckPermissionRequest) Validate() error
Validate checks the field values on CheckPermissionRequest 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 (*CheckPermissionRequest) ValidateAll ¶ added in v0.6.0
func (m *CheckPermissionRequest) ValidateAll() error
ValidateAll checks the field values on CheckPermissionRequest 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 CheckPermissionRequestMultiError, or nil if none found.
type CheckPermissionRequestMultiError ¶ added in v0.6.0
type CheckPermissionRequestMultiError []error
CheckPermissionRequestMultiError is an error wrapping multiple validation errors returned by CheckPermissionRequest.ValidateAll() if the designated constraints aren't met.
func (CheckPermissionRequestMultiError) AllErrors ¶ added in v0.6.0
func (m CheckPermissionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckPermissionRequestMultiError) Error ¶ added in v0.6.0
func (m CheckPermissionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckPermissionRequestValidationError ¶
type CheckPermissionRequestValidationError struct {
// contains filtered or unexported fields
}
CheckPermissionRequestValidationError is the validation error returned by CheckPermissionRequest.Validate if the designated constraints aren't met.
func (CheckPermissionRequestValidationError) Cause ¶
func (e CheckPermissionRequestValidationError) Cause() error
Cause function returns cause value.
func (CheckPermissionRequestValidationError) Error ¶
func (e CheckPermissionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CheckPermissionRequestValidationError) ErrorName ¶
func (e CheckPermissionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CheckPermissionRequestValidationError) Field ¶
func (e CheckPermissionRequestValidationError) Field() string
Field function returns field value.
func (CheckPermissionRequestValidationError) Key ¶
func (e CheckPermissionRequestValidationError) Key() bool
Key function returns key value.
func (CheckPermissionRequestValidationError) Reason ¶
func (e CheckPermissionRequestValidationError) Reason() string
Reason function returns reason value.
type CheckPermissionResponse ¶
type CheckPermissionResponse struct { CheckedAt *ZedToken `protobuf:"bytes,1,opt,name=checked_at,json=checkedAt,proto3" json:"checked_at,omitempty"` // Permissionship communicates whether or not the subject has the requested // permission or has a relationship with the given resource, over the given // relation. // // This value will be authzed.api.v1.PERMISSIONSHIP_HAS_PERMISSION if the // requested subject is a member of the computed permission set or there // exists a relationship with the requested relation from the given resource // to the given subject. Permissionship CheckPermissionResponse_Permissionship `` /* 141-byte string literal not displayed */ // partial_caveat_info holds information of a partially-evaluated caveated response PartialCaveatInfo *PartialCaveatInfo `protobuf:"bytes,3,opt,name=partial_caveat_info,json=partialCaveatInfo,proto3" json:"partial_caveat_info,omitempty"` // debug_trace is the debugging trace of this check, if requested. DebugTrace *DebugInformation `protobuf:"bytes,4,opt,name=debug_trace,json=debugTrace,proto3" json:"debug_trace,omitempty"` // contains filtered or unexported fields }
func (*CheckPermissionResponse) CloneMessageVT ¶ added in v0.9.0
func (m *CheckPermissionResponse) CloneMessageVT() proto.Message
func (*CheckPermissionResponse) CloneVT ¶ added in v0.8.0
func (m *CheckPermissionResponse) CloneVT() *CheckPermissionResponse
func (*CheckPermissionResponse) Descriptor
deprecated
func (*CheckPermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckPermissionResponse.ProtoReflect.Descriptor instead.
func (*CheckPermissionResponse) EqualMessageVT ¶ added in v0.11.0
func (this *CheckPermissionResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*CheckPermissionResponse) EqualVT ¶ added in v0.11.0
func (this *CheckPermissionResponse) EqualVT(that *CheckPermissionResponse) bool
func (*CheckPermissionResponse) GetCheckedAt ¶
func (x *CheckPermissionResponse) GetCheckedAt() *ZedToken
func (*CheckPermissionResponse) GetDebugTrace ¶ added in v0.11.0
func (x *CheckPermissionResponse) GetDebugTrace() *DebugInformation
func (*CheckPermissionResponse) GetPartialCaveatInfo ¶ added in v0.8.0
func (x *CheckPermissionResponse) GetPartialCaveatInfo() *PartialCaveatInfo
func (*CheckPermissionResponse) GetPermissionship ¶
func (x *CheckPermissionResponse) GetPermissionship() CheckPermissionResponse_Permissionship
func (*CheckPermissionResponse) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *CheckPermissionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckPermissionResponse) MarshalToVT ¶ added in v0.8.0
func (m *CheckPermissionResponse) MarshalToVT(dAtA []byte) (int, error)
func (*CheckPermissionResponse) MarshalVT ¶ added in v0.8.0
func (m *CheckPermissionResponse) MarshalVT() (dAtA []byte, err error)
func (*CheckPermissionResponse) ProtoMessage ¶
func (*CheckPermissionResponse) ProtoMessage()
func (*CheckPermissionResponse) ProtoReflect ¶
func (x *CheckPermissionResponse) ProtoReflect() protoreflect.Message
func (*CheckPermissionResponse) Reset ¶
func (x *CheckPermissionResponse) Reset()
func (*CheckPermissionResponse) SizeVT ¶ added in v0.8.0
func (m *CheckPermissionResponse) SizeVT() (n int)
func (*CheckPermissionResponse) String ¶
func (x *CheckPermissionResponse) String() string
func (*CheckPermissionResponse) UnmarshalVT ¶ added in v0.8.0
func (m *CheckPermissionResponse) UnmarshalVT(dAtA []byte) error
func (*CheckPermissionResponse) Validate ¶
func (m *CheckPermissionResponse) Validate() error
Validate checks the field values on CheckPermissionResponse 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 (*CheckPermissionResponse) ValidateAll ¶ added in v0.6.0
func (m *CheckPermissionResponse) ValidateAll() error
ValidateAll checks the field values on CheckPermissionResponse 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 CheckPermissionResponseMultiError, or nil if none found.
type CheckPermissionResponseMultiError ¶ added in v0.6.0
type CheckPermissionResponseMultiError []error
CheckPermissionResponseMultiError is an error wrapping multiple validation errors returned by CheckPermissionResponse.ValidateAll() if the designated constraints aren't met.
func (CheckPermissionResponseMultiError) AllErrors ¶ added in v0.6.0
func (m CheckPermissionResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckPermissionResponseMultiError) Error ¶ added in v0.6.0
func (m CheckPermissionResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckPermissionResponseValidationError ¶
type CheckPermissionResponseValidationError struct {
// contains filtered or unexported fields
}
CheckPermissionResponseValidationError is the validation error returned by CheckPermissionResponse.Validate if the designated constraints aren't met.
func (CheckPermissionResponseValidationError) Cause ¶
func (e CheckPermissionResponseValidationError) Cause() error
Cause function returns cause value.
func (CheckPermissionResponseValidationError) Error ¶
func (e CheckPermissionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CheckPermissionResponseValidationError) ErrorName ¶
func (e CheckPermissionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CheckPermissionResponseValidationError) Field ¶
func (e CheckPermissionResponseValidationError) Field() string
Field function returns field value.
func (CheckPermissionResponseValidationError) Key ¶
func (e CheckPermissionResponseValidationError) Key() bool
Key function returns key value.
func (CheckPermissionResponseValidationError) Reason ¶
func (e CheckPermissionResponseValidationError) Reason() string
Reason function returns reason value.
type CheckPermissionResponse_Permissionship ¶
type CheckPermissionResponse_Permissionship int32
const ( CheckPermissionResponse_PERMISSIONSHIP_UNSPECIFIED CheckPermissionResponse_Permissionship = 0 CheckPermissionResponse_PERMISSIONSHIP_NO_PERMISSION CheckPermissionResponse_Permissionship = 1 CheckPermissionResponse_PERMISSIONSHIP_HAS_PERMISSION CheckPermissionResponse_Permissionship = 2 CheckPermissionResponse_PERMISSIONSHIP_CONDITIONAL_PERMISSION CheckPermissionResponse_Permissionship = 3 )
func (CheckPermissionResponse_Permissionship) Descriptor ¶
func (CheckPermissionResponse_Permissionship) Descriptor() protoreflect.EnumDescriptor
func (CheckPermissionResponse_Permissionship) EnumDescriptor
deprecated
func (CheckPermissionResponse_Permissionship) EnumDescriptor() ([]byte, []int)
Deprecated: Use CheckPermissionResponse_Permissionship.Descriptor instead.
func (CheckPermissionResponse_Permissionship) Number ¶
func (x CheckPermissionResponse_Permissionship) Number() protoreflect.EnumNumber
func (CheckPermissionResponse_Permissionship) String ¶
func (x CheckPermissionResponse_Permissionship) String() string
func (CheckPermissionResponse_Permissionship) Type ¶
func (CheckPermissionResponse_Permissionship) Type() protoreflect.EnumType
type Consistency ¶
type Consistency struct { // Types that are assignable to Requirement: // // *Consistency_MinimizeLatency // *Consistency_AtLeastAsFresh // *Consistency_AtExactSnapshot // *Consistency_FullyConsistent Requirement isConsistency_Requirement `protobuf_oneof:"requirement"` // contains filtered or unexported fields }
Consistency will define how a request is handled by the backend. By defining a consistency requirement, and a token at which those requirements should be applied, where applicable.
func (*Consistency) CloneMessageVT ¶ added in v0.9.0
func (m *Consistency) CloneMessageVT() proto.Message
func (*Consistency) CloneVT ¶ added in v0.8.0
func (m *Consistency) CloneVT() *Consistency
func (*Consistency) Descriptor
deprecated
func (*Consistency) Descriptor() ([]byte, []int)
Deprecated: Use Consistency.ProtoReflect.Descriptor instead.
func (*Consistency) EqualMessageVT ¶ added in v0.11.0
func (this *Consistency) EqualMessageVT(thatMsg proto.Message) bool
func (*Consistency) EqualVT ¶ added in v0.11.0
func (this *Consistency) EqualVT(that *Consistency) bool
func (*Consistency) GetAtExactSnapshot ¶
func (x *Consistency) GetAtExactSnapshot() *ZedToken
func (*Consistency) GetAtLeastAsFresh ¶
func (x *Consistency) GetAtLeastAsFresh() *ZedToken
func (*Consistency) GetFullyConsistent ¶
func (x *Consistency) GetFullyConsistent() bool
func (*Consistency) GetMinimizeLatency ¶
func (x *Consistency) GetMinimizeLatency() bool
func (*Consistency) GetRequirement ¶
func (m *Consistency) GetRequirement() isConsistency_Requirement
func (*Consistency) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *Consistency) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Consistency) MarshalToVT ¶ added in v0.8.0
func (m *Consistency) MarshalToVT(dAtA []byte) (int, error)
func (*Consistency) MarshalVT ¶ added in v0.8.0
func (m *Consistency) MarshalVT() (dAtA []byte, err error)
func (*Consistency) ProtoMessage ¶
func (*Consistency) ProtoMessage()
func (*Consistency) ProtoReflect ¶
func (x *Consistency) ProtoReflect() protoreflect.Message
func (*Consistency) Reset ¶
func (x *Consistency) Reset()
func (*Consistency) SizeVT ¶ added in v0.8.0
func (m *Consistency) SizeVT() (n int)
func (*Consistency) String ¶
func (x *Consistency) String() string
func (*Consistency) UnmarshalVT ¶ added in v0.8.0
func (m *Consistency) UnmarshalVT(dAtA []byte) error
func (*Consistency) Validate ¶
func (m *Consistency) Validate() error
Validate checks the field values on Consistency 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 (*Consistency) ValidateAll ¶ added in v0.6.0
func (m *Consistency) ValidateAll() error
ValidateAll checks the field values on Consistency 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 ConsistencyMultiError, or nil if none found.
type ConsistencyMultiError ¶ added in v0.6.0
type ConsistencyMultiError []error
ConsistencyMultiError is an error wrapping multiple validation errors returned by Consistency.ValidateAll() if the designated constraints aren't met.
func (ConsistencyMultiError) AllErrors ¶ added in v0.6.0
func (m ConsistencyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConsistencyMultiError) Error ¶ added in v0.6.0
func (m ConsistencyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConsistencyValidationError ¶
type ConsistencyValidationError struct {
// contains filtered or unexported fields
}
ConsistencyValidationError is the validation error returned by Consistency.Validate if the designated constraints aren't met.
func (ConsistencyValidationError) Cause ¶
func (e ConsistencyValidationError) Cause() error
Cause function returns cause value.
func (ConsistencyValidationError) Error ¶
func (e ConsistencyValidationError) Error() string
Error satisfies the builtin error interface
func (ConsistencyValidationError) ErrorName ¶
func (e ConsistencyValidationError) ErrorName() string
ErrorName returns error name.
func (ConsistencyValidationError) Field ¶
func (e ConsistencyValidationError) Field() string
Field function returns field value.
func (ConsistencyValidationError) Key ¶
func (e ConsistencyValidationError) Key() bool
Key function returns key value.
func (ConsistencyValidationError) Reason ¶
func (e ConsistencyValidationError) Reason() string
Reason function returns reason value.
type Consistency_AtExactSnapshot ¶
type Consistency_AtExactSnapshot struct { // at_exact_snapshot indicates that all data used in the API call must be // *at the given* snapshot in time; if the snapshot is no longer available, // an error will be returned to the caller. AtExactSnapshot *ZedToken `protobuf:"bytes,3,opt,name=at_exact_snapshot,json=atExactSnapshot,proto3,oneof"` }
func (*Consistency_AtExactSnapshot) CloneVT ¶ added in v0.8.0
func (m *Consistency_AtExactSnapshot) CloneVT() isConsistency_Requirement
func (*Consistency_AtExactSnapshot) EqualVT ¶ added in v0.11.0
func (this *Consistency_AtExactSnapshot) EqualVT(thatIface isConsistency_Requirement) bool
func (*Consistency_AtExactSnapshot) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *Consistency_AtExactSnapshot) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Consistency_AtExactSnapshot) MarshalToVT ¶ added in v0.8.0
func (m *Consistency_AtExactSnapshot) MarshalToVT(dAtA []byte) (int, error)
func (*Consistency_AtExactSnapshot) SizeVT ¶ added in v0.8.0
func (m *Consistency_AtExactSnapshot) SizeVT() (n int)
type Consistency_AtLeastAsFresh ¶
type Consistency_AtLeastAsFresh struct { // at_least_as_fresh indicates that all data used in the API call must be // *at least as fresh* as that found in the ZedToken; more recent data might // be used if available or faster. AtLeastAsFresh *ZedToken `protobuf:"bytes,2,opt,name=at_least_as_fresh,json=atLeastAsFresh,proto3,oneof"` }
func (*Consistency_AtLeastAsFresh) CloneVT ¶ added in v0.8.0
func (m *Consistency_AtLeastAsFresh) CloneVT() isConsistency_Requirement
func (*Consistency_AtLeastAsFresh) EqualVT ¶ added in v0.11.0
func (this *Consistency_AtLeastAsFresh) EqualVT(thatIface isConsistency_Requirement) bool
func (*Consistency_AtLeastAsFresh) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *Consistency_AtLeastAsFresh) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Consistency_AtLeastAsFresh) MarshalToVT ¶ added in v0.8.0
func (m *Consistency_AtLeastAsFresh) MarshalToVT(dAtA []byte) (int, error)
func (*Consistency_AtLeastAsFresh) SizeVT ¶ added in v0.8.0
func (m *Consistency_AtLeastAsFresh) SizeVT() (n int)
type Consistency_FullyConsistent ¶
type Consistency_FullyConsistent struct { // fully_consistent indicates that all data used in the API call *must* be // at the most recent snapshot found. // // NOTE: using this method can be *quite slow*, so unless there is a need to // do so, it is recommended to use `at_least_as_fresh` with a stored // ZedToken. FullyConsistent bool `protobuf:"varint,4,opt,name=fully_consistent,json=fullyConsistent,proto3,oneof"` }
func (*Consistency_FullyConsistent) CloneVT ¶ added in v0.8.0
func (m *Consistency_FullyConsistent) CloneVT() isConsistency_Requirement
func (*Consistency_FullyConsistent) EqualVT ¶ added in v0.11.0
func (this *Consistency_FullyConsistent) EqualVT(thatIface isConsistency_Requirement) bool
func (*Consistency_FullyConsistent) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *Consistency_FullyConsistent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Consistency_FullyConsistent) MarshalToVT ¶ added in v0.8.0
func (m *Consistency_FullyConsistent) MarshalToVT(dAtA []byte) (int, error)
func (*Consistency_FullyConsistent) SizeVT ¶ added in v0.8.0
func (m *Consistency_FullyConsistent) SizeVT() (n int)
type Consistency_MinimizeLatency ¶
type Consistency_MinimizeLatency struct { // minimize_latency indicates that the latency for the call should be // minimized by having the system select the fastest snapshot available. MinimizeLatency bool `protobuf:"varint,1,opt,name=minimize_latency,json=minimizeLatency,proto3,oneof"` }
func (*Consistency_MinimizeLatency) CloneVT ¶ added in v0.8.0
func (m *Consistency_MinimizeLatency) CloneVT() isConsistency_Requirement
func (*Consistency_MinimizeLatency) EqualVT ¶ added in v0.11.0
func (this *Consistency_MinimizeLatency) EqualVT(thatIface isConsistency_Requirement) bool
func (*Consistency_MinimizeLatency) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *Consistency_MinimizeLatency) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Consistency_MinimizeLatency) MarshalToVT ¶ added in v0.8.0
func (m *Consistency_MinimizeLatency) MarshalToVT(dAtA []byte) (int, error)
func (*Consistency_MinimizeLatency) SizeVT ¶ added in v0.8.0
func (m *Consistency_MinimizeLatency) SizeVT() (n int)
type ContextualizedCaveat ¶ added in v0.8.0
type ContextualizedCaveat struct { // caveat_name is the name of the caveat expression to use, as defined in the schema CaveatName string `protobuf:"bytes,1,opt,name=caveat_name,json=caveatName,proto3" json:"caveat_name,omitempty"` // context consists of any named values that are defined at write time for the caveat expression Context *structpb.Struct `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
ContextualizedCaveat represents a reference to a caveat to be used by caveated relationships. The context consists of key-value pairs that will be injected at evaluation time. The keys must match the arguments defined on the caveat in the schema.
func (*ContextualizedCaveat) CloneMessageVT ¶ added in v0.9.0
func (m *ContextualizedCaveat) CloneMessageVT() proto.Message
func (*ContextualizedCaveat) CloneVT ¶ added in v0.8.0
func (m *ContextualizedCaveat) CloneVT() *ContextualizedCaveat
func (*ContextualizedCaveat) Descriptor
deprecated
added in
v0.8.0
func (*ContextualizedCaveat) Descriptor() ([]byte, []int)
Deprecated: Use ContextualizedCaveat.ProtoReflect.Descriptor instead.
func (*ContextualizedCaveat) EqualMessageVT ¶ added in v0.11.0
func (this *ContextualizedCaveat) EqualMessageVT(thatMsg proto.Message) bool
func (*ContextualizedCaveat) EqualVT ¶ added in v0.11.0
func (this *ContextualizedCaveat) EqualVT(that *ContextualizedCaveat) bool
func (*ContextualizedCaveat) GetCaveatName ¶ added in v0.8.0
func (x *ContextualizedCaveat) GetCaveatName() string
func (*ContextualizedCaveat) GetContext ¶ added in v0.8.0
func (x *ContextualizedCaveat) GetContext() *structpb.Struct
func (*ContextualizedCaveat) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *ContextualizedCaveat) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ContextualizedCaveat) MarshalToVT ¶ added in v0.8.0
func (m *ContextualizedCaveat) MarshalToVT(dAtA []byte) (int, error)
func (*ContextualizedCaveat) MarshalVT ¶ added in v0.8.0
func (m *ContextualizedCaveat) MarshalVT() (dAtA []byte, err error)
func (*ContextualizedCaveat) ProtoMessage ¶ added in v0.8.0
func (*ContextualizedCaveat) ProtoMessage()
func (*ContextualizedCaveat) ProtoReflect ¶ added in v0.8.0
func (x *ContextualizedCaveat) ProtoReflect() protoreflect.Message
func (*ContextualizedCaveat) Reset ¶ added in v0.8.0
func (x *ContextualizedCaveat) Reset()
func (*ContextualizedCaveat) SizeVT ¶ added in v0.8.0
func (m *ContextualizedCaveat) SizeVT() (n int)
func (*ContextualizedCaveat) String ¶ added in v0.8.0
func (x *ContextualizedCaveat) String() string
func (*ContextualizedCaveat) UnmarshalVT ¶ added in v0.8.0
func (m *ContextualizedCaveat) UnmarshalVT(dAtA []byte) error
func (*ContextualizedCaveat) Validate ¶ added in v0.8.0
func (m *ContextualizedCaveat) Validate() error
Validate checks the field values on ContextualizedCaveat with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ContextualizedCaveat) ValidateAll ¶ added in v0.8.0
func (m *ContextualizedCaveat) ValidateAll() error
ValidateAll checks the field values on ContextualizedCaveat with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ContextualizedCaveatMultiError, or nil if none found.
type ContextualizedCaveatMultiError ¶ added in v0.8.0
type ContextualizedCaveatMultiError []error
ContextualizedCaveatMultiError is an error wrapping multiple validation errors returned by ContextualizedCaveat.ValidateAll() if the designated constraints aren't met.
func (ContextualizedCaveatMultiError) AllErrors ¶ added in v0.8.0
func (m ContextualizedCaveatMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ContextualizedCaveatMultiError) Error ¶ added in v0.8.0
func (m ContextualizedCaveatMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ContextualizedCaveatValidationError ¶ added in v0.8.0
type ContextualizedCaveatValidationError struct {
// contains filtered or unexported fields
}
ContextualizedCaveatValidationError is the validation error returned by ContextualizedCaveat.Validate if the designated constraints aren't met.
func (ContextualizedCaveatValidationError) Cause ¶ added in v0.8.0
func (e ContextualizedCaveatValidationError) Cause() error
Cause function returns cause value.
func (ContextualizedCaveatValidationError) Error ¶ added in v0.8.0
func (e ContextualizedCaveatValidationError) Error() string
Error satisfies the builtin error interface
func (ContextualizedCaveatValidationError) ErrorName ¶ added in v0.8.0
func (e ContextualizedCaveatValidationError) ErrorName() string
ErrorName returns error name.
func (ContextualizedCaveatValidationError) Field ¶ added in v0.8.0
func (e ContextualizedCaveatValidationError) Field() string
Field function returns field value.
func (ContextualizedCaveatValidationError) Key ¶ added in v0.8.0
func (e ContextualizedCaveatValidationError) Key() bool
Key function returns key value.
func (ContextualizedCaveatValidationError) Reason ¶ added in v0.8.0
func (e ContextualizedCaveatValidationError) Reason() string
Reason function returns reason value.
type Cursor ¶ added in v0.8.0
type Cursor struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
Cursor is used to provide resumption of listing between calls to APIs such as LookupResources.
func (*Cursor) CloneMessageVT ¶ added in v0.9.0
func (*Cursor) Descriptor
deprecated
added in
v0.8.0
func (*Cursor) EqualMessageVT ¶ added in v0.11.0
func (*Cursor) MarshalToSizedBufferVT ¶ added in v0.8.0
func (*Cursor) ProtoMessage ¶ added in v0.8.0
func (*Cursor) ProtoMessage()
func (*Cursor) ProtoReflect ¶ added in v0.8.0
func (x *Cursor) ProtoReflect() protoreflect.Message
func (*Cursor) UnmarshalVT ¶ added in v0.8.0
func (*Cursor) Validate ¶ added in v0.8.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 v0.8.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 v0.8.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 v0.8.0
func (m CursorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CursorMultiError) Error ¶ added in v0.8.0
func (m CursorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CursorValidationError ¶ added in v0.8.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 v0.8.0
func (e CursorValidationError) Cause() error
Cause function returns cause value.
func (CursorValidationError) Error ¶ added in v0.8.0
func (e CursorValidationError) Error() string
Error satisfies the builtin error interface
func (CursorValidationError) ErrorName ¶ added in v0.8.0
func (e CursorValidationError) ErrorName() string
ErrorName returns error name.
func (CursorValidationError) Field ¶ added in v0.8.0
func (e CursorValidationError) Field() string
Field function returns field value.
func (CursorValidationError) Key ¶ added in v0.8.0
func (e CursorValidationError) Key() bool
Key function returns key value.
func (CursorValidationError) Reason ¶ added in v0.8.0
func (e CursorValidationError) Reason() string
Reason function returns reason value.
type DebugInformation ¶ added in v0.7.0
type DebugInformation struct { // check holds debug information about a check request. Check *CheckDebugTrace `protobuf:"bytes,1,opt,name=check,proto3" json:"check,omitempty"` // schema_used holds the schema used for the request. SchemaUsed string `protobuf:"bytes,2,opt,name=schema_used,json=schemaUsed,proto3" json:"schema_used,omitempty"` // contains filtered or unexported fields }
DebugInformation defines debug information returned by an API call in a footer when requested with a specific debugging header.
The specific debug information returned will depend on the type of the API call made.
See the github.com/authzed/authzed-go project for the specific header and footer names.
func (*DebugInformation) CloneMessageVT ¶ added in v0.9.0
func (m *DebugInformation) CloneMessageVT() proto.Message
func (*DebugInformation) CloneVT ¶ added in v0.8.0
func (m *DebugInformation) CloneVT() *DebugInformation
func (*DebugInformation) Descriptor
deprecated
added in
v0.7.0
func (*DebugInformation) Descriptor() ([]byte, []int)
Deprecated: Use DebugInformation.ProtoReflect.Descriptor instead.
func (*DebugInformation) EqualMessageVT ¶ added in v0.11.0
func (this *DebugInformation) EqualMessageVT(thatMsg proto.Message) bool
func (*DebugInformation) EqualVT ¶ added in v0.11.0
func (this *DebugInformation) EqualVT(that *DebugInformation) bool
func (*DebugInformation) GetCheck ¶ added in v0.7.0
func (x *DebugInformation) GetCheck() *CheckDebugTrace
func (*DebugInformation) GetSchemaUsed ¶ added in v0.7.0
func (x *DebugInformation) GetSchemaUsed() string
func (*DebugInformation) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *DebugInformation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DebugInformation) MarshalToVT ¶ added in v0.8.0
func (m *DebugInformation) MarshalToVT(dAtA []byte) (int, error)
func (*DebugInformation) MarshalVT ¶ added in v0.8.0
func (m *DebugInformation) MarshalVT() (dAtA []byte, err error)
func (*DebugInformation) ProtoMessage ¶ added in v0.7.0
func (*DebugInformation) ProtoMessage()
func (*DebugInformation) ProtoReflect ¶ added in v0.7.0
func (x *DebugInformation) ProtoReflect() protoreflect.Message
func (*DebugInformation) Reset ¶ added in v0.7.0
func (x *DebugInformation) Reset()
func (*DebugInformation) SizeVT ¶ added in v0.8.0
func (m *DebugInformation) SizeVT() (n int)
func (*DebugInformation) String ¶ added in v0.7.0
func (x *DebugInformation) String() string
func (*DebugInformation) UnmarshalVT ¶ added in v0.8.0
func (m *DebugInformation) UnmarshalVT(dAtA []byte) error
func (*DebugInformation) Validate ¶ added in v0.7.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 v0.7.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 v0.7.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 v0.7.0
func (m DebugInformationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DebugInformationMultiError) Error ¶ added in v0.7.0
func (m DebugInformationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DebugInformationValidationError ¶ added in v0.7.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 v0.7.0
func (e DebugInformationValidationError) Cause() error
Cause function returns cause value.
func (DebugInformationValidationError) Error ¶ added in v0.7.0
func (e DebugInformationValidationError) Error() string
Error satisfies the builtin error interface
func (DebugInformationValidationError) ErrorName ¶ added in v0.7.0
func (e DebugInformationValidationError) ErrorName() string
ErrorName returns error name.
func (DebugInformationValidationError) Field ¶ added in v0.7.0
func (e DebugInformationValidationError) Field() string
Field function returns field value.
func (DebugInformationValidationError) Key ¶ added in v0.7.0
func (e DebugInformationValidationError) Key() bool
Key function returns key value.
func (DebugInformationValidationError) Reason ¶ added in v0.7.0
func (e DebugInformationValidationError) Reason() string
Reason function returns reason value.
type DeleteRelationshipsRequest ¶
type DeleteRelationshipsRequest struct { RelationshipFilter *RelationshipFilter `protobuf:"bytes,1,opt,name=relationship_filter,json=relationshipFilter,proto3" json:"relationship_filter,omitempty"` OptionalPreconditions []*Precondition `protobuf:"bytes,2,rep,name=optional_preconditions,json=optionalPreconditions,proto3" json:"optional_preconditions,omitempty"` // To be bounded by configuration // optional_limit, if non-zero, specifies the limit on the number of relationships to be deleted. // If there are more matching relationships found to be deleted than the limit specified here, // the deletion call will fail with an error to prevent partial deletion. If partial deletion // is needed, specify below that partial deletion is allowed. Partial deletions can be used // in a loop to delete large amounts of relationships in a *non-transactional* manner. OptionalLimit uint32 `protobuf:"varint,3,opt,name=optional_limit,json=optionalLimit,proto3" json:"optional_limit,omitempty"` // optional_allow_partial_deletions, if true and a limit is specified, will delete matching found // relationships up to the count specified in optional_limit, and no more. OptionalAllowPartialDeletions bool `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
DeleteRelationshipsRequest specifies which Relationships should be deleted, requesting the delete of *ALL* relationships that match the specified filters. If the optional_preconditions parameter is included, all of the specified preconditions must also be satisfied before the delete will be executed.
func (*DeleteRelationshipsRequest) CloneMessageVT ¶ added in v0.9.0
func (m *DeleteRelationshipsRequest) CloneMessageVT() proto.Message
func (*DeleteRelationshipsRequest) CloneVT ¶ added in v0.8.0
func (m *DeleteRelationshipsRequest) CloneVT() *DeleteRelationshipsRequest
func (*DeleteRelationshipsRequest) Descriptor
deprecated
func (*DeleteRelationshipsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRelationshipsRequest.ProtoReflect.Descriptor instead.
func (*DeleteRelationshipsRequest) EqualMessageVT ¶ added in v0.11.0
func (this *DeleteRelationshipsRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*DeleteRelationshipsRequest) EqualVT ¶ added in v0.11.0
func (this *DeleteRelationshipsRequest) EqualVT(that *DeleteRelationshipsRequest) bool
func (*DeleteRelationshipsRequest) GetOptionalAllowPartialDeletions ¶ added in v0.9.0
func (x *DeleteRelationshipsRequest) GetOptionalAllowPartialDeletions() bool
func (*DeleteRelationshipsRequest) GetOptionalLimit ¶ added in v0.9.0
func (x *DeleteRelationshipsRequest) GetOptionalLimit() uint32
func (*DeleteRelationshipsRequest) GetOptionalPreconditions ¶
func (x *DeleteRelationshipsRequest) GetOptionalPreconditions() []*Precondition
func (*DeleteRelationshipsRequest) GetRelationshipFilter ¶
func (x *DeleteRelationshipsRequest) GetRelationshipFilter() *RelationshipFilter
func (*DeleteRelationshipsRequest) HandwrittenValidate ¶ added in v0.4.0
func (m *DeleteRelationshipsRequest) HandwrittenValidate() error
func (*DeleteRelationshipsRequest) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *DeleteRelationshipsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DeleteRelationshipsRequest) MarshalToVT ¶ added in v0.8.0
func (m *DeleteRelationshipsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*DeleteRelationshipsRequest) MarshalVT ¶ added in v0.8.0
func (m *DeleteRelationshipsRequest) MarshalVT() (dAtA []byte, err error)
func (*DeleteRelationshipsRequest) ProtoMessage ¶
func (*DeleteRelationshipsRequest) ProtoMessage()
func (*DeleteRelationshipsRequest) ProtoReflect ¶
func (x *DeleteRelationshipsRequest) ProtoReflect() protoreflect.Message
func (*DeleteRelationshipsRequest) Reset ¶
func (x *DeleteRelationshipsRequest) Reset()
func (*DeleteRelationshipsRequest) SizeVT ¶ added in v0.8.0
func (m *DeleteRelationshipsRequest) SizeVT() (n int)
func (*DeleteRelationshipsRequest) String ¶
func (x *DeleteRelationshipsRequest) String() string
func (*DeleteRelationshipsRequest) UnmarshalVT ¶ added in v0.8.0
func (m *DeleteRelationshipsRequest) UnmarshalVT(dAtA []byte) error
func (*DeleteRelationshipsRequest) Validate ¶
func (m *DeleteRelationshipsRequest) Validate() error
Validate checks the field values on DeleteRelationshipsRequest 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 (*DeleteRelationshipsRequest) ValidateAll ¶ added in v0.6.0
func (m *DeleteRelationshipsRequest) ValidateAll() error
ValidateAll checks the field values on DeleteRelationshipsRequest 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 DeleteRelationshipsRequestMultiError, or nil if none found.
type DeleteRelationshipsRequestMultiError ¶ added in v0.6.0
type DeleteRelationshipsRequestMultiError []error
DeleteRelationshipsRequestMultiError is an error wrapping multiple validation errors returned by DeleteRelationshipsRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteRelationshipsRequestMultiError) AllErrors ¶ added in v0.6.0
func (m DeleteRelationshipsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRelationshipsRequestMultiError) Error ¶ added in v0.6.0
func (m DeleteRelationshipsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRelationshipsRequestValidationError ¶
type DeleteRelationshipsRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteRelationshipsRequestValidationError is the validation error returned by DeleteRelationshipsRequest.Validate if the designated constraints aren't met.
func (DeleteRelationshipsRequestValidationError) Cause ¶
func (e DeleteRelationshipsRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteRelationshipsRequestValidationError) Error ¶
func (e DeleteRelationshipsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRelationshipsRequestValidationError) ErrorName ¶
func (e DeleteRelationshipsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRelationshipsRequestValidationError) Field ¶
func (e DeleteRelationshipsRequestValidationError) Field() string
Field function returns field value.
func (DeleteRelationshipsRequestValidationError) Key ¶
func (e DeleteRelationshipsRequestValidationError) Key() bool
Key function returns key value.
func (DeleteRelationshipsRequestValidationError) Reason ¶
func (e DeleteRelationshipsRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteRelationshipsResponse ¶
type DeleteRelationshipsResponse struct { // deleted_at is the revision at which the relationships were deleted. DeletedAt *ZedToken `protobuf:"bytes,1,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // deletion_progress is an enumeration of the possible outcomes that occurred when attempting to delete the specified relationships. DeletionProgress DeleteRelationshipsResponse_DeletionProgress `` /* 175-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeleteRelationshipsResponse) CloneMessageVT ¶ added in v0.9.0
func (m *DeleteRelationshipsResponse) CloneMessageVT() proto.Message
func (*DeleteRelationshipsResponse) CloneVT ¶ added in v0.8.0
func (m *DeleteRelationshipsResponse) CloneVT() *DeleteRelationshipsResponse
func (*DeleteRelationshipsResponse) Descriptor
deprecated
func (*DeleteRelationshipsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRelationshipsResponse.ProtoReflect.Descriptor instead.
func (*DeleteRelationshipsResponse) EqualMessageVT ¶ added in v0.11.0
func (this *DeleteRelationshipsResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*DeleteRelationshipsResponse) EqualVT ¶ added in v0.11.0
func (this *DeleteRelationshipsResponse) EqualVT(that *DeleteRelationshipsResponse) bool
func (*DeleteRelationshipsResponse) GetDeletedAt ¶
func (x *DeleteRelationshipsResponse) GetDeletedAt() *ZedToken
func (*DeleteRelationshipsResponse) GetDeletionProgress ¶ added in v0.9.0
func (x *DeleteRelationshipsResponse) GetDeletionProgress() DeleteRelationshipsResponse_DeletionProgress
func (*DeleteRelationshipsResponse) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *DeleteRelationshipsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DeleteRelationshipsResponse) MarshalToVT ¶ added in v0.8.0
func (m *DeleteRelationshipsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*DeleteRelationshipsResponse) MarshalVT ¶ added in v0.8.0
func (m *DeleteRelationshipsResponse) MarshalVT() (dAtA []byte, err error)
func (*DeleteRelationshipsResponse) ProtoMessage ¶
func (*DeleteRelationshipsResponse) ProtoMessage()
func (*DeleteRelationshipsResponse) ProtoReflect ¶
func (x *DeleteRelationshipsResponse) ProtoReflect() protoreflect.Message
func (*DeleteRelationshipsResponse) Reset ¶
func (x *DeleteRelationshipsResponse) Reset()
func (*DeleteRelationshipsResponse) SizeVT ¶ added in v0.8.0
func (m *DeleteRelationshipsResponse) SizeVT() (n int)
func (*DeleteRelationshipsResponse) String ¶
func (x *DeleteRelationshipsResponse) String() string
func (*DeleteRelationshipsResponse) UnmarshalVT ¶ added in v0.8.0
func (m *DeleteRelationshipsResponse) UnmarshalVT(dAtA []byte) error
func (*DeleteRelationshipsResponse) Validate ¶
func (m *DeleteRelationshipsResponse) Validate() error
Validate checks the field values on DeleteRelationshipsResponse 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 (*DeleteRelationshipsResponse) ValidateAll ¶ added in v0.6.0
func (m *DeleteRelationshipsResponse) ValidateAll() error
ValidateAll checks the field values on DeleteRelationshipsResponse 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 DeleteRelationshipsResponseMultiError, or nil if none found.
type DeleteRelationshipsResponseMultiError ¶ added in v0.6.0
type DeleteRelationshipsResponseMultiError []error
DeleteRelationshipsResponseMultiError is an error wrapping multiple validation errors returned by DeleteRelationshipsResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteRelationshipsResponseMultiError) AllErrors ¶ added in v0.6.0
func (m DeleteRelationshipsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRelationshipsResponseMultiError) Error ¶ added in v0.6.0
func (m DeleteRelationshipsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRelationshipsResponseValidationError ¶
type DeleteRelationshipsResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteRelationshipsResponseValidationError is the validation error returned by DeleteRelationshipsResponse.Validate if the designated constraints aren't met.
func (DeleteRelationshipsResponseValidationError) Cause ¶
func (e DeleteRelationshipsResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteRelationshipsResponseValidationError) Error ¶
func (e DeleteRelationshipsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRelationshipsResponseValidationError) ErrorName ¶
func (e DeleteRelationshipsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRelationshipsResponseValidationError) Field ¶
func (e DeleteRelationshipsResponseValidationError) Field() string
Field function returns field value.
func (DeleteRelationshipsResponseValidationError) Key ¶
func (e DeleteRelationshipsResponseValidationError) Key() bool
Key function returns key value.
func (DeleteRelationshipsResponseValidationError) Reason ¶
func (e DeleteRelationshipsResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteRelationshipsResponse_DeletionProgress ¶ added in v0.9.0
type DeleteRelationshipsResponse_DeletionProgress int32
const ( DeleteRelationshipsResponse_DELETION_PROGRESS_UNSPECIFIED DeleteRelationshipsResponse_DeletionProgress = 0 // DELETION_PROGRESS_COMPLETE indicates that all remaining relationships matching the filter // were deleted. Will be returned even if no relationships were deleted. DeleteRelationshipsResponse_DELETION_PROGRESS_COMPLETE DeleteRelationshipsResponse_DeletionProgress = 1 // DELETION_PROGRESS_PARTIAL indicates that a subset of the relationships matching the filter // were deleted. Only returned if optional_allow_partial_deletions was true, an optional_limit was // specified, and there existed more relationships matching the filter than optional_limit would allow. // Once all remaining relationships have been deleted, DELETION_PROGRESS_COMPLETE will be returned. DeleteRelationshipsResponse_DELETION_PROGRESS_PARTIAL DeleteRelationshipsResponse_DeletionProgress = 2 )
func (DeleteRelationshipsResponse_DeletionProgress) Descriptor ¶ added in v0.9.0
func (DeleteRelationshipsResponse_DeletionProgress) Descriptor() protoreflect.EnumDescriptor
func (DeleteRelationshipsResponse_DeletionProgress) EnumDescriptor
deprecated
added in
v0.9.0
func (DeleteRelationshipsResponse_DeletionProgress) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeleteRelationshipsResponse_DeletionProgress.Descriptor instead.
func (DeleteRelationshipsResponse_DeletionProgress) Number ¶ added in v0.9.0
func (x DeleteRelationshipsResponse_DeletionProgress) Number() protoreflect.EnumNumber
func (DeleteRelationshipsResponse_DeletionProgress) String ¶ added in v0.9.0
func (x DeleteRelationshipsResponse_DeletionProgress) String() string
func (DeleteRelationshipsResponse_DeletionProgress) Type ¶ added in v0.9.0
func (DeleteRelationshipsResponse_DeletionProgress) Type() protoreflect.EnumType
type DirectSubjectSet ¶
type DirectSubjectSet struct { Subjects []*SubjectReference `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty"` // contains filtered or unexported fields }
DirectSubjectSet is a subject set which is simply a collection of subjects.
func (*DirectSubjectSet) CloneMessageVT ¶ added in v0.9.0
func (m *DirectSubjectSet) CloneMessageVT() proto.Message
func (*DirectSubjectSet) CloneVT ¶ added in v0.8.0
func (m *DirectSubjectSet) CloneVT() *DirectSubjectSet
func (*DirectSubjectSet) Descriptor
deprecated
func (*DirectSubjectSet) Descriptor() ([]byte, []int)
Deprecated: Use DirectSubjectSet.ProtoReflect.Descriptor instead.
func (*DirectSubjectSet) EqualMessageVT ¶ added in v0.11.0
func (this *DirectSubjectSet) EqualMessageVT(thatMsg proto.Message) bool
func (*DirectSubjectSet) EqualVT ¶ added in v0.11.0
func (this *DirectSubjectSet) EqualVT(that *DirectSubjectSet) bool
func (*DirectSubjectSet) GetSubjects ¶
func (x *DirectSubjectSet) GetSubjects() []*SubjectReference
func (*DirectSubjectSet) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *DirectSubjectSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DirectSubjectSet) MarshalToVT ¶ added in v0.8.0
func (m *DirectSubjectSet) MarshalToVT(dAtA []byte) (int, error)
func (*DirectSubjectSet) MarshalVT ¶ added in v0.8.0
func (m *DirectSubjectSet) MarshalVT() (dAtA []byte, err error)
func (*DirectSubjectSet) ProtoMessage ¶
func (*DirectSubjectSet) ProtoMessage()
func (*DirectSubjectSet) ProtoReflect ¶
func (x *DirectSubjectSet) ProtoReflect() protoreflect.Message
func (*DirectSubjectSet) Reset ¶
func (x *DirectSubjectSet) Reset()
func (*DirectSubjectSet) SizeVT ¶ added in v0.8.0
func (m *DirectSubjectSet) SizeVT() (n int)
func (*DirectSubjectSet) String ¶
func (x *DirectSubjectSet) String() string
func (*DirectSubjectSet) UnmarshalVT ¶ added in v0.8.0
func (m *DirectSubjectSet) UnmarshalVT(dAtA []byte) error
func (*DirectSubjectSet) Validate ¶
func (m *DirectSubjectSet) Validate() error
Validate checks the field values on DirectSubjectSet with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DirectSubjectSet) ValidateAll ¶ added in v0.6.0
func (m *DirectSubjectSet) ValidateAll() error
ValidateAll checks the field values on DirectSubjectSet with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DirectSubjectSetMultiError, or nil if none found.
type DirectSubjectSetMultiError ¶ added in v0.6.0
type DirectSubjectSetMultiError []error
DirectSubjectSetMultiError is an error wrapping multiple validation errors returned by DirectSubjectSet.ValidateAll() if the designated constraints aren't met.
func (DirectSubjectSetMultiError) AllErrors ¶ added in v0.6.0
func (m DirectSubjectSetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DirectSubjectSetMultiError) Error ¶ added in v0.6.0
func (m DirectSubjectSetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DirectSubjectSetValidationError ¶
type DirectSubjectSetValidationError struct {
// contains filtered or unexported fields
}
DirectSubjectSetValidationError is the validation error returned by DirectSubjectSet.Validate if the designated constraints aren't met.
func (DirectSubjectSetValidationError) Cause ¶
func (e DirectSubjectSetValidationError) Cause() error
Cause function returns cause value.
func (DirectSubjectSetValidationError) Error ¶
func (e DirectSubjectSetValidationError) Error() string
Error satisfies the builtin error interface
func (DirectSubjectSetValidationError) ErrorName ¶
func (e DirectSubjectSetValidationError) ErrorName() string
ErrorName returns error name.
func (DirectSubjectSetValidationError) Field ¶
func (e DirectSubjectSetValidationError) Field() string
Field function returns field value.
func (DirectSubjectSetValidationError) Key ¶
func (e DirectSubjectSetValidationError) Key() bool
Key function returns key value.
func (DirectSubjectSetValidationError) Reason ¶
func (e DirectSubjectSetValidationError) Reason() string
Reason function returns reason value.
type ErrorReason ¶ added in v0.8.0
type ErrorReason int32
Defines the supported values for `google.rpc.ErrorInfo.reason` for the `authzed.com` error domain.
const ( // Do not use this default value. ErrorReason_ERROR_REASON_UNSPECIFIED ErrorReason = 0 // The request gave a schema that could not be parsed. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_SCHEMA_PARSE_ERROR", // "domain": "authzed.com", // "metadata": { // "start_line_number": "1", // "start_column_position": "19", // "end_line_number": "1", // "end_column_position": "19", // "source_code": "somedefinition", // } // } // // The line numbers and column positions are 0-indexed and may not be present. ErrorReason_ERROR_REASON_SCHEMA_PARSE_ERROR ErrorReason = 1 // The request contains a schema with a type error. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_SCHEMA_TYPE_ERROR", // "domain": "authzed.com", // "metadata": { // "definition_name": "somedefinition", // ... additional keys based on the kind of type error ... // } // } ErrorReason_ERROR_REASON_SCHEMA_TYPE_ERROR ErrorReason = 2 // The request referenced an unknown object definition in the schema. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_UNKNOWN_DEFINITION", // "domain": "authzed.com", // "metadata": { // "definition_name": "somedefinition" // } // } ErrorReason_ERROR_REASON_UNKNOWN_DEFINITION ErrorReason = 3 // The request referenced an unknown relation or permission under a definition in the schema. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_UNKNOWN_RELATION_OR_PERMISSION", // "domain": "authzed.com", // "metadata": { // "definition_name": "somedefinition", // "relation_or_permission_name": "somepermission" // } // } ErrorReason_ERROR_REASON_UNKNOWN_RELATION_OR_PERMISSION ErrorReason = 4 // The WriteRelationships request contained more updates than the maximum configured. // // Example of an ErrorInfo: // // { "reason": "ERROR_REASON_TOO_MANY_UPDATES_IN_REQUEST", // "domain": "authzed.com", // "metadata": { // "update_count": "525", // "maximum_updates_allowed": "500", // } // } ErrorReason_ERROR_REASON_TOO_MANY_UPDATES_IN_REQUEST ErrorReason = 5 // The request contained more preconditions than the maximum configured. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_TOO_MANY_PRECONDITIONS_IN_REQUEST", // "domain": "authzed.com", // "metadata": { // "precondition_count": "525", // "maximum_preconditions_allowed": "500", // } // } ErrorReason_ERROR_REASON_TOO_MANY_PRECONDITIONS_IN_REQUEST ErrorReason = 6 // The request contained a precondition that failed. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_WRITE_OR_DELETE_PRECONDITION_FAILURE", // "domain": "authzed.com", // "metadata": { // "precondition_resource_type": "document", // ... other fields for the filter ... // "precondition_operation": "MUST_EXIST", // } // } ErrorReason_ERROR_REASON_WRITE_OR_DELETE_PRECONDITION_FAILURE ErrorReason = 7 // A write or delete request was made to an instance that is deployed in read-only mode. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_SERVICE_READ_ONLY", // "domain": "authzed.com" // } ErrorReason_ERROR_REASON_SERVICE_READ_ONLY ErrorReason = 8 // The request referenced an unknown caveat in the schema. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_UNKNOWN_CAVEAT", // "domain": "authzed.com", // "metadata": { // "caveat_name": "somecaveat" // } // } ErrorReason_ERROR_REASON_UNKNOWN_CAVEAT ErrorReason = 9 // The request tries to use a subject type that was not valid for a relation. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_INVALID_SUBJECT_TYPE", // "domain": "authzed.com", // "metadata": { // "definition_name": "somedefinition", // "relation_name": "somerelation", // "subject_type": "user:*" // } // } ErrorReason_ERROR_REASON_INVALID_SUBJECT_TYPE ErrorReason = 10 // The request tries to specify a caveat parameter value with the wrong type. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_CAVEAT_PARAMETER_TYPE_ERROR", // "domain": "authzed.com", // "metadata": { // "definition_name": "somedefinition", // "relation_name": "somerelation", // "caveat_name": "somecaveat", // "parameter_name": "someparameter", // "expected_type": "int", // } // } ErrorReason_ERROR_REASON_CAVEAT_PARAMETER_TYPE_ERROR ErrorReason = 11 // The request tries to perform two or more updates on the same relationship in the same WriteRelationships call. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_UPDATES_ON_SAME_RELATIONSHIP", // "domain": "authzed.com", // "metadata": { // "definition_name": "somedefinition", // "relationship": "somerelationship", // } // } ErrorReason_ERROR_REASON_UPDATES_ON_SAME_RELATIONSHIP ErrorReason = 12 // The request tries to write a relationship on a permission instead of a relation. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_CANNOT_UPDATE_PERMISSION", // "domain": "authzed.com", // "metadata": { // "definition_name": "somedefinition", // "permission_name": "somerelation", // } // } ErrorReason_ERROR_REASON_CANNOT_UPDATE_PERMISSION ErrorReason = 13 // The request failed to evaluate a caveat expression due to an error. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_CAVEAT_EVALUATION_ERROR", // "domain": "authzed.com", // "metadata": { // "caveat_name": "somecaveat", // } // } ErrorReason_ERROR_REASON_CAVEAT_EVALUATION_ERROR ErrorReason = 14 // The request failed because the provided cursor was invalid in some way. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_INVALID_CURSOR", // "domain": "authzed.com", // "metadata": { // ... additional keys based on the kind of cursor error ... // } // } ErrorReason_ERROR_REASON_INVALID_CURSOR ErrorReason = 15 // The request failed because there are too many matching relationships to be // deleted within a single transactional deletion call. To avoid, set // `optional_allow_partial_deletions` to true on the DeleteRelationships call. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_TOO_MANY_RELATIONSHIPS_FOR_TRANSACTIONAL_DELETE", // "domain": "authzed.com", // "metadata": { // ... fields for the filter ... // } // } ErrorReason_ERROR_REASON_TOO_MANY_RELATIONSHIPS_FOR_TRANSACTIONAL_DELETE ErrorReason = 16 // The request failed because the client attempted to write a relationship // with a context that exceeded the configured server limit. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_MAX_RELATIONSHIP_CONTEXT_SIZE", // "domain": "authzed.com", // "metadata": { // "relationship": "relationship_exceeding_the_limit", // "max_allowed_size": "server_max_allowed_context_size", // "context_size": "actual_relationship_context_size" , // } // } ErrorReason_ERROR_REASON_MAX_RELATIONSHIP_CONTEXT_SIZE ErrorReason = 17 // The request failed because a relationship marked to be CREATEd // was already present within the datastore. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_ATTEMPT_TO_RECREATE_RELATIONSHIP", // "domain": "authzed.com", // "metadata": { // "relationship": "relationship_that_already_existed", // "resource_type": "resource type", // "resource_object_id": "resource object id", // ... additional decomposed relationship fields ... // } // } ErrorReason_ERROR_REASON_ATTEMPT_TO_RECREATE_RELATIONSHIP ErrorReason = 18 // The request failed because it caused the maximum depth allowed to be // exceeded. This typically indicates that there is a circular data traversal // somewhere in the schema, but can also be raised if the data traversal is simply // too deep. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_MAXIMUM_DEPTH_EXCEEDED", // "domain": "authzed.com", // "metadata": { // "maximum_depth_allowed": "50", // ... additional fields based on request type ... // } // } ErrorReason_ERROR_REASON_MAXIMUM_DEPTH_EXCEEDED ErrorReason = 19 // The request failed due to a serialization error in the backend database. // This typically indicates that various in flight transactions conflicted with each other // and the database had to abort one or more of them. SpiceDB will retry a few times before returning // the error to the client. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_SERIALIZATION_FAILURE", // "domain": "authzed.com", // "metadata": {} // } ErrorReason_ERROR_REASON_SERIALIZATION_FAILURE ErrorReason = 20 // The request contained more check items than the maximum configured. // // Example of an ErrorInfo: // // { // "reason": "ERROR_REASON_TOO_MANY_CHECKS_IN_REQUEST", // "domain": "authzed.com", // "metadata": { // "check_count": "525", // "maximum_checks_allowed": "500", // } // } ErrorReason_ERROR_REASON_TOO_MANY_CHECKS_IN_REQUEST ErrorReason = 21 )
func (ErrorReason) Descriptor ¶ added in v0.8.0
func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorReason) Enum ¶ added in v0.8.0
func (x ErrorReason) Enum() *ErrorReason
func (ErrorReason) EnumDescriptor
deprecated
added in
v0.8.0
func (ErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorReason.Descriptor instead.
func (ErrorReason) Number ¶ added in v0.8.0
func (x ErrorReason) Number() protoreflect.EnumNumber
func (ErrorReason) String ¶ added in v0.8.0
func (x ErrorReason) String() string
func (ErrorReason) Type ¶ added in v0.8.0
func (ErrorReason) Type() protoreflect.EnumType
type ExpandPermissionTreeRequest ¶
type ExpandPermissionTreeRequest struct { Consistency *Consistency `protobuf:"bytes,1,opt,name=consistency,proto3" json:"consistency,omitempty"` // resource is the resource over which to run the expansion. Resource *ObjectReference `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` // permission is the name of the permission or relation over which to run the // expansion for the resource. Permission string `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"` // contains filtered or unexported fields }
ExpandPermissionTreeRequest returns a tree representing the expansion of all relationships found accessible from a permission or relation on a particular resource.
ExpandPermissionTreeRequest is typically used to determine the full set of subjects with a permission, along with the relationships that grant said access.
func (*ExpandPermissionTreeRequest) CloneMessageVT ¶ added in v0.9.0
func (m *ExpandPermissionTreeRequest) CloneMessageVT() proto.Message
func (*ExpandPermissionTreeRequest) CloneVT ¶ added in v0.8.0
func (m *ExpandPermissionTreeRequest) CloneVT() *ExpandPermissionTreeRequest
func (*ExpandPermissionTreeRequest) Descriptor
deprecated
func (*ExpandPermissionTreeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExpandPermissionTreeRequest.ProtoReflect.Descriptor instead.
func (*ExpandPermissionTreeRequest) EqualMessageVT ¶ added in v0.11.0
func (this *ExpandPermissionTreeRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*ExpandPermissionTreeRequest) EqualVT ¶ added in v0.11.0
func (this *ExpandPermissionTreeRequest) EqualVT(that *ExpandPermissionTreeRequest) bool
func (*ExpandPermissionTreeRequest) GetConsistency ¶
func (x *ExpandPermissionTreeRequest) GetConsistency() *Consistency
func (*ExpandPermissionTreeRequest) GetPermission ¶
func (x *ExpandPermissionTreeRequest) GetPermission() string
func (*ExpandPermissionTreeRequest) GetResource ¶
func (x *ExpandPermissionTreeRequest) GetResource() *ObjectReference
func (*ExpandPermissionTreeRequest) HandwrittenValidate ¶ added in v0.4.0
func (m *ExpandPermissionTreeRequest) HandwrittenValidate() error
func (*ExpandPermissionTreeRequest) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *ExpandPermissionTreeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExpandPermissionTreeRequest) MarshalToVT ¶ added in v0.8.0
func (m *ExpandPermissionTreeRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ExpandPermissionTreeRequest) MarshalVT ¶ added in v0.8.0
func (m *ExpandPermissionTreeRequest) MarshalVT() (dAtA []byte, err error)
func (*ExpandPermissionTreeRequest) ProtoMessage ¶
func (*ExpandPermissionTreeRequest) ProtoMessage()
func (*ExpandPermissionTreeRequest) ProtoReflect ¶
func (x *ExpandPermissionTreeRequest) ProtoReflect() protoreflect.Message
func (*ExpandPermissionTreeRequest) Reset ¶
func (x *ExpandPermissionTreeRequest) Reset()
func (*ExpandPermissionTreeRequest) SizeVT ¶ added in v0.8.0
func (m *ExpandPermissionTreeRequest) SizeVT() (n int)
func (*ExpandPermissionTreeRequest) String ¶
func (x *ExpandPermissionTreeRequest) String() string
func (*ExpandPermissionTreeRequest) UnmarshalVT ¶ added in v0.8.0
func (m *ExpandPermissionTreeRequest) UnmarshalVT(dAtA []byte) error
func (*ExpandPermissionTreeRequest) Validate ¶
func (m *ExpandPermissionTreeRequest) Validate() error
Validate checks the field values on ExpandPermissionTreeRequest 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 (*ExpandPermissionTreeRequest) ValidateAll ¶ added in v0.6.0
func (m *ExpandPermissionTreeRequest) ValidateAll() error
ValidateAll checks the field values on ExpandPermissionTreeRequest 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 ExpandPermissionTreeRequestMultiError, or nil if none found.
type ExpandPermissionTreeRequestMultiError ¶ added in v0.6.0
type ExpandPermissionTreeRequestMultiError []error
ExpandPermissionTreeRequestMultiError is an error wrapping multiple validation errors returned by ExpandPermissionTreeRequest.ValidateAll() if the designated constraints aren't met.
func (ExpandPermissionTreeRequestMultiError) AllErrors ¶ added in v0.6.0
func (m ExpandPermissionTreeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExpandPermissionTreeRequestMultiError) Error ¶ added in v0.6.0
func (m ExpandPermissionTreeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExpandPermissionTreeRequestValidationError ¶
type ExpandPermissionTreeRequestValidationError struct {
// contains filtered or unexported fields
}
ExpandPermissionTreeRequestValidationError is the validation error returned by ExpandPermissionTreeRequest.Validate if the designated constraints aren't met.
func (ExpandPermissionTreeRequestValidationError) Cause ¶
func (e ExpandPermissionTreeRequestValidationError) Cause() error
Cause function returns cause value.
func (ExpandPermissionTreeRequestValidationError) Error ¶
func (e ExpandPermissionTreeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ExpandPermissionTreeRequestValidationError) ErrorName ¶
func (e ExpandPermissionTreeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ExpandPermissionTreeRequestValidationError) Field ¶
func (e ExpandPermissionTreeRequestValidationError) Field() string
Field function returns field value.
func (ExpandPermissionTreeRequestValidationError) Key ¶
func (e ExpandPermissionTreeRequestValidationError) Key() bool
Key function returns key value.
func (ExpandPermissionTreeRequestValidationError) Reason ¶
func (e ExpandPermissionTreeRequestValidationError) Reason() string
Reason function returns reason value.
type ExpandPermissionTreeResponse ¶
type ExpandPermissionTreeResponse struct { ExpandedAt *ZedToken `protobuf:"bytes,1,opt,name=expanded_at,json=expandedAt,proto3" json:"expanded_at,omitempty"` // tree_root is a tree structure whose leaf nodes are subjects, and // intermediate nodes represent the various operations (union, intersection, // exclusion) to reach those subjects. TreeRoot *PermissionRelationshipTree `protobuf:"bytes,2,opt,name=tree_root,json=treeRoot,proto3" json:"tree_root,omitempty"` // contains filtered or unexported fields }
func (*ExpandPermissionTreeResponse) CloneMessageVT ¶ added in v0.9.0
func (m *ExpandPermissionTreeResponse) CloneMessageVT() proto.Message
func (*ExpandPermissionTreeResponse) CloneVT ¶ added in v0.8.0
func (m *ExpandPermissionTreeResponse) CloneVT() *ExpandPermissionTreeResponse
func (*ExpandPermissionTreeResponse) Descriptor
deprecated
func (*ExpandPermissionTreeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExpandPermissionTreeResponse.ProtoReflect.Descriptor instead.
func (*ExpandPermissionTreeResponse) EqualMessageVT ¶ added in v0.11.0
func (this *ExpandPermissionTreeResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*ExpandPermissionTreeResponse) EqualVT ¶ added in v0.11.0
func (this *ExpandPermissionTreeResponse) EqualVT(that *ExpandPermissionTreeResponse) bool
func (*ExpandPermissionTreeResponse) GetExpandedAt ¶
func (x *ExpandPermissionTreeResponse) GetExpandedAt() *ZedToken
func (*ExpandPermissionTreeResponse) GetTreeRoot ¶
func (x *ExpandPermissionTreeResponse) GetTreeRoot() *PermissionRelationshipTree
func (*ExpandPermissionTreeResponse) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *ExpandPermissionTreeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExpandPermissionTreeResponse) MarshalToVT ¶ added in v0.8.0
func (m *ExpandPermissionTreeResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ExpandPermissionTreeResponse) MarshalVT ¶ added in v0.8.0
func (m *ExpandPermissionTreeResponse) MarshalVT() (dAtA []byte, err error)
func (*ExpandPermissionTreeResponse) ProtoMessage ¶
func (*ExpandPermissionTreeResponse) ProtoMessage()
func (*ExpandPermissionTreeResponse) ProtoReflect ¶
func (x *ExpandPermissionTreeResponse) ProtoReflect() protoreflect.Message
func (*ExpandPermissionTreeResponse) Reset ¶
func (x *ExpandPermissionTreeResponse) Reset()
func (*ExpandPermissionTreeResponse) SizeVT ¶ added in v0.8.0
func (m *ExpandPermissionTreeResponse) SizeVT() (n int)
func (*ExpandPermissionTreeResponse) String ¶
func (x *ExpandPermissionTreeResponse) String() string
func (*ExpandPermissionTreeResponse) UnmarshalVT ¶ added in v0.8.0
func (m *ExpandPermissionTreeResponse) UnmarshalVT(dAtA []byte) error
func (*ExpandPermissionTreeResponse) Validate ¶
func (m *ExpandPermissionTreeResponse) Validate() error
Validate checks the field values on ExpandPermissionTreeResponse 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 (*ExpandPermissionTreeResponse) ValidateAll ¶ added in v0.6.0
func (m *ExpandPermissionTreeResponse) ValidateAll() error
ValidateAll checks the field values on ExpandPermissionTreeResponse 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 ExpandPermissionTreeResponseMultiError, or nil if none found.
type ExpandPermissionTreeResponseMultiError ¶ added in v0.6.0
type ExpandPermissionTreeResponseMultiError []error
ExpandPermissionTreeResponseMultiError is an error wrapping multiple validation errors returned by ExpandPermissionTreeResponse.ValidateAll() if the designated constraints aren't met.
func (ExpandPermissionTreeResponseMultiError) AllErrors ¶ added in v0.6.0
func (m ExpandPermissionTreeResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExpandPermissionTreeResponseMultiError) Error ¶ added in v0.6.0
func (m ExpandPermissionTreeResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExpandPermissionTreeResponseValidationError ¶
type ExpandPermissionTreeResponseValidationError struct {
// contains filtered or unexported fields
}
ExpandPermissionTreeResponseValidationError is the validation error returned by ExpandPermissionTreeResponse.Validate if the designated constraints aren't met.
func (ExpandPermissionTreeResponseValidationError) Cause ¶
func (e ExpandPermissionTreeResponseValidationError) Cause() error
Cause function returns cause value.
func (ExpandPermissionTreeResponseValidationError) Error ¶
func (e ExpandPermissionTreeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ExpandPermissionTreeResponseValidationError) ErrorName ¶
func (e ExpandPermissionTreeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ExpandPermissionTreeResponseValidationError) Field ¶
func (e ExpandPermissionTreeResponseValidationError) Field() string
Field function returns field value.
func (ExpandPermissionTreeResponseValidationError) Key ¶
func (e ExpandPermissionTreeResponseValidationError) Key() bool
Key function returns key value.
func (ExpandPermissionTreeResponseValidationError) Reason ¶
func (e ExpandPermissionTreeResponseValidationError) Reason() string
Reason function returns reason value.
type ExperimentalServiceClient ¶ added in v0.9.0
type ExperimentalServiceClient interface { // BulkImportRelationships is a faster path to writing a large number of // relationships at once. It is both batched and streaming. For maximum // performance, the caller should attempt to write relationships in as close // to relationship sort order as possible: (resource.object_type, // resource.object_id, relation, subject.object.object_type, // subject.object.object_id, subject.optional_relation) // // EXPERIMENTAL // https://github.com/authzed/spicedb/issues/1303 BulkImportRelationships(ctx context.Context, opts ...grpc.CallOption) (ExperimentalService_BulkImportRelationshipsClient, error) // BulkExportRelationships is the fastest path available to exporting // relationships from the server. It is resumable, and will return results // in an order determined by the server. BulkExportRelationships(ctx context.Context, in *BulkExportRelationshipsRequest, opts ...grpc.CallOption) (ExperimentalService_BulkExportRelationshipsClient, error) BulkCheckPermission(ctx context.Context, in *BulkCheckPermissionRequest, opts ...grpc.CallOption) (*BulkCheckPermissionResponse, error) }
ExperimentalServiceClient is the client API for ExperimentalService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewExperimentalServiceClient ¶ added in v0.9.0
func NewExperimentalServiceClient(cc grpc.ClientConnInterface) ExperimentalServiceClient
type ExperimentalServiceServer ¶ added in v0.9.0
type ExperimentalServiceServer interface { // BulkImportRelationships is a faster path to writing a large number of // relationships at once. It is both batched and streaming. For maximum // performance, the caller should attempt to write relationships in as close // to relationship sort order as possible: (resource.object_type, // resource.object_id, relation, subject.object.object_type, // subject.object.object_id, subject.optional_relation) // // EXPERIMENTAL // https://github.com/authzed/spicedb/issues/1303 BulkImportRelationships(ExperimentalService_BulkImportRelationshipsServer) error // BulkExportRelationships is the fastest path available to exporting // relationships from the server. It is resumable, and will return results // in an order determined by the server. BulkExportRelationships(*BulkExportRelationshipsRequest, ExperimentalService_BulkExportRelationshipsServer) error BulkCheckPermission(context.Context, *BulkCheckPermissionRequest) (*BulkCheckPermissionResponse, error) // contains filtered or unexported methods }
ExperimentalServiceServer is the server API for ExperimentalService service. All implementations must embed UnimplementedExperimentalServiceServer for forward compatibility
type ExperimentalService_BulkExportRelationshipsClient ¶ added in v0.9.0
type ExperimentalService_BulkExportRelationshipsClient interface { Recv() (*BulkExportRelationshipsResponse, error) grpc.ClientStream }
type ExperimentalService_BulkExportRelationshipsServer ¶ added in v0.9.0
type ExperimentalService_BulkExportRelationshipsServer interface { Send(*BulkExportRelationshipsResponse) error grpc.ServerStream }
type ExperimentalService_BulkImportRelationshipsClient ¶ added in v0.9.0
type ExperimentalService_BulkImportRelationshipsClient interface { Send(*BulkImportRelationshipsRequest) error CloseAndRecv() (*BulkImportRelationshipsResponse, error) grpc.ClientStream }
type ExperimentalService_BulkImportRelationshipsServer ¶ added in v0.9.0
type ExperimentalService_BulkImportRelationshipsServer interface { SendAndClose(*BulkImportRelationshipsResponse) error Recv() (*BulkImportRelationshipsRequest, error) grpc.ServerStream }
type LookupPermissionship ¶ added in v0.8.0
type LookupPermissionship int32
LookupPermissionship represents whether a Lookup response was partially evaluated or not
const ( LookupPermissionship_LOOKUP_PERMISSIONSHIP_UNSPECIFIED LookupPermissionship = 0 LookupPermissionship_LOOKUP_PERMISSIONSHIP_HAS_PERMISSION LookupPermissionship = 1 LookupPermissionship_LOOKUP_PERMISSIONSHIP_CONDITIONAL_PERMISSION LookupPermissionship = 2 )
func (LookupPermissionship) Descriptor ¶ added in v0.8.0
func (LookupPermissionship) Descriptor() protoreflect.EnumDescriptor
func (LookupPermissionship) Enum ¶ added in v0.8.0
func (x LookupPermissionship) Enum() *LookupPermissionship
func (LookupPermissionship) EnumDescriptor
deprecated
added in
v0.8.0
func (LookupPermissionship) EnumDescriptor() ([]byte, []int)
Deprecated: Use LookupPermissionship.Descriptor instead.
func (LookupPermissionship) Number ¶ added in v0.8.0
func (x LookupPermissionship) Number() protoreflect.EnumNumber
func (LookupPermissionship) String ¶ added in v0.8.0
func (x LookupPermissionship) String() string
func (LookupPermissionship) Type ¶ added in v0.8.0
func (LookupPermissionship) Type() protoreflect.EnumType
type LookupResourcesRequest ¶
type LookupResourcesRequest struct { Consistency *Consistency `protobuf:"bytes,1,opt,name=consistency,proto3" json:"consistency,omitempty"` // resource_object_type is the type of resource object for which the IDs will // be returned. ResourceObjectType string `protobuf:"bytes,2,opt,name=resource_object_type,json=resourceObjectType,proto3" json:"resource_object_type,omitempty"` // permission is the name of the permission or relation for which the subject // must Check. Permission string `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"` // subject is the subject with access to the resources. Subject *SubjectReference `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"` // context consists of named values that are injected into the caveat evaluation context Context *structpb.Struct `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"` // optional_limit, if non-zero, specifies the limit on the number of resources to return // before the stream is closed on the server side. By default, the stream will continue // resolving resources until exhausted or the stream is closed due to the client or a // network issue. OptionalLimit uint32 `protobuf:"varint,6,opt,name=optional_limit,json=optionalLimit,proto3" json:"optional_limit,omitempty"` // optional_cursor, if specified, indicates the cursor after which results should resume being returned. // The cursor can be found on the LookupResourcesResponse object. OptionalCursor *Cursor `protobuf:"bytes,7,opt,name=optional_cursor,json=optionalCursor,proto3" json:"optional_cursor,omitempty"` // contains filtered or unexported fields }
LookupResourcesRequest performs a lookup of all resources of a particular kind on which the subject has the specified permission or the relation in which the subject exists, streaming back the IDs of those resources.
func (*LookupResourcesRequest) CloneMessageVT ¶ added in v0.9.0
func (m *LookupResourcesRequest) CloneMessageVT() proto.Message
func (*LookupResourcesRequest) CloneVT ¶ added in v0.8.0
func (m *LookupResourcesRequest) CloneVT() *LookupResourcesRequest
func (*LookupResourcesRequest) Descriptor
deprecated
func (*LookupResourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use LookupResourcesRequest.ProtoReflect.Descriptor instead.
func (*LookupResourcesRequest) EqualMessageVT ¶ added in v0.11.0
func (this *LookupResourcesRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*LookupResourcesRequest) EqualVT ¶ added in v0.11.0
func (this *LookupResourcesRequest) EqualVT(that *LookupResourcesRequest) bool
func (*LookupResourcesRequest) GetConsistency ¶
func (x *LookupResourcesRequest) GetConsistency() *Consistency
func (*LookupResourcesRequest) GetContext ¶ added in v0.8.0
func (x *LookupResourcesRequest) GetContext() *structpb.Struct
func (*LookupResourcesRequest) GetOptionalCursor ¶ added in v0.8.0
func (x *LookupResourcesRequest) GetOptionalCursor() *Cursor
func (*LookupResourcesRequest) GetOptionalLimit ¶ added in v0.8.0
func (x *LookupResourcesRequest) GetOptionalLimit() uint32
func (*LookupResourcesRequest) GetPermission ¶
func (x *LookupResourcesRequest) GetPermission() string
func (*LookupResourcesRequest) GetResourceObjectType ¶
func (x *LookupResourcesRequest) GetResourceObjectType() string
func (*LookupResourcesRequest) GetSubject ¶
func (x *LookupResourcesRequest) GetSubject() *SubjectReference
func (*LookupResourcesRequest) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *LookupResourcesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LookupResourcesRequest) MarshalToVT ¶ added in v0.8.0
func (m *LookupResourcesRequest) MarshalToVT(dAtA []byte) (int, error)
func (*LookupResourcesRequest) MarshalVT ¶ added in v0.8.0
func (m *LookupResourcesRequest) MarshalVT() (dAtA []byte, err error)
func (*LookupResourcesRequest) ProtoMessage ¶
func (*LookupResourcesRequest) ProtoMessage()
func (*LookupResourcesRequest) ProtoReflect ¶
func (x *LookupResourcesRequest) ProtoReflect() protoreflect.Message
func (*LookupResourcesRequest) Reset ¶
func (x *LookupResourcesRequest) Reset()
func (*LookupResourcesRequest) SizeVT ¶ added in v0.8.0
func (m *LookupResourcesRequest) SizeVT() (n int)
func (*LookupResourcesRequest) String ¶
func (x *LookupResourcesRequest) String() string
func (*LookupResourcesRequest) UnmarshalVT ¶ added in v0.8.0
func (m *LookupResourcesRequest) UnmarshalVT(dAtA []byte) error
func (*LookupResourcesRequest) Validate ¶
func (m *LookupResourcesRequest) Validate() error
Validate checks the field values on LookupResourcesRequest 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 (*LookupResourcesRequest) ValidateAll ¶ added in v0.6.0
func (m *LookupResourcesRequest) ValidateAll() error
ValidateAll checks the field values on LookupResourcesRequest 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 LookupResourcesRequestMultiError, or nil if none found.
type LookupResourcesRequestMultiError ¶ added in v0.6.0
type LookupResourcesRequestMultiError []error
LookupResourcesRequestMultiError is an error wrapping multiple validation errors returned by LookupResourcesRequest.ValidateAll() if the designated constraints aren't met.
func (LookupResourcesRequestMultiError) AllErrors ¶ added in v0.6.0
func (m LookupResourcesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LookupResourcesRequestMultiError) Error ¶ added in v0.6.0
func (m LookupResourcesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LookupResourcesRequestValidationError ¶
type LookupResourcesRequestValidationError struct {
// contains filtered or unexported fields
}
LookupResourcesRequestValidationError is the validation error returned by LookupResourcesRequest.Validate if the designated constraints aren't met.
func (LookupResourcesRequestValidationError) Cause ¶
func (e LookupResourcesRequestValidationError) Cause() error
Cause function returns cause value.
func (LookupResourcesRequestValidationError) Error ¶
func (e LookupResourcesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LookupResourcesRequestValidationError) ErrorName ¶
func (e LookupResourcesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LookupResourcesRequestValidationError) Field ¶
func (e LookupResourcesRequestValidationError) Field() string
Field function returns field value.
func (LookupResourcesRequestValidationError) Key ¶
func (e LookupResourcesRequestValidationError) Key() bool
Key function returns key value.
func (LookupResourcesRequestValidationError) Reason ¶
func (e LookupResourcesRequestValidationError) Reason() string
Reason function returns reason value.
type LookupResourcesResponse ¶
type LookupResourcesResponse struct { // looked_up_at is the ZedToken at which the resource was found. LookedUpAt *ZedToken `protobuf:"bytes,1,opt,name=looked_up_at,json=lookedUpAt,proto3" json:"looked_up_at,omitempty"` // resource_object_id is the object ID of the found resource. ResourceObjectId string `protobuf:"bytes,2,opt,name=resource_object_id,json=resourceObjectId,proto3" json:"resource_object_id,omitempty"` // permissionship indicates whether the response was partially evaluated or not Permissionship LookupPermissionship `protobuf:"varint,3,opt,name=permissionship,proto3,enum=authzed.api.v1.LookupPermissionship" json:"permissionship,omitempty"` // partial_caveat_info holds information of a partially-evaluated caveated response PartialCaveatInfo *PartialCaveatInfo `protobuf:"bytes,4,opt,name=partial_caveat_info,json=partialCaveatInfo,proto3" json:"partial_caveat_info,omitempty"` // after_result_cursor holds a cursor that can be used to resume the LookupResources stream after this // result. AfterResultCursor *Cursor `protobuf:"bytes,5,opt,name=after_result_cursor,json=afterResultCursor,proto3" json:"after_result_cursor,omitempty"` // contains filtered or unexported fields }
LookupResourcesResponse contains a single matching resource object ID for the requested object type, permission, and subject.
func (*LookupResourcesResponse) CloneMessageVT ¶ added in v0.9.0
func (m *LookupResourcesResponse) CloneMessageVT() proto.Message
func (*LookupResourcesResponse) CloneVT ¶ added in v0.8.0
func (m *LookupResourcesResponse) CloneVT() *LookupResourcesResponse
func (*LookupResourcesResponse) Descriptor
deprecated
func (*LookupResourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use LookupResourcesResponse.ProtoReflect.Descriptor instead.
func (*LookupResourcesResponse) EqualMessageVT ¶ added in v0.11.0
func (this *LookupResourcesResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*LookupResourcesResponse) EqualVT ¶ added in v0.11.0
func (this *LookupResourcesResponse) EqualVT(that *LookupResourcesResponse) bool
func (*LookupResourcesResponse) GetAfterResultCursor ¶ added in v0.8.0
func (x *LookupResourcesResponse) GetAfterResultCursor() *Cursor
func (*LookupResourcesResponse) GetLookedUpAt ¶
func (x *LookupResourcesResponse) GetLookedUpAt() *ZedToken
func (*LookupResourcesResponse) GetPartialCaveatInfo ¶ added in v0.8.0
func (x *LookupResourcesResponse) GetPartialCaveatInfo() *PartialCaveatInfo
func (*LookupResourcesResponse) GetPermissionship ¶ added in v0.8.0
func (x *LookupResourcesResponse) GetPermissionship() LookupPermissionship
func (*LookupResourcesResponse) GetResourceObjectId ¶
func (x *LookupResourcesResponse) GetResourceObjectId() string
func (*LookupResourcesResponse) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *LookupResourcesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LookupResourcesResponse) MarshalToVT ¶ added in v0.8.0
func (m *LookupResourcesResponse) MarshalToVT(dAtA []byte) (int, error)
func (*LookupResourcesResponse) MarshalVT ¶ added in v0.8.0
func (m *LookupResourcesResponse) MarshalVT() (dAtA []byte, err error)
func (*LookupResourcesResponse) ProtoMessage ¶
func (*LookupResourcesResponse) ProtoMessage()
func (*LookupResourcesResponse) ProtoReflect ¶
func (x *LookupResourcesResponse) ProtoReflect() protoreflect.Message
func (*LookupResourcesResponse) Reset ¶
func (x *LookupResourcesResponse) Reset()
func (*LookupResourcesResponse) SizeVT ¶ added in v0.8.0
func (m *LookupResourcesResponse) SizeVT() (n int)
func (*LookupResourcesResponse) String ¶
func (x *LookupResourcesResponse) String() string
func (*LookupResourcesResponse) UnmarshalVT ¶ added in v0.8.0
func (m *LookupResourcesResponse) UnmarshalVT(dAtA []byte) error
func (*LookupResourcesResponse) Validate ¶
func (m *LookupResourcesResponse) Validate() error
Validate checks the field values on LookupResourcesResponse 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 (*LookupResourcesResponse) ValidateAll ¶ added in v0.6.0
func (m *LookupResourcesResponse) ValidateAll() error
ValidateAll checks the field values on LookupResourcesResponse 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 LookupResourcesResponseMultiError, or nil if none found.
type LookupResourcesResponseMultiError ¶ added in v0.6.0
type LookupResourcesResponseMultiError []error
LookupResourcesResponseMultiError is an error wrapping multiple validation errors returned by LookupResourcesResponse.ValidateAll() if the designated constraints aren't met.
func (LookupResourcesResponseMultiError) AllErrors ¶ added in v0.6.0
func (m LookupResourcesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LookupResourcesResponseMultiError) Error ¶ added in v0.6.0
func (m LookupResourcesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LookupResourcesResponseValidationError ¶
type LookupResourcesResponseValidationError struct {
// contains filtered or unexported fields
}
LookupResourcesResponseValidationError is the validation error returned by LookupResourcesResponse.Validate if the designated constraints aren't met.
func (LookupResourcesResponseValidationError) Cause ¶
func (e LookupResourcesResponseValidationError) Cause() error
Cause function returns cause value.
func (LookupResourcesResponseValidationError) Error ¶
func (e LookupResourcesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LookupResourcesResponseValidationError) ErrorName ¶
func (e LookupResourcesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LookupResourcesResponseValidationError) Field ¶
func (e LookupResourcesResponseValidationError) Field() string
Field function returns field value.
func (LookupResourcesResponseValidationError) Key ¶
func (e LookupResourcesResponseValidationError) Key() bool
Key function returns key value.
func (LookupResourcesResponseValidationError) Reason ¶
func (e LookupResourcesResponseValidationError) Reason() string
Reason function returns reason value.
type LookupSubjectsRequest ¶ added in v0.7.0
type LookupSubjectsRequest struct { Consistency *Consistency `protobuf:"bytes,1,opt,name=consistency,proto3" json:"consistency,omitempty"` // resource is the resource for which all matching subjects for the permission // or relation will be returned. Resource *ObjectReference `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` // permission is the name of the permission (or relation) for which to find // the subjects. Permission string `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"` // subject_object_type is the type of subject object for which the IDs will // be returned. SubjectObjectType string `protobuf:"bytes,4,opt,name=subject_object_type,json=subjectObjectType,proto3" json:"subject_object_type,omitempty"` // optional_subject_relation is the optional relation for the subject. OptionalSubjectRelation string `` /* 132-byte string literal not displayed */ // context consists of named values that are injected into the caveat evaluation context Context *structpb.Struct `protobuf:"bytes,6,opt,name=context,proto3" json:"context,omitempty"` // optional_concrete_limit, if non-zero, specifies the limit on the number of // *concrete* (non-wildcard) subjects to return before the stream is closed on the // server side. With the default value of zero, the stream will continue resolving // concrete subjects until exhausted or the stream is closed due to the client or // a network issue. // // NOTE: Wildcard subjects ("*") have special treatment when cursors and limits are used. Because // wildcards can apply to *any* concrete subjects, if a wildcard subject is found within the dataset, // a wildcard subject can be returned for *all* LookupSubjects calls, regardless of the cursor or // limit. // // For example, if wildcards are requested, a wildcard subject exists, there is a specified limit // of 10 concrete subjects, and at least 10 concrete subjects exist, the API will return 11 subjects // in total: the 10 concrete + the wildcard // // Furthermore, if a wildcard has a set of exclusions generated by the dataset, // the exclusions *will respect the cursor* and only a *partial* set of exclusions will be returned // for each invocation of the API. // // ***IT IS UP TO THE CALLER IN THIS CASE TO COMBINE THE EXCLUSIONS IF DESIRED*** OptionalConcreteLimit uint32 `` /* 127-byte string literal not displayed */ // optional_cursor, if specified, indicates the cursor after which results should resume being returned. // The cursor can be found on the LookupSubjectsResponse object. // // NOTE: See above for notes about how cursors interact with wildcard subjects. OptionalCursor *Cursor `protobuf:"bytes,8,opt,name=optional_cursor,json=optionalCursor,proto3" json:"optional_cursor,omitempty"` // wildcard_option specifies whether wildcards should be returned by LookupSubjects. // For backwards compatibility, defaults to WILDCARD_OPTION_INCLUDE_WILDCARDS if unspecified. WildcardOption LookupSubjectsRequest_WildcardOption `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
LookupSubjectsRequest performs a lookup of all subjects of a particular kind for which the subject has the specified permission or the relation in which the subject exists, streaming back the IDs of those subjects.
func (*LookupSubjectsRequest) CloneMessageVT ¶ added in v0.9.0
func (m *LookupSubjectsRequest) CloneMessageVT() proto.Message
func (*LookupSubjectsRequest) CloneVT ¶ added in v0.8.0
func (m *LookupSubjectsRequest) CloneVT() *LookupSubjectsRequest
func (*LookupSubjectsRequest) Descriptor
deprecated
added in
v0.7.0
func (*LookupSubjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use LookupSubjectsRequest.ProtoReflect.Descriptor instead.
func (*LookupSubjectsRequest) EqualMessageVT ¶ added in v0.11.0
func (this *LookupSubjectsRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*LookupSubjectsRequest) EqualVT ¶ added in v0.11.0
func (this *LookupSubjectsRequest) EqualVT(that *LookupSubjectsRequest) bool
func (*LookupSubjectsRequest) GetConsistency ¶ added in v0.7.0
func (x *LookupSubjectsRequest) GetConsistency() *Consistency
func (*LookupSubjectsRequest) GetContext ¶ added in v0.8.0
func (x *LookupSubjectsRequest) GetContext() *structpb.Struct
func (*LookupSubjectsRequest) GetOptionalConcreteLimit ¶ added in v0.9.0
func (x *LookupSubjectsRequest) GetOptionalConcreteLimit() uint32
func (*LookupSubjectsRequest) GetOptionalCursor ¶ added in v0.9.0
func (x *LookupSubjectsRequest) GetOptionalCursor() *Cursor
func (*LookupSubjectsRequest) GetOptionalSubjectRelation ¶ added in v0.7.0
func (x *LookupSubjectsRequest) GetOptionalSubjectRelation() string
func (*LookupSubjectsRequest) GetPermission ¶ added in v0.7.0
func (x *LookupSubjectsRequest) GetPermission() string
func (*LookupSubjectsRequest) GetResource ¶ added in v0.7.0
func (x *LookupSubjectsRequest) GetResource() *ObjectReference
func (*LookupSubjectsRequest) GetSubjectObjectType ¶ added in v0.7.0
func (x *LookupSubjectsRequest) GetSubjectObjectType() string
func (*LookupSubjectsRequest) GetWildcardOption ¶ added in v0.9.0
func (x *LookupSubjectsRequest) GetWildcardOption() LookupSubjectsRequest_WildcardOption
func (*LookupSubjectsRequest) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *LookupSubjectsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LookupSubjectsRequest) MarshalToVT ¶ added in v0.8.0
func (m *LookupSubjectsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*LookupSubjectsRequest) MarshalVT ¶ added in v0.8.0
func (m *LookupSubjectsRequest) MarshalVT() (dAtA []byte, err error)
func (*LookupSubjectsRequest) ProtoMessage ¶ added in v0.7.0
func (*LookupSubjectsRequest) ProtoMessage()
func (*LookupSubjectsRequest) ProtoReflect ¶ added in v0.7.0
func (x *LookupSubjectsRequest) ProtoReflect() protoreflect.Message
func (*LookupSubjectsRequest) Reset ¶ added in v0.7.0
func (x *LookupSubjectsRequest) Reset()
func (*LookupSubjectsRequest) SizeVT ¶ added in v0.8.0
func (m *LookupSubjectsRequest) SizeVT() (n int)
func (*LookupSubjectsRequest) String ¶ added in v0.7.0
func (x *LookupSubjectsRequest) String() string
func (*LookupSubjectsRequest) UnmarshalVT ¶ added in v0.8.0
func (m *LookupSubjectsRequest) UnmarshalVT(dAtA []byte) error
func (*LookupSubjectsRequest) Validate ¶ added in v0.7.0
func (m *LookupSubjectsRequest) Validate() error
Validate checks the field values on LookupSubjectsRequest 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 (*LookupSubjectsRequest) ValidateAll ¶ added in v0.7.0
func (m *LookupSubjectsRequest) ValidateAll() error
ValidateAll checks the field values on LookupSubjectsRequest 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 LookupSubjectsRequestMultiError, or nil if none found.
type LookupSubjectsRequestMultiError ¶ added in v0.7.0
type LookupSubjectsRequestMultiError []error
LookupSubjectsRequestMultiError is an error wrapping multiple validation errors returned by LookupSubjectsRequest.ValidateAll() if the designated constraints aren't met.
func (LookupSubjectsRequestMultiError) AllErrors ¶ added in v0.7.0
func (m LookupSubjectsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LookupSubjectsRequestMultiError) Error ¶ added in v0.7.0
func (m LookupSubjectsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LookupSubjectsRequestValidationError ¶ added in v0.7.0
type LookupSubjectsRequestValidationError struct {
// contains filtered or unexported fields
}
LookupSubjectsRequestValidationError is the validation error returned by LookupSubjectsRequest.Validate if the designated constraints aren't met.
func (LookupSubjectsRequestValidationError) Cause ¶ added in v0.7.0
func (e LookupSubjectsRequestValidationError) Cause() error
Cause function returns cause value.
func (LookupSubjectsRequestValidationError) Error ¶ added in v0.7.0
func (e LookupSubjectsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LookupSubjectsRequestValidationError) ErrorName ¶ added in v0.7.0
func (e LookupSubjectsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LookupSubjectsRequestValidationError) Field ¶ added in v0.7.0
func (e LookupSubjectsRequestValidationError) Field() string
Field function returns field value.
func (LookupSubjectsRequestValidationError) Key ¶ added in v0.7.0
func (e LookupSubjectsRequestValidationError) Key() bool
Key function returns key value.
func (LookupSubjectsRequestValidationError) Reason ¶ added in v0.7.0
func (e LookupSubjectsRequestValidationError) Reason() string
Reason function returns reason value.
type LookupSubjectsRequest_WildcardOption ¶ added in v0.9.0
type LookupSubjectsRequest_WildcardOption int32
const ( LookupSubjectsRequest_WILDCARD_OPTION_UNSPECIFIED LookupSubjectsRequest_WildcardOption = 0 LookupSubjectsRequest_WILDCARD_OPTION_INCLUDE_WILDCARDS LookupSubjectsRequest_WildcardOption = 1 LookupSubjectsRequest_WILDCARD_OPTION_EXCLUDE_WILDCARDS LookupSubjectsRequest_WildcardOption = 2 )
func (LookupSubjectsRequest_WildcardOption) Descriptor ¶ added in v0.9.0
func (LookupSubjectsRequest_WildcardOption) Descriptor() protoreflect.EnumDescriptor
func (LookupSubjectsRequest_WildcardOption) Enum ¶ added in v0.9.0
func (x LookupSubjectsRequest_WildcardOption) Enum() *LookupSubjectsRequest_WildcardOption
func (LookupSubjectsRequest_WildcardOption) EnumDescriptor
deprecated
added in
v0.9.0
func (LookupSubjectsRequest_WildcardOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use LookupSubjectsRequest_WildcardOption.Descriptor instead.
func (LookupSubjectsRequest_WildcardOption) Number ¶ added in v0.9.0
func (x LookupSubjectsRequest_WildcardOption) Number() protoreflect.EnumNumber
func (LookupSubjectsRequest_WildcardOption) String ¶ added in v0.9.0
func (x LookupSubjectsRequest_WildcardOption) String() string
func (LookupSubjectsRequest_WildcardOption) Type ¶ added in v0.9.0
func (LookupSubjectsRequest_WildcardOption) Type() protoreflect.EnumType
type LookupSubjectsResponse ¶ added in v0.7.0
type LookupSubjectsResponse struct { LookedUpAt *ZedToken `protobuf:"bytes,1,opt,name=looked_up_at,json=lookedUpAt,proto3" json:"looked_up_at,omitempty"` // subject_object_id is the Object ID of the subject found. May be a `*` if // a wildcard was found. // deprecated: use `subject` // // Deprecated: Marked as deprecated in authzed/api/v1/permission_service.proto. SubjectObjectId string `protobuf:"bytes,2,opt,name=subject_object_id,json=subjectObjectId,proto3" json:"subject_object_id,omitempty"` // excluded_subject_ids are the Object IDs of the subjects excluded. This list // will only contain object IDs if `subject_object_id` is a wildcard (`*`) and // will only be populated if exclusions exist from the wildcard. // deprecated: use `excluded_subjects` // // Deprecated: Marked as deprecated in authzed/api/v1/permission_service.proto. ExcludedSubjectIds []string `protobuf:"bytes,3,rep,name=excluded_subject_ids,json=excludedSubjectIds,proto3" json:"excluded_subject_ids,omitempty"` // permissionship indicates whether the response was partially evaluated or not // deprecated: use `subject.permissionship` // // Deprecated: Marked as deprecated in authzed/api/v1/permission_service.proto. Permissionship LookupPermissionship `protobuf:"varint,4,opt,name=permissionship,proto3,enum=authzed.api.v1.LookupPermissionship" json:"permissionship,omitempty"` // partial_caveat_info holds information of a partially-evaluated caveated response // deprecated: use `subject.partial_caveat_info` // // Deprecated: Marked as deprecated in authzed/api/v1/permission_service.proto. PartialCaveatInfo *PartialCaveatInfo `protobuf:"bytes,5,opt,name=partial_caveat_info,json=partialCaveatInfo,proto3" json:"partial_caveat_info,omitempty"` // subject is the subject found, along with its permissionship. Subject *ResolvedSubject `protobuf:"bytes,6,opt,name=subject,proto3" json:"subject,omitempty"` // excluded_subjects are the subjects excluded. This list // will only contain subjects if `subject.subject_object_id` is a wildcard (`*`) and // will only be populated if exclusions exist from the wildcard. ExcludedSubjects []*ResolvedSubject `protobuf:"bytes,7,rep,name=excluded_subjects,json=excludedSubjects,proto3" json:"excluded_subjects,omitempty"` // after_result_cursor holds a cursor that can be used to resume the LookupSubjects stream after this // result. AfterResultCursor *Cursor `protobuf:"bytes,8,opt,name=after_result_cursor,json=afterResultCursor,proto3" json:"after_result_cursor,omitempty"` // contains filtered or unexported fields }
LookupSubjectsResponse contains a single matching subject object ID for the requested subject object type on the permission or relation.
func (*LookupSubjectsResponse) CloneMessageVT ¶ added in v0.9.0
func (m *LookupSubjectsResponse) CloneMessageVT() proto.Message
func (*LookupSubjectsResponse) CloneVT ¶ added in v0.8.0
func (m *LookupSubjectsResponse) CloneVT() *LookupSubjectsResponse
func (*LookupSubjectsResponse) Descriptor
deprecated
added in
v0.7.0
func (*LookupSubjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use LookupSubjectsResponse.ProtoReflect.Descriptor instead.
func (*LookupSubjectsResponse) EqualMessageVT ¶ added in v0.11.0
func (this *LookupSubjectsResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*LookupSubjectsResponse) EqualVT ¶ added in v0.11.0
func (this *LookupSubjectsResponse) EqualVT(that *LookupSubjectsResponse) bool
func (*LookupSubjectsResponse) GetAfterResultCursor ¶ added in v0.9.0
func (x *LookupSubjectsResponse) GetAfterResultCursor() *Cursor
func (*LookupSubjectsResponse) GetExcludedSubjectIds
deprecated
added in
v0.7.0
func (x *LookupSubjectsResponse) GetExcludedSubjectIds() []string
Deprecated: Marked as deprecated in authzed/api/v1/permission_service.proto.
func (*LookupSubjectsResponse) GetExcludedSubjects ¶ added in v0.8.0
func (x *LookupSubjectsResponse) GetExcludedSubjects() []*ResolvedSubject
func (*LookupSubjectsResponse) GetLookedUpAt ¶ added in v0.7.0
func (x *LookupSubjectsResponse) GetLookedUpAt() *ZedToken
func (*LookupSubjectsResponse) GetPartialCaveatInfo
deprecated
added in
v0.8.0
func (x *LookupSubjectsResponse) GetPartialCaveatInfo() *PartialCaveatInfo
Deprecated: Marked as deprecated in authzed/api/v1/permission_service.proto.
func (*LookupSubjectsResponse) GetPermissionship
deprecated
added in
v0.8.0
func (x *LookupSubjectsResponse) GetPermissionship() LookupPermissionship
Deprecated: Marked as deprecated in authzed/api/v1/permission_service.proto.
func (*LookupSubjectsResponse) GetSubject ¶ added in v0.8.0
func (x *LookupSubjectsResponse) GetSubject() *ResolvedSubject
func (*LookupSubjectsResponse) GetSubjectObjectId
deprecated
added in
v0.7.0
func (x *LookupSubjectsResponse) GetSubjectObjectId() string
Deprecated: Marked as deprecated in authzed/api/v1/permission_service.proto.
func (*LookupSubjectsResponse) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *LookupSubjectsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LookupSubjectsResponse) MarshalToVT ¶ added in v0.8.0
func (m *LookupSubjectsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*LookupSubjectsResponse) MarshalVT ¶ added in v0.8.0
func (m *LookupSubjectsResponse) MarshalVT() (dAtA []byte, err error)
func (*LookupSubjectsResponse) ProtoMessage ¶ added in v0.7.0
func (*LookupSubjectsResponse) ProtoMessage()
func (*LookupSubjectsResponse) ProtoReflect ¶ added in v0.7.0
func (x *LookupSubjectsResponse) ProtoReflect() protoreflect.Message
func (*LookupSubjectsResponse) Reset ¶ added in v0.7.0
func (x *LookupSubjectsResponse) Reset()
func (*LookupSubjectsResponse) SizeVT ¶ added in v0.8.0
func (m *LookupSubjectsResponse) SizeVT() (n int)
func (*LookupSubjectsResponse) String ¶ added in v0.7.0
func (x *LookupSubjectsResponse) String() string
func (*LookupSubjectsResponse) UnmarshalVT ¶ added in v0.8.0
func (m *LookupSubjectsResponse) UnmarshalVT(dAtA []byte) error
func (*LookupSubjectsResponse) Validate ¶ added in v0.7.0
func (m *LookupSubjectsResponse) Validate() error
Validate checks the field values on LookupSubjectsResponse 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 (*LookupSubjectsResponse) ValidateAll ¶ added in v0.7.0
func (m *LookupSubjectsResponse) ValidateAll() error
ValidateAll checks the field values on LookupSubjectsResponse 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 LookupSubjectsResponseMultiError, or nil if none found.
type LookupSubjectsResponseMultiError ¶ added in v0.7.0
type LookupSubjectsResponseMultiError []error
LookupSubjectsResponseMultiError is an error wrapping multiple validation errors returned by LookupSubjectsResponse.ValidateAll() if the designated constraints aren't met.
func (LookupSubjectsResponseMultiError) AllErrors ¶ added in v0.7.0
func (m LookupSubjectsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LookupSubjectsResponseMultiError) Error ¶ added in v0.7.0
func (m LookupSubjectsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LookupSubjectsResponseValidationError ¶ added in v0.7.0
type LookupSubjectsResponseValidationError struct {
// contains filtered or unexported fields
}
LookupSubjectsResponseValidationError is the validation error returned by LookupSubjectsResponse.Validate if the designated constraints aren't met.
func (LookupSubjectsResponseValidationError) Cause ¶ added in v0.7.0
func (e LookupSubjectsResponseValidationError) Cause() error
Cause function returns cause value.
func (LookupSubjectsResponseValidationError) Error ¶ added in v0.7.0
func (e LookupSubjectsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LookupSubjectsResponseValidationError) ErrorName ¶ added in v0.7.0
func (e LookupSubjectsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LookupSubjectsResponseValidationError) Field ¶ added in v0.7.0
func (e LookupSubjectsResponseValidationError) Field() string
Field function returns field value.
func (LookupSubjectsResponseValidationError) Key ¶ added in v0.7.0
func (e LookupSubjectsResponseValidationError) Key() bool
Key function returns key value.
func (LookupSubjectsResponseValidationError) Reason ¶ added in v0.7.0
func (e LookupSubjectsResponseValidationError) Reason() string
Reason function returns reason value.
type ObjectReference ¶
type ObjectReference struct { ObjectType string `protobuf:"bytes,1,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"` ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` // contains filtered or unexported fields }
ObjectReference is used to refer to a specific object in the system.
func (*ObjectReference) CloneMessageVT ¶ added in v0.9.0
func (m *ObjectReference) CloneMessageVT() proto.Message
func (*ObjectReference) CloneVT ¶ added in v0.8.0
func (m *ObjectReference) CloneVT() *ObjectReference
func (*ObjectReference) Descriptor
deprecated
func (*ObjectReference) Descriptor() ([]byte, []int)
Deprecated: Use ObjectReference.ProtoReflect.Descriptor instead.
func (*ObjectReference) EqualMessageVT ¶ added in v0.11.0
func (this *ObjectReference) EqualMessageVT(thatMsg proto.Message) bool
func (*ObjectReference) EqualVT ¶ added in v0.11.0
func (this *ObjectReference) EqualVT(that *ObjectReference) bool
func (*ObjectReference) GetObjectId ¶
func (x *ObjectReference) GetObjectId() string
func (*ObjectReference) GetObjectType ¶
func (x *ObjectReference) GetObjectType() string
func (*ObjectReference) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *ObjectReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ObjectReference) MarshalToVT ¶ added in v0.8.0
func (m *ObjectReference) MarshalToVT(dAtA []byte) (int, error)
func (*ObjectReference) MarshalVT ¶ added in v0.8.0
func (m *ObjectReference) MarshalVT() (dAtA []byte, err error)
func (*ObjectReference) ProtoMessage ¶
func (*ObjectReference) ProtoMessage()
func (*ObjectReference) ProtoReflect ¶
func (x *ObjectReference) ProtoReflect() protoreflect.Message
func (*ObjectReference) Reset ¶
func (x *ObjectReference) Reset()
func (*ObjectReference) SizeVT ¶ added in v0.8.0
func (m *ObjectReference) SizeVT() (n int)
func (*ObjectReference) String ¶
func (x *ObjectReference) String() string
func (*ObjectReference) UnmarshalVT ¶ added in v0.8.0
func (m *ObjectReference) UnmarshalVT(dAtA []byte) error
func (*ObjectReference) Validate ¶
func (m *ObjectReference) Validate() error
Validate checks the field values on ObjectReference with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ObjectReference) ValidateAll ¶ added in v0.6.0
func (m *ObjectReference) ValidateAll() error
ValidateAll checks the field values on ObjectReference with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ObjectReferenceMultiError, or nil if none found.
type ObjectReferenceMultiError ¶ added in v0.6.0
type ObjectReferenceMultiError []error
ObjectReferenceMultiError is an error wrapping multiple validation errors returned by ObjectReference.ValidateAll() if the designated constraints aren't met.
func (ObjectReferenceMultiError) AllErrors ¶ added in v0.6.0
func (m ObjectReferenceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ObjectReferenceMultiError) Error ¶ added in v0.6.0
func (m ObjectReferenceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ObjectReferenceValidationError ¶
type ObjectReferenceValidationError struct {
// contains filtered or unexported fields
}
ObjectReferenceValidationError is the validation error returned by ObjectReference.Validate if the designated constraints aren't met.
func (ObjectReferenceValidationError) Cause ¶
func (e ObjectReferenceValidationError) Cause() error
Cause function returns cause value.
func (ObjectReferenceValidationError) Error ¶
func (e ObjectReferenceValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectReferenceValidationError) ErrorName ¶
func (e ObjectReferenceValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectReferenceValidationError) Field ¶
func (e ObjectReferenceValidationError) Field() string
Field function returns field value.
func (ObjectReferenceValidationError) Key ¶
func (e ObjectReferenceValidationError) Key() bool
Key function returns key value.
func (ObjectReferenceValidationError) Reason ¶
func (e ObjectReferenceValidationError) Reason() string
Reason function returns reason value.
type PartialCaveatInfo ¶ added in v0.8.0
type PartialCaveatInfo struct { // missing_required_context is a list of one or more fields that were missing and prevented caveats // from being fully evaluated MissingRequiredContext []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
PartialCaveatInfo carries information necessary for the client to take action in the event a response contains a partially evaluated caveat
func (*PartialCaveatInfo) CloneMessageVT ¶ added in v0.9.0
func (m *PartialCaveatInfo) CloneMessageVT() proto.Message
func (*PartialCaveatInfo) CloneVT ¶ added in v0.8.0
func (m *PartialCaveatInfo) CloneVT() *PartialCaveatInfo
func (*PartialCaveatInfo) Descriptor
deprecated
added in
v0.8.0
func (*PartialCaveatInfo) Descriptor() ([]byte, []int)
Deprecated: Use PartialCaveatInfo.ProtoReflect.Descriptor instead.
func (*PartialCaveatInfo) EqualMessageVT ¶ added in v0.11.0
func (this *PartialCaveatInfo) EqualMessageVT(thatMsg proto.Message) bool
func (*PartialCaveatInfo) EqualVT ¶ added in v0.11.0
func (this *PartialCaveatInfo) EqualVT(that *PartialCaveatInfo) bool
func (*PartialCaveatInfo) GetMissingRequiredContext ¶ added in v0.8.0
func (x *PartialCaveatInfo) GetMissingRequiredContext() []string
func (*PartialCaveatInfo) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *PartialCaveatInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PartialCaveatInfo) MarshalToVT ¶ added in v0.8.0
func (m *PartialCaveatInfo) MarshalToVT(dAtA []byte) (int, error)
func (*PartialCaveatInfo) MarshalVT ¶ added in v0.8.0
func (m *PartialCaveatInfo) MarshalVT() (dAtA []byte, err error)
func (*PartialCaveatInfo) ProtoMessage ¶ added in v0.8.0
func (*PartialCaveatInfo) ProtoMessage()
func (*PartialCaveatInfo) ProtoReflect ¶ added in v0.8.0
func (x *PartialCaveatInfo) ProtoReflect() protoreflect.Message
func (*PartialCaveatInfo) Reset ¶ added in v0.8.0
func (x *PartialCaveatInfo) Reset()
func (*PartialCaveatInfo) SizeVT ¶ added in v0.8.0
func (m *PartialCaveatInfo) SizeVT() (n int)
func (*PartialCaveatInfo) String ¶ added in v0.8.0
func (x *PartialCaveatInfo) String() string
func (*PartialCaveatInfo) UnmarshalVT ¶ added in v0.8.0
func (m *PartialCaveatInfo) UnmarshalVT(dAtA []byte) error
func (*PartialCaveatInfo) Validate ¶ added in v0.8.0
func (m *PartialCaveatInfo) Validate() error
Validate checks the field values on PartialCaveatInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PartialCaveatInfo) ValidateAll ¶ added in v0.8.0
func (m *PartialCaveatInfo) ValidateAll() error
ValidateAll checks the field values on PartialCaveatInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PartialCaveatInfoMultiError, or nil if none found.
type PartialCaveatInfoMultiError ¶ added in v0.8.0
type PartialCaveatInfoMultiError []error
PartialCaveatInfoMultiError is an error wrapping multiple validation errors returned by PartialCaveatInfo.ValidateAll() if the designated constraints aren't met.
func (PartialCaveatInfoMultiError) AllErrors ¶ added in v0.8.0
func (m PartialCaveatInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PartialCaveatInfoMultiError) Error ¶ added in v0.8.0
func (m PartialCaveatInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PartialCaveatInfoValidationError ¶ added in v0.8.0
type PartialCaveatInfoValidationError struct {
// contains filtered or unexported fields
}
PartialCaveatInfoValidationError is the validation error returned by PartialCaveatInfo.Validate if the designated constraints aren't met.
func (PartialCaveatInfoValidationError) Cause ¶ added in v0.8.0
func (e PartialCaveatInfoValidationError) Cause() error
Cause function returns cause value.
func (PartialCaveatInfoValidationError) Error ¶ added in v0.8.0
func (e PartialCaveatInfoValidationError) Error() string
Error satisfies the builtin error interface
func (PartialCaveatInfoValidationError) ErrorName ¶ added in v0.8.0
func (e PartialCaveatInfoValidationError) ErrorName() string
ErrorName returns error name.
func (PartialCaveatInfoValidationError) Field ¶ added in v0.8.0
func (e PartialCaveatInfoValidationError) Field() string
Field function returns field value.
func (PartialCaveatInfoValidationError) Key ¶ added in v0.8.0
func (e PartialCaveatInfoValidationError) Key() bool
Key function returns key value.
func (PartialCaveatInfoValidationError) Reason ¶ added in v0.8.0
func (e PartialCaveatInfoValidationError) Reason() string
Reason function returns reason value.
type PermissionRelationshipTree ¶
type PermissionRelationshipTree struct { // Types that are assignable to TreeType: // // *PermissionRelationshipTree_Intermediate // *PermissionRelationshipTree_Leaf TreeType isPermissionRelationshipTree_TreeType `protobuf_oneof:"tree_type"` ExpandedObject *ObjectReference `protobuf:"bytes,3,opt,name=expanded_object,json=expandedObject,proto3" json:"expanded_object,omitempty"` ExpandedRelation string `protobuf:"bytes,4,opt,name=expanded_relation,json=expandedRelation,proto3" json:"expanded_relation,omitempty"` // contains filtered or unexported fields }
PermissionRelationshipTree is used for representing a tree of a resource and its permission relationships with other objects.
func (*PermissionRelationshipTree) CloneMessageVT ¶ added in v0.9.0
func (m *PermissionRelationshipTree) CloneMessageVT() proto.Message
func (*PermissionRelationshipTree) CloneVT ¶ added in v0.8.0
func (m *PermissionRelationshipTree) CloneVT() *PermissionRelationshipTree
func (*PermissionRelationshipTree) Descriptor
deprecated
func (*PermissionRelationshipTree) Descriptor() ([]byte, []int)
Deprecated: Use PermissionRelationshipTree.ProtoReflect.Descriptor instead.
func (*PermissionRelationshipTree) EqualMessageVT ¶ added in v0.11.0
func (this *PermissionRelationshipTree) EqualMessageVT(thatMsg proto.Message) bool
func (*PermissionRelationshipTree) EqualVT ¶ added in v0.11.0
func (this *PermissionRelationshipTree) EqualVT(that *PermissionRelationshipTree) bool
func (*PermissionRelationshipTree) GetExpandedObject ¶
func (x *PermissionRelationshipTree) GetExpandedObject() *ObjectReference
func (*PermissionRelationshipTree) GetExpandedRelation ¶
func (x *PermissionRelationshipTree) GetExpandedRelation() string
func (*PermissionRelationshipTree) GetIntermediate ¶
func (x *PermissionRelationshipTree) GetIntermediate() *AlgebraicSubjectSet
func (*PermissionRelationshipTree) GetLeaf ¶
func (x *PermissionRelationshipTree) GetLeaf() *DirectSubjectSet
func (*PermissionRelationshipTree) GetTreeType ¶
func (m *PermissionRelationshipTree) GetTreeType() isPermissionRelationshipTree_TreeType
func (*PermissionRelationshipTree) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *PermissionRelationshipTree) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionRelationshipTree) MarshalToVT ¶ added in v0.8.0
func (m *PermissionRelationshipTree) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionRelationshipTree) MarshalVT ¶ added in v0.8.0
func (m *PermissionRelationshipTree) MarshalVT() (dAtA []byte, err error)
func (*PermissionRelationshipTree) ProtoMessage ¶
func (*PermissionRelationshipTree) ProtoMessage()
func (*PermissionRelationshipTree) ProtoReflect ¶
func (x *PermissionRelationshipTree) ProtoReflect() protoreflect.Message
func (*PermissionRelationshipTree) Reset ¶
func (x *PermissionRelationshipTree) Reset()
func (*PermissionRelationshipTree) SizeVT ¶ added in v0.8.0
func (m *PermissionRelationshipTree) SizeVT() (n int)
func (*PermissionRelationshipTree) String ¶
func (x *PermissionRelationshipTree) String() string
func (*PermissionRelationshipTree) UnmarshalVT ¶ added in v0.8.0
func (m *PermissionRelationshipTree) UnmarshalVT(dAtA []byte) error
func (*PermissionRelationshipTree) Validate ¶
func (m *PermissionRelationshipTree) Validate() error
Validate checks the field values on PermissionRelationshipTree with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PermissionRelationshipTree) ValidateAll ¶ added in v0.6.0
func (m *PermissionRelationshipTree) ValidateAll() error
ValidateAll checks the field values on PermissionRelationshipTree with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PermissionRelationshipTreeMultiError, or nil if none found.
type PermissionRelationshipTreeMultiError ¶ added in v0.6.0
type PermissionRelationshipTreeMultiError []error
PermissionRelationshipTreeMultiError is an error wrapping multiple validation errors returned by PermissionRelationshipTree.ValidateAll() if the designated constraints aren't met.
func (PermissionRelationshipTreeMultiError) AllErrors ¶ added in v0.6.0
func (m PermissionRelationshipTreeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PermissionRelationshipTreeMultiError) Error ¶ added in v0.6.0
func (m PermissionRelationshipTreeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PermissionRelationshipTreeValidationError ¶
type PermissionRelationshipTreeValidationError struct {
// contains filtered or unexported fields
}
PermissionRelationshipTreeValidationError is the validation error returned by PermissionRelationshipTree.Validate if the designated constraints aren't met.
func (PermissionRelationshipTreeValidationError) Cause ¶
func (e PermissionRelationshipTreeValidationError) Cause() error
Cause function returns cause value.
func (PermissionRelationshipTreeValidationError) Error ¶
func (e PermissionRelationshipTreeValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionRelationshipTreeValidationError) ErrorName ¶
func (e PermissionRelationshipTreeValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionRelationshipTreeValidationError) Field ¶
func (e PermissionRelationshipTreeValidationError) Field() string
Field function returns field value.
func (PermissionRelationshipTreeValidationError) Key ¶
func (e PermissionRelationshipTreeValidationError) Key() bool
Key function returns key value.
func (PermissionRelationshipTreeValidationError) Reason ¶
func (e PermissionRelationshipTreeValidationError) Reason() string
Reason function returns reason value.
type PermissionRelationshipTree_Intermediate ¶
type PermissionRelationshipTree_Intermediate struct {
Intermediate *AlgebraicSubjectSet `protobuf:"bytes,1,opt,name=intermediate,proto3,oneof"`
}
func (*PermissionRelationshipTree_Intermediate) CloneVT ¶ added in v0.8.0
func (m *PermissionRelationshipTree_Intermediate) CloneVT() isPermissionRelationshipTree_TreeType
func (*PermissionRelationshipTree_Intermediate) EqualVT ¶ added in v0.11.0
func (this *PermissionRelationshipTree_Intermediate) EqualVT(thatIface isPermissionRelationshipTree_TreeType) bool
func (*PermissionRelationshipTree_Intermediate) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *PermissionRelationshipTree_Intermediate) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionRelationshipTree_Intermediate) MarshalToVT ¶ added in v0.8.0
func (m *PermissionRelationshipTree_Intermediate) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionRelationshipTree_Intermediate) SizeVT ¶ added in v0.8.0
func (m *PermissionRelationshipTree_Intermediate) SizeVT() (n int)
type PermissionRelationshipTree_Leaf ¶
type PermissionRelationshipTree_Leaf struct {
Leaf *DirectSubjectSet `protobuf:"bytes,2,opt,name=leaf,proto3,oneof"`
}
func (*PermissionRelationshipTree_Leaf) CloneVT ¶ added in v0.8.0
func (m *PermissionRelationshipTree_Leaf) CloneVT() isPermissionRelationshipTree_TreeType
func (*PermissionRelationshipTree_Leaf) EqualVT ¶ added in v0.11.0
func (this *PermissionRelationshipTree_Leaf) EqualVT(thatIface isPermissionRelationshipTree_TreeType) bool
func (*PermissionRelationshipTree_Leaf) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *PermissionRelationshipTree_Leaf) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PermissionRelationshipTree_Leaf) MarshalToVT ¶ added in v0.8.0
func (m *PermissionRelationshipTree_Leaf) MarshalToVT(dAtA []byte) (int, error)
func (*PermissionRelationshipTree_Leaf) SizeVT ¶ added in v0.8.0
func (m *PermissionRelationshipTree_Leaf) SizeVT() (n int)
type PermissionsServiceClient ¶
type PermissionsServiceClient interface { // ReadRelationships reads a set of the relationships matching one or more // filters. ReadRelationships(ctx context.Context, in *ReadRelationshipsRequest, opts ...grpc.CallOption) (PermissionsService_ReadRelationshipsClient, error) // WriteRelationships atomically writes and/or deletes a set of specified // relationships. An optional set of preconditions can be provided that must // be satisfied for the operation to commit. WriteRelationships(ctx context.Context, in *WriteRelationshipsRequest, opts ...grpc.CallOption) (*WriteRelationshipsResponse, error) // DeleteRelationships atomically bulk deletes all relationships matching the // provided filter. If no relationships match, none will be deleted and the // operation will succeed. An optional set of preconditions can be provided that must // be satisfied for the operation to commit. DeleteRelationships(ctx context.Context, in *DeleteRelationshipsRequest, opts ...grpc.CallOption) (*DeleteRelationshipsResponse, error) // CheckPermission determines for a given resource whether a subject computes // to having a permission or is a direct member of a particular relation. CheckPermission(ctx context.Context, in *CheckPermissionRequest, opts ...grpc.CallOption) (*CheckPermissionResponse, error) // CheckBulkPermissions evaluates the given list of permission checks // and returns the list of results. CheckBulkPermissions(ctx context.Context, in *CheckBulkPermissionsRequest, opts ...grpc.CallOption) (*CheckBulkPermissionsResponse, error) // ExpandPermissionTree reveals the graph structure for a resource's // permission or relation. This RPC does not recurse infinitely deep and may // require multiple calls to fully unnest a deeply nested graph. ExpandPermissionTree(ctx context.Context, in *ExpandPermissionTreeRequest, opts ...grpc.CallOption) (*ExpandPermissionTreeResponse, error) // LookupResources returns all the resources of a given type that a subject // can access whether via a computed permission or relation membership. LookupResources(ctx context.Context, in *LookupResourcesRequest, opts ...grpc.CallOption) (PermissionsService_LookupResourcesClient, error) // LookupSubjects returns all the subjects of a given type that // have access whether via a computed permission or relation membership. LookupSubjects(ctx context.Context, in *LookupSubjectsRequest, opts ...grpc.CallOption) (PermissionsService_LookupSubjectsClient, error) }
PermissionsServiceClient is the client API for PermissionsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPermissionsServiceClient ¶
func NewPermissionsServiceClient(cc grpc.ClientConnInterface) PermissionsServiceClient
type PermissionsServiceServer ¶
type PermissionsServiceServer interface { // ReadRelationships reads a set of the relationships matching one or more // filters. ReadRelationships(*ReadRelationshipsRequest, PermissionsService_ReadRelationshipsServer) error // WriteRelationships atomically writes and/or deletes a set of specified // relationships. An optional set of preconditions can be provided that must // be satisfied for the operation to commit. WriteRelationships(context.Context, *WriteRelationshipsRequest) (*WriteRelationshipsResponse, error) // DeleteRelationships atomically bulk deletes all relationships matching the // provided filter. If no relationships match, none will be deleted and the // operation will succeed. An optional set of preconditions can be provided that must // be satisfied for the operation to commit. DeleteRelationships(context.Context, *DeleteRelationshipsRequest) (*DeleteRelationshipsResponse, error) // CheckPermission determines for a given resource whether a subject computes // to having a permission or is a direct member of a particular relation. CheckPermission(context.Context, *CheckPermissionRequest) (*CheckPermissionResponse, error) // CheckBulkPermissions evaluates the given list of permission checks // and returns the list of results. CheckBulkPermissions(context.Context, *CheckBulkPermissionsRequest) (*CheckBulkPermissionsResponse, error) // ExpandPermissionTree reveals the graph structure for a resource's // permission or relation. This RPC does not recurse infinitely deep and may // require multiple calls to fully unnest a deeply nested graph. ExpandPermissionTree(context.Context, *ExpandPermissionTreeRequest) (*ExpandPermissionTreeResponse, error) // LookupResources returns all the resources of a given type that a subject // can access whether via a computed permission or relation membership. LookupResources(*LookupResourcesRequest, PermissionsService_LookupResourcesServer) error // LookupSubjects returns all the subjects of a given type that // have access whether via a computed permission or relation membership. LookupSubjects(*LookupSubjectsRequest, PermissionsService_LookupSubjectsServer) error // contains filtered or unexported methods }
PermissionsServiceServer is the server API for PermissionsService service. All implementations must embed UnimplementedPermissionsServiceServer for forward compatibility
type PermissionsService_LookupResourcesClient ¶
type PermissionsService_LookupResourcesClient interface { Recv() (*LookupResourcesResponse, error) grpc.ClientStream }
type PermissionsService_LookupResourcesServer ¶
type PermissionsService_LookupResourcesServer interface { Send(*LookupResourcesResponse) error grpc.ServerStream }
type PermissionsService_LookupSubjectsClient ¶ added in v0.7.0
type PermissionsService_LookupSubjectsClient interface { Recv() (*LookupSubjectsResponse, error) grpc.ClientStream }
type PermissionsService_LookupSubjectsServer ¶ added in v0.7.0
type PermissionsService_LookupSubjectsServer interface { Send(*LookupSubjectsResponse) error grpc.ServerStream }
type PermissionsService_ReadRelationshipsClient ¶
type PermissionsService_ReadRelationshipsClient interface { Recv() (*ReadRelationshipsResponse, error) grpc.ClientStream }
type PermissionsService_ReadRelationshipsServer ¶
type PermissionsService_ReadRelationshipsServer interface { Send(*ReadRelationshipsResponse) error grpc.ServerStream }
type Precondition ¶
type Precondition struct { Operation Precondition_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=authzed.api.v1.Precondition_Operation" json:"operation,omitempty"` Filter *RelationshipFilter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
Precondition specifies how and the existence or absence of certain relationships as expressed through the accompanying filter should affect whether or not the operation proceeds.
MUST_NOT_MATCH will fail the parent request if any relationships match the relationships filter. MUST_MATCH will fail the parent request if there are no relationships that match the filter.
func (*Precondition) CloneMessageVT ¶ added in v0.9.0
func (m *Precondition) CloneMessageVT() proto.Message
func (*Precondition) CloneVT ¶ added in v0.8.0
func (m *Precondition) CloneVT() *Precondition
func (*Precondition) Descriptor
deprecated
func (*Precondition) Descriptor() ([]byte, []int)
Deprecated: Use Precondition.ProtoReflect.Descriptor instead.
func (*Precondition) EqualMessageVT ¶ added in v0.11.0
func (this *Precondition) EqualMessageVT(thatMsg proto.Message) bool
func (*Precondition) EqualVT ¶ added in v0.11.0
func (this *Precondition) EqualVT(that *Precondition) bool
func (*Precondition) GetFilter ¶
func (x *Precondition) GetFilter() *RelationshipFilter
func (*Precondition) GetOperation ¶
func (x *Precondition) GetOperation() Precondition_Operation
func (*Precondition) HandwrittenValidate ¶ added in v0.4.0
func (m *Precondition) HandwrittenValidate() error
func (*Precondition) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *Precondition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Precondition) MarshalToVT ¶ added in v0.8.0
func (m *Precondition) MarshalToVT(dAtA []byte) (int, error)
func (*Precondition) MarshalVT ¶ added in v0.8.0
func (m *Precondition) MarshalVT() (dAtA []byte, err error)
func (*Precondition) ProtoMessage ¶
func (*Precondition) ProtoMessage()
func (*Precondition) ProtoReflect ¶
func (x *Precondition) ProtoReflect() protoreflect.Message
func (*Precondition) Reset ¶
func (x *Precondition) Reset()
func (*Precondition) SizeVT ¶ added in v0.8.0
func (m *Precondition) SizeVT() (n int)
func (*Precondition) String ¶
func (x *Precondition) String() string
func (*Precondition) UnmarshalVT ¶ added in v0.8.0
func (m *Precondition) UnmarshalVT(dAtA []byte) error
func (*Precondition) Validate ¶
func (m *Precondition) Validate() error
Validate checks the field values on Precondition 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 (*Precondition) ValidateAll ¶ added in v0.6.0
func (m *Precondition) ValidateAll() error
ValidateAll checks the field values on Precondition 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 PreconditionMultiError, or nil if none found.
type PreconditionMultiError ¶ added in v0.6.0
type PreconditionMultiError []error
PreconditionMultiError is an error wrapping multiple validation errors returned by Precondition.ValidateAll() if the designated constraints aren't met.
func (PreconditionMultiError) AllErrors ¶ added in v0.6.0
func (m PreconditionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PreconditionMultiError) Error ¶ added in v0.6.0
func (m PreconditionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PreconditionValidationError ¶
type PreconditionValidationError struct {
// contains filtered or unexported fields
}
PreconditionValidationError is the validation error returned by Precondition.Validate if the designated constraints aren't met.
func (PreconditionValidationError) Cause ¶
func (e PreconditionValidationError) Cause() error
Cause function returns cause value.
func (PreconditionValidationError) Error ¶
func (e PreconditionValidationError) Error() string
Error satisfies the builtin error interface
func (PreconditionValidationError) ErrorName ¶
func (e PreconditionValidationError) ErrorName() string
ErrorName returns error name.
func (PreconditionValidationError) Field ¶
func (e PreconditionValidationError) Field() string
Field function returns field value.
func (PreconditionValidationError) Key ¶
func (e PreconditionValidationError) Key() bool
Key function returns key value.
func (PreconditionValidationError) Reason ¶
func (e PreconditionValidationError) Reason() string
Reason function returns reason value.
type Precondition_Operation ¶
type Precondition_Operation int32
const ( Precondition_OPERATION_UNSPECIFIED Precondition_Operation = 0 Precondition_OPERATION_MUST_NOT_MATCH Precondition_Operation = 1 Precondition_OPERATION_MUST_MATCH Precondition_Operation = 2 )
func (Precondition_Operation) Descriptor ¶
func (Precondition_Operation) Descriptor() protoreflect.EnumDescriptor
func (Precondition_Operation) Enum ¶
func (x Precondition_Operation) Enum() *Precondition_Operation
func (Precondition_Operation) EnumDescriptor
deprecated
func (Precondition_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use Precondition_Operation.Descriptor instead.
func (Precondition_Operation) Number ¶
func (x Precondition_Operation) Number() protoreflect.EnumNumber
func (Precondition_Operation) String ¶
func (x Precondition_Operation) String() string
func (Precondition_Operation) Type ¶
func (Precondition_Operation) Type() protoreflect.EnumType
type ReadRelationshipsRequest ¶
type ReadRelationshipsRequest struct { Consistency *Consistency `protobuf:"bytes,1,opt,name=consistency,proto3" json:"consistency,omitempty"` // relationship_filter defines the filter to be applied to the relationships // to be returned. RelationshipFilter *RelationshipFilter `protobuf:"bytes,2,opt,name=relationship_filter,json=relationshipFilter,proto3" json:"relationship_filter,omitempty"` // optional_limit, if non-zero, specifies the limit on the number of relationships to return // before the stream is closed on the server side. By default, the stream will continue // resolving relationships until exhausted or the stream is closed due to the client or a // network issue. OptionalLimit uint32 `protobuf:"varint,3,opt,name=optional_limit,json=optionalLimit,proto3" json:"optional_limit,omitempty"` // optional_cursor, if specified, indicates the cursor after which results should resume being returned. // The cursor can be found on the ReadRelationshipsResponse object. OptionalCursor *Cursor `protobuf:"bytes,4,opt,name=optional_cursor,json=optionalCursor,proto3" json:"optional_cursor,omitempty"` // contains filtered or unexported fields }
ReadRelationshipsRequest specifies one or more filters used to read matching relationships within the system.
func (*ReadRelationshipsRequest) CloneMessageVT ¶ added in v0.9.0
func (m *ReadRelationshipsRequest) CloneMessageVT() proto.Message
func (*ReadRelationshipsRequest) CloneVT ¶ added in v0.8.0
func (m *ReadRelationshipsRequest) CloneVT() *ReadRelationshipsRequest
func (*ReadRelationshipsRequest) Descriptor
deprecated
func (*ReadRelationshipsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadRelationshipsRequest.ProtoReflect.Descriptor instead.
func (*ReadRelationshipsRequest) EqualMessageVT ¶ added in v0.11.0
func (this *ReadRelationshipsRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*ReadRelationshipsRequest) EqualVT ¶ added in v0.11.0
func (this *ReadRelationshipsRequest) EqualVT(that *ReadRelationshipsRequest) bool
func (*ReadRelationshipsRequest) GetConsistency ¶
func (x *ReadRelationshipsRequest) GetConsistency() *Consistency
func (*ReadRelationshipsRequest) GetOptionalCursor ¶ added in v0.8.0
func (x *ReadRelationshipsRequest) GetOptionalCursor() *Cursor
func (*ReadRelationshipsRequest) GetOptionalLimit ¶ added in v0.8.0
func (x *ReadRelationshipsRequest) GetOptionalLimit() uint32
func (*ReadRelationshipsRequest) GetRelationshipFilter ¶
func (x *ReadRelationshipsRequest) GetRelationshipFilter() *RelationshipFilter
func (*ReadRelationshipsRequest) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *ReadRelationshipsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReadRelationshipsRequest) MarshalToVT ¶ added in v0.8.0
func (m *ReadRelationshipsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ReadRelationshipsRequest) MarshalVT ¶ added in v0.8.0
func (m *ReadRelationshipsRequest) MarshalVT() (dAtA []byte, err error)
func (*ReadRelationshipsRequest) ProtoMessage ¶
func (*ReadRelationshipsRequest) ProtoMessage()
func (*ReadRelationshipsRequest) ProtoReflect ¶
func (x *ReadRelationshipsRequest) ProtoReflect() protoreflect.Message
func (*ReadRelationshipsRequest) Reset ¶
func (x *ReadRelationshipsRequest) Reset()
func (*ReadRelationshipsRequest) SizeVT ¶ added in v0.8.0
func (m *ReadRelationshipsRequest) SizeVT() (n int)
func (*ReadRelationshipsRequest) String ¶
func (x *ReadRelationshipsRequest) String() string
func (*ReadRelationshipsRequest) UnmarshalVT ¶ added in v0.8.0
func (m *ReadRelationshipsRequest) UnmarshalVT(dAtA []byte) error
func (*ReadRelationshipsRequest) Validate ¶
func (m *ReadRelationshipsRequest) Validate() error
Validate checks the field values on ReadRelationshipsRequest 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 (*ReadRelationshipsRequest) ValidateAll ¶ added in v0.6.0
func (m *ReadRelationshipsRequest) ValidateAll() error
ValidateAll checks the field values on ReadRelationshipsRequest 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 ReadRelationshipsRequestMultiError, or nil if none found.
type ReadRelationshipsRequestMultiError ¶ added in v0.6.0
type ReadRelationshipsRequestMultiError []error
ReadRelationshipsRequestMultiError is an error wrapping multiple validation errors returned by ReadRelationshipsRequest.ValidateAll() if the designated constraints aren't met.
func (ReadRelationshipsRequestMultiError) AllErrors ¶ added in v0.6.0
func (m ReadRelationshipsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReadRelationshipsRequestMultiError) Error ¶ added in v0.6.0
func (m ReadRelationshipsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReadRelationshipsRequestValidationError ¶
type ReadRelationshipsRequestValidationError struct {
// contains filtered or unexported fields
}
ReadRelationshipsRequestValidationError is the validation error returned by ReadRelationshipsRequest.Validate if the designated constraints aren't met.
func (ReadRelationshipsRequestValidationError) Cause ¶
func (e ReadRelationshipsRequestValidationError) Cause() error
Cause function returns cause value.
func (ReadRelationshipsRequestValidationError) Error ¶
func (e ReadRelationshipsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReadRelationshipsRequestValidationError) ErrorName ¶
func (e ReadRelationshipsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReadRelationshipsRequestValidationError) Field ¶
func (e ReadRelationshipsRequestValidationError) Field() string
Field function returns field value.
func (ReadRelationshipsRequestValidationError) Key ¶
func (e ReadRelationshipsRequestValidationError) Key() bool
Key function returns key value.
func (ReadRelationshipsRequestValidationError) Reason ¶
func (e ReadRelationshipsRequestValidationError) Reason() string
Reason function returns reason value.
type ReadRelationshipsResponse ¶
type ReadRelationshipsResponse struct { // read_at is the ZedToken at which the relationship was found. ReadAt *ZedToken `protobuf:"bytes,1,opt,name=read_at,json=readAt,proto3" json:"read_at,omitempty"` // relationship is the found relationship. Relationship *Relationship `protobuf:"bytes,2,opt,name=relationship,proto3" json:"relationship,omitempty"` // after_result_cursor holds a cursor that can be used to resume the ReadRelationships stream after this // result. AfterResultCursor *Cursor `protobuf:"bytes,3,opt,name=after_result_cursor,json=afterResultCursor,proto3" json:"after_result_cursor,omitempty"` // contains filtered or unexported fields }
ReadRelationshipsResponse contains a Relationship found that matches the specified relationship filter(s). A instance of this response message will be streamed to the client for each relationship found.
func (*ReadRelationshipsResponse) CloneMessageVT ¶ added in v0.9.0
func (m *ReadRelationshipsResponse) CloneMessageVT() proto.Message
func (*ReadRelationshipsResponse) CloneVT ¶ added in v0.8.0
func (m *ReadRelationshipsResponse) CloneVT() *ReadRelationshipsResponse
func (*ReadRelationshipsResponse) Descriptor
deprecated
func (*ReadRelationshipsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadRelationshipsResponse.ProtoReflect.Descriptor instead.
func (*ReadRelationshipsResponse) EqualMessageVT ¶ added in v0.11.0
func (this *ReadRelationshipsResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*ReadRelationshipsResponse) EqualVT ¶ added in v0.11.0
func (this *ReadRelationshipsResponse) EqualVT(that *ReadRelationshipsResponse) bool
func (*ReadRelationshipsResponse) GetAfterResultCursor ¶ added in v0.8.0
func (x *ReadRelationshipsResponse) GetAfterResultCursor() *Cursor
func (*ReadRelationshipsResponse) GetReadAt ¶
func (x *ReadRelationshipsResponse) GetReadAt() *ZedToken
func (*ReadRelationshipsResponse) GetRelationship ¶
func (x *ReadRelationshipsResponse) GetRelationship() *Relationship
func (*ReadRelationshipsResponse) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *ReadRelationshipsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReadRelationshipsResponse) MarshalToVT ¶ added in v0.8.0
func (m *ReadRelationshipsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ReadRelationshipsResponse) MarshalVT ¶ added in v0.8.0
func (m *ReadRelationshipsResponse) MarshalVT() (dAtA []byte, err error)
func (*ReadRelationshipsResponse) ProtoMessage ¶
func (*ReadRelationshipsResponse) ProtoMessage()
func (*ReadRelationshipsResponse) ProtoReflect ¶
func (x *ReadRelationshipsResponse) ProtoReflect() protoreflect.Message
func (*ReadRelationshipsResponse) Reset ¶
func (x *ReadRelationshipsResponse) Reset()
func (*ReadRelationshipsResponse) SizeVT ¶ added in v0.8.0
func (m *ReadRelationshipsResponse) SizeVT() (n int)
func (*ReadRelationshipsResponse) String ¶
func (x *ReadRelationshipsResponse) String() string
func (*ReadRelationshipsResponse) UnmarshalVT ¶ added in v0.8.0
func (m *ReadRelationshipsResponse) UnmarshalVT(dAtA []byte) error
func (*ReadRelationshipsResponse) Validate ¶
func (m *ReadRelationshipsResponse) Validate() error
Validate checks the field values on ReadRelationshipsResponse 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 (*ReadRelationshipsResponse) ValidateAll ¶ added in v0.6.0
func (m *ReadRelationshipsResponse) ValidateAll() error
ValidateAll checks the field values on ReadRelationshipsResponse 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 ReadRelationshipsResponseMultiError, or nil if none found.
type ReadRelationshipsResponseMultiError ¶ added in v0.6.0
type ReadRelationshipsResponseMultiError []error
ReadRelationshipsResponseMultiError is an error wrapping multiple validation errors returned by ReadRelationshipsResponse.ValidateAll() if the designated constraints aren't met.
func (ReadRelationshipsResponseMultiError) AllErrors ¶ added in v0.6.0
func (m ReadRelationshipsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReadRelationshipsResponseMultiError) Error ¶ added in v0.6.0
func (m ReadRelationshipsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReadRelationshipsResponseValidationError ¶
type ReadRelationshipsResponseValidationError struct {
// contains filtered or unexported fields
}
ReadRelationshipsResponseValidationError is the validation error returned by ReadRelationshipsResponse.Validate if the designated constraints aren't met.
func (ReadRelationshipsResponseValidationError) Cause ¶
func (e ReadRelationshipsResponseValidationError) Cause() error
Cause function returns cause value.
func (ReadRelationshipsResponseValidationError) Error ¶
func (e ReadRelationshipsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadRelationshipsResponseValidationError) ErrorName ¶
func (e ReadRelationshipsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReadRelationshipsResponseValidationError) Field ¶
func (e ReadRelationshipsResponseValidationError) Field() string
Field function returns field value.
func (ReadRelationshipsResponseValidationError) Key ¶
func (e ReadRelationshipsResponseValidationError) Key() bool
Key function returns key value.
func (ReadRelationshipsResponseValidationError) Reason ¶
func (e ReadRelationshipsResponseValidationError) Reason() string
Reason function returns reason value.
type ReadSchemaRequest ¶
type ReadSchemaRequest struct {
// contains filtered or unexported fields
}
ReadSchemaRequest returns the schema from the database.
func (*ReadSchemaRequest) CloneMessageVT ¶ added in v0.9.0
func (m *ReadSchemaRequest) CloneMessageVT() proto.Message
func (*ReadSchemaRequest) CloneVT ¶ added in v0.8.0
func (m *ReadSchemaRequest) CloneVT() *ReadSchemaRequest
func (*ReadSchemaRequest) Descriptor
deprecated
func (*ReadSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadSchemaRequest.ProtoReflect.Descriptor instead.
func (*ReadSchemaRequest) EqualMessageVT ¶ added in v0.11.0
func (this *ReadSchemaRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*ReadSchemaRequest) EqualVT ¶ added in v0.11.0
func (this *ReadSchemaRequest) EqualVT(that *ReadSchemaRequest) bool
func (*ReadSchemaRequest) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *ReadSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReadSchemaRequest) MarshalToVT ¶ added in v0.8.0
func (m *ReadSchemaRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ReadSchemaRequest) MarshalVT ¶ added in v0.8.0
func (m *ReadSchemaRequest) MarshalVT() (dAtA []byte, err error)
func (*ReadSchemaRequest) ProtoMessage ¶
func (*ReadSchemaRequest) ProtoMessage()
func (*ReadSchemaRequest) ProtoReflect ¶
func (x *ReadSchemaRequest) ProtoReflect() protoreflect.Message
func (*ReadSchemaRequest) Reset ¶
func (x *ReadSchemaRequest) Reset()
func (*ReadSchemaRequest) SizeVT ¶ added in v0.8.0
func (m *ReadSchemaRequest) SizeVT() (n int)
func (*ReadSchemaRequest) String ¶
func (x *ReadSchemaRequest) String() string
func (*ReadSchemaRequest) UnmarshalVT ¶ added in v0.8.0
func (m *ReadSchemaRequest) UnmarshalVT(dAtA []byte) error
func (*ReadSchemaRequest) Validate ¶
func (m *ReadSchemaRequest) Validate() error
Validate checks the field values on ReadSchemaRequest 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 (*ReadSchemaRequest) ValidateAll ¶ added in v0.6.0
func (m *ReadSchemaRequest) ValidateAll() error
ValidateAll checks the field values on ReadSchemaRequest 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 ReadSchemaRequestMultiError, or nil if none found.
type ReadSchemaRequestMultiError ¶ added in v0.6.0
type ReadSchemaRequestMultiError []error
ReadSchemaRequestMultiError is an error wrapping multiple validation errors returned by ReadSchemaRequest.ValidateAll() if the designated constraints aren't met.
func (ReadSchemaRequestMultiError) AllErrors ¶ added in v0.6.0
func (m ReadSchemaRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReadSchemaRequestMultiError) Error ¶ added in v0.6.0
func (m ReadSchemaRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReadSchemaRequestValidationError ¶
type ReadSchemaRequestValidationError struct {
// contains filtered or unexported fields
}
ReadSchemaRequestValidationError is the validation error returned by ReadSchemaRequest.Validate if the designated constraints aren't met.
func (ReadSchemaRequestValidationError) Cause ¶
func (e ReadSchemaRequestValidationError) Cause() error
Cause function returns cause value.
func (ReadSchemaRequestValidationError) Error ¶
func (e ReadSchemaRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReadSchemaRequestValidationError) ErrorName ¶
func (e ReadSchemaRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReadSchemaRequestValidationError) Field ¶
func (e ReadSchemaRequestValidationError) Field() string
Field function returns field value.
func (ReadSchemaRequestValidationError) Key ¶
func (e ReadSchemaRequestValidationError) Key() bool
Key function returns key value.
func (ReadSchemaRequestValidationError) Reason ¶
func (e ReadSchemaRequestValidationError) Reason() string
Reason function returns reason value.
type ReadSchemaResponse ¶
type ReadSchemaResponse struct { // schema_text is the textual form of the current schema in the system SchemaText string `protobuf:"bytes,1,opt,name=schema_text,json=schemaText,proto3" json:"schema_text,omitempty"` // read_at is the ZedToken at which the schema was read. ReadAt *ZedToken `protobuf:"bytes,2,opt,name=read_at,json=readAt,proto3" json:"read_at,omitempty"` // contains filtered or unexported fields }
ReadSchemaResponse is the resulting data after having read the Object Definitions from a Schema.
func (*ReadSchemaResponse) CloneMessageVT ¶ added in v0.9.0
func (m *ReadSchemaResponse) CloneMessageVT() proto.Message
func (*ReadSchemaResponse) CloneVT ¶ added in v0.8.0
func (m *ReadSchemaResponse) CloneVT() *ReadSchemaResponse
func (*ReadSchemaResponse) Descriptor
deprecated
func (*ReadSchemaResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadSchemaResponse.ProtoReflect.Descriptor instead.
func (*ReadSchemaResponse) EqualMessageVT ¶ added in v0.11.0
func (this *ReadSchemaResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*ReadSchemaResponse) EqualVT ¶ added in v0.11.0
func (this *ReadSchemaResponse) EqualVT(that *ReadSchemaResponse) bool
func (*ReadSchemaResponse) GetReadAt ¶ added in v0.9.0
func (x *ReadSchemaResponse) GetReadAt() *ZedToken
func (*ReadSchemaResponse) GetSchemaText ¶
func (x *ReadSchemaResponse) GetSchemaText() string
func (*ReadSchemaResponse) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *ReadSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReadSchemaResponse) MarshalToVT ¶ added in v0.8.0
func (m *ReadSchemaResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ReadSchemaResponse) MarshalVT ¶ added in v0.8.0
func (m *ReadSchemaResponse) MarshalVT() (dAtA []byte, err error)
func (*ReadSchemaResponse) ProtoMessage ¶
func (*ReadSchemaResponse) ProtoMessage()
func (*ReadSchemaResponse) ProtoReflect ¶
func (x *ReadSchemaResponse) ProtoReflect() protoreflect.Message
func (*ReadSchemaResponse) Reset ¶
func (x *ReadSchemaResponse) Reset()
func (*ReadSchemaResponse) SizeVT ¶ added in v0.8.0
func (m *ReadSchemaResponse) SizeVT() (n int)
func (*ReadSchemaResponse) String ¶
func (x *ReadSchemaResponse) String() string
func (*ReadSchemaResponse) UnmarshalVT ¶ added in v0.8.0
func (m *ReadSchemaResponse) UnmarshalVT(dAtA []byte) error
func (*ReadSchemaResponse) Validate ¶
func (m *ReadSchemaResponse) Validate() error
Validate checks the field values on ReadSchemaResponse 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 (*ReadSchemaResponse) ValidateAll ¶ added in v0.6.0
func (m *ReadSchemaResponse) ValidateAll() error
ValidateAll checks the field values on ReadSchemaResponse 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 ReadSchemaResponseMultiError, or nil if none found.
type ReadSchemaResponseMultiError ¶ added in v0.6.0
type ReadSchemaResponseMultiError []error
ReadSchemaResponseMultiError is an error wrapping multiple validation errors returned by ReadSchemaResponse.ValidateAll() if the designated constraints aren't met.
func (ReadSchemaResponseMultiError) AllErrors ¶ added in v0.6.0
func (m ReadSchemaResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReadSchemaResponseMultiError) Error ¶ added in v0.6.0
func (m ReadSchemaResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReadSchemaResponseValidationError ¶
type ReadSchemaResponseValidationError struct {
// contains filtered or unexported fields
}
ReadSchemaResponseValidationError is the validation error returned by ReadSchemaResponse.Validate if the designated constraints aren't met.
func (ReadSchemaResponseValidationError) Cause ¶
func (e ReadSchemaResponseValidationError) Cause() error
Cause function returns cause value.
func (ReadSchemaResponseValidationError) Error ¶
func (e ReadSchemaResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadSchemaResponseValidationError) ErrorName ¶
func (e ReadSchemaResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReadSchemaResponseValidationError) Field ¶
func (e ReadSchemaResponseValidationError) Field() string
Field function returns field value.
func (ReadSchemaResponseValidationError) Key ¶
func (e ReadSchemaResponseValidationError) Key() bool
Key function returns key value.
func (ReadSchemaResponseValidationError) Reason ¶
func (e ReadSchemaResponseValidationError) Reason() string
Reason function returns reason value.
type Relationship ¶
type Relationship struct { // resource is the resource to which the subject is related, in some manner Resource *ObjectReference `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // relation is how the resource and subject are related. Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` // subject is the subject to which the resource is related, in some manner. Subject *SubjectReference `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` // optional_caveat is a reference to a the caveat that must be enforced over the relationship OptionalCaveat *ContextualizedCaveat `protobuf:"bytes,4,opt,name=optional_caveat,json=optionalCaveat,proto3" json:"optional_caveat,omitempty"` // contains filtered or unexported fields }
Relationship specifies how a resource relates to a subject. Relationships form the data for the graph over which all permissions questions are answered.
func (*Relationship) CloneMessageVT ¶ added in v0.9.0
func (m *Relationship) CloneMessageVT() proto.Message
func (*Relationship) CloneVT ¶ added in v0.8.0
func (m *Relationship) CloneVT() *Relationship
func (*Relationship) Descriptor
deprecated
func (*Relationship) Descriptor() ([]byte, []int)
Deprecated: Use Relationship.ProtoReflect.Descriptor instead.
func (*Relationship) EqualMessageVT ¶ added in v0.11.0
func (this *Relationship) EqualMessageVT(thatMsg proto.Message) bool
func (*Relationship) EqualVT ¶ added in v0.11.0
func (this *Relationship) EqualVT(that *Relationship) bool
func (*Relationship) GetOptionalCaveat ¶ added in v0.8.0
func (x *Relationship) GetOptionalCaveat() *ContextualizedCaveat
func (*Relationship) GetRelation ¶
func (x *Relationship) GetRelation() string
func (*Relationship) GetResource ¶
func (x *Relationship) GetResource() *ObjectReference
func (*Relationship) GetSubject ¶
func (x *Relationship) GetSubject() *SubjectReference
func (*Relationship) HandwrittenValidate ¶ added in v0.4.0
func (m *Relationship) HandwrittenValidate() error
func (*Relationship) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *Relationship) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Relationship) MarshalToVT ¶ added in v0.8.0
func (m *Relationship) MarshalToVT(dAtA []byte) (int, error)
func (*Relationship) MarshalVT ¶ added in v0.8.0
func (m *Relationship) MarshalVT() (dAtA []byte, err error)
func (*Relationship) ProtoMessage ¶
func (*Relationship) ProtoMessage()
func (*Relationship) ProtoReflect ¶
func (x *Relationship) ProtoReflect() protoreflect.Message
func (*Relationship) Reset ¶
func (x *Relationship) Reset()
func (*Relationship) SizeVT ¶ added in v0.8.0
func (m *Relationship) SizeVT() (n int)
func (*Relationship) String ¶
func (x *Relationship) String() string
func (*Relationship) UnmarshalVT ¶ added in v0.8.0
func (m *Relationship) UnmarshalVT(dAtA []byte) error
func (*Relationship) Validate ¶
func (m *Relationship) Validate() error
Validate checks the field values on Relationship with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Relationship) ValidateAll ¶ added in v0.6.0
func (m *Relationship) ValidateAll() error
ValidateAll checks the field values on Relationship with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RelationshipMultiError, or nil if none found.
type RelationshipFilter ¶
type RelationshipFilter struct { // resource_type is the *optional* resource type of the relationship. // NOTE: It is not prefixed with "optional_" for legacy compatibility. ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` // optional_resource_id is the *optional* resource ID of the relationship. // If specified, optional_resource_id_prefix cannot be specified. OptionalResourceId string `protobuf:"bytes,2,opt,name=optional_resource_id,json=optionalResourceId,proto3" json:"optional_resource_id,omitempty"` // optional_resource_id_prefix is the *optional* prefix for the resource ID of the relationship. // If specified, optional_resource_id cannot be specified. OptionalResourceIdPrefix string `` /* 137-byte string literal not displayed */ // relation is the *optional* relation of the relationship. OptionalRelation string `protobuf:"bytes,3,opt,name=optional_relation,json=optionalRelation,proto3" json:"optional_relation,omitempty"` // optional_subject_filter is the optional filter for the subjects of the relationships. OptionalSubjectFilter *SubjectFilter `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
RelationshipFilter is a collection of filters which when applied to a relationship will return relationships that have exactly matching fields.
All fields are optional and if left unspecified will not filter relationships, but at least one field must be specified.
NOTE: The performance of the API will be affected by the selection of fields on which to filter. If a field is not indexed, the performance of the API can be significantly slower.
func (*RelationshipFilter) CloneMessageVT ¶ added in v0.9.0
func (m *RelationshipFilter) CloneMessageVT() proto.Message
func (*RelationshipFilter) CloneVT ¶ added in v0.8.0
func (m *RelationshipFilter) CloneVT() *RelationshipFilter
func (*RelationshipFilter) Descriptor
deprecated
func (*RelationshipFilter) Descriptor() ([]byte, []int)
Deprecated: Use RelationshipFilter.ProtoReflect.Descriptor instead.
func (*RelationshipFilter) EqualMessageVT ¶ added in v0.11.0
func (this *RelationshipFilter) EqualMessageVT(thatMsg proto.Message) bool
func (*RelationshipFilter) EqualVT ¶ added in v0.11.0
func (this *RelationshipFilter) EqualVT(that *RelationshipFilter) bool
func (*RelationshipFilter) GetOptionalRelation ¶
func (x *RelationshipFilter) GetOptionalRelation() string
func (*RelationshipFilter) GetOptionalResourceId ¶
func (x *RelationshipFilter) GetOptionalResourceId() string
func (*RelationshipFilter) GetOptionalResourceIdPrefix ¶ added in v0.11.0
func (x *RelationshipFilter) GetOptionalResourceIdPrefix() string
func (*RelationshipFilter) GetOptionalSubjectFilter ¶
func (x *RelationshipFilter) GetOptionalSubjectFilter() *SubjectFilter
func (*RelationshipFilter) GetResourceType ¶
func (x *RelationshipFilter) GetResourceType() string
func (*RelationshipFilter) HandwrittenValidate ¶ added in v0.4.0
func (m *RelationshipFilter) HandwrittenValidate() error
func (*RelationshipFilter) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *RelationshipFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationshipFilter) MarshalToVT ¶ added in v0.8.0
func (m *RelationshipFilter) MarshalToVT(dAtA []byte) (int, error)
func (*RelationshipFilter) MarshalVT ¶ added in v0.8.0
func (m *RelationshipFilter) MarshalVT() (dAtA []byte, err error)
func (*RelationshipFilter) ProtoMessage ¶
func (*RelationshipFilter) ProtoMessage()
func (*RelationshipFilter) ProtoReflect ¶
func (x *RelationshipFilter) ProtoReflect() protoreflect.Message
func (*RelationshipFilter) Reset ¶
func (x *RelationshipFilter) Reset()
func (*RelationshipFilter) SizeVT ¶ added in v0.8.0
func (m *RelationshipFilter) SizeVT() (n int)
func (*RelationshipFilter) String ¶
func (x *RelationshipFilter) String() string
func (*RelationshipFilter) UnmarshalVT ¶ added in v0.8.0
func (m *RelationshipFilter) UnmarshalVT(dAtA []byte) error
func (*RelationshipFilter) Validate ¶
func (m *RelationshipFilter) Validate() error
Validate checks the field values on RelationshipFilter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RelationshipFilter) ValidateAll ¶ added in v0.6.0
func (m *RelationshipFilter) ValidateAll() error
ValidateAll checks the field values on RelationshipFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RelationshipFilterMultiError, or nil if none found.
type RelationshipFilterMultiError ¶ added in v0.6.0
type RelationshipFilterMultiError []error
RelationshipFilterMultiError is an error wrapping multiple validation errors returned by RelationshipFilter.ValidateAll() if the designated constraints aren't met.
func (RelationshipFilterMultiError) AllErrors ¶ added in v0.6.0
func (m RelationshipFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelationshipFilterMultiError) Error ¶ added in v0.6.0
func (m RelationshipFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelationshipFilterValidationError ¶
type RelationshipFilterValidationError struct {
// contains filtered or unexported fields
}
RelationshipFilterValidationError is the validation error returned by RelationshipFilter.Validate if the designated constraints aren't met.
func (RelationshipFilterValidationError) Cause ¶
func (e RelationshipFilterValidationError) Cause() error
Cause function returns cause value.
func (RelationshipFilterValidationError) Error ¶
func (e RelationshipFilterValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipFilterValidationError) ErrorName ¶
func (e RelationshipFilterValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipFilterValidationError) Field ¶
func (e RelationshipFilterValidationError) Field() string
Field function returns field value.
func (RelationshipFilterValidationError) Key ¶
func (e RelationshipFilterValidationError) Key() bool
Key function returns key value.
func (RelationshipFilterValidationError) Reason ¶
func (e RelationshipFilterValidationError) Reason() string
Reason function returns reason value.
type RelationshipMultiError ¶ added in v0.6.0
type RelationshipMultiError []error
RelationshipMultiError is an error wrapping multiple validation errors returned by Relationship.ValidateAll() if the designated constraints aren't met.
func (RelationshipMultiError) AllErrors ¶ added in v0.6.0
func (m RelationshipMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelationshipMultiError) Error ¶ added in v0.6.0
func (m RelationshipMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelationshipUpdate ¶
type RelationshipUpdate struct { Operation RelationshipUpdate_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=authzed.api.v1.RelationshipUpdate_Operation" json:"operation,omitempty"` Relationship *Relationship `protobuf:"bytes,2,opt,name=relationship,proto3" json:"relationship,omitempty"` // contains filtered or unexported fields }
RelationshipUpdate is used for mutating a single relationship within the service.
CREATE will create the relationship only if it doesn't exist, and error otherwise.
TOUCH will upsert the relationship, and will not error if it already exists.
DELETE will delete the relationship. If the relationship does not exist, this operation will no-op.
func (*RelationshipUpdate) CloneMessageVT ¶ added in v0.9.0
func (m *RelationshipUpdate) CloneMessageVT() proto.Message
func (*RelationshipUpdate) CloneVT ¶ added in v0.8.0
func (m *RelationshipUpdate) CloneVT() *RelationshipUpdate
func (*RelationshipUpdate) Descriptor
deprecated
func (*RelationshipUpdate) Descriptor() ([]byte, []int)
Deprecated: Use RelationshipUpdate.ProtoReflect.Descriptor instead.
func (*RelationshipUpdate) EqualMessageVT ¶ added in v0.11.0
func (this *RelationshipUpdate) EqualMessageVT(thatMsg proto.Message) bool
func (*RelationshipUpdate) EqualVT ¶ added in v0.11.0
func (this *RelationshipUpdate) EqualVT(that *RelationshipUpdate) bool
func (*RelationshipUpdate) GetOperation ¶
func (x *RelationshipUpdate) GetOperation() RelationshipUpdate_Operation
func (*RelationshipUpdate) GetRelationship ¶
func (x *RelationshipUpdate) GetRelationship() *Relationship
func (*RelationshipUpdate) HandwrittenValidate ¶ added in v0.4.0
func (m *RelationshipUpdate) HandwrittenValidate() error
func (*RelationshipUpdate) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *RelationshipUpdate) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RelationshipUpdate) MarshalToVT ¶ added in v0.8.0
func (m *RelationshipUpdate) MarshalToVT(dAtA []byte) (int, error)
func (*RelationshipUpdate) MarshalVT ¶ added in v0.8.0
func (m *RelationshipUpdate) MarshalVT() (dAtA []byte, err error)
func (*RelationshipUpdate) ProtoMessage ¶
func (*RelationshipUpdate) ProtoMessage()
func (*RelationshipUpdate) ProtoReflect ¶
func (x *RelationshipUpdate) ProtoReflect() protoreflect.Message
func (*RelationshipUpdate) Reset ¶
func (x *RelationshipUpdate) Reset()
func (*RelationshipUpdate) SizeVT ¶ added in v0.8.0
func (m *RelationshipUpdate) SizeVT() (n int)
func (*RelationshipUpdate) String ¶
func (x *RelationshipUpdate) String() string
func (*RelationshipUpdate) UnmarshalVT ¶ added in v0.8.0
func (m *RelationshipUpdate) UnmarshalVT(dAtA []byte) error
func (*RelationshipUpdate) Validate ¶
func (m *RelationshipUpdate) Validate() error
Validate checks the field values on RelationshipUpdate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RelationshipUpdate) ValidateAll ¶ added in v0.6.0
func (m *RelationshipUpdate) ValidateAll() error
ValidateAll checks the field values on RelationshipUpdate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RelationshipUpdateMultiError, or nil if none found.
type RelationshipUpdateMultiError ¶ added in v0.6.0
type RelationshipUpdateMultiError []error
RelationshipUpdateMultiError is an error wrapping multiple validation errors returned by RelationshipUpdate.ValidateAll() if the designated constraints aren't met.
func (RelationshipUpdateMultiError) AllErrors ¶ added in v0.6.0
func (m RelationshipUpdateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelationshipUpdateMultiError) Error ¶ added in v0.6.0
func (m RelationshipUpdateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelationshipUpdateValidationError ¶
type RelationshipUpdateValidationError struct {
// contains filtered or unexported fields
}
RelationshipUpdateValidationError is the validation error returned by RelationshipUpdate.Validate if the designated constraints aren't met.
func (RelationshipUpdateValidationError) Cause ¶
func (e RelationshipUpdateValidationError) Cause() error
Cause function returns cause value.
func (RelationshipUpdateValidationError) Error ¶
func (e RelationshipUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipUpdateValidationError) ErrorName ¶
func (e RelationshipUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipUpdateValidationError) Field ¶
func (e RelationshipUpdateValidationError) Field() string
Field function returns field value.
func (RelationshipUpdateValidationError) Key ¶
func (e RelationshipUpdateValidationError) Key() bool
Key function returns key value.
func (RelationshipUpdateValidationError) Reason ¶
func (e RelationshipUpdateValidationError) Reason() string
Reason function returns reason value.
type RelationshipUpdate_Operation ¶
type RelationshipUpdate_Operation int32
const ( RelationshipUpdate_OPERATION_UNSPECIFIED RelationshipUpdate_Operation = 0 RelationshipUpdate_OPERATION_CREATE RelationshipUpdate_Operation = 1 RelationshipUpdate_OPERATION_TOUCH RelationshipUpdate_Operation = 2 RelationshipUpdate_OPERATION_DELETE RelationshipUpdate_Operation = 3 )
func (RelationshipUpdate_Operation) Descriptor ¶
func (RelationshipUpdate_Operation) Descriptor() protoreflect.EnumDescriptor
func (RelationshipUpdate_Operation) Enum ¶
func (x RelationshipUpdate_Operation) Enum() *RelationshipUpdate_Operation
func (RelationshipUpdate_Operation) EnumDescriptor
deprecated
func (RelationshipUpdate_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use RelationshipUpdate_Operation.Descriptor instead.
func (RelationshipUpdate_Operation) Number ¶
func (x RelationshipUpdate_Operation) Number() protoreflect.EnumNumber
func (RelationshipUpdate_Operation) String ¶
func (x RelationshipUpdate_Operation) String() string
func (RelationshipUpdate_Operation) Type ¶
func (RelationshipUpdate_Operation) Type() protoreflect.EnumType
type RelationshipValidationError ¶
type RelationshipValidationError struct {
// contains filtered or unexported fields
}
RelationshipValidationError is the validation error returned by Relationship.Validate if the designated constraints aren't met.
func (RelationshipValidationError) Cause ¶
func (e RelationshipValidationError) Cause() error
Cause function returns cause value.
func (RelationshipValidationError) Error ¶
func (e RelationshipValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipValidationError) ErrorName ¶
func (e RelationshipValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipValidationError) Field ¶
func (e RelationshipValidationError) Field() string
Field function returns field value.
func (RelationshipValidationError) Key ¶
func (e RelationshipValidationError) Key() bool
Key function returns key value.
func (RelationshipValidationError) Reason ¶
func (e RelationshipValidationError) Reason() string
Reason function returns reason value.
type ResolvedSubject ¶ added in v0.8.0
type ResolvedSubject struct { // subject_object_id is the Object ID of the subject found. May be a `*` if // a wildcard was found. SubjectObjectId string `protobuf:"bytes,1,opt,name=subject_object_id,json=subjectObjectId,proto3" json:"subject_object_id,omitempty"` // permissionship indicates whether the response was partially evaluated or not Permissionship LookupPermissionship `protobuf:"varint,2,opt,name=permissionship,proto3,enum=authzed.api.v1.LookupPermissionship" json:"permissionship,omitempty"` // partial_caveat_info holds information of a partially-evaluated caveated response PartialCaveatInfo *PartialCaveatInfo `protobuf:"bytes,3,opt,name=partial_caveat_info,json=partialCaveatInfo,proto3" json:"partial_caveat_info,omitempty"` // contains filtered or unexported fields }
ResolvedSubject is a single subject resolved within LookupSubjects.
func (*ResolvedSubject) CloneMessageVT ¶ added in v0.9.0
func (m *ResolvedSubject) CloneMessageVT() proto.Message
func (*ResolvedSubject) CloneVT ¶ added in v0.8.0
func (m *ResolvedSubject) CloneVT() *ResolvedSubject
func (*ResolvedSubject) Descriptor
deprecated
added in
v0.8.0
func (*ResolvedSubject) Descriptor() ([]byte, []int)
Deprecated: Use ResolvedSubject.ProtoReflect.Descriptor instead.
func (*ResolvedSubject) EqualMessageVT ¶ added in v0.11.0
func (this *ResolvedSubject) EqualMessageVT(thatMsg proto.Message) bool
func (*ResolvedSubject) EqualVT ¶ added in v0.11.0
func (this *ResolvedSubject) EqualVT(that *ResolvedSubject) bool
func (*ResolvedSubject) GetPartialCaveatInfo ¶ added in v0.8.0
func (x *ResolvedSubject) GetPartialCaveatInfo() *PartialCaveatInfo
func (*ResolvedSubject) GetPermissionship ¶ added in v0.8.0
func (x *ResolvedSubject) GetPermissionship() LookupPermissionship
func (*ResolvedSubject) GetSubjectObjectId ¶ added in v0.8.0
func (x *ResolvedSubject) GetSubjectObjectId() string
func (*ResolvedSubject) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *ResolvedSubject) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ResolvedSubject) MarshalToVT ¶ added in v0.8.0
func (m *ResolvedSubject) MarshalToVT(dAtA []byte) (int, error)
func (*ResolvedSubject) MarshalVT ¶ added in v0.8.0
func (m *ResolvedSubject) MarshalVT() (dAtA []byte, err error)
func (*ResolvedSubject) ProtoMessage ¶ added in v0.8.0
func (*ResolvedSubject) ProtoMessage()
func (*ResolvedSubject) ProtoReflect ¶ added in v0.8.0
func (x *ResolvedSubject) ProtoReflect() protoreflect.Message
func (*ResolvedSubject) Reset ¶ added in v0.8.0
func (x *ResolvedSubject) Reset()
func (*ResolvedSubject) SizeVT ¶ added in v0.8.0
func (m *ResolvedSubject) SizeVT() (n int)
func (*ResolvedSubject) String ¶ added in v0.8.0
func (x *ResolvedSubject) String() string
func (*ResolvedSubject) UnmarshalVT ¶ added in v0.8.0
func (m *ResolvedSubject) UnmarshalVT(dAtA []byte) error
func (*ResolvedSubject) Validate ¶ added in v0.8.0
func (m *ResolvedSubject) Validate() error
Validate checks the field values on ResolvedSubject 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 (*ResolvedSubject) ValidateAll ¶ added in v0.8.0
func (m *ResolvedSubject) ValidateAll() error
ValidateAll checks the field values on ResolvedSubject 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 ResolvedSubjectMultiError, or nil if none found.
type ResolvedSubjectMultiError ¶ added in v0.8.0
type ResolvedSubjectMultiError []error
ResolvedSubjectMultiError is an error wrapping multiple validation errors returned by ResolvedSubject.ValidateAll() if the designated constraints aren't met.
func (ResolvedSubjectMultiError) AllErrors ¶ added in v0.8.0
func (m ResolvedSubjectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResolvedSubjectMultiError) Error ¶ added in v0.8.0
func (m ResolvedSubjectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResolvedSubjectValidationError ¶ added in v0.8.0
type ResolvedSubjectValidationError struct {
// contains filtered or unexported fields
}
ResolvedSubjectValidationError is the validation error returned by ResolvedSubject.Validate if the designated constraints aren't met.
func (ResolvedSubjectValidationError) Cause ¶ added in v0.8.0
func (e ResolvedSubjectValidationError) Cause() error
Cause function returns cause value.
func (ResolvedSubjectValidationError) Error ¶ added in v0.8.0
func (e ResolvedSubjectValidationError) Error() string
Error satisfies the builtin error interface
func (ResolvedSubjectValidationError) ErrorName ¶ added in v0.8.0
func (e ResolvedSubjectValidationError) ErrorName() string
ErrorName returns error name.
func (ResolvedSubjectValidationError) Field ¶ added in v0.8.0
func (e ResolvedSubjectValidationError) Field() string
Field function returns field value.
func (ResolvedSubjectValidationError) Key ¶ added in v0.8.0
func (e ResolvedSubjectValidationError) Key() bool
Key function returns key value.
func (ResolvedSubjectValidationError) Reason ¶ added in v0.8.0
func (e ResolvedSubjectValidationError) Reason() string
Reason function returns reason value.
type SchemaServiceClient ¶
type SchemaServiceClient interface { // Read returns the current Object Definitions for a Permissions System. // // Errors include: // - INVALID_ARGUMENT: a provided value has failed to semantically validate // - NOT_FOUND: no schema has been defined ReadSchema(ctx context.Context, in *ReadSchemaRequest, opts ...grpc.CallOption) (*ReadSchemaResponse, error) // Write overwrites the current Object Definitions for a Permissions System. WriteSchema(ctx context.Context, in *WriteSchemaRequest, opts ...grpc.CallOption) (*WriteSchemaResponse, error) }
SchemaServiceClient is the client API for SchemaService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSchemaServiceClient ¶
func NewSchemaServiceClient(cc grpc.ClientConnInterface) SchemaServiceClient
type SchemaServiceServer ¶
type SchemaServiceServer interface { // Read returns the current Object Definitions for a Permissions System. // // Errors include: // - INVALID_ARGUMENT: a provided value has failed to semantically validate // - NOT_FOUND: no schema has been defined ReadSchema(context.Context, *ReadSchemaRequest) (*ReadSchemaResponse, error) // Write overwrites the current Object Definitions for a Permissions System. WriteSchema(context.Context, *WriteSchemaRequest) (*WriteSchemaResponse, error) // contains filtered or unexported methods }
SchemaServiceServer is the server API for SchemaService service. All implementations must embed UnimplementedSchemaServiceServer for forward compatibility
type SubjectFilter ¶
type SubjectFilter struct { SubjectType string `protobuf:"bytes,1,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"` OptionalSubjectId string `protobuf:"bytes,2,opt,name=optional_subject_id,json=optionalSubjectId,proto3" json:"optional_subject_id,omitempty"` OptionalRelation *SubjectFilter_RelationFilter `protobuf:"bytes,3,opt,name=optional_relation,json=optionalRelation,proto3" json:"optional_relation,omitempty"` // contains filtered or unexported fields }
SubjectFilter specifies a filter on the subject of a relationship.
subject_type is required and all other fields are optional, and will not impose any additional requirements if left unspecified.
func (*SubjectFilter) CloneMessageVT ¶ added in v0.9.0
func (m *SubjectFilter) CloneMessageVT() proto.Message
func (*SubjectFilter) CloneVT ¶ added in v0.8.0
func (m *SubjectFilter) CloneVT() *SubjectFilter
func (*SubjectFilter) Descriptor
deprecated
func (*SubjectFilter) Descriptor() ([]byte, []int)
Deprecated: Use SubjectFilter.ProtoReflect.Descriptor instead.
func (*SubjectFilter) EqualMessageVT ¶ added in v0.11.0
func (this *SubjectFilter) EqualMessageVT(thatMsg proto.Message) bool
func (*SubjectFilter) EqualVT ¶ added in v0.11.0
func (this *SubjectFilter) EqualVT(that *SubjectFilter) bool
func (*SubjectFilter) GetOptionalRelation ¶
func (x *SubjectFilter) GetOptionalRelation() *SubjectFilter_RelationFilter
func (*SubjectFilter) GetOptionalSubjectId ¶
func (x *SubjectFilter) GetOptionalSubjectId() string
func (*SubjectFilter) GetSubjectType ¶
func (x *SubjectFilter) GetSubjectType() string
func (*SubjectFilter) HandwrittenValidate ¶ added in v0.4.0
func (m *SubjectFilter) HandwrittenValidate() error
func (*SubjectFilter) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *SubjectFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SubjectFilter) MarshalToVT ¶ added in v0.8.0
func (m *SubjectFilter) MarshalToVT(dAtA []byte) (int, error)
func (*SubjectFilter) MarshalVT ¶ added in v0.8.0
func (m *SubjectFilter) MarshalVT() (dAtA []byte, err error)
func (*SubjectFilter) ProtoMessage ¶
func (*SubjectFilter) ProtoMessage()
func (*SubjectFilter) ProtoReflect ¶
func (x *SubjectFilter) ProtoReflect() protoreflect.Message
func (*SubjectFilter) Reset ¶
func (x *SubjectFilter) Reset()
func (*SubjectFilter) SizeVT ¶ added in v0.8.0
func (m *SubjectFilter) SizeVT() (n int)
func (*SubjectFilter) String ¶
func (x *SubjectFilter) String() string
func (*SubjectFilter) UnmarshalVT ¶ added in v0.8.0
func (m *SubjectFilter) UnmarshalVT(dAtA []byte) error
func (*SubjectFilter) Validate ¶
func (m *SubjectFilter) Validate() error
Validate checks the field values on SubjectFilter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubjectFilter) ValidateAll ¶ added in v0.6.0
func (m *SubjectFilter) ValidateAll() error
ValidateAll checks the field values on SubjectFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubjectFilterMultiError, or nil if none found.
type SubjectFilterMultiError ¶ added in v0.6.0
type SubjectFilterMultiError []error
SubjectFilterMultiError is an error wrapping multiple validation errors returned by SubjectFilter.ValidateAll() if the designated constraints aren't met.
func (SubjectFilterMultiError) AllErrors ¶ added in v0.6.0
func (m SubjectFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubjectFilterMultiError) Error ¶ added in v0.6.0
func (m SubjectFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubjectFilterValidationError ¶
type SubjectFilterValidationError struct {
// contains filtered or unexported fields
}
SubjectFilterValidationError is the validation error returned by SubjectFilter.Validate if the designated constraints aren't met.
func (SubjectFilterValidationError) Cause ¶
func (e SubjectFilterValidationError) Cause() error
Cause function returns cause value.
func (SubjectFilterValidationError) Error ¶
func (e SubjectFilterValidationError) Error() string
Error satisfies the builtin error interface
func (SubjectFilterValidationError) ErrorName ¶
func (e SubjectFilterValidationError) ErrorName() string
ErrorName returns error name.
func (SubjectFilterValidationError) Field ¶
func (e SubjectFilterValidationError) Field() string
Field function returns field value.
func (SubjectFilterValidationError) Key ¶
func (e SubjectFilterValidationError) Key() bool
Key function returns key value.
func (SubjectFilterValidationError) Reason ¶
func (e SubjectFilterValidationError) Reason() string
Reason function returns reason value.
type SubjectFilter_RelationFilter ¶
type SubjectFilter_RelationFilter struct { Relation string `protobuf:"bytes,1,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
func (*SubjectFilter_RelationFilter) CloneMessageVT ¶ added in v0.9.0
func (m *SubjectFilter_RelationFilter) CloneMessageVT() proto.Message
func (*SubjectFilter_RelationFilter) CloneVT ¶ added in v0.8.0
func (m *SubjectFilter_RelationFilter) CloneVT() *SubjectFilter_RelationFilter
func (*SubjectFilter_RelationFilter) Descriptor
deprecated
func (*SubjectFilter_RelationFilter) Descriptor() ([]byte, []int)
Deprecated: Use SubjectFilter_RelationFilter.ProtoReflect.Descriptor instead.
func (*SubjectFilter_RelationFilter) EqualMessageVT ¶ added in v0.11.0
func (this *SubjectFilter_RelationFilter) EqualMessageVT(thatMsg proto.Message) bool
func (*SubjectFilter_RelationFilter) EqualVT ¶ added in v0.11.0
func (this *SubjectFilter_RelationFilter) EqualVT(that *SubjectFilter_RelationFilter) bool
func (*SubjectFilter_RelationFilter) GetRelation ¶
func (x *SubjectFilter_RelationFilter) GetRelation() string
func (*SubjectFilter_RelationFilter) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *SubjectFilter_RelationFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SubjectFilter_RelationFilter) MarshalToVT ¶ added in v0.8.0
func (m *SubjectFilter_RelationFilter) MarshalToVT(dAtA []byte) (int, error)
func (*SubjectFilter_RelationFilter) MarshalVT ¶ added in v0.8.0
func (m *SubjectFilter_RelationFilter) MarshalVT() (dAtA []byte, err error)
func (*SubjectFilter_RelationFilter) ProtoMessage ¶
func (*SubjectFilter_RelationFilter) ProtoMessage()
func (*SubjectFilter_RelationFilter) ProtoReflect ¶
func (x *SubjectFilter_RelationFilter) ProtoReflect() protoreflect.Message
func (*SubjectFilter_RelationFilter) Reset ¶
func (x *SubjectFilter_RelationFilter) Reset()
func (*SubjectFilter_RelationFilter) SizeVT ¶ added in v0.8.0
func (m *SubjectFilter_RelationFilter) SizeVT() (n int)
func (*SubjectFilter_RelationFilter) String ¶
func (x *SubjectFilter_RelationFilter) String() string
func (*SubjectFilter_RelationFilter) UnmarshalVT ¶ added in v0.8.0
func (m *SubjectFilter_RelationFilter) UnmarshalVT(dAtA []byte) error
func (*SubjectFilter_RelationFilter) Validate ¶
func (m *SubjectFilter_RelationFilter) Validate() error
Validate checks the field values on SubjectFilter_RelationFilter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubjectFilter_RelationFilter) ValidateAll ¶ added in v0.6.0
func (m *SubjectFilter_RelationFilter) ValidateAll() error
ValidateAll checks the field values on SubjectFilter_RelationFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubjectFilter_RelationFilterMultiError, or nil if none found.
type SubjectFilter_RelationFilterMultiError ¶ added in v0.6.0
type SubjectFilter_RelationFilterMultiError []error
SubjectFilter_RelationFilterMultiError is an error wrapping multiple validation errors returned by SubjectFilter_RelationFilter.ValidateAll() if the designated constraints aren't met.
func (SubjectFilter_RelationFilterMultiError) AllErrors ¶ added in v0.6.0
func (m SubjectFilter_RelationFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubjectFilter_RelationFilterMultiError) Error ¶ added in v0.6.0
func (m SubjectFilter_RelationFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubjectFilter_RelationFilterValidationError ¶
type SubjectFilter_RelationFilterValidationError struct {
// contains filtered or unexported fields
}
SubjectFilter_RelationFilterValidationError is the validation error returned by SubjectFilter_RelationFilter.Validate if the designated constraints aren't met.
func (SubjectFilter_RelationFilterValidationError) Cause ¶
func (e SubjectFilter_RelationFilterValidationError) Cause() error
Cause function returns cause value.
func (SubjectFilter_RelationFilterValidationError) Error ¶
func (e SubjectFilter_RelationFilterValidationError) Error() string
Error satisfies the builtin error interface
func (SubjectFilter_RelationFilterValidationError) ErrorName ¶
func (e SubjectFilter_RelationFilterValidationError) ErrorName() string
ErrorName returns error name.
func (SubjectFilter_RelationFilterValidationError) Field ¶
func (e SubjectFilter_RelationFilterValidationError) Field() string
Field function returns field value.
func (SubjectFilter_RelationFilterValidationError) Key ¶
func (e SubjectFilter_RelationFilterValidationError) Key() bool
Key function returns key value.
func (SubjectFilter_RelationFilterValidationError) Reason ¶
func (e SubjectFilter_RelationFilterValidationError) Reason() string
Reason function returns reason value.
type SubjectReference ¶
type SubjectReference struct { Object *ObjectReference `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"` OptionalRelation string `protobuf:"bytes,2,opt,name=optional_relation,json=optionalRelation,proto3" json:"optional_relation,omitempty"` // contains filtered or unexported fields }
SubjectReference is used for referring to the subject portion of a Relationship. The relation component is optional and is used for defining a sub-relation on the subject, e.g. group:123#members
func (*SubjectReference) CloneMessageVT ¶ added in v0.9.0
func (m *SubjectReference) CloneMessageVT() proto.Message
func (*SubjectReference) CloneVT ¶ added in v0.8.0
func (m *SubjectReference) CloneVT() *SubjectReference
func (*SubjectReference) Descriptor
deprecated
func (*SubjectReference) Descriptor() ([]byte, []int)
Deprecated: Use SubjectReference.ProtoReflect.Descriptor instead.
func (*SubjectReference) EqualMessageVT ¶ added in v0.11.0
func (this *SubjectReference) EqualMessageVT(thatMsg proto.Message) bool
func (*SubjectReference) EqualVT ¶ added in v0.11.0
func (this *SubjectReference) EqualVT(that *SubjectReference) bool
func (*SubjectReference) GetObject ¶
func (x *SubjectReference) GetObject() *ObjectReference
func (*SubjectReference) GetOptionalRelation ¶
func (x *SubjectReference) GetOptionalRelation() string
func (*SubjectReference) HandwrittenValidate ¶ added in v0.4.0
func (m *SubjectReference) HandwrittenValidate() error
func (*SubjectReference) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *SubjectReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SubjectReference) MarshalToVT ¶ added in v0.8.0
func (m *SubjectReference) MarshalToVT(dAtA []byte) (int, error)
func (*SubjectReference) MarshalVT ¶ added in v0.8.0
func (m *SubjectReference) MarshalVT() (dAtA []byte, err error)
func (*SubjectReference) ProtoMessage ¶
func (*SubjectReference) ProtoMessage()
func (*SubjectReference) ProtoReflect ¶
func (x *SubjectReference) ProtoReflect() protoreflect.Message
func (*SubjectReference) Reset ¶
func (x *SubjectReference) Reset()
func (*SubjectReference) SizeVT ¶ added in v0.8.0
func (m *SubjectReference) SizeVT() (n int)
func (*SubjectReference) String ¶
func (x *SubjectReference) String() string
func (*SubjectReference) UnmarshalVT ¶ added in v0.8.0
func (m *SubjectReference) UnmarshalVT(dAtA []byte) error
func (*SubjectReference) Validate ¶
func (m *SubjectReference) Validate() error
Validate checks the field values on SubjectReference with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubjectReference) ValidateAll ¶ added in v0.6.0
func (m *SubjectReference) ValidateAll() error
ValidateAll checks the field values on SubjectReference with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubjectReferenceMultiError, or nil if none found.
type SubjectReferenceMultiError ¶ added in v0.6.0
type SubjectReferenceMultiError []error
SubjectReferenceMultiError is an error wrapping multiple validation errors returned by SubjectReference.ValidateAll() if the designated constraints aren't met.
func (SubjectReferenceMultiError) AllErrors ¶ added in v0.6.0
func (m SubjectReferenceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubjectReferenceMultiError) Error ¶ added in v0.6.0
func (m SubjectReferenceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubjectReferenceValidationError ¶
type SubjectReferenceValidationError struct {
// contains filtered or unexported fields
}
SubjectReferenceValidationError is the validation error returned by SubjectReference.Validate if the designated constraints aren't met.
func (SubjectReferenceValidationError) Cause ¶
func (e SubjectReferenceValidationError) Cause() error
Cause function returns cause value.
func (SubjectReferenceValidationError) Error ¶
func (e SubjectReferenceValidationError) Error() string
Error satisfies the builtin error interface
func (SubjectReferenceValidationError) ErrorName ¶
func (e SubjectReferenceValidationError) ErrorName() string
ErrorName returns error name.
func (SubjectReferenceValidationError) Field ¶
func (e SubjectReferenceValidationError) Field() string
Field function returns field value.
func (SubjectReferenceValidationError) Key ¶
func (e SubjectReferenceValidationError) Key() bool
Key function returns key value.
func (SubjectReferenceValidationError) Reason ¶
func (e SubjectReferenceValidationError) Reason() string
Reason function returns reason value.
type UnimplementedExperimentalServiceServer ¶ added in v0.9.0
type UnimplementedExperimentalServiceServer struct { }
UnimplementedExperimentalServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedExperimentalServiceServer) BulkCheckPermission ¶ added in v0.10.0
func (UnimplementedExperimentalServiceServer) BulkCheckPermission(context.Context, *BulkCheckPermissionRequest) (*BulkCheckPermissionResponse, error)
func (UnimplementedExperimentalServiceServer) BulkExportRelationships ¶ added in v0.9.0
func (UnimplementedExperimentalServiceServer) BulkExportRelationships(*BulkExportRelationshipsRequest, ExperimentalService_BulkExportRelationshipsServer) error
func (UnimplementedExperimentalServiceServer) BulkImportRelationships ¶ added in v0.9.0
func (UnimplementedExperimentalServiceServer) BulkImportRelationships(ExperimentalService_BulkImportRelationshipsServer) error
type UnimplementedPermissionsServiceServer ¶
type UnimplementedPermissionsServiceServer struct { }
UnimplementedPermissionsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPermissionsServiceServer) CheckBulkPermissions ¶ added in v0.11.0
func (UnimplementedPermissionsServiceServer) CheckBulkPermissions(context.Context, *CheckBulkPermissionsRequest) (*CheckBulkPermissionsResponse, error)
func (UnimplementedPermissionsServiceServer) CheckPermission ¶
func (UnimplementedPermissionsServiceServer) CheckPermission(context.Context, *CheckPermissionRequest) (*CheckPermissionResponse, error)
func (UnimplementedPermissionsServiceServer) DeleteRelationships ¶
func (UnimplementedPermissionsServiceServer) DeleteRelationships(context.Context, *DeleteRelationshipsRequest) (*DeleteRelationshipsResponse, error)
func (UnimplementedPermissionsServiceServer) ExpandPermissionTree ¶
func (UnimplementedPermissionsServiceServer) ExpandPermissionTree(context.Context, *ExpandPermissionTreeRequest) (*ExpandPermissionTreeResponse, error)
func (UnimplementedPermissionsServiceServer) LookupResources ¶
func (UnimplementedPermissionsServiceServer) LookupResources(*LookupResourcesRequest, PermissionsService_LookupResourcesServer) error
func (UnimplementedPermissionsServiceServer) LookupSubjects ¶ added in v0.7.0
func (UnimplementedPermissionsServiceServer) LookupSubjects(*LookupSubjectsRequest, PermissionsService_LookupSubjectsServer) error
func (UnimplementedPermissionsServiceServer) ReadRelationships ¶
func (UnimplementedPermissionsServiceServer) ReadRelationships(*ReadRelationshipsRequest, PermissionsService_ReadRelationshipsServer) error
func (UnimplementedPermissionsServiceServer) WriteRelationships ¶
func (UnimplementedPermissionsServiceServer) WriteRelationships(context.Context, *WriteRelationshipsRequest) (*WriteRelationshipsResponse, error)
type UnimplementedSchemaServiceServer ¶
type UnimplementedSchemaServiceServer struct { }
UnimplementedSchemaServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSchemaServiceServer) ReadSchema ¶
func (UnimplementedSchemaServiceServer) ReadSchema(context.Context, *ReadSchemaRequest) (*ReadSchemaResponse, error)
func (UnimplementedSchemaServiceServer) WriteSchema ¶
func (UnimplementedSchemaServiceServer) WriteSchema(context.Context, *WriteSchemaRequest) (*WriteSchemaResponse, error)
type UnimplementedWatchServiceServer ¶
type UnimplementedWatchServiceServer struct { }
UnimplementedWatchServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedWatchServiceServer) Watch ¶
func (UnimplementedWatchServiceServer) Watch(*WatchRequest, WatchService_WatchServer) error
type UnsafeExperimentalServiceServer ¶ added in v0.9.0
type UnsafeExperimentalServiceServer interface {
// contains filtered or unexported methods
}
UnsafeExperimentalServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExperimentalServiceServer will result in compilation errors.
type UnsafePermissionsServiceServer ¶
type UnsafePermissionsServiceServer interface {
// contains filtered or unexported methods
}
UnsafePermissionsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PermissionsServiceServer will result in compilation errors.
type UnsafeSchemaServiceServer ¶
type UnsafeSchemaServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSchemaServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SchemaServiceServer will result in compilation errors.
type UnsafeWatchServiceServer ¶
type UnsafeWatchServiceServer interface {
// contains filtered or unexported methods
}
UnsafeWatchServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WatchServiceServer will result in compilation errors.
type WatchRequest ¶
type WatchRequest struct { // optional_object_types is a filter of resource object types to watch for changes. // If specified, only changes to the specified object types will be returned and // optional_relationship_filters cannot be used. OptionalObjectTypes []string `protobuf:"bytes,1,rep,name=optional_object_types,json=optionalObjectTypes,proto3" json:"optional_object_types,omitempty"` // optional_start_cursor is the ZedToken holding the point-in-time at // which to start watching for changes. // If not specified, the watch will begin at the current head revision // of the datastore, returning any updates that occur after the caller // makes the request. // Note that if this cursor references a point-in-time containing data // that has been garbage collected, an error will be returned. OptionalStartCursor *ZedToken `protobuf:"bytes,2,opt,name=optional_start_cursor,json=optionalStartCursor,proto3" json:"optional_start_cursor,omitempty"` // optional_relationship_filters, if specified, indicates the // filter(s) to apply to each relationship to be returned by watch. // The relationship will be returned as long as at least one filter matches, // this allows clients to match relationships on multiple filters on a single watch call. // If specified, optional_object_types cannot be used. OptionalRelationshipFilters []*RelationshipFilter `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
WatchRequest specifies the object definitions for which we want to start watching mutations, and an optional start snapshot for when to start watching.
func (*WatchRequest) CloneMessageVT ¶ added in v0.9.0
func (m *WatchRequest) CloneMessageVT() proto.Message
func (*WatchRequest) CloneVT ¶ added in v0.8.0
func (m *WatchRequest) CloneVT() *WatchRequest
func (*WatchRequest) Descriptor
deprecated
func (*WatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchRequest.ProtoReflect.Descriptor instead.
func (*WatchRequest) EqualMessageVT ¶ added in v0.11.0
func (this *WatchRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*WatchRequest) EqualVT ¶ added in v0.11.0
func (this *WatchRequest) EqualVT(that *WatchRequest) bool
func (*WatchRequest) GetOptionalObjectTypes ¶ added in v0.4.0
func (x *WatchRequest) GetOptionalObjectTypes() []string
func (*WatchRequest) GetOptionalRelationshipFilters ¶ added in v0.11.0
func (x *WatchRequest) GetOptionalRelationshipFilters() []*RelationshipFilter
func (*WatchRequest) GetOptionalStartCursor ¶
func (x *WatchRequest) GetOptionalStartCursor() *ZedToken
func (*WatchRequest) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *WatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WatchRequest) MarshalToVT ¶ added in v0.8.0
func (m *WatchRequest) MarshalToVT(dAtA []byte) (int, error)
func (*WatchRequest) MarshalVT ¶ added in v0.8.0
func (m *WatchRequest) MarshalVT() (dAtA []byte, err error)
func (*WatchRequest) ProtoMessage ¶
func (*WatchRequest) ProtoMessage()
func (*WatchRequest) ProtoReflect ¶
func (x *WatchRequest) ProtoReflect() protoreflect.Message
func (*WatchRequest) Reset ¶
func (x *WatchRequest) Reset()
func (*WatchRequest) SizeVT ¶ added in v0.8.0
func (m *WatchRequest) SizeVT() (n int)
func (*WatchRequest) String ¶
func (x *WatchRequest) String() string
func (*WatchRequest) UnmarshalVT ¶ added in v0.8.0
func (m *WatchRequest) UnmarshalVT(dAtA []byte) error
func (*WatchRequest) Validate ¶
func (m *WatchRequest) Validate() error
Validate checks the field values on WatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WatchRequest) ValidateAll ¶ added in v0.6.0
func (m *WatchRequest) ValidateAll() error
ValidateAll checks the field values on WatchRequest 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 WatchRequestMultiError, or nil if none found.
type WatchRequestMultiError ¶ added in v0.6.0
type WatchRequestMultiError []error
WatchRequestMultiError is an error wrapping multiple validation errors returned by WatchRequest.ValidateAll() if the designated constraints aren't met.
func (WatchRequestMultiError) AllErrors ¶ added in v0.6.0
func (m WatchRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WatchRequestMultiError) Error ¶ added in v0.6.0
func (m WatchRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WatchRequestValidationError ¶
type WatchRequestValidationError struct {
// contains filtered or unexported fields
}
WatchRequestValidationError is the validation error returned by WatchRequest.Validate if the designated constraints aren't met.
func (WatchRequestValidationError) Cause ¶
func (e WatchRequestValidationError) Cause() error
Cause function returns cause value.
func (WatchRequestValidationError) Error ¶
func (e WatchRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WatchRequestValidationError) ErrorName ¶
func (e WatchRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WatchRequestValidationError) Field ¶
func (e WatchRequestValidationError) Field() string
Field function returns field value.
func (WatchRequestValidationError) Key ¶
func (e WatchRequestValidationError) Key() bool
Key function returns key value.
func (WatchRequestValidationError) Reason ¶
func (e WatchRequestValidationError) Reason() string
Reason function returns reason value.
type WatchResponse ¶
type WatchResponse struct { Updates []*RelationshipUpdate `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"` ChangesThrough *ZedToken `protobuf:"bytes,2,opt,name=changes_through,json=changesThrough,proto3" json:"changes_through,omitempty"` // contains filtered or unexported fields }
WatchResponse contains all tuple modification events in ascending timestamp order, from the requested start snapshot to a snapshot encoded in the watch response. The client can use the snapshot to resume watching where the previous watch response left off.
func (*WatchResponse) CloneMessageVT ¶ added in v0.9.0
func (m *WatchResponse) CloneMessageVT() proto.Message
func (*WatchResponse) CloneVT ¶ added in v0.8.0
func (m *WatchResponse) CloneVT() *WatchResponse
func (*WatchResponse) Descriptor
deprecated
func (*WatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use WatchResponse.ProtoReflect.Descriptor instead.
func (*WatchResponse) EqualMessageVT ¶ added in v0.11.0
func (this *WatchResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*WatchResponse) EqualVT ¶ added in v0.11.0
func (this *WatchResponse) EqualVT(that *WatchResponse) bool
func (*WatchResponse) GetChangesThrough ¶
func (x *WatchResponse) GetChangesThrough() *ZedToken
func (*WatchResponse) GetUpdates ¶
func (x *WatchResponse) GetUpdates() []*RelationshipUpdate
func (*WatchResponse) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *WatchResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WatchResponse) MarshalToVT ¶ added in v0.8.0
func (m *WatchResponse) MarshalToVT(dAtA []byte) (int, error)
func (*WatchResponse) MarshalVT ¶ added in v0.8.0
func (m *WatchResponse) MarshalVT() (dAtA []byte, err error)
func (*WatchResponse) ProtoMessage ¶
func (*WatchResponse) ProtoMessage()
func (*WatchResponse) ProtoReflect ¶
func (x *WatchResponse) ProtoReflect() protoreflect.Message
func (*WatchResponse) Reset ¶
func (x *WatchResponse) Reset()
func (*WatchResponse) SizeVT ¶ added in v0.8.0
func (m *WatchResponse) SizeVT() (n int)
func (*WatchResponse) String ¶
func (x *WatchResponse) String() string
func (*WatchResponse) UnmarshalVT ¶ added in v0.8.0
func (m *WatchResponse) UnmarshalVT(dAtA []byte) error
func (*WatchResponse) Validate ¶
func (m *WatchResponse) Validate() error
Validate checks the field values on WatchResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WatchResponse) ValidateAll ¶ added in v0.6.0
func (m *WatchResponse) ValidateAll() error
ValidateAll checks the field values on WatchResponse 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 WatchResponseMultiError, or nil if none found.
type WatchResponseMultiError ¶ added in v0.6.0
type WatchResponseMultiError []error
WatchResponseMultiError is an error wrapping multiple validation errors returned by WatchResponse.ValidateAll() if the designated constraints aren't met.
func (WatchResponseMultiError) AllErrors ¶ added in v0.6.0
func (m WatchResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WatchResponseMultiError) Error ¶ added in v0.6.0
func (m WatchResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WatchResponseValidationError ¶
type WatchResponseValidationError struct {
// contains filtered or unexported fields
}
WatchResponseValidationError is the validation error returned by WatchResponse.Validate if the designated constraints aren't met.
func (WatchResponseValidationError) Cause ¶
func (e WatchResponseValidationError) Cause() error
Cause function returns cause value.
func (WatchResponseValidationError) Error ¶
func (e WatchResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WatchResponseValidationError) ErrorName ¶
func (e WatchResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WatchResponseValidationError) Field ¶
func (e WatchResponseValidationError) Field() string
Field function returns field value.
func (WatchResponseValidationError) Key ¶
func (e WatchResponseValidationError) Key() bool
Key function returns key value.
func (WatchResponseValidationError) Reason ¶
func (e WatchResponseValidationError) Reason() string
Reason function returns reason value.
type WatchServiceClient ¶
type WatchServiceClient interface {
Watch(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (WatchService_WatchClient, error)
}
WatchServiceClient is the client API for WatchService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewWatchServiceClient ¶
func NewWatchServiceClient(cc grpc.ClientConnInterface) WatchServiceClient
type WatchServiceServer ¶
type WatchServiceServer interface { Watch(*WatchRequest, WatchService_WatchServer) error // contains filtered or unexported methods }
WatchServiceServer is the server API for WatchService service. All implementations must embed UnimplementedWatchServiceServer for forward compatibility
type WatchService_WatchClient ¶
type WatchService_WatchClient interface { Recv() (*WatchResponse, error) grpc.ClientStream }
type WatchService_WatchServer ¶
type WatchService_WatchServer interface { Send(*WatchResponse) error grpc.ServerStream }
type WriteRelationshipsRequest ¶
type WriteRelationshipsRequest struct { Updates []*RelationshipUpdate `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"` OptionalPreconditions []*Precondition `protobuf:"bytes,2,rep,name=optional_preconditions,json=optionalPreconditions,proto3" json:"optional_preconditions,omitempty"` // To be bounded by configuration // contains filtered or unexported fields }
WriteRelationshipsRequest contains a list of Relationship mutations that should be applied to the service. If the optional_preconditions parameter is included, all of the specified preconditions must also be satisfied before the write will be committed.
func (*WriteRelationshipsRequest) CloneMessageVT ¶ added in v0.9.0
func (m *WriteRelationshipsRequest) CloneMessageVT() proto.Message
func (*WriteRelationshipsRequest) CloneVT ¶ added in v0.8.0
func (m *WriteRelationshipsRequest) CloneVT() *WriteRelationshipsRequest
func (*WriteRelationshipsRequest) Descriptor
deprecated
func (*WriteRelationshipsRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteRelationshipsRequest.ProtoReflect.Descriptor instead.
func (*WriteRelationshipsRequest) EqualMessageVT ¶ added in v0.11.0
func (this *WriteRelationshipsRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*WriteRelationshipsRequest) EqualVT ¶ added in v0.11.0
func (this *WriteRelationshipsRequest) EqualVT(that *WriteRelationshipsRequest) bool
func (*WriteRelationshipsRequest) GetOptionalPreconditions ¶
func (x *WriteRelationshipsRequest) GetOptionalPreconditions() []*Precondition
func (*WriteRelationshipsRequest) GetUpdates ¶
func (x *WriteRelationshipsRequest) GetUpdates() []*RelationshipUpdate
func (*WriteRelationshipsRequest) HandwrittenValidate ¶ added in v0.4.0
func (m *WriteRelationshipsRequest) HandwrittenValidate() error
func (*WriteRelationshipsRequest) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *WriteRelationshipsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WriteRelationshipsRequest) MarshalToVT ¶ added in v0.8.0
func (m *WriteRelationshipsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*WriteRelationshipsRequest) MarshalVT ¶ added in v0.8.0
func (m *WriteRelationshipsRequest) MarshalVT() (dAtA []byte, err error)
func (*WriteRelationshipsRequest) ProtoMessage ¶
func (*WriteRelationshipsRequest) ProtoMessage()
func (*WriteRelationshipsRequest) ProtoReflect ¶
func (x *WriteRelationshipsRequest) ProtoReflect() protoreflect.Message
func (*WriteRelationshipsRequest) Reset ¶
func (x *WriteRelationshipsRequest) Reset()
func (*WriteRelationshipsRequest) SizeVT ¶ added in v0.8.0
func (m *WriteRelationshipsRequest) SizeVT() (n int)
func (*WriteRelationshipsRequest) String ¶
func (x *WriteRelationshipsRequest) String() string
func (*WriteRelationshipsRequest) UnmarshalVT ¶ added in v0.8.0
func (m *WriteRelationshipsRequest) UnmarshalVT(dAtA []byte) error
func (*WriteRelationshipsRequest) Validate ¶
func (m *WriteRelationshipsRequest) Validate() error
Validate checks the field values on WriteRelationshipsRequest 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 (*WriteRelationshipsRequest) ValidateAll ¶ added in v0.6.0
func (m *WriteRelationshipsRequest) ValidateAll() error
ValidateAll checks the field values on WriteRelationshipsRequest 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 WriteRelationshipsRequestMultiError, or nil if none found.
type WriteRelationshipsRequestMultiError ¶ added in v0.6.0
type WriteRelationshipsRequestMultiError []error
WriteRelationshipsRequestMultiError is an error wrapping multiple validation errors returned by WriteRelationshipsRequest.ValidateAll() if the designated constraints aren't met.
func (WriteRelationshipsRequestMultiError) AllErrors ¶ added in v0.6.0
func (m WriteRelationshipsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WriteRelationshipsRequestMultiError) Error ¶ added in v0.6.0
func (m WriteRelationshipsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WriteRelationshipsRequestValidationError ¶
type WriteRelationshipsRequestValidationError struct {
// contains filtered or unexported fields
}
WriteRelationshipsRequestValidationError is the validation error returned by WriteRelationshipsRequest.Validate if the designated constraints aren't met.
func (WriteRelationshipsRequestValidationError) Cause ¶
func (e WriteRelationshipsRequestValidationError) Cause() error
Cause function returns cause value.
func (WriteRelationshipsRequestValidationError) Error ¶
func (e WriteRelationshipsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WriteRelationshipsRequestValidationError) ErrorName ¶
func (e WriteRelationshipsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WriteRelationshipsRequestValidationError) Field ¶
func (e WriteRelationshipsRequestValidationError) Field() string
Field function returns field value.
func (WriteRelationshipsRequestValidationError) Key ¶
func (e WriteRelationshipsRequestValidationError) Key() bool
Key function returns key value.
func (WriteRelationshipsRequestValidationError) Reason ¶
func (e WriteRelationshipsRequestValidationError) Reason() string
Reason function returns reason value.
type WriteRelationshipsResponse ¶
type WriteRelationshipsResponse struct { WrittenAt *ZedToken `protobuf:"bytes,1,opt,name=written_at,json=writtenAt,proto3" json:"written_at,omitempty"` // contains filtered or unexported fields }
func (*WriteRelationshipsResponse) CloneMessageVT ¶ added in v0.9.0
func (m *WriteRelationshipsResponse) CloneMessageVT() proto.Message
func (*WriteRelationshipsResponse) CloneVT ¶ added in v0.8.0
func (m *WriteRelationshipsResponse) CloneVT() *WriteRelationshipsResponse
func (*WriteRelationshipsResponse) Descriptor
deprecated
func (*WriteRelationshipsResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteRelationshipsResponse.ProtoReflect.Descriptor instead.
func (*WriteRelationshipsResponse) EqualMessageVT ¶ added in v0.11.0
func (this *WriteRelationshipsResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*WriteRelationshipsResponse) EqualVT ¶ added in v0.11.0
func (this *WriteRelationshipsResponse) EqualVT(that *WriteRelationshipsResponse) bool
func (*WriteRelationshipsResponse) GetWrittenAt ¶
func (x *WriteRelationshipsResponse) GetWrittenAt() *ZedToken
func (*WriteRelationshipsResponse) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *WriteRelationshipsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WriteRelationshipsResponse) MarshalToVT ¶ added in v0.8.0
func (m *WriteRelationshipsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*WriteRelationshipsResponse) MarshalVT ¶ added in v0.8.0
func (m *WriteRelationshipsResponse) MarshalVT() (dAtA []byte, err error)
func (*WriteRelationshipsResponse) ProtoMessage ¶
func (*WriteRelationshipsResponse) ProtoMessage()
func (*WriteRelationshipsResponse) ProtoReflect ¶
func (x *WriteRelationshipsResponse) ProtoReflect() protoreflect.Message
func (*WriteRelationshipsResponse) Reset ¶
func (x *WriteRelationshipsResponse) Reset()
func (*WriteRelationshipsResponse) SizeVT ¶ added in v0.8.0
func (m *WriteRelationshipsResponse) SizeVT() (n int)
func (*WriteRelationshipsResponse) String ¶
func (x *WriteRelationshipsResponse) String() string
func (*WriteRelationshipsResponse) UnmarshalVT ¶ added in v0.8.0
func (m *WriteRelationshipsResponse) UnmarshalVT(dAtA []byte) error
func (*WriteRelationshipsResponse) Validate ¶
func (m *WriteRelationshipsResponse) Validate() error
Validate checks the field values on WriteRelationshipsResponse 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 (*WriteRelationshipsResponse) ValidateAll ¶ added in v0.6.0
func (m *WriteRelationshipsResponse) ValidateAll() error
ValidateAll checks the field values on WriteRelationshipsResponse 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 WriteRelationshipsResponseMultiError, or nil if none found.
type WriteRelationshipsResponseMultiError ¶ added in v0.6.0
type WriteRelationshipsResponseMultiError []error
WriteRelationshipsResponseMultiError is an error wrapping multiple validation errors returned by WriteRelationshipsResponse.ValidateAll() if the designated constraints aren't met.
func (WriteRelationshipsResponseMultiError) AllErrors ¶ added in v0.6.0
func (m WriteRelationshipsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WriteRelationshipsResponseMultiError) Error ¶ added in v0.6.0
func (m WriteRelationshipsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WriteRelationshipsResponseValidationError ¶
type WriteRelationshipsResponseValidationError struct {
// contains filtered or unexported fields
}
WriteRelationshipsResponseValidationError is the validation error returned by WriteRelationshipsResponse.Validate if the designated constraints aren't met.
func (WriteRelationshipsResponseValidationError) Cause ¶
func (e WriteRelationshipsResponseValidationError) Cause() error
Cause function returns cause value.
func (WriteRelationshipsResponseValidationError) Error ¶
func (e WriteRelationshipsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WriteRelationshipsResponseValidationError) ErrorName ¶
func (e WriteRelationshipsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WriteRelationshipsResponseValidationError) Field ¶
func (e WriteRelationshipsResponseValidationError) Field() string
Field function returns field value.
func (WriteRelationshipsResponseValidationError) Key ¶
func (e WriteRelationshipsResponseValidationError) Key() bool
Key function returns key value.
func (WriteRelationshipsResponseValidationError) Reason ¶
func (e WriteRelationshipsResponseValidationError) Reason() string
Reason function returns reason value.
type WriteSchemaRequest ¶
type WriteSchemaRequest struct { // The Schema containing one or more Object Definitions that will be written // to the Permissions System. Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` // 4MiB // contains filtered or unexported fields }
WriteSchemaRequest is the required data used to "upsert" the Schema of a Permissions System.
func (*WriteSchemaRequest) CloneMessageVT ¶ added in v0.9.0
func (m *WriteSchemaRequest) CloneMessageVT() proto.Message
func (*WriteSchemaRequest) CloneVT ¶ added in v0.8.0
func (m *WriteSchemaRequest) CloneVT() *WriteSchemaRequest
func (*WriteSchemaRequest) Descriptor
deprecated
func (*WriteSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteSchemaRequest.ProtoReflect.Descriptor instead.
func (*WriteSchemaRequest) EqualMessageVT ¶ added in v0.11.0
func (this *WriteSchemaRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*WriteSchemaRequest) EqualVT ¶ added in v0.11.0
func (this *WriteSchemaRequest) EqualVT(that *WriteSchemaRequest) bool
func (*WriteSchemaRequest) GetSchema ¶
func (x *WriteSchemaRequest) GetSchema() string
func (*WriteSchemaRequest) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *WriteSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WriteSchemaRequest) MarshalToVT ¶ added in v0.8.0
func (m *WriteSchemaRequest) MarshalToVT(dAtA []byte) (int, error)
func (*WriteSchemaRequest) MarshalVT ¶ added in v0.8.0
func (m *WriteSchemaRequest) MarshalVT() (dAtA []byte, err error)
func (*WriteSchemaRequest) ProtoMessage ¶
func (*WriteSchemaRequest) ProtoMessage()
func (*WriteSchemaRequest) ProtoReflect ¶
func (x *WriteSchemaRequest) ProtoReflect() protoreflect.Message
func (*WriteSchemaRequest) Reset ¶
func (x *WriteSchemaRequest) Reset()
func (*WriteSchemaRequest) SizeVT ¶ added in v0.8.0
func (m *WriteSchemaRequest) SizeVT() (n int)
func (*WriteSchemaRequest) String ¶
func (x *WriteSchemaRequest) String() string
func (*WriteSchemaRequest) UnmarshalVT ¶ added in v0.8.0
func (m *WriteSchemaRequest) UnmarshalVT(dAtA []byte) error
func (*WriteSchemaRequest) Validate ¶
func (m *WriteSchemaRequest) Validate() error
Validate checks the field values on WriteSchemaRequest 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 (*WriteSchemaRequest) ValidateAll ¶ added in v0.6.0
func (m *WriteSchemaRequest) ValidateAll() error
ValidateAll checks the field values on WriteSchemaRequest 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 WriteSchemaRequestMultiError, or nil if none found.
type WriteSchemaRequestMultiError ¶ added in v0.6.0
type WriteSchemaRequestMultiError []error
WriteSchemaRequestMultiError is an error wrapping multiple validation errors returned by WriteSchemaRequest.ValidateAll() if the designated constraints aren't met.
func (WriteSchemaRequestMultiError) AllErrors ¶ added in v0.6.0
func (m WriteSchemaRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WriteSchemaRequestMultiError) Error ¶ added in v0.6.0
func (m WriteSchemaRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WriteSchemaRequestValidationError ¶
type WriteSchemaRequestValidationError struct {
// contains filtered or unexported fields
}
WriteSchemaRequestValidationError is the validation error returned by WriteSchemaRequest.Validate if the designated constraints aren't met.
func (WriteSchemaRequestValidationError) Cause ¶
func (e WriteSchemaRequestValidationError) Cause() error
Cause function returns cause value.
func (WriteSchemaRequestValidationError) Error ¶
func (e WriteSchemaRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WriteSchemaRequestValidationError) ErrorName ¶
func (e WriteSchemaRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WriteSchemaRequestValidationError) Field ¶
func (e WriteSchemaRequestValidationError) Field() string
Field function returns field value.
func (WriteSchemaRequestValidationError) Key ¶
func (e WriteSchemaRequestValidationError) Key() bool
Key function returns key value.
func (WriteSchemaRequestValidationError) Reason ¶
func (e WriteSchemaRequestValidationError) Reason() string
Reason function returns reason value.
type WriteSchemaResponse ¶
type WriteSchemaResponse struct { // written_at is the ZedToken at which the schema was written. WrittenAt *ZedToken `protobuf:"bytes,1,opt,name=written_at,json=writtenAt,proto3" json:"written_at,omitempty"` // contains filtered or unexported fields }
WriteSchemaResponse is the resulting data after having written a Schema to a Permissions System.
func (*WriteSchemaResponse) CloneMessageVT ¶ added in v0.9.0
func (m *WriteSchemaResponse) CloneMessageVT() proto.Message
func (*WriteSchemaResponse) CloneVT ¶ added in v0.8.0
func (m *WriteSchemaResponse) CloneVT() *WriteSchemaResponse
func (*WriteSchemaResponse) Descriptor
deprecated
func (*WriteSchemaResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteSchemaResponse.ProtoReflect.Descriptor instead.
func (*WriteSchemaResponse) EqualMessageVT ¶ added in v0.11.0
func (this *WriteSchemaResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*WriteSchemaResponse) EqualVT ¶ added in v0.11.0
func (this *WriteSchemaResponse) EqualVT(that *WriteSchemaResponse) bool
func (*WriteSchemaResponse) GetWrittenAt ¶ added in v0.9.0
func (x *WriteSchemaResponse) GetWrittenAt() *ZedToken
func (*WriteSchemaResponse) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *WriteSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WriteSchemaResponse) MarshalToVT ¶ added in v0.8.0
func (m *WriteSchemaResponse) MarshalToVT(dAtA []byte) (int, error)
func (*WriteSchemaResponse) MarshalVT ¶ added in v0.8.0
func (m *WriteSchemaResponse) MarshalVT() (dAtA []byte, err error)
func (*WriteSchemaResponse) ProtoMessage ¶
func (*WriteSchemaResponse) ProtoMessage()
func (*WriteSchemaResponse) ProtoReflect ¶
func (x *WriteSchemaResponse) ProtoReflect() protoreflect.Message
func (*WriteSchemaResponse) Reset ¶
func (x *WriteSchemaResponse) Reset()
func (*WriteSchemaResponse) SizeVT ¶ added in v0.8.0
func (m *WriteSchemaResponse) SizeVT() (n int)
func (*WriteSchemaResponse) String ¶
func (x *WriteSchemaResponse) String() string
func (*WriteSchemaResponse) UnmarshalVT ¶ added in v0.8.0
func (m *WriteSchemaResponse) UnmarshalVT(dAtA []byte) error
func (*WriteSchemaResponse) Validate ¶
func (m *WriteSchemaResponse) Validate() error
Validate checks the field values on WriteSchemaResponse 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 (*WriteSchemaResponse) ValidateAll ¶ added in v0.6.0
func (m *WriteSchemaResponse) ValidateAll() error
ValidateAll checks the field values on WriteSchemaResponse 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 WriteSchemaResponseMultiError, or nil if none found.
type WriteSchemaResponseMultiError ¶ added in v0.6.0
type WriteSchemaResponseMultiError []error
WriteSchemaResponseMultiError is an error wrapping multiple validation errors returned by WriteSchemaResponse.ValidateAll() if the designated constraints aren't met.
func (WriteSchemaResponseMultiError) AllErrors ¶ added in v0.6.0
func (m WriteSchemaResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WriteSchemaResponseMultiError) Error ¶ added in v0.6.0
func (m WriteSchemaResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WriteSchemaResponseValidationError ¶
type WriteSchemaResponseValidationError struct {
// contains filtered or unexported fields
}
WriteSchemaResponseValidationError is the validation error returned by WriteSchemaResponse.Validate if the designated constraints aren't met.
func (WriteSchemaResponseValidationError) Cause ¶
func (e WriteSchemaResponseValidationError) Cause() error
Cause function returns cause value.
func (WriteSchemaResponseValidationError) Error ¶
func (e WriteSchemaResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WriteSchemaResponseValidationError) ErrorName ¶
func (e WriteSchemaResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WriteSchemaResponseValidationError) Field ¶
func (e WriteSchemaResponseValidationError) Field() string
Field function returns field value.
func (WriteSchemaResponseValidationError) Key ¶
func (e WriteSchemaResponseValidationError) Key() bool
Key function returns key value.
func (WriteSchemaResponseValidationError) Reason ¶
func (e WriteSchemaResponseValidationError) Reason() string
Reason function returns reason value.
type ZedToken ¶
type ZedToken struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
ZedToken is used to provide causality metadata between Write and Check requests.
See the authzed.api.v1.Consistency message for more information.
func (*ZedToken) CloneMessageVT ¶ added in v0.9.0
func (*ZedToken) Descriptor
deprecated
func (*ZedToken) EqualMessageVT ¶ added in v0.11.0
func (*ZedToken) MarshalToSizedBufferVT ¶ added in v0.8.0
func (*ZedToken) MarshalToVT ¶ added in v0.8.0
func (*ZedToken) ProtoMessage ¶
func (*ZedToken) ProtoMessage()
func (*ZedToken) ProtoReflect ¶
func (x *ZedToken) ProtoReflect() protoreflect.Message
func (*ZedToken) UnmarshalVT ¶ added in v0.8.0
func (*ZedToken) Validate ¶
Validate checks the field values on ZedToken with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ZedToken) ValidateAll ¶ added in v0.6.0
ValidateAll checks the field values on ZedToken with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ZedTokenMultiError, or nil if none found.
type ZedTokenMultiError ¶ added in v0.6.0
type ZedTokenMultiError []error
ZedTokenMultiError is an error wrapping multiple validation errors returned by ZedToken.ValidateAll() if the designated constraints aren't met.
func (ZedTokenMultiError) AllErrors ¶ added in v0.6.0
func (m ZedTokenMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ZedTokenMultiError) Error ¶ added in v0.6.0
func (m ZedTokenMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ZedTokenValidationError ¶
type ZedTokenValidationError struct {
// contains filtered or unexported fields
}
ZedTokenValidationError is the validation error returned by ZedToken.Validate if the designated constraints aren't met.
func (ZedTokenValidationError) Cause ¶
func (e ZedTokenValidationError) Cause() error
Cause function returns cause value.
func (ZedTokenValidationError) Error ¶
func (e ZedTokenValidationError) Error() string
Error satisfies the builtin error interface
func (ZedTokenValidationError) ErrorName ¶
func (e ZedTokenValidationError) ErrorName() string
ErrorName returns error name.
func (ZedTokenValidationError) Field ¶
func (e ZedTokenValidationError) Field() string
Field function returns field value.
func (ZedTokenValidationError) Key ¶
func (e ZedTokenValidationError) Key() bool
Key function returns key value.
func (ZedTokenValidationError) Reason ¶
func (e ZedTokenValidationError) Reason() string
Reason function returns reason value.
Source Files ¶
- 00_handwritten_validation.go
- core.pb.go
- core.pb.validate.go
- core_vtproto.pb.go
- debug.pb.go
- debug.pb.validate.go
- debug_vtproto.pb.go
- error_reason.pb.go
- error_reason.pb.validate.go
- experimental_service.pb.go
- experimental_service.pb.gw.go
- experimental_service.pb.validate.go
- experimental_service_grpc.pb.go
- experimental_service_vtproto.pb.go
- openapi.pb.go
- openapi.pb.validate.go
- permission_service.pb.go
- permission_service.pb.gw.go
- permission_service.pb.validate.go
- permission_service_grpc.pb.go
- permission_service_vtproto.pb.go
- schema_service.pb.go
- schema_service.pb.gw.go
- schema_service.pb.validate.go
- schema_service_grpc.pb.go
- schema_service_vtproto.pb.go
- watch_service.pb.go
- watch_service.pb.gw.go
- watch_service.pb.validate.go
- watch_service_grpc.pb.go
- watch_service_vtproto.pb.go
- zz_generated.version.go