Documentation
¶
Index ¶
- Variables
- func DoItSlowly(count int, initialBatchSize int, fn func() error) (int, error)
- func GetActiveAndInactivePods(reader client.Reader, opts *client.ListOptions) ([]*v1.Pod, []*v1.Pod, error)
- func GetControllerKey(cs *fuxiv1alpha1.Fuxi) string
- func GetShortHash(hash string) string
- func NextRevision(revisions []*apps.ControllerRevision) int64
- func SplitPodsByRevision(pods []*v1.Pod, rev string) (matched, unmatched []*v1.Pod)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ControllerKind = fuxiv1alpha1.SchemeGroupVersion.WithKind("Fuxi") ScaleExpectations = expectations.NewScaleExpectations() ResourceVersionExpectations = expectations.NewResourceVersionExpectation() RevisionAdapterImpl = &revisionAdapterImpl{} EqualToRevisionHash = RevisionAdapterImpl.EqualToRevisionHash DurationStore = requeueduration.DurationStore{} )
Functions ¶
func GetControllerKey ¶
func GetControllerKey(cs *fuxiv1alpha1.Fuxi) string
func GetShortHash ¶
func NextRevision ¶
func NextRevision(revisions []*apps.ControllerRevision) int64
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.