index

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseIndex

func ParseIndex(b, region string) ([]string, error)

ParseIndex grabs the index from s3 and returns all file paths.

Types

type Index

type Index struct {
	Version float64  `yaml:"version"`
	Sources []Source `yaml:"sources"`
}

Index is the top level struct which the index is mapped to.

type Source

type Source struct {
	Name       string `yaml:"name"`
	Type       string `yaml:"type"`
	Parameters struct {
		Path string `yaml:"path"`
	} `yaml:"parameters"`
}

Source locations (s3, file, consul, etc).

Jump to

Keyboard shortcuts

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