@@ -54,13 +54,15 @@ package component
5454
5555// Component Status. Components must include this into their status.
5656type Status struct {
57- ObservedGeneration int64 ` json:"observedGeneration"`
58- AppliedGeneration int64 ` json:"appliedGeneration,omitempty"`
59- LastObservedAt *metav1.Time ` json:"lastObservedAt,omitempty"`
60- LastAppliedAt *metav1.Time ` json:"lastAppliedAt,omitempty"`
61- Conditions []Condition ` json:"conditions,omitempty"`
62- State State ` json:"state,omitempty"`
63- Inventory []*InventoryItem ` json:"inventory,omitempty"`
57+ ObservedGeneration int64 ` json:"observedGeneration"`
58+ AppliedGeneration int64 ` json:"appliedGeneration,omitempty"`
59+ LastObservedAt *metav1.Time ` json:"lastObservedAt,omitempty"`
60+ LastAppliedAt *metav1.Time ` json:"lastAppliedAt,omitempty"`
61+ ProcessingDigest string ` json:"processingDigest,omitempty"`
62+ ProcessingSince *metav1.Time ` json:"processingSince,omitempty"`
63+ Conditions []Condition ` json:"conditions,omitempty"`
64+ State State ` json:"state,omitempty"`
65+ Inventory []*reconciler.InventoryItem ` json:"inventory,omitempty"`
6466}
6567```
6668
@@ -96,8 +98,8 @@ package component
9698// The ClientConfiguration interface is meant to be implemented by components (or their spec) which offer
9799// remote deployments.
98100type ClientConfiguration interface {
99- // Get kubeconfig content. Should return nil if default local client shall be used.
100- GetKubeConfig () []byte
101+ // Get kubeconfig content. Should return nil if default local client shall be used.
102+ GetKubeConfig () []byte
101103}
102104```
103105
@@ -109,12 +111,12 @@ package component
109111// The ImpersonationConfiguration interface is meant to be implemented by components (or their spec) which offer
110112// impersonated deployments.
111113type ImpersonationConfiguration interface {
112- // Return impersonation user. Should return system:serviceaccount:<namespace>:<serviceaccount>
113- // if a service account is used for impersonation. Should return an empty string
114- // if user shall not be impersonated.
115- GetImpersonationUser () string
116- // Return impersonation groups. Should return nil if groups shall not be impersonated.
117- GetImpersonationGroups () []string
114+ // Return impersonation user. Should return system:serviceaccount:<namespace>:<serviceaccount>
115+ // if a service account is used for impersonation. Should return an empty string
116+ // if user shall not be impersonated.
117+ GetImpersonationUser () string
118+ // Return impersonation groups. Should return nil if groups shall not be impersonated.
119+ GetImpersonationGroups () []string
118120}
119121```
120122
0 commit comments