lib

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAndCopyCustomizations

func CheckAndCopyCustomizations(customizationsPath string) error

CheckAndCopyCustomizations checks if the customizations path is an existing directory and copies to assets

func Collect

func Collect(inputPath string, outputPath string, annotations []string)

Collect gets the metadata from multiple sources, filters it and dumps it into files within source directory

func CopyCustomizationsAssetsData

func CopyCustomizationsAssetsData(customizationsPath string) (err error)

CopyCustomizationsAssetsData copies an customizations to the assets directory

func CreatePlan

func CreatePlan(ctx context.Context, inputPath, outputPath string, customizationsPath, transformerSelector, prjName string) (plantypes.Plan, error)

CreatePlan creates the plan using all the tranformers.

func Destroy

func Destroy()

Destroy destroys the tranformers

func GetVersion

func GetVersion(long bool) string

GetVersion returns the version

func Transform

func Transform(ctx context.Context, plan plantypes.Plan, preExistingPlan bool, outputPath string, transformerSelector string, maxIterations int) error

Transform transforms the artifacts and writes output

Types

This section is empty.

Jump to

Keyboard shortcuts

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