@@ -105,10 +105,12 @@ type DecorationAdapter interface {
105
105
WatchDecoration (c controller.Controller ) error
106
106
// GetDecorationGroupVersionKind returns decoration gvk.
107
107
GetDecorationGroupVersionKind () metav1.GroupVersionKind
108
- // ApplyDecoration returns patcher for decoration from target.
109
- ApplyDecoration (ctx context.Context , c client.Client , target client.Object ) error
110
- // ApplyDecorationFromRevisions returns patcher for decoration from revisions.
111
- ApplyDecorationFromRevisions (ctx context.Context , c client.Client , target client.Object , revision string ) error
108
+ // ApplyCurrentDecorations returns patcher for decoration from target.
109
+ ApplyCurrentDecorations (ctx context.Context , c client.Client , target client.Object ) error
110
+ // ApplyUpdatedDecorations returns patcher for decoration from target.
111
+ ApplyUpdatedDecorations (ctx context.Context , c client.Client , target client.Object ) error
112
+ // ApplyDecorationByRevisions returns patcher for decoration from revisions.
113
+ ApplyDecorationByRevisions (ctx context.Context , c client.Client , target client.Object , revision string ) error
112
114
// GetDecorationRevisionFromTarget returns decoration revision on target.
113
115
GetDecorationRevisionFromTarget (ctx context.Context , c client.Client , target client.Object ) (string , error )
114
116
// IsTargetDecorationChanged returns true if decoration on target is changed.
0 commit comments