Versions in this module Expand all Collapse all v0 v0.2.0 Aug 12, 2022 Changes in this version + type CalculateComplianceRequest struct + ControlIds []string + ServiceId string + func (*CalculateComplianceRequest) Descriptor() ([]byte, []int) + func (*CalculateComplianceRequest) ProtoMessage() + func (x *CalculateComplianceRequest) GetControlIds() []string + func (x *CalculateComplianceRequest) GetServiceId() string + func (x *CalculateComplianceRequest) ProtoReflect() protoreflect.Message + func (x *CalculateComplianceRequest) Reset() + func (x *CalculateComplianceRequest) String() string type Compliance + ServiceId string + func (x *Compliance) GetServiceId() string type EvaluationClient + CalculateCompliance func(ctx context.Context, in *CalculateComplianceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) type EvaluationServer + CalculateCompliance func(context.Context, *CalculateComplianceRequest) (*emptypb.Empty, error) type UnimplementedEvaluationServer + func (UnimplementedEvaluationServer) CalculateCompliance(context.Context, *CalculateComplianceRequest) (*emptypb.Empty, error) v0.1.0 Jul 21, 2022 Changes in this version + var Evaluation_ServiceDesc = grpc.ServiceDesc + var File_api_evaluation_evaluation_proto protoreflect.FileDescriptor + func RegisterEvaluationHandler(ctx context.Context, mux *runtime.ServeMux, conn grpc.ClientConnInterface) error + func RegisterEvaluationHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EvaluationClient) error + func RegisterEvaluationHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterEvaluationHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EvaluationServer) error + func RegisterEvaluationServer(s grpc.ServiceRegistrar, srv EvaluationServer) + type Compliance struct + ControlId string + Evaluations []*EvaluationResult + Id string + Status bool + Time *timestamppb.Timestamp + func (*Compliance) Descriptor() ([]byte, []int) + func (*Compliance) ProtoMessage() + func (x *Compliance) GetControlId() string + func (x *Compliance) GetEvaluations() []*EvaluationResult + func (x *Compliance) GetId() string + func (x *Compliance) GetStatus() bool + func (x *Compliance) GetTime() *timestamppb.Timestamp + func (x *Compliance) ProtoReflect() protoreflect.Message + func (x *Compliance) Reset() + func (x *Compliance) String() string + type EvaluationClient interface + GetCompliance func(ctx context.Context, in *GetComplianceRequest, opts ...grpc.CallOption) (*Compliance, error) + GetEvaluation func(ctx context.Context, in *GetEvaluationRequest, opts ...grpc.CallOption) (*EvaluationResult, error) + GetEvidence func(ctx context.Context, in *GetEvidenceRequest, opts ...grpc.CallOption) (*common.Evidence, error) + ListCompliance func(ctx context.Context, in *ListComplianceRequest, opts ...grpc.CallOption) (*ListComplianceResponse, error) + ListEvidences func(ctx context.Context, in *ListEvidencesRequest, opts ...grpc.CallOption) (*ListEvidencesResponse, error) + SendEvidences func(ctx context.Context, opts ...grpc.CallOption) (Evaluation_SendEvidencesClient, error) + StreamEvaluations func(ctx context.Context, in *StreamEvaluationsRequest, opts ...grpc.CallOption) (Evaluation_StreamEvaluationsClient, error) + func NewEvaluationClient(cc grpc.ClientConnInterface) EvaluationClient + type EvaluationResult struct + EvidenceId string + Id string + MetricId string + ServiceId string + Status bool + Time *timestamppb.Timestamp + func (*EvaluationResult) Descriptor() ([]byte, []int) + func (*EvaluationResult) ProtoMessage() + func (x *EvaluationResult) GetEvidenceId() string + func (x *EvaluationResult) GetId() string + func (x *EvaluationResult) GetMetricId() string + func (x *EvaluationResult) GetServiceId() string + func (x *EvaluationResult) GetStatus() bool + func (x *EvaluationResult) GetTime() *timestamppb.Timestamp + func (x *EvaluationResult) ProtoReflect() protoreflect.Message + func (x *EvaluationResult) Reset() + func (x *EvaluationResult) String() string + type EvaluationServer interface + GetCompliance func(context.Context, *GetComplianceRequest) (*Compliance, error) + GetEvaluation func(context.Context, *GetEvaluationRequest) (*EvaluationResult, error) + GetEvidence func(context.Context, *GetEvidenceRequest) (*common.Evidence, error) + ListCompliance func(context.Context, *ListComplianceRequest) (*ListComplianceResponse, error) + ListEvidences func(context.Context, *ListEvidencesRequest) (*ListEvidencesResponse, error) + SendEvidences func(Evaluation_SendEvidencesServer) error + StreamEvaluations func(*StreamEvaluationsRequest, Evaluation_StreamEvaluationsServer) error + type Evaluation_SendEvidencesClient interface + CloseAndRecv func() (*emptypb.Empty, error) + Send func(*common.Evidence) error + type Evaluation_SendEvidencesServer interface + Recv func() (*common.Evidence, error) + SendAndClose func(*emptypb.Empty) error + type Evaluation_StreamEvaluationsClient interface + Recv func() (*EvaluationResult, error) + type Evaluation_StreamEvaluationsServer interface + Send func(*EvaluationResult) error + type GetComplianceRequest struct + ControlId string + ServiceId string + func (*GetComplianceRequest) Descriptor() ([]byte, []int) + func (*GetComplianceRequest) ProtoMessage() + func (x *GetComplianceRequest) GetControlId() string + func (x *GetComplianceRequest) GetServiceId() string + func (x *GetComplianceRequest) ProtoReflect() protoreflect.Message + func (x *GetComplianceRequest) Reset() + func (x *GetComplianceRequest) String() string + type GetEvaluationRequest struct + MetricId string + ServiceId string + func (*GetEvaluationRequest) Descriptor() ([]byte, []int) + func (*GetEvaluationRequest) ProtoMessage() + func (x *GetEvaluationRequest) GetMetricId() string + func (x *GetEvaluationRequest) GetServiceId() string + func (x *GetEvaluationRequest) ProtoReflect() protoreflect.Message + func (x *GetEvaluationRequest) Reset() + func (x *GetEvaluationRequest) String() string + type GetEvidenceRequest struct + EvidenceId string + func (*GetEvidenceRequest) Descriptor() ([]byte, []int) + func (*GetEvidenceRequest) ProtoMessage() + func (x *GetEvidenceRequest) GetEvidenceId() string + func (x *GetEvidenceRequest) ProtoReflect() protoreflect.Message + func (x *GetEvidenceRequest) Reset() + func (x *GetEvidenceRequest) String() string + type ListComplianceRequest struct + Asc bool + Days string + OrderBy string + PageSize int32 + PageToken string + ServiceId string + func (*ListComplianceRequest) Descriptor() ([]byte, []int) + func (*ListComplianceRequest) ProtoMessage() + func (x *ListComplianceRequest) GetAsc() bool + func (x *ListComplianceRequest) GetDays() string + func (x *ListComplianceRequest) GetOrderBy() string + func (x *ListComplianceRequest) GetPageSize() int32 + func (x *ListComplianceRequest) GetPageToken() string + func (x *ListComplianceRequest) GetServiceId() string + func (x *ListComplianceRequest) ProtoReflect() protoreflect.Message + func (x *ListComplianceRequest) Reset() + func (x *ListComplianceRequest) String() string + type ListComplianceResponse struct + ComplianceResults []*Compliance + NextPageToken string + func (*ListComplianceResponse) Descriptor() ([]byte, []int) + func (*ListComplianceResponse) ProtoMessage() + func (x *ListComplianceResponse) GetComplianceResults() []*Compliance + func (x *ListComplianceResponse) GetNextPageToken() string + func (x *ListComplianceResponse) ProtoReflect() protoreflect.Message + func (x *ListComplianceResponse) Reset() + func (x *ListComplianceResponse) String() string + type ListEvidencesRequest struct + Asc bool + Days string + OrderBy string + PageSize int32 + PageToken string + ServiceId string + func (*ListEvidencesRequest) Descriptor() ([]byte, []int) + func (*ListEvidencesRequest) ProtoMessage() + func (x *ListEvidencesRequest) GetAsc() bool + func (x *ListEvidencesRequest) GetDays() string + func (x *ListEvidencesRequest) GetOrderBy() string + func (x *ListEvidencesRequest) GetPageSize() int32 + func (x *ListEvidencesRequest) GetPageToken() string + func (x *ListEvidencesRequest) GetServiceId() string + func (x *ListEvidencesRequest) ProtoReflect() protoreflect.Message + func (x *ListEvidencesRequest) Reset() + func (x *ListEvidencesRequest) String() string + type ListEvidencesResponse struct + Evidences []*common.Evidence + NextPageToken string + func (*ListEvidencesResponse) Descriptor() ([]byte, []int) + func (*ListEvidencesResponse) ProtoMessage() + func (x *ListEvidencesResponse) GetEvidences() []*common.Evidence + func (x *ListEvidencesResponse) GetNextPageToken() string + func (x *ListEvidencesResponse) ProtoReflect() protoreflect.Message + func (x *ListEvidencesResponse) Reset() + func (x *ListEvidencesResponse) String() string + type StreamEvaluationsRequest struct + ServiceId string + func (*StreamEvaluationsRequest) Descriptor() ([]byte, []int) + func (*StreamEvaluationsRequest) ProtoMessage() + func (x *StreamEvaluationsRequest) GetServiceId() string + func (x *StreamEvaluationsRequest) ProtoReflect() protoreflect.Message + func (x *StreamEvaluationsRequest) Reset() + func (x *StreamEvaluationsRequest) String() string + type UnimplementedEvaluationServer struct + func (UnimplementedEvaluationServer) GetCompliance(context.Context, *GetComplianceRequest) (*Compliance, error) + func (UnimplementedEvaluationServer) GetEvaluation(context.Context, *GetEvaluationRequest) (*EvaluationResult, error) + func (UnimplementedEvaluationServer) GetEvidence(context.Context, *GetEvidenceRequest) (*common.Evidence, error) + func (UnimplementedEvaluationServer) ListCompliance(context.Context, *ListComplianceRequest) (*ListComplianceResponse, error) + func (UnimplementedEvaluationServer) ListEvidences(context.Context, *ListEvidencesRequest) (*ListEvidencesResponse, error) + func (UnimplementedEvaluationServer) SendEvidences(Evaluation_SendEvidencesServer) error + func (UnimplementedEvaluationServer) StreamEvaluations(*StreamEvaluationsRequest, Evaluation_StreamEvaluationsServer) error + type UnsafeEvaluationServer interface