orchestrator

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 21 Imported by: 4

Documentation

Overview

Package orchestrator is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRequestIsNil  = errors.New("request is empty")
	ErrServiceIsNil  = errors.New("service is empty")
	ErrNameIsMissing = errors.New("service name is empty")
	ErrIDIsMissing   = errors.New("service ID is empty")
)
View Source
var File_api_orchestrator_orchestrator_proto protoreflect.FileDescriptor
View Source
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,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StoreAssessmentResults",
			Handler:       _Orchestrator_StoreAssessmentResults_Handler,
			ServerStreams: true,
			ClientStreams: 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 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 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 (*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

Value implements https://pkg.go.dev/database/sql/driver#Valuer to indicate how this struct will be saved into an SQL database field.

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 (*DeregisterAssessmentToolRequest) Reset

func (*DeregisterAssessmentToolRequest) 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 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 (*GetMetricConfigurationRequest) Reset added in v1.3.11

func (x *GetMetricConfigurationRequest) Reset()

func (*GetMetricConfigurationRequest) String added in v1.3.11

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"`
	// 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) 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 (*GetMetricImplementationRequest) Reset added in v1.4.0

func (x *GetMetricImplementationRequest) Reset()

func (*GetMetricImplementationRequest) String added in v1.4.0

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"`
	// 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) ProtoMessage

func (*ListAssessmentToolsRequest) ProtoMessage()

func (*ListAssessmentToolsRequest) ProtoReflect

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"`
	// contains filtered or unexported fields
}

func (*ListAssessmentToolsResponse) Descriptor deprecated

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

Deprecated: Use ListAssessmentToolsResponse.ProtoReflect.Descriptor instead.

func (*ListAssessmentToolsResponse) GetTools

func (*ListAssessmentToolsResponse) ProtoMessage

func (*ListAssessmentToolsResponse) ProtoMessage()

func (*ListAssessmentToolsResponse) ProtoReflect

func (*ListAssessmentToolsResponse) Reset

func (x *ListAssessmentToolsResponse) Reset()

func (*ListAssessmentToolsResponse) String

func (x *ListAssessmentToolsResponse) String() string

type ListCloudServicesRequest added in v1.3.11

type ListCloudServicesRequest struct {
	// 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) 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"`
	// 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) 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 (*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 (*ListMetricConfigurationRequest) Reset added in v1.3.11

func (x *ListMetricConfigurationRequest) Reset()

func (*ListMetricConfigurationRequest) String added in v1.3.11

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 (*ListMetricConfigurationResponse) ProtoMessage added in v1.3.11

func (*ListMetricConfigurationResponse) ProtoMessage()

func (*ListMetricConfigurationResponse) ProtoReflect added in v1.3.11

func (*ListMetricConfigurationResponse) Reset added in v1.3.11

func (*ListMetricConfigurationResponse) String added in v1.3.11

type ListMetricsRequest

type ListMetricsRequest struct {
	// contains filtered or unexported fields
}

func (*ListMetricsRequest) Descriptor deprecated

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

Deprecated: Use ListMetricsRequest.ProtoReflect.Descriptor instead.

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"`
	// 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) 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 {
	// 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) 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"`
	// 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) 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 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)
}

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.

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)
	// 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 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 (*RegisterAssessmentToolRequest) ProtoMessage

func (*RegisterAssessmentToolRequest) ProtoMessage()

func (*RegisterAssessmentToolRequest) ProtoReflect

func (*RegisterAssessmentToolRequest) Reset

func (x *RegisterAssessmentToolRequest) Reset()

func (*RegisterAssessmentToolRequest) 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 (*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 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 (*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"`
	MetricIds   []string `protobuf:"bytes,4,rep,name=metric_ids,json=metricIds,proto3" json:"metric_ids,omitempty"`
	// 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) GetMetricIds added in v1.4.0

func (x *Requirement) GetMetricIds() []string

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 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 (*StoreAssessmentResultRequest) ProtoMessage

func (*StoreAssessmentResultRequest) ProtoMessage()

func (*StoreAssessmentResultRequest) ProtoReflect

func (*StoreAssessmentResultRequest) Reset

func (x *StoreAssessmentResultRequest) Reset()

func (*StoreAssessmentResultRequest) 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 (*StoreAssessmentResultResponse) Reset added in v1.3.6

func (x *StoreAssessmentResultResponse) Reset()

func (*StoreAssessmentResultResponse) String added in v1.3.6

type UnimplementedOrchestratorServer

type UnimplementedOrchestratorServer struct {
}

UnimplementedOrchestratorServer must be embedded to have forward compatible implementations.

func (UnimplementedOrchestratorServer) CreateMetric added in v1.3.14

func (UnimplementedOrchestratorServer) DeregisterAssessmentTool

func (UnimplementedOrchestratorServer) GetAssessmentTool

func (UnimplementedOrchestratorServer) GetCloudService added in v1.3.11

func (UnimplementedOrchestratorServer) GetMetric

func (UnimplementedOrchestratorServer) GetMetricConfiguration added in v1.3.11

func (UnimplementedOrchestratorServer) GetMetricImplementation added in v1.4.0

func (UnimplementedOrchestratorServer) ListAssessmentResults added in v1.3.12

func (UnimplementedOrchestratorServer) ListCloudServices added in v1.3.11

func (UnimplementedOrchestratorServer) ListMetricConfigurations added in v1.3.11

func (UnimplementedOrchestratorServer) ListMetrics

func (UnimplementedOrchestratorServer) ListRequirements added in v1.4.0

func (UnimplementedOrchestratorServer) RegisterAssessmentTool

func (UnimplementedOrchestratorServer) RegisterCloudService added in v1.3.11

func (UnimplementedOrchestratorServer) RemoveCloudService added in v1.3.11

func (UnimplementedOrchestratorServer) StoreAssessmentResults added in v1.3.6

func (UnimplementedOrchestratorServer) UpdateAssessmentTool

func (UnimplementedOrchestratorServer) UpdateCloudService added in v1.3.11

func (UnimplementedOrchestratorServer) UpdateMetric added in v1.3.14

func (UnimplementedOrchestratorServer) UpdateMetricConfiguration added in v1.4.0

func (UnimplementedOrchestratorServer) UpdateMetricImplementation added in v1.4.0

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 (*UpdateAssessmentToolRequest) GetToolId

func (x *UpdateAssessmentToolRequest) GetToolId() string

func (*UpdateAssessmentToolRequest) ProtoMessage

func (*UpdateAssessmentToolRequest) ProtoMessage()

func (*UpdateAssessmentToolRequest) ProtoReflect

func (*UpdateAssessmentToolRequest) Reset

func (x *UpdateAssessmentToolRequest) Reset()

func (*UpdateAssessmentToolRequest) String

func (x *UpdateAssessmentToolRequest) 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 (*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 (*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 (*UpdateMetricConfigurationRequest) Reset added in v1.4.0

func (*UpdateMetricConfigurationRequest) String added in v1.4.0

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 (*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 (*UpdateMetricImplementationRequest) Reset added in v1.4.0

func (*UpdateMetricImplementationRequest) String added in v1.4.0

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

Jump to

Keyboard shortcuts

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