Crate fluvio_index[][src]

Data structures and domain logic for reading the Fluvio Package Index.

This crate is used by the plugin installer and the self-updater. It is capable of reading the index file in the Fluvio Package Registry in order to find the latest release versions of various components.

The two main use-cases for this are to allow the CLI to install plugins, e.g. via fluvio install fluvio-cloud, and to give the CLI visibility of new releases for itself and plugins.

Structs

FluvioIndex
GroupName
HttpAgent
IndexMetadata
Package

A Package represents a single published item in Fluvio’s registry.

PackageId

A unique identifier for a package that describes its registry, group, name, and (possibly) version.

PackageName
Registry
Release

A Release is a specific version of a published item in Fluvio’s registry.

Enums

Error
PackageKind

Packages have a PackageKind, which describes the contents being distributed.

Target

Constants

INDEX_CLIENT_VERSION
INDEX_HOST
INDEX_LOCATION

Functions

package_target

Detects the target triple of the current build and returns the name of a compatible build target on packages.fluvio.io.

Type Definitions

MaybeVersion
Result
WithVersion