Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catalog ¶
type Catalog struct {
Environments []*v1alpha1.Environment
Releases *ReleaseList
Projects []*v1alpha1.Project
Files []*yml.File
}
func (*Catalog) GetFilesByKind ¶
GetFilesByKind returns all files of the given kind.
func (*Catalog) ResolveRefs ¶
type LoadOpts ¶
type LoadOpts struct {
// Dir is the directory to load catalog from.
Dir string
// EnvNames is the list of environment names to load.
EnvNames []string
// SortByOrder controls whether environments should be sorted by their spec.order property.
SortEnvsByOrder bool
// ReleaseFilter allows to specify which releases to load.
// Optional, defaults to loading all releases.
ReleaseFilter filtering.Filter
}
LoadOpts controls how to load catalog and what to load in it.
type Release ¶ added in v0.26.2
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.
Click to show internal directories.
Click to hide internal directories.