Documentation ¶
Index ¶
- type UpdateStatusFunc
- func EnsureCondition(condition metav1.Condition) UpdateStatusFunc
- func EnsureContentURL(url string) UpdateStatusFunc
- func EnsureObservedGeneration(observedGeneration int64) UpdateStatusFunc
- func EnsureResolvedSource(resolvedSource *rukpakv1alpha1.BundleSource) UpdateStatusFunc
- func SetPhase(phase string) 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 EnsureCondition ¶
func EnsureCondition(condition metav1.Condition) UpdateStatusFunc
func EnsureContentURL ¶
func EnsureContentURL(url string) UpdateStatusFunc
func EnsureObservedGeneration ¶
func EnsureObservedGeneration(observedGeneration int64) UpdateStatusFunc
func EnsureResolvedSource ¶
func EnsureResolvedSource(resolvedSource *rukpakv1alpha1.BundleSource) UpdateStatusFunc
func SetPhase ¶
func SetPhase(phase string) UpdateStatusFunc
type Updater ¶
type Updater struct {
// contains filtered or unexported fields
}
func NewBundleUpdater ¶
func (*Updater) UpdateStatus ¶
func (u *Updater) UpdateStatus(fs ...UpdateStatusFunc)
Click to show internal directories.
Click to hide internal directories.