plan

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: Apache-2.0 Imports: 21 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
	// contains filtered or unexported fields
}

func NewComponentFromChartMetadata

func NewComponentFromChartMetadata(meta *chart.Metadata, unstable bool) (Component, error)

func (*Component) ComponentName

func (c *Component) ComponentName() string

func (*Component) DebugLabel

func (c *Component) DebugLabel() string

func (*Component) GetParam

func (c *Component) GetParam(path string) gjson.Result

func (*Component) IsBootstrap

func (c *Component) IsBootstrap() bool

func (*Component) Name

func (c *Component) Name() string

func (*Component) NameOverride

func (c *Component) NameOverride() string

func (*Component) Namespace

func (c *Component) Namespace() string

func (*Component) Params

func (c *Component) Params() string

func (*Component) Render

func (c *Component) Render(ctx context.Context, log logger.Logger, outdir string) error

func (*Component) RenderApplication

func (c *Component) RenderApplication(argoNs string, repoUrl string, path string, outfile string) error

func (*Component) Version

func (c *Component) Version() string

type Plan

type Plan struct {
	// contains filtered or unexported fields
}

func New

func New(log logger.Logger) Plan

func NewFromConfig

func NewFromConfig(ctx context.Context, cfg *config.Config) (*Plan, error)

func (*Plan) AddComponent

func (p *Plan) AddComponent(c Component) error

func (*Plan) Components

func (p *Plan) Components() []*Component

func (*Plan) GetComponent

func (p *Plan) GetComponent(name string) *Component

func (*Plan) HasComponent

func (p *Plan) HasComponent(name string) bool

func (*Plan) Validate

func (p *Plan) Validate() error

Jump to

Keyboard shortcuts

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