Merge pull request #58674 from bowei/cp-expose
Automatic merge from submit-queue (batch tested with PRs 58697, 58658, 58676, 58674). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Expose the generate stub for compute API This allows clients such as Ingress to begin migration to the newly generated stubs. ```release-note NONE ```
This commit is contained in:
		@@ -229,6 +229,11 @@ func (g *GCECloud) ComputeServices() *Services {
 | 
				
			|||||||
	return &Services{g.service, g.serviceAlpha, g.serviceBeta}
 | 
						return &Services{g.service, g.serviceAlpha, g.serviceBeta}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Compute returns the generated stubs for the compute API.
 | 
				
			||||||
 | 
					func (g *GCECloud) Compute() cloud.Cloud {
 | 
				
			||||||
 | 
						return g.c
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// newGCECloud creates a new instance of GCECloud.
 | 
					// newGCECloud creates a new instance of GCECloud.
 | 
				
			||||||
func newGCECloud(config io.Reader) (gceCloud *GCECloud, err error) {
 | 
					func newGCECloud(config io.Reader) (gceCloud *GCECloud, err error) {
 | 
				
			||||||
	var cloudConfig *CloudConfig
 | 
						var cloudConfig *CloudConfig
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user