resources

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collect

func Collect(start url.URL, destinationDirectory string) ([]config.Resource, error)

Downloads all the configs starting from "start" and returns a list of all the collected resources

func GetConfigs

func GetConfigs(resources []config.Resource) []config.Resource

Takes a list of resources and returns all exec type resources

func Index

func Index(vs []config.Resource, t config.Resource) int

Returns the index of a given resource

func ParseConfig

func ParseConfig(source url.URL, destination string) ([]config.Resource, error)

Downloads a config, filters it and writes it to the given destination. Returns a list of resources used in the config file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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