Documentation ¶
Overview ¶
Package orchestrator is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterOrchestratorHandler(ctx context.Context, mux *runtime.ServeMux, conn grpc.ClientConnInterface) error
- func RegisterOrchestratorHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrchestratorClient) error
- func RegisterOrchestratorHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterOrchestratorHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrchestratorServer) error
- func RegisterOrchestratorServer(s grpc.ServiceRegistrar, srv OrchestratorServer)
- type AssessmentTool
- func (*AssessmentTool) Descriptor() ([]byte, []int)deprecated
- func (x *AssessmentTool) GetAvailableMetrics() []string
- func (x *AssessmentTool) GetDescription() string
- func (x *AssessmentTool) GetId() string
- func (x *AssessmentTool) GetName() string
- func (*AssessmentTool) ProtoMessage()
- func (x *AssessmentTool) ProtoReflect() protoreflect.Message
- func (x *AssessmentTool) Reset()
- func (x *AssessmentTool) String() string
- type Certificate
- func (*Certificate) Descriptor() ([]byte, []int)deprecated
- func (x *Certificate) GetAssuranceLevel() string
- func (x *Certificate) GetCab() string
- func (x *Certificate) GetDescription() string
- func (x *Certificate) GetExpirationDate() string
- func (x *Certificate) GetId() string
- func (x *Certificate) GetIssueDate() string
- func (x *Certificate) GetName() string
- func (x *Certificate) GetServiceId() string
- func (x *Certificate) GetStandard() string
- func (x *Certificate) GetStates() []*State
- func (*Certificate) ProtoMessage()
- func (x *Certificate) ProtoReflect() protoreflect.Message
- func (x *Certificate) Reset()
- func (x *Certificate) String() string
- type CloudService
- func (*CloudService) Descriptor() ([]byte, []int)deprecated
- func (x *CloudService) GetDescription() string
- func (x *CloudService) GetId() string
- func (x *CloudService) GetName() string
- func (x *CloudService) GetRequirements() *CloudService_Requirements
- func (*CloudService) ProtoMessage()
- func (x *CloudService) ProtoReflect() protoreflect.Message
- func (x *CloudService) Reset()
- func (x *CloudService) String() string
- type CloudServiceHookFunc
- type CloudService_Requirements
- func (*CloudService_Requirements) Descriptor() ([]byte, []int)deprecated
- func (x *CloudService_Requirements) GetRequirementIds() []string
- func (*CloudService_Requirements) GormDataType() string
- func (*CloudService_Requirements) ProtoMessage()
- func (x *CloudService_Requirements) ProtoReflect() protoreflect.Message
- func (x *CloudService_Requirements) Reset()
- func (c *CloudService_Requirements) Scan(value interface{}) error
- func (x *CloudService_Requirements) String() string
- func (c *CloudService_Requirements) Value() (driver.Value, error)
- type CreateCertificateRequest
- func (*CreateCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCertificateRequest) GetCertificate() *Certificate
- func (*CreateCertificateRequest) ProtoMessage()
- func (x *CreateCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCertificateRequest) Reset()
- func (x *CreateCertificateRequest) String() string
- type CreateMetricRequest
- func (*CreateMetricRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMetricRequest) GetMetric() *assessment.Metric
- func (*CreateMetricRequest) ProtoMessage()
- func (x *CreateMetricRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMetricRequest) Reset()
- func (x *CreateMetricRequest) String() string
- type DeregisterAssessmentToolRequest
- func (*DeregisterAssessmentToolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeregisterAssessmentToolRequest) GetToolId() string
- func (*DeregisterAssessmentToolRequest) ProtoMessage()
- func (x *DeregisterAssessmentToolRequest) ProtoReflect() protoreflect.Message
- func (x *DeregisterAssessmentToolRequest) Reset()
- func (x *DeregisterAssessmentToolRequest) String() string
- type GetAssessmentToolRequest
- func (*GetAssessmentToolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAssessmentToolRequest) GetToolId() string
- func (*GetAssessmentToolRequest) ProtoMessage()
- func (x *GetAssessmentToolRequest) ProtoReflect() protoreflect.Message
- func (x *GetAssessmentToolRequest) Reset()
- func (x *GetAssessmentToolRequest) String() string
- type GetCertificateRequest
- func (*GetCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCertificateRequest) GetCertificateId() string
- func (*GetCertificateRequest) ProtoMessage()
- func (x *GetCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *GetCertificateRequest) Reset()
- func (x *GetCertificateRequest) String() string
- type GetCloudServiceRequest
- func (*GetCloudServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCloudServiceRequest) GetServiceId() string
- func (*GetCloudServiceRequest) ProtoMessage()
- func (x *GetCloudServiceRequest) ProtoReflect() protoreflect.Message
- func (x *GetCloudServiceRequest) Reset()
- func (x *GetCloudServiceRequest) String() string
- type GetMetricConfigurationRequest
- func (*GetMetricConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetricConfigurationRequest) GetMetricId() string
- func (x *GetMetricConfigurationRequest) GetServiceId() string
- func (*GetMetricConfigurationRequest) ProtoMessage()
- func (x *GetMetricConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *GetMetricConfigurationRequest) Reset()
- func (x *GetMetricConfigurationRequest) String() string
- type GetMetricImplementationRequest
- func (*GetMetricImplementationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetricImplementationRequest) GetLang() string
- func (x *GetMetricImplementationRequest) GetMetricId() string
- func (*GetMetricImplementationRequest) ProtoMessage()
- func (x *GetMetricImplementationRequest) ProtoReflect() protoreflect.Message
- func (x *GetMetricImplementationRequest) Reset()
- func (x *GetMetricImplementationRequest) String() string
- type GetMetricRequest
- type ListAssessmentToolsRequest
- func (*ListAssessmentToolsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAssessmentToolsRequest) GetMetricId() string
- func (x *ListAssessmentToolsRequest) GetPageSize() int32
- func (x *ListAssessmentToolsRequest) GetPageToken() string
- func (*ListAssessmentToolsRequest) ProtoMessage()
- func (x *ListAssessmentToolsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAssessmentToolsRequest) Reset()
- func (x *ListAssessmentToolsRequest) String() string
- type ListAssessmentToolsResponse
- func (*ListAssessmentToolsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAssessmentToolsResponse) GetNextPageToken() string
- func (x *ListAssessmentToolsResponse) GetTools() []*AssessmentTool
- func (*ListAssessmentToolsResponse) ProtoMessage()
- func (x *ListAssessmentToolsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAssessmentToolsResponse) Reset()
- func (x *ListAssessmentToolsResponse) String() string
- type ListCertificatesRequest
- func (*ListCertificatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCertificatesRequest) GetPageSize() int32
- func (x *ListCertificatesRequest) GetPageToken() string
- func (*ListCertificatesRequest) ProtoMessage()
- func (x *ListCertificatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListCertificatesRequest) Reset()
- func (x *ListCertificatesRequest) String() string
- type ListCertificatesResponse
- func (*ListCertificatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCertificatesResponse) GetCertificates() []*Certificate
- func (x *ListCertificatesResponse) GetNextPageToken() string
- func (*ListCertificatesResponse) ProtoMessage()
- func (x *ListCertificatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListCertificatesResponse) Reset()
- func (x *ListCertificatesResponse) String() string
- type ListCloudServicesRequest
- func (*ListCloudServicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCloudServicesRequest) GetPageSize() int32
- func (x *ListCloudServicesRequest) GetPageToken() string
- func (*ListCloudServicesRequest) ProtoMessage()
- func (x *ListCloudServicesRequest) ProtoReflect() protoreflect.Message
- func (x *ListCloudServicesRequest) Reset()
- func (x *ListCloudServicesRequest) String() string
- type ListCloudServicesResponse
- func (*ListCloudServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCloudServicesResponse) GetNextPageToken() string
- func (x *ListCloudServicesResponse) GetServices() []*CloudService
- func (*ListCloudServicesResponse) ProtoMessage()
- func (x *ListCloudServicesResponse) ProtoReflect() protoreflect.Message
- func (x *ListCloudServicesResponse) Reset()
- func (x *ListCloudServicesResponse) String() string
- type ListMetricConfigurationRequest
- func (*ListMetricConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMetricConfigurationRequest) GetServiceId() string
- func (*ListMetricConfigurationRequest) ProtoMessage()
- func (x *ListMetricConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *ListMetricConfigurationRequest) Reset()
- func (x *ListMetricConfigurationRequest) String() string
- type ListMetricConfigurationResponse
- func (*ListMetricConfigurationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMetricConfigurationResponse) GetConfigurations() map[string]*assessment.MetricConfiguration
- func (*ListMetricConfigurationResponse) ProtoMessage()
- func (x *ListMetricConfigurationResponse) ProtoReflect() protoreflect.Message
- func (x *ListMetricConfigurationResponse) Reset()
- func (x *ListMetricConfigurationResponse) String() string
- type ListMetricsRequest
- func (*ListMetricsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMetricsRequest) GetPageSize() int32
- func (x *ListMetricsRequest) GetPageToken() string
- func (*ListMetricsRequest) ProtoMessage()
- func (x *ListMetricsRequest) ProtoReflect() protoreflect.Message
- func (x *ListMetricsRequest) Reset()
- func (x *ListMetricsRequest) String() string
- type ListMetricsResponse
- func (*ListMetricsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMetricsResponse) GetMetrics() []*assessment.Metric
- func (x *ListMetricsResponse) GetNextPageToken() string
- func (*ListMetricsResponse) ProtoMessage()
- func (x *ListMetricsResponse) ProtoReflect() protoreflect.Message
- func (x *ListMetricsResponse) Reset()
- func (x *ListMetricsResponse) String() string
- type ListRequirementsRequest
- func (*ListRequirementsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRequirementsRequest) GetPageSize() int32
- func (x *ListRequirementsRequest) GetPageToken() string
- func (*ListRequirementsRequest) ProtoMessage()
- func (x *ListRequirementsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRequirementsRequest) Reset()
- func (x *ListRequirementsRequest) String() string
- type ListRequirementsResponse
- func (*ListRequirementsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRequirementsResponse) GetNextPageToken() string
- func (x *ListRequirementsResponse) GetRequirements() []*Requirement
- func (*ListRequirementsResponse) ProtoMessage()
- func (x *ListRequirementsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRequirementsResponse) Reset()
- func (x *ListRequirementsResponse) String() string
- type MetricChangeEvent
- func (*MetricChangeEvent) Descriptor() ([]byte, []int)deprecated
- func (x *MetricChangeEvent) GetMetricId() string
- func (x *MetricChangeEvent) GetType() MetricChangeEvent_Type
- func (*MetricChangeEvent) ProtoMessage()
- func (x *MetricChangeEvent) ProtoReflect() protoreflect.Message
- func (x *MetricChangeEvent) Reset()
- func (x *MetricChangeEvent) String() string
- type MetricChangeEvent_Type
- func (MetricChangeEvent_Type) Descriptor() protoreflect.EnumDescriptor
- func (x MetricChangeEvent_Type) Enum() *MetricChangeEvent_Type
- func (MetricChangeEvent_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x MetricChangeEvent_Type) Number() protoreflect.EnumNumber
- func (x MetricChangeEvent_Type) String() string
- func (MetricChangeEvent_Type) Type() protoreflect.EnumType
- type OrchestratorClient
- type OrchestratorServer
- type Orchestrator_StoreAssessmentResultsClient
- type Orchestrator_StoreAssessmentResultsServer
- type Orchestrator_SubscribeMetricChangeEventsClient
- type Orchestrator_SubscribeMetricChangeEventsServer
- type RegisterAssessmentToolRequest
- func (*RegisterAssessmentToolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterAssessmentToolRequest) GetTool() *AssessmentTool
- func (*RegisterAssessmentToolRequest) ProtoMessage()
- func (x *RegisterAssessmentToolRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterAssessmentToolRequest) Reset()
- func (x *RegisterAssessmentToolRequest) String() string
- type RegisterCloudServiceRequest
- func (*RegisterCloudServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterCloudServiceRequest) GetService() *CloudService
- func (*RegisterCloudServiceRequest) ProtoMessage()
- func (x *RegisterCloudServiceRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterCloudServiceRequest) Reset()
- func (x *RegisterCloudServiceRequest) String() string
- type RemoveCertificateRequest
- func (*RemoveCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveCertificateRequest) GetCertificateId() string
- func (*RemoveCertificateRequest) ProtoMessage()
- func (x *RemoveCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveCertificateRequest) Reset()
- func (x *RemoveCertificateRequest) String() string
- type RemoveCloudServiceRequest
- func (*RemoveCloudServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveCloudServiceRequest) GetServiceId() string
- func (*RemoveCloudServiceRequest) ProtoMessage()
- func (x *RemoveCloudServiceRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveCloudServiceRequest) Reset()
- func (x *RemoveCloudServiceRequest) String() string
- type Requirement
- func (*Requirement) Descriptor() ([]byte, []int)deprecated
- func (x *Requirement) GetDescription() string
- func (x *Requirement) GetId() string
- func (x *Requirement) GetMetrics() []*assessment.Metric
- func (x *Requirement) GetName() string
- func (*Requirement) ProtoMessage()
- func (x *Requirement) ProtoReflect() protoreflect.Message
- func (x *Requirement) Reset()
- func (x *Requirement) String() string
- type State
- func (*State) Descriptor() ([]byte, []int)deprecated
- func (x *State) GetCertificateId() string
- func (x *State) GetId() string
- func (x *State) GetState() string
- func (x *State) GetTimestamp() string
- func (x *State) GetTreeId() string
- func (*State) ProtoMessage()
- func (x *State) ProtoReflect() protoreflect.Message
- func (x *State) Reset()
- func (x *State) String() string
- type StoreAssessmentResultRequest
- func (*StoreAssessmentResultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StoreAssessmentResultRequest) GetResult() *assessment.AssessmentResult
- func (*StoreAssessmentResultRequest) ProtoMessage()
- func (x *StoreAssessmentResultRequest) ProtoReflect() protoreflect.Message
- func (x *StoreAssessmentResultRequest) Reset()
- func (x *StoreAssessmentResultRequest) String() string
- type StoreAssessmentResultResponse
- func (*StoreAssessmentResultResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StoreAssessmentResultResponse) GetStatus() bool
- func (x *StoreAssessmentResultResponse) GetStatusMessage() string
- func (*StoreAssessmentResultResponse) ProtoMessage()
- func (x *StoreAssessmentResultResponse) ProtoReflect() protoreflect.Message
- func (x *StoreAssessmentResultResponse) Reset()
- func (x *StoreAssessmentResultResponse) String() string
- type SubscribeMetricChangeEventRequest
- func (*SubscribeMetricChangeEventRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeMetricChangeEventRequest) ProtoMessage()
- func (x *SubscribeMetricChangeEventRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeMetricChangeEventRequest) Reset()
- func (x *SubscribeMetricChangeEventRequest) String() string
- type UnimplementedOrchestratorServer
- func (UnimplementedOrchestratorServer) CreateCertificate(context.Context, *CreateCertificateRequest) (*Certificate, error)
- func (UnimplementedOrchestratorServer) CreateMetric(context.Context, *CreateMetricRequest) (*assessment.Metric, error)
- func (UnimplementedOrchestratorServer) DeregisterAssessmentTool(context.Context, *DeregisterAssessmentToolRequest) (*emptypb.Empty, error)
- func (UnimplementedOrchestratorServer) GetAssessmentTool(context.Context, *GetAssessmentToolRequest) (*AssessmentTool, error)
- func (UnimplementedOrchestratorServer) GetCertificate(context.Context, *GetCertificateRequest) (*Certificate, error)
- func (UnimplementedOrchestratorServer) GetCloudService(context.Context, *GetCloudServiceRequest) (*CloudService, error)
- func (UnimplementedOrchestratorServer) GetMetric(context.Context, *GetMetricRequest) (*assessment.Metric, error)
- func (UnimplementedOrchestratorServer) GetMetricConfiguration(context.Context, *GetMetricConfigurationRequest) (*assessment.MetricConfiguration, error)
- func (UnimplementedOrchestratorServer) GetMetricImplementation(context.Context, *GetMetricImplementationRequest) (*assessment.MetricImplementation, error)
- func (UnimplementedOrchestratorServer) ListAssessmentResults(context.Context, *assessment.ListAssessmentResultsRequest) (*assessment.ListAssessmentResultsResponse, error)
- func (UnimplementedOrchestratorServer) ListAssessmentTools(context.Context, *ListAssessmentToolsRequest) (*ListAssessmentToolsResponse, error)
- func (UnimplementedOrchestratorServer) ListCertificates(context.Context, *ListCertificatesRequest) (*ListCertificatesResponse, error)
- func (UnimplementedOrchestratorServer) ListCloudServices(context.Context, *ListCloudServicesRequest) (*ListCloudServicesResponse, error)
- func (UnimplementedOrchestratorServer) ListMetricConfigurations(context.Context, *ListMetricConfigurationRequest) (*ListMetricConfigurationResponse, error)
- func (UnimplementedOrchestratorServer) ListMetrics(context.Context, *ListMetricsRequest) (*ListMetricsResponse, error)
- func (UnimplementedOrchestratorServer) ListRequirements(context.Context, *ListRequirementsRequest) (*ListRequirementsResponse, error)
- func (UnimplementedOrchestratorServer) RegisterAssessmentTool(context.Context, *RegisterAssessmentToolRequest) (*AssessmentTool, error)
- func (UnimplementedOrchestratorServer) RegisterCloudService(context.Context, *RegisterCloudServiceRequest) (*CloudService, error)
- func (UnimplementedOrchestratorServer) RemoveCertificate(context.Context, *RemoveCertificateRequest) (*emptypb.Empty, error)
- func (UnimplementedOrchestratorServer) RemoveCloudService(context.Context, *RemoveCloudServiceRequest) (*emptypb.Empty, error)
- func (UnimplementedOrchestratorServer) StoreAssessmentResult(context.Context, *StoreAssessmentResultRequest) (*StoreAssessmentResultResponse, error)
- func (UnimplementedOrchestratorServer) StoreAssessmentResults(Orchestrator_StoreAssessmentResultsServer) error
- func (UnimplementedOrchestratorServer) SubscribeMetricChangeEvents(*SubscribeMetricChangeEventRequest, ...) error
- func (UnimplementedOrchestratorServer) UpdateAssessmentTool(context.Context, *UpdateAssessmentToolRequest) (*AssessmentTool, error)
- func (UnimplementedOrchestratorServer) UpdateCertificate(context.Context, *UpdateCertificateRequest) (*Certificate, error)
- func (UnimplementedOrchestratorServer) UpdateCloudService(context.Context, *UpdateCloudServiceRequest) (*CloudService, error)
- func (UnimplementedOrchestratorServer) UpdateMetric(context.Context, *UpdateMetricRequest) (*assessment.Metric, error)
- func (UnimplementedOrchestratorServer) UpdateMetricConfiguration(context.Context, *UpdateMetricConfigurationRequest) (*assessment.MetricConfiguration, error)
- func (UnimplementedOrchestratorServer) UpdateMetricImplementation(context.Context, *UpdateMetricImplementationRequest) (*assessment.MetricImplementation, error)
- type UnsafeOrchestratorServer
- type UpdateAssessmentToolRequest
- func (*UpdateAssessmentToolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAssessmentToolRequest) GetTool() *AssessmentTool
- func (x *UpdateAssessmentToolRequest) GetToolId() string
- func (*UpdateAssessmentToolRequest) ProtoMessage()
- func (x *UpdateAssessmentToolRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAssessmentToolRequest) Reset()
- func (x *UpdateAssessmentToolRequest) String() string
- type UpdateCertificateRequest
- func (*UpdateCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCertificateRequest) GetCertificate() *Certificate
- func (x *UpdateCertificateRequest) GetCertificateId() string
- func (*UpdateCertificateRequest) ProtoMessage()
- func (x *UpdateCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCertificateRequest) Reset()
- func (x *UpdateCertificateRequest) String() string
- type UpdateCloudServiceRequest
- func (*UpdateCloudServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCloudServiceRequest) GetService() *CloudService
- func (x *UpdateCloudServiceRequest) GetServiceId() string
- func (*UpdateCloudServiceRequest) ProtoMessage()
- func (x *UpdateCloudServiceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCloudServiceRequest) Reset()
- func (x *UpdateCloudServiceRequest) String() string
- type UpdateMetricConfigurationRequest
- func (*UpdateMetricConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMetricConfigurationRequest) GetConfiguration() *assessment.MetricConfiguration
- func (x *UpdateMetricConfigurationRequest) GetMetricId() string
- func (x *UpdateMetricConfigurationRequest) GetServiceId() string
- func (*UpdateMetricConfigurationRequest) ProtoMessage()
- func (x *UpdateMetricConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMetricConfigurationRequest) Reset()
- func (x *UpdateMetricConfigurationRequest) String() string
- type UpdateMetricImplementationRequest
- func (*UpdateMetricImplementationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMetricImplementationRequest) GetImplementation() *assessment.MetricImplementation
- func (x *UpdateMetricImplementationRequest) GetMetricId() string
- func (*UpdateMetricImplementationRequest) ProtoMessage()
- func (x *UpdateMetricImplementationRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMetricImplementationRequest) Reset()
- func (x *UpdateMetricImplementationRequest) String() string
- type UpdateMetricRequest
- func (*UpdateMetricRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMetricRequest) GetMetric() *assessment.Metric
- func (x *UpdateMetricRequest) GetMetricId() string
- func (*UpdateMetricRequest) ProtoMessage()
- func (x *UpdateMetricRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMetricRequest) Reset()
- func (x *UpdateMetricRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ErrRequestIsNil = errors.New("request is empty") ErrCertificateIsNil = errors.New("certificate is empty") ErrServiceIsNil = errors.New("service is empty") ErrNameIsMissing = errors.New("service name is empty") ErrIDIsMissing = errors.New("service ID is empty") ErrCertIDIsMissing = errors.New("certificate ID is empty") )
var ( MetricChangeEvent_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "CONFIG_CHANGED", 2: "IMPLEMENTATION_CHANGED", 3: "METADATA_CHANGED", } MetricChangeEvent_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "CONFIG_CHANGED": 1, "IMPLEMENTATION_CHANGED": 2, "METADATA_CHANGED": 3, } )
Enum value maps for MetricChangeEvent_Type.
var File_api_orchestrator_orchestrator_proto protoreflect.FileDescriptor
var Orchestrator_ServiceDesc = grpc.ServiceDesc{ ServiceName: "clouditor.Orchestrator", HandlerType: (*OrchestratorServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RegisterAssessmentTool", Handler: _Orchestrator_RegisterAssessmentTool_Handler, }, { MethodName: "ListAssessmentTools", Handler: _Orchestrator_ListAssessmentTools_Handler, }, { MethodName: "GetAssessmentTool", Handler: _Orchestrator_GetAssessmentTool_Handler, }, { MethodName: "UpdateAssessmentTool", Handler: _Orchestrator_UpdateAssessmentTool_Handler, }, { MethodName: "DeregisterAssessmentTool", Handler: _Orchestrator_DeregisterAssessmentTool_Handler, }, { MethodName: "StoreAssessmentResult", Handler: _Orchestrator_StoreAssessmentResult_Handler, }, { MethodName: "ListAssessmentResults", Handler: _Orchestrator_ListAssessmentResults_Handler, }, { MethodName: "CreateMetric", Handler: _Orchestrator_CreateMetric_Handler, }, { MethodName: "UpdateMetric", Handler: _Orchestrator_UpdateMetric_Handler, }, { MethodName: "GetMetric", Handler: _Orchestrator_GetMetric_Handler, }, { MethodName: "ListMetrics", Handler: _Orchestrator_ListMetrics_Handler, }, { MethodName: "ListRequirements", Handler: _Orchestrator_ListRequirements_Handler, }, { MethodName: "RegisterCloudService", Handler: _Orchestrator_RegisterCloudService_Handler, }, { MethodName: "UpdateCloudService", Handler: _Orchestrator_UpdateCloudService_Handler, }, { MethodName: "GetCloudService", Handler: _Orchestrator_GetCloudService_Handler, }, { MethodName: "ListCloudServices", Handler: _Orchestrator_ListCloudServices_Handler, }, { MethodName: "RemoveCloudService", Handler: _Orchestrator_RemoveCloudService_Handler, }, { MethodName: "UpdateMetricConfiguration", Handler: _Orchestrator_UpdateMetricConfiguration_Handler, }, { MethodName: "GetMetricConfiguration", Handler: _Orchestrator_GetMetricConfiguration_Handler, }, { MethodName: "ListMetricConfigurations", Handler: _Orchestrator_ListMetricConfigurations_Handler, }, { MethodName: "UpdateMetricImplementation", Handler: _Orchestrator_UpdateMetricImplementation_Handler, }, { MethodName: "GetMetricImplementation", Handler: _Orchestrator_GetMetricImplementation_Handler, }, { MethodName: "CreateCertificate", Handler: _Orchestrator_CreateCertificate_Handler, }, { MethodName: "GetCertificate", Handler: _Orchestrator_GetCertificate_Handler, }, { MethodName: "ListCertificates", Handler: _Orchestrator_ListCertificates_Handler, }, { MethodName: "UpdateCertificate", Handler: _Orchestrator_UpdateCertificate_Handler, }, { MethodName: "RemoveCertificate", Handler: _Orchestrator_RemoveCertificate_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StoreAssessmentResults", Handler: _Orchestrator_StoreAssessmentResults_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "SubscribeMetricChangeEvents", Handler: _Orchestrator_SubscribeMetricChangeEvents_Handler, ServerStreams: true, }, }, Metadata: "api/orchestrator/orchestrator.proto", }
Orchestrator_ServiceDesc is the grpc.ServiceDesc for Orchestrator service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOrchestratorHandler ¶
func RegisterOrchestratorHandler(ctx context.Context, mux *runtime.ServeMux, conn grpc.ClientConnInterface) error
RegisterOrchestratorHandler registers the http handlers for service Orchestrator to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterOrchestratorHandlerClient ¶
func RegisterOrchestratorHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrchestratorClient) error
RegisterOrchestratorHandlerClient registers the http handlers for service Orchestrator to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OrchestratorClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OrchestratorClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OrchestratorClient" to call the correct interceptors.
func RegisterOrchestratorHandlerFromEndpoint ¶
func RegisterOrchestratorHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterOrchestratorHandlerFromEndpoint is same as RegisterOrchestratorHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterOrchestratorHandlerServer ¶
func RegisterOrchestratorHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrchestratorServer) error
RegisterOrchestratorHandlerServer registers the http handlers for service Orchestrator to "mux". UnaryRPC :call OrchestratorServer 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 RegisterOrchestratorHandlerFromEndpoint instead.
func RegisterOrchestratorServer ¶
func RegisterOrchestratorServer(s grpc.ServiceRegistrar, srv OrchestratorServer)
Types ¶
type AssessmentTool ¶
type AssessmentTool struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // a list of metrics that this tool can assess, referred by their ids AvailableMetrics []string `protobuf:"bytes,4,rep,name=available_metrics,json=availableMetrics,proto3" json:"available_metrics,omitempty"` // contains filtered or unexported fields }
Represents an external tool or service that offers assessments according to certain metrics.
func (*AssessmentTool) Descriptor
deprecated
func (*AssessmentTool) Descriptor() ([]byte, []int)
Deprecated: Use AssessmentTool.ProtoReflect.Descriptor instead.
func (*AssessmentTool) GetAvailableMetrics ¶
func (x *AssessmentTool) GetAvailableMetrics() []string
func (*AssessmentTool) GetDescription ¶
func (x *AssessmentTool) GetDescription() string
func (*AssessmentTool) GetId ¶
func (x *AssessmentTool) GetId() string
func (*AssessmentTool) GetName ¶
func (x *AssessmentTool) GetName() string
func (*AssessmentTool) ProtoMessage ¶
func (*AssessmentTool) ProtoMessage()
func (*AssessmentTool) ProtoReflect ¶
func (x *AssessmentTool) ProtoReflect() protoreflect.Message
func (*AssessmentTool) Reset ¶
func (x *AssessmentTool) Reset()
func (*AssessmentTool) String ¶
func (x *AssessmentTool) String() string
type Certificate ¶ added in v1.4.9
type Certificate struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ServiceId string `protobuf:"bytes,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` IssueDate string `protobuf:"bytes,4,opt,name=issue_date,json=issueDate,proto3" json:"issue_date,omitempty"` ExpirationDate string `protobuf:"bytes,5,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"` Standard string `protobuf:"bytes,6,opt,name=standard,proto3" json:"standard,omitempty"` AssuranceLevel string `protobuf:"bytes,7,opt,name=assurance_level,json=assuranceLevel,proto3" json:"assurance_level,omitempty"` Cab string `protobuf:"bytes,8,opt,name=cab,proto3" json:"cab,omitempty"` Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` // A list of states at specific times States []*State `protobuf:"bytes,10,rep,name=states,proto3" json:"states,omitempty"` // contains filtered or unexported fields }
An ISO17021-based certificate
func (*Certificate) Descriptor
deprecated
added in
v1.4.9
func (*Certificate) Descriptor() ([]byte, []int)
Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
func (*Certificate) GetAssuranceLevel ¶ added in v1.4.9
func (x *Certificate) GetAssuranceLevel() string
func (*Certificate) GetCab ¶ added in v1.4.9
func (x *Certificate) GetCab() string
func (*Certificate) GetDescription ¶ added in v1.4.9
func (x *Certificate) GetDescription() string
func (*Certificate) GetExpirationDate ¶ added in v1.4.9
func (x *Certificate) GetExpirationDate() string
func (*Certificate) GetId ¶ added in v1.4.9
func (x *Certificate) GetId() string
func (*Certificate) GetIssueDate ¶ added in v1.4.9
func (x *Certificate) GetIssueDate() string
func (*Certificate) GetName ¶ added in v1.4.9
func (x *Certificate) GetName() string
func (*Certificate) GetServiceId ¶ added in v1.4.9
func (x *Certificate) GetServiceId() string
func (*Certificate) GetStandard ¶ added in v1.4.9
func (x *Certificate) GetStandard() string
func (*Certificate) GetStates ¶ added in v1.4.9
func (x *Certificate) GetStates() []*State
func (*Certificate) ProtoMessage ¶ added in v1.4.9
func (*Certificate) ProtoMessage()
func (*Certificate) ProtoReflect ¶ added in v1.4.9
func (x *Certificate) ProtoReflect() protoreflect.Message
func (*Certificate) Reset ¶ added in v1.4.9
func (x *Certificate) Reset()
func (*Certificate) String ¶ added in v1.4.9
func (x *Certificate) String() string
type CloudService ¶ added in v1.3.11
type CloudService struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Requirements *CloudService_Requirements `protobuf:"bytes,4,opt,name=requirements,proto3" json:"requirements,omitempty"` // contains filtered or unexported fields }
func (*CloudService) Descriptor
deprecated
added in
v1.3.11
func (*CloudService) Descriptor() ([]byte, []int)
Deprecated: Use CloudService.ProtoReflect.Descriptor instead.
func (*CloudService) GetDescription ¶ added in v1.3.11
func (x *CloudService) GetDescription() string
func (*CloudService) GetId ¶ added in v1.3.11
func (x *CloudService) GetId() string
func (*CloudService) GetName ¶ added in v1.3.11
func (x *CloudService) GetName() string
func (*CloudService) GetRequirements ¶ added in v1.4.0
func (x *CloudService) GetRequirements() *CloudService_Requirements
func (*CloudService) ProtoMessage ¶ added in v1.3.11
func (*CloudService) ProtoMessage()
func (*CloudService) ProtoReflect ¶ added in v1.3.11
func (x *CloudService) ProtoReflect() protoreflect.Message
func (*CloudService) Reset ¶ added in v1.3.11
func (x *CloudService) Reset()
func (*CloudService) String ¶ added in v1.3.11
func (x *CloudService) String() string
type CloudServiceHookFunc ¶ added in v1.4.10
type CloudServiceHookFunc func(cld *CloudService, err error)
type CloudService_Requirements ¶ added in v1.4.0
type CloudService_Requirements struct { RequirementIds []string `protobuf:"bytes,1,rep,name=requirement_ids,json=requirementIds,proto3" json:"requirement_ids,omitempty"` // contains filtered or unexported fields }
func (*CloudService_Requirements) Descriptor
deprecated
added in
v1.4.0
func (*CloudService_Requirements) Descriptor() ([]byte, []int)
Deprecated: Use CloudService_Requirements.ProtoReflect.Descriptor instead.
func (*CloudService_Requirements) GetRequirementIds ¶ added in v1.4.0
func (x *CloudService_Requirements) GetRequirementIds() []string
func (*CloudService_Requirements) GormDataType ¶ added in v1.4.0
func (*CloudService_Requirements) GormDataType() string
GormDataType implements GormDataTypeInterface to give an indication how this struct will be serialized into a database using GORM.
func (*CloudService_Requirements) ProtoMessage ¶ added in v1.4.0
func (*CloudService_Requirements) ProtoMessage()
func (*CloudService_Requirements) ProtoReflect ¶ added in v1.4.0
func (x *CloudService_Requirements) ProtoReflect() protoreflect.Message
func (*CloudService_Requirements) Reset ¶ added in v1.4.0
func (x *CloudService_Requirements) Reset()
func (*CloudService_Requirements) Scan ¶ added in v1.4.0
func (c *CloudService_Requirements) Scan(value interface{}) error
Scan implements https://pkg.go.dev/database/sql#Scanner to indicate how this struct can be loaded from an SQL database field.
func (*CloudService_Requirements) String ¶ added in v1.4.0
func (x *CloudService_Requirements) String() string
func (*CloudService_Requirements) Value ¶ added in v1.4.0
func (c *CloudService_Requirements) Value() (driver.Value, error)
Value implements https://pkg.go.dev/database/sql/driver#Valuer to indicate how this struct will be saved into an SQL database field.
type CreateCertificateRequest ¶ added in v1.4.9
type CreateCertificateRequest struct { Certificate *Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` // contains filtered or unexported fields }
func (*CreateCertificateRequest) Descriptor
deprecated
added in
v1.4.9
func (*CreateCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCertificateRequest.ProtoReflect.Descriptor instead.
func (*CreateCertificateRequest) GetCertificate ¶ added in v1.4.9
func (x *CreateCertificateRequest) GetCertificate() *Certificate
func (*CreateCertificateRequest) ProtoMessage ¶ added in v1.4.9
func (*CreateCertificateRequest) ProtoMessage()
func (*CreateCertificateRequest) ProtoReflect ¶ added in v1.4.9
func (x *CreateCertificateRequest) ProtoReflect() protoreflect.Message
func (*CreateCertificateRequest) Reset ¶ added in v1.4.9
func (x *CreateCertificateRequest) Reset()
func (*CreateCertificateRequest) String ¶ added in v1.4.9
func (x *CreateCertificateRequest) String() string
type CreateMetricRequest ¶ added in v1.3.14
type CreateMetricRequest struct { Metric *assessment.Metric `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` // contains filtered or unexported fields }
func (*CreateMetricRequest) Descriptor
deprecated
added in
v1.3.14
func (*CreateMetricRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMetricRequest.ProtoReflect.Descriptor instead.
func (*CreateMetricRequest) GetMetric ¶ added in v1.3.14
func (x *CreateMetricRequest) GetMetric() *assessment.Metric
func (*CreateMetricRequest) ProtoMessage ¶ added in v1.3.14
func (*CreateMetricRequest) ProtoMessage()
func (*CreateMetricRequest) ProtoReflect ¶ added in v1.3.14
func (x *CreateMetricRequest) ProtoReflect() protoreflect.Message
func (*CreateMetricRequest) Reset ¶ added in v1.3.14
func (x *CreateMetricRequest) Reset()
func (*CreateMetricRequest) String ¶ added in v1.3.14
func (x *CreateMetricRequest) String() string
type DeregisterAssessmentToolRequest ¶
type DeregisterAssessmentToolRequest struct { ToolId string `protobuf:"bytes,1,opt,name=tool_id,json=toolId,proto3" json:"tool_id,omitempty"` // contains filtered or unexported fields }
func (*DeregisterAssessmentToolRequest) Descriptor
deprecated
func (*DeregisterAssessmentToolRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeregisterAssessmentToolRequest.ProtoReflect.Descriptor instead.
func (*DeregisterAssessmentToolRequest) GetToolId ¶
func (x *DeregisterAssessmentToolRequest) GetToolId() string
func (*DeregisterAssessmentToolRequest) ProtoMessage ¶
func (*DeregisterAssessmentToolRequest) ProtoMessage()
func (*DeregisterAssessmentToolRequest) ProtoReflect ¶
func (x *DeregisterAssessmentToolRequest) ProtoReflect() protoreflect.Message
func (*DeregisterAssessmentToolRequest) Reset ¶
func (x *DeregisterAssessmentToolRequest) Reset()
func (*DeregisterAssessmentToolRequest) String ¶
func (x *DeregisterAssessmentToolRequest) String() string
type GetAssessmentToolRequest ¶
type GetAssessmentToolRequest struct { ToolId string `protobuf:"bytes,1,opt,name=tool_id,json=toolId,proto3" json:"tool_id,omitempty"` // contains filtered or unexported fields }
func (*GetAssessmentToolRequest) Descriptor
deprecated
func (*GetAssessmentToolRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAssessmentToolRequest.ProtoReflect.Descriptor instead.
func (*GetAssessmentToolRequest) GetToolId ¶
func (x *GetAssessmentToolRequest) GetToolId() string
func (*GetAssessmentToolRequest) ProtoMessage ¶
func (*GetAssessmentToolRequest) ProtoMessage()
func (*GetAssessmentToolRequest) ProtoReflect ¶
func (x *GetAssessmentToolRequest) ProtoReflect() protoreflect.Message
func (*GetAssessmentToolRequest) Reset ¶
func (x *GetAssessmentToolRequest) Reset()
func (*GetAssessmentToolRequest) String ¶
func (x *GetAssessmentToolRequest) String() string
type GetCertificateRequest ¶ added in v1.4.9
type GetCertificateRequest struct { CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // contains filtered or unexported fields }
func (*GetCertificateRequest) Descriptor
deprecated
added in
v1.4.9
func (*GetCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCertificateRequest.ProtoReflect.Descriptor instead.
func (*GetCertificateRequest) GetCertificateId ¶ added in v1.4.9
func (x *GetCertificateRequest) GetCertificateId() string
func (*GetCertificateRequest) ProtoMessage ¶ added in v1.4.9
func (*GetCertificateRequest) ProtoMessage()
func (*GetCertificateRequest) ProtoReflect ¶ added in v1.4.9
func (x *GetCertificateRequest) ProtoReflect() protoreflect.Message
func (*GetCertificateRequest) Reset ¶ added in v1.4.9
func (x *GetCertificateRequest) Reset()
func (*GetCertificateRequest) String ¶ added in v1.4.9
func (x *GetCertificateRequest) String() string
type GetCloudServiceRequest ¶ added in v1.3.11
type GetCloudServiceRequest struct { ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // contains filtered or unexported fields }
func (*GetCloudServiceRequest) Descriptor
deprecated
added in
v1.3.11
func (*GetCloudServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCloudServiceRequest.ProtoReflect.Descriptor instead.
func (*GetCloudServiceRequest) GetServiceId ¶ added in v1.3.11
func (x *GetCloudServiceRequest) GetServiceId() string
func (*GetCloudServiceRequest) ProtoMessage ¶ added in v1.3.11
func (*GetCloudServiceRequest) ProtoMessage()
func (*GetCloudServiceRequest) ProtoReflect ¶ added in v1.3.11
func (x *GetCloudServiceRequest) ProtoReflect() protoreflect.Message
func (*GetCloudServiceRequest) Reset ¶ added in v1.3.11
func (x *GetCloudServiceRequest) Reset()
func (*GetCloudServiceRequest) String ¶ added in v1.3.11
func (x *GetCloudServiceRequest) String() string
type GetMetricConfigurationRequest ¶ added in v1.3.11
type GetMetricConfigurationRequest struct { ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` MetricId string `protobuf:"bytes,2,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"` // contains filtered or unexported fields }
func (*GetMetricConfigurationRequest) Descriptor
deprecated
added in
v1.3.11
func (*GetMetricConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMetricConfigurationRequest.ProtoReflect.Descriptor instead.
func (*GetMetricConfigurationRequest) GetMetricId ¶ added in v1.3.11
func (x *GetMetricConfigurationRequest) GetMetricId() string
func (*GetMetricConfigurationRequest) GetServiceId ¶ added in v1.3.11
func (x *GetMetricConfigurationRequest) GetServiceId() string
func (*GetMetricConfigurationRequest) ProtoMessage ¶ added in v1.3.11
func (*GetMetricConfigurationRequest) ProtoMessage()
func (*GetMetricConfigurationRequest) ProtoReflect ¶ added in v1.3.11
func (x *GetMetricConfigurationRequest) ProtoReflect() protoreflect.Message
func (*GetMetricConfigurationRequest) Reset ¶ added in v1.3.11
func (x *GetMetricConfigurationRequest) Reset()
func (*GetMetricConfigurationRequest) String ¶ added in v1.3.11
func (x *GetMetricConfigurationRequest) String() string
type GetMetricImplementationRequest ¶ added in v1.4.0
type GetMetricImplementationRequest struct { MetricId string `protobuf:"bytes,1,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"` Lang string `protobuf:"bytes,2,opt,name=lang,proto3" json:"lang,omitempty"` // contains filtered or unexported fields }
func (*GetMetricImplementationRequest) Descriptor
deprecated
added in
v1.4.0
func (*GetMetricImplementationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMetricImplementationRequest.ProtoReflect.Descriptor instead.
func (*GetMetricImplementationRequest) GetLang ¶ added in v1.4.5
func (x *GetMetricImplementationRequest) GetLang() string
func (*GetMetricImplementationRequest) GetMetricId ¶ added in v1.4.0
func (x *GetMetricImplementationRequest) GetMetricId() string
func (*GetMetricImplementationRequest) ProtoMessage ¶ added in v1.4.0
func (*GetMetricImplementationRequest) ProtoMessage()
func (*GetMetricImplementationRequest) ProtoReflect ¶ added in v1.4.0
func (x *GetMetricImplementationRequest) ProtoReflect() protoreflect.Message
func (*GetMetricImplementationRequest) Reset ¶ added in v1.4.0
func (x *GetMetricImplementationRequest) Reset()
func (*GetMetricImplementationRequest) String ¶ added in v1.4.0
func (x *GetMetricImplementationRequest) String() string
type GetMetricRequest ¶ added in v1.3.14
type GetMetricRequest struct { MetricId string `protobuf:"bytes,1,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"` // contains filtered or unexported fields }
func (*GetMetricRequest) Descriptor
deprecated
added in
v1.3.14
func (*GetMetricRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMetricRequest.ProtoReflect.Descriptor instead.
func (*GetMetricRequest) GetMetricId ¶ added in v1.3.14
func (x *GetMetricRequest) GetMetricId() string
func (*GetMetricRequest) ProtoMessage ¶ added in v1.3.14
func (*GetMetricRequest) ProtoMessage()
func (*GetMetricRequest) ProtoReflect ¶ added in v1.3.14
func (x *GetMetricRequest) ProtoReflect() protoreflect.Message
func (*GetMetricRequest) Reset ¶ added in v1.3.14
func (x *GetMetricRequest) Reset()
func (*GetMetricRequest) String ¶ added in v1.3.14
func (x *GetMetricRequest) String() string
type ListAssessmentToolsRequest ¶
type ListAssessmentToolsRequest struct { // filter tools by metric id MetricId string `protobuf:"bytes,1,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListAssessmentToolsRequest) Descriptor
deprecated
func (*ListAssessmentToolsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAssessmentToolsRequest.ProtoReflect.Descriptor instead.
func (*ListAssessmentToolsRequest) GetMetricId ¶
func (x *ListAssessmentToolsRequest) GetMetricId() string
func (*ListAssessmentToolsRequest) GetPageSize ¶ added in v1.4.6
func (x *ListAssessmentToolsRequest) GetPageSize() int32
func (*ListAssessmentToolsRequest) GetPageToken ¶ added in v1.4.6
func (x *ListAssessmentToolsRequest) GetPageToken() string
func (*ListAssessmentToolsRequest) ProtoMessage ¶
func (*ListAssessmentToolsRequest) ProtoMessage()
func (*ListAssessmentToolsRequest) ProtoReflect ¶
func (x *ListAssessmentToolsRequest) ProtoReflect() protoreflect.Message
func (*ListAssessmentToolsRequest) Reset ¶
func (x *ListAssessmentToolsRequest) Reset()
func (*ListAssessmentToolsRequest) String ¶
func (x *ListAssessmentToolsRequest) String() string
type ListAssessmentToolsResponse ¶
type ListAssessmentToolsResponse struct { Tools []*AssessmentTool `protobuf:"bytes,1,rep,name=tools,proto3" json:"tools,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListAssessmentToolsResponse) Descriptor
deprecated
func (*ListAssessmentToolsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAssessmentToolsResponse.ProtoReflect.Descriptor instead.
func (*ListAssessmentToolsResponse) GetNextPageToken ¶ added in v1.4.6
func (x *ListAssessmentToolsResponse) GetNextPageToken() string
func (*ListAssessmentToolsResponse) GetTools ¶
func (x *ListAssessmentToolsResponse) GetTools() []*AssessmentTool
func (*ListAssessmentToolsResponse) ProtoMessage ¶
func (*ListAssessmentToolsResponse) ProtoMessage()
func (*ListAssessmentToolsResponse) ProtoReflect ¶
func (x *ListAssessmentToolsResponse) ProtoReflect() protoreflect.Message
func (*ListAssessmentToolsResponse) Reset ¶
func (x *ListAssessmentToolsResponse) Reset()
func (*ListAssessmentToolsResponse) String ¶
func (x *ListAssessmentToolsResponse) String() string
type ListCertificatesRequest ¶ added in v1.4.9
type ListCertificatesRequest struct { PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListCertificatesRequest) Descriptor
deprecated
added in
v1.4.9
func (*ListCertificatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCertificatesRequest.ProtoReflect.Descriptor instead.
func (*ListCertificatesRequest) GetPageSize ¶ added in v1.4.9
func (x *ListCertificatesRequest) GetPageSize() int32
func (*ListCertificatesRequest) GetPageToken ¶ added in v1.4.9
func (x *ListCertificatesRequest) GetPageToken() string
func (*ListCertificatesRequest) ProtoMessage ¶ added in v1.4.9
func (*ListCertificatesRequest) ProtoMessage()
func (*ListCertificatesRequest) ProtoReflect ¶ added in v1.4.9
func (x *ListCertificatesRequest) ProtoReflect() protoreflect.Message
func (*ListCertificatesRequest) Reset ¶ added in v1.4.9
func (x *ListCertificatesRequest) Reset()
func (*ListCertificatesRequest) String ¶ added in v1.4.9
func (x *ListCertificatesRequest) String() string
type ListCertificatesResponse ¶ added in v1.4.9
type ListCertificatesResponse struct { Certificates []*Certificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListCertificatesResponse) Descriptor
deprecated
added in
v1.4.9
func (*ListCertificatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCertificatesResponse.ProtoReflect.Descriptor instead.
func (*ListCertificatesResponse) GetCertificates ¶ added in v1.4.9
func (x *ListCertificatesResponse) GetCertificates() []*Certificate
func (*ListCertificatesResponse) GetNextPageToken ¶ added in v1.4.9
func (x *ListCertificatesResponse) GetNextPageToken() string
func (*ListCertificatesResponse) ProtoMessage ¶ added in v1.4.9
func (*ListCertificatesResponse) ProtoMessage()
func (*ListCertificatesResponse) ProtoReflect ¶ added in v1.4.9
func (x *ListCertificatesResponse) ProtoReflect() protoreflect.Message
func (*ListCertificatesResponse) Reset ¶ added in v1.4.9
func (x *ListCertificatesResponse) Reset()
func (*ListCertificatesResponse) String ¶ added in v1.4.9
func (x *ListCertificatesResponse) String() string
type ListCloudServicesRequest ¶ added in v1.3.11
type ListCloudServicesRequest struct { PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListCloudServicesRequest) Descriptor
deprecated
added in
v1.3.11
func (*ListCloudServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCloudServicesRequest.ProtoReflect.Descriptor instead.
func (*ListCloudServicesRequest) GetPageSize ¶ added in v1.4.6
func (x *ListCloudServicesRequest) GetPageSize() int32
func (*ListCloudServicesRequest) GetPageToken ¶ added in v1.4.6
func (x *ListCloudServicesRequest) GetPageToken() string
func (*ListCloudServicesRequest) ProtoMessage ¶ added in v1.3.11
func (*ListCloudServicesRequest) ProtoMessage()
func (*ListCloudServicesRequest) ProtoReflect ¶ added in v1.3.11
func (x *ListCloudServicesRequest) ProtoReflect() protoreflect.Message
func (*ListCloudServicesRequest) Reset ¶ added in v1.3.11
func (x *ListCloudServicesRequest) Reset()
func (*ListCloudServicesRequest) String ¶ added in v1.3.11
func (x *ListCloudServicesRequest) String() string
type ListCloudServicesResponse ¶ added in v1.3.11
type ListCloudServicesResponse struct { Services []*CloudService `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListCloudServicesResponse) Descriptor
deprecated
added in
v1.3.11
func (*ListCloudServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCloudServicesResponse.ProtoReflect.Descriptor instead.
func (*ListCloudServicesResponse) GetNextPageToken ¶ added in v1.4.6
func (x *ListCloudServicesResponse) GetNextPageToken() string
func (*ListCloudServicesResponse) GetServices ¶ added in v1.3.11
func (x *ListCloudServicesResponse) GetServices() []*CloudService
func (*ListCloudServicesResponse) ProtoMessage ¶ added in v1.3.11
func (*ListCloudServicesResponse) ProtoMessage()
func (*ListCloudServicesResponse) ProtoReflect ¶ added in v1.3.11
func (x *ListCloudServicesResponse) ProtoReflect() protoreflect.Message
func (*ListCloudServicesResponse) Reset ¶ added in v1.3.11
func (x *ListCloudServicesResponse) Reset()
func (*ListCloudServicesResponse) String ¶ added in v1.3.11
func (x *ListCloudServicesResponse) String() string
type ListMetricConfigurationRequest ¶ added in v1.3.11
type ListMetricConfigurationRequest struct { ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // contains filtered or unexported fields }
func (*ListMetricConfigurationRequest) Descriptor
deprecated
added in
v1.3.11
func (*ListMetricConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMetricConfigurationRequest.ProtoReflect.Descriptor instead.
func (*ListMetricConfigurationRequest) GetServiceId ¶ added in v1.3.11
func (x *ListMetricConfigurationRequest) GetServiceId() string
func (*ListMetricConfigurationRequest) ProtoMessage ¶ added in v1.3.11
func (*ListMetricConfigurationRequest) ProtoMessage()
func (*ListMetricConfigurationRequest) ProtoReflect ¶ added in v1.3.11
func (x *ListMetricConfigurationRequest) ProtoReflect() protoreflect.Message
func (*ListMetricConfigurationRequest) Reset ¶ added in v1.3.11
func (x *ListMetricConfigurationRequest) Reset()
func (*ListMetricConfigurationRequest) String ¶ added in v1.3.11
func (x *ListMetricConfigurationRequest) String() string
type ListMetricConfigurationResponse ¶ added in v1.3.11
type ListMetricConfigurationResponse struct { // A map of metric configurations associated by their metric ID Configurations map[string]*assessment.MetricConfiguration `` /* 169-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListMetricConfigurationResponse) Descriptor
deprecated
added in
v1.3.11
func (*ListMetricConfigurationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMetricConfigurationResponse.ProtoReflect.Descriptor instead.
func (*ListMetricConfigurationResponse) GetConfigurations ¶ added in v1.3.11
func (x *ListMetricConfigurationResponse) GetConfigurations() map[string]*assessment.MetricConfiguration
func (*ListMetricConfigurationResponse) ProtoMessage ¶ added in v1.3.11
func (*ListMetricConfigurationResponse) ProtoMessage()
func (*ListMetricConfigurationResponse) ProtoReflect ¶ added in v1.3.11
func (x *ListMetricConfigurationResponse) ProtoReflect() protoreflect.Message
func (*ListMetricConfigurationResponse) Reset ¶ added in v1.3.11
func (x *ListMetricConfigurationResponse) Reset()
func (*ListMetricConfigurationResponse) String ¶ added in v1.3.11
func (x *ListMetricConfigurationResponse) String() string
type ListMetricsRequest ¶
type ListMetricsRequest struct { PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListMetricsRequest) Descriptor
deprecated
func (*ListMetricsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMetricsRequest.ProtoReflect.Descriptor instead.
func (*ListMetricsRequest) GetPageSize ¶ added in v1.4.6
func (x *ListMetricsRequest) GetPageSize() int32
func (*ListMetricsRequest) GetPageToken ¶ added in v1.4.6
func (x *ListMetricsRequest) GetPageToken() string
func (*ListMetricsRequest) ProtoMessage ¶
func (*ListMetricsRequest) ProtoMessage()
func (*ListMetricsRequest) ProtoReflect ¶
func (x *ListMetricsRequest) ProtoReflect() protoreflect.Message
func (*ListMetricsRequest) Reset ¶
func (x *ListMetricsRequest) Reset()
func (*ListMetricsRequest) String ¶
func (x *ListMetricsRequest) String() string
type ListMetricsResponse ¶
type ListMetricsResponse struct { Metrics []*assessment.Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListMetricsResponse) Descriptor
deprecated
func (*ListMetricsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMetricsResponse.ProtoReflect.Descriptor instead.
func (*ListMetricsResponse) GetMetrics ¶
func (x *ListMetricsResponse) GetMetrics() []*assessment.Metric
func (*ListMetricsResponse) GetNextPageToken ¶ added in v1.4.6
func (x *ListMetricsResponse) GetNextPageToken() string
func (*ListMetricsResponse) ProtoMessage ¶
func (*ListMetricsResponse) ProtoMessage()
func (*ListMetricsResponse) ProtoReflect ¶
func (x *ListMetricsResponse) ProtoReflect() protoreflect.Message
func (*ListMetricsResponse) Reset ¶
func (x *ListMetricsResponse) Reset()
func (*ListMetricsResponse) String ¶
func (x *ListMetricsResponse) String() string
type ListRequirementsRequest ¶ added in v1.4.0
type ListRequirementsRequest struct { PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRequirementsRequest) Descriptor
deprecated
added in
v1.4.0
func (*ListRequirementsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequirementsRequest.ProtoReflect.Descriptor instead.
func (*ListRequirementsRequest) GetPageSize ¶ added in v1.4.6
func (x *ListRequirementsRequest) GetPageSize() int32
func (*ListRequirementsRequest) GetPageToken ¶ added in v1.4.6
func (x *ListRequirementsRequest) GetPageToken() string
func (*ListRequirementsRequest) ProtoMessage ¶ added in v1.4.0
func (*ListRequirementsRequest) ProtoMessage()
func (*ListRequirementsRequest) ProtoReflect ¶ added in v1.4.0
func (x *ListRequirementsRequest) ProtoReflect() protoreflect.Message
func (*ListRequirementsRequest) Reset ¶ added in v1.4.0
func (x *ListRequirementsRequest) Reset()
func (*ListRequirementsRequest) String ¶ added in v1.4.0
func (x *ListRequirementsRequest) String() string
type ListRequirementsResponse ¶ added in v1.4.0
type ListRequirementsResponse struct { Requirements []*Requirement `protobuf:"bytes,1,rep,name=requirements,proto3" json:"requirements,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRequirementsResponse) Descriptor
deprecated
added in
v1.4.0
func (*ListRequirementsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRequirementsResponse.ProtoReflect.Descriptor instead.
func (*ListRequirementsResponse) GetNextPageToken ¶ added in v1.4.6
func (x *ListRequirementsResponse) GetNextPageToken() string
func (*ListRequirementsResponse) GetRequirements ¶ added in v1.4.0
func (x *ListRequirementsResponse) GetRequirements() []*Requirement
func (*ListRequirementsResponse) ProtoMessage ¶ added in v1.4.0
func (*ListRequirementsResponse) ProtoMessage()
func (*ListRequirementsResponse) ProtoReflect ¶ added in v1.4.0
func (x *ListRequirementsResponse) ProtoReflect() protoreflect.Message
func (*ListRequirementsResponse) Reset ¶ added in v1.4.0
func (x *ListRequirementsResponse) Reset()
func (*ListRequirementsResponse) String ¶ added in v1.4.0
func (x *ListRequirementsResponse) String() string
type MetricChangeEvent ¶ added in v1.4.5
type MetricChangeEvent struct { Type MetricChangeEvent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=clouditor.MetricChangeEvent_Type" json:"type,omitempty"` MetricId string `protobuf:"bytes,2,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"` // contains filtered or unexported fields }
MetricChangeEvent represents a change of either a metric configuration or implementation.
func (*MetricChangeEvent) Descriptor
deprecated
added in
v1.4.5
func (*MetricChangeEvent) Descriptor() ([]byte, []int)
Deprecated: Use MetricChangeEvent.ProtoReflect.Descriptor instead.
func (*MetricChangeEvent) GetMetricId ¶ added in v1.4.5
func (x *MetricChangeEvent) GetMetricId() string
func (*MetricChangeEvent) GetType ¶ added in v1.4.5
func (x *MetricChangeEvent) GetType() MetricChangeEvent_Type
func (*MetricChangeEvent) ProtoMessage ¶ added in v1.4.5
func (*MetricChangeEvent) ProtoMessage()
func (*MetricChangeEvent) ProtoReflect ¶ added in v1.4.5
func (x *MetricChangeEvent) ProtoReflect() protoreflect.Message
func (*MetricChangeEvent) Reset ¶ added in v1.4.5
func (x *MetricChangeEvent) Reset()
func (*MetricChangeEvent) String ¶ added in v1.4.5
func (x *MetricChangeEvent) String() string
type MetricChangeEvent_Type ¶ added in v1.4.5
type MetricChangeEvent_Type int32
const ( MetricChangeEvent_TYPE_UNSPECIFIED MetricChangeEvent_Type = 0 MetricChangeEvent_CONFIG_CHANGED MetricChangeEvent_Type = 1 MetricChangeEvent_IMPLEMENTATION_CHANGED MetricChangeEvent_Type = 2 MetricChangeEvent_METADATA_CHANGED MetricChangeEvent_Type = 3 )
func (MetricChangeEvent_Type) Descriptor ¶ added in v1.4.5
func (MetricChangeEvent_Type) Descriptor() protoreflect.EnumDescriptor
func (MetricChangeEvent_Type) Enum ¶ added in v1.4.5
func (x MetricChangeEvent_Type) Enum() *MetricChangeEvent_Type
func (MetricChangeEvent_Type) EnumDescriptor
deprecated
added in
v1.4.5
func (MetricChangeEvent_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetricChangeEvent_Type.Descriptor instead.
func (MetricChangeEvent_Type) Number ¶ added in v1.4.5
func (x MetricChangeEvent_Type) Number() protoreflect.EnumNumber
func (MetricChangeEvent_Type) String ¶ added in v1.4.5
func (x MetricChangeEvent_Type) String() string
func (MetricChangeEvent_Type) Type ¶ added in v1.4.5
func (MetricChangeEvent_Type) Type() protoreflect.EnumType
type OrchestratorClient ¶
type OrchestratorClient interface { // Registers the passed assessment tool RegisterAssessmentTool(ctx context.Context, in *RegisterAssessmentToolRequest, opts ...grpc.CallOption) (*AssessmentTool, error) // Lists all assessment tools assessing evidences for the metric given by the // passed metric id ListAssessmentTools(ctx context.Context, in *ListAssessmentToolsRequest, opts ...grpc.CallOption) (*ListAssessmentToolsResponse, error) // Returns assessment tool given by the passed tool id GetAssessmentTool(ctx context.Context, in *GetAssessmentToolRequest, opts ...grpc.CallOption) (*AssessmentTool, error) // Updates the assessment tool given by the passed id UpdateAssessmentTool(ctx context.Context, in *UpdateAssessmentToolRequest, opts ...grpc.CallOption) (*AssessmentTool, error) // Remove assessment tool with passed id from the list of active assessment // tools DeregisterAssessmentTool(ctx context.Context, in *DeregisterAssessmentToolRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Stores the assessment result provided by an assessment tool StoreAssessmentResult(ctx context.Context, in *StoreAssessmentResultRequest, opts ...grpc.CallOption) (*StoreAssessmentResultResponse, error) // Stores stream of assessment results provided by an assessment tool and // returns a response stream. Part of the public API, not exposed as REST. StoreAssessmentResults(ctx context.Context, opts ...grpc.CallOption) (Orchestrator_StoreAssessmentResultsClient, error) // List all assessment results. Part of the public API, also exposed as REST. ListAssessmentResults(ctx context.Context, in *assessment.ListAssessmentResultsRequest, opts ...grpc.CallOption) (*assessment.ListAssessmentResultsResponse, error) // Creates a new metric CreateMetric(ctx context.Context, in *CreateMetricRequest, opts ...grpc.CallOption) (*assessment.Metric, error) // Updates an existing metric UpdateMetric(ctx context.Context, in *UpdateMetricRequest, opts ...grpc.CallOption) (*assessment.Metric, error) // Returns the metric with the passed metric id GetMetric(ctx context.Context, in *GetMetricRequest, opts ...grpc.CallOption) (*assessment.Metric, error) // List all metrics provided by the metric catalog ListMetrics(ctx context.Context, in *ListMetricsRequest, opts ...grpc.CallOption) (*ListMetricsResponse, error) ListRequirements(ctx context.Context, in *ListRequirementsRequest, opts ...grpc.CallOption) (*ListRequirementsResponse, error) // Registers a new target cloud service RegisterCloudService(ctx context.Context, in *RegisterCloudServiceRequest, opts ...grpc.CallOption) (*CloudService, error) // Registers a new target cloud service UpdateCloudService(ctx context.Context, in *UpdateCloudServiceRequest, opts ...grpc.CallOption) (*CloudService, error) // Retrieves a target cloud service GetCloudService(ctx context.Context, in *GetCloudServiceRequest, opts ...grpc.CallOption) (*CloudService, error) // Lists all target cloud services ListCloudServices(ctx context.Context, in *ListCloudServicesRequest, opts ...grpc.CallOption) (*ListCloudServicesResponse, error) // Removes a target cloud service RemoveCloudService(ctx context.Context, in *RemoveCloudServiceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Updates a metric configuration (target value and operator) for a specific // service and metric ID UpdateMetricConfiguration(ctx context.Context, in *UpdateMetricConfigurationRequest, opts ...grpc.CallOption) (*assessment.MetricConfiguration, error) // Retrieves a metric configuration (target value and operator) for a specific // service and metric ID GetMetricConfiguration(ctx context.Context, in *GetMetricConfigurationRequest, opts ...grpc.CallOption) (*assessment.MetricConfiguration, error) // Lists all a metric configurations (target value and operator) for a // specific service ID ListMetricConfigurations(ctx context.Context, in *ListMetricConfigurationRequest, opts ...grpc.CallOption) (*ListMetricConfigurationResponse, error) // Updates an existing metric implementation UpdateMetricImplementation(ctx context.Context, in *UpdateMetricImplementationRequest, opts ...grpc.CallOption) (*assessment.MetricImplementation, error) // Returns the metric implementation of the passed metric id GetMetricImplementation(ctx context.Context, in *GetMetricImplementationRequest, opts ...grpc.CallOption) (*assessment.MetricImplementation, error) SubscribeMetricChangeEvents(ctx context.Context, in *SubscribeMetricChangeEventRequest, opts ...grpc.CallOption) (Orchestrator_SubscribeMetricChangeEventsClient, error) // Creates a new certificate CreateCertificate(ctx context.Context, in *CreateCertificateRequest, opts ...grpc.CallOption) (*Certificate, error) // Retrieves a certificate GetCertificate(ctx context.Context, in *GetCertificateRequest, opts ...grpc.CallOption) (*Certificate, error) // Lists all target certificates ListCertificates(ctx context.Context, in *ListCertificatesRequest, opts ...grpc.CallOption) (*ListCertificatesResponse, error) // Updates an existing certificate UpdateCertificate(ctx context.Context, in *UpdateCertificateRequest, opts ...grpc.CallOption) (*Certificate, error) // Removes a certificate RemoveCertificate(ctx context.Context, in *RemoveCertificateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
OrchestratorClient is the client API for Orchestrator 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 NewOrchestratorClient ¶
func NewOrchestratorClient(cc grpc.ClientConnInterface) OrchestratorClient
type OrchestratorServer ¶
type OrchestratorServer interface { // Registers the passed assessment tool RegisterAssessmentTool(context.Context, *RegisterAssessmentToolRequest) (*AssessmentTool, error) // Lists all assessment tools assessing evidences for the metric given by the // passed metric id ListAssessmentTools(context.Context, *ListAssessmentToolsRequest) (*ListAssessmentToolsResponse, error) // Returns assessment tool given by the passed tool id GetAssessmentTool(context.Context, *GetAssessmentToolRequest) (*AssessmentTool, error) // Updates the assessment tool given by the passed id UpdateAssessmentTool(context.Context, *UpdateAssessmentToolRequest) (*AssessmentTool, error) // Remove assessment tool with passed id from the list of active assessment // tools DeregisterAssessmentTool(context.Context, *DeregisterAssessmentToolRequest) (*emptypb.Empty, error) // Stores the assessment result provided by an assessment tool StoreAssessmentResult(context.Context, *StoreAssessmentResultRequest) (*StoreAssessmentResultResponse, error) // Stores stream of assessment results provided by an assessment tool and // returns a response stream. Part of the public API, not exposed as REST. StoreAssessmentResults(Orchestrator_StoreAssessmentResultsServer) error // List all assessment results. Part of the public API, also exposed as REST. ListAssessmentResults(context.Context, *assessment.ListAssessmentResultsRequest) (*assessment.ListAssessmentResultsResponse, error) // Creates a new metric CreateMetric(context.Context, *CreateMetricRequest) (*assessment.Metric, error) // Updates an existing metric UpdateMetric(context.Context, *UpdateMetricRequest) (*assessment.Metric, error) // Returns the metric with the passed metric id GetMetric(context.Context, *GetMetricRequest) (*assessment.Metric, error) // List all metrics provided by the metric catalog ListMetrics(context.Context, *ListMetricsRequest) (*ListMetricsResponse, error) ListRequirements(context.Context, *ListRequirementsRequest) (*ListRequirementsResponse, error) // Registers a new target cloud service RegisterCloudService(context.Context, *RegisterCloudServiceRequest) (*CloudService, error) // Registers a new target cloud service UpdateCloudService(context.Context, *UpdateCloudServiceRequest) (*CloudService, error) // Retrieves a target cloud service GetCloudService(context.Context, *GetCloudServiceRequest) (*CloudService, error) // Lists all target cloud services ListCloudServices(context.Context, *ListCloudServicesRequest) (*ListCloudServicesResponse, error) // Removes a target cloud service RemoveCloudService(context.Context, *RemoveCloudServiceRequest) (*emptypb.Empty, error) // Updates a metric configuration (target value and operator) for a specific // service and metric ID UpdateMetricConfiguration(context.Context, *UpdateMetricConfigurationRequest) (*assessment.MetricConfiguration, error) // Retrieves a metric configuration (target value and operator) for a specific // service and metric ID GetMetricConfiguration(context.Context, *GetMetricConfigurationRequest) (*assessment.MetricConfiguration, error) // Lists all a metric configurations (target value and operator) for a // specific service ID ListMetricConfigurations(context.Context, *ListMetricConfigurationRequest) (*ListMetricConfigurationResponse, error) // Updates an existing metric implementation UpdateMetricImplementation(context.Context, *UpdateMetricImplementationRequest) (*assessment.MetricImplementation, error) // Returns the metric implementation of the passed metric id GetMetricImplementation(context.Context, *GetMetricImplementationRequest) (*assessment.MetricImplementation, error) SubscribeMetricChangeEvents(*SubscribeMetricChangeEventRequest, Orchestrator_SubscribeMetricChangeEventsServer) error // Creates a new certificate CreateCertificate(context.Context, *CreateCertificateRequest) (*Certificate, error) // Retrieves a certificate GetCertificate(context.Context, *GetCertificateRequest) (*Certificate, error) // Lists all target certificates ListCertificates(context.Context, *ListCertificatesRequest) (*ListCertificatesResponse, error) // Updates an existing certificate UpdateCertificate(context.Context, *UpdateCertificateRequest) (*Certificate, error) // Removes a certificate RemoveCertificate(context.Context, *RemoveCertificateRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
OrchestratorServer is the server API for Orchestrator service. All implementations must embed UnimplementedOrchestratorServer for forward compatibility
type Orchestrator_StoreAssessmentResultsClient ¶ added in v1.3.6
type Orchestrator_StoreAssessmentResultsClient interface { Send(*StoreAssessmentResultRequest) error Recv() (*StoreAssessmentResultResponse, error) grpc.ClientStream }
type Orchestrator_StoreAssessmentResultsServer ¶ added in v1.3.6
type Orchestrator_StoreAssessmentResultsServer interface { Send(*StoreAssessmentResultResponse) error Recv() (*StoreAssessmentResultRequest, error) grpc.ServerStream }
type Orchestrator_SubscribeMetricChangeEventsClient ¶ added in v1.4.5
type Orchestrator_SubscribeMetricChangeEventsClient interface { Recv() (*MetricChangeEvent, error) grpc.ClientStream }
type Orchestrator_SubscribeMetricChangeEventsServer ¶ added in v1.4.5
type Orchestrator_SubscribeMetricChangeEventsServer interface { Send(*MetricChangeEvent) error grpc.ServerStream }
type RegisterAssessmentToolRequest ¶
type RegisterAssessmentToolRequest struct { Tool *AssessmentTool `protobuf:"bytes,1,opt,name=tool,proto3" json:"tool,omitempty"` // contains filtered or unexported fields }
func (*RegisterAssessmentToolRequest) Descriptor
deprecated
func (*RegisterAssessmentToolRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterAssessmentToolRequest.ProtoReflect.Descriptor instead.
func (*RegisterAssessmentToolRequest) GetTool ¶
func (x *RegisterAssessmentToolRequest) GetTool() *AssessmentTool
func (*RegisterAssessmentToolRequest) ProtoMessage ¶
func (*RegisterAssessmentToolRequest) ProtoMessage()
func (*RegisterAssessmentToolRequest) ProtoReflect ¶
func (x *RegisterAssessmentToolRequest) ProtoReflect() protoreflect.Message
func (*RegisterAssessmentToolRequest) Reset ¶
func (x *RegisterAssessmentToolRequest) Reset()
func (*RegisterAssessmentToolRequest) String ¶
func (x *RegisterAssessmentToolRequest) String() string
type RegisterCloudServiceRequest ¶ added in v1.3.11
type RegisterCloudServiceRequest struct { Service *CloudService `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // contains filtered or unexported fields }
func (*RegisterCloudServiceRequest) Descriptor
deprecated
added in
v1.3.11
func (*RegisterCloudServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterCloudServiceRequest.ProtoReflect.Descriptor instead.
func (*RegisterCloudServiceRequest) GetService ¶ added in v1.3.11
func (x *RegisterCloudServiceRequest) GetService() *CloudService
func (*RegisterCloudServiceRequest) ProtoMessage ¶ added in v1.3.11
func (*RegisterCloudServiceRequest) ProtoMessage()
func (*RegisterCloudServiceRequest) ProtoReflect ¶ added in v1.3.11
func (x *RegisterCloudServiceRequest) ProtoReflect() protoreflect.Message
func (*RegisterCloudServiceRequest) Reset ¶ added in v1.3.11
func (x *RegisterCloudServiceRequest) Reset()
func (*RegisterCloudServiceRequest) String ¶ added in v1.3.11
func (x *RegisterCloudServiceRequest) String() string
type RemoveCertificateRequest ¶ added in v1.4.9
type RemoveCertificateRequest struct { CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveCertificateRequest) Descriptor
deprecated
added in
v1.4.9
func (*RemoveCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveCertificateRequest.ProtoReflect.Descriptor instead.
func (*RemoveCertificateRequest) GetCertificateId ¶ added in v1.4.9
func (x *RemoveCertificateRequest) GetCertificateId() string
func (*RemoveCertificateRequest) ProtoMessage ¶ added in v1.4.9
func (*RemoveCertificateRequest) ProtoMessage()
func (*RemoveCertificateRequest) ProtoReflect ¶ added in v1.4.9
func (x *RemoveCertificateRequest) ProtoReflect() protoreflect.Message
func (*RemoveCertificateRequest) Reset ¶ added in v1.4.9
func (x *RemoveCertificateRequest) Reset()
func (*RemoveCertificateRequest) String ¶ added in v1.4.9
func (x *RemoveCertificateRequest) String() string
type RemoveCloudServiceRequest ¶ added in v1.3.11
type RemoveCloudServiceRequest struct { ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveCloudServiceRequest) Descriptor
deprecated
added in
v1.3.11
func (*RemoveCloudServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveCloudServiceRequest.ProtoReflect.Descriptor instead.
func (*RemoveCloudServiceRequest) GetServiceId ¶ added in v1.3.11
func (x *RemoveCloudServiceRequest) GetServiceId() string
func (*RemoveCloudServiceRequest) ProtoMessage ¶ added in v1.3.11
func (*RemoveCloudServiceRequest) ProtoMessage()
func (*RemoveCloudServiceRequest) ProtoReflect ¶ added in v1.3.11
func (x *RemoveCloudServiceRequest) ProtoReflect() protoreflect.Message
func (*RemoveCloudServiceRequest) Reset ¶ added in v1.3.11
func (x *RemoveCloudServiceRequest) Reset()
func (*RemoveCloudServiceRequest) String ¶ added in v1.3.11
func (x *RemoveCloudServiceRequest) String() string
type Requirement ¶ added in v1.4.0
type Requirement struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // metrics contains either a list of reference to metrics - in this case only // the id field of the metric is populated - or a list of populated metric // meta-data, most likely returned by the database. Metrics []*assessment.Metric `protobuf:"bytes,4,rep,name=metrics,proto3" json:"metrics,omitempty" gorm:"many2many"` // contains filtered or unexported fields }
Requirement represents a certain requirement that needs to be fulfilled. It could be a control in a certification catalog.
func (*Requirement) Descriptor
deprecated
added in
v1.4.0
func (*Requirement) Descriptor() ([]byte, []int)
Deprecated: Use Requirement.ProtoReflect.Descriptor instead.
func (*Requirement) GetDescription ¶ added in v1.4.0
func (x *Requirement) GetDescription() string
func (*Requirement) GetId ¶ added in v1.4.0
func (x *Requirement) GetId() string
func (*Requirement) GetMetrics ¶ added in v1.4.11
func (x *Requirement) GetMetrics() []*assessment.Metric
func (*Requirement) GetName ¶ added in v1.4.0
func (x *Requirement) GetName() string
func (*Requirement) ProtoMessage ¶ added in v1.4.0
func (*Requirement) ProtoMessage()
func (*Requirement) ProtoReflect ¶ added in v1.4.0
func (x *Requirement) ProtoReflect() protoreflect.Message
func (*Requirement) Reset ¶ added in v1.4.0
func (x *Requirement) Reset()
func (*Requirement) String ¶ added in v1.4.0
func (x *Requirement) String() string
type State ¶ added in v1.4.9
type State struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // An EUCS-defined state, e.g. `new`, `suspended` or `withdrawn` State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` TreeId string `protobuf:"bytes,3,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty"` Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Reference to the certificate CertificateId string `protobuf:"bytes,5,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // contains filtered or unexported fields }
A state of a certificate at a given time
func (*State) Descriptor
deprecated
added in
v1.4.9
func (*State) GetCertificateId ¶ added in v1.4.9
func (*State) GetTimestamp ¶ added in v1.4.9
func (*State) ProtoMessage ¶ added in v1.4.9
func (*State) ProtoMessage()
func (*State) ProtoReflect ¶ added in v1.4.9
func (x *State) ProtoReflect() protoreflect.Message
type StoreAssessmentResultRequest ¶
type StoreAssessmentResultRequest struct { Result *assessment.AssessmentResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*StoreAssessmentResultRequest) Descriptor
deprecated
func (*StoreAssessmentResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreAssessmentResultRequest.ProtoReflect.Descriptor instead.
func (*StoreAssessmentResultRequest) GetResult ¶
func (x *StoreAssessmentResultRequest) GetResult() *assessment.AssessmentResult
func (*StoreAssessmentResultRequest) ProtoMessage ¶
func (*StoreAssessmentResultRequest) ProtoMessage()
func (*StoreAssessmentResultRequest) ProtoReflect ¶
func (x *StoreAssessmentResultRequest) ProtoReflect() protoreflect.Message
func (*StoreAssessmentResultRequest) Reset ¶
func (x *StoreAssessmentResultRequest) Reset()
func (*StoreAssessmentResultRequest) String ¶
func (x *StoreAssessmentResultRequest) String() string
type StoreAssessmentResultResponse ¶ added in v1.3.6
type StoreAssessmentResultResponse struct { Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` StatusMessage string `protobuf:"bytes,2,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // contains filtered or unexported fields }
func (*StoreAssessmentResultResponse) Descriptor
deprecated
added in
v1.3.6
func (*StoreAssessmentResultResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreAssessmentResultResponse.ProtoReflect.Descriptor instead.
func (*StoreAssessmentResultResponse) GetStatus ¶ added in v1.4.0
func (x *StoreAssessmentResultResponse) GetStatus() bool
func (*StoreAssessmentResultResponse) GetStatusMessage ¶ added in v1.4.0
func (x *StoreAssessmentResultResponse) GetStatusMessage() string
func (*StoreAssessmentResultResponse) ProtoMessage ¶ added in v1.3.6
func (*StoreAssessmentResultResponse) ProtoMessage()
func (*StoreAssessmentResultResponse) ProtoReflect ¶ added in v1.3.6
func (x *StoreAssessmentResultResponse) ProtoReflect() protoreflect.Message
func (*StoreAssessmentResultResponse) Reset ¶ added in v1.3.6
func (x *StoreAssessmentResultResponse) Reset()
func (*StoreAssessmentResultResponse) String ¶ added in v1.3.6
func (x *StoreAssessmentResultResponse) String() string
type SubscribeMetricChangeEventRequest ¶ added in v1.4.5
type SubscribeMetricChangeEventRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeMetricChangeEventRequest) Descriptor
deprecated
added in
v1.4.5
func (*SubscribeMetricChangeEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeMetricChangeEventRequest.ProtoReflect.Descriptor instead.
func (*SubscribeMetricChangeEventRequest) ProtoMessage ¶ added in v1.4.5
func (*SubscribeMetricChangeEventRequest) ProtoMessage()
func (*SubscribeMetricChangeEventRequest) ProtoReflect ¶ added in v1.4.5
func (x *SubscribeMetricChangeEventRequest) ProtoReflect() protoreflect.Message
func (*SubscribeMetricChangeEventRequest) Reset ¶ added in v1.4.5
func (x *SubscribeMetricChangeEventRequest) Reset()
func (*SubscribeMetricChangeEventRequest) String ¶ added in v1.4.5
func (x *SubscribeMetricChangeEventRequest) String() string
type UnimplementedOrchestratorServer ¶
type UnimplementedOrchestratorServer struct { }
UnimplementedOrchestratorServer must be embedded to have forward compatible implementations.
func (UnimplementedOrchestratorServer) CreateCertificate ¶ added in v1.4.9
func (UnimplementedOrchestratorServer) CreateCertificate(context.Context, *CreateCertificateRequest) (*Certificate, error)
func (UnimplementedOrchestratorServer) CreateMetric ¶ added in v1.3.14
func (UnimplementedOrchestratorServer) CreateMetric(context.Context, *CreateMetricRequest) (*assessment.Metric, error)
func (UnimplementedOrchestratorServer) DeregisterAssessmentTool ¶
func (UnimplementedOrchestratorServer) DeregisterAssessmentTool(context.Context, *DeregisterAssessmentToolRequest) (*emptypb.Empty, error)
func (UnimplementedOrchestratorServer) GetAssessmentTool ¶
func (UnimplementedOrchestratorServer) GetAssessmentTool(context.Context, *GetAssessmentToolRequest) (*AssessmentTool, error)
func (UnimplementedOrchestratorServer) GetCertificate ¶ added in v1.4.9
func (UnimplementedOrchestratorServer) GetCertificate(context.Context, *GetCertificateRequest) (*Certificate, error)
func (UnimplementedOrchestratorServer) GetCloudService ¶ added in v1.3.11
func (UnimplementedOrchestratorServer) GetCloudService(context.Context, *GetCloudServiceRequest) (*CloudService, error)
func (UnimplementedOrchestratorServer) GetMetric ¶
func (UnimplementedOrchestratorServer) GetMetric(context.Context, *GetMetricRequest) (*assessment.Metric, error)
func (UnimplementedOrchestratorServer) GetMetricConfiguration ¶ added in v1.3.11
func (UnimplementedOrchestratorServer) GetMetricConfiguration(context.Context, *GetMetricConfigurationRequest) (*assessment.MetricConfiguration, error)
func (UnimplementedOrchestratorServer) GetMetricImplementation ¶ added in v1.4.0
func (UnimplementedOrchestratorServer) GetMetricImplementation(context.Context, *GetMetricImplementationRequest) (*assessment.MetricImplementation, error)
func (UnimplementedOrchestratorServer) ListAssessmentResults ¶ added in v1.3.12
func (UnimplementedOrchestratorServer) ListAssessmentResults(context.Context, *assessment.ListAssessmentResultsRequest) (*assessment.ListAssessmentResultsResponse, error)
func (UnimplementedOrchestratorServer) ListAssessmentTools ¶
func (UnimplementedOrchestratorServer) ListAssessmentTools(context.Context, *ListAssessmentToolsRequest) (*ListAssessmentToolsResponse, error)
func (UnimplementedOrchestratorServer) ListCertificates ¶ added in v1.4.9
func (UnimplementedOrchestratorServer) ListCertificates(context.Context, *ListCertificatesRequest) (*ListCertificatesResponse, error)
func (UnimplementedOrchestratorServer) ListCloudServices ¶ added in v1.3.11
func (UnimplementedOrchestratorServer) ListCloudServices(context.Context, *ListCloudServicesRequest) (*ListCloudServicesResponse, error)
func (UnimplementedOrchestratorServer) ListMetricConfigurations ¶ added in v1.3.11
func (UnimplementedOrchestratorServer) ListMetricConfigurations(context.Context, *ListMetricConfigurationRequest) (*ListMetricConfigurationResponse, error)
func (UnimplementedOrchestratorServer) ListMetrics ¶
func (UnimplementedOrchestratorServer) ListMetrics(context.Context, *ListMetricsRequest) (*ListMetricsResponse, error)
func (UnimplementedOrchestratorServer) ListRequirements ¶ added in v1.4.0
func (UnimplementedOrchestratorServer) ListRequirements(context.Context, *ListRequirementsRequest) (*ListRequirementsResponse, error)
func (UnimplementedOrchestratorServer) RegisterAssessmentTool ¶
func (UnimplementedOrchestratorServer) RegisterAssessmentTool(context.Context, *RegisterAssessmentToolRequest) (*AssessmentTool, error)
func (UnimplementedOrchestratorServer) RegisterCloudService ¶ added in v1.3.11
func (UnimplementedOrchestratorServer) RegisterCloudService(context.Context, *RegisterCloudServiceRequest) (*CloudService, error)
func (UnimplementedOrchestratorServer) RemoveCertificate ¶ added in v1.4.9
func (UnimplementedOrchestratorServer) RemoveCertificate(context.Context, *RemoveCertificateRequest) (*emptypb.Empty, error)
func (UnimplementedOrchestratorServer) RemoveCloudService ¶ added in v1.3.11
func (UnimplementedOrchestratorServer) RemoveCloudService(context.Context, *RemoveCloudServiceRequest) (*emptypb.Empty, error)
func (UnimplementedOrchestratorServer) StoreAssessmentResult ¶
func (UnimplementedOrchestratorServer) StoreAssessmentResult(context.Context, *StoreAssessmentResultRequest) (*StoreAssessmentResultResponse, error)
func (UnimplementedOrchestratorServer) StoreAssessmentResults ¶ added in v1.3.6
func (UnimplementedOrchestratorServer) StoreAssessmentResults(Orchestrator_StoreAssessmentResultsServer) error
func (UnimplementedOrchestratorServer) SubscribeMetricChangeEvents ¶ added in v1.4.5
func (UnimplementedOrchestratorServer) SubscribeMetricChangeEvents(*SubscribeMetricChangeEventRequest, Orchestrator_SubscribeMetricChangeEventsServer) error
func (UnimplementedOrchestratorServer) UpdateAssessmentTool ¶
func (UnimplementedOrchestratorServer) UpdateAssessmentTool(context.Context, *UpdateAssessmentToolRequest) (*AssessmentTool, error)
func (UnimplementedOrchestratorServer) UpdateCertificate ¶ added in v1.4.9
func (UnimplementedOrchestratorServer) UpdateCertificate(context.Context, *UpdateCertificateRequest) (*Certificate, error)
func (UnimplementedOrchestratorServer) UpdateCloudService ¶ added in v1.3.11
func (UnimplementedOrchestratorServer) UpdateCloudService(context.Context, *UpdateCloudServiceRequest) (*CloudService, error)
func (UnimplementedOrchestratorServer) UpdateMetric ¶ added in v1.3.14
func (UnimplementedOrchestratorServer) UpdateMetric(context.Context, *UpdateMetricRequest) (*assessment.Metric, error)
func (UnimplementedOrchestratorServer) UpdateMetricConfiguration ¶ added in v1.4.0
func (UnimplementedOrchestratorServer) UpdateMetricConfiguration(context.Context, *UpdateMetricConfigurationRequest) (*assessment.MetricConfiguration, error)
func (UnimplementedOrchestratorServer) UpdateMetricImplementation ¶ added in v1.4.0
func (UnimplementedOrchestratorServer) UpdateMetricImplementation(context.Context, *UpdateMetricImplementationRequest) (*assessment.MetricImplementation, error)
type UnsafeOrchestratorServer ¶
type UnsafeOrchestratorServer interface {
// contains filtered or unexported methods
}
UnsafeOrchestratorServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrchestratorServer will result in compilation errors.
type UpdateAssessmentToolRequest ¶
type UpdateAssessmentToolRequest struct { ToolId string `protobuf:"bytes,1,opt,name=tool_id,json=toolId,proto3" json:"tool_id,omitempty"` Tool *AssessmentTool `protobuf:"bytes,2,opt,name=tool,proto3" json:"tool,omitempty"` // contains filtered or unexported fields }
func (*UpdateAssessmentToolRequest) Descriptor
deprecated
func (*UpdateAssessmentToolRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAssessmentToolRequest.ProtoReflect.Descriptor instead.
func (*UpdateAssessmentToolRequest) GetTool ¶
func (x *UpdateAssessmentToolRequest) GetTool() *AssessmentTool
func (*UpdateAssessmentToolRequest) GetToolId ¶
func (x *UpdateAssessmentToolRequest) GetToolId() string
func (*UpdateAssessmentToolRequest) ProtoMessage ¶
func (*UpdateAssessmentToolRequest) ProtoMessage()
func (*UpdateAssessmentToolRequest) ProtoReflect ¶
func (x *UpdateAssessmentToolRequest) ProtoReflect() protoreflect.Message
func (*UpdateAssessmentToolRequest) Reset ¶
func (x *UpdateAssessmentToolRequest) Reset()
func (*UpdateAssessmentToolRequest) String ¶
func (x *UpdateAssessmentToolRequest) String() string
type UpdateCertificateRequest ¶ added in v1.4.9
type UpdateCertificateRequest struct { CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` Certificate *Certificate `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"` // contains filtered or unexported fields }
func (*UpdateCertificateRequest) Descriptor
deprecated
added in
v1.4.9
func (*UpdateCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCertificateRequest.ProtoReflect.Descriptor instead.
func (*UpdateCertificateRequest) GetCertificate ¶ added in v1.4.9
func (x *UpdateCertificateRequest) GetCertificate() *Certificate
func (*UpdateCertificateRequest) GetCertificateId ¶ added in v1.4.9
func (x *UpdateCertificateRequest) GetCertificateId() string
func (*UpdateCertificateRequest) ProtoMessage ¶ added in v1.4.9
func (*UpdateCertificateRequest) ProtoMessage()
func (*UpdateCertificateRequest) ProtoReflect ¶ added in v1.4.9
func (x *UpdateCertificateRequest) ProtoReflect() protoreflect.Message
func (*UpdateCertificateRequest) Reset ¶ added in v1.4.9
func (x *UpdateCertificateRequest) Reset()
func (*UpdateCertificateRequest) String ¶ added in v1.4.9
func (x *UpdateCertificateRequest) String() string
type UpdateCloudServiceRequest ¶ added in v1.3.11
type UpdateCloudServiceRequest struct { ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` Service *CloudService `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` // contains filtered or unexported fields }
func (*UpdateCloudServiceRequest) Descriptor
deprecated
added in
v1.3.11
func (*UpdateCloudServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCloudServiceRequest.ProtoReflect.Descriptor instead.
func (*UpdateCloudServiceRequest) GetService ¶ added in v1.3.11
func (x *UpdateCloudServiceRequest) GetService() *CloudService
func (*UpdateCloudServiceRequest) GetServiceId ¶ added in v1.3.11
func (x *UpdateCloudServiceRequest) GetServiceId() string
func (*UpdateCloudServiceRequest) ProtoMessage ¶ added in v1.3.11
func (*UpdateCloudServiceRequest) ProtoMessage()
func (*UpdateCloudServiceRequest) ProtoReflect ¶ added in v1.3.11
func (x *UpdateCloudServiceRequest) ProtoReflect() protoreflect.Message
func (*UpdateCloudServiceRequest) Reset ¶ added in v1.3.11
func (x *UpdateCloudServiceRequest) Reset()
func (*UpdateCloudServiceRequest) String ¶ added in v1.3.11
func (x *UpdateCloudServiceRequest) String() string
type UpdateMetricConfigurationRequest ¶ added in v1.4.0
type UpdateMetricConfigurationRequest struct { ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` MetricId string `protobuf:"bytes,2,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"` Configuration *assessment.MetricConfiguration `protobuf:"bytes,3,opt,name=configuration,proto3" json:"configuration,omitempty"` // contains filtered or unexported fields }
func (*UpdateMetricConfigurationRequest) Descriptor
deprecated
added in
v1.4.0
func (*UpdateMetricConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMetricConfigurationRequest.ProtoReflect.Descriptor instead.
func (*UpdateMetricConfigurationRequest) GetConfiguration ¶ added in v1.4.0
func (x *UpdateMetricConfigurationRequest) GetConfiguration() *assessment.MetricConfiguration
func (*UpdateMetricConfigurationRequest) GetMetricId ¶ added in v1.4.0
func (x *UpdateMetricConfigurationRequest) GetMetricId() string
func (*UpdateMetricConfigurationRequest) GetServiceId ¶ added in v1.4.0
func (x *UpdateMetricConfigurationRequest) GetServiceId() string
func (*UpdateMetricConfigurationRequest) ProtoMessage ¶ added in v1.4.0
func (*UpdateMetricConfigurationRequest) ProtoMessage()
func (*UpdateMetricConfigurationRequest) ProtoReflect ¶ added in v1.4.0
func (x *UpdateMetricConfigurationRequest) ProtoReflect() protoreflect.Message
func (*UpdateMetricConfigurationRequest) Reset ¶ added in v1.4.0
func (x *UpdateMetricConfigurationRequest) Reset()
func (*UpdateMetricConfigurationRequest) String ¶ added in v1.4.0
func (x *UpdateMetricConfigurationRequest) String() string
type UpdateMetricImplementationRequest ¶ added in v1.4.0
type UpdateMetricImplementationRequest struct { MetricId string `protobuf:"bytes,1,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"` Implementation *assessment.MetricImplementation `protobuf:"bytes,2,opt,name=implementation,proto3" json:"implementation,omitempty"` // contains filtered or unexported fields }
func (*UpdateMetricImplementationRequest) Descriptor
deprecated
added in
v1.4.0
func (*UpdateMetricImplementationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMetricImplementationRequest.ProtoReflect.Descriptor instead.
func (*UpdateMetricImplementationRequest) GetImplementation ¶ added in v1.4.0
func (x *UpdateMetricImplementationRequest) GetImplementation() *assessment.MetricImplementation
func (*UpdateMetricImplementationRequest) GetMetricId ¶ added in v1.4.0
func (x *UpdateMetricImplementationRequest) GetMetricId() string
func (*UpdateMetricImplementationRequest) ProtoMessage ¶ added in v1.4.0
func (*UpdateMetricImplementationRequest) ProtoMessage()
func (*UpdateMetricImplementationRequest) ProtoReflect ¶ added in v1.4.0
func (x *UpdateMetricImplementationRequest) ProtoReflect() protoreflect.Message
func (*UpdateMetricImplementationRequest) Reset ¶ added in v1.4.0
func (x *UpdateMetricImplementationRequest) Reset()
func (*UpdateMetricImplementationRequest) String ¶ added in v1.4.0
func (x *UpdateMetricImplementationRequest) String() string
type UpdateMetricRequest ¶ added in v1.3.14
type UpdateMetricRequest struct { MetricId string `protobuf:"bytes,1,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"` Metric *assessment.Metric `protobuf:"bytes,2,opt,name=metric,proto3" json:"metric,omitempty"` // contains filtered or unexported fields }
func (*UpdateMetricRequest) Descriptor
deprecated
added in
v1.3.14
func (*UpdateMetricRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMetricRequest.ProtoReflect.Descriptor instead.
func (*UpdateMetricRequest) GetMetric ¶ added in v1.3.14
func (x *UpdateMetricRequest) GetMetric() *assessment.Metric
func (*UpdateMetricRequest) GetMetricId ¶ added in v1.3.14
func (x *UpdateMetricRequest) GetMetricId() string
func (*UpdateMetricRequest) ProtoMessage ¶ added in v1.3.14
func (*UpdateMetricRequest) ProtoMessage()
func (*UpdateMetricRequest) ProtoReflect ¶ added in v1.3.14
func (x *UpdateMetricRequest) ProtoReflect() protoreflect.Message
func (*UpdateMetricRequest) Reset ¶ added in v1.3.14
func (x *UpdateMetricRequest) Reset()
func (*UpdateMetricRequest) String ¶ added in v1.3.14
func (x *UpdateMetricRequest) String() string