renderer

package
v1.39.6 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultHydrationDir = ".kpt-pipeline"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Renderer

type Renderer interface {
	Render(context.Context, io.Writer, []graph.Artifact) error
}

func NewSkaffoldRenderer

func NewSkaffoldRenderer(config *latestV2.RenderConfig, workingDir string) (Renderer, error)

NewSkaffoldRenderer creates a new Renderer object from the latestV2 API schema.

type SkaffoldRenderer

type SkaffoldRenderer struct {
	generate.Generator
	validate.Validator
	transform.Transformer
	// contains filtered or unexported fields
}

func (*SkaffoldRenderer) Render

func (r *SkaffoldRenderer) Render(ctx context.Context, out io.Writer, builds []graph.Artifact) error

Jump to

Keyboard shortcuts

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