Documentation ¶
Index ¶
- Variables
- type Transformer
- func (v *Transformer) Append(ts ...latest.Transformer) error
- func (v *Transformer) GetDeclarativeTransformers() ([]kptfile.Function, error)
- func (v *Transformer) IsEmpty() bool
- func (v *Transformer) Transform(ctx context.Context, ml manifest.ManifestList) (manifest.ManifestList, error)
- func (v *Transformer) TransformPath(path string) error
Constants ¶
This section is empty.
Variables ¶
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 (v *Transformer) Transform(ctx context.Context, ml manifest.ManifestList) (manifest.ManifestList, error)
func (*Transformer) TransformPath ¶ added in v2.2.0
func (v *Transformer) TransformPath(path string) error
TransformPath transform manifests in-place in filepath.
Click to show internal directories.
Click to hide internal directories.