func (f *Cloud) InstanceMetadataByProviderID(ctx context.Context, providerID string) (*cloudprovider.InstanceMetadata, error) {
	f.addCall("instance-metadata-by-provider-id")
	f.addressesMux.Lock()
	defer f.addressesMux.Unlock()
	return &cloudprovider.InstanceMetadata{
		ProviderID:    providerID,
		Type:          f.InstanceTypes[types.NodeName(providerID)],
		NodeAddresses: f.Addresses,
	}, f.Err
}
// InstanceMetadataByProviderID returns metadata of the specified instance.
InstanceMetadataByProviderID returns metadata of the specified instance.
// InstanceMetadataByProviderID returns metadata of the specified instance .
func (f *Cloud) InstanceMetadataByProviderID(ctx context.Context, providerID string) (*cloudprovider.InstanceMetadata, error) {
	f.addCall("instance-metadata-by-provider-id")
	f.addressesMux.Lock()
	defer f.addressesMux.Unlock()
	return &cloudprovider.InstanceMetadata{
		ProviderID:    providerID,
		Type:          f.InstanceTypes[types.NodeName(providerID)],
		NodeAddresses: f.Addresses,
	}, f.Err
}
func ( f * Cloud ) InstanceMetadataByProviderID ( ctx context . Context , providerID string ) ( * cloudprovider . InstanceMetadata , error ) { f . addCall ( " " ) f . addressesMux . Lock ( ) defer f . addressesMux . Unlock ( ) return & cloudprovider . InstanceMetadata { ProviderID : providerID , Type : f . InstanceTypes [ types . NodeName ( providerID ) ] , NodeAddresses : f . Addresses , } , f . Err }
InstanceMetadataByProviderID returns metadata of the specified instance.
InstanceMetadataByProviderID returns metadata of the specified instance .