catalog

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateFilesystem

func GenerateFilesystem(path string, c Catalog, resourceType string) error

Types

type Catalog

type Catalog struct {
	Repositories map[string]Repository
}

Catalog represent the list of repositories from which we fetch informations.

func FetchFromExternals

func FetchFromExternals(e config.External, client *api.RESTClient) (Catalog, error)

type Release added in v0.2.0

type Release struct {
	ResourcesURI string
	Catalog      contract.Catalog
}

Release holds information per release per repository It mainly holds the pre-loaded catalog information (containing the list of object published, their hash), as well as the URI to download the tarball containing those resources.

type Repository added in v0.2.0

type Repository map[string]Release

Repository holds a map of version + "fetch information" useful to generate a catalog.

Jump to

Keyboard shortcuts

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