blob: 01180951a60e6ceb7899f4cc4ae6d8aee3d2b85b (
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
39
40
41
42
43
|
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"`
Authfile string `json:"-" schema:"-"`
CertDir string `json:"-" schema:"-"`
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"`
Password string `json:"-" schema:"-"`
SkipTLSVerify types.OptionalBool `json:"-" schema:"-"`
Username string `json:"-" schema:"-"`
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
}
|