product

package
v0.0.0-...-1fb2453 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterableIssueType

type FilterableIssueType string
const (
	FilterableIssueTypeOpenSource           FilterableIssueType = "Open Source"
	FilterableIssueTypeCodeQuality          FilterableIssueType = "Code Quality"
	FilterableIssueTypeCodeSecurity         FilterableIssueType = "Code Security"
	FilterableIssueTypeInfrastructureAsCode FilterableIssueType = "Infrastructure As Code"
	FilterableIssueTypeContainer            FilterableIssueType = "Container"
)

func (FilterableIssueType) ToProduct

func (f FilterableIssueType) ToProduct() Product

type Product

type Product string
const (
	ProductOpenSource           Product = "Snyk Open Source"
	ProductCode                 Product = "Snyk Code"
	ProductInfrastructureAsCode Product = "Snyk IaC"
	ProductContainer            Product = "Snyk Container"
	ProductUnknown              Product = ""
)

func ToProduct

func ToProduct(productName string) Product

func (Product) ToFilterableIssueType

func (p Product) ToFilterableIssueType() []FilterableIssueType

func (Product) ToProductCodename

func (p Product) ToProductCodename() string

func (Product) ToProductNamesString

func (p Product) ToProductNamesString() string

type ProductAttributes

type ProductAttributes map[string]any

Jump to

Keyboard shortcuts

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