imagemap

package
v0.33.3 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 7 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 *v1alpha1.Cmd, imageMapNames []string, imageMaps map[types.NamespacedName]*v1alpha1.ImageMap) (*v1alpha1.Cmd, 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.

func NamesToObjects added in v0.26.0

func NamesToObjects(ctx context.Context, client ctrlclient.Client, names []string) (map[types.NamespacedName]*v1alpha1.ImageMap, error)

Populate a map with all the given imagemaps, skipping any that don't exist

Types

This section is empty.

Jump to

Keyboard shortcuts

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