kubernetesk8s.io/kubernetes/plugin/pkg/scheduler/factory Index | Files

package factory

import "k8s.io/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

Types

type ConfigFactory

type ConfigFactory struct {
	Client *client.Client
}

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

func (*ConfigFactory) Create

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

Create creates a scheduler and all support functions.

Source Files

factory.go

Version
v0.4.3
Published
Oct 30, 2014
Platform
js/wasm
Imports
14 packages
Last checked
1 second ago

Tools for package owners.