kubernetes/vendor/sigs.k8s.io/kustomize/api/internal/builtins/SortOrderTransformer.go

type SortOrderTransformerPlugin

func (p *SortOrderTransformerPlugin) Config(
	_ *resmap.PluginHelpers, c []byte) error {}

func (p *SortOrderTransformerPlugin) applyDefaults() {}

func (p *SortOrderTransformerPlugin) validate() error {}

func (p *SortOrderTransformerPlugin) Transform(m resmap.ResMap) (err error) {}

type legacyIDSorter

func newLegacyIDSorter(
	resources []*resource.Resource,
	options *types.LegacySortOptions) *legacyIDSorter {}

var _

func (a legacyIDSorter) Len() int {}

func (a legacyIDSorter) Swap(i, j int) {}

func (a legacyIDSorter) Less(i, j int) bool {}

func gvkLessThan(gvk1, gvk2 resid.Gvk, typeOrders map[string]int) bool {}

// legacyGVKSortString returns a string representation of given GVK used for
// stable sorting.
func legacyGVKSortString(x resid.Gvk) string {}

// legacyResIDSortString returns a string representation of given ResID used for
// stable sorting.
func legacyResIDSortString(id resid.ResId) string {}

var defaultOrderFirst

var defaultOrderLast

func NewSortOrderTransformerPlugin() resmap.TransformerPlugin {}