mapper

package
v0.1.2-0...-3e0559f Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteMapToStringMap

func ByteMapToStringMap(original map[string][]byte) map[string]string

func MapContainerState

func MapContainerState(in []dockerTypes.Container, prefix string) []*common.ContainerStateItem

func MapDeployImage

func MapDeployImage(req *agent.DeployRequest, appConfig *config.CommonConfiguration) *v1.DeployImageRequest

func MapKubeDeploymentListToCruxStateItems

func MapKubeDeploymentListToCruxStateItems(deployments *appsv1.DeploymentList, svc *corev1.ServiceList) []*common.ContainerStateItem

func MapPorts

func MapPorts(in []*agent.Port) []builder.PortBinding

func MapSecrets

func MapSecrets(in []*common.UniqueKey) map[string]string

func PipeSeparatedToStringMap

func PipeSeparatedToStringMap(arr *[]string) map[string]string

TODO(nandor-magyar): refactor this into unmarshalling `[]"VARIABLE|value"` pair mapped into a string keyed map, collision is ignored, the latter value is used

func StringMapToByteMap

func StringMapToByteMap(original map[string]string) map[string][]byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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