Documentation ¶
Overview ¶
Package assertion is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterAssertionHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAssertionHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AssertionClient) error
- func RegisterAssertionHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAssertionHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AssertionServer) error
- func RegisterAssertionServer(s grpc.ServiceRegistrar, srv AssertionServer)
- type Assert
- func (m *Assert) CloneMessageVT() proto.Message
- func (m *Assert) CloneVT() *Assert
- func (*Assert) Descriptor() ([]byte, []int)deprecated
- func (this *Assert) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Assert) EqualVT(that *Assert) bool
- func (x *Assert) GetCheck() *v31.CheckRequest
- func (x *Assert) GetCheckPermission() *v31.CheckPermissionRequest
- func (x *Assert) GetCheckRelation() *v31.CheckRelationRequest
- func (x *Assert) GetDescription() string
- func (x *Assert) GetExpected() bool
- func (x *Assert) GetId() uint32
- func (m *Assert) GetMsg() isAssert_Msg
- func (m *Assert) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Assert) MarshalToVT(dAtA []byte) (int, error)
- func (m *Assert) MarshalVT() (dAtA []byte, err error)
- func (*Assert) ProtoMessage()
- func (x *Assert) ProtoReflect() protoreflect.Message
- func (x *Assert) Reset()
- func (m *Assert) SizeVT() (n int)
- func (x *Assert) String() string
- func (m *Assert) UnmarshalVT(dAtA []byte) error
- type Assert_Check
- type Assert_CheckPermission
- func (m *Assert_CheckPermission) CloneVT() isAssert_Msg
- func (this *Assert_CheckPermission) EqualVT(thatIface isAssert_Msg) bool
- func (m *Assert_CheckPermission) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Assert_CheckPermission) MarshalToVT(dAtA []byte) (int, error)
- func (m *Assert_CheckPermission) SizeVT() (n int)
- type Assert_CheckRelation
- func (m *Assert_CheckRelation) CloneVT() isAssert_Msg
- func (this *Assert_CheckRelation) EqualVT(thatIface isAssert_Msg) bool
- func (m *Assert_CheckRelation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Assert_CheckRelation) MarshalToVT(dAtA []byte) (int, error)
- func (m *Assert_CheckRelation) SizeVT() (n int)
- type AssertionClient
- type AssertionServer
- type DeleteAssertionRequest
- func (m *DeleteAssertionRequest) CloneMessageVT() proto.Message
- func (m *DeleteAssertionRequest) CloneVT() *DeleteAssertionRequest
- func (*DeleteAssertionRequest) Descriptor() ([]byte, []int)deprecated
- func (this *DeleteAssertionRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DeleteAssertionRequest) EqualVT(that *DeleteAssertionRequest) bool
- func (x *DeleteAssertionRequest) GetId() uint32
- func (m *DeleteAssertionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DeleteAssertionRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *DeleteAssertionRequest) MarshalVT() (dAtA []byte, err error)
- func (*DeleteAssertionRequest) ProtoMessage()
- func (x *DeleteAssertionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAssertionRequest) Reset()
- func (m *DeleteAssertionRequest) SizeVT() (n int)
- func (x *DeleteAssertionRequest) String() string
- func (m *DeleteAssertionRequest) UnmarshalVT(dAtA []byte) error
- type DeleteAssertionResponse
- func (m *DeleteAssertionResponse) CloneMessageVT() proto.Message
- func (m *DeleteAssertionResponse) CloneVT() *DeleteAssertionResponse
- func (*DeleteAssertionResponse) Descriptor() ([]byte, []int)deprecated
- func (this *DeleteAssertionResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DeleteAssertionResponse) EqualVT(that *DeleteAssertionResponse) bool
- func (x *DeleteAssertionResponse) GetResult() *emptypb.Empty
- func (m *DeleteAssertionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DeleteAssertionResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *DeleteAssertionResponse) MarshalVT() (dAtA []byte, err error)
- func (*DeleteAssertionResponse) ProtoMessage()
- func (x *DeleteAssertionResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteAssertionResponse) Reset()
- func (m *DeleteAssertionResponse) SizeVT() (n int)
- func (x *DeleteAssertionResponse) String() string
- func (m *DeleteAssertionResponse) UnmarshalVT(dAtA []byte) error
- type GetAssertionRequest
- func (m *GetAssertionRequest) CloneMessageVT() proto.Message
- func (m *GetAssertionRequest) CloneVT() *GetAssertionRequest
- func (*GetAssertionRequest) Descriptor() ([]byte, []int)deprecated
- func (this *GetAssertionRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *GetAssertionRequest) EqualVT(that *GetAssertionRequest) bool
- func (x *GetAssertionRequest) GetId() uint32
- func (m *GetAssertionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetAssertionRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetAssertionRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetAssertionRequest) ProtoMessage()
- func (x *GetAssertionRequest) ProtoReflect() protoreflect.Message
- func (x *GetAssertionRequest) Reset()
- func (m *GetAssertionRequest) SizeVT() (n int)
- func (x *GetAssertionRequest) String() string
- func (m *GetAssertionRequest) UnmarshalVT(dAtA []byte) error
- type GetAssertionResponse
- func (m *GetAssertionResponse) CloneMessageVT() proto.Message
- func (m *GetAssertionResponse) CloneVT() *GetAssertionResponse
- func (*GetAssertionResponse) Descriptor() ([]byte, []int)deprecated
- func (this *GetAssertionResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *GetAssertionResponse) EqualVT(that *GetAssertionResponse) bool
- func (x *GetAssertionResponse) GetResult() *Assert
- func (m *GetAssertionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetAssertionResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetAssertionResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetAssertionResponse) ProtoMessage()
- func (x *GetAssertionResponse) ProtoReflect() protoreflect.Message
- func (x *GetAssertionResponse) Reset()
- func (m *GetAssertionResponse) SizeVT() (n int)
- func (x *GetAssertionResponse) String() string
- func (m *GetAssertionResponse) UnmarshalVT(dAtA []byte) error
- type ListAssertionsRequest
- func (m *ListAssertionsRequest) CloneMessageVT() proto.Message
- func (m *ListAssertionsRequest) CloneVT() *ListAssertionsRequest
- func (*ListAssertionsRequest) Descriptor() ([]byte, []int)deprecated
- func (this *ListAssertionsRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ListAssertionsRequest) EqualVT(that *ListAssertionsRequest) bool
- func (x *ListAssertionsRequest) GetPage() *v3.PaginationRequest
- func (m *ListAssertionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ListAssertionsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ListAssertionsRequest) MarshalVT() (dAtA []byte, err error)
- func (*ListAssertionsRequest) ProtoMessage()
- func (x *ListAssertionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAssertionsRequest) Reset()
- func (m *ListAssertionsRequest) SizeVT() (n int)
- func (x *ListAssertionsRequest) String() string
- func (m *ListAssertionsRequest) UnmarshalVT(dAtA []byte) error
- type ListAssertionsResponse
- func (m *ListAssertionsResponse) CloneMessageVT() proto.Message
- func (m *ListAssertionsResponse) CloneVT() *ListAssertionsResponse
- func (*ListAssertionsResponse) Descriptor() ([]byte, []int)deprecated
- func (this *ListAssertionsResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ListAssertionsResponse) EqualVT(that *ListAssertionsResponse) bool
- func (x *ListAssertionsResponse) GetPage() *v3.PaginationResponse
- func (x *ListAssertionsResponse) GetResults() []*Assert
- func (m *ListAssertionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ListAssertionsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ListAssertionsResponse) MarshalVT() (dAtA []byte, err error)
- func (*ListAssertionsResponse) ProtoMessage()
- func (x *ListAssertionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAssertionsResponse) Reset()
- func (m *ListAssertionsResponse) SizeVT() (n int)
- func (x *ListAssertionsResponse) String() string
- func (m *ListAssertionsResponse) UnmarshalVT(dAtA []byte) error
- type SetAssertionRequest
- func (m *SetAssertionRequest) CloneMessageVT() proto.Message
- func (m *SetAssertionRequest) CloneVT() *SetAssertionRequest
- func (*SetAssertionRequest) Descriptor() ([]byte, []int)deprecated
- func (this *SetAssertionRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SetAssertionRequest) EqualVT(that *SetAssertionRequest) bool
- func (x *SetAssertionRequest) GetAssert() *Assert
- func (m *SetAssertionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetAssertionRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetAssertionRequest) MarshalVT() (dAtA []byte, err error)
- func (*SetAssertionRequest) ProtoMessage()
- func (x *SetAssertionRequest) ProtoReflect() protoreflect.Message
- func (x *SetAssertionRequest) Reset()
- func (m *SetAssertionRequest) SizeVT() (n int)
- func (x *SetAssertionRequest) String() string
- func (m *SetAssertionRequest) UnmarshalVT(dAtA []byte) error
- type SetAssertionResponse
- func (m *SetAssertionResponse) CloneMessageVT() proto.Message
- func (m *SetAssertionResponse) CloneVT() *SetAssertionResponse
- func (*SetAssertionResponse) Descriptor() ([]byte, []int)deprecated
- func (this *SetAssertionResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SetAssertionResponse) EqualVT(that *SetAssertionResponse) bool
- func (x *SetAssertionResponse) GetResult() *Assert
- func (m *SetAssertionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetAssertionResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetAssertionResponse) MarshalVT() (dAtA []byte, err error)
- func (*SetAssertionResponse) ProtoMessage()
- func (x *SetAssertionResponse) ProtoReflect() protoreflect.Message
- func (x *SetAssertionResponse) Reset()
- func (m *SetAssertionResponse) SizeVT() (n int)
- func (x *SetAssertionResponse) String() string
- func (m *SetAssertionResponse) UnmarshalVT(dAtA []byte) error
- type UnimplementedAssertionServer
- func (UnimplementedAssertionServer) DeleteAssertion(context.Context, *DeleteAssertionRequest) (*DeleteAssertionResponse, error)
- func (UnimplementedAssertionServer) GetAssertion(context.Context, *GetAssertionRequest) (*GetAssertionResponse, error)
- func (UnimplementedAssertionServer) ListAssertions(context.Context, *ListAssertionsRequest) (*ListAssertionsResponse, error)
- func (UnimplementedAssertionServer) SetAssertion(context.Context, *SetAssertionRequest) (*SetAssertionResponse, error)
- type UnsafeAssertionServer
Constants ¶
const ( Assertion_GetAssertion_FullMethodName = "/aserto.directory.assertion.v3.Assertion/GetAssertion" Assertion_ListAssertions_FullMethodName = "/aserto.directory.assertion.v3.Assertion/ListAssertions" Assertion_SetAssertion_FullMethodName = "/aserto.directory.assertion.v3.Assertion/SetAssertion" Assertion_DeleteAssertion_FullMethodName = "/aserto.directory.assertion.v3.Assertion/DeleteAssertion" )
Variables ¶
var Assertion_ServiceDesc = grpc.ServiceDesc{ ServiceName: "aserto.directory.assertion.v3.Assertion", HandlerType: (*AssertionServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAssertion", Handler: _Assertion_GetAssertion_Handler, }, { MethodName: "ListAssertions", Handler: _Assertion_ListAssertions_Handler, }, { MethodName: "SetAssertion", Handler: _Assertion_SetAssertion_Handler, }, { MethodName: "DeleteAssertion", Handler: _Assertion_DeleteAssertion_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "aserto/directory/assertion/v3/assertion.proto", }
Assertion_ServiceDesc is the grpc.ServiceDesc for Assertion service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_aserto_directory_assertion_v3_assertion_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAssertionHandler ¶
func RegisterAssertionHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAssertionHandler registers the http handlers for service Assertion to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAssertionHandlerClient ¶
func RegisterAssertionHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AssertionClient) error
RegisterAssertionHandlerClient registers the http handlers for service Assertion to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AssertionClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AssertionClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AssertionClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterAssertionHandlerFromEndpoint ¶
func RegisterAssertionHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAssertionHandlerFromEndpoint is same as RegisterAssertionHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAssertionHandlerServer ¶
func RegisterAssertionHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AssertionServer) error
RegisterAssertionHandlerServer registers the http handlers for service Assertion to "mux". UnaryRPC :call AssertionServer 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 RegisterAssertionHandlerFromEndpoint 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 RegisterAssertionServer ¶
func RegisterAssertionServer(s grpc.ServiceRegistrar, srv AssertionServer)
Types ¶
type Assert ¶
type Assert struct { // assertion identifier Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // expected outcome of assertion Expected bool `protobuf:"varint,2,opt,name=expected,proto3" json:"expected,omitempty"` // assertion request // // Types that are assignable to Msg: // // *Assert_Check // *Assert_CheckRelation // *Assert_CheckPermission Msg isAssert_Msg `protobuf_oneof:"msg"` // description Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Assert) CloneMessageVT ¶ added in v0.33.2
func (*Assert) Descriptor
deprecated
func (*Assert) EqualMessageVT ¶ added in v0.33.2
func (*Assert) GetCheck ¶
func (x *Assert) GetCheck() *v31.CheckRequest
func (*Assert) GetCheckPermission ¶
func (x *Assert) GetCheckPermission() *v31.CheckPermissionRequest
func (*Assert) GetCheckRelation ¶
func (x *Assert) GetCheckRelation() *v31.CheckRelationRequest
func (*Assert) GetDescription ¶ added in v0.31.12
func (*Assert) GetExpected ¶
func (*Assert) MarshalToSizedBufferVT ¶ added in v0.33.2
func (*Assert) MarshalToVT ¶ added in v0.33.2
func (*Assert) ProtoMessage ¶
func (*Assert) ProtoMessage()
func (*Assert) ProtoReflect ¶
func (x *Assert) ProtoReflect() protoreflect.Message
func (*Assert) UnmarshalVT ¶ added in v0.33.2
type Assert_Check ¶
type Assert_Check struct {
Check *v31.CheckRequest `protobuf:"bytes,3,opt,name=check,proto3,oneof"`
}
func (*Assert_Check) CloneVT ¶ added in v0.33.2
func (m *Assert_Check) CloneVT() isAssert_Msg
func (*Assert_Check) EqualVT ¶ added in v0.33.2
func (this *Assert_Check) EqualVT(thatIface isAssert_Msg) bool
func (*Assert_Check) MarshalToSizedBufferVT ¶ added in v0.33.2
func (m *Assert_Check) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Assert_Check) MarshalToVT ¶ added in v0.33.2
func (m *Assert_Check) MarshalToVT(dAtA []byte) (int, error)
func (*Assert_Check) SizeVT ¶ added in v0.33.2
func (m *Assert_Check) SizeVT() (n int)
type Assert_CheckPermission ¶
type Assert_CheckPermission struct {
CheckPermission *v31.CheckPermissionRequest `protobuf:"bytes,5,opt,name=check_permission,json=checkPermission,proto3,oneof"`
}
func (*Assert_CheckPermission) CloneVT ¶ added in v0.33.2
func (m *Assert_CheckPermission) CloneVT() isAssert_Msg
func (*Assert_CheckPermission) EqualVT ¶ added in v0.33.2
func (this *Assert_CheckPermission) EqualVT(thatIface isAssert_Msg) bool
func (*Assert_CheckPermission) MarshalToSizedBufferVT ¶ added in v0.33.2
func (m *Assert_CheckPermission) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Assert_CheckPermission) MarshalToVT ¶ added in v0.33.2
func (m *Assert_CheckPermission) MarshalToVT(dAtA []byte) (int, error)
func (*Assert_CheckPermission) SizeVT ¶ added in v0.33.2
func (m *Assert_CheckPermission) SizeVT() (n int)
type Assert_CheckRelation ¶
type Assert_CheckRelation struct {
CheckRelation *v31.CheckRelationRequest `protobuf:"bytes,4,opt,name=check_relation,json=checkRelation,proto3,oneof"`
}
func (*Assert_CheckRelation) CloneVT ¶ added in v0.33.2
func (m *Assert_CheckRelation) CloneVT() isAssert_Msg
func (*Assert_CheckRelation) EqualVT ¶ added in v0.33.2
func (this *Assert_CheckRelation) EqualVT(thatIface isAssert_Msg) bool
func (*Assert_CheckRelation) MarshalToSizedBufferVT ¶ added in v0.33.2
func (m *Assert_CheckRelation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Assert_CheckRelation) MarshalToVT ¶ added in v0.33.2
func (m *Assert_CheckRelation) MarshalToVT(dAtA []byte) (int, error)
func (*Assert_CheckRelation) SizeVT ¶ added in v0.33.2
func (m *Assert_CheckRelation) SizeVT() (n int)
type AssertionClient ¶
type AssertionClient interface { GetAssertion(ctx context.Context, in *GetAssertionRequest, opts ...grpc.CallOption) (*GetAssertionResponse, error) ListAssertions(ctx context.Context, in *ListAssertionsRequest, opts ...grpc.CallOption) (*ListAssertionsResponse, error) SetAssertion(ctx context.Context, in *SetAssertionRequest, opts ...grpc.CallOption) (*SetAssertionResponse, error) DeleteAssertion(ctx context.Context, in *DeleteAssertionRequest, opts ...grpc.CallOption) (*DeleteAssertionResponse, error) }
AssertionClient is the client API for Assertion 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 NewAssertionClient ¶
func NewAssertionClient(cc grpc.ClientConnInterface) AssertionClient
type AssertionServer ¶
type AssertionServer interface { GetAssertion(context.Context, *GetAssertionRequest) (*GetAssertionResponse, error) ListAssertions(context.Context, *ListAssertionsRequest) (*ListAssertionsResponse, error) SetAssertion(context.Context, *SetAssertionRequest) (*SetAssertionResponse, error) DeleteAssertion(context.Context, *DeleteAssertionRequest) (*DeleteAssertionResponse, error) }
AssertionServer is the server API for Assertion service. All implementations should embed UnimplementedAssertionServer for forward compatibility.
type DeleteAssertionRequest ¶
type DeleteAssertionRequest struct { // assertion identifier Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAssertionRequest) CloneMessageVT ¶ added in v0.33.2
func (m *DeleteAssertionRequest) CloneMessageVT() proto.Message
func (*DeleteAssertionRequest) CloneVT ¶ added in v0.33.2
func (m *DeleteAssertionRequest) CloneVT() *DeleteAssertionRequest
func (*DeleteAssertionRequest) Descriptor
deprecated
func (*DeleteAssertionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAssertionRequest.ProtoReflect.Descriptor instead.
func (*DeleteAssertionRequest) EqualMessageVT ¶ added in v0.33.2
func (this *DeleteAssertionRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*DeleteAssertionRequest) EqualVT ¶ added in v0.33.2
func (this *DeleteAssertionRequest) EqualVT(that *DeleteAssertionRequest) bool
func (*DeleteAssertionRequest) GetId ¶
func (x *DeleteAssertionRequest) GetId() uint32
func (*DeleteAssertionRequest) MarshalToSizedBufferVT ¶ added in v0.33.2
func (m *DeleteAssertionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DeleteAssertionRequest) MarshalToVT ¶ added in v0.33.2
func (m *DeleteAssertionRequest) MarshalToVT(dAtA []byte) (int, error)
func (*DeleteAssertionRequest) MarshalVT ¶ added in v0.33.2
func (m *DeleteAssertionRequest) MarshalVT() (dAtA []byte, err error)
func (*DeleteAssertionRequest) ProtoMessage ¶
func (*DeleteAssertionRequest) ProtoMessage()
func (*DeleteAssertionRequest) ProtoReflect ¶
func (x *DeleteAssertionRequest) ProtoReflect() protoreflect.Message
func (*DeleteAssertionRequest) Reset ¶
func (x *DeleteAssertionRequest) Reset()
func (*DeleteAssertionRequest) SizeVT ¶ added in v0.33.2
func (m *DeleteAssertionRequest) SizeVT() (n int)
func (*DeleteAssertionRequest) String ¶
func (x *DeleteAssertionRequest) String() string
func (*DeleteAssertionRequest) UnmarshalVT ¶ added in v0.33.2
func (m *DeleteAssertionRequest) UnmarshalVT(dAtA []byte) error
type DeleteAssertionResponse ¶
type DeleteAssertionResponse struct { // empty result Result *emptypb.Empty `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*DeleteAssertionResponse) CloneMessageVT ¶ added in v0.33.2
func (m *DeleteAssertionResponse) CloneMessageVT() proto.Message
func (*DeleteAssertionResponse) CloneVT ¶ added in v0.33.2
func (m *DeleteAssertionResponse) CloneVT() *DeleteAssertionResponse
func (*DeleteAssertionResponse) Descriptor
deprecated
func (*DeleteAssertionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAssertionResponse.ProtoReflect.Descriptor instead.
func (*DeleteAssertionResponse) EqualMessageVT ¶ added in v0.33.2
func (this *DeleteAssertionResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*DeleteAssertionResponse) EqualVT ¶ added in v0.33.2
func (this *DeleteAssertionResponse) EqualVT(that *DeleteAssertionResponse) bool
func (*DeleteAssertionResponse) GetResult ¶
func (x *DeleteAssertionResponse) GetResult() *emptypb.Empty
func (*DeleteAssertionResponse) MarshalToSizedBufferVT ¶ added in v0.33.2
func (m *DeleteAssertionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DeleteAssertionResponse) MarshalToVT ¶ added in v0.33.2
func (m *DeleteAssertionResponse) MarshalToVT(dAtA []byte) (int, error)
func (*DeleteAssertionResponse) MarshalVT ¶ added in v0.33.2
func (m *DeleteAssertionResponse) MarshalVT() (dAtA []byte, err error)
func (*DeleteAssertionResponse) ProtoMessage ¶
func (*DeleteAssertionResponse) ProtoMessage()
func (*DeleteAssertionResponse) ProtoReflect ¶
func (x *DeleteAssertionResponse) ProtoReflect() protoreflect.Message
func (*DeleteAssertionResponse) Reset ¶
func (x *DeleteAssertionResponse) Reset()
func (*DeleteAssertionResponse) SizeVT ¶ added in v0.33.2
func (m *DeleteAssertionResponse) SizeVT() (n int)
func (*DeleteAssertionResponse) String ¶
func (x *DeleteAssertionResponse) String() string
func (*DeleteAssertionResponse) UnmarshalVT ¶ added in v0.33.2
func (m *DeleteAssertionResponse) UnmarshalVT(dAtA []byte) error
type GetAssertionRequest ¶
type GetAssertionRequest struct { // assertion identifier Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetAssertionRequest) CloneMessageVT ¶ added in v0.33.2
func (m *GetAssertionRequest) CloneMessageVT() proto.Message
func (*GetAssertionRequest) CloneVT ¶ added in v0.33.2
func (m *GetAssertionRequest) CloneVT() *GetAssertionRequest
func (*GetAssertionRequest) Descriptor
deprecated
func (*GetAssertionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAssertionRequest.ProtoReflect.Descriptor instead.
func (*GetAssertionRequest) EqualMessageVT ¶ added in v0.33.2
func (this *GetAssertionRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*GetAssertionRequest) EqualVT ¶ added in v0.33.2
func (this *GetAssertionRequest) EqualVT(that *GetAssertionRequest) bool
func (*GetAssertionRequest) GetId ¶
func (x *GetAssertionRequest) GetId() uint32
func (*GetAssertionRequest) MarshalToSizedBufferVT ¶ added in v0.33.2
func (m *GetAssertionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetAssertionRequest) MarshalToVT ¶ added in v0.33.2
func (m *GetAssertionRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetAssertionRequest) MarshalVT ¶ added in v0.33.2
func (m *GetAssertionRequest) MarshalVT() (dAtA []byte, err error)
func (*GetAssertionRequest) ProtoMessage ¶
func (*GetAssertionRequest) ProtoMessage()
func (*GetAssertionRequest) ProtoReflect ¶
func (x *GetAssertionRequest) ProtoReflect() protoreflect.Message
func (*GetAssertionRequest) Reset ¶
func (x *GetAssertionRequest) Reset()
func (*GetAssertionRequest) SizeVT ¶ added in v0.33.2
func (m *GetAssertionRequest) SizeVT() (n int)
func (*GetAssertionRequest) String ¶
func (x *GetAssertionRequest) String() string
func (*GetAssertionRequest) UnmarshalVT ¶ added in v0.33.2
func (m *GetAssertionRequest) UnmarshalVT(dAtA []byte) error
type GetAssertionResponse ¶
type GetAssertionResponse struct { Result *Assert `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*GetAssertionResponse) CloneMessageVT ¶ added in v0.33.2
func (m *GetAssertionResponse) CloneMessageVT() proto.Message
func (*GetAssertionResponse) CloneVT ¶ added in v0.33.2
func (m *GetAssertionResponse) CloneVT() *GetAssertionResponse
func (*GetAssertionResponse) Descriptor
deprecated
func (*GetAssertionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAssertionResponse.ProtoReflect.Descriptor instead.
func (*GetAssertionResponse) EqualMessageVT ¶ added in v0.33.2
func (this *GetAssertionResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*GetAssertionResponse) EqualVT ¶ added in v0.33.2
func (this *GetAssertionResponse) EqualVT(that *GetAssertionResponse) bool
func (*GetAssertionResponse) GetResult ¶
func (x *GetAssertionResponse) GetResult() *Assert
func (*GetAssertionResponse) MarshalToSizedBufferVT ¶ added in v0.33.2
func (m *GetAssertionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetAssertionResponse) MarshalToVT ¶ added in v0.33.2
func (m *GetAssertionResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetAssertionResponse) MarshalVT ¶ added in v0.33.2
func (m *GetAssertionResponse) MarshalVT() (dAtA []byte, err error)
func (*GetAssertionResponse) ProtoMessage ¶
func (*GetAssertionResponse) ProtoMessage()
func (*GetAssertionResponse) ProtoReflect ¶
func (x *GetAssertionResponse) ProtoReflect() protoreflect.Message
func (*GetAssertionResponse) Reset ¶
func (x *GetAssertionResponse) Reset()
func (*GetAssertionResponse) SizeVT ¶ added in v0.33.2
func (m *GetAssertionResponse) SizeVT() (n int)
func (*GetAssertionResponse) String ¶
func (x *GetAssertionResponse) String() string
func (*GetAssertionResponse) UnmarshalVT ¶ added in v0.33.2
func (m *GetAssertionResponse) UnmarshalVT(dAtA []byte) error
type ListAssertionsRequest ¶
type ListAssertionsRequest struct { // pagination request Page *v3.PaginationRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*ListAssertionsRequest) CloneMessageVT ¶ added in v0.33.2
func (m *ListAssertionsRequest) CloneMessageVT() proto.Message
func (*ListAssertionsRequest) CloneVT ¶ added in v0.33.2
func (m *ListAssertionsRequest) CloneVT() *ListAssertionsRequest
func (*ListAssertionsRequest) Descriptor
deprecated
func (*ListAssertionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAssertionsRequest.ProtoReflect.Descriptor instead.
func (*ListAssertionsRequest) EqualMessageVT ¶ added in v0.33.2
func (this *ListAssertionsRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*ListAssertionsRequest) EqualVT ¶ added in v0.33.2
func (this *ListAssertionsRequest) EqualVT(that *ListAssertionsRequest) bool
func (*ListAssertionsRequest) GetPage ¶
func (x *ListAssertionsRequest) GetPage() *v3.PaginationRequest
func (*ListAssertionsRequest) MarshalToSizedBufferVT ¶ added in v0.33.2
func (m *ListAssertionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ListAssertionsRequest) MarshalToVT ¶ added in v0.33.2
func (m *ListAssertionsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ListAssertionsRequest) MarshalVT ¶ added in v0.33.2
func (m *ListAssertionsRequest) MarshalVT() (dAtA []byte, err error)
func (*ListAssertionsRequest) ProtoMessage ¶
func (*ListAssertionsRequest) ProtoMessage()
func (*ListAssertionsRequest) ProtoReflect ¶
func (x *ListAssertionsRequest) ProtoReflect() protoreflect.Message
func (*ListAssertionsRequest) Reset ¶
func (x *ListAssertionsRequest) Reset()
func (*ListAssertionsRequest) SizeVT ¶ added in v0.33.2
func (m *ListAssertionsRequest) SizeVT() (n int)
func (*ListAssertionsRequest) String ¶
func (x *ListAssertionsRequest) String() string
func (*ListAssertionsRequest) UnmarshalVT ¶ added in v0.33.2
func (m *ListAssertionsRequest) UnmarshalVT(dAtA []byte) error
type ListAssertionsResponse ¶
type ListAssertionsResponse struct { Results []*Assert `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` Page *v3.PaginationResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*ListAssertionsResponse) CloneMessageVT ¶ added in v0.33.2
func (m *ListAssertionsResponse) CloneMessageVT() proto.Message
func (*ListAssertionsResponse) CloneVT ¶ added in v0.33.2
func (m *ListAssertionsResponse) CloneVT() *ListAssertionsResponse
func (*ListAssertionsResponse) Descriptor
deprecated
func (*ListAssertionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAssertionsResponse.ProtoReflect.Descriptor instead.
func (*ListAssertionsResponse) EqualMessageVT ¶ added in v0.33.2
func (this *ListAssertionsResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*ListAssertionsResponse) EqualVT ¶ added in v0.33.2
func (this *ListAssertionsResponse) EqualVT(that *ListAssertionsResponse) bool
func (*ListAssertionsResponse) GetPage ¶
func (x *ListAssertionsResponse) GetPage() *v3.PaginationResponse
func (*ListAssertionsResponse) GetResults ¶
func (x *ListAssertionsResponse) GetResults() []*Assert
func (*ListAssertionsResponse) MarshalToSizedBufferVT ¶ added in v0.33.2
func (m *ListAssertionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ListAssertionsResponse) MarshalToVT ¶ added in v0.33.2
func (m *ListAssertionsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ListAssertionsResponse) MarshalVT ¶ added in v0.33.2
func (m *ListAssertionsResponse) MarshalVT() (dAtA []byte, err error)
func (*ListAssertionsResponse) ProtoMessage ¶
func (*ListAssertionsResponse) ProtoMessage()
func (*ListAssertionsResponse) ProtoReflect ¶
func (x *ListAssertionsResponse) ProtoReflect() protoreflect.Message
func (*ListAssertionsResponse) Reset ¶
func (x *ListAssertionsResponse) Reset()
func (*ListAssertionsResponse) SizeVT ¶ added in v0.33.2
func (m *ListAssertionsResponse) SizeVT() (n int)
func (*ListAssertionsResponse) String ¶
func (x *ListAssertionsResponse) String() string
func (*ListAssertionsResponse) UnmarshalVT ¶ added in v0.33.2
func (m *ListAssertionsResponse) UnmarshalVT(dAtA []byte) error
type SetAssertionRequest ¶
type SetAssertionRequest struct { Assert *Assert `protobuf:"bytes,1,opt,name=assert,proto3" json:"assert,omitempty"` // contains filtered or unexported fields }
func (*SetAssertionRequest) CloneMessageVT ¶ added in v0.33.2
func (m *SetAssertionRequest) CloneMessageVT() proto.Message
func (*SetAssertionRequest) CloneVT ¶ added in v0.33.2
func (m *SetAssertionRequest) CloneVT() *SetAssertionRequest
func (*SetAssertionRequest) Descriptor
deprecated
func (*SetAssertionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetAssertionRequest.ProtoReflect.Descriptor instead.
func (*SetAssertionRequest) EqualMessageVT ¶ added in v0.33.2
func (this *SetAssertionRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*SetAssertionRequest) EqualVT ¶ added in v0.33.2
func (this *SetAssertionRequest) EqualVT(that *SetAssertionRequest) bool
func (*SetAssertionRequest) GetAssert ¶
func (x *SetAssertionRequest) GetAssert() *Assert
func (*SetAssertionRequest) MarshalToSizedBufferVT ¶ added in v0.33.2
func (m *SetAssertionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetAssertionRequest) MarshalToVT ¶ added in v0.33.2
func (m *SetAssertionRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SetAssertionRequest) MarshalVT ¶ added in v0.33.2
func (m *SetAssertionRequest) MarshalVT() (dAtA []byte, err error)
func (*SetAssertionRequest) ProtoMessage ¶
func (*SetAssertionRequest) ProtoMessage()
func (*SetAssertionRequest) ProtoReflect ¶
func (x *SetAssertionRequest) ProtoReflect() protoreflect.Message
func (*SetAssertionRequest) Reset ¶
func (x *SetAssertionRequest) Reset()
func (*SetAssertionRequest) SizeVT ¶ added in v0.33.2
func (m *SetAssertionRequest) SizeVT() (n int)
func (*SetAssertionRequest) String ¶
func (x *SetAssertionRequest) String() string
func (*SetAssertionRequest) UnmarshalVT ¶ added in v0.33.2
func (m *SetAssertionRequest) UnmarshalVT(dAtA []byte) error
type SetAssertionResponse ¶
type SetAssertionResponse struct { Result *Assert `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*SetAssertionResponse) CloneMessageVT ¶ added in v0.33.2
func (m *SetAssertionResponse) CloneMessageVT() proto.Message
func (*SetAssertionResponse) CloneVT ¶ added in v0.33.2
func (m *SetAssertionResponse) CloneVT() *SetAssertionResponse
func (*SetAssertionResponse) Descriptor
deprecated
func (*SetAssertionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetAssertionResponse.ProtoReflect.Descriptor instead.
func (*SetAssertionResponse) EqualMessageVT ¶ added in v0.33.2
func (this *SetAssertionResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*SetAssertionResponse) EqualVT ¶ added in v0.33.2
func (this *SetAssertionResponse) EqualVT(that *SetAssertionResponse) bool
func (*SetAssertionResponse) GetResult ¶
func (x *SetAssertionResponse) GetResult() *Assert
func (*SetAssertionResponse) MarshalToSizedBufferVT ¶ added in v0.33.2
func (m *SetAssertionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetAssertionResponse) MarshalToVT ¶ added in v0.33.2
func (m *SetAssertionResponse) MarshalToVT(dAtA []byte) (int, error)
func (*SetAssertionResponse) MarshalVT ¶ added in v0.33.2
func (m *SetAssertionResponse) MarshalVT() (dAtA []byte, err error)
func (*SetAssertionResponse) ProtoMessage ¶
func (*SetAssertionResponse) ProtoMessage()
func (*SetAssertionResponse) ProtoReflect ¶
func (x *SetAssertionResponse) ProtoReflect() protoreflect.Message
func (*SetAssertionResponse) Reset ¶
func (x *SetAssertionResponse) Reset()
func (*SetAssertionResponse) SizeVT ¶ added in v0.33.2
func (m *SetAssertionResponse) SizeVT() (n int)
func (*SetAssertionResponse) String ¶
func (x *SetAssertionResponse) String() string
func (*SetAssertionResponse) UnmarshalVT ¶ added in v0.33.2
func (m *SetAssertionResponse) UnmarshalVT(dAtA []byte) error
type UnimplementedAssertionServer ¶
type UnimplementedAssertionServer struct{}
UnimplementedAssertionServer 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 (UnimplementedAssertionServer) DeleteAssertion ¶
func (UnimplementedAssertionServer) DeleteAssertion(context.Context, *DeleteAssertionRequest) (*DeleteAssertionResponse, error)
func (UnimplementedAssertionServer) GetAssertion ¶
func (UnimplementedAssertionServer) GetAssertion(context.Context, *GetAssertionRequest) (*GetAssertionResponse, error)
func (UnimplementedAssertionServer) ListAssertions ¶
func (UnimplementedAssertionServer) ListAssertions(context.Context, *ListAssertionsRequest) (*ListAssertionsResponse, error)
func (UnimplementedAssertionServer) SetAssertion ¶
func (UnimplementedAssertionServer) SetAssertion(context.Context, *SetAssertionRequest) (*SetAssertionResponse, error)
type UnsafeAssertionServer ¶
type UnsafeAssertionServer interface {
// contains filtered or unexported methods
}
UnsafeAssertionServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AssertionServer will result in compilation errors.