package
0.0.0-20190514112914-386b7fa45f9b
Repository: https://github.com/sh4d1/autoscaler.git
Documentation: pkg.go.dev

# Functions

CreateEventRecorder creates an event recorder to send custom events to Kubernetes to be recorded for targeted Kubernetes objects.
GetReadinessState gets readiness state for the node.
IsNodeReadyAndSchedulable returns true if the node is ready and schedulable.
NewAllNodeLister builds a node lister that returns all nodes (ready and unready).
NewConfigMapListerForNamespace builds a configmap lister for the passed namespace (including all).
NewDaemonSetLister builds a daemonset lister.
NewJobLister builds a job lister.
NewListerRegistry returns a registry providing various listers to list pods or nodes matching conditions.
NewListerRegistryWithDefaultListers returns a registry filled with listers of the default implementations.
NewPodDisruptionBudgetLister builds a pod disruption budget lister.
NewReadyNodeLister builds a node lister.
NewReplicaSetLister builds a replicaset lister.
NewReplicationControllerLister builds a replicationcontroller lister.
NewScheduledPodLister builds ScheduledPodLister.
NewStatefulSetLister builds a statefulset lister.
NewTestConfigMapLister returns a lister that returns provided ConfigMaps.
NewTestDaemonSetLister returns a lister that returns provided DaemonSets.
NewTestJobLister returns a lister that returns provided Jobs.
NewTestPodLister returns a lister that returns provided pods.
NewTestReplicaSetLister returns a lister that returns provided ReplicaSets.
NewTestReplicationControllerLister returns a lister that returns provided ReplicationControllers.
NewTestStatefulSetLister returns a lister that returns provided StatefulSets.
NewUnschedulablePodInNamespaceLister returns a lister providing pods that failed to be scheduled in the given namespace.
NewUnschedulablePodLister returns a lister providing pods that failed to be scheduled.

# Structs

AllNodeLister lists all nodes.
PodDisruptionBudgetListerImpl lists pod disruption budgets.
ReadyNodeLister lists ready nodes.
ScheduledPodLister lists scheduled pods.
TestPodLister is used in tests involving listers.
UnschedulablePodLister lists unscheduled pods.

# Interfaces

ListerRegistry is a registry providing various listers to list pods or nodes matching conditions.
NodeLister lists nodes.
PodDisruptionBudgetLister lists pod disruption budgets.
PodLister lists pods.