liveupdate

package
v0.33.21 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const AnnotationUpdateMode = "tilt.dev/update-mode"
View Source
const UpdateModeAuto = "auto"
View Source
const UpdateModeManual = "manual"

Variables

This section is empty.

Functions

func FallBackOnFiles

func FallBackOnFiles(spec v1alpha1.LiveUpdateSpec) model.PathSet

FallBackOnFiles returns a PathSet of files which, if any have changed, indicate that we should fall back to an image build.

func GetName added in v0.22.14

func GetName(mn model.ManifestName, id model.TargetID) string

Generate the name for the LiveUpdate API object from an ImageTarget and ManifestName.

func IsEmptySpec

func IsEmptySpec(spec v1alpha1.LiveUpdateSpec) bool

func KubernetesSelectorMatchesContainer added in v0.27.2

func KubernetesSelectorMatchesContainer(
	ctr v1alpha1.Container,
	selector *v1alpha1.LiveUpdateKubernetesSelector,
	imageMap *v1alpha1.ImageMap,
) bool

func RunSteps

func RunSteps(spec v1alpha1.LiveUpdateSpec) []model.Run

Evaluates live-update exec relative to the base path, and returns a run with resolved paths.

func ShouldRestart

func ShouldRestart(spec v1alpha1.LiveUpdateSpec) bool

func SyncSteps

func SyncSteps(spec v1alpha1.LiveUpdateSpec) []model.Sync

Evaluates live-update syncs relative to the base path, and returns a sync with resolved paths.

Types

This section is empty.

Jump to

Keyboard shortcuts

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