types

package
v0.0.0-...-6fed6b5 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerData

type DockerData struct {
	Manifests []struct {
		Digest string `json:"digest"`
	} `json:"manifests"`
}

DockerData represents the structure of the manifest data

type LayerURI

type LayerURI struct {
	Hash string `json:"hash"`
	URI  string `json:"uri"`
}

LayerURI contains information about a layer

type ManifestData

type ManifestData struct {
	Layers []struct {
		Digest string `json:"digest"`
	} `json:"layers"`
}

ManifestData represents the structure of a manifest file

type Payload

type Payload struct {
	Hash   string     `json:"hash"`
	Layers []LayerURI `json:"layers"`
}

Payload is used to prepare data for Clair Indexer

Jump to

Keyboard shortcuts

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