# Functions
FromConnector reads the `connector_id` from the first connector in the list of connectors from a Border0 socket, and sets the `connector_id` in the terraform resource data.
FromSocket converts a border0client.Socket's top level fields into terraform resource data.
FromUpstreamConfig translates a socket's upstream service config to terraform resource data.
LoadMultipartID loads the schema resource id consisting of multiple parts onto the given variables.
SetMultipartID sets the id on the schema resource data concatenating multiple parts.
SetValues sets multiple values in a resource schema.
ToSocket read top level socket fields from terraform resource data and sets them in a border0client.Socket.
ToUpstreamConfig translates terraform resource data to a socket's upstream service config.