project

package
v0.0.0-...-185c7a1 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	Project      Project       `json:"project" yaml:"project"`
	Requirements *Requirements `json:"requirements,omitempty" yaml:"requirements,omitempty"`
}

Metadata is the structure for project metadata Every project should have a file, usually called project.yaml that contains such metadata.

func DefaultMetadata

func DefaultMetadata() *Metadata

func ReadMetadataFile

func ReadMetadataFile(path string) (*Metadata, error)

type OcpVersion

type OcpVersion struct {
	Min   string   `json:"min" yaml:"min"`
	Max   string   `json:"max" yaml:"max"`
	Label string   `json:"label" yaml:"label"`
	List  []string `json:"list" yaml:"list"`
}

type Project

type Project struct {
	Tag         string `json:"tag" yaml:"tag"`
	ImagePrefix string `json:"imagePrefix" yaml:"imagePrefix"`
	Version     string `json:"version" yaml:"version"`
}

type Requirements

type Requirements struct {
	OcpVersion OcpVersion `json:"ocpVersion" yaml:"ocpVersion"`
}

Jump to

Keyboard shortcuts

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