Documentation ¶
Index ¶
- Constants
- Variables
- func Execute()
- func ProvideDeferredExporter() *metrics.DeferredExporter
- func ProvideKubeContextOverride() k8s.KubeContextOverride
- func ProvideMeter() view.Meter
- func SetTiltInfo(info model.TiltBuild)
- type CmdCIDeps
- type CmdUpDeps
- type DownDeps
- type DumpImageDeployRefDeps
- type LogsDeps
- type SyncletCmd
Constants ¶
View Source
const DefaultWebDevPort = 46764
View Source
const DefaultWebHost = "localhost"
View Source
const DefaultWebPort = 10350
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, provideKubectlLogLevel, git.ProvideGitRemote, docker.SwitchWireSet, ProvideDeferredExporter, metrics.NewController, dockercompose.NewDockerComposeClient, clockwork.NewRealClock, engine.DeployerWireSet, runtimelog.NewPodLogManager, portforward.NewController, engine.NewBuildController, local.ProvideExecer, local.NewController, k8swatch.NewPodWatcher, k8swatch.NewServiceWatcher, k8swatch.NewEventWatchManager, configs.NewConfigsController, telemetry.NewController, dcwatch.NewEventWatcher, runtimelog.NewDockerComposeLogManager, engine.NewProfilerManager, cloud.WireSet, cloudurl.ProvideAddress, k8srollout.NewPodMonitor, telemetry.NewStartTracker, exit.NewController, provideClock, hud.WireSet, prompt.WireSet, provideLogActions, store.NewStore, wire.Bind(new(store.RStore), new(*store.Store)), dockerprune.NewDockerPruner, provideTiltInfo, engine.ProvideSubscribers, engine.NewUpper, analytics2.NewAnalyticsUpdater, analytics2.ProvideAnalyticsReporter, provideUpdateModeFlag, fswatch.NewGitManager, fswatch.NewWatchManager, fswatch.ProvideFsWatcherMaker, fswatch.ProvideTimerMaker, provideWebVersion, provideWebMode, provideWebURL, provideWebPort, provideWebHost, server.ProvideHeadsUpServer, provideAssetServer, server.ProvideHeadsUpServerController, tracer.NewSpanCollector, wire.Bind(new(trace.SpanProcessor), new(*tracer.SpanCollector)), wire.Bind(new(tracer.SpanSource), new(*tracer.SpanCollector)), dirs.UseWindmillDir, token.GetOrCreateToken, engine.NewKINDLoader, wire.Value(feature.MainDefaults), )
View Source
var CommandCount = &view.View{ Name: "cli_count", Measure: CommandCountMeasure, Description: "Number of CLI invocations", TagKeys: []tag.Key{KeySubCommand}, Aggregation: view.Count(), }
View Source
var CommandCountMeasure = stats.Int64( "cli_count_m", "Number of CLI invocations", stats.UnitDimensionless)
View Source
var K8sWireSet = wire.NewSet(k8s.ProvideEnv, k8s.ProvideClusterName, k8s.ProvideKubeContext, k8s.ProvideKubeConfig, k8s.ProvideClientConfig, k8s.ProvideClientset, k8s.ProvideRESTConfig, k8s.ProvidePortForwardClient, k8s.ProvideConfigNamespace, k8s.ProvideKubectlRunner, k8s.ProvideContainerRuntime, k8s.ProvideServerVersion, k8s.ProvideK8sClient, k8s.ProvideOwnerFetcher, ProvideKubeContextOverride)
View Source
var KeySubCommand = tag.MustNewKey("subcommand")
Metric and label names must match the following rules: https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels
Functions ¶
func ProvideDeferredExporter ¶ added in v0.17.4
func ProvideDeferredExporter() *metrics.DeferredExporter
func ProvideKubeContextOverride ¶ added in v0.17.4
func ProvideKubeContextOverride() k8s.KubeContextOverride
func ProvideMeter ¶ added in v0.17.4
func SetTiltInfo ¶ added in v0.8.2
Types ¶
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) 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
type SyncletCmd ¶
type SyncletCmd struct {
// contains filtered or unexported fields
}
func (*SyncletCmd) Register ¶
func (s *SyncletCmd) Register() *cobra.Command
Click to show internal directories.
Click to hide internal directories.