Unverified Commit c343fa49 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #66917 from dougm/cloud-doc

Automatic merge from submit-queue (batch tested with PRs 67026, 62945, 66917). 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>. Cloud Provider Zones doc fixups **What this PR does / why we need it**: A few godoc fixups for Cloud Provider Zones. ```release-note NONE ```
parents bd0de223 8e82db42
...@@ -201,13 +201,13 @@ type Zones interface { ...@@ -201,13 +201,13 @@ type Zones interface {
// can no longer be called from the kubelets. // can no longer be called from the kubelets.
GetZone(ctx context.Context) (Zone, error) GetZone(ctx context.Context) (Zone, error)
// GetZoneByProviderID returns the Zone containing the current zone and locality region of the node specified by providerId // GetZoneByProviderID returns the Zone containing the current zone and locality region of the node specified by providerID
// This method is particularly used in the context of external cloud providers where node initialization must be down // This method is particularly used in the context of external cloud providers where node initialization must be done
// outside the kubelets. // outside the kubelets.
GetZoneByProviderID(ctx context.Context, providerID string) (Zone, error) GetZoneByProviderID(ctx context.Context, providerID string) (Zone, error)
// GetZoneByNodeName returns the Zone containing the current zone and locality region of the node specified by node name // GetZoneByNodeName returns the Zone containing the current zone and locality region of the node specified by node name
// This method is particularly used in the context of external cloud providers where node initialization must be down // This method is particularly used in the context of external cloud providers where node initialization must be done
// outside the kubelets. // outside the kubelets.
GetZoneByNodeName(ctx context.Context, nodeName types.NodeName) (Zone, error) GetZoneByNodeName(ctx context.Context, nodeName types.NodeName) (Zone, error)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment