mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 16:00:24 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			485 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			485 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package installers
 | 
						|
 | 
						|
import "testing"
 | 
						|
 | 
						|
func TestDeployManager_LoadNodeFiles(t *testing.T) {
 | 
						|
	files := NewDeployManager().LoadNodeFiles()
 | 
						|
	for _, file := range files {
 | 
						|
		t.Logf("%#v", file)
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
func TestDeployManager_LoadNSNodeFiles(t *testing.T) {
 | 
						|
	files := NewDeployManager().LoadNSNodeFiles()
 | 
						|
	for _, file := range files {
 | 
						|
		t.Logf("%#v", file)
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
func TestDeployManager_FindNSNodeFile(t *testing.T) {
 | 
						|
	file := NewDeployManager().FindNSNodeFile("linux", "amd64")
 | 
						|
	t.Log(file)
 | 
						|
 | 
						|
} |