orchestrator

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 20 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 (
	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")
	ErrCatalogIsNil       = errors.New("catalog is empty")
	ErrCatalogIDIsMissing = errors.New("catalog ID is empty")
	ErrToEIDIsMissing     = errors.New("toe ID is empty")
)
View Source
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.

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: "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,
		},
		{
			MethodName: "CreateCatalog",
			Handler:    _Orchestrator_CreateCatalog_Handler,
		},
		{
			MethodName: "GetCatalog",
			Handler:    _Orchestrator_GetCatalog_Handler,
		},
		{
			MethodName: "ListCatalogs",
			Handler:    _Orchestrator_ListCatalogs_Handler,
		},
		{
			MethodName: "UpdateCatalog",
			Handler:    _Orchestrator_UpdateCatalog_Handler,
		},
		{
			MethodName: "RemoveCatalog",
			Handler:    _Orchestrator_RemoveCatalog_Handler,
		},
		{
			MethodName: "CreateTargetOfEvaluation",
			Handler:    _Orchestrator_CreateTargetOfEvaluation_Handler,
		},
		{
			MethodName: "GetTargetOfEvaluation",
			Handler:    _Orchestrator_GetTargetOfEvaluation_Handler,
		},
		{
			MethodName: "ListTargetsOfEvaluation",
			Handler:    _Orchestrator_ListTargetsOfEvaluation_Handler,
		},
		{
			MethodName: "UpdateTargetOfEvaluation",
			Handler:    _Orchestrator_UpdateTargetOfEvaluation_Handler,
		},
		{
			MethodName: "RemoveTargetOfEvaluation",
			Handler:    _Orchestrator_RemoveTargetOfEvaluation_Handler,
		},
		{
			MethodName: "GetCategory",
			Handler:    _Orchestrator_GetCategory_Handler,
		},
		{
			MethodName: "GetControl",
			Handler:    _Orchestrator_GetControl_Handler,
		},
		{
			MethodName: "ListControls",
			Handler:    _Orchestrator_ListControls_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 Catalog added in v1.6.0

type Catalog 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"`
	Categories  []*Category `protobuf:"bytes,4,rep,name=categories,proto3" json:"categories,omitempty" gorm:"constraint:OnDelete:CASCADE"`
	// contains filtered or unexported fields
}

func (*Catalog) Descriptor deprecated added in v1.6.0

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

Deprecated: Use Catalog.ProtoReflect.Descriptor instead.

func (*Catalog) GetCategories added in v1.6.0

func (x *Catalog) GetCategories() []*Category

func (*Catalog) GetDescription added in v1.6.0

func (x *Catalog) GetDescription() string

func (*Catalog) GetId added in v1.6.0

func (x *Catalog) GetId() string

func (*Catalog) GetName added in v1.6.0

func (x *Catalog) GetName() string

func (*Catalog) ProtoMessage added in v1.6.0

func (*Catalog) ProtoMessage()

func (*Catalog) ProtoReflect added in v1.6.0

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

func (*Catalog) Reset added in v1.6.0

func (x *Catalog) Reset()

func (*Catalog) String added in v1.6.0

func (x *Catalog) String() string

type Category added in v1.6.0

type Category struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" gorm:"primaryKey"`
	// Reference to the catalog this category belongs to.
	CatalogId   string     `protobuf:"bytes,2,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty" gorm:"primaryKey"`
	Description string     `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Controls    []*Control `` /* 176-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Category) Descriptor deprecated added in v1.6.0

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

Deprecated: Use Category.ProtoReflect.Descriptor instead.

func (*Category) GetCatalogId added in v1.6.0

func (x *Category) GetCatalogId() string

func (*Category) GetControls added in v1.6.0

func (x *Category) GetControls() []*Control

func (*Category) GetDescription added in v1.6.0

func (x *Category) GetDescription() string

func (*Category) GetName added in v1.6.0

func (x *Category) GetName() string

func (*Category) ProtoMessage added in v1.6.0

func (*Category) ProtoMessage()

func (*Category) ProtoReflect added in v1.6.0

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

func (*Category) Reset added in v1.6.0

func (x *Category) Reset()

func (*Category) String added in v1.6.0

func (x *Category) 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"`
	CloudServiceId string `protobuf:"bytes,3,opt,name=cloud_service_id,json=cloudServiceId,proto3" json:"cloud_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" gorm:"constraint:OnDelete:CASCADE"`
	// 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) GetCloudServiceId added in v1.6.0

func (x *Certificate) GetCloudServiceId() 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) 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"`
	CatalogsInScope   []*Catalog           `` /* 147-byte string literal not displayed */
	ConfiguredMetrics []*assessment.Metric `` /* 151-byte string literal not displayed */
	// 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) GetCatalogsInScope added in v1.6.0

func (x *CloudService) GetCatalogsInScope() []*Catalog

func (*CloudService) GetConfiguredMetrics added in v1.5.4

func (x *CloudService) GetConfiguredMetrics() []*assessment.Metric

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) 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(ctx context.Context, cld *CloudService, err error)

type Control added in v1.6.0

type Control struct {

	// A short name of the control, e.g. OPS-01, as used in OSCAL; it is not a
	// unique ID!
	Id                string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primaryKey"`
	CategoryName      string `protobuf:"bytes,2,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty" gorm:"primaryKey"`
	CategoryCatalogId string `` /* 132-byte string literal not displayed */
	// Human-readable name of the control
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the control
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// List of sub - controls -
	//
	//	this is in accordance with the OSCAL model.
	Controls []*Control `` /* 217-byte string literal not displayed */
	// 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 `` /* 128-byte string literal not displayed */
	ParentControlId                *string              `protobuf:"bytes,8,opt,name=parent_control_id,json=parentControlId,proto3,oneof" json:"parent_control_id,omitempty"`
	ParentControlCategoryName      *string              `` /* 146-byte string literal not displayed */
	ParentControlCategoryCatalogId *string              `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

Control represents a certain Control that needs to be fulfilled. It could be a Control in a certification catalog. It follows the OSCAL model. A requirement in the EUCS terminology, e.g., is represented as the lowest sub-control.

func (*Control) Descriptor deprecated added in v1.6.0

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

Deprecated: Use Control.ProtoReflect.Descriptor instead.

func (*Control) GetCategoryCatalogId added in v1.6.0

func (x *Control) GetCategoryCatalogId() string

func (*Control) GetCategoryName added in v1.6.0

func (x *Control) GetCategoryName() string

func (*Control) GetControls added in v1.6.0

func (x *Control) GetControls() []*Control

func (*Control) GetDescription added in v1.6.0

func (x *Control) GetDescription() string

func (*Control) GetId added in v1.6.0

func (x *Control) GetId() string

func (*Control) GetMetrics added in v1.6.0

func (x *Control) GetMetrics() []*assessment.Metric

func (*Control) GetName added in v1.6.0

func (x *Control) GetName() string

func (*Control) GetParentControlCategoryCatalogId added in v1.6.0

func (x *Control) GetParentControlCategoryCatalogId() string

func (*Control) GetParentControlCategoryName added in v1.6.0

func (x *Control) GetParentControlCategoryName() string

func (*Control) GetParentControlId added in v1.6.0

func (x *Control) GetParentControlId() string

func (*Control) ProtoMessage added in v1.6.0

func (*Control) ProtoMessage()

func (*Control) ProtoReflect added in v1.6.0

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

func (*Control) Reset added in v1.6.0

func (x *Control) Reset()

func (*Control) String added in v1.6.0

func (x *Control) String() string

type CreateCatalogRequest added in v1.6.0

type CreateCatalogRequest struct {
	Catalog *Catalog `protobuf:"bytes,1,opt,name=catalog,proto3" json:"catalog,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCatalogRequest) Descriptor deprecated added in v1.6.0

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

Deprecated: Use CreateCatalogRequest.ProtoReflect.Descriptor instead.

func (*CreateCatalogRequest) GetCatalog added in v1.6.0

func (x *CreateCatalogRequest) GetCatalog() *Catalog

func (*CreateCatalogRequest) ProtoMessage added in v1.6.0

func (*CreateCatalogRequest) ProtoMessage()

func (*CreateCatalogRequest) ProtoReflect added in v1.6.0

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

func (*CreateCatalogRequest) Reset added in v1.6.0

func (x *CreateCatalogRequest) Reset()

func (*CreateCatalogRequest) String added in v1.6.0

func (x *CreateCatalogRequest) String() string

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 CreateTargetOfEvaluationRequest added in v1.6.0

type CreateTargetOfEvaluationRequest struct {
	Toe *TargetOfEvaluation `protobuf:"bytes,1,opt,name=toe,proto3" json:"toe,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTargetOfEvaluationRequest) Descriptor deprecated added in v1.6.0

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

Deprecated: Use CreateTargetOfEvaluationRequest.ProtoReflect.Descriptor instead.

func (*CreateTargetOfEvaluationRequest) GetToe added in v1.6.0

func (*CreateTargetOfEvaluationRequest) ProtoMessage added in v1.6.0

func (*CreateTargetOfEvaluationRequest) ProtoMessage()

func (*CreateTargetOfEvaluationRequest) ProtoReflect added in v1.6.0

func (*CreateTargetOfEvaluationRequest) Reset added in v1.6.0

func (*CreateTargetOfEvaluationRequest) String added in v1.6.0

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 GetCatalogRequest added in v1.6.0

type GetCatalogRequest struct {
	CatalogId string `protobuf:"bytes,1,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCatalogRequest) Descriptor deprecated added in v1.6.0

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

Deprecated: Use GetCatalogRequest.ProtoReflect.Descriptor instead.

func (*GetCatalogRequest) GetCatalogId added in v1.6.0

func (x *GetCatalogRequest) GetCatalogId() string

func (*GetCatalogRequest) ProtoMessage added in v1.6.0

func (*GetCatalogRequest) ProtoMessage()

func (*GetCatalogRequest) ProtoReflect added in v1.6.0

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

func (*GetCatalogRequest) Reset added in v1.6.0

func (x *GetCatalogRequest) Reset()

func (*GetCatalogRequest) String added in v1.6.0

func (x *GetCatalogRequest) String() string

type GetCategoryRequest added in v1.6.0

type GetCategoryRequest struct {
	CatalogId    string `protobuf:"bytes,1,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	CategoryName string `protobuf:"bytes,2,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCategoryRequest) Descriptor deprecated added in v1.6.0

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

Deprecated: Use GetCategoryRequest.ProtoReflect.Descriptor instead.

func (*GetCategoryRequest) GetCatalogId added in v1.6.0

func (x *GetCategoryRequest) GetCatalogId() string

func (*GetCategoryRequest) GetCategoryName added in v1.6.0

func (x *GetCategoryRequest) GetCategoryName() string

func (*GetCategoryRequest) ProtoMessage added in v1.6.0

func (*GetCategoryRequest) ProtoMessage()

func (*GetCategoryRequest) ProtoReflect added in v1.6.0

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

func (*GetCategoryRequest) Reset added in v1.6.0

func (x *GetCategoryRequest) Reset()

func (*GetCategoryRequest) String added in v1.6.0

func (x *GetCategoryRequest) 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 {
	CloudServiceId string `protobuf:"bytes,1,opt,name=cloud_service_id,json=cloudServiceId,proto3" json:"cloud_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) GetCloudServiceId added in v1.6.0

func (x *GetCloudServiceRequest) GetCloudServiceId() 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 GetControlRequest added in v1.6.0

type GetControlRequest struct {
	CatalogId    string `protobuf:"bytes,1,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	CategoryName string `protobuf:"bytes,2,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"`
	ControlId    string `protobuf:"bytes,3,opt,name=control_id,json=controlId,proto3" json:"control_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetControlRequest) Descriptor deprecated added in v1.6.0

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

Deprecated: Use GetControlRequest.ProtoReflect.Descriptor instead.

func (*GetControlRequest) GetCatalogId added in v1.6.0

func (x *GetControlRequest) GetCatalogId() string

func (*GetControlRequest) GetCategoryName added in v1.6.0

func (x *GetControlRequest) GetCategoryName() string

func (*GetControlRequest) GetControlId added in v1.6.0

func (x *GetControlRequest) GetControlId() string

func (*GetControlRequest) ProtoMessage added in v1.6.0

func (*GetControlRequest) ProtoMessage()

func (*GetControlRequest) ProtoReflect added in v1.6.0

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

func (*GetControlRequest) Reset added in v1.6.0

func (x *GetControlRequest) Reset()

func (*GetControlRequest) String added in v1.6.0

func (x *GetControlRequest) String() string

type GetMetricConfigurationRequest added in v1.3.11

type GetMetricConfigurationRequest struct {
	CloudServiceId string `protobuf:"bytes,1,opt,name=cloud_service_id,json=cloudServiceId,proto3" json:"cloud_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) GetCloudServiceId added in v1.6.0

func (x *GetMetricConfigurationRequest) GetCloudServiceId() string

func (*GetMetricConfigurationRequest) GetMetricId added in v1.3.11

func (x *GetMetricConfigurationRequest) GetMetricId() 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"`
	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 (*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 GetTargetOfEvaluationRequest added in v1.6.0

type GetTargetOfEvaluationRequest struct {
	CloudServiceId string `protobuf:"bytes,1,opt,name=cloud_service_id,json=cloudServiceId,proto3" json:"cloud_service_id,omitempty"`
	CatalogId      string `protobuf:"bytes,2,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTargetOfEvaluationRequest) Descriptor deprecated added in v1.6.0

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

Deprecated: Use GetTargetOfEvaluationRequest.ProtoReflect.Descriptor instead.

func (*GetTargetOfEvaluationRequest) GetCatalogId added in v1.6.0

func (x *GetTargetOfEvaluationRequest) GetCatalogId() string

func (*GetTargetOfEvaluationRequest) GetCloudServiceId added in v1.6.0

func (x *GetTargetOfEvaluationRequest) GetCloudServiceId() string

func (*GetTargetOfEvaluationRequest) ProtoMessage added in v1.6.0

func (*GetTargetOfEvaluationRequest) ProtoMessage()

func (*GetTargetOfEvaluationRequest) ProtoReflect added in v1.6.0

func (*GetTargetOfEvaluationRequest) Reset added in v1.6.0

func (x *GetTargetOfEvaluationRequest) Reset()

func (*GetTargetOfEvaluationRequest) String added in v1.6.0

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"`
	OrderBy   string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Asc       bool   `protobuf:"varint,5,opt,name=asc,proto3" json:"asc,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAssessmentToolsRequest) Descriptor deprecated

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

Deprecated: Use ListAssessmentToolsRequest.ProtoReflect.Descriptor instead.

func (*ListAssessmentToolsRequest) GetAsc added in v1.4.17

func (x *ListAssessmentToolsRequest) GetAsc() bool

func (*ListAssessmentToolsRequest) GetMetricId

func (x *ListAssessmentToolsRequest) GetMetricId() string

func (*ListAssessmentToolsRequest) GetOrderBy added in v1.4.17

func (x *ListAssessmentToolsRequest) GetOrderBy() 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 (*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 (*ListAssessmentToolsResponse) ProtoMessage

func (*ListAssessmentToolsResponse) ProtoMessage()

func (*ListAssessmentToolsResponse) ProtoReflect

func (*ListAssessmentToolsResponse) Reset

func (x *ListAssessmentToolsResponse) Reset()

func (*ListAssessmentToolsResponse) String

func (x *ListAssessmentToolsResponse) String() string

type ListCatalogsRequest added in v1.6.0

type ListCatalogsRequest 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"`
	OrderBy   string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Asc       bool   `protobuf:"varint,4,opt,name=asc,proto3" json:"asc,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCatalogsRequest) Descriptor deprecated added in v1.6.0

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

Deprecated: Use ListCatalogsRequest.ProtoReflect.Descriptor instead.

func (*ListCatalogsRequest) GetAsc added in v1.6.0

func (x *ListCatalogsRequest) GetAsc() bool

func (*ListCatalogsRequest) GetOrderBy added in v1.6.0

func (x *ListCatalogsRequest) GetOrderBy() string

func (*ListCatalogsRequest) GetPageSize added in v1.6.0

func (x *ListCatalogsRequest) GetPageSize() int32

func (*ListCatalogsRequest) GetPageToken added in v1.6.0

func (x *ListCatalogsRequest) GetPageToken() string

func (*ListCatalogsRequest) ProtoMessage added in v1.6.0

func (*ListCatalogsRequest) ProtoMessage()

func (*ListCatalogsRequest) ProtoReflect added in v1.6.0

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

func (*ListCatalogsRequest) Reset added in v1.6.0

func (x *ListCatalogsRequest) Reset()

func (*ListCatalogsRequest) String added in v1.6.0

func (x *ListCatalogsRequest) String() string

type ListCatalogsResponse added in v1.6.0

type ListCatalogsResponse struct {
	Catalogs      []*Catalog `protobuf:"bytes,1,rep,name=catalogs,proto3" json:"catalogs,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 (*ListCatalogsResponse) Descriptor deprecated added in v1.6.0

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

Deprecated: Use ListCatalogsResponse.ProtoReflect.Descriptor instead.

func (*ListCatalogsResponse) GetCatalogs added in v1.6.0

func (x *ListCatalogsResponse) GetCatalogs() []*Catalog

func (*ListCatalogsResponse) GetNextPageToken added in v1.6.0

func (x *ListCatalogsResponse) GetNextPageToken() string

func (*ListCatalogsResponse) ProtoMessage added in v1.6.0

func (*ListCatalogsResponse) ProtoMessage()

func (*ListCatalogsResponse) ProtoReflect added in v1.6.0

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

func (*ListCatalogsResponse) Reset added in v1.6.0

func (x *ListCatalogsResponse) Reset()

func (*ListCatalogsResponse) String added in v1.6.0

func (x *ListCatalogsResponse) 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"`
	OrderBy   string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Asc       bool   `protobuf:"varint,4,opt,name=asc,proto3" json:"asc,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) GetAsc added in v1.4.17

func (x *ListCertificatesRequest) GetAsc() bool

func (*ListCertificatesRequest) GetOrderBy added in v1.4.17

func (x *ListCertificatesRequest) GetOrderBy() string

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"`
	OrderBy   string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Asc       bool   `protobuf:"varint,4,opt,name=asc,proto3" json:"asc,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) GetAsc added in v1.4.17

func (x *ListCloudServicesRequest) GetAsc() bool

func (*ListCloudServicesRequest) GetOrderBy added in v1.4.17

func (x *ListCloudServicesRequest) GetOrderBy() string

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 (*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 ListControlsRequest added in v1.6.0

type ListControlsRequest 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"`
	OrderBy   string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Asc       bool   `protobuf:"varint,4,opt,name=asc,proto3" json:"asc,omitempty"`
	// return either all controls or only the controls of the specified category
	CatalogId    string `protobuf:"bytes,5,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	CategoryName string `protobuf:"bytes,6,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListControlsRequest) Descriptor deprecated added in v1.6.0

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

Deprecated: Use ListControlsRequest.ProtoReflect.Descriptor instead.

func (*ListControlsRequest) GetAsc added in v1.6.0

func (x *ListControlsRequest) GetAsc() bool

func (*ListControlsRequest) GetCatalogId added in v1.6.0

func (x *ListControlsRequest) GetCatalogId() string

func (*ListControlsRequest) GetCategoryName added in v1.6.0

func (x *ListControlsRequest) GetCategoryName() string

func (*ListControlsRequest) GetOrderBy added in v1.6.0

func (x *ListControlsRequest) GetOrderBy() string

func (*ListControlsRequest) GetPageSize added in v1.6.0

func (x *ListControlsRequest) GetPageSize() int32

func (*ListControlsRequest) GetPageToken added in v1.6.0

func (x *ListControlsRequest) GetPageToken() string

func (*ListControlsRequest) ProtoMessage added in v1.6.0

func (*ListControlsRequest) ProtoMessage()

func (*ListControlsRequest) ProtoReflect added in v1.6.0

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

func (*ListControlsRequest) Reset added in v1.6.0

func (x *ListControlsRequest) Reset()

func (*ListControlsRequest) String added in v1.6.0

func (x *ListControlsRequest) String() string

type ListControlsResponse added in v1.6.0

type ListControlsResponse struct {
	Controls      []*Control `protobuf:"bytes,1,rep,name=controls,proto3" json:"controls,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 (*ListControlsResponse) Descriptor deprecated added in v1.6.0

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

Deprecated: Use ListControlsResponse.ProtoReflect.Descriptor instead.

func (*ListControlsResponse) GetControls added in v1.6.0

func (x *ListControlsResponse) GetControls() []*Control

func (*ListControlsResponse) GetNextPageToken added in v1.6.0

func (x *ListControlsResponse) GetNextPageToken() string

func (*ListControlsResponse) ProtoMessage added in v1.6.0

func (*ListControlsResponse) ProtoMessage()

func (*ListControlsResponse) ProtoReflect added in v1.6.0

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

func (*ListControlsResponse) Reset added in v1.6.0

func (x *ListControlsResponse) Reset()

func (*ListControlsResponse) String added in v1.6.0

func (x *ListControlsResponse) String() string

type ListMetricConfigurationRequest added in v1.3.11

type ListMetricConfigurationRequest struct {
	CloudServiceId string `protobuf:"bytes,1,opt,name=cloud_service_id,json=cloudServiceId,proto3" json:"cloud_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) GetCloudServiceId added in v1.6.0

func (x *ListMetricConfigurationRequest) GetCloudServiceId() 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 {
	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"`
	OrderBy   string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Asc       bool   `protobuf:"varint,4,opt,name=asc,proto3" json:"asc,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMetricsRequest) Descriptor deprecated

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

Deprecated: Use ListMetricsRequest.ProtoReflect.Descriptor instead.

func (*ListMetricsRequest) GetAsc added in v1.4.17

func (x *ListMetricsRequest) GetAsc() bool

func (*ListMetricsRequest) GetOrderBy added in v1.4.17

func (x *ListMetricsRequest) GetOrderBy() string

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 ListTargetsOfEvaluationRequest added in v1.6.0

type ListTargetsOfEvaluationRequest 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"`
	OrderBy   string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Asc       bool   `protobuf:"varint,4,opt,name=asc,proto3" json:"asc,omitempty"`
	// We cannot create additional bindings when the parameter is optional so we
	// check for != "" in the method to see if it is set when the service is
	// specified, return all ToEs that evaluate the given service for any catalog
	CloudServiceId string `protobuf:"bytes,5,opt,name=cloud_service_id,json=cloudServiceId,proto3" json:"cloud_service_id,omitempty"`
	// when the catalog is specified, return all ToEs that evaluate the given
	// catalog for any service
	CatalogId string `protobuf:"bytes,6,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTargetsOfEvaluationRequest) Descriptor deprecated added in v1.6.0

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

Deprecated: Use ListTargetsOfEvaluationRequest.ProtoReflect.Descriptor instead.

func (*ListTargetsOfEvaluationRequest) GetAsc added in v1.6.0

func (*ListTargetsOfEvaluationRequest) GetCatalogId added in v1.6.0

func (x *ListTargetsOfEvaluationRequest) GetCatalogId() string

func (*ListTargetsOfEvaluationRequest) GetCloudServiceId added in v1.6.0

func (x *ListTargetsOfEvaluationRequest) GetCloudServiceId() string

func (*ListTargetsOfEvaluationRequest) GetOrderBy added in v1.6.0

func (x *ListTargetsOfEvaluationRequest) GetOrderBy() string

func (*ListTargetsOfEvaluationRequest) GetPageSize added in v1.6.0

func (x *ListTargetsOfEvaluationRequest) GetPageSize() int32

func (*ListTargetsOfEvaluationRequest) GetPageToken added in v1.6.0

func (x *ListTargetsOfEvaluationRequest) GetPageToken() string

func (*ListTargetsOfEvaluationRequest) ProtoMessage added in v1.6.0

func (*ListTargetsOfEvaluationRequest) ProtoMessage()

func (*ListTargetsOfEvaluationRequest) ProtoReflect added in v1.6.0

func (*ListTargetsOfEvaluationRequest) Reset added in v1.6.0

func (x *ListTargetsOfEvaluationRequest) Reset()

func (*ListTargetsOfEvaluationRequest) String added in v1.6.0

type ListTargetsOfEvaluationResponse added in v1.6.0

type ListTargetsOfEvaluationResponse struct {
	Toes          []*TargetOfEvaluation `protobuf:"bytes,1,rep,name=toes,proto3" json:"toes,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 (*ListTargetsOfEvaluationResponse) Descriptor deprecated added in v1.6.0

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

Deprecated: Use ListTargetsOfEvaluationResponse.ProtoReflect.Descriptor instead.

func (*ListTargetsOfEvaluationResponse) GetNextPageToken added in v1.6.0

func (x *ListTargetsOfEvaluationResponse) GetNextPageToken() string

func (*ListTargetsOfEvaluationResponse) GetToes added in v1.6.0

func (*ListTargetsOfEvaluationResponse) ProtoMessage added in v1.6.0

func (*ListTargetsOfEvaluationResponse) ProtoMessage()

func (*ListTargetsOfEvaluationResponse) ProtoReflect added in v1.6.0

func (*ListTargetsOfEvaluationResponse) Reset added in v1.6.0

func (*ListTargetsOfEvaluationResponse) String added in v1.6.0

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"`
	// The metric that is changing.
	MetricId string `protobuf:"bytes,2,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"`
	// Optionally, the service id that is affected by this change. Primarily
	// concerns metric configuration changes.
	CloudServiceId string `protobuf:"bytes,3,opt,name=cloud_service_id,json=cloudServiceId,proto3" json:"cloud_service_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) GetCloudServiceId added in v1.6.0

func (x *MetricChangeEvent) GetCloudServiceId() string

func (*MetricChangeEvent) GetMetricId added in v1.4.5

func (x *MetricChangeEvent) GetMetricId() string

func (*MetricChangeEvent) GetType added in v1.4.5

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) Enum added in v1.4.5

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 (MetricChangeEvent_Type) String added in v1.4.5

func (x MetricChangeEvent_Type) String() string

func (MetricChangeEvent_Type) Type added in v1.4.5

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)
	// 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)
	// Creates a new catalog
	CreateCatalog(ctx context.Context, in *CreateCatalogRequest, opts ...grpc.CallOption) (*Catalog, error)
	// Retrieves a catalog
	GetCatalog(ctx context.Context, in *GetCatalogRequest, opts ...grpc.CallOption) (*Catalog, error)
	// Lists all target catalogs
	ListCatalogs(ctx context.Context, in *ListCatalogsRequest, opts ...grpc.CallOption) (*ListCatalogsResponse, error)
	// Updates an existing certificate
	UpdateCatalog(ctx context.Context, in *UpdateCatalogRequest, opts ...grpc.CallOption) (*Catalog, error)
	// Removes a catalog
	RemoveCatalog(ctx context.Context, in *RemoveCatalogRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Creates a new Target of Evaluation
	CreateTargetOfEvaluation(ctx context.Context, in *CreateTargetOfEvaluationRequest, opts ...grpc.CallOption) (*TargetOfEvaluation, error)
	// Retrieves a Target of Evaluation
	GetTargetOfEvaluation(ctx context.Context, in *GetTargetOfEvaluationRequest, opts ...grpc.CallOption) (*TargetOfEvaluation, error)
	// Lists all Targets of Evaluation
	ListTargetsOfEvaluation(ctx context.Context, in *ListTargetsOfEvaluationRequest, opts ...grpc.CallOption) (*ListTargetsOfEvaluationResponse, error)
	// Updates an existing Target of Evaluation
	UpdateTargetOfEvaluation(ctx context.Context, in *UpdateTargetOfEvaluationRequest, opts ...grpc.CallOption) (*TargetOfEvaluation, error)
	// Removes a Target of Evaluation
	RemoveTargetOfEvaluation(ctx context.Context, in *RemoveTargetOfEvaluationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Retrieves a Category
	GetCategory(ctx context.Context, in *GetCategoryRequest, opts ...grpc.CallOption) (*Category, error)
	// Retrieves a Control
	GetControl(ctx context.Context, in *GetControlRequest, opts ...grpc.CallOption) (*Control, error)
	// Lists all Controls (optionally only controls related to a certain category)
	ListControls(ctx context.Context, in *ListControlsRequest, opts ...grpc.CallOption) (*ListControlsResponse, 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)
	// 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)
	// Creates a new catalog
	CreateCatalog(context.Context, *CreateCatalogRequest) (*Catalog, error)
	// Retrieves a catalog
	GetCatalog(context.Context, *GetCatalogRequest) (*Catalog, error)
	// Lists all target catalogs
	ListCatalogs(context.Context, *ListCatalogsRequest) (*ListCatalogsResponse, error)
	// Updates an existing certificate
	UpdateCatalog(context.Context, *UpdateCatalogRequest) (*Catalog, error)
	// Removes a catalog
	RemoveCatalog(context.Context, *RemoveCatalogRequest) (*emptypb.Empty, error)
	// Creates a new Target of Evaluation
	CreateTargetOfEvaluation(context.Context, *CreateTargetOfEvaluationRequest) (*TargetOfEvaluation, error)
	// Retrieves a Target of Evaluation
	GetTargetOfEvaluation(context.Context, *GetTargetOfEvaluationRequest) (*TargetOfEvaluation, error)
	// Lists all Targets of Evaluation
	ListTargetsOfEvaluation(context.Context, *ListTargetsOfEvaluationRequest) (*ListTargetsOfEvaluationResponse, error)
	// Updates an existing Target of Evaluation
	UpdateTargetOfEvaluation(context.Context, *UpdateTargetOfEvaluationRequest) (*TargetOfEvaluation, error)
	// Removes a Target of Evaluation
	RemoveTargetOfEvaluation(context.Context, *RemoveTargetOfEvaluationRequest) (*emptypb.Empty, error)
	// Retrieves a Category
	GetCategory(context.Context, *GetCategoryRequest) (*Category, error)
	// Retrieves a Control
	GetControl(context.Context, *GetControlRequest) (*Control, error)
	// Lists all Controls (optionally only controls related to a certain category)
	ListControls(context.Context, *ListControlsRequest) (*ListControlsResponse, 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 (*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 RemoveCatalogRequest added in v1.6.0

type RemoveCatalogRequest struct {
	CatalogId string `protobuf:"bytes,1,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveCatalogRequest) Descriptor deprecated added in v1.6.0

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

Deprecated: Use RemoveCatalogRequest.ProtoReflect.Descriptor instead.

func (*RemoveCatalogRequest) GetCatalogId added in v1.6.0

func (x *RemoveCatalogRequest) GetCatalogId() string

func (*RemoveCatalogRequest) ProtoMessage added in v1.6.0

func (*RemoveCatalogRequest) ProtoMessage()

func (*RemoveCatalogRequest) ProtoReflect added in v1.6.0

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

func (*RemoveCatalogRequest) Reset added in v1.6.0

func (x *RemoveCatalogRequest) Reset()

func (*RemoveCatalogRequest) String added in v1.6.0

func (x *RemoveCatalogRequest) 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 {
	CloudServiceId string `protobuf:"bytes,1,opt,name=cloud_service_id,json=cloudServiceId,proto3" json:"cloud_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) GetCloudServiceId added in v1.6.0

func (x *RemoveCloudServiceRequest) GetCloudServiceId() 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 RemoveTargetOfEvaluationRequest added in v1.6.0

type RemoveTargetOfEvaluationRequest struct {
	CloudServiceId string `protobuf:"bytes,1,opt,name=cloud_service_id,json=cloudServiceId,proto3" json:"cloud_service_id,omitempty"`
	CatalogId      string `protobuf:"bytes,2,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveTargetOfEvaluationRequest) Descriptor deprecated added in v1.6.0

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

Deprecated: Use RemoveTargetOfEvaluationRequest.ProtoReflect.Descriptor instead.

func (*RemoveTargetOfEvaluationRequest) GetCatalogId added in v1.6.0

func (x *RemoveTargetOfEvaluationRequest) GetCatalogId() string

func (*RemoveTargetOfEvaluationRequest) GetCloudServiceId added in v1.6.0

func (x *RemoveTargetOfEvaluationRequest) GetCloudServiceId() string

func (*RemoveTargetOfEvaluationRequest) ProtoMessage added in v1.6.0

func (*RemoveTargetOfEvaluationRequest) ProtoMessage()

func (*RemoveTargetOfEvaluationRequest) ProtoReflect added in v1.6.0

func (*RemoveTargetOfEvaluationRequest) Reset added in v1.6.0

func (*RemoveTargetOfEvaluationRequest) String added in v1.6.0

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) Descriptor() ([]byte, []int)

Deprecated: Use State.ProtoReflect.Descriptor instead.

func (*State) GetCertificateId added in v1.4.9

func (x *State) GetCertificateId() string

func (*State) GetId added in v1.4.9

func (x *State) GetId() string

func (*State) GetState added in v1.4.9

func (x *State) GetState() string

func (*State) GetTimestamp added in v1.4.9

func (x *State) GetTimestamp() string

func (*State) GetTreeId added in v1.4.9

func (x *State) GetTreeId() string

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

func (*State) Reset added in v1.4.9

func (x *State) Reset()

func (*State) String added in v1.4.9

func (x *State) 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 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 (*SubscribeMetricChangeEventRequest) Reset added in v1.4.5

func (*SubscribeMetricChangeEventRequest) String added in v1.4.5

type TargetOfEvaluation added in v1.6.0

type TargetOfEvaluation struct {
	CloudServiceId string `protobuf:"bytes,1,opt,name=cloud_service_id,json=cloudServiceId,proto3" json:"cloud_service_id,omitempty" gorm:"primaryKey"`
	CatalogId      string `protobuf:"bytes,2,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty" gorm:"primaryKey"`
	// an assurance level is not offered by every catalog, therefore it is
	// optional
	AssuranceLevel *string `protobuf:"bytes,3,opt,name=assurance_level,json=assuranceLevel,proto3,oneof" json:"assurance_level,omitempty"`
	// contains filtered or unexported fields
}

A Target of Evaluation binds a cloud service to a catalog, so the service is evaluated regarding this catalog's controls

func (*TargetOfEvaluation) Descriptor deprecated added in v1.6.0

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

Deprecated: Use TargetOfEvaluation.ProtoReflect.Descriptor instead.

func (*TargetOfEvaluation) GetAssuranceLevel added in v1.6.0

func (x *TargetOfEvaluation) GetAssuranceLevel() string

func (*TargetOfEvaluation) GetCatalogId added in v1.6.0

func (x *TargetOfEvaluation) GetCatalogId() string

func (*TargetOfEvaluation) GetCloudServiceId added in v1.6.0

func (x *TargetOfEvaluation) GetCloudServiceId() string

func (*TargetOfEvaluation) ProtoMessage added in v1.6.0

func (*TargetOfEvaluation) ProtoMessage()

func (*TargetOfEvaluation) ProtoReflect added in v1.6.0

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

func (*TargetOfEvaluation) Reset added in v1.6.0

func (x *TargetOfEvaluation) Reset()

func (*TargetOfEvaluation) String added in v1.6.0

func (x *TargetOfEvaluation) String() string

type UnimplementedOrchestratorServer

type UnimplementedOrchestratorServer struct {
}

UnimplementedOrchestratorServer must be embedded to have forward compatible implementations.

func (UnimplementedOrchestratorServer) CreateCatalog added in v1.6.0

func (UnimplementedOrchestratorServer) CreateCertificate added in v1.4.9

func (UnimplementedOrchestratorServer) CreateMetric added in v1.3.14

func (UnimplementedOrchestratorServer) CreateTargetOfEvaluation added in v1.6.0

func (UnimplementedOrchestratorServer) DeregisterAssessmentTool

func (UnimplementedOrchestratorServer) GetAssessmentTool

func (UnimplementedOrchestratorServer) GetCatalog added in v1.6.0

func (UnimplementedOrchestratorServer) GetCategory added in v1.6.0

func (UnimplementedOrchestratorServer) GetCertificate added in v1.4.9

func (UnimplementedOrchestratorServer) GetCloudService added in v1.3.11

func (UnimplementedOrchestratorServer) GetControl added in v1.6.0

func (UnimplementedOrchestratorServer) GetMetric

func (UnimplementedOrchestratorServer) GetMetricConfiguration added in v1.3.11

func (UnimplementedOrchestratorServer) GetMetricImplementation added in v1.4.0

func (UnimplementedOrchestratorServer) GetTargetOfEvaluation added in v1.6.0

func (UnimplementedOrchestratorServer) ListAssessmentResults added in v1.3.12

func (UnimplementedOrchestratorServer) ListCatalogs added in v1.6.0

func (UnimplementedOrchestratorServer) ListCertificates added in v1.4.9

func (UnimplementedOrchestratorServer) ListCloudServices added in v1.3.11

func (UnimplementedOrchestratorServer) ListControls added in v1.6.0

func (UnimplementedOrchestratorServer) ListMetricConfigurations added in v1.3.11

func (UnimplementedOrchestratorServer) ListMetrics

func (UnimplementedOrchestratorServer) ListTargetsOfEvaluation added in v1.6.0

func (UnimplementedOrchestratorServer) RegisterAssessmentTool

func (UnimplementedOrchestratorServer) RegisterCloudService added in v1.3.11

func (UnimplementedOrchestratorServer) RemoveCatalog added in v1.6.0

func (UnimplementedOrchestratorServer) RemoveCertificate added in v1.4.9

func (UnimplementedOrchestratorServer) RemoveCloudService added in v1.3.11

func (UnimplementedOrchestratorServer) RemoveTargetOfEvaluation added in v1.6.0

func (UnimplementedOrchestratorServer) StoreAssessmentResults added in v1.3.6

func (UnimplementedOrchestratorServer) SubscribeMetricChangeEvents added in v1.4.5

func (UnimplementedOrchestratorServer) UpdateAssessmentTool

func (UnimplementedOrchestratorServer) UpdateCatalog added in v1.6.0

func (UnimplementedOrchestratorServer) UpdateCertificate added in v1.4.9

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

func (UnimplementedOrchestratorServer) UpdateTargetOfEvaluation added in v1.6.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 UpdateCatalogRequest added in v1.6.0

type UpdateCatalogRequest struct {
	CatalogId string   `protobuf:"bytes,1,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	Catalog   *Catalog `protobuf:"bytes,2,opt,name=catalog,proto3" json:"catalog,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCatalogRequest) Descriptor deprecated added in v1.6.0

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

Deprecated: Use UpdateCatalogRequest.ProtoReflect.Descriptor instead.

func (*UpdateCatalogRequest) GetCatalog added in v1.6.0

func (x *UpdateCatalogRequest) GetCatalog() *Catalog

func (*UpdateCatalogRequest) GetCatalogId added in v1.6.0

func (x *UpdateCatalogRequest) GetCatalogId() string

func (*UpdateCatalogRequest) ProtoMessage added in v1.6.0

func (*UpdateCatalogRequest) ProtoMessage()

func (*UpdateCatalogRequest) ProtoReflect added in v1.6.0

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

func (*UpdateCatalogRequest) Reset added in v1.6.0

func (x *UpdateCatalogRequest) Reset()

func (*UpdateCatalogRequest) String added in v1.6.0

func (x *UpdateCatalogRequest) 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 {
	CloudServiceId string        `protobuf:"bytes,1,opt,name=cloud_service_id,json=cloudServiceId,proto3" json:"cloud_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) GetCloudServiceId added in v1.6.0

func (x *UpdateCloudServiceRequest) GetCloudServiceId() string

func (*UpdateCloudServiceRequest) GetService added in v1.3.11

func (x *UpdateCloudServiceRequest) GetService() *CloudService

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 {
	CloudServiceId string                          `protobuf:"bytes,1,opt,name=cloud_service_id,json=cloudServiceId,proto3" json:"cloud_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) GetCloudServiceId added in v1.6.0

func (x *UpdateMetricConfigurationRequest) GetCloudServiceId() string

func (*UpdateMetricConfigurationRequest) GetConfiguration added in v1.4.0

func (*UpdateMetricConfigurationRequest) GetMetricId added in v1.4.0

func (x *UpdateMetricConfigurationRequest) GetMetricId() 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

type UpdateTargetOfEvaluationRequest added in v1.6.0

type UpdateTargetOfEvaluationRequest struct {
	CloudServiceId string              `protobuf:"bytes,1,opt,name=cloud_service_id,json=cloudServiceId,proto3" json:"cloud_service_id,omitempty"`
	CatalogId      string              `protobuf:"bytes,2,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	Toe            *TargetOfEvaluation `protobuf:"bytes,3,opt,name=toe,proto3" json:"toe,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTargetOfEvaluationRequest) Descriptor deprecated added in v1.6.0

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

Deprecated: Use UpdateTargetOfEvaluationRequest.ProtoReflect.Descriptor instead.

func (*UpdateTargetOfEvaluationRequest) GetCatalogId added in v1.6.0

func (x *UpdateTargetOfEvaluationRequest) GetCatalogId() string

func (*UpdateTargetOfEvaluationRequest) GetCloudServiceId added in v1.6.0

func (x *UpdateTargetOfEvaluationRequest) GetCloudServiceId() string

func (*UpdateTargetOfEvaluationRequest) GetToe added in v1.6.0

func (*UpdateTargetOfEvaluationRequest) ProtoMessage added in v1.6.0

func (*UpdateTargetOfEvaluationRequest) ProtoMessage()

func (*UpdateTargetOfEvaluationRequest) ProtoReflect added in v1.6.0

func (*UpdateTargetOfEvaluationRequest) Reset added in v1.6.0

func (*UpdateTargetOfEvaluationRequest) String added in v1.6.0

Jump to

Keyboard shortcuts

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