mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Generate conversion methods for v1 api.
This commit is contained in:
		
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										4469
									
								
								pkg/api/v1/conversion_generated.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4469
									
								
								pkg/api/v1/conversion_generated.go
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -26,6 +26,8 @@ import (
 | 
				
			|||||||
	"testing"
 | 
						"testing"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/GoogleCloudPlatform/kubernetes/pkg/api"
 | 
						"github.com/GoogleCloudPlatform/kubernetes/pkg/api"
 | 
				
			||||||
 | 
						_ "github.com/GoogleCloudPlatform/kubernetes/pkg/api/v1"
 | 
				
			||||||
 | 
						_ "github.com/GoogleCloudPlatform/kubernetes/pkg/api/v1beta3"
 | 
				
			||||||
	"github.com/GoogleCloudPlatform/kubernetes/pkg/runtime"
 | 
						"github.com/GoogleCloudPlatform/kubernetes/pkg/runtime"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/golang/glog"
 | 
						"github.com/golang/glog"
 | 
				
			||||||
@@ -143,7 +145,7 @@ func compareBuffers(t *testing.T, generatedFile string, existing, generated byte
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func TestNoManualChangesToGenerateConversions(t *testing.T) {
 | 
					func TestNoManualChangesToGenerateConversions(t *testing.T) {
 | 
				
			||||||
	versions := []string{"v1beta3"}
 | 
						versions := []string{"v1beta3", "v1"}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	for _, version := range versions {
 | 
						for _, version := range versions {
 | 
				
			||||||
		fileName := fmt.Sprintf("../../pkg/api/%s/conversion_generated.go", version)
 | 
							fileName := fmt.Sprintf("../../pkg/api/%s/conversion_generated.go", version)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user