github.com/tilt-dev/tilt@v0.33.15-0.20240515162809-0a22ed45d8a0/internal/controllers/core/tiltfile/actions.go (about) 1 package tiltfile 2 3 import ( 4 "time" 5 6 "github.com/tilt-dev/wmclient/pkg/analytics" 7 8 "github.com/tilt-dev/tilt/pkg/model" 9 "github.com/tilt-dev/tilt/pkg/model/logstore" 10 ) 11 12 type ConfigsReloadStartedAction struct { 13 Name model.ManifestName 14 FilesChanged []string 15 StartTime time.Time 16 SpanID logstore.SpanID 17 Reason model.BuildReason 18 } 19 20 func (ConfigsReloadStartedAction) Action() {} 21 22 type ConfigsReloadedAction struct { 23 Name model.ManifestName 24 25 // TODO(nick): Embed TiltfileLoadResult instead of copying fields. 26 Manifests []model.Manifest 27 Tiltignore model.Dockerignore 28 ConfigFiles []string 29 30 FinishTime time.Time 31 Err error 32 Warnings []string 33 Features map[string]bool 34 TeamID string 35 TelemetrySettings model.TelemetrySettings 36 Secrets model.SecretSet 37 DockerPruneSettings model.DockerPruneSettings 38 AnalyticsTiltfileOpt analytics.Opt 39 VersionSettings model.VersionSettings 40 UpdateSettings model.UpdateSettings 41 WatchSettings model.WatchSettings 42 43 // A checkpoint into the logstore when Tiltfile execution started. 44 // Useful for knowing how far back in time we have to scrub secrets. 45 CheckpointAtExecStart logstore.Checkpoint 46 } 47 48 func (ConfigsReloadedAction) Action() {}