func NewClusterName()

in pkg/flink/types.go [85:91]


func NewClusterName(name string) (ClusterName, error) {
	cn := ClusterName(name)
	if err := cn.Validate(); err != nil {
		return ClusterName(""), nil
	}
	return cn, nil
}