mirror of
				https://github.com/containers/podman.git
				synced 2025-11-01 02:42:11 +08:00 
			
		
		
		
	 bd40dcfc2b
			
		
	
	bd40dcfc2b
	
	
	
		
			
			* If possible, update each dependency to the latest available version. * Use releases over commit IDs and avoid vendoring branches. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
		
			
				
	
	
		
			24 lines
		
	
	
		
			559 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			559 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package hns
 | |
| 
 | |
| import "fmt"
 | |
| 
 | |
| //go:generate go run ../../mksyscall_windows.go -output zsyscall_windows.go hns.go
 | |
| 
 | |
| //sys _hnsCall(method string, path string, object string, response **uint16) (hr error) = vmcompute.HNSCall?
 | |
| 
 | |
| type EndpointNotFoundError struct {
 | |
| 	EndpointName string
 | |
| }
 | |
| 
 | |
| func (e EndpointNotFoundError) Error() string {
 | |
| 	return fmt.Sprintf("Endpoint %s not found", e.EndpointName)
 | |
| }
 | |
| 
 | |
| type NetworkNotFoundError struct {
 | |
| 	NetworkName string
 | |
| }
 | |
| 
 | |
| func (e NetworkNotFoundError) Error() string {
 | |
| 	return fmt.Sprintf("Network %s not found", e.NetworkName)
 | |
| }
 |