cmd

package
v0.16.5 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func ProcessFile added in v0.11.0

func ProcessFile(fileName string, vars interface{}) string

Types

type PatchSchedule

type PatchSchedule struct {
	Schedules []Schedule `yaml:"schedules"`
}

PatchSchedule main struct to hold the schedules

type PreviousPatches

type PreviousPatches struct {
	Release            string `yaml:"release"`
	CherryPickDeadline string `yaml:"cherryPickDeadline"`
	TargetDate         string `yaml:"targetDate"`
	Note               string `yaml:"note"`
}

PreviousPatches struct to define the old patch schedules

type Release added in v0.11.0

type Release struct {
	Version  string     `yaml:"version"`
	Timeline []Timeline `yaml:"timeline"`
}

type ReleaseSchedule added in v0.11.0

type ReleaseSchedule struct {
	Releases []Release `yaml:"releases"`
}

type Schedule

type Schedule struct {
	Release            string            `yaml:"release"`
	Next               string            `yaml:"next"`
	CherryPickDeadline string            `yaml:"cherryPickDeadline"`
	TargetDate         string            `yaml:"targetDate"`
	EndOfLifeDate      string            `yaml:"endOfLifeDate"`
	PreviousPatches    []PreviousPatches `yaml:"previousPatches"`
}

Schedule struct to define the release schedule for a specific version

type Timeline added in v0.11.0

type Timeline struct {
	What     string `yaml:"what"`
	Who      string `yaml:"who"`
	When     string `yaml:"when"`
	Week     string `yaml:"week"`
	CISignal string `yaml:"ciSignal"`
	Tldr     bool   `yaml:"tldr"`
}

Jump to

Keyboard shortcuts

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