Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| 
       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 | 
| 
       Package backoff provides backoff functionality with a simple API. 
         | 
      Package backoff provides backoff functionality with a simple API. | 
| 
       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. | 
| 
       Package election provides interfaces used for master election. 
         | 
      Package election provides interfaces used for master election. | 
| 
       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. | 
| 
         
          
            config
            
            
          
           
      Package config contains executor configuration constants. 
         | 
      Package config contains executor configuration constants. | 
| 
         
          
            messages
            
            
          
           
      Package messages exposes executor event/message names as constants. 
         | 
      Package messages exposes executor event/message names as constants. | 
| 
         
          
            service
            
            
          
           
      Package service contains the cmd/k8sm-executor glue code. 
         | 
      Package service contains the cmd/k8sm-executor glue code. | 
| 
       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. | 
| 
       Package minion contains the executor and proxy bootstrap code for a Mesos slave 
         | 
      Package minion contains the executor and proxy bootstrap code for a Mesos slave | 
| 
         
          
            config
            
            
          
           
      Package config contains minion configuration constants. 
         | 
      Package config contains minion configuration constants. | 
| 
         
          
            tasks
            
            
          
           
      Package tasks provides an API for supervising system processes as Task's. 
         | 
      Package tasks provides an API for supervising system processes as Task's. | 
| 
       Package node provides utilities to create and update nodes 
         | 
      Package node provides utilities to create and update nodes | 
| 
       Package offers contains code that manages Mesos offers. 
         | 
      Package offers contains code that manages Mesos offers. | 
| 
         
          
            metrics
            
            
          
           
      Package metrics defines and exposes instrumentation metrics related to Mesos offers. 
         | 
      Package metrics defines and exposes instrumentation metrics related to Mesos offers. | 
| 
       podutil contains utilities for reading, writing and filtering streams and lists of api.Pod objects. 
         | 
      podutil contains utilities for reading, writing and filtering streams and lists of api.Pod objects. | 
| 
       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. | 
| 
       Package profile contains reusable code for profiling Go programs with pprof. 
         | 
      Package profile contains reusable code for profiling Go programs with pprof. | 
| 
       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. | 
| 
       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 | 
| 
       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. | 
| 
       Package scheduler implements the Kubernetes Mesos scheduler. 
         | 
      Package scheduler implements the Kubernetes Mesos scheduler. | 
| 
         
          
            components
            
            
          
           
      Package components implements independent aspects of the scheduler which do not use Framework or Scheduler internals, but rely solely on the Scheduler interface. 
         | 
      Package components implements independent aspects of the scheduler which do not use Framework or Scheduler internals, but rely solely on the Scheduler interface. | 
| 
         
          
            components/algorithm
            
            
          
           
      Package algorithm implements the SchedulerAlgorithm 
         | 
      Package algorithm implements the SchedulerAlgorithm | 
| 
         
          
            components/algorithm/podschedulers
            
            
          
           
      Package podschedulers defines an interface (w/ implementations) for matching pods against offers. 
         | 
      Package podschedulers defines an interface (w/ implementations) for matching pods against offers. | 
| 
         
          
            components/binder
            
            
          
           
      Package binder implements the Binder which launched a task and let the executor do the actual binding. 
         | 
      Package binder implements the Binder which launched a task and let the executor do the actual binding. | 
| 
         
          
            components/controller
            
            
          
           
      Package controller implements the scheduling controller which waits for pod events from the queuer (i.e. 
         | 
      Package controller implements the scheduling controller which waits for pod events from the queuer (i.e. | 
| 
         
          
            components/deleter
            
            
          
           
      Package deleter implements the deleter which listens for pod DELETE events from the apiserver and kills tasks for deleted pods. 
         | 
      Package deleter implements the deleter which listens for pod DELETE events from the apiserver and kills tasks for deleted pods. | 
| 
         
          
            components/errorhandler
            
            
          
           
      Package errorhandler implements the ErrorHandler which handles scheduer error and possibly requeue pods for scheduling again. 
         | 
      Package errorhandler implements the ErrorHandler which handles scheduer error and possibly requeue pods for scheduling again. | 
| 
         
          
            components/framework
            
            
          
           
      Package framework implements the Mesos scheduler. 
         | 
      Package framework implements the Mesos scheduler. | 
| 
         
          
            components/podreconciler
            
            
          
           
      Package podreconciler implements pod reconciliation of pods which failed to launch, i.e. 
         | 
      Package podreconciler implements pod reconciliation of pods which failed to launch, i.e. | 
| 
         
          
            components/tasksreconciler
            
            
          
           
      Package taskreconciler implement Mesos task reconciliation. 
         | 
      Package taskreconciler implement Mesos task reconciliation. | 
| 
         
          
            config
            
            
          
           
      Package config provides mechanisms for low-level scheduler tuning. 
         | 
      Package config provides mechanisms for low-level scheduler tuning. | 
| 
         
          
            constraint
            
            
          
           
      Package constraint exposes Marathon-like constraints for scheduling pods. 
         | 
      Package constraint exposes Marathon-like constraints for scheduling pods. | 
| 
         
          
            errors
            
            
          
           
      Package errors contains all scheduler wide used errors 
         | 
      Package errors contains all scheduler wide used errors | 
| 
         
          
            executorinfo
            
            
          
           
      Package executorinfo provides a lru-based executor info registry as well as some utility methods. 
         | 
      Package executorinfo provides a lru-based executor info registry as well as some utility methods. | 
| 
         
          
            ha
            
            
          
           
      Package ha encapsulates high-availability scheduler concerns. 
         | 
      Package ha encapsulates high-availability scheduler concerns. | 
| 
         
          
            integration
            
            
          
           
      Package integration implements integration tests. 
         | 
      Package integration implements integration tests. | 
| 
         
          
            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. | 
| 
         
          
            metrics
            
            
          
           
      Package metrics defines and exposes instrumentation metrics of the scheduler. 
         | 
      Package metrics defines and exposes instrumentation metrics of the scheduler. | 
| 
         
          
            podtask
            
            
          
           
      Package podtask maps Kubernetes pods to Mesos tasks. 
         | 
      Package podtask maps Kubernetes pods to Mesos tasks. | 
| 
         
          
            queuer
            
            
          
           
      Package queuer implements a Pod Queuer which stores and yields pods waiting being scheduled. 
         | 
      Package queuer implements a Pod Queuer which stores and yields pods waiting being scheduled. | 
| 
         
          
            resources
            
            
          
           
      Package resources contains the Mesos scheduler specific resource functions 
         | 
      Package resources contains the Mesos scheduler specific resource functions | 
| 
         
          
            service
            
            
          
           
      Package service contains the cmd/k8sm-scheduler glue code 
         | 
      Package service contains the cmd/k8sm-scheduler glue code | 
| 
       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. | 
 Click to show internal directories. 
   Click to hide internal directories.