internalversion

package
v1.11.6-azs-1811 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EvictionLister

type EvictionLister interface {
	// List lists all Evictions in the indexer.
	List(selector labels.Selector) (ret []*policy.Eviction, err error)
	// Evictions returns an object that can list and get Evictions.
	Evictions(namespace string) EvictionNamespaceLister
	EvictionListerExpansion
}

EvictionLister helps list Evictions.

func NewEvictionLister

func NewEvictionLister(indexer cache.Indexer) EvictionLister

NewEvictionLister returns a new EvictionLister.

type EvictionListerExpansion

type EvictionListerExpansion interface{}

EvictionListerExpansion allows custom methods to be added to EvictionLister.

type EvictionNamespaceLister

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

EvictionNamespaceLister helps list and get Evictions.

type EvictionNamespaceListerExpansion

type EvictionNamespaceListerExpansion interface{}

EvictionNamespaceListerExpansion allows custom methods to be added to EvictionNamespaceLister.

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
	PodDisruptionBudgetListerExpansion
}

PodDisruptionBudgetLister helps list PodDisruptionBudgets.

func NewPodDisruptionBudgetLister

func NewPodDisruptionBudgetLister(indexer cache.Indexer) PodDisruptionBudgetLister

NewPodDisruptionBudgetLister returns a new PodDisruptionBudgetLister.

type PodDisruptionBudgetListerExpansion

type PodDisruptionBudgetListerExpansion interface {
	GetPodPodDisruptionBudgets(pod *api.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.
	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)
	PodDisruptionBudgetNamespaceListerExpansion
}

PodDisruptionBudgetNamespaceLister helps list and get PodDisruptionBudgets.

type PodDisruptionBudgetNamespaceListerExpansion

type PodDisruptionBudgetNamespaceListerExpansion interface{}

PodDisruptionBudgetNamespaceListerExpansion allows custom methods to be added to PodDisruptionBudgetNamespaceLister.

type PodSecurityPolicyLister added in v1.11.7

type PodSecurityPolicyLister interface {
	// List lists all PodSecurityPolicies in the indexer.
	List(selector labels.Selector) (ret []*policy.PodSecurityPolicy, err error)
	// Get retrieves the PodSecurityPolicy from the index for a given name.
	Get(name string) (*policy.PodSecurityPolicy, error)
	PodSecurityPolicyListerExpansion
}

PodSecurityPolicyLister helps list PodSecurityPolicies.

func NewPodSecurityPolicyLister added in v1.11.7

func NewPodSecurityPolicyLister(indexer cache.Indexer) PodSecurityPolicyLister

NewPodSecurityPolicyLister returns a new PodSecurityPolicyLister.

type PodSecurityPolicyListerExpansion added in v1.11.7

type PodSecurityPolicyListerExpansion interface{}

PodSecurityPolicyListerExpansion allows custom methods to be added to PodSecurityPolicyLister.

Jump to

Keyboard shortcuts

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