kubernetes: github.com/erikstmartin/kubernetes/plugin/pkg/scheduler/factory Index | Files

package factory

import "github.com/erikstmartin/kubernetes/plugin/pkg/scheduler/factory"

Package factory can set up a scheduler. This code is here instead of plugin/cmd/scheduler for both testability and reuse.


Package Files


type ConfigFactory Uses

type ConfigFactory struct {
    Client *client.Client

ConfigFactory knows how to fill out a scheduler config with its support functions.

func (*ConfigFactory) Create Uses

func (factory *ConfigFactory) Create() *scheduler.Config

Create creates a scheduler and all support functions.

Package factory imports 14 packages (graph). Updated 2018-05-13. Refresh now. Tools for package owners.