 Directories
      ¶
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| A tiny web server that returns 200 on it's healthz endpoint if the command passed in via -cmd exits with 0. | A tiny web server that returns 200 on it's healthz endpoint if the command passed in via -cmd exits with 0. | 
| for-demos
       | |
| 
          
            serve_hostname
            
            command
          
           A small utility to just serve the hostname on TCP and/or UDP. | A small utility to just serve the hostname on TCP and/or UDP. | 
| 
          
            test-webserver
            
            command
          
           A tiny web server that serves a static file. | A tiny web server that serves a static file. | 
| for-tests
       | |
| 
          
            entrypoint-tester
            
            command
          
          
         | |
| 
          
            mount-tester
            
            command
          
          
         | |
| 
          
            network-tester
            
            command
          
           A tiny web server for checking networking connectivity. | A tiny web server for checking networking connectivity. | 
| 
          
            porter
            
            command
          
           A tiny binary for testing ports. | A tiny binary for testing ports. | 
| The go2docker command compiles a go main package and forge a minimal docker image from the resulting static binary. | The go2docker command compiles a go main package and forge a minimal docker image from the resulting static binary. | 
| mesos
       | |
| 
          
            cmd/k8sm-controller-manager
            
            command
          
           This package main implements the executable Kubernetes Mesos controller manager. | This package main implements the executable Kubernetes Mesos controller manager. | 
| 
          
            cmd/k8sm-executor
            
            command
          
           This package main implements the executable Kubernetes Mesos executor. | This package main implements the executable Kubernetes Mesos executor. | 
| 
          
            cmd/k8sm-redirfd
            
            command
          
           This package main is used for testing the redirfd package. | This package main is used for testing the redirfd package. | 
| 
          
            cmd/k8sm-scheduler
            
            command
          
           This package main implements the executable Kubernetes Mesos scheduler. | This package main implements the executable Kubernetes Mesos scheduler. | 
| 
          
            cmd/km
            
            command
          
           This package main morphs all binaries under cmd/ and several other stock Kubernetes binaries into a single executable. | This package main morphs all binaries under cmd/ and several other stock Kubernetes binaries into a single executable. | 
| 
          
            pkg/archive
            
            
          
           Package archive provides utilities to archive and unarchive filesystem hierarchies. | Package archive provides utilities to archive and unarchive filesystem hierarchies. | 
| 
          
            pkg/assert
            
            
          
           Package assert is an utility package containing reusable testing functionality extending github.com/stretchr/testify/assert | Package assert is an utility package containing reusable testing functionality extending github.com/stretchr/testify/assert | 
| 
          
            pkg/backoff
            
            
          
           Package backoff provides backoff functionality with a simple API. | Package backoff provides backoff functionality with a simple API. | 
| 
          
            pkg/controllermanager
            
            
          
           Package controllermanager is largely a clone of the upstream implementation, with additional functionality to select between stock or a customized endpoints controller. | Package controllermanager is largely a clone of the upstream implementation, with additional functionality to select between stock or a customized endpoints controller. | 
| 
          
            pkg/election
            
            
          
           Package election provides interfaces used for master election. | Package election provides interfaces used for master election. | 
| 
          
            pkg/executor
            
            
          
           Package executor includes a mesos executor, which contains a kubelet as its member to manage containers. | Package executor includes a mesos executor, which contains a kubelet as its member to manage containers. | 
| 
          
            pkg/executor/config
            
            
          
           Package config contains executor configuration constants. | Package config contains executor configuration constants. | 
| 
          
            pkg/executor/messages
            
            
          
           Package messages exposes executor event/message names as constants. | Package messages exposes executor event/message names as constants. | 
| 
          
            pkg/executor/service
            
            
          
           Package service contains the cmd/k8sm-executor glue code. | Package service contains the cmd/k8sm-executor glue code. | 
| 
          
            pkg/hyperkube
            
            
          
           Package hyperkube facilitates the combination of multiple kubernetes-mesos components into a single binary form, providing a simple mechanism for intra-component discovery as per the original Kubernetes hyperkube package. | Package hyperkube facilitates the combination of multiple kubernetes-mesos components into a single binary form, providing a simple mechanism for intra-component discovery as per the original Kubernetes hyperkube package. | 
| 
          
            pkg/offers
            
            
          
           Package offers contains code that manages Mesos offers. | Package offers contains code that manages Mesos offers. | 
| 
          
            pkg/offers/metrics
            
            
          
           Package metrics defines and exposes instrumentation metrics related to Mesos offers. | Package metrics defines and exposes instrumentation metrics related to Mesos offers. | 
| 
          
            pkg/proc
            
            
          
           Package proc provides opinionated utilities for processing background operations and future errors, somewhat inspired by libprocess. | Package proc provides opinionated utilities for processing background operations and future errors, somewhat inspired by libprocess. | 
| 
          
            pkg/profile
            
            
          
           Package profile contains reusable code for profiling Go programs with pprof. | Package profile contains reusable code for profiling Go programs with pprof. | 
| 
          
            pkg/queue
            
            
          
           Package queue provides several queue implementations, originally inspired by Kubernetes pkg/client/cache/fifo. | Package queue provides several queue implementations, originally inspired by Kubernetes pkg/client/cache/fifo. | 
| 
          
            pkg/redirfd
            
            
          
           Some file descriptor manipulation funcs (Unix-Only), inspired by https://github.com/skarnet/execline/blob/master/src/execline/redirfd.c | Some file descriptor manipulation funcs (Unix-Only), inspired by https://github.com/skarnet/execline/blob/master/src/execline/redirfd.c | 
| 
          
            pkg/runtime
            
            
          
           Package runtime provides utilities for semaphores (chan struct{}), a simple Latch implementation, and metrics for reporting handled panics. | Package runtime provides utilities for semaphores (chan struct{}), a simple Latch implementation, and metrics for reporting handled panics. | 
| 
          
            pkg/scheduler
            
            
          
           Package scheduler implements the Kubernetes Mesos scheduler. | Package scheduler implements the Kubernetes Mesos scheduler. | 
| 
          
            pkg/scheduler/config
            
            
          
           Package config provides mechanisms for low-level scheduler tuning. | Package config provides mechanisms for low-level scheduler tuning. | 
| 
          
            pkg/scheduler/constraint
            
            
          
           Package constraint exposes Marathon-like constraints for scheduling pods. | Package constraint exposes Marathon-like constraints for scheduling pods. | 
| 
          
            pkg/scheduler/ha
            
            
          
           Package ha encapsulates high-availability scheduler concerns. | Package ha encapsulates high-availability scheduler concerns. | 
| 
          
            pkg/scheduler/meta
            
            
          
           Package meta defines framework constants used as keys in k8s annotations that are attached to k8s pods. | Package meta defines framework constants used as keys in k8s annotations that are attached to k8s pods. | 
| 
          
            pkg/scheduler/metrics
            
            
          
           Package metrics defines and exposes instrumentation metrics of the scheduler. | Package metrics defines and exposes instrumentation metrics of the scheduler. | 
| 
          
            pkg/scheduler/podtask
            
            
          
           Package podtask maps Kubernetes pods to Mesos tasks. | Package podtask maps Kubernetes pods to Mesos tasks. | 
| 
          
            pkg/scheduler/service
            
            
          
           Package service contains the cmd/k8sm-scheduler glue code | Package service contains the cmd/k8sm-scheduler glue code | 
| 
          
            pkg/scheduler/uid
            
            
          
           Package uid encapsulates unique identifiers code used by the scheduler. | Package uid encapsulates unique identifiers code used by the scheduler. | 
| 
          
            pkg/service
            
            
          
           Package service is largely a clone of the stock Kubernetes endpoints controller, extended with some very specific functionality related to kubernetes-mesos specific host-pod port mapping. | Package service is largely a clone of the stock Kubernetes endpoints controller, extended with some very specific functionality related to kubernetes-mesos specific host-pod port mapping. | 
| podmaster is a simple utility, it attempts to acquire and maintain a lease-lock from etcd using compare-and-swap. | podmaster is a simple utility, it attempts to acquire and maintain a lease-lock from etcd using compare-and-swap. | 
 Click to show internal directories. 
   Click to hide internal directories.