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

package factory

import "github.com/igm/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.

Index

Package Files

factory.go

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-04. Refresh now. Tools for package owners.