anchore

package
v0.0.0-...-8eabaa6 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RejectIfTimeout = true
)

Functions

func CheckImage

func CheckImage(image string) (bool, error)

Types

type AnchoreConfig

type AnchoreConfig struct {
	EndpointURL string `yaml:"ANCHORE_CLI_URL"`
	User        string `yaml:"ANCHORE_CLI_USER"`
	Password    string `yaml:"ANCHORE_CLI_PASS"`
}

type Check

type Check struct {
	LastEvaluation string `json:"last_evaluation"`
	PolicyId       string `json:"policy_id"`
	Status         string `json:"status"`
}

type Image

type Image struct {
	ImageDigest    string        `json:"imageDigest"`
	ImageStatus    string        `json:"image_status"`
	AnalysisStatus string        `json:"analysis_status"`
	ImageDetails   []ImageDetail `json:"image_detail"`
}

type ImageDetail

type ImageDetail struct {
	Digest      string `json:"digest"`
	FullDigetst string `json:"fulldigest"`
	FullTag     string `json:"fulltag"`
	Repo        string `json:"repo"`
	Tag         string `json:"Repo"`
	Registry    string `json:"registry"`
}

type SHAResult

type SHAResult struct {
	Status string
}

Jump to

Keyboard shortcuts

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