Documentation ¶
Index ¶
- type Image
- func (i *Image) AddLayer(path string) error
- func (i *Image) AddLayerWithDiffID(path string, diffID string) error
- func (i *Image) AddLayerWithDiffIDAndHistory(path, diffID string, history v1.History) error
- func (i *Image) AddOrReuseLayerWithHistory(_, _ string, _ v1.History) error
- func (i *Image) AddPreviousLayer(sha, path string)
- func (i *Image) AnnotateRefName(refName string) error
- func (i *Image) Annotations() (map[string]string, error)
- func (i *Image) AppLayerPath() string
- func (i *Image) Architecture() (string, error)
- func (i *Image) Base() string
- func (i *Image) Cleanup() error
- func (i *Image) Cmd() ([]string, error)
- func (i *Image) ConfigLayerPath() string
- func (i *Image) CreatedAt() (time.Time, error)
- func (i *Image) Delete() error
- func (i *Image) Digest() (v1.Hash, error)
- func (i *Image) Entrypoint() ([]string, error)
- func (i *Image) Env(k string) (string, error)
- func (i *Image) Features() ([]string, error)
- func (i *Image) FindLayerWithPath(path string) (string, error)
- func (i *Image) Found() bool
- func (i *Image) GetAnnotateRefName() (string, error)
- func (i *Image) GetLayer(sha string) (io.ReadCloser, error)
- func (i *Image) History() ([]v1.History, error)
- func (i *Image) Identifier() (imgutil.Identifier, error)
- func (i *Image) IsSaved() bool
- func (i *Image) Kind() string
- func (i *Image) Label(key string) (string, error)
- func (i *Image) Labels() (map[string]string, error)
- func (i *Image) ManifestSize() (int64, error)
- func (i *Image) MediaType() (types.MediaType, error)
- func (i *Image) Name() string
- func (i *Image) NumberOfAddedLayers() int
- func (i *Image) OS() (string, error)
- func (i *Image) OSFeatures() ([]string, error)
- func (i *Image) OSVersion() (string, error)
- func (i *Image) Rebase(_ string, newBase imgutil.Image) error
- func (i *Image) RemoveLabel(key string) error
- func (i *Image) Rename(name string)
- func (i *Image) ReuseLayer(sha string) error
- func (i *Image) ReuseLayerWithHistory(sha string, history v1.History) error
- func (i *Image) ReusedLayers() []string
- func (i *Image) Save(additionalNames ...string) error
- func (i *Image) SaveAs(name string, additionalNames ...string) error
- func (i *Image) SaveFile() (string, error)
- func (i *Image) SavedAnnotations() map[string]string
- func (i *Image) SavedNames() []string
- func (i *Image) SetAnnotations(_ map[string]string) error
- func (i *Image) SetArchitecture(a string) error
- func (i *Image) SetCmd(v ...string) error
- func (i *Image) SetCreatedAt(t time.Time) error
- func (i *Image) SetEntrypoint(v ...string) error
- func (i *Image) SetEnv(k string, v string) error
- func (i *Image) SetFeatures(_ []string) error
- func (i *Image) SetHistory(history []v1.History) error
- func (i *Image) SetIdentifier(identifier imgutil.Identifier)
- func (i *Image) SetLabel(k string, v string) error
- func (i *Image) SetManifestSize(size int64)
- func (i *Image) SetOS(o string) error
- func (i *Image) SetOSFeatures(_ []string) error
- func (i *Image) SetOSVersion(v string) error
- func (i *Image) SetVariant(a string) error
- func (i *Image) SetWorkingDir(dir string) error
- func (i *Image) TopLayer() (string, error)
- func (i *Image) UnderlyingImage() v1.Image
- func (i *Image) Valid() bool
- func (i *Image) Variant() (string, error)
- func (i *Image) WorkingDir() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
func (*Image) AddLayerWithDiffID ¶
func (*Image) AddLayerWithDiffIDAndHistory ¶
func (*Image) AddOrReuseLayerWithHistory ¶
func (*Image) AddPreviousLayer ¶
func (*Image) AnnotateRefName ¶
func (*Image) AppLayerPath ¶
func (*Image) Architecture ¶
func (*Image) ConfigLayerPath ¶
func (*Image) Entrypoint ¶
func (*Image) GetAnnotateRefName ¶
func (*Image) Identifier ¶
func (i *Image) Identifier() (imgutil.Identifier, error)
func (*Image) ManifestSize ¶
func (*Image) NumberOfAddedLayers ¶
func (*Image) OSFeatures ¶
func (*Image) RemoveLabel ¶
func (*Image) ReuseLayer ¶
func (*Image) ReuseLayerWithHistory ¶
func (*Image) ReusedLayers ¶
func (*Image) SavedAnnotations ¶
func (*Image) SavedNames ¶
func (*Image) SetArchitecture ¶
func (*Image) SetEntrypoint ¶
func (*Image) SetFeatures ¶
func (*Image) SetIdentifier ¶
func (i *Image) SetIdentifier(identifier imgutil.Identifier)
func (*Image) SetManifestSize ¶
func (*Image) SetOSFeatures ¶
func (*Image) SetOSVersion ¶
func (*Image) SetVariant ¶
func (*Image) SetWorkingDir ¶
func (*Image) UnderlyingImage ¶
func (*Image) WorkingDir ¶
Click to show internal directories.
Click to hide internal directories.