serialization

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 DesiredLRPFromResponse

func DesiredLRPFromResponse(resp receptor.DesiredLRPResponse) models.DesiredLRP

func DesiredLRPToResponse

func DesiredLRPToResponse(lrp models.DesiredLRP) receptor.DesiredLRPResponse

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL