Documentation ¶
Index ¶
- type DeprecationReconciler
- type EnsurePauseReconciler
- type GenericClusterObjectDeployment
- func (a *GenericClusterObjectDeployment) ClientObject() client.Object
- func (a *GenericClusterObjectDeployment) GetConditions() *[]metav1.Condition
- func (a *GenericClusterObjectDeployment) GetObjectSetTemplate() packagesv1alpha1.ObjectSetTemplate
- func (a *GenericClusterObjectDeployment) GetRevisionHistoryLimit() *int
- func (a *GenericClusterObjectDeployment) GetSelector() metav1.LabelSelector
- func (a *GenericClusterObjectDeployment) GetStatusCollisionCount() *int32
- func (a *GenericClusterObjectDeployment) GetStatusTemplateHash() string
- func (a *GenericClusterObjectDeployment) SetStatusCollisionCount(cc *int32)
- func (a *GenericClusterObjectDeployment) SetStatusTemplateHash(templateHash string)
- func (a *GenericClusterObjectDeployment) UpdatePhase()
- type GenericClusterObjectSet
- func (a *GenericClusterObjectSet) ClientObject() client.Object
- func (a *GenericClusterObjectSet) GetConditions() []metav1.Condition
- func (a *GenericClusterObjectSet) GetPhases() []packagesv1alpha1.ObjectPhase
- func (a *GenericClusterObjectSet) GetSpecPausedFor() []packagesv1alpha1.ObjectSetPausedObject
- func (a *GenericClusterObjectSet) GetStatusPausedFor() []packagesv1alpha1.ObjectSetPausedObject
- func (a *GenericClusterObjectSet) GetTemplateSpec() packagesv1alpha1.ObjectSetTemplateSpec
- func (a *GenericClusterObjectSet) SetArchived()
- func (a *GenericClusterObjectSet) SetSpecPausedFor(pausedFor []packagesv1alpha1.ObjectSetPausedObject)
- func (a *GenericClusterObjectSet) SetTemplateSpec(templateSpec packagesv1alpha1.ObjectSetTemplateSpec)
- type GenericClusterObjectSetList
- type GenericObjectDeployment
- func (a *GenericObjectDeployment) ClientObject() client.Object
- func (a *GenericObjectDeployment) GetConditions() *[]metav1.Condition
- func (a *GenericObjectDeployment) GetObjectSetTemplate() packagesv1alpha1.ObjectSetTemplate
- func (a *GenericObjectDeployment) GetRevisionHistoryLimit() *int
- func (a *GenericObjectDeployment) GetSelector() metav1.LabelSelector
- func (a *GenericObjectDeployment) GetStatusCollisionCount() *int32
- func (a *GenericObjectDeployment) GetStatusTemplateHash() string
- func (a *GenericObjectDeployment) SetStatusCollisionCount(cc *int32)
- func (a *GenericObjectDeployment) SetStatusTemplateHash(templateHash string)
- func (a *GenericObjectDeployment) UpdatePhase()
- type GenericObjectDeploymentController
- func NewClusterObjectDeploymentController(c client.Client, log logr.Logger, scheme *runtime.Scheme) *GenericObjectDeploymentController
- func NewGenericObjectDeploymentController(gvk schema.GroupVersionKind, childGVK schema.GroupVersionKind, c client.Client, ...) *GenericObjectDeploymentController
- func NewObjectDeploymentController(c client.Client, log logr.Logger, scheme *runtime.Scheme) *GenericObjectDeploymentController
- type GenericObjectSet
- func (a *GenericObjectSet) ClientObject() client.Object
- func (a *GenericObjectSet) GetConditions() []metav1.Condition
- func (a *GenericObjectSet) GetPhases() []packagesv1alpha1.ObjectPhase
- func (a *GenericObjectSet) GetSpecPausedFor() []packagesv1alpha1.ObjectSetPausedObject
- func (a *GenericObjectSet) GetStatusPausedFor() []packagesv1alpha1.ObjectSetPausedObject
- func (a *GenericObjectSet) GetTemplateSpec() packagesv1alpha1.ObjectSetTemplateSpec
- func (a *GenericObjectSet) SetArchived()
- func (a *GenericObjectSet) SetSpecPausedFor(pausedFor []packagesv1alpha1.ObjectSetPausedObject)
- func (a *GenericObjectSet) SetTemplateSpec(templateSpec packagesv1alpha1.ObjectSetTemplateSpec)
- type GenericObjectSetList
- type HashReconciler
- type NewRevisionReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeprecationReconciler ¶
type DeprecationReconciler struct {
// contains filtered or unexported fields
}
handles deprecation of outdated ObjectSets.
type EnsurePauseReconciler ¶
type EnsurePauseReconciler struct {
// contains filtered or unexported fields
}
EnsurePauseReconciler handles pausing of existing ObjectSets, to prevent collisions and double owned objects.
type GenericClusterObjectDeployment ¶
type GenericClusterObjectDeployment struct {
packagesv1alpha1.ClusterObjectDeployment
}
func (*GenericClusterObjectDeployment) ClientObject ¶
func (a *GenericClusterObjectDeployment) ClientObject() client.Object
func (*GenericClusterObjectDeployment) GetConditions ¶
func (a *GenericClusterObjectDeployment) GetConditions() *[]metav1.Condition
func (*GenericClusterObjectDeployment) GetObjectSetTemplate ¶
func (a *GenericClusterObjectDeployment) GetObjectSetTemplate() packagesv1alpha1.ObjectSetTemplate
func (*GenericClusterObjectDeployment) GetRevisionHistoryLimit ¶
func (a *GenericClusterObjectDeployment) GetRevisionHistoryLimit() *int
func (*GenericClusterObjectDeployment) GetSelector ¶
func (a *GenericClusterObjectDeployment) GetSelector() metav1.LabelSelector
func (*GenericClusterObjectDeployment) GetStatusCollisionCount ¶
func (a *GenericClusterObjectDeployment) GetStatusCollisionCount() *int32
func (*GenericClusterObjectDeployment) GetStatusTemplateHash ¶
func (a *GenericClusterObjectDeployment) GetStatusTemplateHash() string
func (*GenericClusterObjectDeployment) SetStatusCollisionCount ¶
func (a *GenericClusterObjectDeployment) SetStatusCollisionCount(cc *int32)
func (*GenericClusterObjectDeployment) SetStatusTemplateHash ¶
func (a *GenericClusterObjectDeployment) SetStatusTemplateHash(templateHash string)
func (*GenericClusterObjectDeployment) UpdatePhase ¶
func (a *GenericClusterObjectDeployment) UpdatePhase()
type GenericClusterObjectSet ¶
type GenericClusterObjectSet struct {
packagesv1alpha1.ClusterObjectSet
}
func (*GenericClusterObjectSet) ClientObject ¶
func (a *GenericClusterObjectSet) ClientObject() client.Object
func (*GenericClusterObjectSet) GetConditions ¶
func (a *GenericClusterObjectSet) GetConditions() []metav1.Condition
func (*GenericClusterObjectSet) GetPhases ¶
func (a *GenericClusterObjectSet) GetPhases() []packagesv1alpha1.ObjectPhase
func (*GenericClusterObjectSet) GetSpecPausedFor ¶
func (a *GenericClusterObjectSet) GetSpecPausedFor() []packagesv1alpha1.ObjectSetPausedObject
func (*GenericClusterObjectSet) GetStatusPausedFor ¶
func (a *GenericClusterObjectSet) GetStatusPausedFor() []packagesv1alpha1.ObjectSetPausedObject
func (*GenericClusterObjectSet) GetTemplateSpec ¶
func (a *GenericClusterObjectSet) GetTemplateSpec() packagesv1alpha1.ObjectSetTemplateSpec
func (*GenericClusterObjectSet) SetArchived ¶
func (a *GenericClusterObjectSet) SetArchived()
func (*GenericClusterObjectSet) SetSpecPausedFor ¶
func (a *GenericClusterObjectSet) SetSpecPausedFor( pausedFor []packagesv1alpha1.ObjectSetPausedObject)
func (*GenericClusterObjectSet) SetTemplateSpec ¶
func (a *GenericClusterObjectSet) SetTemplateSpec(templateSpec packagesv1alpha1.ObjectSetTemplateSpec)
type GenericClusterObjectSetList ¶
type GenericClusterObjectSetList struct {
packagesv1alpha1.ClusterObjectSetList
}
func (*GenericClusterObjectSetList) ClientObjectList ¶
func (a *GenericClusterObjectSetList) ClientObjectList() client.ObjectList
func (*GenericClusterObjectSetList) GetItems ¶
func (a *GenericClusterObjectSetList) GetItems() []genericObjectSet
type GenericObjectDeployment ¶
type GenericObjectDeployment struct {
packagesv1alpha1.ObjectDeployment
}
func (*GenericObjectDeployment) ClientObject ¶
func (a *GenericObjectDeployment) ClientObject() client.Object
func (*GenericObjectDeployment) GetConditions ¶
func (a *GenericObjectDeployment) GetConditions() *[]metav1.Condition
func (*GenericObjectDeployment) GetObjectSetTemplate ¶
func (a *GenericObjectDeployment) GetObjectSetTemplate() packagesv1alpha1.ObjectSetTemplate
func (*GenericObjectDeployment) GetRevisionHistoryLimit ¶
func (a *GenericObjectDeployment) GetRevisionHistoryLimit() *int
func (*GenericObjectDeployment) GetSelector ¶
func (a *GenericObjectDeployment) GetSelector() metav1.LabelSelector
func (*GenericObjectDeployment) GetStatusCollisionCount ¶
func (a *GenericObjectDeployment) GetStatusCollisionCount() *int32
func (*GenericObjectDeployment) GetStatusTemplateHash ¶
func (a *GenericObjectDeployment) GetStatusTemplateHash() string
func (*GenericObjectDeployment) SetStatusCollisionCount ¶
func (a *GenericObjectDeployment) SetStatusCollisionCount(cc *int32)
func (*GenericObjectDeployment) SetStatusTemplateHash ¶
func (a *GenericObjectDeployment) SetStatusTemplateHash(templateHash string)
func (*GenericObjectDeployment) UpdatePhase ¶
func (a *GenericObjectDeployment) UpdatePhase()
type GenericObjectDeploymentController ¶
type GenericObjectDeploymentController struct {
// contains filtered or unexported fields
}
Generic reconciler for both ObjectDeployment and ClusterObjectDeployment objects.
func NewGenericObjectDeploymentController ¶
func NewGenericObjectDeploymentController( gvk schema.GroupVersionKind, childGVK schema.GroupVersionKind, c client.Client, log logr.Logger, scheme *runtime.Scheme, ) *GenericObjectDeploymentController
func (*GenericObjectDeploymentController) SetupWithManager ¶
func (c *GenericObjectDeploymentController) SetupWithManager( mgr ctrl.Manager) error
type GenericObjectSet ¶
type GenericObjectSet struct {
packagesv1alpha1.ObjectSet
}
func (*GenericObjectSet) ClientObject ¶
func (a *GenericObjectSet) ClientObject() client.Object
func (*GenericObjectSet) GetConditions ¶
func (a *GenericObjectSet) GetConditions() []metav1.Condition
func (*GenericObjectSet) GetPhases ¶
func (a *GenericObjectSet) GetPhases() []packagesv1alpha1.ObjectPhase
func (*GenericObjectSet) GetSpecPausedFor ¶
func (a *GenericObjectSet) GetSpecPausedFor() []packagesv1alpha1.ObjectSetPausedObject
func (*GenericObjectSet) GetStatusPausedFor ¶
func (a *GenericObjectSet) GetStatusPausedFor() []packagesv1alpha1.ObjectSetPausedObject
func (*GenericObjectSet) GetTemplateSpec ¶
func (a *GenericObjectSet) GetTemplateSpec() packagesv1alpha1.ObjectSetTemplateSpec
func (*GenericObjectSet) SetArchived ¶
func (a *GenericObjectSet) SetArchived()
func (*GenericObjectSet) SetSpecPausedFor ¶
func (a *GenericObjectSet) SetSpecPausedFor( pausedFor []packagesv1alpha1.ObjectSetPausedObject)
func (*GenericObjectSet) SetTemplateSpec ¶
func (a *GenericObjectSet) SetTemplateSpec(templateSpec packagesv1alpha1.ObjectSetTemplateSpec)
type GenericObjectSetList ¶
type GenericObjectSetList struct {
packagesv1alpha1.ObjectSetList
}
func (*GenericObjectSetList) ClientObjectList ¶
func (a *GenericObjectSetList) ClientObjectList() client.ObjectList
func (*GenericObjectSetList) GetItems ¶
func (a *GenericObjectSetList) GetItems() []genericObjectSet
type HashReconciler ¶
type HashReconciler struct{}
Computes the TemplateHash status property of ObjectDeployment objects.
type NewRevisionReconciler ¶
type NewRevisionReconciler struct {
// contains filtered or unexported fields
}
creates a new ObjectSet, if required. handles hash collisions if they occur.
Click to show internal directories.
Click to hide internal directories.