testing

package
v0.0.0-...-b0bff92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL