tagging

package
v0.0.0-...-17e6b21 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComplianceStatus

type ComplianceStatus string
const (
	StatusCompliant    ComplianceStatus = "COMPLIANT"
	StatusNonCompliant ComplianceStatus = "NON_COMPLIANT"
	StatusInReview     ComplianceStatus = "IN_REVIEW"
	StatusExempt       ComplianceStatus = "EXEMPT"
)

type ComplianceTag

type ComplianceTag struct {
	ID                   string                 `json:"id"`
	ArtifactID           string                 `json:"artifactId"`
	ArtifactType         string                 `json:"artifactType"`
	ComplianceStatus     ComplianceStatus       `json:"complianceStatus"`
	RegulatoryFrameworks []string               `json:"regulatoryFrameworks"`
	TRLLevel             int                    `json:"trlLevel"`
	Certifications       []string               `json:"certifications"`
	ValidFrom            time.Time              `json:"validFrom"`
	ValidUntil           time.Time              `json:"validUntil"`
	Metadata             map[string]interface{} `json:"metadata"`
}

type TaggingService

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

func (*TaggingService) TagArtifact

func (ts *TaggingService) TagArtifact(
	ctx context.Context,
	request *proto.TaggingRequest,
) (*proto.TaggingResponse, error)

Jump to

Keyboard shortcuts

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