errorutil

package
v0.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const CustomTrivyMediaTypesWarning = `` +
	"It looks like you are using Project Quay registry and it is not configured correctly for hosting Deckhouse.\n" +
	"See the docs at https://deckhouse.io/documentation/v1/supported_versions.html#container-registry for more details.\n\n" +
	"TL;DR: You should retry push after allowing some additional types of OCI artifacts in your config.yaml as follows:\n" +
	`FEATURE_GENERAL_OCI_SUPPORT: true
ALLOWED_OCI_ARTIFACT_TYPES:
  "application/octet-stream":
    - "application/deckhouse.io.bdu.layer.v1.tar+gzip"
    - "application/vnd.cncf.openpolicyagent.layer.v1.tar+gzip"
  "application/vnd.aquasec.trivy.config.v1+json":
    - "application/vnd.aquasec.trivy.javadb.layer.v1.tar+gzip"
    - "application/vnd.aquasec.trivy.db.layer.v1.tar+gzip"`

Variables

This section is empty.

Functions

func IsImageNotFoundError

func IsImageNotFoundError(err error) bool

func IsRepoNotFoundError

func IsRepoNotFoundError(err error) bool

func IsTrivyMediaTypeNotAllowedError

func IsTrivyMediaTypeNotAllowedError(err error) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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