// NewFolder constructs a Folder based off the provided Service.
NewFolder constructs a Folder based off the provided Service.
// NewFolder constructs a Folder based off the provided Service .
func NewFolder(service *Service) *Folder {
	return &Folder{
		SpecName:        service.SpecDetails.Name,
		RemoteContainer: service.RemoteContainer,
		Reload:          service.SpecDetails.Reload,
		LocalPath:       service.SpecDetails.LocalPath,
		RemotePath:      service.SpecDetails.RemotePath,
		id: fmt.Sprintf("%s-%s",
			service.SpecDetails.Name, service.RemoteContainer.PodName),
		connection: cluster.NewConnection(service.RemoteContainer.NodeName),
		stop: make(chan bool),
	}
}
func NewFolder ( service * Service ) * Folder { return & Folder { SpecName : service . SpecDetails . Name , RemoteContainer : service . RemoteContainer , Reload : service . SpecDetails . Reload , LocalPath : service . SpecDetails . LocalPath , RemotePath : service . SpecDetails . RemotePath , id : fmt . Sprintf ( " " , service . SpecDetails . Name , service . RemoteContainer . PodName ) , connection : cluster . NewConnection ( service . RemoteContainer . NodeName ) , stop : make ( chan bool ) , } }
NewFolder constructs a Folder based off the provided Service.
NewFolder constructs a Folder based off the provided Service .