Documentation ¶
Index ¶
- type UpdateStatusFunc
- func EnsureBundleDigest(digest string) UpdateStatusFunc
- func EnsureCondition(condition metav1.Condition) UpdateStatusFunc
- func EnsureObservedGeneration(observedGeneration int64) UpdateStatusFunc
- func SetBundleInfo(info *rukpakv1alpha1.BundleInfo) UpdateStatusFunc
- func SetPhase(phase string) UpdateStatusFunc
- func UnsetBundleInfo() UpdateStatusFunc
- type Updater
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UpdateStatusFunc ¶
type UpdateStatusFunc func(bundle *rukpakv1alpha1.BundleStatus) bool
func EnsureBundleDigest ¶
func EnsureBundleDigest(digest string) UpdateStatusFunc
func EnsureCondition ¶
func EnsureCondition(condition metav1.Condition) UpdateStatusFunc
func EnsureObservedGeneration ¶
func EnsureObservedGeneration(observedGeneration int64) UpdateStatusFunc
func SetBundleInfo ¶
func SetBundleInfo(info *rukpakv1alpha1.BundleInfo) UpdateStatusFunc
func SetPhase ¶
func SetPhase(phase string) UpdateStatusFunc
func UnsetBundleInfo ¶
func UnsetBundleInfo() UpdateStatusFunc
type Updater ¶
type Updater struct {
// contains filtered or unexported fields
}
func (*Updater) UpdateStatus ¶
func (u *Updater) UpdateStatus(fs ...UpdateStatusFunc)
Click to show internal directories.
Click to hide internal directories.