Documentation ¶
Index ¶
- func ToInternalConfig(grpcConfig *apitypescontainers.ContainerConfiguration) *internaltypes.ContainerConfiguration
- func ToInternalContainer(grpcContainer *apitypescontainers.Container) *internaltypes.Container
- func ToInternalDecryptConfig(grpcDecryptConfig *apitypescontainers.DecryptConfig) *internaltypes.DecryptConfig
- func ToInternalDeviceMapping(grpcDevMapping *apitypescontainers.DeviceMapping) *internaltypes.DeviceMapping
- func ToInternalEndpointSettings(grpcEpSettings *apitypescontainers.EndpointSettings) *internaltypes.EndpointSettings
- func ToInternalHook(grpcHook *apitypescontainers.Hook) *internaltypes.Hook
- func ToInternalHookType(grpcHookType string) internaltypes.HookType
- func ToInternalHostConfig(grpcHostConfig *apitypescontainers.HostConfig) *internaltypes.HostConfig
- func ToInternalIOConfig(grpcIOConfig *apitypescontainers.IOConfig) *internaltypes.IOConfig
- func ToInternalImage(grpcImage *apitypescontainers.Image) *internaltypes.Image
- func ToInternalLogConfig(grpcLogConfig *apitypescontainers.LogConfiguration) *internaltypes.LogConfiguration
- func ToInternalLogDriverConfig(grpcLogDriverConfig *apitypescontainers.LogDriverConfiguration) *internaltypes.LogDriverConfiguration
- func ToInternalLogModeConfig(grpcLogModeConfig *apitypescontainers.LogModeConfiguration) *internaltypes.LogModeConfiguration
- func ToInternalMountPoint(grpcMountPoint *apitypescontainers.MountPoint) *internaltypes.MountPoint
- func ToInternalNetworkSettings(grpcNetworkSettings *apitypescontainers.NetworkSettings) *internaltypes.NetworkSettings
- func ToInternalPortMappings(grpcPortMappings []*apitypescontainers.PortMapping) []internaltypes.PortMapping
- func ToInternalProjectInfo(grpcProjectInfo *apitypessysinfo.ProjectInfo) sysinfointernaltypes.ProjectInfo
- func ToInternalResources(resources *apitypescontainers.Resources) *internaltypes.Resources
- func ToInternalRestartPolicy(grpcRestartPolicy *apitypescontainers.RestartPolicy) *internaltypes.RestartPolicy
- func ToInternalState(grpcState *apitypescontainers.State) *internaltypes.State
- func ToInternalStatus(grpcStatus string) internaltypes.Status
- func ToInternalStopOptions(grpcStopOptions *apitypescontainers.StopOptions) *internaltypes.StopOpts
- func ToInternalUpdateOptions(grpcUpdateOptions *apitypescontainers.UpdateOptions) *internaltypes.UpdateOpts
- func ToProtoConfig(internalConfig *internaltypes.ContainerConfiguration) *apitypescontainers.ContainerConfiguration
- func ToProtoContainer(intenralContainer *internaltypes.Container) *apitypescontainers.Container
- func ToProtoDecryptConfig(DecryptConfig *internaltypes.DecryptConfig) *apitypescontainers.DecryptConfig
- func ToProtoDeviceMapping(internDevMapping *internaltypes.DeviceMapping) *apitypescontainers.DeviceMapping
- func ToProtoEndpointSettings(internEpSettings *internaltypes.EndpointSettings) *apitypescontainers.EndpointSettings
- func ToProtoHook(inernalHook *internaltypes.Hook) *apitypescontainers.Hook
- func ToProtoHostConfig(internalHostConfig *internaltypes.HostConfig) *apitypescontainers.HostConfig
- func ToProtoIOConfig(internalIOConfig *internaltypes.IOConfig) *apitypescontainers.IOConfig
- func ToProtoImage(internalImage *internaltypes.Image) *apitypescontainers.Image
- func ToProtoLogConfig(internalLogConfig *internaltypes.LogConfiguration) *apitypescontainers.LogConfiguration
- func ToProtoLogDriverConfig(internalLogDriverConfig *internaltypes.LogDriverConfiguration) *apitypescontainers.LogDriverConfiguration
- func ToProtoLogModeConfig(internalLogModeConfig *internaltypes.LogModeConfiguration) *apitypescontainers.LogModeConfiguration
- func ToProtoMountPoint(internalMountPoint *internaltypes.MountPoint) *apitypescontainers.MountPoint
- func ToProtoNetworkSettings(internalNetworkSettings *internaltypes.NetworkSettings) *apitypescontainers.NetworkSettings
- func ToProtoPortMappings(internalPortMappings []internaltypes.PortMapping) []*apitypescontainers.PortMapping
- func ToProtoProjectInfo(projectInfo sysinfointernaltypes.ProjectInfo) *apitypessysinfo.ProjectInfo
- func ToProtoResource(internalResource *internaltypes.Resources) *apitypescontainers.Resources
- func ToProtoRestartPolicy(internalRestartPolicy *internaltypes.RestartPolicy) *apitypescontainers.RestartPolicy
- func ToProtoState(internState *internaltypes.State) *apitypescontainers.State
- func ToProtoStopOptions(intenralStopOpts *internaltypes.StopOpts) *apitypescontainers.StopOptions
- func ToProtoUpdateOptions(intenralUpdateOpts *internaltypes.UpdateOpts) *apitypescontainers.UpdateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToInternalConfig ¶
func ToInternalConfig(grpcConfig *apitypescontainers.ContainerConfiguration) *internaltypes.ContainerConfiguration
ToInternalConfig converts a types.ContainerConfiguration instance to an internal ContainerConfiguration one
func ToInternalContainer ¶
func ToInternalContainer(grpcContainer *apitypescontainers.Container) *internaltypes.Container
ToInternalContainer converts a types.Container instance to an internal Container one
func ToInternalDecryptConfig ¶
func ToInternalDecryptConfig(grpcDecryptConfig *apitypescontainers.DecryptConfig) *internaltypes.DecryptConfig
ToInternalDecryptConfig converts a types.DecryptConfig instance to an internal DecryptConfig one
func ToInternalDeviceMapping ¶
func ToInternalDeviceMapping(grpcDevMapping *apitypescontainers.DeviceMapping) *internaltypes.DeviceMapping
ToInternalDeviceMapping converts a types.DeviceMapping instance to an internal DeviceMapping one
func ToInternalEndpointSettings ¶
func ToInternalEndpointSettings(grpcEpSettings *apitypescontainers.EndpointSettings) *internaltypes.EndpointSettings
ToInternalEndpointSettings converts a types.EndpointSettings instance to an internal EndpointSettings one
func ToInternalHook ¶
func ToInternalHook(grpcHook *apitypescontainers.Hook) *internaltypes.Hook
ToInternalHook converts a types.Hook instance to an internal Hook one
func ToInternalHookType ¶
func ToInternalHookType(grpcHookType string) internaltypes.HookType
ToInternalHookType converts a gRPC hook type to an internal HookType one
func ToInternalHostConfig ¶
func ToInternalHostConfig(grpcHostConfig *apitypescontainers.HostConfig) *internaltypes.HostConfig
ToInternalHostConfig converts a types.HostConfig instance to internal HostConfig one
func ToInternalIOConfig ¶
func ToInternalIOConfig(grpcIOConfig *apitypescontainers.IOConfig) *internaltypes.IOConfig
ToInternalIOConfig converts a types.IOConfig instance to an internal IOConfig one
func ToInternalImage ¶
func ToInternalImage(grpcImage *apitypescontainers.Image) *internaltypes.Image
ToInternalImage converts a types.Image instance to an internal Image one
func ToInternalLogConfig ¶
func ToInternalLogConfig(grpcLogConfig *apitypescontainers.LogConfiguration) *internaltypes.LogConfiguration
ToInternalLogConfig converts a types.LogConfiguration to an internal LogConfiguration one
func ToInternalLogDriverConfig ¶
func ToInternalLogDriverConfig(grpcLogDriverConfig *apitypescontainers.LogDriverConfiguration) *internaltypes.LogDriverConfiguration
ToInternalLogDriverConfig converts a types.LogDriverConfiguration to an internal LogDriverConfiguration one
func ToInternalLogModeConfig ¶
func ToInternalLogModeConfig(grpcLogModeConfig *apitypescontainers.LogModeConfiguration) *internaltypes.LogModeConfiguration
ToInternalLogModeConfig converts a types.LogModeConfiguration to an internal LogModeConfiguration
func ToInternalMountPoint ¶
func ToInternalMountPoint(grpcMountPoint *apitypescontainers.MountPoint) *internaltypes.MountPoint
ToInternalMountPoint converts a types.MountPoint instance to an internal MountPoint one
func ToInternalNetworkSettings ¶
func ToInternalNetworkSettings(grpcNetworkSettings *apitypescontainers.NetworkSettings) *internaltypes.NetworkSettings
ToInternalNetworkSettings converts a types.NetworkSettings instance to an internal NetworkSettings one
func ToInternalPortMappings ¶
func ToInternalPortMappings(grpcPortMappings []*apitypescontainers.PortMapping) []internaltypes.PortMapping
ToInternalPortMappings converts a types.PortMapping instance to an internal PortMapping one
func ToInternalProjectInfo ¶
func ToInternalProjectInfo(grpcProjectInfo *apitypessysinfo.ProjectInfo) sysinfointernaltypes.ProjectInfo
ToInternalProjectInfo converts a types.ProjectInfo instance to an internal ProjectInfo one
func ToInternalResources ¶
func ToInternalResources(resources *apitypescontainers.Resources) *internaltypes.Resources
ToInternalResources converts a types.Resources to an internal Resources one
func ToInternalRestartPolicy ¶
func ToInternalRestartPolicy(grpcRestartPolicy *apitypescontainers.RestartPolicy) *internaltypes.RestartPolicy
ToInternalRestartPolicy converts a types.RestartPolicy instance to an internal RestartPolicy one
func ToInternalState ¶
func ToInternalState(grpcState *apitypescontainers.State) *internaltypes.State
ToInternalState converts a types.State instance to an internal State one
func ToInternalStatus ¶
func ToInternalStatus(grpcStatus string) internaltypes.Status
ToInternalStatus converts a gRPC status to an internal status one
func ToInternalStopOptions ¶
func ToInternalStopOptions(grpcStopOptions *apitypescontainers.StopOptions) *internaltypes.StopOpts
ToInternalStopOptions converts a types.StopOptions to an internal StopOptions
func ToInternalUpdateOptions ¶
func ToInternalUpdateOptions(grpcUpdateOptions *apitypescontainers.UpdateOptions) *internaltypes.UpdateOpts
ToInternalUpdateOptions converts a types.UpdateOptions to an internal UpdateOptions
func ToProtoConfig ¶
func ToProtoConfig(internalConfig *internaltypes.ContainerConfiguration) *apitypescontainers.ContainerConfiguration
ToProtoConfig converts an internal instance ContainerConfiguration to a types.ContainerConfiguration one
func ToProtoContainer ¶
func ToProtoContainer(intenralContainer *internaltypes.Container) *apitypescontainers.Container
ToProtoContainer converts an internal Container instance to a types.Container one
func ToProtoDecryptConfig ¶
func ToProtoDecryptConfig(DecryptConfig *internaltypes.DecryptConfig) *apitypescontainers.DecryptConfig
ToProtoDecryptConfig converts an internal DecryptDate instance to a types.DecryptDate one
func ToProtoDeviceMapping ¶
func ToProtoDeviceMapping(internDevMapping *internaltypes.DeviceMapping) *apitypescontainers.DeviceMapping
ToProtoDeviceMapping converts an internal DeviceMapping instance to a types.DeviceMapping one
func ToProtoEndpointSettings ¶
func ToProtoEndpointSettings(internEpSettings *internaltypes.EndpointSettings) *apitypescontainers.EndpointSettings
ToProtoEndpointSettings converts an internal EndpointSettings instance to a types.EndpointSettings one
func ToProtoHook ¶
func ToProtoHook(inernalHook *internaltypes.Hook) *apitypescontainers.Hook
ToProtoHook converts an internal Hook instance to a types.Hook one
func ToProtoHostConfig ¶
func ToProtoHostConfig(internalHostConfig *internaltypes.HostConfig) *apitypescontainers.HostConfig
ToProtoHostConfig converts an internal instance HostConfig to a types.HostConfig one
func ToProtoIOConfig ¶
func ToProtoIOConfig(internalIOConfig *internaltypes.IOConfig) *apitypescontainers.IOConfig
ToProtoIOConfig converts an internal IOConfig instance to a types.IOConfig one
func ToProtoImage ¶
func ToProtoImage(internalImage *internaltypes.Image) *apitypescontainers.Image
ToProtoImage converts an internal Image instance to a types.Image one
func ToProtoLogConfig ¶
func ToProtoLogConfig(internalLogConfig *internaltypes.LogConfiguration) *apitypescontainers.LogConfiguration
ToProtoLogConfig converts an internal LogConfiguration instance to a types.LogConfiguration one
func ToProtoLogDriverConfig ¶
func ToProtoLogDriverConfig(internalLogDriverConfig *internaltypes.LogDriverConfiguration) *apitypescontainers.LogDriverConfiguration
ToProtoLogDriverConfig converts an internal LogDriverConfiguration instance to a types.LogDriverConfiguration one
func ToProtoLogModeConfig ¶
func ToProtoLogModeConfig(internalLogModeConfig *internaltypes.LogModeConfiguration) *apitypescontainers.LogModeConfiguration
ToProtoLogModeConfig converts an internal LogModeConfiguration instance to a types.LogModeConfiguration one
func ToProtoMountPoint ¶
func ToProtoMountPoint(internalMountPoint *internaltypes.MountPoint) *apitypescontainers.MountPoint
ToProtoMountPoint converts an internal MountPoint instance to a types.MountPoint one
func ToProtoNetworkSettings ¶
func ToProtoNetworkSettings(internalNetworkSettings *internaltypes.NetworkSettings) *apitypescontainers.NetworkSettings
ToProtoNetworkSettings converts an internal NetworkSettings instance to a types.NetworkSettings one
func ToProtoPortMappings ¶
func ToProtoPortMappings(internalPortMappings []internaltypes.PortMapping) []*apitypescontainers.PortMapping
ToProtoPortMappings converts an internal PortMapping instance to a types.PortMapping one
func ToProtoProjectInfo ¶
func ToProtoProjectInfo(projectInfo sysinfointernaltypes.ProjectInfo) *apitypessysinfo.ProjectInfo
ToProtoProjectInfo converts an internal ProjectInfo instance to a types.ProjectInfo one
func ToProtoResource ¶
func ToProtoResource(internalResource *internaltypes.Resources) *apitypescontainers.Resources
ToProtoResource converts an internal Resource instance to a types.Resource one
func ToProtoRestartPolicy ¶
func ToProtoRestartPolicy(internalRestartPolicy *internaltypes.RestartPolicy) *apitypescontainers.RestartPolicy
ToProtoRestartPolicy converts an internal RestartPolicy instance to a types.RestartPolicy one
func ToProtoState ¶
func ToProtoState(internState *internaltypes.State) *apitypescontainers.State
ToProtoState converts an internal State instance to a types.State one
func ToProtoStopOptions ¶
func ToProtoStopOptions(intenralStopOpts *internaltypes.StopOpts) *apitypescontainers.StopOptions
ToProtoStopOptions converts an internal StopOpts instance to a types.StopOpts one
func ToProtoUpdateOptions ¶
func ToProtoUpdateOptions(intenralUpdateOpts *internaltypes.UpdateOpts) *apitypescontainers.UpdateOptions
ToProtoUpdateOptions converts an internal UpdateOpts instance to a types.UpdateOpts one
Types ¶
This section is empty.