Do executes the "compute.instanceTemplates.get" call. Exactly one of *InstanceTemplate or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InstanceTemplate.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
Do is referenced in 2 repositoriesgithub.com/Test-Betta-Inc/literate-winner
- 2 references in builtin/providers/google/resource_compute_instance_template_test.go
- 1 reference in builtin/providers/google/resource_compute_instance_group_manager_test.go
- 1 reference in builtin/providers/google/resource_compute_instance_template.go
- 1 reference in gce/gcemanager.go