Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerSource ¶
type DockerSource struct {
// contains filtered or unexported fields
}
func NewDockerSource ¶
func NewDockerSource() *DockerSource
func (*DockerSource) Cleanup ¶
func (ds *DockerSource) Cleanup() error
func (*DockerSource) ID ¶
func (ds *DockerSource) ID() string
func (*DockerSource) Parse ¶
func (ds *DockerSource) Parse(ociRef meta.OCIImageRef) (*api.OCIImageSource, error)
func (*DockerSource) Reader ¶
func (ds *DockerSource) Reader() (io.ReadCloser, error)
type Source ¶
type Source interface { // ID returns the ID of the source ID() string // Parse verifies the ImageSource, fills in any missing fields and prepares the reader Parse(src meta.OCIImageRef) (*api.OCIImageSource, error) // Reader provides a tar stream reader Reader() (io.ReadCloser, error) // Cleanup cleans up any temporary assets after reading Cleanup() error }
Source represents a source for VM images
Click to show internal directories.
Click to hide internal directories.