mapping

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapAPIModelToImageFetchProgress

func MapAPIModelToImageFetchProgress(progresses []*pb.ImageFetch) (result []*progress.ImageFetch)

MapAPIModelToImageFetchProgress maps image fetch progress information to API model

func MapContainerStatusesToAPIModel

func MapContainerStatusesToAPIModel(statuses []model.ContainerStatus) (result []*containers.ContainerStatus)

MapContainerStatusesToAPIModel maps list of internal ContainerStatus models to API model

func MapContainerToInternalModel

func MapContainerToInternalModel(containers []*containers.Container) (result []model.Container)

MapContainerToInternalModel maps API Container model to internal model

func MapContainersToAPIModel

func MapContainersToAPIModel(source []model.Container) (result []*containers.Container)

MapContainersToAPIModel maps list of internal Container models to API model

func MapImageFetchProgressToAPIModel

func MapImageFetchProgressToAPIModel(progresses []*progress.ImageFetch) (result []*pb.ImageFetch)

MapImageFetchProgressToAPIModel maps image fetch progress information to API model

func MapInfoToAPIModel added in v0.2.3

func MapInfoToAPIModel(info *model.NodeInfo) *node.Info

MapInfoToAPIModel maps internal node info model to API model

func MapPodToAPIModel

func MapPodToAPIModel(pod model.Pod) *pods.Pod

MapPodToAPIModel maps internal Pod model to API model

func MapPodToInternalModel

func MapPodToInternalModel(pod *pods.Pod) model.Pod

MapPodToInternalModel maps API Pod model to internal model

func MapPodsToAPIModel

func MapPodsToAPIModel(pods []model.Pod) (result []*pods.Pod)

MapPodsToAPIModel maps list of internal pod models to API model

func MapPodsToInternalModel

func MapPodsToInternalModel(pods []*pods.Pod) (result []model.Pod)

MapPodsToInternalModel maps API Pod model to internal model

Types

This section is empty.

Source Files

  • api.go
  • internal.go
  • progress.go

Jump to

Keyboard shortcuts

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