cgroschupp / go-client-confluent-cloud

MIT License
13 stars 19 forks source link

Support Networking options as part of the ClusterCreateConfig #14

Closed Marcus-James-Adams closed 1 year ago

Marcus-James-Adams commented 3 years ago

As referenced by Terrafrom provider for confluent cloud - private networking

Currently, the go client allows you to create a dedicated cluster but does not allow you to set the networking options.

"However, that struct is not on the ClusterCreateConfig (aka the struct that is used for the creation of the cluster) but rather in the return payload."

In order to function correctly, it needs to support passing the following options when creating a dedicated cluster

type ClusterDeploymentNetworkAccess struct { PublicInternet []interface{} json:"public_internet" VpcPeering []interface{} json:"vpc_peering" PrivateLink []interface{} json:"private_link" TransitGateway []interface{} json:"transit_gateway" }