Documentation ¶
Index ¶
- func ToContext(ctx context.Context, catalog *Catalog) context.Context
- type Builder
- func (b *Builder) AddEnvironment(name string, f func(e *v1alpha1.Environment)) *v1alpha1.Environment
- func (b *Builder) AddProject(name string, f func(p *v1alpha1.Project)) *v1alpha1.Project
- func (b *Builder) AddRelease(env *v1alpha1.Environment, project *v1alpha1.Project, version string, ...) *v1alpha1.Release
- func (b *Builder) Build() *Catalog
- type Catalog
- type Release
- type ReleaseList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶ added in v0.47.7
type Builder struct { Catalog // contains filtered or unexported fields }
func NewBuilder ¶ added in v0.47.7
func (*Builder) AddEnvironment ¶ added in v0.47.7
func (b *Builder) AddEnvironment(name string, f func(e *v1alpha1.Environment)) *v1alpha1.Environment
func (*Builder) AddProject ¶ added in v0.47.7
func (*Builder) AddRelease ¶ added in v0.47.7
type Catalog ¶
type Catalog struct { Environments []*v1alpha1.Environment Releases ReleaseList Projects []*v1alpha1.Project Files []*yml.File }
func FromContext ¶ added in v0.39.0
func (*Catalog) GetFilesByKind ¶
GetFilesByKind returns all files of the given kind.
func (*Catalog) ResolveRefs ¶
func (*Catalog) WithEnvironments ¶ added in v0.39.0
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.