const ( InventoryPolicyFlag = "inventory-policy" InventoryPolicyStrict = "strict" InventoryPolicyAdopt = "adopt" InventoryPolicyForceAdopt = "force-adopt" )
func ConvertInventoryPolicy(policy string) (inventory.Policy, error)
func ConvertPropagationPolicy(propagationPolicy string) (metav1.DeletionPropagation, error)
ConvertPropagationPolicy converts a propagationPolicy described as a string to a DeletionPropagation type that is passed into the Applier.
func PathFromArgs(args []string) string
PathFromArgs returns the path which is a positional arg from args list returns "-" if there is length of args is 0, which implies no path is provided