cache

package
v1.6.7-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2017 License: 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 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 metav1.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)

Jump to

Keyboard shortcuts

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