nungwiv1alpha

package
v0.0.0-...-aed1f37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

Cause function returns cause value.

func (CheckRequestValidationError) Error

Error satisfies the builtin error interface

func (CheckRequestValidationError) ErrorName

func (e CheckRequestValidationError) ErrorName() string

ErrorName returns error name.

func (CheckRequestValidationError) Field

Field function returns field value.

func (CheckRequestValidationError) Key

Key function returns key value.

func (CheckRequestValidationError) Reason

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

Cause function returns cause value.

func (CheckResponseValidationError) Error

Error satisfies the builtin error interface

func (CheckResponseValidationError) ErrorName

func (e CheckResponseValidationError) ErrorName() string

ErrorName returns error name.

func (CheckResponseValidationError) Field

Field function returns field value.

func (CheckResponseValidationError) Key

Key function returns key value.

func (CheckResponseValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteSchemaRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteSchemaRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteSchemaRequestValidationError) Field

Field function returns field value.

func (DeleteSchemaRequestValidationError) Key

Key function returns key value.

func (DeleteSchemaRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteSchemaResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteSchemaResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteSchemaResponseValidationError) Field

Field function returns field value.

func (DeleteSchemaResponseValidationError) Key

Key function returns key value.

func (DeleteSchemaResponseValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteTuplesRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteTuplesRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteTuplesRequestValidationError) Field

Field function returns field value.

func (DeleteTuplesRequestValidationError) Key

Key function returns key value.

func (DeleteTuplesRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteTuplesResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteTuplesResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteTuplesResponseValidationError) Field

Field function returns field value.

func (DeleteTuplesResponseValidationError) Key

Key function returns key value.

func (DeleteTuplesResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GetSchemaRequestValidationError) Error

Error satisfies the builtin error interface

func (GetSchemaRequestValidationError) ErrorName

ErrorName returns error name.

func (GetSchemaRequestValidationError) Field

Field function returns field value.

func (GetSchemaRequestValidationError) Key

Key function returns key value.

func (GetSchemaRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetSchemaResponseValidationError) Error

Error satisfies the builtin error interface

func (GetSchemaResponseValidationError) ErrorName

ErrorName returns error name.

func (GetSchemaResponseValidationError) Field

Field function returns field value.

func (GetSchemaResponseValidationError) Key

Key function returns key value.

func (GetSchemaResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GetTuplesRequestValidationError) Error

Error satisfies the builtin error interface

func (GetTuplesRequestValidationError) ErrorName

ErrorName returns error name.

func (GetTuplesRequestValidationError) Field

Field function returns field value.

func (GetTuplesRequestValidationError) Key

Key function returns key value.

func (GetTuplesRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetTuplesResponseValidationError) Error

Error satisfies the builtin error interface

func (GetTuplesResponseValidationError) ErrorName

ErrorName returns error name.

func (GetTuplesResponseValidationError) Field

Field function returns field value.

func (GetTuplesResponseValidationError) Key

Key function returns key value.

func (GetTuplesResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ListObjectsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListObjectsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListObjectsRequestValidationError) Field

Field function returns field value.

func (ListObjectsRequestValidationError) Key

Key function returns key value.

func (ListObjectsRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListObjectsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListObjectsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListObjectsResponseValidationError) Field

Field function returns field value.

func (ListObjectsResponseValidationError) Key

Key function returns key value.

func (ListObjectsResponseValidationError) Reason

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

Cause function returns cause value.

func (RelationConfigValidationError) Error

Error satisfies the builtin error interface

func (RelationConfigValidationError) ErrorName

func (e RelationConfigValidationError) ErrorName() string

ErrorName returns error name.

func (RelationConfigValidationError) Field

Field function returns field value.

func (RelationConfigValidationError) Key

Key function returns key value.

func (RelationConfigValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Tuple.ProtoReflect.Descriptor instead.

func (*Tuple) GetId

func (x *Tuple) GetId() string

func (*Tuple) GetNamespace

func (x *Tuple) GetNamespace() string

func (*Tuple) GetRelation

func (x *Tuple) GetRelation() string

func (*Tuple) GetUser

func (x *Tuple) GetUser() string

func (*Tuple) ProtoMessage

func (*Tuple) ProtoMessage()

func (*Tuple) ProtoReflect

func (x *Tuple) ProtoReflect() protoreflect.Message

func (*Tuple) Reset

func (x *Tuple) Reset()

func (*Tuple) String

func (x *Tuple) String() string

func (*Tuple) Validate

func (m *Tuple) Validate() error

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

func (m *Tuple) ValidateAll() error

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

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

Cause function returns cause value.

func (WriteSchemaRequestValidationError) Error

Error satisfies the builtin error interface

func (WriteSchemaRequestValidationError) ErrorName

ErrorName returns error name.

func (WriteSchemaRequestValidationError) Field

Field function returns field value.

func (WriteSchemaRequestValidationError) Key

Key function returns key value.

func (WriteSchemaRequestValidationError) Reason

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

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

Cause function returns cause value.

func (WriteSchemaResponseValidationError) Error

Error satisfies the builtin error interface

func (WriteSchemaResponseValidationError) ErrorName

ErrorName returns error name.

func (WriteSchemaResponseValidationError) Field

Field function returns field value.

func (WriteSchemaResponseValidationError) Key

Key function returns key value.

func (WriteSchemaResponseValidationError) Reason

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

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

Cause function returns cause value.

func (WriteTuplesRequestValidationError) Error

Error satisfies the builtin error interface

func (WriteTuplesRequestValidationError) ErrorName

ErrorName returns error name.

func (WriteTuplesRequestValidationError) Field

Field function returns field value.

func (WriteTuplesRequestValidationError) Key

Key function returns key value.

func (WriteTuplesRequestValidationError) Reason

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

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

Cause function returns cause value.

func (WriteTuplesResponseValidationError) Error

Error satisfies the builtin error interface

func (WriteTuplesResponseValidationError) ErrorName

ErrorName returns error name.

func (WriteTuplesResponseValidationError) Field

Field function returns field value.

func (WriteTuplesResponseValidationError) Key

Key function returns key value.

func (WriteTuplesResponseValidationError) Reason

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL