wip: migrate to mono-repo. SPN has already been moved to spn/
This commit is contained in:
13
service/profile/endpoints/annotations.go
Normal file
13
service/profile/endpoints/annotations.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package endpoints
|
||||
|
||||
// DisplayHintEndpointList marks an option as an endpoint
|
||||
// list option. It's meant to be used with DisplayHintAnnotation.
|
||||
const DisplayHintEndpointList = "endpoint list"
|
||||
|
||||
// EndpointListVerdictNamesAnnotation is the annotation identifier used in
|
||||
// configuration options to hint the UI on names to be used for endpoint list
|
||||
// verdicts.
|
||||
// If configured, it must be of type map[string]string, mapping the verdict
|
||||
// symbol to a name to be displayed in the UI.
|
||||
// May only used when config.DisplayHintAnnotation is set to DisplayHintEndpointList.
|
||||
const EndpointListVerdictNamesAnnotation = "safing/portmaster:ui:endpoint-list:verdict-names"
|
||||
Reference in New Issue
Block a user