Documentation ¶
Index ¶
- Variables
- type CheckRequest
- func (*CheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckRequest) GetId() string
- func (x *CheckRequest) GetNamespace() string
- func (x *CheckRequest) GetRelation() string
- func (x *CheckRequest) GetUser() string
- func (*CheckRequest) ProtoMessage()
- func (x *CheckRequest) ProtoReflect() protoreflect.Message
- func (x *CheckRequest) Reset()
- func (x *CheckRequest) String() string
- func (m *CheckRequest) Validate() error
- func (m *CheckRequest) ValidateAll() error
- type CheckRequestMultiError
- 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) GetAllowed() bool
- func (*CheckResponse) ProtoMessage()
- func (x *CheckResponse) ProtoReflect() protoreflect.Message
- func (x *CheckResponse) Reset()
- func (x *CheckResponse) String() string
- func (m *CheckResponse) Validate() error
- func (m *CheckResponse) ValidateAll() error
- type CheckResponseMultiError
- 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 DeleteSchemaRequest
- func (*DeleteSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (*DeleteSchemaRequest) ProtoMessage()
- func (x *DeleteSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSchemaRequest) Reset()
- func (x *DeleteSchemaRequest) String() string
- func (m *DeleteSchemaRequest) Validate() error
- func (m *DeleteSchemaRequest) ValidateAll() error
- type DeleteSchemaRequestMultiError
- type DeleteSchemaRequestValidationError
- func (e DeleteSchemaRequestValidationError) Cause() error
- func (e DeleteSchemaRequestValidationError) Error() string
- func (e DeleteSchemaRequestValidationError) ErrorName() string
- func (e DeleteSchemaRequestValidationError) Field() string
- func (e DeleteSchemaRequestValidationError) Key() bool
- func (e DeleteSchemaRequestValidationError) Reason() string
- type DeleteSchemaResponse
- func (*DeleteSchemaResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteSchemaResponse) ProtoMessage()
- func (x *DeleteSchemaResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteSchemaResponse) Reset()
- func (x *DeleteSchemaResponse) String() string
- func (m *DeleteSchemaResponse) Validate() error
- func (m *DeleteSchemaResponse) ValidateAll() error
- type DeleteSchemaResponseMultiError
- type DeleteSchemaResponseValidationError
- func (e DeleteSchemaResponseValidationError) Cause() error
- func (e DeleteSchemaResponseValidationError) Error() string
- func (e DeleteSchemaResponseValidationError) ErrorName() string
- func (e DeleteSchemaResponseValidationError) Field() string
- func (e DeleteSchemaResponseValidationError) Key() bool
- func (e DeleteSchemaResponseValidationError) Reason() string
- type DeleteTuplesRequest
- func (*DeleteTuplesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTuplesRequest) GetTuples() []*Tuple
- func (*DeleteTuplesRequest) ProtoMessage()
- func (x *DeleteTuplesRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTuplesRequest) Reset()
- func (x *DeleteTuplesRequest) String() string
- func (m *DeleteTuplesRequest) Validate() error
- func (m *DeleteTuplesRequest) ValidateAll() error
- type DeleteTuplesRequestMultiError
- type DeleteTuplesRequestValidationError
- func (e DeleteTuplesRequestValidationError) Cause() error
- func (e DeleteTuplesRequestValidationError) Error() string
- func (e DeleteTuplesRequestValidationError) ErrorName() string
- func (e DeleteTuplesRequestValidationError) Field() string
- func (e DeleteTuplesRequestValidationError) Key() bool
- func (e DeleteTuplesRequestValidationError) Reason() string
- type DeleteTuplesResponse
- func (*DeleteTuplesResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteTuplesResponse) ProtoMessage()
- func (x *DeleteTuplesResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteTuplesResponse) Reset()
- func (x *DeleteTuplesResponse) String() string
- func (m *DeleteTuplesResponse) Validate() error
- func (m *DeleteTuplesResponse) ValidateAll() error
- type DeleteTuplesResponseMultiError
- type DeleteTuplesResponseValidationError
- func (e DeleteTuplesResponseValidationError) Cause() error
- func (e DeleteTuplesResponseValidationError) Error() string
- func (e DeleteTuplesResponseValidationError) ErrorName() string
- func (e DeleteTuplesResponseValidationError) Field() string
- func (e DeleteTuplesResponseValidationError) Key() bool
- func (e DeleteTuplesResponseValidationError) Reason() string
- type GetSchemaRequest
- func (*GetSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetSchemaRequest) ProtoMessage()
- func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *GetSchemaRequest) Reset()
- func (x *GetSchemaRequest) String() string
- func (m *GetSchemaRequest) Validate() error
- func (m *GetSchemaRequest) ValidateAll() error
- type GetSchemaRequestMultiError
- type GetSchemaRequestValidationError
- func (e GetSchemaRequestValidationError) Cause() error
- func (e GetSchemaRequestValidationError) Error() string
- func (e GetSchemaRequestValidationError) ErrorName() string
- func (e GetSchemaRequestValidationError) Field() string
- func (e GetSchemaRequestValidationError) Key() bool
- func (e GetSchemaRequestValidationError) Reason() string
- type GetSchemaResponse
- func (*GetSchemaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSchemaResponse) GetConfigs() []*RelationConfig
- func (*GetSchemaResponse) ProtoMessage()
- func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message
- func (x *GetSchemaResponse) Reset()
- func (x *GetSchemaResponse) String() string
- func (m *GetSchemaResponse) Validate() error
- func (m *GetSchemaResponse) ValidateAll() error
- type GetSchemaResponseMultiError
- type GetSchemaResponseValidationError
- func (e GetSchemaResponseValidationError) Cause() error
- func (e GetSchemaResponseValidationError) Error() string
- func (e GetSchemaResponseValidationError) ErrorName() string
- func (e GetSchemaResponseValidationError) Field() string
- func (e GetSchemaResponseValidationError) Key() bool
- func (e GetSchemaResponseValidationError) Reason() string
- type GetTuplesRequest
- func (*GetTuplesRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetTuplesRequest) ProtoMessage()
- func (x *GetTuplesRequest) ProtoReflect() protoreflect.Message
- func (x *GetTuplesRequest) Reset()
- func (x *GetTuplesRequest) String() string
- func (m *GetTuplesRequest) Validate() error
- func (m *GetTuplesRequest) ValidateAll() error
- type GetTuplesRequestMultiError
- type GetTuplesRequestValidationError
- func (e GetTuplesRequestValidationError) Cause() error
- func (e GetTuplesRequestValidationError) Error() string
- func (e GetTuplesRequestValidationError) ErrorName() string
- func (e GetTuplesRequestValidationError) Field() string
- func (e GetTuplesRequestValidationError) Key() bool
- func (e GetTuplesRequestValidationError) Reason() string
- type GetTuplesResponse
- func (*GetTuplesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTuplesResponse) GetTuples() []*Tuple
- func (*GetTuplesResponse) ProtoMessage()
- func (x *GetTuplesResponse) ProtoReflect() protoreflect.Message
- func (x *GetTuplesResponse) Reset()
- func (x *GetTuplesResponse) String() string
- func (m *GetTuplesResponse) Validate() error
- func (m *GetTuplesResponse) ValidateAll() error
- type GetTuplesResponseMultiError
- type GetTuplesResponseValidationError
- func (e GetTuplesResponseValidationError) Cause() error
- func (e GetTuplesResponseValidationError) Error() string
- func (e GetTuplesResponseValidationError) ErrorName() string
- func (e GetTuplesResponseValidationError) Field() string
- func (e GetTuplesResponseValidationError) Key() bool
- func (e GetTuplesResponseValidationError) Reason() string
- type ListObjectsRequest
- func (*ListObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListObjectsRequest) GetNamespace() string
- func (x *ListObjectsRequest) GetRelation() string
- func (x *ListObjectsRequest) GetUser() string
- func (*ListObjectsRequest) ProtoMessage()
- func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListObjectsRequest) Reset()
- func (x *ListObjectsRequest) String() string
- func (m *ListObjectsRequest) Validate() error
- func (m *ListObjectsRequest) ValidateAll() error
- type ListObjectsRequestMultiError
- type ListObjectsRequestValidationError
- func (e ListObjectsRequestValidationError) Cause() error
- func (e ListObjectsRequestValidationError) Error() string
- func (e ListObjectsRequestValidationError) ErrorName() string
- func (e ListObjectsRequestValidationError) Field() string
- func (e ListObjectsRequestValidationError) Key() bool
- func (e ListObjectsRequestValidationError) Reason() string
- type ListObjectsResponse
- func (*ListObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListObjectsResponse) GetIds() []string
- func (*ListObjectsResponse) ProtoMessage()
- func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListObjectsResponse) Reset()
- func (x *ListObjectsResponse) String() string
- func (m *ListObjectsResponse) Validate() error
- func (m *ListObjectsResponse) ValidateAll() error
- type ListObjectsResponseMultiError
- type ListObjectsResponseValidationError
- func (e ListObjectsResponseValidationError) Cause() error
- func (e ListObjectsResponseValidationError) Error() string
- func (e ListObjectsResponseValidationError) ErrorName() string
- func (e ListObjectsResponseValidationError) Field() string
- func (e ListObjectsResponseValidationError) Key() bool
- func (e ListObjectsResponseValidationError) Reason() string
- type RelationConfig
- func (*RelationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RelationConfig) GetNamespace() string
- func (x *RelationConfig) GetRelation() string
- func (x *RelationConfig) GetRewrite() string
- func (*RelationConfig) ProtoMessage()
- func (x *RelationConfig) ProtoReflect() protoreflect.Message
- func (x *RelationConfig) Reset()
- func (x *RelationConfig) String() string
- func (m *RelationConfig) Validate() error
- func (m *RelationConfig) ValidateAll() error
- type RelationConfigMultiError
- type RelationConfigValidationError
- func (e RelationConfigValidationError) Cause() error
- func (e RelationConfigValidationError) Error() string
- func (e RelationConfigValidationError) ErrorName() string
- func (e RelationConfigValidationError) Field() string
- func (e RelationConfigValidationError) Key() bool
- func (e RelationConfigValidationError) Reason() string
- type Tuple
- func (*Tuple) Descriptor() ([]byte, []int)deprecated
- func (x *Tuple) GetId() string
- func (x *Tuple) GetNamespace() string
- func (x *Tuple) GetRelation() string
- func (x *Tuple) GetUser() string
- func (*Tuple) ProtoMessage()
- func (x *Tuple) ProtoReflect() protoreflect.Message
- func (x *Tuple) Reset()
- func (x *Tuple) String() string
- func (m *Tuple) Validate() error
- func (m *Tuple) ValidateAll() error
- type TupleMultiError
- type TupleValidationError
- type WriteSchemaRequest
- func (*WriteSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteSchemaRequest) GetConfigs() []*RelationConfig
- func (*WriteSchemaRequest) ProtoMessage()
- func (x *WriteSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *WriteSchemaRequest) Reset()
- func (x *WriteSchemaRequest) String() string
- func (m *WriteSchemaRequest) Validate() error
- func (m *WriteSchemaRequest) ValidateAll() error
- type WriteSchemaRequestMultiError
- type WriteSchemaRequestValidationError
- func (e WriteSchemaRequestValidationError) Cause() error
- func (e WriteSchemaRequestValidationError) Error() string
- func (e WriteSchemaRequestValidationError) ErrorName() string
- func (e WriteSchemaRequestValidationError) Field() string
- func (e WriteSchemaRequestValidationError) Key() bool
- func (e WriteSchemaRequestValidationError) Reason() string
- type WriteSchemaResponse
- func (*WriteSchemaResponse) Descriptor() ([]byte, []int)deprecated
- func (*WriteSchemaResponse) ProtoMessage()
- func (x *WriteSchemaResponse) ProtoReflect() protoreflect.Message
- func (x *WriteSchemaResponse) Reset()
- func (x *WriteSchemaResponse) String() string
- func (m *WriteSchemaResponse) Validate() error
- func (m *WriteSchemaResponse) ValidateAll() error
- type WriteSchemaResponseMultiError
- type WriteSchemaResponseValidationError
- func (e WriteSchemaResponseValidationError) Cause() error
- func (e WriteSchemaResponseValidationError) Error() string
- func (e WriteSchemaResponseValidationError) ErrorName() string
- func (e WriteSchemaResponseValidationError) Field() string
- func (e WriteSchemaResponseValidationError) Key() bool
- func (e WriteSchemaResponseValidationError) Reason() string
- type WriteTuplesRequest
- func (*WriteTuplesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteTuplesRequest) GetTuples() []*Tuple
- func (*WriteTuplesRequest) ProtoMessage()
- func (x *WriteTuplesRequest) ProtoReflect() protoreflect.Message
- func (x *WriteTuplesRequest) Reset()
- func (x *WriteTuplesRequest) String() string
- func (m *WriteTuplesRequest) Validate() error
- func (m *WriteTuplesRequest) ValidateAll() error
- type WriteTuplesRequestMultiError
- type WriteTuplesRequestValidationError
- func (e WriteTuplesRequestValidationError) Cause() error
- func (e WriteTuplesRequestValidationError) Error() string
- func (e WriteTuplesRequestValidationError) ErrorName() string
- func (e WriteTuplesRequestValidationError) Field() string
- func (e WriteTuplesRequestValidationError) Key() bool
- func (e WriteTuplesRequestValidationError) Reason() string
- type WriteTuplesResponse
- func (*WriteTuplesResponse) Descriptor() ([]byte, []int)deprecated
- func (*WriteTuplesResponse) ProtoMessage()
- func (x *WriteTuplesResponse) ProtoReflect() protoreflect.Message
- func (x *WriteTuplesResponse) Reset()
- func (x *WriteTuplesResponse) String() string
- func (m *WriteTuplesResponse) Validate() error
- func (m *WriteTuplesResponse) ValidateAll() error
- type WriteTuplesResponseMultiError
- type WriteTuplesResponseValidationError
- func (e WriteTuplesResponseValidationError) Cause() error
- func (e WriteTuplesResponseValidationError) Error() string
- func (e WriteTuplesResponseValidationError) ErrorName() string
- func (e WriteTuplesResponseValidationError) Field() string
- func (e WriteTuplesResponseValidationError) Key() bool
- func (e WriteTuplesResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_nungwi_v1alpha_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CheckRequest ¶
type CheckRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"` User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CheckRequest) Descriptor
deprecated
func (*CheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.
func (*CheckRequest) GetId ¶
func (x *CheckRequest) GetId() string
func (*CheckRequest) GetNamespace ¶
func (x *CheckRequest) GetNamespace() string
func (*CheckRequest) GetRelation ¶
func (x *CheckRequest) GetRelation() string
func (*CheckRequest) GetUser ¶
func (x *CheckRequest) GetUser() string
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, the first error encountered is returned, or nil if there are no violations.
func (*CheckRequest) ValidateAll ¶
func (m *CheckRequest) ValidateAll() error
ValidateAll checks the field values on CheckRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CheckRequestMultiError, or nil if none found.
type CheckRequestMultiError ¶
type CheckRequestMultiError []error
CheckRequestMultiError is an error wrapping multiple validation errors returned by CheckRequest.ValidateAll() if the designated constraints aren't met.
func (CheckRequestMultiError) AllErrors ¶
func (m CheckRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckRequestMultiError) Error ¶
func (m CheckRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 { Allowed bool `protobuf:"varint,1,opt,name=allowed,proto3" json:"allowed,omitempty"` // contains filtered or unexported fields }
func (*CheckResponse) Descriptor
deprecated
func (*CheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.
func (*CheckResponse) GetAllowed ¶
func (x *CheckResponse) GetAllowed() bool
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, the first error encountered is returned, or nil if there are no violations.
func (*CheckResponse) ValidateAll ¶
func (m *CheckResponse) ValidateAll() error
ValidateAll checks the field values on CheckResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CheckResponseMultiError, or nil if none found.
type CheckResponseMultiError ¶
type CheckResponseMultiError []error
CheckResponseMultiError is an error wrapping multiple validation errors returned by CheckResponse.ValidateAll() if the designated constraints aren't met.
func (CheckResponseMultiError) AllErrors ¶
func (m CheckResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckResponseMultiError) Error ¶
func (m CheckResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 DeleteSchemaRequest ¶
type DeleteSchemaRequest struct {
// contains filtered or unexported fields
}
func (*DeleteSchemaRequest) Descriptor
deprecated
func (*DeleteSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSchemaRequest.ProtoReflect.Descriptor instead.
func (*DeleteSchemaRequest) ProtoMessage ¶
func (*DeleteSchemaRequest) ProtoMessage()
func (*DeleteSchemaRequest) ProtoReflect ¶
func (x *DeleteSchemaRequest) ProtoReflect() protoreflect.Message
func (*DeleteSchemaRequest) Reset ¶
func (x *DeleteSchemaRequest) Reset()
func (*DeleteSchemaRequest) String ¶
func (x *DeleteSchemaRequest) String() string
func (*DeleteSchemaRequest) Validate ¶
func (m *DeleteSchemaRequest) Validate() error
Validate checks the field values on DeleteSchemaRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteSchemaRequest) ValidateAll ¶
func (m *DeleteSchemaRequest) ValidateAll() error
ValidateAll checks the field values on DeleteSchemaRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteSchemaRequestMultiError, or nil if none found.
type DeleteSchemaRequestMultiError ¶
type DeleteSchemaRequestMultiError []error
DeleteSchemaRequestMultiError is an error wrapping multiple validation errors returned by DeleteSchemaRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteSchemaRequestMultiError) AllErrors ¶
func (m DeleteSchemaRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteSchemaRequestMultiError) Error ¶
func (m DeleteSchemaRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteSchemaRequestValidationError ¶
type DeleteSchemaRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteSchemaRequestValidationError is the validation error returned by DeleteSchemaRequest.Validate if the designated constraints aren't met.
func (DeleteSchemaRequestValidationError) Cause ¶
func (e DeleteSchemaRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteSchemaRequestValidationError) Error ¶
func (e DeleteSchemaRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteSchemaRequestValidationError) ErrorName ¶
func (e DeleteSchemaRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteSchemaRequestValidationError) Field ¶
func (e DeleteSchemaRequestValidationError) Field() string
Field function returns field value.
func (DeleteSchemaRequestValidationError) Key ¶
func (e DeleteSchemaRequestValidationError) Key() bool
Key function returns key value.
func (DeleteSchemaRequestValidationError) Reason ¶
func (e DeleteSchemaRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteSchemaResponse ¶
type DeleteSchemaResponse struct {
// contains filtered or unexported fields
}
func (*DeleteSchemaResponse) Descriptor
deprecated
func (*DeleteSchemaResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSchemaResponse.ProtoReflect.Descriptor instead.
func (*DeleteSchemaResponse) ProtoMessage ¶
func (*DeleteSchemaResponse) ProtoMessage()
func (*DeleteSchemaResponse) ProtoReflect ¶
func (x *DeleteSchemaResponse) ProtoReflect() protoreflect.Message
func (*DeleteSchemaResponse) Reset ¶
func (x *DeleteSchemaResponse) Reset()
func (*DeleteSchemaResponse) String ¶
func (x *DeleteSchemaResponse) String() string
func (*DeleteSchemaResponse) Validate ¶
func (m *DeleteSchemaResponse) Validate() error
Validate checks the field values on DeleteSchemaResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteSchemaResponse) ValidateAll ¶
func (m *DeleteSchemaResponse) ValidateAll() error
ValidateAll checks the field values on DeleteSchemaResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteSchemaResponseMultiError, or nil if none found.
type DeleteSchemaResponseMultiError ¶
type DeleteSchemaResponseMultiError []error
DeleteSchemaResponseMultiError is an error wrapping multiple validation errors returned by DeleteSchemaResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteSchemaResponseMultiError) AllErrors ¶
func (m DeleteSchemaResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteSchemaResponseMultiError) Error ¶
func (m DeleteSchemaResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteSchemaResponseValidationError ¶
type DeleteSchemaResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteSchemaResponseValidationError is the validation error returned by DeleteSchemaResponse.Validate if the designated constraints aren't met.
func (DeleteSchemaResponseValidationError) Cause ¶
func (e DeleteSchemaResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteSchemaResponseValidationError) Error ¶
func (e DeleteSchemaResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteSchemaResponseValidationError) ErrorName ¶
func (e DeleteSchemaResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteSchemaResponseValidationError) Field ¶
func (e DeleteSchemaResponseValidationError) Field() string
Field function returns field value.
func (DeleteSchemaResponseValidationError) Key ¶
func (e DeleteSchemaResponseValidationError) Key() bool
Key function returns key value.
func (DeleteSchemaResponseValidationError) Reason ¶
func (e DeleteSchemaResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteTuplesRequest ¶
type DeleteTuplesRequest struct { Tuples []*Tuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"` // contains filtered or unexported fields }
func (*DeleteTuplesRequest) Descriptor
deprecated
func (*DeleteTuplesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTuplesRequest.ProtoReflect.Descriptor instead.
func (*DeleteTuplesRequest) GetTuples ¶
func (x *DeleteTuplesRequest) GetTuples() []*Tuple
func (*DeleteTuplesRequest) ProtoMessage ¶
func (*DeleteTuplesRequest) ProtoMessage()
func (*DeleteTuplesRequest) ProtoReflect ¶
func (x *DeleteTuplesRequest) ProtoReflect() protoreflect.Message
func (*DeleteTuplesRequest) Reset ¶
func (x *DeleteTuplesRequest) Reset()
func (*DeleteTuplesRequest) String ¶
func (x *DeleteTuplesRequest) String() string
func (*DeleteTuplesRequest) Validate ¶
func (m *DeleteTuplesRequest) Validate() error
Validate checks the field values on DeleteTuplesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteTuplesRequest) ValidateAll ¶
func (m *DeleteTuplesRequest) ValidateAll() error
ValidateAll checks the field values on DeleteTuplesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTuplesRequestMultiError, or nil if none found.
type DeleteTuplesRequestMultiError ¶
type DeleteTuplesRequestMultiError []error
DeleteTuplesRequestMultiError is an error wrapping multiple validation errors returned by DeleteTuplesRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteTuplesRequestMultiError) AllErrors ¶
func (m DeleteTuplesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTuplesRequestMultiError) Error ¶
func (m DeleteTuplesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTuplesRequestValidationError ¶
type DeleteTuplesRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteTuplesRequestValidationError is the validation error returned by DeleteTuplesRequest.Validate if the designated constraints aren't met.
func (DeleteTuplesRequestValidationError) Cause ¶
func (e DeleteTuplesRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteTuplesRequestValidationError) Error ¶
func (e DeleteTuplesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTuplesRequestValidationError) ErrorName ¶
func (e DeleteTuplesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTuplesRequestValidationError) Field ¶
func (e DeleteTuplesRequestValidationError) Field() string
Field function returns field value.
func (DeleteTuplesRequestValidationError) Key ¶
func (e DeleteTuplesRequestValidationError) Key() bool
Key function returns key value.
func (DeleteTuplesRequestValidationError) Reason ¶
func (e DeleteTuplesRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteTuplesResponse ¶
type DeleteTuplesResponse struct {
// contains filtered or unexported fields
}
func (*DeleteTuplesResponse) Descriptor
deprecated
func (*DeleteTuplesResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTuplesResponse.ProtoReflect.Descriptor instead.
func (*DeleteTuplesResponse) ProtoMessage ¶
func (*DeleteTuplesResponse) ProtoMessage()
func (*DeleteTuplesResponse) ProtoReflect ¶
func (x *DeleteTuplesResponse) ProtoReflect() protoreflect.Message
func (*DeleteTuplesResponse) Reset ¶
func (x *DeleteTuplesResponse) Reset()
func (*DeleteTuplesResponse) String ¶
func (x *DeleteTuplesResponse) String() string
func (*DeleteTuplesResponse) Validate ¶
func (m *DeleteTuplesResponse) Validate() error
Validate checks the field values on DeleteTuplesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteTuplesResponse) ValidateAll ¶
func (m *DeleteTuplesResponse) ValidateAll() error
ValidateAll checks the field values on DeleteTuplesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTuplesResponseMultiError, or nil if none found.
type DeleteTuplesResponseMultiError ¶
type DeleteTuplesResponseMultiError []error
DeleteTuplesResponseMultiError is an error wrapping multiple validation errors returned by DeleteTuplesResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteTuplesResponseMultiError) AllErrors ¶
func (m DeleteTuplesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTuplesResponseMultiError) Error ¶
func (m DeleteTuplesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTuplesResponseValidationError ¶
type DeleteTuplesResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteTuplesResponseValidationError is the validation error returned by DeleteTuplesResponse.Validate if the designated constraints aren't met.
func (DeleteTuplesResponseValidationError) Cause ¶
func (e DeleteTuplesResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteTuplesResponseValidationError) Error ¶
func (e DeleteTuplesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTuplesResponseValidationError) ErrorName ¶
func (e DeleteTuplesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTuplesResponseValidationError) Field ¶
func (e DeleteTuplesResponseValidationError) Field() string
Field function returns field value.
func (DeleteTuplesResponseValidationError) Key ¶
func (e DeleteTuplesResponseValidationError) Key() bool
Key function returns key value.
func (DeleteTuplesResponseValidationError) Reason ¶
func (e DeleteTuplesResponseValidationError) Reason() string
Reason function returns reason value.
type GetSchemaRequest ¶
type GetSchemaRequest struct {
// contains filtered or unexported fields
}
func (*GetSchemaRequest) Descriptor
deprecated
func (*GetSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead.
func (*GetSchemaRequest) ProtoMessage ¶
func (*GetSchemaRequest) ProtoMessage()
func (*GetSchemaRequest) ProtoReflect ¶
func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message
func (*GetSchemaRequest) Reset ¶
func (x *GetSchemaRequest) Reset()
func (*GetSchemaRequest) String ¶
func (x *GetSchemaRequest) String() string
func (*GetSchemaRequest) Validate ¶
func (m *GetSchemaRequest) Validate() error
Validate checks the field values on GetSchemaRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetSchemaRequest) ValidateAll ¶
func (m *GetSchemaRequest) ValidateAll() error
ValidateAll checks the field values on GetSchemaRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSchemaRequestMultiError, or nil if none found.
type GetSchemaRequestMultiError ¶
type GetSchemaRequestMultiError []error
GetSchemaRequestMultiError is an error wrapping multiple validation errors returned by GetSchemaRequest.ValidateAll() if the designated constraints aren't met.
func (GetSchemaRequestMultiError) AllErrors ¶
func (m GetSchemaRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSchemaRequestMultiError) Error ¶
func (m GetSchemaRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSchemaRequestValidationError ¶
type GetSchemaRequestValidationError struct {
// contains filtered or unexported fields
}
GetSchemaRequestValidationError is the validation error returned by GetSchemaRequest.Validate if the designated constraints aren't met.
func (GetSchemaRequestValidationError) Cause ¶
func (e GetSchemaRequestValidationError) Cause() error
Cause function returns cause value.
func (GetSchemaRequestValidationError) Error ¶
func (e GetSchemaRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetSchemaRequestValidationError) ErrorName ¶
func (e GetSchemaRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetSchemaRequestValidationError) Field ¶
func (e GetSchemaRequestValidationError) Field() string
Field function returns field value.
func (GetSchemaRequestValidationError) Key ¶
func (e GetSchemaRequestValidationError) Key() bool
Key function returns key value.
func (GetSchemaRequestValidationError) Reason ¶
func (e GetSchemaRequestValidationError) Reason() string
Reason function returns reason value.
type GetSchemaResponse ¶
type GetSchemaResponse struct { Configs []*RelationConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"` // contains filtered or unexported fields }
func (*GetSchemaResponse) Descriptor
deprecated
func (*GetSchemaResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSchemaResponse.ProtoReflect.Descriptor instead.
func (*GetSchemaResponse) GetConfigs ¶
func (x *GetSchemaResponse) GetConfigs() []*RelationConfig
func (*GetSchemaResponse) ProtoMessage ¶
func (*GetSchemaResponse) ProtoMessage()
func (*GetSchemaResponse) ProtoReflect ¶
func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message
func (*GetSchemaResponse) Reset ¶
func (x *GetSchemaResponse) Reset()
func (*GetSchemaResponse) String ¶
func (x *GetSchemaResponse) String() string
func (*GetSchemaResponse) Validate ¶
func (m *GetSchemaResponse) Validate() error
Validate checks the field values on GetSchemaResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetSchemaResponse) ValidateAll ¶
func (m *GetSchemaResponse) ValidateAll() error
ValidateAll checks the field values on GetSchemaResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSchemaResponseMultiError, or nil if none found.
type GetSchemaResponseMultiError ¶
type GetSchemaResponseMultiError []error
GetSchemaResponseMultiError is an error wrapping multiple validation errors returned by GetSchemaResponse.ValidateAll() if the designated constraints aren't met.
func (GetSchemaResponseMultiError) AllErrors ¶
func (m GetSchemaResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSchemaResponseMultiError) Error ¶
func (m GetSchemaResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSchemaResponseValidationError ¶
type GetSchemaResponseValidationError struct {
// contains filtered or unexported fields
}
GetSchemaResponseValidationError is the validation error returned by GetSchemaResponse.Validate if the designated constraints aren't met.
func (GetSchemaResponseValidationError) Cause ¶
func (e GetSchemaResponseValidationError) Cause() error
Cause function returns cause value.
func (GetSchemaResponseValidationError) Error ¶
func (e GetSchemaResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetSchemaResponseValidationError) ErrorName ¶
func (e GetSchemaResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetSchemaResponseValidationError) Field ¶
func (e GetSchemaResponseValidationError) Field() string
Field function returns field value.
func (GetSchemaResponseValidationError) Key ¶
func (e GetSchemaResponseValidationError) Key() bool
Key function returns key value.
func (GetSchemaResponseValidationError) Reason ¶
func (e GetSchemaResponseValidationError) Reason() string
Reason function returns reason value.
type GetTuplesRequest ¶
type GetTuplesRequest struct {
// contains filtered or unexported fields
}
func (*GetTuplesRequest) Descriptor
deprecated
func (*GetTuplesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTuplesRequest.ProtoReflect.Descriptor instead.
func (*GetTuplesRequest) ProtoMessage ¶
func (*GetTuplesRequest) ProtoMessage()
func (*GetTuplesRequest) ProtoReflect ¶
func (x *GetTuplesRequest) ProtoReflect() protoreflect.Message
func (*GetTuplesRequest) Reset ¶
func (x *GetTuplesRequest) Reset()
func (*GetTuplesRequest) String ¶
func (x *GetTuplesRequest) String() string
func (*GetTuplesRequest) Validate ¶
func (m *GetTuplesRequest) Validate() error
Validate checks the field values on GetTuplesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetTuplesRequest) ValidateAll ¶
func (m *GetTuplesRequest) ValidateAll() error
ValidateAll checks the field values on GetTuplesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTuplesRequestMultiError, or nil if none found.
type GetTuplesRequestMultiError ¶
type GetTuplesRequestMultiError []error
GetTuplesRequestMultiError is an error wrapping multiple validation errors returned by GetTuplesRequest.ValidateAll() if the designated constraints aren't met.
func (GetTuplesRequestMultiError) AllErrors ¶
func (m GetTuplesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTuplesRequestMultiError) Error ¶
func (m GetTuplesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTuplesRequestValidationError ¶
type GetTuplesRequestValidationError struct {
// contains filtered or unexported fields
}
GetTuplesRequestValidationError is the validation error returned by GetTuplesRequest.Validate if the designated constraints aren't met.
func (GetTuplesRequestValidationError) Cause ¶
func (e GetTuplesRequestValidationError) Cause() error
Cause function returns cause value.
func (GetTuplesRequestValidationError) Error ¶
func (e GetTuplesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetTuplesRequestValidationError) ErrorName ¶
func (e GetTuplesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetTuplesRequestValidationError) Field ¶
func (e GetTuplesRequestValidationError) Field() string
Field function returns field value.
func (GetTuplesRequestValidationError) Key ¶
func (e GetTuplesRequestValidationError) Key() bool
Key function returns key value.
func (GetTuplesRequestValidationError) Reason ¶
func (e GetTuplesRequestValidationError) Reason() string
Reason function returns reason value.
type GetTuplesResponse ¶
type GetTuplesResponse struct { Tuples []*Tuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"` // contains filtered or unexported fields }
func (*GetTuplesResponse) Descriptor
deprecated
func (*GetTuplesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTuplesResponse.ProtoReflect.Descriptor instead.
func (*GetTuplesResponse) GetTuples ¶
func (x *GetTuplesResponse) GetTuples() []*Tuple
func (*GetTuplesResponse) ProtoMessage ¶
func (*GetTuplesResponse) ProtoMessage()
func (*GetTuplesResponse) ProtoReflect ¶
func (x *GetTuplesResponse) ProtoReflect() protoreflect.Message
func (*GetTuplesResponse) Reset ¶
func (x *GetTuplesResponse) Reset()
func (*GetTuplesResponse) String ¶
func (x *GetTuplesResponse) String() string
func (*GetTuplesResponse) Validate ¶
func (m *GetTuplesResponse) Validate() error
Validate checks the field values on GetTuplesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetTuplesResponse) ValidateAll ¶
func (m *GetTuplesResponse) ValidateAll() error
ValidateAll checks the field values on GetTuplesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTuplesResponseMultiError, or nil if none found.
type GetTuplesResponseMultiError ¶
type GetTuplesResponseMultiError []error
GetTuplesResponseMultiError is an error wrapping multiple validation errors returned by GetTuplesResponse.ValidateAll() if the designated constraints aren't met.
func (GetTuplesResponseMultiError) AllErrors ¶
func (m GetTuplesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTuplesResponseMultiError) Error ¶
func (m GetTuplesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTuplesResponseValidationError ¶
type GetTuplesResponseValidationError struct {
// contains filtered or unexported fields
}
GetTuplesResponseValidationError is the validation error returned by GetTuplesResponse.Validate if the designated constraints aren't met.
func (GetTuplesResponseValidationError) Cause ¶
func (e GetTuplesResponseValidationError) Cause() error
Cause function returns cause value.
func (GetTuplesResponseValidationError) Error ¶
func (e GetTuplesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetTuplesResponseValidationError) ErrorName ¶
func (e GetTuplesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetTuplesResponseValidationError) Field ¶
func (e GetTuplesResponseValidationError) Field() string
Field function returns field value.
func (GetTuplesResponseValidationError) Key ¶
func (e GetTuplesResponseValidationError) Key() bool
Key function returns key value.
func (GetTuplesResponseValidationError) Reason ¶
func (e GetTuplesResponseValidationError) Reason() string
Reason function returns reason value.
type ListObjectsRequest ¶
type ListObjectsRequest 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"` User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*ListObjectsRequest) Descriptor
deprecated
func (*ListObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListObjectsRequest.ProtoReflect.Descriptor instead.
func (*ListObjectsRequest) GetNamespace ¶
func (x *ListObjectsRequest) GetNamespace() string
func (*ListObjectsRequest) GetRelation ¶
func (x *ListObjectsRequest) GetRelation() string
func (*ListObjectsRequest) GetUser ¶
func (x *ListObjectsRequest) GetUser() string
func (*ListObjectsRequest) ProtoMessage ¶
func (*ListObjectsRequest) ProtoMessage()
func (*ListObjectsRequest) ProtoReflect ¶
func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
func (*ListObjectsRequest) Reset ¶
func (x *ListObjectsRequest) Reset()
func (*ListObjectsRequest) String ¶
func (x *ListObjectsRequest) String() string
func (*ListObjectsRequest) Validate ¶
func (m *ListObjectsRequest) Validate() error
Validate checks the field values on ListObjectsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListObjectsRequest) ValidateAll ¶
func (m *ListObjectsRequest) ValidateAll() error
ValidateAll checks the field values on ListObjectsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListObjectsRequestMultiError, or nil if none found.
type ListObjectsRequestMultiError ¶
type ListObjectsRequestMultiError []error
ListObjectsRequestMultiError is an error wrapping multiple validation errors returned by ListObjectsRequest.ValidateAll() if the designated constraints aren't met.
func (ListObjectsRequestMultiError) AllErrors ¶
func (m ListObjectsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListObjectsRequestMultiError) Error ¶
func (m ListObjectsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListObjectsRequestValidationError ¶
type ListObjectsRequestValidationError struct {
// contains filtered or unexported fields
}
ListObjectsRequestValidationError is the validation error returned by ListObjectsRequest.Validate if the designated constraints aren't met.
func (ListObjectsRequestValidationError) Cause ¶
func (e ListObjectsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListObjectsRequestValidationError) Error ¶
func (e ListObjectsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListObjectsRequestValidationError) ErrorName ¶
func (e ListObjectsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListObjectsRequestValidationError) Field ¶
func (e ListObjectsRequestValidationError) Field() string
Field function returns field value.
func (ListObjectsRequestValidationError) Key ¶
func (e ListObjectsRequestValidationError) Key() bool
Key function returns key value.
func (ListObjectsRequestValidationError) Reason ¶
func (e ListObjectsRequestValidationError) Reason() string
Reason function returns reason value.
type ListObjectsResponse ¶
type ListObjectsResponse struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*ListObjectsResponse) Descriptor
deprecated
func (*ListObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListObjectsResponse.ProtoReflect.Descriptor instead.
func (*ListObjectsResponse) GetIds ¶
func (x *ListObjectsResponse) GetIds() []string
func (*ListObjectsResponse) ProtoMessage ¶
func (*ListObjectsResponse) ProtoMessage()
func (*ListObjectsResponse) ProtoReflect ¶
func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message
func (*ListObjectsResponse) Reset ¶
func (x *ListObjectsResponse) Reset()
func (*ListObjectsResponse) String ¶
func (x *ListObjectsResponse) String() string
func (*ListObjectsResponse) Validate ¶
func (m *ListObjectsResponse) Validate() error
Validate checks the field values on ListObjectsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListObjectsResponse) ValidateAll ¶
func (m *ListObjectsResponse) ValidateAll() error
ValidateAll checks the field values on ListObjectsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListObjectsResponseMultiError, or nil if none found.
type ListObjectsResponseMultiError ¶
type ListObjectsResponseMultiError []error
ListObjectsResponseMultiError is an error wrapping multiple validation errors returned by ListObjectsResponse.ValidateAll() if the designated constraints aren't met.
func (ListObjectsResponseMultiError) AllErrors ¶
func (m ListObjectsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListObjectsResponseMultiError) Error ¶
func (m ListObjectsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListObjectsResponseValidationError ¶
type ListObjectsResponseValidationError struct {
// contains filtered or unexported fields
}
ListObjectsResponseValidationError is the validation error returned by ListObjectsResponse.Validate if the designated constraints aren't met.
func (ListObjectsResponseValidationError) Cause ¶
func (e ListObjectsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListObjectsResponseValidationError) Error ¶
func (e ListObjectsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListObjectsResponseValidationError) ErrorName ¶
func (e ListObjectsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListObjectsResponseValidationError) Field ¶
func (e ListObjectsResponseValidationError) Field() string
Field function returns field value.
func (ListObjectsResponseValidationError) Key ¶
func (e ListObjectsResponseValidationError) Key() bool
Key function returns key value.
func (ListObjectsResponseValidationError) Reason ¶
func (e ListObjectsResponseValidationError) Reason() string
Reason function returns reason value.
type RelationConfig ¶
type RelationConfig struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` Rewrite string `protobuf:"bytes,3,opt,name=rewrite,proto3" json:"rewrite,omitempty"` // contains filtered or unexported fields }
func (*RelationConfig) Descriptor
deprecated
func (*RelationConfig) Descriptor() ([]byte, []int)
Deprecated: Use RelationConfig.ProtoReflect.Descriptor instead.
func (*RelationConfig) GetNamespace ¶
func (x *RelationConfig) GetNamespace() string
func (*RelationConfig) GetRelation ¶
func (x *RelationConfig) GetRelation() string
func (*RelationConfig) GetRewrite ¶
func (x *RelationConfig) GetRewrite() string
func (*RelationConfig) ProtoMessage ¶
func (*RelationConfig) ProtoMessage()
func (*RelationConfig) ProtoReflect ¶
func (x *RelationConfig) ProtoReflect() protoreflect.Message
func (*RelationConfig) Reset ¶
func (x *RelationConfig) Reset()
func (*RelationConfig) String ¶
func (x *RelationConfig) String() string
func (*RelationConfig) Validate ¶
func (m *RelationConfig) Validate() error
Validate checks the field values on RelationConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RelationConfig) ValidateAll ¶
func (m *RelationConfig) ValidateAll() error
ValidateAll checks the field values on RelationConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RelationConfigMultiError, or nil if none found.
type RelationConfigMultiError ¶
type RelationConfigMultiError []error
RelationConfigMultiError is an error wrapping multiple validation errors returned by RelationConfig.ValidateAll() if the designated constraints aren't met.
func (RelationConfigMultiError) AllErrors ¶
func (m RelationConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelationConfigMultiError) Error ¶
func (m RelationConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelationConfigValidationError ¶
type RelationConfigValidationError struct {
// contains filtered or unexported fields
}
RelationConfigValidationError is the validation error returned by RelationConfig.Validate if the designated constraints aren't met.
func (RelationConfigValidationError) Cause ¶
func (e RelationConfigValidationError) Cause() error
Cause function returns cause value.
func (RelationConfigValidationError) Error ¶
func (e RelationConfigValidationError) Error() string
Error satisfies the builtin error interface
func (RelationConfigValidationError) ErrorName ¶
func (e RelationConfigValidationError) ErrorName() string
ErrorName returns error name.
func (RelationConfigValidationError) Field ¶
func (e RelationConfigValidationError) Field() string
Field function returns field value.
func (RelationConfigValidationError) Key ¶
func (e RelationConfigValidationError) Key() bool
Key function returns key value.
func (RelationConfigValidationError) Reason ¶
func (e RelationConfigValidationError) Reason() string
Reason function returns reason value.
type Tuple ¶
type Tuple struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"` User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*Tuple) Descriptor
deprecated
func (*Tuple) GetNamespace ¶
func (*Tuple) GetRelation ¶
func (*Tuple) ProtoMessage ¶
func (*Tuple) ProtoMessage()
func (*Tuple) ProtoReflect ¶
func (x *Tuple) ProtoReflect() protoreflect.Message
func (*Tuple) Validate ¶
Validate checks the field values on Tuple with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Tuple) ValidateAll ¶
ValidateAll checks the field values on Tuple with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TupleMultiError, or nil if none found.
type TupleMultiError ¶
type TupleMultiError []error
TupleMultiError is an error wrapping multiple validation errors returned by Tuple.ValidateAll() if the designated constraints aren't met.
func (TupleMultiError) AllErrors ¶
func (m TupleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TupleMultiError) Error ¶
func (m TupleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TupleValidationError ¶
type TupleValidationError struct {
// contains filtered or unexported fields
}
TupleValidationError is the validation error returned by Tuple.Validate if the designated constraints aren't met.
func (TupleValidationError) Cause ¶
func (e TupleValidationError) Cause() error
Cause function returns cause value.
func (TupleValidationError) Error ¶
func (e TupleValidationError) Error() string
Error satisfies the builtin error interface
func (TupleValidationError) ErrorName ¶
func (e TupleValidationError) ErrorName() string
ErrorName returns error name.
func (TupleValidationError) Field ¶
func (e TupleValidationError) Field() string
Field function returns field value.
func (TupleValidationError) Key ¶
func (e TupleValidationError) Key() bool
Key function returns key value.
func (TupleValidationError) Reason ¶
func (e TupleValidationError) Reason() string
Reason function returns reason value.
type WriteSchemaRequest ¶
type WriteSchemaRequest struct { Configs []*RelationConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"` // contains filtered or unexported fields }
func (*WriteSchemaRequest) Descriptor
deprecated
func (*WriteSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteSchemaRequest.ProtoReflect.Descriptor instead.
func (*WriteSchemaRequest) GetConfigs ¶
func (x *WriteSchemaRequest) GetConfigs() []*RelationConfig
func (*WriteSchemaRequest) ProtoMessage ¶
func (*WriteSchemaRequest) ProtoMessage()
func (*WriteSchemaRequest) ProtoReflect ¶
func (x *WriteSchemaRequest) ProtoReflect() protoreflect.Message
func (*WriteSchemaRequest) Reset ¶
func (x *WriteSchemaRequest) Reset()
func (*WriteSchemaRequest) String ¶
func (x *WriteSchemaRequest) String() string
func (*WriteSchemaRequest) Validate ¶
func (m *WriteSchemaRequest) Validate() error
Validate checks the field values on WriteSchemaRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WriteSchemaRequest) ValidateAll ¶
func (m *WriteSchemaRequest) ValidateAll() error
ValidateAll checks the field values on WriteSchemaRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WriteSchemaRequestMultiError, or nil if none found.
type WriteSchemaRequestMultiError ¶
type WriteSchemaRequestMultiError []error
WriteSchemaRequestMultiError is an error wrapping multiple validation errors returned by WriteSchemaRequest.ValidateAll() if the designated constraints aren't met.
func (WriteSchemaRequestMultiError) AllErrors ¶
func (m WriteSchemaRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WriteSchemaRequestMultiError) Error ¶
func (m WriteSchemaRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WriteSchemaRequestValidationError ¶
type WriteSchemaRequestValidationError struct {
// contains filtered or unexported fields
}
WriteSchemaRequestValidationError is the validation error returned by WriteSchemaRequest.Validate if the designated constraints aren't met.
func (WriteSchemaRequestValidationError) Cause ¶
func (e WriteSchemaRequestValidationError) Cause() error
Cause function returns cause value.
func (WriteSchemaRequestValidationError) Error ¶
func (e WriteSchemaRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WriteSchemaRequestValidationError) ErrorName ¶
func (e WriteSchemaRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WriteSchemaRequestValidationError) Field ¶
func (e WriteSchemaRequestValidationError) Field() string
Field function returns field value.
func (WriteSchemaRequestValidationError) Key ¶
func (e WriteSchemaRequestValidationError) Key() bool
Key function returns key value.
func (WriteSchemaRequestValidationError) Reason ¶
func (e WriteSchemaRequestValidationError) Reason() string
Reason function returns reason value.
type WriteSchemaResponse ¶
type WriteSchemaResponse struct {
// contains filtered or unexported fields
}
func (*WriteSchemaResponse) Descriptor
deprecated
func (*WriteSchemaResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteSchemaResponse.ProtoReflect.Descriptor instead.
func (*WriteSchemaResponse) ProtoMessage ¶
func (*WriteSchemaResponse) ProtoMessage()
func (*WriteSchemaResponse) ProtoReflect ¶
func (x *WriteSchemaResponse) ProtoReflect() protoreflect.Message
func (*WriteSchemaResponse) Reset ¶
func (x *WriteSchemaResponse) Reset()
func (*WriteSchemaResponse) String ¶
func (x *WriteSchemaResponse) String() string
func (*WriteSchemaResponse) Validate ¶
func (m *WriteSchemaResponse) Validate() error
Validate checks the field values on WriteSchemaResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WriteSchemaResponse) ValidateAll ¶
func (m *WriteSchemaResponse) ValidateAll() error
ValidateAll checks the field values on WriteSchemaResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WriteSchemaResponseMultiError, or nil if none found.
type WriteSchemaResponseMultiError ¶
type WriteSchemaResponseMultiError []error
WriteSchemaResponseMultiError is an error wrapping multiple validation errors returned by WriteSchemaResponse.ValidateAll() if the designated constraints aren't met.
func (WriteSchemaResponseMultiError) AllErrors ¶
func (m WriteSchemaResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WriteSchemaResponseMultiError) Error ¶
func (m WriteSchemaResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WriteSchemaResponseValidationError ¶
type WriteSchemaResponseValidationError struct {
// contains filtered or unexported fields
}
WriteSchemaResponseValidationError is the validation error returned by WriteSchemaResponse.Validate if the designated constraints aren't met.
func (WriteSchemaResponseValidationError) Cause ¶
func (e WriteSchemaResponseValidationError) Cause() error
Cause function returns cause value.
func (WriteSchemaResponseValidationError) Error ¶
func (e WriteSchemaResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WriteSchemaResponseValidationError) ErrorName ¶
func (e WriteSchemaResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WriteSchemaResponseValidationError) Field ¶
func (e WriteSchemaResponseValidationError) Field() string
Field function returns field value.
func (WriteSchemaResponseValidationError) Key ¶
func (e WriteSchemaResponseValidationError) Key() bool
Key function returns key value.
func (WriteSchemaResponseValidationError) Reason ¶
func (e WriteSchemaResponseValidationError) Reason() string
Reason function returns reason value.
type WriteTuplesRequest ¶
type WriteTuplesRequest struct { Tuples []*Tuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"` // contains filtered or unexported fields }
func (*WriteTuplesRequest) Descriptor
deprecated
func (*WriteTuplesRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteTuplesRequest.ProtoReflect.Descriptor instead.
func (*WriteTuplesRequest) GetTuples ¶
func (x *WriteTuplesRequest) GetTuples() []*Tuple
func (*WriteTuplesRequest) ProtoMessage ¶
func (*WriteTuplesRequest) ProtoMessage()
func (*WriteTuplesRequest) ProtoReflect ¶
func (x *WriteTuplesRequest) ProtoReflect() protoreflect.Message
func (*WriteTuplesRequest) Reset ¶
func (x *WriteTuplesRequest) Reset()
func (*WriteTuplesRequest) String ¶
func (x *WriteTuplesRequest) String() string
func (*WriteTuplesRequest) Validate ¶
func (m *WriteTuplesRequest) Validate() error
Validate checks the field values on WriteTuplesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WriteTuplesRequest) ValidateAll ¶
func (m *WriteTuplesRequest) ValidateAll() error
ValidateAll checks the field values on WriteTuplesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WriteTuplesRequestMultiError, or nil if none found.
type WriteTuplesRequestMultiError ¶
type WriteTuplesRequestMultiError []error
WriteTuplesRequestMultiError is an error wrapping multiple validation errors returned by WriteTuplesRequest.ValidateAll() if the designated constraints aren't met.
func (WriteTuplesRequestMultiError) AllErrors ¶
func (m WriteTuplesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WriteTuplesRequestMultiError) Error ¶
func (m WriteTuplesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WriteTuplesRequestValidationError ¶
type WriteTuplesRequestValidationError struct {
// contains filtered or unexported fields
}
WriteTuplesRequestValidationError is the validation error returned by WriteTuplesRequest.Validate if the designated constraints aren't met.
func (WriteTuplesRequestValidationError) Cause ¶
func (e WriteTuplesRequestValidationError) Cause() error
Cause function returns cause value.
func (WriteTuplesRequestValidationError) Error ¶
func (e WriteTuplesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WriteTuplesRequestValidationError) ErrorName ¶
func (e WriteTuplesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WriteTuplesRequestValidationError) Field ¶
func (e WriteTuplesRequestValidationError) Field() string
Field function returns field value.
func (WriteTuplesRequestValidationError) Key ¶
func (e WriteTuplesRequestValidationError) Key() bool
Key function returns key value.
func (WriteTuplesRequestValidationError) Reason ¶
func (e WriteTuplesRequestValidationError) Reason() string
Reason function returns reason value.
type WriteTuplesResponse ¶
type WriteTuplesResponse struct {
// contains filtered or unexported fields
}
func (*WriteTuplesResponse) Descriptor
deprecated
func (*WriteTuplesResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteTuplesResponse.ProtoReflect.Descriptor instead.
func (*WriteTuplesResponse) ProtoMessage ¶
func (*WriteTuplesResponse) ProtoMessage()
func (*WriteTuplesResponse) ProtoReflect ¶
func (x *WriteTuplesResponse) ProtoReflect() protoreflect.Message
func (*WriteTuplesResponse) Reset ¶
func (x *WriteTuplesResponse) Reset()
func (*WriteTuplesResponse) String ¶
func (x *WriteTuplesResponse) String() string
func (*WriteTuplesResponse) Validate ¶
func (m *WriteTuplesResponse) Validate() error
Validate checks the field values on WriteTuplesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WriteTuplesResponse) ValidateAll ¶
func (m *WriteTuplesResponse) ValidateAll() error
ValidateAll checks the field values on WriteTuplesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WriteTuplesResponseMultiError, or nil if none found.
type WriteTuplesResponseMultiError ¶
type WriteTuplesResponseMultiError []error
WriteTuplesResponseMultiError is an error wrapping multiple validation errors returned by WriteTuplesResponse.ValidateAll() if the designated constraints aren't met.
func (WriteTuplesResponseMultiError) AllErrors ¶
func (m WriteTuplesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WriteTuplesResponseMultiError) Error ¶
func (m WriteTuplesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WriteTuplesResponseValidationError ¶
type WriteTuplesResponseValidationError struct {
// contains filtered or unexported fields
}
WriteTuplesResponseValidationError is the validation error returned by WriteTuplesResponse.Validate if the designated constraints aren't met.
func (WriteTuplesResponseValidationError) Cause ¶
func (e WriteTuplesResponseValidationError) Cause() error
Cause function returns cause value.
func (WriteTuplesResponseValidationError) Error ¶
func (e WriteTuplesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WriteTuplesResponseValidationError) ErrorName ¶
func (e WriteTuplesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WriteTuplesResponseValidationError) Field ¶
func (e WriteTuplesResponseValidationError) Field() string
Field function returns field value.
func (WriteTuplesResponseValidationError) Key ¶
func (e WriteTuplesResponseValidationError) Key() bool
Key function returns key value.
func (WriteTuplesResponseValidationError) Reason ¶
func (e WriteTuplesResponseValidationError) Reason() string
Reason function returns reason value.