func NewManager(client CFClient, cfg config.Reader, orgManager organization.Manager, spaceManager space.Manager, peek bool) (Manager, error) {
	globalCfg, err := cfg.GetGlobalConfig()
	if err != nil {
		return nil, err
	}

	return &Updater{
		Cfg:          cfg,
		Client:       client,
		OrgManager:   orgManager,
		SpaceManager: spaceManager,
		Peek:         peek,
		CleanUp:      globalCfg.EnableDeleteIsolationSegments,
	}, nil
}
func NewManager(client CFClient, cfg config.Reader, orgManager organization.Manager, spaceManager space.Manager, peek bool) (Manager, error) {
	globalCfg, err := cfg.GetGlobalConfig()
	if err != nil {
		return nil, err
	}

	return &Updater{
		Cfg:          cfg,
		Client:       client,
		OrgManager:   orgManager,
		SpaceManager: spaceManager,
		Peek:         peek,
		CleanUp:      globalCfg.EnableDeleteIsolationSegments,
	}, nil
}
func NewManager ( client CFClient , cfg config . Reader , orgManager organization . Manager , spaceManager space . Manager , peek bool ) ( Manager , error ) { globalCfg , err := cfg . GetGlobalConfig ( ) if err != nil { return nil , err } return & Updater { Cfg : cfg , Client : client , OrgManager : orgManager , SpaceManager : spaceManager , Peek : peek , CleanUp : globalCfg . EnableDeleteIsolationSegments , } , nil }
//NewManager -
NewManager -