Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPluginName ¶
func GetPluginName() string
Types ¶
type KubeScheduler ¶
type KubeScheduler struct {
// contains filtered or unexported fields
}
func (*KubeScheduler) AddMetadataToChildResource ¶ added in v1.5.0
func (k *KubeScheduler) AddMetadataToChildResource(_ context.Context, parent metav1.Object, child metav1.Object, _ string)
AddMetadataToChildResource adds essential labels and annotations to the child resource. the scheduler needs these labels and annotations in order to do the scheduling properly
func (*KubeScheduler) DoBatchSchedulingOnSubmission ¶
func (*KubeScheduler) Name ¶
func (k *KubeScheduler) Name() string
type KubeSchedulerFactory ¶
type KubeSchedulerFactory struct{}
func (*KubeSchedulerFactory) AddToScheme ¶
func (kf *KubeSchedulerFactory) AddToScheme(sche *runtime.Scheme)
func (*KubeSchedulerFactory) ConfigureReconciler ¶
func (kf *KubeSchedulerFactory) ConfigureReconciler(b *builder.Builder) *builder.Builder
func (*KubeSchedulerFactory) New ¶
func (kf *KubeSchedulerFactory) New(_ context.Context, _ *rest.Config, cli client.Client) (schedulerinterface.BatchScheduler, error)
Click to show internal directories.
Click to hide internal directories.