 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
    const SyncletContainerName = "tilt-synclet"
    
      View Source
      
  
const SyncletImageName = "gcr.io/windmill-public-containers/tilt-synclet"
    Variables ¶
      View Source
      
  
    var SyncletContainer = v1.Container{ Name: SyncletContainerName, Image: fmt.Sprintf("%s:%s", SyncletImageName, SyncletTag), ImagePullPolicy: v1.PullIfNotPresent, Resources: v1.ResourceRequirements{Requests: v1.ResourceList{v1.ResourceCPU: resource.MustParse("0Mi")}}, VolumeMounts: []v1.VolumeMount{ v1.VolumeMount{ Name: "tilt-dockersock", MountPath: "/var/run/docker.sock", }, }, SecurityContext: &v1.SecurityContext{ Privileged: syncletPrivileged(), }, }
      View Source
      
  
    var SyncletImageRef = container.MustParseNamed(SyncletImageName)
    
      View Source
      
  var SyncletTag = "v20190215"
    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", }, }, }
Functions ¶
func InjectSyncletSidecar ¶
func InjectSyncletSidecar(entity k8s.K8sEntity, selector container.RefSelector) (k8s.K8sEntity, bool, error)
Inject the synclet into any Pod
func PodSpecContainsSynclet ¶ added in v0.5.0
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.