func DiamondRepo(r string) DiamondOption {
	return func(b *Diamond) {
		b.RepoID = r
	}
}
DiamondRepo defines the repo a diamond belongs to
package core
import (
	context2 "github.com/oneconcern/datamon/pkg/context"
	"github.com/oneconcern/datamon/pkg/model"
	"go.uber.org/zap"
)
type DiamondOption func(*Diamond)
func DiamondDescriptor(desc *model.DiamondDescriptor) DiamondOption {
	return func(b *Diamond) {
		if desc != nil {
			b.DiamondDescriptor = *desc
		}
	}
}