Documentation
¶
Index ¶
- func Fprint(out io.Writer, objects []*unstructured.Unstructured, format string) error
- type Opt
- type Pipeline
- func (p *Pipeline) Components(filter []string) ([]component.Component, error)
- func (p *Pipeline) EnvParameters(module string) (string, error)
- func (p *Pipeline) Modules() ([]component.Module, error)
- func (p *Pipeline) Objects(filter []string) ([]*unstructured.Unstructured, error)
- func (p *Pipeline) YAML(filter []string) (io.Reader, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Opt ¶
type Opt func(p *Pipeline)
Opt is an option for configuring Pipeline.
func OverrideManager ¶
func OverrideManager(c component.Manager) Opt
OverrideManager overrides the component manager interface for a pipeline.
type Pipeline ¶
type Pipeline struct {
// contains filtered or unexported fields
}
Pipeline is the ks build pipeline.
func New ¶
func New(ksApp app.App, envName string, opts ...Opt) *Pipeline
New creates an instance of Pipeline.
func (*Pipeline) Components ¶
func (p *Pipeline) Components(filter []string) ([]component.Component, error)
Components returns the components that belong to this pipeline.
func (*Pipeline) EnvParameters ¶
func (p *Pipeline) EnvParameters(module string) (string, error)
EnvParameters creates parameters for a namespace given an environment.
func (*Pipeline) Modules ¶
func (p *Pipeline) Modules() ([]component.Module, error)
Modules returns the modules that belong to this pipeline.
Click to show internal directories.
Click to hide internal directories.