config

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: 4 Imported by: 0

Documentation

Overview

Package config holds the "configuration" that is used for fetching information from external repositories.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type External

type External struct {
	// Repositories defines the repositories to pull from
	Repositories []Repository
}

External is a representation of the configuration for specifying repositories we have to pull from.

func LoadExternal

func LoadExternal(filename string) (External, error)

type Repository

type Repository struct {
	Name string
	URL  string
	// Type defines the type to fetch (Task, Pipeline, …)
	Types                []string
	IgnoreVersions       []string `json:"ignore-versions"`
	CatalogName          string   `json:"catalog-name"`
	ResourcesTarballName string   `json:"resources-tarball-name"`
}

Repository represent a git repository.

Jump to

Keyboard shortcuts

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