Documentation
¶
Index ¶
Constants ¶
View Source
const ( UnknownBuild = iota DockerBuild CustomBuild DockerComposeBuild )
View Source
const ( TriggerModeUnset triggerMode = iota TriggerModeAuto triggerMode = iota TriggerModeManual triggerMode = iota )
View Source
const FileName = "Tiltfile"
Variables ¶
View Source
var WireSet = wire.NewSet( ProvideTiltfileLoader, k8scontext.NewPlugin, version.NewPlugin, config.NewPlugin, tiltextension.NewPlugin, )
Functions ¶
func DumpApiStubs ¶ added in v0.26.0
func WalkApiStubs ¶ added in v0.26.0
func WalkApiStubs(fn fs.WalkDirFunc) error
Types ¶
type FakeTiltfileLoader ¶ added in v0.7.11
type FakeTiltfileLoader struct {
Result TiltfileLoadResult
Args []string
Delegate TiltfileLoader
}
func NewFakeTiltfileLoader ¶ added in v0.7.11
func NewFakeTiltfileLoader() *FakeTiltfileLoader
func (*FakeTiltfileLoader) Load ¶ added in v0.7.11
func (tfl *FakeTiltfileLoader) Load(ctx context.Context, tf *v1alpha1.Tiltfile, prevResult *TiltfileLoadResult) TiltfileLoadResult
func (*FakeTiltfileLoader) PassedArgs ¶ added in v0.23.2
func (tfl *FakeTiltfileLoader) PassedArgs() []string
the Args that was passed to the last invocation of Load
type TiltfileLoadResult ¶ added in v0.7.11
type TiltfileLoadResult struct {
Manifests []model.Manifest
EnabledManifests []model.ManifestName
Tiltignore model.Dockerignore
ConfigFiles []string
FeatureFlags map[string]bool
TeamID string
TelemetrySettings model.TelemetrySettings
Secrets model.SecretSet
Error error
DockerPruneSettings model.DockerPruneSettings
AnalyticsOpt wmanalytics.Opt
VersionSettings model.VersionSettings
UpdateSettings model.UpdateSettings
WatchSettings model.WatchSettings
DefaultRegistry container.Registry
ObjectSet apiset.ObjectSet
Hashes hasher.Hashes
// For diagnostic purposes only
BuiltinCalls []starkit.BuiltinCall `json:"-"`
}
func (TiltfileLoadResult) HasOrchestrator ¶ added in v0.25.1
func (r TiltfileLoadResult) HasOrchestrator(orc model.Orchestrator) bool
func (TiltfileLoadResult) WithAllManifestsEnabled ¶ added in v0.24.0
func (r TiltfileLoadResult) WithAllManifestsEnabled() TiltfileLoadResult
type TiltfileLoader ¶ added in v0.7.11
type TiltfileLoader interface {
// Load the Tiltfile.
//
// By design, Load() always returns a result.
// We want to be very careful not to treat non-zero exit codes like an error.
// Because even if the Tiltfile has errors, we might need to watch files
// or return partial results (like enabled features).
Load(ctx context.Context, tf *corev1alpha1.Tiltfile, prevResult *TiltfileLoadResult) TiltfileLoadResult
}
func ProvideTiltfileLoader ¶ added in v0.7.11
func ProvideTiltfileLoader( analytics *analytics.TiltAnalytics, k8sContextPlugin k8scontext.Plugin, versionPlugin version.Plugin, configPlugin *config.Plugin, extensionPlugin *tiltextension.Plugin, dcCli dockercompose.DockerComposeClient, webHost model.WebHost, execer localexec.Execer, fDefaults feature.Defaults, env k8s.Env) TiltfileLoader
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Starkit is a toolkit for implementing Starlark interpreters, with support for: (1) reusable sets of builtins (2) collecting state on a starlark thread (3) instrumenting builtins with analytics So that builtins from different packages can be composed.
|
Starkit is a toolkit for implementing Starlark interpreters, with support for: (1) reusable sets of builtins (2) collecting state on a starlark thread (3) instrumenting builtins with analytics So that builtins from different packages can be composed. |
|
Package extension implements Tilt extensions.
|
Package extension implements Tilt extensions. |
|
Helper functions for doing value conversions.
|
Helper functions for doing value conversions. |
Click to show internal directories.
Click to hide internal directories.