Documentation ¶
Index ¶
- func GetPodTemplateSpecHash(rs extensions.ReplicaSet) string
- func MatchingPodsFunc(rs *extensions.ReplicaSet) (func(api.Pod) bool, error)
- func ReplicaSetIsInactive(c unversionedextensions.ExtensionsInterface, replicaSet *extensions.ReplicaSet) wait.ConditionFunc
- func UpdateRSWithRetries(rsClient unversionedextensions.ReplicaSetInterface, rs *extensions.ReplicaSet, ...) (*extensions.ReplicaSet, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPodTemplateSpecHash ¶
func GetPodTemplateSpecHash(rs extensions.ReplicaSet) string
GetPodTemplateSpecHash returns the pod template hash of a ReplicaSet's pod template space
func MatchingPodsFunc ¶ added in v1.3.0
func MatchingPodsFunc(rs *extensions.ReplicaSet) (func(api.Pod) bool, error)
MatchingPodsFunc returns a filter function for pods with matching labels
func ReplicaSetIsInactive ¶ added in v1.4.1
func ReplicaSetIsInactive(c unversionedextensions.ExtensionsInterface, replicaSet *extensions.ReplicaSet) wait.ConditionFunc
ReplicaSetIsInactive returns a condition that will be true when a replica set is inactive ie. it has zero running replicas.
func UpdateRSWithRetries ¶
func UpdateRSWithRetries(rsClient unversionedextensions.ReplicaSetInterface, rs *extensions.ReplicaSet, applyUpdate updateRSFunc) (*extensions.ReplicaSet, bool, error)
UpdateRSWithRetries updates a RS with given applyUpdate function. Note that RS not found error is ignored. The returned bool value can be used to tell if the RS is actually updated.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.