Merge pull request #53276 from freehan/alpha-backendservice
Automatic merge from submit-queue (batch tested with PRs 53234, 53252, 53267, 53276, 53107). 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>. add get alpha backend service into cloud provider ```release-note NONE ```
This commit is contained in:
		@@ -38,6 +38,13 @@ func (gce *GCECloud) GetGlobalBackendService(name string) (*compute.BackendServi
 | 
				
			|||||||
	return v, mc.Observe(err)
 | 
						return v, mc.Observe(err)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// GetAlphaGlobalBackendService retrieves alpha backend by name.
 | 
				
			||||||
 | 
					func (gce *GCECloud) GetAlphaGlobalBackendService(name string) (*computealpha.BackendService, error) {
 | 
				
			||||||
 | 
						mc := newBackendServiceMetricContextWithVersion("get", "", computeAlphaVersion)
 | 
				
			||||||
 | 
						v, err := gce.serviceAlpha.BackendServices.Get(gce.projectID, name).Do()
 | 
				
			||||||
 | 
						return v, mc.Observe(err)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// UpdateGlobalBackendService applies the given BackendService as an update to an existing service.
 | 
					// UpdateGlobalBackendService applies the given BackendService as an update to an existing service.
 | 
				
			||||||
func (gce *GCECloud) UpdateGlobalBackendService(bg *compute.BackendService) error {
 | 
					func (gce *GCECloud) UpdateGlobalBackendService(bg *compute.BackendService) error {
 | 
				
			||||||
	mc := newBackendServiceMetricContext("update", "")
 | 
						mc := newBackendServiceMetricContext("update", "")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user