forked from grafeas/client-go
/
model_api_note_kind.go
24 lines (22 loc) · 1.33 KB
/
model_api_note_kind.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
* Grafeas API
*
* An API to insert and retrieve annotations on cloud artifacts.
*
* API version: v1alpha1
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package grafeas
// ApiNoteKind : This must be 1:1 with members of our oneofs, it can be used for filtering Note and Occurrence on their kind. - NOTE_KIND_UNSPECIFIED: Unknown - PACKAGE_VULNERABILITY: The note and occurrence represent a package vulnerability. - BUILD_DETAILS: The note and occurrence assert build provenance. - IMAGE_BASIS: This represents an image basis relationship. - PACKAGE_MANAGER: This represents a package installed via a package manager. - DEPLOYABLE: The note and occurrence track deployment events. - DISCOVERY: The note and occurrence track the initial discovery status of a resource. - ATTESTATION_AUTHORITY: This represents a logical \"role\" that can attest to artifacts.
type ApiNoteKind string
// List of apiNoteKind
const (
NOTE_KIND_UNSPECIFIED ApiNoteKind = "KIND_UNSPECIFIED"
PACKAGE_VULNERABILITY ApiNoteKind = "PACKAGE_VULNERABILITY"
BUILD_DETAILS ApiNoteKind = "BUILD_DETAILS"
IMAGE_BASIS ApiNoteKind = "IMAGE_BASIS"
PACKAGE_MANAGER ApiNoteKind = "PACKAGE_MANAGER"
DEPLOYABLE ApiNoteKind = "DEPLOYABLE"
DISCOVERY ApiNoteKind = "DISCOVERY"
ATTESTATION_AUTHORITY ApiNoteKind = "ATTESTATION_AUTHORITY"
)