shim

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppHandler  string = "ShimAppHandler"
	TaskHandler string = "ShimTaskHandler"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesShim

type KubernetesShim struct {
	// contains filtered or unexported fields
}

shim scheduler watches api server and interacts with unity scheduler to allocate pods

func NewShimScheduler

func NewShimScheduler(scheduler api.SchedulerAPI, configs *conf.SchedulerConf, bootstrapConfigMaps []*v1.ConfigMap) *KubernetesShim

func NewShimSchedulerForPlugin

func NewShimSchedulerForPlugin(scheduler api.SchedulerAPI, informerFactory informers.SharedInformerFactory, configs *conf.SchedulerConf, bootstrapConfigMaps []*v1.ConfigMap) *KubernetesShim

func (*KubernetesShim) GetContext

func (ss *KubernetesShim) GetContext() *cache.Context

func (*KubernetesShim) Run

func (ss *KubernetesShim) Run() error

func (*KubernetesShim) Stop

func (ss *KubernetesShim) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL