github.com/containers/podman/v2@v2.2.2-0.20210501105131-c1e07d070c4c/pkg/domain/entities/manifest.go (about)

     1  package entities
     2  
     3  import "github.com/containers/image/v5/types"
     4  
     5  // TODO: add comments to *all* types and fields.
     6  
     7  type ManifestCreateOptions struct {
     8  	All bool `schema:"all"`
     9  }
    10  
    11  type ManifestAddOptions struct {
    12  	All           bool               `json:"all" schema:"all"`
    13  	Annotation    []string           `json:"annotation" schema:"annotation"`
    14  	Arch          string             `json:"arch" schema:"arch"`
    15  	Authfile      string             `json:"-" schema:"-"`
    16  	CertDir       string             `json:"-" schema:"-"`
    17  	Features      []string           `json:"features" schema:"features"`
    18  	Images        []string           `json:"images" schema:"images"`
    19  	OS            string             `json:"os" schema:"os"`
    20  	OSVersion     string             `json:"os_version" schema:"os_version"`
    21  	Password      string             `json:"-" schema:"-"`
    22  	SkipTLSVerify types.OptionalBool `json:"-" schema:"-"`
    23  	Username      string             `json:"-" schema:"-"`
    24  	Variant       string             `json:"variant" schema:"variant"`
    25  }
    26  
    27  type ManifestAnnotateOptions struct {
    28  	Annotation []string `json:"annotation"`
    29  	Arch       string   `json:"arch" schema:"arch"`
    30  	Features   []string `json:"features" schema:"features"`
    31  	OS         string   `json:"os" schema:"os"`
    32  	OSFeatures []string `json:"os_features" schema:"os_features"`
    33  	OSVersion  string   `json:"os_version" schema:"os_version"`
    34  	Variant    string   `json:"variant" schema:"variant"`
    35  }
    36  
    37  type ManifestPushOptions struct {
    38  	Purge, Quiet, All, RemoveSignatures bool
    39  
    40  	Authfile, CertDir, Username, Password, DigestFile, Format, SignBy string
    41  
    42  	SkipTLSVerify types.OptionalBool
    43  }