Documentation ¶
Index ¶
- type ClusterRoleBindingLister
- type ClusterRoleLister
- type IndexerToNamespaceLister
- type NodeConditionPredicate
- type RoleBindingLister
- type RoleBindingNamespaceLister
- type RoleLister
- type RoleNamespaceLister
- type StorageClassLister
- type StoreToCertificateRequestLister
- type StoreToDaemonSetLister
- type StoreToDeploymentLister
- func (s *StoreToDeploymentLister) Deployments(namespace string) storeDeploymentsNamespacer
- func (s *StoreToDeploymentLister) GetDeploymentsForPod(pod *v1.Pod) (deployments []*extensions.Deployment, err error)
- func (s *StoreToDeploymentLister) GetDeploymentsForReplicaSet(rs *extensions.ReplicaSet) (deployments []*extensions.Deployment, err error)
- func (s *StoreToDeploymentLister) List(selector labels.Selector) (ret []*extensions.Deployment, err error)
- type StoreToEndpointsLister
- type StoreToLimitRangeLister
- type StoreToNodeLister
- type StoreToPVFetcher
- type StoreToPersistentVolumeClaimLister
- type StoreToPodDisruptionBudgetLister
- type StoreToPodLister
- type StoreToReplicaSetLister
- func (s *StoreToReplicaSetLister) GetPodReplicaSets(pod *v1.Pod) (rss []*extensions.ReplicaSet, err error)
- func (s *StoreToReplicaSetLister) List(selector labels.Selector) (ret []*extensions.ReplicaSet, err error)
- func (s *StoreToReplicaSetLister) ReplicaSets(namespace string) storeReplicaSetsNamespacer
- type StoreToReplicationControllerLister
- func (s *StoreToReplicationControllerLister) GetPodControllers(pod *v1.Pod) (controllers []*v1.ReplicationController, err error)
- func (s *StoreToReplicationControllerLister) List(selector labels.Selector) (ret []*v1.ReplicationController, err error)
- func (s *StoreToReplicationControllerLister) ReplicationControllers(namespace string) storeReplicationControllersNamespacer
- type StoreToServiceAccountLister
- type StoreToServiceLister
- type StoreToStatefulSetLister
- func (s *StoreToStatefulSetLister) Exists(ps *apps.StatefulSet) (bool, error)
- func (s *StoreToStatefulSetLister) GetPodStatefulSets(pod *v1.Pod) (psList []apps.StatefulSet, err error)
- func (s *StoreToStatefulSetLister) List() (psList []apps.StatefulSet, err error)
- func (s *StoreToStatefulSetLister) StatefulSets(namespace string) storeStatefulSetsNamespacer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterRoleBindingLister ¶
type ClusterRoleBindingLister interface { List(selector labels.Selector) (ret []*rbac.ClusterRoleBinding, err error) Get(name string) (*rbac.ClusterRoleBinding, error) // contains filtered or unexported methods }
func NewClusterRoleBindingLister ¶
func NewClusterRoleBindingLister(indexer cache.Indexer) ClusterRoleBindingLister
type ClusterRoleLister ¶
type ClusterRoleLister interface { List(selector labels.Selector) (ret []*rbac.ClusterRole, err error) Get(name string) (*rbac.ClusterRole, error) // contains filtered or unexported methods }
func NewClusterRoleLister ¶
func NewClusterRoleLister(indexer cache.Indexer) ClusterRoleLister
type IndexerToNamespaceLister ¶
IndexerToNamespaceLister gives an Indexer List method
type NodeConditionPredicate ¶
NodeConditionPredicate is a function that indicates whether the given node's conditions meet some set of criteria defined by the function.
type RoleBindingLister ¶
type RoleBindingLister interface { List(selector labels.Selector) (ret []*rbac.RoleBinding, err error) RoleBindings(namespace string) RoleBindingNamespaceLister // contains filtered or unexported methods }
func NewRoleBindingLister ¶
func NewRoleBindingLister(indexer cache.Indexer) RoleBindingLister
type RoleBindingNamespaceLister ¶
type RoleBindingNamespaceLister interface { List(selector labels.Selector) (ret []*rbac.RoleBinding, err error) Get(name string) (*rbac.RoleBinding, error) }
type RoleLister ¶
type RoleLister interface { List(selector labels.Selector) (ret []*rbac.Role, err error) Roles(namespace string) RoleNamespaceLister // contains filtered or unexported methods }
func NewRoleLister ¶
func NewRoleLister(indexer cache.Indexer) RoleLister
type RoleNamespaceLister ¶
type StorageClassLister ¶
type StorageClassLister interface { List(selector labels.Selector) (ret []*storage.StorageClass, err error) Get(name string) (*storage.StorageClass, error) }
StorageClassLister knows how to list storage classes
func NewStorageClassLister ¶
func NewStorageClassLister(indexer cache.Indexer) StorageClassLister
NewStorageClassLister returns a new lister.
type StoreToCertificateRequestLister ¶
StoreToCertificateRequestLister gives a store List and Exists methods. The store must contain only CertificateRequests.
func (*StoreToCertificateRequestLister) Exists ¶
func (s *StoreToCertificateRequestLister) Exists(csr *certificates.CertificateSigningRequest) (bool, error)
Exists checks if the given csr exists in the store.
func (*StoreToCertificateRequestLister) List ¶
func (s *StoreToCertificateRequestLister) List() (csrs certificates.CertificateSigningRequestList, err error)
StoreToCertificateRequestLister lists all csrs in the store.
type StoreToDaemonSetLister ¶
StoreToDaemonSetLister gives a store List and Exists methods. The store must contain only DaemonSets.
func (*StoreToDaemonSetLister) Exists ¶
func (s *StoreToDaemonSetLister) Exists(ds *extensions.DaemonSet) (bool, error)
Exists checks if the given daemon set exists in the store.
func (*StoreToDaemonSetLister) GetPodDaemonSets ¶
func (s *StoreToDaemonSetLister) GetPodDaemonSets(pod *v1.Pod) (daemonSets []extensions.DaemonSet, err error)
GetPodDaemonSets returns a list of daemon sets managing a pod. Returns an error if and only if no matching daemon sets are found.
func (*StoreToDaemonSetLister) List ¶
func (s *StoreToDaemonSetLister) List() (dss extensions.DaemonSetList, err error)
List lists all daemon sets in the store. TODO: converge on the interface in pkg/client
type StoreToDeploymentLister ¶
StoreToDeploymentLister helps list deployments
func (*StoreToDeploymentLister) Deployments ¶
func (s *StoreToDeploymentLister) Deployments(namespace string) storeDeploymentsNamespacer
func (*StoreToDeploymentLister) GetDeploymentsForPod ¶
func (s *StoreToDeploymentLister) GetDeploymentsForPod(pod *v1.Pod) (deployments []*extensions.Deployment, err error)
GetDeploymentsForDeployments returns a list of deployments managing a pod. Returns an error only if no matching deployments are found. TODO eliminate shallow copies
func (*StoreToDeploymentLister) GetDeploymentsForReplicaSet ¶
func (s *StoreToDeploymentLister) GetDeploymentsForReplicaSet(rs *extensions.ReplicaSet) (deployments []*extensions.Deployment, err error)
GetDeploymentsForReplicaSet returns a list of deployments managing a replica set. Returns an error only if no matching deployments are found.
func (*StoreToDeploymentLister) List ¶
func (s *StoreToDeploymentLister) List(selector labels.Selector) (ret []*extensions.Deployment, err error)
type StoreToEndpointsLister ¶
StoreToEndpointsLister makes a Store that lists endpoints.
func (*StoreToEndpointsLister) GetServiceEndpoints ¶
GetServiceEndpoints returns the endpoints of a service, matched on service name.
func (*StoreToEndpointsLister) List ¶
func (s *StoreToEndpointsLister) List() (services v1.EndpointsList, err error)
List lists all endpoints in the store.
type StoreToLimitRangeLister ¶
StoreToLimitRangeLister helps list limit ranges
func (*StoreToLimitRangeLister) LimitRanges ¶
func (s *StoreToLimitRangeLister) LimitRanges(namespace string) storeLimitRangesNamespacer
func (*StoreToLimitRangeLister) List ¶
func (s *StoreToLimitRangeLister) List(selector labels.Selector) (ret []*v1.LimitRange, err error)
type StoreToNodeLister ¶
StoreToNodeLister makes a Store have the List method of the client.NodeInterface The Store must contain (only) Nodes.
func (*StoreToNodeLister) List ¶
func (s *StoreToNodeLister) List() (machines v1.NodeList, err error)
func (*StoreToNodeLister) NodeCondition ¶
func (s *StoreToNodeLister) NodeCondition(predicate NodeConditionPredicate) storeToNodeConditionLister
NodeCondition returns a storeToNodeConditionLister
type StoreToPVFetcher ¶
Typed wrapper around a store of PersistentVolumes
func (*StoreToPVFetcher) GetPersistentVolumeInfo ¶
func (s *StoreToPVFetcher) GetPersistentVolumeInfo(id string) (*v1.PersistentVolume, error)
GetPersistentVolumeInfo returns cached data for the PersistentVolume 'id'.
type StoreToPersistentVolumeClaimLister ¶
StoreToPersistentVolumeClaimLister helps list pvcs
func (*StoreToPersistentVolumeClaimLister) List ¶
func (s *StoreToPersistentVolumeClaimLister) List(selector labels.Selector) (ret []*v1.PersistentVolumeClaim, err error)
List returns all persistentvolumeclaims that match the specified selector
func (*StoreToPersistentVolumeClaimLister) PersistentVolumeClaims ¶
func (s *StoreToPersistentVolumeClaimLister) PersistentVolumeClaims(namespace string) storePersistentVolumeClaimsNamespacer
PersistentVolumeClaims returns all claims in a specified namespace.
type StoreToPodDisruptionBudgetLister ¶
func (*StoreToPodDisruptionBudgetLister) GetPodPodDisruptionBudgets ¶
func (s *StoreToPodDisruptionBudgetLister) GetPodPodDisruptionBudgets(pod *v1.Pod) (pdbList []policy.PodDisruptionBudget, err error)
GetPodPodDisruptionBudgets returns a list of PodDisruptionBudgets matching a pod. Returns an error only if no matching PodDisruptionBudgets are found.
type StoreToPodLister ¶
StoreToPodLister helps list pods
func (*StoreToPodLister) Pods ¶
func (s *StoreToPodLister) Pods(namespace string) storePodsNamespacer
type StoreToReplicaSetLister ¶
StoreToReplicaSetLister helps list replicasets
func (*StoreToReplicaSetLister) GetPodReplicaSets ¶
func (s *StoreToReplicaSetLister) GetPodReplicaSets(pod *v1.Pod) (rss []*extensions.ReplicaSet, err error)
GetPodReplicaSets returns a list of ReplicaSets managing a pod. Returns an error only if no matching ReplicaSets are found.
func (*StoreToReplicaSetLister) List ¶
func (s *StoreToReplicaSetLister) List(selector labels.Selector) (ret []*extensions.ReplicaSet, err error)
func (*StoreToReplicaSetLister) ReplicaSets ¶
func (s *StoreToReplicaSetLister) ReplicaSets(namespace string) storeReplicaSetsNamespacer
type StoreToReplicationControllerLister ¶
StoreToReplicationControllerLister helps list rcs
func (*StoreToReplicationControllerLister) GetPodControllers ¶
func (s *StoreToReplicationControllerLister) GetPodControllers(pod *v1.Pod) (controllers []*v1.ReplicationController, err error)
GetPodControllers returns a list of replication controllers managing a pod. Returns an error only if no matching controllers are found.
func (*StoreToReplicationControllerLister) List ¶
func (s *StoreToReplicationControllerLister) List(selector labels.Selector) (ret []*v1.ReplicationController, err error)
func (*StoreToReplicationControllerLister) ReplicationControllers ¶
func (s *StoreToReplicationControllerLister) ReplicationControllers(namespace string) storeReplicationControllersNamespacer
type StoreToServiceAccountLister ¶
StoreToServiceAccountLister helps list service accounts
func (*StoreToServiceAccountLister) List ¶
func (s *StoreToServiceAccountLister) List(selector labels.Selector) (ret []*v1.ServiceAccount, err error)
func (*StoreToServiceAccountLister) ServiceAccounts ¶
func (s *StoreToServiceAccountLister) ServiceAccounts(namespace string) storeServiceAccountsNamespacer
type StoreToServiceLister ¶
StoreToServiceLister helps list services
func (*StoreToServiceLister) GetPodServices ¶
TODO: Move this back to scheduler as a helper function that takes a Store, rather than a method of StoreToServiceLister.
func (*StoreToServiceLister) Services ¶
func (s *StoreToServiceLister) Services(namespace string) storeServicesNamespacer
type StoreToStatefulSetLister ¶
StoreToStatefulSetLister gives a store List and Exists methods. The store must contain only StatefulSets.
func (*StoreToStatefulSetLister) Exists ¶
func (s *StoreToStatefulSetLister) Exists(ps *apps.StatefulSet) (bool, error)
Exists checks if the given StatefulSet exists in the store.
func (*StoreToStatefulSetLister) GetPodStatefulSets ¶
func (s *StoreToStatefulSetLister) GetPodStatefulSets(pod *v1.Pod) (psList []apps.StatefulSet, err error)
GetPodStatefulSets returns a list of StatefulSets managing a pod. Returns an error only if no matching StatefulSets are found.
func (*StoreToStatefulSetLister) List ¶
func (s *StoreToStatefulSetLister) List() (psList []apps.StatefulSet, err error)
List lists all StatefulSets in the store.
func (*StoreToStatefulSetLister) StatefulSets ¶
func (s *StoreToStatefulSetLister) StatefulSets(namespace string) storeStatefulSetsNamespacer