repositories

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Section section
}

Config is the toplevel object containing the layout of a suite.yml file

func NewConfig

func NewConfig(filename string) (Config, error)

NewConfig ingests a YAML file and returns a Config representing the definitions in that file.

func (*Config) SelectUnreleased

func (config *Config) SelectUnreleased()

SelectUnreleased modifies a Config in-place that will pin all component version minimums to the maximums of the input Config as well as unset the maximum, effectively enabling us to figure out what a Config for unreleased component versions would include.

func (*Config) SetBaselineRepoVersions added in v0.0.1

func (config *Config) SetBaselineRepoVersions(oldConfig *Config)

SetBaselineRepoVersions updates the current object with new values for AfterVersion field based on the passed in old release config

type Repository

type Repository struct {
	URL                string
	CertificationLevel string `yaml:"certification,omitempty"`
	Version            string `yaml:"version,omitempty"`
	AfterVersion       string `yaml:"after,omitempty"`
	UpgradeURL         string `yaml:"upgrade_url,omitempty"`
	// contains filtered or unexported fields
}

Repository represents a codified description of a target component

Jump to

Keyboard shortcuts

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