reader

package
v0.33.29 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 25 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package reader is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Reader_GetObject_FullMethodName       = "/aserto.directory.reader.v3.Reader/GetObject"
	Reader_GetObjectMany_FullMethodName   = "/aserto.directory.reader.v3.Reader/GetObjectMany"
	Reader_GetObjects_FullMethodName      = "/aserto.directory.reader.v3.Reader/GetObjects"
	Reader_GetRelation_FullMethodName     = "/aserto.directory.reader.v3.Reader/GetRelation"
	Reader_GetRelations_FullMethodName    = "/aserto.directory.reader.v3.Reader/GetRelations"
	Reader_Check_FullMethodName           = "/aserto.directory.reader.v3.Reader/Check"
	Reader_Checks_FullMethodName          = "/aserto.directory.reader.v3.Reader/Checks"
	Reader_CheckPermission_FullMethodName = "/aserto.directory.reader.v3.Reader/CheckPermission"
	Reader_CheckRelation_FullMethodName   = "/aserto.directory.reader.v3.Reader/CheckRelation"
	Reader_GetGraph_FullMethodName        = "/aserto.directory.reader.v3.Reader/GetGraph"
)

Variables

View Source
var File_v3_reader_reader_proto protoreflect.FileDescriptor
View Source
var Reader_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "aserto.directory.reader.v3.Reader",
	HandlerType: (*ReaderServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetObject",
			Handler:    _Reader_GetObject_Handler,
		},
		{
			MethodName: "GetObjectMany",
			Handler:    _Reader_GetObjectMany_Handler,
		},
		{
			MethodName: "GetObjects",
			Handler:    _Reader_GetObjects_Handler,
		},
		{
			MethodName: "GetRelation",
			Handler:    _Reader_GetRelation_Handler,
		},
		{
			MethodName: "GetRelations",
			Handler:    _Reader_GetRelations_Handler,
		},
		{
			MethodName: "Check",
			Handler:    _Reader_Check_Handler,
		},
		{
			MethodName: "Checks",
			Handler:    _Reader_Checks_Handler,
		},
		{
			MethodName: "CheckPermission",
			Handler:    _Reader_CheckPermission_Handler,
		},
		{
			MethodName: "CheckRelation",
			Handler:    _Reader_CheckRelation_Handler,
		},
		{
			MethodName: "GetGraph",
			Handler:    _Reader_GetGraph_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v3/reader/reader.proto",
}

Reader_ServiceDesc is the grpc.ServiceDesc for Reader service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterReaderHandler

func RegisterReaderHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterReaderHandler registers the http handlers for service Reader to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterReaderHandlerClient

func RegisterReaderHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ReaderClient) error

RegisterReaderHandlerClient registers the http handlers for service Reader to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ReaderClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ReaderClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ReaderClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterReaderHandlerFromEndpoint

func RegisterReaderHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterReaderHandlerFromEndpoint is same as RegisterReaderHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterReaderHandlerServer

func RegisterReaderHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ReaderServer) error

RegisterReaderHandlerServer registers the http handlers for service Reader to "mux". UnaryRPC :call ReaderServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterReaderHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterReaderServer

func RegisterReaderServer(s grpc.ServiceRegistrar, srv ReaderServer)

Types

type CheckPermissionRequest

type CheckPermissionRequest struct {

	// object type identifier
	ObjectType string `protobuf:"bytes,1,opt,name=object_type,proto3" json:"object_type,omitempty"`
	// object instance identifier
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,proto3" json:"object_id,omitempty"`
	// permission name
	Permission string `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"`
	// subject type identifier
	SubjectType string `protobuf:"bytes,4,opt,name=subject_type,proto3" json:"subject_type,omitempty"`
	// subject instance identifier
	SubjectId string `protobuf:"bytes,5,opt,name=subject_id,proto3" json:"subject_id,omitempty"`
	// collect trace information (optional)
	Trace bool `protobuf:"varint,7,opt,name=trace,proto3" json:"trace,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckPermissionRequest) CloneMessageVT

func (m *CheckPermissionRequest) CloneMessageVT() proto.Message

func (*CheckPermissionRequest) CloneVT

func (*CheckPermissionRequest) Descriptor deprecated

func (*CheckPermissionRequest) Descriptor() ([]byte, []int)

Deprecated: Use CheckPermissionRequest.ProtoReflect.Descriptor instead.

func (*CheckPermissionRequest) EqualMessageVT

func (this *CheckPermissionRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*CheckPermissionRequest) EqualVT

func (this *CheckPermissionRequest) EqualVT(that *CheckPermissionRequest) bool

func (*CheckPermissionRequest) GetObjectId

func (x *CheckPermissionRequest) GetObjectId() string

func (*CheckPermissionRequest) GetObjectType

func (x *CheckPermissionRequest) GetObjectType() string

func (*CheckPermissionRequest) GetPermission

func (x *CheckPermissionRequest) GetPermission() string

func (*CheckPermissionRequest) GetSubjectId

func (x *CheckPermissionRequest) GetSubjectId() string

func (*CheckPermissionRequest) GetSubjectType

func (x *CheckPermissionRequest) GetSubjectType() string

func (*CheckPermissionRequest) GetTrace

func (x *CheckPermissionRequest) GetTrace() bool

func (*CheckPermissionRequest) MarshalToSizedBufferVT

func (m *CheckPermissionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CheckPermissionRequest) MarshalToVT

func (m *CheckPermissionRequest) MarshalToVT(dAtA []byte) (int, error)

func (*CheckPermissionRequest) MarshalVT

func (m *CheckPermissionRequest) MarshalVT() (dAtA []byte, err error)

func (*CheckPermissionRequest) ProtoMessage

func (*CheckPermissionRequest) ProtoMessage()

func (*CheckPermissionRequest) ProtoReflect

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

func (*CheckPermissionRequest) Reset

func (x *CheckPermissionRequest) Reset()

func (*CheckPermissionRequest) SizeVT

func (m *CheckPermissionRequest) SizeVT() (n int)

func (*CheckPermissionRequest) String

func (x *CheckPermissionRequest) String() string

func (*CheckPermissionRequest) UnmarshalVT

func (m *CheckPermissionRequest) UnmarshalVT(dAtA []byte) error

type CheckPermissionResponse

type CheckPermissionResponse struct {

	// check result
	Check bool `protobuf:"varint,1,opt,name=check,proto3" json:"check,omitempty"`
	// trace information
	Trace []string `protobuf:"bytes,2,rep,name=trace,proto3" json:"trace,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckPermissionResponse) CloneMessageVT

func (m *CheckPermissionResponse) CloneMessageVT() proto.Message

func (*CheckPermissionResponse) CloneVT

func (*CheckPermissionResponse) Descriptor deprecated

func (*CheckPermissionResponse) Descriptor() ([]byte, []int)

Deprecated: Use CheckPermissionResponse.ProtoReflect.Descriptor instead.

func (*CheckPermissionResponse) EqualMessageVT

func (this *CheckPermissionResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*CheckPermissionResponse) EqualVT

func (*CheckPermissionResponse) GetCheck

func (x *CheckPermissionResponse) GetCheck() bool

func (*CheckPermissionResponse) GetTrace

func (x *CheckPermissionResponse) GetTrace() []string

func (*CheckPermissionResponse) MarshalToSizedBufferVT

func (m *CheckPermissionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CheckPermissionResponse) MarshalToVT

func (m *CheckPermissionResponse) MarshalToVT(dAtA []byte) (int, error)

func (*CheckPermissionResponse) MarshalVT

func (m *CheckPermissionResponse) MarshalVT() (dAtA []byte, err error)

func (*CheckPermissionResponse) ProtoMessage

func (*CheckPermissionResponse) ProtoMessage()

func (*CheckPermissionResponse) ProtoReflect

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

func (*CheckPermissionResponse) Reset

func (x *CheckPermissionResponse) Reset()

func (*CheckPermissionResponse) SizeVT

func (m *CheckPermissionResponse) SizeVT() (n int)

func (*CheckPermissionResponse) String

func (x *CheckPermissionResponse) String() string

func (*CheckPermissionResponse) UnmarshalVT

func (m *CheckPermissionResponse) UnmarshalVT(dAtA []byte) error

type CheckRelationRequest

type CheckRelationRequest struct {

	// object type identifier
	ObjectType string `protobuf:"bytes,1,opt,name=object_type,proto3" json:"object_type,omitempty"`
	// object instance identifier
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,proto3" json:"object_id,omitempty"`
	// relation name
	Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	// subject type identifier
	SubjectType string `protobuf:"bytes,4,opt,name=subject_type,proto3" json:"subject_type,omitempty"`
	// subject instance identifier
	SubjectId string `protobuf:"bytes,5,opt,name=subject_id,proto3" json:"subject_id,omitempty"`
	// collect trace information (optional)
	Trace bool `protobuf:"varint,7,opt,name=trace,proto3" json:"trace,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckRelationRequest) CloneMessageVT

func (m *CheckRelationRequest) CloneMessageVT() proto.Message

func (*CheckRelationRequest) CloneVT

func (*CheckRelationRequest) Descriptor deprecated

func (*CheckRelationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CheckRelationRequest.ProtoReflect.Descriptor instead.

func (*CheckRelationRequest) EqualMessageVT

func (this *CheckRelationRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*CheckRelationRequest) EqualVT

func (this *CheckRelationRequest) EqualVT(that *CheckRelationRequest) bool

func (*CheckRelationRequest) GetObjectId

func (x *CheckRelationRequest) GetObjectId() string

func (*CheckRelationRequest) GetObjectType

func (x *CheckRelationRequest) GetObjectType() string

func (*CheckRelationRequest) GetRelation

func (x *CheckRelationRequest) GetRelation() string

func (*CheckRelationRequest) GetSubjectId

func (x *CheckRelationRequest) GetSubjectId() string

func (*CheckRelationRequest) GetSubjectType

func (x *CheckRelationRequest) GetSubjectType() string

func (*CheckRelationRequest) GetTrace

func (x *CheckRelationRequest) GetTrace() bool

func (*CheckRelationRequest) MarshalToSizedBufferVT

func (m *CheckRelationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CheckRelationRequest) MarshalToVT

func (m *CheckRelationRequest) MarshalToVT(dAtA []byte) (int, error)

func (*CheckRelationRequest) MarshalVT

func (m *CheckRelationRequest) MarshalVT() (dAtA []byte, err error)

func (*CheckRelationRequest) ProtoMessage

func (*CheckRelationRequest) ProtoMessage()

func (*CheckRelationRequest) ProtoReflect

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

func (*CheckRelationRequest) Reset

func (x *CheckRelationRequest) Reset()

func (*CheckRelationRequest) SizeVT

func (m *CheckRelationRequest) SizeVT() (n int)

func (*CheckRelationRequest) String

func (x *CheckRelationRequest) String() string

func (*CheckRelationRequest) UnmarshalVT

func (m *CheckRelationRequest) UnmarshalVT(dAtA []byte) error

type CheckRelationResponse

type CheckRelationResponse struct {

	// check result
	Check bool `protobuf:"varint,1,opt,name=check,proto3" json:"check,omitempty"`
	// trace information
	Trace []string `protobuf:"bytes,2,rep,name=trace,proto3" json:"trace,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckRelationResponse) CloneMessageVT

func (m *CheckRelationResponse) CloneMessageVT() proto.Message

func (*CheckRelationResponse) CloneVT

func (*CheckRelationResponse) Descriptor deprecated

func (*CheckRelationResponse) Descriptor() ([]byte, []int)

Deprecated: Use CheckRelationResponse.ProtoReflect.Descriptor instead.

func (*CheckRelationResponse) EqualMessageVT

func (this *CheckRelationResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*CheckRelationResponse) EqualVT

func (this *CheckRelationResponse) EqualVT(that *CheckRelationResponse) bool

func (*CheckRelationResponse) GetCheck

func (x *CheckRelationResponse) GetCheck() bool

func (*CheckRelationResponse) GetTrace

func (x *CheckRelationResponse) GetTrace() []string

func (*CheckRelationResponse) MarshalToSizedBufferVT

func (m *CheckRelationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CheckRelationResponse) MarshalToVT

func (m *CheckRelationResponse) MarshalToVT(dAtA []byte) (int, error)

func (*CheckRelationResponse) MarshalVT

func (m *CheckRelationResponse) MarshalVT() (dAtA []byte, err error)

func (*CheckRelationResponse) ProtoMessage

func (*CheckRelationResponse) ProtoMessage()

func (*CheckRelationResponse) ProtoReflect

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

func (*CheckRelationResponse) Reset

func (x *CheckRelationResponse) Reset()

func (*CheckRelationResponse) SizeVT

func (m *CheckRelationResponse) SizeVT() (n int)

func (*CheckRelationResponse) String

func (x *CheckRelationResponse) String() string

func (*CheckRelationResponse) UnmarshalVT

func (m *CheckRelationResponse) UnmarshalVT(dAtA []byte) error

type CheckRequest

type CheckRequest struct {

	// object type identifier
	ObjectType string `protobuf:"bytes,1,opt,name=object_type,proto3" json:"object_type,omitempty"`
	// object instance identifier
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,proto3" json:"object_id,omitempty"`
	// relation name
	Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	// subject type identifier
	SubjectType string `protobuf:"bytes,4,opt,name=subject_type,proto3" json:"subject_type,omitempty"`
	// subject instance identifier
	SubjectId string `protobuf:"bytes,5,opt,name=subject_id,proto3" json:"subject_id,omitempty"`
	// collect trace information (optional)
	Trace bool `protobuf:"varint,7,opt,name=trace,proto3" json:"trace,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckRequest) CloneMessageVT

func (m *CheckRequest) CloneMessageVT() proto.Message

func (*CheckRequest) CloneVT

func (m *CheckRequest) CloneVT() *CheckRequest

func (*CheckRequest) Descriptor deprecated

func (*CheckRequest) Descriptor() ([]byte, []int)

Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.

func (*CheckRequest) EqualMessageVT

func (this *CheckRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*CheckRequest) EqualVT

func (this *CheckRequest) EqualVT(that *CheckRequest) bool

func (*CheckRequest) GetObjectId

func (x *CheckRequest) GetObjectId() string

func (*CheckRequest) GetObjectType

func (x *CheckRequest) GetObjectType() string

func (*CheckRequest) GetRelation

func (x *CheckRequest) GetRelation() string

func (*CheckRequest) GetSubjectId

func (x *CheckRequest) GetSubjectId() string

func (*CheckRequest) GetSubjectType

func (x *CheckRequest) GetSubjectType() string

func (*CheckRequest) GetTrace

func (x *CheckRequest) GetTrace() bool

func (*CheckRequest) MarshalToSizedBufferVT

func (m *CheckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CheckRequest) MarshalToVT

func (m *CheckRequest) MarshalToVT(dAtA []byte) (int, error)

func (*CheckRequest) MarshalVT

func (m *CheckRequest) MarshalVT() (dAtA []byte, err error)

func (*CheckRequest) ProtoMessage

func (*CheckRequest) ProtoMessage()

func (*CheckRequest) ProtoReflect

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

func (*CheckRequest) Reset

func (x *CheckRequest) Reset()

func (*CheckRequest) SizeVT

func (m *CheckRequest) SizeVT() (n int)

func (*CheckRequest) String

func (x *CheckRequest) String() string

func (*CheckRequest) UnmarshalVT

func (m *CheckRequest) UnmarshalVT(dAtA []byte) error

type CheckResponse

type CheckResponse struct {

	// check result
	Check bool `protobuf:"varint,1,opt,name=check,proto3" json:"check,omitempty"`
	// trace information
	Trace []string `protobuf:"bytes,2,rep,name=trace,proto3" json:"trace,omitempty"`
	// context
	Context *structpb.Struct `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckResponse) CloneMessageVT

func (m *CheckResponse) CloneMessageVT() proto.Message

func (*CheckResponse) CloneVT

func (m *CheckResponse) CloneVT() *CheckResponse

func (*CheckResponse) Descriptor deprecated

func (*CheckResponse) Descriptor() ([]byte, []int)

Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.

func (*CheckResponse) EqualMessageVT

func (this *CheckResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*CheckResponse) EqualVT

func (this *CheckResponse) EqualVT(that *CheckResponse) bool

func (*CheckResponse) GetCheck

func (x *CheckResponse) GetCheck() bool

func (*CheckResponse) GetContext

func (x *CheckResponse) GetContext() *structpb.Struct

func (*CheckResponse) GetTrace

func (x *CheckResponse) GetTrace() []string

func (*CheckResponse) MarshalToSizedBufferVT

func (m *CheckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CheckResponse) MarshalToVT

func (m *CheckResponse) MarshalToVT(dAtA []byte) (int, error)

func (*CheckResponse) MarshalVT

func (m *CheckResponse) MarshalVT() (dAtA []byte, err error)

func (*CheckResponse) ProtoMessage

func (*CheckResponse) ProtoMessage()

func (*CheckResponse) ProtoReflect

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

func (*CheckResponse) Reset

func (x *CheckResponse) Reset()

func (*CheckResponse) SizeVT

func (m *CheckResponse) SizeVT() (n int)

func (*CheckResponse) String

func (x *CheckResponse) String() string

func (*CheckResponse) UnmarshalVT

func (m *CheckResponse) UnmarshalVT(dAtA []byte) error

type ChecksRequest

type ChecksRequest struct {

	// default check parameter values
	Default *CheckRequest `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"`
	// collection of check requests
	Checks []*CheckRequest `protobuf:"bytes,2,rep,name=checks,proto3" json:"checks,omitempty"`
	// contains filtered or unexported fields
}

func (*ChecksRequest) CloneMessageVT

func (m *ChecksRequest) CloneMessageVT() proto.Message

func (*ChecksRequest) CloneVT

func (m *ChecksRequest) CloneVT() *ChecksRequest

func (*ChecksRequest) Descriptor deprecated

func (*ChecksRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChecksRequest.ProtoReflect.Descriptor instead.

func (*ChecksRequest) EqualMessageVT

func (this *ChecksRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*ChecksRequest) EqualVT

func (this *ChecksRequest) EqualVT(that *ChecksRequest) bool

func (*ChecksRequest) GetChecks

func (x *ChecksRequest) GetChecks() []*CheckRequest

func (*ChecksRequest) GetDefault

func (x *ChecksRequest) GetDefault() *CheckRequest

func (*ChecksRequest) MarshalToSizedBufferVT

func (m *ChecksRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ChecksRequest) MarshalToVT

func (m *ChecksRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ChecksRequest) MarshalVT

func (m *ChecksRequest) MarshalVT() (dAtA []byte, err error)

func (*ChecksRequest) ProtoMessage

func (*ChecksRequest) ProtoMessage()

func (*ChecksRequest) ProtoReflect

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

func (*ChecksRequest) Reset

func (x *ChecksRequest) Reset()

func (*ChecksRequest) SizeVT

func (m *ChecksRequest) SizeVT() (n int)

func (*ChecksRequest) String

func (x *ChecksRequest) String() string

func (*ChecksRequest) UnmarshalVT

func (m *ChecksRequest) UnmarshalVT(dAtA []byte) error

type ChecksResponse

type ChecksResponse struct {

	// checks results array
	Checks []*CheckResponse `protobuf:"bytes,1,rep,name=checks,proto3" json:"checks,omitempty"`
	// contains filtered or unexported fields
}

func (*ChecksResponse) CloneMessageVT

func (m *ChecksResponse) CloneMessageVT() proto.Message

func (*ChecksResponse) CloneVT

func (m *ChecksResponse) CloneVT() *ChecksResponse

func (*ChecksResponse) Descriptor deprecated

func (*ChecksResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChecksResponse.ProtoReflect.Descriptor instead.

func (*ChecksResponse) EqualMessageVT

func (this *ChecksResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*ChecksResponse) EqualVT

func (this *ChecksResponse) EqualVT(that *ChecksResponse) bool

func (*ChecksResponse) GetChecks

func (x *ChecksResponse) GetChecks() []*CheckResponse

func (*ChecksResponse) MarshalToSizedBufferVT

func (m *ChecksResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ChecksResponse) MarshalToVT

func (m *ChecksResponse) MarshalToVT(dAtA []byte) (int, error)

func (*ChecksResponse) MarshalVT

func (m *ChecksResponse) MarshalVT() (dAtA []byte, err error)

func (*ChecksResponse) ProtoMessage

func (*ChecksResponse) ProtoMessage()

func (*ChecksResponse) ProtoReflect

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

func (*ChecksResponse) Reset

func (x *ChecksResponse) Reset()

func (*ChecksResponse) SizeVT

func (m *ChecksResponse) SizeVT() (n int)

func (*ChecksResponse) String

func (x *ChecksResponse) String() string

func (*ChecksResponse) UnmarshalVT

func (m *ChecksResponse) UnmarshalVT(dAtA []byte) error

type GetGraphRequest

type GetGraphRequest struct {

	// object type identifier
	ObjectType string `protobuf:"bytes,3,opt,name=object_type,proto3" json:"object_type,omitempty"`
	// object instance identifier (optional)
	ObjectId string `protobuf:"bytes,4,opt,name=object_id,proto3" json:"object_id,omitempty"`
	// relation name
	Relation string `protobuf:"bytes,5,opt,name=relation,proto3" json:"relation,omitempty"`
	// subject type identifier
	SubjectType string `protobuf:"bytes,6,opt,name=subject_type,proto3" json:"subject_type,omitempty"`
	// subject instance identifier (optional)
	SubjectId string `protobuf:"bytes,7,opt,name=subject_id,proto3" json:"subject_id,omitempty"`
	// subject relation name (optional)
	SubjectRelation string `protobuf:"bytes,8,opt,name=subject_relation,proto3" json:"subject_relation,omitempty"`
	// return graph paths for each result (optional)
	Explain bool `protobuf:"varint,9,opt,name=explain,proto3" json:"explain,omitempty"`
	// collect trace information (optional)
	Trace bool `protobuf:"varint,10,opt,name=trace,proto3" json:"trace,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGraphRequest) CloneMessageVT

func (m *GetGraphRequest) CloneMessageVT() proto.Message

func (*GetGraphRequest) CloneVT

func (m *GetGraphRequest) CloneVT() *GetGraphRequest

func (*GetGraphRequest) Descriptor deprecated

func (*GetGraphRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetGraphRequest.ProtoReflect.Descriptor instead.

func (*GetGraphRequest) EqualMessageVT

func (this *GetGraphRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*GetGraphRequest) EqualVT

func (this *GetGraphRequest) EqualVT(that *GetGraphRequest) bool

func (*GetGraphRequest) GetExplain

func (x *GetGraphRequest) GetExplain() bool

func (*GetGraphRequest) GetObjectId

func (x *GetGraphRequest) GetObjectId() string

func (*GetGraphRequest) GetObjectType

func (x *GetGraphRequest) GetObjectType() string

func (*GetGraphRequest) GetRelation

func (x *GetGraphRequest) GetRelation() string

func (*GetGraphRequest) GetSubjectId

func (x *GetGraphRequest) GetSubjectId() string

func (*GetGraphRequest) GetSubjectRelation

func (x *GetGraphRequest) GetSubjectRelation() string

func (*GetGraphRequest) GetSubjectType

func (x *GetGraphRequest) GetSubjectType() string

func (*GetGraphRequest) GetTrace

func (x *GetGraphRequest) GetTrace() bool

func (*GetGraphRequest) MarshalToSizedBufferVT

func (m *GetGraphRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetGraphRequest) MarshalToVT

func (m *GetGraphRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetGraphRequest) MarshalVT

func (m *GetGraphRequest) MarshalVT() (dAtA []byte, err error)

func (*GetGraphRequest) ProtoMessage

func (*GetGraphRequest) ProtoMessage()

func (*GetGraphRequest) ProtoReflect

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

func (*GetGraphRequest) Reset

func (x *GetGraphRequest) Reset()

func (*GetGraphRequest) SizeVT

func (m *GetGraphRequest) SizeVT() (n int)

func (*GetGraphRequest) String

func (x *GetGraphRequest) String() string

func (*GetGraphRequest) UnmarshalVT

func (m *GetGraphRequest) UnmarshalVT(dAtA []byte) error

type GetGraphResponse

type GetGraphResponse struct {

	// matching object identifiers
	Results []*common.ObjectIdentifier `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
	// explanation of results
	Explanation *structpb.Struct `protobuf:"bytes,3,opt,name=explanation,proto3" json:"explanation,omitempty"`
	// trace information
	Trace []string `protobuf:"bytes,4,rep,name=trace,proto3" json:"trace,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGraphResponse) CloneMessageVT

func (m *GetGraphResponse) CloneMessageVT() proto.Message

func (*GetGraphResponse) CloneVT

func (m *GetGraphResponse) CloneVT() *GetGraphResponse

func (*GetGraphResponse) Descriptor deprecated

func (*GetGraphResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetGraphResponse.ProtoReflect.Descriptor instead.

func (*GetGraphResponse) EqualMessageVT

func (this *GetGraphResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*GetGraphResponse) EqualVT

func (this *GetGraphResponse) EqualVT(that *GetGraphResponse) bool

func (*GetGraphResponse) GetExplanation

func (x *GetGraphResponse) GetExplanation() *structpb.Struct

func (*GetGraphResponse) GetResults

func (x *GetGraphResponse) GetResults() []*common.ObjectIdentifier

func (*GetGraphResponse) GetTrace

func (x *GetGraphResponse) GetTrace() []string

func (*GetGraphResponse) MarshalToSizedBufferVT

func (m *GetGraphResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetGraphResponse) MarshalToVT

func (m *GetGraphResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetGraphResponse) MarshalVT

func (m *GetGraphResponse) MarshalVT() (dAtA []byte, err error)

func (*GetGraphResponse) ProtoMessage

func (*GetGraphResponse) ProtoMessage()

func (*GetGraphResponse) ProtoReflect

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

func (*GetGraphResponse) Reset

func (x *GetGraphResponse) Reset()

func (*GetGraphResponse) SizeVT

func (m *GetGraphResponse) SizeVT() (n int)

func (*GetGraphResponse) String

func (x *GetGraphResponse) String() string

func (*GetGraphResponse) UnmarshalVT

func (m *GetGraphResponse) UnmarshalVT(dAtA []byte) error

type GetObjectManyRequest

type GetObjectManyRequest struct {

	// object identifier list
	Param []*common.ObjectIdentifier `protobuf:"bytes,1,rep,name=param,proto3" json:"param,omitempty"`
	// contains filtered or unexported fields
}

func (*GetObjectManyRequest) CloneMessageVT

func (m *GetObjectManyRequest) CloneMessageVT() proto.Message

func (*GetObjectManyRequest) CloneVT

func (*GetObjectManyRequest) Descriptor deprecated

func (*GetObjectManyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetObjectManyRequest.ProtoReflect.Descriptor instead.

func (*GetObjectManyRequest) EqualMessageVT

func (this *GetObjectManyRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*GetObjectManyRequest) EqualVT

func (this *GetObjectManyRequest) EqualVT(that *GetObjectManyRequest) bool

func (*GetObjectManyRequest) GetParam

func (x *GetObjectManyRequest) GetParam() []*common.ObjectIdentifier

func (*GetObjectManyRequest) MarshalToSizedBufferVT

func (m *GetObjectManyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetObjectManyRequest) MarshalToVT

func (m *GetObjectManyRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetObjectManyRequest) MarshalVT

func (m *GetObjectManyRequest) MarshalVT() (dAtA []byte, err error)

func (*GetObjectManyRequest) ProtoMessage

func (*GetObjectManyRequest) ProtoMessage()

func (*GetObjectManyRequest) ProtoReflect

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

func (*GetObjectManyRequest) Reset

func (x *GetObjectManyRequest) Reset()

func (*GetObjectManyRequest) SizeVT

func (m *GetObjectManyRequest) SizeVT() (n int)

func (*GetObjectManyRequest) String

func (x *GetObjectManyRequest) String() string

func (*GetObjectManyRequest) UnmarshalVT

func (m *GetObjectManyRequest) UnmarshalVT(dAtA []byte) error

type GetObjectManyResponse

type GetObjectManyResponse struct {

	// array of object instances
	Results []*common.Object `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*GetObjectManyResponse) CloneMessageVT

func (m *GetObjectManyResponse) CloneMessageVT() proto.Message

func (*GetObjectManyResponse) CloneVT

func (*GetObjectManyResponse) Descriptor deprecated

func (*GetObjectManyResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetObjectManyResponse.ProtoReflect.Descriptor instead.

func (*GetObjectManyResponse) EqualMessageVT

func (this *GetObjectManyResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*GetObjectManyResponse) EqualVT

func (this *GetObjectManyResponse) EqualVT(that *GetObjectManyResponse) bool

func (*GetObjectManyResponse) GetResults

func (x *GetObjectManyResponse) GetResults() []*common.Object

func (*GetObjectManyResponse) MarshalToSizedBufferVT

func (m *GetObjectManyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetObjectManyResponse) MarshalToVT

func (m *GetObjectManyResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetObjectManyResponse) MarshalVT

func (m *GetObjectManyResponse) MarshalVT() (dAtA []byte, err error)

func (*GetObjectManyResponse) ProtoMessage

func (*GetObjectManyResponse) ProtoMessage()

func (*GetObjectManyResponse) ProtoReflect

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

func (*GetObjectManyResponse) Reset

func (x *GetObjectManyResponse) Reset()

func (*GetObjectManyResponse) SizeVT

func (m *GetObjectManyResponse) SizeVT() (n int)

func (*GetObjectManyResponse) String

func (x *GetObjectManyResponse) String() string

func (*GetObjectManyResponse) UnmarshalVT

func (m *GetObjectManyResponse) UnmarshalVT(dAtA []byte) error

type GetObjectRequest

type GetObjectRequest struct {

	// object type identifier
	ObjectType string `protobuf:"bytes,1,opt,name=object_type,proto3" json:"object_type,omitempty"`
	// object instance identifier
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,proto3" json:"object_id,omitempty"`
	// materialize the object relations objects (optional)
	WithRelations bool `protobuf:"varint,3,opt,name=with_relations,proto3" json:"with_relations,omitempty"`
	// contains filtered or unexported fields
}

func (*GetObjectRequest) CloneMessageVT

func (m *GetObjectRequest) CloneMessageVT() proto.Message

func (*GetObjectRequest) CloneVT

func (m *GetObjectRequest) CloneVT() *GetObjectRequest

func (*GetObjectRequest) Descriptor deprecated

func (*GetObjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetObjectRequest.ProtoReflect.Descriptor instead.

func (*GetObjectRequest) EqualMessageVT

func (this *GetObjectRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*GetObjectRequest) EqualVT

func (this *GetObjectRequest) EqualVT(that *GetObjectRequest) bool

func (*GetObjectRequest) GetObjectId

func (x *GetObjectRequest) GetObjectId() string

func (*GetObjectRequest) GetObjectType

func (x *GetObjectRequest) GetObjectType() string

func (*GetObjectRequest) GetWithRelations

func (x *GetObjectRequest) GetWithRelations() bool

func (*GetObjectRequest) MarshalToSizedBufferVT

func (m *GetObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetObjectRequest) MarshalToVT

func (m *GetObjectRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetObjectRequest) MarshalVT

func (m *GetObjectRequest) MarshalVT() (dAtA []byte, err error)

func (*GetObjectRequest) ProtoMessage

func (*GetObjectRequest) ProtoMessage()

func (*GetObjectRequest) ProtoReflect

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

func (*GetObjectRequest) Reset

func (x *GetObjectRequest) Reset()

func (*GetObjectRequest) SizeVT

func (m *GetObjectRequest) SizeVT() (n int)

func (*GetObjectRequest) String

func (x *GetObjectRequest) String() string

func (*GetObjectRequest) UnmarshalVT

func (m *GetObjectRequest) UnmarshalVT(dAtA []byte) error

type GetObjectResponse

type GetObjectResponse struct {

	// object instance
	Result *common.Object `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// object relations
	Relations []*common.Relation `protobuf:"bytes,4,rep,name=relations,proto3" json:"relations,omitempty"`
	// contains filtered or unexported fields
}

func (*GetObjectResponse) CloneMessageVT

func (m *GetObjectResponse) CloneMessageVT() proto.Message

func (*GetObjectResponse) CloneVT

func (m *GetObjectResponse) CloneVT() *GetObjectResponse

func (*GetObjectResponse) Descriptor deprecated

func (*GetObjectResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetObjectResponse.ProtoReflect.Descriptor instead.

func (*GetObjectResponse) EqualMessageVT

func (this *GetObjectResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*GetObjectResponse) EqualVT

func (this *GetObjectResponse) EqualVT(that *GetObjectResponse) bool

func (*GetObjectResponse) GetRelations

func (x *GetObjectResponse) GetRelations() []*common.Relation

func (*GetObjectResponse) GetResult

func (x *GetObjectResponse) GetResult() *common.Object

func (*GetObjectResponse) MarshalToSizedBufferVT

func (m *GetObjectResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetObjectResponse) MarshalToVT

func (m *GetObjectResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetObjectResponse) MarshalVT

func (m *GetObjectResponse) MarshalVT() (dAtA []byte, err error)

func (*GetObjectResponse) ProtoMessage

func (*GetObjectResponse) ProtoMessage()

func (*GetObjectResponse) ProtoReflect

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

func (*GetObjectResponse) Reset

func (x *GetObjectResponse) Reset()

func (*GetObjectResponse) SizeVT

func (m *GetObjectResponse) SizeVT() (n int)

func (*GetObjectResponse) String

func (x *GetObjectResponse) String() string

func (*GetObjectResponse) UnmarshalVT

func (m *GetObjectResponse) UnmarshalVT(dAtA []byte) error

type GetObjectsRequest

type GetObjectsRequest struct {

	// object type identifier (optional)
	ObjectType string `protobuf:"bytes,1,opt,name=object_type,proto3" json:"object_type,omitempty"`
	// pagination request (optional)
	Page *common.PaginationRequest `protobuf:"bytes,9,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*GetObjectsRequest) CloneMessageVT

func (m *GetObjectsRequest) CloneMessageVT() proto.Message

func (*GetObjectsRequest) CloneVT

func (m *GetObjectsRequest) CloneVT() *GetObjectsRequest

func (*GetObjectsRequest) Descriptor deprecated

func (*GetObjectsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetObjectsRequest.ProtoReflect.Descriptor instead.

func (*GetObjectsRequest) EqualMessageVT

func (this *GetObjectsRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*GetObjectsRequest) EqualVT

func (this *GetObjectsRequest) EqualVT(that *GetObjectsRequest) bool

func (*GetObjectsRequest) GetObjectType

func (x *GetObjectsRequest) GetObjectType() string

func (*GetObjectsRequest) GetPage

func (*GetObjectsRequest) MarshalToSizedBufferVT

func (m *GetObjectsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetObjectsRequest) MarshalToVT

func (m *GetObjectsRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetObjectsRequest) MarshalVT

func (m *GetObjectsRequest) MarshalVT() (dAtA []byte, err error)

func (*GetObjectsRequest) ProtoMessage

func (*GetObjectsRequest) ProtoMessage()

func (*GetObjectsRequest) ProtoReflect

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

func (*GetObjectsRequest) Reset

func (x *GetObjectsRequest) Reset()

func (*GetObjectsRequest) SizeVT

func (m *GetObjectsRequest) SizeVT() (n int)

func (*GetObjectsRequest) String

func (x *GetObjectsRequest) String() string

func (*GetObjectsRequest) UnmarshalVT

func (m *GetObjectsRequest) UnmarshalVT(dAtA []byte) error

type GetObjectsResponse

type GetObjectsResponse struct {

	// array of object instances
	Results []*common.Object `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// pagination response
	Page *common.PaginationResponse `protobuf:"bytes,9,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*GetObjectsResponse) CloneMessageVT

func (m *GetObjectsResponse) CloneMessageVT() proto.Message

func (*GetObjectsResponse) CloneVT

func (m *GetObjectsResponse) CloneVT() *GetObjectsResponse

func (*GetObjectsResponse) Descriptor deprecated

func (*GetObjectsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetObjectsResponse.ProtoReflect.Descriptor instead.

func (*GetObjectsResponse) EqualMessageVT

func (this *GetObjectsResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*GetObjectsResponse) EqualVT

func (this *GetObjectsResponse) EqualVT(that *GetObjectsResponse) bool

func (*GetObjectsResponse) GetPage

func (*GetObjectsResponse) GetResults

func (x *GetObjectsResponse) GetResults() []*common.Object

func (*GetObjectsResponse) MarshalToSizedBufferVT

func (m *GetObjectsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetObjectsResponse) MarshalToVT

func (m *GetObjectsResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetObjectsResponse) MarshalVT

func (m *GetObjectsResponse) MarshalVT() (dAtA []byte, err error)

func (*GetObjectsResponse) ProtoMessage

func (*GetObjectsResponse) ProtoMessage()

func (*GetObjectsResponse) ProtoReflect

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

func (*GetObjectsResponse) Reset

func (x *GetObjectsResponse) Reset()

func (*GetObjectsResponse) SizeVT

func (m *GetObjectsResponse) SizeVT() (n int)

func (*GetObjectsResponse) String

func (x *GetObjectsResponse) String() string

func (*GetObjectsResponse) UnmarshalVT

func (m *GetObjectsResponse) UnmarshalVT(dAtA []byte) error

type GetRelationRequest

type GetRelationRequest struct {

	// object type identifier
	ObjectType string `protobuf:"bytes,1,opt,name=object_type,proto3" json:"object_type,omitempty"`
	// object instance identifier
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,proto3" json:"object_id,omitempty"`
	// relation name
	Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	// subject type identifier
	SubjectType string `protobuf:"bytes,4,opt,name=subject_type,proto3" json:"subject_type,omitempty"`
	// subject instance identifier
	SubjectId string `protobuf:"bytes,5,opt,name=subject_id,proto3" json:"subject_id,omitempty"`
	// subject relation name (optional)
	SubjectRelation string `protobuf:"bytes,6,opt,name=subject_relation,proto3" json:"subject_relation,omitempty"`
	// materialize relation objects (optional)
	WithObjects bool `protobuf:"varint,7,opt,name=with_objects,proto3" json:"with_objects,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRelationRequest) CloneMessageVT

func (m *GetRelationRequest) CloneMessageVT() proto.Message

func (*GetRelationRequest) CloneVT

func (m *GetRelationRequest) CloneVT() *GetRelationRequest

func (*GetRelationRequest) Descriptor deprecated

func (*GetRelationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRelationRequest.ProtoReflect.Descriptor instead.

func (*GetRelationRequest) EqualMessageVT

func (this *GetRelationRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*GetRelationRequest) EqualVT

func (this *GetRelationRequest) EqualVT(that *GetRelationRequest) bool

func (*GetRelationRequest) GetObjectId

func (x *GetRelationRequest) GetObjectId() string

func (*GetRelationRequest) GetObjectType

func (x *GetRelationRequest) GetObjectType() string

func (*GetRelationRequest) GetRelation

func (x *GetRelationRequest) GetRelation() string

func (*GetRelationRequest) GetSubjectId

func (x *GetRelationRequest) GetSubjectId() string

func (*GetRelationRequest) GetSubjectRelation

func (x *GetRelationRequest) GetSubjectRelation() string

func (*GetRelationRequest) GetSubjectType

func (x *GetRelationRequest) GetSubjectType() string

func (*GetRelationRequest) GetWithObjects

func (x *GetRelationRequest) GetWithObjects() bool

func (*GetRelationRequest) MarshalToSizedBufferVT

func (m *GetRelationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetRelationRequest) MarshalToVT

func (m *GetRelationRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetRelationRequest) MarshalVT

func (m *GetRelationRequest) MarshalVT() (dAtA []byte, err error)

func (*GetRelationRequest) ProtoMessage

func (*GetRelationRequest) ProtoMessage()

func (*GetRelationRequest) ProtoReflect

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

func (*GetRelationRequest) Reset

func (x *GetRelationRequest) Reset()

func (*GetRelationRequest) SizeVT

func (m *GetRelationRequest) SizeVT() (n int)

func (*GetRelationRequest) String

func (x *GetRelationRequest) String() string

func (*GetRelationRequest) UnmarshalVT

func (m *GetRelationRequest) UnmarshalVT(dAtA []byte) error

type GetRelationResponse

type GetRelationResponse struct {

	// relation instance
	Result *common.Relation `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// map of materialized relation objects
	Objects map[string]*common.Object `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetRelationResponse) CloneMessageVT

func (m *GetRelationResponse) CloneMessageVT() proto.Message

func (*GetRelationResponse) CloneVT

func (*GetRelationResponse) Descriptor deprecated

func (*GetRelationResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetRelationResponse.ProtoReflect.Descriptor instead.

func (*GetRelationResponse) EqualMessageVT

func (this *GetRelationResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*GetRelationResponse) EqualVT

func (this *GetRelationResponse) EqualVT(that *GetRelationResponse) bool

func (*GetRelationResponse) GetObjects

func (x *GetRelationResponse) GetObjects() map[string]*common.Object

func (*GetRelationResponse) GetResult

func (x *GetRelationResponse) GetResult() *common.Relation

func (*GetRelationResponse) MarshalToSizedBufferVT

func (m *GetRelationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetRelationResponse) MarshalToVT

func (m *GetRelationResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetRelationResponse) MarshalVT

func (m *GetRelationResponse) MarshalVT() (dAtA []byte, err error)

func (*GetRelationResponse) ProtoMessage

func (*GetRelationResponse) ProtoMessage()

func (*GetRelationResponse) ProtoReflect

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

func (*GetRelationResponse) Reset

func (x *GetRelationResponse) Reset()

func (*GetRelationResponse) SizeVT

func (m *GetRelationResponse) SizeVT() (n int)

func (*GetRelationResponse) String

func (x *GetRelationResponse) String() string

func (*GetRelationResponse) UnmarshalVT

func (m *GetRelationResponse) UnmarshalVT(dAtA []byte) error

type GetRelationsRequest

type GetRelationsRequest struct {

	// object type identifier (optional)
	ObjectType string `protobuf:"bytes,1,opt,name=object_type,proto3" json:"object_type,omitempty"`
	// object instance identifier (optional)
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,proto3" json:"object_id,omitempty"`
	// relation name (optional)
	Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	// subject type identifier (optional)
	SubjectType string `protobuf:"bytes,4,opt,name=subject_type,proto3" json:"subject_type,omitempty"`
	// subject instance identifier (optional)
	SubjectId string `protobuf:"bytes,5,opt,name=subject_id,proto3" json:"subject_id,omitempty"`
	// subject relation name (optional)
	SubjectRelation string `protobuf:"bytes,6,opt,name=subject_relation,proto3" json:"subject_relation,omitempty"`
	// materialize relation objects (optional)
	WithObjects bool `protobuf:"varint,7,opt,name=with_objects,proto3" json:"with_objects,omitempty"`
	// only return relations that do not have a subject relation  (optional)
	WithEmptySubjectRelation bool `protobuf:"varint,8,opt,name=with_empty_subject_relation,proto3" json:"with_empty_subject_relation,omitempty"`
	// pagination request (optional)
	Page *common.PaginationRequest `protobuf:"bytes,9,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRelationsRequest) CloneMessageVT

func (m *GetRelationsRequest) CloneMessageVT() proto.Message

func (*GetRelationsRequest) CloneVT

func (*GetRelationsRequest) Descriptor deprecated

func (*GetRelationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRelationsRequest.ProtoReflect.Descriptor instead.

func (*GetRelationsRequest) EqualMessageVT

func (this *GetRelationsRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*GetRelationsRequest) EqualVT

func (this *GetRelationsRequest) EqualVT(that *GetRelationsRequest) bool

func (*GetRelationsRequest) GetObjectId

func (x *GetRelationsRequest) GetObjectId() string

func (*GetRelationsRequest) GetObjectType

func (x *GetRelationsRequest) GetObjectType() string

func (*GetRelationsRequest) GetPage

func (*GetRelationsRequest) GetRelation

func (x *GetRelationsRequest) GetRelation() string

func (*GetRelationsRequest) GetSubjectId

func (x *GetRelationsRequest) GetSubjectId() string

func (*GetRelationsRequest) GetSubjectRelation

func (x *GetRelationsRequest) GetSubjectRelation() string

func (*GetRelationsRequest) GetSubjectType

func (x *GetRelationsRequest) GetSubjectType() string

func (*GetRelationsRequest) GetWithEmptySubjectRelation

func (x *GetRelationsRequest) GetWithEmptySubjectRelation() bool

func (*GetRelationsRequest) GetWithObjects

func (x *GetRelationsRequest) GetWithObjects() bool

func (*GetRelationsRequest) MarshalToSizedBufferVT

func (m *GetRelationsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetRelationsRequest) MarshalToVT

func (m *GetRelationsRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetRelationsRequest) MarshalVT

func (m *GetRelationsRequest) MarshalVT() (dAtA []byte, err error)

func (*GetRelationsRequest) ProtoMessage

func (*GetRelationsRequest) ProtoMessage()

func (*GetRelationsRequest) ProtoReflect

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

func (*GetRelationsRequest) Reset

func (x *GetRelationsRequest) Reset()

func (*GetRelationsRequest) SizeVT

func (m *GetRelationsRequest) SizeVT() (n int)

func (*GetRelationsRequest) String

func (x *GetRelationsRequest) String() string

func (*GetRelationsRequest) UnmarshalVT

func (m *GetRelationsRequest) UnmarshalVT(dAtA []byte) error

type GetRelationsResponse

type GetRelationsResponse struct {

	// array of relation instances
	Results []*common.Relation `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// map of materialized relation objects
	Objects map[string]*common.Object `` /* 141-byte string literal not displayed */
	// pagination response
	Page *common.PaginationResponse `protobuf:"bytes,9,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRelationsResponse) CloneMessageVT

func (m *GetRelationsResponse) CloneMessageVT() proto.Message

func (*GetRelationsResponse) CloneVT

func (*GetRelationsResponse) Descriptor deprecated

func (*GetRelationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetRelationsResponse.ProtoReflect.Descriptor instead.

func (*GetRelationsResponse) EqualMessageVT

func (this *GetRelationsResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*GetRelationsResponse) EqualVT

func (this *GetRelationsResponse) EqualVT(that *GetRelationsResponse) bool

func (*GetRelationsResponse) GetObjects

func (x *GetRelationsResponse) GetObjects() map[string]*common.Object

func (*GetRelationsResponse) GetPage

func (*GetRelationsResponse) GetResults

func (x *GetRelationsResponse) GetResults() []*common.Relation

func (*GetRelationsResponse) MarshalToSizedBufferVT

func (m *GetRelationsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetRelationsResponse) MarshalToVT

func (m *GetRelationsResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetRelationsResponse) MarshalVT

func (m *GetRelationsResponse) MarshalVT() (dAtA []byte, err error)

func (*GetRelationsResponse) ProtoMessage

func (*GetRelationsResponse) ProtoMessage()

func (*GetRelationsResponse) ProtoReflect

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

func (*GetRelationsResponse) Reset

func (x *GetRelationsResponse) Reset()

func (*GetRelationsResponse) SizeVT

func (m *GetRelationsResponse) SizeVT() (n int)

func (*GetRelationsResponse) String

func (x *GetRelationsResponse) String() string

func (*GetRelationsResponse) UnmarshalVT

func (m *GetRelationsResponse) UnmarshalVT(dAtA []byte) error

type ReaderClient

type ReaderClient interface {
	// get object
	GetObject(ctx context.Context, in *GetObjectRequest, opts ...grpc.CallOption) (*GetObjectResponse, error)
	// get multiple objects
	GetObjectMany(ctx context.Context, in *GetObjectManyRequest, opts ...grpc.CallOption) (*GetObjectManyResponse, error)
	// list objects
	GetObjects(ctx context.Context, in *GetObjectsRequest, opts ...grpc.CallOption) (*GetObjectsResponse, error)
	// get relation
	GetRelation(ctx context.Context, in *GetRelationRequest, opts ...grpc.CallOption) (*GetRelationResponse, error)
	// list relations
	GetRelations(ctx context.Context, in *GetRelationsRequest, opts ...grpc.CallOption) (*GetRelationsResponse, error)
	// check if subject has relation or permission with object
	Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error)
	// checks validates a set of check requests in a single roundtrip
	Checks(ctx context.Context, in *ChecksRequest, opts ...grpc.CallOption) (*ChecksResponse, error)
	// Deprecated: Do not use.
	// check permission (deprecated, use the check method)
	// Deprecated: use directory.reader.v3.Check()
	CheckPermission(ctx context.Context, in *CheckPermissionRequest, opts ...grpc.CallOption) (*CheckPermissionResponse, error)
	// Deprecated: Do not use.
	// check relation (deprecated, use the check method)
	// Deprecated: use directory.reader.v3.Check()
	CheckRelation(ctx context.Context, in *CheckRelationRequest, opts ...grpc.CallOption) (*CheckRelationResponse, error)
	// get object relationship graph
	GetGraph(ctx context.Context, in *GetGraphRequest, opts ...grpc.CallOption) (*GetGraphResponse, error)
}

ReaderClient is the client API for Reader service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewReaderClient

func NewReaderClient(cc grpc.ClientConnInterface) ReaderClient

type ReaderServer

type ReaderServer interface {
	// get object
	GetObject(context.Context, *GetObjectRequest) (*GetObjectResponse, error)
	// get multiple objects
	GetObjectMany(context.Context, *GetObjectManyRequest) (*GetObjectManyResponse, error)
	// list objects
	GetObjects(context.Context, *GetObjectsRequest) (*GetObjectsResponse, error)
	// get relation
	GetRelation(context.Context, *GetRelationRequest) (*GetRelationResponse, error)
	// list relations
	GetRelations(context.Context, *GetRelationsRequest) (*GetRelationsResponse, error)
	// check if subject has relation or permission with object
	Check(context.Context, *CheckRequest) (*CheckResponse, error)
	// checks validates a set of check requests in a single roundtrip
	Checks(context.Context, *ChecksRequest) (*ChecksResponse, error)
	// Deprecated: Do not use.
	// check permission (deprecated, use the check method)
	// Deprecated: use directory.reader.v3.Check()
	CheckPermission(context.Context, *CheckPermissionRequest) (*CheckPermissionResponse, error)
	// Deprecated: Do not use.
	// check relation (deprecated, use the check method)
	// Deprecated: use directory.reader.v3.Check()
	CheckRelation(context.Context, *CheckRelationRequest) (*CheckRelationResponse, error)
	// get object relationship graph
	GetGraph(context.Context, *GetGraphRequest) (*GetGraphResponse, error)
}

ReaderServer is the server API for Reader service. All implementations should embed UnimplementedReaderServer for forward compatibility.

type UnimplementedReaderServer

type UnimplementedReaderServer struct{}

UnimplementedReaderServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedReaderServer) Check

func (UnimplementedReaderServer) CheckPermission

func (UnimplementedReaderServer) CheckRelation

func (UnimplementedReaderServer) Checks

func (UnimplementedReaderServer) GetGraph

func (UnimplementedReaderServer) GetObject

func (UnimplementedReaderServer) GetObjectMany

func (UnimplementedReaderServer) GetObjects

func (UnimplementedReaderServer) GetRelation

func (UnimplementedReaderServer) GetRelations

type UnsafeReaderServer

type UnsafeReaderServer interface {
	// contains filtered or unexported methods
}

UnsafeReaderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ReaderServer will result in compilation errors.

Jump to

Keyboard shortcuts

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