package
0.34.0
Repository: https://github.com/tilt-dev/tilt.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
A new scheme with just this package's types.
RegisterConversions adds conversion functions to the given scheme.
RegisterDefaults adds defaulters functions to the given scheme.
Resource takes an unqualified resource and returns a Group qualified GroupResource.

# Constants

used by the backend to indicate to the frontend that this button is special.
AnnotationManaged declares when an object is managed by a system that's not entirely expressed in apiserver objects.
AnnotationManifest identifies which manifest an object's logs should appear under.
An annotation on any object that identifies which span id its logs should appear under.
AnnotationTargetID is an internal Tilt target ID used for the build graph.
ApplyConditionJobComplete means the apply was for a batch/v1.Job that has already run to successful completion.
No description provided by the author
No description provided by the author
The image is only needed as a base image for other images that are needed in the cluster, so doesn't need to be pushed.
Make sure the image is pushed to the right registry and accessible in the cluster.
No description provided by the author
No description provided by the author
Written to the Docker image store only.
Written to the Docker image store and pushed to the remote destination.
Written directly to the remote destination.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ExitConditionCI terminates upon the first encountered build or runtime failure or after all resources have been started successfully.
ExitConditionManual cedes control to the user and will not exit based on resource status.
GroupName is the group name used in this package.
No description provided by the author
Denote that the Tiltfile is the owner.
The server runtime is in an error state.
This server hasn't had any reason to start yet.
There's no server runtime for this resource and never will be.
The server runtime is OK and passing health checks.
The server runtime is still being scheduled or waiting on health checks.
The server runtime status hasn't been read yet.
The target was in an error state longer than the grace perod.
No grace period applies to the target.
The target is in the error state, but has not yet exceeded the grace period.
TargetTypeJob is a target that is expected to run to completion.
TargetTypeServer is a target that runs indefinitely.
Ready means the UI Resource has built, deployed, and passed any readiness checks.
The target is a Docker Compose service deployment.
The target is a container image build.
The target is a Kubernetes resource deployment.
The target is a local command or server.
The target type is unspecified.
UpToDate means that the UI Resource has successfully built and deployed all its components.
The last update failed.
An update is in progress.
This resource hasn't had any reason to update yet.
This resource doesn't have an update command.
The last update succeeded.
An update is queued.
URISchemeHTTP means that the scheme used will be http://.
URISchemeHTTPS means that the scheme used will be https://.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
In the default strategy, we traverse owner references of every pod, and follow pods that belong to an applied resource.
In the selectors-only strategy, we only traverse label selectors, and ignore owner references.
Always try to restart the container.
Never use native restarts.
No description provided by the author

# Structs

Cluster defines any runtime for running containers, in the broadest sense of the word "runtime".
Connection spec for an existing cluster.
Connection spec for an existing cluster.
ClusterList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
ClusterSpec defines how to find the cluster we're running containers on.
ClusterStatus defines the observed state of Cluster.
Cmd represents a process on the host machine.
CmdImage describes an image to build with an arbitrary shell command.
CmdImageList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
CmdImageSpec describes how the custom script builds images and where it puts them.
CmdImageStateBuilding expresses that an image build is in-progress.
CmdImageStateCompleted expresses when the image build is finished and no new images need to be built.
CmdImageStateWaiting expresses what we're waiting on to build an image.
CmdImageStatus describes the result of the image build.
CmdList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
CmdSpec defines how to run a local command.
CmdStateRunning is a running state of a local command.
CmdStateTerminated is a terminated state of a local command.
CmdStateWaiting is a waiting state of a local command.
CmdStatus defines the observed state of Cmd Based loosely on ContainerStatus in Kubernetes.
ConfigMap stores unstructured data that other controllers can read and write.
Specifies a ConfigMap to control a DisableSource.
ConfigMapList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
Describes how a ToggleButton's state is stored in a ConfigMap.
Container is an init or application container within a pod.
ContainerLogStreamStatus defines the current status of each individual container log stream.
ContainerState holds a possible state of container.
ContainerStateRunning is a running state of a container.
ContainerStateTerminated is a terminated state of a container.
ContainerStateWaiting is a waiting state of a container.
Aggregated disable status of DisableSources that belong to a resource.
Points at a thing that can control whether something is disabled.
No description provided by the author
No description provided by the author
DockerComposeLogStream +k8s:openapi-gen=true.
DockerComposeLogStreamList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
DockerComposeLogStreamSpec defines the desired state of DockerComposeLogStream.
DockerComposeLogStreamStatus defines the observed state of DockerComposeLogStream.
No description provided by the author
DockerComposeService represents a container orchestrated by Docker Compose.
DockerComposeServiceList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
DockerComposeServiceSpec defines the desired state a Docker Compose container.
DockerComposeServiceStatus defines the observed state of DockerComposeService, continuing to watch the container after it starts.
State of a standalone container in Docker.
DockerImage describes an image to build with Docker.
DockerImageList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
DockerImageSpec describes how to build a Docker image with `docker_build`.
DockerImageStageStatus gives detailed report of each stage of the most recent image build.
DockerImageStateBuilding expresses that an image build is in-progress.
DockerImageStateCompleted expresses when the image build is finished and no new images need to be built.
DockerImageStateWaiting expresses what we're waiting on to build an image.
DockerImageStatus defines the observed state of DockerImage.
How docker binds container ports to the host network.
ExecAction describes a "run in container" action.
Extension defines an extension that's evaluated on Tilt startup.
ExtensionList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
ExtensionRepo specifies a repo or folder where a set of extensions live.
ExtensionRepoList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
ExtensionRepoSpec defines how to access the repo.
ExtensionRepoStatus defines the observed state of ExtensionRepo.
ExtensionSpec defines the desired state of Extension.
ExtensionStatus defines the observed state of Extension.
No description provided by the author
FileWatch +k8s:openapi-gen=true +tilt:starlark-gen=true.
FileWatchList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
FileWatchSpec defines the desired state of FileWatch.
FileWatchStatus defines the observed state of FileWatch.
Forward defines a port forward to execute on a given pod.
No description provided by the author
Handler defines a specific action that should be taken in a probe.
HTTPGetAction describes an action based on HTTP Get requests.
HTTPHeader describes a custom header to be used in HTTP probes.
Describes sets of file paths that the FileWatch should ignore.
ImageMap expresses the mapping from an image reference to a real, pushed image in an image registry that a container runtime can access.
ImageMapList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
ImageMapArgsOverride defines args to inject when the image is injected.
ImageMapCommandOverride defines a command to inject when the image is injected.
ImageMapSpec defines the desired state of ImageMap.
ImageMapStatus defines the observed state of ImageMap.
KubernetesApply specifies a blob of YAML to apply, and a set of ImageMaps that the YAML depends on.
No description provided by the author
KubernetesApplyList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
KubernetesApplySpec defines the desired state of KubernetesApply.
KubernetesApplyStatus defines the observed state of KubernetesApply.
No description provided by the author
Kubernetes-specific fields for connection status.
KubernetesDiscovery +k8s:openapi-gen=true +tilt:starlark-gen=true.
KubernetesDiscoveryList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
KubernetesDiscoverySpec defines the desired state of KubernetesDiscovery.
No description provided by the author
No description provided by the author
KubernetesDiscoveryStatus defines the observed state of KubernetesDiscovery.
No description provided by the author
Finds image references in Kubernetes YAML.
No description provided by the author
KubernetesWatchRef is similar to v1.ObjectReference from the Kubernetes API and is used to determine what objects should be reported on based on discovery.
LiveUpdate +k8s:openapi-gen=true.
No description provided by the author
LiveUpdateContainerStatus defines the observed state of the live-update syncer for a particular container.
Specifies how to select containers to live update inside Docker Compose.
Runs a remote command after files have been synced to the container.
Specifies how to select containers to live update inside K8s.
LiveUpdateList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
Specifies how to select containers to live update.
Specifies how to pull in files.
LiveUpdateSpec defines the desired state of LiveUpdate.
If any of the containers are currently failing to process updates, the LiveUpdateStateFailed surfaces information about what's happening and what the live-updater is doing to fix the problem.
LiveUpdateStatus defines the observed state of LiveUpdate.
Determines how a local path maps into a container image.
Selector for any Kubernetes-style API.
Pod is a collection of containers that can run on a host.
PodCondition is a lifecycle condition for a Pod.
PodLogStream Streams logs from a pod on Kubernetes into the core Tilt engine.
PodLogStreamList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
PodLogStreamSpec defines the desired state of PodLogStream Translated into a PodLog query to the current Kubernetes cluster: https://pkg.go.dev/k8s.io/api/core/v1#PodLogOptions TODO(nick): Should all Kubernetes types have an object that describes which Kubernetes context to use?.
PodLogStreamStatus defines the observed state of PodLogStream.
PodLogStreamTemplateSpec describes common attributes for PodLogStreams that can be shared across pods.
PodOwner contains information of the direct owner of the pod, if available.
PortForward +k8s:openapi-gen=true.
PortForwardList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
PortForwardSpec defines the desired state of PortForward.
PortForwardStatus defines the observed state of PortForward.
PortForwardTemplateSpec describes common attributes for PortForwards that can be shared across pods.
Probe describes a health check to be performed to determine whether it is alive or ready to receive traffic.
No description provided by the author
RestartOnSpec indicates the set of objects that can trigger a restart of this object.
Session provides introspective data about the status of the Tilt process.
No description provided by the author
SessionList is a list of Session objects.
SessionSpec defines the desired state of Session.
SessionStatus defines the observed state of Session.
StartOnSpec indicates the set of objects that can trigger a start/restart of this object.
Describes where a ToggleButton's state is stored.
No description provided by the author
Target is a server or job whose execution is managed as part of this Session.
TargetState describes the current execution status for a target.
TargetStateActive is a target that is currently running but has not yet finished.
TargetStateDisabled is a target that has been disabled.
TargetStateTerminated is a target that finished running, either because it completed successfully or encountered an error.
TargetStateWaiting is a target that has been enqueued for execution but has not yet started.
TCPSocketAction describes an action based on opening a socket.
Information about the running tilt binary.
Tiltfile is the main way users add services to Tilt.
TiltfileList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
TiltfileSpec defines the desired state of Tiltfile.
TiltfileStateRunning is a running state of a tiltfile execution.
TiltfileStateTerminated is a terminated state of a tiltfile execution.
TiltfileStateWaiting is a waiting state of a tiltfile execution.
TiltfileStatus defines the observed state of Tiltfile.
ToggleButton +k8s:openapi-gen=true.
ToggleButtonList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
ToggleButtonSpec defines the desired state of ToggleButton.
Describes a state (on/off) of a ToggleButton.
ToggleButtonStatus defines the observed state of ToggleButton.
Describes a boolean checkbox input field attached to a button.
No description provided by the author
UIBuildRunning represents an in-progress build/update in the user interface.
UIBuildRunning represents a finished build/update in the user interface.
UIButton +k8s:openapi-gen=true +tilt:starlark-gen=true.
UIButtonList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
UIButtonSpec defines the desired state of UIButton.
UIButtonStatus defines the observed state of UIButton.
Describes a choice dropdown input field attached to a button.
No description provided by the author
UIComponentLocation specifies where to put a UI component.
No description provided by the author
Configures Tilt to enable non-default features (e.g., experimental or deprecated).
Describes a hidden input field attached to a button, with a value to pass on any submit.
No description provided by the author
Defines an Input to render in the UI.
The status corresponding to a UIInputSpec.
UIResource represents per-resource status data for rendering the web UI.
UIResourceCompose contains status information specific to Docker Compose.
No description provided by the author
UIResourceKubernetes contains status information specific to Kubernetes.
UIResourceLink represents a link assocatiated with a UIResource.
UIResourceList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
UIResourceLocal contains status information specific to local commands.
UIResourceSpec is an empty struct.
No description provided by the author
No description provided by the author
UIResourceStatus defines the observed state of UIResource.
UIResourceTargetSpec represents the spec of a build or deploy that a resource summarizes.
UISession represents global status data for rendering the web UI.
UISessionList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
UISessionSpec is an empty struct.
UISessionStatus defines the observed state of UISession.
Describes a text input field attached to a button.
No description provided by the author
Information about how the Tilt binary handles updates.

# Type aliases

ClusterImageNeeds describes the ways that a cluster might need to access an image.
CmdImageOutputMode describes places where the image may be written.
No description provided by the author
Indicates what is known about whether this is disabled.
No description provided by the author
No description provided by the author
Specifies whether Tilt should try to natively restart the container in-place after syncs and execs.
The RuntimeStatus is a simple, high-level summary of the runtime state of a server.
No description provided by the author
TargetType describes a high-level categorization about the expected execution behavior for the target.
No description provided by the author
UIResourceTargetType identifies the different categories of task in a resource.
The UpdateStatus is a simple, high-level summary of any update tasks to bring the resource up-to-date.
URIScheme identifies the scheme used for connection to a host for Get actions.