summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/manifest.go
blob: 273052bb9b5e9071d69fed76c99507036717eb07 (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
package entities

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, TlsVerify, RemoveSignatures       bool
	Authfile, CertDir, Creds, DigestFile, Format, SignBy string
}