aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/entities/manifest.go
blob: 853619b1969f6fd167f810966f57b717de182b22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package entities

import "github.com/containers/image/v5/types"

// TODO: add comments to *all* types and fields.

type ManifestCreateOptions struct {
	All bool `schema:"all"`
}

type ManifestAddOptions struct {
	All        bool     `json:"all" schema:"all"`
	Annotation []string `json:"annotation" schema:"annotation"`
	Arch       string   `json:"arch" schema:"arch"`
	Features   []string `json:"features" schema:"features"`
	Images     []string `json:"images" schema:"images"`
	OS         string   `json:"os" schema:"os"`
	OSVersion  string   `json:"os_version" schema:"os_version"`
	Variant    string   `json:"variant" schema:"variant"`
}

type ManifestAnnotateOptions struct {
	Annotation []string `json:"annotation"`
	Arch       string   `json:"arch" schema:"arch"`
	Features   []string `json:"features" schema:"features"`
	OS         string   `json:"os" schema:"os"`
	OSFeatures []string `json:"os_features" schema:"os_features"`
	OSVersion  string   `json:"os_version" schema:"os_version"`
	Variant    string   `json:"variant" schema:"variant"`
}

type ManifestPushOptions struct {
	Purge, Quiet, All, RemoveSignatures bool

	Authfile, CertDir, Username, Password, DigestFile, Format, SignBy string

	SkipTLSVerify types.OptionalBool
}