repositories

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetData

func GetData(repo []Repo) ([]byte, error)

Types

type Gen

type Gen struct {
	Flavours                []string `yaml:"flavours,omitempty"`
	Language                string   `yaml:"language,omitempty"`
	EnableFloatingMajorTags bool     `yaml:"enableFloatingMajorTags,omitempty"`
	InstallUpdateChart      bool     `yaml:"installUpdateChart,omitempty"`
	RunSecurityScoreCard    bool     `yaml:"runSecurityScoreCard,omitempty"`
}

type Repo

type Repo struct {
	Name            string          `yaml:"name"`
	ComponentType   string          `yaml:"componentType"`
	DeploymentNames []string        `yaml:"deploymentNames,omitempty"`
	Gen             Gen             `yaml:"gen,omitempty"`
	Replace         map[string]bool `yaml:"replace,omitempty"`
	Lifecycle       string          `yaml:"lifecycle,omitempty"`
	System          string          `yaml:"system,omitempty"`
}

func GetRepos

func GetRepos(data []byte) ([]Repo, error)

func SortReposAlphabetically

func SortReposAlphabetically(repos []Repo) []Repo

Jump to

Keyboard shortcuts

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