EvictionLister helps list Evictions. All objects returned here must be treated as read-only.
type EvictionLister interface { // List lists all Evictions in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*v1.Eviction, err error) // Evictions returns an object that can list and get Evictions. Evictions(namespace string) EvictionNamespaceLister EvictionListerExpansion }
func NewEvictionLister(indexer cache.Indexer) EvictionLister
NewEvictionLister returns a new EvictionLister.
EvictionListerExpansion allows custom methods to be added to EvictionLister.
type EvictionListerExpansion interface{}
EvictionNamespaceLister helps list and get Evictions. All objects returned here must be treated as read-only.
type EvictionNamespaceLister interface { // List lists all Evictions in the indexer for a given namespace. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*v1.Eviction, err error) // Get retrieves the Eviction from the indexer for a given namespace and name. // Objects returned here must be treated as read-only. Get(name string) (*v1.Eviction, error) EvictionNamespaceListerExpansion }
EvictionNamespaceListerExpansion allows custom methods to be added to EvictionNamespaceLister.
type EvictionNamespaceListerExpansion interface{}
PodDisruptionBudgetLister helps list PodDisruptionBudgets. All objects returned here must be treated as read-only.
type PodDisruptionBudgetLister interface { // List lists all PodDisruptionBudgets in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*v1.PodDisruptionBudget, err error) // PodDisruptionBudgets returns an object that can list and get PodDisruptionBudgets. PodDisruptionBudgets(namespace string) PodDisruptionBudgetNamespaceLister PodDisruptionBudgetListerExpansion }
func NewPodDisruptionBudgetLister(indexer cache.Indexer) PodDisruptionBudgetLister
NewPodDisruptionBudgetLister returns a new PodDisruptionBudgetLister.
PodDisruptionBudgetListerExpansion allows custom methods to be added to PodDisruptionBudgetLister.
type PodDisruptionBudgetListerExpansion interface { GetPodPodDisruptionBudgets(pod *v1.Pod) ([]*policy.PodDisruptionBudget, error) }
PodDisruptionBudgetNamespaceLister helps list and get PodDisruptionBudgets. All objects returned here must be treated as read-only.
type PodDisruptionBudgetNamespaceLister interface { // List lists all PodDisruptionBudgets in the indexer for a given namespace. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*v1.PodDisruptionBudget, err error) // Get retrieves the PodDisruptionBudget from the indexer for a given namespace and name. // Objects returned here must be treated as read-only. Get(name string) (*v1.PodDisruptionBudget, error) PodDisruptionBudgetNamespaceListerExpansion }
PodDisruptionBudgetNamespaceListerExpansion allows custom methods to be added to PodDisruptionBudgetNamespaceLister.
type PodDisruptionBudgetNamespaceListerExpansion interface{}