Documentation ¶
Index ¶
- Variables
- func RegisterACLServiceServer(s grpc.ServiceRegistrar, srv ACLServiceServer)
- func RegisterDeveloperServiceServer(s grpc.ServiceRegistrar, srv DeveloperServiceServer)
- func RegisterLegacyACLServiceServer(s grpc.ServiceRegistrar, srv ACLServiceServer)
- func RegisterLegacyNamespaceServiceServer(s grpc.ServiceRegistrar, srv NamespaceServiceServer)
- func RegisterNamespaceServiceServer(s grpc.ServiceRegistrar, srv NamespaceServiceServer)
- func RegisterWatchServiceServer(s grpc.ServiceRegistrar, srv WatchServiceServer)
- type ACLServiceClient
- type ACLServiceServer
- type AllowedRelation
- func (*AllowedRelation) Descriptor() ([]byte, []int)deprecated
- func (x *AllowedRelation) GetNamespace() string
- func (x *AllowedRelation) GetPublicWildcard() *AllowedRelation_PublicWildcard
- func (x *AllowedRelation) GetRelation() string
- func (m *AllowedRelation) GetRelationOrWildcard() isAllowedRelation_RelationOrWildcard
- func (*AllowedRelation) ProtoMessage()
- func (x *AllowedRelation) ProtoReflect() protoreflect.Message
- func (x *AllowedRelation) Reset()
- func (x *AllowedRelation) String() string
- func (m *AllowedRelation) Validate() error
- type AllowedRelationValidationError
- func (e AllowedRelationValidationError) Cause() error
- func (e AllowedRelationValidationError) Error() string
- func (e AllowedRelationValidationError) ErrorName() string
- func (e AllowedRelationValidationError) Field() string
- func (e AllowedRelationValidationError) Key() bool
- func (e AllowedRelationValidationError) Reason() string
- type AllowedRelation_PublicWildcard
- func (*AllowedRelation_PublicWildcard) Descriptor() ([]byte, []int)deprecated
- func (*AllowedRelation_PublicWildcard) ProtoMessage()
- func (x *AllowedRelation_PublicWildcard) ProtoReflect() protoreflect.Message
- func (x *AllowedRelation_PublicWildcard) Reset()
- func (x *AllowedRelation_PublicWildcard) String() string
- func (m *AllowedRelation_PublicWildcard) Validate() error
- type AllowedRelation_PublicWildcardValidationError
- func (e AllowedRelation_PublicWildcardValidationError) Cause() error
- func (e AllowedRelation_PublicWildcardValidationError) Error() string
- func (e AllowedRelation_PublicWildcardValidationError) ErrorName() string
- func (e AllowedRelation_PublicWildcardValidationError) Field() string
- func (e AllowedRelation_PublicWildcardValidationError) Key() bool
- func (e AllowedRelation_PublicWildcardValidationError) Reason() string
- type AllowedRelation_PublicWildcard_
- type AllowedRelation_Relation
- type CheckRequest
- func (*CheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckRequest) GetAtRevision() *Zookie
- func (x *CheckRequest) GetTestUserset() *ObjectAndRelation
- func (x *CheckRequest) GetUser() *User
- func (m *CheckRequest) HandwrittenValidate() error
- func (*CheckRequest) ProtoMessage()
- func (x *CheckRequest) ProtoReflect() protoreflect.Message
- func (x *CheckRequest) Reset()
- func (x *CheckRequest) String() string
- func (m *CheckRequest) Validate() error
- type CheckRequestValidationError
- func (e CheckRequestValidationError) Cause() error
- func (e CheckRequestValidationError) Error() string
- func (e CheckRequestValidationError) ErrorName() string
- func (e CheckRequestValidationError) Field() string
- func (e CheckRequestValidationError) Key() bool
- func (e CheckRequestValidationError) Reason() string
- type CheckResponse
- func (*CheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckResponse) GetIsMember() bool
- func (x *CheckResponse) GetMembership() CheckResponse_Membership
- func (x *CheckResponse) GetRevision() *Zookie
- func (*CheckResponse) ProtoMessage()
- func (x *CheckResponse) ProtoReflect() protoreflect.Message
- func (x *CheckResponse) Reset()
- func (x *CheckResponse) String() string
- func (m *CheckResponse) Validate() error
- type CheckResponseValidationError
- func (e CheckResponseValidationError) Cause() error
- func (e CheckResponseValidationError) Error() string
- func (e CheckResponseValidationError) ErrorName() string
- func (e CheckResponseValidationError) Field() string
- func (e CheckResponseValidationError) Key() bool
- func (e CheckResponseValidationError) Reason() string
- type CheckResponse_Membership
- func (CheckResponse_Membership) Descriptor() protoreflect.EnumDescriptor
- func (x CheckResponse_Membership) Enum() *CheckResponse_Membership
- func (CheckResponse_Membership) EnumDescriptor() ([]byte, []int)deprecated
- func (x CheckResponse_Membership) Number() protoreflect.EnumNumber
- func (x CheckResponse_Membership) String() string
- func (CheckResponse_Membership) Type() protoreflect.EnumType
- type ComputedUserset
- func (*ComputedUserset) Descriptor() ([]byte, []int)deprecated
- func (x *ComputedUserset) GetObject() ComputedUserset_Object
- func (x *ComputedUserset) GetRelation() string
- func (*ComputedUserset) ProtoMessage()
- func (x *ComputedUserset) ProtoReflect() protoreflect.Message
- func (x *ComputedUserset) Reset()
- func (x *ComputedUserset) String() string
- func (m *ComputedUserset) Validate() error
- type ComputedUsersetValidationError
- func (e ComputedUsersetValidationError) Cause() error
- func (e ComputedUsersetValidationError) Error() string
- func (e ComputedUsersetValidationError) ErrorName() string
- func (e ComputedUsersetValidationError) Field() string
- func (e ComputedUsersetValidationError) Key() bool
- func (e ComputedUsersetValidationError) Reason() string
- type ComputedUserset_Object
- func (ComputedUserset_Object) Descriptor() protoreflect.EnumDescriptor
- func (x ComputedUserset_Object) Enum() *ComputedUserset_Object
- func (ComputedUserset_Object) EnumDescriptor() ([]byte, []int)deprecated
- func (x ComputedUserset_Object) Number() protoreflect.EnumNumber
- func (x ComputedUserset_Object) String() string
- func (ComputedUserset_Object) Type() protoreflect.EnumType
- type ContentChangeCheckRequest
- func (*ContentChangeCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContentChangeCheckRequest) GetTestUserset() *ObjectAndRelation
- func (x *ContentChangeCheckRequest) GetUser() *User
- func (m *ContentChangeCheckRequest) HandwrittenValidate() error
- func (*ContentChangeCheckRequest) ProtoMessage()
- func (x *ContentChangeCheckRequest) ProtoReflect() protoreflect.Message
- func (x *ContentChangeCheckRequest) Reset()
- func (x *ContentChangeCheckRequest) String() string
- func (m *ContentChangeCheckRequest) Validate() error
- type ContentChangeCheckRequestValidationError
- func (e ContentChangeCheckRequestValidationError) Cause() error
- func (e ContentChangeCheckRequestValidationError) Error() string
- func (e ContentChangeCheckRequestValidationError) ErrorName() string
- func (e ContentChangeCheckRequestValidationError) Field() string
- func (e ContentChangeCheckRequestValidationError) Key() bool
- func (e ContentChangeCheckRequestValidationError) Reason() string
- type DeleteConfigsRequest
- func (*DeleteConfigsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteConfigsRequest) GetNamespaces() []string
- func (*DeleteConfigsRequest) ProtoMessage()
- func (x *DeleteConfigsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteConfigsRequest) Reset()
- func (x *DeleteConfigsRequest) String() string
- func (m *DeleteConfigsRequest) Validate() error
- type DeleteConfigsRequestValidationError
- func (e DeleteConfigsRequestValidationError) Cause() error
- func (e DeleteConfigsRequestValidationError) Error() string
- func (e DeleteConfigsRequestValidationError) ErrorName() string
- func (e DeleteConfigsRequestValidationError) Field() string
- func (e DeleteConfigsRequestValidationError) Key() bool
- func (e DeleteConfigsRequestValidationError) Reason() string
- type DeleteConfigsResponse
- func (*DeleteConfigsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteConfigsResponse) GetRevision() *Zookie
- func (*DeleteConfigsResponse) ProtoMessage()
- func (x *DeleteConfigsResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteConfigsResponse) Reset()
- func (x *DeleteConfigsResponse) String() string
- func (m *DeleteConfigsResponse) Validate() error
- type DeleteConfigsResponseValidationError
- func (e DeleteConfigsResponseValidationError) Cause() error
- func (e DeleteConfigsResponseValidationError) Error() string
- func (e DeleteConfigsResponseValidationError) ErrorName() string
- func (e DeleteConfigsResponseValidationError) Field() string
- func (e DeleteConfigsResponseValidationError) Key() bool
- func (e DeleteConfigsResponseValidationError) Reason() string
- type DeveloperError
- func (*DeveloperError) Descriptor() ([]byte, []int)deprecated
- func (x *DeveloperError) GetColumn() uint32
- func (x *DeveloperError) GetContext() string
- func (x *DeveloperError) GetKind() DeveloperError_ErrorKind
- func (x *DeveloperError) GetLine() uint32
- func (x *DeveloperError) GetMessage() string
- func (x *DeveloperError) GetPath() []string
- func (x *DeveloperError) GetSource() DeveloperError_Source
- func (*DeveloperError) ProtoMessage()
- func (x *DeveloperError) ProtoReflect() protoreflect.Message
- func (x *DeveloperError) Reset()
- func (x *DeveloperError) String() string
- func (m *DeveloperError) Validate() error
- type DeveloperErrorValidationError
- func (e DeveloperErrorValidationError) Cause() error
- func (e DeveloperErrorValidationError) Error() string
- func (e DeveloperErrorValidationError) ErrorName() string
- func (e DeveloperErrorValidationError) Field() string
- func (e DeveloperErrorValidationError) Key() bool
- func (e DeveloperErrorValidationError) Reason() string
- type DeveloperError_ErrorKind
- func (DeveloperError_ErrorKind) Descriptor() protoreflect.EnumDescriptor
- func (x DeveloperError_ErrorKind) Enum() *DeveloperError_ErrorKind
- func (DeveloperError_ErrorKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeveloperError_ErrorKind) Number() protoreflect.EnumNumber
- func (x DeveloperError_ErrorKind) String() string
- func (DeveloperError_ErrorKind) Type() protoreflect.EnumType
- type DeveloperError_Source
- func (DeveloperError_Source) Descriptor() protoreflect.EnumDescriptor
- func (x DeveloperError_Source) Enum() *DeveloperError_Source
- func (DeveloperError_Source) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeveloperError_Source) Number() protoreflect.EnumNumber
- func (x DeveloperError_Source) String() string
- func (DeveloperError_Source) Type() protoreflect.EnumType
- type DeveloperServiceClient
- type DeveloperServiceServer
- type DirectUserset
- func (*DirectUserset) Descriptor() ([]byte, []int)deprecated
- func (x *DirectUserset) GetUsers() []*User
- func (*DirectUserset) ProtoMessage()
- func (x *DirectUserset) ProtoReflect() protoreflect.Message
- func (x *DirectUserset) Reset()
- func (x *DirectUserset) String() string
- func (m *DirectUserset) Validate() error
- type DirectUsersetValidationError
- func (e DirectUsersetValidationError) Cause() error
- func (e DirectUsersetValidationError) Error() string
- func (e DirectUsersetValidationError) ErrorName() string
- func (e DirectUsersetValidationError) Field() string
- func (e DirectUsersetValidationError) Key() bool
- func (e DirectUsersetValidationError) Reason() string
- type EditCheckRequest
- func (*EditCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditCheckRequest) GetCheckRelationships() []*RelationTuple
- func (x *EditCheckRequest) GetContext() *RequestContext
- func (*EditCheckRequest) ProtoMessage()
- func (x *EditCheckRequest) ProtoReflect() protoreflect.Message
- func (x *EditCheckRequest) Reset()
- func (x *EditCheckRequest) String() string
- func (m *EditCheckRequest) Validate() error
- type EditCheckRequestValidationError
- func (e EditCheckRequestValidationError) Cause() error
- func (e EditCheckRequestValidationError) Error() string
- func (e EditCheckRequestValidationError) ErrorName() string
- func (e EditCheckRequestValidationError) Field() string
- func (e EditCheckRequestValidationError) Key() bool
- func (e EditCheckRequestValidationError) Reason() string
- type EditCheckResponse
- func (*EditCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EditCheckResponse) GetCheckResults() []*EditCheckResult
- func (x *EditCheckResponse) GetRequestErrors() []*DeveloperError
- func (*EditCheckResponse) ProtoMessage()
- func (x *EditCheckResponse) ProtoReflect() protoreflect.Message
- func (x *EditCheckResponse) Reset()
- func (x *EditCheckResponse) String() string
- func (m *EditCheckResponse) Validate() error
- type EditCheckResponseValidationError
- func (e EditCheckResponseValidationError) Cause() error
- func (e EditCheckResponseValidationError) Error() string
- func (e EditCheckResponseValidationError) ErrorName() string
- func (e EditCheckResponseValidationError) Field() string
- func (e EditCheckResponseValidationError) Key() bool
- func (e EditCheckResponseValidationError) Reason() string
- type EditCheckResult
- func (*EditCheckResult) Descriptor() ([]byte, []int)deprecated
- func (x *EditCheckResult) GetError() *DeveloperError
- func (x *EditCheckResult) GetIsMember() bool
- func (x *EditCheckResult) GetRelationship() *RelationTuple
- func (*EditCheckResult) ProtoMessage()
- func (x *EditCheckResult) ProtoReflect() protoreflect.Message
- func (x *EditCheckResult) Reset()
- func (x *EditCheckResult) String() string
- func (m *EditCheckResult) Validate() error
- type EditCheckResultValidationError
- func (e EditCheckResultValidationError) Cause() error
- func (e EditCheckResultValidationError) Error() string
- func (e EditCheckResultValidationError) ErrorName() string
- func (e EditCheckResultValidationError) Field() string
- func (e EditCheckResultValidationError) Key() bool
- func (e EditCheckResultValidationError) Reason() string
- type ExpandRequest
- func (*ExpandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExpandRequest) GetAtRevision() *Zookie
- func (x *ExpandRequest) GetUserset() *ObjectAndRelation
- func (m *ExpandRequest) HandwrittenValidate() error
- func (*ExpandRequest) ProtoMessage()
- func (x *ExpandRequest) ProtoReflect() protoreflect.Message
- func (x *ExpandRequest) Reset()
- func (x *ExpandRequest) String() string
- func (m *ExpandRequest) Validate() error
- type ExpandRequestValidationError
- func (e ExpandRequestValidationError) Cause() error
- func (e ExpandRequestValidationError) Error() string
- func (e ExpandRequestValidationError) ErrorName() string
- func (e ExpandRequestValidationError) Field() string
- func (e ExpandRequestValidationError) Key() bool
- func (e ExpandRequestValidationError) Reason() string
- type ExpandResponse
- func (*ExpandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExpandResponse) GetRevision() *Zookie
- func (x *ExpandResponse) GetTreeNode() *RelationTupleTreeNode
- func (*ExpandResponse) ProtoMessage()
- func (x *ExpandResponse) ProtoReflect() protoreflect.Message
- func (x *ExpandResponse) Reset()
- func (x *ExpandResponse) String() string
- func (m *ExpandResponse) Validate() error
- type ExpandResponseValidationError
- func (e ExpandResponseValidationError) Cause() error
- func (e ExpandResponseValidationError) Error() string
- func (e ExpandResponseValidationError) ErrorName() string
- func (e ExpandResponseValidationError) Field() string
- func (e ExpandResponseValidationError) Key() bool
- func (e ExpandResponseValidationError) Reason() string
- type FormatSchemaRequest
- func (*FormatSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FormatSchemaRequest) GetSchema() string
- func (*FormatSchemaRequest) ProtoMessage()
- func (x *FormatSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *FormatSchemaRequest) Reset()
- func (x *FormatSchemaRequest) String() string
- func (m *FormatSchemaRequest) Validate() error
- type FormatSchemaRequestValidationError
- func (e FormatSchemaRequestValidationError) Cause() error
- func (e FormatSchemaRequestValidationError) Error() string
- func (e FormatSchemaRequestValidationError) ErrorName() string
- func (e FormatSchemaRequestValidationError) Field() string
- func (e FormatSchemaRequestValidationError) Key() bool
- func (e FormatSchemaRequestValidationError) Reason() string
- type FormatSchemaResponse
- func (*FormatSchemaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FormatSchemaResponse) GetError() *DeveloperError
- func (x *FormatSchemaResponse) GetFormattedSchema() string
- func (*FormatSchemaResponse) ProtoMessage()
- func (x *FormatSchemaResponse) ProtoReflect() protoreflect.Message
- func (x *FormatSchemaResponse) Reset()
- func (x *FormatSchemaResponse) String() string
- func (m *FormatSchemaResponse) Validate() error
- type FormatSchemaResponseValidationError
- func (e FormatSchemaResponseValidationError) Cause() error
- func (e FormatSchemaResponseValidationError) Error() string
- func (e FormatSchemaResponseValidationError) ErrorName() string
- func (e FormatSchemaResponseValidationError) Field() string
- func (e FormatSchemaResponseValidationError) Key() bool
- func (e FormatSchemaResponseValidationError) Reason() string
- type LookupRequest
- func (*LookupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LookupRequest) GetAtRevision() *Zookie
- func (x *LookupRequest) GetLimit() uint32
- func (x *LookupRequest) GetObjectRelation() *RelationReference
- func (x *LookupRequest) GetPageReference() string
- func (x *LookupRequest) GetUser() *ObjectAndRelation
- func (m *LookupRequest) HandwrittenValidate() error
- func (*LookupRequest) ProtoMessage()
- func (x *LookupRequest) ProtoReflect() protoreflect.Message
- func (x *LookupRequest) Reset()
- func (x *LookupRequest) String() string
- func (m *LookupRequest) Validate() error
- type LookupRequestValidationError
- func (e LookupRequestValidationError) Cause() error
- func (e LookupRequestValidationError) Error() string
- func (e LookupRequestValidationError) ErrorName() string
- func (e LookupRequestValidationError) Field() string
- func (e LookupRequestValidationError) Key() bool
- func (e LookupRequestValidationError) Reason() string
- type LookupResponse
- func (*LookupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LookupResponse) GetNextPageReference() string
- func (x *LookupResponse) GetResolvedObjectIds() []string
- func (x *LookupResponse) GetRevision() *Zookie
- func (*LookupResponse) ProtoMessage()
- func (x *LookupResponse) ProtoReflect() protoreflect.Message
- func (x *LookupResponse) Reset()
- func (x *LookupResponse) String() string
- func (m *LookupResponse) Validate() error
- type LookupResponseValidationError
- func (e LookupResponseValidationError) Cause() error
- func (e LookupResponseValidationError) Error() string
- func (e LookupResponseValidationError) ErrorName() string
- func (e LookupResponseValidationError) Field() string
- func (e LookupResponseValidationError) Key() bool
- func (e LookupResponseValidationError) Reason() string
- type LookupShareRequest
- func (*LookupShareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LookupShareRequest) GetShareReference() string
- func (*LookupShareRequest) ProtoMessage()
- func (x *LookupShareRequest) ProtoReflect() protoreflect.Message
- func (x *LookupShareRequest) Reset()
- func (x *LookupShareRequest) String() string
- func (m *LookupShareRequest) Validate() error
- type LookupShareRequestValidationError
- func (e LookupShareRequestValidationError) Cause() error
- func (e LookupShareRequestValidationError) Error() string
- func (e LookupShareRequestValidationError) ErrorName() string
- func (e LookupShareRequestValidationError) Field() string
- func (e LookupShareRequestValidationError) Key() bool
- func (e LookupShareRequestValidationError) Reason() string
- type LookupShareResponse
- func (*LookupShareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LookupShareResponse) GetAssertionsYaml() string
- func (x *LookupShareResponse) GetRelationshipsYaml() string
- func (x *LookupShareResponse) GetSchema() string
- func (x *LookupShareResponse) GetStatus() LookupShareResponse_LookupStatus
- func (x *LookupShareResponse) GetValidationYaml() string
- func (*LookupShareResponse) ProtoMessage()
- func (x *LookupShareResponse) ProtoReflect() protoreflect.Message
- func (x *LookupShareResponse) Reset()
- func (x *LookupShareResponse) String() string
- func (m *LookupShareResponse) Validate() error
- type LookupShareResponseValidationError
- func (e LookupShareResponseValidationError) Cause() error
- func (e LookupShareResponseValidationError) Error() string
- func (e LookupShareResponseValidationError) ErrorName() string
- func (e LookupShareResponseValidationError) Field() string
- func (e LookupShareResponseValidationError) Key() bool
- func (e LookupShareResponseValidationError) Reason() string
- type LookupShareResponse_LookupStatus
- func (LookupShareResponse_LookupStatus) Descriptor() protoreflect.EnumDescriptor
- func (x LookupShareResponse_LookupStatus) Enum() *LookupShareResponse_LookupStatus
- func (LookupShareResponse_LookupStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x LookupShareResponse_LookupStatus) Number() protoreflect.EnumNumber
- func (x LookupShareResponse_LookupStatus) String() string
- func (LookupShareResponse_LookupStatus) Type() protoreflect.EnumType
- type Metadata
- type MetadataValidationError
- type NamespaceDefinition
- func (*NamespaceDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceDefinition) GetMetadata() *Metadata
- func (x *NamespaceDefinition) GetName() string
- func (x *NamespaceDefinition) GetRelation() []*Relation
- func (*NamespaceDefinition) ProtoMessage()
- func (x *NamespaceDefinition) ProtoReflect() protoreflect.Message
- func (x *NamespaceDefinition) Reset()
- func (x *NamespaceDefinition) String() string
- func (m *NamespaceDefinition) Validate() error
- type NamespaceDefinitionValidationError
- func (e NamespaceDefinitionValidationError) Cause() error
- func (e NamespaceDefinitionValidationError) Error() string
- func (e NamespaceDefinitionValidationError) ErrorName() string
- func (e NamespaceDefinitionValidationError) Field() string
- func (e NamespaceDefinitionValidationError) Key() bool
- func (e NamespaceDefinitionValidationError) Reason() string
- type NamespaceServiceClient
- type NamespaceServiceServer
- type ObjectAndRelation
- func (*ObjectAndRelation) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectAndRelation) GetNamespace() string
- func (x *ObjectAndRelation) GetObjectId() string
- func (x *ObjectAndRelation) GetRelation() string
- func (*ObjectAndRelation) ProtoMessage()
- func (x *ObjectAndRelation) ProtoReflect() protoreflect.Message
- func (x *ObjectAndRelation) Reset()
- func (x *ObjectAndRelation) String() string
- func (m *ObjectAndRelation) Validate() error
- type ObjectAndRelationValidationError
- func (e ObjectAndRelationValidationError) Cause() error
- func (e ObjectAndRelationValidationError) Error() string
- func (e ObjectAndRelationValidationError) ErrorName() string
- func (e ObjectAndRelationValidationError) Field() string
- func (e ObjectAndRelationValidationError) Key() bool
- func (e ObjectAndRelationValidationError) Reason() string
- type ReadConfigRequest
- func (*ReadConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadConfigRequest) GetAtRevision() *Zookie
- func (x *ReadConfigRequest) GetNamespace() string
- func (*ReadConfigRequest) ProtoMessage()
- func (x *ReadConfigRequest) ProtoReflect() protoreflect.Message
- func (x *ReadConfigRequest) Reset()
- func (x *ReadConfigRequest) String() string
- func (m *ReadConfigRequest) Validate() error
- type ReadConfigRequestValidationError
- func (e ReadConfigRequestValidationError) Cause() error
- func (e ReadConfigRequestValidationError) Error() string
- func (e ReadConfigRequestValidationError) ErrorName() string
- func (e ReadConfigRequestValidationError) Field() string
- func (e ReadConfigRequestValidationError) Key() bool
- func (e ReadConfigRequestValidationError) Reason() string
- type ReadConfigResponse
- func (*ReadConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadConfigResponse) GetConfig() *NamespaceDefinition
- func (x *ReadConfigResponse) GetNamespace() string
- func (x *ReadConfigResponse) GetRevision() *Zookie
- func (*ReadConfigResponse) ProtoMessage()
- func (x *ReadConfigResponse) ProtoReflect() protoreflect.Message
- func (x *ReadConfigResponse) Reset()
- func (x *ReadConfigResponse) String() string
- func (m *ReadConfigResponse) Validate() error
- type ReadConfigResponseValidationError
- func (e ReadConfigResponseValidationError) Cause() error
- func (e ReadConfigResponseValidationError) Error() string
- func (e ReadConfigResponseValidationError) ErrorName() string
- func (e ReadConfigResponseValidationError) Field() string
- func (e ReadConfigResponseValidationError) Key() bool
- func (e ReadConfigResponseValidationError) Reason() string
- type ReadRequest
- func (*ReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadRequest) GetAtRevision() *Zookie
- func (x *ReadRequest) GetTuplesets() []*RelationTupleFilter
- func (*ReadRequest) ProtoMessage()
- func (x *ReadRequest) ProtoReflect() protoreflect.Message
- func (x *ReadRequest) Reset()
- func (x *ReadRequest) String() string
- func (m *ReadRequest) Validate() error
- type ReadRequestValidationError
- func (e ReadRequestValidationError) Cause() error
- func (e ReadRequestValidationError) Error() string
- func (e ReadRequestValidationError) ErrorName() string
- func (e ReadRequestValidationError) Field() string
- func (e ReadRequestValidationError) Key() bool
- func (e ReadRequestValidationError) Reason() string
- type ReadResponse
- func (*ReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadResponse) GetRevision() *Zookie
- func (x *ReadResponse) GetTuplesets() []*ReadResponse_Tupleset
- func (*ReadResponse) ProtoMessage()
- func (x *ReadResponse) ProtoReflect() protoreflect.Message
- func (x *ReadResponse) Reset()
- func (x *ReadResponse) String() string
- func (m *ReadResponse) Validate() error
- type ReadResponseValidationError
- func (e ReadResponseValidationError) Cause() error
- func (e ReadResponseValidationError) Error() string
- func (e ReadResponseValidationError) ErrorName() string
- func (e ReadResponseValidationError) Field() string
- func (e ReadResponseValidationError) Key() bool
- func (e ReadResponseValidationError) Reason() string
- type ReadResponse_Tupleset
- func (*ReadResponse_Tupleset) Descriptor() ([]byte, []int)deprecated
- func (x *ReadResponse_Tupleset) GetTuples() []*RelationTuple
- func (*ReadResponse_Tupleset) ProtoMessage()
- func (x *ReadResponse_Tupleset) ProtoReflect() protoreflect.Message
- func (x *ReadResponse_Tupleset) Reset()
- func (x *ReadResponse_Tupleset) String() string
- func (m *ReadResponse_Tupleset) Validate() error
- type ReadResponse_TuplesetValidationError
- func (e ReadResponse_TuplesetValidationError) Cause() error
- func (e ReadResponse_TuplesetValidationError) Error() string
- func (e ReadResponse_TuplesetValidationError) ErrorName() string
- func (e ReadResponse_TuplesetValidationError) Field() string
- func (e ReadResponse_TuplesetValidationError) Key() bool
- func (e ReadResponse_TuplesetValidationError) Reason() string
- type Relation
- func (*Relation) Descriptor() ([]byte, []int)deprecated
- func (x *Relation) GetMetadata() *Metadata
- func (x *Relation) GetName() string
- func (x *Relation) GetTypeInformation() *TypeInformation
- func (x *Relation) GetUsersetRewrite() *UsersetRewrite
- func (*Relation) ProtoMessage()
- func (x *Relation) ProtoReflect() protoreflect.Message
- func (x *Relation) Reset()
- func (x *Relation) String() string
- func (m *Relation) Validate() error
- type RelationReference
- func (*RelationReference) Descriptor() ([]byte, []int)deprecated
- func (x *RelationReference) GetNamespace() string
- func (x *RelationReference) GetRelation() string
- func (*RelationReference) ProtoMessage()
- func (x *RelationReference) ProtoReflect() protoreflect.Message
- func (x *RelationReference) Reset()
- func (x *RelationReference) String() string
- func (m *RelationReference) Validate() error
- type RelationReferenceValidationError
- func (e RelationReferenceValidationError) Cause() error
- func (e RelationReferenceValidationError) Error() string
- func (e RelationReferenceValidationError) ErrorName() string
- func (e RelationReferenceValidationError) Field() string
- func (e RelationReferenceValidationError) Key() bool
- func (e RelationReferenceValidationError) Reason() string
- type RelationTuple
- func (*RelationTuple) Descriptor() ([]byte, []int)deprecated
- func (x *RelationTuple) GetObjectAndRelation() *ObjectAndRelation
- func (x *RelationTuple) GetUser() *User
- func (m *RelationTuple) HandwrittenValidate() error
- func (*RelationTuple) ProtoMessage()
- func (x *RelationTuple) ProtoReflect() protoreflect.Message
- func (x *RelationTuple) Reset()
- func (x *RelationTuple) String() string
- func (m *RelationTuple) Validate() error
- type RelationTupleFilter
- func (*RelationTupleFilter) Descriptor() ([]byte, []int)deprecated
- func (x *RelationTupleFilter) GetFilters() []RelationTupleFilter_Filter
- func (x *RelationTupleFilter) GetNamespace() string
- func (x *RelationTupleFilter) GetObjectId() string
- func (x *RelationTupleFilter) GetRelation() string
- func (x *RelationTupleFilter) GetUserset() *ObjectAndRelation
- func (*RelationTupleFilter) ProtoMessage()
- func (x *RelationTupleFilter) ProtoReflect() protoreflect.Message
- func (x *RelationTupleFilter) Reset()
- func (x *RelationTupleFilter) String() string
- func (m *RelationTupleFilter) Validate() error
- type RelationTupleFilterValidationError
- func (e RelationTupleFilterValidationError) Cause() error
- func (e RelationTupleFilterValidationError) Error() string
- func (e RelationTupleFilterValidationError) ErrorName() string
- func (e RelationTupleFilterValidationError) Field() string
- func (e RelationTupleFilterValidationError) Key() bool
- func (e RelationTupleFilterValidationError) Reason() string
- type RelationTupleFilter_Filter
- func (RelationTupleFilter_Filter) Descriptor() protoreflect.EnumDescriptor
- func (x RelationTupleFilter_Filter) Enum() *RelationTupleFilter_Filter
- func (RelationTupleFilter_Filter) EnumDescriptor() ([]byte, []int)deprecated
- func (x RelationTupleFilter_Filter) Number() protoreflect.EnumNumber
- func (x RelationTupleFilter_Filter) String() string
- func (RelationTupleFilter_Filter) Type() protoreflect.EnumType
- type RelationTupleTreeNode
- func (*RelationTupleTreeNode) Descriptor() ([]byte, []int)deprecated
- func (x *RelationTupleTreeNode) GetExpanded() *ObjectAndRelation
- func (x *RelationTupleTreeNode) GetIntermediateNode() *SetOperationUserset
- func (x *RelationTupleTreeNode) GetLeafNode() *DirectUserset
- func (m *RelationTupleTreeNode) GetNodeType() isRelationTupleTreeNode_NodeType
- func (*RelationTupleTreeNode) ProtoMessage()
- func (x *RelationTupleTreeNode) ProtoReflect() protoreflect.Message
- func (x *RelationTupleTreeNode) Reset()
- func (x *RelationTupleTreeNode) String() string
- func (m *RelationTupleTreeNode) Validate() error
- type RelationTupleTreeNodeValidationError
- func (e RelationTupleTreeNodeValidationError) Cause() error
- func (e RelationTupleTreeNodeValidationError) Error() string
- func (e RelationTupleTreeNodeValidationError) ErrorName() string
- func (e RelationTupleTreeNodeValidationError) Field() string
- func (e RelationTupleTreeNodeValidationError) Key() bool
- func (e RelationTupleTreeNodeValidationError) Reason() string
- type RelationTupleTreeNode_IntermediateNode
- type RelationTupleTreeNode_LeafNode
- type RelationTupleUpdate
- func (*RelationTupleUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *RelationTupleUpdate) GetOperation() RelationTupleUpdate_Operation
- func (x *RelationTupleUpdate) GetTuple() *RelationTuple
- func (m *RelationTupleUpdate) HandwrittenValidate() error
- func (*RelationTupleUpdate) ProtoMessage()
- func (x *RelationTupleUpdate) ProtoReflect() protoreflect.Message
- func (x *RelationTupleUpdate) Reset()
- func (x *RelationTupleUpdate) String() string
- func (m *RelationTupleUpdate) Validate() error
- type RelationTupleUpdateValidationError
- func (e RelationTupleUpdateValidationError) Cause() error
- func (e RelationTupleUpdateValidationError) Error() string
- func (e RelationTupleUpdateValidationError) ErrorName() string
- func (e RelationTupleUpdateValidationError) Field() string
- func (e RelationTupleUpdateValidationError) Key() bool
- func (e RelationTupleUpdateValidationError) Reason() string
- type RelationTupleUpdate_Operation
- func (RelationTupleUpdate_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x RelationTupleUpdate_Operation) Enum() *RelationTupleUpdate_Operation
- func (RelationTupleUpdate_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x RelationTupleUpdate_Operation) Number() protoreflect.EnumNumber
- func (x RelationTupleUpdate_Operation) String() string
- func (RelationTupleUpdate_Operation) Type() protoreflect.EnumType
- type RelationTupleValidationError
- func (e RelationTupleValidationError) Cause() error
- func (e RelationTupleValidationError) Error() string
- func (e RelationTupleValidationError) ErrorName() string
- func (e RelationTupleValidationError) Field() string
- func (e RelationTupleValidationError) Key() bool
- func (e RelationTupleValidationError) Reason() string
- type RelationValidationError
- type RequestContext
- func (*RequestContext) Descriptor() ([]byte, []int)deprecated
- func (x *RequestContext) GetLegacyNsConfigs() []*NamespaceDefinition
- func (x *RequestContext) GetRelationships() []*RelationTuple
- func (x *RequestContext) GetSchema() string
- func (*RequestContext) ProtoMessage()
- func (x *RequestContext) ProtoReflect() protoreflect.Message
- func (x *RequestContext) Reset()
- func (x *RequestContext) String() string
- func (m *RequestContext) Validate() error
- type RequestContextValidationError
- func (e RequestContextValidationError) Cause() error
- func (e RequestContextValidationError) Error() string
- func (e RequestContextValidationError) ErrorName() string
- func (e RequestContextValidationError) Field() string
- func (e RequestContextValidationError) Key() bool
- func (e RequestContextValidationError) Reason() string
- type SetOperation
- func (*SetOperation) Descriptor() ([]byte, []int)deprecated
- func (x *SetOperation) GetChild() []*SetOperation_Child
- func (*SetOperation) ProtoMessage()
- func (x *SetOperation) ProtoReflect() protoreflect.Message
- func (x *SetOperation) Reset()
- func (x *SetOperation) String() string
- func (m *SetOperation) Validate() error
- type SetOperationUserset
- func (*SetOperationUserset) Descriptor() ([]byte, []int)deprecated
- func (x *SetOperationUserset) GetChildNodes() []*RelationTupleTreeNode
- func (x *SetOperationUserset) GetOperation() SetOperationUserset_Operation
- func (*SetOperationUserset) ProtoMessage()
- func (x *SetOperationUserset) ProtoReflect() protoreflect.Message
- func (x *SetOperationUserset) Reset()
- func (x *SetOperationUserset) String() string
- func (m *SetOperationUserset) Validate() error
- type SetOperationUsersetValidationError
- func (e SetOperationUsersetValidationError) Cause() error
- func (e SetOperationUsersetValidationError) Error() string
- func (e SetOperationUsersetValidationError) ErrorName() string
- func (e SetOperationUsersetValidationError) Field() string
- func (e SetOperationUsersetValidationError) Key() bool
- func (e SetOperationUsersetValidationError) Reason() string
- type SetOperationUserset_Operation
- func (SetOperationUserset_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x SetOperationUserset_Operation) Enum() *SetOperationUserset_Operation
- func (SetOperationUserset_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetOperationUserset_Operation) Number() protoreflect.EnumNumber
- func (x SetOperationUserset_Operation) String() string
- func (SetOperationUserset_Operation) Type() protoreflect.EnumType
- type SetOperationValidationError
- func (e SetOperationValidationError) Cause() error
- func (e SetOperationValidationError) Error() string
- func (e SetOperationValidationError) ErrorName() string
- func (e SetOperationValidationError) Field() string
- func (e SetOperationValidationError) Key() bool
- func (e SetOperationValidationError) Reason() string
- type SetOperation_Child
- func (*SetOperation_Child) Descriptor() ([]byte, []int)deprecated
- func (m *SetOperation_Child) GetChildType() isSetOperation_Child_ChildType
- func (x *SetOperation_Child) GetComputedUserset() *ComputedUserset
- func (x *SetOperation_Child) GetTupleToUserset() *TupleToUserset
- func (x *SetOperation_Child) GetUsersetRewrite() *UsersetRewrite
- func (x *SetOperation_Child) GetXThis() *SetOperation_Child_This
- func (*SetOperation_Child) ProtoMessage()
- func (x *SetOperation_Child) ProtoReflect() protoreflect.Message
- func (x *SetOperation_Child) Reset()
- func (x *SetOperation_Child) String() string
- func (m *SetOperation_Child) Validate() error
- type SetOperation_ChildValidationError
- func (e SetOperation_ChildValidationError) Cause() error
- func (e SetOperation_ChildValidationError) Error() string
- func (e SetOperation_ChildValidationError) ErrorName() string
- func (e SetOperation_ChildValidationError) Field() string
- func (e SetOperation_ChildValidationError) Key() bool
- func (e SetOperation_ChildValidationError) Reason() string
- type SetOperation_Child_ComputedUserset
- type SetOperation_Child_This
- func (*SetOperation_Child_This) Descriptor() ([]byte, []int)deprecated
- func (*SetOperation_Child_This) ProtoMessage()
- func (x *SetOperation_Child_This) ProtoReflect() protoreflect.Message
- func (x *SetOperation_Child_This) Reset()
- func (x *SetOperation_Child_This) String() string
- func (m *SetOperation_Child_This) Validate() error
- type SetOperation_Child_ThisValidationError
- func (e SetOperation_Child_ThisValidationError) Cause() error
- func (e SetOperation_Child_ThisValidationError) Error() string
- func (e SetOperation_Child_ThisValidationError) ErrorName() string
- func (e SetOperation_Child_ThisValidationError) Field() string
- func (e SetOperation_Child_ThisValidationError) Key() bool
- func (e SetOperation_Child_ThisValidationError) Reason() string
- type SetOperation_Child_TupleToUserset
- type SetOperation_Child_UsersetRewrite
- type SetOperation_Child_XThis
- type ShareRequest
- func (*ShareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ShareRequest) GetAssertionsYaml() string
- func (x *ShareRequest) GetRelationshipsYaml() string
- func (x *ShareRequest) GetSchema() string
- func (x *ShareRequest) GetValidationYaml() string
- func (*ShareRequest) ProtoMessage()
- func (x *ShareRequest) ProtoReflect() protoreflect.Message
- func (x *ShareRequest) Reset()
- func (x *ShareRequest) String() string
- func (m *ShareRequest) Validate() error
- type ShareRequestValidationError
- func (e ShareRequestValidationError) Cause() error
- func (e ShareRequestValidationError) Error() string
- func (e ShareRequestValidationError) ErrorName() string
- func (e ShareRequestValidationError) Field() string
- func (e ShareRequestValidationError) Key() bool
- func (e ShareRequestValidationError) Reason() string
- type ShareResponse
- func (*ShareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShareResponse) GetShareReference() string
- func (*ShareResponse) ProtoMessage()
- func (x *ShareResponse) ProtoReflect() protoreflect.Message
- func (x *ShareResponse) Reset()
- func (x *ShareResponse) String() string
- func (m *ShareResponse) Validate() error
- type ShareResponseValidationError
- func (e ShareResponseValidationError) Cause() error
- func (e ShareResponseValidationError) Error() string
- func (e ShareResponseValidationError) ErrorName() string
- func (e ShareResponseValidationError) Field() string
- func (e ShareResponseValidationError) Key() bool
- func (e ShareResponseValidationError) Reason() string
- type TupleToUserset
- func (*TupleToUserset) Descriptor() ([]byte, []int)deprecated
- func (x *TupleToUserset) GetComputedUserset() *ComputedUserset
- func (x *TupleToUserset) GetTupleset() *TupleToUserset_Tupleset
- func (*TupleToUserset) ProtoMessage()
- func (x *TupleToUserset) ProtoReflect() protoreflect.Message
- func (x *TupleToUserset) Reset()
- func (x *TupleToUserset) String() string
- func (m *TupleToUserset) Validate() error
- type TupleToUsersetValidationError
- func (e TupleToUsersetValidationError) Cause() error
- func (e TupleToUsersetValidationError) Error() string
- func (e TupleToUsersetValidationError) ErrorName() string
- func (e TupleToUsersetValidationError) Field() string
- func (e TupleToUsersetValidationError) Key() bool
- func (e TupleToUsersetValidationError) Reason() string
- type TupleToUserset_Tupleset
- func (*TupleToUserset_Tupleset) Descriptor() ([]byte, []int)deprecated
- func (x *TupleToUserset_Tupleset) GetRelation() string
- func (*TupleToUserset_Tupleset) ProtoMessage()
- func (x *TupleToUserset_Tupleset) ProtoReflect() protoreflect.Message
- func (x *TupleToUserset_Tupleset) Reset()
- func (x *TupleToUserset_Tupleset) String() string
- func (m *TupleToUserset_Tupleset) Validate() error
- type TupleToUserset_TuplesetValidationError
- func (e TupleToUserset_TuplesetValidationError) Cause() error
- func (e TupleToUserset_TuplesetValidationError) Error() string
- func (e TupleToUserset_TuplesetValidationError) ErrorName() string
- func (e TupleToUserset_TuplesetValidationError) Field() string
- func (e TupleToUserset_TuplesetValidationError) Key() bool
- func (e TupleToUserset_TuplesetValidationError) Reason() string
- type TypeInformation
- func (*TypeInformation) Descriptor() ([]byte, []int)deprecated
- func (x *TypeInformation) GetAllowedDirectRelations() []*AllowedRelation
- func (*TypeInformation) ProtoMessage()
- func (x *TypeInformation) ProtoReflect() protoreflect.Message
- func (x *TypeInformation) Reset()
- func (x *TypeInformation) String() string
- func (m *TypeInformation) Validate() error
- type TypeInformationValidationError
- func (e TypeInformationValidationError) Cause() error
- func (e TypeInformationValidationError) Error() string
- func (e TypeInformationValidationError) ErrorName() string
- func (e TypeInformationValidationError) Field() string
- func (e TypeInformationValidationError) Key() bool
- func (e TypeInformationValidationError) Reason() string
- type UnimplementedACLServiceServer
- func (UnimplementedACLServiceServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
- func (UnimplementedACLServiceServer) ContentChangeCheck(context.Context, *ContentChangeCheckRequest) (*CheckResponse, error)
- func (UnimplementedACLServiceServer) Expand(context.Context, *ExpandRequest) (*ExpandResponse, error)
- func (UnimplementedACLServiceServer) Lookup(context.Context, *LookupRequest) (*LookupResponse, error)
- func (UnimplementedACLServiceServer) Read(context.Context, *ReadRequest) (*ReadResponse, error)
- func (UnimplementedACLServiceServer) Write(context.Context, *WriteRequest) (*WriteResponse, error)
- type UnimplementedDeveloperServiceServer
- func (UnimplementedDeveloperServiceServer) EditCheck(context.Context, *EditCheckRequest) (*EditCheckResponse, error)
- func (UnimplementedDeveloperServiceServer) FormatSchema(context.Context, *FormatSchemaRequest) (*FormatSchemaResponse, error)
- func (UnimplementedDeveloperServiceServer) LookupShared(context.Context, *LookupShareRequest) (*LookupShareResponse, error)
- func (UnimplementedDeveloperServiceServer) Share(context.Context, *ShareRequest) (*ShareResponse, error)
- func (UnimplementedDeveloperServiceServer) UpgradeSchema(context.Context, *UpgradeSchemaRequest) (*UpgradeSchemaResponse, error)
- func (UnimplementedDeveloperServiceServer) Validate(context.Context, *ValidateRequest) (*ValidateResponse, error)
- type UnimplementedNamespaceServiceServer
- func (UnimplementedNamespaceServiceServer) DeleteConfigs(context.Context, *DeleteConfigsRequest) (*DeleteConfigsResponse, error)
- func (UnimplementedNamespaceServiceServer) ReadConfig(context.Context, *ReadConfigRequest) (*ReadConfigResponse, error)
- func (UnimplementedNamespaceServiceServer) WriteConfig(context.Context, *WriteConfigRequest) (*WriteConfigResponse, error)
- type UnimplementedWatchServiceServer
- type UnsafeACLServiceServer
- type UnsafeDeveloperServiceServer
- type UnsafeNamespaceServiceServer
- type UnsafeWatchServiceServer
- type UpgradeSchemaRequest
- func (*UpgradeSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpgradeSchemaRequest) GetNamespaceConfigs() []string
- func (*UpgradeSchemaRequest) ProtoMessage()
- func (x *UpgradeSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *UpgradeSchemaRequest) Reset()
- func (x *UpgradeSchemaRequest) String() string
- func (m *UpgradeSchemaRequest) Validate() error
- type UpgradeSchemaRequestValidationError
- func (e UpgradeSchemaRequestValidationError) Cause() error
- func (e UpgradeSchemaRequestValidationError) Error() string
- func (e UpgradeSchemaRequestValidationError) ErrorName() string
- func (e UpgradeSchemaRequestValidationError) Field() string
- func (e UpgradeSchemaRequestValidationError) Key() bool
- func (e UpgradeSchemaRequestValidationError) Reason() string
- type UpgradeSchemaResponse
- func (*UpgradeSchemaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpgradeSchemaResponse) GetError() *DeveloperError
- func (x *UpgradeSchemaResponse) GetUpgradedSchema() string
- func (*UpgradeSchemaResponse) ProtoMessage()
- func (x *UpgradeSchemaResponse) ProtoReflect() protoreflect.Message
- func (x *UpgradeSchemaResponse) Reset()
- func (x *UpgradeSchemaResponse) String() string
- func (m *UpgradeSchemaResponse) Validate() error
- type UpgradeSchemaResponseValidationError
- func (e UpgradeSchemaResponseValidationError) Cause() error
- func (e UpgradeSchemaResponseValidationError) Error() string
- func (e UpgradeSchemaResponseValidationError) ErrorName() string
- func (e UpgradeSchemaResponseValidationError) Field() string
- func (e UpgradeSchemaResponseValidationError) Key() bool
- func (e UpgradeSchemaResponseValidationError) Reason() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (m *User) GetUserOneof() isUser_UserOneof
- func (x *User) GetUserset() *ObjectAndRelation
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (m *User) Validate() error
- type UserValidationError
- type User_Userset
- type UsersetRewrite
- func (*UsersetRewrite) Descriptor() ([]byte, []int)deprecated
- func (x *UsersetRewrite) GetExclusion() *SetOperation
- func (x *UsersetRewrite) GetIntersection() *SetOperation
- func (m *UsersetRewrite) GetRewriteOperation() isUsersetRewrite_RewriteOperation
- func (x *UsersetRewrite) GetUnion() *SetOperation
- func (*UsersetRewrite) ProtoMessage()
- func (x *UsersetRewrite) ProtoReflect() protoreflect.Message
- func (x *UsersetRewrite) Reset()
- func (x *UsersetRewrite) String() string
- func (m *UsersetRewrite) Validate() error
- type UsersetRewriteValidationError
- func (e UsersetRewriteValidationError) Cause() error
- func (e UsersetRewriteValidationError) Error() string
- func (e UsersetRewriteValidationError) ErrorName() string
- func (e UsersetRewriteValidationError) Field() string
- func (e UsersetRewriteValidationError) Key() bool
- func (e UsersetRewriteValidationError) Reason() string
- type UsersetRewrite_Exclusion
- type UsersetRewrite_Intersection
- type UsersetRewrite_Union
- type ValidateRequest
- func (*ValidateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateRequest) GetAssertionsYaml() string
- func (x *ValidateRequest) GetContext() *RequestContext
- func (x *ValidateRequest) GetUpdateValidationYaml() bool
- func (x *ValidateRequest) GetValidationYaml() string
- func (*ValidateRequest) ProtoMessage()
- func (x *ValidateRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateRequest) Reset()
- func (x *ValidateRequest) String() string
- func (m *ValidateRequest) Validate() error
- type ValidateRequestValidationError
- func (e ValidateRequestValidationError) Cause() error
- func (e ValidateRequestValidationError) Error() string
- func (e ValidateRequestValidationError) ErrorName() string
- func (e ValidateRequestValidationError) Field() string
- func (e ValidateRequestValidationError) Key() bool
- func (e ValidateRequestValidationError) Reason() string
- type ValidateResponse
- func (*ValidateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateResponse) GetRequestErrors() []*DeveloperError
- func (x *ValidateResponse) GetUpdatedValidationYaml() string
- func (x *ValidateResponse) GetValidationErrors() []*DeveloperError
- func (*ValidateResponse) ProtoMessage()
- func (x *ValidateResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateResponse) Reset()
- func (x *ValidateResponse) String() string
- func (m *ValidateResponse) Validate() error
- type ValidateResponseValidationError
- func (e ValidateResponseValidationError) Cause() error
- func (e ValidateResponseValidationError) Error() string
- func (e ValidateResponseValidationError) ErrorName() string
- func (e ValidateResponseValidationError) Field() string
- func (e ValidateResponseValidationError) Key() bool
- func (e ValidateResponseValidationError) Reason() string
- type WatchRequest
- func (*WatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WatchRequest) GetNamespaces() []string
- func (x *WatchRequest) GetStartRevision() *Zookie
- func (*WatchRequest) ProtoMessage()
- func (x *WatchRequest) ProtoReflect() protoreflect.Message
- func (x *WatchRequest) Reset()
- func (x *WatchRequest) String() string
- func (m *WatchRequest) Validate() error
- 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 (*WatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WatchResponse) GetEndRevision() *Zookie
- func (x *WatchResponse) GetUpdates() []*RelationTupleUpdate
- func (*WatchResponse) ProtoMessage()
- func (x *WatchResponse) ProtoReflect() protoreflect.Message
- func (x *WatchResponse) Reset()
- func (x *WatchResponse) String() string
- func (m *WatchResponse) Validate() error
- 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 WriteConfigRequest
- func (*WriteConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteConfigRequest) GetConfigs() []*NamespaceDefinition
- func (*WriteConfigRequest) ProtoMessage()
- func (x *WriteConfigRequest) ProtoReflect() protoreflect.Message
- func (x *WriteConfigRequest) Reset()
- func (x *WriteConfigRequest) String() string
- func (m *WriteConfigRequest) Validate() error
- type WriteConfigRequestValidationError
- func (e WriteConfigRequestValidationError) Cause() error
- func (e WriteConfigRequestValidationError) Error() string
- func (e WriteConfigRequestValidationError) ErrorName() string
- func (e WriteConfigRequestValidationError) Field() string
- func (e WriteConfigRequestValidationError) Key() bool
- func (e WriteConfigRequestValidationError) Reason() string
- type WriteConfigResponse
- func (*WriteConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WriteConfigResponse) GetRevision() *Zookie
- func (*WriteConfigResponse) ProtoMessage()
- func (x *WriteConfigResponse) ProtoReflect() protoreflect.Message
- func (x *WriteConfigResponse) Reset()
- func (x *WriteConfigResponse) String() string
- func (m *WriteConfigResponse) Validate() error
- type WriteConfigResponseValidationError
- func (e WriteConfigResponseValidationError) Cause() error
- func (e WriteConfigResponseValidationError) Error() string
- func (e WriteConfigResponseValidationError) ErrorName() string
- func (e WriteConfigResponseValidationError) Field() string
- func (e WriteConfigResponseValidationError) Key() bool
- func (e WriteConfigResponseValidationError) Reason() string
- type WriteRequest
- func (*WriteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteRequest) GetUpdates() []*RelationTupleUpdate
- func (x *WriteRequest) GetWriteConditions() []*RelationTuple
- func (m *WriteRequest) HandwrittenValidate() error
- func (*WriteRequest) ProtoMessage()
- func (x *WriteRequest) ProtoReflect() protoreflect.Message
- func (x *WriteRequest) Reset()
- func (x *WriteRequest) String() string
- func (m *WriteRequest) Validate() error
- type WriteRequestValidationError
- func (e WriteRequestValidationError) Cause() error
- func (e WriteRequestValidationError) Error() string
- func (e WriteRequestValidationError) ErrorName() string
- func (e WriteRequestValidationError) Field() string
- func (e WriteRequestValidationError) Key() bool
- func (e WriteRequestValidationError) Reason() string
- type WriteResponse
- func (*WriteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WriteResponse) GetRevision() *Zookie
- func (*WriteResponse) ProtoMessage()
- func (x *WriteResponse) ProtoReflect() protoreflect.Message
- func (x *WriteResponse) Reset()
- func (x *WriteResponse) String() string
- func (m *WriteResponse) Validate() error
- type WriteResponseValidationError
- func (e WriteResponseValidationError) Cause() error
- func (e WriteResponseValidationError) Error() string
- func (e WriteResponseValidationError) ErrorName() string
- func (e WriteResponseValidationError) Field() string
- func (e WriteResponseValidationError) Key() bool
- func (e WriteResponseValidationError) Reason() string
- type Zookie
- type ZookieValidationError
Constants ¶
This section is empty.
Variables ¶
var ( RelationTupleFilter_Filter_name = map[int32]string{ 0: "UNKNOWN", 1: "OBJECT_ID", 2: "RELATION", 4: "USERSET", } RelationTupleFilter_Filter_value = map[string]int32{ "UNKNOWN": 0, "OBJECT_ID": 1, "RELATION": 2, "USERSET": 4, } )
Enum value maps for RelationTupleFilter_Filter.
var ( CheckResponse_Membership_name = map[int32]string{ 0: "UNKNOWN", 1: "NOT_MEMBER", 2: "MEMBER", } CheckResponse_Membership_value = map[string]int32{ "UNKNOWN": 0, "NOT_MEMBER": 1, "MEMBER": 2, } )
Enum value maps for CheckResponse_Membership.
var ( RelationTupleUpdate_Operation_name = map[int32]string{ 0: "UNKNOWN", 1: "CREATE", 2: "TOUCH", 3: "DELETE", } RelationTupleUpdate_Operation_value = map[string]int32{ "UNKNOWN": 0, "CREATE": 1, "TOUCH": 2, "DELETE": 3, } )
Enum value maps for RelationTupleUpdate_Operation.
var ( SetOperationUserset_Operation_name = map[int32]string{ 0: "INVALID", 1: "UNION", 2: "INTERSECTION", 3: "EXCLUSION", } SetOperationUserset_Operation_value = map[string]int32{ "INVALID": 0, "UNION": 1, "INTERSECTION": 2, "EXCLUSION": 3, } )
Enum value maps for SetOperationUserset_Operation.
var (0: "UNKNOWN_REFERENCE", 1: "FAILED_TO_LOOKUP", 2: "VALID_REFERENCE", 3: "UPGRADED_REFERENCE", } "UNKNOWN_REFERENCE": 0, "FAILED_TO_LOOKUP": 1, "VALID_REFERENCE": 2, "UPGRADED_REFERENCE": 3, } )
Enum value maps for LookupShareResponse_LookupStatus.
var ( DeveloperError_Source_name = map[int32]string{ 0: "UNKNOWN_SOURCE", 1: "SCHEMA", 2: "RELATIONSHIP", 3: "VALIDATION_YAML", 4: "CHECK_WATCH", 5: "ASSERTION", } DeveloperError_Source_value = map[string]int32{ "UNKNOWN_SOURCE": 0, "SCHEMA": 1, "RELATIONSHIP": 2, "VALIDATION_YAML": 3, "CHECK_WATCH": 4, "ASSERTION": 5, } )
Enum value maps for DeveloperError_Source.
var ( DeveloperError_ErrorKind_name = map[int32]string{ 0: "UNKNOWN_KIND", 1: "PARSE_ERROR", 2: "SCHEMA_ISSUE", 3: "DUPLICATE_RELATIONSHIP", 4: "MISSING_EXPECTED_RELATIONSHIP", 5: "EXTRA_RELATIONSHIP_FOUND", 6: "UNKNOWN_OBJECT_TYPE", 7: "UNKNOWN_RELATION", 8: "MAXIMUM_RECURSION", 9: "ASSERTION_FAILED", } DeveloperError_ErrorKind_value = map[string]int32{ "UNKNOWN_KIND": 0, "PARSE_ERROR": 1, "SCHEMA_ISSUE": 2, "DUPLICATE_RELATIONSHIP": 3, "MISSING_EXPECTED_RELATIONSHIP": 4, "EXTRA_RELATIONSHIP_FOUND": 5, "UNKNOWN_OBJECT_TYPE": 6, "UNKNOWN_RELATION": 7, "MAXIMUM_RECURSION": 8, "ASSERTION_FAILED": 9, } )
Enum value maps for DeveloperError_ErrorKind.
var ( ComputedUserset_Object_name = map[int32]string{ 0: "TUPLE_OBJECT", 1: "TUPLE_USERSET_OBJECT", } ComputedUserset_Object_value = map[string]int32{ "TUPLE_OBJECT": 0, "TUPLE_USERSET_OBJECT": 1, } )
Enum value maps for ComputedUserset_Object.
var ACLService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "authzed.api.v0.ACLService", HandlerType: (*ACLServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Read", Handler: _ACLService_Read_Handler, }, { MethodName: "Write", Handler: _ACLService_Write_Handler, }, { MethodName: "Check", Handler: _ACLService_Check_Handler, }, { MethodName: "ContentChangeCheck", Handler: _ACLService_ContentChangeCheck_Handler, }, { MethodName: "Expand", Handler: _ACLService_Expand_Handler, }, { MethodName: "Lookup", Handler: _ACLService_Lookup_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "authzed/api/v0/acl_service.proto", }
ACLService_ServiceDesc is the grpc.ServiceDesc for ACLService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DeveloperService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "authzed.api.v0.DeveloperService", HandlerType: (*DeveloperServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "EditCheck", Handler: _DeveloperService_EditCheck_Handler, }, { MethodName: "Validate", Handler: _DeveloperService_Validate_Handler, }, { MethodName: "Share", Handler: _DeveloperService_Share_Handler, }, { MethodName: "LookupShared", Handler: _DeveloperService_LookupShared_Handler, }, { MethodName: "UpgradeSchema", Handler: _DeveloperService_UpgradeSchema_Handler, }, { MethodName: "FormatSchema", Handler: _DeveloperService_FormatSchema_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "authzed/api/v0/developer.proto", }
DeveloperService_ServiceDesc is the grpc.ServiceDesc for DeveloperService 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_v0_acl_service_proto protoreflect.FileDescriptor
var File_authzed_api_v0_core_proto protoreflect.FileDescriptor
var File_authzed_api_v0_developer_proto protoreflect.FileDescriptor
var File_authzed_api_v0_namespace_proto protoreflect.FileDescriptor
var File_authzed_api_v0_namespace_service_proto protoreflect.FileDescriptor
var File_authzed_api_v0_watch_service_proto protoreflect.FileDescriptor
var Legacy_ACLService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ACLService", HandlerType: (*ACLServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Read", Handler: _ACLService_Read_Handler, }, { MethodName: "Write", Handler: _ACLService_Write_Handler, }, { MethodName: "Check", Handler: _ACLService_Check_Handler, }, { MethodName: "ContentChangeCheck", Handler: _ACLService_ContentChangeCheck_Handler, }, { MethodName: "Expand", Handler: _ACLService_Expand_Handler, }, { MethodName: "Lookup", Handler: _ACLService_Lookup_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "authzed/api/v0/acl_service.proto", }
Legacy_ACLService_ServiceDesc is an grpc.ServiceDesc for the original ACLService service that had no Protobuf package.
It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Legacy_NamespaceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "NamespaceService", HandlerType: (*NamespaceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ReadConfig", Handler: _NamespaceService_ReadConfig_Handler, }, { MethodName: "WriteConfig", Handler: _NamespaceService_WriteConfig_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "authzed/api/v0/namespace_service.proto", }
Legacy_NamespaceService_ServiceDesc is an grpc.ServiceDesc for the original NamespaceService service that had no Protobuf package.
It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var NamespaceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "authzed.api.v0.NamespaceService", HandlerType: (*NamespaceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ReadConfig", Handler: _NamespaceService_ReadConfig_Handler, }, { MethodName: "WriteConfig", Handler: _NamespaceService_WriteConfig_Handler, }, { MethodName: "DeleteConfigs", Handler: _NamespaceService_DeleteConfigs_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "authzed/api/v0/namespace_service.proto", }
NamespaceService_ServiceDesc is the grpc.ServiceDesc for NamespaceService 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.v0.WatchService", HandlerType: (*WatchServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Watch", Handler: _WatchService_Watch_Handler, ServerStreams: true, }, }, Metadata: "authzed/api/v0/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 RegisterACLServiceServer ¶
func RegisterACLServiceServer(s grpc.ServiceRegistrar, srv ACLServiceServer)
func RegisterDeveloperServiceServer ¶
func RegisterDeveloperServiceServer(s grpc.ServiceRegistrar, srv DeveloperServiceServer)
func RegisterLegacyACLServiceServer ¶
func RegisterLegacyACLServiceServer(s grpc.ServiceRegistrar, srv ACLServiceServer)
RegisterACLServiceServer registers an ACLService under its legacy package-less descriptor.
func RegisterLegacyNamespaceServiceServer ¶
func RegisterLegacyNamespaceServiceServer(s grpc.ServiceRegistrar, srv NamespaceServiceServer)
RegisterLegacyNamespaceServiceServer registers a NamespaceService under its legacy package-less descriptor.
func RegisterNamespaceServiceServer ¶
func RegisterNamespaceServiceServer(s grpc.ServiceRegistrar, srv NamespaceServiceServer)
func RegisterWatchServiceServer ¶
func RegisterWatchServiceServer(s grpc.ServiceRegistrar, srv WatchServiceServer)
Types ¶
type ACLServiceClient ¶
type ACLServiceClient interface { Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ReadResponse, error) Write(ctx context.Context, in *WriteRequest, opts ...grpc.CallOption) (*WriteResponse, error) Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) ContentChangeCheck(ctx context.Context, in *ContentChangeCheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) Expand(ctx context.Context, in *ExpandRequest, opts ...grpc.CallOption) (*ExpandResponse, error) Lookup(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupResponse, error) }
ACLServiceClient is the client API for ACLService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewACLServiceClient ¶
func NewACLServiceClient(cc grpc.ClientConnInterface) ACLServiceClient
type ACLServiceServer ¶
type ACLServiceServer interface { Read(context.Context, *ReadRequest) (*ReadResponse, error) Write(context.Context, *WriteRequest) (*WriteResponse, error) Check(context.Context, *CheckRequest) (*CheckResponse, error) ContentChangeCheck(context.Context, *ContentChangeCheckRequest) (*CheckResponse, error) Expand(context.Context, *ExpandRequest) (*ExpandResponse, error) Lookup(context.Context, *LookupRequest) (*LookupResponse, error) // contains filtered or unexported methods }
ACLServiceServer is the server API for ACLService service. All implementations must embed UnimplementedACLServiceServer for forward compatibility
type AllowedRelation ¶ added in v0.4.0
type AllowedRelation struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Types that are assignable to RelationOrWildcard: // *AllowedRelation_Relation // *AllowedRelation_PublicWildcard_ RelationOrWildcard isAllowedRelation_RelationOrWildcard `protobuf_oneof:"relation_or_wildcard"` // contains filtered or unexported fields }
func (*AllowedRelation) Descriptor
deprecated
added in
v0.4.0
func (*AllowedRelation) Descriptor() ([]byte, []int)
Deprecated: Use AllowedRelation.ProtoReflect.Descriptor instead.
func (*AllowedRelation) GetNamespace ¶ added in v0.4.0
func (x *AllowedRelation) GetNamespace() string
func (*AllowedRelation) GetPublicWildcard ¶ added in v0.4.0
func (x *AllowedRelation) GetPublicWildcard() *AllowedRelation_PublicWildcard
func (*AllowedRelation) GetRelation ¶ added in v0.4.0
func (x *AllowedRelation) GetRelation() string
func (*AllowedRelation) GetRelationOrWildcard ¶ added in v0.4.0
func (m *AllowedRelation) GetRelationOrWildcard() isAllowedRelation_RelationOrWildcard
func (*AllowedRelation) ProtoMessage ¶ added in v0.4.0
func (*AllowedRelation) ProtoMessage()
func (*AllowedRelation) ProtoReflect ¶ added in v0.4.0
func (x *AllowedRelation) ProtoReflect() protoreflect.Message
func (*AllowedRelation) Reset ¶ added in v0.4.0
func (x *AllowedRelation) Reset()
func (*AllowedRelation) String ¶ added in v0.4.0
func (x *AllowedRelation) String() string
func (*AllowedRelation) Validate ¶ added in v0.4.0
func (m *AllowedRelation) Validate() error
Validate checks the field values on AllowedRelation with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AllowedRelationValidationError ¶ added in v0.4.0
type AllowedRelationValidationError struct {
// contains filtered or unexported fields
}
AllowedRelationValidationError is the validation error returned by AllowedRelation.Validate if the designated constraints aren't met.
func (AllowedRelationValidationError) Cause ¶ added in v0.4.0
func (e AllowedRelationValidationError) Cause() error
Cause function returns cause value.
func (AllowedRelationValidationError) Error ¶ added in v0.4.0
func (e AllowedRelationValidationError) Error() string
Error satisfies the builtin error interface
func (AllowedRelationValidationError) ErrorName ¶ added in v0.4.0
func (e AllowedRelationValidationError) ErrorName() string
ErrorName returns error name.
func (AllowedRelationValidationError) Field ¶ added in v0.4.0
func (e AllowedRelationValidationError) Field() string
Field function returns field value.
func (AllowedRelationValidationError) Key ¶ added in v0.4.0
func (e AllowedRelationValidationError) Key() bool
Key function returns key value.
func (AllowedRelationValidationError) Reason ¶ added in v0.4.0
func (e AllowedRelationValidationError) Reason() string
Reason function returns reason value.
type AllowedRelation_PublicWildcard ¶ added in v0.4.0
type AllowedRelation_PublicWildcard struct {
// contains filtered or unexported fields
}
func (*AllowedRelation_PublicWildcard) Descriptor
deprecated
added in
v0.4.0
func (*AllowedRelation_PublicWildcard) Descriptor() ([]byte, []int)
Deprecated: Use AllowedRelation_PublicWildcard.ProtoReflect.Descriptor instead.
func (*AllowedRelation_PublicWildcard) ProtoMessage ¶ added in v0.4.0
func (*AllowedRelation_PublicWildcard) ProtoMessage()
func (*AllowedRelation_PublicWildcard) ProtoReflect ¶ added in v0.4.0
func (x *AllowedRelation_PublicWildcard) ProtoReflect() protoreflect.Message
func (*AllowedRelation_PublicWildcard) Reset ¶ added in v0.4.0
func (x *AllowedRelation_PublicWildcard) Reset()
func (*AllowedRelation_PublicWildcard) String ¶ added in v0.4.0
func (x *AllowedRelation_PublicWildcard) String() string
func (*AllowedRelation_PublicWildcard) Validate ¶ added in v0.4.0
func (m *AllowedRelation_PublicWildcard) Validate() error
Validate checks the field values on AllowedRelation_PublicWildcard with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AllowedRelation_PublicWildcardValidationError ¶ added in v0.4.0
type AllowedRelation_PublicWildcardValidationError struct {
// contains filtered or unexported fields
}
AllowedRelation_PublicWildcardValidationError is the validation error returned by AllowedRelation_PublicWildcard.Validate if the designated constraints aren't met.
func (AllowedRelation_PublicWildcardValidationError) Cause ¶ added in v0.4.0
func (e AllowedRelation_PublicWildcardValidationError) Cause() error
Cause function returns cause value.
func (AllowedRelation_PublicWildcardValidationError) Error ¶ added in v0.4.0
func (e AllowedRelation_PublicWildcardValidationError) Error() string
Error satisfies the builtin error interface
func (AllowedRelation_PublicWildcardValidationError) ErrorName ¶ added in v0.4.0
func (e AllowedRelation_PublicWildcardValidationError) ErrorName() string
ErrorName returns error name.
func (AllowedRelation_PublicWildcardValidationError) Field ¶ added in v0.4.0
func (e AllowedRelation_PublicWildcardValidationError) Field() string
Field function returns field value.
func (AllowedRelation_PublicWildcardValidationError) Key ¶ added in v0.4.0
func (e AllowedRelation_PublicWildcardValidationError) Key() bool
Key function returns key value.
func (AllowedRelation_PublicWildcardValidationError) Reason ¶ added in v0.4.0
func (e AllowedRelation_PublicWildcardValidationError) Reason() string
Reason function returns reason value.
type AllowedRelation_PublicWildcard_ ¶ added in v0.4.0
type AllowedRelation_PublicWildcard_ struct {
PublicWildcard *AllowedRelation_PublicWildcard `protobuf:"bytes,4,opt,name=public_wildcard,json=publicWildcard,proto3,oneof"`
}
type AllowedRelation_Relation ¶ added in v0.4.0
type AllowedRelation_Relation struct {
Relation string `protobuf:"bytes,3,opt,name=relation,proto3,oneof"`
}
type CheckRequest ¶
type CheckRequest struct { // A check request specifies a userset, represented by ⟨object#relation⟩, // a putative user, often represented by an authentication token, and a // zookie corresponding to the desired object version. TestUserset *ObjectAndRelation `protobuf:"bytes,1,opt,name=test_userset,json=testUserset,proto3" json:"test_userset,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // TODO swap for putative user AtRevision *Zookie `protobuf:"bytes,3,opt,name=at_revision,json=atRevision,proto3" json:"at_revision,omitempty"` // contains filtered or unexported fields }
func (*CheckRequest) Descriptor
deprecated
func (*CheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.
func (*CheckRequest) GetAtRevision ¶
func (x *CheckRequest) GetAtRevision() *Zookie
func (*CheckRequest) GetTestUserset ¶
func (x *CheckRequest) GetTestUserset() *ObjectAndRelation
func (*CheckRequest) GetUser ¶
func (x *CheckRequest) GetUser() *User
func (*CheckRequest) HandwrittenValidate ¶ added in v0.4.0
func (m *CheckRequest) HandwrittenValidate() error
func (*CheckRequest) ProtoMessage ¶
func (*CheckRequest) ProtoMessage()
func (*CheckRequest) ProtoReflect ¶
func (x *CheckRequest) ProtoReflect() protoreflect.Message
func (*CheckRequest) Reset ¶
func (x *CheckRequest) Reset()
func (*CheckRequest) String ¶
func (x *CheckRequest) String() string
func (*CheckRequest) Validate ¶
func (m *CheckRequest) Validate() error
Validate checks the field values on CheckRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CheckRequestValidationError ¶
type CheckRequestValidationError struct {
// contains filtered or unexported fields
}
CheckRequestValidationError is the validation error returned by CheckRequest.Validate if the designated constraints aren't met.
func (CheckRequestValidationError) Cause ¶
func (e CheckRequestValidationError) Cause() error
Cause function returns cause value.
func (CheckRequestValidationError) Error ¶
func (e CheckRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CheckRequestValidationError) ErrorName ¶
func (e CheckRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CheckRequestValidationError) Field ¶
func (e CheckRequestValidationError) Field() string
Field function returns field value.
func (CheckRequestValidationError) Key ¶
func (e CheckRequestValidationError) Key() bool
Key function returns key value.
func (CheckRequestValidationError) Reason ¶
func (e CheckRequestValidationError) Reason() string
Reason function returns reason value.
type CheckResponse ¶
type CheckResponse struct { IsMember bool `protobuf:"varint,1,opt,name=is_member,json=isMember,proto3" json:"is_member,omitempty"` Revision *Zookie `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` Membership CheckResponse_Membership `protobuf:"varint,3,opt,name=membership,proto3,enum=authzed.api.v0.CheckResponse_Membership" json:"membership,omitempty"` // contains filtered or unexported fields }
func (*CheckResponse) Descriptor
deprecated
func (*CheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.
func (*CheckResponse) GetIsMember ¶
func (x *CheckResponse) GetIsMember() bool
func (*CheckResponse) GetMembership ¶
func (x *CheckResponse) GetMembership() CheckResponse_Membership
func (*CheckResponse) GetRevision ¶
func (x *CheckResponse) GetRevision() *Zookie
func (*CheckResponse) ProtoMessage ¶
func (*CheckResponse) ProtoMessage()
func (*CheckResponse) ProtoReflect ¶
func (x *CheckResponse) ProtoReflect() protoreflect.Message
func (*CheckResponse) Reset ¶
func (x *CheckResponse) Reset()
func (*CheckResponse) String ¶
func (x *CheckResponse) String() string
func (*CheckResponse) Validate ¶
func (m *CheckResponse) Validate() error
Validate checks the field values on CheckResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CheckResponseValidationError ¶
type CheckResponseValidationError struct {
// contains filtered or unexported fields
}
CheckResponseValidationError is the validation error returned by CheckResponse.Validate if the designated constraints aren't met.
func (CheckResponseValidationError) Cause ¶
func (e CheckResponseValidationError) Cause() error
Cause function returns cause value.
func (CheckResponseValidationError) Error ¶
func (e CheckResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CheckResponseValidationError) ErrorName ¶
func (e CheckResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CheckResponseValidationError) Field ¶
func (e CheckResponseValidationError) Field() string
Field function returns field value.
func (CheckResponseValidationError) Key ¶
func (e CheckResponseValidationError) Key() bool
Key function returns key value.
func (CheckResponseValidationError) Reason ¶
func (e CheckResponseValidationError) Reason() string
Reason function returns reason value.
type CheckResponse_Membership ¶
type CheckResponse_Membership int32
const ( CheckResponse_UNKNOWN CheckResponse_Membership = 0 CheckResponse_NOT_MEMBER CheckResponse_Membership = 1 CheckResponse_MEMBER CheckResponse_Membership = 2 )
func (CheckResponse_Membership) Descriptor ¶
func (CheckResponse_Membership) Descriptor() protoreflect.EnumDescriptor
func (CheckResponse_Membership) Enum ¶
func (x CheckResponse_Membership) Enum() *CheckResponse_Membership
func (CheckResponse_Membership) EnumDescriptor
deprecated
func (CheckResponse_Membership) EnumDescriptor() ([]byte, []int)
Deprecated: Use CheckResponse_Membership.Descriptor instead.
func (CheckResponse_Membership) Number ¶
func (x CheckResponse_Membership) Number() protoreflect.EnumNumber
func (CheckResponse_Membership) String ¶
func (x CheckResponse_Membership) String() string
func (CheckResponse_Membership) Type ¶
func (CheckResponse_Membership) Type() protoreflect.EnumType
type ComputedUserset ¶
type ComputedUserset struct { Object ComputedUserset_Object `protobuf:"varint,1,opt,name=object,proto3,enum=authzed.api.v0.ComputedUserset_Object" json:"object,omitempty"` Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
func (*ComputedUserset) Descriptor
deprecated
func (*ComputedUserset) Descriptor() ([]byte, []int)
Deprecated: Use ComputedUserset.ProtoReflect.Descriptor instead.
func (*ComputedUserset) GetObject ¶
func (x *ComputedUserset) GetObject() ComputedUserset_Object
func (*ComputedUserset) GetRelation ¶
func (x *ComputedUserset) GetRelation() string
func (*ComputedUserset) ProtoMessage ¶
func (*ComputedUserset) ProtoMessage()
func (*ComputedUserset) ProtoReflect ¶
func (x *ComputedUserset) ProtoReflect() protoreflect.Message
func (*ComputedUserset) Reset ¶
func (x *ComputedUserset) Reset()
func (*ComputedUserset) String ¶
func (x *ComputedUserset) String() string
func (*ComputedUserset) Validate ¶
func (m *ComputedUserset) Validate() error
Validate checks the field values on ComputedUserset with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ComputedUsersetValidationError ¶
type ComputedUsersetValidationError struct {
// contains filtered or unexported fields
}
ComputedUsersetValidationError is the validation error returned by ComputedUserset.Validate if the designated constraints aren't met.
func (ComputedUsersetValidationError) Cause ¶
func (e ComputedUsersetValidationError) Cause() error
Cause function returns cause value.
func (ComputedUsersetValidationError) Error ¶
func (e ComputedUsersetValidationError) Error() string
Error satisfies the builtin error interface
func (ComputedUsersetValidationError) ErrorName ¶
func (e ComputedUsersetValidationError) ErrorName() string
ErrorName returns error name.
func (ComputedUsersetValidationError) Field ¶
func (e ComputedUsersetValidationError) Field() string
Field function returns field value.
func (ComputedUsersetValidationError) Key ¶
func (e ComputedUsersetValidationError) Key() bool
Key function returns key value.
func (ComputedUsersetValidationError) Reason ¶
func (e ComputedUsersetValidationError) Reason() string
Reason function returns reason value.
type ComputedUserset_Object ¶
type ComputedUserset_Object int32
const ( ComputedUserset_TUPLE_OBJECT ComputedUserset_Object = 0 ComputedUserset_TUPLE_USERSET_OBJECT ComputedUserset_Object = 1 )
func (ComputedUserset_Object) Descriptor ¶
func (ComputedUserset_Object) Descriptor() protoreflect.EnumDescriptor
func (ComputedUserset_Object) Enum ¶
func (x ComputedUserset_Object) Enum() *ComputedUserset_Object
func (ComputedUserset_Object) EnumDescriptor
deprecated
func (ComputedUserset_Object) EnumDescriptor() ([]byte, []int)
Deprecated: Use ComputedUserset_Object.Descriptor instead.
func (ComputedUserset_Object) Number ¶
func (x ComputedUserset_Object) Number() protoreflect.EnumNumber
func (ComputedUserset_Object) String ¶
func (x ComputedUserset_Object) String() string
func (ComputedUserset_Object) Type ¶
func (ComputedUserset_Object) Type() protoreflect.EnumType
type ContentChangeCheckRequest ¶
type ContentChangeCheckRequest struct { // To authorize application content modifications, our clients send a special // type of check request, a content-change check. A content-change check // request does not carry a zookie and is evaluated at the latest snapshot. TestUserset *ObjectAndRelation `protobuf:"bytes,1,opt,name=test_userset,json=testUserset,proto3" json:"test_userset,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // TODO swap for a putative user // contains filtered or unexported fields }
func (*ContentChangeCheckRequest) Descriptor
deprecated
func (*ContentChangeCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContentChangeCheckRequest.ProtoReflect.Descriptor instead.
func (*ContentChangeCheckRequest) GetTestUserset ¶
func (x *ContentChangeCheckRequest) GetTestUserset() *ObjectAndRelation
func (*ContentChangeCheckRequest) GetUser ¶
func (x *ContentChangeCheckRequest) GetUser() *User
func (*ContentChangeCheckRequest) HandwrittenValidate ¶ added in v0.4.0
func (m *ContentChangeCheckRequest) HandwrittenValidate() error
func (*ContentChangeCheckRequest) ProtoMessage ¶
func (*ContentChangeCheckRequest) ProtoMessage()
func (*ContentChangeCheckRequest) ProtoReflect ¶
func (x *ContentChangeCheckRequest) ProtoReflect() protoreflect.Message
func (*ContentChangeCheckRequest) Reset ¶
func (x *ContentChangeCheckRequest) Reset()
func (*ContentChangeCheckRequest) String ¶
func (x *ContentChangeCheckRequest) String() string
func (*ContentChangeCheckRequest) Validate ¶
func (m *ContentChangeCheckRequest) Validate() error
Validate checks the field values on ContentChangeCheckRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ContentChangeCheckRequestValidationError ¶
type ContentChangeCheckRequestValidationError struct {
// contains filtered or unexported fields
}
ContentChangeCheckRequestValidationError is the validation error returned by ContentChangeCheckRequest.Validate if the designated constraints aren't met.
func (ContentChangeCheckRequestValidationError) Cause ¶
func (e ContentChangeCheckRequestValidationError) Cause() error
Cause function returns cause value.
func (ContentChangeCheckRequestValidationError) Error ¶
func (e ContentChangeCheckRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ContentChangeCheckRequestValidationError) ErrorName ¶
func (e ContentChangeCheckRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ContentChangeCheckRequestValidationError) Field ¶
func (e ContentChangeCheckRequestValidationError) Field() string
Field function returns field value.
func (ContentChangeCheckRequestValidationError) Key ¶
func (e ContentChangeCheckRequestValidationError) Key() bool
Key function returns key value.
func (ContentChangeCheckRequestValidationError) Reason ¶
func (e ContentChangeCheckRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteConfigsRequest ¶ added in v0.2.0
type DeleteConfigsRequest struct { Namespaces []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // contains filtered or unexported fields }
func (*DeleteConfigsRequest) Descriptor
deprecated
added in
v0.2.0
func (*DeleteConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConfigsRequest.ProtoReflect.Descriptor instead.
func (*DeleteConfigsRequest) GetNamespaces ¶ added in v0.2.0
func (x *DeleteConfigsRequest) GetNamespaces() []string
func (*DeleteConfigsRequest) ProtoMessage ¶ added in v0.2.0
func (*DeleteConfigsRequest) ProtoMessage()
func (*DeleteConfigsRequest) ProtoReflect ¶ added in v0.2.0
func (x *DeleteConfigsRequest) ProtoReflect() protoreflect.Message
func (*DeleteConfigsRequest) Reset ¶ added in v0.2.0
func (x *DeleteConfigsRequest) Reset()
func (*DeleteConfigsRequest) String ¶ added in v0.2.0
func (x *DeleteConfigsRequest) String() string
func (*DeleteConfigsRequest) Validate ¶ added in v0.2.0
func (m *DeleteConfigsRequest) Validate() error
Validate checks the field values on DeleteConfigsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteConfigsRequestValidationError ¶ added in v0.2.0
type DeleteConfigsRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteConfigsRequestValidationError is the validation error returned by DeleteConfigsRequest.Validate if the designated constraints aren't met.
func (DeleteConfigsRequestValidationError) Cause ¶ added in v0.2.0
func (e DeleteConfigsRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteConfigsRequestValidationError) Error ¶ added in v0.2.0
func (e DeleteConfigsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteConfigsRequestValidationError) ErrorName ¶ added in v0.2.0
func (e DeleteConfigsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteConfigsRequestValidationError) Field ¶ added in v0.2.0
func (e DeleteConfigsRequestValidationError) Field() string
Field function returns field value.
func (DeleteConfigsRequestValidationError) Key ¶ added in v0.2.0
func (e DeleteConfigsRequestValidationError) Key() bool
Key function returns key value.
func (DeleteConfigsRequestValidationError) Reason ¶ added in v0.2.0
func (e DeleteConfigsRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteConfigsResponse ¶ added in v0.2.0
type DeleteConfigsResponse struct { Revision *Zookie `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
func (*DeleteConfigsResponse) Descriptor
deprecated
added in
v0.2.0
func (*DeleteConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConfigsResponse.ProtoReflect.Descriptor instead.
func (*DeleteConfigsResponse) GetRevision ¶ added in v0.2.0
func (x *DeleteConfigsResponse) GetRevision() *Zookie
func (*DeleteConfigsResponse) ProtoMessage ¶ added in v0.2.0
func (*DeleteConfigsResponse) ProtoMessage()
func (*DeleteConfigsResponse) ProtoReflect ¶ added in v0.2.0
func (x *DeleteConfigsResponse) ProtoReflect() protoreflect.Message
func (*DeleteConfigsResponse) Reset ¶ added in v0.2.0
func (x *DeleteConfigsResponse) Reset()
func (*DeleteConfigsResponse) String ¶ added in v0.2.0
func (x *DeleteConfigsResponse) String() string
func (*DeleteConfigsResponse) Validate ¶ added in v0.2.0
func (m *DeleteConfigsResponse) Validate() error
Validate checks the field values on DeleteConfigsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteConfigsResponseValidationError ¶ added in v0.2.0
type DeleteConfigsResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteConfigsResponseValidationError is the validation error returned by DeleteConfigsResponse.Validate if the designated constraints aren't met.
func (DeleteConfigsResponseValidationError) Cause ¶ added in v0.2.0
func (e DeleteConfigsResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteConfigsResponseValidationError) Error ¶ added in v0.2.0
func (e DeleteConfigsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteConfigsResponseValidationError) ErrorName ¶ added in v0.2.0
func (e DeleteConfigsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteConfigsResponseValidationError) Field ¶ added in v0.2.0
func (e DeleteConfigsResponseValidationError) Field() string
Field function returns field value.
func (DeleteConfigsResponseValidationError) Key ¶ added in v0.2.0
func (e DeleteConfigsResponseValidationError) Key() bool
Key function returns key value.
func (DeleteConfigsResponseValidationError) Reason ¶ added in v0.2.0
func (e DeleteConfigsResponseValidationError) Reason() string
Reason function returns reason value.
type DeveloperError ¶
type DeveloperError struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Line uint32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` Column uint32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"` Source DeveloperError_Source `protobuf:"varint,4,opt,name=source,proto3,enum=authzed.api.v0.DeveloperError_Source" json:"source,omitempty"` Kind DeveloperError_ErrorKind `protobuf:"varint,5,opt,name=kind,proto3,enum=authzed.api.v0.DeveloperError_ErrorKind" json:"kind,omitempty"` Path []string `protobuf:"bytes,6,rep,name=path,proto3" json:"path,omitempty"` // context holds the context for the error. For schema issues, this will be the // name of the object type. For relationship issues, the full relationship string. Context string `protobuf:"bytes,7,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
func (*DeveloperError) Descriptor
deprecated
func (*DeveloperError) Descriptor() ([]byte, []int)
Deprecated: Use DeveloperError.ProtoReflect.Descriptor instead.
func (*DeveloperError) GetColumn ¶
func (x *DeveloperError) GetColumn() uint32
func (*DeveloperError) GetContext ¶
func (x *DeveloperError) GetContext() string
func (*DeveloperError) GetKind ¶
func (x *DeveloperError) GetKind() DeveloperError_ErrorKind
func (*DeveloperError) GetLine ¶
func (x *DeveloperError) GetLine() uint32
func (*DeveloperError) GetMessage ¶
func (x *DeveloperError) GetMessage() string
func (*DeveloperError) GetPath ¶
func (x *DeveloperError) GetPath() []string
func (*DeveloperError) GetSource ¶
func (x *DeveloperError) GetSource() DeveloperError_Source
func (*DeveloperError) ProtoMessage ¶
func (*DeveloperError) ProtoMessage()
func (*DeveloperError) ProtoReflect ¶
func (x *DeveloperError) ProtoReflect() protoreflect.Message
func (*DeveloperError) Reset ¶
func (x *DeveloperError) Reset()
func (*DeveloperError) String ¶
func (x *DeveloperError) String() string
func (*DeveloperError) Validate ¶
func (m *DeveloperError) Validate() error
Validate checks the field values on DeveloperError with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeveloperErrorValidationError ¶
type DeveloperErrorValidationError struct {
// contains filtered or unexported fields
}
DeveloperErrorValidationError is the validation error returned by DeveloperError.Validate if the designated constraints aren't met.
func (DeveloperErrorValidationError) Cause ¶
func (e DeveloperErrorValidationError) Cause() error
Cause function returns cause value.
func (DeveloperErrorValidationError) Error ¶
func (e DeveloperErrorValidationError) Error() string
Error satisfies the builtin error interface
func (DeveloperErrorValidationError) ErrorName ¶
func (e DeveloperErrorValidationError) ErrorName() string
ErrorName returns error name.
func (DeveloperErrorValidationError) Field ¶
func (e DeveloperErrorValidationError) Field() string
Field function returns field value.
func (DeveloperErrorValidationError) Key ¶
func (e DeveloperErrorValidationError) Key() bool
Key function returns key value.
func (DeveloperErrorValidationError) Reason ¶
func (e DeveloperErrorValidationError) Reason() string
Reason function returns reason value.
type DeveloperError_ErrorKind ¶
type DeveloperError_ErrorKind int32
const ( DeveloperError_UNKNOWN_KIND DeveloperError_ErrorKind = 0 DeveloperError_PARSE_ERROR DeveloperError_ErrorKind = 1 DeveloperError_SCHEMA_ISSUE DeveloperError_ErrorKind = 2 DeveloperError_DUPLICATE_RELATIONSHIP DeveloperError_ErrorKind = 3 DeveloperError_MISSING_EXPECTED_RELATIONSHIP DeveloperError_ErrorKind = 4 DeveloperError_EXTRA_RELATIONSHIP_FOUND DeveloperError_ErrorKind = 5 DeveloperError_UNKNOWN_OBJECT_TYPE DeveloperError_ErrorKind = 6 DeveloperError_UNKNOWN_RELATION DeveloperError_ErrorKind = 7 DeveloperError_MAXIMUM_RECURSION DeveloperError_ErrorKind = 8 DeveloperError_ASSERTION_FAILED DeveloperError_ErrorKind = 9 )
func (DeveloperError_ErrorKind) Descriptor ¶
func (DeveloperError_ErrorKind) Descriptor() protoreflect.EnumDescriptor
func (DeveloperError_ErrorKind) Enum ¶
func (x DeveloperError_ErrorKind) Enum() *DeveloperError_ErrorKind
func (DeveloperError_ErrorKind) EnumDescriptor
deprecated
func (DeveloperError_ErrorKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeveloperError_ErrorKind.Descriptor instead.
func (DeveloperError_ErrorKind) Number ¶
func (x DeveloperError_ErrorKind) Number() protoreflect.EnumNumber
func (DeveloperError_ErrorKind) String ¶
func (x DeveloperError_ErrorKind) String() string
func (DeveloperError_ErrorKind) Type ¶
func (DeveloperError_ErrorKind) Type() protoreflect.EnumType
type DeveloperError_Source ¶
type DeveloperError_Source int32
const ( DeveloperError_UNKNOWN_SOURCE DeveloperError_Source = 0 DeveloperError_SCHEMA DeveloperError_Source = 1 DeveloperError_RELATIONSHIP DeveloperError_Source = 2 DeveloperError_VALIDATION_YAML DeveloperError_Source = 3 DeveloperError_CHECK_WATCH DeveloperError_Source = 4 DeveloperError_ASSERTION DeveloperError_Source = 5 )
func (DeveloperError_Source) Descriptor ¶
func (DeveloperError_Source) Descriptor() protoreflect.EnumDescriptor
func (DeveloperError_Source) Enum ¶
func (x DeveloperError_Source) Enum() *DeveloperError_Source
func (DeveloperError_Source) EnumDescriptor
deprecated
func (DeveloperError_Source) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeveloperError_Source.Descriptor instead.
func (DeveloperError_Source) Number ¶
func (x DeveloperError_Source) Number() protoreflect.EnumNumber
func (DeveloperError_Source) String ¶
func (x DeveloperError_Source) String() string
func (DeveloperError_Source) Type ¶
func (DeveloperError_Source) Type() protoreflect.EnumType
type DeveloperServiceClient ¶
type DeveloperServiceClient interface { EditCheck(ctx context.Context, in *EditCheckRequest, opts ...grpc.CallOption) (*EditCheckResponse, error) Validate(ctx context.Context, in *ValidateRequest, opts ...grpc.CallOption) (*ValidateResponse, error) UpgradeSchema(ctx context.Context, in *UpgradeSchemaRequest, opts ...grpc.CallOption) (*UpgradeSchemaResponse, error) FormatSchema(ctx context.Context, in *FormatSchemaRequest, opts ...grpc.CallOption) (*FormatSchemaResponse, error) }
DeveloperServiceClient is the client API for DeveloperService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeveloperServiceClient ¶
func NewDeveloperServiceClient(cc grpc.ClientConnInterface) DeveloperServiceClient
type DeveloperServiceServer ¶
type DeveloperServiceServer interface { EditCheck(context.Context, *EditCheckRequest) (*EditCheckResponse, error) Validate(context.Context, *ValidateRequest) (*ValidateResponse, error) UpgradeSchema(context.Context, *UpgradeSchemaRequest) (*UpgradeSchemaResponse, error) FormatSchema(context.Context, *FormatSchemaRequest) (*FormatSchemaResponse, error) // contains filtered or unexported methods }
DeveloperServiceServer is the server API for DeveloperService service. All implementations must embed UnimplementedDeveloperServiceServer for forward compatibility
type DirectUserset ¶
type DirectUserset struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*DirectUserset) Descriptor
deprecated
func (*DirectUserset) Descriptor() ([]byte, []int)
Deprecated: Use DirectUserset.ProtoReflect.Descriptor instead.
func (*DirectUserset) GetUsers ¶
func (x *DirectUserset) GetUsers() []*User
func (*DirectUserset) ProtoMessage ¶
func (*DirectUserset) ProtoMessage()
func (*DirectUserset) ProtoReflect ¶
func (x *DirectUserset) ProtoReflect() protoreflect.Message
func (*DirectUserset) Reset ¶
func (x *DirectUserset) Reset()
func (*DirectUserset) String ¶
func (x *DirectUserset) String() string
func (*DirectUserset) Validate ¶
func (m *DirectUserset) Validate() error
Validate checks the field values on DirectUserset with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DirectUsersetValidationError ¶
type DirectUsersetValidationError struct {
// contains filtered or unexported fields
}
DirectUsersetValidationError is the validation error returned by DirectUserset.Validate if the designated constraints aren't met.
func (DirectUsersetValidationError) Cause ¶
func (e DirectUsersetValidationError) Cause() error
Cause function returns cause value.
func (DirectUsersetValidationError) Error ¶
func (e DirectUsersetValidationError) Error() string
Error satisfies the builtin error interface
func (DirectUsersetValidationError) ErrorName ¶
func (e DirectUsersetValidationError) ErrorName() string
ErrorName returns error name.
func (DirectUsersetValidationError) Field ¶
func (e DirectUsersetValidationError) Field() string
Field function returns field value.
func (DirectUsersetValidationError) Key ¶
func (e DirectUsersetValidationError) Key() bool
Key function returns key value.
func (DirectUsersetValidationError) Reason ¶
func (e DirectUsersetValidationError) Reason() string
Reason function returns reason value.
type EditCheckRequest ¶
type EditCheckRequest struct { Context *RequestContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` CheckRelationships []*RelationTuple `protobuf:"bytes,2,rep,name=check_relationships,json=checkRelationships,proto3" json:"check_relationships,omitempty"` // contains filtered or unexported fields }
func (*EditCheckRequest) Descriptor
deprecated
func (*EditCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditCheckRequest.ProtoReflect.Descriptor instead.
func (*EditCheckRequest) GetCheckRelationships ¶
func (x *EditCheckRequest) GetCheckRelationships() []*RelationTuple
func (*EditCheckRequest) GetContext ¶
func (x *EditCheckRequest) GetContext() *RequestContext
func (*EditCheckRequest) ProtoMessage ¶
func (*EditCheckRequest) ProtoMessage()
func (*EditCheckRequest) ProtoReflect ¶
func (x *EditCheckRequest) ProtoReflect() protoreflect.Message
func (*EditCheckRequest) Reset ¶
func (x *EditCheckRequest) Reset()
func (*EditCheckRequest) String ¶
func (x *EditCheckRequest) String() string
func (*EditCheckRequest) Validate ¶
func (m *EditCheckRequest) Validate() error
Validate checks the field values on EditCheckRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type EditCheckRequestValidationError ¶
type EditCheckRequestValidationError struct {
// contains filtered or unexported fields
}
EditCheckRequestValidationError is the validation error returned by EditCheckRequest.Validate if the designated constraints aren't met.
func (EditCheckRequestValidationError) Cause ¶
func (e EditCheckRequestValidationError) Cause() error
Cause function returns cause value.
func (EditCheckRequestValidationError) Error ¶
func (e EditCheckRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EditCheckRequestValidationError) ErrorName ¶
func (e EditCheckRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EditCheckRequestValidationError) Field ¶
func (e EditCheckRequestValidationError) Field() string
Field function returns field value.
func (EditCheckRequestValidationError) Key ¶
func (e EditCheckRequestValidationError) Key() bool
Key function returns key value.
func (EditCheckRequestValidationError) Reason ¶
func (e EditCheckRequestValidationError) Reason() string
Reason function returns reason value.
type EditCheckResponse ¶
type EditCheckResponse struct { RequestErrors []*DeveloperError `protobuf:"bytes,1,rep,name=request_errors,json=requestErrors,proto3" json:"request_errors,omitempty"` CheckResults []*EditCheckResult `protobuf:"bytes,2,rep,name=check_results,json=checkResults,proto3" json:"check_results,omitempty"` // contains filtered or unexported fields }
func (*EditCheckResponse) Descriptor
deprecated
func (*EditCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use EditCheckResponse.ProtoReflect.Descriptor instead.
func (*EditCheckResponse) GetCheckResults ¶
func (x *EditCheckResponse) GetCheckResults() []*EditCheckResult
func (*EditCheckResponse) GetRequestErrors ¶
func (x *EditCheckResponse) GetRequestErrors() []*DeveloperError
func (*EditCheckResponse) ProtoMessage ¶
func (*EditCheckResponse) ProtoMessage()
func (*EditCheckResponse) ProtoReflect ¶
func (x *EditCheckResponse) ProtoReflect() protoreflect.Message
func (*EditCheckResponse) Reset ¶
func (x *EditCheckResponse) Reset()
func (*EditCheckResponse) String ¶
func (x *EditCheckResponse) String() string
func (*EditCheckResponse) Validate ¶
func (m *EditCheckResponse) Validate() error
Validate checks the field values on EditCheckResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type EditCheckResponseValidationError ¶
type EditCheckResponseValidationError struct {
// contains filtered or unexported fields
}
EditCheckResponseValidationError is the validation error returned by EditCheckResponse.Validate if the designated constraints aren't met.
func (EditCheckResponseValidationError) Cause ¶
func (e EditCheckResponseValidationError) Cause() error
Cause function returns cause value.
func (EditCheckResponseValidationError) Error ¶
func (e EditCheckResponseValidationError) Error() string
Error satisfies the builtin error interface
func (EditCheckResponseValidationError) ErrorName ¶
func (e EditCheckResponseValidationError) ErrorName() string
ErrorName returns error name.
func (EditCheckResponseValidationError) Field ¶
func (e EditCheckResponseValidationError) Field() string
Field function returns field value.
func (EditCheckResponseValidationError) Key ¶
func (e EditCheckResponseValidationError) Key() bool
Key function returns key value.
func (EditCheckResponseValidationError) Reason ¶
func (e EditCheckResponseValidationError) Reason() string
Reason function returns reason value.
type EditCheckResult ¶
type EditCheckResult struct { Relationship *RelationTuple `protobuf:"bytes,1,opt,name=relationship,proto3" json:"relationship,omitempty"` IsMember bool `protobuf:"varint,2,opt,name=is_member,json=isMember,proto3" json:"is_member,omitempty"` Error *DeveloperError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*EditCheckResult) Descriptor
deprecated
func (*EditCheckResult) Descriptor() ([]byte, []int)
Deprecated: Use EditCheckResult.ProtoReflect.Descriptor instead.
func (*EditCheckResult) GetError ¶
func (x *EditCheckResult) GetError() *DeveloperError
func (*EditCheckResult) GetIsMember ¶
func (x *EditCheckResult) GetIsMember() bool
func (*EditCheckResult) GetRelationship ¶
func (x *EditCheckResult) GetRelationship() *RelationTuple
func (*EditCheckResult) ProtoMessage ¶
func (*EditCheckResult) ProtoMessage()
func (*EditCheckResult) ProtoReflect ¶
func (x *EditCheckResult) ProtoReflect() protoreflect.Message
func (*EditCheckResult) Reset ¶
func (x *EditCheckResult) Reset()
func (*EditCheckResult) String ¶
func (x *EditCheckResult) String() string
func (*EditCheckResult) Validate ¶
func (m *EditCheckResult) Validate() error
Validate checks the field values on EditCheckResult with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type EditCheckResultValidationError ¶
type EditCheckResultValidationError struct {
// contains filtered or unexported fields
}
EditCheckResultValidationError is the validation error returned by EditCheckResult.Validate if the designated constraints aren't met.
func (EditCheckResultValidationError) Cause ¶
func (e EditCheckResultValidationError) Cause() error
Cause function returns cause value.
func (EditCheckResultValidationError) Error ¶
func (e EditCheckResultValidationError) Error() string
Error satisfies the builtin error interface
func (EditCheckResultValidationError) ErrorName ¶
func (e EditCheckResultValidationError) ErrorName() string
ErrorName returns error name.
func (EditCheckResultValidationError) Field ¶
func (e EditCheckResultValidationError) Field() string
Field function returns field value.
func (EditCheckResultValidationError) Key ¶
func (e EditCheckResultValidationError) Key() bool
Key function returns key value.
func (EditCheckResultValidationError) Reason ¶
func (e EditCheckResultValidationError) Reason() string
Reason function returns reason value.
type ExpandRequest ¶
type ExpandRequest struct { // The Expand API returns the effective userset given an ⟨object#relation⟩ // pair and an optional zookie. Unlike the Read API, Expand follows indirect // references expressed through userset rewrite rules. Userset *ObjectAndRelation `protobuf:"bytes,1,opt,name=userset,proto3" json:"userset,omitempty"` AtRevision *Zookie `protobuf:"bytes,2,opt,name=at_revision,json=atRevision,proto3" json:"at_revision,omitempty"` // contains filtered or unexported fields }
func (*ExpandRequest) Descriptor
deprecated
func (*ExpandRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExpandRequest.ProtoReflect.Descriptor instead.
func (*ExpandRequest) GetAtRevision ¶
func (x *ExpandRequest) GetAtRevision() *Zookie
func (*ExpandRequest) GetUserset ¶
func (x *ExpandRequest) GetUserset() *ObjectAndRelation
func (*ExpandRequest) HandwrittenValidate ¶ added in v0.4.0
func (m *ExpandRequest) HandwrittenValidate() error
func (*ExpandRequest) ProtoMessage ¶
func (*ExpandRequest) ProtoMessage()
func (*ExpandRequest) ProtoReflect ¶
func (x *ExpandRequest) ProtoReflect() protoreflect.Message
func (*ExpandRequest) Reset ¶
func (x *ExpandRequest) Reset()
func (*ExpandRequest) String ¶
func (x *ExpandRequest) String() string
func (*ExpandRequest) Validate ¶
func (m *ExpandRequest) Validate() error
Validate checks the field values on ExpandRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ExpandRequestValidationError ¶
type ExpandRequestValidationError struct {
// contains filtered or unexported fields
}
ExpandRequestValidationError is the validation error returned by ExpandRequest.Validate if the designated constraints aren't met.
func (ExpandRequestValidationError) Cause ¶
func (e ExpandRequestValidationError) Cause() error
Cause function returns cause value.
func (ExpandRequestValidationError) Error ¶
func (e ExpandRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ExpandRequestValidationError) ErrorName ¶
func (e ExpandRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ExpandRequestValidationError) Field ¶
func (e ExpandRequestValidationError) Field() string
Field function returns field value.
func (ExpandRequestValidationError) Key ¶
func (e ExpandRequestValidationError) Key() bool
Key function returns key value.
func (ExpandRequestValidationError) Reason ¶
func (e ExpandRequestValidationError) Reason() string
Reason function returns reason value.
type ExpandResponse ¶
type ExpandResponse struct { // The result is represented by a userset tree whose leaf nodes are user IDs // or usersets pointing to other ⟨object#relation⟩ pairs, and intermediate // nodes represent union, intersection, or exclusion operators. TreeNode *RelationTupleTreeNode `protobuf:"bytes,1,opt,name=tree_node,json=treeNode,proto3" json:"tree_node,omitempty"` Revision *Zookie `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
func (*ExpandResponse) Descriptor
deprecated
func (*ExpandResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExpandResponse.ProtoReflect.Descriptor instead.
func (*ExpandResponse) GetRevision ¶
func (x *ExpandResponse) GetRevision() *Zookie
func (*ExpandResponse) GetTreeNode ¶
func (x *ExpandResponse) GetTreeNode() *RelationTupleTreeNode
func (*ExpandResponse) ProtoMessage ¶
func (*ExpandResponse) ProtoMessage()
func (*ExpandResponse) ProtoReflect ¶
func (x *ExpandResponse) ProtoReflect() protoreflect.Message
func (*ExpandResponse) Reset ¶
func (x *ExpandResponse) Reset()
func (*ExpandResponse) String ¶
func (x *ExpandResponse) String() string
func (*ExpandResponse) Validate ¶
func (m *ExpandResponse) Validate() error
Validate checks the field values on ExpandResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ExpandResponseValidationError ¶
type ExpandResponseValidationError struct {
// contains filtered or unexported fields
}
ExpandResponseValidationError is the validation error returned by ExpandResponse.Validate if the designated constraints aren't met.
func (ExpandResponseValidationError) Cause ¶
func (e ExpandResponseValidationError) Cause() error
Cause function returns cause value.
func (ExpandResponseValidationError) Error ¶
func (e ExpandResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ExpandResponseValidationError) ErrorName ¶
func (e ExpandResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ExpandResponseValidationError) Field ¶
func (e ExpandResponseValidationError) Field() string
Field function returns field value.
func (ExpandResponseValidationError) Key ¶
func (e ExpandResponseValidationError) Key() bool
Key function returns key value.
func (ExpandResponseValidationError) Reason ¶
func (e ExpandResponseValidationError) Reason() string
Reason function returns reason value.
type FormatSchemaRequest ¶ added in v0.1.0
type FormatSchemaRequest struct { Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` // contains filtered or unexported fields }
func (*FormatSchemaRequest) Descriptor
deprecated
added in
v0.1.0
func (*FormatSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use FormatSchemaRequest.ProtoReflect.Descriptor instead.
func (*FormatSchemaRequest) GetSchema ¶ added in v0.1.0
func (x *FormatSchemaRequest) GetSchema() string
func (*FormatSchemaRequest) ProtoMessage ¶ added in v0.1.0
func (*FormatSchemaRequest) ProtoMessage()
func (*FormatSchemaRequest) ProtoReflect ¶ added in v0.1.0
func (x *FormatSchemaRequest) ProtoReflect() protoreflect.Message
func (*FormatSchemaRequest) Reset ¶ added in v0.1.0
func (x *FormatSchemaRequest) Reset()
func (*FormatSchemaRequest) String ¶ added in v0.1.0
func (x *FormatSchemaRequest) String() string
func (*FormatSchemaRequest) Validate ¶ added in v0.1.0
func (m *FormatSchemaRequest) Validate() error
Validate checks the field values on FormatSchemaRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type FormatSchemaRequestValidationError ¶ added in v0.1.0
type FormatSchemaRequestValidationError struct {
// contains filtered or unexported fields
}
FormatSchemaRequestValidationError is the validation error returned by FormatSchemaRequest.Validate if the designated constraints aren't met.
func (FormatSchemaRequestValidationError) Cause ¶ added in v0.1.0
func (e FormatSchemaRequestValidationError) Cause() error
Cause function returns cause value.
func (FormatSchemaRequestValidationError) Error ¶ added in v0.1.0
func (e FormatSchemaRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FormatSchemaRequestValidationError) ErrorName ¶ added in v0.1.0
func (e FormatSchemaRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FormatSchemaRequestValidationError) Field ¶ added in v0.1.0
func (e FormatSchemaRequestValidationError) Field() string
Field function returns field value.
func (FormatSchemaRequestValidationError) Key ¶ added in v0.1.0
func (e FormatSchemaRequestValidationError) Key() bool
Key function returns key value.
func (FormatSchemaRequestValidationError) Reason ¶ added in v0.1.0
func (e FormatSchemaRequestValidationError) Reason() string
Reason function returns reason value.
type FormatSchemaResponse ¶ added in v0.1.0
type FormatSchemaResponse struct { Error *DeveloperError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` FormattedSchema string `protobuf:"bytes,2,opt,name=formatted_schema,json=formattedSchema,proto3" json:"formatted_schema,omitempty"` // contains filtered or unexported fields }
func (*FormatSchemaResponse) Descriptor
deprecated
added in
v0.1.0
func (*FormatSchemaResponse) Descriptor() ([]byte, []int)
Deprecated: Use FormatSchemaResponse.ProtoReflect.Descriptor instead.
func (*FormatSchemaResponse) GetError ¶ added in v0.1.0
func (x *FormatSchemaResponse) GetError() *DeveloperError
func (*FormatSchemaResponse) GetFormattedSchema ¶ added in v0.1.0
func (x *FormatSchemaResponse) GetFormattedSchema() string
func (*FormatSchemaResponse) ProtoMessage ¶ added in v0.1.0
func (*FormatSchemaResponse) ProtoMessage()
func (*FormatSchemaResponse) ProtoReflect ¶ added in v0.1.0
func (x *FormatSchemaResponse) ProtoReflect() protoreflect.Message
func (*FormatSchemaResponse) Reset ¶ added in v0.1.0
func (x *FormatSchemaResponse) Reset()
func (*FormatSchemaResponse) String ¶ added in v0.1.0
func (x *FormatSchemaResponse) String() string
func (*FormatSchemaResponse) Validate ¶ added in v0.1.0
func (m *FormatSchemaResponse) Validate() error
Validate checks the field values on FormatSchemaResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type FormatSchemaResponseValidationError ¶ added in v0.1.0
type FormatSchemaResponseValidationError struct {
// contains filtered or unexported fields
}
FormatSchemaResponseValidationError is the validation error returned by FormatSchemaResponse.Validate if the designated constraints aren't met.
func (FormatSchemaResponseValidationError) Cause ¶ added in v0.1.0
func (e FormatSchemaResponseValidationError) Cause() error
Cause function returns cause value.
func (FormatSchemaResponseValidationError) Error ¶ added in v0.1.0
func (e FormatSchemaResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FormatSchemaResponseValidationError) ErrorName ¶ added in v0.1.0
func (e FormatSchemaResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FormatSchemaResponseValidationError) Field ¶ added in v0.1.0
func (e FormatSchemaResponseValidationError) Field() string
Field function returns field value.
func (FormatSchemaResponseValidationError) Key ¶ added in v0.1.0
func (e FormatSchemaResponseValidationError) Key() bool
Key function returns key value.
func (FormatSchemaResponseValidationError) Reason ¶ added in v0.1.0
func (e FormatSchemaResponseValidationError) Reason() string
Reason function returns reason value.
type LookupRequest ¶
type LookupRequest struct { ObjectRelation *RelationReference `protobuf:"bytes,1,opt,name=object_relation,json=objectRelation,proto3" json:"object_relation,omitempty"` User *ObjectAndRelation `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` AtRevision *Zookie `protobuf:"bytes,3,opt,name=at_revision,json=atRevision,proto3" json:"at_revision,omitempty"` PageReference string `protobuf:"bytes,4,opt,name=page_reference,json=pageReference,proto3" json:"page_reference,omitempty"` Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*LookupRequest) Descriptor
deprecated
func (*LookupRequest) Descriptor() ([]byte, []int)
Deprecated: Use LookupRequest.ProtoReflect.Descriptor instead.
func (*LookupRequest) GetAtRevision ¶
func (x *LookupRequest) GetAtRevision() *Zookie
func (*LookupRequest) GetLimit ¶
func (x *LookupRequest) GetLimit() uint32
func (*LookupRequest) GetObjectRelation ¶
func (x *LookupRequest) GetObjectRelation() *RelationReference
func (*LookupRequest) GetPageReference ¶
func (x *LookupRequest) GetPageReference() string
func (*LookupRequest) GetUser ¶
func (x *LookupRequest) GetUser() *ObjectAndRelation
func (*LookupRequest) HandwrittenValidate ¶ added in v0.4.0
func (m *LookupRequest) HandwrittenValidate() error
func (*LookupRequest) ProtoMessage ¶
func (*LookupRequest) ProtoMessage()
func (*LookupRequest) ProtoReflect ¶
func (x *LookupRequest) ProtoReflect() protoreflect.Message
func (*LookupRequest) Reset ¶
func (x *LookupRequest) Reset()
func (*LookupRequest) String ¶
func (x *LookupRequest) String() string
func (*LookupRequest) Validate ¶
func (m *LookupRequest) Validate() error
Validate checks the field values on LookupRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type LookupRequestValidationError ¶
type LookupRequestValidationError struct {
// contains filtered or unexported fields
}
LookupRequestValidationError is the validation error returned by LookupRequest.Validate if the designated constraints aren't met.
func (LookupRequestValidationError) Cause ¶
func (e LookupRequestValidationError) Cause() error
Cause function returns cause value.
func (LookupRequestValidationError) Error ¶
func (e LookupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LookupRequestValidationError) ErrorName ¶
func (e LookupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LookupRequestValidationError) Field ¶
func (e LookupRequestValidationError) Field() string
Field function returns field value.
func (LookupRequestValidationError) Key ¶
func (e LookupRequestValidationError) Key() bool
Key function returns key value.
func (LookupRequestValidationError) Reason ¶
func (e LookupRequestValidationError) Reason() string
Reason function returns reason value.
type LookupResponse ¶
type LookupResponse struct { ResolvedObjectIds []string `protobuf:"bytes,1,rep,name=resolved_object_ids,json=resolvedObjectIds,proto3" json:"resolved_object_ids,omitempty"` NextPageReference string `protobuf:"bytes,2,opt,name=next_page_reference,json=nextPageReference,proto3" json:"next_page_reference,omitempty"` Revision *Zookie `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
func (*LookupResponse) Descriptor
deprecated
func (*LookupResponse) Descriptor() ([]byte, []int)
Deprecated: Use LookupResponse.ProtoReflect.Descriptor instead.
func (*LookupResponse) GetNextPageReference ¶
func (x *LookupResponse) GetNextPageReference() string
func (*LookupResponse) GetResolvedObjectIds ¶
func (x *LookupResponse) GetResolvedObjectIds() []string
func (*LookupResponse) GetRevision ¶
func (x *LookupResponse) GetRevision() *Zookie
func (*LookupResponse) ProtoMessage ¶
func (*LookupResponse) ProtoMessage()
func (*LookupResponse) ProtoReflect ¶
func (x *LookupResponse) ProtoReflect() protoreflect.Message
func (*LookupResponse) Reset ¶
func (x *LookupResponse) Reset()
func (*LookupResponse) String ¶
func (x *LookupResponse) String() string
func (*LookupResponse) Validate ¶
func (m *LookupResponse) Validate() error
Validate checks the field values on LookupResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type LookupResponseValidationError ¶
type LookupResponseValidationError struct {
// contains filtered or unexported fields
}
LookupResponseValidationError is the validation error returned by LookupResponse.Validate if the designated constraints aren't met.
func (LookupResponseValidationError) Cause ¶
func (e LookupResponseValidationError) Cause() error
Cause function returns cause value.
func (LookupResponseValidationError) Error ¶
func (e LookupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LookupResponseValidationError) ErrorName ¶
func (e LookupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LookupResponseValidationError) Field ¶
func (e LookupResponseValidationError) Field() string
Field function returns field value.
func (LookupResponseValidationError) Key ¶
func (e LookupResponseValidationError) Key() bool
Key function returns key value.
func (LookupResponseValidationError) Reason ¶
func (e LookupResponseValidationError) Reason() string
Reason function returns reason value.
type LookupShareRequest ¶
type LookupShareRequest struct { // contains filtered or unexported fields }
func (*LookupShareRequest) Descriptor
deprecated
func (*LookupShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use LookupShareRequest.ProtoReflect.Descriptor instead.
func (*LookupShareRequest) GetShareReference ¶
func (x *LookupShareRequest) GetShareReference() string
func (*LookupShareRequest) ProtoMessage ¶
func (*LookupShareRequest) ProtoMessage()
func (*LookupShareRequest) ProtoReflect ¶
func (x *LookupShareRequest) ProtoReflect() protoreflect.Message
func (*LookupShareRequest) Reset ¶
func (x *LookupShareRequest) Reset()
func (*LookupShareRequest) String ¶
func (x *LookupShareRequest) String() string
func (*LookupShareRequest) Validate ¶
func (m *LookupShareRequest) Validate() error
Validate checks the field values on LookupShareRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type LookupShareRequestValidationError ¶
type LookupShareRequestValidationError struct {
// contains filtered or unexported fields
}
LookupShareRequestValidationError is the validation error returned by LookupShareRequest.Validate if the designated constraints aren't met.
func (LookupShareRequestValidationError) Cause ¶
func (e LookupShareRequestValidationError) Cause() error
Cause function returns cause value.
func (LookupShareRequestValidationError) Error ¶
func (e LookupShareRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LookupShareRequestValidationError) ErrorName ¶
func (e LookupShareRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LookupShareRequestValidationError) Field ¶
func (e LookupShareRequestValidationError) Field() string
Field function returns field value.
func (LookupShareRequestValidationError) Key ¶
func (e LookupShareRequestValidationError) Key() bool
Key function returns key value.
func (LookupShareRequestValidationError) Reason ¶
func (e LookupShareRequestValidationError) Reason() string
Reason function returns reason value.
type LookupShareResponse ¶
type LookupShareResponse struct { // contains filtered or unexported fields }
func (*LookupShareResponse) Descriptor
deprecated
func (*LookupShareResponse) Descriptor() ([]byte, []int)
Deprecated: Use LookupShareResponse.ProtoReflect.Descriptor instead.
func (*LookupShareResponse) GetAssertionsYaml ¶
func (x *LookupShareResponse) GetAssertionsYaml() string
func (*LookupShareResponse) GetRelationshipsYaml ¶
func (x *LookupShareResponse) GetRelationshipsYaml() string
func (*LookupShareResponse) GetSchema ¶
func (x *LookupShareResponse) GetSchema() string
func (*LookupShareResponse) GetStatus ¶
func (x *LookupShareResponse) GetStatus() LookupShareResponse_LookupStatus
func (*LookupShareResponse) GetValidationYaml ¶
func (x *LookupShareResponse) GetValidationYaml() string
func (*LookupShareResponse) ProtoMessage ¶
func (*LookupShareResponse) ProtoMessage()
func (*LookupShareResponse) ProtoReflect ¶
func (x *LookupShareResponse) ProtoReflect() protoreflect.Message
func (*LookupShareResponse) Reset ¶
func (x *LookupShareResponse) Reset()
func (*LookupShareResponse) String ¶
func (x *LookupShareResponse) String() string
func (*LookupShareResponse) Validate ¶
func (m *LookupShareResponse) Validate() error
Validate checks the field values on LookupShareResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type LookupShareResponseValidationError ¶
type LookupShareResponseValidationError struct {
// contains filtered or unexported fields
}
LookupShareResponseValidationError is the validation error returned by LookupShareResponse.Validate if the designated constraints aren't met.
func (LookupShareResponseValidationError) Cause ¶
func (e LookupShareResponseValidationError) Cause() error
Cause function returns cause value.
func (LookupShareResponseValidationError) Error ¶
func (e LookupShareResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LookupShareResponseValidationError) ErrorName ¶
func (e LookupShareResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LookupShareResponseValidationError) Field ¶
func (e LookupShareResponseValidationError) Field() string
Field function returns field value.
func (LookupShareResponseValidationError) Key ¶
func (e LookupShareResponseValidationError) Key() bool
Key function returns key value.
func (LookupShareResponseValidationError) Reason ¶
func (e LookupShareResponseValidationError) Reason() string
Reason function returns reason value.
type LookupShareResponse_LookupStatus ¶
type LookupShareResponse_LookupStatus int32
const ()
func (LookupShareResponse_LookupStatus) Descriptor ¶
func (LookupShareResponse_LookupStatus) Descriptor() protoreflect.EnumDescriptor
func (LookupShareResponse_LookupStatus) Enum ¶
func (x LookupShareResponse_LookupStatus) Enum() *LookupShareResponse_LookupStatus
func (LookupShareResponse_LookupStatus) EnumDescriptor
deprecated
func (LookupShareResponse_LookupStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use LookupShareResponse_LookupStatus.Descriptor instead.
func (LookupShareResponse_LookupStatus) Number ¶
func (x LookupShareResponse_LookupStatus) Number() protoreflect.EnumNumber
func (LookupShareResponse_LookupStatus) String ¶
func (x LookupShareResponse_LookupStatus) String() string
func (LookupShareResponse_LookupStatus) Type ¶
func (LookupShareResponse_LookupStatus) Type() protoreflect.EnumType
type Metadata ¶
type Metadata struct { MetadataMessage []*anypb.Any `protobuf:"bytes,1,rep,name=metadata_message,json=metadataMessage,proto3" json:"metadata_message,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetMetadataMessage ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type MetadataValidationError ¶
type MetadataValidationError struct {
// contains filtered or unexported fields
}
MetadataValidationError is the validation error returned by Metadata.Validate if the designated constraints aren't met.
func (MetadataValidationError) Cause ¶
func (e MetadataValidationError) Cause() error
Cause function returns cause value.
func (MetadataValidationError) Error ¶
func (e MetadataValidationError) Error() string
Error satisfies the builtin error interface
func (MetadataValidationError) ErrorName ¶
func (e MetadataValidationError) ErrorName() string
ErrorName returns error name.
func (MetadataValidationError) Field ¶
func (e MetadataValidationError) Field() string
Field function returns field value.
func (MetadataValidationError) Key ¶
func (e MetadataValidationError) Key() bool
Key function returns key value.
func (MetadataValidationError) Reason ¶
func (e MetadataValidationError) Reason() string
Reason function returns reason value.
type NamespaceDefinition ¶
type NamespaceDefinition struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Relation []*Relation `protobuf:"bytes,2,rep,name=relation,proto3" json:"relation,omitempty"` Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*NamespaceDefinition) Descriptor
deprecated
func (*NamespaceDefinition) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceDefinition.ProtoReflect.Descriptor instead.
func (*NamespaceDefinition) GetMetadata ¶
func (x *NamespaceDefinition) GetMetadata() *Metadata
func (*NamespaceDefinition) GetName ¶
func (x *NamespaceDefinition) GetName() string
func (*NamespaceDefinition) GetRelation ¶
func (x *NamespaceDefinition) GetRelation() []*Relation
func (*NamespaceDefinition) ProtoMessage ¶
func (*NamespaceDefinition) ProtoMessage()
func (*NamespaceDefinition) ProtoReflect ¶
func (x *NamespaceDefinition) ProtoReflect() protoreflect.Message
func (*NamespaceDefinition) Reset ¶
func (x *NamespaceDefinition) Reset()
func (*NamespaceDefinition) String ¶
func (x *NamespaceDefinition) String() string
func (*NamespaceDefinition) Validate ¶
func (m *NamespaceDefinition) Validate() error
Validate checks the field values on NamespaceDefinition with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type NamespaceDefinitionValidationError ¶
type NamespaceDefinitionValidationError struct {
// contains filtered or unexported fields
}
NamespaceDefinitionValidationError is the validation error returned by NamespaceDefinition.Validate if the designated constraints aren't met.
func (NamespaceDefinitionValidationError) Cause ¶
func (e NamespaceDefinitionValidationError) Cause() error
Cause function returns cause value.
func (NamespaceDefinitionValidationError) Error ¶
func (e NamespaceDefinitionValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceDefinitionValidationError) ErrorName ¶
func (e NamespaceDefinitionValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceDefinitionValidationError) Field ¶
func (e NamespaceDefinitionValidationError) Field() string
Field function returns field value.
func (NamespaceDefinitionValidationError) Key ¶
func (e NamespaceDefinitionValidationError) Key() bool
Key function returns key value.
func (NamespaceDefinitionValidationError) Reason ¶
func (e NamespaceDefinitionValidationError) Reason() string
Reason function returns reason value.
type NamespaceServiceClient ¶
type NamespaceServiceClient interface { ReadConfig(ctx context.Context, in *ReadConfigRequest, opts ...grpc.CallOption) (*ReadConfigResponse, error) WriteConfig(ctx context.Context, in *WriteConfigRequest, opts ...grpc.CallOption) (*WriteConfigResponse, error) DeleteConfigs(ctx context.Context, in *DeleteConfigsRequest, opts ...grpc.CallOption) (*DeleteConfigsResponse, error) }
NamespaceServiceClient is the client API for NamespaceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewNamespaceServiceClient ¶
func NewNamespaceServiceClient(cc grpc.ClientConnInterface) NamespaceServiceClient
type NamespaceServiceServer ¶
type NamespaceServiceServer interface { ReadConfig(context.Context, *ReadConfigRequest) (*ReadConfigResponse, error) WriteConfig(context.Context, *WriteConfigRequest) (*WriteConfigResponse, error) DeleteConfigs(context.Context, *DeleteConfigsRequest) (*DeleteConfigsResponse, error) // contains filtered or unexported methods }
NamespaceServiceServer is the server API for NamespaceService service. All implementations must embed UnimplementedNamespaceServiceServer for forward compatibility
type ObjectAndRelation ¶
type ObjectAndRelation struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
func (*ObjectAndRelation) Descriptor
deprecated
func (*ObjectAndRelation) Descriptor() ([]byte, []int)
Deprecated: Use ObjectAndRelation.ProtoReflect.Descriptor instead.
func (*ObjectAndRelation) GetNamespace ¶
func (x *ObjectAndRelation) GetNamespace() string
func (*ObjectAndRelation) GetObjectId ¶
func (x *ObjectAndRelation) GetObjectId() string
func (*ObjectAndRelation) GetRelation ¶
func (x *ObjectAndRelation) GetRelation() string
func (*ObjectAndRelation) ProtoMessage ¶
func (*ObjectAndRelation) ProtoMessage()
func (*ObjectAndRelation) ProtoReflect ¶
func (x *ObjectAndRelation) ProtoReflect() protoreflect.Message
func (*ObjectAndRelation) Reset ¶
func (x *ObjectAndRelation) Reset()
func (*ObjectAndRelation) String ¶
func (x *ObjectAndRelation) String() string
func (*ObjectAndRelation) Validate ¶
func (m *ObjectAndRelation) Validate() error
Validate checks the field values on ObjectAndRelation with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ObjectAndRelationValidationError ¶
type ObjectAndRelationValidationError struct {
// contains filtered or unexported fields
}
ObjectAndRelationValidationError is the validation error returned by ObjectAndRelation.Validate if the designated constraints aren't met.
func (ObjectAndRelationValidationError) Cause ¶
func (e ObjectAndRelationValidationError) Cause() error
Cause function returns cause value.
func (ObjectAndRelationValidationError) Error ¶
func (e ObjectAndRelationValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectAndRelationValidationError) ErrorName ¶
func (e ObjectAndRelationValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectAndRelationValidationError) Field ¶
func (e ObjectAndRelationValidationError) Field() string
Field function returns field value.
func (ObjectAndRelationValidationError) Key ¶
func (e ObjectAndRelationValidationError) Key() bool
Key function returns key value.
func (ObjectAndRelationValidationError) Reason ¶
func (e ObjectAndRelationValidationError) Reason() string
Reason function returns reason value.
type ReadConfigRequest ¶
type ReadConfigRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` AtRevision *Zookie `protobuf:"bytes,2,opt,name=at_revision,json=atRevision,proto3" json:"at_revision,omitempty"` // contains filtered or unexported fields }
func (*ReadConfigRequest) Descriptor
deprecated
func (*ReadConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadConfigRequest.ProtoReflect.Descriptor instead.
func (*ReadConfigRequest) GetAtRevision ¶
func (x *ReadConfigRequest) GetAtRevision() *Zookie
func (*ReadConfigRequest) GetNamespace ¶
func (x *ReadConfigRequest) GetNamespace() string
func (*ReadConfigRequest) ProtoMessage ¶
func (*ReadConfigRequest) ProtoMessage()
func (*ReadConfigRequest) ProtoReflect ¶
func (x *ReadConfigRequest) ProtoReflect() protoreflect.Message
func (*ReadConfigRequest) Reset ¶
func (x *ReadConfigRequest) Reset()
func (*ReadConfigRequest) String ¶
func (x *ReadConfigRequest) String() string
func (*ReadConfigRequest) Validate ¶
func (m *ReadConfigRequest) Validate() error
Validate checks the field values on ReadConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReadConfigRequestValidationError ¶
type ReadConfigRequestValidationError struct {
// contains filtered or unexported fields
}
ReadConfigRequestValidationError is the validation error returned by ReadConfigRequest.Validate if the designated constraints aren't met.
func (ReadConfigRequestValidationError) Cause ¶
func (e ReadConfigRequestValidationError) Cause() error
Cause function returns cause value.
func (ReadConfigRequestValidationError) Error ¶
func (e ReadConfigRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReadConfigRequestValidationError) ErrorName ¶
func (e ReadConfigRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReadConfigRequestValidationError) Field ¶
func (e ReadConfigRequestValidationError) Field() string
Field function returns field value.
func (ReadConfigRequestValidationError) Key ¶
func (e ReadConfigRequestValidationError) Key() bool
Key function returns key value.
func (ReadConfigRequestValidationError) Reason ¶
func (e ReadConfigRequestValidationError) Reason() string
Reason function returns reason value.
type ReadConfigResponse ¶
type ReadConfigResponse struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Config *NamespaceDefinition `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` Revision *Zookie `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
func (*ReadConfigResponse) Descriptor
deprecated
func (*ReadConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadConfigResponse.ProtoReflect.Descriptor instead.
func (*ReadConfigResponse) GetConfig ¶
func (x *ReadConfigResponse) GetConfig() *NamespaceDefinition
func (*ReadConfigResponse) GetNamespace ¶
func (x *ReadConfigResponse) GetNamespace() string
func (*ReadConfigResponse) GetRevision ¶
func (x *ReadConfigResponse) GetRevision() *Zookie
func (*ReadConfigResponse) ProtoMessage ¶
func (*ReadConfigResponse) ProtoMessage()
func (*ReadConfigResponse) ProtoReflect ¶
func (x *ReadConfigResponse) ProtoReflect() protoreflect.Message
func (*ReadConfigResponse) Reset ¶
func (x *ReadConfigResponse) Reset()
func (*ReadConfigResponse) String ¶
func (x *ReadConfigResponse) String() string
func (*ReadConfigResponse) Validate ¶
func (m *ReadConfigResponse) Validate() error
Validate checks the field values on ReadConfigResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReadConfigResponseValidationError ¶
type ReadConfigResponseValidationError struct {
// contains filtered or unexported fields
}
ReadConfigResponseValidationError is the validation error returned by ReadConfigResponse.Validate if the designated constraints aren't met.
func (ReadConfigResponseValidationError) Cause ¶
func (e ReadConfigResponseValidationError) Cause() error
Cause function returns cause value.
func (ReadConfigResponseValidationError) Error ¶
func (e ReadConfigResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadConfigResponseValidationError) ErrorName ¶
func (e ReadConfigResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReadConfigResponseValidationError) Field ¶
func (e ReadConfigResponseValidationError) Field() string
Field function returns field value.
func (ReadConfigResponseValidationError) Key ¶
func (e ReadConfigResponseValidationError) Key() bool
Key function returns key value.
func (ReadConfigResponseValidationError) Reason ¶
func (e ReadConfigResponseValidationError) Reason() string
Reason function returns reason value.
type ReadRequest ¶
type ReadRequest struct { // A read request specifies one or multiple tuplesets and an optional zookie. Tuplesets []*RelationTupleFilter `protobuf:"bytes,1,rep,name=tuplesets,proto3" json:"tuplesets,omitempty"` AtRevision *Zookie `protobuf:"bytes,2,opt,name=at_revision,json=atRevision,proto3" json:"at_revision,omitempty"` // contains filtered or unexported fields }
func (*ReadRequest) Descriptor
deprecated
func (*ReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead.
func (*ReadRequest) GetAtRevision ¶
func (x *ReadRequest) GetAtRevision() *Zookie
func (*ReadRequest) GetTuplesets ¶
func (x *ReadRequest) GetTuplesets() []*RelationTupleFilter
func (*ReadRequest) ProtoMessage ¶
func (*ReadRequest) ProtoMessage()
func (*ReadRequest) ProtoReflect ¶
func (x *ReadRequest) ProtoReflect() protoreflect.Message
func (*ReadRequest) Reset ¶
func (x *ReadRequest) Reset()
func (*ReadRequest) String ¶
func (x *ReadRequest) String() string
func (*ReadRequest) Validate ¶
func (m *ReadRequest) Validate() error
Validate checks the field values on ReadRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReadRequestValidationError ¶
type ReadRequestValidationError struct {
// contains filtered or unexported fields
}
ReadRequestValidationError is the validation error returned by ReadRequest.Validate if the designated constraints aren't met.
func (ReadRequestValidationError) Cause ¶
func (e ReadRequestValidationError) Cause() error
Cause function returns cause value.
func (ReadRequestValidationError) Error ¶
func (e ReadRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReadRequestValidationError) ErrorName ¶
func (e ReadRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReadRequestValidationError) Field ¶
func (e ReadRequestValidationError) Field() string
Field function returns field value.
func (ReadRequestValidationError) Key ¶
func (e ReadRequestValidationError) Key() bool
Key function returns key value.
func (ReadRequestValidationError) Reason ¶
func (e ReadRequestValidationError) Reason() string
Reason function returns reason value.
type ReadResponse ¶
type ReadResponse struct { Tuplesets []*ReadResponse_Tupleset `protobuf:"bytes,1,rep,name=tuplesets,proto3" json:"tuplesets,omitempty"` Revision *Zookie `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
func (*ReadResponse) Descriptor
deprecated
func (*ReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadResponse.ProtoReflect.Descriptor instead.
func (*ReadResponse) GetRevision ¶
func (x *ReadResponse) GetRevision() *Zookie
func (*ReadResponse) GetTuplesets ¶
func (x *ReadResponse) GetTuplesets() []*ReadResponse_Tupleset
func (*ReadResponse) ProtoMessage ¶
func (*ReadResponse) ProtoMessage()
func (*ReadResponse) ProtoReflect ¶
func (x *ReadResponse) ProtoReflect() protoreflect.Message
func (*ReadResponse) Reset ¶
func (x *ReadResponse) Reset()
func (*ReadResponse) String ¶
func (x *ReadResponse) String() string
func (*ReadResponse) Validate ¶
func (m *ReadResponse) Validate() error
Validate checks the field values on ReadResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReadResponseValidationError ¶
type ReadResponseValidationError struct {
// contains filtered or unexported fields
}
ReadResponseValidationError is the validation error returned by ReadResponse.Validate if the designated constraints aren't met.
func (ReadResponseValidationError) Cause ¶
func (e ReadResponseValidationError) Cause() error
Cause function returns cause value.
func (ReadResponseValidationError) Error ¶
func (e ReadResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadResponseValidationError) ErrorName ¶
func (e ReadResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReadResponseValidationError) Field ¶
func (e ReadResponseValidationError) Field() string
Field function returns field value.
func (ReadResponseValidationError) Key ¶
func (e ReadResponseValidationError) Key() bool
Key function returns key value.
func (ReadResponseValidationError) Reason ¶
func (e ReadResponseValidationError) Reason() string
Reason function returns reason value.
type ReadResponse_Tupleset ¶
type ReadResponse_Tupleset struct { Tuples []*RelationTuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"` // contains filtered or unexported fields }
func (*ReadResponse_Tupleset) Descriptor
deprecated
func (*ReadResponse_Tupleset) Descriptor() ([]byte, []int)
Deprecated: Use ReadResponse_Tupleset.ProtoReflect.Descriptor instead.
func (*ReadResponse_Tupleset) GetTuples ¶
func (x *ReadResponse_Tupleset) GetTuples() []*RelationTuple
func (*ReadResponse_Tupleset) ProtoMessage ¶
func (*ReadResponse_Tupleset) ProtoMessage()
func (*ReadResponse_Tupleset) ProtoReflect ¶
func (x *ReadResponse_Tupleset) ProtoReflect() protoreflect.Message
func (*ReadResponse_Tupleset) Reset ¶
func (x *ReadResponse_Tupleset) Reset()
func (*ReadResponse_Tupleset) String ¶
func (x *ReadResponse_Tupleset) String() string
func (*ReadResponse_Tupleset) Validate ¶
func (m *ReadResponse_Tupleset) Validate() error
Validate checks the field values on ReadResponse_Tupleset with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReadResponse_TuplesetValidationError ¶
type ReadResponse_TuplesetValidationError struct {
// contains filtered or unexported fields
}
ReadResponse_TuplesetValidationError is the validation error returned by ReadResponse_Tupleset.Validate if the designated constraints aren't met.
func (ReadResponse_TuplesetValidationError) Cause ¶
func (e ReadResponse_TuplesetValidationError) Cause() error
Cause function returns cause value.
func (ReadResponse_TuplesetValidationError) Error ¶
func (e ReadResponse_TuplesetValidationError) Error() string
Error satisfies the builtin error interface
func (ReadResponse_TuplesetValidationError) ErrorName ¶
func (e ReadResponse_TuplesetValidationError) ErrorName() string
ErrorName returns error name.
func (ReadResponse_TuplesetValidationError) Field ¶
func (e ReadResponse_TuplesetValidationError) Field() string
Field function returns field value.
func (ReadResponse_TuplesetValidationError) Key ¶
func (e ReadResponse_TuplesetValidationError) Key() bool
Key function returns key value.
func (ReadResponse_TuplesetValidationError) Reason ¶
func (e ReadResponse_TuplesetValidationError) Reason() string
Reason function returns reason value.
type Relation ¶
type Relation struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` UsersetRewrite *UsersetRewrite `protobuf:"bytes,2,opt,name=userset_rewrite,json=usersetRewrite,proto3" json:"userset_rewrite,omitempty"` TypeInformation *TypeInformation `protobuf:"bytes,3,opt,name=type_information,json=typeInformation,proto3" json:"type_information,omitempty"` Metadata *Metadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*Relation) Descriptor
deprecated
func (*Relation) GetMetadata ¶
func (*Relation) GetTypeInformation ¶
func (x *Relation) GetTypeInformation() *TypeInformation
func (*Relation) GetUsersetRewrite ¶
func (x *Relation) GetUsersetRewrite() *UsersetRewrite
func (*Relation) ProtoMessage ¶
func (*Relation) ProtoMessage()
func (*Relation) ProtoReflect ¶
func (x *Relation) ProtoReflect() protoreflect.Message
type RelationReference ¶
type RelationReference struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
func (*RelationReference) Descriptor
deprecated
func (*RelationReference) Descriptor() ([]byte, []int)
Deprecated: Use RelationReference.ProtoReflect.Descriptor instead.
func (*RelationReference) GetNamespace ¶
func (x *RelationReference) GetNamespace() string
func (*RelationReference) GetRelation ¶
func (x *RelationReference) GetRelation() string
func (*RelationReference) ProtoMessage ¶
func (*RelationReference) ProtoMessage()
func (*RelationReference) ProtoReflect ¶
func (x *RelationReference) ProtoReflect() protoreflect.Message
func (*RelationReference) Reset ¶
func (x *RelationReference) Reset()
func (*RelationReference) String ¶
func (x *RelationReference) String() string
func (*RelationReference) Validate ¶
func (m *RelationReference) Validate() error
Validate checks the field values on RelationReference with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RelationReferenceValidationError ¶
type RelationReferenceValidationError struct {
// contains filtered or unexported fields
}
RelationReferenceValidationError is the validation error returned by RelationReference.Validate if the designated constraints aren't met.
func (RelationReferenceValidationError) Cause ¶
func (e RelationReferenceValidationError) Cause() error
Cause function returns cause value.
func (RelationReferenceValidationError) Error ¶
func (e RelationReferenceValidationError) Error() string
Error satisfies the builtin error interface
func (RelationReferenceValidationError) ErrorName ¶
func (e RelationReferenceValidationError) ErrorName() string
ErrorName returns error name.
func (RelationReferenceValidationError) Field ¶
func (e RelationReferenceValidationError) Field() string
Field function returns field value.
func (RelationReferenceValidationError) Key ¶
func (e RelationReferenceValidationError) Key() bool
Key function returns key value.
func (RelationReferenceValidationError) Reason ¶
func (e RelationReferenceValidationError) Reason() string
Reason function returns reason value.
type RelationTuple ¶
type RelationTuple struct { // Each tupleset specifies keys of a set of relation tuples. The set can // include a single tuple key, or all tuples with a given object ID or // userset in a namespace, optionally constrained by a relation name. // // examples: // doc:readme#viewer@group:eng#member (fully specified) // doc:*#*#group:eng#member (all tuples that this userset relates to) // doc:12345#*#* (all tuples with a direct relationship to a document) // doc:12345#writer#* (all tuples with direct write relationship with the // document) doc:#writer#group:eng#member (all tuples that eng group has write // relationship) ObjectAndRelation *ObjectAndRelation `protobuf:"bytes,1,opt,name=object_and_relation,json=objectAndRelation,proto3" json:"object_and_relation,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*RelationTuple) Descriptor
deprecated
func (*RelationTuple) Descriptor() ([]byte, []int)
Deprecated: Use RelationTuple.ProtoReflect.Descriptor instead.
func (*RelationTuple) GetObjectAndRelation ¶
func (x *RelationTuple) GetObjectAndRelation() *ObjectAndRelation
func (*RelationTuple) GetUser ¶
func (x *RelationTuple) GetUser() *User
func (*RelationTuple) HandwrittenValidate ¶ added in v0.4.0
func (m *RelationTuple) HandwrittenValidate() error
func (*RelationTuple) ProtoMessage ¶
func (*RelationTuple) ProtoMessage()
func (*RelationTuple) ProtoReflect ¶
func (x *RelationTuple) ProtoReflect() protoreflect.Message
func (*RelationTuple) Reset ¶
func (x *RelationTuple) Reset()
func (*RelationTuple) String ¶
func (x *RelationTuple) String() string
func (*RelationTuple) Validate ¶
func (m *RelationTuple) Validate() error
Validate checks the field values on RelationTuple with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RelationTupleFilter ¶
type RelationTupleFilter struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Setting any of these fields requires the appropriate filter type to be // added to the filters list as well ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"` Userset *ObjectAndRelation `protobuf:"bytes,5,opt,name=userset,proto3" json:"userset,omitempty"` Filters []RelationTupleFilter_Filter `protobuf:"varint,6,rep,packed,name=filters,proto3,enum=authzed.api.v0.RelationTupleFilter_Filter" json:"filters,omitempty"` // contains filtered or unexported fields }
func (*RelationTupleFilter) Descriptor
deprecated
func (*RelationTupleFilter) Descriptor() ([]byte, []int)
Deprecated: Use RelationTupleFilter.ProtoReflect.Descriptor instead.
func (*RelationTupleFilter) GetFilters ¶
func (x *RelationTupleFilter) GetFilters() []RelationTupleFilter_Filter
func (*RelationTupleFilter) GetNamespace ¶
func (x *RelationTupleFilter) GetNamespace() string
func (*RelationTupleFilter) GetObjectId ¶
func (x *RelationTupleFilter) GetObjectId() string
func (*RelationTupleFilter) GetRelation ¶
func (x *RelationTupleFilter) GetRelation() string
func (*RelationTupleFilter) GetUserset ¶
func (x *RelationTupleFilter) GetUserset() *ObjectAndRelation
func (*RelationTupleFilter) ProtoMessage ¶
func (*RelationTupleFilter) ProtoMessage()
func (*RelationTupleFilter) ProtoReflect ¶
func (x *RelationTupleFilter) ProtoReflect() protoreflect.Message
func (*RelationTupleFilter) Reset ¶
func (x *RelationTupleFilter) Reset()
func (*RelationTupleFilter) String ¶
func (x *RelationTupleFilter) String() string
func (*RelationTupleFilter) Validate ¶
func (m *RelationTupleFilter) Validate() error
Validate checks the field values on RelationTupleFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RelationTupleFilterValidationError ¶
type RelationTupleFilterValidationError struct {
// contains filtered or unexported fields
}
RelationTupleFilterValidationError is the validation error returned by RelationTupleFilter.Validate if the designated constraints aren't met.
func (RelationTupleFilterValidationError) Cause ¶
func (e RelationTupleFilterValidationError) Cause() error
Cause function returns cause value.
func (RelationTupleFilterValidationError) Error ¶
func (e RelationTupleFilterValidationError) Error() string
Error satisfies the builtin error interface
func (RelationTupleFilterValidationError) ErrorName ¶
func (e RelationTupleFilterValidationError) ErrorName() string
ErrorName returns error name.
func (RelationTupleFilterValidationError) Field ¶
func (e RelationTupleFilterValidationError) Field() string
Field function returns field value.
func (RelationTupleFilterValidationError) Key ¶
func (e RelationTupleFilterValidationError) Key() bool
Key function returns key value.
func (RelationTupleFilterValidationError) Reason ¶
func (e RelationTupleFilterValidationError) Reason() string
Reason function returns reason value.
type RelationTupleFilter_Filter ¶
type RelationTupleFilter_Filter int32
const ( RelationTupleFilter_UNKNOWN RelationTupleFilter_Filter = 0 RelationTupleFilter_OBJECT_ID RelationTupleFilter_Filter = 1 RelationTupleFilter_RELATION RelationTupleFilter_Filter = 2 RelationTupleFilter_USERSET RelationTupleFilter_Filter = 4 )
func (RelationTupleFilter_Filter) Descriptor ¶
func (RelationTupleFilter_Filter) Descriptor() protoreflect.EnumDescriptor
func (RelationTupleFilter_Filter) Enum ¶
func (x RelationTupleFilter_Filter) Enum() *RelationTupleFilter_Filter
func (RelationTupleFilter_Filter) EnumDescriptor
deprecated
func (RelationTupleFilter_Filter) EnumDescriptor() ([]byte, []int)
Deprecated: Use RelationTupleFilter_Filter.Descriptor instead.
func (RelationTupleFilter_Filter) Number ¶
func (x RelationTupleFilter_Filter) Number() protoreflect.EnumNumber
func (RelationTupleFilter_Filter) String ¶
func (x RelationTupleFilter_Filter) String() string
func (RelationTupleFilter_Filter) Type ¶
func (RelationTupleFilter_Filter) Type() protoreflect.EnumType
type RelationTupleTreeNode ¶
type RelationTupleTreeNode struct { // Types that are assignable to NodeType: // *RelationTupleTreeNode_IntermediateNode // *RelationTupleTreeNode_LeafNode NodeType isRelationTupleTreeNode_NodeType `protobuf_oneof:"node_type"` Expanded *ObjectAndRelation `protobuf:"bytes,3,opt,name=expanded,proto3" json:"expanded,omitempty"` // contains filtered or unexported fields }
func (*RelationTupleTreeNode) Descriptor
deprecated
func (*RelationTupleTreeNode) Descriptor() ([]byte, []int)
Deprecated: Use RelationTupleTreeNode.ProtoReflect.Descriptor instead.
func (*RelationTupleTreeNode) GetExpanded ¶
func (x *RelationTupleTreeNode) GetExpanded() *ObjectAndRelation
func (*RelationTupleTreeNode) GetIntermediateNode ¶
func (x *RelationTupleTreeNode) GetIntermediateNode() *SetOperationUserset
func (*RelationTupleTreeNode) GetLeafNode ¶
func (x *RelationTupleTreeNode) GetLeafNode() *DirectUserset
func (*RelationTupleTreeNode) GetNodeType ¶
func (m *RelationTupleTreeNode) GetNodeType() isRelationTupleTreeNode_NodeType
func (*RelationTupleTreeNode) ProtoMessage ¶
func (*RelationTupleTreeNode) ProtoMessage()
func (*RelationTupleTreeNode) ProtoReflect ¶
func (x *RelationTupleTreeNode) ProtoReflect() protoreflect.Message
func (*RelationTupleTreeNode) Reset ¶
func (x *RelationTupleTreeNode) Reset()
func (*RelationTupleTreeNode) String ¶
func (x *RelationTupleTreeNode) String() string
func (*RelationTupleTreeNode) Validate ¶
func (m *RelationTupleTreeNode) Validate() error
Validate checks the field values on RelationTupleTreeNode with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RelationTupleTreeNodeValidationError ¶
type RelationTupleTreeNodeValidationError struct {
// contains filtered or unexported fields
}
RelationTupleTreeNodeValidationError is the validation error returned by RelationTupleTreeNode.Validate if the designated constraints aren't met.
func (RelationTupleTreeNodeValidationError) Cause ¶
func (e RelationTupleTreeNodeValidationError) Cause() error
Cause function returns cause value.
func (RelationTupleTreeNodeValidationError) Error ¶
func (e RelationTupleTreeNodeValidationError) Error() string
Error satisfies the builtin error interface
func (RelationTupleTreeNodeValidationError) ErrorName ¶
func (e RelationTupleTreeNodeValidationError) ErrorName() string
ErrorName returns error name.
func (RelationTupleTreeNodeValidationError) Field ¶
func (e RelationTupleTreeNodeValidationError) Field() string
Field function returns field value.
func (RelationTupleTreeNodeValidationError) Key ¶
func (e RelationTupleTreeNodeValidationError) Key() bool
Key function returns key value.
func (RelationTupleTreeNodeValidationError) Reason ¶
func (e RelationTupleTreeNodeValidationError) Reason() string
Reason function returns reason value.
type RelationTupleTreeNode_IntermediateNode ¶
type RelationTupleTreeNode_IntermediateNode struct {
IntermediateNode *SetOperationUserset `protobuf:"bytes,1,opt,name=intermediate_node,json=intermediateNode,proto3,oneof"`
}
type RelationTupleTreeNode_LeafNode ¶
type RelationTupleTreeNode_LeafNode struct {
LeafNode *DirectUserset `protobuf:"bytes,2,opt,name=leaf_node,json=leafNode,proto3,oneof"`
}
type RelationTupleUpdate ¶
type RelationTupleUpdate struct { Operation RelationTupleUpdate_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=authzed.api.v0.RelationTupleUpdate_Operation" json:"operation,omitempty"` Tuple *RelationTuple `protobuf:"bytes,2,opt,name=tuple,proto3" json:"tuple,omitempty"` // contains filtered or unexported fields }
func (*RelationTupleUpdate) Descriptor
deprecated
func (*RelationTupleUpdate) Descriptor() ([]byte, []int)
Deprecated: Use RelationTupleUpdate.ProtoReflect.Descriptor instead.
func (*RelationTupleUpdate) GetOperation ¶
func (x *RelationTupleUpdate) GetOperation() RelationTupleUpdate_Operation
func (*RelationTupleUpdate) GetTuple ¶
func (x *RelationTupleUpdate) GetTuple() *RelationTuple
func (*RelationTupleUpdate) HandwrittenValidate ¶ added in v0.4.0
func (m *RelationTupleUpdate) HandwrittenValidate() error
func (*RelationTupleUpdate) ProtoMessage ¶
func (*RelationTupleUpdate) ProtoMessage()
func (*RelationTupleUpdate) ProtoReflect ¶
func (x *RelationTupleUpdate) ProtoReflect() protoreflect.Message
func (*RelationTupleUpdate) Reset ¶
func (x *RelationTupleUpdate) Reset()
func (*RelationTupleUpdate) String ¶
func (x *RelationTupleUpdate) String() string
func (*RelationTupleUpdate) Validate ¶
func (m *RelationTupleUpdate) Validate() error
Validate checks the field values on RelationTupleUpdate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RelationTupleUpdateValidationError ¶
type RelationTupleUpdateValidationError struct {
// contains filtered or unexported fields
}
RelationTupleUpdateValidationError is the validation error returned by RelationTupleUpdate.Validate if the designated constraints aren't met.
func (RelationTupleUpdateValidationError) Cause ¶
func (e RelationTupleUpdateValidationError) Cause() error
Cause function returns cause value.
func (RelationTupleUpdateValidationError) Error ¶
func (e RelationTupleUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (RelationTupleUpdateValidationError) ErrorName ¶
func (e RelationTupleUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (RelationTupleUpdateValidationError) Field ¶
func (e RelationTupleUpdateValidationError) Field() string
Field function returns field value.
func (RelationTupleUpdateValidationError) Key ¶
func (e RelationTupleUpdateValidationError) Key() bool
Key function returns key value.
func (RelationTupleUpdateValidationError) Reason ¶
func (e RelationTupleUpdateValidationError) Reason() string
Reason function returns reason value.
type RelationTupleUpdate_Operation ¶
type RelationTupleUpdate_Operation int32
const ( RelationTupleUpdate_UNKNOWN RelationTupleUpdate_Operation = 0 RelationTupleUpdate_CREATE RelationTupleUpdate_Operation = 1 RelationTupleUpdate_TOUCH RelationTupleUpdate_Operation = 2 RelationTupleUpdate_DELETE RelationTupleUpdate_Operation = 3 )
func (RelationTupleUpdate_Operation) Descriptor ¶
func (RelationTupleUpdate_Operation) Descriptor() protoreflect.EnumDescriptor
func (RelationTupleUpdate_Operation) Enum ¶
func (x RelationTupleUpdate_Operation) Enum() *RelationTupleUpdate_Operation
func (RelationTupleUpdate_Operation) EnumDescriptor
deprecated
func (RelationTupleUpdate_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use RelationTupleUpdate_Operation.Descriptor instead.
func (RelationTupleUpdate_Operation) Number ¶
func (x RelationTupleUpdate_Operation) Number() protoreflect.EnumNumber
func (RelationTupleUpdate_Operation) String ¶
func (x RelationTupleUpdate_Operation) String() string
func (RelationTupleUpdate_Operation) Type ¶
func (RelationTupleUpdate_Operation) Type() protoreflect.EnumType
type RelationTupleValidationError ¶
type RelationTupleValidationError struct {
// contains filtered or unexported fields
}
RelationTupleValidationError is the validation error returned by RelationTuple.Validate if the designated constraints aren't met.
func (RelationTupleValidationError) Cause ¶
func (e RelationTupleValidationError) Cause() error
Cause function returns cause value.
func (RelationTupleValidationError) Error ¶
func (e RelationTupleValidationError) Error() string
Error satisfies the builtin error interface
func (RelationTupleValidationError) ErrorName ¶
func (e RelationTupleValidationError) ErrorName() string
ErrorName returns error name.
func (RelationTupleValidationError) Field ¶
func (e RelationTupleValidationError) Field() string
Field function returns field value.
func (RelationTupleValidationError) Key ¶
func (e RelationTupleValidationError) Key() bool
Key function returns key value.
func (RelationTupleValidationError) Reason ¶
func (e RelationTupleValidationError) Reason() string
Reason function returns reason value.
type RelationValidationError ¶
type RelationValidationError struct {
// contains filtered or unexported fields
}
RelationValidationError is the validation error returned by Relation.Validate if the designated constraints aren't met.
func (RelationValidationError) Cause ¶
func (e RelationValidationError) Cause() error
Cause function returns cause value.
func (RelationValidationError) Error ¶
func (e RelationValidationError) Error() string
Error satisfies the builtin error interface
func (RelationValidationError) ErrorName ¶
func (e RelationValidationError) ErrorName() string
ErrorName returns error name.
func (RelationValidationError) Field ¶
func (e RelationValidationError) Field() string
Field function returns field value.
func (RelationValidationError) Key ¶
func (e RelationValidationError) Key() bool
Key function returns key value.
func (RelationValidationError) Reason ¶
func (e RelationValidationError) Reason() string
Reason function returns reason value.
type RequestContext ¶
type RequestContext struct { Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` Relationships []*RelationTuple `protobuf:"bytes,2,rep,name=relationships,proto3" json:"relationships,omitempty"` LegacyNsConfigs []*NamespaceDefinition `protobuf:"bytes,3,rep,name=legacy_ns_configs,json=legacyNsConfigs,proto3" json:"legacy_ns_configs,omitempty"` // contains filtered or unexported fields }
func (*RequestContext) Descriptor
deprecated
func (*RequestContext) Descriptor() ([]byte, []int)
Deprecated: Use RequestContext.ProtoReflect.Descriptor instead.
func (*RequestContext) GetLegacyNsConfigs ¶ added in v0.1.0
func (x *RequestContext) GetLegacyNsConfigs() []*NamespaceDefinition
func (*RequestContext) GetRelationships ¶
func (x *RequestContext) GetRelationships() []*RelationTuple
func (*RequestContext) GetSchema ¶
func (x *RequestContext) GetSchema() string
func (*RequestContext) ProtoMessage ¶
func (*RequestContext) ProtoMessage()
func (*RequestContext) ProtoReflect ¶
func (x *RequestContext) ProtoReflect() protoreflect.Message
func (*RequestContext) Reset ¶
func (x *RequestContext) Reset()
func (*RequestContext) String ¶
func (x *RequestContext) String() string
func (*RequestContext) Validate ¶
func (m *RequestContext) Validate() error
Validate checks the field values on RequestContext with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RequestContextValidationError ¶
type RequestContextValidationError struct {
// contains filtered or unexported fields
}
RequestContextValidationError is the validation error returned by RequestContext.Validate if the designated constraints aren't met.
func (RequestContextValidationError) Cause ¶
func (e RequestContextValidationError) Cause() error
Cause function returns cause value.
func (RequestContextValidationError) Error ¶
func (e RequestContextValidationError) Error() string
Error satisfies the builtin error interface
func (RequestContextValidationError) ErrorName ¶
func (e RequestContextValidationError) ErrorName() string
ErrorName returns error name.
func (RequestContextValidationError) Field ¶
func (e RequestContextValidationError) Field() string
Field function returns field value.
func (RequestContextValidationError) Key ¶
func (e RequestContextValidationError) Key() bool
Key function returns key value.
func (RequestContextValidationError) Reason ¶
func (e RequestContextValidationError) Reason() string
Reason function returns reason value.
type SetOperation ¶
type SetOperation struct { Child []*SetOperation_Child `protobuf:"bytes,1,rep,name=child,proto3" json:"child,omitempty"` // contains filtered or unexported fields }
func (*SetOperation) Descriptor
deprecated
func (*SetOperation) Descriptor() ([]byte, []int)
Deprecated: Use SetOperation.ProtoReflect.Descriptor instead.
func (*SetOperation) GetChild ¶
func (x *SetOperation) GetChild() []*SetOperation_Child
func (*SetOperation) ProtoMessage ¶
func (*SetOperation) ProtoMessage()
func (*SetOperation) ProtoReflect ¶
func (x *SetOperation) ProtoReflect() protoreflect.Message
func (*SetOperation) Reset ¶
func (x *SetOperation) Reset()
func (*SetOperation) String ¶
func (x *SetOperation) String() string
func (*SetOperation) Validate ¶
func (m *SetOperation) Validate() error
Validate checks the field values on SetOperation with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SetOperationUserset ¶
type SetOperationUserset struct { Operation SetOperationUserset_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=authzed.api.v0.SetOperationUserset_Operation" json:"operation,omitempty"` ChildNodes []*RelationTupleTreeNode `protobuf:"bytes,2,rep,name=child_nodes,json=childNodes,proto3" json:"child_nodes,omitempty"` // contains filtered or unexported fields }
func (*SetOperationUserset) Descriptor
deprecated
func (*SetOperationUserset) Descriptor() ([]byte, []int)
Deprecated: Use SetOperationUserset.ProtoReflect.Descriptor instead.
func (*SetOperationUserset) GetChildNodes ¶
func (x *SetOperationUserset) GetChildNodes() []*RelationTupleTreeNode
func (*SetOperationUserset) GetOperation ¶
func (x *SetOperationUserset) GetOperation() SetOperationUserset_Operation
func (*SetOperationUserset) ProtoMessage ¶
func (*SetOperationUserset) ProtoMessage()
func (*SetOperationUserset) ProtoReflect ¶
func (x *SetOperationUserset) ProtoReflect() protoreflect.Message
func (*SetOperationUserset) Reset ¶
func (x *SetOperationUserset) Reset()
func (*SetOperationUserset) String ¶
func (x *SetOperationUserset) String() string
func (*SetOperationUserset) Validate ¶
func (m *SetOperationUserset) Validate() error
Validate checks the field values on SetOperationUserset with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SetOperationUsersetValidationError ¶
type SetOperationUsersetValidationError struct {
// contains filtered or unexported fields
}
SetOperationUsersetValidationError is the validation error returned by SetOperationUserset.Validate if the designated constraints aren't met.
func (SetOperationUsersetValidationError) Cause ¶
func (e SetOperationUsersetValidationError) Cause() error
Cause function returns cause value.
func (SetOperationUsersetValidationError) Error ¶
func (e SetOperationUsersetValidationError) Error() string
Error satisfies the builtin error interface
func (SetOperationUsersetValidationError) ErrorName ¶
func (e SetOperationUsersetValidationError) ErrorName() string
ErrorName returns error name.
func (SetOperationUsersetValidationError) Field ¶
func (e SetOperationUsersetValidationError) Field() string
Field function returns field value.
func (SetOperationUsersetValidationError) Key ¶
func (e SetOperationUsersetValidationError) Key() bool
Key function returns key value.
func (SetOperationUsersetValidationError) Reason ¶
func (e SetOperationUsersetValidationError) Reason() string
Reason function returns reason value.
type SetOperationUserset_Operation ¶
type SetOperationUserset_Operation int32
const ( SetOperationUserset_INVALID SetOperationUserset_Operation = 0 SetOperationUserset_UNION SetOperationUserset_Operation = 1 SetOperationUserset_INTERSECTION SetOperationUserset_Operation = 2 SetOperationUserset_EXCLUSION SetOperationUserset_Operation = 3 )
func (SetOperationUserset_Operation) Descriptor ¶
func (SetOperationUserset_Operation) Descriptor() protoreflect.EnumDescriptor
func (SetOperationUserset_Operation) Enum ¶
func (x SetOperationUserset_Operation) Enum() *SetOperationUserset_Operation
func (SetOperationUserset_Operation) EnumDescriptor
deprecated
func (SetOperationUserset_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetOperationUserset_Operation.Descriptor instead.
func (SetOperationUserset_Operation) Number ¶
func (x SetOperationUserset_Operation) Number() protoreflect.EnumNumber
func (SetOperationUserset_Operation) String ¶
func (x SetOperationUserset_Operation) String() string
func (SetOperationUserset_Operation) Type ¶
func (SetOperationUserset_Operation) Type() protoreflect.EnumType
type SetOperationValidationError ¶
type SetOperationValidationError struct {
// contains filtered or unexported fields
}
SetOperationValidationError is the validation error returned by SetOperation.Validate if the designated constraints aren't met.
func (SetOperationValidationError) Cause ¶
func (e SetOperationValidationError) Cause() error
Cause function returns cause value.
func (SetOperationValidationError) Error ¶
func (e SetOperationValidationError) Error() string
Error satisfies the builtin error interface
func (SetOperationValidationError) ErrorName ¶
func (e SetOperationValidationError) ErrorName() string
ErrorName returns error name.
func (SetOperationValidationError) Field ¶
func (e SetOperationValidationError) Field() string
Field function returns field value.
func (SetOperationValidationError) Key ¶
func (e SetOperationValidationError) Key() bool
Key function returns key value.
func (SetOperationValidationError) Reason ¶
func (e SetOperationValidationError) Reason() string
Reason function returns reason value.
type SetOperation_Child ¶
type SetOperation_Child struct { // Types that are assignable to ChildType: // *SetOperation_Child_XThis // *SetOperation_Child_ComputedUserset // *SetOperation_Child_TupleToUserset // *SetOperation_Child_UsersetRewrite ChildType isSetOperation_Child_ChildType `protobuf_oneof:"child_type"` // contains filtered or unexported fields }
func (*SetOperation_Child) Descriptor
deprecated
func (*SetOperation_Child) Descriptor() ([]byte, []int)
Deprecated: Use SetOperation_Child.ProtoReflect.Descriptor instead.
func (*SetOperation_Child) GetChildType ¶
func (m *SetOperation_Child) GetChildType() isSetOperation_Child_ChildType
func (*SetOperation_Child) GetComputedUserset ¶
func (x *SetOperation_Child) GetComputedUserset() *ComputedUserset
func (*SetOperation_Child) GetTupleToUserset ¶
func (x *SetOperation_Child) GetTupleToUserset() *TupleToUserset
func (*SetOperation_Child) GetUsersetRewrite ¶
func (x *SetOperation_Child) GetUsersetRewrite() *UsersetRewrite
func (*SetOperation_Child) GetXThis ¶
func (x *SetOperation_Child) GetXThis() *SetOperation_Child_This
func (*SetOperation_Child) ProtoMessage ¶
func (*SetOperation_Child) ProtoMessage()
func (*SetOperation_Child) ProtoReflect ¶
func (x *SetOperation_Child) ProtoReflect() protoreflect.Message
func (*SetOperation_Child) Reset ¶
func (x *SetOperation_Child) Reset()
func (*SetOperation_Child) String ¶
func (x *SetOperation_Child) String() string
func (*SetOperation_Child) Validate ¶
func (m *SetOperation_Child) Validate() error
Validate checks the field values on SetOperation_Child with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SetOperation_ChildValidationError ¶
type SetOperation_ChildValidationError struct {
// contains filtered or unexported fields
}
SetOperation_ChildValidationError is the validation error returned by SetOperation_Child.Validate if the designated constraints aren't met.
func (SetOperation_ChildValidationError) Cause ¶
func (e SetOperation_ChildValidationError) Cause() error
Cause function returns cause value.
func (SetOperation_ChildValidationError) Error ¶
func (e SetOperation_ChildValidationError) Error() string
Error satisfies the builtin error interface
func (SetOperation_ChildValidationError) ErrorName ¶
func (e SetOperation_ChildValidationError) ErrorName() string
ErrorName returns error name.
func (SetOperation_ChildValidationError) Field ¶
func (e SetOperation_ChildValidationError) Field() string
Field function returns field value.
func (SetOperation_ChildValidationError) Key ¶
func (e SetOperation_ChildValidationError) Key() bool
Key function returns key value.
func (SetOperation_ChildValidationError) Reason ¶
func (e SetOperation_ChildValidationError) Reason() string
Reason function returns reason value.
type SetOperation_Child_ComputedUserset ¶
type SetOperation_Child_ComputedUserset struct {
ComputedUserset *ComputedUserset `protobuf:"bytes,2,opt,name=computed_userset,json=computedUserset,proto3,oneof"`
}
type SetOperation_Child_This ¶
type SetOperation_Child_This struct {
// contains filtered or unexported fields
}
func (*SetOperation_Child_This) Descriptor
deprecated
func (*SetOperation_Child_This) Descriptor() ([]byte, []int)
Deprecated: Use SetOperation_Child_This.ProtoReflect.Descriptor instead.
func (*SetOperation_Child_This) ProtoMessage ¶
func (*SetOperation_Child_This) ProtoMessage()
func (*SetOperation_Child_This) ProtoReflect ¶
func (x *SetOperation_Child_This) ProtoReflect() protoreflect.Message
func (*SetOperation_Child_This) Reset ¶
func (x *SetOperation_Child_This) Reset()
func (*SetOperation_Child_This) String ¶
func (x *SetOperation_Child_This) String() string
func (*SetOperation_Child_This) Validate ¶
func (m *SetOperation_Child_This) Validate() error
Validate checks the field values on SetOperation_Child_This with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SetOperation_Child_ThisValidationError ¶
type SetOperation_Child_ThisValidationError struct {
// contains filtered or unexported fields
}
SetOperation_Child_ThisValidationError is the validation error returned by SetOperation_Child_This.Validate if the designated constraints aren't met.
func (SetOperation_Child_ThisValidationError) Cause ¶
func (e SetOperation_Child_ThisValidationError) Cause() error
Cause function returns cause value.
func (SetOperation_Child_ThisValidationError) Error ¶
func (e SetOperation_Child_ThisValidationError) Error() string
Error satisfies the builtin error interface
func (SetOperation_Child_ThisValidationError) ErrorName ¶
func (e SetOperation_Child_ThisValidationError) ErrorName() string
ErrorName returns error name.
func (SetOperation_Child_ThisValidationError) Field ¶
func (e SetOperation_Child_ThisValidationError) Field() string
Field function returns field value.
func (SetOperation_Child_ThisValidationError) Key ¶
func (e SetOperation_Child_ThisValidationError) Key() bool
Key function returns key value.
func (SetOperation_Child_ThisValidationError) Reason ¶
func (e SetOperation_Child_ThisValidationError) Reason() string
Reason function returns reason value.
type SetOperation_Child_TupleToUserset ¶
type SetOperation_Child_TupleToUserset struct {
TupleToUserset *TupleToUserset `protobuf:"bytes,3,opt,name=tuple_to_userset,json=tupleToUserset,proto3,oneof"`
}
type SetOperation_Child_UsersetRewrite ¶
type SetOperation_Child_UsersetRewrite struct {
UsersetRewrite *UsersetRewrite `protobuf:"bytes,4,opt,name=userset_rewrite,json=usersetRewrite,proto3,oneof"`
}
type SetOperation_Child_XThis ¶
type SetOperation_Child_XThis struct {
XThis *SetOperation_Child_This `protobuf:"bytes,1,opt,name=_this,json=This,proto3,oneof"`
}
type ShareRequest ¶
type ShareRequest struct { // contains filtered or unexported fields }
func (*ShareRequest) Descriptor
deprecated
func (*ShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShareRequest.ProtoReflect.Descriptor instead.
func (*ShareRequest) GetAssertionsYaml ¶
func (x *ShareRequest) GetAssertionsYaml() string
func (*ShareRequest) GetRelationshipsYaml ¶
func (x *ShareRequest) GetRelationshipsYaml() string
func (*ShareRequest) GetSchema ¶
func (x *ShareRequest) GetSchema() string
func (*ShareRequest) GetValidationYaml ¶
func (x *ShareRequest) GetValidationYaml() string
func (*ShareRequest) ProtoMessage ¶
func (*ShareRequest) ProtoMessage()
func (*ShareRequest) ProtoReflect ¶
func (x *ShareRequest) ProtoReflect() protoreflect.Message
func (*ShareRequest) Reset ¶
func (x *ShareRequest) Reset()
func (*ShareRequest) String ¶
func (x *ShareRequest) String() string
func (*ShareRequest) Validate ¶
func (m *ShareRequest) Validate() error
Validate checks the field values on ShareRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ShareRequestValidationError ¶
type ShareRequestValidationError struct {
// contains filtered or unexported fields
}
ShareRequestValidationError is the validation error returned by ShareRequest.Validate if the designated constraints aren't met.
func (ShareRequestValidationError) Cause ¶
func (e ShareRequestValidationError) Cause() error
Cause function returns cause value.
func (ShareRequestValidationError) Error ¶
func (e ShareRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ShareRequestValidationError) ErrorName ¶
func (e ShareRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ShareRequestValidationError) Field ¶
func (e ShareRequestValidationError) Field() string
Field function returns field value.
func (ShareRequestValidationError) Key ¶
func (e ShareRequestValidationError) Key() bool
Key function returns key value.
func (ShareRequestValidationError) Reason ¶
func (e ShareRequestValidationError) Reason() string
Reason function returns reason value.
type ShareResponse ¶
type ShareResponse struct { // contains filtered or unexported fields }
func (*ShareResponse) Descriptor
deprecated
func (*ShareResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShareResponse.ProtoReflect.Descriptor instead.
func (*ShareResponse) GetShareReference ¶
func (x *ShareResponse) GetShareReference() string
func (*ShareResponse) ProtoMessage ¶
func (*ShareResponse) ProtoMessage()
func (*ShareResponse) ProtoReflect ¶
func (x *ShareResponse) ProtoReflect() protoreflect.Message
func (*ShareResponse) Reset ¶
func (x *ShareResponse) Reset()
func (*ShareResponse) String ¶
func (x *ShareResponse) String() string
func (*ShareResponse) Validate ¶
func (m *ShareResponse) Validate() error
Validate checks the field values on ShareResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ShareResponseValidationError ¶
type ShareResponseValidationError struct {
// contains filtered or unexported fields
}
ShareResponseValidationError is the validation error returned by ShareResponse.Validate if the designated constraints aren't met.
func (ShareResponseValidationError) Cause ¶
func (e ShareResponseValidationError) Cause() error
Cause function returns cause value.
func (ShareResponseValidationError) Error ¶
func (e ShareResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ShareResponseValidationError) ErrorName ¶
func (e ShareResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ShareResponseValidationError) Field ¶
func (e ShareResponseValidationError) Field() string
Field function returns field value.
func (ShareResponseValidationError) Key ¶
func (e ShareResponseValidationError) Key() bool
Key function returns key value.
func (ShareResponseValidationError) Reason ¶
func (e ShareResponseValidationError) Reason() string
Reason function returns reason value.
type TupleToUserset ¶
type TupleToUserset struct { Tupleset *TupleToUserset_Tupleset `protobuf:"bytes,1,opt,name=tupleset,proto3" json:"tupleset,omitempty"` ComputedUserset *ComputedUserset `protobuf:"bytes,2,opt,name=computed_userset,json=computedUserset,proto3" json:"computed_userset,omitempty"` // contains filtered or unexported fields }
func (*TupleToUserset) Descriptor
deprecated
func (*TupleToUserset) Descriptor() ([]byte, []int)
Deprecated: Use TupleToUserset.ProtoReflect.Descriptor instead.
func (*TupleToUserset) GetComputedUserset ¶
func (x *TupleToUserset) GetComputedUserset() *ComputedUserset
func (*TupleToUserset) GetTupleset ¶
func (x *TupleToUserset) GetTupleset() *TupleToUserset_Tupleset
func (*TupleToUserset) ProtoMessage ¶
func (*TupleToUserset) ProtoMessage()
func (*TupleToUserset) ProtoReflect ¶
func (x *TupleToUserset) ProtoReflect() protoreflect.Message
func (*TupleToUserset) Reset ¶
func (x *TupleToUserset) Reset()
func (*TupleToUserset) String ¶
func (x *TupleToUserset) String() string
func (*TupleToUserset) Validate ¶
func (m *TupleToUserset) Validate() error
Validate checks the field values on TupleToUserset with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TupleToUsersetValidationError ¶
type TupleToUsersetValidationError struct {
// contains filtered or unexported fields
}
TupleToUsersetValidationError is the validation error returned by TupleToUserset.Validate if the designated constraints aren't met.
func (TupleToUsersetValidationError) Cause ¶
func (e TupleToUsersetValidationError) Cause() error
Cause function returns cause value.
func (TupleToUsersetValidationError) Error ¶
func (e TupleToUsersetValidationError) Error() string
Error satisfies the builtin error interface
func (TupleToUsersetValidationError) ErrorName ¶
func (e TupleToUsersetValidationError) ErrorName() string
ErrorName returns error name.
func (TupleToUsersetValidationError) Field ¶
func (e TupleToUsersetValidationError) Field() string
Field function returns field value.
func (TupleToUsersetValidationError) Key ¶
func (e TupleToUsersetValidationError) Key() bool
Key function returns key value.
func (TupleToUsersetValidationError) Reason ¶
func (e TupleToUsersetValidationError) Reason() string
Reason function returns reason value.
type TupleToUserset_Tupleset ¶
type TupleToUserset_Tupleset struct { Relation string `protobuf:"bytes,1,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
func (*TupleToUserset_Tupleset) Descriptor
deprecated
func (*TupleToUserset_Tupleset) Descriptor() ([]byte, []int)
Deprecated: Use TupleToUserset_Tupleset.ProtoReflect.Descriptor instead.
func (*TupleToUserset_Tupleset) GetRelation ¶
func (x *TupleToUserset_Tupleset) GetRelation() string
func (*TupleToUserset_Tupleset) ProtoMessage ¶
func (*TupleToUserset_Tupleset) ProtoMessage()
func (*TupleToUserset_Tupleset) ProtoReflect ¶
func (x *TupleToUserset_Tupleset) ProtoReflect() protoreflect.Message
func (*TupleToUserset_Tupleset) Reset ¶
func (x *TupleToUserset_Tupleset) Reset()
func (*TupleToUserset_Tupleset) String ¶
func (x *TupleToUserset_Tupleset) String() string
func (*TupleToUserset_Tupleset) Validate ¶
func (m *TupleToUserset_Tupleset) Validate() error
Validate checks the field values on TupleToUserset_Tupleset with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TupleToUserset_TuplesetValidationError ¶
type TupleToUserset_TuplesetValidationError struct {
// contains filtered or unexported fields
}
TupleToUserset_TuplesetValidationError is the validation error returned by TupleToUserset_Tupleset.Validate if the designated constraints aren't met.
func (TupleToUserset_TuplesetValidationError) Cause ¶
func (e TupleToUserset_TuplesetValidationError) Cause() error
Cause function returns cause value.
func (TupleToUserset_TuplesetValidationError) Error ¶
func (e TupleToUserset_TuplesetValidationError) Error() string
Error satisfies the builtin error interface
func (TupleToUserset_TuplesetValidationError) ErrorName ¶
func (e TupleToUserset_TuplesetValidationError) ErrorName() string
ErrorName returns error name.
func (TupleToUserset_TuplesetValidationError) Field ¶
func (e TupleToUserset_TuplesetValidationError) Field() string
Field function returns field value.
func (TupleToUserset_TuplesetValidationError) Key ¶
func (e TupleToUserset_TuplesetValidationError) Key() bool
Key function returns key value.
func (TupleToUserset_TuplesetValidationError) Reason ¶
func (e TupleToUserset_TuplesetValidationError) Reason() string
Reason function returns reason value.
type TypeInformation ¶
type TypeInformation struct { AllowedDirectRelations []*AllowedRelation `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TypeInformation) Descriptor
deprecated
func (*TypeInformation) Descriptor() ([]byte, []int)
Deprecated: Use TypeInformation.ProtoReflect.Descriptor instead.
func (*TypeInformation) GetAllowedDirectRelations ¶
func (x *TypeInformation) GetAllowedDirectRelations() []*AllowedRelation
func (*TypeInformation) ProtoMessage ¶
func (*TypeInformation) ProtoMessage()
func (*TypeInformation) ProtoReflect ¶
func (x *TypeInformation) ProtoReflect() protoreflect.Message
func (*TypeInformation) Reset ¶
func (x *TypeInformation) Reset()
func (*TypeInformation) String ¶
func (x *TypeInformation) String() string
func (*TypeInformation) Validate ¶
func (m *TypeInformation) Validate() error
Validate checks the field values on TypeInformation with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TypeInformationValidationError ¶
type TypeInformationValidationError struct {
// contains filtered or unexported fields
}
TypeInformationValidationError is the validation error returned by TypeInformation.Validate if the designated constraints aren't met.
func (TypeInformationValidationError) Cause ¶
func (e TypeInformationValidationError) Cause() error
Cause function returns cause value.
func (TypeInformationValidationError) Error ¶
func (e TypeInformationValidationError) Error() string
Error satisfies the builtin error interface
func (TypeInformationValidationError) ErrorName ¶
func (e TypeInformationValidationError) ErrorName() string
ErrorName returns error name.
func (TypeInformationValidationError) Field ¶
func (e TypeInformationValidationError) Field() string
Field function returns field value.
func (TypeInformationValidationError) Key ¶
func (e TypeInformationValidationError) Key() bool
Key function returns key value.
func (TypeInformationValidationError) Reason ¶
func (e TypeInformationValidationError) Reason() string
Reason function returns reason value.
type UnimplementedACLServiceServer ¶
type UnimplementedACLServiceServer struct { }
UnimplementedACLServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedACLServiceServer) Check ¶
func (UnimplementedACLServiceServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
func (UnimplementedACLServiceServer) ContentChangeCheck ¶
func (UnimplementedACLServiceServer) ContentChangeCheck(context.Context, *ContentChangeCheckRequest) (*CheckResponse, error)
func (UnimplementedACLServiceServer) Expand ¶
func (UnimplementedACLServiceServer) Expand(context.Context, *ExpandRequest) (*ExpandResponse, error)
func (UnimplementedACLServiceServer) Lookup ¶
func (UnimplementedACLServiceServer) Lookup(context.Context, *LookupRequest) (*LookupResponse, error)
func (UnimplementedACLServiceServer) Read ¶
func (UnimplementedACLServiceServer) Read(context.Context, *ReadRequest) (*ReadResponse, error)
func (UnimplementedACLServiceServer) Write ¶
func (UnimplementedACLServiceServer) Write(context.Context, *WriteRequest) (*WriteResponse, error)
type UnimplementedDeveloperServiceServer ¶
type UnimplementedDeveloperServiceServer struct { }
UnimplementedDeveloperServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDeveloperServiceServer) EditCheck ¶
func (UnimplementedDeveloperServiceServer) EditCheck(context.Context, *EditCheckRequest) (*EditCheckResponse, error)
func (UnimplementedDeveloperServiceServer) FormatSchema ¶ added in v0.1.0
func (UnimplementedDeveloperServiceServer) FormatSchema(context.Context, *FormatSchemaRequest) (*FormatSchemaResponse, error)
func (UnimplementedDeveloperServiceServer) LookupShared ¶
func (UnimplementedDeveloperServiceServer) LookupShared(context.Context, *LookupShareRequest) (*LookupShareResponse, error)
func (UnimplementedDeveloperServiceServer) Share ¶
func (UnimplementedDeveloperServiceServer) Share(context.Context, *ShareRequest) (*ShareResponse, error)
func (UnimplementedDeveloperServiceServer) UpgradeSchema ¶
func (UnimplementedDeveloperServiceServer) UpgradeSchema(context.Context, *UpgradeSchemaRequest) (*UpgradeSchemaResponse, error)
func (UnimplementedDeveloperServiceServer) Validate ¶
func (UnimplementedDeveloperServiceServer) Validate(context.Context, *ValidateRequest) (*ValidateResponse, error)
type UnimplementedNamespaceServiceServer ¶
type UnimplementedNamespaceServiceServer struct { }
UnimplementedNamespaceServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedNamespaceServiceServer) DeleteConfigs ¶ added in v0.2.0
func (UnimplementedNamespaceServiceServer) DeleteConfigs(context.Context, *DeleteConfigsRequest) (*DeleteConfigsResponse, error)
func (UnimplementedNamespaceServiceServer) ReadConfig ¶
func (UnimplementedNamespaceServiceServer) ReadConfig(context.Context, *ReadConfigRequest) (*ReadConfigResponse, error)
func (UnimplementedNamespaceServiceServer) WriteConfig ¶
func (UnimplementedNamespaceServiceServer) WriteConfig(context.Context, *WriteConfigRequest) (*WriteConfigResponse, 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 UnsafeACLServiceServer ¶
type UnsafeACLServiceServer interface {
// contains filtered or unexported methods
}
UnsafeACLServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ACLServiceServer will result in compilation errors.
type UnsafeDeveloperServiceServer ¶
type UnsafeDeveloperServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDeveloperServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeveloperServiceServer will result in compilation errors.
type UnsafeNamespaceServiceServer ¶
type UnsafeNamespaceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNamespaceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NamespaceServiceServer 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 UpgradeSchemaRequest ¶
type UpgradeSchemaRequest struct { NamespaceConfigs []string `protobuf:"bytes,1,rep,name=namespace_configs,json=namespaceConfigs,proto3" json:"namespace_configs,omitempty"` // contains filtered or unexported fields }
func (*UpgradeSchemaRequest) Descriptor
deprecated
func (*UpgradeSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeSchemaRequest.ProtoReflect.Descriptor instead.
func (*UpgradeSchemaRequest) GetNamespaceConfigs ¶
func (x *UpgradeSchemaRequest) GetNamespaceConfigs() []string
func (*UpgradeSchemaRequest) ProtoMessage ¶
func (*UpgradeSchemaRequest) ProtoMessage()
func (*UpgradeSchemaRequest) ProtoReflect ¶
func (x *UpgradeSchemaRequest) ProtoReflect() protoreflect.Message
func (*UpgradeSchemaRequest) Reset ¶
func (x *UpgradeSchemaRequest) Reset()
func (*UpgradeSchemaRequest) String ¶
func (x *UpgradeSchemaRequest) String() string
func (*UpgradeSchemaRequest) Validate ¶
func (m *UpgradeSchemaRequest) Validate() error
Validate checks the field values on UpgradeSchemaRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpgradeSchemaRequestValidationError ¶
type UpgradeSchemaRequestValidationError struct {
// contains filtered or unexported fields
}
UpgradeSchemaRequestValidationError is the validation error returned by UpgradeSchemaRequest.Validate if the designated constraints aren't met.
func (UpgradeSchemaRequestValidationError) Cause ¶
func (e UpgradeSchemaRequestValidationError) Cause() error
Cause function returns cause value.
func (UpgradeSchemaRequestValidationError) Error ¶
func (e UpgradeSchemaRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpgradeSchemaRequestValidationError) ErrorName ¶
func (e UpgradeSchemaRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpgradeSchemaRequestValidationError) Field ¶
func (e UpgradeSchemaRequestValidationError) Field() string
Field function returns field value.
func (UpgradeSchemaRequestValidationError) Key ¶
func (e UpgradeSchemaRequestValidationError) Key() bool
Key function returns key value.
func (UpgradeSchemaRequestValidationError) Reason ¶
func (e UpgradeSchemaRequestValidationError) Reason() string
Reason function returns reason value.
type UpgradeSchemaResponse ¶
type UpgradeSchemaResponse struct { Error *DeveloperError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` UpgradedSchema string `protobuf:"bytes,2,opt,name=upgraded_schema,json=upgradedSchema,proto3" json:"upgraded_schema,omitempty"` // contains filtered or unexported fields }
func (*UpgradeSchemaResponse) Descriptor
deprecated
func (*UpgradeSchemaResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeSchemaResponse.ProtoReflect.Descriptor instead.
func (*UpgradeSchemaResponse) GetError ¶
func (x *UpgradeSchemaResponse) GetError() *DeveloperError
func (*UpgradeSchemaResponse) GetUpgradedSchema ¶
func (x *UpgradeSchemaResponse) GetUpgradedSchema() string
func (*UpgradeSchemaResponse) ProtoMessage ¶
func (*UpgradeSchemaResponse) ProtoMessage()
func (*UpgradeSchemaResponse) ProtoReflect ¶
func (x *UpgradeSchemaResponse) ProtoReflect() protoreflect.Message
func (*UpgradeSchemaResponse) Reset ¶
func (x *UpgradeSchemaResponse) Reset()
func (*UpgradeSchemaResponse) String ¶
func (x *UpgradeSchemaResponse) String() string
func (*UpgradeSchemaResponse) Validate ¶
func (m *UpgradeSchemaResponse) Validate() error
Validate checks the field values on UpgradeSchemaResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpgradeSchemaResponseValidationError ¶
type UpgradeSchemaResponseValidationError struct {
// contains filtered or unexported fields
}
UpgradeSchemaResponseValidationError is the validation error returned by UpgradeSchemaResponse.Validate if the designated constraints aren't met.
func (UpgradeSchemaResponseValidationError) Cause ¶
func (e UpgradeSchemaResponseValidationError) Cause() error
Cause function returns cause value.
func (UpgradeSchemaResponseValidationError) Error ¶
func (e UpgradeSchemaResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpgradeSchemaResponseValidationError) ErrorName ¶
func (e UpgradeSchemaResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpgradeSchemaResponseValidationError) Field ¶
func (e UpgradeSchemaResponseValidationError) Field() string
Field function returns field value.
func (UpgradeSchemaResponseValidationError) Key ¶
func (e UpgradeSchemaResponseValidationError) Key() bool
Key function returns key value.
func (UpgradeSchemaResponseValidationError) Reason ¶
func (e UpgradeSchemaResponseValidationError) Reason() string
Reason function returns reason value.
type User ¶
type User struct { // Types that are assignable to UserOneof: // *User_Userset UserOneof isUser_UserOneof `protobuf_oneof:"user_oneof"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetUserOneof ¶
func (m *User) GetUserOneof() isUser_UserOneof
func (*User) GetUserset ¶
func (x *User) GetUserset() *ObjectAndRelation
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserValidationError ¶
type UserValidationError struct {
// contains filtered or unexported fields
}
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.
func (UserValidationError) Cause ¶
func (e UserValidationError) Cause() error
Cause function returns cause value.
func (UserValidationError) Error ¶
func (e UserValidationError) Error() string
Error satisfies the builtin error interface
func (UserValidationError) ErrorName ¶
func (e UserValidationError) ErrorName() string
ErrorName returns error name.
func (UserValidationError) Field ¶
func (e UserValidationError) Field() string
Field function returns field value.
func (UserValidationError) Key ¶
func (e UserValidationError) Key() bool
Key function returns key value.
func (UserValidationError) Reason ¶
func (e UserValidationError) Reason() string
Reason function returns reason value.
type User_Userset ¶
type User_Userset struct {
Userset *ObjectAndRelation `protobuf:"bytes,2,opt,name=userset,proto3,oneof"`
}
type UsersetRewrite ¶
type UsersetRewrite struct { // Types that are assignable to RewriteOperation: // *UsersetRewrite_Union // *UsersetRewrite_Intersection // *UsersetRewrite_Exclusion RewriteOperation isUsersetRewrite_RewriteOperation `protobuf_oneof:"rewrite_operation"` // contains filtered or unexported fields }
func (*UsersetRewrite) Descriptor
deprecated
func (*UsersetRewrite) Descriptor() ([]byte, []int)
Deprecated: Use UsersetRewrite.ProtoReflect.Descriptor instead.
func (*UsersetRewrite) GetExclusion ¶
func (x *UsersetRewrite) GetExclusion() *SetOperation
func (*UsersetRewrite) GetIntersection ¶
func (x *UsersetRewrite) GetIntersection() *SetOperation
func (*UsersetRewrite) GetRewriteOperation ¶
func (m *UsersetRewrite) GetRewriteOperation() isUsersetRewrite_RewriteOperation
func (*UsersetRewrite) GetUnion ¶
func (x *UsersetRewrite) GetUnion() *SetOperation
func (*UsersetRewrite) ProtoMessage ¶
func (*UsersetRewrite) ProtoMessage()
func (*UsersetRewrite) ProtoReflect ¶
func (x *UsersetRewrite) ProtoReflect() protoreflect.Message
func (*UsersetRewrite) Reset ¶
func (x *UsersetRewrite) Reset()
func (*UsersetRewrite) String ¶
func (x *UsersetRewrite) String() string
func (*UsersetRewrite) Validate ¶
func (m *UsersetRewrite) Validate() error
Validate checks the field values on UsersetRewrite with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UsersetRewriteValidationError ¶
type UsersetRewriteValidationError struct {
// contains filtered or unexported fields
}
UsersetRewriteValidationError is the validation error returned by UsersetRewrite.Validate if the designated constraints aren't met.
func (UsersetRewriteValidationError) Cause ¶
func (e UsersetRewriteValidationError) Cause() error
Cause function returns cause value.
func (UsersetRewriteValidationError) Error ¶
func (e UsersetRewriteValidationError) Error() string
Error satisfies the builtin error interface
func (UsersetRewriteValidationError) ErrorName ¶
func (e UsersetRewriteValidationError) ErrorName() string
ErrorName returns error name.
func (UsersetRewriteValidationError) Field ¶
func (e UsersetRewriteValidationError) Field() string
Field function returns field value.
func (UsersetRewriteValidationError) Key ¶
func (e UsersetRewriteValidationError) Key() bool
Key function returns key value.
func (UsersetRewriteValidationError) Reason ¶
func (e UsersetRewriteValidationError) Reason() string
Reason function returns reason value.
type UsersetRewrite_Exclusion ¶
type UsersetRewrite_Exclusion struct {
Exclusion *SetOperation `protobuf:"bytes,3,opt,name=exclusion,proto3,oneof"`
}
type UsersetRewrite_Intersection ¶
type UsersetRewrite_Intersection struct {
Intersection *SetOperation `protobuf:"bytes,2,opt,name=intersection,proto3,oneof"`
}
type UsersetRewrite_Union ¶
type UsersetRewrite_Union struct {
Union *SetOperation `protobuf:"bytes,1,opt,name=union,proto3,oneof"`
}
type ValidateRequest ¶
type ValidateRequest struct { Context *RequestContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` ValidationYaml string `protobuf:"bytes,3,opt,name=validation_yaml,json=validationYaml,proto3" json:"validation_yaml,omitempty"` UpdateValidationYaml bool `protobuf:"varint,4,opt,name=update_validation_yaml,json=updateValidationYaml,proto3" json:"update_validation_yaml,omitempty"` AssertionsYaml string `protobuf:"bytes,5,opt,name=assertions_yaml,json=assertionsYaml,proto3" json:"assertions_yaml,omitempty"` // contains filtered or unexported fields }
func (*ValidateRequest) Descriptor
deprecated
func (*ValidateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateRequest.ProtoReflect.Descriptor instead.
func (*ValidateRequest) GetAssertionsYaml ¶
func (x *ValidateRequest) GetAssertionsYaml() string
func (*ValidateRequest) GetContext ¶
func (x *ValidateRequest) GetContext() *RequestContext
func (*ValidateRequest) GetUpdateValidationYaml ¶
func (x *ValidateRequest) GetUpdateValidationYaml() bool
func (*ValidateRequest) GetValidationYaml ¶
func (x *ValidateRequest) GetValidationYaml() string
func (*ValidateRequest) ProtoMessage ¶
func (*ValidateRequest) ProtoMessage()
func (*ValidateRequest) ProtoReflect ¶
func (x *ValidateRequest) ProtoReflect() protoreflect.Message
func (*ValidateRequest) Reset ¶
func (x *ValidateRequest) Reset()
func (*ValidateRequest) String ¶
func (x *ValidateRequest) String() string
func (*ValidateRequest) Validate ¶
func (m *ValidateRequest) Validate() error
Validate checks the field values on ValidateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ValidateRequestValidationError ¶
type ValidateRequestValidationError struct {
// contains filtered or unexported fields
}
ValidateRequestValidationError is the validation error returned by ValidateRequest.Validate if the designated constraints aren't met.
func (ValidateRequestValidationError) Cause ¶
func (e ValidateRequestValidationError) Cause() error
Cause function returns cause value.
func (ValidateRequestValidationError) Error ¶
func (e ValidateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ValidateRequestValidationError) ErrorName ¶
func (e ValidateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ValidateRequestValidationError) Field ¶
func (e ValidateRequestValidationError) Field() string
Field function returns field value.
func (ValidateRequestValidationError) Key ¶
func (e ValidateRequestValidationError) Key() bool
Key function returns key value.
func (ValidateRequestValidationError) Reason ¶
func (e ValidateRequestValidationError) Reason() string
Reason function returns reason value.
type ValidateResponse ¶
type ValidateResponse struct { RequestErrors []*DeveloperError `protobuf:"bytes,1,rep,name=request_errors,json=requestErrors,proto3" json:"request_errors,omitempty"` ValidationErrors []*DeveloperError `protobuf:"bytes,2,rep,name=validation_errors,json=validationErrors,proto3" json:"validation_errors,omitempty"` UpdatedValidationYaml string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ValidateResponse) Descriptor
deprecated
func (*ValidateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateResponse.ProtoReflect.Descriptor instead.
func (*ValidateResponse) GetRequestErrors ¶
func (x *ValidateResponse) GetRequestErrors() []*DeveloperError
func (*ValidateResponse) GetUpdatedValidationYaml ¶
func (x *ValidateResponse) GetUpdatedValidationYaml() string
func (*ValidateResponse) GetValidationErrors ¶
func (x *ValidateResponse) GetValidationErrors() []*DeveloperError
func (*ValidateResponse) ProtoMessage ¶
func (*ValidateResponse) ProtoMessage()
func (*ValidateResponse) ProtoReflect ¶
func (x *ValidateResponse) ProtoReflect() protoreflect.Message
func (*ValidateResponse) Reset ¶
func (x *ValidateResponse) Reset()
func (*ValidateResponse) String ¶
func (x *ValidateResponse) String() string
func (*ValidateResponse) Validate ¶
func (m *ValidateResponse) Validate() error
Validate checks the field values on ValidateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ValidateResponseValidationError ¶
type ValidateResponseValidationError struct {
// contains filtered or unexported fields
}
ValidateResponseValidationError is the validation error returned by ValidateResponse.Validate if the designated constraints aren't met.
func (ValidateResponseValidationError) Cause ¶
func (e ValidateResponseValidationError) Cause() error
Cause function returns cause value.
func (ValidateResponseValidationError) Error ¶
func (e ValidateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ValidateResponseValidationError) ErrorName ¶
func (e ValidateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ValidateResponseValidationError) Field ¶
func (e ValidateResponseValidationError) Field() string
Field function returns field value.
func (ValidateResponseValidationError) Key ¶
func (e ValidateResponseValidationError) Key() bool
Key function returns key value.
func (ValidateResponseValidationError) Reason ¶
func (e ValidateResponseValidationError) Reason() string
Reason function returns reason value.
type WatchRequest ¶
type WatchRequest struct { // A watch request specifies one or more namespaces and a zookie // representing the time to start watching. Namespaces []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` StartRevision *Zookie `protobuf:"bytes,2,opt,name=start_revision,json=startRevision,proto3" json:"start_revision,omitempty"` // contains filtered or unexported fields }
func (*WatchRequest) Descriptor
deprecated
func (*WatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchRequest.ProtoReflect.Descriptor instead.
func (*WatchRequest) GetNamespaces ¶
func (x *WatchRequest) GetNamespaces() []string
func (*WatchRequest) GetStartRevision ¶
func (x *WatchRequest) GetStartRevision() *Zookie
func (*WatchRequest) ProtoMessage ¶
func (*WatchRequest) ProtoMessage()
func (*WatchRequest) ProtoReflect ¶
func (x *WatchRequest) ProtoReflect() protoreflect.Message
func (*WatchRequest) Reset ¶
func (x *WatchRequest) Reset()
func (*WatchRequest) String ¶
func (x *WatchRequest) String() string
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, an error is returned.
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 { // A watch response contains all tuple modification events in ascending // timestamp order, from the requested start timestamp to a timestamp // encoded in a heartbeat zookie included in the watch response. The client // can use the heartbeat zookie to resume watching where the previous watch // response left off. Updates []*RelationTupleUpdate `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"` EndRevision *Zookie `protobuf:"bytes,2,opt,name=end_revision,json=endRevision,proto3" json:"end_revision,omitempty"` // contains filtered or unexported fields }
func (*WatchResponse) Descriptor
deprecated
func (*WatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use WatchResponse.ProtoReflect.Descriptor instead.
func (*WatchResponse) GetEndRevision ¶
func (x *WatchResponse) GetEndRevision() *Zookie
func (*WatchResponse) GetUpdates ¶
func (x *WatchResponse) GetUpdates() []*RelationTupleUpdate
func (*WatchResponse) ProtoMessage ¶
func (*WatchResponse) ProtoMessage()
func (*WatchResponse) ProtoReflect ¶
func (x *WatchResponse) ProtoReflect() protoreflect.Message
func (*WatchResponse) Reset ¶
func (x *WatchResponse) Reset()
func (*WatchResponse) String ¶
func (x *WatchResponse) String() string
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, an error is returned.
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.go.dev/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 WriteConfigRequest ¶
type WriteConfigRequest struct { Configs []*NamespaceDefinition `protobuf:"bytes,2,rep,name=configs,proto3" json:"configs,omitempty"` // contains filtered or unexported fields }
func (*WriteConfigRequest) Descriptor
deprecated
func (*WriteConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteConfigRequest.ProtoReflect.Descriptor instead.
func (*WriteConfigRequest) GetConfigs ¶
func (x *WriteConfigRequest) GetConfigs() []*NamespaceDefinition
func (*WriteConfigRequest) ProtoMessage ¶
func (*WriteConfigRequest) ProtoMessage()
func (*WriteConfigRequest) ProtoReflect ¶
func (x *WriteConfigRequest) ProtoReflect() protoreflect.Message
func (*WriteConfigRequest) Reset ¶
func (x *WriteConfigRequest) Reset()
func (*WriteConfigRequest) String ¶
func (x *WriteConfigRequest) String() string
func (*WriteConfigRequest) Validate ¶
func (m *WriteConfigRequest) Validate() error
Validate checks the field values on WriteConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type WriteConfigRequestValidationError ¶
type WriteConfigRequestValidationError struct {
// contains filtered or unexported fields
}
WriteConfigRequestValidationError is the validation error returned by WriteConfigRequest.Validate if the designated constraints aren't met.
func (WriteConfigRequestValidationError) Cause ¶
func (e WriteConfigRequestValidationError) Cause() error
Cause function returns cause value.
func (WriteConfigRequestValidationError) Error ¶
func (e WriteConfigRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WriteConfigRequestValidationError) ErrorName ¶
func (e WriteConfigRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WriteConfigRequestValidationError) Field ¶
func (e WriteConfigRequestValidationError) Field() string
Field function returns field value.
func (WriteConfigRequestValidationError) Key ¶
func (e WriteConfigRequestValidationError) Key() bool
Key function returns key value.
func (WriteConfigRequestValidationError) Reason ¶
func (e WriteConfigRequestValidationError) Reason() string
Reason function returns reason value.
type WriteConfigResponse ¶
type WriteConfigResponse struct { Revision *Zookie `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
func (*WriteConfigResponse) Descriptor
deprecated
func (*WriteConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteConfigResponse.ProtoReflect.Descriptor instead.
func (*WriteConfigResponse) GetRevision ¶
func (x *WriteConfigResponse) GetRevision() *Zookie
func (*WriteConfigResponse) ProtoMessage ¶
func (*WriteConfigResponse) ProtoMessage()
func (*WriteConfigResponse) ProtoReflect ¶
func (x *WriteConfigResponse) ProtoReflect() protoreflect.Message
func (*WriteConfigResponse) Reset ¶
func (x *WriteConfigResponse) Reset()
func (*WriteConfigResponse) String ¶
func (x *WriteConfigResponse) String() string
func (*WriteConfigResponse) Validate ¶
func (m *WriteConfigResponse) Validate() error
Validate checks the field values on WriteConfigResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type WriteConfigResponseValidationError ¶
type WriteConfigResponseValidationError struct {
// contains filtered or unexported fields
}
WriteConfigResponseValidationError is the validation error returned by WriteConfigResponse.Validate if the designated constraints aren't met.
func (WriteConfigResponseValidationError) Cause ¶
func (e WriteConfigResponseValidationError) Cause() error
Cause function returns cause value.
func (WriteConfigResponseValidationError) Error ¶
func (e WriteConfigResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WriteConfigResponseValidationError) ErrorName ¶
func (e WriteConfigResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WriteConfigResponseValidationError) Field ¶
func (e WriteConfigResponseValidationError) Field() string
Field function returns field value.
func (WriteConfigResponseValidationError) Key ¶
func (e WriteConfigResponseValidationError) Key() bool
Key function returns key value.
func (WriteConfigResponseValidationError) Reason ¶
func (e WriteConfigResponseValidationError) Reason() string
Reason function returns reason value.
type WriteRequest ¶
type WriteRequest struct { // Clients may modify a single relation tuple to add or remove an ACL. They // may also modify all tuples related to an object via a read-modify-write // process with optimistic concurrency control [21] that uses a read RPC // followed by a write RPC: // // 1. Read all relation tuples of an object, including a per-object “lock” // tuple. // 2. Generate the tuples to write or delete. Send the writes, along with a // touch on the lock tuple, to Zanzibar, with the condition that the // writes will be committed only if the lock tuple has not been modified // since the read. // 3. If the write condition is not met, go back to step 1. // The lock tuple is just a regular relation tuple used by clients to // detect write races. // // The lock tuple is just a regular relation tuple used by clients to // detect write races. WriteConditions []*RelationTuple `protobuf:"bytes,1,rep,name=write_conditions,json=writeConditions,proto3" json:"write_conditions,omitempty"` // To be bounded by configuration Updates []*RelationTupleUpdate `protobuf:"bytes,2,rep,name=updates,proto3" json:"updates,omitempty"` // contains filtered or unexported fields }
func (*WriteRequest) Descriptor
deprecated
func (*WriteRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteRequest.ProtoReflect.Descriptor instead.
func (*WriteRequest) GetUpdates ¶
func (x *WriteRequest) GetUpdates() []*RelationTupleUpdate
func (*WriteRequest) GetWriteConditions ¶
func (x *WriteRequest) GetWriteConditions() []*RelationTuple
func (*WriteRequest) HandwrittenValidate ¶ added in v0.4.0
func (m *WriteRequest) HandwrittenValidate() error
func (*WriteRequest) ProtoMessage ¶
func (*WriteRequest) ProtoMessage()
func (*WriteRequest) ProtoReflect ¶
func (x *WriteRequest) ProtoReflect() protoreflect.Message
func (*WriteRequest) Reset ¶
func (x *WriteRequest) Reset()
func (*WriteRequest) String ¶
func (x *WriteRequest) String() string
func (*WriteRequest) Validate ¶
func (m *WriteRequest) Validate() error
Validate checks the field values on WriteRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type WriteRequestValidationError ¶
type WriteRequestValidationError struct {
// contains filtered or unexported fields
}
WriteRequestValidationError is the validation error returned by WriteRequest.Validate if the designated constraints aren't met.
func (WriteRequestValidationError) Cause ¶
func (e WriteRequestValidationError) Cause() error
Cause function returns cause value.
func (WriteRequestValidationError) Error ¶
func (e WriteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WriteRequestValidationError) ErrorName ¶
func (e WriteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WriteRequestValidationError) Field ¶
func (e WriteRequestValidationError) Field() string
Field function returns field value.
func (WriteRequestValidationError) Key ¶
func (e WriteRequestValidationError) Key() bool
Key function returns key value.
func (WriteRequestValidationError) Reason ¶
func (e WriteRequestValidationError) Reason() string
Reason function returns reason value.
type WriteResponse ¶
type WriteResponse struct { Revision *Zookie `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
func (*WriteResponse) Descriptor
deprecated
func (*WriteResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteResponse.ProtoReflect.Descriptor instead.
func (*WriteResponse) GetRevision ¶
func (x *WriteResponse) GetRevision() *Zookie
func (*WriteResponse) ProtoMessage ¶
func (*WriteResponse) ProtoMessage()
func (*WriteResponse) ProtoReflect ¶
func (x *WriteResponse) ProtoReflect() protoreflect.Message
func (*WriteResponse) Reset ¶
func (x *WriteResponse) Reset()
func (*WriteResponse) String ¶
func (x *WriteResponse) String() string
func (*WriteResponse) Validate ¶
func (m *WriteResponse) Validate() error
Validate checks the field values on WriteResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type WriteResponseValidationError ¶
type WriteResponseValidationError struct {
// contains filtered or unexported fields
}
WriteResponseValidationError is the validation error returned by WriteResponse.Validate if the designated constraints aren't met.
func (WriteResponseValidationError) Cause ¶
func (e WriteResponseValidationError) Cause() error
Cause function returns cause value.
func (WriteResponseValidationError) Error ¶
func (e WriteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WriteResponseValidationError) ErrorName ¶
func (e WriteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WriteResponseValidationError) Field ¶
func (e WriteResponseValidationError) Field() string
Field function returns field value.
func (WriteResponseValidationError) Key ¶
func (e WriteResponseValidationError) Key() bool
Key function returns key value.
func (WriteResponseValidationError) Reason ¶
func (e WriteResponseValidationError) Reason() string
Reason function returns reason value.
type Zookie ¶
type Zookie struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*Zookie) Descriptor
deprecated
func (*Zookie) ProtoMessage ¶
func (*Zookie) ProtoMessage()
func (*Zookie) ProtoReflect ¶
func (x *Zookie) ProtoReflect() protoreflect.Message
type ZookieValidationError ¶
type ZookieValidationError struct {
// contains filtered or unexported fields
}
ZookieValidationError is the validation error returned by Zookie.Validate if the designated constraints aren't met.
func (ZookieValidationError) Cause ¶
func (e ZookieValidationError) Cause() error
Cause function returns cause value.
func (ZookieValidationError) Error ¶
func (e ZookieValidationError) Error() string
Error satisfies the builtin error interface
func (ZookieValidationError) ErrorName ¶
func (e ZookieValidationError) ErrorName() string
ErrorName returns error name.
func (ZookieValidationError) Field ¶
func (e ZookieValidationError) Field() string
Field function returns field value.
func (ZookieValidationError) Key ¶
func (e ZookieValidationError) Key() bool
Key function returns key value.
func (ZookieValidationError) Reason ¶
func (e ZookieValidationError) Reason() string
Reason function returns reason value.
Source Files ¶
- 00_legacy_registration.go
- 01_workaround_num_items.go
- 02_handwritten_validation.go
- acl_service.pb.go
- acl_service.pb.validate.go
- acl_service_grpc.pb.go
- core.pb.go
- core.pb.validate.go
- developer.pb.go
- developer.pb.validate.go
- developer_grpc.pb.go
- namespace.pb.go
- namespace.pb.validate.go
- namespace_service.pb.go
- namespace_service.pb.validate.go
- namespace_service_grpc.pb.go
- watch_service.pb.go
- watch_service.pb.validate.go
- watch_service_grpc.pb.go