imagemap

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectIntoDeployEnv

func InjectIntoDeployEnv(cmd *model.Cmd, imageMapNames []string, imageMaps map[types.NamespacedName]*v1alpha1.ImageMap) error

Inject completed ImageMaps into the environment of a local process that wants to deploy to a cluster.

Current env vars: TILT_IMAGE_i - The reference to the image #i from the point of view of the cluster container runtime. TILT_IMAGE_MAP_i - The name of the image map #i with the current status of the image.

where an env may depend on arbitrarily many image maps.

func InjectIntoLocalEnv added in v0.23.5

func InjectIntoLocalEnv(cmd *exec.Cmd, imageMapNames []string, imageMaps map[types.NamespacedName]*v1alpha1.ImageMap) error

Inject completed ImageMaps into the environment of a local process that wants to build images locally.

Current env vars: TILT_IMAGE_i - The reference to the image #i from the point of view of the local host. TILT_IMAGE_MAP_i - The name of the image map #i with the current status of the image.

where an env may depend on arbitrarily many image maps.

Types

This section is empty.

Jump to

Keyboard shortcuts

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