schedwatch

package
v0.36.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SchedulerInfo

type SchedulerInfo struct {
	PodName           util.NamespacedName
	UID               types.UID
	IP                string
	CreationTimestamp time.Time
}

func (SchedulerInfo) MarshalLogObject added in v0.10.0

func (s SchedulerInfo) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler

type SchedulerTracker added in v0.20.0

type SchedulerTracker struct {
	Stop func()
	// contains filtered or unexported fields
}

func StartSchedulerWatcher

func StartSchedulerWatcher(
	ctx context.Context,
	parentLogger *zap.Logger,
	kubeClient *kubernetes.Clientset,
	metrics watch.Metrics,
	schedulerName string,
) (*SchedulerTracker, error)

func (SchedulerTracker) Get added in v0.20.0

Jump to

Keyboard shortcuts

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