cache

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2016 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterConditionPredicate

type ClusterConditionPredicate func(cluster federation.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 federation.ClusterList, err error)

Jump to

Keyboard shortcuts

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