Documentation ¶
Index ¶
- func ActualLRPToResponse(actualLRP models.ActualLRP, evacuating bool) receptor.ActualLRPResponse
- func CellPresenceToCellResponse(cellPresence models.CellPresence) receptor.CellResponse
- func DesiredLRPFromRequest(req receptor.DesiredLRPCreateRequest) models.DesiredLRP
- func DesiredLRPFromResponse(resp receptor.DesiredLRPResponse) models.DesiredLRP
- func DesiredLRPToResponse(lrp models.DesiredLRP) receptor.DesiredLRPResponse
- func DesiredLRPUpdateFromRequest(req receptor.DesiredLRPUpdateRequest) models.DesiredLRPUpdate
- func EnvironmentVariablesFromModel(envVars []models.EnvironmentVariable) []receptor.EnvironmentVariable
- func EnvironmentVariablesToModel(envVars []receptor.EnvironmentVariable) []models.EnvironmentVariable
- func PortMappingFromModel(ports []models.PortMapping) []receptor.PortMapping
- func PortMappingToModel(ports []receptor.PortMapping) []models.PortMapping
- func RoutingInfoFromRawMessages(raw map[string]*json.RawMessage) receptor.RoutingInfo
- func RoutingInfoToRawMessages(r receptor.RoutingInfo) map[string]*json.RawMessage
- func TaskFromRequest(req receptor.TaskCreateRequest) (models.Task, error)
- func TaskToResponse(task models.Task) receptor.TaskResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActualLRPToResponse ¶
func ActualLRPToResponse(actualLRP models.ActualLRP, evacuating bool) receptor.ActualLRPResponse
func CellPresenceToCellResponse ¶
func CellPresenceToCellResponse(cellPresence models.CellPresence) receptor.CellResponse
func DesiredLRPFromRequest ¶
func DesiredLRPFromRequest(req receptor.DesiredLRPCreateRequest) models.DesiredLRP
func DesiredLRPFromResponse ¶
func DesiredLRPFromResponse(resp receptor.DesiredLRPResponse) models.DesiredLRP
func DesiredLRPToResponse ¶
func DesiredLRPToResponse(lrp models.DesiredLRP) receptor.DesiredLRPResponse
func DesiredLRPUpdateFromRequest ¶
func DesiredLRPUpdateFromRequest(req receptor.DesiredLRPUpdateRequest) models.DesiredLRPUpdate
func EnvironmentVariablesFromModel ¶
func EnvironmentVariablesFromModel(envVars []models.EnvironmentVariable) []receptor.EnvironmentVariable
func EnvironmentVariablesToModel ¶
func EnvironmentVariablesToModel(envVars []receptor.EnvironmentVariable) []models.EnvironmentVariable
func PortMappingFromModel ¶
func PortMappingFromModel(ports []models.PortMapping) []receptor.PortMapping
func PortMappingToModel ¶
func PortMappingToModel(ports []receptor.PortMapping) []models.PortMapping
func RoutingInfoFromRawMessages ¶
func RoutingInfoFromRawMessages(raw map[string]*json.RawMessage) receptor.RoutingInfo
func RoutingInfoToRawMessages ¶
func RoutingInfoToRawMessages(r receptor.RoutingInfo) map[string]*json.RawMessage
func TaskFromRequest ¶
func TaskFromRequest(req receptor.TaskCreateRequest) (models.Task, error)
func TaskToResponse ¶
func TaskToResponse(task models.Task) receptor.TaskResponse
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.