Documentation
¶
Overview ¶
SFTP storage CRUD example demonstrating the polling helpers (NewAndPoll, UpdateAndPoll, DeleteAndPoll) on SftpStorageService.
The first half of main runs the simple SDK pattern (typed params, typed return). The second half runs the same lifecycle in the Terraform-provider pattern: option.WithRequestBody supplies a pre-marshalled JSON body and option.WithResponseBodyInto captures the raw *http.Response so the caller can read both the typed return and the original API payload.
Reads GCORE_API_KEY from the environment.
Click to show internal directories.
Click to hide internal directories.