Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseIndexMetadataFromStorage

func ParseIndexMetadataFromStorage(c *gc.C, stor storage.StorageReader) (*simplestreams.IndexMetadata, simplestreams.DataSource)

ParseIndexMetadataFromStorage loads Indices from the specified storage reader.

func ParseMetadataFromDir

func ParseMetadataFromDir(c *gc.C, metadataDir string) []*imagemetadata.ImageMetadata

ParseMetadataFromDir loads ImageMetadata from the specified directory.

func ParseMetadataFromStorage

func ParseMetadataFromStorage(c *gc.C, stor storage.StorageReader) []*imagemetadata.ImageMetadata

ParseMetadataFromStorage loads ImageMetadata from the specified storage reader.

func PatchOfficialDataSources

func PatchOfficialDataSources(s *testing.CleanupSuite, url string)

PatchOfficialDataSources is used by tests. We replace one of the urls with the supplied value and prevent the other from being used.

Types

This section is empty.

Source Files