func NewBuilder(idSegments ...string) *Builder {
	p := newPlan()
	if len(idSegments) == 0 {
		p.id = fmt.Sprintf("plan-%s", uuid.NewUUID())
	} else {
		p.id = strings.Join(idSegments, "-")
	}
	return &Builder{plan: p}
}
NewBuilder creates a new Builder.
package plan
import (
	"bytes"
	"errors"
	"fmt"
	"strings"
	"k8s.io/apimachinery/pkg/util/uuid"
)
type Builder struct {
	plan   *Plan
	errors []error
}