Documentation ¶
Index ¶
Constants ¶
View Source
const SettersConfigFileName = "setters.yaml"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fix ¶
type Fix struct { // Results are the results of fixing packages Results []*Result // contains filtered or unexported fields }
Fix migrates the resources in v1alpha1 format to v1 format
func (*Fix) FixKptfile ¶
FixKptfile migrates the input Kptfile node from v1alpha1 or v1alpha2 to v1
func (*Fix) FunctionsInPkg ¶
FunctionsInPkg gets the v1 functions list for functions in package nodes is list of input nodes which are sorted according to the package depth i is the index of the Kptfile of the package, all the files till i hits next Kptfile are the files of the package pkgPath is the package path relative to the root package directory
Click to show internal directories.
Click to hide internal directories.