internalversion

package
v1.5.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodDisruptionBudgetLister

type PodDisruptionBudgetLister interface {
	// List lists all PodDisruptionBudgets in the indexer.
	List(selector labels.Selector) (ret []*policy.PodDisruptionBudget, err error)
	// PodDisruptionBudgets returns an object that can list and get PodDisruptionBudgets.
	PodDisruptionBudgets(namespace string) PodDisruptionBudgetNamespaceLister
}

PodDisruptionBudgetLister helps list PodDisruptionBudgets.

func NewPodDisruptionBudgetLister

func NewPodDisruptionBudgetLister(indexer cache.Indexer) PodDisruptionBudgetLister

NewPodDisruptionBudgetLister returns a new PodDisruptionBudgetLister.

type PodDisruptionBudgetNamespaceLister

type PodDisruptionBudgetNamespaceLister interface {
	// List lists all PodDisruptionBudgets in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*policy.PodDisruptionBudget, err error)
	// Get retrieves the PodDisruptionBudget from the indexer for a given namespace and name.
	Get(name string) (*policy.PodDisruptionBudget, error)
}

PodDisruptionBudgetNamespaceLister helps list and get PodDisruptionBudgets.

Jump to

Keyboard shortcuts

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