Path: blob/main/components/ee/agent-smith/pkg/common/common.go
2501 views
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.1// Licensed under the GNU Affero General Public License (AGPL).2// See License.AGPL.txt in the project root for license information.34package common56// Severity describes the severity of the infringement7type Severity string89const (10// SeverityBarely is a severity level where usually no action is needed.11SeverityBarely Severity = "barely"12// SeverityAudit is the severity level used when auditting is needed.13SeverityAudit Severity = ""14// SeverityVery is the stronger severity level15SeverityVery Severity = "very"16)1718// Workspace represents a Gitpod workspace19type Workspace struct {20OwnerID, WorkspaceID, InstanceID string2122// PID is a PID in the tree of the workspace which is a parent of all user workloads23PID int2425// GitURL is the remote origin of the Git working copy of a workspace26GitURL string27}282930