# Functions

ToInternalConfig converts a types.ContainerConfiguration instance to an internal ContainerConfiguration one.
ToInternalContainer converts a types.Container instance to an internal Container one.
ToInternalDecryptConfig converts a types.DecryptConfig instance to an internal DecryptConfig one.
ToInternalDeviceMapping converts a types.DeviceMapping instance to an internal DeviceMapping one.
ToInternalEndpointSettings converts a types.EndpointSettings instance to an internal EndpointSettings one.
ToInternalHook converts a types.Hook instance to an internal Hook one.
ToInternalHookType converts a gRPC hook type to an internal HookType one.
ToInternalHostConfig converts a types.HostConfig instance to internal HostConfig one.
ToInternalImage converts a types.Image instance to an internal Image one.
ToInternalIOConfig converts a types.IOConfig instance to an internal IOConfig one.
ToInternalLogConfig converts a types.LogConfiguration to an internal LogConfiguration one.
ToInternalLogDriverConfig converts a types.LogDriverConfiguration to an internal LogDriverConfiguration one.
ToInternalLogModeConfig converts a types.LogModeConfiguration to an internal LogModeConfiguration.
ToInternalMountPoint converts a types.MountPoint instance to an internal MountPoint one.
ToInternalNetworkSettings converts a types.NetworkSettings instance to an internal NetworkSettings one.
ToInternalPortMappings converts a types.PortMapping instance to an internal PortMapping one.
ToInternalProjectInfo converts a types.ProjectInfo instance to an internal ProjectInfo one.
ToInternalResources converts a types.Resources to an internal Resources one.
ToInternalRestartPolicy converts a types.RestartPolicy instance to an internal RestartPolicy one.
ToInternalState converts a types.State instance to an internal State one.
ToInternalStatus converts a gRPC status to an internal status one.
ToInternalStopOptions converts a types.StopOptions to an internal StopOptions.
ToInternalUpdateOptions converts a types.UpdateOptions to an internal UpdateOptions.
ToProtoConfig converts an internal instance ContainerConfiguration to a types.ContainerConfiguration one.
ToProtoContainer converts an internal Container instance to a types.Container one.
ToProtoDecryptConfig converts an internal DecryptDate instance to a types.DecryptDate one.
ToProtoDeviceMapping converts an internal DeviceMapping instance to a types.DeviceMapping one.
ToProtoEndpointSettings converts an internal EndpointSettings instance to a types.EndpointSettings one.
ToProtoHook converts an internal Hook instance to a types.Hook one.
ToProtoHostConfig converts an internal instance HostConfig to a types.HostConfig one.
ToProtoImage converts an internal Image instance to a types.Image one.
ToProtoIOConfig converts an internal IOConfig instance to a types.IOConfig one.
ToProtoLogConfig converts an internal LogConfiguration instance to a types.LogConfiguration one.
ToProtoLogDriverConfig converts an internal LogDriverConfiguration instance to a types.LogDriverConfiguration one.
ToProtoLogModeConfig converts an internal LogModeConfiguration instance to a types.LogModeConfiguration one.
ToProtoMountPoint converts an internal MountPoint instance to a types.MountPoint one.
ToProtoNetworkSettings converts an internal NetworkSettings instance to a types.NetworkSettings one.
ToProtoPortMappings converts an internal PortMapping instance to a types.PortMapping one.
ToProtoProjectInfo converts an internal ProjectInfo instance to a types.ProjectInfo one.
ToProtoResource converts an internal Resource instance to a types.Resource one.
ToProtoRestartPolicy converts an internal RestartPolicy instance to a types.RestartPolicy one.
ToProtoState converts an internal State instance to a types.State one.
ToProtoStopOptions converts an internal StopOpts instance to a types.StopOpts one.
ToProtoUpdateOptions converts an internal UpdateOpts instance to a types.UpdateOpts one.