catalog

package
v0.47.5 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToContext added in v0.39.0

func ToContext(ctx context.Context, catalog *Catalog) context.Context

Types

type Catalog

type Catalog struct {
	Environments []*v1alpha1.Environment
	Releases     ReleaseList
	Projects     []*v1alpha1.Project
	Files        []*yml.File
}

func FromContext added in v0.39.0

func FromContext(ctx context.Context) *Catalog

func Load

func Load(dir string, validChartRefs []string) (*Catalog, error)

func (*Catalog) GetFilesByKind

func (c *Catalog) GetFilesByKind(kind string) []*yml.File

GetFilesByKind returns all files of the given kind.

func (*Catalog) ResolveRefs

func (c *Catalog) ResolveRefs() error

func (*Catalog) WithEnvironments added in v0.39.0

func (c *Catalog) WithEnvironments(names []string) *Catalog

func (*Catalog) WithReleaseFilter added in v0.39.0

func (c *Catalog) WithReleaseFilter(filter filtering.Filter) *Catalog

type Release added in v0.26.2

type Release = cross.Release

Export internal catalog types so that they can worked with from code that use the public joy packages.

type ReleaseList added in v0.26.2

type ReleaseList = cross.ReleaseList

Export internal catalog types so that they can worked with from code that use the public joy packages.

Jump to

Keyboard shortcuts

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