Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EvictionLister ¶ added in v0.22.0
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 }
EvictionLister helps list Evictions. All objects returned here must be treated as read-only.
func NewEvictionLister ¶ added in v0.22.0
func NewEvictionLister(indexer cache.Indexer) EvictionLister
NewEvictionLister returns a new EvictionLister.
type EvictionListerExpansion ¶ added in v0.22.0
type EvictionListerExpansion interface{}
EvictionListerExpansion allows custom methods to be added to EvictionLister.
type EvictionNamespaceLister ¶ added in v0.22.0
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 }
EvictionNamespaceLister helps list and get Evictions. All objects returned here must be treated as read-only.
type EvictionNamespaceListerExpansion ¶ added in v0.22.0
type EvictionNamespaceListerExpansion interface{}
EvictionNamespaceListerExpansion allows custom methods to be added to EvictionNamespaceLister.
type PodDisruptionBudgetLister ¶
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 }
PodDisruptionBudgetLister helps list PodDisruptionBudgets. All objects returned here must be treated as read-only.
func NewPodDisruptionBudgetLister ¶
func NewPodDisruptionBudgetLister(indexer cache.Indexer) PodDisruptionBudgetLister
NewPodDisruptionBudgetLister returns a new PodDisruptionBudgetLister.
type PodDisruptionBudgetListerExpansion ¶
type PodDisruptionBudgetListerExpansion interface {
GetPodPodDisruptionBudgets(pod *v1.Pod) ([]*policy.PodDisruptionBudget, error)
}
PodDisruptionBudgetListerExpansion allows custom methods to be added to PodDisruptionBudgetLister.
type PodDisruptionBudgetNamespaceLister ¶
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 }
PodDisruptionBudgetNamespaceLister helps list and get PodDisruptionBudgets. All objects returned here must be treated as read-only.
type PodDisruptionBudgetNamespaceListerExpansion ¶
type PodDisruptionBudgetNamespaceListerExpansion interface{}
PodDisruptionBudgetNamespaceListerExpansion allows custom methods to be added to PodDisruptionBudgetNamespaceLister.