Documentation ¶
Index ¶
- Constants
- Variables
- func Execute()
- func ProvideKubeContextOverride() k8s.KubeContextOverride
- func ProvideNamespaceOverride() k8s.NamespaceOverride
- func SetTiltInfo(info model.TiltBuild)
- type CmdCIDeps
- type CmdUpDeps
- type CmdUpdogDeps
- type DownDeps
- type DumpImageDeployRefDeps
- type LogsDeps
- type ShellExecer
Constants ¶
View Source
const DefaultWebDevPort = 46764
View Source
const TiltfileErrExitCode = 5
arbitrary non-1 value chosen to allow callers to distinguish between Tilt errors and Tiltfile errors
Variables ¶
View Source
var BaseWireSet = wire.NewSet( K8sWireSet, tiltfile.WireSet, git.ProvideGitRemote, localexec.DefaultEnv, localexec.NewProcessExecer, wire.Bind(new(localexec.Execer), new(*localexec.ProcessExecer)), docker.SwitchWireSet, dockercompose.NewDockerComposeClient, clockwork.NewRealClock, engine.DeployerWireSet, engine.NewBuildController, local.NewServerController, kubernetesdiscovery.NewContainerRestartDetector, k8swatch.NewServiceWatcher, k8swatch.NewEventWatchManager, uisession2.NewSubscriber, uiresource2.NewSubscriber, configs.NewConfigsController, configs.NewTriggerQueueSubscriber, telemetry.NewController, cloud.WireSet, cloudurl.ProvideAddress, k8srollout.NewPodMonitor, telemetry.NewStartTracker, session2.NewController, build.ProvideClock, provideClock, hud.WireSet, prompt.WireSet, wire.Value(openurl.OpenURL(openurl.BrowserOpen)), provideLogActions, store.NewStore, wire.Bind(new(store.RStore), new(*store.Store)), wire.Bind(new(store.Dispatcher), new(*store.Store)), dockerprune.NewDockerPruner, provideTiltInfo, engine.NewUpper, analytics2.NewAnalyticsUpdater, analytics2.ProvideAnalyticsReporter, provideUpdateModeFlag, fsevent.ProvideWatcherMaker, fsevent.ProvideTimerMaker, controllers.WireSet, provideCITimeoutFlag, provideWebVersion, provideWebMode, provideWebURL, provideWebPort, provideWebHost, server.WireSet, server.ProvideDefaultConnProvider, provideAssetServer, tracer.NewSpanCollector, wire.Bind(new(trace.SpanExporter), new(*tracer.SpanCollector)), wire.Bind(new(tracer.SpanSource), new(*tracer.SpanCollector)), dirs.UseTiltDevDir, xdg.NewTiltDevBase, token.GetOrCreateToken, build.NewKINDLoader, wire.Value(feature.MainDefaults), )
View Source
var CLIClientWireSet = wire.NewSet( BaseWireSet, client2.WireSet, )
View Source
var K8sWireSet = wire.NewSet(k8s.ProvideClusterProduct, k8s.ProvideClusterName, k8s.ProvideKubeContext, k8s.ProvideAPIConfig, k8s.ProvideClientConfig, k8s.ProvideClientset, k8s.ProvideRESTConfig, k8s.ProvidePortForwardClient, k8s.ProvideConfigNamespace, k8s.ProvideServerVersion, k8s.ProvideK8sClient, ProvideKubeContextOverride, ProvideNamespaceOverride)
View Source
var UpWireSet = wire.NewSet( BaseWireSet, engine.ProvideSubscribers, )
Functions ¶
func ProvideKubeContextOverride ¶ added in v0.17.4
func ProvideKubeContextOverride() k8s.KubeContextOverride
func ProvideNamespaceOverride ¶ added in v0.20.9
func ProvideNamespaceOverride() k8s.NamespaceOverride
func SetTiltInfo ¶ added in v0.8.2
Types ¶
type CmdUpdogDeps ¶ added in v0.19.0
type DownDeps ¶ added in v0.7.11
type DownDeps struct {
// contains filtered or unexported fields
}
func ProvideDownDeps ¶ added in v0.7.11
func ProvideDownDeps( tfl tiltfile.TiltfileLoader, dcClient dockercompose.DockerComposeClient, kClient k8s.Client, execer localexec.Execer) DownDeps
type DumpImageDeployRefDeps ¶ added in v0.17.0
type DumpImageDeployRefDeps struct { DockerBuilder *build.DockerBuilder DockerClient docker.Client }
type LogsDeps ¶ added in v0.17.0
type LogsDeps struct {
// contains filtered or unexported fields
}
func ProvideLogsDeps ¶ added in v0.17.0
func ProvideLogsDeps(u model.WebURL, p *hud.IncrementalPrinter) LogsDeps
Source Files ¶
- alpha.go
- analytics.go
- api_utils.go
- apiresources.go
- apply.go
- args.go
- build.go
- ci.go
- cli.go
- create.go
- create_cmd.go
- create_ext.go
- create_filewatch.go
- create_helper.go
- create_repo.go
- delete.go
- demo.go
- describe.go
- disable.go
- docker.go
- docker_prune.go
- doctor.go
- down.go
- dump.go
- edit.go
- enable.go
- explain.go
- flags.go
- generate_tiltfile.go
- get.go
- klog.go
- logs.go
- lsp.go
- openapi.go
- patch.go
- shell.go
- snapshot.go
- tiltfile_result.go
- trigger.go
- up.go
- updog.go
- utils.go
- verify_install.go
- version.go
- wait.go
- wire_gen.go
Click to show internal directories.
Click to hide internal directories.