transform

package
v2.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AllowListedTransformer = func() []string {
		transformers := make([]string, 0, len(transformerAllowlist))
		for funcName := range transformerAllowlist {
			transformers = append(transformers, funcName)
		}
		return transformers
	}()
)

Functions

This section is empty.

Types

type Transformer

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

func NewTransformer

func NewTransformer(config []latest.Transformer) (Transformer, error)

NewTransformer instantiates a Transformer object.

func (*Transformer) Append added in v2.2.0

func (v *Transformer) Append(ts ...latest.Transformer) error

func (*Transformer) GetDeclarativeTransformers

func (v *Transformer) GetDeclarativeTransformers() ([]kptfile.Function, error)

GetDeclarativeValidators transforms and returns the skaffold validators defined in skaffold.yaml

func (*Transformer) IsEmpty added in v2.2.0

func (v *Transformer) IsEmpty() bool

func (*Transformer) Transform added in v2.2.0

func (*Transformer) TransformPath added in v2.2.0

func (v *Transformer) TransformPath(path string) error

TransformPath transform manifests in-place in filepath.

Jump to

Keyboard shortcuts

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