types

package
v0.0.0-...-423e1c4 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisplayOptions

type DisplayOptions struct {
	ProjectName        string
	PrintLatestVersion bool
}

DisplayOptions represents the options that can be passed to the `display` command.

type EKSDistroLatestReleases

type EKSDistroLatestReleases struct {
	Releases []EKSDistroRelease `json:"releases"`
	Latest   string             `json:"latest"`
}

type EKSDistroRelease

type EKSDistroRelease struct {
	Branch      string `json:"branch"`
	KubeVersion string `json:"kubeVersion"`
	Number      int    `json:"number"`
	Dev         *bool  `json:"dev,omitempty"`
}

type GoVersionSourceOfTruth

type GoVersionSourceOfTruth struct {
	SourceOfTruthFile     string
	GoVersionSearchString string
}

GoVersionSourceOfTruth represents the source of truth file and search string to get the Go version for a particular project.

type ImageMetadata

type ImageMetadata struct {
	Tag         string `json:"tag,omitempty"`
	ImageDigest string `json:"imageDigest,omitempty"`
}

type Project

type Project struct {
	Org   string `yaml:"org"`
	Repos []Repo `yaml:"repos"`
}

Project represents a list of repositories that share the same owner or organization.

type ProjectVersionInfo

type ProjectVersionInfo struct {
	Org            string
	Repo           string
	CurrentVersion string
	LatestVersion  string
}

ProjectVersionInfo represents the current and latest revision for a project.

type ProjectsList

type ProjectsList struct {
	Projects []Project `yaml:"projects"`
}

ProjectsList represents the top-level projects list in the upstream projects tracker file.

type ReleaseTarball

type ReleaseTarball struct {
	AssetName                string
	BinaryName               string
	Extract                  bool
	OverrideAssetURL         string
	TrimLeadingVersionPrefix bool
}

ReleaseTarball represents the GitHub release asset name, binary name and related settings to get the Go version for a particular project.

type Repo

type Repo struct {
	Name     string    `yaml:"name"`
	Versions []Version `yaml:"versions"`
}

Repo represents a GitHub repository with a list of versions being built.

type UpgradeOptions

type UpgradeOptions struct {
	ProjectName string
	DryRun      bool
}

UpgradeOptions represents the options that can be passed to the `upgrade` command.

type Version

type Version struct {
	Tag       string `yaml:"tag,omitempty"`
	Commit    string `yaml:"commit,omitempty"`
	GoVersion string `yaml:"go_version,omitempty"`
}

Version represents a Git tag or commit for a repository and the Go version corresponding to the revision.

Jump to

Keyboard shortcuts

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