Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identifier ¶
type Image ¶
type Image interface { Name() string Rename(name string) Label(string) (string, error) SetLabel(string, string) error Env(key string) (string, error) SetEnv(string, string) error SetEntrypoint(...string) error SetWorkingDir(string) error SetCmd(...string) error Rebase(string, Image) error AddLayer(path string) error ReuseLayer(diffID string) error // TopLayer returns the diff id for the top layer TopLayer() (string, error) // Save saves the image as `Name()` and any additional names provided to this method. Save(additionalNames ...string) error // Found tells whether the image exists in the repository by `Name()`. Found() bool // GetLayer retrieves layer by diff id. Returns a reader of the uncompressed contents of the layer. GetLayer(diffID string) (io.ReadCloser, error) Delete() error CreatedAt() (time.Time, error) Identifier() (Identifier, error) }
type SaveDiagnostic ¶
Click to show internal directories.
Click to hide internal directories.