Documentation ¶
Index ¶
- Constants
- func DeploymentNamespacedNameFromObject(obj client.Object) (nrsv1alpha1.NamespacedName, bool)
- func SchedulerNameFromObject(obj client.Object) (string, bool)
- func UpdateDeploymentConfigMapSettings(dp *appsv1.Deployment, cmName, cmHash string)
- func UpdateDeploymentImageSettings(dp *appsv1.Deployment, userImageSpec string)
- func UpdateSchedulerName(cm *corev1.ConfigMap, name string) error
- type ExistingManifests
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 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)
Types ¶
type ExistingManifests ¶
type ExistingManifests struct { Existing schedmanifests.Manifests // contains filtered or unexported fields }
func FromClient ¶
func FromClient(ctx context.Context, cli client.Client, mf schedmanifests.Manifests) ExistingManifests
func (ExistingManifests) State ¶
func (em ExistingManifests) State(mf schedmanifests.Manifests) []objectstate.ObjectState
Click to show internal directories.
Click to hide internal directories.