func WithInsecure(enable bool) Option {
	return func(s *Syncer) {
		s.insecure = enable
	}
}
WithInsecure configures the syncer to allow insecure SSL connections
package syncer
import (
	"os"
	"github.com/juju/errors"
	"k8s.io/klog"
	"github.com/bitnami-labs/charts-syncer/api"
	"github.com/bitnami-labs/charts-syncer/pkg/client/core"
	"github.com/bitnami-labs/charts-syncer/pkg/client/types"
)
type Clients struct {
	src core.Client
	dst core.Client
}
type Syncer struct {
	source *api.SourceRepo
	target *api.TargetRepo
	cli *Clients
	dryRun        bool
	autoDiscovery bool
	fromDate      string
	insecure      bool
	index ChartIndex
	workdir string
}
type Option func(*Syncer)
func WithDryRun(enable bool) Option {
	return func(s *Syncer) {
		s.dryRun = enable
	}
}
func WithAutoDiscovery(enable bool) Option {
	return func(s *Syncer) {
		s.autoDiscovery = enable
	}
}
func WithFromDate(date string) Option {
	return func(s *Syncer) {
		s.fromDate = date
	}
}
func WithWorkdir(dir string) Option {
	return func(s *Syncer) {
		s.workdir = dir
	}
}