reader

package
v0.33.2 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 24 Imported by: 24

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_aserto_directory_reader_v3_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: "aserto/directory/reader/v3/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
	ObjectType string `protobuf:"bytes,1,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"`
	// object identifier
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	// permission name
	Permission string `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"`
	// subject type
	SubjectType string `protobuf:"bytes,4,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"`
	// subject identifier
	SubjectId string `protobuf:"bytes,5,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`
	// collect trace information
	Trace bool `protobuf:"varint,7,opt,name=trace,proto3" json:"trace,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckPermissionRequest) CloneMessageVT added in v0.33.2

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

func (*CheckPermissionRequest) CloneVT added in v0.33.2

func (*CheckPermissionRequest) Descriptor deprecated

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

Deprecated: Use CheckPermissionRequest.ProtoReflect.Descriptor instead.

func (*CheckPermissionRequest) EqualMessageVT added in v0.33.2

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

func (*CheckPermissionRequest) EqualVT added in v0.33.2

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 added in v0.33.2

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

func (*CheckPermissionRequest) MarshalToVT added in v0.33.2

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

func (*CheckPermissionRequest) MarshalVT added in v0.33.2

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

func (*CheckPermissionRequest) ProtoMessage

func (*CheckPermissionRequest) ProtoMessage()

func (*CheckPermissionRequest) ProtoReflect

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

func (*CheckPermissionRequest) Reset

func (x *CheckPermissionRequest) Reset()

func (*CheckPermissionRequest) SizeVT added in v0.33.2

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

func (*CheckPermissionRequest) String

func (x *CheckPermissionRequest) String() string

func (*CheckPermissionRequest) UnmarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*CheckPermissionResponse) CloneVT added in v0.33.2

func (*CheckPermissionResponse) Descriptor deprecated

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

Deprecated: Use CheckPermissionResponse.ProtoReflect.Descriptor instead.

func (*CheckPermissionResponse) EqualMessageVT added in v0.33.2

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

func (*CheckPermissionResponse) EqualVT added in v0.33.2

func (*CheckPermissionResponse) GetCheck

func (x *CheckPermissionResponse) GetCheck() bool

func (*CheckPermissionResponse) GetTrace

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

func (*CheckPermissionResponse) MarshalToSizedBufferVT added in v0.33.2

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

func (*CheckPermissionResponse) MarshalToVT added in v0.33.2

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

func (*CheckPermissionResponse) MarshalVT added in v0.33.2

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

func (*CheckPermissionResponse) ProtoMessage

func (*CheckPermissionResponse) ProtoMessage()

func (*CheckPermissionResponse) ProtoReflect

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

func (*CheckPermissionResponse) Reset

func (x *CheckPermissionResponse) Reset()

func (*CheckPermissionResponse) SizeVT added in v0.33.2

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

func (*CheckPermissionResponse) String

func (x *CheckPermissionResponse) String() string

func (*CheckPermissionResponse) UnmarshalVT added in v0.33.2

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

type CheckRelationRequest

type CheckRelationRequest struct {

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

func (*CheckRelationRequest) CloneMessageVT added in v0.33.2

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

func (*CheckRelationRequest) CloneVT added in v0.33.2

func (*CheckRelationRequest) Descriptor deprecated

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

Deprecated: Use CheckRelationRequest.ProtoReflect.Descriptor instead.

func (*CheckRelationRequest) EqualMessageVT added in v0.33.2

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

func (*CheckRelationRequest) EqualVT added in v0.33.2

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 added in v0.33.2

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

func (*CheckRelationRequest) MarshalToVT added in v0.33.2

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

func (*CheckRelationRequest) MarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*CheckRelationRequest) String

func (x *CheckRelationRequest) String() string

func (*CheckRelationRequest) UnmarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*CheckRelationResponse) CloneVT added in v0.33.2

func (*CheckRelationResponse) Descriptor deprecated

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

Deprecated: Use CheckRelationResponse.ProtoReflect.Descriptor instead.

func (*CheckRelationResponse) EqualMessageVT added in v0.33.2

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

func (*CheckRelationResponse) EqualVT added in v0.33.2

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 added in v0.33.2

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

func (*CheckRelationResponse) MarshalToVT added in v0.33.2

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

func (*CheckRelationResponse) MarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*CheckRelationResponse) String

func (x *CheckRelationResponse) String() string

func (*CheckRelationResponse) UnmarshalVT added in v0.33.2

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

type CheckRequest

type CheckRequest struct {

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

func (*CheckRequest) CloneMessageVT added in v0.33.2

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

func (*CheckRequest) CloneVT added in v0.33.2

func (m *CheckRequest) CloneVT() *CheckRequest

func (*CheckRequest) Descriptor deprecated

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

Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.

func (*CheckRequest) EqualMessageVT added in v0.33.2

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

func (*CheckRequest) EqualVT added in v0.33.2

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 added in v0.33.2

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

func (*CheckRequest) MarshalToVT added in v0.33.2

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

func (*CheckRequest) MarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*CheckRequest) String

func (x *CheckRequest) String() string

func (*CheckRequest) UnmarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*CheckResponse) CloneVT added in v0.33.2

func (m *CheckResponse) CloneVT() *CheckResponse

func (*CheckResponse) Descriptor deprecated

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

Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.

func (*CheckResponse) EqualMessageVT added in v0.33.2

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

func (*CheckResponse) EqualVT added in v0.33.2

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

func (*CheckResponse) GetCheck

func (x *CheckResponse) GetCheck() bool

func (*CheckResponse) GetContext added in v0.31.12

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

func (*CheckResponse) GetTrace

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

func (*CheckResponse) MarshalToSizedBufferVT added in v0.33.2

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

func (*CheckResponse) MarshalToVT added in v0.33.2

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

func (*CheckResponse) MarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*CheckResponse) String

func (x *CheckResponse) String() string

func (*CheckResponse) UnmarshalVT added in v0.33.2

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

type ChecksRequest added in v0.33.1

type ChecksRequest struct {
	Default *CheckRequest   `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"`
	Checks  []*CheckRequest `protobuf:"bytes,2,rep,name=checks,proto3" json:"checks,omitempty"`
	// contains filtered or unexported fields
}

EXPERIMENTAL

func (*ChecksRequest) CloneMessageVT added in v0.33.2

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

func (*ChecksRequest) CloneVT added in v0.33.2

func (m *ChecksRequest) CloneVT() *ChecksRequest

func (*ChecksRequest) Descriptor deprecated added in v0.33.1

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

Deprecated: Use ChecksRequest.ProtoReflect.Descriptor instead.

func (*ChecksRequest) EqualMessageVT added in v0.33.2

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

func (*ChecksRequest) EqualVT added in v0.33.2

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

func (*ChecksRequest) GetChecks added in v0.33.1

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

func (*ChecksRequest) GetDefault added in v0.33.1

func (x *ChecksRequest) GetDefault() *CheckRequest

func (*ChecksRequest) MarshalToSizedBufferVT added in v0.33.2

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

func (*ChecksRequest) MarshalToVT added in v0.33.2

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

func (*ChecksRequest) MarshalVT added in v0.33.2

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

func (*ChecksRequest) ProtoMessage added in v0.33.1

func (*ChecksRequest) ProtoMessage()

func (*ChecksRequest) ProtoReflect added in v0.33.1

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

func (*ChecksRequest) Reset added in v0.33.1

func (x *ChecksRequest) Reset()

func (*ChecksRequest) SizeVT added in v0.33.2

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

func (*ChecksRequest) String added in v0.33.1

func (x *ChecksRequest) String() string

func (*ChecksRequest) UnmarshalVT added in v0.33.2

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

type ChecksResponse added in v0.33.1

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

EXPERIMENTAL

func (*ChecksResponse) CloneMessageVT added in v0.33.2

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

func (*ChecksResponse) CloneVT added in v0.33.2

func (m *ChecksResponse) CloneVT() *ChecksResponse

func (*ChecksResponse) Descriptor deprecated added in v0.33.1

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

Deprecated: Use ChecksResponse.ProtoReflect.Descriptor instead.

func (*ChecksResponse) EqualMessageVT added in v0.33.2

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

func (*ChecksResponse) EqualVT added in v0.33.2

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

func (*ChecksResponse) GetChecks added in v0.33.1

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

func (*ChecksResponse) MarshalToSizedBufferVT added in v0.33.2

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

func (*ChecksResponse) MarshalToVT added in v0.33.2

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

func (*ChecksResponse) MarshalVT added in v0.33.2

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

func (*ChecksResponse) ProtoMessage added in v0.33.1

func (*ChecksResponse) ProtoMessage()

func (*ChecksResponse) ProtoReflect added in v0.33.1

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

func (*ChecksResponse) Reset added in v0.33.1

func (x *ChecksResponse) Reset()

func (*ChecksResponse) SizeVT added in v0.33.2

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

func (*ChecksResponse) String added in v0.33.1

func (x *ChecksResponse) String() string

func (*ChecksResponse) UnmarshalVT added in v0.33.2

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

type GetGraphRequest

type GetGraphRequest struct {

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

func (*GetGraphRequest) CloneMessageVT added in v0.33.2

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

func (*GetGraphRequest) CloneVT added in v0.33.2

func (m *GetGraphRequest) CloneVT() *GetGraphRequest

func (*GetGraphRequest) Descriptor deprecated

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

Deprecated: Use GetGraphRequest.ProtoReflect.Descriptor instead.

func (*GetGraphRequest) EqualMessageVT added in v0.33.2

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

func (*GetGraphRequest) EqualVT added in v0.33.2

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

func (*GetGraphRequest) GetExplain added in v0.31.0

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 added in v0.31.0

func (x *GetGraphRequest) GetTrace() bool

func (*GetGraphRequest) MarshalToSizedBufferVT added in v0.33.2

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

func (*GetGraphRequest) MarshalToVT added in v0.33.2

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

func (*GetGraphRequest) MarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*GetGraphRequest) String

func (x *GetGraphRequest) String() string

func (*GetGraphRequest) UnmarshalVT added in v0.33.2

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

type GetGraphResponse

type GetGraphResponse struct {

	// matching object identifiers
	Results []*v3.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 added in v0.33.2

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

func (*GetGraphResponse) CloneVT added in v0.33.2

func (m *GetGraphResponse) CloneVT() *GetGraphResponse

func (*GetGraphResponse) Descriptor deprecated

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

Deprecated: Use GetGraphResponse.ProtoReflect.Descriptor instead.

func (*GetGraphResponse) EqualMessageVT added in v0.33.2

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

func (*GetGraphResponse) EqualVT added in v0.33.2

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

func (*GetGraphResponse) GetExplanation added in v0.31.0

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

func (*GetGraphResponse) GetResults

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

func (*GetGraphResponse) GetTrace added in v0.31.0

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

func (*GetGraphResponse) MarshalToSizedBufferVT added in v0.33.2

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

func (*GetGraphResponse) MarshalToVT added in v0.33.2

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

func (*GetGraphResponse) MarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*GetGraphResponse) String

func (x *GetGraphResponse) String() string

func (*GetGraphResponse) UnmarshalVT added in v0.33.2

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

type GetObjectManyRequest

type GetObjectManyRequest struct {

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

func (*GetObjectManyRequest) CloneMessageVT added in v0.33.2

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

func (*GetObjectManyRequest) CloneVT added in v0.33.2

func (*GetObjectManyRequest) Descriptor deprecated

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

Deprecated: Use GetObjectManyRequest.ProtoReflect.Descriptor instead.

func (*GetObjectManyRequest) EqualMessageVT added in v0.33.2

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

func (*GetObjectManyRequest) EqualVT added in v0.33.2

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

func (*GetObjectManyRequest) GetParam

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

func (*GetObjectManyRequest) MarshalToSizedBufferVT added in v0.33.2

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

func (*GetObjectManyRequest) MarshalToVT added in v0.33.2

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

func (*GetObjectManyRequest) MarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*GetObjectManyRequest) String

func (x *GetObjectManyRequest) String() string

func (*GetObjectManyRequest) UnmarshalVT added in v0.33.2

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

type GetObjectManyResponse

type GetObjectManyResponse struct {

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

func (*GetObjectManyResponse) CloneMessageVT added in v0.33.2

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

func (*GetObjectManyResponse) CloneVT added in v0.33.2

func (*GetObjectManyResponse) Descriptor deprecated

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

Deprecated: Use GetObjectManyResponse.ProtoReflect.Descriptor instead.

func (*GetObjectManyResponse) EqualMessageVT added in v0.33.2

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

func (*GetObjectManyResponse) EqualVT added in v0.33.2

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

func (*GetObjectManyResponse) GetResults

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

func (*GetObjectManyResponse) MarshalToSizedBufferVT added in v0.33.2

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

func (*GetObjectManyResponse) MarshalToVT added in v0.33.2

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

func (*GetObjectManyResponse) MarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*GetObjectManyResponse) String

func (x *GetObjectManyResponse) String() string

func (*GetObjectManyResponse) UnmarshalVT added in v0.33.2

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

type GetObjectRequest

type GetObjectRequest struct {

	// object type name (lc-string)
	ObjectType string `protobuf:"bytes,1,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"`
	// object identifier (cs-string)
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	// materialize the object relations objects
	WithRelations bool `protobuf:"varint,3,opt,name=with_relations,json=withRelations,proto3" json:"with_relations,omitempty"`
	// pagination request
	Page *v3.PaginationRequest `protobuf:"bytes,9,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*GetObjectRequest) CloneMessageVT added in v0.33.2

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

func (*GetObjectRequest) CloneVT added in v0.33.2

func (m *GetObjectRequest) CloneVT() *GetObjectRequest

func (*GetObjectRequest) Descriptor deprecated

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

Deprecated: Use GetObjectRequest.ProtoReflect.Descriptor instead.

func (*GetObjectRequest) EqualMessageVT added in v0.33.2

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

func (*GetObjectRequest) EqualVT added in v0.33.2

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) GetPage

func (x *GetObjectRequest) GetPage() *v3.PaginationRequest

func (*GetObjectRequest) GetWithRelations

func (x *GetObjectRequest) GetWithRelations() bool

func (*GetObjectRequest) MarshalToSizedBufferVT added in v0.33.2

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

func (*GetObjectRequest) MarshalToVT added in v0.33.2

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

func (*GetObjectRequest) MarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*GetObjectRequest) String

func (x *GetObjectRequest) String() string

func (*GetObjectRequest) UnmarshalVT added in v0.33.2

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

type GetObjectResponse

type GetObjectResponse struct {

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

func (*GetObjectResponse) CloneMessageVT added in v0.33.2

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

func (*GetObjectResponse) CloneVT added in v0.33.2

func (m *GetObjectResponse) CloneVT() *GetObjectResponse

func (*GetObjectResponse) Descriptor deprecated

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

Deprecated: Use GetObjectResponse.ProtoReflect.Descriptor instead.

func (*GetObjectResponse) EqualMessageVT added in v0.33.2

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

func (*GetObjectResponse) EqualVT added in v0.33.2

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

func (*GetObjectResponse) GetPage

func (x *GetObjectResponse) GetPage() *v3.PaginationResponse

func (*GetObjectResponse) GetRelations

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

func (*GetObjectResponse) GetResult

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

func (*GetObjectResponse) MarshalToSizedBufferVT added in v0.33.2

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

func (*GetObjectResponse) MarshalToVT added in v0.33.2

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

func (*GetObjectResponse) MarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*GetObjectResponse) String

func (x *GetObjectResponse) String() string

func (*GetObjectResponse) UnmarshalVT added in v0.33.2

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

type GetObjectsRequest

type GetObjectsRequest struct {

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

func (*GetObjectsRequest) CloneMessageVT added in v0.33.2

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

func (*GetObjectsRequest) CloneVT added in v0.33.2

func (m *GetObjectsRequest) CloneVT() *GetObjectsRequest

func (*GetObjectsRequest) Descriptor deprecated

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

Deprecated: Use GetObjectsRequest.ProtoReflect.Descriptor instead.

func (*GetObjectsRequest) EqualMessageVT added in v0.33.2

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

func (*GetObjectsRequest) EqualVT added in v0.33.2

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

func (*GetObjectsRequest) GetObjectType

func (x *GetObjectsRequest) GetObjectType() string

func (*GetObjectsRequest) GetPage

func (x *GetObjectsRequest) GetPage() *v3.PaginationRequest

func (*GetObjectsRequest) MarshalToSizedBufferVT added in v0.33.2

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

func (*GetObjectsRequest) MarshalToVT added in v0.33.2

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

func (*GetObjectsRequest) MarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*GetObjectsRequest) String

func (x *GetObjectsRequest) String() string

func (*GetObjectsRequest) UnmarshalVT added in v0.33.2

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

type GetObjectsResponse

type GetObjectsResponse struct {

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

func (*GetObjectsResponse) CloneMessageVT added in v0.33.2

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

func (*GetObjectsResponse) CloneVT added in v0.33.2

func (m *GetObjectsResponse) CloneVT() *GetObjectsResponse

func (*GetObjectsResponse) Descriptor deprecated

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

Deprecated: Use GetObjectsResponse.ProtoReflect.Descriptor instead.

func (*GetObjectsResponse) EqualMessageVT added in v0.33.2

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

func (*GetObjectsResponse) EqualVT added in v0.33.2

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

func (*GetObjectsResponse) GetPage

func (*GetObjectsResponse) GetResults

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

func (*GetObjectsResponse) MarshalToSizedBufferVT added in v0.33.2

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

func (*GetObjectsResponse) MarshalToVT added in v0.33.2

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

func (*GetObjectsResponse) MarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*GetObjectsResponse) String

func (x *GetObjectsResponse) String() string

func (*GetObjectsResponse) UnmarshalVT added in v0.33.2

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

type GetRelationRequest

type GetRelationRequest struct {

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

func (*GetRelationRequest) CloneMessageVT added in v0.33.2

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

func (*GetRelationRequest) CloneVT added in v0.33.2

func (m *GetRelationRequest) CloneVT() *GetRelationRequest

func (*GetRelationRequest) Descriptor deprecated

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

Deprecated: Use GetRelationRequest.ProtoReflect.Descriptor instead.

func (*GetRelationRequest) EqualMessageVT added in v0.33.2

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

func (*GetRelationRequest) EqualVT added in v0.33.2

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 added in v0.33.2

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

func (*GetRelationRequest) MarshalToVT added in v0.33.2

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

func (*GetRelationRequest) MarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*GetRelationRequest) String

func (x *GetRelationRequest) String() string

func (*GetRelationRequest) UnmarshalVT added in v0.33.2

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

type GetRelationResponse

type GetRelationResponse struct {

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

func (*GetRelationResponse) CloneMessageVT added in v0.33.2

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

func (*GetRelationResponse) CloneVT added in v0.33.2

func (*GetRelationResponse) Descriptor deprecated

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

Deprecated: Use GetRelationResponse.ProtoReflect.Descriptor instead.

func (*GetRelationResponse) EqualMessageVT added in v0.33.2

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

func (*GetRelationResponse) EqualVT added in v0.33.2

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

func (*GetRelationResponse) GetObjects

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

func (*GetRelationResponse) GetResult

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

func (*GetRelationResponse) MarshalToSizedBufferVT added in v0.33.2

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

func (*GetRelationResponse) MarshalToVT added in v0.33.2

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

func (*GetRelationResponse) MarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*GetRelationResponse) String

func (x *GetRelationResponse) String() string

func (*GetRelationResponse) UnmarshalVT added in v0.33.2

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

type GetRelationsRequest

type GetRelationsRequest struct {

	// object type
	ObjectType string `protobuf:"bytes,1,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"`
	// object identifier
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	// relation name
	Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	// subject type
	SubjectType string `protobuf:"bytes,4,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"`
	// subject identifier
	SubjectId string `protobuf:"bytes,5,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`
	// optional subject relation name
	SubjectRelation string `protobuf:"bytes,6,opt,name=subject_relation,json=subjectRelation,proto3" json:"subject_relation,omitempty"`
	// materialize relation objects
	WithObjects bool `protobuf:"varint,7,opt,name=with_objects,json=withObjects,proto3" json:"with_objects,omitempty"`
	// only return relations that do not have a subject relation.
	WithEmptySubjectRelation bool `` /* 138-byte string literal not displayed */
	// pagination request
	Page *v3.PaginationRequest `protobuf:"bytes,9,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRelationsRequest) CloneMessageVT added in v0.33.2

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

func (*GetRelationsRequest) CloneVT added in v0.33.2

func (*GetRelationsRequest) Descriptor deprecated

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

Deprecated: Use GetRelationsRequest.ProtoReflect.Descriptor instead.

func (*GetRelationsRequest) EqualMessageVT added in v0.33.2

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

func (*GetRelationsRequest) EqualVT added in v0.33.2

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 added in v0.30.9

func (x *GetRelationsRequest) GetWithEmptySubjectRelation() bool

func (*GetRelationsRequest) GetWithObjects

func (x *GetRelationsRequest) GetWithObjects() bool

func (*GetRelationsRequest) MarshalToSizedBufferVT added in v0.33.2

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

func (*GetRelationsRequest) MarshalToVT added in v0.33.2

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

func (*GetRelationsRequest) MarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*GetRelationsRequest) String

func (x *GetRelationsRequest) String() string

func (*GetRelationsRequest) UnmarshalVT added in v0.33.2

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

type GetRelationsResponse

type GetRelationsResponse struct {

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

func (*GetRelationsResponse) CloneMessageVT added in v0.33.2

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

func (*GetRelationsResponse) CloneVT added in v0.33.2

func (*GetRelationsResponse) Descriptor deprecated

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

Deprecated: Use GetRelationsResponse.ProtoReflect.Descriptor instead.

func (*GetRelationsResponse) EqualMessageVT added in v0.33.2

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

func (*GetRelationsResponse) EqualVT added in v0.33.2

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

func (*GetRelationsResponse) GetObjects

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

func (*GetRelationsResponse) GetPage

func (*GetRelationsResponse) GetResults

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

func (*GetRelationsResponse) MarshalToSizedBufferVT added in v0.33.2

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

func (*GetRelationsResponse) MarshalToVT added in v0.33.2

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

func (*GetRelationsResponse) MarshalVT added in v0.33.2

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 added in v0.33.2

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

func (*GetRelationsResponse) String

func (x *GetRelationsResponse) String() string

func (*GetRelationsResponse) UnmarshalVT added in v0.33.2

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)
	// EXPERIMENTAL: 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.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.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)
	// EXPERIMENTAL: 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.v3.Check()
	CheckPermission(context.Context, *CheckPermissionRequest) (*CheckPermissionResponse, error)
	// Deprecated: Do not use.
	// check relation (deprecated, use the check method)
	// Deprecated: use directory.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 added in v0.33.1

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