Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultSyncletImageName = "gcr.io/windmill-public-containers/tilt-synclet"
View Source
const SyncletContainerName = "tilt-synclet"
View Source
const SyncletImageEnvVar = "TILT_SYNCLET_IMAGE"
Variables ¶
View Source
var SyncletTag = "v20190904"
When we deploy Tilt for development, we override this with LDFLAGS
View Source
var SyncletVolume = v1.Volume{ Name: "tilt-dockersock", VolumeSource: v1.VolumeSource{ HostPath: &v1.HostPathVolumeSource{ Path: "/var/run/docker.sock", }, }, }
View Source
var WireSet = wire.NewSet( ProvideSyncletImageRef, ProvideSyncletContainer)
Functions ¶
func InjectSyncletSidecar ¶
func InjectSyncletSidecar(entity k8s.K8sEntity, selector container.RefSelector, container SyncletContainer) (k8s.K8sEntity, bool, error)
Inject the synclet into any Pod
func PodSpecContainsSynclet ¶ added in v0.5.0
Types ¶
type SyncletContainer ¶
func ProvideSyncletContainer ¶ added in v0.10.12
func ProvideSyncletContainer(ref SyncletImageRef) SyncletContainer
type SyncletImageRef ¶
type SyncletImageRef reference.NamedTagged
func ProvideSyncletImageRef ¶ added in v0.10.12
func ProvideSyncletImageRef(ctx context.Context) (SyncletImageRef, error)
Click to show internal directories.
Click to hide internal directories.