kubernetesk8s.io/kubernetes/federation/client/cache Index | Files

package cache

import "k8s.io/kubernetes/federation/client/cache"

Index

Types

type ClusterConditionPredicate

type ClusterConditionPredicate func(cluster v1beta1.Cluster) bool

ClusterConditionPredicate is a function that indicates whether the given cluster's conditions meet some set of criteria defined by the function.

type StoreToClusterLister

type StoreToClusterLister struct {
	kubeCache.Store
}

StoreToClusterLister makes a Store have the List method of the unversioned.ClusterInterface The Store must contain (only) clusters.

func (*StoreToClusterLister) ClusterCondition

func (s *StoreToClusterLister) ClusterCondition(predicate ClusterConditionPredicate) storeToClusterConditionLister

ClusterCondition returns a storeToClusterConditionLister

func (*StoreToClusterLister) List

func (s *StoreToClusterLister) List() (clusters v1beta1.ClusterList, err error)

Source Files

cluster_cache.go

Version
v1.5.7
Published
Apr 27, 2017
Platform
windows/amd64
Imports
3 packages
Last checked
44 minutes ago

Tools for package owners.