config

package
v0.0.0-...-dc1648f Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: Apache-2.0 Imports: 3 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"`
}

Repository represent a git repository

Jump to

Keyboard shortcuts

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