Documentation
¶
Index ¶
- type Alias
- type Blob
- type Bundle
- func (b *Bundle) Cert() string
- func (b *Bundle) Digest() ([]byte, error)
- func (b *Bundle) IsManifestUpdated() bool
- func (b *Bundle) IsSignatureValid() bool
- func (b *Bundle) Key() string
- func (b *Bundle) Layers() ([]string, error)
- func (b *Bundle) Manifest() string
- func (b *Bundle) Remove() error
- func (b *Bundle) Sig() string
- func (b *Bundle) SignerDigest() ([]byte, string, error)
- type Policy
- type Repo
- func (r *Repo) Alias(mfile string, bundleFilter func(*Bundle) bool) error
- func (r *Repo) AllBundles() ([]*Bundle, error)
- func (r *Repo) BlobPath(blob string) string
- func (r *Repo) BundleChain(mfile string) ([]*Bundle, error)
- func (r *Repo) CommitBlob(blobs [][]byte, diffIds []string) error
- func (r *Repo) CommitManifest(mfile, cfile, kfile string) error
- func (r *Repo) ExportBundle(bundle, exportpath string) error
- func (r *Repo) FindBundle(mfile string) (*Bundle, error)
- func (r *Repo) ImportBundle(bundles []string) error
- func (r *Repo) PrimaryDigest(digest string) (string, error)
- func (r *Repo) Prune() error
- func (r *Repo) RemoveBundle(id string) error
- type Workload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bundle ¶
type Bundle struct {
// contains filtered or unexported fields
}
func (*Bundle) IsManifestUpdated ¶
func (*Bundle) IsSignatureValid ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func (*Repo) AllBundles ¶
func (*Repo) CommitManifest ¶
func (*Repo) ExportBundle ¶
func (*Repo) ImportBundle ¶
func (*Repo) RemoveBundle ¶
type Workload ¶
type Workload struct { SpecVersion [2]uint32 `json:"aconSpecVersion"` Layer []string `json:"layers,omitempty"` Alias Alias `json:"aliases"` Entrypoint []string `json:"entrypoint,omitempty"` Env []string `json:"env,omitempty"` WorkingDir string `json:"workingDir"` Uids []uint32 `json:"uids"` LogFDs []uint32 `json:"logFDs"` WritableFS bool `json:"writableFS"` NoRestart bool `json:"noRestart"` Signals []int32 `json:"signals"` MaxInstance uint32 `json:"maxInstances"` Policy Policy `json:"policy"` }
Click to show internal directories.
Click to hide internal directories.