godo.ADS.CreateDataFlow()
Generated on 23 Nov 2026
from godo version
v1.245.0
Usage
client.ADS.CreateDataFlow(ctx context.Context, create *godo.ADSDataFlowCreateRequest) (*godo.ADSDataFlowCreateResponse, *godo.Response, error)Description
CreateDataFlow creates a data flow in the workspace on create.
Region comes from create and is used as the path segment only.
Parameters
create*godo.ADSDataFlowCreateRequest required
Fields of godo.ADSDataFlowCreateRequest
ADSDataFlowCreateRequest is the body for CreateDataFlow.
Region is path-only and is not sent in the JSON body. Workspace is required
and used as a path segment; it is also sent in the body.
RegionstringNamestringDesiredReplicasint32MaxReplicasint32WorkspacestringImageRefstringManifestjson.RawMessage
Returns
- *godo.ADSDataFlowCreateResponse
- *godo.Response
The HTTP response, with pagination
Links,Meta, andRatelimit information.- error
Non-nil when the request fails. API errors are returned as
*godo.ErrorResponse.
Fields of godo.ADSDataFlowCreateResponse
ADSDataFlowCreateResponse is the body of CreateDataFlow.
UUIDstringStatestringUpload*godo.ADSTarballUpload
Request Sample
More Information
See the Go package documentation for the source of this method.