sched

package
v0.4.10-1rc0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	SchedulerConfigFileName      = "config.yaml"
	SchedulerConfigMapVolumeName = "etckubernetes"
	SchedulerPluginName          = "NodeResourceTopologyMatch"
)

Variables

This section is empty.

Functions

func DeploymentNamespacedNameFromObject added in v0.1.1

func DeploymentNamespacedNameFromObject(obj client.Object) (nrsv1alpha1.NamespacedName, bool)

func SchedulerNameFromObject

func SchedulerNameFromObject(obj client.Object) (string, bool)

func UpdateDeploymentConfigMapSettings added in v0.1.1

func UpdateDeploymentConfigMapSettings(dp *appsv1.Deployment, cmName, cmHash string)

func UpdateDeploymentImageSettings added in v0.1.1

func UpdateDeploymentImageSettings(dp *appsv1.Deployment, userImageSpec string)

func UpdateSchedulerName

func UpdateSchedulerName(cm *corev1.ConfigMap, name string) error

Types

type ExistingManifests

type ExistingManifests struct {
	Existing schedmanifests.Manifests
	// contains filtered or unexported fields
}

func (ExistingManifests) State

Jump to

Keyboard shortcuts

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