Documentation ¶
Index ¶
Constants ¶
View Source
const SingularityMediaType = "application/vnd.sylabs.sif.layer.v1.sif"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SingularityImageProvider ¶
type SingularityImageProvider struct {
// contains filtered or unexported fields
}
SingularityImageProvider is an image.Provider for a Singularity Image Format (SIF) image.
func NewProviderFromPath ¶
func NewProviderFromPath(path string, tmpDirGen *file.TempDirGenerator) *SingularityImageProvider
NewProviderFromPath creates a new provider instance for the Singularity Image Format (SIF) image at path.
func (*SingularityImageProvider) Provide ¶
func (p *SingularityImageProvider) Provide(_ context.Context, userMetadata ...image.AdditionalMetadata) (*image.Image, error)
Provide returns an Image that represents a Singularity Image Format (SIF) image.
Click to show internal directories.
Click to hide internal directories.